@runwisp/ui 0.12.0 → 0.14.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/package.json +40 -45
- package/src/astro/CTABand.astro +19 -12
- package/src/astro/Hero.astro +3 -3
- package/src/astro/SiteFooter.astro +4 -4
- package/src/astro/SiteHeader.astro +4 -4
- package/src/lib/assets/runwisp-logo.svg +1 -8
- package/src/lib/components/AccordionItem.svelte +4 -10
- package/src/lib/components/Alert.svelte +11 -11
- package/src/lib/components/Avatar.svelte +1 -1
- package/src/lib/components/Badge.svelte +13 -13
- package/src/lib/components/Breadcrumb.svelte +3 -3
- package/src/lib/components/Button.svelte +2 -2
- package/src/lib/components/Card.svelte +4 -4
- package/src/lib/components/Checkbox.svelte +12 -10
- package/src/lib/components/CodeBlock.svelte +7 -13
- package/src/lib/components/CronInput.svelte +12 -11
- package/src/lib/components/DataGrid.svelte +14 -11
- package/src/lib/components/Drawer.svelte +9 -6
- package/src/lib/components/Dropdown.svelte +10 -14
- package/src/lib/components/DurationInput.svelte +10 -14
- package/src/lib/components/EmptyState.svelte +1 -1
- package/src/lib/components/ErrorState.svelte +4 -4
- package/src/lib/components/FeatureCard.svelte +4 -4
- package/src/lib/components/FormField.svelte +11 -6
- package/src/lib/components/Heading.svelte +4 -1
- package/src/lib/components/Input.svelte +10 -12
- package/src/lib/components/Kbd.svelte +1 -1
- package/src/lib/components/Link.svelte +2 -3
- package/src/lib/components/LinkButton.svelte +2 -2
- package/src/lib/components/LogConsole.svelte +22 -21
- package/src/lib/components/Logo.svelte +3 -1
- package/src/lib/components/Modal.svelte +9 -8
- package/src/lib/components/PageContainer.svelte +1 -1
- package/src/lib/components/PageHeader.svelte +1 -1
- package/src/lib/components/Pagination.svelte +4 -4
- package/src/lib/components/Popover.svelte +5 -7
- package/src/lib/components/Progress.svelte +6 -4
- package/src/lib/components/Prose.svelte +4 -4
- package/src/lib/components/Radio.svelte +11 -10
- package/src/lib/components/RadioGroup.svelte +3 -5
- package/src/lib/components/Select.svelte +21 -31
- package/src/lib/components/Separator.svelte +4 -1
- package/src/lib/components/Skeleton.svelte +6 -6
- package/src/lib/components/StatusIndicator.svelte +7 -15
- package/src/lib/components/Table.svelte +1 -1
- package/src/lib/components/TableCell.svelte +1 -1
- package/src/lib/components/TableRow.svelte +1 -5
- package/src/lib/components/Tabs.svelte +10 -11
- package/src/lib/components/TaskCard.svelte +7 -4
- package/src/lib/components/Textarea.svelte +10 -11
- package/src/lib/components/ThemeToggle.svelte +1 -1
- package/src/lib/components/ToastContainer.svelte +3 -3
- package/src/lib/components/Toggle.svelte +2 -3
- package/src/lib/components/Tooltip.svelte +8 -9
- package/src/lib/components/button-styles.ts +17 -18
- package/src/lib/components/dashboard/RunDetailPanel.svelte +61 -49
- package/src/lib/components/dashboard/RunFilterPopover.svelte +17 -11
- package/src/lib/components/dashboard/RunsList.svelte +26 -21
- package/src/lib/theme-tokens.css +179 -114
- package/src/lib/theme.css +49 -35
package/src/lib/theme.css
CHANGED
|
@@ -14,10 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
@import "tailwindcss";
|
|
16
16
|
@import "./theme-tokens.css";
|
|
17
|
-
@import "@fontsource/tasa-orbiter/400.css";
|
|
18
|
-
@import "@fontsource/tasa-orbiter/500.css";
|
|
19
|
-
@import "@fontsource/tasa-orbiter/600.css";
|
|
20
|
-
@import "@fontsource/tasa-orbiter/700.css";
|
|
21
17
|
|
|
22
18
|
@plugin "@tailwindcss/forms";
|
|
23
19
|
@plugin "@tailwindcss/typography";
|
|
@@ -87,9 +83,10 @@
|
|
|
87
83
|
--color-warning-600: var(--rw-color-warning-600);
|
|
88
84
|
--color-warning-700: var(--rw-color-warning-700);
|
|
89
85
|
|
|
90
|
-
/* Typography
|
|
91
|
-
|
|
92
|
-
--font-
|
|
86
|
+
/* Typography — stacks and @font-face live in theme-tokens.css so the
|
|
87
|
+
* non-Tailwind consumers (apps/docs) share one definition. */
|
|
88
|
+
--font-sans: var(--rw-font-sans);
|
|
89
|
+
--font-mono: var(--rw-font-mono);
|
|
93
90
|
|
|
94
91
|
/* Font sizes */
|
|
95
92
|
--text-2xs: 0.625rem;
|
|
@@ -125,31 +122,24 @@
|
|
|
125
122
|
--spacing-20: 5rem;
|
|
126
123
|
--spacing-24: 6rem;
|
|
127
124
|
|
|
128
|
-
/* Border radius
|
|
125
|
+
/* Border radius — runbook scale (small radii are signature). lg/xl/2xl/3xl
|
|
126
|
+
* remain for legacy call sites but should not be used going forward. */
|
|
129
127
|
--radius-none: 0;
|
|
130
|
-
--radius-sm: 0.
|
|
131
|
-
--radius-md: 0.
|
|
128
|
+
--radius-sm: 0.1875rem; /* 3px — controls */
|
|
129
|
+
--radius-md: 0.25rem; /* 4px — panels / cards */
|
|
132
130
|
--radius-lg: 0.5rem;
|
|
133
131
|
--radius-xl: 0.75rem;
|
|
134
132
|
--radius-2xl: 1rem;
|
|
135
133
|
--radius-3xl: 1.5rem;
|
|
136
134
|
--radius-full: 9999px;
|
|
137
135
|
|
|
138
|
-
/* Shadows —
|
|
139
|
-
|
|
140
|
-
--shadow-
|
|
141
|
-
|
|
142
|
-
--shadow-md:
|
|
143
|
-
|
|
144
|
-
--shadow-
|
|
145
|
-
0 10px 15px -3px oklch(0.18 0.02 280 / 0.08), 0 4px 6px -4px oklch(0.18 0.02 280 / 0.08);
|
|
146
|
-
--shadow-xl:
|
|
147
|
-
0 20px 25px -5px oklch(0.18 0.02 280 / 0.1), 0 8px 10px -6px oklch(0.18 0.02 280 / 0.1);
|
|
148
|
-
|
|
149
|
-
/* Glow effects for wisp theme */
|
|
150
|
-
--shadow-glow-sm: 0 0 10px oklch(0.58 0.18 270 / 0.15);
|
|
151
|
-
--shadow-glow-md: 0 0 20px oklch(0.58 0.18 270 / 0.2);
|
|
152
|
-
--shadow-glow-lg: 0 0 30px oklch(0.58 0.18 270 / 0.25);
|
|
136
|
+
/* Shadows — mapped to the flip tokens in theme-tokens.css so every
|
|
137
|
+
* shadow-* utility resolves to `none` in dark (borders-only look). */
|
|
138
|
+
--shadow-xs: var(--rw-shadow-xs);
|
|
139
|
+
--shadow-sm: var(--rw-shadow-sm);
|
|
140
|
+
--shadow-md: var(--rw-shadow-md);
|
|
141
|
+
--shadow-lg: var(--rw-shadow-lg);
|
|
142
|
+
--shadow-xl: var(--rw-shadow-xl);
|
|
153
143
|
}
|
|
154
144
|
|
|
155
145
|
/* Semantic Design Tokens — Tailwind utility aliases.
|
|
@@ -212,14 +202,30 @@
|
|
|
212
202
|
--color-warning-soft-border: var(--rw-warning-soft-border);
|
|
213
203
|
--color-info-soft-border: var(--rw-info-soft-border);
|
|
214
204
|
|
|
215
|
-
/*
|
|
216
|
-
--
|
|
217
|
-
--
|
|
218
|
-
--
|
|
205
|
+
/* Terminal surface — fixed dark in both themes */
|
|
206
|
+
--color-term: var(--rw-term);
|
|
207
|
+
--color-term-2: var(--rw-term-2);
|
|
208
|
+
--color-term-line: var(--rw-term-line);
|
|
209
|
+
--color-term-line-2: var(--rw-term-line-2);
|
|
210
|
+
--color-term-text: var(--rw-term-text);
|
|
211
|
+
--color-term-muted: var(--rw-term-muted);
|
|
212
|
+
--color-term-faint: var(--rw-term-faint);
|
|
213
|
+
--color-term-teal: var(--rw-term-teal);
|
|
214
|
+
--color-term-ok: var(--rw-term-ok);
|
|
215
|
+
--color-term-warn: var(--rw-term-warn);
|
|
216
|
+
--color-term-bad: var(--rw-term-bad);
|
|
217
|
+
/* Syntax highlighting */
|
|
218
|
+
--color-syn-comment: var(--rw-syn-comment);
|
|
219
|
+
--color-syn-kw: var(--rw-syn-kw);
|
|
220
|
+
--color-syn-str: var(--rw-syn-str);
|
|
221
|
+
--color-syn-num: var(--rw-syn-num);
|
|
222
|
+
--color-syn-punc: var(--rw-syn-punc);
|
|
223
|
+
--color-syn-fn: var(--rw-syn-fn);
|
|
219
224
|
|
|
220
|
-
/*
|
|
221
|
-
|
|
222
|
-
|
|
225
|
+
/* Motion. Deliberately minimal: hover, focus and state changes are
|
|
226
|
+
* instant, so there is no scale of durations to pick from. The few things
|
|
227
|
+
* that still move — a drawer sliding, a toggle knob, an accordion's
|
|
228
|
+
* height, a progress bar's width — set their own timing inline. */
|
|
223
229
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
224
230
|
}
|
|
225
231
|
|
|
@@ -245,6 +251,17 @@ body {
|
|
|
245
251
|
color: var(--rw-on-surface);
|
|
246
252
|
}
|
|
247
253
|
|
|
254
|
+
/* Headings are mono chrome — the runbook voice. Components should not fight this. */
|
|
255
|
+
h1,
|
|
256
|
+
h2,
|
|
257
|
+
h3 {
|
|
258
|
+
font-family: var(--font-mono);
|
|
259
|
+
font-weight: 800;
|
|
260
|
+
line-height: 1.1;
|
|
261
|
+
letter-spacing: -0.02em;
|
|
262
|
+
text-wrap: balance;
|
|
263
|
+
}
|
|
264
|
+
|
|
248
265
|
/* Utility classes for the design system */
|
|
249
266
|
.rw-text-gradient {
|
|
250
267
|
background: linear-gradient(135deg, var(--rw-color-wisp-600), var(--rw-color-aurora-500));
|
|
@@ -278,9 +295,6 @@ body {
|
|
|
278
295
|
}
|
|
279
296
|
}
|
|
280
297
|
|
|
281
|
-
.btn-scale {
|
|
282
|
-
transition: all 0.15s ease-in-out;
|
|
283
|
-
}
|
|
284
298
|
.btn-scale:active {
|
|
285
299
|
transform: scale(0.97);
|
|
286
300
|
}
|