@ngrok/mantle 0.82.1 → 0.83.1
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/dist/accordion.d.ts +7 -7
- package/dist/agent.json +3 -1
- package/dist/{alert-BWwNPOMI.d.ts → alert-B1HXfkYn.d.ts} +9 -7
- package/dist/{alert-vwFd7qdp.js → alert-BuG2qS5l.js} +1 -1
- package/dist/alert-center.d.ts +3 -3
- package/dist/alert-center.js +1 -1
- package/dist/alert-dialog.d.ts +18 -18
- package/dist/alert.d.ts +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor.d.ts +2 -2
- package/dist/app-layout.js +1 -1
- package/dist/area-chart.d.ts +67 -19
- package/dist/area-chart.js +1 -1
- package/dist/avatar.d.ts +319 -0
- package/dist/avatar.js +1 -0
- package/dist/bar-chart.d.ts +73 -20
- package/dist/bar-chart.js +1 -1
- package/dist/breadcrumb.d.ts +50 -17
- package/dist/breadcrumb.js +1 -1
- package/dist/browser-only.d.ts +3 -3
- package/dist/{button-C-gMbPso.d.ts → button-BIf69CSV.d.ts} +2 -2
- package/dist/button-BLDjW1u9.js +1 -0
- package/dist/{button-IlxHhjPK.js → button-CCkGqE1t.js} +1 -1
- package/dist/{button-C7vAl6lS.d.ts → button-DJ7AAgII.d.ts} +4 -6
- package/dist/{button-DARFK2KJ.d.ts → button-PoIujPMX.d.ts} +2 -2
- package/dist/button.d.ts +3 -3
- package/dist/button.js +1 -1
- package/dist/calendar.d.ts +1 -1
- package/dist/calendar.js +1 -1
- package/dist/card.d.ts +15 -15
- package/dist/{chart-1cVjAcj8.d.ts → chart-0zcFJh4n.d.ts} +75 -22
- package/dist/chart-DBxT9BNl.js +2 -0
- package/dist/{choice-BNRQXszu.d.ts → choice-CVdQrs-m.d.ts} +118 -6
- package/dist/choice.d.ts +1 -1
- package/dist/{code-block-C9uaM9-V.js → code-block-CIE0F2fu.js} +1 -1
- package/dist/{code-block-B6OlZrSI.d.ts → code-block-CZWPrV4k.d.ts} +3 -3
- package/dist/code-block.d.ts +10 -7
- package/dist/code-block.js +2 -2
- package/dist/code-block_highlight-utils.d.ts +1 -1
- package/dist/code-block_highlight-utils.js +1 -1
- package/dist/combobox.d.ts +8 -9
- package/dist/command.d.ts +668 -106
- package/dist/command.js +1 -1
- package/dist/data-table.d.ts +6 -6
- package/dist/data-table.js +1 -1
- package/dist/dialog-32Hq6w6P.js +1 -0
- package/dist/dialog-B6h1BCDL.d.ts +895 -0
- package/dist/dialog.d.ts +2 -805
- package/dist/dialog.js +1 -1
- package/dist/dropdown-menu-BcALUQMp.d.ts +1 -0
- package/dist/{dropdown-menu-D6pMAY7I.d.ts → dropdown-menu-DZOfj6HB.d.ts} +1 -1
- package/dist/dropdown-menu.d.ts +2 -2
- package/dist/field.d.ts +5 -5
- package/dist/field.js +1 -1
- package/dist/flag.js +1 -1
- package/dist/hooks.d.ts +16 -17
- package/dist/hooks.js +1 -1
- package/dist/icons-DEVx1oP9.js +1 -0
- package/dist/icons.d.ts +7 -6
- package/dist/icons.js +1 -1
- package/dist/{in-view-DDEGUKDR.d.ts → in-view-gxyc9Q1_.d.ts} +1 -1
- package/dist/{input-BuYDU6CF.d.ts → input-DpnC3Xgj.d.ts} +2 -2
- package/dist/input.d.ts +1 -1
- package/dist/kbd.d.ts +1 -1
- package/dist/line-chart.d.ts +60 -13
- package/dist/line-chart.js +1 -1
- package/dist/list-CwL23L_B.js +1 -0
- package/dist/list.d.ts +2 -2
- package/dist/list.js +1 -1
- package/dist/llms.txt +3 -1
- package/dist/mantle-dark-high-contrast.css +30 -17
- package/dist/mantle-dark.css +48 -13
- package/dist/mantle-light-high-contrast.css +33 -15
- package/dist/mantle.css +436 -26
- package/dist/media-object.d.ts +5 -1
- package/dist/multi-select.d.ts +7 -7
- package/dist/multi-select.js +1 -1
- package/dist/otp-input.d.ts +4 -4
- package/dist/otp-input.js +1 -1
- package/dist/pagination.d.ts +2 -2
- package/dist/pagination.js +1 -1
- package/dist/progress.d.ts +4 -4
- package/dist/qr-code.d.ts +2 -2
- package/dist/sandbar.d.ts +471 -0
- package/dist/sandbar.js +1 -0
- package/dist/sandboxed-on-click.d.ts +4 -6
- package/dist/scatter-plot.d.ts +69 -24
- package/dist/scatter-plot.js +1 -1
- package/dist/{select-0z7HVS6r.d.ts → select-DVHmgih8.d.ts} +13 -7
- package/dist/select-LK9NX-vV.js +1 -0
- package/dist/select.d.ts +1 -1
- package/dist/select.js +1 -1
- package/dist/selectable-list.d.ts +4 -4
- package/dist/selectable-list.js +1 -1
- package/dist/{separator-B5UmkVRL.d.ts → separator-CNDs98Dv.d.ts} +2 -2
- package/dist/separator.d.ts +1 -1
- package/dist/{sheet-BxvTfPLM.js → sheet-BOSknSN9.js} +1 -1
- package/dist/sheet.d.ts +1 -1
- package/dist/sheet.js +1 -1
- package/dist/sidebar.d.ts +347 -366
- package/dist/sidebar.js +1 -1
- package/dist/slider.d.ts +1 -1
- package/dist/split-button.d.ts +12 -12
- package/dist/split-button.js +1 -1
- package/dist/switch.d.ts +2 -1
- package/dist/{table-CGxJwtbL.js → table-C_Nm_RSV.js} +1 -1
- package/dist/{table-CZBYEmyK.d.ts → table-D51ZtV4U.d.ts} +18 -8
- package/dist/table.d.ts +1 -1
- package/dist/table.js +1 -1
- package/dist/tabs.d.ts +8 -13
- package/dist/tabs.js +1 -1
- package/dist/{theme-FbfjYiD3.d.ts → theme-6OxNhf6l.d.ts} +6 -6
- package/dist/theme-CVfq037P.js +1 -0
- package/dist/theme-switcher.d.ts +3 -3
- package/dist/theme-switcher.js +1 -1
- package/dist/theme.d.ts +86 -23
- package/dist/theme.js +1 -1
- package/dist/toast.d.ts +9 -9
- package/dist/toast.js +1 -1
- package/dist/{tooltip-mrpLz4DZ.d.ts → tooltip-DuXGxIse.d.ts} +6 -4
- package/dist/tooltip.d.ts +1 -1
- package/dist/use-breakpoint-Dqu12Szq.js +1 -0
- package/dist/use-callback-ref-IYti9y7x.js +1 -0
- package/dist/use-is-apple-platform-Cxwrb86L.js +1 -0
- package/dist/use-matches-media-query-Bd_GhhVd.js +1 -0
- package/dist/utils.d.ts +1 -1
- package/package.json +5 -3
- package/dist/button-DvHMWAPl.js +0 -1
- package/dist/chart-B3pAvmkk.js +0 -2
- package/dist/dialog-DozL6n-F.js +0 -1
- package/dist/dropdown-menu-BbbQuae2.d.ts +0 -1
- package/dist/icons-Bb_zF2OV.js +0 -1
- package/dist/list-CJABVHwi.js +0 -1
- package/dist/platform-BVD3gpKD.js +0 -1
- package/dist/select-BReznXaw.js +0 -1
- package/dist/theme-BorfgnNh.js +0 -1
- package/dist/use-breakpoint-Wd7_5-Mu.js +0 -1
- package/dist/use-matches-media-query-CMSxHR9n.js +0 -1
package/dist/mantle-dark.css
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
2
|
MARK: DARK DEFS
|
|
3
|
+
|
|
4
|
+
The last selector applies this entire block to `.invert-theme` subtrees on
|
|
5
|
+
light pages (any page with no other theme active): an inverted island is the
|
|
6
|
+
opposite theme's own definitions re-declared on the island element. See
|
|
7
|
+
MARK: INVERT THEME in mantle.css for the full strategy.
|
|
3
8
|
*/
|
|
4
9
|
:root.dark,
|
|
5
|
-
:root[data-theme="dark"],
|
|
6
|
-
:root[data-applied-theme="dark"]
|
|
10
|
+
:root[data-theme="dark"]:not([data-applied-theme]),
|
|
11
|
+
:root[data-applied-theme="dark"],
|
|
12
|
+
:root:not(
|
|
13
|
+
.dark,
|
|
14
|
+
[data-theme="dark"]:not([data-applied-theme]),
|
|
15
|
+
[data-applied-theme="dark"],
|
|
16
|
+
.light-high-contrast,
|
|
17
|
+
[data-theme="light-high-contrast"]:not([data-applied-theme]),
|
|
18
|
+
[data-applied-theme="light-high-contrast"],
|
|
19
|
+
.dark-high-contrast,
|
|
20
|
+
[data-theme="dark-high-contrast"]:not([data-applied-theme]),
|
|
21
|
+
[data-applied-theme="dark-high-contrast"]
|
|
22
|
+
)
|
|
23
|
+
.invert-theme {
|
|
7
24
|
color-scheme: dark;
|
|
8
25
|
|
|
9
26
|
/* Semantic colors: white becomes black and black becomes white in dark mode */
|
|
@@ -313,17 +330,22 @@ MARK: DARK DEFS
|
|
|
313
330
|
--color-card-border-muted: var(--color-neutral-200);
|
|
314
331
|
--color-separator: --alpha(var(--color-gray-600) / 0.2);
|
|
315
332
|
|
|
316
|
-
/* Chart series tokens — dark
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
--color-chart-
|
|
325
|
-
--color-chart-
|
|
326
|
-
--color-chart-
|
|
333
|
+
/* Chart series tokens — dark's eight marks, in slot order: blue, green, pink,
|
|
334
|
+
red-orange, teal, magenta, violet, amber. A slot keeps its family across the
|
|
335
|
+
themes. Nothing else carries over: this theme re-tunes lightness, chroma, and
|
|
336
|
+
hue together against the dark card surface (neutral-100), so every slot is its
|
|
337
|
+
own literal. Chroma moves the most — chart-6 gains 25% over light's — and
|
|
338
|
+
chart-4's hue drifts 9.4 degrees. Measured on that surface: worst pair ΔE
|
|
339
|
+
15.07 for full-color vision, 9.55 under simulated protanopia or deuteranopia,
|
|
340
|
+
3.65:1 lowest contrast. */
|
|
341
|
+
--color-chart-1: oklch(0.668 0.168 260.3); /* #5492fa */
|
|
342
|
+
--color-chart-2: oklch(0.537 0.121 160.1); /* #018355 */
|
|
343
|
+
--color-chart-3: oklch(0.627 0.242 6.7); /* #f41a70 */
|
|
344
|
+
--color-chart-4: oklch(0.565 0.169 41.2); /* #c3490a */
|
|
345
|
+
--color-chart-5: oklch(0.668 0.112 198.8); /* #0da9ae */
|
|
346
|
+
--color-chart-6: oklch(0.584 0.261 332.9); /* #cc04bb */
|
|
347
|
+
--color-chart-7: oklch(0.573 0.244 285.4); /* #744ffe */
|
|
348
|
+
--color-chart-8: oklch(0.668 0.137 83.5); /* #bd8c01 */
|
|
327
349
|
--color-chart-other: var(--color-neutral-500);
|
|
328
350
|
|
|
329
351
|
--text-color-strong: #fff;
|
|
@@ -345,6 +367,19 @@ MARK: DARK DEFS
|
|
|
345
367
|
--background-color-filled-warning-hover: var(--color-warning-700);
|
|
346
368
|
--background-color-filled-success-hover: var(--color-success-700);
|
|
347
369
|
|
|
370
|
+
/* Focus tokens — same expressions as the light base (the mid-ramp stops they
|
|
371
|
+
reference are theme-symmetric), declared here so `.invert-theme` islands
|
|
372
|
+
re-resolve them against this block's ramps. */
|
|
373
|
+
--ring-color-focus-neutral: --alpha(var(--color-neutral-500) / 0.3);
|
|
374
|
+
--ring-color-focus-accent: --alpha(var(--color-accent-500) / 0.3);
|
|
375
|
+
--ring-color-focus-danger: --alpha(var(--color-danger-500) / 0.3);
|
|
376
|
+
--ring-color-focus-warning: --alpha(var(--color-warning-500) / 0.3);
|
|
377
|
+
--ring-color-focus-success: --alpha(var(--color-success-500) / 0.3);
|
|
378
|
+
|
|
379
|
+
--color-active-menu-item: --alpha(var(--color-neutral-500) / 0.05);
|
|
380
|
+
--color-selected-menu-item: --alpha(var(--color-accent-500) / 0.1);
|
|
381
|
+
--color-active-selected-menu-item: --alpha(var(--color-accent-500) / 0.15);
|
|
382
|
+
|
|
348
383
|
--shadow-color: #000;
|
|
349
384
|
--shadow-first-opacity: 15%;
|
|
350
385
|
--shadow-second-opacity: 30%;
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
MARK: LIGHT HICON DEFS
|
|
3
|
+
|
|
4
|
+
The last selector applies this entire block to `.invert-theme` subtrees on
|
|
5
|
+
dark-high-contrast pages: an inverted island is the opposite theme's own
|
|
6
|
+
definitions re-declared on the island element. See MARK: INVERT THEME in
|
|
7
|
+
mantle.css for the full strategy.
|
|
3
8
|
*/
|
|
4
9
|
:root.light-high-contrast,
|
|
5
|
-
:root[data-theme="light-high-contrast"],
|
|
6
|
-
:root[data-applied-theme="light-high-contrast"]
|
|
10
|
+
:root[data-theme="light-high-contrast"]:not([data-applied-theme]),
|
|
11
|
+
:root[data-applied-theme="light-high-contrast"],
|
|
12
|
+
:root:is(
|
|
13
|
+
.dark-high-contrast,
|
|
14
|
+
[data-theme="dark-high-contrast"]:not([data-applied-theme]),
|
|
15
|
+
[data-applied-theme="dark-high-contrast"]
|
|
16
|
+
)
|
|
17
|
+
.invert-theme {
|
|
7
18
|
color-scheme: light;
|
|
8
19
|
|
|
9
20
|
--color-white: oklch(100% 0 0);
|
|
@@ -283,19 +294,20 @@ MARK: LIGHT HICON DEFS
|
|
|
283
294
|
--color-selected-menu-item: var(--color-accent-50);
|
|
284
295
|
--color-active-selected-menu-item: var(--color-accent-100);
|
|
285
296
|
|
|
286
|
-
/* Chart series tokens — light-high-contrast
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
--color-chart-
|
|
293
|
-
--color-chart-
|
|
294
|
-
--color-chart-
|
|
295
|
-
--color-chart-
|
|
296
|
-
--color-chart-
|
|
297
|
-
--color-chart-
|
|
298
|
-
--color-chart-
|
|
297
|
+
/* Chart series tokens — light-high-contrast's eight marks, in slot order: blue,
|
|
298
|
+
green, pink, red-orange, teal, magenta, violet, amber. The hue families match
|
|
299
|
+
light, and every literal differs: this theme re-tunes lightness, chroma, and
|
|
300
|
+
hue together to hold a higher contrast floor. Measured on the white card
|
|
301
|
+
surface: worst pair ΔE 15.15 for full-color vision, 9.62 under simulated
|
|
302
|
+
protanopia or deuteranopia, 3.70:1 lowest contrast. */
|
|
303
|
+
--color-chart-1: oklch(0.464 0.174 259.5); /* #0c52b8 */
|
|
304
|
+
--color-chart-2: oklch(0.468 0.102 160.5); /* #096b46 */
|
|
305
|
+
--color-chart-3: oklch(0.649 0.252 1.6); /* #fd1c84 */
|
|
306
|
+
--color-chart-4: oklch(0.512 0.196 31.5); /* #bd1c01 */
|
|
307
|
+
--color-chart-5: oklch(0.598 0.101 203.3); /* #06919b */
|
|
308
|
+
--color-chart-6: oklch(0.468 0.208 333.4); /* #97038a */
|
|
309
|
+
--color-chart-7: oklch(0.633 0.193 288.5); /* #896ff5 */
|
|
310
|
+
--color-chart-8: oklch(0.621 0.128 78); /* #b07b06 */
|
|
299
311
|
--color-chart-other: var(--color-neutral-500);
|
|
300
312
|
|
|
301
313
|
--text-color-strong: var(--color-black);
|
|
@@ -328,4 +340,10 @@ MARK: LIGHT HICON DEFS
|
|
|
328
340
|
--shadow-first-opacity: 15%;
|
|
329
341
|
--shadow-second-opacity: 20%;
|
|
330
342
|
--navigation-shadow: --alpha(var(--shadow-color) / 30%);
|
|
343
|
+
|
|
344
|
+
/* Same white glyphs as the light base (filled controls stay dark enough
|
|
345
|
+
here), declared explicitly so `.invert-theme` islands on
|
|
346
|
+
dark-high-contrast pages don't inherit that theme's black glyphs. */
|
|
347
|
+
--bg-checked-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M12.7071 4.29289c.3905.39053.3905 1.02369 0 1.41422L6.70711 11.7071c-.39053.3905-1.02369.3905-1.41422 0l-2-1.99999c-.39052-.39053-.39052-1.02369 0-1.41422.39053-.39052 1.02369-.39052 1.41422 0L6 9.58579l5.2929-5.2929c.3905-.39052 1.0237-.39052 1.4142 0Z'/%3e%3c/svg%3e");
|
|
348
|
+
--bg-indeterminate-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M4 8c0-.55228.44772-1 1-1h6c.5523 0 1 .44772 1 1s-.4477 1-1 1H5c-.55228 0-1-.44772-1-1Z'/%3e%3c/svg%3e");
|
|
331
349
|
}
|