@pstdio/ui 0.24.2 → 0.26.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/README.md +8 -1
- package/dist/{MermaidComponent-DSvPk-J8.js → MermaidComponent-X__B6qib.js} +3 -3
- package/dist/{MermaidComponent-DSvPk-J8.js.map → MermaidComponent-X__B6qib.js.map} +1 -1
- package/dist/activity-timeline-BynMjXSB.js +283 -0
- package/dist/activity-timeline-BynMjXSB.js.map +1 -0
- package/dist/alert-ubcrW24X.js +33 -0
- package/dist/alert-ubcrW24X.js.map +1 -0
- package/dist/browser-storage-BinyFNJX.js +40 -0
- package/dist/browser-storage-BinyFNJX.js.map +1 -0
- package/dist/chat-ui.js +1515 -1428
- package/dist/chat-ui.js.map +1 -1
- package/dist/components/activity/activity-comment.d.ts +10 -2
- package/dist/components/chat-ui/components/chat-history-story.d.ts +14 -0
- package/dist/components/chat-ui/components/chat-input-history.d.ts +6 -0
- package/dist/components/chat-ui/components/chat-input.d.ts +2 -0
- package/dist/components/chat-ui/components/chat-panel-composer.d.ts +49 -0
- package/dist/components/chat-ui/components/use-chat-input-history.d.ts +16 -0
- package/dist/components/diff-viewer/code-editor.d.ts +2 -0
- package/dist/components/rich-text/index.d.ts +2 -0
- package/dist/components/rich-text/markdown-editor/markdown-editor-scrolling.play.d.ts +4 -0
- package/dist/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +3 -1
- package/dist/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +2 -0
- package/dist/components/rich-text/prompt-input/prompt-input.d.ts +2 -0
- package/dist/components/rich-text/resource-activity-feed/resource-activity-feed.d.ts +58 -0
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/should-show-floating-toolbar.d.ts +1 -0
- package/dist/data-table.js +6 -6
- package/dist/diff.js +524 -522
- package/dist/diff.js.map +1 -1
- package/dist/{edit-mode-data-table-2E4GSOou.js → edit-mode-data-table-Nfmfi7bz.js} +23 -22
- package/dist/{edit-mode-data-table-2E4GSOou.js.map → edit-mode-data-table-Nfmfi7bz.js.map} +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1619 -1852
- package/dist/index.js.map +1 -1
- package/dist/{kanban-renderer-toolbar-Dcbxujbk.js → kanban-renderer-toolbar-Buek4icz.js} +34 -33
- package/dist/{kanban-renderer-toolbar-Dcbxujbk.js.map → kanban-renderer-toolbar-Buek4icz.js.map} +1 -1
- package/dist/kanban-renderer.js +31 -30
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/lazy-markdown-editor-PzIBc9-l.js +42 -0
- package/dist/lazy-markdown-editor-PzIBc9-l.js.map +1 -0
- package/dist/{list-row-BDoV_iMV.js → list-row-DHzRa9-O.js} +2 -2
- package/dist/{list-row-BDoV_iMV.js.map → list-row-DHzRa9-O.js.map} +1 -1
- package/dist/{markdown-Cli3KGu9.js → markdown-BCfPxNpb.js} +322 -302
- package/dist/markdown-BCfPxNpb.js.map +1 -0
- package/dist/markdown-editor-CsJ4KNGu.js +1034 -0
- package/dist/markdown-editor-CsJ4KNGu.js.map +1 -0
- package/dist/{mermaid-renderer-CVnuKs-A.js → mermaid-renderer-D0YP0FmJ.js} +3 -3
- package/dist/{mermaid-renderer-CVnuKs-A.js.map → mermaid-renderer-D0YP0FmJ.js.map} +1 -1
- package/dist/mermaid.js +1 -1
- package/dist/{param-editor-CaRflJ3e.js → param-editor-CFM2Nf3l.js} +2 -2
- package/dist/{param-editor-CaRflJ3e.js.map → param-editor-CFM2Nf3l.js.map} +1 -1
- package/dist/param-editor-field-Bj-AGUY6.js +1728 -0
- package/dist/param-editor-field-Bj-AGUY6.js.map +1 -0
- package/dist/param-editor.d.ts +2 -0
- package/dist/param-editor.js +47 -0
- package/dist/param-editor.js.map +1 -0
- package/dist/prism-n5gcERyD.js +202 -0
- package/dist/prism-n5gcERyD.js.map +1 -0
- package/dist/radio-BfjibByI.js +51 -0
- package/dist/radio-BfjibByI.js.map +1 -0
- package/dist/rich-message-q6Y6QJOq.js +633 -0
- package/dist/rich-message-q6Y6QJOq.js.map +1 -0
- package/dist/rich-text.js +342 -177
- package/dist/rich-text.js.map +1 -1
- package/dist/scroll-area-BMbg1WcD.js +91 -0
- package/dist/scroll-area-BMbg1WcD.js.map +1 -0
- package/dist/slider-DBHjdxsU.js +1092 -0
- package/dist/slider-DBHjdxsU.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/terminal.js +96 -93
- package/dist/terminal.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 +10 -1
- package/dist/theme/recipes/tooltip.d.ts +1 -1
- package/dist/theme/recipes/window-title-bar.d.ts +1 -1
- package/dist/{theme-B5OVwYEU.js → theme-AzJH4Om3.js} +127 -808
- package/dist/theme-AzJH4Om3.js.map +1 -0
- package/dist/{theme-preference-Bpobguh4.js → theme-preference-DxGW1qg-.js} +2 -2
- package/dist/{theme-preference-Bpobguh4.js.map → theme-preference-DxGW1qg-.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{tree-list-CZvcg3_6.js → tree-list-CPjbGTvs.js} +2 -2
- package/dist/{tree-list-CZvcg3_6.js.map → tree-list-CPjbGTvs.js.map} +1 -1
- package/dist/{workspace-badge-BR_GgsAG.js → workspace-badge-CuOcmnZc.js} +2 -2
- package/dist/{workspace-badge-BR_GgsAG.js.map → workspace-badge-CuOcmnZc.js.map} +1 -1
- package/package.json +7 -2
- package/dist/browser-storage-DPtOQJx0.js +0 -127
- package/dist/browser-storage-DPtOQJx0.js.map +0 -1
- package/dist/lazy-markdown-editor-DSlelhHV.js +0 -235
- package/dist/lazy-markdown-editor-DSlelhHV.js.map +0 -1
- package/dist/markdown-Cli3KGu9.js.map +0 -1
- package/dist/markdown-editor-BHoRATej.js +0 -1019
- package/dist/markdown-editor-BHoRATej.js.map +0 -1
- package/dist/param-editor-field-DVQlXbid.js +0 -2810
- package/dist/param-editor-field-DVQlXbid.js.map +0 -1
- package/dist/radio-cLMEBBZk.js +0 -76
- package/dist/radio-cLMEBBZk.js.map +0 -1
- package/dist/rich-message-gWYlm8Ji.js +0 -628
- package/dist/rich-message-gWYlm8Ji.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-B5OVwYEU.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"],
|
|
@@ -168,11 +168,11 @@ const X = t({
|
|
|
168
168
|
descriptionForeground: ["colors.fg.muted"],
|
|
169
169
|
disabledForeground: ["colors.fg.subtle"],
|
|
170
170
|
border: ["colors.border", "colors.border.subtle"]
|
|
171
|
-
},
|
|
171
|
+
}, U = (o) => `colors.vscode.${o}`, O = (o) => o.replace(/^#/, ""), Y = (o) => {
|
|
172
172
|
const l = (o.theme.tokenColors ?? []).flatMap((r) => (Array.isArray(r.scope) ? r.scope : r.scope ? [r.scope] : []).map((s) => ({
|
|
173
173
|
token: s,
|
|
174
174
|
...r.settings?.foreground ? {
|
|
175
|
-
foreground:
|
|
175
|
+
foreground: O(r.settings.foreground)
|
|
176
176
|
} : {},
|
|
177
177
|
...r.settings?.fontStyle ? {
|
|
178
178
|
fontStyle: r.settings.fontStyle
|
|
@@ -184,25 +184,25 @@ const X = t({
|
|
|
184
184
|
rules: l,
|
|
185
185
|
colors: o.theme.colors ?? {}
|
|
186
186
|
};
|
|
187
|
-
},
|
|
187
|
+
}, io = (o) => {
|
|
188
188
|
const l = {}, r = o.theme.colors ?? {};
|
|
189
189
|
for (const [n, s] of Object.entries(r))
|
|
190
|
-
l[
|
|
190
|
+
l[U(n)] = s;
|
|
191
191
|
for (const [n, s] of Object.entries(j)) {
|
|
192
|
-
const
|
|
193
|
-
if (
|
|
194
|
-
for (const m of s) l[m] =
|
|
192
|
+
const g = r[n];
|
|
193
|
+
if (g)
|
|
194
|
+
for (const m of s) l[m] = g;
|
|
195
195
|
}
|
|
196
196
|
return {
|
|
197
197
|
id: o.id,
|
|
198
198
|
mode: o.mode,
|
|
199
199
|
tokens: l,
|
|
200
|
-
monacoTheme:
|
|
200
|
+
monacoTheme: Y({
|
|
201
201
|
mode: o.mode,
|
|
202
202
|
theme: o.theme
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
|
-
},
|
|
205
|
+
}, $ = {
|
|
206
206
|
"*::selection": {
|
|
207
207
|
bg: {
|
|
208
208
|
base: "bg.accent-secondary.blue-medium",
|
|
@@ -263,7 +263,7 @@ const X = t({
|
|
|
263
263
|
fontSize: "1.5rem"
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
},
|
|
266
|
+
}, N = {
|
|
267
267
|
DEFAULT: {
|
|
268
268
|
value: "#0A0D15"
|
|
269
269
|
},
|
|
@@ -312,7 +312,7 @@ const X = t({
|
|
|
312
312
|
1e3: {
|
|
313
313
|
value: "#000000"
|
|
314
314
|
}
|
|
315
|
-
},
|
|
315
|
+
}, q = {
|
|
316
316
|
DEFAULT: {
|
|
317
317
|
value: "#5098FF"
|
|
318
318
|
},
|
|
@@ -346,7 +346,7 @@ const X = t({
|
|
|
346
346
|
900: {
|
|
347
347
|
value: "#002862"
|
|
348
348
|
}
|
|
349
|
-
},
|
|
349
|
+
}, G = {
|
|
350
350
|
DEFAULT: {
|
|
351
351
|
value: "#3A4BE4"
|
|
352
352
|
},
|
|
@@ -794,33 +794,10 @@ const X = t({
|
|
|
794
794
|
value: "#28C840"
|
|
795
795
|
}
|
|
796
796
|
},
|
|
797
|
-
illustration: {
|
|
798
|
-
desktop: {
|
|
799
|
-
value: "#FF6B1A"
|
|
800
|
-
},
|
|
801
|
-
page: {
|
|
802
|
-
value: "#29ABE2"
|
|
803
|
-
},
|
|
804
|
-
command: {
|
|
805
|
-
value: "#FBB040"
|
|
806
|
-
},
|
|
807
|
-
editor: {
|
|
808
|
-
value: "#29ABE2"
|
|
809
|
-
},
|
|
810
|
-
skill: {
|
|
811
|
-
value: "#E6357F"
|
|
812
|
-
},
|
|
813
|
-
hook: {
|
|
814
|
-
value: "#E6357F"
|
|
815
|
-
},
|
|
816
|
-
automation: {
|
|
817
|
-
value: "#F7931E"
|
|
818
|
-
}
|
|
819
|
-
},
|
|
820
797
|
sand: ae,
|
|
821
|
-
blacks:
|
|
822
|
-
blue:
|
|
823
|
-
sapphire:
|
|
798
|
+
blacks: N,
|
|
799
|
+
blue: q,
|
|
800
|
+
sapphire: G,
|
|
824
801
|
pink: K,
|
|
825
802
|
peach: J,
|
|
826
803
|
red: Q,
|
|
@@ -961,7 +938,7 @@ const X = t({
|
|
|
961
938
|
1600: "8rem",
|
|
962
939
|
// 128px
|
|
963
940
|
2e3: "10rem"
|
|
964
|
-
},
|
|
941
|
+
}, be = {
|
|
965
942
|
"window-tab-gap": {
|
|
966
943
|
value: "0.4375rem"
|
|
967
944
|
},
|
|
@@ -1019,7 +996,7 @@ const X = t({
|
|
|
1019
996
|
"panel-gap": {
|
|
1020
997
|
value: e[50]
|
|
1021
998
|
}
|
|
1022
|
-
},
|
|
999
|
+
}, ge = {
|
|
1023
1000
|
"panel-gap": {
|
|
1024
1001
|
value: e[50]
|
|
1025
1002
|
},
|
|
@@ -1114,7 +1091,7 @@ const X = t({
|
|
|
1114
1091
|
selection: {
|
|
1115
1092
|
value: "0.09375rem"
|
|
1116
1093
|
}
|
|
1117
|
-
},
|
|
1094
|
+
}, ve = {
|
|
1118
1095
|
none: {
|
|
1119
1096
|
value: "0"
|
|
1120
1097
|
},
|
|
@@ -1143,7 +1120,7 @@ const X = t({
|
|
|
1143
1120
|
value: "100%"
|
|
1144
1121
|
}
|
|
1145
1122
|
}, he = t({
|
|
1146
|
-
slots:
|
|
1123
|
+
slots: z.keys(),
|
|
1147
1124
|
base: {
|
|
1148
1125
|
root: {
|
|
1149
1126
|
px: "xs",
|
|
@@ -1215,7 +1192,7 @@ const X = t({
|
|
|
1215
1192
|
}
|
|
1216
1193
|
}
|
|
1217
1194
|
}]
|
|
1218
|
-
}),
|
|
1195
|
+
}), pe = c({
|
|
1219
1196
|
className: "chakra-badge",
|
|
1220
1197
|
base: {
|
|
1221
1198
|
display: "inline-flex",
|
|
@@ -1508,7 +1485,7 @@ const X = t({
|
|
|
1508
1485
|
variant: "outline"
|
|
1509
1486
|
}
|
|
1510
1487
|
}), u = "border.accent-light", xe = t({
|
|
1511
|
-
slots:
|
|
1488
|
+
slots: A.keys(),
|
|
1512
1489
|
base: {
|
|
1513
1490
|
control: {
|
|
1514
1491
|
display: "flex",
|
|
@@ -1628,7 +1605,7 @@ const X = t({
|
|
|
1628
1605
|
size: "sm"
|
|
1629
1606
|
}
|
|
1630
1607
|
}), ye = t({
|
|
1631
|
-
slots:
|
|
1608
|
+
slots: W.keys(),
|
|
1632
1609
|
base: {
|
|
1633
1610
|
content: {
|
|
1634
1611
|
bg: "bg",
|
|
@@ -1638,12 +1615,12 @@ const X = t({
|
|
|
1638
1615
|
overflow: "hidden"
|
|
1639
1616
|
}
|
|
1640
1617
|
}
|
|
1641
|
-
}),
|
|
1618
|
+
}), _e = c({
|
|
1642
1619
|
base: {
|
|
1643
1620
|
borderColor: "border.subtle"
|
|
1644
1621
|
}
|
|
1645
|
-
}),
|
|
1646
|
-
slots:
|
|
1622
|
+
}), Se = t({
|
|
1623
|
+
slots: R.keys(),
|
|
1647
1624
|
base: {
|
|
1648
1625
|
header: {
|
|
1649
1626
|
fontWeight: "medium",
|
|
@@ -1654,7 +1631,7 @@ const X = t({
|
|
|
1654
1631
|
bg: "bg"
|
|
1655
1632
|
}
|
|
1656
1633
|
}
|
|
1657
|
-
}),
|
|
1634
|
+
}), Fe = t({
|
|
1658
1635
|
slots: ["preview", "input", "textarea"],
|
|
1659
1636
|
base: {
|
|
1660
1637
|
preview: {
|
|
@@ -1754,13 +1731,13 @@ const X = t({
|
|
|
1754
1731
|
}
|
|
1755
1732
|
}
|
|
1756
1733
|
}), ke = t({
|
|
1757
|
-
slots:
|
|
1734
|
+
slots: D.keys(),
|
|
1758
1735
|
base: {
|
|
1759
1736
|
legend: {
|
|
1760
1737
|
mb: "2xs"
|
|
1761
1738
|
}
|
|
1762
1739
|
}
|
|
1763
|
-
}), a = "border.accent-light",
|
|
1740
|
+
}), a = "border.accent-light", we = c({
|
|
1764
1741
|
base: {
|
|
1765
1742
|
px: "sm",
|
|
1766
1743
|
borderRadius: "xs",
|
|
@@ -1897,7 +1874,7 @@ const X = t({
|
|
|
1897
1874
|
size: "sm",
|
|
1898
1875
|
variant: "outline"
|
|
1899
1876
|
}
|
|
1900
|
-
}),
|
|
1877
|
+
}), Ce = c({
|
|
1901
1878
|
base: {
|
|
1902
1879
|
display: "inline-flex",
|
|
1903
1880
|
alignItems: "center",
|
|
@@ -1961,670 +1938,6 @@ const X = t({
|
|
|
1961
1938
|
variant: "raised"
|
|
1962
1939
|
}
|
|
1963
1940
|
}), Ee = t({
|
|
1964
|
-
slots: ["root", "window", "titlebar", "windowControls", "windowControl", "mobileTitlebar", "mobileNav", "sidebar", "status", "body", "main", "hero", "heroCopy", "heroNavigation", "tools", "download", "brandTab", "panelsScroll", "panelScroll"],
|
|
1965
|
-
base: {
|
|
1966
|
-
root: {
|
|
1967
|
-
height: "100dvh",
|
|
1968
|
-
position: "relative",
|
|
1969
|
-
overflow: "hidden",
|
|
1970
|
-
bg: "bg.subtle"
|
|
1971
|
-
},
|
|
1972
|
-
window: {
|
|
1973
|
-
display: "flex",
|
|
1974
|
-
flexDirection: "column",
|
|
1975
|
-
height: "full",
|
|
1976
|
-
width: "full",
|
|
1977
|
-
position: "relative",
|
|
1978
|
-
bg: "bg.subtle",
|
|
1979
|
-
color: "fg",
|
|
1980
|
-
overflow: "hidden"
|
|
1981
|
-
},
|
|
1982
|
-
titlebar: {
|
|
1983
|
-
height: "11",
|
|
1984
|
-
flexShrink: 0,
|
|
1985
|
-
gap: "xs",
|
|
1986
|
-
px: "compact",
|
|
1987
|
-
display: {
|
|
1988
|
-
base: "none",
|
|
1989
|
-
md: "flex"
|
|
1990
|
-
},
|
|
1991
|
-
alignItems: "center"
|
|
1992
|
-
},
|
|
1993
|
-
windowControls: {
|
|
1994
|
-
display: "flex",
|
|
1995
|
-
alignItems: "center",
|
|
1996
|
-
gap: "xs",
|
|
1997
|
-
px: "sm",
|
|
1998
|
-
flexShrink: 0
|
|
1999
|
-
},
|
|
2000
|
-
windowControl: {
|
|
2001
|
-
display: "flex",
|
|
2002
|
-
alignItems: "center",
|
|
2003
|
-
justifyContent: "center",
|
|
2004
|
-
width: "icon-2xs",
|
|
2005
|
-
height: "icon-2xs",
|
|
2006
|
-
borderRadius: "full",
|
|
2007
|
-
color: "blackAlpha.700",
|
|
2008
|
-
cursor: "pointer",
|
|
2009
|
-
"& svg": {
|
|
2010
|
-
width: "2",
|
|
2011
|
-
height: "2",
|
|
2012
|
-
visibility: "hidden"
|
|
2013
|
-
},
|
|
2014
|
-
"&[data-control=close]:not(:disabled)": {
|
|
2015
|
-
bg: "windowControl.close"
|
|
2016
|
-
},
|
|
2017
|
-
"&[data-control=minimize]:not(:disabled)": {
|
|
2018
|
-
bg: "windowControl.minimize"
|
|
2019
|
-
},
|
|
2020
|
-
"&[data-control=zoom]": {
|
|
2021
|
-
bg: "windowControl.zoom"
|
|
2022
|
-
},
|
|
2023
|
-
_groupHover: {
|
|
2024
|
-
"&:not(:disabled) svg": {
|
|
2025
|
-
visibility: "visible"
|
|
2026
|
-
}
|
|
2027
|
-
},
|
|
2028
|
-
_focusVisible: {
|
|
2029
|
-
outline: "2px solid",
|
|
2030
|
-
outlineColor: "fg",
|
|
2031
|
-
outlineOffset: "2px",
|
|
2032
|
-
"& svg": {
|
|
2033
|
-
visibility: "visible"
|
|
2034
|
-
}
|
|
2035
|
-
},
|
|
2036
|
-
_disabled: {
|
|
2037
|
-
bg: "bg.muted",
|
|
2038
|
-
cursor: "not-allowed",
|
|
2039
|
-
"& svg": {
|
|
2040
|
-
visibility: "hidden"
|
|
2041
|
-
}
|
|
2042
|
-
}
|
|
2043
|
-
},
|
|
2044
|
-
mobileTitlebar: {
|
|
2045
|
-
height: "mobile-titlebar",
|
|
2046
|
-
flexShrink: 0,
|
|
2047
|
-
gap: "xs",
|
|
2048
|
-
px: "sm",
|
|
2049
|
-
display: {
|
|
2050
|
-
base: "flex",
|
|
2051
|
-
md: "none"
|
|
2052
|
-
},
|
|
2053
|
-
textAlign: "left",
|
|
2054
|
-
alignItems: "center"
|
|
2055
|
-
},
|
|
2056
|
-
mobileNav: {
|
|
2057
|
-
alignItems: "center",
|
|
2058
|
-
height: "10",
|
|
2059
|
-
flexShrink: 0,
|
|
2060
|
-
width: "full",
|
|
2061
|
-
gap: "xs",
|
|
2062
|
-
px: "md",
|
|
2063
|
-
display: {
|
|
2064
|
-
base: "flex",
|
|
2065
|
-
lg: "none"
|
|
2066
|
-
}
|
|
2067
|
-
},
|
|
2068
|
-
sidebar: {
|
|
2069
|
-
display: "flex",
|
|
2070
|
-
flexDirection: "column",
|
|
2071
|
-
layerStyle: "panel",
|
|
2072
|
-
height: "full",
|
|
2073
|
-
width: "full",
|
|
2074
|
-
flexShrink: 0,
|
|
2075
|
-
gap: "2xs",
|
|
2076
|
-
px: "xs",
|
|
2077
|
-
py: "xs",
|
|
2078
|
-
bg: "bg.subtle"
|
|
2079
|
-
},
|
|
2080
|
-
status: {
|
|
2081
|
-
minHeight: "7",
|
|
2082
|
-
flexShrink: 0,
|
|
2083
|
-
flexWrap: "wrap",
|
|
2084
|
-
gap: "xs",
|
|
2085
|
-
rowGap: "2xs",
|
|
2086
|
-
px: "xs",
|
|
2087
|
-
color: "fg.muted"
|
|
2088
|
-
},
|
|
2089
|
-
body: {
|
|
2090
|
-
display: "flex",
|
|
2091
|
-
flex: 1,
|
|
2092
|
-
minHeight: 0,
|
|
2093
|
-
p: "panel-gap"
|
|
2094
|
-
},
|
|
2095
|
-
main: {
|
|
2096
|
-
flex: 1,
|
|
2097
|
-
minHeight: 0,
|
|
2098
|
-
minWidth: 0,
|
|
2099
|
-
position: "relative",
|
|
2100
|
-
overflow: "hidden"
|
|
2101
|
-
},
|
|
2102
|
-
panelsScroll: {
|
|
2103
|
-
"& > [data-part=viewport] > [data-part=content]": {
|
|
2104
|
-
height: {
|
|
2105
|
-
base: "auto",
|
|
2106
|
-
lg: "full"
|
|
2107
|
-
}
|
|
2108
|
-
},
|
|
2109
|
-
"& > [data-part=scrollbar]": {
|
|
2110
|
-
display: {
|
|
2111
|
-
base: "flex",
|
|
2112
|
-
lg: "none"
|
|
2113
|
-
}
|
|
2114
|
-
}
|
|
2115
|
-
},
|
|
2116
|
-
panelScroll: {
|
|
2117
|
-
display: {
|
|
2118
|
-
base: "contents",
|
|
2119
|
-
lg: "flex"
|
|
2120
|
-
},
|
|
2121
|
-
"& > [data-part=viewport]": {
|
|
2122
|
-
display: {
|
|
2123
|
-
base: "contents",
|
|
2124
|
-
lg: "block"
|
|
2125
|
-
}
|
|
2126
|
-
},
|
|
2127
|
-
"& > [data-part=viewport] > [data-part=content]": {
|
|
2128
|
-
display: {
|
|
2129
|
-
base: "contents",
|
|
2130
|
-
lg: "block"
|
|
2131
|
-
}
|
|
2132
|
-
},
|
|
2133
|
-
"& > [data-part=scrollbar]": {
|
|
2134
|
-
display: {
|
|
2135
|
-
base: "none",
|
|
2136
|
-
lg: "flex"
|
|
2137
|
-
}
|
|
2138
|
-
}
|
|
2139
|
-
},
|
|
2140
|
-
hero: {
|
|
2141
|
-
display: "flex",
|
|
2142
|
-
flexDirection: "column",
|
|
2143
|
-
layerStyle: "panel",
|
|
2144
|
-
bg: "bg",
|
|
2145
|
-
width: "full",
|
|
2146
|
-
height: "full",
|
|
2147
|
-
overflow: "hidden"
|
|
2148
|
-
},
|
|
2149
|
-
heroNavigation: {
|
|
2150
|
-
display: "flex",
|
|
2151
|
-
flexWrap: "wrap",
|
|
2152
|
-
justifyContent: "space-between",
|
|
2153
|
-
gap: "sm",
|
|
2154
|
-
flexShrink: 0,
|
|
2155
|
-
px: {
|
|
2156
|
-
base: "lg",
|
|
2157
|
-
xl: "3xl"
|
|
2158
|
-
},
|
|
2159
|
-
py: "lg",
|
|
2160
|
-
"& [data-direction=next]": {
|
|
2161
|
-
marginInlineStart: "auto",
|
|
2162
|
-
flexDirection: "row-reverse"
|
|
2163
|
-
}
|
|
2164
|
-
},
|
|
2165
|
-
heroCopy: {
|
|
2166
|
-
display: "flex",
|
|
2167
|
-
flexDirection: "column",
|
|
2168
|
-
minHeight: "full",
|
|
2169
|
-
width: "full",
|
|
2170
|
-
maxWidth: "2xl",
|
|
2171
|
-
mx: "auto",
|
|
2172
|
-
gap: "xl",
|
|
2173
|
-
px: {
|
|
2174
|
-
base: "lg",
|
|
2175
|
-
xl: "3xl"
|
|
2176
|
-
},
|
|
2177
|
-
py: {
|
|
2178
|
-
base: "xl",
|
|
2179
|
-
xl: "4xl"
|
|
2180
|
-
}
|
|
2181
|
-
},
|
|
2182
|
-
tools: {
|
|
2183
|
-
layerStyle: "panel",
|
|
2184
|
-
bg: "bg",
|
|
2185
|
-
position: "relative",
|
|
2186
|
-
overflow: "hidden",
|
|
2187
|
-
width: "full",
|
|
2188
|
-
height: "full",
|
|
2189
|
-
minHeight: "0"
|
|
2190
|
-
},
|
|
2191
|
-
download: {
|
|
2192
|
-
display: "flex",
|
|
2193
|
-
flexDirection: "column",
|
|
2194
|
-
gap: "sm",
|
|
2195
|
-
alignItems: "start",
|
|
2196
|
-
width: "full"
|
|
2197
|
-
},
|
|
2198
|
-
brandTab: {
|
|
2199
|
-
height: "7",
|
|
2200
|
-
px: "compact",
|
|
2201
|
-
gap: "xs",
|
|
2202
|
-
borderRadius: "xs",
|
|
2203
|
-
bg: "bg.hover",
|
|
2204
|
-
color: "fg",
|
|
2205
|
-
borderWidth: "1px",
|
|
2206
|
-
borderColor: "border.subtle",
|
|
2207
|
-
flexShrink: 0,
|
|
2208
|
-
cursor: "pointer"
|
|
2209
|
-
}
|
|
2210
|
-
},
|
|
2211
|
-
variants: {
|
|
2212
|
-
windowed: {
|
|
2213
|
-
true: {
|
|
2214
|
-
root: {
|
|
2215
|
-
bg: "illustration.desktop"
|
|
2216
|
-
},
|
|
2217
|
-
window: {
|
|
2218
|
-
height: "calc(100dvh - 12rem)",
|
|
2219
|
-
width: "calc(100% - 15rem)",
|
|
2220
|
-
mx: "7.5rem",
|
|
2221
|
-
my: "6rem",
|
|
2222
|
-
borderRadius: "lg",
|
|
2223
|
-
boxShadow: "2xl"
|
|
2224
|
-
},
|
|
2225
|
-
titlebar: {
|
|
2226
|
-
cursor: "grab",
|
|
2227
|
-
_active: {
|
|
2228
|
-
cursor: "grabbing"
|
|
2229
|
-
}
|
|
2230
|
-
}
|
|
2231
|
-
}
|
|
2232
|
-
}
|
|
2233
|
-
}
|
|
2234
|
-
}), We = t({
|
|
2235
|
-
slots: ["page", "section", "featureSection", "intro", "visual", "panels", "panel", "panelHeader", "panelBody", "blockGrid", "block", "blockSymbol", "blockMark", "composition"],
|
|
2236
|
-
base: {
|
|
2237
|
-
page: {
|
|
2238
|
-
display: "flex",
|
|
2239
|
-
flexDirection: "column",
|
|
2240
|
-
width: "full",
|
|
2241
|
-
minWidth: 0,
|
|
2242
|
-
gap: "4xl",
|
|
2243
|
-
px: {
|
|
2244
|
-
base: "lg",
|
|
2245
|
-
md: "xl"
|
|
2246
|
-
},
|
|
2247
|
-
py: "3xl",
|
|
2248
|
-
containerType: "inline-size"
|
|
2249
|
-
},
|
|
2250
|
-
section: {
|
|
2251
|
-
display: "flex",
|
|
2252
|
-
flexDirection: "column",
|
|
2253
|
-
gap: "lg",
|
|
2254
|
-
width: "full",
|
|
2255
|
-
minWidth: 0
|
|
2256
|
-
},
|
|
2257
|
-
featureSection: {
|
|
2258
|
-
display: "flex",
|
|
2259
|
-
flexDirection: "column",
|
|
2260
|
-
gap: "xl",
|
|
2261
|
-
width: "full",
|
|
2262
|
-
minWidth: 0,
|
|
2263
|
-
pt: "xl",
|
|
2264
|
-
pb: "xl"
|
|
2265
|
-
},
|
|
2266
|
-
intro: {
|
|
2267
|
-
display: "flex",
|
|
2268
|
-
flexDirection: "column",
|
|
2269
|
-
gap: "sm",
|
|
2270
|
-
maxWidth: "3xl"
|
|
2271
|
-
},
|
|
2272
|
-
visual: {
|
|
2273
|
-
layerStyle: "panel",
|
|
2274
|
-
bg: "bg.subtle",
|
|
2275
|
-
p: "xs",
|
|
2276
|
-
width: "full",
|
|
2277
|
-
minWidth: 0
|
|
2278
|
-
},
|
|
2279
|
-
panels: {
|
|
2280
|
-
display: "grid",
|
|
2281
|
-
gridTemplateColumns: "minmax(0, 1fr)",
|
|
2282
|
-
gap: "panel-gap",
|
|
2283
|
-
"@container (min-width: 36rem)": {
|
|
2284
|
-
gridTemplateColumns: "minmax(0, 1fr) minmax(0, 1.3fr)"
|
|
2285
|
-
}
|
|
2286
|
-
},
|
|
2287
|
-
panel: {
|
|
2288
|
-
layerStyle: "panel",
|
|
2289
|
-
bg: "bg",
|
|
2290
|
-
minWidth: 0,
|
|
2291
|
-
height: "full",
|
|
2292
|
-
display: "flex",
|
|
2293
|
-
flexDirection: "column",
|
|
2294
|
-
"&[data-highlighted=true]": {
|
|
2295
|
-
borderColor: "fg.muted"
|
|
2296
|
-
}
|
|
2297
|
-
},
|
|
2298
|
-
panelHeader: {
|
|
2299
|
-
display: "flex",
|
|
2300
|
-
alignItems: "center",
|
|
2301
|
-
gap: "sm",
|
|
2302
|
-
p: "md",
|
|
2303
|
-
borderBottomWidth: "1px",
|
|
2304
|
-
borderColor: "border.subtle",
|
|
2305
|
-
textStyle: "label/M/medium"
|
|
2306
|
-
},
|
|
2307
|
-
panelBody: {
|
|
2308
|
-
display: "flex",
|
|
2309
|
-
flexDirection: "column",
|
|
2310
|
-
gap: "md",
|
|
2311
|
-
p: "md",
|
|
2312
|
-
flex: 1,
|
|
2313
|
-
minWidth: 0
|
|
2314
|
-
},
|
|
2315
|
-
blockGrid: {
|
|
2316
|
-
display: "grid",
|
|
2317
|
-
gap: "sm",
|
|
2318
|
-
gridTemplateColumns: "minmax(0, 1fr)",
|
|
2319
|
-
"@container (min-width: 26rem)": {
|
|
2320
|
-
gridTemplateColumns: "repeat(2, minmax(0, 1fr))"
|
|
2321
|
-
},
|
|
2322
|
-
"@container (min-width: 55rem)": {
|
|
2323
|
-
gridTemplateColumns: "repeat(3, minmax(0, 1fr))"
|
|
2324
|
-
}
|
|
2325
|
-
},
|
|
2326
|
-
block: {
|
|
2327
|
-
display: "flex",
|
|
2328
|
-
flexDirection: "column",
|
|
2329
|
-
alignItems: "start",
|
|
2330
|
-
gap: "sm",
|
|
2331
|
-
p: "lg",
|
|
2332
|
-
bg: "bg.subtle",
|
|
2333
|
-
borderRadius: "sm",
|
|
2334
|
-
borderWidth: "1px",
|
|
2335
|
-
borderColor: "border.subtle",
|
|
2336
|
-
textAlign: "left",
|
|
2337
|
-
color: "fg"
|
|
2338
|
-
},
|
|
2339
|
-
blockMark: {
|
|
2340
|
-
display: "inline-flex",
|
|
2341
|
-
flexShrink: 0,
|
|
2342
|
-
"& svg": {
|
|
2343
|
-
height: "full",
|
|
2344
|
-
width: "auto",
|
|
2345
|
-
maxWidth: "none"
|
|
2346
|
-
}
|
|
2347
|
-
},
|
|
2348
|
-
blockSymbol: {
|
|
2349
|
-
display: "flex",
|
|
2350
|
-
alignItems: "center",
|
|
2351
|
-
justifyContent: "start",
|
|
2352
|
-
height: "16",
|
|
2353
|
-
width: "full"
|
|
2354
|
-
},
|
|
2355
|
-
composition: {
|
|
2356
|
-
display: "flex",
|
|
2357
|
-
flexDirection: "column",
|
|
2358
|
-
gap: "md",
|
|
2359
|
-
borderTopWidth: "1px",
|
|
2360
|
-
borderColor: "border.subtle",
|
|
2361
|
-
pt: "lg"
|
|
2362
|
-
}
|
|
2363
|
-
},
|
|
2364
|
-
variants: {
|
|
2365
|
-
spacing: {
|
|
2366
|
-
normal: {},
|
|
2367
|
-
spacious: {
|
|
2368
|
-
page: {
|
|
2369
|
-
gap: "5xl"
|
|
2370
|
-
}
|
|
2371
|
-
}
|
|
2372
|
-
}
|
|
2373
|
-
},
|
|
2374
|
-
defaultVariants: {
|
|
2375
|
-
spacing: "normal"
|
|
2376
|
-
}
|
|
2377
|
-
}), ze = t({
|
|
2378
|
-
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"],
|
|
2379
|
-
base: {
|
|
2380
|
-
extensionPanels: {
|
|
2381
|
-
display: "grid",
|
|
2382
|
-
gridTemplateColumns: "repeat(auto-fit, minmax(min(100%, {sizes.48}), 1fr))",
|
|
2383
|
-
gap: "panel-gap",
|
|
2384
|
-
minHeight: "64",
|
|
2385
|
-
width: "full"
|
|
2386
|
-
},
|
|
2387
|
-
iconPicker: {
|
|
2388
|
-
display: "grid",
|
|
2389
|
-
gridTemplateColumns: "repeat(3, minmax(0, 1fr))",
|
|
2390
|
-
"@container (min-width: 26rem)": {
|
|
2391
|
-
gridTemplateColumns: "repeat(6, minmax(0, 1fr))"
|
|
2392
|
-
},
|
|
2393
|
-
gap: "xs"
|
|
2394
|
-
},
|
|
2395
|
-
shaderCode: {
|
|
2396
|
-
textStyle: "mono/XS",
|
|
2397
|
-
fontSize: "sm",
|
|
2398
|
-
minHeight: "64",
|
|
2399
|
-
flex: 1,
|
|
2400
|
-
resize: "none"
|
|
2401
|
-
},
|
|
2402
|
-
shaderCanvas: {
|
|
2403
|
-
display: "block",
|
|
2404
|
-
width: "full",
|
|
2405
|
-
aspectRatio: "4 / 3",
|
|
2406
|
-
bg: "bg.subtle",
|
|
2407
|
-
borderRadius: "sm"
|
|
2408
|
-
},
|
|
2409
|
-
plot: {
|
|
2410
|
-
width: "full",
|
|
2411
|
-
bg: "bg.subtle",
|
|
2412
|
-
borderRadius: "sm"
|
|
2413
|
-
},
|
|
2414
|
-
plotGrid: {
|
|
2415
|
-
fill: "none",
|
|
2416
|
-
stroke: "border.subtle",
|
|
2417
|
-
strokeWidth: 1
|
|
2418
|
-
},
|
|
2419
|
-
plotComparison: {
|
|
2420
|
-
fill: "none",
|
|
2421
|
-
stroke: "fg.muted",
|
|
2422
|
-
strokeWidth: 2,
|
|
2423
|
-
strokeDasharray: "5 5"
|
|
2424
|
-
},
|
|
2425
|
-
plotCurve: {
|
|
2426
|
-
fill: "none",
|
|
2427
|
-
stroke: "fg.info",
|
|
2428
|
-
strokeWidth: 3,
|
|
2429
|
-
strokeLinecap: "round",
|
|
2430
|
-
strokeLinejoin: "round"
|
|
2431
|
-
},
|
|
2432
|
-
plotCursor: {
|
|
2433
|
-
stroke: "fg.muted",
|
|
2434
|
-
strokeWidth: 1,
|
|
2435
|
-
strokeDasharray: "4 4"
|
|
2436
|
-
},
|
|
2437
|
-
plotPoint: {
|
|
2438
|
-
fill: "fg",
|
|
2439
|
-
stroke: "bg",
|
|
2440
|
-
strokeWidth: 2
|
|
2441
|
-
},
|
|
2442
|
-
iconEditor: {
|
|
2443
|
-
display: "grid",
|
|
2444
|
-
gridTemplateColumns: "minmax(0, 1fr)",
|
|
2445
|
-
gap: "panel-gap",
|
|
2446
|
-
"@container (min-width: 36rem)": {
|
|
2447
|
-
gridTemplateColumns: "minmax(0, 1.5fr) minmax(0, 1fr)"
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
|
-
iconGrid: {
|
|
2451
|
-
display: "grid",
|
|
2452
|
-
gridTemplateColumns: "repeat(auto-fill, minmax(min({sizes.24}, 100%), 1fr))",
|
|
2453
|
-
gap: "xs",
|
|
2454
|
-
listStyle: "none",
|
|
2455
|
-
py: "xs"
|
|
2456
|
-
},
|
|
2457
|
-
iconTile: {
|
|
2458
|
-
display: "flex",
|
|
2459
|
-
flexDirection: "column",
|
|
2460
|
-
alignItems: "center",
|
|
2461
|
-
justifyContent: "center",
|
|
2462
|
-
gap: "xs",
|
|
2463
|
-
minWidth: 0,
|
|
2464
|
-
minHeight: "28",
|
|
2465
|
-
p: "sm",
|
|
2466
|
-
bg: "bg.subtle",
|
|
2467
|
-
borderWidth: "1px",
|
|
2468
|
-
borderColor: "border.subtle",
|
|
2469
|
-
borderRadius: "sm",
|
|
2470
|
-
color: "fg",
|
|
2471
|
-
transitionProperty: "opacity, background-color, border-color",
|
|
2472
|
-
transitionDuration: "moderate",
|
|
2473
|
-
"&[data-state=pending]": {
|
|
2474
|
-
opacity: 0.25
|
|
2475
|
-
},
|
|
2476
|
-
"&[data-state=active]": {
|
|
2477
|
-
borderColor: "fg.info",
|
|
2478
|
-
bg: "bg.info"
|
|
2479
|
-
},
|
|
2480
|
-
"@media (prefers-reduced-motion: reduce)": {
|
|
2481
|
-
transition: "none"
|
|
2482
|
-
},
|
|
2483
|
-
"&[aria-pressed]": {
|
|
2484
|
-
cursor: "pointer",
|
|
2485
|
-
_hover: {
|
|
2486
|
-
bg: "bg.hover"
|
|
2487
|
-
}
|
|
2488
|
-
},
|
|
2489
|
-
_focusVisible: {
|
|
2490
|
-
outline: "2px solid",
|
|
2491
|
-
outlineColor: "fg",
|
|
2492
|
-
outlineOffset: "2px"
|
|
2493
|
-
},
|
|
2494
|
-
"&[aria-pressed=true]": {
|
|
2495
|
-
borderColor: "fg.info",
|
|
2496
|
-
bg: "bg.info"
|
|
2497
|
-
}
|
|
2498
|
-
},
|
|
2499
|
-
iconName: {
|
|
2500
|
-
textStyle: "label/S/regular",
|
|
2501
|
-
maxWidth: "full",
|
|
2502
|
-
overflow: "hidden",
|
|
2503
|
-
textOverflow: "ellipsis",
|
|
2504
|
-
whiteSpace: "nowrap"
|
|
2505
|
-
},
|
|
2506
|
-
tileSymbol: {
|
|
2507
|
-
boxSize: "8",
|
|
2508
|
-
fontSize: "{sizes.8}",
|
|
2509
|
-
mb: "xs"
|
|
2510
|
-
},
|
|
2511
|
-
iconCanvas: {
|
|
2512
|
-
display: "flex",
|
|
2513
|
-
alignItems: "center",
|
|
2514
|
-
justifyContent: "center",
|
|
2515
|
-
bg: "bg.subtle",
|
|
2516
|
-
borderRadius: "sm",
|
|
2517
|
-
minHeight: "44",
|
|
2518
|
-
p: "xl"
|
|
2519
|
-
},
|
|
2520
|
-
inspectorSymbol: {
|
|
2521
|
-
boxSize: "24",
|
|
2522
|
-
fontSize: "{sizes.24}"
|
|
2523
|
-
},
|
|
2524
|
-
inspector: {
|
|
2525
|
-
display: "flex",
|
|
2526
|
-
flexDirection: "column",
|
|
2527
|
-
gap: "md"
|
|
2528
|
-
},
|
|
2529
|
-
toolbar: {
|
|
2530
|
-
display: "flex",
|
|
2531
|
-
alignItems: "center",
|
|
2532
|
-
justifyContent: "space-between",
|
|
2533
|
-
gap: "sm",
|
|
2534
|
-
flexWrap: "wrap"
|
|
2535
|
-
},
|
|
2536
|
-
metrics: {
|
|
2537
|
-
display: "grid",
|
|
2538
|
-
gridTemplateColumns: "repeat(3, minmax(0, 1fr))",
|
|
2539
|
-
gap: "panel-gap"
|
|
2540
|
-
},
|
|
2541
|
-
metric: {
|
|
2542
|
-
layerStyle: "panel",
|
|
2543
|
-
bg: "bg",
|
|
2544
|
-
p: "md",
|
|
2545
|
-
display: "flex",
|
|
2546
|
-
flexDirection: "column",
|
|
2547
|
-
gap: "xs"
|
|
2548
|
-
},
|
|
2549
|
-
sessions: {
|
|
2550
|
-
display: "flex",
|
|
2551
|
-
flexDirection: "column",
|
|
2552
|
-
gap: "sm",
|
|
2553
|
-
listStyle: "none"
|
|
2554
|
-
},
|
|
2555
|
-
session: {
|
|
2556
|
-
display: "flex",
|
|
2557
|
-
flexDirection: "column",
|
|
2558
|
-
gap: "md",
|
|
2559
|
-
width: "full",
|
|
2560
|
-
p: "md",
|
|
2561
|
-
minWidth: 0,
|
|
2562
|
-
textAlign: "left",
|
|
2563
|
-
color: "fg",
|
|
2564
|
-
layerStyle: "panel",
|
|
2565
|
-
bg: "bg.subtle",
|
|
2566
|
-
"&[aria-pressed]": {
|
|
2567
|
-
cursor: "pointer",
|
|
2568
|
-
_hover: {
|
|
2569
|
-
bg: "bg.hover"
|
|
2570
|
-
}
|
|
2571
|
-
},
|
|
2572
|
-
_focusVisible: {
|
|
2573
|
-
outline: "2px solid",
|
|
2574
|
-
outlineColor: "fg",
|
|
2575
|
-
outlineOffset: "2px"
|
|
2576
|
-
},
|
|
2577
|
-
"&[aria-pressed=true]": {
|
|
2578
|
-
borderColor: "fg.muted",
|
|
2579
|
-
bg: "bg.active"
|
|
2580
|
-
},
|
|
2581
|
-
"&[data-status=in_progress]": {
|
|
2582
|
-
borderColor: "fg.info",
|
|
2583
|
-
bg: "bg.info"
|
|
2584
|
-
},
|
|
2585
|
-
"&[data-status=completed]": {
|
|
2586
|
-
borderColor: "fg.success"
|
|
2587
|
-
}
|
|
2588
|
-
},
|
|
2589
|
-
sessionStatus: {
|
|
2590
|
-
gap: "xs",
|
|
2591
|
-
"&[data-status=in_progress] > svg": {
|
|
2592
|
-
animation: "spin 1.2s linear infinite"
|
|
2593
|
-
},
|
|
2594
|
-
"@media (prefers-reduced-motion: reduce)": {
|
|
2595
|
-
"&[data-status=in_progress] > svg": {
|
|
2596
|
-
animation: "none"
|
|
2597
|
-
}
|
|
2598
|
-
}
|
|
2599
|
-
},
|
|
2600
|
-
preview: {
|
|
2601
|
-
layerStyle: "panel",
|
|
2602
|
-
bg: "bg.subtle",
|
|
2603
|
-
p: "md",
|
|
2604
|
-
overflow: "hidden",
|
|
2605
|
-
minWidth: 0,
|
|
2606
|
-
flex: 1
|
|
2607
|
-
},
|
|
2608
|
-
checks: {
|
|
2609
|
-
display: "flex",
|
|
2610
|
-
flexWrap: "wrap",
|
|
2611
|
-
gap: "md",
|
|
2612
|
-
textStyle: "label/S/regular",
|
|
2613
|
-
color: "fg.success"
|
|
2614
|
-
},
|
|
2615
|
-
prompt: {
|
|
2616
|
-
display: "flex",
|
|
2617
|
-
alignItems: "center",
|
|
2618
|
-
justifyContent: "space-between",
|
|
2619
|
-
flexWrap: "wrap",
|
|
2620
|
-
gap: "md",
|
|
2621
|
-
p: "lg",
|
|
2622
|
-
bg: "bg.subtle",
|
|
2623
|
-
layerStyle: "panel",
|
|
2624
|
-
textStyle: "paragraph/L/regular"
|
|
2625
|
-
}
|
|
2626
|
-
}
|
|
2627
|
-
}), De = t({
|
|
2628
1941
|
slots: B.keys(),
|
|
2629
1942
|
base: {
|
|
2630
1943
|
itemGroupLabel: {
|
|
@@ -2704,7 +2017,7 @@ const X = t({
|
|
|
2704
2017
|
textStyle: "label/M/regular"
|
|
2705
2018
|
}
|
|
2706
2019
|
}
|
|
2707
|
-
}),
|
|
2020
|
+
}), ze = "var(--chakra-colors-border)", v = "var(--chakra-colors-border-accent-light)", Ae = t({
|
|
2708
2021
|
slots: H.keys(),
|
|
2709
2022
|
base: {
|
|
2710
2023
|
root: {
|
|
@@ -2712,15 +2025,15 @@ const X = t({
|
|
|
2712
2025
|
zIndex: "0",
|
|
2713
2026
|
isolation: "isolate",
|
|
2714
2027
|
boxShadow: "none",
|
|
2715
|
-
"--number-input-border-color":
|
|
2028
|
+
"--number-input-border-color": ze,
|
|
2716
2029
|
"&:is(:hover, [data-hover])": {
|
|
2717
|
-
"--number-input-border-color":
|
|
2030
|
+
"--number-input-border-color": v
|
|
2718
2031
|
},
|
|
2719
2032
|
"&:is(:active, [data-active])": {
|
|
2720
|
-
"--number-input-border-color":
|
|
2033
|
+
"--number-input-border-color": v
|
|
2721
2034
|
},
|
|
2722
2035
|
"&:focus-within": {
|
|
2723
|
-
"--number-input-border-color":
|
|
2036
|
+
"--number-input-border-color": v
|
|
2724
2037
|
}
|
|
2725
2038
|
},
|
|
2726
2039
|
input: {
|
|
@@ -2917,7 +2230,7 @@ const X = t({
|
|
|
2917
2230
|
size: "sm",
|
|
2918
2231
|
variant: "outline"
|
|
2919
2232
|
}
|
|
2920
|
-
}),
|
|
2233
|
+
}), We = t({
|
|
2921
2234
|
slots: T.keys(),
|
|
2922
2235
|
base: {
|
|
2923
2236
|
positioner: {
|
|
@@ -2971,12 +2284,12 @@ const X = t({
|
|
|
2971
2284
|
}
|
|
2972
2285
|
}
|
|
2973
2286
|
}
|
|
2974
|
-
}),
|
|
2975
|
-
...
|
|
2287
|
+
}), Re = p.variants?.size ?? {}, De = {
|
|
2288
|
+
...p,
|
|
2976
2289
|
variants: {
|
|
2977
|
-
...
|
|
2290
|
+
...p.variants,
|
|
2978
2291
|
size: {
|
|
2979
|
-
...
|
|
2292
|
+
...Re,
|
|
2980
2293
|
"2xs": {
|
|
2981
2294
|
circle: {
|
|
2982
2295
|
"--size": "14px",
|
|
@@ -3010,7 +2323,7 @@ const X = t({
|
|
|
3010
2323
|
separator: {
|
|
3011
2324
|
display: "none"
|
|
3012
2325
|
}
|
|
3013
|
-
},
|
|
2326
|
+
}, Be = t({
|
|
3014
2327
|
slots: ["root", "resizablePanel", "contentPanel", "separator"],
|
|
3015
2328
|
base: {
|
|
3016
2329
|
root: {
|
|
@@ -3109,13 +2422,13 @@ const X = t({
|
|
|
3109
2422
|
orientation: "horizontal",
|
|
3110
2423
|
layout: "split"
|
|
3111
2424
|
}
|
|
3112
|
-
}),
|
|
2425
|
+
}), He = c({
|
|
3113
2426
|
base: {
|
|
3114
2427
|
"--start-color": "fg",
|
|
3115
2428
|
"--end-color": "fg.muted"
|
|
3116
2429
|
}
|
|
3117
|
-
}),
|
|
3118
|
-
slots:
|
|
2430
|
+
}), Te = t({
|
|
2431
|
+
slots: L.keys(),
|
|
3119
2432
|
base: {
|
|
3120
2433
|
control: {
|
|
3121
2434
|
alignItems: "center",
|
|
@@ -3178,8 +2491,8 @@ const X = t({
|
|
|
3178
2491
|
}
|
|
3179
2492
|
}
|
|
3180
2493
|
}
|
|
3181
|
-
}),
|
|
3182
|
-
slots:
|
|
2494
|
+
}), Le = t({
|
|
2495
|
+
slots: I.keys(),
|
|
3183
2496
|
base: {
|
|
3184
2497
|
root: {
|
|
3185
2498
|
"--tabs-trigger-radius": "radii.xs"
|
|
@@ -3313,7 +2626,7 @@ const X = t({
|
|
|
3313
2626
|
size: "xs",
|
|
3314
2627
|
variant: "subtle"
|
|
3315
2628
|
}
|
|
3316
|
-
}), i = "border.accent-light",
|
|
2629
|
+
}), i = "border.accent-light", Ie = c({
|
|
3317
2630
|
base: {
|
|
3318
2631
|
paddingX: "sm",
|
|
3319
2632
|
paddingY: "xs",
|
|
@@ -3419,8 +2732,8 @@ const X = t({
|
|
|
3419
2732
|
size: "sm",
|
|
3420
2733
|
variant: "outline"
|
|
3421
2734
|
}
|
|
3422
|
-
}),
|
|
3423
|
-
slots:
|
|
2735
|
+
}), Ve = t({
|
|
2736
|
+
slots: V.keys(),
|
|
3424
2737
|
base: {
|
|
3425
2738
|
root: {
|
|
3426
2739
|
display: "flex",
|
|
@@ -3489,6 +2802,15 @@ const X = t({
|
|
|
3489
2802
|
},
|
|
3490
2803
|
variants: {
|
|
3491
2804
|
variant: {
|
|
2805
|
+
tool: {
|
|
2806
|
+
content: {
|
|
2807
|
+
minWidth: "0"
|
|
2808
|
+
},
|
|
2809
|
+
title: {
|
|
2810
|
+
flexWrap: "nowrap",
|
|
2811
|
+
whiteSpace: "nowrap"
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
3492
2814
|
solid: {},
|
|
3493
2815
|
subtle: {},
|
|
3494
2816
|
outline: {
|
|
@@ -3566,8 +2888,8 @@ const X = t({
|
|
|
3566
2888
|
variant: "solid",
|
|
3567
2889
|
showLastSeparator: !1
|
|
3568
2890
|
}
|
|
3569
|
-
}),
|
|
3570
|
-
slots:
|
|
2891
|
+
}), Pe = t({
|
|
2892
|
+
slots: P.keys(),
|
|
3571
2893
|
base: {
|
|
3572
2894
|
content: {
|
|
3573
2895
|
bg: "bg.inverted",
|
|
@@ -3575,14 +2897,14 @@ const X = t({
|
|
|
3575
2897
|
color: "fg.inverted"
|
|
3576
2898
|
}
|
|
3577
2899
|
}
|
|
3578
|
-
}),
|
|
2900
|
+
}), Xe = /* @__PURE__ */ new Set(["boxShadow", "boxShadowColor", "textShadow"]), f = /shadow/i, Me = (o) => {
|
|
3579
2901
|
if (!f.test(o)) return o;
|
|
3580
2902
|
const l = o.split(",").map((r) => r.trim()).filter((r) => !f.test(r));
|
|
3581
2903
|
if (l.length !== 0)
|
|
3582
2904
|
return l.join(", ");
|
|
3583
|
-
},
|
|
3584
|
-
if (
|
|
3585
|
-
const n =
|
|
2905
|
+
}, 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]) => {
|
|
2906
|
+
if (Xe.has(l) || f.test(l)) return [];
|
|
2907
|
+
const n = b(r);
|
|
3586
2908
|
return n === void 0 ? [] : [[l, n]];
|
|
3587
2909
|
})), y = (o) => {
|
|
3588
2910
|
const {
|
|
@@ -3590,40 +2912,40 @@ const X = t({
|
|
|
3590
2912
|
...r
|
|
3591
2913
|
} = o ?? {};
|
|
3592
2914
|
return r;
|
|
3593
|
-
},
|
|
2915
|
+
}, je = {
|
|
3594
2916
|
badge: ["surface"],
|
|
3595
2917
|
button: ["secondary", "surface"]
|
|
3596
|
-
},
|
|
2918
|
+
}, Ue = (o) => {
|
|
3597
2919
|
const l = {
|
|
3598
2920
|
...o ?? {}
|
|
3599
2921
|
};
|
|
3600
|
-
for (const [r, n] of Object.entries(
|
|
2922
|
+
for (const [r, n] of Object.entries(je)) {
|
|
3601
2923
|
const s = l[r];
|
|
3602
2924
|
if (!s || typeof s != "object") continue;
|
|
3603
|
-
const
|
|
2925
|
+
const g = s, m = g.variants, x = m?.variant;
|
|
3604
2926
|
if (!x) continue;
|
|
3605
|
-
const
|
|
2927
|
+
const _ = new Set(n), S = Object.fromEntries(Object.entries(x).filter(([F]) => !_.has(F)));
|
|
3606
2928
|
l[r] = {
|
|
3607
|
-
...
|
|
2929
|
+
...g,
|
|
3608
2930
|
variants: {
|
|
3609
2931
|
...m,
|
|
3610
|
-
variant:
|
|
2932
|
+
variant: S
|
|
3611
2933
|
}
|
|
3612
2934
|
};
|
|
3613
2935
|
}
|
|
3614
2936
|
return l;
|
|
3615
|
-
},
|
|
2937
|
+
}, Oe = {
|
|
3616
2938
|
...d,
|
|
3617
2939
|
theme: {
|
|
3618
2940
|
...d.theme,
|
|
3619
2941
|
tokens: y(d.theme?.tokens),
|
|
3620
2942
|
semanticTokens: y(d.theme?.semanticTokens),
|
|
3621
|
-
recipes:
|
|
3622
|
-
slotRecipes:
|
|
3623
|
-
layerStyles:
|
|
3624
|
-
animationStyles:
|
|
2943
|
+
recipes: Ue(b(d.theme?.recipes)),
|
|
2944
|
+
slotRecipes: b(d.theme?.slotRecipes),
|
|
2945
|
+
layerStyles: b(d.theme?.layerStyles),
|
|
2946
|
+
animationStyles: b(d.theme?.animationStyles)
|
|
3625
2947
|
}
|
|
3626
|
-
},
|
|
2948
|
+
}, Ye = {
|
|
3627
2949
|
DEFAULT: {
|
|
3628
2950
|
value: "1px solid {colors.border}"
|
|
3629
2951
|
},
|
|
@@ -3639,7 +2961,7 @@ const X = t({
|
|
|
3639
2961
|
"accent-light": {
|
|
3640
2962
|
value: "1px solid {colors.border.accent-light}"
|
|
3641
2963
|
}
|
|
3642
|
-
},
|
|
2964
|
+
}, $e = {
|
|
3643
2965
|
text: {
|
|
3644
2966
|
primary: {
|
|
3645
2967
|
value: {
|
|
@@ -3800,7 +3122,7 @@ const X = t({
|
|
|
3800
3122
|
}
|
|
3801
3123
|
}
|
|
3802
3124
|
}
|
|
3803
|
-
},
|
|
3125
|
+
}, Ne = {
|
|
3804
3126
|
DEFAULT: {
|
|
3805
3127
|
value: {
|
|
3806
3128
|
_light: "{colors.blacks.50}",
|
|
@@ -4059,7 +3381,7 @@ const X = t({
|
|
|
4059
3381
|
}
|
|
4060
3382
|
}
|
|
4061
3383
|
}
|
|
4062
|
-
},
|
|
3384
|
+
}, qe = {
|
|
4063
3385
|
DEFAULT: {
|
|
4064
3386
|
value: {
|
|
4065
3387
|
_light: "{colors.blacks.800}",
|
|
@@ -4155,7 +3477,7 @@ const X = t({
|
|
|
4155
3477
|
value: "{colors.fg.muted}"
|
|
4156
3478
|
}
|
|
4157
3479
|
}
|
|
4158
|
-
},
|
|
3480
|
+
}, Ge = {
|
|
4159
3481
|
DEFAULT: {
|
|
4160
3482
|
value: {
|
|
4161
3483
|
_light: "#EAF0EB",
|
|
@@ -4215,14 +3537,14 @@ const X = t({
|
|
|
4215
3537
|
value: "{colors.border.subtle}"
|
|
4216
3538
|
}
|
|
4217
3539
|
}
|
|
4218
|
-
},
|
|
3540
|
+
}, Ke = {
|
|
4219
3541
|
border: {
|
|
4220
3542
|
value: {
|
|
4221
3543
|
_light: "{colors.mint.200}",
|
|
4222
3544
|
_dark: "{colors.mint.200}"
|
|
4223
3545
|
}
|
|
4224
3546
|
}
|
|
4225
|
-
},
|
|
3547
|
+
}, Je = {
|
|
4226
3548
|
contrast: {
|
|
4227
3549
|
value: {
|
|
4228
3550
|
_light: "black",
|
|
@@ -4271,7 +3593,7 @@ const X = t({
|
|
|
4271
3593
|
_dark: "{colors.orange.500}"
|
|
4272
3594
|
}
|
|
4273
3595
|
}
|
|
4274
|
-
},
|
|
3596
|
+
}, Qe = {
|
|
4275
3597
|
selectable: {
|
|
4276
3598
|
primary: {
|
|
4277
3599
|
value: {
|
|
@@ -4280,15 +3602,15 @@ const X = t({
|
|
|
4280
3602
|
}
|
|
4281
3603
|
}
|
|
4282
3604
|
}
|
|
4283
|
-
},
|
|
4284
|
-
fg:
|
|
4285
|
-
bg:
|
|
4286
|
-
border:
|
|
4287
|
-
blue:
|
|
4288
|
-
orange:
|
|
4289
|
-
vis:
|
|
4290
|
-
text:
|
|
4291
|
-
},
|
|
3605
|
+
}, Ze = {
|
|
3606
|
+
fg: qe,
|
|
3607
|
+
bg: Ne,
|
|
3608
|
+
border: Ge,
|
|
3609
|
+
blue: Ke,
|
|
3610
|
+
orange: Je,
|
|
3611
|
+
vis: $e,
|
|
3612
|
+
text: Qe
|
|
3613
|
+
}, eo = k({
|
|
4292
3614
|
floatingBar: {
|
|
4293
3615
|
value: {
|
|
4294
3616
|
paddingInline: "sm",
|
|
@@ -4319,7 +3641,7 @@ const X = t({
|
|
|
4319
3641
|
borderColor: "border"
|
|
4320
3642
|
}
|
|
4321
3643
|
}
|
|
4322
|
-
}),
|
|
3644
|
+
}), oo = w({
|
|
4323
3645
|
brand: {
|
|
4324
3646
|
value: {
|
|
4325
3647
|
fontFamily: "brand",
|
|
@@ -4606,8 +3928,8 @@ const X = t({
|
|
|
4606
3928
|
letterSpacing: "0.14px"
|
|
4607
3929
|
}
|
|
4608
3930
|
}
|
|
4609
|
-
}),
|
|
4610
|
-
globalCss:
|
|
3931
|
+
}), ro = E({
|
|
3932
|
+
globalCss: $,
|
|
4611
3933
|
utilities: {
|
|
4612
3934
|
WebkitAppRegion: {
|
|
4613
3935
|
values: ["drag", "no-drag"],
|
|
@@ -4621,16 +3943,16 @@ const X = t({
|
|
|
4621
3943
|
"3xl": "2560px",
|
|
4622
3944
|
"4xl": "3840px"
|
|
4623
3945
|
},
|
|
4624
|
-
textStyles:
|
|
4625
|
-
layerStyles:
|
|
3946
|
+
textStyles: oo,
|
|
3947
|
+
layerStyles: eo,
|
|
4626
3948
|
recipes: {
|
|
4627
|
-
badge:
|
|
3949
|
+
badge: pe,
|
|
4628
3950
|
button: fe,
|
|
4629
|
-
divider:
|
|
4630
|
-
input:
|
|
4631
|
-
kbd:
|
|
4632
|
-
skeleton:
|
|
4633
|
-
textarea:
|
|
3951
|
+
divider: _e,
|
|
3952
|
+
input: we,
|
|
3953
|
+
kbd: Ce,
|
|
3954
|
+
skeleton: He,
|
|
3955
|
+
textarea: Ie
|
|
4634
3956
|
},
|
|
4635
3957
|
tokens: {
|
|
4636
3958
|
colors: se,
|
|
@@ -4638,43 +3960,40 @@ const X = t({
|
|
|
4638
3960
|
fonts: de,
|
|
4639
3961
|
fontSizes: ce,
|
|
4640
3962
|
fontWeights: ue,
|
|
4641
|
-
radii:
|
|
4642
|
-
sizes:
|
|
4643
|
-
spacing:
|
|
3963
|
+
radii: ve,
|
|
3964
|
+
sizes: ge,
|
|
3965
|
+
spacing: be
|
|
4644
3966
|
},
|
|
4645
3967
|
semanticTokens: {
|
|
4646
|
-
colors:
|
|
4647
|
-
borders:
|
|
3968
|
+
colors: Ze,
|
|
3969
|
+
borders: Ye
|
|
4648
3970
|
},
|
|
4649
3971
|
slotRecipes: {
|
|
4650
3972
|
windowTitleBar: X,
|
|
4651
3973
|
windowTabs: M,
|
|
4652
|
-
|
|
4653
|
-
landingStory: We,
|
|
4654
|
-
landingToolDemo: ze,
|
|
4655
|
-
resizableSplitLayout: Ie,
|
|
3974
|
+
resizableSplitLayout: Be,
|
|
4656
3975
|
alert: he,
|
|
4657
3976
|
colorPicker: xe,
|
|
4658
|
-
drawer:
|
|
4659
|
-
tooltip:
|
|
4660
|
-
popover:
|
|
4661
|
-
menu:
|
|
4662
|
-
numberInput:
|
|
4663
|
-
editable:
|
|
3977
|
+
drawer: Se,
|
|
3978
|
+
tooltip: Pe,
|
|
3979
|
+
popover: We,
|
|
3980
|
+
menu: Ee,
|
|
3981
|
+
numberInput: Ae,
|
|
3982
|
+
editable: Fe,
|
|
4664
3983
|
form: ke,
|
|
4665
3984
|
dialog: ye,
|
|
4666
|
-
progressCircle:
|
|
4667
|
-
switch:
|
|
4668
|
-
tabs:
|
|
4669
|
-
timeline:
|
|
3985
|
+
progressCircle: De,
|
|
3986
|
+
switch: Te,
|
|
3987
|
+
tabs: Le,
|
|
3988
|
+
timeline: Ve
|
|
4670
3989
|
}
|
|
4671
3990
|
}
|
|
4672
|
-
}),
|
|
3991
|
+
}), no = C(Oe, ro);
|
|
4673
3992
|
export {
|
|
4674
|
-
|
|
3993
|
+
io as a,
|
|
4675
3994
|
X as b,
|
|
4676
|
-
|
|
4677
|
-
|
|
3995
|
+
Y as c,
|
|
3996
|
+
no as t,
|
|
4678
3997
|
M as w
|
|
4679
3998
|
};
|
|
4680
|
-
//# sourceMappingURL=theme-
|
|
3999
|
+
//# sourceMappingURL=theme-AzJH4Om3.js.map
|