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

+30 -14
View File
@@ -250,13 +250,14 @@ component Pagination {
.wrn-pagination__summary {
margin: 0;
color: var(--wrn-color-text-muted);
font-size: 0.82rem;
font-size: 0.8125rem;
font-variant-numeric: tabular-nums;
}
.wrn-pagination__controls {
display: flex;
align-items: center;
gap: 0.35rem;
gap: 0.25rem;
flex-wrap: wrap;
}
@@ -266,7 +267,7 @@ component Pagination {
min-width: 0;
max-width: 100%;
align-items: center;
gap: 0.25rem;
gap: 0.125rem;
margin: 0;
padding: 0;
list-style: none;
@@ -281,23 +282,28 @@ component Pagination {
appearance: none;
display: inline-flex;
align-items: center;
gap: 0.35rem;
min-width: 2.25rem;
gap: 0.3rem;
min-width: 2.125rem;
min-height: 2.125rem;
justify-content: center;
padding: 0.4rem 0.6rem;
border: 1px solid var(--wrn-color-border);
padding: 0 0.55rem;
border: 1px solid transparent;
border-radius: var(--wrn-radius-sm);
background: var(--wrn-color-surface);
color: var(--wrn-color-text);
background: transparent;
color: var(--wrn-color-text-muted);
font: inherit;
font-size: 0.85rem;
font-size: 0.8125rem;
font-weight: 550;
font-variant-numeric: tabular-nums;
cursor: pointer;
text-decoration: none;
transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.wrn-pagination__page:hover,
.wrn-pagination__step:hover {
background: var(--wrn-color-surface-soft);
color: var(--wrn-color-text);
background: var(--wrn-color-surface-muted, var(--wrn-color-surface-soft));
}
/* The href variant renders anchors, which cannot be disabled the way a
@@ -317,10 +323,12 @@ component Pagination {
}
.wrn-pagination__page[data-active="true"] {
border-color: var(--pagination-accent);
background: var(--pagination-accent);
border-color: color-mix(in srgb, var(--pagination-accent) 82%, black);
border-bottom-color: color-mix(in srgb, var(--pagination-accent) 64%, black);
background: linear-gradient(180deg, color-mix(in srgb, var(--pagination-accent) 92%, white), var(--pagination-accent));
box-shadow: var(--wrn-highlight-edge, none), 0 1px 2px color-mix(in srgb, var(--pagination-accent) 30%, transparent);
color: var(--wrn-color-primary-contrast);
font-weight: 700;
font-weight: 650;
}
.wrn-pagination__gap {
@@ -350,5 +358,13 @@ component Pagination {
text-align: center;
}
}
.wrn-pagination__step {
color: var(--wrn-color-text);
border-color: var(--wrn-color-border);
border-bottom-color: var(--wrn-color-border-strong, var(--wrn-color-border));
background: linear-gradient(180deg, var(--wrn-color-surface), var(--wrn-color-surface-soft, var(--wrn-color-surface)));
box-shadow: var(--wrn-shadow-1);
}
}
}