@pstdio/ui 0.35.0 → 0.36.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.
Files changed (33) hide show
  1. package/dist/{MermaidComponent-DGDnQ6pb.js → MermaidComponent-Cxg7NtjX.js} +2 -2
  2. package/dist/{MermaidComponent-DGDnQ6pb.js.map → MermaidComponent-Cxg7NtjX.js.map} +1 -1
  3. package/dist/chat-ui.d.ts +3 -3
  4. package/dist/chat-ui.js +1 -1
  5. package/dist/{data-table-stats-row-DNJG8tLZ.js → data-table-stats-row-UuTinYfL.js} +2 -2
  6. package/dist/{data-table-stats-row-DNJG8tLZ.js.map → data-table-stats-row-UuTinYfL.js.map} +1 -1
  7. package/dist/data-table.d.ts +32 -1
  8. package/dist/data-table.js +540 -406
  9. package/dist/data-table.js.map +1 -1
  10. package/dist/index.d.ts +17 -21
  11. package/dist/index.js +861 -907
  12. package/dist/index.js.map +1 -1
  13. package/dist/kanban-renderer.d.ts +3 -1
  14. package/dist/kanban-renderer.js +171 -171
  15. package/dist/kanban-renderer.js.map +1 -1
  16. package/dist/{param-editor-IJzw1cA2.js → param-editor-I0dKQeeZ.js} +2 -2
  17. package/dist/{param-editor-IJzw1cA2.js.map → param-editor-I0dKQeeZ.js.map} +1 -1
  18. package/dist/{param-editor-field-DscIjv8s.js → param-editor-field-CBguLs_b.js} +2 -2
  19. package/dist/{param-editor-field-DscIjv8s.js.map → param-editor-field-CBguLs_b.js.map} +1 -1
  20. package/dist/param-editor.js +2 -2
  21. package/dist/{rich-text-DtQpHBlX.js → rich-text-BgDvOEGH.js} +657 -654
  22. package/dist/rich-text-BgDvOEGH.js.map +1 -0
  23. package/dist/rich-text.js +1 -1
  24. package/dist/{theme-kSkOHzbV.js → theme-0cbWICbg.js} +247 -163
  25. package/dist/theme-0cbWICbg.js.map +1 -0
  26. package/dist/theme.js +1 -1
  27. package/dist/{workspace-badge-CkJ_jTQw.d.ts → workspace-badge-Brm3Xr3m.d.ts} +1 -1
  28. package/dist/{workspace-badge-9g78pXHS.js → workspace-badge-DrvH8WKV.js} +38 -42
  29. package/dist/workspace-badge-DrvH8WKV.js.map +1 -0
  30. package/package.json +2 -2
  31. package/dist/rich-text-DtQpHBlX.js.map +0 -1
  32. package/dist/theme-kSkOHzbV.js.map +0 -1
  33. package/dist/workspace-badge-9g78pXHS.js.map +0 -1
@@ -8,10 +8,10 @@ import "@fontsource/onest/400.css";
8
8
  import "@fontsource/onest/500.css";
9
9
  import "@fontsource/onest/600.css";
10
10
  import "@fontsource/onest/700.css";
11
- import { alertAnatomy as s, colorPickerAnatomy as c, dialogAnatomy as l, drawerAnatomy as u, fieldsetAnatomy as ee, menuAnatomy as te, numberInputAnatomy as ne, popoverAnatomy as d, switchAnatomy as f, tabsAnatomy as p, timelineAnatomy as m, tooltipAnatomy as h } from "@chakra-ui/react/anatomy";
12
- import { progressCircleSlotRecipe as g } from "@chakra-ui/react/theme";
11
+ import { alertAnatomy as s, colorPickerAnatomy as c, dialogAnatomy as ee, drawerAnatomy as te, fieldsetAnatomy as ne, menuAnatomy as l, numberInputAnatomy as u, popoverAnatomy as d, switchAnatomy as f, tabsAnatomy as p, timelineAnatomy as re, tooltipAnatomy as ie } from "@chakra-ui/react/anatomy";
12
+ import { progressCircleSlotRecipe as m } from "@chakra-ui/react/theme";
13
13
  //#region src/theme/recipes/window-title-bar.ts
14
- var _ = a({
14
+ var h = a({
15
15
  className: "ps-window-title-bar",
16
16
  slots: ["root", "content"],
17
17
  base: {
@@ -46,7 +46,7 @@ var _ = a({
46
46
  } }
47
47
  } },
48
48
  defaultVariants: { controls: "overlay" }
49
- }), v = a({
49
+ }), g = a({
50
50
  className: "ps-window-tabs",
51
51
  slots: [
52
52
  "list",
@@ -139,7 +139,7 @@ var _ = a({
139
139
  }
140
140
  }
141
141
  }
142
- }), re = {
142
+ }), ae = {
143
143
  "editor.background": ["colors.bg", "colors.bg.code"],
144
144
  "editor.foreground": ["colors.fg"],
145
145
  "editor.lineHighlightBackground": ["colors.bg.hover"],
@@ -176,10 +176,10 @@ var _ = a({
176
176
  descriptionForeground: ["colors.fg.muted"],
177
177
  disabledForeground: ["colors.fg.subtle"],
178
178
  border: ["colors.border", "colors.border.subtle"]
179
- }, ie = (e) => `colors.vscode.${e}`, y = (e) => e.replace(/^#/, ""), b = (e) => {
179
+ }, _ = (e) => `colors.vscode.${e}`, v = (e) => e.replace(/^#/, ""), y = (e) => {
180
180
  let t = (e.theme.tokenColors ?? []).flatMap((e) => (Array.isArray(e.scope) ? e.scope : e.scope ? [e.scope] : []).map((t) => ({
181
181
  token: t,
182
- ...e.settings?.foreground ? { foreground: y(e.settings.foreground) } : {},
182
+ ...e.settings?.foreground ? { foreground: v(e.settings.foreground) } : {},
183
183
  ...e.settings?.fontStyle ? { fontStyle: e.settings.fontStyle } : {}
184
184
  })));
185
185
  return {
@@ -188,10 +188,10 @@ var _ = a({
188
188
  rules: t,
189
189
  colors: e.theme.colors ?? {}
190
190
  };
191
- }, x = (e) => {
191
+ }, b = (e) => {
192
192
  let t = {}, n = e.theme.colors ?? {};
193
- for (let [e, r] of Object.entries(n)) t[ie(e)] = r;
194
- for (let [e, r] of Object.entries(re)) {
193
+ for (let [e, r] of Object.entries(n)) t[_(e)] = r;
194
+ for (let [e, r] of Object.entries(ae)) {
195
195
  let i = n[e];
196
196
  if (i) for (let e of r) t[e] = i;
197
197
  }
@@ -199,12 +199,12 @@ var _ = a({
199
199
  id: e.id,
200
200
  mode: e.mode,
201
201
  tokens: t,
202
- monacoTheme: b({
202
+ monacoTheme: y({
203
203
  mode: e.mode,
204
204
  theme: e.theme
205
205
  })
206
206
  };
207
- }, S = {
207
+ }, x = {
208
208
  "*::selection": {
209
209
  bg: {
210
210
  base: "bg.accent-secondary.blue-medium",
@@ -251,7 +251,7 @@ var _ = a({
251
251
  },
252
252
  "@media (min-width: 2560px)": { html: { fontSize: "1.25rem" } },
253
253
  "@media (min-width: 3840px)": { html: { fontSize: "1.5rem" } }
254
- }, C = {
254
+ }, S = {
255
255
  windowControl: {
256
256
  close: { value: "#FF5F57" },
257
257
  minimize: { value: "#FEBC2E" },
@@ -455,13 +455,13 @@ var _ = a({
455
455
  100: { value: "#D3ECEE" },
456
456
  200: { value: "#B3DEE2" }
457
457
  }
458
- }, w = {
458
+ }, C = {
459
459
  display: { value: "'Playfair Display', serif" },
460
460
  brand: { value: "Onest, sans-serif" },
461
461
  heading: { value: "Onest, sans-serif" },
462
462
  label: { value: "Onest, sans-serif" },
463
463
  body: { value: "Inter, sans-serif" }
464
- }, T = {
464
+ }, w = {
465
465
  "2xs": { value: "0.5rem" },
466
466
  xs: { value: "0.625rem" },
467
467
  sm: { value: "0.75rem" },
@@ -479,12 +479,12 @@ var _ = a({
479
479
  "icon-sm": { value: "1rem" },
480
480
  "icon-md": { value: "1.25rem" },
481
481
  "icon-lg": { value: "1.25rem" }
482
- }, E = {
482
+ }, T = {
483
483
  regular: { value: 400 },
484
484
  medium: { value: 500 },
485
485
  semibold: { value: 600 },
486
486
  bold: { value: 700 }
487
- }, D = {
487
+ }, E = {
488
488
  0: "0rem",
489
489
  25: "0.125rem",
490
490
  50: "0.25rem",
@@ -505,68 +505,71 @@ var _ = a({
505
505
  2e3: "10rem",
506
506
  3e3: "15rem",
507
507
  4e3: "20rem"
508
- }, O = {
508
+ }, D = {
509
509
  "window-tab-gap": { value: "0.4375rem" },
510
510
  "window-controls-mac": { value: "5.625rem" },
511
511
  none: { value: "0" },
512
- "3xs": { value: D[25] },
513
- "2xs": { value: D[50] },
514
- xs: { value: D[100] },
512
+ "3xs": { value: E[25] },
513
+ "2xs": { value: E[50] },
514
+ xs: { value: E[100] },
515
515
  compact: { value: "0.625rem" },
516
- sm: { value: D[150] },
516
+ sm: { value: E[150] },
517
517
  comfortable: { value: "0.875rem" },
518
- md: { value: D[200] },
519
- lg: { value: D[300] },
520
- xl: { value: D[400] },
521
- "2xl": { value: D[500] },
522
- "3xl": { value: D[600] },
523
- "3.5xl": { value: D[700] },
524
- "4xl": { value: D[800] },
525
- "4.5xl": { value: D[900] },
526
- "5xl": { value: D[1600] },
527
- "panel-gap": { value: D[50] }
528
- }, k = {
529
- "panel-gap": { value: D[50] },
518
+ md: { value: E[200] },
519
+ lg: { value: E[300] },
520
+ xl: { value: E[400] },
521
+ "2xl": { value: E[500] },
522
+ "3xl": { value: E[600] },
523
+ "3.5xl": { value: E[700] },
524
+ "4xl": { value: E[800] },
525
+ "4.5xl": { value: E[900] },
526
+ "5xl": { value: E[1600] },
527
+ "panel-gap": { value: E[50] }
528
+ }, O = {
529
+ "folder-picker-width": { value: "36.5rem" },
530
+ "folder-picker-height": { value: "31rem" },
531
+ "folder-picker-header": { value: "3.25rem" },
532
+ "panel-gap": { value: E[50] },
530
533
  "window-title-bar": { value: "2.75rem" },
531
534
  "window-tab": { value: "1.75rem" },
532
535
  "window-tab-close": { value: "0.8125rem" },
533
536
  "window-tab-max": { value: "15rem" },
534
537
  "mobile-titlebar": { value: "3.25rem" },
535
538
  "collection-row": { value: "2.125rem" },
536
- "filter-pill": { value: D[300] },
537
- "icon-2xs": { value: D[150] },
539
+ "filter-pill": { value: E[300] },
540
+ "icon-2xs": { value: E[150] },
538
541
  "icon-xs": { value: "0.875rem" },
539
- "icon-sm": { value: D[200] },
540
- "icon-md": { value: D[250] },
541
- "tag-color-dot": { value: D[250] },
542
+ "icon-sm": { value: E[200] },
543
+ "icon-md": { value: E[250] },
544
+ "tag-color-dot": { value: E[250] },
542
545
  "tag-icon-cell": { value: "1.75rem" },
543
546
  "tag-picker": { value: "16.75rem" },
544
547
  "tag-picker-color-only": { value: "13.75rem" },
545
548
  "tag-swatch": { value: "1.625rem" },
546
549
  "tag-swatch-dot": { value: "0.625rem" },
547
- "tag-editor-row": { value: D[500] },
550
+ "tag-editor-row": { value: E[500] },
548
551
  "tag-editor-add-row": { value: "2.25rem" },
549
- "tag-editor-lead": { value: D[600] },
552
+ "tag-editor-lead": { value: E[600] },
550
553
  "tag-editor-commands": { value: "11.875rem" },
551
554
  "tag-editor-trailing": { value: "1.625rem" },
552
555
  "segmented-control-sm": { value: "1.75rem" },
553
- "segmented-control-xs": { value: D[300] },
554
- "segmented-control-item-sm": { value: D[300] },
555
- "segmented-control-item-xs": { value: D[250] },
556
- "tag-action-menu": { value: D[2e3] },
557
- "view-bar": { value: D[500] },
556
+ "segmented-control-xs": { value: E[300] },
557
+ "segmented-control-item-sm": { value: E[300] },
558
+ "segmented-control-item-xs": { value: E[250] },
559
+ "tag-action-menu": { value: E[2e3] },
560
+ "view-bar": { value: E[500] },
558
561
  "view-subheader": { value: "2.25rem" }
559
- }, A = { selection: { value: "0.09375rem" } }, j = {
562
+ }, k = { selection: { value: "0.09375rem" } }, A = {
560
563
  none: { value: "0" },
561
- "2xs": { value: D[25] },
562
- xs: { value: D[50] },
564
+ "2xs": { value: E[25] },
565
+ xs: { value: E[50] },
563
566
  compact: { value: "0.375rem" },
564
- sm: { value: D[100] },
565
- md: { value: D[150] },
566
- lg: { value: D[200] },
567
- xl: { value: D[400] },
567
+ sm: { value: E[100] },
568
+ md: { value: E[150] },
569
+ lg: { value: E[200] },
570
+ xl: { value: E[400] },
568
571
  full: { value: "100%" }
569
- }, M = a({
572
+ }, j = a({
570
573
  slots: s.keys(),
571
574
  base: {
572
575
  root: {
@@ -628,7 +631,7 @@ var _ = a({
628
631
  }
629
632
  }
630
633
  ]
631
- }), N = i({
634
+ }), M = i({
632
635
  className: "chakra-badge",
633
636
  base: {
634
637
  display: "inline-flex",
@@ -700,7 +703,7 @@ var _ = a({
700
703
  variant: "subtle",
701
704
  size: "sm"
702
705
  }
703
- }), P = i({
706
+ }), N = i({
704
707
  base: {
705
708
  borderRadius: "xs",
706
709
  transition: "all 0.1s ease-in-out",
@@ -860,7 +863,7 @@ var _ = a({
860
863
  size: "sm",
861
864
  variant: "outline"
862
865
  }
863
- }), F = "border.accent-light", I = a({
866
+ }), P = "border.accent-light", F = a({
864
867
  slots: c.keys(),
865
868
  base: {
866
869
  control: {
@@ -878,14 +881,14 @@ var _ = a({
878
881
  transition: "border-color 0.2s ease-in-out",
879
882
  outline: "none",
880
883
  boxShadow: "none",
881
- _hover: { borderColor: F },
882
- _active: { borderColor: F },
884
+ _hover: { borderColor: P },
885
+ _active: { borderColor: P },
883
886
  _focusWithin: {
884
- borderColor: F,
887
+ borderColor: P,
885
888
  boxShadow: "none"
886
889
  },
887
- "&:is(:hover, [data-hover])": { borderColor: F },
888
- "&:is(:active, [data-active])": { borderColor: F },
890
+ "&:is(:hover, [data-hover])": { borderColor: P },
891
+ "&:is(:active, [data-active])": { borderColor: P },
889
892
  "& [data-scope=color-picker][data-part=trigger]": {
890
893
  border: "0",
891
894
  borderInlineStartWidth: "0",
@@ -945,7 +948,7 @@ var _ = a({
945
948
  borderRadius: "2xs",
946
949
  _focusVisible: {
947
950
  outline: "1px solid",
948
- outlineColor: F
951
+ outlineColor: P
949
952
  }
950
953
  }
951
954
  },
@@ -964,8 +967,8 @@ var _ = a({
964
967
  sm: {}
965
968
  } },
966
969
  defaultVariants: { size: "sm" }
967
- }), L = a({
968
- slots: l.keys(),
970
+ }), I = a({
971
+ slots: ee.keys(),
969
972
  base: {
970
973
  title: { textStyle: "heading/dialog" },
971
974
  content: {
@@ -976,8 +979,8 @@ var _ = a({
976
979
  overflow: "hidden"
977
980
  }
978
981
  }
979
- }), R = i({ base: { borderColor: "border.subtle" } }), z = a({
980
- slots: u.keys(),
982
+ }), L = i({ base: { borderColor: "border.subtle" } }), R = a({
983
+ slots: te.keys(),
981
984
  base: {
982
985
  header: {
983
986
  fontWeight: "medium",
@@ -986,7 +989,7 @@ var _ = a({
986
989
  },
987
990
  content: { bg: "bg" }
988
991
  }
989
- }), B = a({
992
+ }), z = a({
990
993
  slots: [
991
994
  "preview",
992
995
  "input",
@@ -1081,8 +1084,88 @@ var _ = a({
1081
1084
  }
1082
1085
  }
1083
1086
  } }
1087
+ }), B = a({
1088
+ slots: [
1089
+ "content",
1090
+ "header",
1091
+ "body",
1092
+ "navigation",
1093
+ "navigationButton",
1094
+ "path",
1095
+ "filter",
1096
+ "creation",
1097
+ "list",
1098
+ "rows",
1099
+ "footer"
1100
+ ],
1101
+ base: {
1102
+ content: {
1103
+ width: "folder-picker-width",
1104
+ height: "folder-picker-height",
1105
+ maxWidth: "calc(100vw - {spacing.xl})",
1106
+ maxHeight: "calc(100dvh - {spacing.xl})"
1107
+ },
1108
+ header: {
1109
+ display: "flex",
1110
+ height: "folder-picker-header",
1111
+ flex: "0 0 auto",
1112
+ px: "md",
1113
+ py: "none",
1114
+ alignItems: "center"
1115
+ },
1116
+ body: {
1117
+ display: "flex",
1118
+ flexDirection: "column",
1119
+ gap: "sm",
1120
+ p: "md",
1121
+ minHeight: 0
1122
+ },
1123
+ navigation: {
1124
+ display: "flex",
1125
+ gap: "xs",
1126
+ flexShrink: 0,
1127
+ alignItems: "center"
1128
+ },
1129
+ navigationButton: {
1130
+ width: "8",
1131
+ minWidth: "8",
1132
+ px: "none"
1133
+ },
1134
+ path: {
1135
+ flex: 1,
1136
+ minWidth: 0,
1137
+ px: "2xs",
1138
+ textStyle: "label/S/medium"
1139
+ },
1140
+ filter: {
1141
+ width: "full",
1142
+ flexShrink: 0,
1143
+ "& svg": { boxSize: "icon-sm" }
1144
+ },
1145
+ creation: {
1146
+ display: "flex",
1147
+ gap: "sm",
1148
+ flexShrink: 0
1149
+ },
1150
+ list: {
1151
+ flex: 1,
1152
+ minHeight: 0
1153
+ },
1154
+ rows: {
1155
+ display: "flex",
1156
+ flexDirection: "column",
1157
+ gap: "2xs"
1158
+ },
1159
+ footer: {
1160
+ height: "14",
1161
+ flexShrink: 0,
1162
+ px: "md",
1163
+ py: "none",
1164
+ gap: "xs"
1165
+ }
1166
+ }
1084
1167
  }), V = a({
1085
- slots: ee.keys(),
1168
+ slots: ne.keys(),
1086
1169
  base: { legend: { mb: "2xs" } }
1087
1170
  }), H = "border.accent-light", U = i({
1088
1171
  base: {
@@ -1262,8 +1345,8 @@ var _ = a({
1262
1345
  size: "md",
1263
1346
  variant: "raised"
1264
1347
  }
1265
- }), G = a({
1266
- slots: te.keys(),
1348
+ }), oe = a({
1349
+ slots: l.keys(),
1267
1350
  base: {
1268
1351
  itemGroupLabel: {
1269
1352
  ml: "{2xs}",
@@ -1339,15 +1422,15 @@ var _ = a({
1339
1422
  textStyle: "label/M/regular"
1340
1423
  }
1341
1424
  }
1342
- }), ae = "var(--chakra-colors-border)", K = "var(--chakra-colors-border-accent-light)", q = a({
1343
- slots: ne.keys(),
1425
+ }), G = "var(--chakra-colors-border)", K = "var(--chakra-colors-border-accent-light)", q = a({
1426
+ slots: u.keys(),
1344
1427
  base: {
1345
1428
  root: {
1346
1429
  position: "relative",
1347
1430
  zIndex: "0",
1348
1431
  isolation: "isolate",
1349
1432
  boxShadow: "none",
1350
- "--number-input-border-color": ae,
1433
+ "--number-input-border-color": G,
1351
1434
  "&:is(:hover, [data-hover])": { "--number-input-border-color": K },
1352
1435
  "&:is(:active, [data-active])": { "--number-input-border-color": K },
1353
1436
  "&:focus-within": { "--number-input-border-color": K }
@@ -1518,7 +1601,7 @@ var _ = a({
1518
1601
  size: "sm",
1519
1602
  variant: "outline"
1520
1603
  }
1521
- }), J = a({
1604
+ }), se = a({
1522
1605
  slots: d.keys(),
1523
1606
  base: {
1524
1607
  positioner: { _focus: { outline: "none" } },
@@ -1552,12 +1635,12 @@ var _ = a({
1552
1635
  variant: { responsive: { content: { width: "unset" } } },
1553
1636
  size: { "2xl": { content: { width: "2xl" } } }
1554
1637
  }
1555
- }), oe = g.variants?.size ?? {}, se = {
1556
- ...g,
1638
+ }), ce = m.variants?.size ?? {}, le = {
1639
+ ...m,
1557
1640
  variants: {
1558
- ...g.variants,
1641
+ ...m.variants,
1559
1642
  size: {
1560
- ...oe,
1643
+ ...ce,
1561
1644
  "2xs": {
1562
1645
  circle: {
1563
1646
  "--size": "14px",
@@ -1567,7 +1650,7 @@ var _ = a({
1567
1650
  }
1568
1651
  }
1569
1652
  }
1570
- }, Y = {
1653
+ }, J = {
1571
1654
  root: {
1572
1655
  flexDirection: "column",
1573
1656
  height: "auto",
@@ -1587,7 +1670,7 @@ var _ = a({
1587
1670
  overflow: "visible"
1588
1671
  },
1589
1672
  separator: { display: "none" }
1590
- }, ce = a({
1673
+ }, ue = a({
1591
1674
  slots: [
1592
1675
  "root",
1593
1676
  "resizablePanel",
@@ -1648,11 +1731,11 @@ var _ = a({
1648
1731
  },
1649
1732
  separator: { display: "flex" }
1650
1733
  },
1651
- stacked: Y,
1734
+ stacked: J,
1652
1735
  "stacked-reverse": {
1653
- ...Y,
1736
+ ...J,
1654
1737
  root: {
1655
- ...Y.root,
1738
+ ...J.root,
1656
1739
  flexDirection: "column-reverse"
1657
1740
  }
1658
1741
  },
@@ -1675,10 +1758,10 @@ var _ = a({
1675
1758
  orientation: "horizontal",
1676
1759
  layout: "split"
1677
1760
  }
1678
- }), le = i({ base: {
1761
+ }), de = i({ base: {
1679
1762
  "--start-color": "fg",
1680
1763
  "--end-color": "fg.muted"
1681
- } }), ue = a({
1764
+ } }), fe = a({
1682
1765
  slots: f.keys(),
1683
1766
  base: {
1684
1767
  control: {
@@ -1721,7 +1804,7 @@ var _ = a({
1721
1804
  },
1722
1805
  thumb: { _checked: { bg: "fg.inverted" } }
1723
1806
  } } }
1724
- }), de = a({
1807
+ }), pe = a({
1725
1808
  slots: p.keys(),
1726
1809
  base: {
1727
1810
  root: { "--tabs-trigger-radius": "radii.xs" },
@@ -1833,7 +1916,7 @@ var _ = a({
1833
1916
  size: "xs",
1834
1917
  variant: "subtle"
1835
1918
  }
1836
- }), X = "border.accent-light", fe = i({
1919
+ }), Y = "border.accent-light", me = i({
1837
1920
  base: {
1838
1921
  paddingX: "sm",
1839
1922
  paddingY: "xs",
@@ -1847,21 +1930,21 @@ var _ = a({
1847
1930
  borderColor: "border",
1848
1931
  "--focus-color": "var(--chakra-colors-border-accent-light)",
1849
1932
  "--focus-ring-style": "none",
1850
- _hover: { borderColor: X },
1851
- _active: { borderColor: X },
1933
+ _hover: { borderColor: Y },
1934
+ _active: { borderColor: Y },
1852
1935
  _focus: {
1853
- borderColor: X,
1936
+ borderColor: Y,
1854
1937
  outline: "none",
1855
1938
  boxShadow: "none"
1856
1939
  },
1857
1940
  _focusVisible: {
1858
- borderColor: X,
1941
+ borderColor: Y,
1859
1942
  outline: "none",
1860
1943
  boxShadow: "none"
1861
1944
  },
1862
1945
  _placeholder: { color: "fg.subtle" },
1863
- "&:is(:hover, [data-hover])": { borderColor: X },
1864
- "&:is(:active, [data-active])": { borderColor: X }
1946
+ "&:is(:hover, [data-hover])": { borderColor: Y },
1947
+ "&:is(:active, [data-active])": { borderColor: Y }
1865
1948
  },
1866
1949
  variants: {
1867
1950
  variant: { outline: {
@@ -1872,20 +1955,20 @@ var _ = a({
1872
1955
  boxShadow: "none",
1873
1956
  "--focus-color": "var(--chakra-colors-border-accent-light)",
1874
1957
  "--focus-ring-style": "none",
1875
- _hover: { borderColor: X },
1876
- _active: { borderColor: X },
1958
+ _hover: { borderColor: Y },
1959
+ _active: { borderColor: Y },
1877
1960
  _focus: {
1878
- borderColor: X,
1961
+ borderColor: Y,
1879
1962
  outline: "none",
1880
1963
  boxShadow: "none"
1881
1964
  },
1882
1965
  _focusVisible: {
1883
- borderColor: X,
1966
+ borderColor: Y,
1884
1967
  outline: "none",
1885
1968
  boxShadow: "none"
1886
1969
  },
1887
- "&:is(:hover, [data-hover])": { borderColor: X },
1888
- "&:is(:active, [data-active])": { borderColor: X }
1970
+ "&:is(:hover, [data-hover])": { borderColor: Y },
1971
+ "&:is(:active, [data-active])": { borderColor: Y }
1889
1972
  } },
1890
1973
  size: {
1891
1974
  "2xs": {
@@ -1919,8 +2002,8 @@ var _ = a({
1919
2002
  size: "sm",
1920
2003
  variant: "outline"
1921
2004
  }
1922
- }), pe = a({
1923
- slots: m.keys(),
2005
+ }), he = a({
2006
+ slots: re.keys(),
1924
2007
  base: {
1925
2008
  root: {
1926
2009
  display: "flex",
@@ -2051,34 +2134,34 @@ var _ = a({
2051
2134
  variant: "solid",
2052
2135
  showLastSeparator: !1
2053
2136
  }
2054
- }), me = a({
2055
- slots: h.keys(),
2137
+ }), ge = a({
2138
+ slots: ie.keys(),
2056
2139
  base: { content: {
2057
2140
  bg: "bg.inverted",
2058
2141
  borderRadius: "xs",
2059
2142
  color: "fg.inverted"
2060
2143
  } }
2061
- }), he = /* @__PURE__ */ new Set([
2144
+ }), _e = /* @__PURE__ */ new Set([
2062
2145
  "boxShadow",
2063
2146
  "boxShadowColor",
2064
2147
  "textShadow"
2065
- ]), Z = /shadow/i, ge = (e) => {
2066
- if (!Z.test(e)) return e;
2067
- let t = e.split(",").map((e) => e.trim()).filter((e) => !Z.test(e));
2148
+ ]), X = /shadow/i, ve = (e) => {
2149
+ if (!X.test(e)) return e;
2150
+ let t = e.split(",").map((e) => e.trim()).filter((e) => !X.test(e));
2068
2151
  if (t.length !== 0) return t.join(", ");
2069
- }, Q = (e) => Array.isArray(e) ? e.map(Q).filter((e) => e !== void 0) : typeof e == "string" ? ge(e) : !e || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).flatMap(([e, t]) => {
2070
- if (he.has(e) || Z.test(e)) return [];
2071
- let n = Q(t);
2152
+ }, Z = (e) => Array.isArray(e) ? e.map(Z).filter((e) => e !== void 0) : typeof e == "string" ? ve(e) : !e || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).flatMap(([e, t]) => {
2153
+ if (_e.has(e) || X.test(e)) return [];
2154
+ let n = Z(t);
2072
2155
  return n === void 0 ? [] : [[e, n]];
2073
- })), $ = (e) => {
2156
+ })), Q = (e) => {
2074
2157
  let { shadows: t, ...n } = e ?? {};
2075
2158
  return n;
2076
- }, _e = {
2159
+ }, ye = {
2077
2160
  badge: ["surface"],
2078
2161
  button: ["secondary", "surface"]
2079
- }, ve = (e) => {
2162
+ }, be = (e) => {
2080
2163
  let t = { ...e ?? {} };
2081
- for (let [e, n] of Object.entries(_e)) {
2164
+ for (let [e, n] of Object.entries(ye)) {
2082
2165
  let r = t[e];
2083
2166
  if (!r || typeof r != "object") continue;
2084
2167
  let i = r, a = i.variants, o = a?.variant;
@@ -2093,24 +2176,24 @@ var _ = a({
2093
2176
  };
2094
2177
  }
2095
2178
  return t;
2096
- }, ye = {
2179
+ }, xe = {
2097
2180
  ...t,
2098
2181
  theme: {
2099
2182
  ...t.theme,
2100
- tokens: $(t.theme?.tokens),
2101
- semanticTokens: $(t.theme?.semanticTokens),
2102
- recipes: ve(Q(t.theme?.recipes)),
2103
- slotRecipes: Q(t.theme?.slotRecipes),
2104
- layerStyles: Q(t.theme?.layerStyles),
2105
- animationStyles: Q(t.theme?.animationStyles)
2183
+ tokens: Q(t.theme?.tokens),
2184
+ semanticTokens: Q(t.theme?.semanticTokens),
2185
+ recipes: be(Z(t.theme?.recipes)),
2186
+ slotRecipes: Z(t.theme?.slotRecipes),
2187
+ layerStyles: Z(t.theme?.layerStyles),
2188
+ animationStyles: Z(t.theme?.animationStyles)
2106
2189
  }
2107
- }, be = {
2190
+ }, Se = {
2108
2191
  DEFAULT: { value: "1px solid {colors.border}" },
2109
2192
  subtle: { value: "1px solid {colors.border.subtle}" },
2110
2193
  inverted: { value: "1px solid {colors.border.inverted}" },
2111
2194
  accent: { value: "1px solid {colors.border.accent}" },
2112
2195
  "accent-light": { value: "1px solid {colors.border.accent-light}" }
2113
- }, xe = {
2196
+ }, Ce = {
2114
2197
  fg: {
2115
2198
  DEFAULT: { value: {
2116
2199
  _light: "{colors.blacks.800}",
@@ -2531,7 +2614,7 @@ var _ = a({
2531
2614
  _light: "{colors.blacks.800}",
2532
2615
  _dark: "{colors.blacks.800}"
2533
2616
  } } } }
2534
- }, Se = r({
2617
+ }, $ = r({
2535
2618
  floatingBar: { value: {
2536
2619
  paddingInline: "sm",
2537
2620
  paddingBlock: "2xs",
@@ -2555,7 +2638,7 @@ var _ = a({
2555
2638
  border: "1px solid",
2556
2639
  borderColor: "border"
2557
2640
  } }
2558
- }), Ce = o({
2641
+ }), we = o({
2559
2642
  "heading/dialog": { value: {
2560
2643
  fontFamily: "heading",
2561
2644
  fontSize: "0.9375rem",
@@ -2789,8 +2872,8 @@ var _ = a({
2789
2872
  color: "fg",
2790
2873
  letterSpacing: "0.14px"
2791
2874
  } }
2792
- }), we = n({
2793
- globalCss: S,
2875
+ }), Te = n({
2876
+ globalCss: x,
2794
2877
  utilities: { WebkitAppRegion: {
2795
2878
  values: ["drag", "no-drag"],
2796
2879
  transform: (e) => ({ WebkitAppRegion: e })
@@ -2800,53 +2883,54 @@ var _ = a({
2800
2883
  "3xl": "2560px",
2801
2884
  "4xl": "3840px"
2802
2885
  },
2803
- textStyles: Ce,
2804
- layerStyles: Se,
2886
+ textStyles: we,
2887
+ layerStyles: $,
2805
2888
  recipes: {
2806
- badge: N,
2807
- button: P,
2808
- divider: R,
2889
+ badge: M,
2890
+ button: N,
2891
+ divider: L,
2809
2892
  input: U,
2810
2893
  kbd: W,
2811
- skeleton: le,
2812
- textarea: fe
2894
+ skeleton: de,
2895
+ textarea: me
2813
2896
  },
2814
2897
  tokens: {
2815
- colors: C,
2816
- borderWidths: A,
2817
- fonts: w,
2818
- fontSizes: T,
2819
- fontWeights: E,
2820
- radii: j,
2821
- sizes: k,
2822
- spacing: O
2898
+ colors: S,
2899
+ borderWidths: k,
2900
+ fonts: C,
2901
+ fontSizes: w,
2902
+ fontWeights: T,
2903
+ radii: A,
2904
+ sizes: O,
2905
+ spacing: D
2823
2906
  },
2824
2907
  semanticTokens: {
2825
- colors: xe,
2826
- borders: be
2908
+ colors: Ce,
2909
+ borders: Se
2827
2910
  },
2828
2911
  slotRecipes: {
2829
- windowTitleBar: _,
2830
- windowTabs: v,
2831
- resizableSplitLayout: ce,
2832
- alert: M,
2833
- colorPicker: I,
2834
- drawer: z,
2835
- tooltip: me,
2836
- popover: J,
2837
- menu: G,
2912
+ windowTitleBar: h,
2913
+ windowTabs: g,
2914
+ resizableSplitLayout: ue,
2915
+ alert: j,
2916
+ colorPicker: F,
2917
+ drawer: R,
2918
+ tooltip: ge,
2919
+ popover: se,
2920
+ menu: oe,
2838
2921
  numberInput: q,
2839
- editable: B,
2922
+ editable: z,
2840
2923
  form: V,
2841
- dialog: L,
2842
- progressCircle: se,
2843
- switch: ue,
2844
- tabs: de,
2845
- timeline: pe
2924
+ dialog: I,
2925
+ folderPicker: B,
2926
+ progressCircle: le,
2927
+ switch: fe,
2928
+ tabs: pe,
2929
+ timeline: he
2846
2930
  }
2847
2931
  }
2848
- }), Te = e(ye, we);
2932
+ }), Ee = e(xe, Te);
2849
2933
  //#endregion
2850
- export { _ as a, v as i, b as n, x as r, Te as t };
2934
+ export { h as a, g as i, y as n, b as r, Ee as t };
2851
2935
 
2852
- //# sourceMappingURL=theme-kSkOHzbV.js.map
2936
+ //# sourceMappingURL=theme-0cbWICbg.js.map