Repository navigation
v2.0.0
Major Changes
-
781aeb4: BREAKING fix: require @neovici/cosmoz-tokens ^4.2.0
Pressed styles use
light-dark()directly, which only resolves with
tokens v4'scolor-scheme-driven theming, and consume the
--cz-shadow-pressed-3d(-solid)inset tokens added in 4.1.0. Also
requires@neovici/cosmoz-tooltip^1.4.0, which supports tokens v4, so
the dependency tree can resolve a single tokens copy.
Minor Changes
-
781aeb4: Add icon-only mode (Untitled UI utility button)
The
icon-onlyattribute renders a compact square button (28–40px
across sizes) with a muted icon color for the quiet variants
(secondary/tertiary). -
781aeb4: Redesign the pressed/selected state (
aria-pressed)- secondary and tertiary shift to a selected brand chip (dark:
brand-900withbrand-300text); secondary keeps a visible inset
ring - primary and destructive stay solid with a 3D inset sink; hover
matches the non-pressed solid pair - link: underline only, no surface change
- icon-only pressed icons take the chip color (lighter on dark hover)
- secondary and tertiary shift to a selected brand chip (dark:
-
781aeb4: Add tooltip support
tooltipwraps the button incosmoz-tooltipwith the heading;
tooltip-placementpositions it (top, bottom, left, right). The wrapper
is always rendered and degrades to a pass-through whentooltipis
unset, so host-driven sizing keeps working.
Patch Changes
- 9ea5162: add push-down click effect on :active