Development - #256
Merged
Merged
Conversation
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
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.
No description provided.