@pstdio/ui 0.8.0 → 0.10.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 (93) 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-content.d.ts +20 -0
  8. package/dist/components/data-renderer/data-renderer-grouping.d.ts +11 -10
  9. package/dist/components/data-renderer/data-renderer-helpers.d.ts +63 -15
  10. package/dist/components/data-renderer/data-renderer-list.d.ts +13 -8
  11. package/dist/components/data-renderer/data-renderer-story-fixtures.d.ts +13 -0
  12. package/dist/components/data-renderer/data-renderer-toolbar.d.ts +12 -0
  13. package/dist/components/data-renderer/data-renderer.d.ts +15 -23
  14. package/dist/components/data-renderer/display-menu.d.ts +9 -8
  15. package/dist/components/data-renderer/filter-menu.d.ts +5 -4
  16. package/dist/components/data-renderer/types.d.ts +83 -49
  17. package/dist/components/data-renderer/use-data-renderer-store.d.ts +15 -11
  18. package/dist/components/data-renderer/use-resolved-attributes.d.ts +14 -0
  19. package/dist/components/diff-viewer/diff-card-body.d.ts +10 -0
  20. package/dist/components/diff-viewer/diff-card-content.d.ts +1 -0
  21. package/dist/components/diff-viewer/diff-card.d.ts +1 -0
  22. package/dist/components/diff-viewer/diff-drawer-empty-state.d.ts +1 -0
  23. package/dist/components/diff-viewer/diff-drawer-height.d.ts +10 -0
  24. package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +47 -0
  25. package/dist/components/diff-viewer/diff-drawer.d.ts +2 -7
  26. package/dist/components/diff-viewer/diff-size.d.ts +2 -0
  27. package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +19 -0
  28. package/dist/components/icon-color-picker.d.ts +29 -0
  29. package/dist/components/list-row/list-row-content.d.ts +9 -0
  30. package/dist/components/list-row/list-row.types.d.ts +3 -0
  31. package/dist/components/palette.d.ts +1 -0
  32. package/dist/components/param-editor/index.d.ts +2 -0
  33. package/dist/components/rich-text/shared/lexical-code.d.ts +2 -0
  34. package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +1 -1
  35. package/dist/components/rich-text/shared/prism-global.d.ts +2 -0
  36. package/dist/components/tab-strip/tab-visibility-filter.d.ts +19 -0
  37. package/dist/components/tab-strip/tab-visibility.store.d.ts +41 -0
  38. package/dist/components/tag-editor/index.d.ts +4 -0
  39. package/dist/components/tag-editor/tag-editor-row.d.ts +19 -0
  40. package/dist/components/tag-editor/tag-editor.d.ts +2 -0
  41. package/dist/components/tag-editor/tag-editor.types.d.ts +44 -0
  42. package/dist/components/tag-editor/tag-settings-panel.d.ts +24 -0
  43. package/dist/components/tree-list/tree-list-model.d.ts +58 -0
  44. package/dist/components/tree-list/tree-list-node-row.d.ts +20 -0
  45. package/dist/components/tree-list/tree-list-order-filter.d.ts +3 -0
  46. package/dist/components/tree-list/tree-list-order.store.d.ts +42 -0
  47. package/dist/components/tree-list/tree-list-reorder.d.ts +13 -0
  48. package/dist/components/tree-list/tree-list-section-header.d.ts +14 -0
  49. package/dist/components/tree-list/tree-list-sortable.d.ts +22 -0
  50. package/dist/components/tree-list/tree-list-visibility-filter.d.ts +17 -0
  51. package/dist/components/tree-list/tree-list-visibility.store.d.ts +45 -0
  52. package/dist/components/tree-list/tree-list.d.ts +7 -27
  53. package/dist/components/tree-list/tree-list.types.d.ts +2 -0
  54. package/dist/components/tree-list/use-tree-list-keyboard-navigation.d.ts +15 -0
  55. package/dist/get-file-type-icon-ufFb0IkR.js +102 -0
  56. package/dist/get-file-type-icon-ufFb0IkR.js.map +1 -0
  57. package/dist/index.d.ts +22 -3
  58. package/dist/index.js +5840 -4141
  59. package/dist/index.js.map +1 -1
  60. package/dist/{rich-message-33DPxuWJ.js → rich-message-CEOSsdR2.js} +428 -421
  61. package/dist/rich-message-CEOSsdR2.js.map +1 -0
  62. package/dist/rich-text.js +26 -26
  63. package/dist/rich-text.js.map +1 -1
  64. package/dist/theme/custom/index.d.ts +0 -3
  65. package/dist/theme/index.d.ts +1 -1
  66. package/dist/theme/recipes/editable.d.ts +46 -1
  67. package/dist/theme/recipes/tabs.d.ts +30 -0
  68. package/dist/theme/tokens/colors.d.ts +6 -0
  69. package/dist/{theme-D-aCJqTf.js → theme-DOFdi_Ir.js} +244 -149
  70. package/dist/theme-DOFdi_Ir.js.map +1 -0
  71. package/dist/theme.js +2 -4
  72. package/dist/utils/browser-storage.d.ts +7 -0
  73. package/dist/utils/prism.d.ts +1 -0
  74. package/package.json +9 -4
  75. package/dist/MermaidComponent-D7Baqkwx.js.map +0 -1
  76. package/dist/components/data-renderer/tag-badge.d.ts +0 -10
  77. package/dist/components/data-renderer/tag-option-icon.d.ts +0 -2
  78. package/dist/get-file-type-icon-Bwqf1WXA.js +0 -101
  79. package/dist/get-file-type-icon-Bwqf1WXA.js.map +0 -1
  80. package/dist/rich-message-33DPxuWJ.js.map +0 -1
  81. package/dist/theme/custom/monokai.json.d.ts +0 -80
  82. package/dist/theme-D-aCJqTf.js.map +0 -1
  83. /package/dist/components/{param-editor-color-input.d.ts → param-editor/color-input.d.ts} +0 -0
  84. /package/dist/components/{param-editor-date-input.d.ts → param-editor/date-input.d.ts} +0 -0
  85. /package/dist/components/{param-editor-horizontal-text-input.d.ts → param-editor/horizontal-text-input.d.ts} +0 -0
  86. /package/dist/components/{param-editor-input-group.d.ts → param-editor/input-group.d.ts} +0 -0
  87. /package/dist/components/{param-editor-number-input.d.ts → param-editor/number-input.d.ts} +0 -0
  88. /package/dist/components/{param-editor-horizontal.d.ts → param-editor/param-editor-horizontal.d.ts} +0 -0
  89. /package/dist/components/{param-editor-label.d.ts → param-editor/param-editor-label.d.ts} +0 -0
  90. /package/dist/components/{param-editor.d.ts → param-editor/param-editor.d.ts} +0 -0
  91. /package/dist/components/{param-editor.types.d.ts → param-editor/param-editor.types.d.ts} +0 -0
  92. /package/dist/components/{param-editor-selection-input.d.ts → param-editor/selection-input.d.ts} +0 -0
  93. /package/dist/components/{param-editor-text-input.d.ts → param-editor/text-input.d.ts} +0 -0
