Skip to content

Feat: Add 'small' size to input components; Fix: Improve field states… - #250

Merged
razorfever merged 1 commit into
mainfrom
various-fixes
Aug 27, 2026
Merged

Feat: Add 'small' size to input components; Fix: Improve field states…#250
razorfever merged 1 commit into
mainfrom
various-fixes

Conversation

@villeerikssoncsc

Copy link
Copy Markdown
Contributor

… and documentation

Fix(c-autocomplete): Anchor the items panel to the bottom of the field, not the hint/error message area; hide the list scrollbar.
Fix(c-text-field): The border no longer stays primary on a filled-but-blurred field; 0 in a type="number" field now counts as a value, lifting the label.
Fix(c-select): The dropdown list opens flush under the field when hide-details is not set; list text uses the surface text token (was black in dark mode); new menu, list, and item CSS parts, plus any part attribute inside a slotted `` is exported through c-select::part().
Feat(c-button-group): The default size is 44px tall (36px buttons in a 4px frame), level with a `c-text-field`.
Fix(c-status): The default (untyped) pill is neutral (`surface-muted` / `on-surface-muted`) instead of primary-tinted.
Fix(c-modal): The `root` part carries `rounded-csc-xl` corners, matching `c-card`.
Fix(c-card): The `root` part no longer clips overflow.
Fix(c-checkbox): The message area is reserved like `c-input`'s to prevent layout shift when validation errors appear; `message` part is now that area.
Feat(c-login-button): New `image` slot (and `image-wrap` part) for custom logo markup instead of `src`.
Feat(c-select, c-text-field, c-autocomplete): `size="small"` renders a 36px field (new shared `CFieldSize` type; `c-input` gains the same `size` prop).
Docs: Example demos render on the card surface by default; canvas-level components (c-card, c-main, navigation chrome, login card) opt into the c-main canvas via `surface: canvas` in the canon example.

… and documentation

Fix(c-autocomplete): Anchor the items panel to the bottom of the field, not the hint/error message area; hide the list scrollbar.
Fix(c-text-field): The border no longer stays primary on a filled-but-blurred field; `0` in a `type="number"` field now counts as a value, lifting the label.
Fix(c-select): The dropdown list opens flush under the field when `hide-details` is not set; list text uses the surface text token (was black in dark mode); new `menu`, `list`, and `item` CSS parts, plus any `part` attribute inside a slotted `` is exported through `c-select::part()`.
Feat(c-button-group): The default size is 44px tall (36px buttons in a 4px frame), level with a `c-text-field`.
Fix(c-status): The default (untyped) pill is neutral (`surface-muted` / `on-surface-muted`) instead of primary-tinted.
Fix(c-modal): The `root` part carries `rounded-csc-xl` corners, matching `c-card`.
Fix(c-card): The `root` part no longer clips overflow.
Fix(c-checkbox): The message area is reserved like `c-input`'s to prevent layout shift when validation errors appear; `message` part is now that area.
Feat(c-login-button): New `image` slot (and `image-wrap` part) for custom logo markup instead of `src`.
Feat(c-select, c-text-field, c-autocomplete): `size="small"` renders a 36px field (new shared `CFieldSize` type; `c-input` gains the same `size` prop).
Docs: Example demos render on the card surface by default; canvas-level components (c-card, c-main, navigation chrome, login card) opt into the c-main canvas via `surface: canvas` in the canon example.
@razorfever
razorfever merged commit 84600a1 into main Aug 27, 2026
1 check passed
@razorfever
razorfever deleted the various-fixes branch August 27, 2026 11:06
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.

2 participants