Chore: version packages (alpha) - #257
Merged
Merged
Conversation
razorfever
approved these changes
Sep 1, 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.6
Minor Changes
#256
444e2d9Thanks @villeerikssoncsc! - c-alert heading API:headingstring prop renders the alert heading; the slot overridesit for rich content. New
headingCSS part on the prop-rendered heading.titleslot is renamed toheading(slot="heading") —titleisavoided across the library because the native
titleattribute triggersthe browser tooltip.
#256
b30f342Thanks @villeerikssoncsc! - Selection controls are now stylable per state from consumer CSS (ADR-0035).c-checkbox,c-radioandc-switchexpose their interaction state ascustom states (
c-checkbox:state(checked),:state(indeterminate),c-radio:state(checked),:state(disabled),c-switch:state(checked)),and the
indicatorpart now targets the actual visual control — thecheckbox box (with the new
markpart for the check glyph) and the radioring (its dot is the ring's
::after) — so rules likec-checkbox:state(checked)::part(indicator) { background: green }work.BREAKING:
::part(indicator)no longer targets the circular ripple/hoversurface on
c-checkbox/c-radio; that surface is internal and no longerstylable. Also fixes the indeterminate checkbox never filling its box.
#256
692cf41Thanks @villeerikssoncsc! - c-table now leaves your<table>in your own DOM instead of moving it intoits shadow root:
::part()selectors now reach everything inside thetable — e.g. a
c-tagin a cell can be styled withc-tag.status::part(root) { … }, matching how other components customize.(
c-table > table.c-table …). Note that your own global table resets cannow also reach the table, which the shadow boundary previously blocked.
instead of serialized HTML, and header lookup now only considers
<th>elements inside<thead>.<table>slotted in after mount is now picked up automatically.Patch Changes
#256
284e9ecThanks @villeerikssoncsc! -c-autocomplete's in-panel search input now shows a magnifying-glass iconin front of the input as a "type to filter" affordance. The glyph is
decorative (hidden from assistive technology) and inherits its color from
the search row, so
::part(search)color overrides apply to it as well.The options list also gained a small gap below the search row's divider.
#256
b30f342Thanks @villeerikssoncsc! - Separator lines are now visible on dark-mode overlay surfaces (ADR-0036).c-dividerinsidec-menuand the search-row line inc-autocomplete'spanel used the
bordertoken, which in dark mode resolves to the same coloras the panel background. Both now paint a new
dividersemantic token — atranslucent ink (black @ 12% in light mode, white @ 12% in dark) that reads
consistently on every surface. The token is exported as
--c-dividerand,via the Tailwind theme export, as the
dividercolor utilities.@cscfi/csc-ui-react@4.0.0-alpha.6
Minor Changes
#256
444e2d9Thanks @villeerikssoncsc! - c-alert heading API:headingstring prop renders the alert heading; the slot overridesit for rich content. New
headingCSS part on the prop-rendered heading.titleslot is renamed toheading(slot="heading") —titleisavoided across the library because the native
titleattribute triggersthe browser tooltip.
#256
b30f342Thanks @villeerikssoncsc! - Selection controls are now stylable per state from consumer CSS (ADR-0035).c-checkbox,c-radioandc-switchexpose their interaction state ascustom states (
c-checkbox:state(checked),:state(indeterminate),c-radio:state(checked),:state(disabled),c-switch:state(checked)),and the
indicatorpart now targets the actual visual control — thecheckbox box (with the new
markpart for the check glyph) and the radioring (its dot is the ring's
::after) — so rules likec-checkbox:state(checked)::part(indicator) { background: green }work.BREAKING:
::part(indicator)no longer targets the circular ripple/hoversurface on
c-checkbox/c-radio; that surface is internal and no longerstylable. Also fixes the indeterminate checkbox never filling its box.
#256
692cf41Thanks @villeerikssoncsc! - c-table now leaves your<table>in your own DOM instead of moving it intoits shadow root:
::part()selectors now reach everything inside thetable — e.g. a
c-tagin a cell can be styled withc-tag.status::part(root) { … }, matching how other components customize.(
c-table > table.c-table …). Note that your own global table resets cannow also reach the table, which the shadow boundary previously blocked.
instead of serialized HTML, and header lookup now only considers
<th>elements inside<thead>.<table>slotted in after mount is now picked up automatically.Patch Changes
#256
284e9ecThanks @villeerikssoncsc! -c-autocomplete's in-panel search input now shows a magnifying-glass iconin front of the input as a "type to filter" affordance. The glyph is
decorative (hidden from assistive technology) and inherits its color from
the search row, so
::part(search)color overrides apply to it as well.The options list also gained a small gap below the search row's divider.
#256
b30f342Thanks @villeerikssoncsc! - Separator lines are now visible on dark-mode overlay surfaces (ADR-0036).c-dividerinsidec-menuand the search-row line inc-autocomplete'spanel used the
bordertoken, which in dark mode resolves to the same coloras the panel background. Both now paint a new
dividersemantic token — atranslucent ink (black @ 12% in light mode, white @ 12% in dark) that reads
consistently on every surface. The token is exported as
--c-dividerand,via the Tailwind theme export, as the
dividercolor utilities.Updated dependencies [
444e2d9,284e9ec,b30f342,b30f342,692cf41]: