Skip to content

Development - #256

Merged
razorfever merged 6 commits into
mainfrom
development
Sep 1, 2026
Merged

Development#256
razorfever merged 6 commits into
mainfrom
development

Conversation

@villeerikssoncsc

Copy link
Copy Markdown
Contributor

No description provided.

razorfever and others added 6 commits August 31, 2026 19:38
The in-panel search input now renders a decorative magnifying-glass
glyph (aria-hidden, internal region — no new part or slot per ADR-0006)
in front of the input, and the options list gained a small gap below
the search row's divider.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit introduces two key enhancements for UI components:

1.  **Selection control styling** `c-checkbox`, `c-radio`, and `c-switch` now expose their interaction states (e.g., `:state(checked)`, `:state(indeterminate)`) as custom CSS states. This enables granular per-state styling via `::part()`. The `indicator` part for checkboxes and radios now targets the visual control itself (box/ring), and `c-checkbox` gains a `mark` part for its glyph.
    **BREAKING**: The `::part(indicator)` on `c-checkbox` and `c-radio` no longer targets the circular ripple/hover surface, which is now purely internal.

2.  **Dark mode divider visibility:** A new `divider` semantic token is introduced, using a translucent ink (black @ 12% light, white @ 12% dark). This ensures separator lines, such as those in `c-divider` and `c-autocomplete`'s search row, remain consistently visible on all surface ladder rungs, especially dark-mode overlay surfaces where the previous `border` token was invisible due to insufficient contrast.
The heading prop renders the alert heading as slot fallback content; the
heading slot overrides it for rich content. `title` is avoided as a prop
name because the native attribute triggers the browser tooltip (same
rationale as c-popover); the slot is renamed to keep the pair consistent.
New `heading` CSS part, c-alert usage.md (ADR-0026), and a Heading
glossary entry in CONTEXT.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adds the decorative magnifying glass icon to the `c-autocomplete` component's search input (marked `aria-hidden`).

To ensure the icon's dependency (`@mdi/js`) is correctly bundled and to prevent potential development build issues in the documentation site, it has been added to Vite's `optimizeDeps` configuration.
Page CSS and ::part() selectors on components nested in cells (e.g. a
c-tag) now work — the table is no longer moved into the shadow root; its
styling ships as a document sheet scoped to `c-table > table.c-table`.
Mobile labels clone header nodes instead of serializing innerHTML, and a
table slotted after mount is adopted via slotchange. Recorded as ADR-0037.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Nuxt 4.4 splits the generated tsconfig into per-context projects and
excludes nuxt.config.ts from the legacy .nuxt/tsconfig.json, so the old
single-extends root tsconfig left the config file unowned — VS Code fell
back to an inferred project where import.meta is invalid (ts(1343)).
Switch to the solution-style config referencing the four generated
projects.

With the config file actually type-checked, its import('vite') type
annotations surfaced that vite was not resolvable from this package; add
it as a devDependency matching Nuxt's own version, which also re-peers
@tailwindcss/vite onto the same vite instance Nuxt runs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@razorfever
razorfever merged commit 13b04e0 into main Sep 1, 2026
2 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.

2 participants