@pstdio/ui 0.15.0 → 0.16.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 (216) hide show
  1. package/dist/{MermaidComponent-DBJsTOmj.js → MermaidComponent-BCMQqPqu.js} +11 -11
  2. package/dist/{MermaidComponent-DBJsTOmj.js.map → MermaidComponent-BCMQqPqu.js.map} +1 -1
  3. package/dist/browser-storage-BinyFNJX.js +40 -0
  4. package/dist/browser-storage-BinyFNJX.js.map +1 -0
  5. package/dist/chat-ui.js +1188 -1147
  6. package/dist/chat-ui.js.map +1 -1
  7. package/dist/checkbox-D5AzFRlb.js +70 -0
  8. package/dist/checkbox-D5AzFRlb.js.map +1 -0
  9. package/dist/components/chat-ui/components/ai-conversation.d.ts +1 -1
  10. package/dist/components/chat-ui/components/ai-message.d.ts +1 -1
  11. package/dist/components/chat-ui/components/ai-response.d.ts +0 -1
  12. package/dist/components/chat-ui/components/attachment-list.d.ts +1 -1
  13. package/dist/components/chat-ui/components/auto-scroll.d.ts +27 -0
  14. package/dist/components/chat-ui/components/chat-message-animation.d.ts +22 -0
  15. package/dist/components/chat-ui/components/timeline.d.ts +0 -2
  16. package/dist/components/chat-ui/performance/chat-performance-fixtures.d.ts +0 -1
  17. package/dist/components/chat-ui/tool-rendering/build-timeline.d.ts +2 -12
  18. package/dist/components/chat-ui/tool-rendering/shared.d.ts +1 -1
  19. package/dist/components/chat-ui/tool-rendering/types.d.ts +1 -2
  20. package/dist/components/command-palette/index.d.ts +4 -0
  21. package/dist/components/data-renderer/data-renderer-board.d.ts +1 -1
  22. package/dist/components/data-renderer/data-renderer-card.d.ts +1 -1
  23. package/dist/components/data-renderer/data-renderer-list.d.ts +1 -1
  24. package/dist/components/data-renderer/data-renderer.d.ts +1 -1
  25. package/dist/components/data-renderer/index.d.ts +18 -0
  26. package/dist/components/data-renderer/types.d.ts +0 -6
  27. package/dist/components/diff-viewer/diff-card.d.ts +1 -0
  28. package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +0 -19
  29. package/dist/components/diff-viewer/diff-drawer.d.ts +1 -0
  30. package/dist/components/diff-viewer/index.d.ts +2 -0
  31. package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +7 -3
  32. package/dist/components/internal/style-guide.d.ts +14 -0
  33. package/dist/components/internal/token-editor-controls.d.ts +8 -0
  34. package/dist/components/internal/token-editor-data.d.ts +40 -0
  35. package/dist/components/internal/token-editor-state.d.ts +22 -0
  36. package/dist/components/layout/index.d.ts +6 -0
  37. package/dist/components/list-row/list-row.types.d.ts +1 -1
  38. package/dist/components/overlays/index.d.ts +12 -0
  39. package/dist/components/{search-modal-content.d.ts → overlays/search-modal-content.d.ts} +1 -1
  40. package/dist/components/{searchable-menu.d.ts → overlays/searchable-menu.d.ts} +1 -1
  41. package/dist/components/param-editor/index.d.ts +23 -0
  42. package/dist/components/param-editor/inputs/action-input.d.ts +13 -0
  43. package/dist/components/param-editor/inputs/anchor-grid-input.d.ts +12 -0
  44. package/dist/components/param-editor/inputs/anchor-grid.d.ts +4 -0
  45. package/dist/components/param-editor/inputs/file-accept.d.ts +22 -0
  46. package/dist/components/param-editor/inputs/file-drop-input.d.ts +14 -0
  47. package/dist/components/param-editor/inputs/numeric-value.d.ts +6 -0
  48. package/dist/components/param-editor/inputs/range-input.d.ts +17 -0
  49. package/dist/components/param-editor/inputs/range-value.d.ts +5 -0
  50. package/dist/components/param-editor/inputs/resource-input-chips.d.ts +15 -0
  51. package/dist/components/param-editor/inputs/resource-input.d.ts +18 -0
  52. package/dist/components/param-editor/inputs/segmented-input.d.ts +14 -0
  53. package/dist/components/param-editor/inputs/slider-marks.d.ts +5 -0
  54. package/dist/components/param-editor/inputs/vector-input.d.ts +17 -0
  55. package/dist/components/param-editor/inputs/vector-value.d.ts +7 -0
  56. package/dist/components/param-editor/param-editor-control-item.d.ts +15 -0
  57. package/dist/components/param-editor/param-editor-control-list.d.ts +5 -0
  58. package/dist/components/param-editor/param-editor-field-label.d.ts +1 -0
  59. package/dist/components/param-editor/param-editor-field.d.ts +11 -0
  60. package/dist/components/param-editor/param-editor-inline-group.d.ts +5 -0
  61. package/dist/components/param-editor/param-editor-section.d.ts +16 -0
  62. package/dist/components/param-editor/param-editor.d.ts +2 -1
  63. package/dist/components/param-editor/param-editor.types.d.ts +101 -19
  64. package/dist/components/{breadcrumb.d.ts → primitives/breadcrumb.d.ts} +1 -1
  65. package/dist/components/primitives/index.d.ts +28 -0
  66. package/dist/components/{number-input.d.ts → primitives/number-input.d.ts} +0 -2
  67. package/dist/components/{session-indicator.d.ts → primitives/session-indicator.d.ts} +2 -1
  68. package/dist/components/{tooltip.d.ts → primitives/tooltip.d.ts} +0 -1
  69. package/dist/components/rich-text/prompt-input/commands.d.ts +0 -17
  70. package/dist/components/rich-text/prompt-input/events.d.ts +0 -13
  71. package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +1 -2
  72. package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +1 -2
  73. package/dist/components/rich-text/prompt-input/utils.d.ts +1 -2
  74. package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +0 -1
  75. package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -1
  76. package/dist/components/sidebar/sidebar.types.d.ts +1 -1
  77. package/dist/components/tab-strip/tab-visibility-filter.d.ts +1 -1
  78. package/dist/components/tag-editor/tag-editor-row.d.ts +1 -1
  79. package/dist/components/tag-editor/tag-editor.types.d.ts +1 -1
  80. package/dist/components/terminal/bind-session.d.ts +33 -0
  81. package/dist/components/terminal/index.d.ts +6 -0
  82. package/dist/components/terminal/scripted-bridge.d.ts +35 -0
  83. package/dist/components/terminal/terminal-contract.d.ts +22 -0
  84. package/dist/components/terminal/terminal-theme.d.ts +12 -0
  85. package/dist/components/terminal/terminal.d.ts +45 -0
  86. package/dist/components/terminal/types.d.ts +35 -0
  87. package/dist/components/terminal/use-terminal-session.d.ts +21 -0
  88. package/dist/components/tree-list/tree-list-order-filter.d.ts +1 -2
  89. package/dist/components/tree-list/tree-list-visibility-filter.d.ts +1 -1
  90. package/dist/components/tree-list/tree-list.d.ts +1 -1
  91. package/dist/data-renderer.js +1669 -0
  92. package/dist/data-renderer.js.map +1 -0
  93. package/dist/diff-editor-BnfV8cYB.js +182 -0
  94. package/dist/diff-editor-BnfV8cYB.js.map +1 -0
  95. package/dist/diff.js +1313 -0
  96. package/dist/diff.js.map +1 -0
  97. package/dist/empty-state-Bo4HVrgr.js +34 -0
  98. package/dist/empty-state-Bo4HVrgr.js.map +1 -0
  99. package/dist/foundations/gallery/gallery-frame.d.ts +21 -0
  100. package/dist/foundations/gallery/sections/badges-section.d.ts +1 -0
  101. package/dist/foundations/gallery/sections/buttons-section.d.ts +1 -0
  102. package/dist/foundations/gallery/sections/composite-chat-section.d.ts +1 -0
  103. package/dist/foundations/gallery/sections/composites-section.d.ts +1 -0
  104. package/dist/foundations/gallery/sections/feedback-section.d.ts +1 -0
  105. package/dist/foundations/gallery/sections/input-authoring-card.d.ts +1 -0
  106. package/dist/foundations/gallery/sections/inputs-section.d.ts +1 -0
  107. package/dist/foundations/gallery/sections/layout-section.d.ts +1 -0
  108. package/dist/foundations/gallery/sections/navigation-identity-section.d.ts +1 -0
  109. package/dist/foundations/gallery/sections/overlays-section.d.ts +1 -0
  110. package/dist/foundations/gallery/sections/panels-section.d.ts +1 -0
  111. package/dist/foundations/gallery/sections/param-editor-composite-card.d.ts +1 -0
  112. package/dist/foundations/gallery/sections/settings-composite-cards.d.ts +1 -0
  113. package/dist/index.d.ts +11 -84
  114. package/dist/index.js +3570 -7569
  115. package/dist/index.js.map +1 -1
  116. package/dist/list-row-mi3Hn-Um.js +740 -0
  117. package/dist/list-row-mi3Hn-Um.js.map +1 -0
  118. package/dist/mermaid-renderer-DZo3qj6D.js +425 -0
  119. package/dist/mermaid-renderer-DZo3qj6D.js.map +1 -0
  120. package/dist/mermaid.js +5 -0
  121. package/dist/mermaid.js.map +1 -0
  122. package/dist/radio-cLMEBBZk.js +76 -0
  123. package/dist/radio-cLMEBBZk.js.map +1 -0
  124. package/dist/resource-badge-qCWHP-wQ.js +99 -0
  125. package/dist/resource-badge-qCWHP-wQ.js.map +1 -0
  126. package/dist/{rich-message-DNSEhxXh.js → rich-message-DBf_5YlW.js} +462 -481
  127. package/dist/rich-message-DBf_5YlW.js.map +1 -0
  128. package/dist/rich-text.js +300 -299
  129. package/dist/rich-text.js.map +1 -1
  130. package/dist/scroll-area-BMbg1WcD.js +91 -0
  131. package/dist/scroll-area-BMbg1WcD.js.map +1 -0
  132. package/dist/style.css +1 -1
  133. package/dist/terminal.js +339 -0
  134. package/dist/terminal.js.map +1 -0
  135. package/dist/theme/global.d.ts +3 -0
  136. package/dist/theme/recipes/badge.d.ts +50 -0
  137. package/dist/theme/recipes/button.d.ts +24 -19
  138. package/dist/theme/recipes/color-picker.d.ts +1 -0
  139. package/dist/theme/recipes/dialog.d.ts +1 -1
  140. package/dist/theme/recipes/drawer.d.ts +1 -1
  141. package/dist/theme/recipes/input.d.ts +55 -0
  142. package/dist/theme/recipes/number-input.d.ts +98 -0
  143. package/dist/theme/recipes/tabs.d.ts +49 -28
  144. package/dist/theme/recipes/textarea.d.ts +62 -1
  145. package/dist/theme/recipes/timeline.d.ts +74 -0
  146. package/dist/theme/tokens/borders.d.ts +0 -3
  147. package/dist/theme/tokens/colors.d.ts +100 -70
  148. package/dist/{theme-25P7ij4C.js → theme-CJBYBJaA.js} +1194 -315
  149. package/dist/theme-CJBYBJaA.js.map +1 -0
  150. package/dist/theme-preference-DOzHx64J.js +123 -0
  151. package/dist/theme-preference-DOzHx64J.js.map +1 -0
  152. package/dist/theme.js +1 -1
  153. package/dist/tree-list-CcuZMLS5.js +930 -0
  154. package/dist/tree-list-CcuZMLS5.js.map +1 -0
  155. package/dist/workspace-badge-Fuo-1zPj.js +314 -0
  156. package/dist/workspace-badge-Fuo-1zPj.js.map +1 -0
  157. package/package.json +23 -3
  158. package/dist/components/file-tree-helpers.d.ts +0 -8
  159. package/dist/components/open-source-notices-screen.d.ts +0 -20
  160. package/dist/components/param-editor/input-group.d.ts +0 -10
  161. package/dist/components/rich-text/shared/plugins/MermaidPlugin/index.d.ts +0 -1
  162. package/dist/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.d.ts +0 -5
  163. package/dist/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +0 -2
  164. package/dist/components/rich-text/theme/report-theme.d.ts +0 -3
  165. package/dist/components/style-guide-data.d.ts +0 -40
  166. package/dist/components/style-guide.d.ts +0 -1
  167. package/dist/mermaid-renderer-CPGj6vsb.js +0 -570
  168. package/dist/mermaid-renderer-CPGj6vsb.js.map +0 -1
  169. package/dist/radio-DJtQY9po.js +0 -286
  170. package/dist/radio-DJtQY9po.js.map +0 -1
  171. package/dist/resource-badge-CeJTOn8F.js +0 -188
  172. package/dist/resource-badge-CeJTOn8F.js.map +0 -1
  173. package/dist/rich-message-DNSEhxXh.js.map +0 -1
  174. package/dist/theme-25P7ij4C.js.map +0 -1
  175. package/dist/utils/formats.d.ts +0 -7
  176. /package/dist/components/{palette-filter.d.ts → command-palette/palette-filter.d.ts} +0 -0
  177. /package/dist/components/{palette-list.d.ts → command-palette/palette-list.d.ts} +0 -0
  178. /package/dist/components/{palette-shortcut.d.ts → command-palette/palette-shortcut.d.ts} +0 -0
  179. /package/dist/components/{palette.d.ts → command-palette/palette.d.ts} +0 -0
  180. /package/dist/components/{code-editor.d.ts → diff-viewer/code-editor.d.ts} +0 -0
  181. /package/dist/components/{column-file-browser.d.ts → file-browser/column-file-browser.d.ts} +0 -0
  182. /package/dist/components/{performance-panel.d.ts → internal/performance-panel.d.ts} +0 -0
  183. /package/dist/components/{header.d.ts → layout/header.d.ts} +0 -0
  184. /package/dist/components/{horizontal-menu-stack.d.ts → layout/horizontal-menu-stack.d.ts} +0 -0
  185. /package/dist/components/{item-section.d.ts → layout/item-section.d.ts} +0 -0
  186. /package/dist/components/{panel-header.constants.d.ts → layout/panel-header.constants.d.ts} +0 -0
  187. /package/dist/components/{resizable-split-layout.d.ts → layout/resizable-split-layout.d.ts} +0 -0
  188. /package/dist/components/{resizable-split-layout.handle.d.ts → layout/resizable-split-layout.handle.d.ts} +0 -0
  189. /package/dist/components/{attached-panel.d.ts → overlays/attached-panel.d.ts} +0 -0
  190. /package/dist/components/{bubble-button.d.ts → overlays/bubble-button.d.ts} +0 -0
  191. /package/dist/components/{bubble-panel.d.ts → overlays/bubble-panel.d.ts} +0 -0
  192. /package/dist/components/{delete-confirmation-modal.d.ts → overlays/delete-confirmation-modal.d.ts} +0 -0
  193. /package/dist/components/{repo-picker-dialog.d.ts → overlays/repo-picker-dialog.d.ts} +0 -0
  194. /package/dist/components/{resource-context-menu.d.ts → overlays/resource-context-menu.d.ts} +0 -0
  195. /package/dist/components/param-editor/{color-input.d.ts → inputs/color-input.d.ts} +0 -0
  196. /package/dist/components/param-editor/{date-input.d.ts → inputs/date-input.d.ts} +0 -0
  197. /package/dist/components/param-editor/{horizontal-text-input.d.ts → inputs/horizontal-text-input.d.ts} +0 -0
  198. /package/dist/components/param-editor/{number-input.d.ts → inputs/number-input.d.ts} +0 -0
  199. /package/dist/components/param-editor/{selection-input.d.ts → inputs/selection-input.d.ts} +0 -0
  200. /package/dist/components/param-editor/{text-input.d.ts → inputs/text-input.d.ts} +0 -0
  201. /package/dist/components/{alert.d.ts → primitives/alert.d.ts} +0 -0
  202. /package/dist/components/{checkbox.d.ts → primitives/checkbox.d.ts} +0 -0
  203. /package/dist/components/{content-placeholder.d.ts → primitives/content-placeholder.d.ts} +0 -0
  204. /package/dist/components/{empty-state.d.ts → primitives/empty-state.d.ts} +0 -0
  205. /package/dist/components/{error-boundary.d.ts → primitives/error-boundary.d.ts} +0 -0
  206. /package/dist/components/{icon-color-picker.d.ts → primitives/icon-color-picker.d.ts} +0 -0
  207. /package/dist/components/{info-card.d.ts → primitives/info-card.d.ts} +0 -0
  208. /package/dist/components/{integration-card.d.ts → primitives/integration-card.d.ts} +0 -0
  209. /package/dist/components/{radio.d.ts → primitives/radio.d.ts} +0 -0
  210. /package/dist/components/{resource-badge.d.ts → primitives/resource-badge.d.ts} +0 -0
  211. /package/dist/components/{scroll-area.d.ts → primitives/scroll-area.d.ts} +0 -0
  212. /package/dist/components/{simple-card.d.ts → primitives/simple-card.d.ts} +0 -0
  213. /package/dist/components/{slider.d.ts → primitives/slider.d.ts} +0 -0
  214. /package/dist/components/{switch.d.ts → primitives/switch.d.ts} +0 -0
  215. /package/dist/components/{toaster.d.ts → primitives/toaster.d.ts} +0 -0
  216. /package/dist/components/{workspace-badge.d.ts → primitives/workspace-badge.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
- import { defineSlotRecipe as t, defineRecipe as n, defaultConfig as a, defineLayerStyles as m, defineTextStyles as h, defineConfig as p, createSystem as f } from "@chakra-ui/react";
2
- import { alertAnatomy as _, dialogAnatomy as F, drawerAnatomy as y, fieldsetAnatomy as k, menuAnatomy as x, popoverAnatomy as S, tabsAnatomy as C, tooltipAnatomy as E } from "@chakra-ui/react/anatomy";
3
- import { progressCircleSlotRecipe as d } from "@chakra-ui/react/theme";
4
- const A = {
1
+ import { defineSlotRecipe as i, defineRecipe as c, defaultConfig as d, defineLayerStyles as F, defineTextStyles as k, createSystem as C, defineConfig as E } from "@chakra-ui/react";
2
+ import { alertAnatomy as w, colorPickerAnatomy as A, dialogAnatomy as D, drawerAnatomy as z, fieldsetAnatomy as R, menuAnatomy as W, numberInputAnatomy as B, popoverAnatomy as H, tabsAnatomy as T, timelineAnatomy as L, tooltipAnatomy as V } from "@chakra-ui/react/anatomy";
3
+ import { progressCircleSlotRecipe as h } from "@chakra-ui/react/theme";
4
+ const I = {
5
5
  "editor.background": ["colors.bg", "colors.bg.code"],
6
6
  "editor.foreground": ["colors.fg"],
7
7
  "editor.lineHighlightBackground": ["colors.bg.hover"],
@@ -33,15 +33,15 @@ const A = {
33
33
  "gitDecoration.deletedResourceForeground": ["colors.fg.error"],
34
34
  descriptionForeground: ["colors.fg.muted"],
35
35
  disabledForeground: ["colors.fg.subtle"],
36
- border: ["colors.border", "colors.border.muted", "colors.border.subtle"]
37
- }, D = (e) => `colors.vscode.${e}`, w = (e) => e.replace(/^#/, ""), B = (e) => {
38
- const r = (e.theme.tokenColors ?? []).flatMap((l) => (Array.isArray(l.scope) ? l.scope : l.scope ? [l.scope] : []).map((u) => ({
39
- token: u,
40
- ...l.settings?.foreground ? {
41
- foreground: w(l.settings.foreground)
36
+ border: ["colors.border", "colors.border.subtle"]
37
+ }, M = (e) => `colors.vscode.${e}`, P = (e) => e.replace(/^#/, ""), X = (e) => {
38
+ const r = (e.theme.tokenColors ?? []).flatMap((o) => (Array.isArray(o.scope) ? o.scope : o.scope ? [o.scope] : []).map((s) => ({
39
+ token: s,
40
+ ...o.settings?.foreground ? {
41
+ foreground: P(o.settings.foreground)
42
42
  } : {},
43
- ...l.settings?.fontStyle ? {
44
- fontStyle: l.settings.fontStyle
43
+ ...o.settings?.fontStyle ? {
44
+ fontStyle: o.settings.fontStyle
45
45
  } : {}
46
46
  })));
47
47
  return {
@@ -50,25 +50,25 @@ const A = {
50
50
  rules: r,
51
51
  colors: e.theme.colors ?? {}
52
52
  };
53
- }, He = (e) => {
54
- const r = {}, l = e.theme.colors ?? {};
55
- for (const [i, u] of Object.entries(l))
56
- r[D(i)] = u;
57
- for (const [i, u] of Object.entries(A)) {
58
- const g = l[i];
53
+ }, Qe = (e) => {
54
+ const r = {}, o = e.theme.colors ?? {};
55
+ for (const [n, s] of Object.entries(o))
56
+ r[M(n)] = s;
57
+ for (const [n, s] of Object.entries(I)) {
58
+ const g = o[n];
59
59
  if (g)
60
- for (const v of u) r[v] = g;
60
+ for (const m of s) r[m] = g;
61
61
  }
62
62
  return {
63
63
  id: e.id,
64
64
  mode: e.mode,
65
65
  tokens: r,
66
- monacoTheme: B({
66
+ monacoTheme: X({
67
67
  mode: e.mode,
68
68
  theme: e.theme
69
69
  })
70
70
  };
71
- }, z = {
71
+ }, j = {
72
72
  "*::selection": {
73
73
  bg: {
74
74
  base: "bg.accent-secondary.blue-medium",
@@ -79,7 +79,7 @@ const A = {
79
79
  }
80
80
  },
81
81
  ":root": {
82
- "--focus-border": "blue.border",
82
+ "--focus-border": "border.accent-light",
83
83
  "--separator-border": "transparent !important"
84
84
  },
85
85
  html: {
@@ -87,6 +87,9 @@ const A = {
87
87
  width: "100%",
88
88
  overflow: "hidden"
89
89
  },
90
+ hr: {
91
+ borderColor: "border.subtle"
92
+ },
90
93
  body: {
91
94
  height: "100%",
92
95
  width: "100%",
@@ -126,7 +129,7 @@ const A = {
126
129
  fontSize: "1.5rem"
127
130
  }
128
131
  }
129
- }, R = {
132
+ }, U = {
130
133
  DEFAULT: {
131
134
  value: "#0A0D15"
132
135
  },
@@ -175,7 +178,7 @@ const A = {
175
178
  1e3: {
176
179
  value: "#000000"
177
180
  }
178
- }, W = {
181
+ }, O = {
179
182
  DEFAULT: {
180
183
  value: "#5098FF"
181
184
  },
@@ -209,7 +212,7 @@ const A = {
209
212
  900: {
210
213
  value: "#002862"
211
214
  }
212
- }, H = {
215
+ }, Y = {
213
216
  DEFAULT: {
214
217
  value: "#3A4BE4"
215
218
  },
@@ -246,7 +249,7 @@ const A = {
246
249
  900: {
247
250
  value: "#0A125A"
248
251
  }
249
- }, L = {
252
+ }, $ = {
250
253
  DEFAULT: {
251
254
  value: "#E054EC"
252
255
  },
@@ -283,7 +286,7 @@ const A = {
283
286
  900: {
284
287
  value: "#520659"
285
288
  }
286
- }, T = {
289
+ }, N = {
287
290
  DEFAULT: {
288
291
  value: "#FBD8CE"
289
292
  },
@@ -317,7 +320,7 @@ const A = {
317
320
  900: {
318
321
  value: "#522923"
319
322
  }
320
- }, M = {
323
+ }, q = {
321
324
  DEFAULT: {
322
325
  value: "#FF3232"
323
326
  },
@@ -351,7 +354,7 @@ const A = {
351
354
  900: {
352
355
  value: "#580707"
353
356
  }
354
- }, U = {
357
+ }, G = {
355
358
  DEFAULT: {
356
359
  value: "#F78C25"
357
360
  },
@@ -385,7 +388,7 @@ const A = {
385
388
  900: {
386
389
  value: "#552107"
387
390
  }
388
- }, P = {
391
+ }, K = {
389
392
  DEFAULT: {
390
393
  value: "#FFD643"
391
394
  },
@@ -425,7 +428,7 @@ const A = {
425
428
  900: {
426
429
  value: "#644E00"
427
430
  }
428
- }, V = {
431
+ }, J = {
429
432
  DEFAULT: {
430
433
  value: "#2DD665"
431
434
  },
@@ -459,7 +462,7 @@ const A = {
459
462
  900: {
460
463
  value: "#003110"
461
464
  }
462
- }, O = {
465
+ }, Q = {
463
466
  DEFAULT: {
464
467
  value: "#3EECC4"
465
468
  },
@@ -493,7 +496,7 @@ const A = {
493
496
  900: {
494
497
  value: "#024F3D"
495
498
  }
496
- }, X = {
499
+ }, Z = {
497
500
  DEFAULT: {
498
501
  value: "#5CDCFF"
499
502
  },
@@ -527,7 +530,7 @@ const A = {
527
530
  900: {
528
531
  value: "#005B73"
529
532
  }
530
- }, j = {
533
+ }, ee = {
531
534
  DEFAULT: {
532
535
  value: "#8B47FF"
533
536
  },
@@ -561,7 +564,7 @@ const A = {
561
564
  900: {
562
565
  value: "#1E0050"
563
566
  }
564
- }, I = {
567
+ }, oe = {
565
568
  DEFAULT: {
566
569
  value: "#F4F2EC"
567
570
  },
@@ -595,7 +598,7 @@ const A = {
595
598
  900: {
596
599
  value: "#E8CECE"
597
600
  }
598
- }, $ = {
601
+ }, re = {
599
602
  50: {
600
603
  value: "#FCFDFC"
601
604
  },
@@ -638,30 +641,30 @@ const A = {
638
641
  950: {
639
642
  value: "#10141B"
640
643
  }
641
- }, Y = {
644
+ }, le = {
642
645
  100: {
643
646
  value: "#D3ECEE"
644
647
  },
645
648
  200: {
646
649
  value: "#B3DEE2"
647
650
  }
648
- }, q = {
649
- sand: I,
650
- blacks: R,
651
- blue: W,
652
- sapphire: H,
653
- pink: L,
654
- peach: T,
655
- red: M,
656
- orange: U,
657
- yellow: P,
658
- green: V,
659
- teal: O,
660
- cyan: X,
661
- purple: j,
662
- neutral: $,
663
- mint: Y
664
- }, G = {
651
+ }, te = {
652
+ sand: oe,
653
+ blacks: U,
654
+ blue: O,
655
+ sapphire: Y,
656
+ pink: $,
657
+ peach: N,
658
+ red: q,
659
+ orange: G,
660
+ yellow: K,
661
+ green: J,
662
+ teal: Q,
663
+ cyan: Z,
664
+ purple: ee,
665
+ neutral: re,
666
+ mint: le
667
+ }, ae = {
665
668
  display: {
666
669
  value: "'Playfair Display', serif"
667
670
  },
@@ -677,7 +680,7 @@ const A = {
677
680
  body: {
678
681
  value: "Inter, sans-serif"
679
682
  }
680
- }, K = {
683
+ }, ie = {
681
684
  xs: {
682
685
  value: "0.625rem"
683
686
  },
@@ -742,7 +745,7 @@ const A = {
742
745
  value: "1.25rem"
743
746
  }
744
747
  // 20px
745
- }, J = {
748
+ }, ne = {
746
749
  regular: {
747
750
  value: 400
748
751
  },
@@ -755,7 +758,7 @@ const A = {
755
758
  bold: {
756
759
  value: 700
757
760
  }
758
- }, o = {
761
+ }, l = {
759
762
  // 0px
760
763
  25: "0.125rem",
761
764
  // 2px
@@ -782,80 +785,211 @@ const A = {
782
785
  900: "4.5rem",
783
786
  // 96px
784
787
  1600: "8rem"
785
- }, N = {
788
+ }, se = {
786
789
  none: {
787
790
  value: "0"
788
791
  },
789
792
  "2xs": {
790
- value: o[50]
793
+ value: l[50]
791
794
  },
792
795
  xs: {
793
- value: o[100]
796
+ value: l[100]
794
797
  },
795
798
  sm: {
796
- value: o[150]
799
+ value: l[150]
797
800
  },
798
801
  md: {
799
- value: o[200]
802
+ value: l[200]
800
803
  },
801
804
  lg: {
802
- value: o[300]
805
+ value: l[300]
803
806
  },
804
807
  xl: {
805
- value: o[400]
808
+ value: l[400]
806
809
  },
807
810
  "2xl": {
808
- value: o[500]
811
+ value: l[500]
809
812
  },
810
813
  "3xl": {
811
- value: o[600]
814
+ value: l[600]
812
815
  },
813
816
  "3.5xl": {
814
- value: o[700]
817
+ value: l[700]
815
818
  },
816
819
  "4xl": {
817
- value: o[800]
820
+ value: l[800]
818
821
  },
819
822
  "4.5xl": {
820
- value: o[900]
823
+ value: l[900]
821
824
  },
822
825
  "5xl": {
823
- value: o[1600]
826
+ value: l[1600]
824
827
  }
825
- }, Q = {
828
+ }, de = {
826
829
  none: {
827
830
  value: "0"
828
831
  },
829
832
  "2xs": {
830
- value: o[25]
833
+ value: l[25]
831
834
  },
832
835
  xs: {
833
- value: o[50]
836
+ value: l[50]
834
837
  },
835
838
  sm: {
836
- value: o[100]
839
+ value: l[100]
837
840
  },
838
841
  md: {
839
- value: o[150]
842
+ value: l[150]
840
843
  },
841
844
  lg: {
842
- value: o[200]
845
+ value: l[200]
843
846
  },
844
847
  xl: {
845
- value: o[400]
848
+ value: l[400]
846
849
  },
847
850
  full: {
848
851
  value: "100%"
849
852
  }
850
- }, Z = t({
851
- slots: _.keys(),
853
+ }, ce = i({
854
+ slots: w.keys(),
852
855
  base: {
853
856
  root: {
854
- pt: "xs",
855
- pb: "xs"
857
+ px: "xs",
858
+ py: "2xs",
859
+ gap: "2xs",
860
+ borderRadius: "xs",
861
+ alignItems: "flex-start",
862
+ minH: "auto"
863
+ },
864
+ indicator: {
865
+ mt: "0.0625rem"
866
+ },
867
+ content: {
868
+ gap: "0"
869
+ },
870
+ title: {
871
+ textStyle: "label/S/medium"
872
+ },
873
+ description: {
874
+ textStyle: "paragraph/S/regular"
875
+ }
876
+ },
877
+ compoundVariants: [{
878
+ status: "info",
879
+ variant: "subtle",
880
+ css: {
881
+ root: {
882
+ bg: "bg.info",
883
+ color: "fg.info"
884
+ },
885
+ indicator: {
886
+ color: "fg.info"
887
+ }
888
+ }
889
+ }, {
890
+ status: "success",
891
+ variant: "subtle",
892
+ css: {
893
+ root: {
894
+ bg: "bg.success",
895
+ color: "fg.success"
896
+ },
897
+ indicator: {
898
+ color: "fg.success"
899
+ }
900
+ }
901
+ }, {
902
+ status: "warning",
903
+ variant: "subtle",
904
+ css: {
905
+ root: {
906
+ bg: "bg.warning",
907
+ color: "fg.warning"
908
+ },
909
+ indicator: {
910
+ color: "fg.warning"
911
+ }
912
+ }
913
+ }, {
914
+ status: "error",
915
+ variant: "subtle",
916
+ css: {
917
+ root: {
918
+ bg: "bg.error",
919
+ color: "fg.error"
920
+ },
921
+ indicator: {
922
+ color: "fg.error"
923
+ }
924
+ }
925
+ }]
926
+ }), ue = c({
927
+ className: "chakra-badge",
928
+ base: {
929
+ display: "inline-flex",
930
+ alignItems: "center",
931
+ borderRadius: "9999px",
932
+ gap: "1",
933
+ fontWeight: "medium",
934
+ fontVariantNumeric: "tabular-nums",
935
+ whiteSpace: "nowrap",
936
+ userSelect: "none"
937
+ },
938
+ variants: {
939
+ variant: {
940
+ solid: {
941
+ bg: "colorPalette.solid",
942
+ color: "colorPalette.contrast"
943
+ },
944
+ subtle: {
945
+ bg: "colorPalette.subtle",
946
+ color: "colorPalette.fg"
947
+ },
948
+ number: {
949
+ bg: "colorPalette.subtle",
950
+ color: "colorPalette.fg",
951
+ borderRadius: "2xs",
952
+ justifyContent: "center"
953
+ },
954
+ outline: {
955
+ color: "colorPalette.fg",
956
+ "--outline-shadow-legacy": "colors.colorPalette.muted",
957
+ "--outline-shadow": "colors.colorPalette.border",
958
+ shadow: "inset 0 0 0px 1px var(--shadow-color)",
959
+ shadowColor: "var(--outline-shadow, var(--outline-shadow-legacy))"
960
+ },
961
+ plain: {
962
+ color: "colorPalette.fg"
963
+ }
964
+ },
965
+ size: {
966
+ xs: {
967
+ textStyle: "2xs",
968
+ px: "1",
969
+ minH: "4"
970
+ },
971
+ sm: {
972
+ textStyle: "xs",
973
+ px: "1.5",
974
+ minH: "5"
975
+ },
976
+ md: {
977
+ textStyle: "sm",
978
+ px: "2",
979
+ minH: "6"
980
+ },
981
+ lg: {
982
+ textStyle: "sm",
983
+ px: "2.5",
984
+ minH: "7"
985
+ }
856
986
  }
987
+ },
988
+ defaultVariants: {
989
+ variant: "subtle",
990
+ size: "sm"
857
991
  }
858
- }), ee = n({
992
+ }), be = c({
859
993
  base: {
860
994
  borderRadius: "xs",
861
995
  transition: "all 0.1s ease-in-out",
@@ -863,7 +997,7 @@ const A = {
863
997
  fontWeight: "500",
864
998
  color: "fg",
865
999
  bg: "bg",
866
- borderColor: "border.muted",
1000
+ borderColor: "border",
867
1001
  _disabled: {
868
1002
  opacity: 1,
869
1003
  color: "fg.subtle",
@@ -886,7 +1020,6 @@ const A = {
886
1020
  "display-primary": {
887
1021
  bg: "blacks.900",
888
1022
  color: "fg.inverted",
889
- borderRadius: "xl",
890
1023
  outline: "none",
891
1024
  border: "none",
892
1025
  _hover: {
@@ -896,7 +1029,6 @@ const A = {
896
1029
  "display-outline": {
897
1030
  bg: "transparent",
898
1031
  color: "fg",
899
- borderRadius: "xl",
900
1032
  border: "2px solid {fg}",
901
1033
  _hover: {
902
1034
  bg: "bg.hover"
@@ -908,7 +1040,6 @@ const A = {
908
1040
  "display-ghost": {
909
1041
  bg: "transparent",
910
1042
  color: "fg",
911
- borderRadius: "xl",
912
1043
  _hover: {
913
1044
  bg: "bg.hover"
914
1045
  },
@@ -920,7 +1051,6 @@ const A = {
920
1051
  bg: "transparent",
921
1052
  color: "fg",
922
1053
  border: "none",
923
- borderRadius: "xl",
924
1054
  _hover: {
925
1055
  textDecoration: "underline"
926
1056
  },
@@ -939,26 +1069,21 @@ const A = {
939
1069
  bg: "bg.button.primary.pressed"
940
1070
  }
941
1071
  },
942
- secondary: {
943
- color: "fg",
944
- bg: "bg",
945
- border: "2px solid border.muted",
1072
+ destructive: {
1073
+ color: "blacks.50",
1074
+ bg: "red.500",
1075
+ border: "none",
946
1076
  _hover: {
947
- bg: "bg.hover"
1077
+ bg: "red.600"
948
1078
  },
949
1079
  _active: {
950
- bg: "bg.active"
951
- },
952
- _disabled: {
953
- opacity: 1,
954
- color: "fg.subtle",
955
- borderColor: "border.muted"
1080
+ bg: "red.700"
956
1081
  }
957
1082
  },
958
1083
  outline: {
959
1084
  color: "fg",
960
1085
  bg: "bg",
961
- border: "border.muted",
1086
+ border: "border",
962
1087
  _hover: {
963
1088
  bg: "bg.hover"
964
1089
  },
@@ -971,7 +1096,7 @@ const A = {
971
1096
  _disabled: {
972
1097
  opacity: 1,
973
1098
  color: "fg.subtle",
974
- borderColor: "border.muted"
1099
+ borderColor: "border"
975
1100
  }
976
1101
  },
977
1102
  ghost: {
@@ -996,8 +1121,8 @@ const A = {
996
1121
  },
997
1122
  subtle: {
998
1123
  color: "fg",
999
- bg: "bg.subtle",
1000
- border: "none",
1124
+ bg: "bg.muted",
1125
+ border: "1px solid {border}",
1001
1126
  _hover: {
1002
1127
  bg: "bg.hover"
1003
1128
  },
@@ -1011,6 +1136,7 @@ const A = {
1011
1136
  opacity: 1,
1012
1137
  color: "fg.subtle",
1013
1138
  bg: "bg.muted",
1139
+ borderColor: "border",
1014
1140
  _hover: {
1015
1141
  bg: "bg.muted"
1016
1142
  }
@@ -1018,8 +1144,21 @@ const A = {
1018
1144
  }
1019
1145
  },
1020
1146
  size: {
1147
+ "2xs": {
1148
+ px: "0.375rem",
1149
+ h: "1.5rem",
1150
+ minW: "1.5rem",
1151
+ textStyle: "label/XS",
1152
+ _icon: {
1153
+ width: "0.75rem",
1154
+ height: "0.75rem"
1155
+ }
1156
+ },
1021
1157
  xs: {
1158
+ px: "0.5rem",
1022
1159
  h: "1.75rem",
1160
+ minW: "1.75rem",
1161
+ textStyle: "label/XS",
1023
1162
  _icon: {
1024
1163
  width: "0.875rem",
1025
1164
  height: "0.875rem"
@@ -1049,23 +1188,117 @@ const A = {
1049
1188
  size: "sm",
1050
1189
  variant: "outline"
1051
1190
  }
1052
- }), le = t({
1053
- slots: F.keys(),
1191
+ }), u = "border.accent-light", ge = i({
1192
+ slots: A.keys(),
1193
+ base: {
1194
+ control: {
1195
+ display: "flex",
1196
+ alignItems: "center",
1197
+ width: "full",
1198
+ minW: "0",
1199
+ h: "2rem",
1200
+ bg: "bg",
1201
+ color: "fg",
1202
+ border: "1px solid",
1203
+ borderColor: "border",
1204
+ borderRadius: "xs",
1205
+ overflow: "hidden",
1206
+ transition: "border-color 0.2s ease-in-out",
1207
+ outline: "none",
1208
+ boxShadow: "none",
1209
+ _hover: {
1210
+ borderColor: u
1211
+ },
1212
+ _active: {
1213
+ borderColor: u
1214
+ },
1215
+ _focusWithin: {
1216
+ borderColor: u,
1217
+ boxShadow: "none"
1218
+ },
1219
+ "&:is(:hover, [data-hover])": {
1220
+ borderColor: u
1221
+ },
1222
+ "&:is(:active, [data-active])": {
1223
+ borderColor: u
1224
+ },
1225
+ "& [data-scope=color-picker][data-part=trigger]": {
1226
+ border: "0",
1227
+ borderInlineStartWidth: "0",
1228
+ boxShadow: "none"
1229
+ }
1230
+ },
1231
+ channelInput: {
1232
+ h: "full",
1233
+ minW: "0",
1234
+ flex: "1",
1235
+ px: "sm",
1236
+ bg: "transparent",
1237
+ color: "fg",
1238
+ border: "0",
1239
+ borderInlineEndWidth: "0",
1240
+ borderRadius: "0",
1241
+ outline: "none",
1242
+ boxShadow: "none",
1243
+ textStyle: "label/S/regular",
1244
+ _focusVisible: {
1245
+ outline: "none",
1246
+ boxShadow: "none"
1247
+ }
1248
+ },
1249
+ trigger: {
1250
+ h: "full",
1251
+ minH: "0",
1252
+ maxH: "full",
1253
+ minW: "2rem",
1254
+ alignSelf: "stretch",
1255
+ px: "xs",
1256
+ bg: "transparent",
1257
+ color: "fg",
1258
+ border: "0",
1259
+ borderInlineStartWidth: "0",
1260
+ borderRadius: "0",
1261
+ boxShadow: "none",
1262
+ _hover: {
1263
+ bg: "bg.hover"
1264
+ }
1265
+ },
1266
+ content: {
1267
+ p: "sm",
1268
+ bg: "bg",
1269
+ color: "fg",
1270
+ borderWidth: "0",
1271
+ borderRadius: "xs"
1272
+ },
1273
+ swatch: {
1274
+ borderRadius: "2xs",
1275
+ borderWidth: "0"
1276
+ },
1277
+ swatchTrigger: {
1278
+ borderRadius: "2xs",
1279
+ _focusVisible: {
1280
+ outline: "1px solid",
1281
+ outlineColor: u
1282
+ }
1283
+ }
1284
+ }
1285
+ }), me = i({
1286
+ slots: D.keys(),
1054
1287
  base: {
1055
1288
  content: {
1056
1289
  bg: "bg",
1057
1290
  borderRadius: "xs",
1058
1291
  borderWidth: "1px",
1059
- borderColor: "border.muted",
1292
+ borderColor: "border.subtle",
1060
1293
  overflow: "hidden"
1061
1294
  }
1062
1295
  }
1063
- }), oe = n({
1296
+ }), ve = c({
1064
1297
  base: {
1065
- borderColor: "border"
1298
+ borderColor: "border.subtle"
1066
1299
  }
1067
- }), re = t({
1068
- slots: y.keys(),
1300
+ }), he = i({
1301
+ slots: z.keys(),
1069
1302
  base: {
1070
1303
  header: {
1071
1304
  fontWeight: "medium",
@@ -1076,7 +1309,7 @@ const A = {
1076
1309
  bg: "bg"
1077
1310
  }
1078
1311
  }
1079
- }), te = t({
1312
+ }), pe = i({
1080
1313
  slots: ["preview", "input", "textarea"],
1081
1314
  base: {
1082
1315
  preview: {
@@ -1175,46 +1408,119 @@ const A = {
1175
1408
  }
1176
1409
  }
1177
1410
  }
1178
- }), ae = t({
1179
- slots: k.keys(),
1411
+ }), fe = i({
1412
+ slots: R.keys(),
1180
1413
  base: {
1181
1414
  legend: {
1182
1415
  mb: "2xs"
1183
1416
  }
1184
1417
  }
1185
- }), ie = n({
1418
+ }), t = "border.accent-light", xe = c({
1186
1419
  base: {
1187
1420
  px: "sm",
1188
1421
  borderRadius: "xs",
1189
1422
  transition: "border-color 0.2s ease-in-out",
1190
1423
  bg: "bg",
1191
1424
  color: "fg",
1192
- borderColor: "border.muted",
1425
+ border: "1px solid",
1426
+ borderColor: "border",
1427
+ outline: "none",
1428
+ boxShadow: "none",
1429
+ "--focus-color": "var(--chakra-colors-border-accent-light)",
1430
+ "--focus-ring-style": "none",
1193
1431
  _hover: {
1194
- borderColor: "border"
1432
+ borderColor: t
1195
1433
  },
1196
1434
  _active: {
1197
- borderColor: "blue.border"
1435
+ borderColor: t
1198
1436
  },
1199
1437
  _focus: {
1200
- borderColor: "blue.border"
1438
+ borderColor: t,
1439
+ outline: "none",
1440
+ boxShadow: "none"
1201
1441
  },
1202
1442
  _focusVisible: {
1203
- borderColor: "blue.border",
1204
- outline: "none"
1443
+ borderColor: t,
1444
+ outline: "none",
1445
+ boxShadow: "none"
1205
1446
  },
1206
1447
  _placeholder: {
1207
1448
  color: "fg.subtle"
1449
+ },
1450
+ "&:is(:hover, [data-hover])": {
1451
+ borderColor: t
1452
+ },
1453
+ "&:is(:active, [data-active])": {
1454
+ borderColor: t
1208
1455
  }
1209
1456
  },
1210
1457
  variants: {
1458
+ variant: {
1459
+ outline: {
1460
+ bg: "bg",
1461
+ border: "1px solid",
1462
+ borderColor: "border",
1463
+ outline: "none",
1464
+ boxShadow: "none",
1465
+ "--focus-color": "var(--chakra-colors-border-accent-light)",
1466
+ "--focus-ring-style": "none",
1467
+ _hover: {
1468
+ borderColor: t
1469
+ },
1470
+ _active: {
1471
+ borderColor: t
1472
+ },
1473
+ _focus: {
1474
+ borderColor: t,
1475
+ outline: "none",
1476
+ boxShadow: "none"
1477
+ },
1478
+ _focusVisible: {
1479
+ borderColor: t,
1480
+ outline: "none",
1481
+ boxShadow: "none"
1482
+ },
1483
+ "&:is(:hover, [data-hover])": {
1484
+ borderColor: t
1485
+ },
1486
+ "&:is(:active, [data-active])": {
1487
+ borderColor: t
1488
+ }
1489
+ }
1490
+ },
1211
1491
  size: {
1492
+ "2xs": {
1493
+ h: "1.5rem",
1494
+ px: "2xs",
1495
+ textStyle: "label/XS"
1496
+ },
1497
+ xs: {
1498
+ h: "1.75rem",
1499
+ px: "xs",
1500
+ textStyle: "label/XS"
1501
+ },
1212
1502
  sm: {
1213
- h: "2rem"
1503
+ h: "2rem",
1504
+ px: "sm",
1505
+ textStyle: "label/S/regular"
1506
+ },
1507
+ md: {
1508
+ h: "2.5rem",
1509
+ px: "sm",
1510
+ textStyle: "label/M/regular"
1511
+ },
1512
+ lg: {
1513
+ h: "3rem",
1514
+ px: "md",
1515
+ textStyle: "label/M/regular"
1214
1516
  }
1215
1517
  }
1518
+ },
1519
+ defaultVariants: {
1520
+ size: "sm",
1521
+ variant: "outline"
1216
1522
  }
1217
- }), se = n({
1523
+ }), _e = c({
1218
1524
  base: {
1219
1525
  display: "inline-flex",
1220
1526
  alignItems: "center",
@@ -1277,8 +1583,8 @@ const A = {
1277
1583
  size: "md",
1278
1584
  variant: "raised"
1279
1585
  }
1280
- }), ne = t({
1281
- slots: x.keys(),
1586
+ }), ye = i({
1587
+ slots: W.keys(),
1282
1588
  base: {
1283
1589
  itemGroupLabel: {
1284
1590
  ml: "{2xs}",
@@ -1287,12 +1593,25 @@ const A = {
1287
1593
  color: "fg.muted"
1288
1594
  },
1289
1595
  item: {
1290
- bg: "bg.menu-item.default",
1596
+ width: "full",
1597
+ minWidth: "0",
1598
+ maxWidth: "full",
1599
+ minH: "1.75rem",
1600
+ h: "auto",
1601
+ display: "flex",
1602
+ alignItems: "center",
1603
+ justifyContent: "space-between",
1604
+ gap: "xs",
1605
+ px: "sm",
1606
+ py: "2xs",
1607
+ borderRadius: "0",
1608
+ bg: "transparent",
1291
1609
  color: "fg.menu-item.default",
1292
- textStyle: "label/M/regular",
1610
+ textStyle: "label/S/regular",
1293
1611
  cursor: "pointer",
1294
- px: "0",
1295
- h: "auto",
1612
+ overflow: "hidden",
1613
+ textAlign: "left",
1614
+ textDecoration: "none",
1296
1615
  _hover: {
1297
1616
  bg: "bg.menu-item.hover"
1298
1617
  },
@@ -1302,13 +1621,29 @@ const A = {
1302
1621
  _focusVisible: {
1303
1622
  bg: "bg.menu-item.focus"
1304
1623
  },
1624
+ _checked: {
1625
+ bg: "bg.menu-item.selected",
1626
+ color: "fg"
1627
+ },
1628
+ _selected: {
1629
+ bg: "bg.menu-item.selected",
1630
+ color: "fg"
1631
+ },
1632
+ "&[aria-checked=true]": {
1633
+ bg: "bg.menu-item.selected",
1634
+ color: "fg"
1635
+ },
1305
1636
  _disabled: {
1306
- cursor: "not-allowed"
1637
+ cursor: "not-allowed",
1638
+ color: "fg.muted"
1307
1639
  }
1308
1640
  },
1641
+ itemIndicator: {
1642
+ color: "fg"
1643
+ },
1309
1644
  separator: {
1310
- my: "2xs",
1311
- borderColor: "border.muted"
1645
+ my: "0",
1646
+ borderColor: "border.subtle"
1312
1647
  },
1313
1648
  content: {
1314
1649
  display: "flex",
@@ -1321,13 +1656,226 @@ const A = {
1321
1656
  bg: "bg",
1322
1657
  borderWidth: "1px",
1323
1658
  borderStyle: "solid",
1324
- borderColor: "border.muted",
1659
+ borderColor: "border.subtle",
1325
1660
  zIndex: "dropdown",
1326
1661
  textStyle: "label/M/regular"
1327
1662
  }
1328
1663
  }
1329
- }), ue = t({
1330
- slots: S.keys(),
1664
+ }), Se = "var(--chakra-colors-border)", v = "var(--chakra-colors-border-accent-light)", Fe = i({
1665
+ slots: B.keys(),
1666
+ base: {
1667
+ root: {
1668
+ position: "relative",
1669
+ zIndex: "0",
1670
+ isolation: "isolate",
1671
+ boxShadow: "none",
1672
+ "--number-input-border-color": Se,
1673
+ "&:is(:hover, [data-hover])": {
1674
+ "--number-input-border-color": v
1675
+ },
1676
+ "&:is(:active, [data-active])": {
1677
+ "--number-input-border-color": v
1678
+ },
1679
+ "&:focus-within": {
1680
+ "--number-input-border-color": v
1681
+ }
1682
+ },
1683
+ input: {
1684
+ px: "sm",
1685
+ pe: "calc(var(--stepper-width) + 0.5rem)",
1686
+ borderRadius: "xs",
1687
+ transition: "border-color 0.2s ease-in-out",
1688
+ bg: "bg",
1689
+ color: "fg",
1690
+ borderWidth: "1px",
1691
+ borderStyle: "solid",
1692
+ borderColor: "var(--number-input-border-color)",
1693
+ outline: "none",
1694
+ boxShadow: "none",
1695
+ "--focus-ring-color": "var(--number-input-border-color)",
1696
+ "--focus-ring-style": "none",
1697
+ _hover: {
1698
+ borderColor: "var(--number-input-border-color)"
1699
+ },
1700
+ _active: {
1701
+ borderColor: "var(--number-input-border-color)"
1702
+ },
1703
+ _focus: {
1704
+ borderColor: "var(--number-input-border-color)",
1705
+ outline: "none",
1706
+ boxShadow: "none"
1707
+ },
1708
+ _focusVisible: {
1709
+ borderColor: "var(--number-input-border-color)",
1710
+ outline: "none",
1711
+ boxShadow: "none"
1712
+ },
1713
+ _placeholder: {
1714
+ color: "fg.subtle"
1715
+ },
1716
+ "&:is(:hover, [data-hover])": {
1717
+ borderColor: "var(--number-input-border-color)"
1718
+ },
1719
+ "&:is(:active, [data-active])": {
1720
+ borderColor: "var(--number-input-border-color)"
1721
+ },
1722
+ "&:not([data-invalid], [aria-invalid='true'], [data-state='invalid'])": {
1723
+ borderColor: "var(--number-input-border-color)"
1724
+ }
1725
+ },
1726
+ control: {
1727
+ display: "flex",
1728
+ flexDirection: "column",
1729
+ position: "absolute",
1730
+ top: "0",
1731
+ insetEnd: "0",
1732
+ margin: "1px",
1733
+ width: "var(--stepper-width)",
1734
+ height: "calc(100% - 2px)",
1735
+ zIndex: "1",
1736
+ borderStartWidth: "1px",
1737
+ borderStartColor: "var(--number-input-border-color)",
1738
+ borderColor: "var(--number-input-border-color)",
1739
+ divideY: "1px",
1740
+ overflow: "hidden",
1741
+ boxShadow: "none",
1742
+ "& > :not(style, [hidden]) ~ :not(style, [hidden])": {
1743
+ borderColor: "var(--number-input-border-color)"
1744
+ }
1745
+ },
1746
+ incrementTrigger: {
1747
+ display: "flex",
1748
+ alignItems: "center",
1749
+ justifyContent: "center",
1750
+ flex: "1",
1751
+ minH: "0",
1752
+ lineHeight: "1",
1753
+ borderTopEndRadius: "xs",
1754
+ color: "fg.muted",
1755
+ _hover: {
1756
+ bg: "bg.hover",
1757
+ color: "fg"
1758
+ }
1759
+ },
1760
+ decrementTrigger: {
1761
+ display: "flex",
1762
+ alignItems: "center",
1763
+ justifyContent: "center",
1764
+ flex: "1",
1765
+ minH: "0",
1766
+ lineHeight: "1",
1767
+ borderBottomEndRadius: "xs",
1768
+ color: "fg.muted",
1769
+ _hover: {
1770
+ bg: "bg.hover",
1771
+ color: "fg"
1772
+ }
1773
+ }
1774
+ },
1775
+ variants: {
1776
+ variant: {
1777
+ outline: {
1778
+ input: {
1779
+ bg: "bg",
1780
+ borderWidth: "1px",
1781
+ borderStyle: "solid",
1782
+ borderColor: "var(--number-input-border-color)",
1783
+ outline: "none",
1784
+ boxShadow: "none",
1785
+ "--focus-ring-color": "var(--number-input-border-color)",
1786
+ "--focus-ring-style": "none",
1787
+ _hover: {
1788
+ borderColor: "var(--number-input-border-color)"
1789
+ },
1790
+ _active: {
1791
+ borderColor: "var(--number-input-border-color)"
1792
+ },
1793
+ _focus: {
1794
+ borderColor: "var(--number-input-border-color)",
1795
+ outline: "none",
1796
+ boxShadow: "none"
1797
+ },
1798
+ _focusVisible: {
1799
+ borderColor: "var(--number-input-border-color)",
1800
+ outline: "none",
1801
+ boxShadow: "none"
1802
+ },
1803
+ "&:is(:hover, [data-hover])": {
1804
+ borderColor: "var(--number-input-border-color)"
1805
+ },
1806
+ "&:is(:active, [data-active])": {
1807
+ borderColor: "var(--number-input-border-color)"
1808
+ },
1809
+ "&:not([data-invalid], [aria-invalid='true'], [data-state='invalid'])": {
1810
+ borderColor: "var(--number-input-border-color)"
1811
+ }
1812
+ }
1813
+ }
1814
+ },
1815
+ size: {
1816
+ "2xs": {
1817
+ input: {
1818
+ h: "1.5rem",
1819
+ px: "2xs",
1820
+ textStyle: "label/XS"
1821
+ },
1822
+ control: {
1823
+ "--stepper-width": "1.25rem",
1824
+ fontSize: "0.625rem"
1825
+ }
1826
+ },
1827
+ xs: {
1828
+ input: {
1829
+ h: "1.75rem",
1830
+ px: "xs",
1831
+ textStyle: "label/XS"
1832
+ },
1833
+ control: {
1834
+ "--stepper-width": "1.5rem",
1835
+ fontSize: "0.75rem"
1836
+ }
1837
+ },
1838
+ sm: {
1839
+ input: {
1840
+ h: "2rem",
1841
+ px: "sm",
1842
+ textStyle: "label/S/regular"
1843
+ },
1844
+ control: {
1845
+ "--stepper-width": "1.75rem",
1846
+ fontSize: "0.75rem"
1847
+ }
1848
+ },
1849
+ md: {
1850
+ input: {
1851
+ h: "2.5rem",
1852
+ px: "sm",
1853
+ textStyle: "label/M/regular"
1854
+ },
1855
+ control: {
1856
+ "--stepper-width": "2rem",
1857
+ fontSize: "0.875rem"
1858
+ }
1859
+ },
1860
+ lg: {
1861
+ input: {
1862
+ h: "3rem",
1863
+ px: "md",
1864
+ textStyle: "label/M/regular"
1865
+ },
1866
+ control: {
1867
+ "--stepper-width": "2.25rem",
1868
+ fontSize: "0.875rem"
1869
+ }
1870
+ }
1871
+ }
1872
+ },
1873
+ defaultVariants: {
1874
+ size: "sm",
1875
+ variant: "outline"
1876
+ }
1877
+ }), ke = i({
1878
+ slots: H.keys(),
1331
1879
  base: {
1332
1880
  positioner: {
1333
1881
  _focus: {
@@ -1349,7 +1897,7 @@ const A = {
1349
1897
  bg: "bg",
1350
1898
  borderWidth: "1px",
1351
1899
  borderStyle: "solid",
1352
- borderColor: "border.muted",
1900
+ borderColor: "border.subtle",
1353
1901
  _focus: {
1354
1902
  outline: "none"
1355
1903
  }
@@ -1380,12 +1928,12 @@ const A = {
1380
1928
  }
1381
1929
  }
1382
1930
  }
1383
- }), de = d.variants?.size ?? {}, ce = {
1384
- ...d,
1931
+ }), Ce = h.variants?.size ?? {}, Ee = {
1932
+ ...h,
1385
1933
  variants: {
1386
- ...d.variants,
1934
+ ...h.variants,
1387
1935
  size: {
1388
- ...de,
1936
+ ...Ce,
1389
1937
  "2xs": {
1390
1938
  circle: {
1391
1939
  "--size": "14px",
@@ -1397,143 +1945,446 @@ const A = {
1397
1945
  }
1398
1946
  }
1399
1947
  }
1400
- }, ge = n({
1948
+ }, we = c({
1401
1949
  base: {
1402
1950
  "--start-color": "fg",
1403
1951
  "--end-color": "fg.muted"
1404
1952
  }
1405
- }), be = t({
1406
- slots: C.keys(),
1953
+ }), Ae = i({
1954
+ slots: T.keys(),
1407
1955
  base: {
1956
+ root: {
1957
+ "--tabs-trigger-radius": "radii.xs"
1958
+ },
1959
+ list: {
1960
+ gap: "2xs",
1961
+ alignItems: "center",
1962
+ justifyContent: "flex-start",
1963
+ borderBottom: "0",
1964
+ _horizontal: {
1965
+ _before: {
1966
+ borderBottomWidth: "0"
1967
+ }
1968
+ }
1969
+ },
1408
1970
  trigger: {
1409
- borderRadius: "0"
1971
+ minW: "0",
1972
+ flexShrink: "0",
1973
+ py: "0",
1974
+ borderRadius: "xs",
1975
+ borderWidth: "1px",
1976
+ borderColor: "border.subtle",
1977
+ color: "fg.muted",
1978
+ bg: "transparent",
1979
+ _selected: {
1980
+ color: "fg",
1981
+ bg: "bg.muted",
1982
+ borderColor: "border.subtle"
1983
+ },
1984
+ _hover: {
1985
+ bg: "bg.hover",
1986
+ borderColor: "border.subtle",
1987
+ color: "fg"
1988
+ },
1989
+ _disabled: {
1990
+ color: "fg.subtle",
1991
+ borderColor: "border.subtle",
1992
+ bg: "transparent",
1993
+ _hover: {
1994
+ color: "fg.subtle",
1995
+ borderColor: "border.subtle",
1996
+ bg: "transparent"
1997
+ }
1998
+ }
1410
1999
  }
1411
2000
  },
1412
2001
  variants: {
1413
- variant: {
1414
- subtle: {
2002
+ size: {
2003
+ xs: {
1415
2004
  trigger: {
1416
- color: "fg.muted",
1417
- bg: "transparent",
1418
- _hover: {
1419
- bg: "bg.hover",
1420
- color: "fg"
1421
- },
1422
- _selected: {
1423
- bg: "bg.muted",
1424
- color: "fg"
2005
+ h: "1.25rem",
2006
+ px: "xs",
2007
+ gap: "2xs",
2008
+ textStyle: "label/XS/medium",
2009
+ _icon: {
2010
+ width: "0.75rem",
2011
+ height: "0.75rem"
1425
2012
  }
1426
2013
  }
1427
2014
  },
1428
- // Folder-style tabs: only the selected tab is outlined and it merges with
1429
- // the panel content below via a transparent bottom border. Adapts Chakra's
1430
- // built-in `outline` variant for use inside a workbench header — the
1431
- // header paints its own full-width bottom line, so the variant's own
1432
- // underline and the negative margins that overlap it are suppressed.
1433
- outline: {
1434
- list: {
1435
- border: "0",
1436
- _horizontal: {
1437
- _before: {
1438
- borderBottomWidth: "0"
1439
- }
2015
+ sm: {
2016
+ trigger: {
2017
+ h: "1.5rem",
2018
+ px: "xs",
2019
+ gap: "2xs",
2020
+ textStyle: "label/XS/medium",
2021
+ _icon: {
2022
+ width: "0.875rem",
2023
+ height: "0.875rem"
1440
2024
  }
1441
- },
2025
+ }
2026
+ },
2027
+ md: {
2028
+ trigger: {
2029
+ h: "1.75rem",
2030
+ px: "0.5rem",
2031
+ gap: "xs",
2032
+ textStyle: "label/S/medium",
2033
+ _icon: {
2034
+ width: "0.875rem",
2035
+ height: "0.875rem"
2036
+ }
2037
+ }
2038
+ }
2039
+ },
2040
+ variant: {
2041
+ subtle: {
1442
2042
  trigger: {
2043
+ borderRadius: "var(--tabs-trigger-radius)",
1443
2044
  color: "fg.muted",
1444
2045
  bg: "transparent",
1445
- borderWidth: "1px",
1446
- borderColor: "transparent",
1447
2046
  _selected: {
1448
2047
  color: "fg",
1449
- borderColor: "border.muted",
1450
- borderBottomColor: "transparent"
2048
+ bg: "bg.muted",
2049
+ borderColor: "border.subtle"
2050
+ },
2051
+ _hover: {
2052
+ bg: "bg.hover",
2053
+ borderColor: "border.subtle",
2054
+ color: "fg"
1451
2055
  },
1452
- _horizontal: {
1453
- borderTopRadius: "0",
1454
- marginBottom: "0",
1455
- marginEnd: "0",
1456
- _selected: {
1457
- borderColor: "border.muted",
1458
- borderBottomColor: "transparent"
2056
+ _disabled: {
2057
+ bg: "transparent",
2058
+ color: "fg.subtle",
2059
+ borderColor: "border.subtle",
2060
+ _hover: {
2061
+ bg: "transparent",
2062
+ color: "fg.subtle",
2063
+ borderColor: "border.subtle"
1459
2064
  }
1460
2065
  }
1461
2066
  }
1462
2067
  }
1463
2068
  }
2069
+ },
2070
+ defaultVariants: {
2071
+ size: "xs",
2072
+ variant: "subtle"
1464
2073
  }
1465
- }), ve = n({
2074
+ }), a = "border.accent-light", De = c({
1466
2075
  base: {
1467
2076
  paddingX: "sm",
1468
2077
  paddingY: "xs",
1469
2078
  opacity: "1",
1470
2079
  outline: "none",
2080
+ boxShadow: "none",
1471
2081
  color: "fg",
1472
2082
  border: "1px solid",
1473
2083
  borderRadius: "xs",
1474
2084
  transition: "border-color 0.2s ease-in-out",
1475
- borderColor: "border.muted",
2085
+ borderColor: "border",
2086
+ "--focus-color": "var(--chakra-colors-border-accent-light)",
2087
+ "--focus-ring-style": "none",
1476
2088
  _hover: {
1477
- borderColor: "border"
2089
+ borderColor: a
1478
2090
  },
1479
2091
  _active: {
1480
- borderColor: "blue.border"
2092
+ borderColor: a
1481
2093
  },
1482
2094
  _focus: {
1483
- borderColor: "blue.border"
2095
+ borderColor: a,
2096
+ outline: "none",
2097
+ boxShadow: "none"
1484
2098
  },
1485
2099
  _focusVisible: {
1486
- borderColor: "blue.border"
2100
+ borderColor: a,
2101
+ outline: "none",
2102
+ boxShadow: "none"
1487
2103
  },
1488
2104
  _placeholder: {
1489
2105
  color: "fg.subtle"
2106
+ },
2107
+ "&:is(:hover, [data-hover])": {
2108
+ borderColor: a
2109
+ },
2110
+ "&:is(:active, [data-active])": {
2111
+ borderColor: a
2112
+ }
2113
+ },
2114
+ variants: {
2115
+ variant: {
2116
+ outline: {
2117
+ bg: "bg",
2118
+ border: "1px solid",
2119
+ borderColor: "border",
2120
+ outline: "none",
2121
+ boxShadow: "none",
2122
+ "--focus-color": "var(--chakra-colors-border-accent-light)",
2123
+ "--focus-ring-style": "none",
2124
+ _hover: {
2125
+ borderColor: a
2126
+ },
2127
+ _active: {
2128
+ borderColor: a
2129
+ },
2130
+ _focus: {
2131
+ borderColor: a,
2132
+ outline: "none",
2133
+ boxShadow: "none"
2134
+ },
2135
+ _focusVisible: {
2136
+ borderColor: a,
2137
+ outline: "none",
2138
+ boxShadow: "none"
2139
+ },
2140
+ "&:is(:hover, [data-hover])": {
2141
+ borderColor: a
2142
+ },
2143
+ "&:is(:active, [data-active])": {
2144
+ borderColor: a
2145
+ }
2146
+ }
2147
+ },
2148
+ size: {
2149
+ "2xs": {
2150
+ paddingX: "2xs",
2151
+ paddingY: "2xs",
2152
+ textStyle: "label/XS"
2153
+ },
2154
+ xs: {
2155
+ paddingX: "xs",
2156
+ paddingY: "2xs",
2157
+ textStyle: "label/XS"
2158
+ },
2159
+ sm: {
2160
+ paddingX: "sm",
2161
+ paddingY: "xs",
2162
+ textStyle: "label/S/regular"
2163
+ },
2164
+ md: {
2165
+ paddingX: "sm",
2166
+ paddingY: "xs",
2167
+ textStyle: "label/M/regular"
2168
+ },
2169
+ lg: {
2170
+ paddingX: "md",
2171
+ paddingY: "sm",
2172
+ textStyle: "label/M/regular"
2173
+ }
1490
2174
  }
2175
+ },
2176
+ defaultVariants: {
2177
+ size: "sm",
2178
+ variant: "outline"
1491
2179
  }
1492
- }), me = t({
1493
- slots: E.keys(),
2180
+ }), ze = i({
2181
+ slots: L.keys(),
2182
+ base: {
2183
+ root: {
2184
+ display: "flex",
2185
+ flexDirection: "column",
2186
+ width: "full",
2187
+ "--timeline-thickness": "1px",
2188
+ "--timeline-gutter": "4px"
2189
+ },
2190
+ item: {
2191
+ "--timeline-content-gap": "spacing.6",
2192
+ display: "flex",
2193
+ position: "relative",
2194
+ alignItems: "flex-start",
2195
+ flexShrink: 0,
2196
+ gap: "4",
2197
+ _last: {
2198
+ "--timeline-content-gap": "0"
2199
+ }
2200
+ },
2201
+ separator: {
2202
+ display: "var(--timeline-separator-display)",
2203
+ position: "absolute",
2204
+ borderStartWidth: "var(--timeline-thickness)",
2205
+ ms: "calc(-1 * var(--timeline-thickness) / 2)",
2206
+ insetInlineStart: "calc(var(--timeline-indicator-size) / 2)",
2207
+ insetBlock: "0",
2208
+ borderColor: "border.subtle"
2209
+ },
2210
+ indicator: {
2211
+ outline: "2px solid {colors.bg}",
2212
+ position: "relative",
2213
+ flexShrink: "0",
2214
+ boxSize: "var(--timeline-indicator-size)",
2215
+ fontSize: "var(--timeline-font-size)",
2216
+ display: "flex",
2217
+ alignItems: "center",
2218
+ justifyContent: "center",
2219
+ borderRadius: "full",
2220
+ fontWeight: "medium",
2221
+ bg: "bg",
2222
+ color: "fg"
2223
+ },
2224
+ connector: {
2225
+ alignSelf: "stretch",
2226
+ position: "relative"
2227
+ },
2228
+ content: {
2229
+ pb: "var(--timeline-content-gap)",
2230
+ display: "flex",
2231
+ flexDirection: "column",
2232
+ width: "full",
2233
+ gap: "2"
2234
+ },
2235
+ title: {
2236
+ display: "flex",
2237
+ fontWeight: "medium",
2238
+ flexWrap: "wrap",
2239
+ gap: "1.5",
2240
+ alignItems: "center",
2241
+ mt: "var(--timeline-margin)"
2242
+ },
2243
+ description: {
2244
+ color: "fg.muted",
2245
+ textStyle: "xs"
2246
+ }
2247
+ },
2248
+ variants: {
2249
+ variant: {
2250
+ solid: {},
2251
+ subtle: {},
2252
+ outline: {
2253
+ indicator: {
2254
+ borderWidth: "1px",
2255
+ borderColor: "border.subtle"
2256
+ }
2257
+ },
2258
+ plain: {
2259
+ indicator: {
2260
+ bg: "transparent",
2261
+ color: "fg"
2262
+ }
2263
+ }
2264
+ },
2265
+ showLastSeparator: {
2266
+ true: {
2267
+ item: {
2268
+ _last: {
2269
+ "--timeline-separator-display": "initial"
2270
+ }
2271
+ }
2272
+ },
2273
+ false: {
2274
+ item: {
2275
+ _last: {
2276
+ "--timeline-separator-display": "none"
2277
+ }
2278
+ }
2279
+ }
2280
+ },
2281
+ size: {
2282
+ sm: {
2283
+ root: {
2284
+ "--timeline-indicator-size": "sizes.4",
2285
+ "--timeline-font-size": "fontSizes.2xs"
2286
+ },
2287
+ title: {
2288
+ textStyle: "xs"
2289
+ }
2290
+ },
2291
+ md: {
2292
+ root: {
2293
+ "--timeline-indicator-size": "sizes.5",
2294
+ "--timeline-font-size": "fontSizes.xs"
2295
+ },
2296
+ title: {
2297
+ textStyle: "sm"
2298
+ }
2299
+ },
2300
+ lg: {
2301
+ root: {
2302
+ "--timeline-indicator-size": "sizes.6",
2303
+ "--timeline-font-size": "fontSizes.xs"
2304
+ },
2305
+ title: {
2306
+ mt: "0.5",
2307
+ textStyle: "sm"
2308
+ }
2309
+ },
2310
+ xl: {
2311
+ root: {
2312
+ "--timeline-indicator-size": "sizes.8",
2313
+ "--timeline-font-size": "fontSizes.sm"
2314
+ },
2315
+ title: {
2316
+ mt: "1.5",
2317
+ textStyle: "sm"
2318
+ }
2319
+ }
2320
+ }
2321
+ },
2322
+ defaultVariants: {
2323
+ size: "md",
2324
+ variant: "solid",
2325
+ showLastSeparator: !1
2326
+ }
2327
+ }), Re = i({
2328
+ slots: V.keys(),
1494
2329
  base: {
1495
2330
  content: {
1496
2331
  bg: "bg.inverted",
1497
2332
  borderRadius: "xs",
1498
2333
  color: "fg.inverted"
1499
- },
1500
- arrow: {
1501
- bg: "bg.inverted"
1502
2334
  }
1503
2335
  }
1504
- }), he = /* @__PURE__ */ new Set(["boxShadow", "boxShadowColor", "textShadow"]), c = /shadow/i, pe = (e) => {
1505
- if (!c.test(e)) return e;
1506
- const r = e.split(",").map((l) => l.trim()).filter((l) => !c.test(l));
2336
+ }), We = /* @__PURE__ */ new Set(["boxShadow", "boxShadowColor", "textShadow"]), p = /shadow/i, Be = (e) => {
2337
+ if (!p.test(e)) return e;
2338
+ const r = e.split(",").map((o) => o.trim()).filter((o) => !p.test(o));
1507
2339
  if (r.length !== 0)
1508
2340
  return r.join(", ");
1509
- }, s = (e) => Array.isArray(e) ? e.map(s).filter((r) => r !== void 0) : typeof e == "string" ? pe(e) : !e || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).flatMap(([r, l]) => {
1510
- if (he.has(r) || c.test(r)) return [];
1511
- const i = s(l);
1512
- return i === void 0 ? [] : [[r, i]];
1513
- })), b = (e) => {
2341
+ }, b = (e) => Array.isArray(e) ? e.map(b).filter((r) => r !== void 0) : typeof e == "string" ? Be(e) : !e || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).flatMap(([r, o]) => {
2342
+ if (We.has(r) || p.test(r)) return [];
2343
+ const n = b(o);
2344
+ return n === void 0 ? [] : [[r, n]];
2345
+ })), x = (e) => {
1514
2346
  const {
1515
2347
  shadows: r,
1516
- ...l
2348
+ ...o
1517
2349
  } = e ?? {};
1518
- return l;
1519
- }, fe = {
1520
- ...a,
2350
+ return o;
2351
+ }, He = {
2352
+ badge: ["surface"],
2353
+ button: ["secondary", "surface"]
2354
+ }, Te = (e) => {
2355
+ const r = {
2356
+ ...e ?? {}
2357
+ };
2358
+ for (const [o, n] of Object.entries(He)) {
2359
+ const s = r[o];
2360
+ if (!s || typeof s != "object") continue;
2361
+ const g = s, m = g.variants, f = m?.variant;
2362
+ if (!f) continue;
2363
+ const _ = new Set(n), y = Object.fromEntries(Object.entries(f).filter(([S]) => !_.has(S)));
2364
+ r[o] = {
2365
+ ...g,
2366
+ variants: {
2367
+ ...m,
2368
+ variant: y
2369
+ }
2370
+ };
2371
+ }
2372
+ return r;
2373
+ }, Le = {
2374
+ ...d,
1521
2375
  theme: {
1522
- ...a.theme,
1523
- tokens: b(a.theme?.tokens),
1524
- semanticTokens: b(a.theme?.semanticTokens),
1525
- recipes: s(a.theme?.recipes),
1526
- slotRecipes: s(a.theme?.slotRecipes),
1527
- layerStyles: s(a.theme?.layerStyles),
1528
- animationStyles: s(a.theme?.animationStyles)
2376
+ ...d.theme,
2377
+ tokens: x(d.theme?.tokens),
2378
+ semanticTokens: x(d.theme?.semanticTokens),
2379
+ recipes: Te(b(d.theme?.recipes)),
2380
+ slotRecipes: b(d.theme?.slotRecipes),
2381
+ layerStyles: b(d.theme?.layerStyles),
2382
+ animationStyles: b(d.theme?.animationStyles)
1529
2383
  }
1530
- }, _e = {
2384
+ }, Ve = {
1531
2385
  DEFAULT: {
1532
2386
  value: "1px solid {colors.border}"
1533
2387
  },
1534
- muted: {
1535
- value: "1px solid {colors.border.muted}"
1536
- },
1537
2388
  subtle: {
1538
2389
  value: "1px solid {colors.border.subtle}"
1539
2390
  },
@@ -1546,7 +2397,7 @@ const A = {
1546
2397
  "accent-light": {
1547
2398
  value: "1px solid {colors.border.accent-light}"
1548
2399
  }
1549
- }, Fe = {
2400
+ }, Ie = {
1550
2401
  DEFAULT: {
1551
2402
  value: {
1552
2403
  _light: "{colors.blacks.800}",
@@ -1571,15 +2422,27 @@ const A = {
1571
2422
  _dark: "{colors.blacks.800}"
1572
2423
  }
1573
2424
  },
2425
+ info: {
2426
+ value: {
2427
+ _light: "{colors.blue.700}",
2428
+ _dark: "{colors.blue.300}"
2429
+ }
2430
+ },
2431
+ warning: {
2432
+ value: {
2433
+ _light: "{colors.orange.700}",
2434
+ _dark: "{colors.orange.300}"
2435
+ }
2436
+ },
1574
2437
  success: {
1575
2438
  value: {
1576
- _light: "{colors.green.400}",
2439
+ _light: "{colors.green.700}",
1577
2440
  _dark: "{colors.green.400}"
1578
2441
  }
1579
2442
  },
1580
2443
  error: {
1581
2444
  value: {
1582
- _light: "{colors.red.400}",
2445
+ _light: "{colors.red.700}",
1583
2446
  _dark: "{colors.red.400}"
1584
2447
  }
1585
2448
  },
@@ -1630,35 +2493,47 @@ const A = {
1630
2493
  value: "{colors.fg.muted}"
1631
2494
  }
1632
2495
  }
1633
- }, ye = {
2496
+ }, Me = {
1634
2497
  DEFAULT: {
1635
2498
  value: {
1636
2499
  _light: "{colors.blacks.50}",
1637
- _dark: "{colors.blacks.900}"
2500
+ _dark: "#07090E"
1638
2501
  }
1639
2502
  },
1640
2503
  muted: {
1641
2504
  value: {
1642
- _light: "{colors.neutral.200}",
1643
- _dark: "{colors.neutral.800}"
2505
+ _light: "#F0F5F1",
2506
+ _dark: "#0D1017"
1644
2507
  }
1645
2508
  },
1646
2509
  subtle: {
1647
2510
  value: {
1648
- _light: "{colors.neutral.50}",
1649
- _dark: "{colors.neutral.950}"
2511
+ _light: "#F9FBFA",
2512
+ _dark: "#0A0C12"
1650
2513
  }
1651
2514
  },
1652
2515
  hover: {
1653
2516
  value: {
1654
- _light: "{colors.neutral.100}",
1655
- _dark: "{colors.neutral.850}"
2517
+ _light: "#EDF2EE",
2518
+ _dark: "#141821"
1656
2519
  }
1657
2520
  },
1658
2521
  active: {
1659
2522
  value: {
1660
- _light: "{colors.neutral.75}",
1661
- _dark: "{colors.blacks.850}"
2523
+ _light: "#E7EEE9",
2524
+ _dark: "#191E28"
2525
+ }
2526
+ },
2527
+ info: {
2528
+ value: {
2529
+ _light: "{colors.blue.50}",
2530
+ _dark: "{colors.blue.900}"
2531
+ }
2532
+ },
2533
+ warning: {
2534
+ value: {
2535
+ _light: "{colors.orange.50}",
2536
+ _dark: "{colors.orange.900}"
1662
2537
  }
1663
2538
  },
1664
2539
  success: {
@@ -1676,13 +2551,13 @@ const A = {
1676
2551
  code: {
1677
2552
  value: {
1678
2553
  _light: "{colors.blacks.50}",
1679
- _dark: "{colors.blacks.800}"
2554
+ _dark: "#0D1017"
1680
2555
  }
1681
2556
  },
1682
2557
  emphasized: {
1683
2558
  value: {
1684
2559
  _light: "{colors.bg.active}",
1685
- _dark: "{colors.bg.active}"
2560
+ _dark: "#1D242E"
1686
2561
  }
1687
2562
  },
1688
2563
  inverted: {
@@ -1739,22 +2614,13 @@ const A = {
1739
2614
  value: "{colors.bg}"
1740
2615
  },
1741
2616
  hover: {
1742
- value: {
1743
- _light: "{colors.bg.hover}",
1744
- _dark: "{colors.neutral.700}"
1745
- }
2617
+ value: "{colors.bg.hover}"
1746
2618
  },
1747
2619
  focus: {
1748
- value: {
1749
- _light: "{colors.bg.hover}",
1750
- _dark: "{colors.neutral.700}"
1751
- }
2620
+ value: "{colors.bg.hover}"
1752
2621
  },
1753
2622
  selected: {
1754
- value: {
1755
- _light: "{colors.bg.muted}",
1756
- _dark: "{colors.bg.muted}"
1757
- }
2623
+ value: "{colors.bg.active}"
1758
2624
  }
1759
2625
  },
1760
2626
  display: {
@@ -1882,24 +2748,6 @@ const A = {
1882
2748
  _dark: "{colors.sapphire.50}"
1883
2749
  }
1884
2750
  },
1885
- "yellow-light": {
1886
- value: {
1887
- _light: "{colors.yellow.75}",
1888
- _dark: "{colors.yellow.75}"
1889
- }
1890
- },
1891
- "yellow-medium": {
1892
- value: {
1893
- _light: "{colors.yellow.100}",
1894
- _dark: "{colors.yellow.100}"
1895
- }
1896
- },
1897
- "yellow-dark": {
1898
- value: {
1899
- _light: "{colors.yellow.150}",
1900
- _dark: "{colors.yellow.150}"
1901
- }
1902
- },
1903
2751
  "sand-light": {
1904
2752
  value: {
1905
2753
  _light: "{colors.sand.100}",
@@ -1907,23 +2755,17 @@ const A = {
1907
2755
  }
1908
2756
  }
1909
2757
  }
1910
- }, ke = {
2758
+ }, Pe = {
1911
2759
  DEFAULT: {
1912
2760
  value: {
1913
- _light: "{colors.neutral.400}",
1914
- _dark: "{colors.neutral.700}"
1915
- }
1916
- },
1917
- muted: {
1918
- value: {
1919
- _light: "{colors.neutral.300}",
1920
- _dark: "{colors.neutral.750}"
2761
+ _light: "#EAF0EB",
2762
+ _dark: "#2C313D"
1921
2763
  }
1922
2764
  },
1923
2765
  subtle: {
1924
2766
  value: {
1925
- _light: "{colors.neutral.200}",
1926
- _dark: "{colors.neutral.800}"
2767
+ _light: "#EDF2EE",
2768
+ _dark: "#13161F"
1927
2769
  }
1928
2770
  },
1929
2771
  inverted: {
@@ -1944,19 +2786,43 @@ const A = {
1944
2786
  _dark: "{colors.blue.200}"
1945
2787
  }
1946
2788
  },
2789
+ info: {
2790
+ value: {
2791
+ _light: "{colors.blue.100}",
2792
+ _dark: "{colors.blue.800}"
2793
+ }
2794
+ },
2795
+ warning: {
2796
+ value: {
2797
+ _light: "{colors.orange.100}",
2798
+ _dark: "{colors.orange.800}"
2799
+ }
2800
+ },
2801
+ success: {
2802
+ value: {
2803
+ _light: "{colors.green.100}",
2804
+ _dark: "{colors.green.800}"
2805
+ }
2806
+ },
2807
+ error: {
2808
+ value: {
2809
+ _light: "{colors.red.100}",
2810
+ _dark: "{colors.red.800}"
2811
+ }
2812
+ },
1947
2813
  button: {
1948
2814
  primary: {
1949
- value: "{colors.border.muted}"
2815
+ value: "{colors.border.subtle}"
1950
2816
  }
1951
2817
  }
1952
- }, xe = {
2818
+ }, Xe = {
1953
2819
  border: {
1954
2820
  value: {
1955
2821
  _light: "{colors.mint.200}",
1956
2822
  _dark: "{colors.mint.200}"
1957
2823
  }
1958
2824
  }
1959
- }, Se = {
2825
+ }, je = {
1960
2826
  contrast: {
1961
2827
  value: {
1962
2828
  _light: "black",
@@ -2005,7 +2871,7 @@ const A = {
2005
2871
  _dark: "{colors.orange.500}"
2006
2872
  }
2007
2873
  }
2008
- }, Ce = {
2874
+ }, Ue = {
2009
2875
  text: {
2010
2876
  primary: {
2011
2877
  value: {
@@ -2166,7 +3032,7 @@ const A = {
2166
3032
  }
2167
3033
  }
2168
3034
  }
2169
- }, Ee = {
3035
+ }, Oe = {
2170
3036
  selectable: {
2171
3037
  primary: {
2172
3038
  value: {
@@ -2175,15 +3041,15 @@ const A = {
2175
3041
  }
2176
3042
  }
2177
3043
  }
2178
- }, Ae = {
2179
- fg: Fe,
2180
- bg: ye,
2181
- border: ke,
2182
- blue: xe,
2183
- orange: Se,
2184
- vis: Ce,
2185
- text: Ee
2186
- }, De = m({
3044
+ }, Ye = {
3045
+ fg: Ie,
3046
+ bg: Me,
3047
+ border: Pe,
3048
+ blue: Xe,
3049
+ orange: je,
3050
+ vis: Ue,
3051
+ text: Oe
3052
+ }, $e = F({
2187
3053
  modal: {
2188
3054
  value: {
2189
3055
  paddingInline: "xs",
@@ -2194,7 +3060,7 @@ const A = {
2194
3060
  borderColor: "border"
2195
3061
  }
2196
3062
  }
2197
- }), we = h({
3063
+ }), Ne = k({
2198
3064
  brand: {
2199
3065
  value: {
2200
3066
  fontFamily: "brand",
@@ -2371,6 +3237,15 @@ const A = {
2371
3237
  letterSpacing: "0.1px"
2372
3238
  }
2373
3239
  },
3240
+ "label/XS/medium": {
3241
+ value: {
3242
+ fontFamily: "label",
3243
+ fontSize: "xs",
3244
+ fontWeight: "500",
3245
+ lineHeight: "150%",
3246
+ letterSpacing: "0.1px"
3247
+ }
3248
+ },
2374
3249
  "paragraph/M/regular": {
2375
3250
  value: {
2376
3251
  fontFamily: "body",
@@ -2427,52 +3302,56 @@ const A = {
2427
3302
  letterSpacing: "0.14px"
2428
3303
  }
2429
3304
  }
2430
- }), Be = p({
2431
- globalCss: z,
3305
+ }), qe = E({
3306
+ globalCss: j,
2432
3307
  theme: {
2433
3308
  breakpoints: {
2434
3309
  "3xl": "2560px",
2435
3310
  "4xl": "3840px"
2436
3311
  },
2437
- textStyles: we,
2438
- layerStyles: De,
3312
+ textStyles: Ne,
3313
+ layerStyles: $e,
2439
3314
  recipes: {
2440
- button: ee,
2441
- divider: oe,
2442
- input: ie,
2443
- kbd: se,
2444
- skeleton: ge,
2445
- textarea: ve
3315
+ badge: ue,
3316
+ button: be,
3317
+ divider: ve,
3318
+ input: xe,
3319
+ kbd: _e,
3320
+ skeleton: we,
3321
+ textarea: De
2446
3322
  },
2447
3323
  tokens: {
2448
- colors: q,
2449
- fonts: G,
2450
- fontSizes: K,
2451
- fontWeights: J,
2452
- radii: Q,
2453
- spacing: N
3324
+ colors: te,
3325
+ fonts: ae,
3326
+ fontSizes: ie,
3327
+ fontWeights: ne,
3328
+ radii: de,
3329
+ spacing: se
2454
3330
  },
2455
3331
  semanticTokens: {
2456
- colors: Ae,
2457
- borders: _e
3332
+ colors: Ye,
3333
+ borders: Ve
2458
3334
  },
2459
3335
  slotRecipes: {
2460
- alert: Z,
2461
- drawer: re,
2462
- tooltip: me,
2463
- popover: ue,
2464
- menu: ne,
2465
- editable: te,
2466
- form: ae,
2467
- dialog: le,
2468
- progressCircle: ce,
2469
- tabs: be
3336
+ alert: ce,
3337
+ colorPicker: ge,
3338
+ drawer: he,
3339
+ tooltip: Re,
3340
+ popover: ke,
3341
+ menu: ye,
3342
+ numberInput: Fe,
3343
+ editable: pe,
3344
+ form: fe,
3345
+ dialog: me,
3346
+ progressCircle: Ee,
3347
+ tabs: Ae,
3348
+ timeline: ze
2470
3349
  }
2471
3350
  }
2472
- }), Le = f(fe, Be);
3351
+ }), Ze = C(Le, qe);
2473
3352
  export {
2474
- He as a,
2475
- B as c,
2476
- Le as t
3353
+ Qe as a,
3354
+ X as c,
3355
+ Ze as t
2477
3356
  };
2478
- //# sourceMappingURL=theme-25P7ij4C.js.map
3357
+ //# sourceMappingURL=theme-CJBYBJaA.js.map