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

+12 -10
View File
@@ -172,16 +172,17 @@ id: string = ""
left: 50%;
bottom: calc(100% + var(--wrn-tooltip-offset));
display: grid;
gap: 0.22rem;
gap: 0.2rem;
width: max-content;
max-width: min(var(--wrn-tooltip-max-width), calc(100vw - 1rem));
padding: 0.58rem 0.72rem;
color: white;
background: color-mix(in srgb, black 88%, var(--tooltip-accent) 12%);
border: 1px solid color-mix(in srgb, white 12%, transparent);
border-radius: 0.65rem;
box-shadow: 0 14px 38px color-mix(in srgb, black 28%, transparent);
font-size: 0.73rem;
padding: 0.45rem 0.65rem;
color: #f4f5f7;
background: #16181d;
border: 1px solid rgb(255 255 255 / 0.08);
border-radius: var(--wrn-radius-sm, 0.5rem);
box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 8px 24px -4px rgb(0 0 0 / 0.35);
font-size: 0.75rem;
font-weight: 500;
line-height: 1.45;
text-align: left;
transform: translateX(-50%);
@@ -194,8 +195,9 @@ id: string = ""
.wrn-tooltip[data-variant="soft"] .wrn-tooltip__content {
color: var(--wrn-color-text);
background: var(--tooltip-soft);
border-color: color-mix(in srgb, var(--tooltip-accent) 24%, var(--wrn-color-border));
background: var(--wrn-color-surface-raised, var(--wrn-color-surface));
border-color: var(--wrn-color-border);
box-shadow: var(--wrn-shadow-2);
}
.wrn-tooltip[data-variant="light"] .wrn-tooltip__content {