feat(ui): component redesign pass and fixes, release ui 0.8.87

Redesign
- Shared field foundation rules (duplicated across 15 form components and
  emitted globally) are now identical everywhere, so later copies no longer
  silently override earlier redesigns.
- Drawn checkbox and radio controls, white switch thumbs (the thumb was the
  text colour, a black blob in light mode), recessed field wells, keycap
  actions in Modal, Drawer, Popover, Toaster, Pagination, Stepper, DataTable.
- Menus (Dropdown, ContextMenu, Popover, Select dropdown, Navbar panels) share
  one flat raised panel with neutral hover rows and mono section labels.
- Alerts with an accent rail and icon chip; card headers without the grey
  band; accordion, collapse, list, list group, timeline, stats, metrics,
  chat, skeleton, avatar group, clipboard, splitter, section, sidebar,
  navbar and upload progress restyled.
- Chart rebuilt: nice y-axis ticks, gridlines, rounded bars, line and area
  modes, hover tooltips, hidden series leave the scale.

Fixes
- Checkbox and radio labels toggle their input again (empty for="" broke it).
- TimePicker kept every clicked time pressed; only the chosen hour and
  minute are pressed now, and nothing is pressed before a value exists.
- ColorPicker hex readout now follows the picked colour.
- Disabled FileInput no longer shows the native file-input text.
- Date and time panels float instead of pushing content.
- ContextMenu opened at the pointer closes on scroll.
- Drawer left/top/bottom placements slide from their own edge again.
- Image-only Card no longer renders an empty body strip.
- Timeline supports item.time, current/upcoming states, sizes and
  compact/alternate variants; showcase demos use distinct variants.
- ChatBubble: delivery receipts (sending/sent/delivered/read/failed/error)
  and meta aligned to its bubble.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClintchizandClaude Opus 5.5 committed 2026-09-30 16:18:13 +05:30
1 parent 5eae6f3b3c
commit 1bed8e4b74
93 files changed
+4439 -1915

No files matched your search

+6 -16
View File
@@ -160,9 +160,7 @@ component FeatureCard {
var(--wrn-color-surface-raised);
border: 1px solid var(--feature-border);
border-radius: 1.25rem;
box-shadow:
0 1px 0 color-mix(in srgb, white 4%, transparent) inset,
0 10px 30px color-mix(in srgb, black 9%, transparent);
box-shadow: var(--wrn-highlight-edge, none), var(--wrn-shadow-2);
transition:
transform 180ms ease,
border-color 180ms ease,
@@ -585,14 +583,11 @@ component FeatureCard {
}
.wrn-feature-card[data-variant="raised"] {
box-shadow:
0 1px 0 color-mix(in srgb, white 5%, transparent) inset,
0 20px 50px color-mix(in srgb, black 17%, transparent);
box-shadow: var(--wrn-highlight-edge, none), var(--wrn-shadow-3);
}
.wrn-feature-card[data-variant="soft"] {
background:
linear-gradient(135deg, var(--feature-accent-soft), transparent 68%),
var(--wrn-color-surface-raised);
border-color: color-mix(in srgb, var(--feature-accent) 22%, var(--wrn-color-border));
box-shadow: none;
@@ -619,10 +614,9 @@ component FeatureCard {
.wrn-feature-card[data-variant="solid"] {
color: var(--feature-contrast);
background:
linear-gradient(135deg, color-mix(in srgb, white 9%, transparent), transparent 60%),
var(--feature-accent);
border-color: color-mix(in srgb, white 20%, transparent);
box-shadow: 0 22px 54px color-mix(in srgb, var(--feature-accent) 28%, transparent);
box-shadow: var(--wrn-shadow-3);
}
.wrn-feature-card[data-variant="solid"] .wrn-feature-card__title,
@@ -653,15 +647,11 @@ component FeatureCard {
.wrn-feature-card[data-hover="lift"]:not([data-disabled="true"]):hover {
transform: translateY(-0.3rem);
border-color: color-mix(in srgb, var(--feature-accent) 48%, var(--wrn-color-border));
box-shadow:
0 1px 0 color-mix(in srgb, white 5%, transparent) inset,
0 24px 58px color-mix(in srgb, black 20%, transparent);
box-shadow: var(--wrn-highlight-edge, none), var(--wrn-shadow-3);
}
.wrn-feature-card[data-hover="shadow"]:not([data-disabled="true"]):hover {
box-shadow:
0 1px 0 color-mix(in srgb, white 5%, transparent) inset,
0 24px 58px color-mix(in srgb, black 20%, transparent);
box-shadow: var(--wrn-highlight-edge, none), var(--wrn-shadow-3);
}
.wrn-feature-card[data-hover="border"]:not([data-disabled="true"]):hover {
@@ -670,7 +660,7 @@ component FeatureCard {
.wrn-feature-card[data-hover="glow"]:not([data-disabled="true"]):hover {
border-color: color-mix(in srgb, var(--feature-accent) 54%, var(--wrn-color-border));
box-shadow: 0 20px 60px color-mix(in srgb, var(--feature-accent) 22%, transparent);
box-shadow: var(--wrn-shadow-3);
}
.wrn-feature-card:not([data-disabled="true"]):hover .wrn-feature-card__image {