@@ -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 S = {
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
+ }, C = (l) => `colors.vscode.${l}`, E = (l) => l.replace(/^#/, ""), De = (l) => {
28
+ const t = {}, o = l.theme.colors ?? {};
29
+ for (const [s, i] of Object.entries(o))
30
+ t[C(s)] = i;
31
+ for (const [s, i] of Object.entries(S)) {
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: E(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
+ }, H = {
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
+ }, L = {
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: H,
643
+ yellow: L,
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: {
@@ -1105,15 +1105,61 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1105
1105
  color: "fg.muted"
1106
1106
  }
1107
1107
  }
1108
+ },
1109
+ variants: {
1110
+ size: {
1111
+ sm: {
1112
+ preview: {
1113
+ textStyle: "label/S/medium",
1114
+ lineHeight: "1.25rem"
1115
+ },
1116
+ input: {
1117
+ textStyle: "label/S/medium",
1118
+ lineHeight: "1.25rem"
1119
+ },
1120
+ textarea: {
1121
+ textStyle: "label/S/medium",
1122
+ lineHeight: "1.25rem"
1123
+ }
1124
+ },
1125
+ md: {
1126
+ preview: {
1127
+ textStyle: "label/M/medium",
1128
+ lineHeight: "1.375rem"
1129
+ },
1130
+ input: {
1131
+ textStyle: "label/M/medium",
1132
+ lineHeight: "1.375rem"
1133
+ },
1134
+ textarea: {
1135
+ textStyle: "label/M/medium",
1136
+ lineHeight: "1.375rem"
1137
+ }
1138
+ },
1139
+ lg: {
1140
+ preview: {
1141
+ textStyle: "label/L/medium",
1142
+ lineHeight: "1.5rem"
1143
+ },
1144
+ input: {
1145
+ textStyle: "label/L/medium",
1146
+ lineHeight: "1.5rem"
1147
+ },
1148
+ textarea: {
1149
+ textStyle: "label/L/medium",
1150
+ lineHeight: "1.5rem"
1151
+ }
1152
+ }
1153
+ }
1108
1154
  }
1109
- }), te = r({
1110
- slots: _.keys(),
1155
+ }), le = r({
1156
+ slots: f.keys(),
1111
1157
  base: {
1112
1158
  legend: {
1113
1159
  mb: "2xs"
1114
1160
  }
1115
1161
  }
1116
- }), se = a({
1162
+ }), oe = a({
1117
1163
  base: {
1118
1164
  px: "sm",
1119
1165
  borderRadius: "sm",
@@ -1145,7 +1191,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1145
1191
  }
1146
1192
  }
1147
1193
  }
