@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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const badgeRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
2
|
+
variant: {
|
|
3
|
+
solid: {
|
|
4
|
+
bg: "colorPalette.solid";
|
|
5
|
+
color: "colorPalette.contrast";
|
|
6
|
+
};
|
|
7
|
+
subtle: {
|
|
8
|
+
bg: "colorPalette.subtle";
|
|
9
|
+
color: "colorPalette.fg";
|
|
10
|
+
};
|
|
11
|
+
number: {
|
|
12
|
+
bg: "colorPalette.subtle";
|
|
13
|
+
color: "colorPalette.fg";
|
|
14
|
+
borderRadius: "2xs";
|
|
15
|
+
justifyContent: "center";
|
|
16
|
+
};
|
|
17
|
+
outline: {
|
|
18
|
+
color: "colorPalette.fg";
|
|
19
|
+
"--outline-shadow-legacy": "colors.colorPalette.muted";
|
|
20
|
+
"--outline-shadow": "colors.colorPalette.border";
|
|
21
|
+
shadow: "inset 0 0 0px 1px var(--shadow-color)";
|
|
22
|
+
shadowColor: "var(--outline-shadow, var(--outline-shadow-legacy))";
|
|
23
|
+
};
|
|
24
|
+
plain: {
|
|
25
|
+
color: "colorPalette.fg";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
size: {
|
|
29
|
+
xs: {
|
|
30
|
+
textStyle: "2xs";
|
|
31
|
+
px: "1";
|
|
32
|
+
minH: "4";
|
|
33
|
+
};
|
|
34
|
+
sm: {
|
|
35
|
+
textStyle: "xs";
|
|
36
|
+
px: "1.5";
|
|
37
|
+
minH: "5";
|
|
38
|
+
};
|
|
39
|
+
md: {
|
|
40
|
+
textStyle: "sm";
|
|
41
|
+
px: "2";
|
|
42
|
+
minH: "6";
|
|
43
|
+
};
|
|
44
|
+
lg: {
|
|
45
|
+
textStyle: "sm";
|
|
46
|
+
px: "2.5";
|
|
47
|
+
minH: "7";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
@@ -3,7 +3,6 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
3
3
|
"display-primary": {
|
|
4
4
|
bg: "blacks.900";
|
|
5
5
|
color: "fg.inverted";
|
|
6
|
-
borderRadius: "xl";
|
|
7
6
|
outline: "none";
|
|
8
7
|
border: "none";
|
|
9
8
|
_hover: {
|
|
@@ -13,7 +12,6 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
13
12
|
"display-outline": {
|
|
14
13
|
bg: "transparent";
|
|
15
14
|
color: "fg";
|
|
16
|
-
borderRadius: "xl";
|
|
17
15
|
border: "2px solid {fg}";
|
|
18
16
|
_hover: {
|
|
19
17
|
bg: "bg.hover";
|
|
@@ -25,7 +23,6 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
25
23
|
"display-ghost": {
|
|
26
24
|
bg: "transparent";
|
|
27
25
|
color: "fg";
|
|
28
|
-
borderRadius: "xl";
|
|
29
26
|
_hover: {
|
|
30
27
|
bg: "bg.hover";
|
|
31
28
|
};
|
|
@@ -37,7 +34,6 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
37
34
|
bg: "transparent";
|
|
38
35
|
color: "fg";
|
|
39
36
|
border: "none";
|
|
40
|
-
borderRadius: "xl";
|
|
41
37
|
_hover: {
|
|
42
38
|
textDecoration: "underline";
|
|
43
39
|
};
|
|
@@ -56,26 +52,21 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
56
52
|
bg: "bg.button.primary.pressed";
|
|
57
53
|
};
|
|
58
54
|
};
|
|
59
|
-
|
|
60
|
-
color: "
|
|
61
|
-
bg: "
|
|
62
|
-
border: "
|
|
55
|
+
destructive: {
|
|
56
|
+
color: "blacks.50";
|
|
57
|
+
bg: "red.500";
|
|
58
|
+
border: "none";
|
|
63
59
|
_hover: {
|
|
64
|
-
bg: "
|
|
60
|
+
bg: "red.600";
|
|
65
61
|
};
|
|
66
62
|
_active: {
|
|
67
|
-
bg: "
|
|
68
|
-
};
|
|
69
|
-
_disabled: {
|
|
70
|
-
opacity: number;
|
|
71
|
-
color: "fg.subtle";
|
|
72
|
-
borderColor: "border.muted";
|
|
63
|
+
bg: "red.700";
|
|
73
64
|
};
|
|
74
65
|
};
|
|
75
66
|
outline: {
|
|
76
67
|
color: "fg";
|
|
77
68
|
bg: "bg";
|
|
78
|
-
border: "border
|
|
69
|
+
border: "border";
|
|
79
70
|
_hover: {
|
|
80
71
|
bg: "bg.hover";
|
|
81
72
|
};
|
|
@@ -88,7 +79,7 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
88
79
|
_disabled: {
|
|
89
80
|
opacity: number;
|
|
90
81
|
color: "fg.subtle";
|
|
91
|
-
borderColor: "border
|
|
82
|
+
borderColor: "border";
|
|
92
83
|
};
|
|
93
84
|
};
|
|
94
85
|
ghost: {
|
|
@@ -113,8 +104,8 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
113
104
|
};
|
|
114
105
|
subtle: {
|
|
115
106
|
color: "fg";
|
|
116
|
-
bg: "bg.
|
|
117
|
-
border: "
|
|
107
|
+
bg: "bg.muted";
|
|
108
|
+
border: "1px solid {border}";
|
|
118
109
|
_hover: {
|
|
119
110
|
bg: "bg.hover";
|
|
120
111
|
};
|
|
@@ -128,6 +119,7 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
128
119
|
opacity: number;
|
|
129
120
|
color: "fg.subtle";
|
|
130
121
|
bg: "bg.muted";
|
|
122
|
+
borderColor: "border";
|
|
131
123
|
_hover: {
|
|
132
124
|
bg: "bg.muted";
|
|
133
125
|
};
|
|
@@ -135,8 +127,21 @@ export declare const buttonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
135
127
|
};
|
|
136
128
|
};
|
|
137
129
|
size: {
|
|
130
|
+
"2xs": {
|
|
131
|
+
px: "0.375rem";
|
|
132
|
+
h: "1.5rem";
|
|
133
|
+
minW: "1.5rem";
|
|
134
|
+
textStyle: "label/XS";
|
|
135
|
+
_icon: {
|
|
136
|
+
width: "0.75rem";
|
|
137
|
+
height: "0.75rem";
|
|
138
|
+
};
|
|
139
|
+
};
|
|
138
140
|
xs: {
|
|
141
|
+
px: "0.5rem";
|
|
139
142
|
h: "1.75rem";
|
|
143
|
+
minW: "1.75rem";
|
|
144
|
+
textStyle: "label/XS";
|
|
140
145
|
_icon: {
|
|
141
146
|
width: "0.875rem";
|
|
142
147
|
height: "0.875rem";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const colorPickerSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "area" | "label" | "view" | "root" | "trigger" | "positioner" | "valueText" | "control" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect" | "channelText", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "area" | "label" | "view" | "root" | "trigger" | "positioner" | "valueText" | "control" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect" | "channelText">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dialogSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "trigger" | "positioner" | "description" | "
|
|
1
|
+
export declare const dialogSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "trigger" | "positioner" | "description" | "backdrop" | "closeTrigger", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "body" | "footer" | "header" | "title" | "trigger" | "positioner" | "description" | "backdrop" | "closeTrigger">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const drawerSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "trigger" | "positioner" | "description" | "
|
|
1
|
+
export declare const drawerSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "trigger" | "positioner" | "description" | "backdrop" | "closeTrigger", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "body" | "footer" | "header" | "title" | "trigger" | "positioner" | "description" | "backdrop" | "closeTrigger">>;
|
|
@@ -1,7 +1,62 @@
|
|
|
1
1
|
export declare const inputRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
2
|
+
variant: {
|
|
3
|
+
outline: {
|
|
4
|
+
bg: "bg";
|
|
5
|
+
border: "1px solid";
|
|
6
|
+
borderColor: "border";
|
|
7
|
+
outline: "none";
|
|
8
|
+
boxShadow: "none";
|
|
9
|
+
"--focus-color": "var(--chakra-colors-border-accent-light)";
|
|
10
|
+
"--focus-ring-style": "none";
|
|
11
|
+
_hover: {
|
|
12
|
+
borderColor: "border.accent-light";
|
|
13
|
+
};
|
|
14
|
+
_active: {
|
|
15
|
+
borderColor: "border.accent-light";
|
|
16
|
+
};
|
|
17
|
+
_focus: {
|
|
18
|
+
borderColor: "border.accent-light";
|
|
19
|
+
outline: "none";
|
|
20
|
+
boxShadow: "none";
|
|
21
|
+
};
|
|
22
|
+
_focusVisible: {
|
|
23
|
+
borderColor: "border.accent-light";
|
|
24
|
+
outline: "none";
|
|
25
|
+
boxShadow: "none";
|
|
26
|
+
};
|
|
27
|
+
"&:is(:hover, [data-hover])": {
|
|
28
|
+
borderColor: "border.accent-light";
|
|
29
|
+
};
|
|
30
|
+
"&:is(:active, [data-active])": {
|
|
31
|
+
borderColor: "border.accent-light";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
2
35
|
size: {
|
|
36
|
+
"2xs": {
|
|
37
|
+
h: "1.5rem";
|
|
38
|
+
px: "2xs";
|
|
39
|
+
textStyle: "label/XS";
|
|
40
|
+
};
|
|
41
|
+
xs: {
|
|
42
|
+
h: "1.75rem";
|
|
43
|
+
px: "xs";
|
|
44
|
+
textStyle: "label/XS";
|
|
45
|
+
};
|
|
3
46
|
sm: {
|
|
4
47
|
h: "2rem";
|
|
48
|
+
px: "sm";
|
|
49
|
+
textStyle: "label/S/regular";
|
|
50
|
+
};
|
|
51
|
+
md: {
|
|
52
|
+
h: "2.5rem";
|
|
53
|
+
px: "sm";
|
|
54
|
+
textStyle: "label/M/regular";
|
|
55
|
+
};
|
|
56
|
+
lg: {
|
|
57
|
+
h: "3rem";
|
|
58
|
+
px: "md";
|
|
59
|
+
textStyle: "label/M/regular";
|
|
5
60
|
};
|
|
6
61
|
};
|
|
7
62
|
}>;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare const numberInputSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"input" | "label" | "root" | "valueText" | "control" | "incrementTrigger" | "decrementTrigger" | "scrubber", {
|
|
2
|
+
variant: {
|
|
3
|
+
outline: {
|
|
4
|
+
input: {
|
|
5
|
+
bg: "bg";
|
|
6
|
+
borderWidth: "1px";
|
|
7
|
+
borderStyle: "solid";
|
|
8
|
+
borderColor: "var(--number-input-border-color)";
|
|
9
|
+
outline: "none";
|
|
10
|
+
boxShadow: "none";
|
|
11
|
+
"--focus-ring-color": "var(--number-input-border-color)";
|
|
12
|
+
"--focus-ring-style": "none";
|
|
13
|
+
_hover: {
|
|
14
|
+
borderColor: "var(--number-input-border-color)";
|
|
15
|
+
};
|
|
16
|
+
_active: {
|
|
17
|
+
borderColor: "var(--number-input-border-color)";
|
|
18
|
+
};
|
|
19
|
+
_focus: {
|
|
20
|
+
borderColor: "var(--number-input-border-color)";
|
|
21
|
+
outline: "none";
|
|
22
|
+
boxShadow: "none";
|
|
23
|
+
};
|
|
24
|
+
_focusVisible: {
|
|
25
|
+
borderColor: "var(--number-input-border-color)";
|
|
26
|
+
outline: "none";
|
|
27
|
+
boxShadow: "none";
|
|
28
|
+
};
|
|
29
|
+
"&:is(:hover, [data-hover])": {
|
|
30
|
+
borderColor: "var(--number-input-border-color)";
|
|
31
|
+
};
|
|
32
|
+
"&:is(:active, [data-active])": {
|
|
33
|
+
borderColor: "var(--number-input-border-color)";
|
|
34
|
+
};
|
|
35
|
+
"&:not([data-invalid], [aria-invalid='true'], [data-state='invalid'])": {
|
|
36
|
+
borderColor: "var(--number-input-border-color)";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
size: {
|
|
42
|
+
"2xs": {
|
|
43
|
+
input: {
|
|
44
|
+
h: "1.5rem";
|
|
45
|
+
px: "2xs";
|
|
46
|
+
textStyle: "label/XS";
|
|
47
|
+
};
|
|
48
|
+
control: {
|
|
49
|
+
"--stepper-width": "1.25rem";
|
|
50
|
+
fontSize: "0.625rem";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
xs: {
|
|
54
|
+
input: {
|
|
55
|
+
h: "1.75rem";
|
|
56
|
+
px: "xs";
|
|
57
|
+
textStyle: "label/XS";
|
|
58
|
+
};
|
|
59
|
+
control: {
|
|
60
|
+
"--stepper-width": "1.5rem";
|
|
61
|
+
fontSize: "0.75rem";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
sm: {
|
|
65
|
+
input: {
|
|
66
|
+
h: "2rem";
|
|
67
|
+
px: "sm";
|
|
68
|
+
textStyle: "label/S/regular";
|
|
69
|
+
};
|
|
70
|
+
control: {
|
|
71
|
+
"--stepper-width": "1.75rem";
|
|
72
|
+
fontSize: "0.75rem";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
md: {
|
|
76
|
+
input: {
|
|
77
|
+
h: "2.5rem";
|
|
78
|
+
px: "sm";
|
|
79
|
+
textStyle: "label/M/regular";
|
|
80
|
+
};
|
|
81
|
+
control: {
|
|
82
|
+
"--stepper-width": "2rem";
|
|
83
|
+
fontSize: "0.875rem";
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
lg: {
|
|
87
|
+
input: {
|
|
88
|
+
h: "3rem";
|
|
89
|
+
px: "md";
|
|
90
|
+
textStyle: "label/M/regular";
|
|
91
|
+
};
|
|
92
|
+
control: {
|
|
93
|
+
"--stepper-width": "2.25rem";
|
|
94
|
+
fontSize: "0.875rem";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}>;
|
|
@@ -1,45 +1,66 @@
|
|
|
1
1
|
export declare const tabsSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "list" | "root" | "trigger" | "indicator" | "contentGroup", {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
4
|
trigger: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
h: "1.25rem";
|
|
6
|
+
px: "xs";
|
|
7
|
+
gap: "2xs";
|
|
8
|
+
textStyle: "label/XS/medium";
|
|
9
|
+
_icon: {
|
|
10
|
+
width: "0.75rem";
|
|
11
|
+
height: "0.75rem";
|
|
10
12
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
sm: {
|
|
16
|
+
trigger: {
|
|
17
|
+
h: "1.5rem";
|
|
18
|
+
px: "xs";
|
|
19
|
+
gap: "2xs";
|
|
20
|
+
textStyle: "label/XS/medium";
|
|
21
|
+
_icon: {
|
|
22
|
+
width: "0.875rem";
|
|
23
|
+
height: "0.875rem";
|
|
14
24
|
};
|
|
15
25
|
};
|
|
16
26
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
md: {
|
|
28
|
+
trigger: {
|
|
29
|
+
h: "1.75rem";
|
|
30
|
+
px: "0.5rem";
|
|
31
|
+
gap: "xs";
|
|
32
|
+
textStyle: "label/S/medium";
|
|
33
|
+
_icon: {
|
|
34
|
+
width: "0.875rem";
|
|
35
|
+
height: "0.875rem";
|
|
24
36
|
};
|
|
25
37
|
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
variant: {
|
|
41
|
+
subtle: {
|
|
26
42
|
trigger: {
|
|
43
|
+
borderRadius: "var(--tabs-trigger-radius)";
|
|
27
44
|
color: "fg.muted";
|
|
28
45
|
bg: "transparent";
|
|
29
|
-
borderWidth: "1px";
|
|
30
|
-
borderColor: "transparent";
|
|
31
46
|
_selected: {
|
|
32
47
|
color: "fg";
|
|
33
|
-
|
|
34
|
-
|
|
48
|
+
bg: "bg.muted";
|
|
49
|
+
borderColor: "border.subtle";
|
|
50
|
+
};
|
|
51
|
+
_hover: {
|
|
52
|
+
bg: "bg.hover";
|
|
53
|
+
borderColor: "border.subtle";
|
|
54
|
+
color: "fg";
|
|
35
55
|
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
56
|
+
_disabled: {
|
|
57
|
+
bg: "transparent";
|
|
58
|
+
color: "fg.subtle";
|
|
59
|
+
borderColor: "border.subtle";
|
|
60
|
+
_hover: {
|
|
61
|
+
bg: "transparent";
|
|
62
|
+
color: "fg.subtle";
|
|
63
|
+
borderColor: "border.subtle";
|
|
43
64
|
};
|
|
44
65
|
};
|
|
45
66
|
};
|
|
@@ -1 +1,62 @@
|
|
|
1
|
-
export declare const textareaRecipe: import('@chakra-ui/react').RecipeDefinition<
|
|
1
|
+
export declare const textareaRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
2
|
+
variant: {
|
|
3
|
+
outline: {
|
|
4
|
+
bg: "bg";
|
|
5
|
+
border: "1px solid";
|
|
6
|
+
borderColor: "border";
|
|
7
|
+
outline: "none";
|
|
8
|
+
boxShadow: "none";
|
|
9
|
+
"--focus-color": "var(--chakra-colors-border-accent-light)";
|
|
10
|
+
"--focus-ring-style": "none";
|
|
11
|
+
_hover: {
|
|
12
|
+
borderColor: "border.accent-light";
|
|
13
|
+
};
|
|
14
|
+
_active: {
|
|
15
|
+
borderColor: "border.accent-light";
|
|
16
|
+
};
|
|
17
|
+
_focus: {
|
|
18
|
+
borderColor: "border.accent-light";
|
|
19
|
+
outline: "none";
|
|
20
|
+
boxShadow: "none";
|
|
21
|
+
};
|
|
22
|
+
_focusVisible: {
|
|
23
|
+
borderColor: "border.accent-light";
|
|
24
|
+
outline: "none";
|
|
25
|
+
boxShadow: "none";
|
|
26
|
+
};
|
|
27
|
+
"&:is(:hover, [data-hover])": {
|
|
28
|
+
borderColor: "border.accent-light";
|
|
29
|
+
};
|
|
30
|
+
"&:is(:active, [data-active])": {
|
|
31
|
+
borderColor: "border.accent-light";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
"2xs": {
|
|
37
|
+
paddingX: "2xs";
|
|
38
|
+
paddingY: "2xs";
|
|
39
|
+
textStyle: "label/XS";
|
|
40
|
+
};
|
|
41
|
+
xs: {
|
|
42
|
+
paddingX: "xs";
|
|
43
|
+
paddingY: "2xs";
|
|
44
|
+
textStyle: "label/XS";
|
|
45
|
+
};
|
|
46
|
+
sm: {
|
|
47
|
+
paddingX: "sm";
|
|
48
|
+
paddingY: "xs";
|
|
49
|
+
textStyle: "label/S/regular";
|
|
50
|
+
};
|
|
51
|
+
md: {
|
|
52
|
+
paddingX: "sm";
|
|
53
|
+
paddingY: "xs";
|
|
54
|
+
textStyle: "label/M/regular";
|
|
55
|
+
};
|
|
56
|
+
lg: {
|
|
57
|
+
paddingX: "md";
|
|
58
|
+
paddingY: "sm";
|
|
59
|
+
textStyle: "label/M/regular";
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export declare const timelineSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "separator" | "item" | "indicator" | "connector" | "description", {
|
|
2
|
+
variant: {
|
|
3
|
+
solid: {};
|
|
4
|
+
subtle: {};
|
|
5
|
+
outline: {
|
|
6
|
+
indicator: {
|
|
7
|
+
borderWidth: "1px";
|
|
8
|
+
borderColor: "border.subtle";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
plain: {
|
|
12
|
+
indicator: {
|
|
13
|
+
bg: "transparent";
|
|
14
|
+
color: "fg";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
showLastSeparator: {
|
|
19
|
+
true: {
|
|
20
|
+
item: {
|
|
21
|
+
_last: {
|
|
22
|
+
"--timeline-separator-display": "initial";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
false: {
|
|
27
|
+
item: {
|
|
28
|
+
_last: {
|
|
29
|
+
"--timeline-separator-display": "none";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
sm: {
|
|
36
|
+
root: {
|
|
37
|
+
"--timeline-indicator-size": "sizes.4";
|
|
38
|
+
"--timeline-font-size": "fontSizes.2xs";
|
|
39
|
+
};
|
|
40
|
+
title: {
|
|
41
|
+
textStyle: "xs";
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
md: {
|
|
45
|
+
root: {
|
|
46
|
+
"--timeline-indicator-size": "sizes.5";
|
|
47
|
+
"--timeline-font-size": "fontSizes.xs";
|
|
48
|
+
};
|
|
49
|
+
title: {
|
|
50
|
+
textStyle: "sm";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
lg: {
|
|
54
|
+
root: {
|
|
55
|
+
"--timeline-indicator-size": "sizes.6";
|
|
56
|
+
"--timeline-font-size": "fontSizes.xs";
|
|
57
|
+
};
|
|
58
|
+
title: {
|
|
59
|
+
mt: "0.5";
|
|
60
|
+
textStyle: "sm";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
xl: {
|
|
64
|
+
root: {
|
|
65
|
+
"--timeline-indicator-size": "sizes.8";
|
|
66
|
+
"--timeline-font-size": "fontSizes.sm";
|
|
67
|
+
};
|
|
68
|
+
title: {
|
|
69
|
+
mt: "1.5";
|
|
70
|
+
textStyle: "sm";
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}>;
|