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

+21 -24
View File
@@ -178,20 +178,20 @@ label: string = "Breadcrumb"
.wrn-breadcrumb[data-variant="soft"] {
width: fit-content;
max-width: 100%;
padding: 0.45rem 0.65rem;
background: var(--breadcrumb-soft);
border: 1px solid var(--breadcrumb-muted);
border-radius: 0.75rem;
padding: 0.25rem 0.5rem;
background: var(--wrn-color-surface-soft, var(--breadcrumb-soft));
border: 1px solid var(--wrn-color-border);
border-radius: var(--wrn-radius-sm);
}
.wrn-breadcrumb[data-variant="outline"] {
width: fit-content;
max-width: 100%;
padding: 0.45rem 0.65rem;
padding: 0.25rem 0.5rem;
background: var(--wrn-color-surface-raised);
border: 1px solid var(--wrn-color-border);
border-radius: 0.75rem;
box-shadow: var(--wrn-shadow-sm);
border-radius: var(--wrn-radius-sm);
box-shadow: var(--wrn-shadow-1);
}
.wrn-breadcrumb[data-variant="contrast"] {
@@ -226,10 +226,9 @@ label: string = "Breadcrumb"
display: inline-flex;
align-items: center;
justify-content: center;
margin-inline: 0.45rem;
color: var(--wrn-color-text-subtle);
margin-inline: 0.25rem;
color: var(--wrn-color-border-strong, var(--wrn-color-text-subtle));
font-size: 0.75rem;
opacity: 0.72;
}
.wrn-breadcrumb__separator-icon {
@@ -247,11 +246,11 @@ label: string = "Breadcrumb"
.wrn-breadcrumb__current {
display: inline-flex;
align-items: center;
gap: 0.4rem;
gap: 0.375rem;
min-width: 0;
min-height: 2rem;
padding: 0.25rem 0.4rem;
border-radius: 0.55rem;
min-height: 1.75rem;
padding: 0.125rem 0.375rem;
border-radius: calc(var(--wrn-radius-sm) - 2px);
font-size: 0.8125rem;
line-height: 1.25rem;
text-decoration: none;
@@ -271,15 +270,13 @@ label: string = "Breadcrumb"
.wrn-breadcrumb__link {
color: var(--wrn-color-text-muted);
font-weight: 600;
transition:
color 160ms ease,
background 160ms ease;
font-weight: 500;
transition: color 120ms ease, background 120ms ease;
}
.wrn-breadcrumb__link:hover {
color: var(--breadcrumb-accent);
background: var(--breadcrumb-soft);
color: var(--wrn-color-text);
background: var(--wrn-color-surface-muted, var(--breadcrumb-soft));
}
.wrn-breadcrumb__link:focus-visible {
@@ -291,12 +288,12 @@ label: string = "Breadcrumb"
.wrn-breadcrumb__current {
max-width: 22rem;
color: var(--wrn-color-text);
font-weight: 750;
font-weight: 600;
}
.wrn-breadcrumb__item[data-current="true"] .wrn-breadcrumb__current {
color: var(--breadcrumb-text);
background: var(--breadcrumb-soft);
color: var(--wrn-color-text);
background: transparent;
}
.wrn-breadcrumb__current[aria-disabled="true"] {
@@ -311,7 +308,7 @@ label: string = "Breadcrumb"
}
.wrn-breadcrumb__home {
color: var(--breadcrumb-accent);
color: var(--wrn-color-text-muted);
}
.wrn-breadcrumb__label {