@pstdio/ui 0.14.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.
- package/dist/{MermaidComponent-CatfVUxA.js → MermaidComponent-BCMQqPqu.js} +11 -11
- package/dist/{MermaidComponent-CatfVUxA.js.map → MermaidComponent-BCMQqPqu.js.map} +1 -1
- package/dist/browser-storage-BinyFNJX.js +40 -0
- package/dist/browser-storage-BinyFNJX.js.map +1 -0
- package/dist/chat-ui.js +1160 -1120
- package/dist/chat-ui.js.map +1 -1
- package/dist/checkbox-D5AzFRlb.js +70 -0
- package/dist/checkbox-D5AzFRlb.js.map +1 -0
- package/dist/components/chat-ui/components/ai-conversation.d.ts +1 -1
- package/dist/components/chat-ui/components/ai-message.d.ts +1 -1
- package/dist/components/chat-ui/components/ai-response.d.ts +0 -1
- package/dist/components/chat-ui/components/attachment-list.d.ts +1 -1
- package/dist/components/chat-ui/components/auto-scroll.d.ts +27 -0
- package/dist/components/chat-ui/components/chat-message-animation.d.ts +22 -0
- package/dist/components/chat-ui/components/timeline.d.ts +0 -2
- package/dist/components/chat-ui/performance/chat-performance-fixtures.d.ts +0 -1
- package/dist/components/chat-ui/tool-rendering/build-timeline.d.ts +2 -12
- package/dist/components/chat-ui/tool-rendering/shared.d.ts +1 -1
- package/dist/components/chat-ui/tool-rendering/types.d.ts +1 -2
- package/dist/components/command-palette/index.d.ts +4 -0
- package/dist/components/data-renderer/data-renderer-board.d.ts +1 -1
- package/dist/components/data-renderer/data-renderer-card.d.ts +1 -1
- package/dist/components/data-renderer/data-renderer-enum-helpers.d.ts +3 -3
- package/dist/components/data-renderer/data-renderer-helpers.d.ts +2 -0
- package/dist/components/data-renderer/data-renderer-list.d.ts +1 -1
- package/dist/components/data-renderer/data-renderer.d.ts +1 -1
- package/dist/components/data-renderer/index.d.ts +18 -0
- package/dist/components/data-renderer/types.d.ts +0 -6
- package/dist/components/diff-viewer/diff-card.d.ts +1 -0
- package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +0 -19
- package/dist/components/diff-viewer/diff-drawer.d.ts +1 -0
- package/dist/components/diff-viewer/diff-viewer-options-menu.d.ts +16 -0
- package/dist/components/diff-viewer/index.d.ts +2 -0
- package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +7 -3
- package/dist/components/internal/style-guide.d.ts +14 -0
- package/dist/components/internal/token-editor-controls.d.ts +8 -0
- package/dist/components/internal/token-editor-data.d.ts +40 -0
- package/dist/components/internal/token-editor-state.d.ts +22 -0
- package/dist/components/layout/index.d.ts +6 -0
- package/dist/components/list-row/list-row.types.d.ts +1 -1
- package/dist/components/notification-center/index.d.ts +2 -0
- package/dist/components/notification-center/notification-center.d.ts +2 -0
- package/dist/components/notification-center/notification-center.types.d.ts +37 -0
- package/dist/components/{bubble-button.d.ts → overlays/bubble-button.d.ts} +1 -1
- package/dist/components/overlays/index.d.ts +12 -0
- package/dist/components/overlays/search-modal-content.d.ts +20 -0
- package/dist/components/{searchable-menu.d.ts → overlays/searchable-menu.d.ts} +1 -1
- package/dist/components/param-editor/index.d.ts +23 -0
- package/dist/components/param-editor/inputs/action-input.d.ts +13 -0
- package/dist/components/param-editor/inputs/anchor-grid-input.d.ts +12 -0
- package/dist/components/param-editor/inputs/anchor-grid.d.ts +4 -0
- package/dist/components/param-editor/inputs/file-accept.d.ts +22 -0
- package/dist/components/param-editor/inputs/file-drop-input.d.ts +14 -0
- package/dist/components/param-editor/inputs/numeric-value.d.ts +6 -0
- package/dist/components/param-editor/inputs/range-input.d.ts +17 -0
- package/dist/components/param-editor/inputs/range-value.d.ts +5 -0
- package/dist/components/param-editor/inputs/resource-input-chips.d.ts +15 -0
- package/dist/components/param-editor/inputs/resource-input.d.ts +18 -0
- package/dist/components/param-editor/inputs/segmented-input.d.ts +14 -0
- package/dist/components/param-editor/inputs/slider-marks.d.ts +5 -0
- package/dist/components/param-editor/inputs/vector-input.d.ts +17 -0
- package/dist/components/param-editor/inputs/vector-value.d.ts +7 -0
- package/dist/components/param-editor/param-editor-control-item.d.ts +15 -0
- package/dist/components/param-editor/param-editor-control-list.d.ts +5 -0
- package/dist/components/param-editor/param-editor-field-label.d.ts +1 -0
- package/dist/components/param-editor/param-editor-field.d.ts +11 -0
- package/dist/components/param-editor/param-editor-inline-group.d.ts +5 -0
- package/dist/components/param-editor/param-editor-section.d.ts +16 -0
- package/dist/components/param-editor/param-editor.d.ts +2 -1
- package/dist/components/param-editor/param-editor.types.d.ts +101 -19
- package/dist/components/{breadcrumb.d.ts → primitives/breadcrumb.d.ts} +1 -1
- package/dist/components/{icon-color-picker.d.ts → primitives/icon-color-picker.d.ts} +2 -6
- package/dist/components/primitives/index.d.ts +28 -0
- package/dist/components/{number-input.d.ts → primitives/number-input.d.ts} +0 -2
- package/dist/components/{session-indicator.d.ts → primitives/session-indicator.d.ts} +2 -1
- package/dist/components/{tooltip.d.ts → primitives/tooltip.d.ts} +0 -1
- package/dist/components/rich-text/prompt-input/commands.d.ts +0 -17
- package/dist/components/rich-text/prompt-input/events.d.ts +0 -13
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +1 -2
- package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +1 -2
- package/dist/components/rich-text/prompt-input/utils.d.ts +1 -2
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +0 -1
- package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -1
- package/dist/components/sidebar/sidebar.types.d.ts +1 -1
- package/dist/components/tab-strip/tab-visibility-filter.d.ts +5 -3
- package/dist/components/tag-editor/tag-editor-row.d.ts +1 -1
- package/dist/components/tag-editor/tag-editor.types.d.ts +1 -1
- package/dist/components/terminal/bind-session.d.ts +33 -0
- package/dist/components/terminal/index.d.ts +6 -0
- package/dist/components/terminal/scripted-bridge.d.ts +35 -0
- package/dist/components/terminal/terminal-contract.d.ts +22 -0
- package/dist/components/terminal/terminal-theme.d.ts +12 -0
- package/dist/components/terminal/terminal.d.ts +45 -0
- package/dist/components/terminal/types.d.ts +35 -0
- package/dist/components/terminal/use-terminal-session.d.ts +21 -0
- package/dist/components/tree-list/tree-list-order-filter.d.ts +1 -2
- package/dist/components/tree-list/tree-list-visibility-filter.d.ts +12 -4
- package/dist/components/tree-list/tree-list.d.ts +1 -1
- package/dist/components/tree-list/tree-list.types.d.ts +7 -2
- package/dist/data-renderer.js +1669 -0
- package/dist/data-renderer.js.map +1 -0
- package/dist/diff-editor-BnfV8cYB.js +182 -0
- package/dist/diff-editor-BnfV8cYB.js.map +1 -0
- package/dist/diff.js +1313 -0
- package/dist/diff.js.map +1 -0
- package/dist/empty-state-Bo4HVrgr.js +34 -0
- package/dist/empty-state-Bo4HVrgr.js.map +1 -0
- package/dist/foundations/gallery/gallery-frame.d.ts +21 -0
- package/dist/foundations/gallery/sections/badges-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/buttons-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/composite-chat-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/composites-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/feedback-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/input-authoring-card.d.ts +1 -0
- package/dist/foundations/gallery/sections/inputs-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/layout-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/navigation-identity-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/overlays-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/panels-section.d.ts +1 -0
- package/dist/foundations/gallery/sections/param-editor-composite-card.d.ts +1 -0
- package/dist/foundations/gallery/sections/settings-composite-cards.d.ts +1 -0
- package/dist/index.d.ts +15 -84
- package/dist/index.js +3594 -7450
- package/dist/index.js.map +1 -1
- package/dist/list-row-mi3Hn-Um.js +740 -0
- package/dist/list-row-mi3Hn-Um.js.map +1 -0
- package/dist/mermaid-renderer-DZo3qj6D.js +425 -0
- package/dist/mermaid-renderer-DZo3qj6D.js.map +1 -0
- package/dist/mermaid.js +5 -0
- package/dist/mermaid.js.map +1 -0
- package/dist/radio-cLMEBBZk.js +76 -0
- package/dist/radio-cLMEBBZk.js.map +1 -0
- package/dist/resource-badge-qCWHP-wQ.js +99 -0
- package/dist/resource-badge-qCWHP-wQ.js.map +1 -0
- package/dist/{rich-message-BFtvH9H7.js → rich-message-DBf_5YlW.js} +462 -481
- package/dist/rich-message-DBf_5YlW.js.map +1 -0
- package/dist/rich-text.js +397 -390
- package/dist/rich-text.js.map +1 -1
- package/dist/scroll-area-BMbg1WcD.js +91 -0
- package/dist/scroll-area-BMbg1WcD.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/terminal.js +339 -0
- package/dist/terminal.js.map +1 -0
- package/dist/theme/global.d.ts +3 -0
- package/dist/theme/recipes/badge.d.ts +50 -0
- package/dist/theme/recipes/button.d.ts +24 -19
- package/dist/theme/recipes/color-picker.d.ts +1 -0
- package/dist/theme/recipes/dialog.d.ts +1 -1
- package/dist/theme/recipes/drawer.d.ts +1 -1
- package/dist/theme/recipes/input.d.ts +55 -0
- package/dist/theme/recipes/number-input.d.ts +98 -0
- package/dist/theme/recipes/tabs.d.ts +49 -28
- package/dist/theme/recipes/textarea.d.ts +62 -1
- package/dist/theme/recipes/timeline.d.ts +74 -0
- package/dist/theme/shadowless-default-config.d.ts +2 -0
- package/dist/theme/tokens/borders.d.ts +0 -3
- package/dist/theme/tokens/colors.d.ts +100 -70
- package/dist/{theme-C5qHTCU9.js → theme-CJBYBJaA.js} +1264 -415
- package/dist/theme-CJBYBJaA.js.map +1 -0
- package/dist/theme-preference-DOzHx64J.js +123 -0
- package/dist/theme-preference-DOzHx64J.js.map +1 -0
- package/dist/theme.js +1 -1
- package/dist/tree-list-CcuZMLS5.js +930 -0
- package/dist/tree-list-CcuZMLS5.js.map +1 -0
- package/dist/workspace-badge-Fuo-1zPj.js +314 -0
- package/dist/workspace-badge-Fuo-1zPj.js.map +1 -0
- package/package.json +23 -3
- package/dist/components/file-tree-helpers.d.ts +0 -8
- package/dist/components/open-source-notices-screen.d.ts +0 -20
- package/dist/components/param-editor/input-group.d.ts +0 -10
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/index.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.d.ts +0 -5
- package/dist/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +0 -2
- package/dist/components/rich-text/theme/report-theme.d.ts +0 -3
- package/dist/components/sidebar/sidebar-project-menu.d.ts +0 -7
- package/dist/components/style-guide-data.d.ts +0 -46
- package/dist/components/style-guide.d.ts +0 -1
- package/dist/mermaid-renderer-DYEiYmYQ.js +0 -411
- package/dist/mermaid-renderer-DYEiYmYQ.js.map +0 -1
- package/dist/radio-DJtQY9po.js +0 -286
- package/dist/radio-DJtQY9po.js.map +0 -1
- package/dist/resource-badge-D33IFv74.js +0 -188
- package/dist/resource-badge-D33IFv74.js.map +0 -1
- package/dist/rich-message-BFtvH9H7.js.map +0 -1
- package/dist/theme/tokens/shadows.d.ts +0 -64
- package/dist/theme-C5qHTCU9.js.map +0 -1
- package/dist/utils/formats.d.ts +0 -7
- /package/dist/components/{palette-filter.d.ts → command-palette/palette-filter.d.ts} +0 -0
- /package/dist/components/{palette-list.d.ts → command-palette/palette-list.d.ts} +0 -0
- /package/dist/components/{palette-shortcut.d.ts → command-palette/palette-shortcut.d.ts} +0 -0
- /package/dist/components/{palette.d.ts → command-palette/palette.d.ts} +0 -0
- /package/dist/components/{code-editor.d.ts → diff-viewer/code-editor.d.ts} +0 -0
- /package/dist/components/{column-file-browser.d.ts → file-browser/column-file-browser.d.ts} +0 -0
- /package/dist/components/{performance-panel.d.ts → internal/performance-panel.d.ts} +0 -0
- /package/dist/components/{header.d.ts → layout/header.d.ts} +0 -0
- /package/dist/components/{horizontal-menu-stack.d.ts → layout/horizontal-menu-stack.d.ts} +0 -0
- /package/dist/components/{item-section.d.ts → layout/item-section.d.ts} +0 -0
- /package/dist/components/{panel-header.constants.d.ts → layout/panel-header.constants.d.ts} +0 -0
- /package/dist/components/{resizable-split-layout.d.ts → layout/resizable-split-layout.d.ts} +0 -0
- /package/dist/components/{resizable-split-layout.handle.d.ts → layout/resizable-split-layout.handle.d.ts} +0 -0
- /package/dist/components/{attached-panel.d.ts → overlays/attached-panel.d.ts} +0 -0
- /package/dist/components/{bubble-panel.d.ts → overlays/bubble-panel.d.ts} +0 -0
- /package/dist/components/{delete-confirmation-modal.d.ts → overlays/delete-confirmation-modal.d.ts} +0 -0
- /package/dist/components/{repo-picker-dialog.d.ts → overlays/repo-picker-dialog.d.ts} +0 -0
- /package/dist/components/{resource-context-menu.d.ts → overlays/resource-context-menu.d.ts} +0 -0
- /package/dist/components/param-editor/{color-input.d.ts → inputs/color-input.d.ts} +0 -0
- /package/dist/components/param-editor/{date-input.d.ts → inputs/date-input.d.ts} +0 -0
- /package/dist/components/param-editor/{horizontal-text-input.d.ts → inputs/horizontal-text-input.d.ts} +0 -0
- /package/dist/components/param-editor/{number-input.d.ts → inputs/number-input.d.ts} +0 -0
- /package/dist/components/param-editor/{selection-input.d.ts → inputs/selection-input.d.ts} +0 -0
- /package/dist/components/param-editor/{text-input.d.ts → inputs/text-input.d.ts} +0 -0
- /package/dist/components/{alert.d.ts → primitives/alert.d.ts} +0 -0
- /package/dist/components/{checkbox.d.ts → primitives/checkbox.d.ts} +0 -0
- /package/dist/components/{content-placeholder.d.ts → primitives/content-placeholder.d.ts} +0 -0
- /package/dist/components/{empty-state.d.ts → primitives/empty-state.d.ts} +0 -0
- /package/dist/components/{error-boundary.d.ts → primitives/error-boundary.d.ts} +0 -0
- /package/dist/components/{info-card.d.ts → primitives/info-card.d.ts} +0 -0
- /package/dist/components/{integration-card.d.ts → primitives/integration-card.d.ts} +0 -0
- /package/dist/components/{radio.d.ts → primitives/radio.d.ts} +0 -0
- /package/dist/components/{resource-badge.d.ts → primitives/resource-badge.d.ts} +0 -0
- /package/dist/components/{scroll-area.d.ts → primitives/scroll-area.d.ts} +0 -0
- /package/dist/components/{simple-card.d.ts → primitives/simple-card.d.ts} +0 -0
- /package/dist/components/{slider.d.ts → primitives/slider.d.ts} +0 -0
- /package/dist/components/{switch.d.ts → primitives/switch.d.ts} +0 -0
- /package/dist/components/{toaster.d.ts → primitives/toaster.d.ts} +0 -0
- /package/dist/components/{workspace-badge.d.ts → primitives/workspace-badge.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineSlotRecipe as
|
|
2
|
-
import { alertAnatomy as
|
|
3
|
-
import { progressCircleSlotRecipe as
|
|
4
|
-
const
|
|
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,42 +33,42 @@ const S = {
|
|
|
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.
|
|
37
|
-
},
|
|
38
|
-
const
|
|
39
|
-
token:
|
|
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
40
|
...o.settings?.foreground ? {
|
|
41
|
-
foreground:
|
|
41
|
+
foreground: P(o.settings.foreground)
|
|
42
42
|
} : {},
|
|
43
43
|
...o.settings?.fontStyle ? {
|
|
44
44
|
fontStyle: o.settings.fontStyle
|
|
45
45
|
} : {}
|
|
46
46
|
})));
|
|
47
47
|
return {
|
|
48
|
-
base:
|
|
48
|
+
base: e.mode === "dark" ? "vs-dark" : "vs",
|
|
49
49
|
inherit: !0,
|
|
50
|
-
rules:
|
|
51
|
-
colors:
|
|
50
|
+
rules: r,
|
|
51
|
+
colors: e.theme.colors ?? {}
|
|
52
52
|
};
|
|
53
|
-
},
|
|
54
|
-
const
|
|
55
|
-
for (const [
|
|
56
|
-
|
|
57
|
-
for (const [
|
|
58
|
-
const
|
|
59
|
-
if (
|
|
60
|
-
for (const
|
|
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
|
+
if (g)
|
|
60
|
+
for (const m of s) r[m] = g;
|
|
61
61
|
}
|
|
62
62
|
return {
|
|
63
|
-
id:
|
|
64
|
-
mode:
|
|
65
|
-
tokens:
|
|
66
|
-
monacoTheme:
|
|
67
|
-
mode:
|
|
68
|
-
theme:
|
|
63
|
+
id: e.id,
|
|
64
|
+
mode: e.mode,
|
|
65
|
+
tokens: r,
|
|
66
|
+
monacoTheme: X({
|
|
67
|
+
mode: e.mode,
|
|
68
|
+
theme: e.theme
|
|
69
69
|
})
|
|
70
70
|
};
|
|
71
|
-
},
|
|
71
|
+
}, j = {
|
|
72
72
|
"*::selection": {
|
|
73
73
|
bg: {
|
|
74
74
|
base: "bg.accent-secondary.blue-medium",
|
|
@@ -79,7 +79,7 @@ const S = {
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
":root": {
|
|
82
|
-
"--focus-border": "
|
|
82
|
+
"--focus-border": "border.accent-light",
|
|
83
83
|
"--separator-border": "transparent !important"
|
|
84
84
|
},
|
|
85
85
|
html: {
|
|
@@ -87,6 +87,9 @@ const S = {
|
|
|
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 S = {
|
|
|
126
129
|
fontSize: "1.5rem"
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
|
-
},
|
|
132
|
+
}, U = {
|
|
130
133
|
DEFAULT: {
|
|
131
134
|
value: "#0A0D15"
|
|
132
135
|
},
|
|
@@ -175,7 +178,7 @@ const S = {
|
|
|
175
178
|
1e3: {
|
|
176
179
|
value: "#000000"
|
|
177
180
|
}
|
|
178
|
-
},
|
|
181
|
+
}, O = {
|
|
179
182
|
DEFAULT: {
|
|
180
183
|
value: "#5098FF"
|
|
181
184
|
},
|
|
@@ -209,7 +212,7 @@ const S = {
|
|
|
209
212
|
900: {
|
|
210
213
|
value: "#002862"
|
|
211
214
|
}
|
|
212
|
-
},
|
|
215
|
+
}, Y = {
|
|
213
216
|
DEFAULT: {
|
|
214
217
|
value: "#3A4BE4"
|
|
215
218
|
},
|
|
@@ -246,7 +249,7 @@ const S = {
|
|
|
246
249
|
900: {
|
|
247
250
|
value: "#0A125A"
|
|
248
251
|
}
|
|
249
|
-
},
|
|
252
|
+
}, $ = {
|
|
250
253
|
DEFAULT: {
|
|
251
254
|
value: "#E054EC"
|
|
252
255
|
},
|
|
@@ -283,7 +286,7 @@ const S = {
|
|
|
283
286
|
900: {
|
|
284
287
|
value: "#520659"
|
|
285
288
|
}
|
|
286
|
-
},
|
|
289
|
+
}, N = {
|
|
287
290
|
DEFAULT: {
|
|
288
291
|
value: "#FBD8CE"
|
|
289
292
|
},
|
|
@@ -317,7 +320,7 @@ const S = {
|
|
|
317
320
|
900: {
|
|
318
321
|
value: "#522923"
|
|
319
322
|
}
|
|
320
|
-
},
|
|
323
|
+
}, q = {
|
|
321
324
|
DEFAULT: {
|
|
322
325
|
value: "#FF3232"
|
|
323
326
|
},
|
|
@@ -351,7 +354,7 @@ const S = {
|
|
|
351
354
|
900: {
|
|
352
355
|
value: "#580707"
|
|
353
356
|
}
|
|
354
|
-
},
|
|
357
|
+
}, G = {
|
|
355
358
|
DEFAULT: {
|
|
356
359
|
value: "#F78C25"
|
|
357
360
|
},
|
|
@@ -385,7 +388,7 @@ const S = {
|
|
|
385
388
|
900: {
|
|
386
389
|
value: "#552107"
|
|
387
390
|
}
|
|
388
|
-
},
|
|
391
|
+
}, K = {
|
|
389
392
|
DEFAULT: {
|
|
390
393
|
value: "#FFD643"
|
|
391
394
|
},
|
|
@@ -425,7 +428,7 @@ const S = {
|
|
|
425
428
|
900: {
|
|
426
429
|
value: "#644E00"
|
|
427
430
|
}
|
|
428
|
-
},
|
|
431
|
+
}, J = {
|
|
429
432
|
DEFAULT: {
|
|
430
433
|
value: "#2DD665"
|
|
431
434
|
},
|
|
@@ -459,7 +462,7 @@ const S = {
|
|
|
459
462
|
900: {
|
|
460
463
|
value: "#003110"
|
|
461
464
|
}
|
|
462
|
-
},
|
|
465
|
+
}, Q = {
|
|
463
466
|
DEFAULT: {
|
|
464
467
|
value: "#3EECC4"
|
|
465
468
|
},
|
|
@@ -493,7 +496,7 @@ const S = {
|
|
|
493
496
|
900: {
|
|
494
497
|
value: "#024F3D"
|
|
495
498
|
}
|
|
496
|
-
},
|
|
499
|
+
}, Z = {
|
|
497
500
|
DEFAULT: {
|
|
498
501
|
value: "#5CDCFF"
|
|
499
502
|
},
|
|
@@ -527,7 +530,7 @@ const S = {
|
|
|
527
530
|
900: {
|
|
528
531
|
value: "#005B73"
|
|
529
532
|
}
|
|
530
|
-
},
|
|
533
|
+
}, ee = {
|
|
531
534
|
DEFAULT: {
|
|
532
535
|
value: "#8B47FF"
|
|
533
536
|
},
|
|
@@ -561,7 +564,7 @@ const S = {
|
|
|
561
564
|
900: {
|
|
562
565
|
value: "#1E0050"
|
|
563
566
|
}
|
|
564
|
-
},
|
|
567
|
+
}, oe = {
|
|
565
568
|
DEFAULT: {
|
|
566
569
|
value: "#F4F2EC"
|
|
567
570
|
},
|
|
@@ -595,7 +598,7 @@ const S = {
|
|
|
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 S = {
|
|
|
638
641
|
950: {
|
|
639
642
|
value: "#10141B"
|
|
640
643
|
}
|
|
641
|
-
},
|
|
644
|
+
}, le = {
|
|
642
645
|
100: {
|
|
643
646
|
value: "#D3ECEE"
|
|
644
647
|
},
|
|
645
648
|
200: {
|
|
646
649
|
value: "#B3DEE2"
|
|
647
650
|
}
|
|
648
|
-
},
|
|
649
|
-
sand:
|
|
650
|
-
blacks:
|
|
651
|
-
blue:
|
|
652
|
-
sapphire:
|
|
653
|
-
pink:
|
|
654
|
-
peach:
|
|
655
|
-
red:
|
|
656
|
-
orange:
|
|
657
|
-
yellow:
|
|
658
|
-
green:
|
|
659
|
-
teal:
|
|
660
|
-
cyan:
|
|
661
|
-
purple:
|
|
662
|
-
neutral:
|
|
663
|
-
mint:
|
|
664
|
-
},
|
|
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 S = {
|
|
|
677
680
|
body: {
|
|
678
681
|
value: "Inter, sans-serif"
|
|
679
682
|
}
|
|
680
|
-
},
|
|
683
|
+
}, ie = {
|
|
681
684
|
xs: {
|
|
682
685
|
value: "0.625rem"
|
|
683
686
|
},
|
|
@@ -742,7 +745,7 @@ const S = {
|
|
|
742
745
|
value: "1.25rem"
|
|
743
746
|
}
|
|
744
747
|
// 20px
|
|
745
|
-
},
|
|
748
|
+
}, ne = {
|
|
746
749
|
regular: {
|
|
747
750
|
value: 400
|
|
748
751
|
},
|
|
@@ -755,7 +758,7 @@ const S = {
|
|
|
755
758
|
bold: {
|
|
756
759
|
value: 700
|
|
757
760
|
}
|
|
758
|
-
},
|
|
761
|
+
}, l = {
|
|
759
762
|
// 0px
|
|
760
763
|
25: "0.125rem",
|
|
761
764
|
// 2px
|
|
@@ -782,88 +785,219 @@ const S = {
|
|
|
782
785
|
900: "4.5rem",
|
|
783
786
|
// 96px
|
|
784
787
|
1600: "8rem"
|
|
785
|
-
},
|
|
788
|
+
}, se = {
|
|
786
789
|
none: {
|
|
787
790
|
value: "0"
|
|
788
791
|
},
|
|
789
792
|
"2xs": {
|
|
790
|
-
value:
|
|
793
|
+
value: l[50]
|
|
791
794
|
},
|
|
792
795
|
xs: {
|
|
793
|
-
value:
|
|
796
|
+
value: l[100]
|
|
794
797
|
},
|
|
795
798
|
sm: {
|
|
796
|
-
value:
|
|
799
|
+
value: l[150]
|
|
797
800
|
},
|
|
798
801
|
md: {
|
|
799
|
-
value:
|
|
802
|
+
value: l[200]
|
|
800
803
|
},
|
|
801
804
|
lg: {
|
|
802
|
-
value:
|
|
805
|
+
value: l[300]
|
|
803
806
|
},
|
|
804
807
|
xl: {
|
|
805
|
-
value:
|
|
808
|
+
value: l[400]
|
|
806
809
|
},
|
|
807
810
|
"2xl": {
|
|
808
|
-
value:
|
|
811
|
+
value: l[500]
|
|
809
812
|
},
|
|
810
813
|
"3xl": {
|
|
811
|
-
value:
|
|
814
|
+
value: l[600]
|
|
812
815
|
},
|
|
813
816
|
"3.5xl": {
|
|
814
|
-
value:
|
|
817
|
+
value: l[700]
|
|
815
818
|
},
|
|
816
819
|
"4xl": {
|
|
817
|
-
value:
|
|
820
|
+
value: l[800]
|
|
818
821
|
},
|
|
819
822
|
"4.5xl": {
|
|
820
|
-
value:
|
|
823
|
+
value: l[900]
|
|
821
824
|
},
|
|
822
825
|
"5xl": {
|
|
823
|
-
value:
|
|
826
|
+
value: l[1600]
|
|
824
827
|
}
|
|
825
|
-
},
|
|
828
|
+
}, de = {
|
|
826
829
|
none: {
|
|
827
830
|
value: "0"
|
|
828
831
|
},
|
|
829
832
|
"2xs": {
|
|
830
|
-
value:
|
|
833
|
+
value: l[25]
|
|
831
834
|
},
|
|
832
835
|
xs: {
|
|
833
|
-
value:
|
|
836
|
+
value: l[50]
|
|
834
837
|
},
|
|
835
838
|
sm: {
|
|
836
|
-
value:
|
|
839
|
+
value: l[100]
|
|
837
840
|
},
|
|
838
841
|
md: {
|
|
839
|
-
value:
|
|
842
|
+
value: l[150]
|
|
840
843
|
},
|
|
841
844
|
lg: {
|
|
842
|
-
value:
|
|
845
|
+
value: l[200]
|
|
843
846
|
},
|
|
844
847
|
xl: {
|
|
845
|
-
value:
|
|
848
|
+
value: l[400]
|
|
846
849
|
},
|
|
847
850
|
full: {
|
|
848
851
|
value: "100%"
|
|
849
852
|
}
|
|
850
|
-
},
|
|
851
|
-
slots:
|
|
853
|
+
}, ce = i({
|
|
854
|
+
slots: w.keys(),
|
|
852
855
|
base: {
|
|
853
856
|
root: {
|
|
854
|
-
|
|
855
|
-
|
|
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
|
-
}),
|
|
992
|
+
}), be = c({
|
|
859
993
|
base: {
|
|
860
|
-
borderRadius: "
|
|
994
|
+
borderRadius: "xs",
|
|
861
995
|
transition: "all 0.1s ease-in-out",
|
|
862
996
|
fontFamily: "label",
|
|
863
997
|
fontWeight: "500",
|
|
864
998
|
color: "fg",
|
|
865
999
|
bg: "bg",
|
|
866
|
-
borderColor: "border
|
|
1000
|
+
borderColor: "border",
|
|
867
1001
|
_disabled: {
|
|
868
1002
|
opacity: 1,
|
|
869
1003
|
color: "fg.subtle",
|
|
@@ -886,7 +1020,6 @@ const S = {
|
|
|
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 S = {
|
|
|
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 S = {
|
|
|
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 S = {
|
|
|
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 S = {
|
|
|
939
1069
|
bg: "bg.button.primary.pressed"
|
|
940
1070
|
}
|
|
941
1071
|
},
|
|
942
|
-
|
|
943
|
-
color: "
|
|
944
|
-
bg: "
|
|
945
|
-
border: "
|
|
1072
|
+
destructive: {
|
|
1073
|
+
color: "blacks.50",
|
|
1074
|
+
bg: "red.500",
|
|
1075
|
+
border: "none",
|
|
946
1076
|
_hover: {
|
|
947
|
-
bg: "
|
|
1077
|
+
bg: "red.600"
|
|
948
1078
|
},
|
|
949
1079
|
_active: {
|
|
950
|
-
bg: "
|
|
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
|
|
1086
|
+
border: "border",
|
|
962
1087
|
_hover: {
|
|
963
1088
|
bg: "bg.hover"
|
|
964
1089
|
},
|
|
@@ -971,7 +1096,7 @@ const S = {
|
|
|
971
1096
|
_disabled: {
|
|
972
1097
|
opacity: 1,
|
|
973
1098
|
color: "fg.subtle",
|
|
974
|
-
borderColor: "border
|
|
1099
|
+
borderColor: "border"
|
|
975
1100
|
}
|
|
976
1101
|
},
|
|
977
1102
|
ghost: {
|
|
@@ -996,8 +1121,8 @@ const S = {
|
|
|
996
1121
|
},
|
|
997
1122
|
subtle: {
|
|
998
1123
|
color: "fg",
|
|
999
|
-
bg: "bg.
|
|
1000
|
-
border: "
|
|
1124
|
+
bg: "bg.muted",
|
|
1125
|
+
border: "1px solid {border}",
|
|
1001
1126
|
_hover: {
|
|
1002
1127
|
bg: "bg.hover"
|
|
1003
1128
|
},
|
|
@@ -1011,6 +1136,7 @@ const S = {
|
|
|
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 S = {
|
|
|
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"
|
|
@@ -1046,22 +1185,120 @@ const S = {
|
|
|
1046
1185
|
}
|
|
1047
1186
|
},
|
|
1048
1187
|
defaultVariants: {
|
|
1049
|
-
size: "
|
|
1188
|
+
size: "sm",
|
|
1050
1189
|
variant: "outline"
|
|
1051
1190
|
}
|
|
1052
|
-
}),
|
|
1053
|
-
slots:
|
|
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
|
-
bg: "bg"
|
|
1289
|
+
bg: "bg",
|
|
1290
|
+
borderRadius: "xs",
|
|
1291
|
+
borderWidth: "1px",
|
|
1292
|
+
borderColor: "border.subtle",
|
|
1293
|
+
overflow: "hidden"
|
|
1057
1294
|
}
|
|
1058
1295
|
}
|
|
1059
|
-
}),
|
|
1296
|
+
}), ve = c({
|
|
1060
1297
|
base: {
|
|
1061
|
-
borderColor: "border"
|
|
1298
|
+
borderColor: "border.subtle"
|
|
1062
1299
|
}
|
|
1063
|
-
}),
|
|
1064
|
-
slots:
|
|
1300
|
+
}), he = i({
|
|
1301
|
+
slots: z.keys(),
|
|
1065
1302
|
base: {
|
|
1066
1303
|
header: {
|
|
1067
1304
|
fontWeight: "medium",
|
|
@@ -1072,7 +1309,7 @@ const S = {
|
|
|
1072
1309
|
bg: "bg"
|
|
1073
1310
|
}
|
|
1074
1311
|
}
|
|
1075
|
-
}),
|
|
1312
|
+
}), pe = i({
|
|
1076
1313
|
slots: ["preview", "input", "textarea"],
|
|
1077
1314
|
base: {
|
|
1078
1315
|
preview: {
|
|
@@ -1098,7 +1335,9 @@ const S = {
|
|
|
1098
1335
|
bg: "bg",
|
|
1099
1336
|
width: "auto",
|
|
1100
1337
|
_focusVisible: {
|
|
1101
|
-
|
|
1338
|
+
outline: "2px solid",
|
|
1339
|
+
outlineColor: "border",
|
|
1340
|
+
outlineOffset: "2px"
|
|
1102
1341
|
},
|
|
1103
1342
|
_placeholder: {
|
|
1104
1343
|
color: "fg.muted"
|
|
@@ -1114,7 +1353,9 @@ const S = {
|
|
|
1114
1353
|
bg: "bg.muted",
|
|
1115
1354
|
width: "auto",
|
|
1116
1355
|
_focusVisible: {
|
|
1117
|
-
|
|
1356
|
+
outline: "2px solid",
|
|
1357
|
+
outlineColor: "border",
|
|
1358
|
+
outlineOffset: "2px"
|
|
1118
1359
|
},
|
|
1119
1360
|
_placeholder: {
|
|
1120
1361
|
color: "fg.muted"
|
|
@@ -1167,46 +1408,119 @@ const S = {
|
|
|
1167
1408
|
}
|
|
1168
1409
|
}
|
|
1169
1410
|
}
|
|
1170
|
-
}),
|
|
1171
|
-
slots:
|
|
1411
|
+
}), fe = i({
|
|
1412
|
+
slots: R.keys(),
|
|
1172
1413
|
base: {
|
|
1173
1414
|
legend: {
|
|
1174
1415
|
mb: "2xs"
|
|
1175
1416
|
}
|
|
1176
1417
|
}
|
|
1177
|
-
}),
|
|
1418
|
+
}), t = "border.accent-light", xe = c({
|
|
1178
1419
|
base: {
|
|
1179
1420
|
px: "sm",
|
|
1180
|
-
borderRadius: "
|
|
1421
|
+
borderRadius: "xs",
|
|
1181
1422
|
transition: "border-color 0.2s ease-in-out",
|
|
1182
1423
|
bg: "bg",
|
|
1183
1424
|
color: "fg",
|
|
1184
|
-
|
|
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",
|
|
1185
1431
|
_hover: {
|
|
1186
|
-
borderColor:
|
|
1432
|
+
borderColor: t
|
|
1187
1433
|
},
|
|
1188
1434
|
_active: {
|
|
1189
|
-
borderColor:
|
|
1435
|
+
borderColor: t
|
|
1190
1436
|
},
|
|
1191
1437
|
_focus: {
|
|
1192
|
-
borderColor:
|
|
1438
|
+
borderColor: t,
|
|
1439
|
+
outline: "none",
|
|
1440
|
+
boxShadow: "none"
|
|
1193
1441
|
},
|
|
1194
1442
|
_focusVisible: {
|
|
1195
|
-
borderColor:
|
|
1196
|
-
outline: "none"
|
|
1443
|
+
borderColor: t,
|
|
1444
|
+
outline: "none",
|
|
1445
|
+
boxShadow: "none"
|
|
1197
1446
|
},
|
|
1198
1447
|
_placeholder: {
|
|
1199
1448
|
color: "fg.subtle"
|
|
1449
|
+
},
|
|
1450
|
+
"&:is(:hover, [data-hover])": {
|
|
1451
|
+
borderColor: t
|
|
1452
|
+
},
|
|
1453
|
+
"&:is(:active, [data-active])": {
|
|
1454
|
+
borderColor: t
|
|
1200
1455
|
}
|
|
1201
1456
|
},
|
|
1202
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
|
+
},
|
|
1203
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
|
+
},
|
|
1204
1502
|
sm: {
|
|
1205
|
-
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"
|
|
1206
1516
|
}
|
|
1207
1517
|
}
|
|
1518
|
+
},
|
|
1519
|
+
defaultVariants: {
|
|
1520
|
+
size: "sm",
|
|
1521
|
+
variant: "outline"
|
|
1208
1522
|
}
|
|
1209
|
-
}),
|
|
1523
|
+
}), _e = c({
|
|
1210
1524
|
base: {
|
|
1211
1525
|
display: "inline-flex",
|
|
1212
1526
|
alignItems: "center",
|
|
@@ -1269,8 +1583,8 @@ const S = {
|
|
|
1269
1583
|
size: "md",
|
|
1270
1584
|
variant: "raised"
|
|
1271
1585
|
}
|
|
1272
|
-
}),
|
|
1273
|
-
slots:
|
|
1586
|
+
}), ye = i({
|
|
1587
|
+
slots: W.keys(),
|
|
1274
1588
|
base: {
|
|
1275
1589
|
itemGroupLabel: {
|
|
1276
1590
|
ml: "{2xs}",
|
|
@@ -1279,12 +1593,25 @@ const S = {
|
|
|
1279
1593
|
color: "fg.muted"
|
|
1280
1594
|
},
|
|
1281
1595
|
item: {
|
|
1282
|
-
|
|
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",
|
|
1283
1609
|
color: "fg.menu-item.default",
|
|
1284
|
-
textStyle: "label/
|
|
1610
|
+
textStyle: "label/S/regular",
|
|
1285
1611
|
cursor: "pointer",
|
|
1286
|
-
|
|
1287
|
-
|
|
1612
|
+
overflow: "hidden",
|
|
1613
|
+
textAlign: "left",
|
|
1614
|
+
textDecoration: "none",
|
|
1288
1615
|
_hover: {
|
|
1289
1616
|
bg: "bg.menu-item.hover"
|
|
1290
1617
|
},
|
|
@@ -1294,211 +1621,770 @@ const S = {
|
|
|
1294
1621
|
_focusVisible: {
|
|
1295
1622
|
bg: "bg.menu-item.focus"
|
|
1296
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
|
+
},
|
|
1297
1636
|
_disabled: {
|
|
1298
|
-
cursor: "not-allowed"
|
|
1637
|
+
cursor: "not-allowed",
|
|
1638
|
+
color: "fg.muted"
|
|
1299
1639
|
}
|
|
1300
1640
|
},
|
|
1641
|
+
itemIndicator: {
|
|
1642
|
+
color: "fg"
|
|
1643
|
+
},
|
|
1301
1644
|
separator: {
|
|
1302
|
-
my: "
|
|
1303
|
-
borderColor: "border.
|
|
1645
|
+
my: "0",
|
|
1646
|
+
borderColor: "border.subtle"
|
|
1304
1647
|
},
|
|
1305
1648
|
content: {
|
|
1306
1649
|
display: "flex",
|
|
1307
1650
|
flexDirection: "column",
|
|
1308
1651
|
gap: "0",
|
|
1309
|
-
borderRadius: "
|
|
1652
|
+
borderRadius: "xs",
|
|
1310
1653
|
p: "0",
|
|
1311
1654
|
px: "0",
|
|
1312
1655
|
py: "0",
|
|
1313
1656
|
bg: "bg",
|
|
1314
1657
|
borderWidth: "1px",
|
|
1315
1658
|
borderStyle: "solid",
|
|
1316
|
-
borderColor: "border.
|
|
1317
|
-
boxShadow: "low",
|
|
1659
|
+
borderColor: "border.subtle",
|
|
1318
1660
|
zIndex: "dropdown",
|
|
1319
1661
|
textStyle: "label/M/regular"
|
|
1320
1662
|
}
|
|
1321
1663
|
}
|
|
1322
|
-
}),
|
|
1323
|
-
slots:
|
|
1664
|
+
}), Se = "var(--chakra-colors-border)", v = "var(--chakra-colors-border-accent-light)", Fe = i({
|
|
1665
|
+
slots: B.keys(),
|
|
1324
1666
|
base: {
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
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
|
|
1328
1681
|
}
|
|
1329
1682
|
},
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
},
|
|
1334
|
-
arrow: {
|
|
1335
|
-
bg: "background-primary !important",
|
|
1336
|
-
borderColor: "button-secondary-stroke"
|
|
1337
|
-
},
|
|
1338
|
-
content: {
|
|
1339
|
-
gap: "8px",
|
|
1340
|
-
py: "xs",
|
|
1683
|
+
input: {
|
|
1684
|
+
px: "sm",
|
|
1685
|
+
pe: "calc(var(--stepper-width) + 0.5rem)",
|
|
1341
1686
|
borderRadius: "xs",
|
|
1687
|
+
transition: "border-color 0.2s ease-in-out",
|
|
1342
1688
|
bg: "bg",
|
|
1689
|
+
color: "fg",
|
|
1343
1690
|
borderWidth: "1px",
|
|
1344
1691
|
borderStyle: "solid",
|
|
1345
|
-
borderColor: "border
|
|
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
|
+
},
|
|
1346
1703
|
_focus: {
|
|
1347
|
-
|
|
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)"
|
|
1348
1724
|
}
|
|
1349
1725
|
},
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
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
|
+
}
|
|
1354
1745
|
},
|
|
1355
|
-
|
|
1356
|
-
|
|
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
|
+
}
|
|
1357
1759
|
},
|
|
1358
|
-
|
|
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
|
+
}
|
|
1359
1774
|
},
|
|
1360
1775
|
variants: {
|
|
1361
1776
|
variant: {
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
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
|
+
}
|
|
1365
1812
|
}
|
|
1366
1813
|
}
|
|
1367
1814
|
},
|
|
1368
1815
|
size: {
|
|
1369
|
-
"2xl": {
|
|
1370
|
-
content: {
|
|
1371
|
-
width: "2xl"
|
|
1372
|
-
}
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
}), se = u.variants?.size ?? {}, ue = {
|
|
1377
|
-
...u,
|
|
1378
|
-
variants: {
|
|
1379
|
-
...u.variants,
|
|
1380
|
-
size: {
|
|
1381
|
-
...se,
|
|
1382
1816
|
"2xs": {
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1817
|
+
input: {
|
|
1818
|
+
h: "1.5rem",
|
|
1819
|
+
px: "2xs",
|
|
1820
|
+
textStyle: "label/XS"
|
|
1386
1821
|
},
|
|
1387
|
-
|
|
1388
|
-
|
|
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"
|
|
1389
1869
|
}
|
|
1390
1870
|
}
|
|
1391
1871
|
}
|
|
1872
|
+
},
|
|
1873
|
+
defaultVariants: {
|
|
1874
|
+
size: "sm",
|
|
1875
|
+
variant: "outline"
|
|
1392
1876
|
}
|
|
1393
|
-
},
|
|
1877
|
+
}), ke = i({
|
|
1878
|
+
slots: H.keys(),
|
|
1879
|
+
base: {
|
|
1880
|
+
positioner: {
|
|
1881
|
+
_focus: {
|
|
1882
|
+
outline: "none"
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
closeTrigger: {
|
|
1886
|
+
textStyle: "label/M/medium",
|
|
1887
|
+
color: "fg"
|
|
1888
|
+
},
|
|
1889
|
+
arrow: {
|
|
1890
|
+
bg: "background-primary !important",
|
|
1891
|
+
borderColor: "button-secondary-stroke"
|
|
1892
|
+
},
|
|
1893
|
+
content: {
|
|
1894
|
+
gap: "8px",
|
|
1895
|
+
py: "xs",
|
|
1896
|
+
borderRadius: "xs",
|
|
1897
|
+
bg: "bg",
|
|
1898
|
+
borderWidth: "1px",
|
|
1899
|
+
borderStyle: "solid",
|
|
1900
|
+
borderColor: "border.subtle",
|
|
1901
|
+
_focus: {
|
|
1902
|
+
outline: "none"
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
title: {
|
|
1906
|
+
borderBottom: "none",
|
|
1907
|
+
textStyle: "label/M/medium",
|
|
1908
|
+
bg: "bg"
|
|
1909
|
+
},
|
|
1910
|
+
body: {
|
|
1911
|
+
textStyle: "primary"
|
|
1912
|
+
},
|
|
1913
|
+
footer: {}
|
|
1914
|
+
},
|
|
1915
|
+
variants: {
|
|
1916
|
+
variant: {
|
|
1917
|
+
responsive: {
|
|
1918
|
+
content: {
|
|
1919
|
+
width: "unset"
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
size: {
|
|
1924
|
+
"2xl": {
|
|
1925
|
+
content: {
|
|
1926
|
+
width: "2xl"
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
}), Ce = h.variants?.size ?? {}, Ee = {
|
|
1932
|
+
...h,
|
|
1933
|
+
variants: {
|
|
1934
|
+
...h.variants,
|
|
1935
|
+
size: {
|
|
1936
|
+
...Ce,
|
|
1937
|
+
"2xs": {
|
|
1938
|
+
circle: {
|
|
1939
|
+
"--size": "14px",
|
|
1940
|
+
"--thickness": "2px"
|
|
1941
|
+
},
|
|
1942
|
+
valueText: {
|
|
1943
|
+
textStyle: "2xs"
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
}, we = c({
|
|
1394
1949
|
base: {
|
|
1395
1950
|
"--start-color": "fg",
|
|
1396
1951
|
"--end-color": "fg.muted"
|
|
1397
1952
|
}
|
|
1398
|
-
}),
|
|
1399
|
-
slots:
|
|
1953
|
+
}), Ae = i({
|
|
1954
|
+
slots: T.keys(),
|
|
1400
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
|
+
},
|
|
1401
1970
|
trigger: {
|
|
1402
|
-
|
|
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
|
+
}
|
|
1403
1999
|
}
|
|
1404
2000
|
},
|
|
1405
2001
|
variants: {
|
|
1406
|
-
|
|
1407
|
-
|
|
2002
|
+
size: {
|
|
2003
|
+
xs: {
|
|
1408
2004
|
trigger: {
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
bg: "bg.muted",
|
|
1417
|
-
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"
|
|
1418
2012
|
}
|
|
1419
2013
|
}
|
|
1420
2014
|
},
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
_before: {
|
|
1431
|
-
borderBottomWidth: "0"
|
|
1432
|
-
}
|
|
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"
|
|
1433
2024
|
}
|
|
1434
|
-
}
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
md: {
|
|
1435
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: {
|
|
2042
|
+
trigger: {
|
|
2043
|
+
borderRadius: "var(--tabs-trigger-radius)",
|
|
1436
2044
|
color: "fg.muted",
|
|
1437
2045
|
bg: "transparent",
|
|
1438
|
-
borderWidth: "1px",
|
|
1439
|
-
borderColor: "transparent",
|
|
1440
2046
|
_selected: {
|
|
1441
2047
|
color: "fg",
|
|
1442
|
-
|
|
1443
|
-
|
|
2048
|
+
bg: "bg.muted",
|
|
2049
|
+
borderColor: "border.subtle"
|
|
1444
2050
|
},
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
2051
|
+
_hover: {
|
|
2052
|
+
bg: "bg.hover",
|
|
2053
|
+
borderColor: "border.subtle",
|
|
2054
|
+
color: "fg"
|
|
2055
|
+
},
|
|
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"
|
|
1452
2064
|
}
|
|
1453
2065
|
}
|
|
1454
2066
|
}
|
|
1455
2067
|
}
|
|
1456
2068
|
}
|
|
2069
|
+
},
|
|
2070
|
+
defaultVariants: {
|
|
2071
|
+
size: "xs",
|
|
2072
|
+
variant: "subtle"
|
|
1457
2073
|
}
|
|
1458
|
-
}),
|
|
2074
|
+
}), a = "border.accent-light", De = c({
|
|
1459
2075
|
base: {
|
|
1460
2076
|
paddingX: "sm",
|
|
1461
2077
|
paddingY: "xs",
|
|
1462
2078
|
opacity: "1",
|
|
1463
2079
|
outline: "none",
|
|
2080
|
+
boxShadow: "none",
|
|
1464
2081
|
color: "fg",
|
|
1465
2082
|
border: "1px solid",
|
|
2083
|
+
borderRadius: "xs",
|
|
1466
2084
|
transition: "border-color 0.2s ease-in-out",
|
|
1467
|
-
borderColor: "border
|
|
2085
|
+
borderColor: "border",
|
|
2086
|
+
"--focus-color": "var(--chakra-colors-border-accent-light)",
|
|
2087
|
+
"--focus-ring-style": "none",
|
|
1468
2088
|
_hover: {
|
|
1469
|
-
borderColor:
|
|
2089
|
+
borderColor: a
|
|
1470
2090
|
},
|
|
1471
2091
|
_active: {
|
|
1472
|
-
borderColor:
|
|
2092
|
+
borderColor: a
|
|
1473
2093
|
},
|
|
1474
2094
|
_focus: {
|
|
1475
|
-
borderColor:
|
|
2095
|
+
borderColor: a,
|
|
2096
|
+
outline: "none",
|
|
2097
|
+
boxShadow: "none"
|
|
1476
2098
|
},
|
|
1477
2099
|
_focusVisible: {
|
|
1478
|
-
borderColor:
|
|
2100
|
+
borderColor: a,
|
|
2101
|
+
outline: "none",
|
|
2102
|
+
boxShadow: "none"
|
|
1479
2103
|
},
|
|
1480
2104
|
_placeholder: {
|
|
1481
2105
|
color: "fg.subtle"
|
|
2106
|
+
},
|
|
2107
|
+
"&:is(:hover, [data-hover])": {
|
|
2108
|
+
borderColor: a
|
|
2109
|
+
},
|
|
2110
|
+
"&:is(:active, [data-active])": {
|
|
2111
|
+
borderColor: a
|
|
1482
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
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
},
|
|
2176
|
+
defaultVariants: {
|
|
2177
|
+
size: "sm",
|
|
2178
|
+
variant: "outline"
|
|
1483
2179
|
}
|
|
1484
|
-
}),
|
|
1485
|
-
slots:
|
|
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(),
|
|
1486
2329
|
base: {
|
|
1487
2330
|
content: {
|
|
1488
2331
|
bg: "bg.inverted",
|
|
2332
|
+
borderRadius: "xs",
|
|
1489
2333
|
color: "fg.inverted"
|
|
1490
|
-
},
|
|
1491
|
-
arrow: {
|
|
1492
|
-
bg: "bg.inverted"
|
|
1493
2334
|
}
|
|
1494
2335
|
}
|
|
1495
|
-
}),
|
|
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));
|
|
2339
|
+
if (r.length !== 0)
|
|
2340
|
+
return r.join(", ");
|
|
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) => {
|
|
2346
|
+
const {
|
|
2347
|
+
shadows: r,
|
|
2348
|
+
...o
|
|
2349
|
+
} = e ?? {};
|
|
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,
|
|
2375
|
+
theme: {
|
|
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)
|
|
2383
|
+
}
|
|
2384
|
+
}, Ve = {
|
|
1496
2385
|
DEFAULT: {
|
|
1497
2386
|
value: "1px solid {colors.border}"
|
|
1498
2387
|
},
|
|
1499
|
-
muted: {
|
|
1500
|
-
value: "1px solid {colors.border.muted}"
|
|
1501
|
-
},
|
|
1502
2388
|
subtle: {
|
|
1503
2389
|
value: "1px solid {colors.border.subtle}"
|
|
1504
2390
|
},
|
|
@@ -1511,7 +2397,7 @@ const S = {
|
|
|
1511
2397
|
"accent-light": {
|
|
1512
2398
|
value: "1px solid {colors.border.accent-light}"
|
|
1513
2399
|
}
|
|
1514
|
-
},
|
|
2400
|
+
}, Ie = {
|
|
1515
2401
|
DEFAULT: {
|
|
1516
2402
|
value: {
|
|
1517
2403
|
_light: "{colors.blacks.800}",
|
|
@@ -1536,15 +2422,27 @@ const S = {
|
|
|
1536
2422
|
_dark: "{colors.blacks.800}"
|
|
1537
2423
|
}
|
|
1538
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
|
+
},
|
|
1539
2437
|
success: {
|
|
1540
2438
|
value: {
|
|
1541
|
-
_light: "{colors.green.
|
|
2439
|
+
_light: "{colors.green.700}",
|
|
1542
2440
|
_dark: "{colors.green.400}"
|
|
1543
2441
|
}
|
|
1544
2442
|
},
|
|
1545
2443
|
error: {
|
|
1546
2444
|
value: {
|
|
1547
|
-
_light: "{colors.red.
|
|
2445
|
+
_light: "{colors.red.700}",
|
|
1548
2446
|
_dark: "{colors.red.400}"
|
|
1549
2447
|
}
|
|
1550
2448
|
},
|
|
@@ -1595,35 +2493,47 @@ const S = {
|
|
|
1595
2493
|
value: "{colors.fg.muted}"
|
|
1596
2494
|
}
|
|
1597
2495
|
}
|
|
1598
|
-
},
|
|
2496
|
+
}, Me = {
|
|
1599
2497
|
DEFAULT: {
|
|
1600
2498
|
value: {
|
|
1601
2499
|
_light: "{colors.blacks.50}",
|
|
1602
|
-
_dark: "
|
|
2500
|
+
_dark: "#07090E"
|
|
1603
2501
|
}
|
|
1604
2502
|
},
|
|
1605
2503
|
muted: {
|
|
1606
2504
|
value: {
|
|
1607
|
-
_light: "
|
|
1608
|
-
_dark: "
|
|
2505
|
+
_light: "#F0F5F1",
|
|
2506
|
+
_dark: "#0D1017"
|
|
1609
2507
|
}
|
|
1610
2508
|
},
|
|
1611
2509
|
subtle: {
|
|
1612
2510
|
value: {
|
|
1613
|
-
_light: "
|
|
1614
|
-
_dark: "
|
|
2511
|
+
_light: "#F9FBFA",
|
|
2512
|
+
_dark: "#0A0C12"
|
|
1615
2513
|
}
|
|
1616
2514
|
},
|
|
1617
2515
|
hover: {
|
|
1618
2516
|
value: {
|
|
1619
|
-
_light: "
|
|
1620
|
-
_dark: "
|
|
2517
|
+
_light: "#EDF2EE",
|
|
2518
|
+
_dark: "#141821"
|
|
1621
2519
|
}
|
|
1622
2520
|
},
|
|
1623
2521
|
active: {
|
|
1624
2522
|
value: {
|
|
1625
|
-
_light: "
|
|
1626
|
-
_dark: "
|
|
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}"
|
|
1627
2537
|
}
|
|
1628
2538
|
},
|
|
1629
2539
|
success: {
|
|
@@ -1641,13 +2551,13 @@ const S = {
|
|
|
1641
2551
|
code: {
|
|
1642
2552
|
value: {
|
|
1643
2553
|
_light: "{colors.blacks.50}",
|
|
1644
|
-
_dark: "
|
|
2554
|
+
_dark: "#0D1017"
|
|
1645
2555
|
}
|
|
1646
2556
|
},
|
|
1647
2557
|
emphasized: {
|
|
1648
2558
|
value: {
|
|
1649
2559
|
_light: "{colors.bg.active}",
|
|
1650
|
-
_dark: "
|
|
2560
|
+
_dark: "#1D242E"
|
|
1651
2561
|
}
|
|
1652
2562
|
},
|
|
1653
2563
|
inverted: {
|
|
@@ -1704,22 +2614,13 @@ const S = {
|
|
|
1704
2614
|
value: "{colors.bg}"
|
|
1705
2615
|
},
|
|
1706
2616
|
hover: {
|
|
1707
|
-
value: {
|
|
1708
|
-
_light: "{colors.bg.hover}",
|
|
1709
|
-
_dark: "{colors.neutral.700}"
|
|
1710
|
-
}
|
|
2617
|
+
value: "{colors.bg.hover}"
|
|
1711
2618
|
},
|
|
1712
2619
|
focus: {
|
|
1713
|
-
value: {
|
|
1714
|
-
_light: "{colors.bg.hover}",
|
|
1715
|
-
_dark: "{colors.neutral.700}"
|
|
1716
|
-
}
|
|
2620
|
+
value: "{colors.bg.hover}"
|
|
1717
2621
|
},
|
|
1718
2622
|
selected: {
|
|
1719
|
-
value: {
|
|
1720
|
-
_light: "{colors.bg.muted}",
|
|
1721
|
-
_dark: "{colors.bg.muted}"
|
|
1722
|
-
}
|
|
2623
|
+
value: "{colors.bg.active}"
|
|
1723
2624
|
}
|
|
1724
2625
|
},
|
|
1725
2626
|
display: {
|
|
@@ -1847,24 +2748,6 @@ const S = {
|
|
|
1847
2748
|
_dark: "{colors.sapphire.50}"
|
|
1848
2749
|
}
|
|
1849
2750
|
},
|
|
1850
|
-
"yellow-light": {
|
|
1851
|
-
value: {
|
|
1852
|
-
_light: "{colors.yellow.75}",
|
|
1853
|
-
_dark: "{colors.yellow.75}"
|
|
1854
|
-
}
|
|
1855
|
-
},
|
|
1856
|
-
"yellow-medium": {
|
|
1857
|
-
value: {
|
|
1858
|
-
_light: "{colors.yellow.100}",
|
|
1859
|
-
_dark: "{colors.yellow.100}"
|
|
1860
|
-
}
|
|
1861
|
-
},
|
|
1862
|
-
"yellow-dark": {
|
|
1863
|
-
value: {
|
|
1864
|
-
_light: "{colors.yellow.150}",
|
|
1865
|
-
_dark: "{colors.yellow.150}"
|
|
1866
|
-
}
|
|
1867
|
-
},
|
|
1868
2751
|
"sand-light": {
|
|
1869
2752
|
value: {
|
|
1870
2753
|
_light: "{colors.sand.100}",
|
|
@@ -1872,23 +2755,17 @@ const S = {
|
|
|
1872
2755
|
}
|
|
1873
2756
|
}
|
|
1874
2757
|
}
|
|
1875
|
-
},
|
|
2758
|
+
}, Pe = {
|
|
1876
2759
|
DEFAULT: {
|
|
1877
2760
|
value: {
|
|
1878
|
-
_light: "
|
|
1879
|
-
_dark: "
|
|
1880
|
-
}
|
|
1881
|
-
},
|
|
1882
|
-
muted: {
|
|
1883
|
-
value: {
|
|
1884
|
-
_light: "{colors.neutral.300}",
|
|
1885
|
-
_dark: "{colors.neutral.750}"
|
|
2761
|
+
_light: "#EAF0EB",
|
|
2762
|
+
_dark: "#2C313D"
|
|
1886
2763
|
}
|
|
1887
2764
|
},
|
|
1888
2765
|
subtle: {
|
|
1889
2766
|
value: {
|
|
1890
|
-
_light: "
|
|
1891
|
-
_dark: "
|
|
2767
|
+
_light: "#EDF2EE",
|
|
2768
|
+
_dark: "#13161F"
|
|
1892
2769
|
}
|
|
1893
2770
|
},
|
|
1894
2771
|
inverted: {
|
|
@@ -1909,19 +2786,43 @@ const S = {
|
|
|
1909
2786
|
_dark: "{colors.blue.200}"
|
|
1910
2787
|
}
|
|
1911
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
|
+
},
|
|
1912
2813
|
button: {
|
|
1913
2814
|
primary: {
|
|
1914
|
-
value: "{colors.border.
|
|
2815
|
+
value: "{colors.border.subtle}"
|
|
1915
2816
|
}
|
|
1916
2817
|
}
|
|
1917
|
-
},
|
|
2818
|
+
}, Xe = {
|
|
1918
2819
|
border: {
|
|
1919
2820
|
value: {
|
|
1920
2821
|
_light: "{colors.mint.200}",
|
|
1921
2822
|
_dark: "{colors.mint.200}"
|
|
1922
2823
|
}
|
|
1923
2824
|
}
|
|
1924
|
-
},
|
|
2825
|
+
}, je = {
|
|
1925
2826
|
contrast: {
|
|
1926
2827
|
value: {
|
|
1927
2828
|
_light: "black",
|
|
@@ -1970,7 +2871,7 @@ const S = {
|
|
|
1970
2871
|
_dark: "{colors.orange.500}"
|
|
1971
2872
|
}
|
|
1972
2873
|
}
|
|
1973
|
-
},
|
|
2874
|
+
}, Ue = {
|
|
1974
2875
|
text: {
|
|
1975
2876
|
primary: {
|
|
1976
2877
|
value: {
|
|
@@ -2131,7 +3032,7 @@ const S = {
|
|
|
2131
3032
|
}
|
|
2132
3033
|
}
|
|
2133
3034
|
}
|
|
2134
|
-
},
|
|
3035
|
+
}, Oe = {
|
|
2135
3036
|
selectable: {
|
|
2136
3037
|
primary: {
|
|
2137
3038
|
value: {
|
|
@@ -2140,89 +3041,26 @@ const S = {
|
|
|
2140
3041
|
}
|
|
2141
3042
|
}
|
|
2142
3043
|
}
|
|
2143
|
-
},
|
|
2144
|
-
fg:
|
|
2145
|
-
bg:
|
|
2146
|
-
border:
|
|
2147
|
-
blue:
|
|
2148
|
-
orange:
|
|
2149
|
-
vis:
|
|
2150
|
-
text:
|
|
2151
|
-
},
|
|
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({
|
|
2152
3053
|
modal: {
|
|
2153
3054
|
value: {
|
|
2154
3055
|
paddingInline: "xs",
|
|
2155
3056
|
paddingBlock: "sm",
|
|
2156
|
-
borderRadius: "
|
|
3057
|
+
borderRadius: "xs",
|
|
2157
3058
|
bg: "bg",
|
|
2158
3059
|
border: "1px solid",
|
|
2159
|
-
borderColor: "border"
|
|
2160
|
-
boxShadow: "mid"
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
|
-
}), ye = {
|
|
2164
|
-
"low-light": {
|
|
2165
|
-
value: "0px 2px 4px 0px rgba(0, 0, 0, 0.10)"
|
|
2166
|
-
},
|
|
2167
|
-
"mid-light": {
|
|
2168
|
-
value: "0px 6px 12px 0px rgba(0, 0, 0, 0.10)"
|
|
2169
|
-
},
|
|
2170
|
-
"high-light": {
|
|
2171
|
-
value: "0px 12px 24px 0px rgba(0, 0, 0, 0.10)"
|
|
2172
|
-
},
|
|
2173
|
-
"low-dark": {
|
|
2174
|
-
value: "0px 2px 4px 0px rgba(0, 0, 0, 0.45)"
|
|
2175
|
-
},
|
|
2176
|
-
"mid-dark": {
|
|
2177
|
-
value: "0px 6px 12px 0px rgba(0, 0, 0, 0.5)"
|
|
2178
|
-
},
|
|
2179
|
-
"high-dark": {
|
|
2180
|
-
value: "0px 12px 24px 0px rgba(0, 0, 0, 0.55)"
|
|
2181
|
-
},
|
|
2182
|
-
"desktop-icon-label-text-light": {
|
|
2183
|
-
value: "0px 1px 3px rgba(15, 23, 42, 0.45)"
|
|
2184
|
-
},
|
|
2185
|
-
"desktop-icon-label-text-dark": {
|
|
2186
|
-
value: "0px 1px 3px rgba(8, 15, 35, 0.75)"
|
|
2187
|
-
},
|
|
2188
|
-
"desktop-icon-label-text-selected-light": {
|
|
2189
|
-
value: "0px 1px 3px rgba(37, 99, 235, 0.55)"
|
|
2190
|
-
},
|
|
2191
|
-
"desktop-icon-label-text-selected-dark": {
|
|
2192
|
-
value: "0px 2px 4px rgba(37, 99, 235, 0.75)"
|
|
2193
|
-
}
|
|
2194
|
-
}, Se = {
|
|
2195
|
-
low: {
|
|
2196
|
-
value: {
|
|
2197
|
-
_light: "{shadows.low-light}",
|
|
2198
|
-
_dark: "{shadows.low-dark}"
|
|
2199
|
-
}
|
|
2200
|
-
},
|
|
2201
|
-
mid: {
|
|
2202
|
-
value: {
|
|
2203
|
-
_light: "{shadows.mid-light}",
|
|
2204
|
-
_dark: "{shadows.mid-dark}"
|
|
2205
|
-
}
|
|
2206
|
-
},
|
|
2207
|
-
high: {
|
|
2208
|
-
value: {
|
|
2209
|
-
_light: "{shadows.high-light}",
|
|
2210
|
-
_dark: "{shadows.high-dark}"
|
|
2211
|
-
}
|
|
2212
|
-
},
|
|
2213
|
-
"desktop-icon-label": {
|
|
2214
|
-
value: {
|
|
2215
|
-
_light: "{shadows.desktop-icon-label-text-light}",
|
|
2216
|
-
_dark: "{shadows.desktop-icon-label-text-dark}"
|
|
2217
|
-
}
|
|
2218
|
-
},
|
|
2219
|
-
"desktop-icon-label-selected": {
|
|
2220
|
-
value: {
|
|
2221
|
-
_light: "{shadows.desktop-icon-label-text-selected-light}",
|
|
2222
|
-
_dark: "{shadows.desktop-icon-label-text-selected-dark}"
|
|
3060
|
+
borderColor: "border"
|
|
2223
3061
|
}
|
|
2224
3062
|
}
|
|
2225
|
-
},
|
|
3063
|
+
}), Ne = k({
|
|
2226
3064
|
brand: {
|
|
2227
3065
|
value: {
|
|
2228
3066
|
fontFamily: "brand",
|
|
@@ -2399,6 +3237,15 @@ const S = {
|
|
|
2399
3237
|
letterSpacing: "0.1px"
|
|
2400
3238
|
}
|
|
2401
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
|
+
},
|
|
2402
3249
|
"paragraph/M/regular": {
|
|
2403
3250
|
value: {
|
|
2404
3251
|
fontFamily: "body",
|
|
@@ -2455,54 +3302,56 @@ const S = {
|
|
|
2455
3302
|
letterSpacing: "0.14px"
|
|
2456
3303
|
}
|
|
2457
3304
|
}
|
|
2458
|
-
}),
|
|
2459
|
-
globalCss:
|
|
3305
|
+
}), qe = E({
|
|
3306
|
+
globalCss: j,
|
|
2460
3307
|
theme: {
|
|
2461
3308
|
breakpoints: {
|
|
2462
3309
|
"3xl": "2560px",
|
|
2463
3310
|
"4xl": "3840px"
|
|
2464
3311
|
},
|
|
2465
|
-
textStyles:
|
|
2466
|
-
layerStyles:
|
|
3312
|
+
textStyles: Ne,
|
|
3313
|
+
layerStyles: $e,
|
|
2467
3314
|
recipes: {
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
3315
|
+
badge: ue,
|
|
3316
|
+
button: be,
|
|
3317
|
+
divider: ve,
|
|
3318
|
+
input: xe,
|
|
3319
|
+
kbd: _e,
|
|
3320
|
+
skeleton: we,
|
|
3321
|
+
textarea: De
|
|
2474
3322
|
},
|
|
2475
3323
|
tokens: {
|
|
2476
|
-
colors:
|
|
2477
|
-
fonts:
|
|
2478
|
-
fontSizes:
|
|
2479
|
-
fontWeights:
|
|
2480
|
-
radii:
|
|
2481
|
-
|
|
2482
|
-
spacing: G
|
|
3324
|
+
colors: te,
|
|
3325
|
+
fonts: ae,
|
|
3326
|
+
fontSizes: ie,
|
|
3327
|
+
fontWeights: ne,
|
|
3328
|
+
radii: de,
|
|
3329
|
+
spacing: se
|
|
2483
3330
|
},
|
|
2484
3331
|
semanticTokens: {
|
|
2485
|
-
colors:
|
|
2486
|
-
borders:
|
|
2487
|
-
shadows: Se
|
|
3332
|
+
colors: Ye,
|
|
3333
|
+
borders: Ve
|
|
2488
3334
|
},
|
|
2489
3335
|
slotRecipes: {
|
|
2490
|
-
alert:
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
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
|
|
2500
3349
|
}
|
|
2501
3350
|
}
|
|
2502
|
-
}),
|
|
3351
|
+
}), Ze = C(Le, qe);
|
|
2503
3352
|
export {
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
3353
|
+
Qe as a,
|
|
3354
|
+
X as c,
|
|
3355
|
+
Ze as t
|
|
2507
3356
|
};
|
|
2508
|
-
//# sourceMappingURL=theme-
|
|
3357
|
+
//# sourceMappingURL=theme-CJBYBJaA.js.map
|