@pstdio/ui 0.8.0 → 0.9.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 (71) hide show
  1. package/dist/{MermaidComponent-D7Baqkwx.js → MermaidComponent-Cz_Iob5U.js} +56 -53
  2. package/dist/MermaidComponent-Cz_Iob5U.js.map +1 -0
  3. package/dist/chat-ui.js +117 -117
  4. package/dist/chat-ui.js.map +1 -1
  5. package/dist/components/data-renderer/data-renderer-board.d.ts +1 -0
  6. package/dist/components/data-renderer/data-renderer-card.d.ts +5 -20
  7. package/dist/components/data-renderer/data-renderer-grouping.d.ts +11 -10
  8. package/dist/components/data-renderer/data-renderer-helpers.d.ts +63 -15
  9. package/dist/components/data-renderer/data-renderer-list.d.ts +5 -8
  10. package/dist/components/data-renderer/data-renderer-toolbar.d.ts +12 -0
  11. package/dist/components/data-renderer/data-renderer.d.ts +12 -23
  12. package/dist/components/data-renderer/display-menu.d.ts +9 -8
  13. package/dist/components/data-renderer/filter-menu.d.ts +5 -4
  14. package/dist/components/data-renderer/types.d.ts +83 -49
  15. package/dist/components/data-renderer/use-data-renderer-store.d.ts +15 -11
  16. package/dist/components/data-renderer/use-resolved-attributes.d.ts +14 -0
  17. package/dist/components/diff-viewer/diff-card-body.d.ts +10 -0
  18. package/dist/components/diff-viewer/diff-card-content.d.ts +1 -0
  19. package/dist/components/diff-viewer/diff-card.d.ts +1 -0
  20. package/dist/components/diff-viewer/diff-size.d.ts +2 -0
  21. package/dist/components/icon-color-picker.d.ts +13 -0
  22. package/dist/components/list-row/list-row-content.d.ts +9 -0
  23. package/dist/components/list-row/list-row.types.d.ts +1 -0
  24. package/dist/components/rich-text/shared/lexical-code.d.ts +2 -0
  25. package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +1 -1
  26. package/dist/components/rich-text/shared/prism-global.d.ts +2 -0
  27. package/dist/components/status-option-editor/index.d.ts +2 -0
  28. package/dist/components/status-option-editor/status-option-editor.d.ts +2 -0
  29. package/dist/components/status-option-editor/status-option-editor.types.d.ts +39 -0
  30. package/dist/components/status-option-editor/status-option-row.d.ts +16 -0
  31. package/dist/components/tab-strip/tab-visibility-filter.d.ts +19 -0
  32. package/dist/components/tab-strip/tab-visibility.store.d.ts +41 -0
  33. package/dist/components/tree-list/tree-list-model.d.ts +58 -0
  34. package/dist/components/tree-list/tree-list-node-row.d.ts +20 -0
  35. package/dist/components/tree-list/tree-list-order-filter.d.ts +3 -0
  36. package/dist/components/tree-list/tree-list-order.store.d.ts +42 -0
  37. package/dist/components/tree-list/tree-list-reorder.d.ts +13 -0
  38. package/dist/components/tree-list/tree-list-section-header.d.ts +14 -0
  39. package/dist/components/tree-list/tree-list-sortable.d.ts +22 -0
  40. package/dist/components/tree-list/tree-list-visibility-filter.d.ts +17 -0
  41. package/dist/components/tree-list/tree-list-visibility.store.d.ts +45 -0
  42. package/dist/components/tree-list/tree-list.d.ts +7 -27
  43. package/dist/components/tree-list/tree-list.types.d.ts +2 -0
  44. package/dist/components/tree-list/use-tree-list-keyboard-navigation.d.ts +15 -0
  45. package/dist/get-file-type-icon-ufFb0IkR.js +102 -0
  46. package/dist/get-file-type-icon-ufFb0IkR.js.map +1 -0
  47. package/dist/index.d.ts +22 -3
  48. package/dist/index.js +5171 -3890
  49. package/dist/index.js.map +1 -1
  50. package/dist/{rich-message-33DPxuWJ.js → rich-message-CEOSsdR2.js} +428 -421
  51. package/dist/rich-message-CEOSsdR2.js.map +1 -0
  52. package/dist/rich-text.js +26 -26
  53. package/dist/rich-text.js.map +1 -1
  54. package/dist/theme/custom/index.d.ts +0 -3
  55. package/dist/theme/index.d.ts +1 -1
  56. package/dist/theme/recipes/tabs.d.ts +30 -0
  57. package/dist/theme/tokens/colors.d.ts +6 -0
  58. package/dist/{theme-D-aCJqTf.js → theme-qP4YOZ2R.js} +197 -148
  59. package/dist/theme-qP4YOZ2R.js.map +1 -0
  60. package/dist/theme.js +2 -4
  61. package/dist/utils/browser-storage.d.ts +7 -0
  62. package/dist/utils/prism.d.ts +1 -0
  63. package/package.json +8 -3
  64. package/dist/MermaidComponent-D7Baqkwx.js.map +0 -1
  65. package/dist/components/data-renderer/tag-badge.d.ts +0 -10
  66. package/dist/components/data-renderer/tag-option-icon.d.ts +0 -2
  67. package/dist/get-file-type-icon-Bwqf1WXA.js +0 -101
  68. package/dist/get-file-type-icon-Bwqf1WXA.js.map +0 -1
  69. package/dist/rich-message-33DPxuWJ.js.map +0 -1
  70. package/dist/theme/custom/monokai.json.d.ts +0 -80
  71. package/dist/theme-D-aCJqTf.js.map +0 -1
