@pstdio/ui 0.24.1 → 0.25.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-BTgLnpLA.js → MermaidComponent-BVdDqDRU.js} +2 -2
- package/dist/{MermaidComponent-BTgLnpLA.js.map → MermaidComponent-BVdDqDRU.js.map} +1 -1
- package/dist/chat-ui.js +1326 -1414
- package/dist/chat-ui.js.map +1 -1
- package/dist/components/activity/activity-comment.d.ts +10 -2
- package/dist/components/activity/index.d.ts +3 -1
- package/dist/components/activity/resource-activity-feed.d.ts +58 -0
- package/dist/components/chat-ui/components/chat-input.d.ts +1 -1
- package/dist/components/chat-ui/components/chat-panel.d.ts +1 -1
- package/dist/components/chat-ui/tool-rendering/build-timeline.d.ts +1 -1
- package/dist/components/chat-ui/tool-rendering/shared.d.ts +1 -1
- package/dist/components/tab-strip/window-tabs.d.ts +1 -0
- package/dist/data-table.js +5 -5
- package/dist/diff.js +2 -2
- package/dist/{edit-mode-data-table-BrydKuMM.js → edit-mode-data-table-B8UpWb7i.js} +4 -4
- package/dist/{edit-mode-data-table-BrydKuMM.js.map → edit-mode-data-table-B8UpWb7i.js.map} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2047 -1735
- package/dist/index.js.map +1 -1
- package/dist/{kanban-renderer-toolbar-ebqlG13w.js → kanban-renderer-toolbar-DzY6THJY.js} +3 -3
- package/dist/{kanban-renderer-toolbar-ebqlG13w.js.map → kanban-renderer-toolbar-DzY6THJY.js.map} +1 -1
- package/dist/kanban-renderer.js +5 -5
- package/dist/{lazy-markdown-editor-Obb0M8xc.js → lazy-markdown-editor-ClZPZuaU.js} +2 -2
- package/dist/{lazy-markdown-editor-Obb0M8xc.js.map → lazy-markdown-editor-ClZPZuaU.js.map} +1 -1
- package/dist/{list-row-CRi3Luog.js → list-row-BDoV_iMV.js} +3 -3
- package/dist/list-row-BDoV_iMV.js.map +1 -0
- package/dist/{markdown-editor-Bj_QX4oN.js → markdown-editor-CAVqJ9yR.js} +2 -2
- package/dist/{markdown-editor-Bj_QX4oN.js.map → markdown-editor-CAVqJ9yR.js.map} +1 -1
- package/dist/{markdown-kuU19Oh3.js → markdown-gNucAjnF.js} +9 -9
- package/dist/{markdown-kuU19Oh3.js.map → markdown-gNucAjnF.js.map} +1 -1
- package/dist/{param-editor-DhoxgwGd.js → param-editor-CTx3mDxQ.js} +2 -2
- package/dist/{param-editor-DhoxgwGd.js.map → param-editor-CTx3mDxQ.js.map} +1 -1
- package/dist/{param-editor-field-DurcyLuw.js → param-editor-field-DteDEyeU.js} +3 -3
- package/dist/{param-editor-field-DurcyLuw.js.map → param-editor-field-DteDEyeU.js.map} +1 -1
- package/dist/prompt-input-DNpRL5tI.js +564 -0
- package/dist/prompt-input-DNpRL5tI.js.map +1 -0
- package/dist/rich-message-CuPiKxKX.js +78 -0
- package/dist/rich-message-CuPiKxKX.js.map +1 -0
- package/dist/rich-text.js +24 -23
- package/dist/rich-text.js.map +1 -1
- package/dist/theme/primitives/colors.d.ts +0 -23
- package/dist/theme/recipes/activity-comment.d.ts +36 -0
- package/dist/theme/recipes/alert.d.ts +1 -1
- package/dist/theme/recipes/dialog.d.ts +1 -1
- package/dist/theme/recipes/drawer.d.ts +1 -1
- package/dist/theme/recipes/menu.d.ts +1 -1
- package/dist/theme/recipes/popover.d.ts +1 -1
- package/dist/theme/recipes/progress-circle.d.ts +3 -3
- package/dist/theme/recipes/switch.d.ts +1 -1
- package/dist/theme/recipes/timeline.d.ts +1 -1
- package/dist/theme/recipes/tooltip.d.ts +1 -1
- package/dist/theme/recipes/window-title-bar.d.ts +4 -1
- package/dist/{theme-Ca-KyNoi.js → theme-Dc7hVvMC.js} +120 -801
- package/dist/theme-Dc7hVvMC.js.map +1 -0
- package/dist/theme.js +1 -1
- package/dist/{tree-list-DXwHWodb.js → tree-list-CZvcg3_6.js} +2 -2
- package/dist/{tree-list-DXwHWodb.js.map → tree-list-CZvcg3_6.js.map} +1 -1
- package/package.json +2 -2
- package/dist/list-row-CRi3Luog.js.map +0 -1
- package/dist/rich-message-dNYvLDd4.js +0 -628
- package/dist/rich-message-dNYvLDd4.js.map +0 -1
- package/dist/theme/recipes/landing-story.d.ts +0 -10
- package/dist/theme/recipes/landing-tool-demo.d.ts +0 -1
- package/dist/theme/recipes/landing.d.ts +0 -23
- package/dist/theme-Ca-KyNoi.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineSlotRecipe as t, defineRecipe as c, defaultConfig as d, defineLayerStyles as k, defineTextStyles as
|
|
2
|
-
import { alertAnatomy as
|
|
3
|
-
import { progressCircleSlotRecipe as
|
|
1
|
+
import { defineSlotRecipe as t, defineRecipe as c, defaultConfig as d, defineLayerStyles as k, defineTextStyles as w, createSystem as C, defineConfig as E } from "@chakra-ui/react";
|
|
2
|
+
import { alertAnatomy as z, colorPickerAnatomy as A, dialogAnatomy as W, drawerAnatomy as R, fieldsetAnatomy as D, menuAnatomy as B, numberInputAnatomy as H, popoverAnatomy as T, switchAnatomy as L, tabsAnatomy as I, timelineAnatomy as V, tooltipAnatomy as P } from "@chakra-ui/react/anatomy";
|
|
3
|
+
import { progressCircleSlotRecipe as p } from "@chakra-ui/react/theme";
|
|
4
4
|
const X = t({
|
|
5
5
|
className: "ps-window-title-bar",
|
|
6
6
|
slots: ["root", "content"],
|
|
@@ -10,10 +10,8 @@ const X = t({
|
|
|
10
10
|
flexShrink: 0,
|
|
11
11
|
width: "full",
|
|
12
12
|
height: "window-title-bar",
|
|
13
|
-
bg: "bg
|
|
13
|
+
bg: "bg",
|
|
14
14
|
color: "fg",
|
|
15
|
-
borderBottomWidth: "1px",
|
|
16
|
-
borderColor: "border",
|
|
17
15
|
userSelect: "none",
|
|
18
16
|
WebkitAppRegion: "drag"
|
|
19
17
|
},
|
|
@@ -33,7 +31,10 @@ const X = t({
|
|
|
33
31
|
controls: {
|
|
34
32
|
mac: {
|
|
35
33
|
content: {
|
|
36
|
-
paddingInlineStart: "window-controls-mac"
|
|
34
|
+
paddingInlineStart: "window-controls-mac",
|
|
35
|
+
"[data-window-full-screen] &": {
|
|
36
|
+
paddingInlineStart: "compact"
|
|
37
|
+
}
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
overlay: {
|
|
@@ -60,6 +61,7 @@ const X = t({
|
|
|
60
61
|
scrollbarWidth: "none"
|
|
61
62
|
},
|
|
62
63
|
tab: {
|
|
64
|
+
position: "relative",
|
|
63
65
|
display: "flex",
|
|
64
66
|
alignItems: "center",
|
|
65
67
|
flexShrink: 0,
|
|
@@ -77,7 +79,13 @@ const X = t({
|
|
|
77
79
|
_hover: {
|
|
78
80
|
bg: "bg.hover",
|
|
79
81
|
color: "fg"
|
|
80
|
-
}
|
|
82
|
+
},
|
|
83
|
+
_dragging: {
|
|
84
|
+
bg: "bg.hover",
|
|
85
|
+
color: "fg",
|
|
86
|
+
zIndex: "docked"
|
|
87
|
+
},
|
|
88
|
+
WebkitAppRegion: "no-drag"
|
|
81
89
|
},
|
|
82
90
|
trigger: {
|
|
83
91
|
display: "flex",
|
|
@@ -92,6 +100,7 @@ const X = t({
|
|
|
92
100
|
borderRadius: "xs",
|
|
93
101
|
focusVisibleRing: "inside",
|
|
94
102
|
WebkitAppRegion: "no-drag",
|
|
103
|
+
touchAction: "none",
|
|
95
104
|
_icon: {
|
|
96
105
|
width: "icon-xs",
|
|
97
106
|
height: "icon-xs",
|
|
@@ -159,11 +168,11 @@ const X = t({
|
|
|
159
168
|
descriptionForeground: ["colors.fg.muted"],
|
|
160
169
|
disabledForeground: ["colors.fg.subtle"],
|
|
161
170
|
border: ["colors.border", "colors.border.subtle"]
|
|
162
|
-
},
|
|
171
|
+
}, U = (o) => `colors.vscode.${o}`, O = (o) => o.replace(/^#/, ""), Y = (o) => {
|
|
163
172
|
const l = (o.theme.tokenColors ?? []).flatMap((r) => (Array.isArray(r.scope) ? r.scope : r.scope ? [r.scope] : []).map((s) => ({
|
|
164
173
|
token: s,
|
|
165
174
|
...r.settings?.foreground ? {
|
|
166
|
-
foreground:
|
|
175
|
+
foreground: O(r.settings.foreground)
|
|
167
176
|
} : {},
|
|
168
177
|
...r.settings?.fontStyle ? {
|
|
169
178
|
fontStyle: r.settings.fontStyle
|
|
@@ -175,10 +184,10 @@ const X = t({
|
|
|
175
184
|
rules: l,
|
|
176
185
|
colors: o.theme.colors ?? {}
|
|
177
186
|
};
|
|
178
|
-
},
|
|
187
|
+
}, io = (o) => {
|
|
179
188
|
const l = {}, r = o.theme.colors ?? {};
|
|
180
189
|
for (const [n, s] of Object.entries(r))
|
|
181
|
-
l[
|
|
190
|
+
l[U(n)] = s;
|
|
182
191
|
for (const [n, s] of Object.entries(j)) {
|
|
183
192
|
const g = r[n];
|
|
184
193
|
if (g)
|
|
@@ -188,12 +197,12 @@ const X = t({
|
|
|
188
197
|
id: o.id,
|
|
189
198
|
mode: o.mode,
|
|
190
199
|
tokens: l,
|
|
191
|
-
monacoTheme:
|
|
200
|
+
monacoTheme: Y({
|
|
192
201
|
mode: o.mode,
|
|
193
202
|
theme: o.theme
|
|
194
203
|
})
|
|
195
204
|
};
|
|
196
|
-
},
|
|
205
|
+
}, $ = {
|
|
197
206
|
"*::selection": {
|
|
198
207
|
bg: {
|
|
199
208
|
base: "bg.accent-secondary.blue-medium",
|
|
@@ -254,7 +263,7 @@ const X = t({
|
|
|
254
263
|
fontSize: "1.5rem"
|
|
255
264
|
}
|
|
256
265
|
}
|
|
257
|
-
},
|
|
266
|
+
}, N = {
|
|
258
267
|
DEFAULT: {
|
|
259
268
|
value: "#0A0D15"
|
|
260
269
|
},
|
|
@@ -303,7 +312,7 @@ const X = t({
|
|
|
303
312
|
1e3: {
|
|
304
313
|
value: "#000000"
|
|
305
314
|
}
|
|
306
|
-
},
|
|
315
|
+
}, q = {
|
|
307
316
|
DEFAULT: {
|
|
308
317
|
value: "#5098FF"
|
|
309
318
|
},
|
|
@@ -337,7 +346,7 @@ const X = t({
|
|
|
337
346
|
900: {
|
|
338
347
|
value: "#002862"
|
|
339
348
|
}
|
|
340
|
-
},
|
|
349
|
+
}, G = {
|
|
341
350
|
DEFAULT: {
|
|
342
351
|
value: "#3A4BE4"
|
|
343
352
|
},
|
|
@@ -785,33 +794,10 @@ const X = t({
|
|
|
785
794
|
value: "#28C840"
|
|
786
795
|
}
|
|
787
796
|
},
|
|
788
|
-
illustration: {
|
|
789
|
-
desktop: {
|
|
790
|
-
value: "#FF6B1A"
|
|
791
|
-
},
|
|
792
|
-
page: {
|
|
793
|
-
value: "#29ABE2"
|
|
794
|
-
},
|
|
795
|
-
command: {
|
|
796
|
-
value: "#FBB040"
|
|
797
|
-
},
|
|
798
|
-
editor: {
|
|
799
|
-
value: "#29ABE2"
|
|
800
|
-
},
|
|
801
|
-
skill: {
|
|
802
|
-
value: "#E6357F"
|
|
803
|
-
},
|
|
804
|
-
hook: {
|
|
805
|
-
value: "#E6357F"
|
|
806
|
-
},
|
|
807
|
-
automation: {
|
|
808
|
-
value: "#F7931E"
|
|
809
|
-
}
|
|
810
|
-
},
|
|
811
797
|
sand: ae,
|
|
812
|
-
blacks:
|
|
813
|
-
blue:
|
|
814
|
-
sapphire:
|
|
798
|
+
blacks: N,
|
|
799
|
+
blue: q,
|
|
800
|
+
sapphire: G,
|
|
815
801
|
pink: K,
|
|
816
802
|
peach: J,
|
|
817
803
|
red: Q,
|
|
@@ -957,7 +943,7 @@ const X = t({
|
|
|
957
943
|
value: "0.4375rem"
|
|
958
944
|
},
|
|
959
945
|
"window-controls-mac": {
|
|
960
|
-
value: "
|
|
946
|
+
value: "5.625rem"
|
|
961
947
|
},
|
|
962
948
|
none: {
|
|
963
949
|
value: "0"
|
|
@@ -1105,7 +1091,7 @@ const X = t({
|
|
|
1105
1091
|
selection: {
|
|
1106
1092
|
value: "0.09375rem"
|
|
1107
1093
|
}
|
|
1108
|
-
},
|
|
1094
|
+
}, ve = {
|
|
1109
1095
|
none: {
|
|
1110
1096
|
value: "0"
|
|
1111
1097
|
},
|
|
@@ -1134,7 +1120,7 @@ const X = t({
|
|
|
1134
1120
|
value: "100%"
|
|
1135
1121
|
}
|
|
1136
1122
|
}, he = t({
|
|
1137
|
-
slots:
|
|
1123
|
+
slots: z.keys(),
|
|
1138
1124
|
base: {
|
|
1139
1125
|
root: {
|
|
1140
1126
|
px: "xs",
|
|
@@ -1206,7 +1192,7 @@ const X = t({
|
|
|
1206
1192
|
}
|
|
1207
1193
|
}
|
|
1208
1194
|
}]
|
|
1209
|
-
}),
|
|
1195
|
+
}), pe = c({
|
|
1210
1196
|
className: "chakra-badge",
|
|
1211
1197
|
base: {
|
|
1212
1198
|
display: "inline-flex",
|
|
@@ -1499,7 +1485,7 @@ const X = t({
|
|
|
1499
1485
|
variant: "outline"
|
|
1500
1486
|
}
|
|
1501
1487
|
}), u = "border.accent-light", xe = t({
|
|
1502
|
-
slots:
|
|
1488
|
+
slots: A.keys(),
|
|
1503
1489
|
base: {
|
|
1504
1490
|
control: {
|
|
1505
1491
|
display: "flex",
|
|
@@ -1619,7 +1605,7 @@ const X = t({
|
|
|
1619
1605
|
size: "sm"
|
|
1620
1606
|
}
|
|
1621
1607
|
}), ye = t({
|
|
1622
|
-
slots:
|
|
1608
|
+
slots: W.keys(),
|
|
1623
1609
|
base: {
|
|
1624
1610
|
content: {
|
|
1625
1611
|
bg: "bg",
|
|
@@ -1629,12 +1615,12 @@ const X = t({
|
|
|
1629
1615
|
overflow: "hidden"
|
|
1630
1616
|
}
|
|
1631
1617
|
}
|
|
1632
|
-
}),
|
|
1618
|
+
}), _e = c({
|
|
1633
1619
|
base: {
|
|
1634
1620
|
borderColor: "border.subtle"
|
|
1635
1621
|
}
|
|
1636
|
-
}),
|
|
1637
|
-
slots:
|
|
1622
|
+
}), Se = t({
|
|
1623
|
+
slots: R.keys(),
|
|
1638
1624
|
base: {
|
|
1639
1625
|
header: {
|
|
1640
1626
|
fontWeight: "medium",
|
|
@@ -1645,7 +1631,7 @@ const X = t({
|
|
|
1645
1631
|
bg: "bg"
|
|
1646
1632
|
}
|
|
1647
1633
|
}
|
|
1648
|
-
}),
|
|
1634
|
+
}), Fe = t({
|
|
1649
1635
|
slots: ["preview", "input", "textarea"],
|
|
1650
1636
|
base: {
|
|
1651
1637
|
preview: {
|
|
@@ -1745,13 +1731,13 @@ const X = t({
|
|
|
1745
1731
|
}
|
|
1746
1732
|
}
|
|
1747
1733
|
}), ke = t({
|
|
1748
|
-
slots:
|
|
1734
|
+
slots: D.keys(),
|
|
1749
1735
|
base: {
|
|
1750
1736
|
legend: {
|
|
1751
1737
|
mb: "2xs"
|
|
1752
1738
|
}
|
|
1753
1739
|
}
|
|
1754
|
-
}), a = "border.accent-light",
|
|
1740
|
+
}), a = "border.accent-light", we = c({
|
|
1755
1741
|
base: {
|
|
1756
1742
|
px: "sm",
|
|
1757
1743
|
borderRadius: "xs",
|
|
@@ -1888,7 +1874,7 @@ const X = t({
|
|
|
1888
1874
|
size: "sm",
|
|
1889
1875
|
variant: "outline"
|
|
1890
1876
|
}
|
|
1891
|
-
}),
|
|
1877
|
+
}), Ce = c({
|
|
1892
1878
|
base: {
|
|
1893
1879
|
display: "inline-flex",
|
|
1894
1880
|
alignItems: "center",
|
|
@@ -1952,670 +1938,6 @@ const X = t({
|
|
|
1952
1938
|
variant: "raised"
|
|
1953
1939
|
}
|
|
1954
1940
|
}), Ee = t({
|
|
1955
|
-
slots: ["root", "window", "titlebar", "windowControls", "windowControl", "mobileTitlebar", "mobileNav", "sidebar", "status", "body", "main", "hero", "heroCopy", "heroNavigation", "tools", "download", "brandTab", "panelsScroll", "panelScroll"],
|
|
1956
|
-
base: {
|
|
1957
|
-
root: {
|
|
1958
|
-
height: "100dvh",
|
|
1959
|
-
position: "relative",
|
|
1960
|
-
overflow: "hidden",
|
|
1961
|
-
bg: "bg.subtle"
|
|
1962
|
-
},
|
|
1963
|
-
window: {
|
|
1964
|
-
display: "flex",
|
|
1965
|
-
flexDirection: "column",
|
|
1966
|
-
height: "full",
|
|
1967
|
-
width: "full",
|
|
1968
|
-
position: "relative",
|
|
1969
|
-
bg: "bg.subtle",
|
|
1970
|
-
color: "fg",
|
|
1971
|
-
overflow: "hidden"
|
|
1972
|
-
},
|
|
1973
|
-
titlebar: {
|
|
1974
|
-
height: "11",
|
|
1975
|
-
flexShrink: 0,
|
|
1976
|
-
gap: "xs",
|
|
1977
|
-
px: "compact",
|
|
1978
|
-
display: {
|
|
1979
|
-
base: "none",
|
|
1980
|
-
md: "flex"
|
|
1981
|
-
},
|
|
1982
|
-
alignItems: "center"
|
|
1983
|
-
},
|
|
1984
|
-
windowControls: {
|
|
1985
|
-
display: "flex",
|
|
1986
|
-
alignItems: "center",
|
|
1987
|
-
gap: "xs",
|
|
1988
|
-
px: "sm",
|
|
1989
|
-
flexShrink: 0
|
|
1990
|
-
},
|
|
1991
|
-
windowControl: {
|
|
1992
|
-
display: "flex",
|
|
1993
|
-
alignItems: "center",
|
|
1994
|
-
justifyContent: "center",
|
|
1995
|
-
width: "icon-2xs",
|
|
1996
|
-
height: "icon-2xs",
|
|
1997
|
-
borderRadius: "full",
|
|
1998
|
-
color: "blackAlpha.700",
|
|
1999
|
-
cursor: "pointer",
|
|
2000
|
-
"& svg": {
|
|
2001
|
-
width: "2",
|
|
2002
|
-
height: "2",
|
|
2003
|
-
visibility: "hidden"
|
|
2004
|
-
},
|
|
2005
|
-
"&[data-control=close]:not(:disabled)": {
|
|
2006
|
-
bg: "windowControl.close"
|
|
2007
|
-
},
|
|
2008
|
-
"&[data-control=minimize]:not(:disabled)": {
|
|
2009
|
-
bg: "windowControl.minimize"
|
|
2010
|
-
},
|
|
2011
|
-
"&[data-control=zoom]": {
|
|
2012
|
-
bg: "windowControl.zoom"
|
|
2013
|
-
},
|
|
2014
|
-
_groupHover: {
|
|
2015
|
-
"&:not(:disabled) svg": {
|
|
2016
|
-
visibility: "visible"
|
|
2017
|
-
}
|
|
2018
|
-
},
|
|
2019
|
-
_focusVisible: {
|
|
2020
|
-
outline: "2px solid",
|
|
2021
|
-
outlineColor: "fg",
|
|
2022
|
-
outlineOffset: "2px",
|
|
2023
|
-
"& svg": {
|
|
2024
|
-
visibility: "visible"
|
|
2025
|
-
}
|
|
2026
|
-
},
|
|
2027
|
-
_disabled: {
|
|
2028
|
-
bg: "bg.muted",
|
|
2029
|
-
cursor: "not-allowed",
|
|
2030
|
-
"& svg": {
|
|
2031
|
-
visibility: "hidden"
|
|
2032
|
-
}
|
|
2033
|
-
}
|
|
2034
|
-
},
|
|
2035
|
-
mobileTitlebar: {
|
|
2036
|
-
height: "mobile-titlebar",
|
|
2037
|
-
flexShrink: 0,
|
|
2038
|
-
gap: "xs",
|
|
2039
|
-
px: "sm",
|
|
2040
|
-
display: {
|
|
2041
|
-
base: "flex",
|
|
2042
|
-
md: "none"
|
|
2043
|
-
},
|
|
2044
|
-
textAlign: "left",
|
|
2045
|
-
alignItems: "center"
|
|
2046
|
-
},
|
|
2047
|
-
mobileNav: {
|
|
2048
|
-
alignItems: "center",
|
|
2049
|
-
height: "10",
|
|
2050
|
-
flexShrink: 0,
|
|
2051
|
-
width: "full",
|
|
2052
|
-
gap: "xs",
|
|
2053
|
-
px: "md",
|
|
2054
|
-
display: {
|
|
2055
|
-
base: "flex",
|
|
2056
|
-
lg: "none"
|
|
2057
|
-
}
|
|
2058
|
-
},
|
|
2059
|
-
sidebar: {
|
|
2060
|
-
display: "flex",
|
|
2061
|
-
flexDirection: "column",
|
|
2062
|
-
layerStyle: "panel",
|
|
2063
|
-
height: "full",
|
|
2064
|
-
width: "full",
|
|
2065
|
-
flexShrink: 0,
|
|
2066
|
-
gap: "2xs",
|
|
2067
|
-
px: "xs",
|
|
2068
|
-
py: "xs",
|
|
2069
|
-
bg: "bg.subtle"
|
|
2070
|
-
},
|
|
2071
|
-
status: {
|
|
2072
|
-
minHeight: "7",
|
|
2073
|
-
flexShrink: 0,
|
|
2074
|
-
flexWrap: "wrap",
|
|
2075
|
-
gap: "xs",
|
|
2076
|
-
rowGap: "2xs",
|
|
2077
|
-
px: "xs",
|
|
2078
|
-
color: "fg.muted"
|
|
2079
|
-
},
|
|
2080
|
-
body: {
|
|
2081
|
-
display: "flex",
|
|
2082
|
-
flex: 1,
|
|
2083
|
-
minHeight: 0,
|
|
2084
|
-
p: "panel-gap"
|
|
2085
|
-
},
|
|
2086
|
-
main: {
|
|
2087
|
-
flex: 1,
|
|
2088
|
-
minHeight: 0,
|
|
2089
|
-
minWidth: 0,
|
|
2090
|
-
position: "relative",
|
|
2091
|
-
overflow: "hidden"
|
|
2092
|
-
},
|
|
2093
|
-
panelsScroll: {
|
|
2094
|
-
"& > [data-part=viewport] > [data-part=content]": {
|
|
2095
|
-
height: {
|
|
2096
|
-
base: "auto",
|
|
2097
|
-
lg: "full"
|
|
2098
|
-
}
|
|
2099
|
-
},
|
|
2100
|
-
"& > [data-part=scrollbar]": {
|
|
2101
|
-
display: {
|
|
2102
|
-
base: "flex",
|
|
2103
|
-
lg: "none"
|
|
2104
|
-
}
|
|
2105
|
-
}
|
|
2106
|
-
},
|
|
2107
|
-
panelScroll: {
|
|
2108
|
-
display: {
|
|
2109
|
-
base: "contents",
|
|
2110
|
-
lg: "flex"
|
|
2111
|
-
},
|
|
2112
|
-
"& > [data-part=viewport]": {
|
|
2113
|
-
display: {
|
|
2114
|
-
base: "contents",
|
|
2115
|
-
lg: "block"
|
|
2116
|
-
}
|
|
2117
|
-
},
|
|
2118
|
-
"& > [data-part=viewport] > [data-part=content]": {
|
|
2119
|
-
display: {
|
|
2120
|
-
base: "contents",
|
|
2121
|
-
lg: "block"
|
|
2122
|
-
}
|
|
2123
|
-
},
|
|
2124
|
-
"& > [data-part=scrollbar]": {
|
|
2125
|
-
display: {
|
|
2126
|
-
base: "none",
|
|
2127
|
-
lg: "flex"
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2130
|
-
},
|
|
2131
|
-
hero: {
|
|
2132
|
-
display: "flex",
|
|
2133
|
-
flexDirection: "column",
|
|
2134
|
-
layerStyle: "panel",
|
|
2135
|
-
bg: "bg",
|
|
2136
|
-
width: "full",
|
|
2137
|
-
height: "full",
|
|
2138
|
-
overflow: "hidden"
|
|
2139
|
-
},
|
|
2140
|
-
heroNavigation: {
|
|
2141
|
-
display: "flex",
|
|
2142
|
-
flexWrap: "wrap",
|
|
2143
|
-
justifyContent: "space-between",
|
|
2144
|
-
gap: "sm",
|
|
2145
|
-
flexShrink: 0,
|
|
2146
|
-
px: {
|
|
2147
|
-
base: "lg",
|
|
2148
|
-
xl: "3xl"
|
|
2149
|
-
},
|
|
2150
|
-
py: "lg",
|
|
2151
|
-
"& [data-direction=next]": {
|
|
2152
|
-
marginInlineStart: "auto",
|
|
2153
|
-
flexDirection: "row-reverse"
|
|
2154
|
-
}
|
|
2155
|
-
},
|
|
2156
|
-
heroCopy: {
|
|
2157
|
-
display: "flex",
|
|
2158
|
-
flexDirection: "column",
|
|
2159
|
-
minHeight: "full",
|
|
2160
|
-
width: "full",
|
|
2161
|
-
maxWidth: "2xl",
|
|
2162
|
-
mx: "auto",
|
|
2163
|
-
gap: "xl",
|
|
2164
|
-
px: {
|
|
2165
|
-
base: "lg",
|
|
2166
|
-
xl: "3xl"
|
|
2167
|
-
},
|
|
2168
|
-
py: {
|
|
2169
|
-
base: "xl",
|
|
2170
|
-
xl: "4xl"
|
|
2171
|
-
}
|
|
2172
|
-
},
|
|
2173
|
-
tools: {
|
|
2174
|
-
layerStyle: "panel",
|
|
2175
|
-
bg: "bg",
|
|
2176
|
-
position: "relative",
|
|
2177
|
-
overflow: "hidden",
|
|
2178
|
-
width: "full",
|
|
2179
|
-
height: "full",
|
|
2180
|
-
minHeight: "0"
|
|
2181
|
-
},
|
|
2182
|
-
download: {
|
|
2183
|
-
display: "flex",
|
|
2184
|
-
flexDirection: "column",
|
|
2185
|
-
gap: "sm",
|
|
2186
|
-
alignItems: "start",
|
|
2187
|
-
width: "full"
|
|
2188
|
-
},
|
|
2189
|
-
brandTab: {
|
|
2190
|
-
height: "7",
|
|
2191
|
-
px: "compact",
|
|
2192
|
-
gap: "xs",
|
|
2193
|
-
borderRadius: "xs",
|
|
2194
|
-
bg: "bg.hover",
|
|
2195
|
-
color: "fg",
|
|
2196
|
-
borderWidth: "1px",
|
|
2197
|
-
borderColor: "border.subtle",
|
|
2198
|
-
flexShrink: 0,
|
|
2199
|
-
cursor: "pointer"
|
|
2200
|
-
}
|
|
2201
|
-
},
|
|
2202
|
-
variants: {
|
|
2203
|
-
windowed: {
|
|
2204
|
-
true: {
|
|
2205
|
-
root: {
|
|
2206
|
-
bg: "illustration.desktop"
|
|
2207
|
-
},
|
|
2208
|
-
window: {
|
|
2209
|
-
height: "calc(100dvh - 12rem)",
|
|
2210
|
-
width: "calc(100% - 15rem)",
|
|
2211
|
-
mx: "7.5rem",
|
|
2212
|
-
my: "6rem",
|
|
2213
|
-
borderRadius: "lg",
|
|
2214
|
-
boxShadow: "2xl"
|
|
2215
|
-
},
|
|
2216
|
-
titlebar: {
|
|
2217
|
-
cursor: "grab",
|
|
2218
|
-
_active: {
|
|
2219
|
-
cursor: "grabbing"
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
|
-
}
|
|
2224
|
-
}
|
|
2225
|
-
}), We = t({
|
|
2226
|
-
slots: ["page", "section", "featureSection", "intro", "visual", "panels", "panel", "panelHeader", "panelBody", "blockGrid", "block", "blockSymbol", "blockMark", "composition"],
|
|
2227
|
-
base: {
|
|
2228
|
-
page: {
|
|
2229
|
-
display: "flex",
|
|
2230
|
-
flexDirection: "column",
|
|
2231
|
-
width: "full",
|
|
2232
|
-
minWidth: 0,
|
|
2233
|
-
gap: "4xl",
|
|
2234
|
-
px: {
|
|
2235
|
-
base: "lg",
|
|
2236
|
-
md: "xl"
|
|
2237
|
-
},
|
|
2238
|
-
py: "3xl",
|
|
2239
|
-
containerType: "inline-size"
|
|
2240
|
-
},
|
|
2241
|
-
section: {
|
|
2242
|
-
display: "flex",
|
|
2243
|
-
flexDirection: "column",
|
|
2244
|
-
gap: "lg",
|
|
2245
|
-
width: "full",
|
|
2246
|
-
minWidth: 0
|
|
2247
|
-
},
|
|
2248
|
-
featureSection: {
|
|
2249
|
-
display: "flex",
|
|
2250
|
-
flexDirection: "column",
|
|
2251
|
-
gap: "xl",
|
|
2252
|
-
width: "full",
|
|
2253
|
-
minWidth: 0,
|
|
2254
|
-
pt: "xl",
|
|
2255
|
-
pb: "xl"
|
|
2256
|
-
},
|
|
2257
|
-
intro: {
|
|
2258
|
-
display: "flex",
|
|
2259
|
-
flexDirection: "column",
|
|
2260
|
-
gap: "sm",
|
|
2261
|
-
maxWidth: "3xl"
|
|
2262
|
-
},
|
|
2263
|
-
visual: {
|
|
2264
|
-
layerStyle: "panel",
|
|
2265
|
-
bg: "bg.subtle",
|
|
2266
|
-
p: "xs",
|
|
2267
|
-
width: "full",
|
|
2268
|
-
minWidth: 0
|
|
2269
|
-
},
|
|
2270
|
-
panels: {
|
|
2271
|
-
display: "grid",
|
|
2272
|
-
gridTemplateColumns: "minmax(0, 1fr)",
|
|
2273
|
-
gap: "panel-gap",
|
|
2274
|
-
"@container (min-width: 36rem)": {
|
|
2275
|
-
gridTemplateColumns: "minmax(0, 1fr) minmax(0, 1.3fr)"
|
|
2276
|
-
}
|
|
2277
|
-
},
|
|
2278
|
-
panel: {
|
|
2279
|
-
layerStyle: "panel",
|
|
2280
|
-
bg: "bg",
|
|
2281
|
-
minWidth: 0,
|
|
2282
|
-
height: "full",
|
|
2283
|
-
display: "flex",
|
|
2284
|
-
flexDirection: "column",
|
|
2285
|
-
"&[data-highlighted=true]": {
|
|
2286
|
-
borderColor: "fg.muted"
|
|
2287
|
-
}
|
|
2288
|
-
},
|
|
2289
|
-
panelHeader: {
|
|
2290
|
-
display: "flex",
|
|
2291
|
-
alignItems: "center",
|
|
2292
|
-
gap: "sm",
|
|
2293
|
-
p: "md",
|
|
2294
|
-
borderBottomWidth: "1px",
|
|
2295
|
-
borderColor: "border.subtle",
|
|
2296
|
-
textStyle: "label/M/medium"
|
|
2297
|
-
},
|
|
2298
|
-
panelBody: {
|
|
2299
|
-
display: "flex",
|
|
2300
|
-
flexDirection: "column",
|
|
2301
|
-
gap: "md",
|
|
2302
|
-
p: "md",
|
|
2303
|
-
flex: 1,
|
|
2304
|
-
minWidth: 0
|
|
2305
|
-
},
|
|
2306
|
-
blockGrid: {
|
|
2307
|
-
display: "grid",
|
|
2308
|
-
gap: "sm",
|
|
2309
|
-
gridTemplateColumns: "minmax(0, 1fr)",
|
|
2310
|
-
"@container (min-width: 26rem)": {
|
|
2311
|
-
gridTemplateColumns: "repeat(2, minmax(0, 1fr))"
|
|
2312
|
-
},
|
|
2313
|
-
"@container (min-width: 55rem)": {
|
|
2314
|
-
gridTemplateColumns: "repeat(3, minmax(0, 1fr))"
|
|
2315
|
-
}
|
|
2316
|
-
},
|
|
2317
|
-
block: {
|
|
2318
|
-
display: "flex",
|
|
2319
|
-
flexDirection: "column",
|
|
2320
|
-
alignItems: "start",
|
|
2321
|
-
gap: "sm",
|
|
2322
|
-
p: "lg",
|
|
2323
|
-
bg: "bg.subtle",
|
|
2324
|
-
borderRadius: "sm",
|
|
2325
|
-
borderWidth: "1px",
|
|
2326
|
-
borderColor: "border.subtle",
|
|
2327
|
-
textAlign: "left",
|
|
2328
|
-
color: "fg"
|
|
2329
|
-
},
|
|
2330
|
-
blockMark: {
|
|
2331
|
-
display: "inline-flex",
|
|
2332
|
-
flexShrink: 0,
|
|
2333
|
-
"& svg": {
|
|
2334
|
-
height: "full",
|
|
2335
|
-
width: "auto",
|
|
2336
|
-
maxWidth: "none"
|
|
2337
|
-
}
|
|
2338
|
-
},
|
|
2339
|
-
blockSymbol: {
|
|
2340
|
-
display: "flex",
|
|
2341
|
-
alignItems: "center",
|
|
2342
|
-
justifyContent: "start",
|
|
2343
|
-
height: "16",
|
|
2344
|
-
width: "full"
|
|
2345
|
-
},
|
|
2346
|
-
composition: {
|
|
2347
|
-
display: "flex",
|
|
2348
|
-
flexDirection: "column",
|
|
2349
|
-
gap: "md",
|
|
2350
|
-
borderTopWidth: "1px",
|
|
2351
|
-
borderColor: "border.subtle",
|
|
2352
|
-
pt: "lg"
|
|
2353
|
-
}
|
|
2354
|
-
},
|
|
2355
|
-
variants: {
|
|
2356
|
-
spacing: {
|
|
2357
|
-
normal: {},
|
|
2358
|
-
spacious: {
|
|
2359
|
-
page: {
|
|
2360
|
-
gap: "5xl"
|
|
2361
|
-
}
|
|
2362
|
-
}
|
|
2363
|
-
}
|
|
2364
|
-
},
|
|
2365
|
-
defaultVariants: {
|
|
2366
|
-
spacing: "normal"
|
|
2367
|
-
}
|
|
2368
|
-
}), ze = t({
|
|
2369
|
-
slots: ["iconEditor", "iconPicker", "iconGrid", "iconTile", "iconName", "tileSymbol", "iconCanvas", "inspectorSymbol", "inspector", "toolbar", "metrics", "metric", "sessions", "session", "sessionStatus", "preview", "checks", "prompt", "plot", "plotGrid", "plotCurve", "plotComparison", "plotCursor", "plotPoint", "shaderCode", "shaderCanvas", "extensionPanels"],
|
|
2370
|
-
base: {
|
|
2371
|
-
extensionPanels: {
|
|
2372
|
-
display: "grid",
|
|
2373
|
-
gridTemplateColumns: "repeat(auto-fit, minmax(min(100%, {sizes.48}), 1fr))",
|
|
2374
|
-
gap: "panel-gap",
|
|
2375
|
-
minHeight: "64",
|
|
2376
|
-
width: "full"
|
|
2377
|
-
},
|
|
2378
|
-
iconPicker: {
|
|
2379
|
-
display: "grid",
|
|
2380
|
-
gridTemplateColumns: "repeat(3, minmax(0, 1fr))",
|
|
2381
|
-
"@container (min-width: 26rem)": {
|
|
2382
|
-
gridTemplateColumns: "repeat(6, minmax(0, 1fr))"
|
|
2383
|
-
},
|
|
2384
|
-
gap: "xs"
|
|
2385
|
-
},
|
|
2386
|
-
shaderCode: {
|
|
2387
|
-
textStyle: "mono/XS",
|
|
2388
|
-
fontSize: "sm",
|
|
2389
|
-
minHeight: "64",
|
|
2390
|
-
flex: 1,
|
|
2391
|
-
resize: "none"
|
|
2392
|
-
},
|
|
2393
|
-
shaderCanvas: {
|
|
2394
|
-
display: "block",
|
|
2395
|
-
width: "full",
|
|
2396
|
-
aspectRatio: "4 / 3",
|
|
2397
|
-
bg: "bg.subtle",
|
|
2398
|
-
borderRadius: "sm"
|
|
2399
|
-
},
|
|
2400
|
-
plot: {
|
|
2401
|
-
width: "full",
|
|
2402
|
-
bg: "bg.subtle",
|
|
2403
|
-
borderRadius: "sm"
|
|
2404
|
-
},
|
|
2405
|
-
plotGrid: {
|
|
2406
|
-
fill: "none",
|
|
2407
|
-
stroke: "border.subtle",
|
|
2408
|
-
strokeWidth: 1
|
|
2409
|
-
},
|
|
2410
|
-
plotComparison: {
|
|
2411
|
-
fill: "none",
|
|
2412
|
-
stroke: "fg.muted",
|
|
2413
|
-
strokeWidth: 2,
|
|
2414
|
-
strokeDasharray: "5 5"
|
|
2415
|
-
},
|
|
2416
|
-
plotCurve: {
|
|
2417
|
-
fill: "none",
|
|
2418
|
-
stroke: "fg.info",
|
|
2419
|
-
strokeWidth: 3,
|
|
2420
|
-
strokeLinecap: "round",
|
|
2421
|
-
strokeLinejoin: "round"
|
|
2422
|
-
},
|
|
2423
|
-
plotCursor: {
|
|
2424
|
-
stroke: "fg.muted",
|
|
2425
|
-
strokeWidth: 1,
|
|
2426
|
-
strokeDasharray: "4 4"
|
|
2427
|
-
},
|
|
2428
|
-
plotPoint: {
|
|
2429
|
-
fill: "fg",
|
|
2430
|
-
stroke: "bg",
|
|
2431
|
-
strokeWidth: 2
|
|
2432
|
-
},
|
|
2433
|
-
iconEditor: {
|
|
2434
|
-
display: "grid",
|
|
2435
|
-
gridTemplateColumns: "minmax(0, 1fr)",
|
|
2436
|
-
gap: "panel-gap",
|
|
2437
|
-
"@container (min-width: 36rem)": {
|
|
2438
|
-
gridTemplateColumns: "minmax(0, 1.5fr) minmax(0, 1fr)"
|
|
2439
|
-
}
|
|
2440
|
-
},
|
|
2441
|
-
iconGrid: {
|
|
2442
|
-
display: "grid",
|
|
2443
|
-
gridTemplateColumns: "repeat(auto-fill, minmax(min({sizes.24}, 100%), 1fr))",
|
|
2444
|
-
gap: "xs",
|
|
2445
|
-
listStyle: "none",
|
|
2446
|
-
py: "xs"
|
|
2447
|
-
},
|
|
2448
|
-
iconTile: {
|
|
2449
|
-
display: "flex",
|
|
2450
|
-
flexDirection: "column",
|
|
2451
|
-
alignItems: "center",
|
|
2452
|
-
justifyContent: "center",
|
|
2453
|
-
gap: "xs",
|
|
2454
|
-
minWidth: 0,
|
|
2455
|
-
minHeight: "28",
|
|
2456
|
-
p: "sm",
|
|
2457
|
-
bg: "bg.subtle",
|
|
2458
|
-
borderWidth: "1px",
|
|
2459
|
-
borderColor: "border.subtle",
|
|
2460
|
-
borderRadius: "sm",
|
|
2461
|
-
color: "fg",
|
|
2462
|
-
transitionProperty: "opacity, background-color, border-color",
|
|
2463
|
-
transitionDuration: "moderate",
|
|
2464
|
-
"&[data-state=pending]": {
|
|
2465
|
-
opacity: 0.25
|
|
2466
|
-
},
|
|
2467
|
-
"&[data-state=active]": {
|
|
2468
|
-
borderColor: "fg.info",
|
|
2469
|
-
bg: "bg.info"
|
|
2470
|
-
},
|
|
2471
|
-
"@media (prefers-reduced-motion: reduce)": {
|
|
2472
|
-
transition: "none"
|
|
2473
|
-
},
|
|
2474
|
-
"&[aria-pressed]": {
|
|
2475
|
-
cursor: "pointer",
|
|
2476
|
-
_hover: {
|
|
2477
|
-
bg: "bg.hover"
|
|
2478
|
-
}
|
|
2479
|
-
},
|
|
2480
|
-
_focusVisible: {
|
|
2481
|
-
outline: "2px solid",
|
|
2482
|
-
outlineColor: "fg",
|
|
2483
|
-
outlineOffset: "2px"
|
|
2484
|
-
},
|
|
2485
|
-
"&[aria-pressed=true]": {
|
|
2486
|
-
borderColor: "fg.info",
|
|
2487
|
-
bg: "bg.info"
|
|
2488
|
-
}
|
|
2489
|
-
},
|
|
2490
|
-
iconName: {
|
|
2491
|
-
textStyle: "label/S/regular",
|
|
2492
|
-
maxWidth: "full",
|
|
2493
|
-
overflow: "hidden",
|
|
2494
|
-
textOverflow: "ellipsis",
|
|
2495
|
-
whiteSpace: "nowrap"
|
|
2496
|
-
},
|
|
2497
|
-
tileSymbol: {
|
|
2498
|
-
boxSize: "8",
|
|
2499
|
-
fontSize: "{sizes.8}",
|
|
2500
|
-
mb: "xs"
|
|
2501
|
-
},
|
|
2502
|
-
iconCanvas: {
|
|
2503
|
-
display: "flex",
|
|
2504
|
-
alignItems: "center",
|
|
2505
|
-
justifyContent: "center",
|
|
2506
|
-
bg: "bg.subtle",
|
|
2507
|
-
borderRadius: "sm",
|
|
2508
|
-
minHeight: "44",
|
|
2509
|
-
p: "xl"
|
|
2510
|
-
},
|
|
2511
|
-
inspectorSymbol: {
|
|
2512
|
-
boxSize: "24",
|
|
2513
|
-
fontSize: "{sizes.24}"
|
|
2514
|
-
},
|
|
2515
|
-
inspector: {
|
|
2516
|
-
display: "flex",
|
|
2517
|
-
flexDirection: "column",
|
|
2518
|
-
gap: "md"
|
|
2519
|
-
},
|
|
2520
|
-
toolbar: {
|
|
2521
|
-
display: "flex",
|
|
2522
|
-
alignItems: "center",
|
|
2523
|
-
justifyContent: "space-between",
|
|
2524
|
-
gap: "sm",
|
|
2525
|
-
flexWrap: "wrap"
|
|
2526
|
-
},
|
|
2527
|
-
metrics: {
|
|
2528
|
-
display: "grid",
|
|
2529
|
-
gridTemplateColumns: "repeat(3, minmax(0, 1fr))",
|
|
2530
|
-
gap: "panel-gap"
|
|
2531
|
-
},
|
|
2532
|
-
metric: {
|
|
2533
|
-
layerStyle: "panel",
|
|
2534
|
-
bg: "bg",
|
|
2535
|
-
p: "md",
|
|
2536
|
-
display: "flex",
|
|
2537
|
-
flexDirection: "column",
|
|
2538
|
-
gap: "xs"
|
|
2539
|
-
},
|
|
2540
|
-
sessions: {
|
|
2541
|
-
display: "flex",
|
|
2542
|
-
flexDirection: "column",
|
|
2543
|
-
gap: "sm",
|
|
2544
|
-
listStyle: "none"
|
|
2545
|
-
},
|
|
2546
|
-
session: {
|
|
2547
|
-
display: "flex",
|
|
2548
|
-
flexDirection: "column",
|
|
2549
|
-
gap: "md",
|
|
2550
|
-
width: "full",
|
|
2551
|
-
p: "md",
|
|
2552
|
-
minWidth: 0,
|
|
2553
|
-
textAlign: "left",
|
|
2554
|
-
color: "fg",
|
|
2555
|
-
layerStyle: "panel",
|
|
2556
|
-
bg: "bg.subtle",
|
|
2557
|
-
"&[aria-pressed]": {
|
|
2558
|
-
cursor: "pointer",
|
|
2559
|
-
_hover: {
|
|
2560
|
-
bg: "bg.hover"
|
|
2561
|
-
}
|
|
2562
|
-
},
|
|
2563
|
-
_focusVisible: {
|
|
2564
|
-
outline: "2px solid",
|
|
2565
|
-
outlineColor: "fg",
|
|
2566
|
-
outlineOffset: "2px"
|
|
2567
|
-
},
|
|
2568
|
-
"&[aria-pressed=true]": {
|
|
2569
|
-
borderColor: "fg.muted",
|
|
2570
|
-
bg: "bg.active"
|
|
2571
|
-
},
|
|
2572
|
-
"&[data-status=in_progress]": {
|
|
2573
|
-
borderColor: "fg.info",
|
|
2574
|
-
bg: "bg.info"
|
|
2575
|
-
},
|
|
2576
|
-
"&[data-status=completed]": {
|
|
2577
|
-
borderColor: "fg.success"
|
|
2578
|
-
}
|
|
2579
|
-
},
|
|
2580
|
-
sessionStatus: {
|
|
2581
|
-
gap: "xs",
|
|
2582
|
-
"&[data-status=in_progress] > svg": {
|
|
2583
|
-
animation: "spin 1.2s linear infinite"
|
|
2584
|
-
},
|
|
2585
|
-
"@media (prefers-reduced-motion: reduce)": {
|
|
2586
|
-
"&[data-status=in_progress] > svg": {
|
|
2587
|
-
animation: "none"
|
|
2588
|
-
}
|
|
2589
|
-
}
|
|
2590
|
-
},
|
|
2591
|
-
preview: {
|
|
2592
|
-
layerStyle: "panel",
|
|
2593
|
-
bg: "bg.subtle",
|
|
2594
|
-
p: "md",
|
|
2595
|
-
overflow: "hidden",
|
|
2596
|
-
minWidth: 0,
|
|
2597
|
-
flex: 1
|
|
2598
|
-
},
|
|
2599
|
-
checks: {
|
|
2600
|
-
display: "flex",
|
|
2601
|
-
flexWrap: "wrap",
|
|
2602
|
-
gap: "md",
|
|
2603
|
-
textStyle: "label/S/regular",
|
|
2604
|
-
color: "fg.success"
|
|
2605
|
-
},
|
|
2606
|
-
prompt: {
|
|
2607
|
-
display: "flex",
|
|
2608
|
-
alignItems: "center",
|
|
2609
|
-
justifyContent: "space-between",
|
|
2610
|
-
flexWrap: "wrap",
|
|
2611
|
-
gap: "md",
|
|
2612
|
-
p: "lg",
|
|
2613
|
-
bg: "bg.subtle",
|
|
2614
|
-
layerStyle: "panel",
|
|
2615
|
-
textStyle: "paragraph/L/regular"
|
|
2616
|
-
}
|
|
2617
|
-
}
|
|
2618
|
-
}), De = t({
|
|
2619
1941
|
slots: B.keys(),
|
|
2620
1942
|
base: {
|
|
2621
1943
|
itemGroupLabel: {
|
|
@@ -2695,7 +2017,7 @@ const X = t({
|
|
|
2695
2017
|
textStyle: "label/M/regular"
|
|
2696
2018
|
}
|
|
2697
2019
|
}
|
|
2698
|
-
}),
|
|
2020
|
+
}), ze = "var(--chakra-colors-border)", v = "var(--chakra-colors-border-accent-light)", Ae = t({
|
|
2699
2021
|
slots: H.keys(),
|
|
2700
2022
|
base: {
|
|
2701
2023
|
root: {
|
|
@@ -2703,15 +2025,15 @@ const X = t({
|
|
|
2703
2025
|
zIndex: "0",
|
|
2704
2026
|
isolation: "isolate",
|
|
2705
2027
|
boxShadow: "none",
|
|
2706
|
-
"--number-input-border-color":
|
|
2028
|
+
"--number-input-border-color": ze,
|
|
2707
2029
|
"&:is(:hover, [data-hover])": {
|
|
2708
|
-
"--number-input-border-color":
|
|
2030
|
+
"--number-input-border-color": v
|
|
2709
2031
|
},
|
|
2710
2032
|
"&:is(:active, [data-active])": {
|
|
2711
|
-
"--number-input-border-color":
|
|
2033
|
+
"--number-input-border-color": v
|
|
2712
2034
|
},
|
|
2713
2035
|
"&:focus-within": {
|
|
2714
|
-
"--number-input-border-color":
|
|
2036
|
+
"--number-input-border-color": v
|
|
2715
2037
|
}
|
|
2716
2038
|
},
|
|
2717
2039
|
input: {
|
|
@@ -2908,7 +2230,7 @@ const X = t({
|
|
|
2908
2230
|
size: "sm",
|
|
2909
2231
|
variant: "outline"
|
|
2910
2232
|
}
|
|
2911
|
-
}),
|
|
2233
|
+
}), We = t({
|
|
2912
2234
|
slots: T.keys(),
|
|
2913
2235
|
base: {
|
|
2914
2236
|
positioner: {
|
|
@@ -2962,12 +2284,12 @@ const X = t({
|
|
|
2962
2284
|
}
|
|
2963
2285
|
}
|
|
2964
2286
|
}
|
|
2965
|
-
}),
|
|
2966
|
-
...
|
|
2287
|
+
}), Re = p.variants?.size ?? {}, De = {
|
|
2288
|
+
...p,
|
|
2967
2289
|
variants: {
|
|
2968
|
-
...
|
|
2290
|
+
...p.variants,
|
|
2969
2291
|
size: {
|
|
2970
|
-
...
|
|
2292
|
+
...Re,
|
|
2971
2293
|
"2xs": {
|
|
2972
2294
|
circle: {
|
|
2973
2295
|
"--size": "14px",
|
|
@@ -3001,7 +2323,7 @@ const X = t({
|
|
|
3001
2323
|
separator: {
|
|
3002
2324
|
display: "none"
|
|
3003
2325
|
}
|
|
3004
|
-
},
|
|
2326
|
+
}, Be = t({
|
|
3005
2327
|
slots: ["root", "resizablePanel", "contentPanel", "separator"],
|
|
3006
2328
|
base: {
|
|
3007
2329
|
root: {
|
|
@@ -3100,13 +2422,13 @@ const X = t({
|
|
|
3100
2422
|
orientation: "horizontal",
|
|
3101
2423
|
layout: "split"
|
|
3102
2424
|
}
|
|
3103
|
-
}),
|
|
2425
|
+
}), He = c({
|
|
3104
2426
|
base: {
|
|
3105
2427
|
"--start-color": "fg",
|
|
3106
2428
|
"--end-color": "fg.muted"
|
|
3107
2429
|
}
|
|
3108
|
-
}),
|
|
3109
|
-
slots:
|
|
2430
|
+
}), Te = t({
|
|
2431
|
+
slots: L.keys(),
|
|
3110
2432
|
base: {
|
|
3111
2433
|
control: {
|
|
3112
2434
|
alignItems: "center",
|
|
@@ -3169,8 +2491,8 @@ const X = t({
|
|
|
3169
2491
|
}
|
|
3170
2492
|
}
|
|
3171
2493
|
}
|
|
3172
|
-
}),
|
|
3173
|
-
slots:
|
|
2494
|
+
}), Le = t({
|
|
2495
|
+
slots: I.keys(),
|
|
3174
2496
|
base: {
|
|
3175
2497
|
root: {
|
|
3176
2498
|
"--tabs-trigger-radius": "radii.xs"
|
|
@@ -3304,7 +2626,7 @@ const X = t({
|
|
|
3304
2626
|
size: "xs",
|
|
3305
2627
|
variant: "subtle"
|
|
3306
2628
|
}
|
|
3307
|
-
}), i = "border.accent-light",
|
|
2629
|
+
}), i = "border.accent-light", Ie = c({
|
|
3308
2630
|
base: {
|
|
3309
2631
|
paddingX: "sm",
|
|
3310
2632
|
paddingY: "xs",
|
|
@@ -3410,8 +2732,8 @@ const X = t({
|
|
|
3410
2732
|
size: "sm",
|
|
3411
2733
|
variant: "outline"
|
|
3412
2734
|
}
|
|
3413
|
-
}),
|
|
3414
|
-
slots:
|
|
2735
|
+
}), Ve = t({
|
|
2736
|
+
slots: V.keys(),
|
|
3415
2737
|
base: {
|
|
3416
2738
|
root: {
|
|
3417
2739
|
display: "flex",
|
|
@@ -3557,8 +2879,8 @@ const X = t({
|
|
|
3557
2879
|
variant: "solid",
|
|
3558
2880
|
showLastSeparator: !1
|
|
3559
2881
|
}
|
|
3560
|
-
}),
|
|
3561
|
-
slots:
|
|
2882
|
+
}), Pe = t({
|
|
2883
|
+
slots: P.keys(),
|
|
3562
2884
|
base: {
|
|
3563
2885
|
content: {
|
|
3564
2886
|
bg: "bg.inverted",
|
|
@@ -3566,13 +2888,13 @@ const X = t({
|
|
|
3566
2888
|
color: "fg.inverted"
|
|
3567
2889
|
}
|
|
3568
2890
|
}
|
|
3569
|
-
}),
|
|
2891
|
+
}), Xe = /* @__PURE__ */ new Set(["boxShadow", "boxShadowColor", "textShadow"]), f = /shadow/i, Me = (o) => {
|
|
3570
2892
|
if (!f.test(o)) return o;
|
|
3571
2893
|
const l = o.split(",").map((r) => r.trim()).filter((r) => !f.test(r));
|
|
3572
2894
|
if (l.length !== 0)
|
|
3573
2895
|
return l.join(", ");
|
|
3574
|
-
}, b = (o) => Array.isArray(o) ? o.map(b).filter((l) => l !== void 0) : typeof o == "string" ?
|
|
3575
|
-
if (
|
|
2896
|
+
}, b = (o) => Array.isArray(o) ? o.map(b).filter((l) => l !== void 0) : typeof o == "string" ? Me(o) : !o || typeof o != "object" ? o : Object.fromEntries(Object.entries(o).flatMap(([l, r]) => {
|
|
2897
|
+
if (Xe.has(l) || f.test(l)) return [];
|
|
3576
2898
|
const n = b(r);
|
|
3577
2899
|
return n === void 0 ? [] : [[l, n]];
|
|
3578
2900
|
})), y = (o) => {
|
|
@@ -3581,40 +2903,40 @@ const X = t({
|
|
|
3581
2903
|
...r
|
|
3582
2904
|
} = o ?? {};
|
|
3583
2905
|
return r;
|
|
3584
|
-
},
|
|
2906
|
+
}, je = {
|
|
3585
2907
|
badge: ["surface"],
|
|
3586
2908
|
button: ["secondary", "surface"]
|
|
3587
|
-
},
|
|
2909
|
+
}, Ue = (o) => {
|
|
3588
2910
|
const l = {
|
|
3589
2911
|
...o ?? {}
|
|
3590
2912
|
};
|
|
3591
|
-
for (const [r, n] of Object.entries(
|
|
2913
|
+
for (const [r, n] of Object.entries(je)) {
|
|
3592
2914
|
const s = l[r];
|
|
3593
2915
|
if (!s || typeof s != "object") continue;
|
|
3594
2916
|
const g = s, m = g.variants, x = m?.variant;
|
|
3595
2917
|
if (!x) continue;
|
|
3596
|
-
const
|
|
2918
|
+
const _ = new Set(n), S = Object.fromEntries(Object.entries(x).filter(([F]) => !_.has(F)));
|
|
3597
2919
|
l[r] = {
|
|
3598
2920
|
...g,
|
|
3599
2921
|
variants: {
|
|
3600
2922
|
...m,
|
|
3601
|
-
variant:
|
|
2923
|
+
variant: S
|
|
3602
2924
|
}
|
|
3603
2925
|
};
|
|
3604
2926
|
}
|
|
3605
2927
|
return l;
|
|
3606
|
-
},
|
|
2928
|
+
}, Oe = {
|
|
3607
2929
|
...d,
|
|
3608
2930
|
theme: {
|
|
3609
2931
|
...d.theme,
|
|
3610
2932
|
tokens: y(d.theme?.tokens),
|
|
3611
2933
|
semanticTokens: y(d.theme?.semanticTokens),
|
|
3612
|
-
recipes:
|
|
2934
|
+
recipes: Ue(b(d.theme?.recipes)),
|
|
3613
2935
|
slotRecipes: b(d.theme?.slotRecipes),
|
|
3614
2936
|
layerStyles: b(d.theme?.layerStyles),
|
|
3615
2937
|
animationStyles: b(d.theme?.animationStyles)
|
|
3616
2938
|
}
|
|
3617
|
-
},
|
|
2939
|
+
}, Ye = {
|
|
3618
2940
|
DEFAULT: {
|
|
3619
2941
|
value: "1px solid {colors.border}"
|
|
3620
2942
|
},
|
|
@@ -3630,7 +2952,7 @@ const X = t({
|
|
|
3630
2952
|
"accent-light": {
|
|
3631
2953
|
value: "1px solid {colors.border.accent-light}"
|
|
3632
2954
|
}
|
|
3633
|
-
},
|
|
2955
|
+
}, $e = {
|
|
3634
2956
|
text: {
|
|
3635
2957
|
primary: {
|
|
3636
2958
|
value: {
|
|
@@ -3791,7 +3113,7 @@ const X = t({
|
|
|
3791
3113
|
}
|
|
3792
3114
|
}
|
|
3793
3115
|
}
|
|
3794
|
-
},
|
|
3116
|
+
}, Ne = {
|
|
3795
3117
|
DEFAULT: {
|
|
3796
3118
|
value: {
|
|
3797
3119
|
_light: "{colors.blacks.50}",
|
|
@@ -4050,7 +3372,7 @@ const X = t({
|
|
|
4050
3372
|
}
|
|
4051
3373
|
}
|
|
4052
3374
|
}
|
|
4053
|
-
},
|
|
3375
|
+
}, qe = {
|
|
4054
3376
|
DEFAULT: {
|
|
4055
3377
|
value: {
|
|
4056
3378
|
_light: "{colors.blacks.800}",
|
|
@@ -4146,7 +3468,7 @@ const X = t({
|
|
|
4146
3468
|
value: "{colors.fg.muted}"
|
|
4147
3469
|
}
|
|
4148
3470
|
}
|
|
4149
|
-
},
|
|
3471
|
+
}, Ge = {
|
|
4150
3472
|
DEFAULT: {
|
|
4151
3473
|
value: {
|
|
4152
3474
|
_light: "#EAF0EB",
|
|
@@ -4206,14 +3528,14 @@ const X = t({
|
|
|
4206
3528
|
value: "{colors.border.subtle}"
|
|
4207
3529
|
}
|
|
4208
3530
|
}
|
|
4209
|
-
},
|
|
3531
|
+
}, Ke = {
|
|
4210
3532
|
border: {
|
|
4211
3533
|
value: {
|
|
4212
3534
|
_light: "{colors.mint.200}",
|
|
4213
3535
|
_dark: "{colors.mint.200}"
|
|
4214
3536
|
}
|
|
4215
3537
|
}
|
|
4216
|
-
},
|
|
3538
|
+
}, Je = {
|
|
4217
3539
|
contrast: {
|
|
4218
3540
|
value: {
|
|
4219
3541
|
_light: "black",
|
|
@@ -4262,7 +3584,7 @@ const X = t({
|
|
|
4262
3584
|
_dark: "{colors.orange.500}"
|
|
4263
3585
|
}
|
|
4264
3586
|
}
|
|
4265
|
-
},
|
|
3587
|
+
}, Qe = {
|
|
4266
3588
|
selectable: {
|
|
4267
3589
|
primary: {
|
|
4268
3590
|
value: {
|
|
@@ -4271,15 +3593,15 @@ const X = t({
|
|
|
4271
3593
|
}
|
|
4272
3594
|
}
|
|
4273
3595
|
}
|
|
4274
|
-
},
|
|
4275
|
-
fg:
|
|
4276
|
-
bg:
|
|
4277
|
-
border:
|
|
4278
|
-
blue:
|
|
4279
|
-
orange:
|
|
4280
|
-
vis:
|
|
4281
|
-
text:
|
|
4282
|
-
},
|
|
3596
|
+
}, Ze = {
|
|
3597
|
+
fg: qe,
|
|
3598
|
+
bg: Ne,
|
|
3599
|
+
border: Ge,
|
|
3600
|
+
blue: Ke,
|
|
3601
|
+
orange: Je,
|
|
3602
|
+
vis: $e,
|
|
3603
|
+
text: Qe
|
|
3604
|
+
}, eo = k({
|
|
4283
3605
|
floatingBar: {
|
|
4284
3606
|
value: {
|
|
4285
3607
|
paddingInline: "sm",
|
|
@@ -4310,7 +3632,7 @@ const X = t({
|
|
|
4310
3632
|
borderColor: "border"
|
|
4311
3633
|
}
|
|
4312
3634
|
}
|
|
4313
|
-
}),
|
|
3635
|
+
}), oo = w({
|
|
4314
3636
|
brand: {
|
|
4315
3637
|
value: {
|
|
4316
3638
|
fontFamily: "brand",
|
|
@@ -4597,8 +3919,8 @@ const X = t({
|
|
|
4597
3919
|
letterSpacing: "0.14px"
|
|
4598
3920
|
}
|
|
4599
3921
|
}
|
|
4600
|
-
}),
|
|
4601
|
-
globalCss:
|
|
3922
|
+
}), ro = E({
|
|
3923
|
+
globalCss: $,
|
|
4602
3924
|
utilities: {
|
|
4603
3925
|
WebkitAppRegion: {
|
|
4604
3926
|
values: ["drag", "no-drag"],
|
|
@@ -4612,16 +3934,16 @@ const X = t({
|
|
|
4612
3934
|
"3xl": "2560px",
|
|
4613
3935
|
"4xl": "3840px"
|
|
4614
3936
|
},
|
|
4615
|
-
textStyles:
|
|
4616
|
-
layerStyles:
|
|
3937
|
+
textStyles: oo,
|
|
3938
|
+
layerStyles: eo,
|
|
4617
3939
|
recipes: {
|
|
4618
|
-
badge:
|
|
3940
|
+
badge: pe,
|
|
4619
3941
|
button: fe,
|
|
4620
|
-
divider:
|
|
4621
|
-
input:
|
|
4622
|
-
kbd:
|
|
4623
|
-
skeleton:
|
|
4624
|
-
textarea:
|
|
3942
|
+
divider: _e,
|
|
3943
|
+
input: we,
|
|
3944
|
+
kbd: Ce,
|
|
3945
|
+
skeleton: He,
|
|
3946
|
+
textarea: Ie
|
|
4625
3947
|
},
|
|
4626
3948
|
tokens: {
|
|
4627
3949
|
colors: se,
|
|
@@ -4629,43 +3951,40 @@ const X = t({
|
|
|
4629
3951
|
fonts: de,
|
|
4630
3952
|
fontSizes: ce,
|
|
4631
3953
|
fontWeights: ue,
|
|
4632
|
-
radii:
|
|
3954
|
+
radii: ve,
|
|
4633
3955
|
sizes: ge,
|
|
4634
3956
|
spacing: be
|
|
4635
3957
|
},
|
|
4636
3958
|
semanticTokens: {
|
|
4637
|
-
colors:
|
|
4638
|
-
borders:
|
|
3959
|
+
colors: Ze,
|
|
3960
|
+
borders: Ye
|
|
4639
3961
|
},
|
|
4640
3962
|
slotRecipes: {
|
|
4641
3963
|
windowTitleBar: X,
|
|
4642
3964
|
windowTabs: M,
|
|
4643
|
-
|
|
4644
|
-
landingStory: We,
|
|
4645
|
-
landingToolDemo: ze,
|
|
4646
|
-
resizableSplitLayout: Ie,
|
|
3965
|
+
resizableSplitLayout: Be,
|
|
4647
3966
|
alert: he,
|
|
4648
3967
|
colorPicker: xe,
|
|
4649
|
-
drawer:
|
|
4650
|
-
tooltip:
|
|
4651
|
-
popover:
|
|
4652
|
-
menu:
|
|
4653
|
-
numberInput:
|
|
4654
|
-
editable:
|
|
3968
|
+
drawer: Se,
|
|
3969
|
+
tooltip: Pe,
|
|
3970
|
+
popover: We,
|
|
3971
|
+
menu: Ee,
|
|
3972
|
+
numberInput: Ae,
|
|
3973
|
+
editable: Fe,
|
|
4655
3974
|
form: ke,
|
|
4656
3975
|
dialog: ye,
|
|
4657
|
-
progressCircle:
|
|
4658
|
-
switch:
|
|
4659
|
-
tabs:
|
|
4660
|
-
timeline:
|
|
3976
|
+
progressCircle: De,
|
|
3977
|
+
switch: Te,
|
|
3978
|
+
tabs: Le,
|
|
3979
|
+
timeline: Ve
|
|
4661
3980
|
}
|
|
4662
3981
|
}
|
|
4663
|
-
}),
|
|
3982
|
+
}), no = C(Oe, ro);
|
|
4664
3983
|
export {
|
|
4665
|
-
|
|
3984
|
+
io as a,
|
|
4666
3985
|
X as b,
|
|
4667
|
-
|
|
4668
|
-
|
|
3986
|
+
Y as c,
|
|
3987
|
+
no as t,
|
|
4669
3988
|
M as w
|
|
4670
3989
|
};
|
|
4671
|
-
//# sourceMappingURL=theme-
|
|
3990
|
+
//# sourceMappingURL=theme-Dc7hVvMC.js.map
|