1148
- }), ie = a({
1194
+ }), re = a({
1149
1195
  base: {
1150
1196
  display: "inline-flex",
1151
1197
  alignItems: "center",
@@ -1208,8 +1254,8 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1208
1254
  size: "md",
1209
1255
  variant: "raised"
1210
1256
  }
1211
- }), ce = r({
1212
- slots: f.keys(),
1257
+ }), ae = r({
1258
+ slots: F.keys(),
1213
1259
  base: {
1214
1260
  itemGroupLabel: {
1215
1261
  ml: "{2xs}",
@@ -1221,8 +1267,21 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1221
1267
  bg: "bg.menu-item.default",
1222
1268
  color: "fg.menu-item.default",
1223
1269
  textStyle: "label/M/regular",
1270
+ cursor: "pointer",
1224
1271
  px: "0",
1225
- h: "auto"
1272
+ h: "auto",
1273
+ _hover: {
1274
+ bg: "bg.menu-item.hover"
1275
+ },
1276
+ _highlighted: {
1277
+ bg: "bg.menu-item.hover"
1278
+ },
1279
+ _focusVisible: {
1280
+ bg: "bg.menu-item.focus"
1281
+ },
1282
+ _disabled: {
1283
+ cursor: "not-allowed"
1284
+ }
1226
1285
  },
1227
1286
  separator: {
1228
1287
  my: "2xs",
@@ -1245,7 +1304,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1245
1304
  textStyle: "label/M/regular"
1246
1305
  }
1247
1306
  }
1248
- }), ne = r({
1307
+ }), te = r({
1249
1308
  slots: k.keys(),
1250
1309
  base: {
1251
1310
  positioner: {
@@ -1299,12 +1358,12 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1299
1358
  }
1300
1359
  }
1301
1360
  }
1302
- }), ue = i.variants?.size ?? {}, de = {
1303
- ...i,
1361
+ }), ie = u.variants?.size ?? {}, se = {
1362
+ ...u,
1304
1363
  variants: {
1305
- ...i.variants,
1364
+ ...u.variants,
1306
1365
  size: {
1307
- ...ue,
1366
+ ...ie,
1308
1367
  "2xs": {
1309
1368
  circle: {
1310
1369
  "--size": "14px",
@@ -1316,13 +1375,13 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1316
1375
  }
1317
1376
  }
1318
1377
  }
1319
- }, ge = a({
1378
+ }, ue = a({
1320
1379
  base: {
1321
1380
  "--start-color": "fg",
1322
1381
  "--end-color": "fg.muted"
1323
1382
  }
1324
- }), be = r({
1325
- slots: y.keys(),
1383
+ }), ne = r({
1384
+ slots: x.keys(),
1326
1385
  base: {
1327
1386
  trigger: {
1328
1387
  borderRadius: "0"
@@ -1343,10 +1402,45 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1343
1402
  color: "fg"
1344
1403
  }
1345
1404
  }
1405
+ },
1406
+ // Folder-style tabs: only the selected tab is outlined and it merges with
1407
+ // the panel content below via a transparent bottom border. Adapts Chakra's
1408
+ // built-in `outline` variant for use inside a workbench header — the
1409
+ // header paints its own full-width bottom line, so the variant's own
1410
+ // underline and the negative margins that overlap it are suppressed.
1411
+ outline: {
1412
+ list: {
1413
+ border: "0",
1414
+ _horizontal: {
1415
+ _before: {
1416
+ borderBottomWidth: "0"
1417
+ }
1418
+ }
1419
+ },
1420
+ trigger: {
1421
+ color: "fg.muted",
1422
+ bg: "transparent",
1423
+ borderWidth: "1px",
1424
+ borderColor: "transparent",
1425
+ _selected: {
1426
+ color: "fg",
1427
+ borderColor: "border.muted",
1428
+ borderBottomColor: "transparent"
1429
+ },
1430
+ _horizontal: {
1431
+ borderTopRadius: "0",
1432
+ marginBottom: "0",
1433
+ marginEnd: "0",
1434
+ _selected: {
1435
+ borderColor: "border.muted",
1436
+ borderBottomColor: "transparent"
1437
+ }
1438
+ }
1439
+ }
1346
1440
  }
1347
1441
  }
1348
1442
  }
1349
- }), ve = a({
1443
+ }), de = a({
1350
1444
  base: {
1351
1445
  paddingX: "sm",
1352
1446
  paddingY: "xs",
@@ -1372,8 +1466,8 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1372
1466
  color: "fg.subtle"
1373
1467
  }
1374
1468
  }
1375
- }), me = r({
1376
- slots: x.keys(),
1469
+ }), ce = r({
1470
+ slots: y.keys(),
1377
1471
  base: {
1378
1472
  content: {
1379
1473
  bg: "bg.inverted",
@@ -1383,7 +1477,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1383
1477
  bg: "bg.inverted"
1384
1478
  }
1385
1479
  }
1386
- }), he = {
1480
+ }), ge = {
1387
1481
  DEFAULT: {
1388
1482
  value: "1px solid {colors.border}"
1389
1483
  },
@@ -1402,7 +1496,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1402
1496
  "accent-light": {
1403
1497
  value: "1px solid {colors.border.accent-light}"
1404
1498
  }
1405
- }, pe = {
1499
+ }, be = {
1406
1500
  DEFAULT: {
1407
1501
  value: {
1408
1502
  _light: "{colors.blacks.800}",
@@ -1486,7 +1580,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1486
1580
  value: "{colors.fg.muted}"
1487
1581
  }
1488
1582
  }
1489
- }, Fe = {
1583
+ }, ve = {
1490
1584
  DEFAULT: {
1491
1585
  value: {
1492
1586
  _light: "{colors.blacks.50}",
@@ -1538,7 +1632,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1538
1632
  panel: {
1539
1633
  value: {
1540
1634
  _light: "{colors.blacks.100}",
1541
- _dark: "{colors.blacks.850}"
1635
+ _dark: "{colors.bg}"
1542
1636
  }
1543
1637
  },
1544
1638
  dark: {
@@ -1584,17 +1678,20 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1584
1678
  },
1585
1679
  hover: {
1586
1680
  value: {
1587
- _light: "{colors.bg.muted}"
1681
+ _light: "{colors.bg.hover}",
1682
+ _dark: "{colors.neutral.700}"
1588
1683
  }
1589
1684
  },
1590
1685
  focus: {
1591
1686
  value: {
1592
- _light: "{colors.bg.muted}"
1687
+ _light: "{colors.bg.hover}",
1688
+ _dark: "{colors.neutral.700}"
1593
1689
  }
1594
1690
  },
1595
1691
  selected: {
1596
1692
  value: {
1597
- _light: "{colors.bg.active}"
1693
+ _light: "{colors.bg.muted}",
1694
+ _dark: "{colors.bg.muted}"
1598
1695
  }
1599
1696
  }
1600
1697
  },
@@ -1748,7 +1845,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1748
1845
  }
1749
1846
  }
1750
1847
  }
1751
- }, _e = {
1848
+ }, me = {
1752
1849
  DEFAULT: {
1753
1850
  value: {
1754
1851
  _light: "{colors.neutral.500}",
@@ -1790,14 +1887,14 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1790
1887
  value: "{colors.border.muted}"
1791
1888
  }
1792
1889
  }
1793
- }, fe = {
1890
+ }, he = {
1794
1891
  border: {
1795
1892
  value: {
1796
1893
  _light: "{colors.mint.200}",
1797
1894
  _dark: "{colors.mint.200}"
1798
1895
  }
1799
1896
  }
1800
- }, ke = {
1897
+ }, pe = {
1801
1898
  contrast: {
1802
1899
  value: {
1803
1900
  _light: "black",
@@ -1846,7 +1943,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
1846
1943
  _dark: "{colors.orange.500}"
1847
1944
  }
1848
1945
  }
1849
- }, ye = {
1946
+ }, _e = {
1850
1947
  text: {
1851
1948
  primary: {
1852
1949
  value: {
@@ -2007,7 +2104,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2007
2104
  }
2008
2105
  }
2009
2106
  }
2010
- }, xe = {
2107
+ }, fe = {
2011
2108
  selectable: {
2012
2109
  primary: {
2013
2110
  value: {
@@ -2016,15 +2113,15 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2016
2113
  }
2017
2114
  }
2018
2115
  }
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({
2116
+ }, Fe = {
2117
+ fg: be,
2118
+ bg: ve,
2119
+ border: me,
2120
+ blue: he,
2121
+ orange: pe,
2122
+ vis: _e,
2123
+ text: fe
2124
+ }, ke = c({
2028
2125
  modal: {
2029
2126
  value: {
2030
2127
  paddingInline: "xs",
@@ -2036,7 +2133,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2036
2133
  boxShadow: "mid"
2037
2134
  }
2038
2135
  }
2039
- }), Se = {
2136
+ }), xe = {
2040
2137
  "low-light": {
2041
2138
  value: "0px 2px 4px 0px rgba(0, 0, 0, 0.10)"
2042
2139
  },
@@ -2067,7 +2164,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2067
2164
  "desktop-icon-label-text-selected-dark": {
2068
2165
  value: "0px 2px 4px rgba(37, 99, 235, 0.75)"
2069
2166
  }
2070
- }, De = {
2167
+ }, ye = {
2071
2168
  low: {
2072
2169
  value: {
2073
2170
  _light: "{shadows.low-light}",
@@ -2098,7 +2195,7 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2098
2195
  _dark: "{shadows.desktop-icon-label-text-selected-dark}"
2099
2196
  }
2100
2197
  }
2101
- }, Ae = g({
2198
+ }, Se = g({
2102
2199
  brand: {
2103
2200
  value: {
2104
2201
  fontFamily: "brand",
@@ -2331,56 +2428,54 @@ const E = "monokai", C = "dark", S = { "colors.fg": "#F8F8F2", "colors.fg.muted"
2331
2428
  letterSpacing: "0.14px"
2332
2429
  }
2333
2430
  }
2334
- }), we = b({
2335
- globalCss: z,
2431
+ }), Ce = b({
2432
+ globalCss: w,
2336
2433
  theme: {
2337
2434
  breakpoints: {
2338
2435
  "3xl": "2560px",
2339
2436
  "4xl": "3840px"
2340
2437
  },
2341
- textStyles: Ae,
2342
- layerStyles: Ce,
2438
+ textStyles: Se,
2439
+ layerStyles: ke,
2343
2440
  recipes: {
2344
- button: ee,
2345
- divider: oe,
2346
- input: se,
2347
- kbd: ie,
2348
- skeleton: ge,
2349
- textarea: ve
2441
+ button: K,
2442
+ divider: Q,
2443
+ input: oe,
2444
+ kbd: re,
2445
+ skeleton: ue,
2446
+ textarea: de
2350
2447
  },
2351
2448
  tokens: {
2352
- colors: q,
2353
- fonts: G,
2354
- fontSizes: J,
2355
- fontWeights: K,
2356
- radii: Q,
2357
- shadows: Se,
2358
- spacing: N
2449
+ colors: O,
2450
+ fonts: $,
2451
+ fontSizes: j,
2452
+ fontWeights: Y,
2453
+ radii: G,
2454
+ shadows: xe,
2455
+ spacing: q
2359
2456
  },
2360
2457
  semanticTokens: {
2361
- colors: Ee,
2362
- borders: he,
2363
- shadows: De
2458
+ colors: Fe,
2459
+ borders: ge,
2460
+ shadows: ye
2364
2461
  },
2365
2462
  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
2463
+ alert: J,
2464
+ drawer: Z,
2465
+ tooltip: ce,
2466
+ popover: te,
2467
+ menu: ae,
2468
+ editable: ee,
2469
+ form: le,
2470
+ dialog: N,
2471
+ progressCircle: se,
2472
+ tabs: ne
2376
2473
  }
2377
2474
  }
2378
- }), He = v(m, we);
2475
+ }), ze = v(m, Ce);
2379
2476
  export {
2380
- We as a,
2381
- Te as b,
2382
- Le as c,
2383
- B as m,
2384
- He as t
2477
+ De as a,
2478
+ Be as c,
2479
+ ze as t
2385
2480
  };
2386
- //# sourceMappingURL=theme-D-aCJqTf.js.map
2481
+ //# sourceMappingURL=theme-DOFdi_Ir.js.map