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
@@ -291,9 +291,7 @@ component CTASection {
|
||||
var(--wrn-color-surface-raised);
|
||||
border: 1px solid var(--cta-border);
|
||||
border-radius: 1.5rem;
|
||||
box-shadow:
|
||||
0 1px 0 color-mix(in srgb, white 5%, transparent) inset,
|
||||
0 24px 70px color-mix(in srgb, black 15%, transparent);
|
||||
box-shadow: var(--wrn-highlight-edge, none), var(--wrn-shadow-3);
|
||||
}
|
||||
.wrn-cta-section[data-radius="xl"] .wrn-cta-section__surface { border-radius: 1.5rem; }
|
||||
.wrn-cta-section[data-content-padding="lg"] .wrn-cta-section__surface { padding: 3.5rem clamp(1.5rem, 5vw, 4rem); }
|
||||
@@ -315,7 +313,6 @@ component CTASection {
|
||||
.wrn-cta-section[data-variant="soft"] .wrn-cta-section__surface {
|
||||
background:
|
||||
radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--cta-accent) 14%, transparent), transparent 30%),
|
||||
linear-gradient(135deg, var(--cta-accent-soft), transparent 64%),
|
||||
var(--wrn-color-surface-raised);
|
||||
box-shadow: none;
|
||||
}
|
||||
@@ -339,7 +336,7 @@ component CTASection {
|
||||
radial-gradient(circle at 90% 8%, color-mix(in srgb, white 14%, transparent), transparent 30%),
|
||||
var(--cta-accent);
|
||||
border-color: color-mix(in srgb, white 22%, transparent);
|
||||
box-shadow: 0 30px 80px color-mix(in srgb, var(--cta-accent) 28%, transparent);
|
||||
box-shadow: var(--wrn-shadow-3);
|
||||
}
|
||||
|
||||
.wrn-cta-section__background-image {
|
||||
@@ -586,7 +583,7 @@ component CTASection {
|
||||
background: var(--wrn-color-surface-raised);
|
||||
border: 1px solid var(--wrn-color-border);
|
||||
border-radius: 1.2rem;
|
||||
box-shadow: 0 20px 54px color-mix(in srgb, black 18%, transparent);
|
||||
box-shadow: var(--wrn-shadow-3);
|
||||
}
|
||||
|
||||
.wrn-cta-section__visual-media {
|
||||
|
||||
Reference in new issue
Block a user