@pstdio/ui 0.8.0 → 0.10.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-D7Baqkwx.js → MermaidComponent-Cz_Iob5U.js} +56 -53
- package/dist/MermaidComponent-Cz_Iob5U.js.map +1 -0
- package/dist/chat-ui.js +117 -117
- package/dist/chat-ui.js.map +1 -1
- package/dist/components/data-renderer/data-renderer-board.d.ts +1 -0
- package/dist/components/data-renderer/data-renderer-card.d.ts +5 -20
- package/dist/components/data-renderer/data-renderer-content.d.ts +20 -0
- package/dist/components/data-renderer/data-renderer-grouping.d.ts +11 -10
- package/dist/components/data-renderer/data-renderer-helpers.d.ts +63 -15
- package/dist/components/data-renderer/data-renderer-list.d.ts +13 -8
- package/dist/components/data-renderer/data-renderer-story-fixtures.d.ts +13 -0
- package/dist/components/data-renderer/data-renderer-toolbar.d.ts +12 -0
- package/dist/components/data-renderer/data-renderer.d.ts +15 -23
- package/dist/components/data-renderer/display-menu.d.ts +9 -8
- package/dist/components/data-renderer/filter-menu.d.ts +5 -4
- package/dist/components/data-renderer/types.d.ts +83 -49
- package/dist/components/data-renderer/use-data-renderer-store.d.ts +15 -11
- package/dist/components/data-renderer/use-resolved-attributes.d.ts +14 -0
- package/dist/components/diff-viewer/diff-card-body.d.ts +10 -0
- package/dist/components/diff-viewer/diff-card-content.d.ts +1 -0
- package/dist/components/diff-viewer/diff-card.d.ts +1 -0
- package/dist/components/diff-viewer/diff-drawer-empty-state.d.ts +1 -0
- package/dist/components/diff-viewer/diff-drawer-height.d.ts +10 -0
- package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +47 -0
- package/dist/components/diff-viewer/diff-drawer.d.ts +2 -7
- package/dist/components/diff-viewer/diff-size.d.ts +2 -0
- package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +19 -0
- package/dist/components/icon-color-picker.d.ts +29 -0
- package/dist/components/list-row/list-row-content.d.ts +9 -0
- package/dist/components/list-row/list-row.types.d.ts +3 -0
- package/dist/components/palette.d.ts +1 -0
- package/dist/components/param-editor/index.d.ts +2 -0
- package/dist/components/rich-text/shared/lexical-code.d.ts +2 -0
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +1 -1
- package/dist/components/rich-text/shared/prism-global.d.ts +2 -0
- package/dist/components/tab-strip/tab-visibility-filter.d.ts +19 -0
- package/dist/components/tab-strip/tab-visibility.store.d.ts +41 -0
- package/dist/components/tag-editor/index.d.ts +4 -0
- package/dist/components/tag-editor/tag-editor-row.d.ts +19 -0
- package/dist/components/tag-editor/tag-editor.d.ts +2 -0
- package/dist/components/tag-editor/tag-editor.types.d.ts +44 -0
- package/dist/components/tag-editor/tag-settings-panel.d.ts +24 -0
- package/dist/components/tree-list/tree-list-model.d.ts +58 -0
- package/dist/components/tree-list/tree-list-node-row.d.ts +20 -0
- package/dist/components/tree-list/tree-list-order-filter.d.ts +3 -0
- package/dist/components/tree-list/tree-list-order.store.d.ts +42 -0
- package/dist/components/tree-list/tree-list-reorder.d.ts +13 -0
- package/dist/components/tree-list/tree-list-section-header.d.ts +14 -0
- package/dist/components/tree-list/tree-list-sortable.d.ts +22 -0
- package/dist/components/tree-list/tree-list-visibility-filter.d.ts +17 -0
- package/dist/components/tree-list/tree-list-visibility.store.d.ts +45 -0
- package/dist/components/tree-list/tree-list.d.ts +7 -27
- package/dist/components/tree-list/tree-list.types.d.ts +2 -0
- package/dist/components/tree-list/use-tree-list-keyboard-navigation.d.ts +15 -0
- package/dist/get-file-type-icon-ufFb0IkR.js +102 -0
- package/dist/get-file-type-icon-ufFb0IkR.js.map +1 -0
- package/dist/index.d.ts +22 -3
- package/dist/index.js +5840 -4141
- package/dist/index.js.map +1 -1
- package/dist/{rich-message-33DPxuWJ.js → rich-message-CEOSsdR2.js} +428 -421
- package/dist/rich-message-CEOSsdR2.js.map +1 -0
- package/dist/rich-text.js +26 -26
- package/dist/rich-text.js.map +1 -1
- package/dist/theme/custom/index.d.ts +0 -3
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/recipes/editable.d.ts +46 -1
- package/dist/theme/recipes/tabs.d.ts +30 -0
- package/dist/theme/tokens/colors.d.ts +6 -0
- package/dist/{theme-D-aCJqTf.js → theme-DOFdi_Ir.js} +244 -149
- package/dist/theme-DOFdi_Ir.js.map +1 -0
- package/dist/theme.js +2 -4
- package/dist/utils/browser-storage.d.ts +7 -0
- package/dist/utils/prism.d.ts +1 -0
- package/package.json +9 -4
- package/dist/MermaidComponent-D7Baqkwx.js.map +0 -1
- package/dist/components/data-renderer/tag-badge.d.ts +0 -10
- package/dist/components/data-renderer/tag-option-icon.d.ts +0 -2
- package/dist/get-file-type-icon-Bwqf1WXA.js +0 -101
- package/dist/get-file-type-icon-Bwqf1WXA.js.map +0 -1
- package/dist/rich-message-33DPxuWJ.js.map +0 -1
- package/dist/theme/custom/monokai.json.d.ts +0 -80
- package/dist/theme-D-aCJqTf.js.map +0 -1
- /package/dist/components/{param-editor-color-input.d.ts → param-editor/color-input.d.ts} +0 -0
- /package/dist/components/{param-editor-date-input.d.ts → param-editor/date-input.d.ts} +0 -0
- /package/dist/components/{param-editor-horizontal-text-input.d.ts → param-editor/horizontal-text-input.d.ts} +0 -0
- /package/dist/components/{param-editor-input-group.d.ts → param-editor/input-group.d.ts} +0 -0
- /package/dist/components/{param-editor-number-input.d.ts → param-editor/number-input.d.ts} +0 -0
- /package/dist/components/{param-editor-horizontal.d.ts → param-editor/param-editor-horizontal.d.ts} +0 -0
- /package/dist/components/{param-editor-label.d.ts → param-editor/param-editor-label.d.ts} +0 -0
- /package/dist/components/{param-editor.d.ts → param-editor/param-editor.d.ts} +0 -0
- /package/dist/components/{param-editor.types.d.ts → param-editor/param-editor.types.d.ts} +0 -0
- /package/dist/components/{param-editor-selection-input.d.ts → param-editor/selection-input.d.ts} +0 -0
- /package/dist/components/{param-editor-text-input.d.ts → param-editor/text-input.d.ts} +0 -0
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { defineSlotRecipe as r, defineRecipe as a, defineLayerStyles as
|
|
2
|
-
import { alertAnatomy as h, dialogAnatomy as p, drawerAnatomy as
|
|
3
|
-
import { progressCircleSlotRecipe as
|
|
4
|
-
const
|
|
5
|
-
id: E,
|
|
6
|
-
mode: C,
|
|
7
|
-
tokens: S
|
|
8
|
-
}, A = {
|
|
1
|
+
import { defineSlotRecipe as r, defineRecipe as a, defineLayerStyles as c, defineTextStyles as g, defineConfig as b, createSystem as v, defaultConfig as m } from "@chakra-ui/react";
|
|
2
|
+
import { alertAnatomy as h, dialogAnatomy as p, drawerAnatomy as _, fieldsetAnatomy as f, menuAnatomy as F, popoverAnatomy as k, tabsAnatomy as x, tooltipAnatomy as y } from "@chakra-ui/react/anatomy";
|
|
3
|
+
import { progressCircleSlotRecipe as u } from "@chakra-ui/react/theme";
|
|
4
|
+
const S = {
|
|
9
5
|
"editor.background": ["colors.bg", "colors.bg.code"],
|
|
10
6
|
"editor.foreground": ["colors.fg"],
|
|
7
|
+
"editor.lineHighlightBackground": ["colors.bg.hover"],
|
|
8
|
+
"editor.selectionBackground": ["colors.bg.active"],
|
|
11
9
|
"editorWidget.background": ["colors.bg.panel"],
|
|
12
10
|
"sideBar.background": ["colors.bg.panel"],
|
|
13
11
|
"panel.background": ["colors.bg.panel"],
|
|
@@ -17,7 +15,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
17
15
|
"dropdown.background": ["colors.bg.panel"],
|
|
18
16
|
"menu.background": ["colors.bg.panel", "colors.bg.menu-item.default"],
|
|
19
17
|
"menu.foreground": ["colors.fg.menu-item.default"],
|
|
20
|
-
"menu.selectionBackground": ["colors.bg.menu-item.selected"],
|
|
18
|
+
"menu.selectionBackground": ["colors.bg.menu-item.hover", "colors.bg.menu-item.focus", "colors.bg.menu-item.selected"],
|
|
21
19
|
"button.background": ["colors.bg.button.primary.default", "colors.bg.accent-primary.default"],
|
|
22
20
|
"button.hoverBackground": ["colors.bg.button.primary.hover", "colors.bg.accent-primary.hover"],
|
|
23
21
|
"button.foreground": ["colors.fg.button.primary.default"],
|
|
@@ -25,36 +23,38 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
25
23
|
foreground: ["colors.fg"],
|
|
26
24
|
descriptionForeground: ["colors.fg.muted"],
|
|
27
25
|
disabledForeground: ["colors.fg.subtle"],
|
|
28
|
-
border: ["colors.border"]
|
|
29
|
-
},
|
|
30
|
-
const t = {},
|
|
31
|
-
for (const [
|
|
32
|
-
|
|
26
|
+
border: ["colors.border", "colors.border.muted", "colors.border.subtle"]
|
|
27
|
+
}, C = (l) => `colors.vscode.${l}`, E = (l) => l.replace(/^#/, ""), De = (l) => {
|
|
28
|
+
const t = {}, o = l.theme.colors ?? {};
|
|
29
|
+
for (const [s, i] of Object.entries(o))
|
|
30
|
+
t[C(s)] = i;
|
|
31
|
+
for (const [s, i] of Object.entries(S)) {
|
|
32
|
+
const n = o[s];
|
|
33
33
|
if (n)
|
|
34
|
-
for (const
|
|
34
|
+
for (const d of i) t[d] = n;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
id:
|
|
38
|
-
mode:
|
|
37
|
+
id: l.id,
|
|
38
|
+
mode: l.mode,
|
|
39
39
|
tokens: t
|
|
40
40
|
};
|
|
41
|
-
},
|
|
42
|
-
const t = (
|
|
43
|
-
token:
|
|
44
|
-
...
|
|
45
|
-
foreground:
|
|
41
|
+
}, Be = (l) => {
|
|
42
|
+
const t = (l.theme.tokenColors ?? []).flatMap((o) => (Array.isArray(o.scope) ? o.scope : o.scope ? [o.scope] : []).map((i) => ({
|
|
43
|
+
token: i,
|
|
44
|
+
...o.settings?.foreground ? {
|
|
45
|
+
foreground: E(o.settings.foreground)
|
|
46
46
|
} : {},
|
|
47
|
-
...
|
|
48
|
-
fontStyle:
|
|
47
|
+
...o.settings?.fontStyle ? {
|
|
48
|
+
fontStyle: o.settings.fontStyle
|
|
49
49
|
} : {}
|
|
50
50
|
})));
|
|
51
51
|
return {
|
|
52
|
-
base:
|
|
52
|
+
base: l.mode === "dark" ? "vs-dark" : "vs",
|
|
53
53
|
inherit: !0,
|
|
54
54
|
rules: t,
|
|
55
|
-
colors:
|
|
55
|
+
colors: l.theme.colors ?? {}
|
|
56
56
|
};
|
|
57
|
-
},
|
|
57
|
+
}, w = {
|
|
58
58
|
"*::selection": {
|
|
59
59
|
bg: {
|
|
60
60
|
base: "bg.accent-secondary.blue-medium",
|
|
@@ -112,7 +112,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
112
112
|
fontSize: "1.5rem"
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
},
|
|
115
|
+
}, A = {
|
|
116
116
|
DEFAULT: {
|
|
117
117
|
value: "#0A0D15"
|
|
118
118
|
},
|
|
@@ -161,7 +161,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
161
161
|
1e3: {
|
|
162
162
|
value: "#000000"
|
|
163
163
|
}
|
|
164
|
-
},
|
|
164
|
+
}, D = {
|
|
165
165
|
DEFAULT: {
|
|
166
166
|
value: "#5098FF"
|
|
167
167
|
},
|
|
@@ -195,7 +195,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
195
195
|
900: {
|
|
196
196
|
value: "#002862"
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, B = {
|
|
199
199
|
DEFAULT: {
|
|
200
200
|
value: "#3A4BE4"
|
|
201
201
|
},
|
|
@@ -232,7 +232,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
232
232
|
900: {
|
|
233
233
|
value: "#0A125A"
|
|
234
234
|
}
|
|
235
|
-
},
|
|
235
|
+
}, z = {
|
|
236
236
|
DEFAULT: {
|
|
237
237
|
value: "#E054EC"
|
|
238
238
|
},
|
|
@@ -269,7 +269,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
269
269
|
900: {
|
|
270
270
|
value: "#520659"
|
|
271
271
|
}
|
|
272
|
-
},
|
|
272
|
+
}, W = {
|
|
273
273
|
DEFAULT: {
|
|
274
274
|
value: "#FBD8CE"
|
|
275
275
|
},
|
|
@@ -303,7 +303,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
303
303
|
900: {
|
|
304
304
|
value: "#522923"
|
|
305
305
|
}
|
|
306
|
-
},
|
|
306
|
+
}, R = {
|
|
307
307
|
DEFAULT: {
|
|
308
308
|
value: "#FF3232"
|
|
309
309
|
},
|
|
@@ -337,7 +337,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
337
337
|
900: {
|
|
338
338
|
value: "#580707"
|
|
339
339
|
}
|
|
340
|
-
},
|
|
340
|
+
}, H = {
|
|
341
341
|
DEFAULT: {
|
|
342
342
|
value: "#F78C25"
|
|
343
343
|
},
|
|
@@ -371,7 +371,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
371
371
|
900: {
|
|
372
372
|
value: "#552107"
|
|
373
373
|
}
|
|
374
|
-
},
|
|
374
|
+
}, L = {
|
|
375
375
|
DEFAULT: {
|
|
376
376
|
value: "#FFD643"
|
|
377
377
|
},
|
|
@@ -411,7 +411,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
411
411
|
900: {
|
|
412
412
|
value: "#644E00"
|
|
413
413
|
}
|
|
414
|
-
},
|
|
414
|
+
}, T = {
|
|
415
415
|
DEFAULT: {
|
|
416
416
|
value: "#2DD665"
|
|
417
417
|
},
|
|
@@ -445,7 +445,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
445
445
|
900: {
|
|
446
446
|
value: "#003110"
|
|
447
447
|
}
|
|
448
|
-
},
|
|
448
|
+
}, M = {
|
|
449
449
|
DEFAULT: {
|
|
450
450
|
value: "#3EECC4"
|
|
451
451
|
},
|
|
@@ -479,7 +479,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
479
479
|
900: {
|
|
480
480
|
value: "#024F3D"
|
|
481
481
|
}
|
|
482
|
-
},
|
|
482
|
+
}, U = {
|
|
483
483
|
DEFAULT: {
|
|
484
484
|
value: "#5CDCFF"
|
|
485
485
|
},
|
|
@@ -513,7 +513,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
513
513
|
900: {
|
|
514
514
|
value: "#005B73"
|
|
515
515
|
}
|
|
516
|
-
},
|
|
516
|
+
}, V = {
|
|
517
517
|
DEFAULT: {
|
|
518
518
|
value: "#8B47FF"
|
|
519
519
|
},
|
|
@@ -547,7 +547,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
547
547
|
900: {
|
|
548
548
|
value: "#1E0050"
|
|
549
549
|
}
|
|
550
|
-
},
|
|
550
|
+
}, P = {
|
|
551
551
|
DEFAULT: {
|
|
552
552
|
value: "#F4F2EC"
|
|
553
553
|
},
|
|
@@ -581,7 +581,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
581
581
|
900: {
|
|
582
582
|
value: "#E8CECE"
|
|
583
583
|
}
|
|
584
|
-
},
|
|
584
|
+
}, X = {
|
|
585
585
|
50: {
|
|
586
586
|
value: "#FCFDFC"
|
|
587
587
|
},
|
|
@@ -624,30 +624,30 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
624
624
|
950: {
|
|
625
625
|
value: "#10141B"
|
|
626
626
|
}
|
|
627
|
-
},
|
|
627
|
+
}, I = {
|
|
628
628
|
100: {
|
|
629
629
|
value: "#D3ECEE"
|
|
630
630
|
},
|
|
631
631
|
200: {
|
|
632
632
|
value: "#B3DEE2"
|
|
633
633
|
}
|
|
634
|
-
},
|
|
635
|
-
sand:
|
|
636
|
-
blacks:
|
|
637
|
-
blue:
|
|
638
|
-
sapphire:
|
|
639
|
-
pink:
|
|
640
|
-
peach:
|
|
641
|
-
red:
|
|
642
|
-
orange:
|
|
643
|
-
yellow:
|
|
644
|
-
green:
|
|
645
|
-
teal:
|
|
646
|
-
cyan:
|
|
647
|
-
purple:
|
|
648
|
-
neutral:
|
|
649
|
-
mint:
|
|
650
|
-
},
|
|
634
|
+
}, O = {
|
|
635
|
+
sand: P,
|
|
636
|
+
blacks: A,
|
|
637
|
+
blue: D,
|
|
638
|
+
sapphire: B,
|
|
639
|
+
pink: z,
|
|
640
|
+
peach: W,
|
|
641
|
+
red: R,
|
|
642
|
+
orange: H,
|
|
643
|
+
yellow: L,
|
|
644
|
+
green: T,
|
|
645
|
+
teal: M,
|
|
646
|
+
cyan: U,
|
|
647
|
+
purple: V,
|
|
648
|
+
neutral: X,
|
|
649
|
+
mint: I
|
|
650
|
+
}, $ = {
|
|
651
651
|
display: {
|
|
652
652
|
value: "'Playfair Display', serif"
|
|
653
653
|
},
|
|
@@ -663,7 +663,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
663
663
|
body: {
|
|
664
664
|
value: "Inter, sans-serif"
|
|
665
665
|
}
|
|
666
|
-
},
|
|
666
|
+
}, j = {
|
|
667
667
|
xs: {
|
|
668
668
|
value: "0.625rem"
|
|
669
669
|
},
|
|
@@ -728,7 +728,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
728
728
|
value: "1.25rem"
|
|
729
729
|
}
|
|
730
730
|
// 20px
|
|
731
|
-
},
|
|
731
|
+
}, Y = {
|
|
732
732
|
regular: {
|
|
733
733
|
value: 400
|
|
734
734
|
},
|
|
@@ -768,7 +768,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
768
768
|
900: "4.5rem",
|
|
769
769
|
// 96px
|
|
770
770
|
1600: "8rem"
|
|
771
|
-
},
|
|
771
|
+
}, q = {
|
|
772
772
|
none: {
|
|
773
773
|
value: "0"
|
|
774
774
|
},
|
|
@@ -808,7 +808,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
808
808
|
"5xl": {
|
|
809
809
|
value: e[1600]
|
|
810
810
|
}
|
|
811
|
-
},
|
|
811
|
+
}, G = {
|
|
812
812
|
none: {
|
|
813
813
|
value: "0"
|
|
814
814
|
},
|
|
@@ -833,7 +833,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
833
833
|
full: {
|
|
834
834
|
value: "100%"
|
|
835
835
|
}
|
|
836
|
-
},
|
|
836
|
+
}, J = r({
|
|
837
837
|
slots: h.keys(),
|
|
838
838
|
base: {
|
|
839
839
|
root: {
|
|
@@ -841,7 +841,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
841
841
|
pb: "xs"
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
|
-
}),
|
|
844
|
+
}), K = a({
|
|
845
845
|
base: {
|
|
846
846
|
borderRadius: "sm",
|
|
847
847
|
transition: "all 0.1s ease-in-out",
|
|
@@ -1034,19 +1034,19 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1034
1034
|
size: "md",
|
|
1035
1035
|
variant: "outline"
|
|
1036
1036
|
}
|
|
1037
|
-
}),
|
|
1037
|
+
}), N = r({
|
|
1038
1038
|
slots: p.keys(),
|
|
1039
1039
|
base: {
|
|
1040
1040
|
content: {
|
|
1041
1041
|
bg: "bg"
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
|
-
}),
|
|
1044
|
+
}), Q = a({
|
|
1045
1045
|
base: {
|
|
1046
1046
|
borderColor: "border"
|
|
1047
1047
|
}
|
|
1048
|
-
}),
|
|
1049
|
-
slots:
|
|
1048
|
+
}), Z = r({
|
|
1049
|
+
slots: _.keys(),
|
|
1050
1050
|
base: {
|
|
1051
1051
|
header: {
|
|
1052
1052
|
fontWeight: "medium",
|
|
@@ -1057,7 +1057,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1057
1057
|
bg: "bg"
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
|
-
}),
|
|
1060
|
+
}), ee = r({
|
|
1061
1061
|
slots: ["preview", "input", "textarea"],
|
|
1062
1062
|
base: {
|
|
1063
1063
|
preview: {
|
|
@@ -1105,15 +1105,61 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1105
1105
|
color: "fg.muted"
|
|
1106
1106
|
}
|
|
1107
1107
|
}
|
|
1108
|
+
},
|
|
1109
|
+
variants: {
|
|
1110
|
+
size: {
|
|
1111
|
+
sm: {
|
|
1112
|
+
preview: {
|
|
1113
|
+
textStyle: "label/S/medium",
|
|
1114
|
+
lineHeight: "1.25rem"
|
|
1115
|
+
},
|
|
1116
|
+
input: {
|
|
1117
|
+
textStyle: "label/S/medium",
|
|
1118
|
+
lineHeight: "1.25rem"
|
|
1119
|
+
},
|
|
1120
|
+
textarea: {
|
|
1121
|
+
textStyle: "label/S/medium",
|
|
1122
|
+
lineHeight: "1.25rem"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
md: {
|
|
1126
|
+
preview: {
|
|
1127
|
+
textStyle: "label/M/medium",
|
|
1128
|
+
lineHeight: "1.375rem"
|
|
1129
|
+
},
|
|
1130
|
+
input: {
|
|
1131
|
+
textStyle: "label/M/medium",
|
|
1132
|
+
lineHeight: "1.375rem"
|
|
1133
|
+
},
|
|
1134
|
+
textarea: {
|
|
1135
|
+
textStyle: "label/M/medium",
|
|
1136
|
+
lineHeight: "1.375rem"
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
lg: {
|
|
1140
|
+
preview: {
|
|
1141
|
+
textStyle: "label/L/medium",
|
|
1142
|
+
lineHeight: "1.5rem"
|
|
1143
|
+
},
|
|
1144
|
+
input: {
|
|
1145
|
+
textStyle: "label/L/medium",
|
|
1146
|
+
lineHeight: "1.5rem"
|
|
1147
|
+
},
|
|
1148
|
+
textarea: {
|
|
1149
|
+
textStyle: "label/L/medium",
|
|
1150
|
+
lineHeight: "1.5rem"
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1108
1154
|
}
|
|
1109
|
-
}),
|
|
1110
|
-
slots:
|
|
1155
|
+
}), le = r({
|
|
1156
|
+
slots: f.keys(),
|
|
1111
1157
|
base: {
|
|
1112
1158
|
legend: {
|
|
1113
1159
|
mb: "2xs"
|
|
1114
1160
|
}
|
|
1115
1161
|
}
|
|
1116
|
-
}),
|
|
1162
|
+
}), oe = a({
|
|
1117
1163
|
base: {
|
|
1118
1164
|
px: "sm",
|
|
1119
1165
|
borderRadius: "sm",
|
|
@@ -1145,7 +1191,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1145
1191
|
}
|
|
1146
1192
|
}
|
|
1147
1193
|
}
|
|
1148
|
-
}),
|
|
1194
|
+
}), re = a({
|
|
1149
1195
|
base: {
|
|
1150
1196
|
display: "inline-flex",
|
|
1151
1197
|
alignItems: "center",
|
|
@@ -1208,8 +1254,8 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1208
1254
|
size: "md",
|
|
1209
1255
|
variant: "raised"
|
|
1210
1256
|
}
|
|
1211
|
-
}),
|
|
1212
|
-
slots:
|
|
1257
|
+
}), ae = r({
|
|
1258
|
+
slots: F.keys(),
|
|
1213
1259
|
base: {
|
|
1214
1260
|
itemGroupLabel: {
|
|
1215
1261
|
ml: "{2xs}",
|
|
@@ -1221,8 +1267,21 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1221
1267
|
bg: "bg.menu-item.default",
|
|
1222
1268
|
color: "fg.menu-item.default",
|
|
1223
1269
|
textStyle: "label/M/regular",
|
|
1270
|
+
cursor: "pointer",
|
|
1224
1271
|
px: "0",
|
|
1225
|
-
h: "auto"
|
|
1272
|
+
h: "auto",
|
|
1273
|
+
_hover: {
|
|
1274
|
+
bg: "bg.menu-item.hover"
|
|
1275
|
+
},
|
|
1276
|
+
_highlighted: {
|
|
1277
|
+
bg: "bg.menu-item.hover"
|
|
1278
|
+
},
|
|
1279
|
+
_focusVisible: {
|
|
1280
|
+
bg: "bg.menu-item.focus"
|
|
1281
|
+
},
|
|
1282
|
+
_disabled: {
|
|
1283
|
+
cursor: "not-allowed"
|
|
1284
|
+
}
|
|
1226
1285
|
},
|
|
1227
1286
|
separator: {
|
|
1228
1287
|
my: "2xs",
|
|
@@ -1245,7 +1304,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1245
1304
|
textStyle: "label/M/regular"
|
|
1246
1305
|
}
|
|
1247
1306
|
}
|
|
1248
|
-
}),
|
|
1307
|
+
}), te = r({
|
|
1249
1308
|
slots: k.keys(),
|
|
1250
1309
|
base: {
|
|
1251
1310
|
positioner: {
|
|
@@ -1299,12 +1358,12 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1299
1358
|
}
|
|
1300
1359
|
}
|
|
1301
1360
|
}
|
|
1302
|
-
}),
|
|
1303
|
-
...
|
|
1361
|
+
}), ie = u.variants?.size ?? {}, se = {
|
|
1362
|
+
...u,
|
|
1304
1363
|
variants: {
|
|
1305
|
-
...
|
|
1364
|
+
...u.variants,
|
|
1306
1365
|
size: {
|
|
1307
|
-
...
|
|
1366
|
+
...ie,
|
|
1308
1367
|
"2xs": {
|
|
1309
1368
|
circle: {
|
|
1310
1369
|
"--size": "14px",
|
|
@@ -1316,13 +1375,13 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1316
1375
|
}
|
|
1317
1376
|
}
|
|
1318
1377
|
}
|
|
1319
|
-
},
|
|
1378
|
+
}, ue = a({
|
|
1320
1379
|
base: {
|
|
1321
1380
|
"--start-color": "fg",
|
|
1322
1381
|
"--end-color": "fg.muted"
|
|
1323
1382
|
}
|
|
1324
|
-
}),
|
|
1325
|
-
slots:
|
|
1383
|
+
}), ne = r({
|
|
1384
|
+
slots: x.keys(),
|
|
1326
1385
|
base: {
|
|
1327
1386
|
trigger: {
|
|
1328
1387
|
borderRadius: "0"
|
|
@@ -1343,10 +1402,45 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1343
1402
|
color: "fg"
|
|
1344
1403
|
}
|
|
1345
1404
|
}
|
|
1405
|
+
},
|
|
1406
|
+
// Folder-style tabs: only the selected tab is outlined and it merges with
|
|
1407
|
+
// the panel content below via a transparent bottom border. Adapts Chakra's
|
|
1408
|
+
// built-in `outline` variant for use inside a workbench header — the
|
|
1409
|
+
// header paints its own full-width bottom line, so the variant's own
|
|
1410
|
+
// underline and the negative margins that overlap it are suppressed.
|
|
1411
|
+
outline: {
|
|
1412
|
+
list: {
|
|
1413
|
+
border: "0",
|
|
1414
|
+
_horizontal: {
|
|
1415
|
+
_before: {
|
|
1416
|
+
borderBottomWidth: "0"
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
trigger: {
|
|
1421
|
+
color: "fg.muted",
|
|
1422
|
+
bg: "transparent",
|
|
1423
|
+
borderWidth: "1px",
|
|
1424
|
+
borderColor: "transparent",
|
|
1425
|
+
_selected: {
|
|
1426
|
+
color: "fg",
|
|
1427
|
+
borderColor: "border.muted",
|
|
1428
|
+
borderBottomColor: "transparent"
|
|
1429
|
+
},
|
|
1430
|
+
_horizontal: {
|
|
1431
|
+
borderTopRadius: "0",
|
|
1432
|
+
marginBottom: "0",
|
|
1433
|
+
marginEnd: "0",
|
|
1434
|
+
_selected: {
|
|
1435
|
+
borderColor: "border.muted",
|
|
1436
|
+
borderBottomColor: "transparent"
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1346
1440
|
}
|
|
1347
1441
|
}
|
|
1348
1442
|
}
|
|
1349
|
-
}),
|
|
1443
|
+
}), de = a({
|
|
1350
1444
|
base: {
|
|
1351
1445
|
paddingX: "sm",
|
|
1352
1446
|
paddingY: "xs",
|
|
@@ -1372,8 +1466,8 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1372
1466
|
color: "fg.subtle"
|
|
1373
1467
|
}
|
|
1374
1468
|
}
|
|
1375
|
-
}),
|
|
1376
|
-
slots:
|
|
1469
|
+
}), ce = r({
|
|
1470
|
+
slots: y.keys(),
|
|
1377
1471
|
base: {
|
|
1378
1472
|
content: {
|
|
1379
1473
|
bg: "bg.inverted",
|
|
@@ -1383,7 +1477,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1383
1477
|
bg: "bg.inverted"
|
|
1384
1478
|
}
|
|
1385
1479
|
}
|
|
1386
|
-
}),
|
|
1480
|
+
}), ge = {
|
|
1387
1481
|
DEFAULT: {
|
|
1388
1482
|
value: "1px solid {colors.border}"
|
|
1389
1483
|
},
|
|
@@ -1402,7 +1496,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1402
1496
|
"accent-light": {
|
|
1403
1497
|
value: "1px solid {colors.border.accent-light}"
|
|
1404
1498
|
}
|
|
1405
|
-
},
|
|
1499
|
+
}, be = {
|
|
1406
1500
|
DEFAULT: {
|
|
1407
1501
|
value: {
|
|
1408
1502
|
_light: "{colors.blacks.800}",
|
|
@@ -1486,7 +1580,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1486
1580
|
value: "{colors.fg.muted}"
|
|
1487
1581
|
}
|
|
1488
1582
|
}
|
|
1489
|
-
},
|
|
1583
|
+
}, ve = {
|
|
1490
1584
|
DEFAULT: {
|
|
1491
1585
|
value: {
|
|
1492
1586
|
_light: "{colors.blacks.50}",
|
|
@@ -1538,7 +1632,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1538
1632
|
panel: {
|
|
1539
1633
|
value: {
|
|
1540
1634
|
_light: "{colors.blacks.100}",
|
|
1541
|
-
_dark: "{colors.
|
|
1635
|
+
_dark: "{colors.bg}"
|
|
1542
1636
|
}
|
|
1543
1637
|
},
|
|
1544
1638
|
dark: {
|
|
@@ -1584,17 +1678,20 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1584
1678
|
},
|
|
1585
1679
|
hover: {
|
|
1586
1680
|
value: {
|
|
1587
|
-
_light: "{colors.bg.
|
|
1681
|
+
_light: "{colors.bg.hover}",
|
|
1682
|
+
_dark: "{colors.neutral.700}"
|
|
1588
1683
|
}
|
|
1589
1684
|
},
|
|
1590
1685
|
focus: {
|
|
1591
1686
|
value: {
|
|
1592
|
-
_light: "{colors.bg.
|
|
1687
|
+
_light: "{colors.bg.hover}",
|
|
1688
|
+
_dark: "{colors.neutral.700}"
|
|
1593
1689
|
}
|
|
1594
1690
|
},
|
|
1595
1691
|
selected: {
|
|
1596
1692
|
value: {
|
|
1597
|
-
_light: "{colors.bg.
|
|
1693
|
+
_light: "{colors.bg.muted}",
|
|
1694
|
+
_dark: "{colors.bg.muted}"
|
|
1598
1695
|
}
|
|
1599
1696
|
}
|
|
1600
1697
|
},
|
|
@@ -1748,7 +1845,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1748
1845
|
}
|
|
1749
1846
|
}
|
|
1750
1847
|
}
|
|
1751
|
-
},
|
|
1848
|
+
}, me = {
|
|
1752
1849
|
DEFAULT: {
|
|
1753
1850
|
value: {
|
|
1754
1851
|
_light: "{colors.neutral.500}",
|
|
@@ -1790,14 +1887,14 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1790
1887
|
value: "{colors.border.muted}"
|
|
1791
1888
|
}
|
|
1792
1889
|
}
|
|
1793
|
-
},
|
|
1890
|
+
}, he = {
|
|
1794
1891
|
border: {
|
|
1795
1892
|
value: {
|
|
1796
1893
|
_light: "{colors.mint.200}",
|
|
1797
1894
|
_dark: "{colors.mint.200}"
|
|
1798
1895
|
}
|
|
1799
1896
|
}
|
|
1800
|
-
},
|
|
1897
|
+
}, pe = {
|
|
1801
1898
|
contrast: {
|
|
1802
1899
|
value: {
|
|
1803
1900
|
_light: "black",
|
|
@@ -1846,7 +1943,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
1846
1943
|
_dark: "{colors.orange.500}"
|
|
1847
1944
|
}
|
|
1848
1945
|
}
|
|
1849
|
-
},
|
|
1946
|
+
}, _e = {
|
|
1850
1947
|
text: {
|
|
1851
1948
|
primary: {
|
|
1852
1949
|
value: {
|
|
@@ -2007,7 +2104,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
2007
2104
|
}
|
|
2008
2105
|
}
|
|
2009
2106
|
}
|
|
2010
|
-
},
|
|
2107
|
+
}, fe = {
|
|
2011
2108
|
selectable: {
|
|
2012
2109
|
primary: {
|
|
2013
2110
|
value: {
|
|
@@ -2016,15 +2113,15 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
2016
2113
|
}
|
|
2017
2114
|
}
|
|
2018
2115
|
}
|
|
2019
|
-
},
|
|
2020
|
-
fg:
|
|
2021
|
-
bg:
|
|
2022
|
-
border:
|
|
2023
|
-
blue:
|
|
2024
|
-
orange:
|
|
2025
|
-
vis:
|
|
2026
|
-
text:
|
|
2027
|
-
},
|
|
2116
|
+
}, Fe = {
|
|
2117
|
+
fg: be,
|
|
2118
|
+
bg: ve,
|
|
2119
|
+
border: me,
|
|
2120
|
+
blue: he,
|
|
2121
|
+
orange: pe,
|
|
2122
|
+
vis: _e,
|
|
2123
|
+
text: fe
|
|
2124
|
+
}, ke = c({
|
|
2028
2125
|
modal: {
|
|
2029
2126
|
value: {
|
|
2030
2127
|
paddingInline: "xs",
|
|
@@ -2036,7 +2133,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
2036
2133
|
boxShadow: "mid"
|
|
2037
2134
|
}
|
|
2038
2135
|
}
|
|
2039
|
-
}),
|
|
2136
|
+
}), xe = {
|
|
2040
2137
|
"low-light": {
|
|
2041
2138
|
value: "0px 2px 4px 0px rgba(0, 0, 0, 0.10)"
|
|
2042
2139
|
},
|
|
@@ -2067,7 +2164,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
2067
2164
|
"desktop-icon-label-text-selected-dark": {
|
|
2068
2165
|
value: "0px 2px 4px rgba(37, 99, 235, 0.75)"
|
|
2069
2166
|
}
|
|
2070
|
-
},
|
|
2167
|
+
}, ye = {
|
|
2071
2168
|
low: {
|
|
2072
2169
|
value: {
|
|
2073
2170
|
_light: "{shadows.low-light}",
|
|
@@ -2098,7 +2195,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
2098
2195
|
_dark: "{shadows.desktop-icon-label-text-selected-dark}"
|
|
2099
2196
|
}
|
|
2100
2197
|
}
|
|
2101
|
-
},
|
|
2198
|
+
}, Se = g({
|
|
2102
2199
|
brand: {
|
|
2103
2200
|
value: {
|
|
2104
2201
|
fontFamily: "brand",
|
|
@@ -2331,56 +2428,54 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
|
|
|
2331
2428
|
letterSpacing: "0.14px"
|
|
2332
2429
|
}
|
|
2333
2430
|
}
|
|
2334
|
-
}),
|
|
2335
|
-
globalCss:
|
|
2431
|
+
}), Ce = b({
|
|
2432
|
+
globalCss: w,
|
|
2336
2433
|
theme: {
|
|
2337
2434
|
breakpoints: {
|
|
2338
2435
|
"3xl": "2560px",
|
|
2339
2436
|
"4xl": "3840px"
|
|
2340
2437
|
},
|
|
2341
|
-
textStyles:
|
|
2342
|
-
layerStyles:
|
|
2438
|
+
textStyles: Se,
|
|
2439
|
+
layerStyles: ke,
|
|
2343
2440
|
recipes: {
|
|
2344
|
-
button:
|
|
2345
|
-
divider:
|
|
2346
|
-
input:
|
|
2347
|
-
kbd:
|
|
2348
|
-
skeleton:
|
|
2349
|
-
textarea:
|
|
2441
|
+
button: K,
|
|
2442
|
+
divider: Q,
|
|
2443
|
+
input: oe,
|
|
2444
|
+
kbd: re,
|
|
2445
|
+
skeleton: ue,
|
|
2446
|
+
textarea: de
|
|
2350
2447
|
},
|
|
2351
2448
|
tokens: {
|
|
2352
|
-
colors:
|
|
2353
|
-
fonts:
|
|
2354
|
-
fontSizes:
|
|
2355
|
-
fontWeights:
|
|
2356
|
-
radii:
|
|
2357
|
-
shadows:
|
|
2358
|
-
spacing:
|
|
2449
|
+
colors: O,
|
|
2450
|
+
fonts: $,
|
|
2451
|
+
fontSizes: j,
|
|
2452
|
+
fontWeights: Y,
|
|
2453
|
+
radii: G,
|
|
2454
|
+
shadows: xe,
|
|
2455
|
+
spacing: q
|
|
2359
2456
|
},
|
|
2360
2457
|
semanticTokens: {
|
|
2361
|
-
colors:
|
|
2362
|
-
borders:
|
|
2363
|
-
shadows:
|
|
2458
|
+
colors: Fe,
|
|
2459
|
+
borders: ge,
|
|
2460
|
+
shadows: ye
|
|
2364
2461
|
},
|
|
2365
2462
|
slotRecipes: {
|
|
2366
|
-
alert:
|
|
2367
|
-
drawer:
|
|
2368
|
-
tooltip:
|
|
2369
|
-
popover:
|
|
2370
|
-
menu:
|
|
2371
|
-
editable:
|
|
2372
|
-
form:
|
|
2373
|
-
dialog:
|
|
2374
|
-
progressCircle:
|
|
2375
|
-
tabs:
|
|
2463
|
+
alert: J,
|
|
2464
|
+
drawer: Z,
|
|
2465
|
+
tooltip: ce,
|
|
2466
|
+
popover: te,
|
|
2467
|
+
menu: ae,
|
|
2468
|
+
editable: ee,
|
|
2469
|
+
form: le,
|
|
2470
|
+
dialog: N,
|
|
2471
|
+
progressCircle: se,
|
|
2472
|
+
tabs: ne
|
|
2376
2473
|
}
|
|
2377
2474
|
}
|
|
2378
|
-
}),
|
|
2475
|
+
}), ze = v(m, Ce);
|
|
2379
2476
|
export {
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
B as m,
|
|
2384
|
-
He as t
|
|
2477
|
+
De as a,
|
|
2478
|
+
Be as c,
|
|
2479
|
+
ze as t
|
|
2385
2480
|
};
|
|
2386
|
-
//# sourceMappingURL=theme-
|
|
2481
|
+
//# sourceMappingURL=theme-DOFdi_Ir.js.map
|