@@ -1,13 +1,11 @@
1
- import { defineSlotRecipe as r, defineRecipe as a, defineLayerStyles as d, defineTextStyles as g, defineConfig as b, createSystem as v, defaultConfig as m } from "@chakra-ui/react";
2
- import { alertAnatomy as h, dialogAnatomy as p, drawerAnatomy as F, fieldsetAnatomy as _, menuAnatomy as f, popoverAnatomy as k, tabsAnatomy as y, tooltipAnatomy as x } from "@chakra-ui/react/anatomy";
3
- import { progressCircleSlotRecipe as i } from "@chakra-ui/react/theme";
4
- const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted": "#75715E", "colors.fg.subtle": "#A59F85", "colors.fg.inverted": "#272822", "colors.fg.blue-dark": "#66D9EF", "colors.bg": "#272822", "colors.bg.muted": "#34352E", "colors.bg.subtle": "#1F201B", "colors.bg.hover": "#3E3D32", "colors.bg.active": "#49483E", "colors.bg.code": "#1F201B", "colors.bg.emphasized": "#49483E", "colors.bg.inverted": "#F8F8F2", "colors.bg.panel": "#1F201B", "colors.bg.dark": "#1F201B", "colors.bg.button.primary.default": "#E6DB74", "colors.bg.button.primary.hover": "#F4E98A", "colors.bg.button.primary.pressed": "#CFC25F", "colors.bg.menu-item.hover": "#3E3D32", "colors.bg.menu-item.focus": "#3E3D32", "colors.bg.menu-item.selected": "#49483E", "colors.bg.accent-primary.default": "#E6DB74", "colors.bg.accent-primary.hover": "#F4E98A", "colors.bg.accent-primary.pressed": "#CFC25F", "colors.bg.accent-primary.very-light": "#3B3A2B", "colors.bg.accent-primary.light": "#494531", "colors.bg.accent-primary.medium": "#E6DB74", "colors.bg.accent-primary.dark": "#F4E98A", "colors.bg.accent-secondary.grey-dark": "#272822", "colors.bg.accent-secondary.grey-light": "#34352E", "colors.bg.accent-secondary.red-very-light": "#3A1F1F", "colors.bg.accent-secondary.red-light": "#4A2424", "colors.bg.accent-secondary.pink-light": "#4A2039", "colors.bg.accent-secondary.pink-medium": "#F92672", "colors.bg.accent-secondary.blue-very-light": "#243A3D", "colors.bg.accent-secondary.blue-light": "#26464A", "colors.bg.accent-secondary.blue-medium": "#66D9EF", "colors.bg.accent-secondary.blue-dark": "#66D9EF", "colors.bg.accent-secondary.cyan-light": "#26464A", "colors.bg.accent-secondary.green-light": "#33401F", "colors.bg.accent-secondary.yellow-light": "#494531", "colors.bg.accent-secondary.yellow-medium": "#E6DB74", "colors.bg.accent-secondary.yellow-dark": "#F4E98A", "colors.bg.accent-secondary.sand-light": "#3E3D32", "colors.border": "#5B594A", "colors.border.muted": "#49483E", "colors.border.subtle": "#3E3D32", "colors.border.inverted": "#CFCFC2", "colors.border.accent-light": "#66D9EF", "colors.border.accent": "#66D9EF", "colors.blue.border": "#66D9EF", "colors.orange.contrast": "#272822", "colors.orange.fg": "#FD971F", "colors.orange.subtle": "#493522", "colors.orange.muted": "#5A3C20", "colors.orange.emphasized": "#7A4D1D", "colors.orange.solid": "#FD971F", "colors.orange.focusRing": "#FD971F", "colors.orange.border": "#FD971F", "colors.vis.text.primary": "#F8F8F2", "colors.vis.text.secondary": "#CFCFC2", "colors.vis.grid": "#49483E", "colors.vis.axis": "#A59F85", "colors.vis.categorical.1": "#66D9EF", "colors.vis.categorical.2": "#FD971F", "colors.vis.categorical.3": "#AE81FF", "colors.vis.categorical.4": "#F92672", "colors.vis.categorical.5": "#E6DB74", "colors.vis.categorical.6": "#A6E22E", "colors.vis.categorical.7": "#75715E", "colors.text.selectable.primary": "#272822" }, D = {
5
- id: E,
6
- mode: C,
7
- tokens: S
8
- }, A = {
1
+ import { defineSlotRecipe as r, defineRecipe as a, defineLayerStyles as c, defineTextStyles as g, defineConfig as b, createSystem as v, defaultConfig as m } from "@chakra-ui/react";
2
+ import { alertAnatomy as h, dialogAnatomy as p, drawerAnatomy as _, fieldsetAnatomy as f, menuAnatomy as F, popoverAnatomy as k, tabsAnatomy as x, tooltipAnatomy as y } from "@chakra-ui/react/anatomy";
3
+ import { progressCircleSlotRecipe as u } from "@chakra-ui/react/theme";
4
+ const C = {
9
5
  "editor.background": ["colors.bg", "colors.bg.code"],
10
6
  "editor.foreground": ["colors.fg"],
7
+ "editor.lineHighlightBackground": ["colors.bg.hover"],
8
+ "editor.selectionBackground": ["colors.bg.active"],
11
9
  "editorWidget.background": ["colors.bg.panel"],
12
10
  "sideBar.background": ["colors.bg.panel"],
13
11
  "panel.background": ["colors.bg.panel"],
@@ -17,7 +15,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
17
15
  "dropdown.background": ["colors.bg.panel"],
18
16
  "menu.background": ["colors.bg.panel", "colors.bg.menu-item.default"],
19
17
  "menu.foreground": ["colors.fg.menu-item.default"],
20
- "menu.selectionBackground": ["colors.bg.menu-item.selected"],
18
+ "menu.selectionBackground": ["colors.bg.menu-item.hover", "colors.bg.menu-item.focus", "colors.bg.menu-item.selected"],
21
19
  "button.background": ["colors.bg.button.primary.default", "colors.bg.accent-primary.default"],
22
20
  "button.hoverBackground": ["colors.bg.button.primary.hover", "colors.bg.accent-primary.hover"],
23
21
  "button.foreground": ["colors.fg.button.primary.default"],
@@ -25,36 +23,38 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
25
23
  foreground: ["colors.fg"],
26
24
  descriptionForeground: ["colors.fg.muted"],
27
25
  disabledForeground: ["colors.fg.subtle"],
28
- border: ["colors.border"]
29
- }, w = (o) => o.replace(/^#/, ""), We = (o) => {
30
- const t = {}, l = o.theme.colors ?? {};
31
- for (const [c, s] of Object.entries(A)) {
32
- const n = l[c];
26
+ border: ["colors.border", "colors.border.muted", "colors.border.subtle"]
27
+ }, E = (l) => `colors.vscode.${l}`, S = (l) => l.replace(/^#/, ""), De = (l) => {
28
+ const t = {}, o = l.theme.colors ?? {};
29
+ for (const [s, i] of Object.entries(o))
30
+ t[E(s)] = i;
31
+ for (const [s, i] of Object.entries(C)) {
32
+ const n = o[s];
33
33
  if (n)
34
- for (const u of s) t[u] = n;
34
+ for (const d of i) t[d] = n;
35
35
  }
36
36
  return {
37
- id: o.id,
38
- mode: o.mode,
37
+ id: l.id,
38
+ mode: l.mode,
39
39
  tokens: t
40
40
  };
41
- }, Le = (o) => {
42
- const t = (o.theme.tokenColors ?? []).flatMap((l) => (Array.isArray(l.scope) ? l.scope : l.scope ? [l.scope] : []).map((s) => ({
43
- token: s,
44
- ...l.settings?.foreground ? {
45
- foreground: w(l.settings.foreground)
41
+ }, Be = (l) => {
42
+ const t = (l.theme.tokenColors ?? []).flatMap((o) => (Array.isArray(o.scope) ? o.scope : o.scope ? [o.scope] : []).map((i) => ({
43
+ token: i,
44
+ ...o.settings?.foreground ? {
45
+ foreground: S(o.settings.foreground)
46
46
  } : {},
47
- ...l.settings?.fontStyle ? {
48
- fontStyle: l.settings.fontStyle
47
+ ...o.settings?.fontStyle ? {
48
+ fontStyle: o.settings.fontStyle
49
49
  } : {}
50
50
  })));
51
51
  return {
52
- base: o.mode === "dark" ? "vs-dark" : "vs",
52
+ base: l.mode === "dark" ? "vs-dark" : "vs",
53
53
  inherit: !0,
54
54
  rules: t,
55
- colors: o.theme.colors ?? {}
55
+ colors: l.theme.colors ?? {}
56
56
  };
57
- }, B = D, Te = [B], z = {
57
+ }, w = {
58
58
  "*::selection": {
59
59
  bg: {
60
60
  base: "bg.accent-secondary.blue-medium",
@@ -112,7 +112,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
112
112
  fontSize: "1.5rem"
113
113
  }
114
114
  }
115
- }, R = {
115
+ }, A = {
116
116
  DEFAULT: {
117
117
  value: "#0A0D15"
118
118
  },
@@ -161,7 +161,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
161
161
  1e3: {
162
162
  value: "#000000"
163
163
  }
164
- }, W = {
164
+ }, D = {
165
165
  DEFAULT: {
166
166
  value: "#5098FF"
167
167
  },
@@ -195,7 +195,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
195
195
  900: {
196
196
  value: "#002862"
197
197
  }
198
- }, L = {
198
+ }, B = {
199
199
  DEFAULT: {
200
200
  value: "#3A4BE4"
201
201
  },
@@ -232,7 +232,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
232
232
  900: {
233
233
  value: "#0A125A"
234
234
  }
235
- }, T = {
235
+ }, z = {
236
236
  DEFAULT: {
237
237
  value: "#E054EC"
238
238
  },
@@ -269,7 +269,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
269
269
  900: {
270
270
  value: "#520659"
271
271
  }
272
- }, H = {
272
+ }, W = {
273
273
  DEFAULT: {
274
274
  value: "#FBD8CE"
275
275
  },
@@ -303,7 +303,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
303
303
  900: {
304
304
  value: "#522923"
305
305
  }
306
- }, M = {
306
+ }, R = {
307
307
  DEFAULT: {
308
308
  value: "#FF3232"
309
309
  },
@@ -337,7 +337,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
337
337
  900: {
338
338
  value: "#580707"
339
339
  }
340
- }, U = {
340
+ }, L = {
341
341
  DEFAULT: {
342
342
  value: "#F78C25"
343
343
  },
@@ -371,7 +371,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
371
371
  900: {
372
372
  value: "#552107"
373
373
  }
374
- }, P = {
374
+ }, H = {
375
375
  DEFAULT: {
376
376
  value: "#FFD643"
377
377
  },
@@ -411,7 +411,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
411
411
  900: {
412
412
  value: "#644E00"
413
413
  }
414
- }, V = {
414
+ }, T = {
415
415
  DEFAULT: {
416
416
  value: "#2DD665"
417
417
  },
@@ -445,7 +445,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
445
445
  900: {
446
446
  value: "#003110"
447
447
  }
448
- }, X = {
448
+ }, M = {
449
449
  DEFAULT: {
450
450
  value: "#3EECC4"
451
451
  },
@@ -479,7 +479,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
479
479
  900: {
480
480
  value: "#024F3D"
481
481
  }
482
- }, I = {
482
+ }, U = {
483
483
  DEFAULT: {
484
484
  value: "#5CDCFF"
485
485
  },
@@ -513,7 +513,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
513
513
  900: {
514
514
  value: "#005B73"
515
515
  }
516
- }, O = {
516
+ }, V = {
517
517
  DEFAULT: {
518
518
  value: "#8B47FF"
519
519
  },
@@ -547,7 +547,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
547
547
  900: {
548
548
  value: "#1E0050"
549
549
  }
550
- }, Y = {
550
+ }, P = {
551
551
  DEFAULT: {
552
552
  value: "#F4F2EC"
553
553
  },
@@ -581,7 +581,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
581
581
  900: {
582
582
  value: "#E8CECE"
583
583
  }
584
- }, $ = {
584
+ }, X = {
585
585
  50: {
586
586
  value: "#FCFDFC"
587
587
  },
@@ -624,30 +624,30 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
624
624
  950: {
625
625
  value: "#10141B"
626
626
  }
627
- }, j = {
627
+ }, I = {
628
628
  100: {
629
629
  value: "#D3ECEE"
630
630
  },
631
631
  200: {
632
632
  value: "#B3DEE2"
633
633
  }
634
- }, q = {
635
- sand: Y,
636
- blacks: R,
637
- blue: W,
638
- sapphire: L,
639
- pink: T,
640
- peach: H,
641
- red: M,
642
- orange: U,
643
- yellow: P,
644
- green: V,
645
- teal: X,
646
- cyan: I,
647
- purple: O,
648
- neutral: $,
649
- mint: j
650
- }, G = {
634
+ }, O = {
635
+ sand: P,
636
+ blacks: A,
637
+ blue: D,
638
+ sapphire: B,
639
+ pink: z,
640
+ peach: W,
641
+ red: R,
642
+ orange: L,
643
+ yellow: H,
644
+ green: T,
645
+ teal: M,
646
+ cyan: U,
647
+ purple: V,
648
+ neutral: X,
649
+ mint: I
650
+ }, $ = {
651
651
  display: {
652
652
  value: "'Playfair Display', serif"
653
653
  },
@@ -663,7 +663,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
663
663
  body: {
664
664
  value: "Inter, sans-serif"
665
665
  }
666
- }, J = {
666
+ }, j = {
667
667
  xs: {
668
668
  value: "0.625rem"
669
669
  },
@@ -728,7 +728,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
728
728
  value: "1.25rem"
729
729
  }
730
730
  // 20px
731
- }, K = {
731
+ }, Y = {
732
732
  regular: {
733
733
  value: 400
734
734
  },
@@ -768,7 +768,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
768
768
  900: "4.5rem",
769
769
  // 96px
770
770
  1600: "8rem"
771
- }, N = {
771
+ }, q = {
772
772
  none: {
773
773
  value: "0"
774
774
  },
@@ -808,7 +808,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
808
808
  "5xl": {
809
809
  value: e[1600]
810
810
  }
811
- }, Q = {
811
+ }, G = {
812
812
  none: {
813
813
  value: "0"
814
814
  },
@@ -833,7 +833,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
833
833
  full: {
834
834
  value: "100%"
835
835
  }
836
- }, Z = r({
836
+ }, J = r({
837
837
  slots: h.keys(),
838
838
  base: {
839
839
  root: {
@@ -841,7 +841,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
841
841
  pb: "xs"
842
842
  }
843
843
  }
844
- }), ee = a({
844
+ }), K = a({
845
845
  base: {
846
846
  borderRadius: "sm",
847
847
  transition: "all 0.1s ease-in-out",
@@ -1034,19 +1034,19 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1034
1034
  size: "md",
1035
1035
  variant: "outline"
1036
1036
  }
1037
- }), le = r({
1037
+ }), N = r({
1038
1038
  slots: p.keys(),
1039
1039
  base: {
1040
1040
  content: {
1041
1041
  bg: "bg"
1042
1042
  }
1043
1043
  }
1044
- }), oe = a({
1044
+ }), Q = a({
1045
1045
  base: {
1046
1046
  borderColor: "border"
1047
1047
  }
1048
- }), re = r({
1049
- slots: F.keys(),
1048
+ }), Z = r({
1049
+ slots: _.keys(),
1050
1050
  base: {
1051
1051
  header: {
1052
1052
  fontWeight: "medium",
@@ -1057,7 +1057,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1057
1057
  bg: "bg"
1058
1058
  }
1059
1059
  }
1060
- }), ae = r({
1060
+ }), ee = r({
1061
1061
  slots: ["preview", "input", "textarea"],
1062
1062
  base: {
1063
1063
  preview: {
@@ -1106,14 +1106,14 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1106
1106
  }
1107
1107
  }
1108
1108
  }
1109
- }), te = r({
1110
- slots: _.keys(),
1109
+ }), le = r({
1110
+ slots: f.keys(),
1111
1111
  base: {
1112
1112
  legend: {
1113
1113
  mb: "2xs"
1114
1114
  }
1115
1115
  }
1116
- }), se = a({
1116
+ }), oe = a({
1117
1117
  base: {
1118
1118
  px: "sm",
1119
1119
  borderRadius: "sm",
@@ -1145,7 +1145,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1145
1145
  }
1146
1146
  }
1147
1147
  }
1148
- }), ie = a({
1148
+ }), re = a({
1149
1149
  base: {
1150
1150
  display: "inline-flex",
1151
1151
  alignItems: "center",
@@ -1208,8 +1208,8 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1208
1208
  size: "md",
1209
1209
  variant: "raised"
1210
1210
  }
1211
- }), ce = r({
1212
- slots: f.keys(),
1211
+ }), ae = r({
1212
+ slots: F.keys(),
1213
1213
  base: {
1214
1214
  itemGroupLabel: {
1215
1215
  ml: "{2xs}",
@@ -1221,8 +1221,21 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1221
1221
  bg: "bg.menu-item.default",
1222
1222
  color: "fg.menu-item.default",
1223
1223
  textStyle: "label/M/regular",
1224
+ cursor: "pointer",
1224
1225
  px: "0",
1225
- h: "auto"
1226
+ h: "auto",
1227
+ _hover: {
1228
+ bg: "bg.menu-item.hover"
1229
+ },
1230
+ _highlighted: {
1231
+ bg: "bg.menu-item.hover"
1232
+ },
1233
+ _focusVisible: {
1234
+ bg: "bg.menu-item.focus"
1235
+ },
1236
+ _disabled: {
1237
+ cursor: "not-allowed"
1238
+ }
1226
1239
  },
1227
1240
  separator: {
1228
1241
  my: "2xs",
@@ -1245,7 +1258,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1245
1258
  textStyle: "label/M/regular"
1246
1259
  }
1247
1260
  }
1248
- }), ne = r({
1261
+ }), te = r({
1249
1262
  slots: k.keys(),
1250
1263
  base: {
1251
1264
  positioner: {
@@ -1299,12 +1312,12 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1299
1312
  }
1300
1313
  }
1301
1314
  }
1302
- }), ue = i.variants?.size ?? {}, de = {
1303
- ...i,
1315
+ }), ie = u.variants?.size ?? {}, se = {
1316
+ ...u,
1304
1317
  variants: {
1305
- ...i.variants,
1318
+ ...u.variants,
1306
1319
  size: {
1307
- ...ue,
1320
+ ...ie,
1308
1321
  "2xs": {
1309
1322
  circle: {
1310
1323
  "--size": "14px",
@@ -1316,13 +1329,13 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1316
1329
  }
1317
1330
  }
1318
1331
  }
1319
- }, ge = a({
1332
+ }, ue = a({
1320
1333
  base: {
1321
1334
  "--start-color": "fg",
1322
1335
  "--end-color": "fg.muted"
1323
1336
  }
1324
- }), be = r({
1325
- slots: y.keys(),
1337
+ }), ne = r({
1338
+ slots: x.keys(),
1326
1339
  base: {
1327
1340
  trigger: {
1328
1341
  borderRadius: "0"
@@ -1343,10 +1356,45 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1343
1356
  color: "fg"
1344
1357
  }
1345
1358
  }
1359
+ },
1360
+ // Folder-style tabs: only the selected tab is outlined and it merges with
1361
+ // the panel content below via a transparent bottom border. Adapts Chakra's
1362
+ // built-in `outline` variant for use inside a workbench header — the
1363
+ // header paints its own full-width bottom line, so the variant's own
1364
+ // underline and the negative margins that overlap it are suppressed.
1365
+ outline: {
1366
+ list: {
1367
+ border: "0",
1368
+ _horizontal: {
1369
+ _before: {
1370
+ borderBottomWidth: "0"
1371
+ }
1372
+ }
1373
+ },
1374
+ trigger: {
1375
+ color: "fg.muted",
1376
+ bg: "transparent",
1377
+ borderWidth: "1px",
1378
+ borderColor: "transparent",
1379
+ _selected: {
1380
+ color: "fg",
1381
+ borderColor: "border.muted",
1382
+ borderBottomColor: "transparent"
1383
+ },
1384
+ _horizontal: {
1385
+ borderTopRadius: "0",
1386
+ marginBottom: "0",
1387
+ marginEnd: "0",
1388
+ _selected: {
1389
+ borderColor: "border.muted",
1390
+ borderBottomColor: "transparent"
1391
+ }
1392
+ }
1393
+ }
1346
1394
  }
1347
1395
  }
1348
1396
  }
1349
- }), ve = a({
1397
+ }), de = a({
1350
1398
  base: {
1351
1399
  paddingX: "sm",
1352
1400
  paddingY: "xs",
@@ -1372,8 +1420,8 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1372
1420
  color: "fg.subtle"
1373
1421
  }
1374
1422
  }
1375
- }), me = r({
1376
- slots: x.keys(),
1423
+ }), ce = r({
1424
+ slots: y.keys(),
1377
1425
  base: {
1378
1426
  content: {
1379
1427
  bg: "bg.inverted",
@@ -1383,7 +1431,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1383
1431
  bg: "bg.inverted"
1384
1432
  }
1385
1433
  }
1386
- }), he = {
1434
+ }), ge = {
1387
1435
  DEFAULT: {
1388
1436
  value: "1px solid {colors.border}"
1389
1437
  },
@@ -1402,7 +1450,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1402
1450
  "accent-light": {
1403
1451
  value: "1px solid {colors.border.accent-light}"
1404
1452
  }
1405
- }, pe = {
1453
+ }, be = {
1406
1454
  DEFAULT: {
1407
1455
  value: {
1408
1456
  _light: "{colors.blacks.800}",
@@ -1486,7 +1534,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1486
1534
  value: "{colors.fg.muted}"
1487
1535
  }
1488
1536
  }
1489
- }, Fe = {
1537
+ }, ve = {
1490
1538
  DEFAULT: {
1491
1539
  value: {
1492
1540
  _light: "{colors.blacks.50}",
@@ -1584,17 +1632,20 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1584
1632
  },
1585
1633
  hover: {
1586
1634
  value: {
1587
- _light: "{colors.bg.muted}"
1635
+ _light: "{colors.bg.hover}",
1636
+ _dark: "{colors.bg.hover}"
1588
1637
  }
1589
1638
  },
1590
1639
  focus: {
1591
1640
  value: {
1592
- _light: "{colors.bg.muted}"
1641
+ _light: "{colors.bg.hover}",
1642
+ _dark: "{colors.bg.hover}"
1593
1643
  }
1594
1644
  },
1595
1645
  selected: {
1596
1646
  value: {
1597
- _light: "{colors.bg.active}"
1647
+ _light: "{colors.bg.muted}",
1648
+ _dark: "{colors.bg.muted}"
1598
1649
  }
1599
1650
  }
1600
1651
  },
@@ -1748,7 +1799,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1748
1799
  }
