Skip to content

Chore: version packages (alpha) - #276

Merged
villeerikssoncsc merged 1 commit into
mainfrom
changeset-release/main
Sep 14, 2026
Merged

villeerikssoncsc merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@cscfi/csc-ui@4.0.0-alpha.15

Minor Changes

  • #275 5855ff9 Thanks @razorfever! - Add app-wide prop defaults (ADR-0048): applyDefaults() sets a preference
    prop once for every instance of a tag, and resetDefaults() clears it.

    • applyDefaults({ 'c-text-field': { labelOnTop: true } }) makes every text
      field label on top; applyDefaults({ 'c-select': { texts } }) translates
      every select in one call. Later calls merge with earlier ones, a key set to
      undefined clears it, and mounted elements follow live — a locale switch is
      one call.
    • Only defaultable props take part, badged "app default" in each component's
      Properties table and typed as AppDefaults: labelOnTop, hideDetails,
      shadow and size on c-text-field, c-select, c-autocomplete and
      c-tree-select; itemsPerPage on the three list fields; texts on those
      three and c-data-table. An unknown tag or prop throws.
    • An explicit attribute or property on an instance always wins over the app
      default; texts merges key by key over the built-in strings. Both functions
      are re-exported from @cscfi/csc-ui-react.

    Two visible changes for these props: when unset, the element property now
    reads undefined instead of the built-in (el.labelOnTop, el.size,
    el.itemsPerPage), and the host no longer carries the reflected default
    attributes size="default" / items-per-page="6".

  • #275 fd4bf56 Thanks @razorfever! - Value-selection fields open a fullscreen panel on narrow viewports. Below
    760px, c-autocomplete and c-tree-select no longer anchor their panel under
    the field: it covers the viewport with a heading row (the field's label and a
    close button), the search input pinned beneath it and the options filling the
    rest, following the on-screen keyboard so the search stays visible. The page
    behind the panel is inert until it closes. c-select's existing phone layout
    now covers the whole viewport (no gaps below the small viewport or at the
    corners), follows the keyboard the same way and gains the same heading row.
    The close button's label is the new closePanel text; the row exposes the
    heading-row, heading and close parts.

    Transient panels (c-menu, c-popover, c-autocomplete, c-tree-select) no
    longer close when a scroll or drag gesture starts outside them: light dismiss
    now needs the press and its release both outside, as for a native popover.

@cscfi/csc-ui-react@4.0.0-alpha.15

Minor Changes

  • #275 5855ff9 Thanks @razorfever! - Add app-wide prop defaults (ADR-0048): applyDefaults() sets a preference
    prop once for every instance of a tag, and resetDefaults() clears it.

    • applyDefaults({ 'c-text-field': { labelOnTop: true } }) makes every text
      field label on top; applyDefaults({ 'c-select': { texts } }) translates
      every select in one call. Later calls merge with earlier ones, a key set to
      undefined clears it, and mounted elements follow live — a locale switch is
      one call.
    • Only defaultable props take part, badged "app default" in each component's
      Properties table and typed as AppDefaults: labelOnTop, hideDetails,
      shadow and size on c-text-field, c-select, c-autocomplete and
      c-tree-select; itemsPerPage on the three list fields; texts on those
      three and c-data-table. An unknown tag or prop throws.
    • An explicit attribute or property on an instance always wins over the app
      default; texts merges key by key over the built-in strings. Both functions
      are re-exported from @cscfi/csc-ui-react.

    Two visible changes for these props: when unset, the element property now
    reads undefined instead of the built-in (el.labelOnTop, el.size,
    el.itemsPerPage), and the host no longer carries the reflected default
    attributes size="default" / items-per-page="6".

  • #275 fd4bf56 Thanks @razorfever! - Value-selection fields open a fullscreen panel on narrow viewports. Below
    760px, c-autocomplete and c-tree-select no longer anchor their panel under
    the field: it covers the viewport with a heading row (the field's label and a
    close button), the search input pinned beneath it and the options filling the
    rest, following the on-screen keyboard so the search stays visible. The page
    behind the panel is inert until it closes. c-select's existing phone layout
    now covers the whole viewport (no gaps below the small viewport or at the
    corners), follows the keyboard the same way and gains the same heading row.
    The close button's label is the new closePanel text; the row exposes the
    heading-row, heading and close parts.

    Transient panels (c-menu, c-popover, c-autocomplete, c-tree-select) no
    longer close when a scroll or drag gesture starts outside them: light dismiss
    now needs the press and its release both outside, as for a native popover.

Patch Changes

  • Updated dependencies [5855ff9, fd4bf56]:
    • @cscfi/csc-ui@4.0.0-alpha.15

@villeerikssoncsc
villeerikssoncsc merged commit 3dc94d4 into main Sep 14, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant