@pstdio/ui 0.43.1-nightly.20261013030813 → 0.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MermaidComponent-CJCip-GB.js → MermaidComponent-_cmVeKKR.js} +2 -2
- package/dist/{MermaidComponent-CJCip-GB.js.map → MermaidComponent-_cmVeKKR.js.map} +1 -1
- package/dist/chat-ui.d.ts +84 -56
- package/dist/chat-ui.js +792 -788
- package/dist/chat-ui.js.map +1 -1
- package/dist/{collection-view-fields-CajuwtKF.d.ts → collection-view-fields-B3fhsgn7.d.ts} +2 -0
- package/dist/{collection-view-grouping-Bm7Hlt5w.js → collection-view-grouping-jIqOrBG8.js} +2 -2
- package/dist/{collection-view-grouping-Bm7Hlt5w.js.map → collection-view-grouping-jIqOrBG8.js.map} +1 -1
- package/dist/{collection-view-search-BqYMZQ4q.js → collection-view-search-KbQpKHdn.js} +728 -601
- package/dist/collection-view-search-KbQpKHdn.js.map +1 -0
- package/dist/collection-view.d.ts +90 -3
- package/dist/collection-view.js +1 -1
- package/dist/{data-table-stats-row-RwLXF9EW.js → data-table-stats-row-83mX8b1B.js} +2 -2
- package/dist/{data-table-stats-row-RwLXF9EW.js.map → data-table-stats-row-83mX8b1B.js.map} +1 -1
- package/dist/data-table.d.ts +2 -3
- package/dist/data-table.js +6 -6
- package/dist/{diff-viewer-BD2PQ4SS.js → diff-viewer-C5KXwq7E.js} +3 -3
- package/dist/{diff-viewer-BD2PQ4SS.js.map → diff-viewer-C5KXwq7E.js.map} +1 -1
- package/dist/diff.js +2 -2
- package/dist/{display-sort-control-BSFhWHgn.js → display-sort-control-BCkgKET1.js} +3 -3
- package/dist/{display-sort-control-BSFhWHgn.js.map → display-sort-control-BCkgKET1.js.map} +1 -1
- package/dist/{edit-mode-data-table-TdIRPVU1.js → edit-mode-data-table-ScVJJT9F.js} +5 -5
- package/dist/{edit-mode-data-table-TdIRPVU1.js.map → edit-mode-data-table-ScVJJT9F.js.map} +1 -1
- package/dist/{index-DjZsR4Ey.d.ts → index-DXpADqIg.d.ts} +8 -4
- package/dist/index.d.ts +49 -49
- package/dist/index.js +451 -453
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +3 -3
- package/dist/kanban-renderer.js +934 -744
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/{list-row-DCHZXCVH.js → list-row-F8kBQGB-.js} +393 -383
- package/dist/list-row-F8kBQGB-.js.map +1 -0
- package/dist/{markdown-editor-6jAy_E3r.js → markdown-editor-Dm4Fi3sX.js} +4 -4
- package/dist/{markdown-editor-6jAy_E3r.js.map → markdown-editor-Dm4Fi3sX.js.map} +1 -1
- package/dist/{param-editor-f57ea8V9.js → param-editor-B9ASM5Lv.js} +2 -2
- package/dist/{param-editor-f57ea8V9.js.map → param-editor-B9ASM5Lv.js.map} +1 -1
- package/dist/{param-editor-field-CePT5hCj.js → param-editor-field-BmNUziwI.js} +5 -3
- package/dist/param-editor-field-BmNUziwI.js.map +1 -0
- package/dist/param-editor.js +2 -2
- package/dist/{rich-text-bKBLAco5.js → rich-text-Dx5F8Zm1.js} +3 -3
- package/dist/{rich-text-bKBLAco5.js.map → rich-text-Dx5F8Zm1.js.map} +1 -1
- package/dist/rich-text.js +3 -3
- package/dist/terminal.js +1 -1
- package/dist/{theme-bxwJIMKe.js → theme-CWDvF5Yn.js} +164 -72
- package/dist/theme-CWDvF5Yn.js.map +1 -0
- package/dist/theme.js +1 -1
- package/dist/{tree-list-nFNO7MV4.js → tree-list-Ces1hpRd.js} +2 -2
- package/dist/{tree-list-nFNO7MV4.js.map → tree-list-Ces1hpRd.js.map} +1 -1
- package/dist/{workspace-badge-oFp29Gbe.d.ts → workspace-badge-De6OQjb5.d.ts} +2 -1
- package/dist/{workspace-badge-BgiTennO.js → workspace-badge-DqQKSUJw.js} +11 -11
- package/dist/workspace-badge-DqQKSUJw.js.map +1 -0
- package/package.json +2 -2
- package/dist/collection-view-search-BqYMZQ4q.js.map +0 -1
- package/dist/index-r6SFPkUI.d.ts +0 -91
- package/dist/list-row-DCHZXCVH.js.map +0 -1
- package/dist/param-editor-field-CePT5hCj.js.map +0 -1
- package/dist/theme-bxwJIMKe.js.map +0 -1
- package/dist/workspace-badge-BgiTennO.js.map +0 -1
package/dist/rich-text.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./markdown-editor-
|
|
2
|
-
import { m as t } from "./param-editor-field-
|
|
3
|
-
import { a as n, c as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./rich-text-
|
|
1
|
+
import { t as e } from "./markdown-editor-Dm4Fi3sX.js";
|
|
2
|
+
import { m as t } from "./param-editor-field-BmNUziwI.js";
|
|
3
|
+
import { a as n, c as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./rich-text-Dx5F8Zm1.js";
|
|
4
4
|
export { d as CollaborativeMarkdownEditor, c as DefaultRichTextCodeEditor, i as DefaultRichTextDataTable, t as LazyMarkdownEditor, e as MarkdownEditor, s as MarkdownPreview, s as RichMessage, l as PromptEditor, n as ResourceActivityFeed, r as generateEditorStateFromString, a as getTextFromSerializedEditorState, o as inferResourceTypeFromMediaType, u as mediaTypeFromPath };
|
package/dist/terminal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./split-panel-motion-context-YB0sduVv.js";
|
|
2
|
-
import { t } from "./theme-
|
|
2
|
+
import { t } from "./theme-CWDvF5Yn.js";
|
|
3
3
|
import { c as n } from "react/compiler-runtime";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { useContext as i, useEffect as a, useRef as o, useState as s } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as e, t } from "./queued-follow-up-Bj_vtMgd.js";
|
|
2
2
|
import { createSystem as n, defaultConfig as r, defineConfig as i, defineLayerStyles as a, defineRecipe as o, defineSlotRecipe as s, defineTextStyles as c } from "@chakra-ui/react";
|
|
3
|
-
import { alertAnatomy as
|
|
4
|
-
import { progressCircleSlotRecipe as
|
|
3
|
+
import { alertAnatomy as l, colorPickerAnatomy as ee, dialogAnatomy as te, drawerAnatomy as ne, fieldsetAnatomy as re, menuAnatomy as u, numberInputAnatomy as d, popoverAnatomy as f, switchAnatomy as p, tabsAnatomy as m, tagAnatomy as ie, timelineAnatomy as ae, tooltipAnatomy as oe } from "@chakra-ui/react/anatomy";
|
|
4
|
+
import { progressCircleSlotRecipe as h } from "@chakra-ui/react/theme";
|
|
5
5
|
//#region src/theme/recipes/window-title-bar.ts
|
|
6
|
-
var
|
|
6
|
+
var g = s({
|
|
7
7
|
className: "ps-window-title-bar",
|
|
8
8
|
slots: ["root", "content"],
|
|
9
9
|
base: {
|
|
@@ -38,7 +38,7 @@ var h = s({
|
|
|
38
38
|
} }
|
|
39
39
|
} },
|
|
40
40
|
defaultVariants: { controls: "overlay" }
|
|
41
|
-
}),
|
|
41
|
+
}), _ = s({
|
|
42
42
|
className: "ps-window-tabs",
|
|
43
43
|
slots: [
|
|
44
44
|
"list",
|
|
@@ -134,7 +134,7 @@ var h = s({
|
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
}),
|
|
137
|
+
}), se = {
|
|
138
138
|
"@property --split-size": {
|
|
139
139
|
syntax: "\"<length>\"",
|
|
140
140
|
inherits: "true",
|
|
@@ -536,6 +536,9 @@ var h = s({
|
|
|
536
536
|
"panel-gap": { value: w[50] },
|
|
537
537
|
"performance-bar-gap": { value: "1px" }
|
|
538
538
|
}, E = {
|
|
539
|
+
"chat-user-preview": { value: w[1600] },
|
|
540
|
+
"chat-user-footer": { value: w[400] },
|
|
541
|
+
"chat-user-expanded": { value: "min(70dvh, calc(100dvh - 12rem), 22rem)" },
|
|
539
542
|
"scrollbar-thin": { value: w[25] },
|
|
540
543
|
"chat-content": { value: "52rem" },
|
|
541
544
|
"palette-width": { value: "44rem" },
|
|
@@ -548,6 +551,7 @@ var h = s({
|
|
|
548
551
|
"performance-meter": { value: "0.625rem" },
|
|
549
552
|
"performance-chart": { value: "2.25rem" },
|
|
550
553
|
"performance-popover": { value: "23.75rem" },
|
|
554
|
+
"popover-panel": { value: "27.5rem" },
|
|
551
555
|
"folder-picker-width": { value: "36.5rem" },
|
|
552
556
|
"folder-picker-height": { value: "31rem" },
|
|
553
557
|
"folder-picker-header": { value: "3.25rem" },
|
|
@@ -599,7 +603,7 @@ var h = s({
|
|
|
599
603
|
full: { value: "100%" },
|
|
600
604
|
pill: { value: "9999px" }
|
|
601
605
|
}, k = s({
|
|
602
|
-
slots:
|
|
606
|
+
slots: l.keys(),
|
|
603
607
|
base: {
|
|
604
608
|
root: {
|
|
605
609
|
px: "xs",
|
|
@@ -966,7 +970,7 @@ var h = s({
|
|
|
966
970
|
label: { textStyle: "label/XS" }
|
|
967
971
|
} } }
|
|
968
972
|
}), F = "border.accent-light", I = s({
|
|
969
|
-
slots:
|
|
973
|
+
slots: ee.keys(),
|
|
970
974
|
base: {
|
|
971
975
|
control: {
|
|
972
976
|
display: "flex",
|
|
@@ -1070,7 +1074,7 @@ var h = s({
|
|
|
1070
1074
|
} },
|
|
1071
1075
|
defaultVariants: { size: "sm" }
|
|
1072
1076
|
}), L = s({
|
|
1073
|
-
slots:
|
|
1077
|
+
slots: te.keys(),
|
|
1074
1078
|
base: {
|
|
1075
1079
|
title: { textStyle: "heading/dialog" },
|
|
1076
1080
|
content: {
|
|
@@ -1088,7 +1092,7 @@ var h = s({
|
|
|
1088
1092
|
justifyContent: "space-between"
|
|
1089
1093
|
} } } }
|
|
1090
1094
|
}), R = o({ base: { borderColor: "border.subtle" } }), z = s({
|
|
1091
|
-
slots:
|
|
1095
|
+
slots: ne.keys(),
|
|
1092
1096
|
base: {
|
|
1093
1097
|
header: {
|
|
1094
1098
|
fontWeight: "medium",
|
|
@@ -1304,7 +1308,7 @@ var h = s({
|
|
|
1304
1308
|
}
|
|
1305
1309
|
}
|
|
1306
1310
|
}), H = s({
|
|
1307
|
-
slots:
|
|
1311
|
+
slots: re.keys(),
|
|
1308
1312
|
base: { legend: { mb: "2xs" } }
|
|
1309
1313
|
}), U = "border.accent-light", W = o({
|
|
1310
1314
|
base: {
|
|
@@ -1514,7 +1518,7 @@ var h = s({
|
|
|
1514
1518
|
} },
|
|
1515
1519
|
defaultVariants: { visibility: "always" }
|
|
1516
1520
|
}), ce = s({
|
|
1517
|
-
slots:
|
|
1521
|
+
slots: u.keys(),
|
|
1518
1522
|
base: {
|
|
1519
1523
|
itemGroupLabel: {
|
|
1520
1524
|
ml: "{2xs}",
|
|
@@ -1665,7 +1669,7 @@ var h = s({
|
|
|
1665
1669
|
animation: "text-chunk {durations.text-chunk} {easings.enter}",
|
|
1666
1670
|
_motionReduce: { animation: "none" }
|
|
1667
1671
|
} } }), me = "var(--chakra-colors-border)", q = "var(--chakra-colors-border-accent-light)", he = s({
|
|
1668
|
-
slots:
|
|
1672
|
+
slots: d.keys(),
|
|
1669
1673
|
base: {
|
|
1670
1674
|
root: {
|
|
1671
1675
|
position: "relative",
|
|
@@ -1885,7 +1889,7 @@ var h = s({
|
|
|
1885
1889
|
}
|
|
1886
1890
|
} } }
|
|
1887
1891
|
}), _e = s({
|
|
1888
|
-
slots:
|
|
1892
|
+
slots: f.keys(),
|
|
1889
1893
|
base: {
|
|
1890
1894
|
positioner: { _focus: { outline: "none" } },
|
|
1891
1895
|
closeTrigger: {
|
|
@@ -1916,13 +1920,27 @@ var h = s({
|
|
|
1916
1920
|
footer: {}
|
|
1917
1921
|
},
|
|
1918
1922
|
variants: {
|
|
1919
|
-
variant: {
|
|
1923
|
+
variant: {
|
|
1924
|
+
panel: {
|
|
1925
|
+
content: {
|
|
1926
|
+
"--popover-size": "sizes.popover-panel",
|
|
1927
|
+
padding: "md",
|
|
1928
|
+
gap: "md",
|
|
1929
|
+
borderColor: "border"
|
|
1930
|
+
},
|
|
1931
|
+
header: { padding: "0" },
|
|
1932
|
+
title: { textStyle: "label/M/medium" },
|
|
1933
|
+
body: { padding: "0" },
|
|
1934
|
+
footer: { padding: "0" }
|
|
1935
|
+
},
|
|
1936
|
+
responsive: { content: { width: "unset" } }
|
|
1937
|
+
},
|
|
1920
1938
|
size: { "2xl": { content: { width: "2xl" } } }
|
|
1921
1939
|
}
|
|
1922
|
-
}), ve =
|
|
1923
|
-
...
|
|
1940
|
+
}), ve = h.variants?.size ?? {}, ye = {
|
|
1941
|
+
...h,
|
|
1924
1942
|
variants: {
|
|
1925
|
-
...
|
|
1943
|
+
...h.variants,
|
|
1926
1944
|
size: {
|
|
1927
1945
|
...ve,
|
|
1928
1946
|
"2xs": {
|
|
@@ -2150,8 +2168,76 @@ var h = s({
|
|
|
2150
2168
|
}), Se = o({ base: {
|
|
2151
2169
|
"--start-color": "fg",
|
|
2152
2170
|
"--end-color": "fg.muted"
|
|
2153
|
-
} }), Ce = s({
|
|
2154
|
-
slots:
|
|
2171
|
+
} }), Y = "calc({sizes.chat-user-preview} - {sizes.chat-user-footer})", Ce = s({
|
|
2172
|
+
slots: [
|
|
2173
|
+
"root",
|
|
2174
|
+
"viewport",
|
|
2175
|
+
"body",
|
|
2176
|
+
"preview",
|
|
2177
|
+
"footer",
|
|
2178
|
+
"actions"
|
|
2179
|
+
],
|
|
2180
|
+
base: {
|
|
2181
|
+
actions: {
|
|
2182
|
+
px: "xs",
|
|
2183
|
+
pb: "xs"
|
|
2184
|
+
},
|
|
2185
|
+
root: {
|
|
2186
|
+
position: "relative",
|
|
2187
|
+
padding: "0",
|
|
2188
|
+
gap: "0",
|
|
2189
|
+
overflow: "hidden"
|
|
2190
|
+
},
|
|
2191
|
+
viewport: {
|
|
2192
|
+
maxHeight: Y,
|
|
2193
|
+
overflowY: "hidden",
|
|
2194
|
+
minHeight: "0"
|
|
2195
|
+
},
|
|
2196
|
+
body: {
|
|
2197
|
+
display: "flex",
|
|
2198
|
+
flexDirection: "column",
|
|
2199
|
+
gap: "sm",
|
|
2200
|
+
padding: "xs",
|
|
2201
|
+
paddingBottom: "0"
|
|
2202
|
+
},
|
|
2203
|
+
preview: {
|
|
2204
|
+
position: "absolute",
|
|
2205
|
+
height: Y,
|
|
2206
|
+
width: "0",
|
|
2207
|
+
visibility: "hidden",
|
|
2208
|
+
pointerEvents: "none"
|
|
2209
|
+
},
|
|
2210
|
+
footer: {
|
|
2211
|
+
position: "relative",
|
|
2212
|
+
flexShrink: "0",
|
|
2213
|
+
minHeight: "chat-user-footer",
|
|
2214
|
+
display: "flex",
|
|
2215
|
+
justifyContent: "space-between",
|
|
2216
|
+
alignItems: "center",
|
|
2217
|
+
padding: "xs",
|
|
2218
|
+
paddingTop: "0",
|
|
2219
|
+
background: "var(--chat-message-bg)",
|
|
2220
|
+
_before: {
|
|
2221
|
+
content: "\"\"",
|
|
2222
|
+
position: "absolute",
|
|
2223
|
+
bottom: "100%",
|
|
2224
|
+
left: "0",
|
|
2225
|
+
right: "0",
|
|
2226
|
+
height: "{spacing.3xl}",
|
|
2227
|
+
backgroundImage: "linear-gradient(to bottom, transparent, var(--chat-message-bg) 75%, var(--chat-message-bg))",
|
|
2228
|
+
pointerEvents: "none"
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
},
|
|
2232
|
+
variants: { expanded: { true: {
|
|
2233
|
+
viewport: {
|
|
2234
|
+
maxHeight: "calc({sizes.chat-user-expanded} - {sizes.chat-user-footer})",
|
|
2235
|
+
overflowY: "auto"
|
|
2236
|
+
},
|
|
2237
|
+
footer: { _before: { display: "none" } }
|
|
2238
|
+
} } }
|
|
2239
|
+
}), we = s({
|
|
2240
|
+
slots: p.keys(),
|
|
2155
2241
|
base: {
|
|
2156
2242
|
control: {
|
|
2157
2243
|
alignItems: "center",
|
|
@@ -2193,8 +2279,8 @@ var h = s({
|
|
|
2193
2279
|
},
|
|
2194
2280
|
thumb: { _checked: { bg: "fg.inverted" } }
|
|
2195
2281
|
} } }
|
|
2196
|
-
}),
|
|
2197
|
-
slots:
|
|
2282
|
+
}), Te = s({
|
|
2283
|
+
slots: m.keys(),
|
|
2198
2284
|
base: {
|
|
2199
2285
|
root: { "--tabs-trigger-radius": "radii.xs" },
|
|
2200
2286
|
list: {
|
|
@@ -2206,6 +2292,11 @@ var h = s({
|
|
|
2206
2292
|
_horizontal: { _before: { borderBottomWidth: "0" } }
|
|
2207
2293
|
},
|
|
2208
2294
|
trigger: {
|
|
2295
|
+
"&[data-reorderable]": {
|
|
2296
|
+
cursor: "grab",
|
|
2297
|
+
touchAction: "none"
|
|
2298
|
+
},
|
|
2299
|
+
"&[data-dragging]": { opacity: .5 },
|
|
2209
2300
|
flexShrink: "0",
|
|
2210
2301
|
overflow: "hidden",
|
|
2211
2302
|
"&:has([data-tab-close])": {
|
|
@@ -2319,8 +2410,8 @@ var h = s({
|
|
|
2319
2410
|
size: "xs",
|
|
2320
2411
|
variant: "subtle"
|
|
2321
2412
|
}
|
|
2322
|
-
}),
|
|
2323
|
-
slots:
|
|
2413
|
+
}), Ee = s({
|
|
2414
|
+
slots: ie.keys(),
|
|
2324
2415
|
base: {
|
|
2325
2416
|
root: {
|
|
2326
2417
|
display: "inline-flex",
|
|
@@ -2389,7 +2480,7 @@ var h = s({
|
|
|
2389
2480
|
variant: "ticket",
|
|
2390
2481
|
size: "composer"
|
|
2391
2482
|
}
|
|
2392
|
-
}),
|
|
2483
|
+
}), X = "border.accent-light", De = o({
|
|
2393
2484
|
base: {
|
|
2394
2485
|
paddingX: "sm",
|
|
2395
2486
|
paddingY: "xs",
|
|
@@ -2403,21 +2494,21 @@ var h = s({
|
|
|
2403
2494
|
borderColor: "border",
|
|
2404
2495
|
"--focus-color": "var(--chakra-colors-border-accent-light)",
|
|
2405
2496
|
"--focus-ring-style": "none",
|
|
2406
|
-
_hover: { borderColor:
|
|
2407
|
-
_active: { borderColor:
|
|
2497
|
+
_hover: { borderColor: X },
|
|
2498
|
+
_active: { borderColor: X },
|
|
2408
2499
|
_focus: {
|
|
2409
|
-
borderColor:
|
|
2500
|
+
borderColor: X,
|
|
2410
2501
|
outline: "none",
|
|
2411
2502
|
boxShadow: "none"
|
|
2412
2503
|
},
|
|
2413
2504
|
_focusVisible: {
|
|
2414
|
-
borderColor:
|
|
2505
|
+
borderColor: X,
|
|
2415
2506
|
outline: "none",
|
|
2416
2507
|
boxShadow: "none"
|
|
2417
2508
|
},
|
|
2418
2509
|
_placeholder: { color: "fg.subtle" },
|
|
2419
|
-
"&:is(:hover, [data-hover])": { borderColor:
|
|
2420
|
-
"&:is(:active, [data-active])": { borderColor:
|
|
2510
|
+
"&:is(:hover, [data-hover])": { borderColor: X },
|
|
2511
|
+
"&:is(:active, [data-active])": { borderColor: X }
|
|
2421
2512
|
},
|
|
2422
2513
|
variants: {
|
|
2423
2514
|
variant: { outline: {
|
|
@@ -2428,20 +2519,20 @@ var h = s({
|
|
|
2428
2519
|
boxShadow: "none",
|
|
2429
2520
|
"--focus-color": "var(--chakra-colors-border-accent-light)",
|
|
2430
2521
|
"--focus-ring-style": "none",
|
|
2431
|
-
_hover: { borderColor:
|
|
2432
|
-
_active: { borderColor:
|
|
2522
|
+
_hover: { borderColor: X },
|
|
2523
|
+
_active: { borderColor: X },
|
|
2433
2524
|
_focus: {
|
|
2434
|
-
borderColor:
|
|
2525
|
+
borderColor: X,
|
|
2435
2526
|
outline: "none",
|
|
2436
2527
|
boxShadow: "none"
|
|
2437
2528
|
},
|
|
2438
2529
|
_focusVisible: {
|
|
2439
|
-
borderColor:
|
|
2530
|
+
borderColor: X,
|
|
2440
2531
|
outline: "none",
|
|
2441
2532
|
boxShadow: "none"
|
|
2442
2533
|
},
|
|
2443
|
-
"&:is(:hover, [data-hover])": { borderColor:
|
|
2444
|
-
"&:is(:active, [data-active])": { borderColor:
|
|
2534
|
+
"&:is(:hover, [data-hover])": { borderColor: X },
|
|
2535
|
+
"&:is(:active, [data-active])": { borderColor: X }
|
|
2445
2536
|
} },
|
|
2446
2537
|
size: {
|
|
2447
2538
|
"2xs": {
|
|
@@ -2475,8 +2566,8 @@ var h = s({
|
|
|
2475
2566
|
size: "sm",
|
|
2476
2567
|
variant: "outline"
|
|
2477
2568
|
}
|
|
2478
|
-
}),
|
|
2479
|
-
slots:
|
|
2569
|
+
}), Oe = s({
|
|
2570
|
+
slots: ae.keys(),
|
|
2480
2571
|
base: {
|
|
2481
2572
|
root: {
|
|
2482
2573
|
display: "flex",
|
|
@@ -2607,8 +2698,8 @@ var h = s({
|
|
|
2607
2698
|
variant: "solid",
|
|
2608
2699
|
showLastSeparator: !1
|
|
2609
2700
|
}
|
|
2610
|
-
}),
|
|
2611
|
-
slots:
|
|
2701
|
+
}), ke = s({
|
|
2702
|
+
slots: oe.keys(),
|
|
2612
2703
|
base: { content: {
|
|
2613
2704
|
bg: "bg.inverted",
|
|
2614
2705
|
borderRadius: "xs",
|
|
@@ -2619,27 +2710,27 @@ var h = s({
|
|
|
2619
2710
|
borderColor: "border.inverted"
|
|
2620
2711
|
}
|
|
2621
2712
|
} }
|
|
2622
|
-
}),
|
|
2713
|
+
}), Ae = /* @__PURE__ */ new Set([
|
|
2623
2714
|
"boxShadow",
|
|
2624
2715
|
"boxShadowColor",
|
|
2625
2716
|
"textShadow"
|
|
2626
|
-
]),
|
|
2627
|
-
if (!
|
|
2628
|
-
let t = e.split(",").map((e) => e.trim()).filter((e) => !
|
|
2717
|
+
]), Z = /shadow/i, je = (e) => {
|
|
2718
|
+
if (!Z.test(e)) return e;
|
|
2719
|
+
let t = e.split(",").map((e) => e.trim()).filter((e) => !Z.test(e));
|
|
2629
2720
|
if (t.length !== 0) return t.join(", ");
|
|
2630
|
-
}, Q = (e) => Array.isArray(e) ? e.map(Q).filter((e) => e !== void 0) : typeof e == "string" ?
|
|
2631
|
-
if (
|
|
2721
|
+
}, Q = (e) => Array.isArray(e) ? e.map(Q).filter((e) => e !== void 0) : typeof e == "string" ? je(e) : !e || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).flatMap(([e, t]) => {
|
|
2722
|
+
if (Ae.has(e) || Z.test(e)) return [];
|
|
2632
2723
|
let n = Q(t);
|
|
2633
2724
|
return n === void 0 ? [] : [[e, n]];
|
|
2634
2725
|
})), $ = (e) => {
|
|
2635
2726
|
let { shadows: t, ...n } = e ?? {};
|
|
2636
2727
|
return n;
|
|
2637
|
-
},
|
|
2728
|
+
}, Me = {
|
|
2638
2729
|
badge: ["surface"],
|
|
2639
2730
|
button: ["secondary", "surface"]
|
|
2640
|
-
},
|
|
2731
|
+
}, Ne = (e) => {
|
|
2641
2732
|
let t = { ...e ?? {} };
|
|
2642
|
-
for (let [e, n] of Object.entries(
|
|
2733
|
+
for (let [e, n] of Object.entries(Me)) {
|
|
2643
2734
|
let r = t[e];
|
|
2644
2735
|
if (!r || typeof r != "object") continue;
|
|
2645
2736
|
let i = r, a = i.variants, o = a?.variant;
|
|
@@ -2654,24 +2745,24 @@ var h = s({
|
|
|
2654
2745
|
};
|
|
2655
2746
|
}
|
|
2656
2747
|
return t;
|
|
2657
|
-
},
|
|
2748
|
+
}, Pe = {
|
|
2658
2749
|
...r,
|
|
2659
2750
|
theme: {
|
|
2660
2751
|
...r.theme,
|
|
2661
2752
|
tokens: $(r.theme?.tokens),
|
|
2662
2753
|
semanticTokens: $(r.theme?.semanticTokens),
|
|
2663
|
-
recipes:
|
|
2754
|
+
recipes: Ne(Q(r.theme?.recipes)),
|
|
2664
2755
|
slotRecipes: Q(r.theme?.slotRecipes),
|
|
2665
2756
|
layerStyles: Q(r.theme?.layerStyles),
|
|
2666
2757
|
animationStyles: Q(r.theme?.animationStyles)
|
|
2667
2758
|
}
|
|
2668
|
-
},
|
|
2759
|
+
}, Fe = {
|
|
2669
2760
|
DEFAULT: { value: "1px solid {colors.border}" },
|
|
2670
2761
|
subtle: { value: "1px solid {colors.border.subtle}" },
|
|
2671
2762
|
inverted: { value: "1px solid {colors.border.inverted}" },
|
|
2672
2763
|
accent: { value: "1px solid {colors.border.accent}" },
|
|
2673
2764
|
"accent-light": { value: "1px solid {colors.border.accent-light}" }
|
|
2674
|
-
},
|
|
2765
|
+
}, Ie = {
|
|
2675
2766
|
fg: {
|
|
2676
2767
|
DEFAULT: { value: {
|
|
2677
2768
|
_light: "{colors.blacks.800}",
|
|
@@ -3096,7 +3187,7 @@ var h = s({
|
|
|
3096
3187
|
_light: "{colors.blacks.800}",
|
|
3097
3188
|
_dark: "{colors.blacks.800}"
|
|
3098
3189
|
} } } }
|
|
3099
|
-
},
|
|
3190
|
+
}, Le = a({
|
|
3100
3191
|
chatContent: { value: {
|
|
3101
3192
|
width: "full",
|
|
3102
3193
|
minWidth: "0",
|
|
@@ -3184,7 +3275,7 @@ var h = s({
|
|
|
3184
3275
|
border: "1px solid",
|
|
3185
3276
|
borderColor: "border"
|
|
3186
3277
|
} }
|
|
3187
|
-
}),
|
|
3278
|
+
}), Re = c({
|
|
3188
3279
|
"heading/dialog": { value: {
|
|
3189
3280
|
fontFamily: "heading",
|
|
3190
3281
|
fontSize: "0.9375rem",
|
|
@@ -3430,9 +3521,9 @@ var h = s({
|
|
|
3430
3521
|
color: "fg",
|
|
3431
3522
|
letterSpacing: "0.14px"
|
|
3432
3523
|
} }
|
|
3433
|
-
}),
|
|
3524
|
+
}), ze = i({
|
|
3434
3525
|
conditions: { startingStyle: "@starting-style" },
|
|
3435
|
-
globalCss:
|
|
3526
|
+
globalCss: se,
|
|
3436
3527
|
utilities: { WebkitAppRegion: {
|
|
3437
3528
|
values: ["drag", "no-drag"],
|
|
3438
3529
|
transform: (e) => ({ WebkitAppRegion: e })
|
|
@@ -3442,8 +3533,8 @@ var h = s({
|
|
|
3442
3533
|
"3xl": "2560px",
|
|
3443
3534
|
"4xl": "3840px"
|
|
3444
3535
|
},
|
|
3445
|
-
textStyles:
|
|
3446
|
-
layerStyles:
|
|
3536
|
+
textStyles: Re,
|
|
3537
|
+
layerStyles: Le,
|
|
3447
3538
|
recipes: {
|
|
3448
3539
|
bubbleLauncher: fe,
|
|
3449
3540
|
bubblePanel: de,
|
|
@@ -3458,7 +3549,7 @@ var h = s({
|
|
|
3458
3549
|
kbd: G,
|
|
3459
3550
|
listRowAccessory: K,
|
|
3460
3551
|
skeleton: Se,
|
|
3461
|
-
textarea:
|
|
3552
|
+
textarea: De
|
|
3462
3553
|
},
|
|
3463
3554
|
tokens: {
|
|
3464
3555
|
durations: S,
|
|
@@ -3473,21 +3564,22 @@ var h = s({
|
|
|
3473
3564
|
spacing: T
|
|
3474
3565
|
},
|
|
3475
3566
|
semanticTokens: {
|
|
3476
|
-
colors:
|
|
3477
|
-
borders:
|
|
3567
|
+
colors: Ie,
|
|
3568
|
+
borders: Fe
|
|
3478
3569
|
},
|
|
3479
3570
|
slotRecipes: {
|
|
3571
|
+
stickyUserMessage: Ce,
|
|
3480
3572
|
scrollArea: xe,
|
|
3481
3573
|
queuedFollowUp: t,
|
|
3482
|
-
tag:
|
|
3574
|
+
tag: Ee,
|
|
3483
3575
|
checkbox: P,
|
|
3484
|
-
windowTitleBar:
|
|
3485
|
-
windowTabs:
|
|
3576
|
+
windowTitleBar: g,
|
|
3577
|
+
windowTabs: _,
|
|
3486
3578
|
resizableSplitLayout: be,
|
|
3487
3579
|
alert: k,
|
|
3488
3580
|
colorPicker: I,
|
|
3489
3581
|
drawer: z,
|
|
3490
|
-
tooltip:
|
|
3582
|
+
tooltip: ke,
|
|
3491
3583
|
popover: _e,
|
|
3492
3584
|
menu: ce,
|
|
3493
3585
|
numberInput: he,
|
|
@@ -3497,13 +3589,13 @@ var h = s({
|
|
|
3497
3589
|
dialog: L,
|
|
3498
3590
|
folderPicker: V,
|
|
3499
3591
|
progressCircle: ye,
|
|
3500
|
-
switch:
|
|
3501
|
-
tabs:
|
|
3502
|
-
timeline:
|
|
3592
|
+
switch: we,
|
|
3593
|
+
tabs: Te,
|
|
3594
|
+
timeline: Oe
|
|
3503
3595
|
}
|
|
3504
3596
|
}
|
|
3505
|
-
}),
|
|
3597
|
+
}), Be = n(Pe, ze);
|
|
3506
3598
|
//#endregion
|
|
3507
|
-
export {
|
|
3599
|
+
export { _ as n, g as r, Be as t };
|
|
3508
3600
|
|
|
3509
|
-
//# sourceMappingURL=theme-
|
|
3601
|
+
//# sourceMappingURL=theme-CWDvF5Yn.js.map
|