1749
1800
  }
1750
1801
  }
1751
- }, _e = {
1802
+ }, me = {
1752
1803
  DEFAULT: {
1753
1804
  value: {
1754
1805
  _light: "{colors.neutral.500}",
@@ -1790,14 +1841,14 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1790
1841
  value: "{colors.border.muted}"
1791
1842
  }
1792
1843
  }
1793
- }, fe = {
1844
+ }, he = {
1794
1845
  border: {
1795
1846
  value: {
1796
1847
  _light: "{colors.mint.200}",
1797
1848
  _dark: "{colors.mint.200}"
1798
1849
  }
1799
1850
  }
1800
- }, ke = {
1851
+ }, pe = {
1801
1852
  contrast: {
1802
1853
  value: {
1803
1854
  _light: "black",
@@ -1846,7 +1897,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1846
1897
  _dark: "{colors.orange.500}"
1847
1898
  }
1848
1899
  }
1849
- }, ye = {
1900
+ }, _e = {
1850
1901
  text: {
1851
1902
  primary: {
1852
1903
  value: {
@@ -2007,7 +2058,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2007
2058
  }
2008
2059
  }
2009
2060
  }
2010
- }, xe = {
2061
+ }, fe = {
2011
2062
  selectable: {
2012
2063
  primary: {
2013
2064
  value: {
@@ -2016,15 +2067,15 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2016
2067
  }
2017
2068
  }
2018
2069
  }
2019
- }, Ee = {
2020
- fg: pe,
2021
- bg: Fe,
2022
- border: _e,
2023
- blue: fe,
2024
- orange: ke,
2025
- vis: ye,
2026
- text: xe
2027
- }, Ce = d({
2070
+ }, Fe = {
2071
+ fg: be,
2072
+ bg: ve,
2073
+ border: me,
2074
+ blue: he,
2075
+ orange: pe,
2076
+ vis: _e,
2077
+ text: fe
2078
+ }, ke = c({
2028
2079
  modal: {
2029
2080
  value: {
2030
2081
  paddingInline: "xs",
@@ -2036,7 +2087,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2036
2087
  boxShadow: "mid"
2037
2088
  }
2038
2089
  }
2039
- }), Se = {
2090
+ }), xe = {
2040
2091
  "low-light": {
2041
2092
  value: "0px 2px 4px 0px rgba(0, 0, 0, 0.10)"
2042
2093
  },
@@ -2067,7 +2118,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2067
2118
  "desktop-icon-label-text-selected-dark": {
2068
2119
  value: "0px 2px 4px rgba(37, 99, 235, 0.75)"
2069
2120
  }
2070
- }, De = {
2121
+ }, ye = {
2071
2122
  low: {
2072
2123
  value: {
2073
2124
  _light: "{shadows.low-light}",
@@ -2098,7 +2149,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2098
2149
  _dark: "{shadows.desktop-icon-label-text-selected-dark}"
2099
2150
  }
2100
2151
  }
2101
- }, Ae = g({
2152
+ }, Ce = g({
2102
2153
  brand: {
2103
2154
  value: {
2104
2155
  fontFamily: "brand",
@@ -2331,56 +2382,54 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2331
2382
  letterSpacing: "0.14px"
2332
2383
  }
2333
2384
  }
2334
- }), we = b({
2335
- globalCss: z,
2385
+ }), Ee = b({
2386
+ globalCss: w,
2336
2387
  theme: {
2337
2388
  breakpoints: {
2338
2389
  "3xl": "2560px",
2339
2390
  "4xl": "3840px"
2340
2391
  },
2341
- textStyles: Ae,
2342
- layerStyles: Ce,
2392
+ textStyles: Ce,
2393
+ layerStyles: ke,
2343
2394
  recipes: {
2344
- button: ee,
2345
- divider: oe,
2346
- input: se,
2347
- kbd: ie,
2348
- skeleton: ge,
2349
- textarea: ve
2395
+ button: K,
2396
+ divider: Q,
2397
+ input: oe,
2398
+ kbd: re,
2399
+ skeleton: ue,
2400
+ textarea: de
2350
2401
  },
2351
2402
  tokens: {
2352
- colors: q,
2353
- fonts: G,
2354
- fontSizes: J,
2355
- fontWeights: K,
2356
- radii: Q,
2357
- shadows: Se,
2358
- spacing: N
2403
+ colors: O,
2404
+ fonts: $,
2405
+ fontSizes: j,
2406
+ fontWeights: Y,
2407
+ radii: G,
2408
+ shadows: xe,
2409
+ spacing: q
2359
2410
  },
2360
2411
  semanticTokens: {
2361
- colors: Ee,
2362
- borders: he,
2363
- shadows: De
2412
+ colors: Fe,
2413
+ borders: ge,
2414
+ shadows: ye
2364
2415
  },
2365
2416
  slotRecipes: {
2366
- alert: Z,
2367
- drawer: re,
2368
- tooltip: me,
2369
- popover: ne,
2370
- menu: ce,
2371
- editable: ae,
2372
- form: te,
2373
- dialog: le,
2374
- progressCircle: de,
2375
- tabs: be
2417
+ alert: J,
2418
+ drawer: Z,
2419
+ tooltip: ce,
2420
+ popover: te,
2421
+ menu: ae,
2422
+ editable: ee,
2423
+ form: le,
2424
+ dialog: N,
2425
+ progressCircle: se,
2426
+ tabs: ne
2376
2427
  }
2377
2428
  }
2378
- }), He = v(m, we);
2429
+ }), ze = v(m, Ee);
2379
2430
  export {
2380
- We as a,
2381
- Te as b,
2382
- Le as c,
2383
- B as m,
2384
- He as t
2431
+ De as a,
2432
+ Be as c,
2433
+ ze as t
2385
2434
  };
2386
- //# sourceMappingURL=theme-D-aCJqTf.js.map
2435
+ //# sourceMappingURL=theme-qP4YOZ2R.js.map