@pstdio/ui 0.0.1
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/.storybook/main.ts +28 -0
- package/.storybook/preview.tsx +28 -0
- package/.storybook/vitest.setup.ts +6 -0
- package/README.md +72 -0
- package/package.json +91 -0
- package/src/components/alert.tsx +27 -0
- package/src/components/breadcrumb.stories.tsx +40 -0
- package/src/components/breadcrumb.tsx +67 -0
- package/src/components/button.stories.tsx +151 -0
- package/src/components/chat-ui/agent-types.ts +231 -0
- package/src/components/chat-ui/components/ai-conversation.stories.tsx +49 -0
- package/src/components/chat-ui/components/ai-conversation.tsx +68 -0
- package/src/components/chat-ui/components/ai-message.stories.tsx +60 -0
- package/src/components/chat-ui/components/ai-message.tsx +103 -0
- package/src/components/chat-ui/components/ai-response.stories.tsx +48 -0
- package/src/components/chat-ui/components/ai-response.tsx +19 -0
- package/src/components/chat-ui/components/approval-prompt.tsx +51 -0
- package/src/components/chat-ui/components/attachment-list.stories.tsx +24 -0
- package/src/components/chat-ui/components/attachment-list.tsx +76 -0
- package/src/components/chat-ui/components/auto-scroll.tsx +42 -0
- package/src/components/chat-ui/components/chat-input.stories.tsx +114 -0
- package/src/components/chat-ui/components/chat-input.tsx +142 -0
- package/src/components/chat-ui/components/chat-panel.stories.tsx +396 -0
- package/src/components/chat-ui/components/chat-panel.tsx +97 -0
- package/src/components/chat-ui/components/message-parts-renderer.stories.tsx +59 -0
- package/src/components/chat-ui/components/message-parts-renderer.tsx +133 -0
- package/src/components/chat-ui/components/message-types.ts +40 -0
- package/src/components/chat-ui/components/model-swap-separator.stories.tsx +27 -0
- package/src/components/chat-ui/components/model-swap-separator.tsx +20 -0
- package/src/components/chat-ui/components/send-button.tsx +56 -0
- package/src/components/chat-ui/components/timeline.tsx +414 -0
- package/src/components/chat-ui/components/tool-invocation-timeline.stories.tsx +32 -0
- package/src/components/chat-ui/components/tool-invocation-timeline.tsx +16 -0
- package/src/components/chat-ui/mocks/full-conversation-normalized.json +3557 -0
- package/src/components/chat-ui/tool-rendering/build-timeline.ts +127 -0
- package/src/components/chat-ui/tool-rendering/default-renderers.ts +420 -0
- package/src/components/chat-ui/tool-rendering/index.ts +3 -0
- package/src/components/chat-ui/tool-rendering/types.ts +19 -0
- package/src/components/chat-ui/utils/diff.ts +228 -0
- package/src/components/chat-ui/utils/editor-state.ts +5 -0
- package/src/components/chat-ui/utils/get-icon.ts +81 -0
- package/src/components/code-editor.tsx +147 -0
- package/src/components/column-file-browser.stories.tsx +217 -0
- package/src/components/column-file-browser.tsx +380 -0
- package/src/components/content-placeholder.tsx +21 -0
- package/src/components/data-table/build-columns.tsx +78 -0
- package/src/components/data-table/data-table.css +51 -0
- package/src/components/data-table/data-table.stories.tsx +209 -0
- package/src/components/data-table/data-table.tsx +232 -0
- package/src/components/data-table/helpers.tsx +69 -0
- package/src/components/data-table/index.ts +3 -0
- package/src/components/data-table/pagination-footer.tsx +58 -0
- package/src/components/data-table/selection-toolbar.tsx +26 -0
- package/src/components/data-table/types.ts +21 -0
- package/src/components/delete-confirmation-modal.stories.tsx +46 -0
- package/src/components/delete-confirmation-modal.tsx +56 -0
- package/src/components/diff-bubble.stories.tsx +70 -0
- package/src/components/diff-bubble.tsx +70 -0
- package/src/components/diff-card.tsx +139 -0
- package/src/components/diff-drawer.stories.tsx +106 -0
- package/src/components/diff-drawer.tsx +59 -0
- package/src/components/diff-editor.tsx +55 -0
- package/src/components/drawer-inline.stories.tsx +124 -0
- package/src/components/drawer-inline.tsx +90 -0
- package/src/components/empty-state.stories.tsx +65 -0
- package/src/components/empty-state.tsx +28 -0
- package/src/components/error-boundary.tsx +80 -0
- package/src/components/file-selector.stories.tsx +166 -0
- package/src/components/file-selector.tsx +192 -0
- package/src/components/file-tree-helpers.ts +28 -0
- package/src/components/horizontal-menu-stack.tsx +15 -0
- package/src/components/info-card.stories.tsx +120 -0
- package/src/components/info-card.tsx +60 -0
- package/src/components/item-section.stories.tsx +57 -0
- package/src/components/item-section.tsx +57 -0
- package/src/components/layout.stories.tsx +341 -0
- package/src/components/layout.tsx +67 -0
- package/src/components/menu-item.stories.tsx +162 -0
- package/src/components/menu-item.tsx +207 -0
- package/src/components/number-input.tsx +21 -0
- package/src/components/open-source-notices-screen.stories.tsx +69 -0
- package/src/components/open-source-notices-screen.tsx +154 -0
- package/src/components/panel-menu.stories.tsx +44 -0
- package/src/components/panel-menu.tsx +27 -0
- package/src/components/param-editor-color-input.tsx +98 -0
- package/src/components/param-editor-date-input.tsx +106 -0
- package/src/components/param-editor-horizontal-text-input.tsx +130 -0
- package/src/components/param-editor-horizontal.stories.tsx +545 -0
- package/src/components/param-editor-horizontal.tsx +137 -0
- package/src/components/param-editor-input-group.tsx +145 -0
- package/src/components/param-editor-number-input.tsx +145 -0
- package/src/components/param-editor-selection-input.tsx +181 -0
- package/src/components/param-editor-text-input.tsx +113 -0
- package/src/components/param-editor.stories.tsx +986 -0
- package/src/components/param-editor.tsx +142 -0
- package/src/components/param-editor.types.ts +95 -0
- package/src/components/properties.stories.tsx +108 -0
- package/src/components/properties.tsx +73 -0
- package/src/components/pstdio-logo.tsx +26 -0
- package/src/components/resource-badge.stories.tsx +26 -0
- package/src/components/resource-badge.tsx +173 -0
- package/src/components/rich-text/collaborative-markdown-editor/awareness-cursors.tsx +45 -0
- package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.tsx +230 -0
- package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.tsx +131 -0
- package/src/components/rich-text/index.ts +14 -0
- package/src/components/rich-text/markdown-editor/markdown-editor.stories.tsx +147 -0
- package/src/components/rich-text/markdown-editor/markdown-editor.tsx +112 -0
- package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +100 -0
- package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +32 -0
- package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.ts +2 -0
- package/src/components/rich-text/prompt-input/commands.ts +44 -0
- package/src/components/rich-text/prompt-input/events.ts +21 -0
- package/src/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.tsx +8 -0
- package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.ts +49 -0
- package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.ts +30 -0
- package/src/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.tsx +127 -0
- package/src/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.tsx +32 -0
- package/src/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.tsx +30 -0
- package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.ts +15 -0
- package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.tsx +88 -0
- package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.tsx +90 -0
- package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.tsx +50 -0
- package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.ts +3 -0
- package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.tsx +50 -0
- package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.ts +45 -0
- package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.ts +20 -0
- package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.tsx +50 -0
- package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.tsx +107 -0
- package/src/components/rich-text/prompt-input/plugins/keyboard-shortcuts.ts +13 -0
- package/src/components/rich-text/prompt-input/prompt-input.stories.tsx +87 -0
- package/src/components/rich-text/prompt-input/prompt-input.tsx +106 -0
- package/src/components/rich-text/prompt-input/theme/prompt-input-theme.css +3 -0
- package/src/components/rich-text/prompt-input/theme/prompt-input-theme.ts +11 -0
- package/src/components/rich-text/prompt-input/utils.ts +158 -0
- package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +100 -0
- package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +32 -0
- package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.ts +2 -0
- package/src/components/rich-text/rich-message/rich-message.stories.tsx +146 -0
- package/src/components/rich-text/rich-message/rich-message.tsx +118 -0
- package/src/components/rich-text/shared/components/content-editable.tsx +28 -0
- package/src/components/rich-text/shared/components/default-rich-text-components.tsx +99 -0
- package/src/components/rich-text/shared/editor-config.ts +38 -0
- package/src/components/rich-text/shared/nodes/DataTableNode.stories.tsx +52 -0
- package/src/components/rich-text/shared/nodes/DataTableNode.tsx +73 -0
- package/src/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.tsx +22 -0
- package/src/components/rich-text/shared/plugins/CodePlugin/CodeNode.tsx +57 -0
- package/src/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.tsx +46 -0
- package/src/components/rich-text/shared/plugins/EquationPlugin/EquationNode.tsx +161 -0
- package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.css +16 -0
- package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.tsx +45 -0
- package/src/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.tsx +40 -0
- package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.css +26 -0
- package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.tsx +414 -0
- package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.ts +1 -0
- package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.ts +52 -0
- package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.ts +16 -0
- package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.css +163 -0
- package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.tsx +355 -0
- package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.tsx +6 -0
- package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.ts +17 -0
- package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.ts +39 -0
- package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.ts +23 -0
- package/src/components/rich-text/shared/plugins/StateUpdatePlugin.tsx +21 -0
- package/src/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.tsx +224 -0
- package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.css +3 -0
- package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.tsx +315 -0
- package/src/components/rich-text/shared/plugins/ToggleEditablePlugin.tsx +12 -0
- package/src/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.tsx +20 -0
- package/src/components/rich-text/shared/transformers/markdown-transformers.ts +123 -0
- package/src/components/rich-text/shared/types/rich-text-components.ts +17 -0
- package/src/components/rich-text/theme/report-theme.tsx +81 -0
- package/src/components/rich-text/theme/rich-text-theme.css +773 -0
- package/src/components/rich-text/theme/rich-text-theme.tsx +81 -0
- package/src/components/rich-text/types.ts +9 -0
- package/src/components/rich-text/utils/inferResourceType.ts +17 -0
- package/src/components/rich-text/utils/markdown.ts +12 -0
- package/src/components/rich-text/utils/mediaType.ts +31 -0
- package/src/components/session-indicator.stories.tsx +46 -0
- package/src/components/session-indicator.tsx +40 -0
- package/src/components/slider.stories.tsx +38 -0
- package/src/components/slider.tsx +20 -0
- package/src/components/style-guide-data.ts +374 -0
- package/src/components/style-guide.stories.tsx +212 -0
- package/src/components/style-guide.tsx +305 -0
- package/src/components/ticket-board.stories.tsx +109 -0
- package/src/components/ticket-board.tsx +167 -0
- package/src/components/ticket-card.stories.tsx +133 -0
- package/src/components/ticket-card.tsx +126 -0
- package/src/components/toaster.stories.tsx +79 -0
- package/src/components/toaster.tsx +26 -0
- package/src/components/tooltip.tsx +43 -0
- package/src/index.ts +16 -0
- package/src/theme/global.ts +49 -0
- package/src/theme/index.ts +10 -0
- package/src/theme/primitives/colors.ts +209 -0
- package/src/theme/primitives/fonts.ts +33 -0
- package/src/theme/primitives/sizes.ts +49 -0
- package/src/theme/recipes/alert.ts +12 -0
- package/src/theme/recipes/button.ts +124 -0
- package/src/theme/recipes/dialog.ts +11 -0
- package/src/theme/recipes/divider.ts +7 -0
- package/src/theme/recipes/drawer.ts +16 -0
- package/src/theme/recipes/editable.ts +42 -0
- package/src/theme/recipes/form.ts +11 -0
- package/src/theme/recipes/input.ts +25 -0
- package/src/theme/recipes/menu.ts +40 -0
- package/src/theme/recipes/popover.ts +46 -0
- package/src/theme/recipes/progress-circle.ts +22 -0
- package/src/theme/recipes/skeleton.ts +8 -0
- package/src/theme/recipes/textarea.ts +29 -0
- package/src/theme/recipes/tooltip.ts +15 -0
- package/src/theme/theme.ts +70 -0
- package/src/theme/tokens/borders.ts +38 -0
- package/src/theme/tokens/colors.ts +488 -0
- package/src/theme/tokens/layer-styles.ts +15 -0
- package/src/theme/tokens/shadows.ts +47 -0
- package/src/theme/tokens/text.ts +236 -0
- package/src/utils/apply-theme-preference.ts +17 -0
- package/src/utils/formats.ts +27 -0
- package/src/utils/get-file-type-icon.ts +52 -0
- package/src/utils/theme-preference.tsx +60 -0
- package/src/vite-env.d.ts +6 -0
- package/storybook-static/assets/CodeBlockPlugin-C3OWpvP8.js +281 -0
- package/storybook-static/assets/CodeBlockPlugin-e2vWgtYm.css +1 -0
- package/storybook-static/assets/DataTableNode.stories-DLgTftOI.js +33 -0
- package/storybook-static/assets/EquationComponent-CUFxwyNf.js +1 -0
- package/storybook-static/assets/EquationComponent-DWZwfaVI.css +1 -0
- package/storybook-static/assets/FloatingTextFormatToolbarPlugin-B6jc8xvg.js +1 -0
- package/storybook-static/assets/FloatingTextFormatToolbarPlugin-D2l3--Te.css +1 -0
- package/storybook-static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/storybook-static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/storybook-static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/storybook-static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/storybook-static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/storybook-static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/storybook-static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/storybook-static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/storybook-static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/storybook-static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/storybook-static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/storybook-static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/storybook-static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/storybook-static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/storybook-static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/storybook-static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/storybook-static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/storybook-static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/storybook-static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/storybook-static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/storybook-static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/storybook-static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/storybook-static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/storybook-static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/storybook-static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/storybook-static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/storybook-static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/storybook-static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/storybook-static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/storybook-static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/storybook-static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/storybook-static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/storybook-static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/storybook-static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/storybook-static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/storybook-static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/storybook-static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/storybook-static/assets/LexicalHistoryPlugin.prod-BQAibkDj.js +1 -0
- package/storybook-static/assets/TreeViewPlugin-CyVKCrKJ.js +24 -0
- package/storybook-static/assets/ai-conversation-DcjS--ee.js +1 -0
- package/storybook-static/assets/ai-conversation.stories-COjWuS8V.js +3 -0
- package/storybook-static/assets/ai-message-DLdAGhWH.js +1 -0
- package/storybook-static/assets/ai-message.stories-CRTyreKL.js +3 -0
- package/storybook-static/assets/ai-response-ySM6s0iN.js +1 -0
- package/storybook-static/assets/ai-response.stories-DVBYlrGf.js +11 -0
- package/storybook-static/assets/attachment-list-1p1601I5.js +1 -0
- package/storybook-static/assets/attachment-list.stories-Cydlsnio.js +7 -0
- package/storybook-static/assets/badge-CtgJasjB.js +1 -0
- package/storybook-static/assets/breadcrumb.stories-SAjB-iqH.js +5 -0
- package/storybook-static/assets/button-C7it2n8t.js +1 -0
- package/storybook-static/assets/button.stories-BMVbbb4y.js +72 -0
- package/storybook-static/assets/chat-input-B-915nCM.js +1 -0
- package/storybook-static/assets/chat-input.stories-DrxvpT9p.js +32 -0
- package/storybook-static/assets/chat-panel.stories-D0L6eIte.js +96 -0
- package/storybook-static/assets/chevron-down-BYCAGyCV.js +1 -0
- package/storybook-static/assets/chevron-right-owK1wZnx.js +1 -0
- package/storybook-static/assets/collaborative-markdown-editor-Bj0GvTvv.js +41 -0
- package/storybook-static/assets/collaborative-markdown-editor.stories-B_MUIC5s.js +11 -0
- package/storybook-static/assets/collapsible-DBDG7h1r.js +1 -0
- package/storybook-static/assets/collapsible-content-B1Uq3jUM.js +1 -0
- package/storybook-static/assets/column-file-browser.stories-DPMQnHCw.js +54 -0
- package/storybook-static/assets/compiler-runtime-BXE7OOXE.js +1 -0
- package/storybook-static/assets/computed-style-C0hzrq9-.js +1 -0
- package/storybook-static/assets/create-recipe-context-BU56IzEo.js +1 -0
- package/storybook-static/assets/create-slot-recipe-context-DAhDE6G_.js +1 -0
- package/storybook-static/assets/create-split-props-u5h9OPvL.js +1 -0
- package/storybook-static/assets/createLucideIcon-CcBBUKX8.js +1 -0
- package/storybook-static/assets/data-table-vuIeWXui.css +1 -0
- package/storybook-static/assets/data-table.stories-Cs-q7dpj.js +19 -0
- package/storybook-static/assets/delete-confirmation-modal.stories-C8vDKFRD.js +14 -0
- package/storybook-static/assets/diff-bubble-_zZypMRt.js +1 -0
- package/storybook-static/assets/diff-bubble.stories-DfonanIk.js +39 -0
- package/storybook-static/assets/diff-drawer.stories-CGDWiKD8.js +38 -0
- package/storybook-static/assets/diff-editor-DV9BXqbn.js +11 -0
- package/storybook-static/assets/dismissable-layer-Cc5dFRd8.js +1 -0
- package/storybook-static/assets/drawer-inline.stories-B3Tp7vjL.js +88 -0
- package/storybook-static/assets/empty-state-BXkyq69k.js +1 -0
- package/storybook-static/assets/empty-state.stories-6eYYBOWR.js +29 -0
- package/storybook-static/assets/factory-BR3bc_RM.js +1 -0
- package/storybook-static/assets/factory-DAJZwK4o.js +1 -0
- package/storybook-static/assets/file-selector.stories-PKIGBUd5.js +31 -0
- package/storybook-static/assets/file-text-D5m8MJlG.js +1 -0
- package/storybook-static/assets/flex-DAJL4AFZ.js +1 -0
- package/storybook-static/assets/folder-C5dba_Co.js +1 -0
- package/storybook-static/assets/form-D_Xln9tK.js +1 -0
- package/storybook-static/assets/full-conversation-normalized-LUbl1coD.js +1 -0
- package/storybook-static/assets/grid-7OIKBlfh.js +1 -0
- package/storybook-static/assets/h-stack-DWHd8f97.js +1 -0
- package/storybook-static/assets/horizontal-menu-stack-Cph6x7ui.js +1 -0
- package/storybook-static/assets/icon-C8FN9JqD.js +1 -0
- package/storybook-static/assets/icon-button-DHiUe7rR.js +1 -0
- package/storybook-static/assets/icons-WRA1cA-W.js +1 -0
- package/storybook-static/assets/iframe-2XPD_vrQ.css +1 -0
- package/storybook-static/assets/iframe-B8FSoBNY.js +1075 -0
- package/storybook-static/assets/index-B0y2_lLF.js +1 -0
- package/storybook-static/assets/index-CXwl6T4k.js +1 -0
- package/storybook-static/assets/index-DaXC_qY_.js +1 -0
- package/storybook-static/assets/index-DpB4ozcR.js +1 -0
- package/storybook-static/assets/index-cFwdnc0b.js +1 -0
- package/storybook-static/assets/info-DlgY5-DW.js +1 -0
- package/storybook-static/assets/info-card.stories-Cry0Qfrn.js +55 -0
- package/storybook-static/assets/input-ZSs5cSFQ.js +1 -0
- package/storybook-static/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
- package/storybook-static/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
- package/storybook-static/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
- package/storybook-static/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
- package/storybook-static/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
- package/storybook-static/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
- package/storybook-static/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
- package/storybook-static/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
- package/storybook-static/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
- package/storybook-static/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
- package/storybook-static/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
- package/storybook-static/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
- package/storybook-static/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
- package/storybook-static/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
- package/storybook-static/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
- package/storybook-static/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
- package/storybook-static/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
- package/storybook-static/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
- package/storybook-static/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
- package/storybook-static/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
- package/storybook-static/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
- package/storybook-static/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
- package/storybook-static/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
- package/storybook-static/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
- package/storybook-static/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
- package/storybook-static/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
- package/storybook-static/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
- package/storybook-static/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
- package/storybook-static/assets/item-section-AoQrVPNJ.js +1 -0
- package/storybook-static/assets/item-section.stories-kYTPHRsx.js +24 -0
- package/storybook-static/assets/layout.stories-DhSjwzU1.js +3 -0
- package/storybook-static/assets/link-DE5grRtm.js +1 -0
- package/storybook-static/assets/markdown-BLUemkxK.js +1 -0
- package/storybook-static/assets/markdown-editor-Y4eMsgVb.js +1 -0
- package/storybook-static/assets/markdown-editor.stories-DIWw-hRP.js +115 -0
- package/storybook-static/assets/menu-item-CrqDaj9K.js +1 -0
- package/storybook-static/assets/menu-item.stories-D9Isjjrf.js +68 -0
- package/storybook-static/assets/message-parts-renderer.stories-CewRvbm7.js +5 -0
- package/storybook-static/assets/message-types-CEyA7Qm7.js +60 -0
- package/storybook-static/assets/model-swap-separator.stories-DrQW2NWQ.js +9 -0
- package/storybook-static/assets/mutation-observer-CAfGweIM.js +1 -0
- package/storybook-static/assets/normalize-props-D7NI5JRu.js +1 -0
- package/storybook-static/assets/number-C92MPsRM.js +1 -0
- package/storybook-static/assets/number-input-D1aC-9ls.js +7 -0
- package/storybook-static/assets/onest-cyrillic-400-normal-BxvCLB5P.woff +0 -0
- package/storybook-static/assets/onest-cyrillic-400-normal-DH8vlB-A.woff2 +0 -0
- package/storybook-static/assets/onest-cyrillic-500-normal-CyY1vN0Q.woff +0 -0
- package/storybook-static/assets/onest-cyrillic-500-normal-DHyr8B2c.woff2 +0 -0
- package/storybook-static/assets/onest-cyrillic-700-normal-CwpXuTGk.woff2 +0 -0
- package/storybook-static/assets/onest-cyrillic-700-normal-DOtXtm0s.woff +0 -0
- package/storybook-static/assets/onest-latin-400-normal-BAzPRZHg.woff +0 -0
- package/storybook-static/assets/onest-latin-400-normal-bladozIj.woff2 +0 -0
- package/storybook-static/assets/onest-latin-500-normal-oFTiz6Nq.woff +0 -0
- package/storybook-static/assets/onest-latin-500-normal-qHiQtL66.woff2 +0 -0
- package/storybook-static/assets/onest-latin-700-normal-Bd6qVL4Q.woff2 +0 -0
- package/storybook-static/assets/onest-latin-700-normal-XTvQgpoh.woff +0 -0
- package/storybook-static/assets/onest-latin-ext-400-normal--mQR5RlC.woff2 +0 -0
- package/storybook-static/assets/onest-latin-ext-400-normal-BbXTNVXw.woff +0 -0
- package/storybook-static/assets/onest-latin-ext-500-normal-BlXa29q8.woff2 +0 -0
- package/storybook-static/assets/onest-latin-ext-500-normal-CoujUMv_.woff +0 -0
- package/storybook-static/assets/onest-latin-ext-700-normal-C-Tcltod.woff2 +0 -0
- package/storybook-static/assets/onest-latin-ext-700-normal-CSGWRWNE.woff +0 -0
- package/storybook-static/assets/open-source-notices-screen.stories-BpdJxDZC.js +21 -0
- package/storybook-static/assets/overflow-CkG1DOya.js +1 -0
- package/storybook-static/assets/panel-menu-CqLSrdTB.js +1 -0
- package/storybook-static/assets/panel-menu.stories-CxdWaWjq.js +14 -0
- package/storybook-static/assets/param-editor-horizontal.stories-C1o-VOjG.js +561 -0
- package/storybook-static/assets/param-editor-selection-input-2pJE1_W1.js +1 -0
- package/storybook-static/assets/param-editor.stories-0ae3y4Vu.js +921 -0
- package/storybook-static/assets/playfair-display-cyrillic-400-normal-CjW2EstV.woff2 +0 -0
- package/storybook-static/assets/playfair-display-cyrillic-400-normal-ZiRag6zj.woff +0 -0
- package/storybook-static/assets/playfair-display-cyrillic-600-normal-DbWAkkgN.woff +0 -0
- package/storybook-static/assets/playfair-display-cyrillic-600-normal-oLY6jnZ7.woff2 +0 -0
- package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dk1mTcxf.woff +0 -0
- package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dw3uKy19.woff2 +0 -0
- package/storybook-static/assets/playfair-display-latin-400-normal-CFtfchNt.woff2 +0 -0
- package/storybook-static/assets/playfair-display-latin-400-normal-DHYHbkg3.woff +0 -0
- package/storybook-static/assets/playfair-display-latin-600-normal-CZLGqjJe.woff2 +0 -0
- package/storybook-static/assets/playfair-display-latin-600-normal-CxxueQ0Z.woff +0 -0
- package/storybook-static/assets/playfair-display-latin-700-normal-Bc_1Q1cG.woff +0 -0
- package/storybook-static/assets/playfair-display-latin-700-normal-CuDiGg7c.woff2 +0 -0
- package/storybook-static/assets/playfair-display-latin-ext-400-normal-BxlSGspa.woff2 +0 -0
- package/storybook-static/assets/playfair-display-latin-ext-400-normal-qdZwdvNS.woff +0 -0
- package/storybook-static/assets/playfair-display-latin-ext-600-normal-BumBfC1v.woff +0 -0
- package/storybook-static/assets/playfair-display-latin-ext-600-normal-CEjQclLc.woff2 +0 -0
- package/storybook-static/assets/playfair-display-latin-ext-700-normal-C58ejOkc.woff2 +0 -0
- package/storybook-static/assets/playfair-display-latin-ext-700-normal-D5HUU8GT.woff +0 -0
- package/storybook-static/assets/playfair-display-vietnamese-400-normal-BV2APVTb.woff2 +0 -0
- package/storybook-static/assets/playfair-display-vietnamese-400-normal-BbvUAu4N.woff +0 -0
- package/storybook-static/assets/playfair-display-vietnamese-600-normal-BPJkAZPN.woff +0 -0
- package/storybook-static/assets/playfair-display-vietnamese-600-normal-ICsRR-qJ.woff2 +0 -0
- package/storybook-static/assets/playfair-display-vietnamese-700-normal-CaKJSIny.woff2 +0 -0
- package/storybook-static/assets/playfair-display-vietnamese-700-normal-Cr1rw0mr.woff +0 -0
- package/storybook-static/assets/portal-CZHfPTRw.js +1 -0
- package/storybook-static/assets/preload-helper-PPVm8Dsz.js +1 -0
- package/storybook-static/assets/prompt-input-BLCttowi.js +14 -0
- package/storybook-static/assets/prompt-input-BVbz9joI.css +1 -0
- package/storybook-static/assets/prompt-input.stories-J8-AMVXy.js +9 -0
- package/storybook-static/assets/properties.stories-Bs7ivKgb.js +59 -0
- package/storybook-static/assets/react-18-KY0R7ltw.js +9 -0
- package/storybook-static/assets/render-strategy-BebqUNCa.js +1 -0
- package/storybook-static/assets/resource-badge-Bw5UoU4J.js +1 -0
- package/storybook-static/assets/resource-badge.stories-DtSh-RX9.js +9 -0
- package/storybook-static/assets/rich-message-BIkzo1SM.js +1 -0
- package/storybook-static/assets/rich-message.stories-C9Wc4d3O.js +115 -0
- package/storybook-static/assets/rich-text-theme-Bkhh9rAZ.js +14 -0
- package/storybook-static/assets/rich-text-theme-K2MBoCbx.css +1 -0
- package/storybook-static/assets/separator-CQkMOHNm.js +1 -0
- package/storybook-static/assets/settings-DUgg22A7.js +1 -0
- package/storybook-static/assets/simple-grid-DIKjhnVI.js +1 -0
- package/storybook-static/assets/spinner-ZYH_gvW-.js +1 -0
- package/storybook-static/assets/stack-CN4X31TA.js +1 -0
- package/storybook-static/assets/star-CvcHIXRa.js +1 -0
- package/storybook-static/assets/style-guide.stories-BUvEhZov.js +6 -0
- package/storybook-static/assets/tabbable-DHAf8oAu.js +1 -0
- package/storybook-static/assets/table-BKNSzs2r.js +1 -0
- package/storybook-static/assets/textarea-rqmaWSc5.js +1 -0
- package/storybook-static/assets/toaster-d9nN0H7K.js +1 -0
- package/storybook-static/assets/toaster.stories-BRVCYyaM.js +52 -0
- package/storybook-static/assets/tool-invocation-timeline-B-cS0W6M.js +59 -0
- package/storybook-static/assets/tool-invocation-timeline.stories-DXO59O73.js +5 -0
- package/storybook-static/assets/tooltip-C_a-XGZ8.js +1 -0
- package/storybook-static/assets/tooltip-DZxUoouw.js +1 -0
- package/storybook-static/assets/trash-2-BO05slEk.js +1 -0
- package/storybook-static/assets/typeahead-CuY9WxfQ.js +1 -0
- package/storybook-static/assets/use-field-context-DoxKQlMm.js +1 -0
- package/storybook-static/assets/use-presence-context-DK2PGZth.js +1 -0
- package/storybook-static/assets/v-stack-Btoq6OB_.js +1 -0
- package/storybook-static/assets/x-D42ziktz.js +1 -0
- package/storybook-static/components/alert.d.ts +9 -0
- package/storybook-static/components/breadcrumb.d.ts +18 -0
- package/storybook-static/components/breadcrumb.stories.d.ts +25 -0
- package/storybook-static/components/chat-ui/agent-types.d.ts +205 -0
- package/storybook-static/components/chat-ui/components/ai-conversation.stories.d.ts +6 -0
- package/storybook-static/components/chat-ui/components/ai-message.d.ts +94 -0
- package/storybook-static/components/chat-ui/components/ai-message.stories.d.ts +6 -0
- package/storybook-static/components/chat-ui/components/ai-response.d.ts +6 -0
- package/storybook-static/components/chat-ui/components/ai-response.stories.d.ts +7 -0
- package/storybook-static/components/chat-ui/components/approval-prompt.d.ts +8 -0
- package/storybook-static/components/chat-ui/components/attachment-list.d.ts +23 -0
- package/storybook-static/components/chat-ui/components/attachment-list.stories.d.ts +6 -0
- package/storybook-static/components/chat-ui/components/auto-scroll.d.ts +10 -0
- package/storybook-static/components/chat-ui/components/chat-input.d.ts +16 -0
- package/storybook-static/components/chat-ui/components/chat-input.stories.d.ts +7 -0
- package/storybook-static/components/chat-ui/components/chat-panel.d.ts +18 -0
- package/storybook-static/components/chat-ui/components/chat-panel.stories.d.ts +8 -0
- package/storybook-static/components/chat-ui/components/message-parts-renderer.d.ts +12 -0
- package/storybook-static/components/chat-ui/components/message-parts-renderer.stories.d.ts +7 -0
- package/storybook-static/components/chat-ui/components/message-types.d.ts +6 -0
- package/storybook-static/components/chat-ui/components/model-swap-separator.d.ts +5 -0
- package/storybook-static/components/chat-ui/components/model-swap-separator.stories.d.ts +6 -0
- package/storybook-static/components/chat-ui/components/send-button.d.ts +7 -0
- package/storybook-static/components/chat-ui/components/timeline.d.ts +86 -0
- package/storybook-static/components/chat-ui/components/tool-invocation-timeline.d.ts +7 -0
- package/storybook-static/components/chat-ui/components/tool-invocation-timeline.stories.d.ts +6 -0
- package/storybook-static/components/chat-ui/mocks/full-conversation-normalized.json.d.ts +3560 -0
- package/storybook-static/components/chat-ui/tool-rendering/build-timeline.d.ts +23 -0
- package/storybook-static/components/chat-ui/tool-rendering/default-renderers.d.ts +9 -0
- package/storybook-static/components/chat-ui/tool-rendering/index.d.ts +3 -0
- package/storybook-static/components/chat-ui/tool-rendering/types.d.ts +13 -0
- package/storybook-static/components/chat-ui/utils/diff.d.ts +21 -0
- package/storybook-static/components/chat-ui/utils/editor-state.d.ts +1 -0
- package/storybook-static/components/code-editor.d.ts +33 -0
- package/storybook-static/components/column-file-browser.d.ts +21 -0
- package/storybook-static/components/content-placeholder.d.ts +5 -0
- package/storybook-static/components/data-table.d.ts +18 -0
- package/storybook-static/components/data-table.stories.d.ts +33 -0
- package/storybook-static/components/delete-confirmation-modal.d.ts +10 -0
- package/storybook-static/components/delete-confirmation-modal.stories.d.ts +11 -0
- package/storybook-static/components/diff-bubble.d.ts +14 -0
- package/storybook-static/components/diff-bubble.stories.d.ts +13 -0
- package/storybook-static/components/diff-card.d.ts +14 -0
- package/storybook-static/components/diff-drawer.d.ts +6 -0
- package/storybook-static/components/diff-drawer.stories.d.ts +8 -0
- package/storybook-static/components/diff-editor.d.ts +9 -0
- package/storybook-static/components/drawer-inline.d.ts +24 -0
- package/storybook-static/components/drawer-inline.stories.d.ts +8 -0
- package/storybook-static/components/empty-state.d.ts +8 -0
- package/storybook-static/components/empty-state.stories.d.ts +34 -0
- package/storybook-static/components/error-boundary.d.ts +26 -0
- package/storybook-static/components/file-selector.d.ts +13 -0
- package/storybook-static/components/file-tree-helpers.d.ts +8 -0
- package/storybook-static/components/horizontal-menu-stack.d.ts +6 -0
- package/storybook-static/components/info-card.d.ts +13 -0
- package/storybook-static/components/item-section.d.ts +11 -0
- package/storybook-static/components/item-section.stories.d.ts +17 -0
- package/storybook-static/components/layout.d.ts +14 -0
- package/storybook-static/components/layout.stories.d.ts +11 -0
- package/storybook-static/components/menu-item.d.ts +40 -0
- package/storybook-static/components/open-source-notices-screen.d.ts +20 -0
- package/storybook-static/components/open-source-notices-screen.stories.d.ts +12 -0
- package/storybook-static/components/panel-menu.d.ts +7 -0
- package/storybook-static/components/panel-menu.stories.d.ts +7 -0
- package/storybook-static/components/param-editor-color-input.d.ts +13 -0
- package/storybook-static/components/param-editor-date-input.d.ts +15 -0
- package/storybook-static/components/param-editor-horizontal-text-input.d.ts +12 -0
- package/storybook-static/components/param-editor-horizontal.d.ts +10 -0
- package/storybook-static/components/param-editor-horizontal.stories.d.ts +19 -0
- package/storybook-static/components/param-editor-input-group.d.ts +10 -0
- package/storybook-static/components/param-editor-number-input.d.ts +17 -0
- package/storybook-static/components/param-editor-selection-input.d.ts +21 -0
- package/storybook-static/components/param-editor-text-input.d.ts +13 -0
- package/storybook-static/components/param-editor.d.ts +10 -0
- package/storybook-static/components/param-editor.stories.d.ts +23 -0
- package/storybook-static/components/param-editor.types.d.ts +71 -0
- package/storybook-static/components/properties.d.ts +18 -0
- package/storybook-static/components/properties.stories.d.ts +17 -0
- package/storybook-static/components/resource-badge.d.ts +62 -0
- package/storybook-static/components/resource-badge.stories.d.ts +7 -0
- package/storybook-static/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +5 -0
- package/storybook-static/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +8 -0
- package/storybook-static/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.d.ts +9 -0
- package/storybook-static/components/rich-text/index.d.ts +14 -0
- package/storybook-static/components/rich-text/markdown-editor/markdown-editor.d.ts +8 -0
- package/storybook-static/components/rich-text/markdown-editor/markdown-editor.stories.d.ts +6 -0
- package/storybook-static/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +21 -0
- package/storybook-static/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +2 -0
- package/storybook-static/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +2 -0
- package/storybook-static/components/rich-text/prompt-input/commands.d.ts +19 -0
- package/storybook-static/components/rich-text/prompt-input/events.d.ts +15 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +1 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +3 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +1 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +17 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +7 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +4 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +12 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +10 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +9 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +12 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +2 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +13 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +9 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +2 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +6 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +25 -0
- package/storybook-static/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +9 -0
- package/storybook-static/components/rich-text/prompt-input/prompt-input.d.ts +24 -0
- package/storybook-static/components/rich-text/prompt-input/prompt-input.stories.d.ts +8 -0
- package/storybook-static/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +3 -0
- package/storybook-static/components/rich-text/prompt-input/utils.d.ts +23 -0
- package/storybook-static/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +21 -0
- package/storybook-static/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +2 -0
- package/storybook-static/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +2 -0
- package/storybook-static/components/rich-text/rich-message/rich-message.d.ts +7 -0
- package/storybook-static/components/rich-text/rich-message/rich-message.stories.d.ts +6 -0
- package/storybook-static/components/rich-text/shared/components/content-editable.d.ts +7 -0
- package/storybook-static/components/rich-text/shared/components/default-rich-text-components.d.ts +3 -0
- package/storybook-static/components/rich-text/shared/editor-config.d.ts +4 -0
- package/storybook-static/components/rich-text/shared/nodes/DataTableNode.d.ts +22 -0
- package/storybook-static/components/rich-text/shared/nodes/DataTableNode.stories.d.ts +7 -0
- package/storybook-static/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +1 -0
- package/storybook-static/components/rich-text/shared/plugins/CodePlugin/CodeNode.d.ts +19 -0
- package/storybook-static/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +6 -0
- package/storybook-static/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +26 -0
- package/storybook-static/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +4 -0
- package/storybook-static/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +4 -0
- package/storybook-static/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +4 -0
- package/storybook-static/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +1 -0
- package/storybook-static/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +13 -0
- package/storybook-static/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +2 -0
- package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +4 -0
- package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +1 -0
- package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +2 -0
- package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +1 -0
- package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +2 -0
- package/storybook-static/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +6 -0
- package/storybook-static/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.d.ts +5 -0
- package/storybook-static/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +2 -0
- package/storybook-static/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +3 -0
- package/storybook-static/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +1 -0
- package/storybook-static/components/rich-text/shared/transformers/markdown-transformers.d.ts +15 -0
- package/storybook-static/components/rich-text/shared/types/rich-text-components.d.ts +15 -0
- package/storybook-static/components/rich-text/theme/report-theme.d.ts +3 -0
- package/storybook-static/components/rich-text/theme/rich-text-theme.d.ts +3 -0
- package/storybook-static/components/rich-text/types.d.ts +8 -0
- package/storybook-static/components/rich-text/utils/inferResourceType.d.ts +1 -0
- package/storybook-static/components/rich-text/utils/markdown.d.ts +4 -0
- package/storybook-static/components/rich-text/utils/mediaType.d.ts +1 -0
- package/storybook-static/components/schub-logo.d.ts +2 -0
- package/storybook-static/components/slider.d.ts +5 -0
- package/storybook-static/components/style-guide-data.d.ts +46 -0
- package/storybook-static/components/style-guide.d.ts +1 -0
- package/storybook-static/components/style-guide.stories.d.ts +14 -0
- package/storybook-static/components/toaster.stories.d.ts +11 -0
- package/storybook-static/components/tooltip.d.ts +12 -0
- package/storybook-static/favicon-wrapper.svg +46 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +705 -0
- package/storybook-static/index.d.ts +14 -0
- package/storybook-static/index.html +150 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +628 -0
- package/storybook-static/sb-addons/themes-1/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/vitest-2/manager-bundle.js +3 -0
- package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-runtime.js +77956 -0
- package/storybook-static/sb-manager/globals.js +24 -0
- package/storybook-static/sb-manager/manager-stores.js +23 -0
- package/storybook-static/sb-manager/runtime.js +20422 -0
- package/storybook-static/theme/applyThemePreference.d.ts +2 -0
- package/storybook-static/theme/global.d.ts +46 -0
- package/storybook-static/theme/index.d.ts +1 -0
- package/storybook-static/theme/primitives/colors.d.ts +958 -0
- package/storybook-static/theme/primitives/fonts.d.ts +81 -0
- package/storybook-static/theme/primitives/sizes.d.ts +89 -0
- package/storybook-static/theme/recipes/alert.d.ts +1 -0
- package/storybook-static/theme/recipes/button.d.ts +129 -0
- package/storybook-static/theme/recipes/dialog.d.ts +1 -0
- package/storybook-static/theme/recipes/divider.d.ts +1 -0
- package/storybook-static/theme/recipes/drawer.d.ts +1 -0
- package/storybook-static/theme/recipes/editable.d.ts +1 -0
- package/storybook-static/theme/recipes/form.d.ts +1 -0
- package/storybook-static/theme/recipes/input.d.ts +7 -0
- package/storybook-static/theme/recipes/menu.d.ts +1 -0
- package/storybook-static/theme/recipes/popover.d.ts +16 -0
- package/storybook-static/theme/recipes/progress-circle.d.ts +28 -0
- package/storybook-static/theme/recipes/skeleton.d.ts +1 -0
- package/storybook-static/theme/recipes/textarea.d.ts +1 -0
- package/storybook-static/theme/recipes/tooltip.d.ts +1 -0
- package/storybook-static/theme/theme-preference.d.ts +15 -0
- package/storybook-static/theme/theme.d.ts +2 -0
- package/storybook-static/theme/tokens/borders.d.ts +38 -0
- package/storybook-static/theme/tokens/colors.d.ts +898 -0
- package/storybook-static/theme/tokens/layer-styles.d.ts +1 -0
- package/storybook-static/theme/tokens/shadows.d.ts +64 -0
- package/storybook-static/theme/tokens/text.d.ts +1 -0
- package/storybook-static/theme/types.d.ts +1 -0
- package/storybook-static/utils/formats.d.ts +7 -0
- package/storybook-static/utils/get-file-type-icon.d.ts +2 -0
- package/storybook-static/vite-inject-mocker-entry.js +2 -0
- package/tsconfig.json +29 -0
- package/vite.config.ts +82 -0
- package/vitest.shims.d.ts +1 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
export const blacks = {
|
|
2
|
+
DEFAULT: { value: "#0A0D15" },
|
|
3
|
+
50: { value: "#FFFFFF" },
|
|
4
|
+
100: { value: "#F9F9F9" },
|
|
5
|
+
200: { value: "#F5F5F5" },
|
|
6
|
+
300: { value: "#EAEAEA" },
|
|
7
|
+
400: { value: "#C5C5C7" },
|
|
8
|
+
500: { value: "#797D83" },
|
|
9
|
+
600: { value: "#5A5F67" },
|
|
10
|
+
700: { value: "#444750" },
|
|
11
|
+
800: { value: "#22252C" },
|
|
12
|
+
850: { value: "#1A1C21" },
|
|
13
|
+
900: { value: "#0A0D15" },
|
|
14
|
+
1000: { value: "#000000" },
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export const blue = {
|
|
18
|
+
DEFAULT: { value: "#5098FF" },
|
|
19
|
+
50: { value: "#EEF5FF" },
|
|
20
|
+
100: { value: "#D2E4FF" },
|
|
21
|
+
200: { value: "#A8CBFE" },
|
|
22
|
+
300: { value: "#81B4FE" },
|
|
23
|
+
400: { value: "#6CA9FF" },
|
|
24
|
+
500: { value: "#5098FF" },
|
|
25
|
+
600: { value: "#2B82FF" },
|
|
26
|
+
700: { value: "#0E6EF6" },
|
|
27
|
+
800: { value: "#0652C3" },
|
|
28
|
+
900: { value: "#002862" },
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export const sapphire = {
|
|
32
|
+
DEFAULT: { value: "#3A4BE4" },
|
|
33
|
+
25: { value: "#F0F1FF" },
|
|
34
|
+
50: { value: "#E0E3FF" },
|
|
35
|
+
100: { value: "#BEC4FF" },
|
|
36
|
+
200: { value: "#97A2FF" },
|
|
37
|
+
300: { value: "#6A78F8" },
|
|
38
|
+
400: { value: "#4E5FF3" },
|
|
39
|
+
500: { value: "#3A4BE4" },
|
|
40
|
+
600: { value: "#2A3CD7" },
|
|
41
|
+
700: { value: "#202FB8" },
|
|
42
|
+
800: { value: "#131F87" },
|
|
43
|
+
900: { value: "#0A125A" },
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const pink = {
|
|
47
|
+
DEFAULT: { value: "#E054EC" },
|
|
48
|
+
25: { value: "#FDF0FF" },
|
|
49
|
+
50: { value: "#FCE1FF" },
|
|
50
|
+
100: { value: "#F5CBF9" },
|
|
51
|
+
200: { value: "#F6B4FC" },
|
|
52
|
+
300: { value: "#F69AFF" },
|
|
53
|
+
400: { value: "#EF81FA" },
|
|
54
|
+
500: { value: "#E054EC" },
|
|
55
|
+
600: { value: "#B636C1" },
|
|
56
|
+
700: { value: "#951BA0" },
|
|
57
|
+
800: { value: "#6F0C78" },
|
|
58
|
+
900: { value: "#520659" },
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export const peach = {
|
|
62
|
+
DEFAULT: { value: "#FBD8CE" },
|
|
63
|
+
50: { value: "#FFF2EC" },
|
|
64
|
+
100: { value: "#FCE1DA" },
|
|
65
|
+
200: { value: "#FBD8CE" },
|
|
66
|
+
300: { value: "#F7C4B8" },
|
|
67
|
+
400: { value: "#F3AA9A" },
|
|
68
|
+
500: { value: "#EB8A75" },
|
|
69
|
+
600: { value: "#D17059" },
|
|
70
|
+
700: { value: "#A85646" },
|
|
71
|
+
800: { value: "#7B3F34" },
|
|
72
|
+
900: { value: "#522923" },
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export const red = {
|
|
76
|
+
DEFAULT: { value: "#FF3232" },
|
|
77
|
+
50: { value: "#FFE0E3" },
|
|
78
|
+
100: { value: "#FFCCCC" },
|
|
79
|
+
200: { value: "#FDA8A8" },
|
|
80
|
+
300: { value: "#FF8B8B" },
|
|
81
|
+
400: { value: "#FF6B6B" },
|
|
82
|
+
500: { value: "#FF3232" },
|
|
83
|
+
600: { value: "#DE1D1D" },
|
|
84
|
+
700: { value: "#BA1313" },
|
|
85
|
+
800: { value: "#8E0E0E" },
|
|
86
|
+
900: { value: "#580707" },
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export const orange = {
|
|
90
|
+
DEFAULT: { value: "#EB9D2A" },
|
|
91
|
+
50: { value: "#FDF3E5" },
|
|
92
|
+
100: { value: "#FAE6C8" },
|
|
93
|
+
200: { value: "#F7D6A6" },
|
|
94
|
+
300: { value: "#F3C683" },
|
|
95
|
+
400: { value: "#EB9D2A" },
|
|
96
|
+
500: { value: "#CF8A25" },
|
|
97
|
+
600: { value: "#B37720" },
|
|
98
|
+
700: { value: "#92611A" },
|
|
99
|
+
800: { value: "#714B14" },
|
|
100
|
+
900: { value: "#52370F" },
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export const accentPrimary = {
|
|
104
|
+
DEFAULT: { value: "#FFE2BC" },
|
|
105
|
+
light: { value: "#FFF1DE" },
|
|
106
|
+
medium: { value: "#FFE2BC" },
|
|
107
|
+
dark: { value: "#FFD6A8" },
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export const yellow = {
|
|
111
|
+
DEFAULT: { value: "#FFD643" },
|
|
112
|
+
50: { value: "#FFF7D9" },
|
|
113
|
+
100: { value: "#FFEEB3" },
|
|
114
|
+
200: { value: "#FFE792" },
|
|
115
|
+
300: { value: "#FFDE67" },
|
|
116
|
+
400: { value: "#FFD643" },
|
|
117
|
+
500: { value: "#FFC909" },
|
|
118
|
+
600: { value: "#E4B200" },
|
|
119
|
+
700: { value: "#C69B00" },
|
|
120
|
+
800: { value: "#9D7A00" },
|
|
121
|
+
900: { value: "#644E00" },
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export const green = {
|
|
125
|
+
DEFAULT: { value: "#2DD665" },
|
|
126
|
+
50: { value: "#CFFFDF" },
|
|
127
|
+
100: { value: "#ACFBC7" },
|
|
128
|
+
200: { value: "#86F3AB" },
|
|
129
|
+
300: { value: "#61EA8F" },
|
|
130
|
+
400: { value: "#2DD665" },
|
|
131
|
+
500: { value: "#0AB744" },
|
|
132
|
+
600: { value: "#029232" },
|
|
133
|
+
700: { value: "#007126" },
|
|
134
|
+
800: { value: "#00511B" },
|
|
135
|
+
900: { value: "#003110" },
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export const teal = {
|
|
139
|
+
DEFAULT: { value: "#3EECC4" },
|
|
140
|
+
50: { value: "#C9FFF3" },
|
|
141
|
+
100: { value: "#9EFBE6" },
|
|
142
|
+
200: { value: "#6DF4D5" },
|
|
143
|
+
300: { value: "#3EECC4" },
|
|
144
|
+
400: { value: "#16DFB0" },
|
|
145
|
+
500: { value: "#12C69C" },
|
|
146
|
+
600: { value: "#10A884" },
|
|
147
|
+
700: { value: "#0C8367" },
|
|
148
|
+
800: { value: "#096C55" },
|
|
149
|
+
900: { value: "#024F3D" },
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export const cyan = {
|
|
153
|
+
DEFAULT: { value: "#5CDCFF" },
|
|
154
|
+
50: { value: "#DAF7FE" },
|
|
155
|
+
100: { value: "#ADEDFF" },
|
|
156
|
+
200: { value: "#85E4FF" },
|
|
157
|
+
300: { value: "#5CDCFF" },
|
|
158
|
+
400: { value: "#30D2FF" },
|
|
159
|
+
500: { value: "#00C0F5" },
|
|
160
|
+
600: { value: "#03AAD7" },
|
|
161
|
+
700: { value: "#0095BE" },
|
|
162
|
+
800: { value: "#007A9B" },
|
|
163
|
+
900: { value: "#005B73" },
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export const purple = {
|
|
167
|
+
DEFAULT: { value: "#8B47FF" },
|
|
168
|
+
50: { value: "#EFE6FF" },
|
|
169
|
+
100: { value: "#D8C2FF" },
|
|
170
|
+
200: { value: "#BE99FF" },
|
|
171
|
+
300: { value: "#A36DFF" },
|
|
172
|
+
400: { value: "#8B47FF" },
|
|
173
|
+
500: { value: "#7223F9" },
|
|
174
|
+
600: { value: "#5A00F5" },
|
|
175
|
+
700: { value: "#4600C0" },
|
|
176
|
+
800: { value: "#310086" },
|
|
177
|
+
900: { value: "#1E0050" },
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
export const sand = {
|
|
181
|
+
DEFAULT: { value: "#F4F2EC" },
|
|
182
|
+
50: { value: "#FCF7EF" },
|
|
183
|
+
100: { value: "#F4F2EC" },
|
|
184
|
+
200: { value: "#E8CECE" },
|
|
185
|
+
300: { value: "#E8CECE" },
|
|
186
|
+
400: { value: "#E8CECE" },
|
|
187
|
+
500: { value: "#E8CECE" },
|
|
188
|
+
600: { value: "#E8CECE" },
|
|
189
|
+
700: { value: "#E8CECE" },
|
|
190
|
+
800: { value: "#E8CECE" },
|
|
191
|
+
900: { value: "#E8CECE" },
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
export const colors = {
|
|
195
|
+
sand,
|
|
196
|
+
blacks,
|
|
197
|
+
blue,
|
|
198
|
+
sapphire,
|
|
199
|
+
pink,
|
|
200
|
+
peach,
|
|
201
|
+
red,
|
|
202
|
+
accentPrimary,
|
|
203
|
+
orange,
|
|
204
|
+
yellow,
|
|
205
|
+
green,
|
|
206
|
+
teal,
|
|
207
|
+
cyan,
|
|
208
|
+
purple,
|
|
209
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export const fonts = {
|
|
2
|
+
display: { value: "'Playfair Display', serif" },
|
|
3
|
+
brand: { value: "Onest, sans-serif" },
|
|
4
|
+
heading: { value: "Onest, sans-serif" },
|
|
5
|
+
label: { value: "Onest, sans-serif" },
|
|
6
|
+
body: { value: "Inter, sans-serif" },
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const fontSizes = {
|
|
10
|
+
xs: { value: "0.625rem" }, // 10px
|
|
11
|
+
sm: { value: "0.75rem" }, // 12px
|
|
12
|
+
md: { value: "0.875rem" }, // 14px
|
|
13
|
+
lg: { value: "1rem" }, // 16px
|
|
14
|
+
xl: { value: "1.125rem" }, // 18px
|
|
15
|
+
"2xl": { value: "1.25rem" }, // 20px
|
|
16
|
+
"3xl": { value: "1.5rem" }, // 24px
|
|
17
|
+
"3.5xl": { value: "1.75rem" }, // 28px
|
|
18
|
+
"4xl": { value: "2.25rem" }, // 36px
|
|
19
|
+
"5xl": { value: "3rem" }, // 48px
|
|
20
|
+
"6xl": { value: "4.375rem" }, // 70px
|
|
21
|
+
"7xl": { value: "5.25rem" }, // 84px
|
|
22
|
+
"icon-xs": { value: "0.875rem" }, // 14px
|
|
23
|
+
"icon-sm": { value: "1rem" }, // 16px
|
|
24
|
+
"icon-md": { value: "1.25rem" }, // 20px
|
|
25
|
+
"icon-lg": { value: "1.25rem" }, // 20px
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const fontWeights = {
|
|
29
|
+
regular: { value: 400 },
|
|
30
|
+
medium: { value: 500 },
|
|
31
|
+
semibold: { value: 600 },
|
|
32
|
+
bold: { value: 700 },
|
|
33
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export const sp = {
|
|
2
|
+
0: "0rem", // 0px
|
|
3
|
+
25: "0.125rem", // 2px
|
|
4
|
+
50: "0.25rem", // 4px
|
|
5
|
+
100: "0.5rem", // 8px
|
|
6
|
+
150: "0.75rem", // 12px
|
|
7
|
+
200: "1rem", // 16px
|
|
8
|
+
250: "1.25rem", // 20px
|
|
9
|
+
300: "1.5rem", // 24px
|
|
10
|
+
400: "2rem", // 32px
|
|
11
|
+
500: "2.5rem", // 40px
|
|
12
|
+
600: "3rem", // 48px
|
|
13
|
+
700: "3.5rem", // 56px
|
|
14
|
+
800: "4rem", // 64px
|
|
15
|
+
900: "4.5rem", // 72px
|
|
16
|
+
1000: "5rem", // 80px
|
|
17
|
+
1200: "6rem", // 96px
|
|
18
|
+
1600: "8rem", // 128px
|
|
19
|
+
2000: "10rem", // 160px
|
|
20
|
+
3000: "15rem", // 240px
|
|
21
|
+
4000: "20rem", // 320px
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export const spacing = {
|
|
25
|
+
none: { value: "0" },
|
|
26
|
+
"2xs": { value: sp[50] },
|
|
27
|
+
xs: { value: sp[100] },
|
|
28
|
+
sm: { value: sp[150] },
|
|
29
|
+
md: { value: sp[200] },
|
|
30
|
+
lg: { value: sp[300] },
|
|
31
|
+
xl: { value: sp[400] },
|
|
32
|
+
"2xl": { value: sp[500] },
|
|
33
|
+
"3xl": { value: sp[600] },
|
|
34
|
+
"3.5xl": { value: sp[700] },
|
|
35
|
+
"4xl": { value: sp[800] },
|
|
36
|
+
"4.5xl": { value: sp[900] },
|
|
37
|
+
"5xl": { value: sp[1600] },
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const radii = {
|
|
41
|
+
none: { value: "0" },
|
|
42
|
+
"2xs": { value: sp[25] },
|
|
43
|
+
xs: { value: sp[50] },
|
|
44
|
+
sm: { value: sp[100] },
|
|
45
|
+
md: { value: sp[150] },
|
|
46
|
+
lg: { value: sp[200] },
|
|
47
|
+
xl: { value: sp[400] },
|
|
48
|
+
full: { value: "100%" },
|
|
49
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineSlotRecipe } from "@chakra-ui/react";
|
|
2
|
+
import { alertAnatomy } from "@chakra-ui/react/anatomy";
|
|
3
|
+
|
|
4
|
+
export const alertSlotRecipe = defineSlotRecipe({
|
|
5
|
+
slots: alertAnatomy.keys(),
|
|
6
|
+
base: {
|
|
7
|
+
root: {
|
|
8
|
+
pt: "xs",
|
|
9
|
+
pb: "xs",
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { defineRecipe } from "@chakra-ui/react";
|
|
2
|
+
|
|
3
|
+
export const buttonRecipe = defineRecipe({
|
|
4
|
+
base: {
|
|
5
|
+
borderRadius: "sm",
|
|
6
|
+
transition: "all 0.1s ease-in-out",
|
|
7
|
+
fontFamily: "label",
|
|
8
|
+
fontWeight: "500",
|
|
9
|
+
color: "fg",
|
|
10
|
+
bg: "bg",
|
|
11
|
+
borderColor: "border.muted",
|
|
12
|
+
_disabled: {
|
|
13
|
+
opacity: 1,
|
|
14
|
+
color: "fg.subtle",
|
|
15
|
+
bg: "bg.muted",
|
|
16
|
+
_hover: { bg: "bg.muted" },
|
|
17
|
+
},
|
|
18
|
+
_loading: {
|
|
19
|
+
opacity: 1,
|
|
20
|
+
color: "fg.subtle",
|
|
21
|
+
bg: "bg.muted",
|
|
22
|
+
_hover: { bg: "bg.muted" },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
variants: {
|
|
26
|
+
variant: {
|
|
27
|
+
"display-primary": {
|
|
28
|
+
bg: "blacks.900",
|
|
29
|
+
color: "fg.inverted",
|
|
30
|
+
borderRadius: "xl",
|
|
31
|
+
outline: "none",
|
|
32
|
+
border: "none",
|
|
33
|
+
_hover: { bg: "blacks.800" },
|
|
34
|
+
},
|
|
35
|
+
"display-outline": {
|
|
36
|
+
bg: "transparent",
|
|
37
|
+
color: "fg",
|
|
38
|
+
borderRadius: "xl",
|
|
39
|
+
border: "2px solid {fg}",
|
|
40
|
+
_hover: { bg: "bg.muted" },
|
|
41
|
+
_active: { bg: "bg.emphasized" },
|
|
42
|
+
},
|
|
43
|
+
"display-ghost": {
|
|
44
|
+
bg: "transparent",
|
|
45
|
+
color: "fg",
|
|
46
|
+
borderRadius: "xl",
|
|
47
|
+
_hover: { bg: "bg.muted" },
|
|
48
|
+
_active: { bg: "bg.emphasized" },
|
|
49
|
+
},
|
|
50
|
+
"display-link": {
|
|
51
|
+
bg: "transparent",
|
|
52
|
+
color: "fg",
|
|
53
|
+
border: "none",
|
|
54
|
+
borderRadius: "xl",
|
|
55
|
+
_hover: { textDecoration: "underline" },
|
|
56
|
+
_active: { textDecoration: "underline" },
|
|
57
|
+
},
|
|
58
|
+
primary: {
|
|
59
|
+
color: "blacks.1000",
|
|
60
|
+
bg: "bg.accent-primary.medium",
|
|
61
|
+
border: "none",
|
|
62
|
+
_hover: { bg: "bg.accent-primary.light" },
|
|
63
|
+
_active: { bg: "bg.accent-primary.medium" },
|
|
64
|
+
},
|
|
65
|
+
secondary: {
|
|
66
|
+
color: "fg",
|
|
67
|
+
bg: "bg",
|
|
68
|
+
border: "2px solid border.muted",
|
|
69
|
+
_hover: { bg: "bg.muted" },
|
|
70
|
+
_active: { bg: "bg.emphasized" },
|
|
71
|
+
_disabled: {
|
|
72
|
+
opacity: 1,
|
|
73
|
+
color: "fg.subtle",
|
|
74
|
+
borderColor: "border.muted",
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
outline: {
|
|
78
|
+
color: "fg",
|
|
79
|
+
bg: "bg",
|
|
80
|
+
border: "border.muted",
|
|
81
|
+
_hover: { bg: "bg.muted" },
|
|
82
|
+
_active: { bg: "bg.emphasized" },
|
|
83
|
+
_disabled: {
|
|
84
|
+
opacity: 1,
|
|
85
|
+
color: "fg.subtle",
|
|
86
|
+
borderColor: "border.muted",
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
ghost: {
|
|
90
|
+
color: "fg",
|
|
91
|
+
bg: "transparent",
|
|
92
|
+
border: "none",
|
|
93
|
+
_hover: { bg: "bg.muted" },
|
|
94
|
+
_active: { bg: "bg.emphasized" },
|
|
95
|
+
_disabled: {
|
|
96
|
+
bg: "transparent",
|
|
97
|
+
_hover: { bg: "transparent" },
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
size: {
|
|
102
|
+
"2xl": {
|
|
103
|
+
px: "1.5rem",
|
|
104
|
+
h: "3.5rem",
|
|
105
|
+
textStyle: "label/L/medium",
|
|
106
|
+
},
|
|
107
|
+
lg: {
|
|
108
|
+
px: "1rem",
|
|
109
|
+
h: "3rem",
|
|
110
|
+
textStyle: "label/M/medium",
|
|
111
|
+
},
|
|
112
|
+
md: {
|
|
113
|
+
textStyle: "label/M/medium",
|
|
114
|
+
},
|
|
115
|
+
sm: {
|
|
116
|
+
px: "0.5rem",
|
|
117
|
+
h: "2rem",
|
|
118
|
+
textStyle: "label/S/medium",
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
defaultVariants: { size: "md", variant: "outline" },
|
|
124
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineSlotRecipe } from "@chakra-ui/react";
|
|
2
|
+
import { drawerAnatomy as parts } from "@chakra-ui/react/anatomy";
|
|
3
|
+
|
|
4
|
+
export const drawerSlotRecipe = defineSlotRecipe({
|
|
5
|
+
slots: parts.keys(),
|
|
6
|
+
base: {
|
|
7
|
+
header: {
|
|
8
|
+
fontWeight: "medium",
|
|
9
|
+
textStyle: "label/M/medium",
|
|
10
|
+
p: "xs",
|
|
11
|
+
},
|
|
12
|
+
content: {
|
|
13
|
+
bg: "bg",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineSlotRecipe } from "@chakra-ui/react";
|
|
2
|
+
|
|
3
|
+
export const editableSlotRecipe = defineSlotRecipe({
|
|
4
|
+
slots: ["preview", "input", "textarea"] as const,
|
|
5
|
+
base: {
|
|
6
|
+
preview: {
|
|
7
|
+
textStyle: "label/L/medium",
|
|
8
|
+
borderRadius: "2xs",
|
|
9
|
+
focusRingColor: "border",
|
|
10
|
+
py: "0",
|
|
11
|
+
lineHeight: "1.5rem",
|
|
12
|
+
transitionProperty: "common",
|
|
13
|
+
transitionDuration: "normal",
|
|
14
|
+
_hover: { bg: "bg.muted" },
|
|
15
|
+
},
|
|
16
|
+
input: {
|
|
17
|
+
textStyle: "label/L/medium",
|
|
18
|
+
borderRadius: "2xs",
|
|
19
|
+
focusRingColor: "border",
|
|
20
|
+
py: "0",
|
|
21
|
+
lineHeight: "1.5rem",
|
|
22
|
+
transitionProperty: "common",
|
|
23
|
+
transitionDuration: "normal",
|
|
24
|
+
bg: "bg",
|
|
25
|
+
width: "auto",
|
|
26
|
+
_focusVisible: { boxShadow: "none" },
|
|
27
|
+
_placeholder: { color: "fg.muted" },
|
|
28
|
+
},
|
|
29
|
+
textarea: {
|
|
30
|
+
textStyle: "label/L/medium",
|
|
31
|
+
borderRadius: "2xs",
|
|
32
|
+
focusRingColor: "border",
|
|
33
|
+
py: "0",
|
|
34
|
+
transitionProperty: "common",
|
|
35
|
+
transitionDuration: "normal",
|
|
36
|
+
bg: "bg.muted",
|
|
37
|
+
width: "auto",
|
|
38
|
+
_focusVisible: { boxShadow: "none" },
|
|
39
|
+
_placeholder: { color: "fg.muted" },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineRecipe } from "@chakra-ui/react";
|
|
2
|
+
|
|
3
|
+
export const inputRecipe = defineRecipe({
|
|
4
|
+
base: {
|
|
5
|
+
px: "sm",
|
|
6
|
+
borderRadius: "sm",
|
|
7
|
+
border: "1px solid",
|
|
8
|
+
transition: "border-color 0.2s ease-in-out",
|
|
9
|
+
bg: "bg",
|
|
10
|
+
color: "fg",
|
|
11
|
+
borderColor: "border.muted",
|
|
12
|
+
_hover: { borderColor: "border" },
|
|
13
|
+
_active: { borderColor: "blue.border" },
|
|
14
|
+
_focus: { borderColor: "blue.border" },
|
|
15
|
+
_focusVisible: { borderColor: "blue.border" },
|
|
16
|
+
_placeholder: { color: "fg.subtle" },
|
|
17
|
+
},
|
|
18
|
+
variants: {
|
|
19
|
+
size: {
|
|
20
|
+
sm: {
|
|
21
|
+
h: "2rem",
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineSlotRecipe } from "@chakra-ui/react";
|
|
2
|
+
import { menuAnatomy } from "@chakra-ui/react/anatomy";
|
|
3
|
+
|
|
4
|
+
export const menuSlotRecipe = defineSlotRecipe({
|
|
5
|
+
slots: menuAnatomy.keys(),
|
|
6
|
+
base: {
|
|
7
|
+
itemGroupLabel: {
|
|
8
|
+
ml: "{2xs}",
|
|
9
|
+
textStyle: "label/S/regular",
|
|
10
|
+
fontWeight: "normal",
|
|
11
|
+
color: "fg.muted",
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
item: {
|
|
15
|
+
bg: "bg",
|
|
16
|
+
color: "fg",
|
|
17
|
+
textStyle: "label/M/regular",
|
|
18
|
+
px: "0.5rem",
|
|
19
|
+
h: "2.25rem",
|
|
20
|
+
_hover: { bg: "bg.muted" },
|
|
21
|
+
_focus: { bg: "bg.muted" },
|
|
22
|
+
_active: { bg: "bg.emphasized" },
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
content: {
|
|
26
|
+
display: "flex",
|
|
27
|
+
flexDirection: "column",
|
|
28
|
+
gap: "2xs",
|
|
29
|
+
borderRadius: "sm",
|
|
30
|
+
py: "xs",
|
|
31
|
+
bg: "bg",
|
|
32
|
+
borderWidth: "1px",
|
|
33
|
+
borderStyle: "solid",
|
|
34
|
+
borderColor: "border.muted",
|
|
35
|
+
boxShadow: "low",
|
|
36
|
+
zIndex: "dropdown",
|
|
37
|
+
textStyle: "label/M/regular",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
});
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineSlotRecipe } from "@chakra-ui/react";
|
|
2
|
+
import { popoverAnatomy } from "@chakra-ui/react/anatomy";
|
|
3
|
+
|
|
4
|
+
export const popoverRecipe = defineSlotRecipe({
|
|
5
|
+
slots: popoverAnatomy.keys(),
|
|
6
|
+
base: {
|
|
7
|
+
positioner: {
|
|
8
|
+
_focus: { boxShadow: "none !important" },
|
|
9
|
+
},
|
|
10
|
+
closeTrigger: {
|
|
11
|
+
textStyle: "label/M/medium",
|
|
12
|
+
color: "fg",
|
|
13
|
+
},
|
|
14
|
+
arrow: {
|
|
15
|
+
bg: "background-primary !important",
|
|
16
|
+
borderColor: "button-secondary-stroke",
|
|
17
|
+
},
|
|
18
|
+
content: {
|
|
19
|
+
gap: "8px",
|
|
20
|
+
py: "xs",
|
|
21
|
+
borderRadius: "12px",
|
|
22
|
+
bg: "bg",
|
|
23
|
+
borderColor: "border",
|
|
24
|
+
_focus: { boxShadow: "none !important" },
|
|
25
|
+
},
|
|
26
|
+
title: {
|
|
27
|
+
borderBottom: "none",
|
|
28
|
+
textStyle: "label/M/medium",
|
|
29
|
+
bg: "bg",
|
|
30
|
+
},
|
|
31
|
+
body: { textStyle: "primary" },
|
|
32
|
+
footer: {},
|
|
33
|
+
},
|
|
34
|
+
variants: {
|
|
35
|
+
variant: {
|
|
36
|
+
responsive: {
|
|
37
|
+
content: { width: "unset" },
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
size: {
|
|
41
|
+
"2xl": {
|
|
42
|
+
content: { width: "2xl" },
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { progressCircleSlotRecipe as baseProgressCircleSlotRecipe } from "@chakra-ui/react/theme";
|
|
2
|
+
|
|
3
|
+
const baseSizeVariants = baseProgressCircleSlotRecipe.variants?.size ?? {};
|
|
4
|
+
|
|
5
|
+
export const progressCircleSlotRecipe = {
|
|
6
|
+
...baseProgressCircleSlotRecipe,
|
|
7
|
+
variants: {
|
|
8
|
+
...baseProgressCircleSlotRecipe.variants,
|
|
9
|
+
size: {
|
|
10
|
+
...baseSizeVariants,
|
|
11
|
+
"2xs": {
|
|
12
|
+
circle: {
|
|
13
|
+
"--size": "14px",
|
|
14
|
+
"--thickness": "2px",
|
|
15
|
+
},
|
|
16
|
+
valueText: {
|
|
17
|
+
textStyle: "2xs",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|