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

+15 -17
View File
@@ -102,7 +102,7 @@ src: string = ""
}
.wrn-next__avatar-wrap {
--wrn-avatar-size: 3rem;
--wrn-avatar-size: 2.5rem;
--wrn-avatar-color: var(--wrn-color-primary);
position: relative;
display: inline-grid;
@@ -115,24 +115,24 @@ src: string = ""
}
.wrn-next__avatar-wrap[data-size="xs"] {
--wrn-avatar-size: 1.75rem;
--wrn-avatar-size: 1.5rem;
}
.wrn-next__avatar-wrap[data-size="sm"] {
--wrn-avatar-size: 2.25rem;
--wrn-avatar-size: 2rem;
}
.wrn-next__avatar-wrap[data-size="md"],
.wrn-next__avatar-wrap[data-size="default"] {
--wrn-avatar-size: 3rem;
--wrn-avatar-size: 2.5rem;
}
.wrn-next__avatar-wrap[data-size="lg"] {
--wrn-avatar-size: 4rem;
--wrn-avatar-size: 3.25rem;
}
.wrn-next__avatar-wrap[data-size="xl"] {
--wrn-avatar-size: 5rem;
--wrn-avatar-size: 4.5rem;
}
.wrn-next__avatar-wrap[data-color="secondary"] {
@@ -169,17 +169,15 @@ src: string = ""
height: 100%;
overflow: hidden;
place-items: center;
color: white;
border: 1px solid color-mix(in srgb, var(--wrn-avatar-color) 58%, var(--wrn-color-border));
color: color-mix(in srgb, var(--wrn-avatar-color) 78%, var(--wrn-color-text));
border: 1px solid color-mix(in srgb, var(--wrn-avatar-color) 22%, transparent);
border-radius: inherit;
background: var(--wrn-avatar-color);
box-shadow:
0 0 0 2px var(--wrn-color-bg),
0 5px 14px rgb(0 0 0 / 0.16);
background: color-mix(in srgb, var(--wrn-avatar-color) 14%, var(--wrn-color-surface));
box-shadow: 0 0 0 2px var(--wrn-color-surface), var(--wrn-shadow-1);
}
.wrn-next__avatar-wrap[data-shape="rounded"] {
border-radius: calc(var(--wrn-radius-sm, 0.5rem) * 0.72);
border-radius: calc(var(--wrn-avatar-size) * 0.28);
}
.wrn-next__avatar-wrap[data-shape="square"] {
@@ -193,10 +191,10 @@ src: string = ""
}
.wrn-next__avatar-initials {
font-size: calc(var(--wrn-avatar-size) * 0.32);
font-weight: 750;
font-size: calc(var(--wrn-avatar-size) * 0.36);
font-weight: 650;
line-height: 1;
letter-spacing: -0.02em;
letter-spacing: -0.01em;
}
.wrn-next__avatar-placeholder {
@@ -413,7 +411,7 @@ src: string = ""
.wrn-component p {
margin: 0;
color: var(--wrn-color-muted);
color: var(--wrn-color-text-muted, var(--wrn-color-muted));
line-height: 1.6;
}
}