Repository navigation
Chore: version packages (alpha) - #310
Merged
Merged
Conversation
razorfever
approved these changes
Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@cscfi/csc-ui@4.0.0-alpha.32
Minor Changes
#309
fceba25Thanks @razorfever! - Add c-color-picker: a typeable colour field that reads any CSS colour, with akeyboard-operable panel of a colour area, hue and alpha sliders, per-channel
inputs and swatches (ADR-0069, ADR-0070).
formatsets the notation the value is written in —hex(default),rgbor
oklch— whatever notation a colour is typed or picked in; the panel'sHEX | RGB | OKLCH switch only changes the channel inputs.
alphaopts intotransparency.
swatchesoffers predefined colours, named for assistive technology;swatches-onlylimits the choice to them in a readonly, select-like field.v-modelas it moves and fireschangeonce, on release.new one; a click on the original restores it.
#309
bd3c227Thanks @razorfever! - Add c-file-upload: a field the user adds files to by dropping them on it orchoosing them from the file dialog, with each file's size and upload progress
in a list under the drop zone (ADR-0071).
Fileand a status — bound with
v-model. Files already on the server can belisted as entries without a
File.uploadto a function that sends one file; the field calls it for eachadded file, three at a time, shows its progress, and offers cancel and retry.
Without one, the field only holds the files. A
manualfield holds themuntil
startUploads()is called, for a form that uploads on its own button.accept,max-sizeandmax-fileslimit what the field takes, and a filealready in the list is never added twice; a refused file is listed with its
reason until the list next changes, and reported by the
rejectevent.compactshows the drop zone as a row at the shared control height, to lineup with the fields beside it.
#309
2d7d2efThanks @razorfever! - Components inherit the page's typography (ADR-0072). Every component used toreset its font to the operating system's and its line height to 1.5, so text
slotted into
c-main, cards and other components ignored the app's font, andnested parts such as
c-select's option list could not be reached from thepage at all. Components now take the page's font family, line height and font
features, as native elements do, and no longer declare Tailwind theme
variables (
--font-sans,--spacing, …) that made an app's own Tailwindutilities read csc-ui's values inside components. The
--c-font-familytokenis removed: set your font on
body, orfont-familyon ac-*element togive one component another typeface. A page that sets no font now shows
components in the browser default.
Patch Changes
758789eThanks @razorfever! - Typing into a closedc-autocompleteorc-tree-selectfield now opens thepanel with every typed character in its search input. Before, the first
character could be lost (typing
finlandsearched forinland), and fasttyping could drop more. After such an open the highlight lands on the first
match, as it does when typing into the open panel.
@cscfi/csc-ui-react@4.0.0-alpha.32
Minor Changes
#309
fceba25Thanks @razorfever! - Add c-color-picker: a typeable colour field that reads any CSS colour, with akeyboard-operable panel of a colour area, hue and alpha sliders, per-channel
inputs and swatches (ADR-0069, ADR-0070).
formatsets the notation the value is written in —hex(default),rgbor
oklch— whatever notation a colour is typed or picked in; the panel'sHEX | RGB | OKLCH switch only changes the channel inputs.
alphaopts intotransparency.
swatchesoffers predefined colours, named for assistive technology;swatches-onlylimits the choice to them in a readonly, select-like field.v-modelas it moves and fireschangeonce, on release.new one; a click on the original restores it.
#309
bd3c227Thanks @razorfever! - Add c-file-upload: a field the user adds files to by dropping them on it orchoosing them from the file dialog, with each file's size and upload progress
in a list under the drop zone (ADR-0071).
Fileand a status — bound with
v-model. Files already on the server can belisted as entries without a
File.uploadto a function that sends one file; the field calls it for eachadded file, three at a time, shows its progress, and offers cancel and retry.
Without one, the field only holds the files. A
manualfield holds themuntil
startUploads()is called, for a form that uploads on its own button.accept,max-sizeandmax-fileslimit what the field takes, and a filealready in the list is never added twice; a refused file is listed with its
reason until the list next changes, and reported by the
rejectevent.compactshows the drop zone as a row at the shared control height, to lineup with the fields beside it.
#309
2d7d2efThanks @razorfever! - Components inherit the page's typography (ADR-0072). Every component used toreset its font to the operating system's and its line height to 1.5, so text
slotted into
c-main, cards and other components ignored the app's font, andnested parts such as
c-select's option list could not be reached from thepage at all. Components now take the page's font family, line height and font
features, as native elements do, and no longer declare Tailwind theme
variables (
--font-sans,--spacing, …) that made an app's own Tailwindutilities read csc-ui's values inside components. The
--c-font-familytokenis removed: set your font on
body, orfont-familyon ac-*element togive one component another typeface. A page that sets no font now shows
components in the browser default.
Patch Changes
758789eThanks @razorfever! - Typing into a closedc-autocompleteorc-tree-selectfield now opens thepanel with every typed character in its search input. Before, the first
character could be lost (typing
finlandsearched forinland), and fasttyping could drop more. After such an open the highlight lands on the first
match, as it does when typing into the open panel.
fceba25,bd3c227,2d7d2ef,758789e]: