@valiify/dashboard-ui 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +433 -2
- package/COMPONENTS.md +448 -73
- package/README.md +3 -3
- package/class-manifest.json +173 -4
- package/design-methodology/dashboard.md +676 -308
- package/dist/dashboard-ui.css +1258 -206
- package/dist/index.css +929 -181
- package/package.json +8 -8
- package/src/components/add-funds-form.css +2 -1
- package/src/components/button.css +40 -21
- package/src/components/checkbox.css +4 -2
- package/src/components/checklist-group.css +14 -6
- package/src/components/composer.css +11 -9
- package/src/components/content-row.css +29 -4
- package/src/components/data-list.css +91 -0
- package/src/components/data-row.css +14 -1
- package/src/components/divider.css +1 -1
- package/src/components/dropdown-field.css +30 -18
- package/src/components/dropdown-menu.css +12 -6
- package/src/components/field-verification.css +6 -1
- package/src/components/filter-segment.css +2 -1
- package/src/components/final-decision.css +51 -0
- package/src/components/finding-card.css +60 -17
- package/src/components/finding-option.css +10 -4
- package/src/components/funding-status.css +3 -2
- package/src/components/funding-total.css +8 -3
- package/src/components/funding-transaction.css +28 -5
- package/src/components/index.css +7 -0
- package/src/components/input.css +60 -21
- package/src/components/keycap.css +1 -1
- package/src/components/link.css +6 -2
- package/src/components/loading-indicator.css +5 -5
- package/src/components/menu-item.css +109 -21
- package/src/components/modal.css +21 -2
- package/src/components/navigation-rail.css +136 -6
- package/src/components/owner-row.css +170 -0
- package/src/components/owner-table-header.css +28 -13
- package/src/components/panel-section-header.css +5 -2
- package/src/components/pill.css +3 -2
- package/src/components/radio-select.css +5 -2
- package/src/components/recipient-input.css +4 -4
- package/src/components/record.css +56 -0
- package/src/components/scoring-details.css +79 -0
- package/src/components/section-edit.css +109 -0
- package/src/components/section-marker.css +4 -3
- package/src/components/sensitive-data.css +8 -4
- package/src/components/severity-count.css +13 -0
- package/src/components/step.css +1 -1
- package/src/components/summary-panel.css +250 -0
- package/src/components/summary-preview.css +5 -1
- package/src/components/tabs.css +7 -7
- package/src/components/tag.css +15 -9
- package/src/components/textarea.css +38 -18
- package/src/components/toast.css +13 -10
- package/src/components/tooltip.css +4 -1
- package/src/themes/valiify-tokens.css +1 -1
- package/src/themes/valiify.css +1 -1
- package/src/utility-surface.css +93 -1
- package/types/components.d.ts +100 -5
package/src/components/tabs.css
CHANGED
|
@@ -81,10 +81,9 @@
|
|
|
81
81
|
* label; underline's old 8px / 6px padding-y and the chip's implied slack are
|
|
82
82
|
* gone. The active underline rule is a 2px bottom border inside the box.
|
|
83
83
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* follows the binding, not the label; the label is on the designer list.
|
|
84
|
+
* Chip and segment are Size=sm in the file and bind Height/Control/SM (24) —
|
|
85
|
+
* the old Size=lg label is fixed (re-read 2026-11-30). Underline lg binds LG
|
|
86
|
+
* (32), underline sm SM (24).
|
|
88
87
|
*
|
|
89
88
|
* The badge slot is the existing Chip component — `.badge badge-neutral` maps
|
|
90
89
|
* onto it byte-for-byte. Do not build a new part for it. There is no icon slot
|
|
@@ -183,15 +182,16 @@
|
|
|
183
182
|
/* chip and segment share everything but radius and active fill */
|
|
184
183
|
.vd-tab-chip,
|
|
185
184
|
.vd-tab-segment {
|
|
186
|
-
@apply h-control-sm gap-1 px-
|
|
185
|
+
@apply h-control-sm gap-1 px-2.75; /* SM 24px (Figma's Size=sm since the re-cut), 4px gap, 11px padding-x (Figma 12 − the reserved hairline) */
|
|
187
186
|
/* The ACTIVE hairline, reserved transparent at rest: these boxes hug, so
|
|
188
187
|
a border that only appears when active widened the tab by the rendered
|
|
189
188
|
1px per side (measured Δ2px) and shifted its neighbours. Height is
|
|
190
189
|
pinned, so vertically it costs nothing. */
|
|
191
190
|
@apply border border-[length:var(--border-thin)] border-transparent;
|
|
192
191
|
@apply text-action-compact; /* 12 / 16 / 500 — active steps to 600 since Rev3 */
|
|
193
|
-
/* Content/Secondary by decision — Figma's Tertiary
|
|
194
|
-
selector's own Surface/Frame fill.
|
|
192
|
+
/* Content/Secondary by decision — Figma's Tertiary was 4.26 on the segment
|
|
193
|
+
selector's own Surface/Frame fill. With the 0.7.0 token (#6a6a78) rest is
|
|
194
|
+
4.78, but the hover fill on Frame is 4.49, so it stays. See the header. */
|
|
195
195
|
@apply text-content-secondary;
|
|
196
196
|
}
|
|
197
197
|
|
package/src/components/tag.css
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
.vd-tag {
|
|
93
93
|
/* Layout — sm is the base: Height/Control/XS, no padding-y */
|
|
94
94
|
@apply inline-flex shrink-0 items-center gap-2.5; /* 10px at sm */
|
|
95
|
-
@apply h-control-xs px-2
|
|
95
|
+
@apply h-control-xs px-2; /* 20px, 8px (Figma 9 − the rendered border) */
|
|
96
96
|
|
|
97
97
|
/* Shape */
|
|
98
98
|
@apply rounded-pill;
|
|
@@ -114,9 +114,11 @@
|
|
|
114
114
|
/* --- Parts ------------------------------------------------------------ */
|
|
115
115
|
|
|
116
116
|
/* Not a badge — bare text, no box. Inter Action/Compact since Rev3 (the
|
|
117
|
-
mono form is gone). Figma binds Content/Tertiary, which
|
|
117
|
+
mono form is gone). Figma binds Content/Tertiary, which failed AA on every
|
|
118
118
|
filled state (4.19–4.46 measured); Content/Secondary ships instead
|
|
119
|
-
(5.5–6.7 on every state) — designer-list item 27.
|
|
119
|
+
(5.5–6.7 on every state) — designer-list item 27. With the 0.7.0 token
|
|
120
|
+
Tertiary clears those states on Paper, but a hovered tag on Surface/Frame
|
|
121
|
+
is 4.25, so Secondary stays. md/lg only. */
|
|
120
122
|
.vd-tag-count {
|
|
121
123
|
@apply shrink-0;
|
|
122
124
|
@apply text-action-compact text-content-secondary;
|
|
@@ -127,24 +129,24 @@
|
|
|
127
129
|
/* Raw 20 in Figma — unbound, and the same height as sm; only padding and
|
|
128
130
|
gap are denser. Was a raw 16 before Rev3. */
|
|
129
131
|
.vd-tag-xs {
|
|
130
|
-
@apply h-5 gap-1.5 px-1.
|
|
132
|
+
@apply h-5 gap-1.5 px-1.25; /* 20px, 6px gap, 5px (Figma 6 − border) */
|
|
131
133
|
@apply text-action-compact;
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
/* Identical to the bare base — sm IS the default. */
|
|
135
137
|
.vd-tag-sm {
|
|
136
|
-
@apply h-control-xs gap-2.5 px-2
|
|
138
|
+
@apply h-control-xs gap-2.5 px-2; /* XS 20px, 10px gap, 8px (Figma 9 − border) */
|
|
137
139
|
@apply text-action-compact;
|
|
138
140
|
}
|
|
139
141
|
|
|
140
142
|
/* Kind=default only in Figma. */
|
|
141
143
|
.vd-tag-md {
|
|
142
|
-
@apply h-control-sm gap-2 px-2
|
|
144
|
+
@apply h-control-sm gap-2 px-2; /* SM 24px, 8px gap, 8px (Figma 9 − border) */
|
|
143
145
|
@apply text-action-compact;
|
|
144
146
|
}
|
|
145
147
|
|
|
146
148
|
.vd-tag-lg {
|
|
147
|
-
@apply h-control-lg gap-2 px-2.
|
|
149
|
+
@apply h-control-lg gap-2 px-2.25; /* LG 32px, 8px gap, 9px (Figma's raw 10 − border) */
|
|
148
150
|
@apply text-action-default; /* 13 / 18 / 500 */
|
|
149
151
|
}
|
|
150
152
|
|
|
@@ -170,7 +172,7 @@
|
|
|
170
172
|
Chip dot SM instance, so it is `.vd-dot vd-dot-sm` plus a colour — status
|
|
171
173
|
colours, `vd-dot-info`, or `vd-dot-misc` with a hue. */
|
|
172
174
|
.vd-tag-label {
|
|
173
|
-
@apply h-auto gap-1.5 py-0.5 pr-2
|
|
175
|
+
@apply h-auto gap-1.5 py-0.5 pr-2 pl-1.75; /* 6px gap, 2px / 8px / 7px (Figma 9 / 8 − border) */
|
|
174
176
|
@apply rounded-control; /* 6px */
|
|
175
177
|
@apply border-[length:var(--border-line)] border-stroke-border;
|
|
176
178
|
@apply bg-surface-paper text-content-secondary;
|
|
@@ -188,7 +190,11 @@
|
|
|
188
190
|
SM chip inside the 20px sm tag — an overflow (designer-list item 25) —
|
|
189
191
|
so the wrapper grows instead of the chip overflowing. The compound
|
|
190
192
|
selector deliberately outranks the size classes. */
|
|
191
|
-
|
|
193
|
+
/* xs / sm / md only: an lg tag stays on its 32px LG step (Figma's lg
|
|
194
|
+
external tags are 32; the nested chip is a hidden layer there). Through
|
|
195
|
+
2026-11-30 this rule outranked .vd-tag-lg and shrank an lg external tag
|
|
196
|
+
to 24. */
|
|
197
|
+
.vd-tag-external:not(.vd-tag-lg):has(.vd-chip) {
|
|
192
198
|
height: auto;
|
|
193
199
|
@apply min-h-control-sm; /* hugs: 20px chip + hairlines, floored at 24 */
|
|
194
200
|
}
|
|
@@ -15,9 +15,11 @@
|
|
|
15
15
|
* VERTICAL PADDING IS NOT 0 HERE, unlike the pinned controls — a floor box is
|
|
16
16
|
* top-aligned and its padding is real geometry. THE FLOOR-TIER RULE: floor
|
|
17
17
|
* components subtract the rendered 1px hairline per side from their vertical
|
|
18
|
-
* padding; height-bound components don't need to, height clamps.
|
|
19
|
-
*
|
|
20
|
-
* strokesIncludedInLayout=false draws it inside)
|
|
18
|
+
* padding; height-bound components don't need to, height clamps. The border
|
|
19
|
+
* ADDS 1px per side to a content-driven box (Figma's
|
|
20
|
+
* strokesIncludedInLayout=false draws it inside) — a real 1px since
|
|
21
|
+
* 2026-11-30, and before that the 0.5px hairline Chrome floored to 1 — so
|
|
22
|
+
* Figma's measured padding
|
|
21
23
|
* (3/5/4/6/10) would render every one-line field ~1.5px above its floor. The
|
|
22
24
|
* CSS twin of the Figma bug, not a property of the design. Padding-y is
|
|
23
25
|
* therefore (floor − 2 − lineBox) / 2, rounded down: xs 2, sm 4, md 3, lg 5,
|
|
@@ -76,13 +78,15 @@
|
|
|
76
78
|
(Figma's 4 minus the rendered hairline). The field hugs the <textarea>
|
|
77
79
|
above the floor, so the consumer still sets the working size with
|
|
78
80
|
`rows`, a height utility, or by dragging. */
|
|
79
|
-
@apply min-h-control-md px-2.
|
|
81
|
+
@apply min-h-control-md px-2.25 py-0.75; /* 9 / 3 — Figma 10 / 4 − the border */
|
|
80
82
|
|
|
81
83
|
/* Shape */
|
|
82
84
|
@apply rounded-control; /* 6px */
|
|
83
85
|
|
|
84
|
-
/* Border
|
|
85
|
-
|
|
86
|
+
/* Border — 1px Stroke/Border at rest (2026-11-30; was 0.5px Divider).
|
|
87
|
+
Chrome already rendered the half pixel as 1, so the floor paddings
|
|
88
|
+
below, which subtract the rendered 1px per side, are unchanged. */
|
|
89
|
+
@apply border border-[length:var(--border-line)] border-stroke-border;
|
|
86
90
|
|
|
87
91
|
/* Background - default: white */
|
|
88
92
|
@apply bg-surface-paper;
|
|
@@ -130,28 +134,28 @@
|
|
|
130
134
|
− hairlines, i.e. 0 at xs and 2 at sm. md–xl keep the minus-hairline rule
|
|
131
135
|
— their 18px line sits under the floor either way. */
|
|
132
136
|
.vd-textarea-xs {
|
|
133
|
-
@apply min-h-control-xs px-1.
|
|
137
|
+
@apply min-h-control-xs px-1.25 py-0; /* floor 20 = 18 line + 2 hairlines */
|
|
134
138
|
@apply text-supporting-caption; /* 12 / 18 / 400 (was Micro L 11) */
|
|
135
139
|
}
|
|
136
140
|
|
|
137
141
|
.vd-textarea-sm {
|
|
138
|
-
@apply min-h-control-sm px-
|
|
142
|
+
@apply min-h-control-sm px-1.75 py-0.5; /* floor 24 = 18 + 2+2 + hairlines */
|
|
139
143
|
@apply text-supporting-caption;
|
|
140
144
|
}
|
|
141
145
|
|
|
142
146
|
/* Identical to the bare base — md IS the default. */
|
|
143
147
|
.vd-textarea-md {
|
|
144
|
-
@apply min-h-control-md px-2.
|
|
148
|
+
@apply min-h-control-md px-2.25 py-0.75; /* floor 28, 9 / 3 (Figma 10 / 4 − border) */
|
|
145
149
|
@apply text-body-dense; /* 13 / 18 / 400 */
|
|
146
150
|
}
|
|
147
151
|
|
|
148
152
|
.vd-textarea-lg {
|
|
149
|
-
@apply min-h-control-lg px-
|
|
153
|
+
@apply min-h-control-lg px-2.75 py-1.25; /* floor 32, 11 / 5 (Figma 12 / 6 − border) */
|
|
150
154
|
@apply text-body-dense;
|
|
151
155
|
}
|
|
152
156
|
|
|
153
157
|
.vd-textarea-xl {
|
|
154
|
-
@apply min-h-control-xl px-
|
|
158
|
+
@apply min-h-control-xl px-3.75 py-2.25; /* floor 40, 15 / 9 (Figma 16 / 10 − border) */
|
|
155
159
|
@apply text-body-dense;
|
|
156
160
|
}
|
|
157
161
|
|
|
@@ -173,12 +177,21 @@
|
|
|
173
177
|
|
|
174
178
|
/* --- States ------------------------------------------------------ */
|
|
175
179
|
|
|
176
|
-
/* Hover
|
|
177
|
-
|
|
178
|
-
|
|
180
|
+
/* Hover — Content/Faint (was Stroke/Border). Excludes ERROR by name: the
|
|
181
|
+
:not() guards give it (0,5,0), above the (0,2,0) error rule, so through
|
|
182
|
+
0.7.0 a field in error lost its red border on hover. Text Area's error
|
|
183
|
+
stays Critical/Main hovered and focused (Input Field alone steps to
|
|
184
|
+
Critical/Strong). */
|
|
185
|
+
.vd-textarea-field:hover:not(:has(:disabled)):not(.vd-textarea-disabled):not(.vd-textarea-error) {
|
|
186
|
+
@apply border-content-faint;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Focus — Primary/Main border, as Figma's State=active draws it, under the
|
|
190
|
+
2px ring (see input.css). After hover at equal specificity. */
|
|
191
|
+
.vd-textarea-field:focus-within:not(:has(:disabled)):not(.vd-textarea-disabled):not(.vd-textarea-error) {
|
|
192
|
+
@apply border-primary;
|
|
179
193
|
}
|
|
180
194
|
|
|
181
|
-
/* Focus */
|
|
182
195
|
.vd-textarea-field:focus-within {
|
|
183
196
|
@apply focus-ring;
|
|
184
197
|
/* The active halo (0.6.0) — 3px Primary/Soft, a 0-blur spread shadow on
|
|
@@ -192,10 +205,17 @@
|
|
|
192
205
|
@apply border-critical;
|
|
193
206
|
}
|
|
194
207
|
|
|
195
|
-
/* Disabled
|
|
208
|
+
/* Disabled — Stroke/Disabled border (was Stroke/Divider), except in error:
|
|
209
|
+
Figma's disabled + error variants keep Critical/Main, which this rule used
|
|
210
|
+
to override (same specificity, later in the file). */
|
|
196
211
|
.vd-textarea-field:has(:disabled),
|
|
197
212
|
.vd-textarea-field.vd-textarea-disabled {
|
|
198
|
-
@apply bg-action-subtle
|
|
213
|
+
@apply bg-action-subtle cursor-not-allowed;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.vd-textarea-field:has(:disabled):not(.vd-textarea-error),
|
|
217
|
+
.vd-textarea-field.vd-textarea-disabled:not(.vd-textarea-error) {
|
|
218
|
+
@apply border-stroke-disabled;
|
|
199
219
|
}
|
|
200
220
|
|
|
201
221
|
.vd-textarea-bg-neutral:has(:disabled),
|
|
@@ -211,7 +231,7 @@
|
|
|
211
231
|
|
|
212
232
|
.vd-textarea-error-message {
|
|
213
233
|
@apply flex items-center w-full pt-1.5; /* 6px top padding */
|
|
214
|
-
@apply text-
|
|
234
|
+
@apply text-body-default; /* 14 / 20 — Figma's Error Message binds Body/Default (2026-11-30; was a raw 11px) */
|
|
215
235
|
@apply text-critical-strong;
|
|
216
236
|
}
|
|
217
237
|
|
package/src/components/toast.css
CHANGED
|
@@ -63,13 +63,16 @@
|
|
|
63
63
|
* `--shadow-toast`; Simple uses the named General Drop Shadow, which is already
|
|
64
64
|
* `--shadow-panel`. They are not interchangeable.
|
|
65
65
|
*
|
|
66
|
-
* SIMPLE'S HEIGHT IS PINNED AT
|
|
67
|
-
*
|
|
68
|
-
* 10 +
|
|
69
|
-
* values derive
|
|
66
|
+
* SIMPLE'S HEIGHT IS PINNED AT 40 (2026-11-30; 38 in Rev3, 35 before), and
|
|
67
|
+
* must be pinned. The label is Body/Default's 20px line, so Figma's frame is
|
|
68
|
+
* 10 + 20 + 10 = 40 with the stroke drawn inside; under border-box the same
|
|
69
|
+
* values derive 42. The pin restores Figma's rendered size and flex centring
|
|
70
70
|
* keeps the 15px icon centred. Same trap button.css and pill.css document —
|
|
71
71
|
* a bordered box must be sized, never derived.
|
|
72
72
|
*
|
|
73
|
+
* TYPE, 2026-11-30: the title is Body/Default Strong (14/20/500) and Simple's
|
|
74
|
+
* label Body/Default (14/20) — Full is 108 tall (was 106), Simple 40.
|
|
75
|
+
*
|
|
73
76
|
* REV3 TYPE (2026-09-30). Title binds Body/Dense Strong (13/18/500), message
|
|
74
77
|
* Body/Default (14/20 — grew from the 12px Caption), Simple's label
|
|
75
78
|
* Body/Dense (13/18), and the timestamp Data/Compact — the same 12/16.5
|
|
@@ -79,7 +82,7 @@
|
|
|
79
82
|
*
|
|
80
83
|
* THE TIMESTAMP SHIPS Content/Tertiary, NOT FIGMA'S Content/Faint — a pinned
|
|
81
84
|
* divergence (approved 2026-09-30): Faint measures 1.73:1 on the Paper card,
|
|
82
|
-
* real 12px text. Tertiary is
|
|
85
|
+
* real 12px text. Tertiary is 5.32 on Paper. Same decision shape as the
|
|
83
86
|
* field family's placeholders (designer-list item 30).
|
|
84
87
|
*
|
|
85
88
|
* SCREEN READERS AND TIMING (the library ships no JavaScript, so both are
|
|
@@ -103,7 +106,7 @@
|
|
|
103
106
|
.vd-toast {
|
|
104
107
|
/* Layout — Full */
|
|
105
108
|
@apply flex w-89 flex-col items-start gap-3; /* 356px, 12px */
|
|
106
|
-
@apply p-
|
|
109
|
+
@apply p-3.75; /* 15px — Figma 16 − the 1px border (2026-11-30; was 16, 2px over Figma) */
|
|
107
110
|
|
|
108
111
|
/* Shape */
|
|
109
112
|
@apply rounded-surface; /* 8px */
|
|
@@ -139,7 +142,7 @@
|
|
|
139
142
|
|
|
140
143
|
/* Rev3: Body/Dense Strong — 13/18, Medium/500 despite the "Strong". */
|
|
141
144
|
.vd-toast-title {
|
|
142
|
-
@apply text-body-
|
|
145
|
+
@apply text-body-default-strong; /* 14 / 20 / 500 — 2026-11-30, was Body/Dense Strong 13 / 18 */
|
|
143
146
|
@apply text-content-primary;
|
|
144
147
|
}
|
|
145
148
|
|
|
@@ -184,8 +187,8 @@
|
|
|
184
187
|
exhaustive on purpose rather than relying on what happens to cascade. */
|
|
185
188
|
.vd-toast-simple {
|
|
186
189
|
@apply inline-flex w-70 flex-row items-center justify-center gap-2.25; /* 280px, 9px */
|
|
187
|
-
@apply px-
|
|
188
|
-
@apply h-[
|
|
190
|
+
@apply px-3.75 py-2.5; /* 15px (Figma 16 − border) / 10px — height pinned */
|
|
191
|
+
@apply h-[40px]; /* pinned — 10 + 20 + 10 since 2026-11-30 (was 38); see the header */
|
|
189
192
|
|
|
190
193
|
@apply rounded-pill;
|
|
191
194
|
@apply border border-[length:var(--border-line)] border-stroke-divider;
|
|
@@ -195,7 +198,7 @@
|
|
|
195
198
|
1.1:1 in Onyx). */
|
|
196
199
|
@apply bg-inverse-surface text-inverse-content;
|
|
197
200
|
|
|
198
|
-
@apply text-body-
|
|
201
|
+
@apply text-body-default; /* 14 / 20 / 400 — 2026-11-30, was Body/Dense 13 / 18 */
|
|
199
202
|
|
|
200
203
|
/* The NAMED General Drop Shadow, where Full uses its own local effect. */
|
|
201
204
|
@apply shadow-panel;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
.vd-tooltip {
|
|
36
36
|
/* Layout */
|
|
37
37
|
@apply flex w-70 flex-col items-start gap-1.5; /* 280px, 6px */
|
|
38
|
-
@apply px-
|
|
38
|
+
@apply px-3.75 py-2.75; /* 15px / 11px — Figma 16 / 12 − the 1px border */
|
|
39
39
|
|
|
40
40
|
/* Shape */
|
|
41
41
|
@apply rounded-control; /* 6px */
|
|
@@ -82,6 +82,9 @@
|
|
|
82
82
|
.vd-tooltip-divider {
|
|
83
83
|
@apply w-full border-none;
|
|
84
84
|
height: var(--border-thin);
|
|
85
|
+
/* Figma's divider is a 0-height vector with a centred stroke: it takes no
|
|
86
|
+
layout height, so neither does this. */
|
|
87
|
+
margin-block: calc(var(--border-thin) / -2);
|
|
85
88
|
@apply bg-content-secondary;
|
|
86
89
|
}
|
|
87
90
|
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
/* Content (text / ink) */
|
|
44
44
|
--color-content-primary: oklch(0.202 0.0079 285.67); /* #16161a */
|
|
45
45
|
--color-content-secondary: oklch(0.4759 0.0208 285.58); /* #5b5b68 */
|
|
46
|
-
--color-content-tertiary: oklch(0.
|
|
46
|
+
--color-content-tertiary: oklch(0.5292 0.0218 285.63); /* #6a6a78 */
|
|
47
47
|
--color-content-faint: oklch(0.8233 0.0139 286.09); /* #c4c4ce */
|
|
48
48
|
--color-content-contrast: oklch(1 0 0); /* #ffffff */
|
|
49
49
|
|
package/src/themes/valiify.css
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
/* Content (text / ink) */
|
|
44
44
|
--color-content-primary: oklch(0.202 0.0079 285.67); /* #16161a */
|
|
45
45
|
--color-content-secondary: oklch(0.4759 0.0208 285.58); /* #5b5b68 */
|
|
46
|
-
--color-content-tertiary: oklch(0.
|
|
46
|
+
--color-content-tertiary: oklch(0.5292 0.0218 285.63); /* #6a6a78 */
|
|
47
47
|
--color-content-faint: oklch(0.8233 0.0139 286.09); /* #c4c4ce */
|
|
48
48
|
--color-content-contrast: oklch(1 0 0); /* #ffffff */
|
|
49
49
|
|
package/src/utility-surface.css
CHANGED
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
* a page using it renders unstyled with nothing failing. This file is committed so
|
|
10
10
|
* that set is reviewable in a diff.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* 400 utilities — each base plus its `md:` form (the one sanctioned
|
|
13
13
|
* breakpoint). Candidates that do not compile are dropped by the generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
@source inline("vd:-translate-x-1/2");
|
|
17
|
+
@source inline("vd:absolute");
|
|
16
18
|
@source inline("vd:aspect-square");
|
|
17
19
|
@source inline("vd:bg-action-selected");
|
|
18
20
|
@source inline("vd:bg-action-subtle");
|
|
@@ -44,11 +46,15 @@
|
|
|
44
46
|
@source inline("vd:border-stroke-divider");
|
|
45
47
|
@source inline("vd:border-t");
|
|
46
48
|
@source inline("vd:border-warning");
|
|
49
|
+
@source inline("vd:box-content");
|
|
50
|
+
@source inline("vd:fixed");
|
|
47
51
|
@source inline("vd:flex");
|
|
48
52
|
@source inline("vd:flex-1");
|
|
53
|
+
@source inline("vd:flex-col");
|
|
49
54
|
@source inline("vd:focus-ring");
|
|
50
55
|
@source inline("vd:font-mono");
|
|
51
56
|
@source inline("vd:gap-0.25");
|
|
57
|
+
@source inline("vd:gap-0.5");
|
|
52
58
|
@source inline("vd:gap-1");
|
|
53
59
|
@source inline("vd:gap-1.5");
|
|
54
60
|
@source inline("vd:gap-10");
|
|
@@ -80,10 +86,17 @@
|
|
|
80
86
|
@source inline("vd:h-control-sm");
|
|
81
87
|
@source inline("vd:h-control-xl");
|
|
82
88
|
@source inline("vd:h-control-xs");
|
|
89
|
+
@source inline("vd:h-full");
|
|
83
90
|
@source inline("vd:hover:border-critical");
|
|
84
91
|
@source inline("vd:hover:text-critical");
|
|
85
92
|
@source inline("vd:items-center");
|
|
86
93
|
@source inline("vd:justify-between");
|
|
94
|
+
@source inline("vd:left-0");
|
|
95
|
+
@source inline("vd:left-1/2");
|
|
96
|
+
@source inline("vd:max-h-80");
|
|
97
|
+
@source inline("vd:max-w-[960px]");
|
|
98
|
+
@source inline("vd:md:-translate-x-1/2");
|
|
99
|
+
@source inline("vd:md:absolute");
|
|
87
100
|
@source inline("vd:md:aspect-square");
|
|
88
101
|
@source inline("vd:md:bg-action-selected");
|
|
89
102
|
@source inline("vd:md:bg-action-subtle");
|
|
@@ -115,11 +128,15 @@
|
|
|
115
128
|
@source inline("vd:md:border-stroke-divider");
|
|
116
129
|
@source inline("vd:md:border-t");
|
|
117
130
|
@source inline("vd:md:border-warning");
|
|
131
|
+
@source inline("vd:md:box-content");
|
|
132
|
+
@source inline("vd:md:fixed");
|
|
118
133
|
@source inline("vd:md:flex");
|
|
119
134
|
@source inline("vd:md:flex-1");
|
|
135
|
+
@source inline("vd:md:flex-col");
|
|
120
136
|
@source inline("vd:md:focus-ring");
|
|
121
137
|
@source inline("vd:md:font-mono");
|
|
122
138
|
@source inline("vd:md:gap-0.25");
|
|
139
|
+
@source inline("vd:md:gap-0.5");
|
|
123
140
|
@source inline("vd:md:gap-1");
|
|
124
141
|
@source inline("vd:md:gap-1.5");
|
|
125
142
|
@source inline("vd:md:gap-10");
|
|
@@ -151,23 +168,50 @@
|
|
|
151
168
|
@source inline("vd:md:h-control-sm");
|
|
152
169
|
@source inline("vd:md:h-control-xl");
|
|
153
170
|
@source inline("vd:md:h-control-xs");
|
|
171
|
+
@source inline("vd:md:h-full");
|
|
154
172
|
@source inline("vd:md:hover:border-critical");
|
|
155
173
|
@source inline("vd:md:hover:text-critical");
|
|
156
174
|
@source inline("vd:md:items-center");
|
|
157
175
|
@source inline("vd:md:justify-between");
|
|
176
|
+
@source inline("vd:md:left-0");
|
|
177
|
+
@source inline("vd:md:left-1/2");
|
|
178
|
+
@source inline("vd:md:max-h-80");
|
|
179
|
+
@source inline("vd:md:max-w-[960px]");
|
|
180
|
+
@source inline("vd:md:min-h-0");
|
|
158
181
|
@source inline("vd:md:min-h-control-lg");
|
|
159
182
|
@source inline("vd:md:min-h-control-md");
|
|
160
183
|
@source inline("vd:md:min-h-control-sm");
|
|
161
184
|
@source inline("vd:md:min-h-control-xl");
|
|
162
185
|
@source inline("vd:md:min-h-control-xs");
|
|
186
|
+
@source inline("vd:md:min-w-0");
|
|
187
|
+
@source inline("vd:md:min-w-70");
|
|
188
|
+
@source inline("vd:md:min-w-[820px]");
|
|
189
|
+
@source inline("vd:md:ml-1.5");
|
|
190
|
+
@source inline("vd:md:ml-auto");
|
|
191
|
+
@source inline("vd:md:mr-1.5");
|
|
163
192
|
@source inline("vd:md:mx-auto");
|
|
193
|
+
@source inline("vd:md:my-1.5");
|
|
194
|
+
@source inline("vd:md:overflow-auto");
|
|
195
|
+
@source inline("vd:md:overflow-hidden");
|
|
196
|
+
@source inline("vd:md:overflow-y-auto");
|
|
164
197
|
@source inline("vd:md:p-0.5");
|
|
165
198
|
@source inline("vd:md:p-1");
|
|
166
199
|
@source inline("vd:md:p-5");
|
|
200
|
+
@source inline("vd:md:pb-1");
|
|
201
|
+
@source inline("vd:md:pb-2");
|
|
202
|
+
@source inline("vd:md:pb-4");
|
|
203
|
+
@source inline("vd:md:pb-50");
|
|
167
204
|
@source inline("vd:md:pb-7");
|
|
205
|
+
@source inline("vd:md:pl-3");
|
|
206
|
+
@source inline("vd:md:pl-5");
|
|
168
207
|
@source inline("vd:md:pl-7");
|
|
208
|
+
@source inline("vd:md:pointer-events-none");
|
|
169
209
|
@source inline("vd:md:pr-0");
|
|
210
|
+
@source inline("vd:md:pr-5");
|
|
170
211
|
@source inline("vd:md:pr-6");
|
|
212
|
+
@source inline("vd:md:pt-1");
|
|
213
|
+
@source inline("vd:md:pt-3");
|
|
214
|
+
@source inline("vd:md:pt-6");
|
|
171
215
|
@source inline("vd:md:pt-7");
|
|
172
216
|
@source inline("vd:md:px-1");
|
|
173
217
|
@source inline("vd:md:px-1.5");
|
|
@@ -186,14 +230,19 @@
|
|
|
186
230
|
@source inline("vd:md:py-5");
|
|
187
231
|
@source inline("vd:md:py-6");
|
|
188
232
|
@source inline("vd:md:py-[12.5px]");
|
|
233
|
+
@source inline("vd:md:relative");
|
|
234
|
+
@source inline("vd:md:right-0");
|
|
189
235
|
@source inline("vd:md:rounded-control");
|
|
190
236
|
@source inline("vd:md:rounded-micro");
|
|
191
237
|
@source inline("vd:md:rounded-pill");
|
|
192
238
|
@source inline("vd:md:rounded-surface");
|
|
193
239
|
@source inline("vd:md:rounded-tight");
|
|
240
|
+
@source inline("vd:md:self-stretch");
|
|
194
241
|
@source inline("vd:md:shadow-[0_4px_4px_rgb(0_0_0/0.08)]");
|
|
195
242
|
@source inline("vd:md:shadow-panel");
|
|
243
|
+
@source inline("vd:md:shrink-0");
|
|
196
244
|
@source inline("vd:md:size-[18px]");
|
|
245
|
+
@source inline("vd:md:sticky");
|
|
197
246
|
@source inline("vd:md:text-[#415472]");
|
|
198
247
|
@source inline("vd:md:text-[#ad751b]");
|
|
199
248
|
@source inline("vd:md:text-action-compact");
|
|
@@ -201,6 +250,8 @@
|
|
|
201
250
|
@source inline("vd:md:text-action-default");
|
|
202
251
|
@source inline("vd:md:text-approved");
|
|
203
252
|
@source inline("vd:md:text-approved-strong");
|
|
253
|
+
@source inline("vd:md:text-body-default");
|
|
254
|
+
@source inline("vd:md:text-body-default-strong");
|
|
204
255
|
@source inline("vd:md:text-body-dense");
|
|
205
256
|
@source inline("vd:md:text-body-dense-strong");
|
|
206
257
|
@source inline("vd:md:text-content-contrast");
|
|
@@ -221,14 +272,18 @@
|
|
|
221
272
|
@source inline("vd:md:text-supporting-caption");
|
|
222
273
|
@source inline("vd:md:text-supporting-caption-strong");
|
|
223
274
|
@source inline("vd:md:text-warning");
|
|
275
|
+
@source inline("vd:md:top-6");
|
|
224
276
|
@source inline("vd:md:uppercase");
|
|
225
277
|
@source inline("vd:md:w-100");
|
|
226
278
|
@source inline("vd:md:w-11");
|
|
279
|
+
@source inline("vd:md:w-12");
|
|
280
|
+
@source inline("vd:md:w-28");
|
|
227
281
|
@source inline("vd:md:w-30");
|
|
228
282
|
@source inline("vd:md:w-35");
|
|
229
283
|
@source inline("vd:md:w-50");
|
|
230
284
|
@source inline("vd:md:w-60");
|
|
231
285
|
@source inline("vd:md:w-80");
|
|
286
|
+
@source inline("vd:md:w-90");
|
|
232
287
|
@source inline("vd:md:w-[1050px]");
|
|
233
288
|
@source inline("vd:md:w-[1100px]");
|
|
234
289
|
@source inline("vd:md:w-[1532px]");
|
|
@@ -238,19 +293,43 @@
|
|
|
238
293
|
@source inline("vd:md:w-[600px]");
|
|
239
294
|
@source inline("vd:md:w-[622px]");
|
|
240
295
|
@source inline("vd:md:w-full");
|
|
296
|
+
@source inline("vd:md:z-10");
|
|
297
|
+
@source inline("vd:md:z-50");
|
|
298
|
+
@source inline("vd:min-h-0");
|
|
241
299
|
@source inline("vd:min-h-control-lg");
|
|
242
300
|
@source inline("vd:min-h-control-md");
|
|
243
301
|
@source inline("vd:min-h-control-sm");
|
|
244
302
|
@source inline("vd:min-h-control-xl");
|
|
245
303
|
@source inline("vd:min-h-control-xs");
|
|
304
|
+
@source inline("vd:min-w-0");
|
|
305
|
+
@source inline("vd:min-w-70");
|
|
306
|
+
@source inline("vd:min-w-[820px]");
|
|
307
|
+
@source inline("vd:ml-1.5");
|
|
308
|
+
@source inline("vd:ml-auto");
|
|
309
|
+
@source inline("vd:mr-1.5");
|
|
246
310
|
@source inline("vd:mx-auto");
|
|
311
|
+
@source inline("vd:my-1.5");
|
|
312
|
+
@source inline("vd:overflow-auto");
|
|
313
|
+
@source inline("vd:overflow-hidden");
|
|
314
|
+
@source inline("vd:overflow-y-auto");
|
|
247
315
|
@source inline("vd:p-0.5");
|
|
248
316
|
@source inline("vd:p-1");
|
|
249
317
|
@source inline("vd:p-5");
|
|
318
|
+
@source inline("vd:pb-1");
|
|
319
|
+
@source inline("vd:pb-2");
|
|
320
|
+
@source inline("vd:pb-4");
|
|
321
|
+
@source inline("vd:pb-50");
|
|
250
322
|
@source inline("vd:pb-7");
|
|
323
|
+
@source inline("vd:pl-3");
|
|
324
|
+
@source inline("vd:pl-5");
|
|
251
325
|
@source inline("vd:pl-7");
|
|
326
|
+
@source inline("vd:pointer-events-none");
|
|
252
327
|
@source inline("vd:pr-0");
|
|
328
|
+
@source inline("vd:pr-5");
|
|
253
329
|
@source inline("vd:pr-6");
|
|
330
|
+
@source inline("vd:pt-1");
|
|
331
|
+
@source inline("vd:pt-3");
|
|
332
|
+
@source inline("vd:pt-6");
|
|
254
333
|
@source inline("vd:pt-7");
|
|
255
334
|
@source inline("vd:px-1");
|
|
256
335
|
@source inline("vd:px-1.5");
|
|
@@ -269,14 +348,19 @@
|
|
|
269
348
|
@source inline("vd:py-5");
|
|
270
349
|
@source inline("vd:py-6");
|
|
271
350
|
@source inline("vd:py-[12.5px]");
|
|
351
|
+
@source inline("vd:relative");
|
|
352
|
+
@source inline("vd:right-0");
|
|
272
353
|
@source inline("vd:rounded-control");
|
|
273
354
|
@source inline("vd:rounded-micro");
|
|
274
355
|
@source inline("vd:rounded-pill");
|
|
275
356
|
@source inline("vd:rounded-surface");
|
|
276
357
|
@source inline("vd:rounded-tight");
|
|
358
|
+
@source inline("vd:self-stretch");
|
|
277
359
|
@source inline("vd:shadow-[0_4px_4px_rgb(0_0_0/0.08)]");
|
|
278
360
|
@source inline("vd:shadow-panel");
|
|
361
|
+
@source inline("vd:shrink-0");
|
|
279
362
|
@source inline("vd:size-[18px]");
|
|
363
|
+
@source inline("vd:sticky");
|
|
280
364
|
@source inline("vd:text-[#415472]");
|
|
281
365
|
@source inline("vd:text-[#ad751b]");
|
|
282
366
|
@source inline("vd:text-action-compact");
|
|
@@ -284,6 +368,8 @@
|
|
|
284
368
|
@source inline("vd:text-action-default");
|
|
285
369
|
@source inline("vd:text-approved");
|
|
286
370
|
@source inline("vd:text-approved-strong");
|
|
371
|
+
@source inline("vd:text-body-default");
|
|
372
|
+
@source inline("vd:text-body-default-strong");
|
|
287
373
|
@source inline("vd:text-body-dense");
|
|
288
374
|
@source inline("vd:text-body-dense-strong");
|
|
289
375
|
@source inline("vd:text-content-contrast");
|
|
@@ -304,14 +390,18 @@
|
|
|
304
390
|
@source inline("vd:text-supporting-caption");
|
|
305
391
|
@source inline("vd:text-supporting-caption-strong");
|
|
306
392
|
@source inline("vd:text-warning");
|
|
393
|
+
@source inline("vd:top-6");
|
|
307
394
|
@source inline("vd:uppercase");
|
|
308
395
|
@source inline("vd:w-100");
|
|
309
396
|
@source inline("vd:w-11");
|
|
397
|
+
@source inline("vd:w-12");
|
|
398
|
+
@source inline("vd:w-28");
|
|
310
399
|
@source inline("vd:w-30");
|
|
311
400
|
@source inline("vd:w-35");
|
|
312
401
|
@source inline("vd:w-50");
|
|
313
402
|
@source inline("vd:w-60");
|
|
314
403
|
@source inline("vd:w-80");
|
|
404
|
+
@source inline("vd:w-90");
|
|
315
405
|
@source inline("vd:w-[1050px]");
|
|
316
406
|
@source inline("vd:w-[1100px]");
|
|
317
407
|
@source inline("vd:w-[1532px]");
|
|
@@ -321,3 +411,5 @@
|
|
|
321
411
|
@source inline("vd:w-[600px]");
|
|
322
412
|
@source inline("vd:w-[622px]");
|
|
323
413
|
@source inline("vd:w-full");
|
|
414
|
+
@source inline("vd:z-10");
|
|
415
|
+
@source inline("vd:z-50");
|