@pstdio/ui 0.17.0 → 0.19.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/dist/{MermaidComponent-BCMQqPqu.js → MermaidComponent-BPiVFNYK.js} +2 -2
- package/dist/{MermaidComponent-BCMQqPqu.js.map → MermaidComponent-BPiVFNYK.js.map} +1 -1
- package/dist/chat-ui.js +941 -899
- package/dist/chat-ui.js.map +1 -1
- package/dist/components/chat-ui/components/chat-message-list-items.d.ts +17 -0
- package/dist/components/chat-ui/components/message-types.d.ts +1 -0
- package/dist/components/chat-ui/components/timeline.d.ts +2 -0
- package/dist/components/chat-ui/tool-rendering/default-renderers.d.ts +1 -0
- package/dist/components/chat-ui/tool-rendering/shared.d.ts +3 -2
- package/dist/components/chat-ui/tool-rendering/standard-renderers.d.ts +1 -0
- package/dist/components/data-table/data-table-column-menu.d.ts +4 -1
- package/dist/components/data-table/data-table-header.d.ts +0 -8
- package/dist/components/data-table/data-table-skeleton.d.ts +13 -0
- package/dist/components/data-table/editable-cells-story.d.ts +9 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/diff-viewer/code-editor.d.ts +2 -0
- package/dist/components/diff-viewer/index.d.ts +1 -1
- package/dist/components/diff-viewer/monaco-browser.d.ts +1 -0
- package/dist/components/overlays/dialog-accept-shortcut.d.ts +12 -0
- package/dist/components/overlays/index.d.ts +1 -0
- package/dist/components/overlays/searchable-menu-input.d.ts +9 -0
- package/dist/components/param-editor/index.d.ts +7 -2
- package/dist/components/param-editor/inputs/action-input.d.ts +1 -0
- package/dist/components/param-editor/inputs/boolean-input.d.ts +13 -0
- package/dist/components/param-editor/inputs/color-input.d.ts +1 -0
- package/dist/components/param-editor/inputs/date-input.d.ts +1 -0
- package/dist/components/param-editor/inputs/file-upload-input.d.ts +15 -0
- package/dist/components/param-editor/inputs/file-upload-value.d.ts +7 -0
- package/dist/components/param-editor/inputs/horizontal-text-input.d.ts +1 -0
- package/dist/components/param-editor/inputs/markdown-input.d.ts +13 -0
- package/dist/components/param-editor/inputs/number-input.d.ts +1 -0
- package/dist/components/param-editor/inputs/range-input.d.ts +1 -0
- package/dist/components/param-editor/inputs/resource-input.d.ts +2 -0
- package/dist/components/param-editor/inputs/segmented-input.d.ts +1 -0
- package/dist/components/param-editor/inputs/selection-input.d.ts +6 -0
- package/dist/components/param-editor/inputs/selection-menu.d.ts +10 -0
- package/dist/components/param-editor/inputs/text-input.d.ts +1 -0
- package/dist/components/param-editor/param-editor-advanced-field.d.ts +14 -0
- package/dist/components/param-editor/param-editor-control-fixtures.d.ts +24 -0
- package/dist/components/param-editor/param-editor-field.d.ts +2 -0
- package/dist/components/param-editor/param-editor-horizontal.d.ts +2 -2
- package/dist/components/param-editor/param-editor-label.d.ts +1 -0
- package/dist/components/param-editor/param-editor-presentation.d.ts +3 -0
- package/dist/components/param-editor/param-editor-row.d.ts +17 -0
- package/dist/components/param-editor/param-editor.types.d.ts +43 -13
- package/dist/components/param-editor/resolve-param-value.d.ts +2 -0
- package/dist/components/primitives/chip.d.ts +4 -0
- package/dist/components/primitives/glyph-icon.d.ts +16 -0
- package/dist/components/primitives/icon-color-picker.d.ts +3 -13
- package/dist/components/primitives/icon-options.d.ts +301 -0
- package/dist/components/primitives/index.d.ts +12 -3
- package/dist/components/primitives/resource-badge.d.ts +12 -10
- package/dist/components/primitives/segmented-control.d.ts +20 -0
- package/dist/components/primitives/tag-swatch.d.ts +10 -0
- package/dist/components/rich-text/index.d.ts +1 -0
- package/dist/components/rich-text/lazy-markdown-editor.d.ts +2 -0
- package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -1
- package/dist/components/tag-editor/index.d.ts +4 -0
- package/dist/components/tag-editor/tag-editor-heading.d.ts +11 -0
- package/dist/components/tag-editor/tag-editor-row.d.ts +1 -1
- package/dist/components/tag-editor/tag-editor-save-bar.d.ts +13 -0
- package/dist/components/tag-editor/tag-editor.types.d.ts +11 -11
- package/dist/components/tag-editor/tag-settings-panel.d.ts +3 -1
- package/dist/data-table.js +1018 -926
- package/dist/data-table.js.map +1 -1
- package/dist/dialog-accept-shortcut-DAEBsoWW.js +7 -0
- package/dist/dialog-accept-shortcut-DAEBsoWW.js.map +1 -0
- package/dist/diff.js +370 -366
- package/dist/diff.js.map +1 -1
- package/dist/font/css/prompt-studio-icons.css +720 -0
- package/dist/font/prompt-studio-icons.eot +0 -0
- package/dist/font/prompt-studio-icons.svg +1 -0
- package/dist/font/prompt-studio-icons.ttf +0 -0
- package/dist/font/prompt-studio-icons.woff +0 -0
- package/dist/font/prompt-studio-icons.woff2 +0 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1958 -1744
- package/dist/index.js.map +1 -1
- package/dist/{kanban-renderer-toolbar-B9ro-9z1.js → kanban-renderer-toolbar-Bcj_N1qr.js} +66 -66
- package/dist/kanban-renderer-toolbar-Bcj_N1qr.js.map +1 -0
- package/dist/kanban-renderer.js +834 -817
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/lazy-markdown-editor-DwhqQ-NN.js +26 -0
- package/dist/lazy-markdown-editor-DwhqQ-NN.js.map +1 -0
- package/dist/list-row-BtoVJpFs.js +821 -0
- package/dist/list-row-BtoVJpFs.js.map +1 -0
- package/dist/markdown-DDd2ESoH.js +743 -0
- package/dist/markdown-DDd2ESoH.js.map +1 -0
- package/dist/markdown-editor-CYVkzt8t.js +741 -0
- package/dist/markdown-editor-CYVkzt8t.js.map +1 -0
- package/dist/monaco-browser-CO0NxK_Z.js +19 -0
- package/dist/monaco-browser-CO0NxK_Z.js.map +1 -0
- package/dist/param-editor-XRjSu6MT.js +161 -0
- package/dist/param-editor-XRjSu6MT.js.map +1 -0
- package/dist/param-editor-field-B9lEPq8c.js +3028 -0
- package/dist/param-editor-field-B9lEPq8c.js.map +1 -0
- package/dist/resource-badge-CuItchgL.js +98 -0
- package/dist/resource-badge-CuItchgL.js.map +1 -0
- package/dist/rich-message--eRzjWYK.js +730 -0
- package/dist/rich-message--eRzjWYK.js.map +1 -0
- package/dist/rich-text.js +114 -827
- package/dist/rich-text.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/theme/primitives/fonts.d.ts +3 -0
- package/dist/theme/primitives/sizes.d.ts +59 -0
- package/dist/theme/recipes/badge.d.ts +8 -0
- package/dist/theme/recipes/color-picker.d.ts +18 -1
- package/dist/theme/recipes/segmented-control.d.ts +22 -0
- package/dist/theme/recipes/switch.d.ts +18 -0
- package/dist/theme/recipes/tabs.d.ts +11 -0
- package/dist/{theme-CNhnbvcE.js → theme-7PDdD9OD.js} +403 -195
- package/dist/theme-7PDdD9OD.js.map +1 -0
- package/dist/theme.js +1 -1
- package/dist/{tree-list-CZHLAURU.js → tree-list-B2L0cTj2.js} +2 -2
- package/dist/{tree-list-CZHLAURU.js.map → tree-list-B2L0cTj2.js.map} +1 -1
- package/package.json +3 -2
- package/dist/components/param-editor/inputs/file-accept.d.ts +0 -22
- package/dist/components/param-editor/inputs/file-drop-input.d.ts +0 -14
- package/dist/kanban-renderer-toolbar-B9ro-9z1.js.map +0 -1
- package/dist/list-row-YRUxEcy3.js +0 -808
- package/dist/list-row-YRUxEcy3.js.map +0 -1
- package/dist/param-editor-CYZJbmKu.js +0 -933
- package/dist/param-editor-CYZJbmKu.js.map +0 -1
- package/dist/param-editor-read-only-field-DgtLqcFa.js +0 -925
- package/dist/param-editor-read-only-field-DgtLqcFa.js.map +0 -1
- package/dist/prism-BXb57lxL.js +0 -125
- package/dist/prism-BXb57lxL.js.map +0 -1
- package/dist/resource-badge-qCWHP-wQ.js +0 -99
- package/dist/resource-badge-qCWHP-wQ.js.map +0 -1
- package/dist/rich-message-DBf_5YlW.js +0 -1450
- package/dist/rich-message-DBf_5YlW.js.map +0 -1
- package/dist/theme-CNhnbvcE.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineSlotRecipe as
|
|
2
|
-
import { alertAnatomy as w, colorPickerAnatomy as A, dialogAnatomy as z, drawerAnatomy as D, fieldsetAnatomy as W, menuAnatomy as R, numberInputAnatomy as B, popoverAnatomy as H,
|
|
1
|
+
import { defineSlotRecipe as t, defineRecipe as c, defaultConfig as d, defineLayerStyles as F, defineTextStyles as k, createSystem as C, defineConfig as E } from "@chakra-ui/react";
|
|
2
|
+
import { alertAnatomy as w, colorPickerAnatomy as A, dialogAnatomy as z, drawerAnatomy as D, fieldsetAnatomy as W, menuAnatomy as R, numberInputAnatomy as B, popoverAnatomy as H, switchAnatomy as T, tabsAnatomy as L, timelineAnatomy as V, tooltipAnatomy as I } from "@chakra-ui/react/anatomy";
|
|
3
3
|
import { progressCircleSlotRecipe as h } from "@chakra-ui/react/theme";
|
|
4
|
-
const
|
|
4
|
+
const X = {
|
|
5
5
|
"editor.background": ["colors.bg", "colors.bg.code"],
|
|
6
6
|
"editor.foreground": ["colors.fg"],
|
|
7
7
|
"editor.lineHighlightBackground": ["colors.bg.hover"],
|
|
@@ -34,14 +34,14 @@ const I = {
|
|
|
34
34
|
descriptionForeground: ["colors.fg.muted"],
|
|
35
35
|
disabledForeground: ["colors.fg.subtle"],
|
|
36
36
|
border: ["colors.border", "colors.border.subtle"]
|
|
37
|
-
}, M = (e) => `colors.vscode.${e}`, P = (e) => e.replace(/^#/, ""),
|
|
38
|
-
const l = (e.theme.tokenColors ?? []).flatMap((
|
|
37
|
+
}, M = (e) => `colors.vscode.${e}`, P = (e) => e.replace(/^#/, ""), j = (e) => {
|
|
38
|
+
const l = (e.theme.tokenColors ?? []).flatMap((r) => (Array.isArray(r.scope) ? r.scope : r.scope ? [r.scope] : []).map((s) => ({
|
|
39
39
|
token: s,
|
|
40
|
-
...
|
|
41
|
-
foreground: P(
|
|
40
|
+
...r.settings?.foreground ? {
|
|
41
|
+
foreground: P(r.settings.foreground)
|
|
42
42
|
} : {},
|
|
43
|
-
...
|
|
44
|
-
fontStyle:
|
|
43
|
+
...r.settings?.fontStyle ? {
|
|
44
|
+
fontStyle: r.settings.fontStyle
|
|
45
45
|
} : {}
|
|
46
46
|
})));
|
|
47
47
|
return {
|
|
@@ -50,12 +50,12 @@ const I = {
|
|
|
50
50
|
rules: l,
|
|
51
51
|
colors: e.theme.colors ?? {}
|
|
52
52
|
};
|
|
53
|
-
},
|
|
54
|
-
const l = {},
|
|
55
|
-
for (const [n, s] of Object.entries(
|
|
53
|
+
}, ro = (e) => {
|
|
54
|
+
const l = {}, r = e.theme.colors ?? {};
|
|
55
|
+
for (const [n, s] of Object.entries(r))
|
|
56
56
|
l[M(n)] = s;
|
|
57
|
-
for (const [n, s] of Object.entries(
|
|
58
|
-
const g =
|
|
57
|
+
for (const [n, s] of Object.entries(X)) {
|
|
58
|
+
const g = r[n];
|
|
59
59
|
if (g)
|
|
60
60
|
for (const m of s) l[m] = g;
|
|
61
61
|
}
|
|
@@ -63,12 +63,12 @@ const I = {
|
|
|
63
63
|
id: e.id,
|
|
64
64
|
mode: e.mode,
|
|
65
65
|
tokens: l,
|
|
66
|
-
monacoTheme:
|
|
66
|
+
monacoTheme: j({
|
|
67
67
|
mode: e.mode,
|
|
68
68
|
theme: e.theme
|
|
69
69
|
})
|
|
70
70
|
};
|
|
71
|
-
},
|
|
71
|
+
}, U = {
|
|
72
72
|
"*::selection": {
|
|
73
73
|
bg: {
|
|
74
74
|
base: "bg.accent-secondary.blue-medium",
|
|
@@ -129,7 +129,7 @@ const I = {
|
|
|
129
129
|
fontSize: "1.5rem"
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
},
|
|
132
|
+
}, O = {
|
|
133
133
|
DEFAULT: {
|
|
134
134
|
value: "#0A0D15"
|
|
135
135
|
},
|
|
@@ -178,7 +178,7 @@ const I = {
|
|
|
178
178
|
1e3: {
|
|
179
179
|
value: "#000000"
|
|
180
180
|
}
|
|
181
|
-
},
|
|
181
|
+
}, Y = {
|
|
182
182
|
DEFAULT: {
|
|
183
183
|
value: "#5098FF"
|
|
184
184
|
},
|
|
@@ -212,7 +212,7 @@ const I = {
|
|
|
212
212
|
900: {
|
|
213
213
|
value: "#002862"
|
|
214
214
|
}
|
|
215
|
-
},
|
|
215
|
+
}, $ = {
|
|
216
216
|
DEFAULT: {
|
|
217
217
|
value: "#3A4BE4"
|
|
218
218
|
},
|
|
@@ -249,7 +249,7 @@ const I = {
|
|
|
249
249
|
900: {
|
|
250
250
|
value: "#0A125A"
|
|
251
251
|
}
|
|
252
|
-
},
|
|
252
|
+
}, N = {
|
|
253
253
|
DEFAULT: {
|
|
254
254
|
value: "#E054EC"
|
|
255
255
|
},
|
|
@@ -286,7 +286,7 @@ const I = {
|
|
|
286
286
|
900: {
|
|
287
287
|
value: "#520659"
|
|
288
288
|
}
|
|
289
|
-
},
|
|
289
|
+
}, q = {
|
|
290
290
|
DEFAULT: {
|
|
291
291
|
value: "#FBD8CE"
|
|
292
292
|
},
|
|
@@ -320,7 +320,7 @@ const I = {
|
|
|
320
320
|
900: {
|
|
321
321
|
value: "#522923"
|
|
322
322
|
}
|
|
323
|
-
},
|
|
323
|
+
}, G = {
|
|
324
324
|
DEFAULT: {
|
|
325
325
|
value: "#FF3232"
|
|
326
326
|
},
|
|
@@ -354,7 +354,7 @@ const I = {
|
|
|
354
354
|
900: {
|
|
355
355
|
value: "#580707"
|
|
356
356
|
}
|
|
357
|
-
},
|
|
357
|
+
}, K = {
|
|
358
358
|
DEFAULT: {
|
|
359
359
|
value: "#F78C25"
|
|
360
360
|
},
|
|
@@ -388,7 +388,7 @@ const I = {
|
|
|
388
388
|
900: {
|
|
389
389
|
value: "#552107"
|
|
390
390
|
}
|
|
391
|
-
},
|
|
391
|
+
}, J = {
|
|
392
392
|
DEFAULT: {
|
|
393
393
|
value: "#FFD643"
|
|
394
394
|
},
|
|
@@ -428,7 +428,7 @@ const I = {
|
|
|
428
428
|
900: {
|
|
429
429
|
value: "#644E00"
|
|
430
430
|
}
|
|
431
|
-
},
|
|
431
|
+
}, Q = {
|
|
432
432
|
DEFAULT: {
|
|
433
433
|
value: "#2DD665"
|
|
434
434
|
},
|
|
@@ -462,7 +462,7 @@ const I = {
|
|
|
462
462
|
900: {
|
|
463
463
|
value: "#003110"
|
|
464
464
|
}
|
|
465
|
-
},
|
|
465
|
+
}, Z = {
|
|
466
466
|
DEFAULT: {
|
|
467
467
|
value: "#3EECC4"
|
|
468
468
|
},
|
|
@@ -496,7 +496,7 @@ const I = {
|
|
|
496
496
|
900: {
|
|
497
497
|
value: "#024F3D"
|
|
498
498
|
}
|
|
499
|
-
},
|
|
499
|
+
}, ee = {
|
|
500
500
|
DEFAULT: {
|
|
501
501
|
value: "#5CDCFF"
|
|
502
502
|
},
|
|
@@ -530,7 +530,7 @@ const I = {
|
|
|
530
530
|
900: {
|
|
531
531
|
value: "#005B73"
|
|
532
532
|
}
|
|
533
|
-
},
|
|
533
|
+
}, oe = {
|
|
534
534
|
DEFAULT: {
|
|
535
535
|
value: "#8B47FF"
|
|
536
536
|
},
|
|
@@ -564,7 +564,7 @@ const I = {
|
|
|
564
564
|
900: {
|
|
565
565
|
value: "#1E0050"
|
|
566
566
|
}
|
|
567
|
-
},
|
|
567
|
+
}, re = {
|
|
568
568
|
DEFAULT: {
|
|
569
569
|
value: "#F4F2EC"
|
|
570
570
|
},
|
|
@@ -598,7 +598,7 @@ const I = {
|
|
|
598
598
|
900: {
|
|
599
599
|
value: "#E8CECE"
|
|
600
600
|
}
|
|
601
|
-
},
|
|
601
|
+
}, le = {
|
|
602
602
|
50: {
|
|
603
603
|
value: "#FCFDFC"
|
|
604
604
|
},
|
|
@@ -641,30 +641,30 @@ const I = {
|
|
|
641
641
|
950: {
|
|
642
642
|
value: "#10141B"
|
|
643
643
|
}
|
|
644
|
-
},
|
|
644
|
+
}, te = {
|
|
645
645
|
100: {
|
|
646
646
|
value: "#D3ECEE"
|
|
647
647
|
},
|
|
648
648
|
200: {
|
|
649
649
|
value: "#B3DEE2"
|
|
650
650
|
}
|
|
651
|
-
}, te = {
|
|
652
|
-
sand: oe,
|
|
653
|
-
blacks: U,
|
|
654
|
-
blue: O,
|
|
655
|
-
sapphire: Y,
|
|
656
|
-
pink: $,
|
|
657
|
-
peach: N,
|
|
658
|
-
red: q,
|
|
659
|
-
orange: G,
|
|
660
|
-
yellow: K,
|
|
661
|
-
green: J,
|
|
662
|
-
teal: Q,
|
|
663
|
-
cyan: Z,
|
|
664
|
-
purple: ee,
|
|
665
|
-
neutral: re,
|
|
666
|
-
mint: le
|
|
667
651
|
}, ae = {
|
|
652
|
+
sand: re,
|
|
653
|
+
blacks: O,
|
|
654
|
+
blue: Y,
|
|
655
|
+
sapphire: $,
|
|
656
|
+
pink: N,
|
|
657
|
+
peach: q,
|
|
658
|
+
red: G,
|
|
659
|
+
orange: K,
|
|
660
|
+
yellow: J,
|
|
661
|
+
green: Q,
|
|
662
|
+
teal: Z,
|
|
663
|
+
cyan: ee,
|
|
664
|
+
purple: oe,
|
|
665
|
+
neutral: le,
|
|
666
|
+
mint: te
|
|
667
|
+
}, ie = {
|
|
668
668
|
display: {
|
|
669
669
|
value: "'Playfair Display', serif"
|
|
670
670
|
},
|
|
@@ -680,7 +680,11 @@ const I = {
|
|
|
680
680
|
body: {
|
|
681
681
|
value: "Inter, sans-serif"
|
|
682
682
|
}
|
|
683
|
-
},
|
|
683
|
+
}, ne = {
|
|
684
|
+
"2xs": {
|
|
685
|
+
value: "0.5rem"
|
|
686
|
+
},
|
|
687
|
+
// 8px
|
|
684
688
|
xs: {
|
|
685
689
|
value: "0.625rem"
|
|
686
690
|
},
|
|
@@ -745,7 +749,7 @@ const I = {
|
|
|
745
749
|
value: "1.25rem"
|
|
746
750
|
}
|
|
747
751
|
// 20px
|
|
748
|
-
},
|
|
752
|
+
}, se = {
|
|
749
753
|
regular: {
|
|
750
754
|
value: 400
|
|
751
755
|
},
|
|
@@ -758,7 +762,7 @@ const I = {
|
|
|
758
762
|
bold: {
|
|
759
763
|
value: 700
|
|
760
764
|
}
|
|
761
|
-
},
|
|
765
|
+
}, o = {
|
|
762
766
|
// 0px
|
|
763
767
|
25: "0.125rem",
|
|
764
768
|
// 2px
|
|
@@ -769,6 +773,8 @@ const I = {
|
|
|
769
773
|
150: "0.75rem",
|
|
770
774
|
// 12px
|
|
771
775
|
200: "1rem",
|
|
776
|
+
// 16px
|
|
777
|
+
250: "1.25rem",
|
|
772
778
|
// 20px
|
|
773
779
|
300: "1.5rem",
|
|
774
780
|
// 24px
|
|
@@ -784,95 +790,155 @@ const I = {
|
|
|
784
790
|
// 64px
|
|
785
791
|
900: "4.5rem",
|
|
786
792
|
// 96px
|
|
787
|
-
1600: "8rem"
|
|
788
|
-
|
|
793
|
+
1600: "8rem",
|
|
794
|
+
// 128px
|
|
795
|
+
2e3: "10rem"
|
|
796
|
+
}, de = {
|
|
789
797
|
none: {
|
|
790
798
|
value: "0"
|
|
791
799
|
},
|
|
800
|
+
"3xs": {
|
|
801
|
+
value: o[25]
|
|
802
|
+
},
|
|
792
803
|
"2xs": {
|
|
793
|
-
value:
|
|
804
|
+
value: o[50]
|
|
794
805
|
},
|
|
795
806
|
xs: {
|
|
796
|
-
value:
|
|
807
|
+
value: o[100]
|
|
797
808
|
},
|
|
798
809
|
compact: {
|
|
799
810
|
value: "0.625rem"
|
|
800
811
|
},
|
|
801
812
|
sm: {
|
|
802
|
-
value:
|
|
813
|
+
value: o[150]
|
|
803
814
|
},
|
|
804
815
|
comfortable: {
|
|
805
816
|
value: "0.875rem"
|
|
806
817
|
},
|
|
807
818
|
md: {
|
|
808
|
-
value:
|
|
819
|
+
value: o[200]
|
|
809
820
|
},
|
|
810
821
|
lg: {
|
|
811
|
-
value:
|
|
822
|
+
value: o[300]
|
|
812
823
|
},
|
|
813
824
|
xl: {
|
|
814
|
-
value:
|
|
825
|
+
value: o[400]
|
|
815
826
|
},
|
|
816
827
|
"2xl": {
|
|
817
|
-
value:
|
|
828
|
+
value: o[500]
|
|
818
829
|
},
|
|
819
830
|
"3xl": {
|
|
820
|
-
value:
|
|
831
|
+
value: o[600]
|
|
821
832
|
},
|
|
822
833
|
"3.5xl": {
|
|
823
|
-
value:
|
|
834
|
+
value: o[700]
|
|
824
835
|
},
|
|
825
836
|
"4xl": {
|
|
826
|
-
value:
|
|
837
|
+
value: o[800]
|
|
827
838
|
},
|
|
828
839
|
"4.5xl": {
|
|
829
|
-
value:
|
|
840
|
+
value: o[900]
|
|
830
841
|
},
|
|
831
842
|
"5xl": {
|
|
832
|
-
value:
|
|
843
|
+
value: o[1600]
|
|
833
844
|
}
|
|
834
|
-
},
|
|
845
|
+
}, ce = {
|
|
835
846
|
"collection-row": {
|
|
836
847
|
value: "2.125rem"
|
|
837
848
|
},
|
|
838
849
|
"filter-pill": {
|
|
839
|
-
value:
|
|
850
|
+
value: o[300]
|
|
851
|
+
},
|
|
852
|
+
"icon-2xs": {
|
|
853
|
+
value: o[150]
|
|
854
|
+
},
|
|
855
|
+
"icon-xs": {
|
|
856
|
+
value: "0.875rem"
|
|
857
|
+
},
|
|
858
|
+
"icon-sm": {
|
|
859
|
+
value: o[200]
|
|
860
|
+
},
|
|
861
|
+
"icon-md": {
|
|
862
|
+
value: o[250]
|
|
863
|
+
},
|
|
864
|
+
"tag-color-dot": {
|
|
865
|
+
value: o[250]
|
|
866
|
+
},
|
|
867
|
+
"tag-icon-cell": {
|
|
868
|
+
value: "1.75rem"
|
|
869
|
+
},
|
|
870
|
+
"tag-picker": {
|
|
871
|
+
value: "16.75rem"
|
|
872
|
+
},
|
|
873
|
+
"tag-picker-color-only": {
|
|
874
|
+
value: "13.75rem"
|
|
875
|
+
},
|
|
876
|
+
"tag-swatch": {
|
|
877
|
+
value: "1.625rem"
|
|
878
|
+
},
|
|
879
|
+
"tag-swatch-dot": {
|
|
880
|
+
value: "0.625rem"
|
|
881
|
+
},
|
|
882
|
+
"tag-editor-row": {
|
|
883
|
+
value: o[500]
|
|
884
|
+
},
|
|
885
|
+
"tag-editor-add-row": {
|
|
886
|
+
value: "2.25rem"
|
|
887
|
+
},
|
|
888
|
+
"segmented-control-sm": {
|
|
889
|
+
value: "1.75rem"
|
|
890
|
+
},
|
|
891
|
+
"segmented-control-xs": {
|
|
892
|
+
value: o[300]
|
|
893
|
+
},
|
|
894
|
+
"segmented-control-item-sm": {
|
|
895
|
+
value: o[300]
|
|
896
|
+
},
|
|
897
|
+
"segmented-control-item-xs": {
|
|
898
|
+
value: o[250]
|
|
899
|
+
},
|
|
900
|
+
"tag-action-menu": {
|
|
901
|
+
value: o[2e3]
|
|
840
902
|
},
|
|
841
903
|
"view-bar": {
|
|
842
|
-
value:
|
|
904
|
+
value: o[500]
|
|
843
905
|
},
|
|
844
906
|
"view-subheader": {
|
|
845
907
|
value: "2.25rem"
|
|
846
908
|
}
|
|
847
|
-
},
|
|
909
|
+
}, ue = {
|
|
910
|
+
selection: {
|
|
911
|
+
value: "0.09375rem"
|
|
912
|
+
}
|
|
913
|
+
}, be = {
|
|
848
914
|
none: {
|
|
849
915
|
value: "0"
|
|
850
916
|
},
|
|
851
917
|
"2xs": {
|
|
852
|
-
value:
|
|
918
|
+
value: o[25]
|
|
853
919
|
},
|
|
854
920
|
xs: {
|
|
855
|
-
value:
|
|
921
|
+
value: o[50]
|
|
856
922
|
},
|
|
857
923
|
compact: {
|
|
858
924
|
value: "0.375rem"
|
|
859
925
|
},
|
|
860
926
|
sm: {
|
|
861
|
-
value:
|
|
927
|
+
value: o[100]
|
|
862
928
|
},
|
|
863
929
|
md: {
|
|
864
|
-
value:
|
|
930
|
+
value: o[150]
|
|
865
931
|
},
|
|
866
932
|
lg: {
|
|
867
|
-
value:
|
|
933
|
+
value: o[200]
|
|
868
934
|
},
|
|
869
935
|
xl: {
|
|
870
|
-
value:
|
|
936
|
+
value: o[400]
|
|
871
937
|
},
|
|
872
938
|
full: {
|
|
873
939
|
value: "100%"
|
|
874
940
|
}
|
|
875
|
-
},
|
|
941
|
+
}, ge = t({
|
|
876
942
|
slots: w.keys(),
|
|
877
943
|
base: {
|
|
878
944
|
root: {
|
|
@@ -945,7 +1011,7 @@ const I = {
|
|
|
945
1011
|
}
|
|
946
1012
|
}
|
|
947
1013
|
}]
|
|
948
|
-
}),
|
|
1014
|
+
}), me = c({
|
|
949
1015
|
className: "chakra-badge",
|
|
950
1016
|
base: {
|
|
951
1017
|
display: "inline-flex",
|
|
@@ -973,6 +1039,14 @@ const I = {
|
|
|
973
1039
|
borderRadius: "2xs",
|
|
974
1040
|
justifyContent: "center"
|
|
975
1041
|
},
|
|
1042
|
+
chip: {
|
|
1043
|
+
bg: "bg.subtle",
|
|
1044
|
+
color: "fg.muted",
|
|
1045
|
+
borderWidth: "1px",
|
|
1046
|
+
borderColor: "border",
|
|
1047
|
+
borderRadius: "xs",
|
|
1048
|
+
fontWeight: "normal"
|
|
1049
|
+
},
|
|
976
1050
|
outline: {
|
|
977
1051
|
color: "colorPalette.fg",
|
|
978
1052
|
"--outline-shadow-legacy": "colors.colorPalette.muted",
|
|
@@ -1011,7 +1085,7 @@ const I = {
|
|
|
1011
1085
|
variant: "subtle",
|
|
1012
1086
|
size: "sm"
|
|
1013
1087
|
}
|
|
1014
|
-
}),
|
|
1088
|
+
}), ve = c({
|
|
1015
1089
|
base: {
|
|
1016
1090
|
borderRadius: "xs",
|
|
1017
1091
|
transition: "all 0.1s ease-in-out",
|
|
@@ -1216,7 +1290,7 @@ const I = {
|
|
|
1216
1290
|
size: "sm",
|
|
1217
1291
|
variant: "outline"
|
|
1218
1292
|
}
|
|
1219
|
-
}), u = "border.accent-light",
|
|
1293
|
+
}), u = "border.accent-light", he = t({
|
|
1220
1294
|
slots: A.keys(),
|
|
1221
1295
|
base: {
|
|
1222
1296
|
control: {
|
|
@@ -1286,9 +1360,14 @@ const I = {
|
|
|
1286
1360
|
border: "0",
|
|
1287
1361
|
borderInlineStartWidth: "0",
|
|
1288
1362
|
borderRadius: "0",
|
|
1363
|
+
outline: "none",
|
|
1289
1364
|
boxShadow: "none",
|
|
1290
1365
|
_hover: {
|
|
1291
1366
|
bg: "bg.hover"
|
|
1367
|
+
},
|
|
1368
|
+
_focusVisible: {
|
|
1369
|
+
outline: "none",
|
|
1370
|
+
boxShadow: "none"
|
|
1292
1371
|
}
|
|
1293
1372
|
},
|
|
1294
1373
|
content: {
|
|
@@ -1309,8 +1388,29 @@ const I = {
|
|
|
1309
1388
|
outlineColor: u
|
|
1310
1389
|
}
|
|
1311
1390
|
}
|
|
1391
|
+
},
|
|
1392
|
+
variants: {
|
|
1393
|
+
size: {
|
|
1394
|
+
xs: {
|
|
1395
|
+
control: {
|
|
1396
|
+
h: "1.75rem"
|
|
1397
|
+
},
|
|
1398
|
+
channelInput: {
|
|
1399
|
+
px: "xs",
|
|
1400
|
+
textStyle: "label/XS"
|
|
1401
|
+
},
|
|
1402
|
+
trigger: {
|
|
1403
|
+
minW: "1.75rem",
|
|
1404
|
+
px: "2xs"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
sm: {}
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
defaultVariants: {
|
|
1411
|
+
size: "sm"
|
|
1312
1412
|
}
|
|
1313
|
-
}),
|
|
1413
|
+
}), pe = t({
|
|
1314
1414
|
slots: z.keys(),
|
|
1315
1415
|
base: {
|
|
1316
1416
|
content: {
|
|
@@ -1321,11 +1421,11 @@ const I = {
|
|
|
1321
1421
|
overflow: "hidden"
|
|
1322
1422
|
}
|
|
1323
1423
|
}
|
|
1324
|
-
}),
|
|
1424
|
+
}), fe = c({
|
|
1325
1425
|
base: {
|
|
1326
1426
|
borderColor: "border.subtle"
|
|
1327
1427
|
}
|
|
1328
|
-
}),
|
|
1428
|
+
}), xe = t({
|
|
1329
1429
|
slots: D.keys(),
|
|
1330
1430
|
base: {
|
|
1331
1431
|
header: {
|
|
@@ -1337,7 +1437,7 @@ const I = {
|
|
|
1337
1437
|
bg: "bg"
|
|
1338
1438
|
}
|
|
1339
1439
|
}
|
|
1340
|
-
}),
|
|
1440
|
+
}), _e = t({
|
|
1341
1441
|
slots: ["preview", "input", "textarea"],
|
|
1342
1442
|
base: {
|
|
1343
1443
|
preview: {
|
|
@@ -1436,14 +1536,14 @@ const I = {
|
|
|
1436
1536
|
}
|
|
1437
1537
|
}
|
|
1438
1538
|
}
|
|
1439
|
-
}),
|
|
1539
|
+
}), ye = t({
|
|
1440
1540
|
slots: W.keys(),
|
|
1441
1541
|
base: {
|
|
1442
1542
|
legend: {
|
|
1443
1543
|
mb: "2xs"
|
|
1444
1544
|
}
|
|
1445
1545
|
}
|
|
1446
|
-
}),
|
|
1546
|
+
}), a = "border.accent-light", Se = c({
|
|
1447
1547
|
base: {
|
|
1448
1548
|
px: "sm",
|
|
1449
1549
|
borderRadius: "xs",
|
|
@@ -1457,18 +1557,18 @@ const I = {
|
|
|
1457
1557
|
"--focus-color": "var(--chakra-colors-border-accent-light)",
|
|
1458
1558
|
"--focus-ring-style": "none",
|
|
1459
1559
|
_hover: {
|
|
1460
|
-
borderColor:
|
|
1560
|
+
borderColor: a
|
|
1461
1561
|
},
|
|
1462
1562
|
_active: {
|
|
1463
|
-
borderColor:
|
|
1563
|
+
borderColor: a
|
|
1464
1564
|
},
|
|
1465
1565
|
_focus: {
|
|
1466
|
-
borderColor:
|
|
1566
|
+
borderColor: a,
|
|
1467
1567
|
outline: "none",
|
|
1468
1568
|
boxShadow: "none"
|
|
1469
1569
|
},
|
|
1470
1570
|
_focusVisible: {
|
|
1471
|
-
borderColor:
|
|
1571
|
+
borderColor: a,
|
|
1472
1572
|
outline: "none",
|
|
1473
1573
|
boxShadow: "none"
|
|
1474
1574
|
},
|
|
@@ -1476,10 +1576,10 @@ const I = {
|
|
|
1476
1576
|
color: "fg.subtle"
|
|
1477
1577
|
},
|
|
1478
1578
|
"&:is(:hover, [data-hover])": {
|
|
1479
|
-
borderColor:
|
|
1579
|
+
borderColor: a
|
|
1480
1580
|
},
|
|
1481
1581
|
"&:is(:active, [data-active])": {
|
|
1482
|
-
borderColor:
|
|
1582
|
+
borderColor: a
|
|
1483
1583
|
}
|
|
1484
1584
|
},
|
|
1485
1585
|
variants: {
|
|
@@ -1493,26 +1593,26 @@ const I = {
|
|
|
1493
1593
|
"--focus-color": "var(--chakra-colors-border-accent-light)",
|
|
1494
1594
|
"--focus-ring-style": "none",
|
|
1495
1595
|
_hover: {
|
|
1496
|
-
borderColor:
|
|
1596
|
+
borderColor: a
|
|
1497
1597
|
},
|
|
1498
1598
|
_active: {
|
|
1499
|
-
borderColor:
|
|
1599
|
+
borderColor: a
|
|
1500
1600
|
},
|
|
1501
1601
|
_focus: {
|
|
1502
|
-
borderColor:
|
|
1602
|
+
borderColor: a,
|
|
1503
1603
|
outline: "none",
|
|
1504
1604
|
boxShadow: "none"
|
|
1505
1605
|
},
|
|
1506
1606
|
_focusVisible: {
|
|
1507
|
-
borderColor:
|
|
1607
|
+
borderColor: a,
|
|
1508
1608
|
outline: "none",
|
|
1509
1609
|
boxShadow: "none"
|
|
1510
1610
|
},
|
|
1511
1611
|
"&:is(:hover, [data-hover])": {
|
|
1512
|
-
borderColor:
|
|
1612
|
+
borderColor: a
|
|
1513
1613
|
},
|
|
1514
1614
|
"&:is(:active, [data-active])": {
|
|
1515
|
-
borderColor:
|
|
1615
|
+
borderColor: a
|
|
1516
1616
|
}
|
|
1517
1617
|
}
|
|
1518
1618
|
},
|
|
@@ -1548,7 +1648,7 @@ const I = {
|
|
|
1548
1648
|
size: "sm",
|
|
1549
1649
|
variant: "outline"
|
|
1550
1650
|
}
|
|
1551
|
-
}),
|
|
1651
|
+
}), Fe = c({
|
|
1552
1652
|
base: {
|
|
1553
1653
|
display: "inline-flex",
|
|
1554
1654
|
alignItems: "center",
|
|
@@ -1611,7 +1711,7 @@ const I = {
|
|
|
1611
1711
|
size: "md",
|
|
1612
1712
|
variant: "raised"
|
|
1613
1713
|
}
|
|
1614
|
-
}),
|
|
1714
|
+
}), ke = t({
|
|
1615
1715
|
slots: R.keys(),
|
|
1616
1716
|
base: {
|
|
1617
1717
|
itemGroupLabel: {
|
|
@@ -1688,11 +1788,10 @@ const I = {
|
|
|
1688
1788
|
borderWidth: "1px",
|
|
1689
1789
|
borderStyle: "solid",
|
|
1690
1790
|
borderColor: "border",
|
|
1691
|
-
zIndex: "dropdown",
|
|
1692
1791
|
textStyle: "label/M/regular"
|
|
1693
1792
|
}
|
|
1694
1793
|
}
|
|
1695
|
-
}),
|
|
1794
|
+
}), Ce = "var(--chakra-colors-border)", v = "var(--chakra-colors-border-accent-light)", Ee = t({
|
|
1696
1795
|
slots: B.keys(),
|
|
1697
1796
|
base: {
|
|
1698
1797
|
root: {
|
|
@@ -1700,7 +1799,7 @@ const I = {
|
|
|
1700
1799
|
zIndex: "0",
|
|
1701
1800
|
isolation: "isolate",
|
|
1702
1801
|
boxShadow: "none",
|
|
1703
|
-
"--number-input-border-color":
|
|
1802
|
+
"--number-input-border-color": Ce,
|
|
1704
1803
|
"&:is(:hover, [data-hover])": {
|
|
1705
1804
|
"--number-input-border-color": v
|
|
1706
1805
|
},
|
|
@@ -1905,7 +2004,7 @@ const I = {
|
|
|
1905
2004
|
size: "sm",
|
|
1906
2005
|
variant: "outline"
|
|
1907
2006
|
}
|
|
1908
|
-
}),
|
|
2007
|
+
}), we = t({
|
|
1909
2008
|
slots: H.keys(),
|
|
1910
2009
|
base: {
|
|
1911
2010
|
positioner: {
|
|
@@ -1959,12 +2058,12 @@ const I = {
|
|
|
1959
2058
|
}
|
|
1960
2059
|
}
|
|
1961
2060
|
}
|
|
1962
|
-
}),
|
|
2061
|
+
}), Ae = h.variants?.size ?? {}, ze = {
|
|
1963
2062
|
...h,
|
|
1964
2063
|
variants: {
|
|
1965
2064
|
...h.variants,
|
|
1966
2065
|
size: {
|
|
1967
|
-
...
|
|
2066
|
+
...Ae,
|
|
1968
2067
|
"2xs": {
|
|
1969
2068
|
circle: {
|
|
1970
2069
|
"--size": "14px",
|
|
@@ -1976,13 +2075,77 @@ const I = {
|
|
|
1976
2075
|
}
|
|
1977
2076
|
}
|
|
1978
2077
|
}
|
|
1979
|
-
},
|
|
2078
|
+
}, De = c({
|
|
1980
2079
|
base: {
|
|
1981
2080
|
"--start-color": "fg",
|
|
1982
2081
|
"--end-color": "fg.muted"
|
|
1983
2082
|
}
|
|
1984
|
-
}),
|
|
2083
|
+
}), We = t({
|
|
1985
2084
|
slots: T.keys(),
|
|
2085
|
+
base: {
|
|
2086
|
+
control: {
|
|
2087
|
+
alignItems: "center",
|
|
2088
|
+
bg: "bg.muted",
|
|
2089
|
+
borderWidth: "1px",
|
|
2090
|
+
borderColor: "border",
|
|
2091
|
+
borderRadius: "md",
|
|
2092
|
+
color: "fg",
|
|
2093
|
+
boxShadow: "none",
|
|
2094
|
+
transition: "border-color 0.2s ease-in-out, background-color 0.2s ease-in-out",
|
|
2095
|
+
_hover: {
|
|
2096
|
+
borderColor: "border.accent-light"
|
|
2097
|
+
},
|
|
2098
|
+
_active: {
|
|
2099
|
+
borderColor: "border.accent-light"
|
|
2100
|
+
},
|
|
2101
|
+
_focusVisible: {
|
|
2102
|
+
borderColor: "border.accent-light",
|
|
2103
|
+
outline: "none",
|
|
2104
|
+
boxShadow: "none"
|
|
2105
|
+
},
|
|
2106
|
+
_checked: {
|
|
2107
|
+
bg: "bg.inverted",
|
|
2108
|
+
borderColor: "bg.inverted",
|
|
2109
|
+
_hover: {
|
|
2110
|
+
borderColor: "bg.inverted"
|
|
2111
|
+
},
|
|
2112
|
+
_active: {
|
|
2113
|
+
borderColor: "bg.inverted"
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
},
|
|
2117
|
+
thumb: {
|
|
2118
|
+
bg: "bg",
|
|
2119
|
+
borderColor: "border",
|
|
2120
|
+
borderRadius: "full",
|
|
2121
|
+
_checked: {
|
|
2122
|
+
bg: "fg.inverted"
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
},
|
|
2126
|
+
variants: {
|
|
2127
|
+
variant: {
|
|
2128
|
+
solid: {
|
|
2129
|
+
control: {
|
|
2130
|
+
// The switch track radius is "md" — never "full", which breaks the look.
|
|
2131
|
+
// Chakra's default solid variant pins "full", so the design radius must
|
|
2132
|
+
// be restated here for the merge to keep it.
|
|
2133
|
+
borderRadius: "md",
|
|
2134
|
+
_checked: {
|
|
2135
|
+
bg: "bg.inverted",
|
|
2136
|
+
borderColor: "bg.inverted"
|
|
2137
|
+
}
|
|
2138
|
+
},
|
|
2139
|
+
thumb: {
|
|
2140
|
+
_checked: {
|
|
2141
|
+
bg: "fg.inverted"
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
}), Re = t({
|
|
2148
|
+
slots: L.keys(),
|
|
1986
2149
|
base: {
|
|
1987
2150
|
root: {
|
|
1988
2151
|
"--tabs-trigger-radius": "radii.xs"
|
|
@@ -2068,6 +2231,20 @@ const I = {
|
|
|
2068
2231
|
}
|
|
2069
2232
|
}
|
|
2070
2233
|
},
|
|
2234
|
+
// Full-width strip with a bottom hairline holding the triggers, per the
|
|
2235
|
+
// design's Tab Strip bars.
|
|
2236
|
+
tray: {
|
|
2237
|
+
true: {
|
|
2238
|
+
list: {
|
|
2239
|
+
width: "100%",
|
|
2240
|
+
paddingX: "lg",
|
|
2241
|
+
paddingBottom: "xs",
|
|
2242
|
+
// Restate the base's shorthand key so the hairline survives the merge.
|
|
2243
|
+
borderBottom: "1px solid",
|
|
2244
|
+
borderBottomColor: "border.subtle"
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
},
|
|
2071
2248
|
variant: {
|
|
2072
2249
|
subtle: {
|
|
2073
2250
|
trigger: {
|
|
@@ -2102,7 +2279,7 @@ const I = {
|
|
|
2102
2279
|
size: "xs",
|
|
2103
2280
|
variant: "subtle"
|
|
2104
2281
|
}
|
|
2105
|
-
}),
|
|
2282
|
+
}), i = "border.accent-light", Be = c({
|
|
2106
2283
|
base: {
|
|
2107
2284
|
paddingX: "sm",
|
|
2108
2285
|
paddingY: "xs",
|
|
@@ -2117,18 +2294,18 @@ const I = {
|
|
|
2117
2294
|
"--focus-color": "var(--chakra-colors-border-accent-light)",
|
|
2118
2295
|
"--focus-ring-style": "none",
|
|
2119
2296
|
_hover: {
|
|
2120
|
-
borderColor:
|
|
2297
|
+
borderColor: i
|
|
2121
2298
|
},
|
|
2122
2299
|
_active: {
|
|
2123
|
-
borderColor:
|
|
2300
|
+
borderColor: i
|
|
2124
2301
|
},
|
|
2125
2302
|
_focus: {
|
|
2126
|
-
borderColor:
|
|
2303
|
+
borderColor: i,
|
|
2127
2304
|
outline: "none",
|
|
2128
2305
|
boxShadow: "none"
|
|
2129
2306
|
},
|
|
2130
2307
|
_focusVisible: {
|
|
2131
|
-
borderColor:
|
|
2308
|
+
borderColor: i,
|
|
2132
2309
|
outline: "none",
|
|
2133
2310
|
boxShadow: "none"
|
|
2134
2311
|
},
|
|
@@ -2136,10 +2313,10 @@ const I = {
|
|
|
2136
2313
|
color: "fg.subtle"
|
|
2137
2314
|
},
|
|
2138
2315
|
"&:is(:hover, [data-hover])": {
|
|
2139
|
-
borderColor:
|
|
2316
|
+
borderColor: i
|
|
2140
2317
|
},
|
|
2141
2318
|
"&:is(:active, [data-active])": {
|
|
2142
|
-
borderColor:
|
|
2319
|
+
borderColor: i
|
|
2143
2320
|
}
|
|
2144
2321
|
},
|
|
2145
2322
|
variants: {
|
|
@@ -2153,26 +2330,26 @@ const I = {
|
|
|
2153
2330
|
"--focus-color": "var(--chakra-colors-border-accent-light)",
|
|
2154
2331
|
"--focus-ring-style": "none",
|
|
2155
2332
|
_hover: {
|
|
2156
|
-
borderColor:
|
|
2333
|
+
borderColor: i
|
|
2157
2334
|
},
|
|
2158
2335
|
_active: {
|
|
2159
|
-
borderColor:
|
|
2336
|
+
borderColor: i
|
|
2160
2337
|
},
|
|
2161
2338
|
_focus: {
|
|
2162
|
-
borderColor:
|
|
2339
|
+
borderColor: i,
|
|
2163
2340
|
outline: "none",
|
|
2164
2341
|
boxShadow: "none"
|
|
2165
2342
|
},
|
|
2166
2343
|
_focusVisible: {
|
|
2167
|
-
borderColor:
|
|
2344
|
+
borderColor: i,
|
|
2168
2345
|
outline: "none",
|
|
2169
2346
|
boxShadow: "none"
|
|
2170
2347
|
},
|
|
2171
2348
|
"&:is(:hover, [data-hover])": {
|
|
2172
|
-
borderColor:
|
|
2349
|
+
borderColor: i
|
|
2173
2350
|
},
|
|
2174
2351
|
"&:is(:active, [data-active])": {
|
|
2175
|
-
borderColor:
|
|
2352
|
+
borderColor: i
|
|
2176
2353
|
}
|
|
2177
2354
|
}
|
|
2178
2355
|
},
|
|
@@ -2208,8 +2385,8 @@ const I = {
|
|
|
2208
2385
|
size: "sm",
|
|
2209
2386
|
variant: "outline"
|
|
2210
2387
|
}
|
|
2211
|
-
}),
|
|
2212
|
-
slots:
|
|
2388
|
+
}), He = t({
|
|
2389
|
+
slots: V.keys(),
|
|
2213
2390
|
base: {
|
|
2214
2391
|
root: {
|
|
2215
2392
|
display: "flex",
|
|
@@ -2257,11 +2434,11 @@ const I = {
|
|
|
2257
2434
|
position: "relative"
|
|
2258
2435
|
},
|
|
2259
2436
|
content: {
|
|
2260
|
-
pb: "var(--timeline-content-gap)",
|
|
2261
2437
|
display: "flex",
|
|
2262
2438
|
flexDirection: "column",
|
|
2263
2439
|
width: "full",
|
|
2264
|
-
gap: "
|
|
2440
|
+
gap: "0",
|
|
2441
|
+
paddingBottom: "0"
|
|
2265
2442
|
},
|
|
2266
2443
|
title: {
|
|
2267
2444
|
display: "flex",
|
|
@@ -2355,8 +2532,8 @@ const I = {
|
|
|
2355
2532
|
variant: "solid",
|
|
2356
2533
|
showLastSeparator: !1
|
|
2357
2534
|
}
|
|
2358
|
-
}),
|
|
2359
|
-
slots:
|
|
2535
|
+
}), Te = t({
|
|
2536
|
+
slots: I.keys(),
|
|
2360
2537
|
base: {
|
|
2361
2538
|
content: {
|
|
2362
2539
|
bg: "bg.inverted",
|
|
@@ -2364,35 +2541,35 @@ const I = {
|
|
|
2364
2541
|
color: "fg.inverted"
|
|
2365
2542
|
}
|
|
2366
2543
|
}
|
|
2367
|
-
}),
|
|
2544
|
+
}), Le = /* @__PURE__ */ new Set(["boxShadow", "boxShadowColor", "textShadow"]), p = /shadow/i, Ve = (e) => {
|
|
2368
2545
|
if (!p.test(e)) return e;
|
|
2369
|
-
const l = e.split(",").map((
|
|
2546
|
+
const l = e.split(",").map((r) => r.trim()).filter((r) => !p.test(r));
|
|
2370
2547
|
if (l.length !== 0)
|
|
2371
2548
|
return l.join(", ");
|
|
2372
|
-
}, b = (e) => Array.isArray(e) ? e.map(b).filter((l) => l !== void 0) : typeof e == "string" ?
|
|
2373
|
-
if (
|
|
2374
|
-
const n = b(
|
|
2549
|
+
}, b = (e) => Array.isArray(e) ? e.map(b).filter((l) => l !== void 0) : typeof e == "string" ? Ve(e) : !e || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).flatMap(([l, r]) => {
|
|
2550
|
+
if (Le.has(l) || p.test(l)) return [];
|
|
2551
|
+
const n = b(r);
|
|
2375
2552
|
return n === void 0 ? [] : [[l, n]];
|
|
2376
2553
|
})), x = (e) => {
|
|
2377
2554
|
const {
|
|
2378
2555
|
shadows: l,
|
|
2379
|
-
...
|
|
2556
|
+
...r
|
|
2380
2557
|
} = e ?? {};
|
|
2381
|
-
return
|
|
2382
|
-
},
|
|
2558
|
+
return r;
|
|
2559
|
+
}, Ie = {
|
|
2383
2560
|
badge: ["surface"],
|
|
2384
2561
|
button: ["secondary", "surface"]
|
|
2385
|
-
},
|
|
2562
|
+
}, Xe = (e) => {
|
|
2386
2563
|
const l = {
|
|
2387
2564
|
...e ?? {}
|
|
2388
2565
|
};
|
|
2389
|
-
for (const [
|
|
2390
|
-
const s = l[
|
|
2566
|
+
for (const [r, n] of Object.entries(Ie)) {
|
|
2567
|
+
const s = l[r];
|
|
2391
2568
|
if (!s || typeof s != "object") continue;
|
|
2392
2569
|
const g = s, m = g.variants, f = m?.variant;
|
|
2393
2570
|
if (!f) continue;
|
|
2394
2571
|
const _ = new Set(n), y = Object.fromEntries(Object.entries(f).filter(([S]) => !_.has(S)));
|
|
2395
|
-
l[
|
|
2572
|
+
l[r] = {
|
|
2396
2573
|
...g,
|
|
2397
2574
|
variants: {
|
|
2398
2575
|
...m,
|
|
@@ -2401,18 +2578,18 @@ const I = {
|
|
|
2401
2578
|
};
|
|
2402
2579
|
}
|
|
2403
2580
|
return l;
|
|
2404
|
-
},
|
|
2581
|
+
}, Me = {
|
|
2405
2582
|
...d,
|
|
2406
2583
|
theme: {
|
|
2407
2584
|
...d.theme,
|
|
2408
2585
|
tokens: x(d.theme?.tokens),
|
|
2409
2586
|
semanticTokens: x(d.theme?.semanticTokens),
|
|
2410
|
-
recipes:
|
|
2587
|
+
recipes: Xe(b(d.theme?.recipes)),
|
|
2411
2588
|
slotRecipes: b(d.theme?.slotRecipes),
|
|
2412
2589
|
layerStyles: b(d.theme?.layerStyles),
|
|
2413
2590
|
animationStyles: b(d.theme?.animationStyles)
|
|
2414
2591
|
}
|
|
2415
|
-
},
|
|
2592
|
+
}, Pe = {
|
|
2416
2593
|
DEFAULT: {
|
|
2417
2594
|
value: "1px solid {colors.border}"
|
|
2418
2595
|
},
|
|
@@ -2428,7 +2605,7 @@ const I = {
|
|
|
2428
2605
|
"accent-light": {
|
|
2429
2606
|
value: "1px solid {colors.border.accent-light}"
|
|
2430
2607
|
}
|
|
2431
|
-
},
|
|
2608
|
+
}, je = {
|
|
2432
2609
|
DEFAULT: {
|
|
2433
2610
|
value: {
|
|
2434
2611
|
_light: "{colors.blacks.800}",
|
|
@@ -2524,7 +2701,7 @@ const I = {
|
|
|
2524
2701
|
value: "{colors.fg.muted}"
|
|
2525
2702
|
}
|
|
2526
2703
|
}
|
|
2527
|
-
},
|
|
2704
|
+
}, Ue = {
|
|
2528
2705
|
DEFAULT: {
|
|
2529
2706
|
value: {
|
|
2530
2707
|
_light: "{colors.blacks.50}",
|
|
@@ -2783,7 +2960,7 @@ const I = {
|
|
|
2783
2960
|
}
|
|
2784
2961
|
}
|
|
2785
2962
|
}
|
|
2786
|
-
},
|
|
2963
|
+
}, Oe = {
|
|
2787
2964
|
DEFAULT: {
|
|
2788
2965
|
value: {
|
|
2789
2966
|
_light: "#EAF0EB",
|
|
@@ -2843,14 +3020,14 @@ const I = {
|
|
|
2843
3020
|
value: "{colors.border.subtle}"
|
|
2844
3021
|
}
|
|
2845
3022
|
}
|
|
2846
|
-
},
|
|
3023
|
+
}, Ye = {
|
|
2847
3024
|
border: {
|
|
2848
3025
|
value: {
|
|
2849
3026
|
_light: "{colors.mint.200}",
|
|
2850
3027
|
_dark: "{colors.mint.200}"
|
|
2851
3028
|
}
|
|
2852
3029
|
}
|
|
2853
|
-
},
|
|
3030
|
+
}, $e = {
|
|
2854
3031
|
contrast: {
|
|
2855
3032
|
value: {
|
|
2856
3033
|
_light: "black",
|
|
@@ -2899,7 +3076,7 @@ const I = {
|
|
|
2899
3076
|
_dark: "{colors.orange.500}"
|
|
2900
3077
|
}
|
|
2901
3078
|
}
|
|
2902
|
-
},
|
|
3079
|
+
}, Ne = {
|
|
2903
3080
|
text: {
|
|
2904
3081
|
primary: {
|
|
2905
3082
|
value: {
|
|
@@ -3060,7 +3237,7 @@ const I = {
|
|
|
3060
3237
|
}
|
|
3061
3238
|
}
|
|
3062
3239
|
}
|
|
3063
|
-
},
|
|
3240
|
+
}, qe = {
|
|
3064
3241
|
selectable: {
|
|
3065
3242
|
primary: {
|
|
3066
3243
|
value: {
|
|
@@ -3069,15 +3246,26 @@ const I = {
|
|
|
3069
3246
|
}
|
|
3070
3247
|
}
|
|
3071
3248
|
}
|
|
3072
|
-
},
|
|
3073
|
-
fg:
|
|
3074
|
-
bg:
|
|
3075
|
-
border:
|
|
3076
|
-
blue:
|
|
3077
|
-
orange:
|
|
3078
|
-
vis:
|
|
3079
|
-
text:
|
|
3080
|
-
},
|
|
3249
|
+
}, Ge = {
|
|
3250
|
+
fg: je,
|
|
3251
|
+
bg: Ue,
|
|
3252
|
+
border: Oe,
|
|
3253
|
+
blue: Ye,
|
|
3254
|
+
orange: $e,
|
|
3255
|
+
vis: Ne,
|
|
3256
|
+
text: qe
|
|
3257
|
+
}, Ke = F({
|
|
3258
|
+
floatingBar: {
|
|
3259
|
+
value: {
|
|
3260
|
+
paddingInline: "sm",
|
|
3261
|
+
paddingBlock: "2xs",
|
|
3262
|
+
borderRadius: "md",
|
|
3263
|
+
bg: "bg.elevated",
|
|
3264
|
+
border: "1px solid",
|
|
3265
|
+
borderColor: "border",
|
|
3266
|
+
boxShadow: "lg"
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3081
3269
|
modal: {
|
|
3082
3270
|
value: {
|
|
3083
3271
|
paddingInline: "xs",
|
|
@@ -3088,7 +3276,7 @@ const I = {
|
|
|
3088
3276
|
borderColor: "border"
|
|
3089
3277
|
}
|
|
3090
3278
|
}
|
|
3091
|
-
}),
|
|
3279
|
+
}), Je = k({
|
|
3092
3280
|
brand: {
|
|
3093
3281
|
value: {
|
|
3094
3282
|
fontFamily: "brand",
|
|
@@ -3274,6 +3462,24 @@ const I = {
|
|
|
3274
3462
|
letterSpacing: "0.1px"
|
|
3275
3463
|
}
|
|
3276
3464
|
},
|
|
3465
|
+
"label/2XS": {
|
|
3466
|
+
value: {
|
|
3467
|
+
fontFamily: "label",
|
|
3468
|
+
fontSize: "2xs",
|
|
3469
|
+
fontWeight: "400",
|
|
3470
|
+
lineHeight: "150%",
|
|
3471
|
+
letterSpacing: "0.08px"
|
|
3472
|
+
}
|
|
3473
|
+
},
|
|
3474
|
+
"label/2XS/medium": {
|
|
3475
|
+
value: {
|
|
3476
|
+
fontFamily: "label",
|
|
3477
|
+
fontSize: "2xs",
|
|
3478
|
+
fontWeight: "500",
|
|
3479
|
+
lineHeight: "150%",
|
|
3480
|
+
letterSpacing: "0.08px"
|
|
3481
|
+
}
|
|
3482
|
+
},
|
|
3277
3483
|
"mono/XS": {
|
|
3278
3484
|
value: {
|
|
3279
3485
|
fontFamily: "mono",
|
|
@@ -3347,57 +3553,59 @@ const I = {
|
|
|
3347
3553
|
letterSpacing: "0.14px"
|
|
3348
3554
|
}
|
|
3349
3555
|
}
|
|
3350
|
-
}),
|
|
3351
|
-
globalCss:
|
|
3556
|
+
}), Qe = E({
|
|
3557
|
+
globalCss: U,
|
|
3352
3558
|
theme: {
|
|
3353
3559
|
breakpoints: {
|
|
3354
3560
|
"3xl": "2560px",
|
|
3355
3561
|
"4xl": "3840px"
|
|
3356
3562
|
},
|
|
3357
|
-
textStyles:
|
|
3358
|
-
layerStyles:
|
|
3563
|
+
textStyles: Je,
|
|
3564
|
+
layerStyles: Ke,
|
|
3359
3565
|
recipes: {
|
|
3360
|
-
badge:
|
|
3361
|
-
button:
|
|
3362
|
-
divider:
|
|
3363
|
-
input:
|
|
3364
|
-
kbd:
|
|
3365
|
-
skeleton:
|
|
3366
|
-
textarea:
|
|
3566
|
+
badge: me,
|
|
3567
|
+
button: ve,
|
|
3568
|
+
divider: fe,
|
|
3569
|
+
input: Se,
|
|
3570
|
+
kbd: Fe,
|
|
3571
|
+
skeleton: De,
|
|
3572
|
+
textarea: Be
|
|
3367
3573
|
},
|
|
3368
3574
|
tokens: {
|
|
3369
|
-
colors:
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3575
|
+
colors: ae,
|
|
3576
|
+
borderWidths: ue,
|
|
3577
|
+
fonts: ie,
|
|
3578
|
+
fontSizes: ne,
|
|
3579
|
+
fontWeights: se,
|
|
3580
|
+
radii: be,
|
|
3581
|
+
sizes: ce,
|
|
3582
|
+
spacing: de
|
|
3376
3583
|
},
|
|
3377
3584
|
semanticTokens: {
|
|
3378
|
-
colors:
|
|
3379
|
-
borders:
|
|
3585
|
+
colors: Ge,
|
|
3586
|
+
borders: Pe
|
|
3380
3587
|
},
|
|
3381
3588
|
slotRecipes: {
|
|
3382
|
-
alert:
|
|
3383
|
-
colorPicker:
|
|
3384
|
-
drawer:
|
|
3385
|
-
tooltip:
|
|
3386
|
-
popover:
|
|
3387
|
-
menu:
|
|
3388
|
-
numberInput:
|
|
3389
|
-
editable:
|
|
3390
|
-
form:
|
|
3391
|
-
dialog:
|
|
3392
|
-
progressCircle:
|
|
3393
|
-
|
|
3394
|
-
|
|
3589
|
+
alert: ge,
|
|
3590
|
+
colorPicker: he,
|
|
3591
|
+
drawer: xe,
|
|
3592
|
+
tooltip: Te,
|
|
3593
|
+
popover: we,
|
|
3594
|
+
menu: ke,
|
|
3595
|
+
numberInput: Ee,
|
|
3596
|
+
editable: _e,
|
|
3597
|
+
form: ye,
|
|
3598
|
+
dialog: pe,
|
|
3599
|
+
progressCircle: ze,
|
|
3600
|
+
switch: We,
|
|
3601
|
+
tabs: Re,
|
|
3602
|
+
timeline: He
|
|
3395
3603
|
}
|
|
3396
3604
|
}
|
|
3397
|
-
}),
|
|
3605
|
+
}), lo = C(Me, Qe);
|
|
3398
3606
|
export {
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3607
|
+
ro as a,
|
|
3608
|
+
j as c,
|
|
3609
|
+
lo as t
|
|
3402
3610
|
};
|
|
3403
|
-
//# sourceMappingURL=theme-
|
|
3611
|
+
//# sourceMappingURL=theme-7PDdD9OD.js.map
|