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:
1 parent
5eae6f3b3c
commit
1bed8e4b74
93 files changed
+4439
-1915
No files matched your search
@@ -32,8 +32,27 @@ component LegendIndicator {
|
||||
.wrn-legend { display:grid; gap:.65rem; }
|
||||
.wrn-legend p { margin:0; color:var(--wrn-color-muted); }
|
||||
.wrn-legend__items { display:flex; flex-wrap:wrap; gap:.75rem; }
|
||||
.wrn-legend button { display:flex; align-items:center; gap:.4rem; border:0; background:transparent; color:var(--wrn-color-text); font:inherit; font-size:.875rem; cursor:pointer; }
|
||||
.wrn-legend i { width:.65rem; height:.65rem; border-radius:50%; }
|
||||
.wrn-legend button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .45rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 999px;
|
||||
background: transparent;
|
||||
color: var(--wrn-color-text);
|
||||
font: inherit;
|
||||
font-size: .8125rem;
|
||||
font-weight: 550;
|
||||
cursor: pointer;
|
||||
transition: background-color 120ms ease, opacity 120ms ease;
|
||||
}
|
||||
.wrn-legend i {
|
||||
width: .625rem;
|
||||
height: .625rem;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1);
|
||||
}
|
||||
.wrn-legend button[aria-pressed="false"] { opacity:.45; text-decoration:line-through; }
|
||||
|
||||
.wrn-next--legend-indicator {
|
||||
@@ -44,6 +63,7 @@ component LegendIndicator {
|
||||
border-radius: var(--wrn-radius);
|
||||
color: var(--wrn-color-text);
|
||||
background: var(--wrn-color-surface);
|
||||
box-shadow: var(--wrn-shadow-1);
|
||||
}
|
||||
.wrn-next--legend-indicator > p { margin: 0; color: var(--wrn-color-muted); }
|
||||
.wrn-next--legend-indicator > .wrn-next__items { display: flex; flex-wrap: wrap; gap: 0.5rem; }
|
||||
@@ -114,7 +134,7 @@ component LegendIndicator {
|
||||
|
||||
.wrn-component p {
|
||||
margin: 0;
|
||||
color: var(--wrn-color-muted);
|
||||
color: var(--wrn-color-text-muted, var(--wrn-color-muted));
|
||||
line-height: 1.6;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user