@lobehub/ui 4.3.2 → 4.3.3
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/es/Accordion/Accordion.mjs +2 -2
- package/es/Accordion/Accordion.mjs.map +1 -1
- package/es/Accordion/AccordionItem.mjs +11 -2
- package/es/Accordion/AccordionItem.mjs.map +1 -1
- package/es/Accordion/style.mjs +12 -9
- package/es/Accordion/style.mjs.map +1 -1
- package/es/ActionIcon/ActionIcon.d.mts +2 -2
- package/es/ActionIcon/ActionIcon.mjs +2 -57
- package/es/ActionIcon/ActionIcon.mjs.map +1 -1
- package/es/ActionIcon/style.mjs +76 -20
- package/es/ActionIcon/style.mjs.map +1 -1
- package/es/ActionIconGroup/ActionIconGroup.mjs +2 -30
- package/es/ActionIconGroup/ActionIconGroup.mjs.map +1 -1
- package/es/ActionIconGroup/style.mjs +39 -10
- package/es/ActionIconGroup/style.mjs.map +1 -1
- package/es/Alert/Alert.d.mts +2 -2
- package/es/Alert/Alert.mjs +17 -60
- package/es/Alert/Alert.mjs.map +1 -1
- package/es/Alert/style.mjs +318 -82
- package/es/Alert/style.mjs.map +1 -1
- package/es/AutoComplete/Select.d.mts +2 -2
- package/es/AutoComplete/Select.mjs +7 -21
- package/es/AutoComplete/Select.mjs.map +1 -1
- package/es/AutoComplete/style.mjs +32 -15
- package/es/AutoComplete/style.mjs.map +1 -1
- package/es/Avatar/Avatar.mjs +12 -24
- package/es/Avatar/Avatar.mjs.map +1 -1
- package/es/Avatar/AvatarGroup/index.d.mts +2 -2
- package/es/Avatar/AvatarGroup/index.mjs +3 -3
- package/es/Avatar/AvatarGroup/index.mjs.map +1 -1
- package/es/Avatar/AvatarGroup/style.mjs +9 -8
- package/es/Avatar/AvatarGroup/style.mjs.map +1 -1
- package/es/Avatar/style.mjs +30 -10
- package/es/Avatar/style.mjs.map +1 -1
- package/es/Block/Block.mjs +3 -48
- package/es/Block/Block.mjs.map +1 -1
- package/es/Block/style.mjs +58 -12
- package/es/Block/style.mjs.map +1 -1
- package/es/Burger/Burger.d.mts +2 -2
- package/es/Burger/Burger.mjs +21 -8
- package/es/Burger/Burger.mjs.map +1 -1
- package/es/Burger/style.mjs +115 -96
- package/es/Burger/style.mjs.map +1 -1
- package/es/Button/Button.mjs +6 -21
- package/es/Button/Button.mjs.map +1 -1
- package/es/Button/style.mjs +25 -7
- package/es/Button/style.mjs.map +1 -1
- package/es/Checkbox/Checkbox.mjs +2 -2
- package/es/Checkbox/Checkbox.mjs.map +1 -1
- package/es/Checkbox/style.mjs +12 -13
- package/es/Checkbox/style.mjs.map +1 -1
- package/es/CodeEditor/CodeEditor.d.mts +2 -2
- package/es/CodeEditor/CodeEditor.mjs +5 -13
- package/es/CodeEditor/CodeEditor.mjs.map +1 -1
- package/es/CodeEditor/style.mjs +21 -12
- package/es/CodeEditor/style.mjs.map +1 -1
- package/es/Collapse/Collapse.d.mts +2 -2
- package/es/Collapse/Collapse.mjs +4 -29
- package/es/Collapse/Collapse.mjs.map +1 -1
- package/es/Collapse/style.mjs +78 -18
- package/es/Collapse/style.mjs.map +1 -1
- package/es/ColorSwatches/ColorSwatches.mjs +20 -14
- package/es/ColorSwatches/ColorSwatches.mjs.map +1 -1
- package/es/ColorSwatches/style.mjs +35 -34
- package/es/ColorSwatches/style.mjs.map +1 -1
- package/es/ConfigProvider/index.d.mts +2 -2
- package/es/CopyButton/CopyButton.d.mts +2 -2
- package/es/DatePicker/DatePicker.d.mts +2 -2
- package/es/DatePicker/DatePicker.mjs +7 -21
- package/es/DatePicker/DatePicker.mjs.map +1 -1
- package/es/DatePicker/style.mjs +24 -7
- package/es/DatePicker/style.mjs.map +1 -1
- package/es/DraggablePanel/DraggablePanel.mjs +19 -62
- package/es/DraggablePanel/DraggablePanel.mjs.map +1 -1
- package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelBody.mjs +2 -2
- package/es/DraggablePanel/components/DraggablePanelBody.mjs.map +1 -1
- package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelContainer.mjs +2 -2
- package/es/DraggablePanel/components/DraggablePanelContainer.mjs.map +1 -1
- package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelFooter.mjs +2 -2
- package/es/DraggablePanel/components/DraggablePanelFooter.mjs.map +1 -1
- package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelHeader.mjs +2 -2
- package/es/DraggablePanel/components/DraggablePanelHeader.mjs.map +1 -1
- package/es/DraggablePanel/components/style.mjs +6 -6
- package/es/DraggablePanel/components/style.mjs.map +1 -1
- package/es/DraggablePanel/style.mjs +336 -194
- package/es/DraggablePanel/style.mjs.map +1 -1
- package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
- package/es/DraggableSideNav/DraggableSideNav.mjs +11 -8
- package/es/DraggableSideNav/DraggableSideNav.mjs.map +1 -1
- package/es/DraggableSideNav/style.mjs +192 -181
- package/es/DraggableSideNav/style.mjs.map +1 -1
- package/es/Drawer/Drawer.d.mts +2 -2
- package/es/Drawer/Drawer.mjs +11 -13
- package/es/Drawer/Drawer.mjs.map +1 -1
- package/es/Dropdown/Dropdown.d.mts +2 -2
- package/es/EditableText/EditableText.d.mts +2 -2
- package/es/EditableText/EditableText.mjs +1 -1
- package/es/EmojiPicker/AvatarUploader.mjs +3 -4
- package/es/EmojiPicker/AvatarUploader.mjs.map +1 -1
- package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
- package/es/EmojiPicker/EmojiPicker.mjs +11 -4
- package/es/EmojiPicker/EmojiPicker.mjs.map +1 -1
- package/es/EmojiPicker/style.mjs +9 -9
- package/es/EmojiPicker/style.mjs.map +1 -1
- package/es/Empty/Empty.mjs +4 -4
- package/es/Empty/Empty.mjs.map +1 -1
- package/es/FileTypeIcon/FileTypeIcon.mjs +5 -6
- package/es/FileTypeIcon/FileTypeIcon.mjs.map +1 -1
- package/es/FileTypeIcon/components/FileIcon.mjs +5 -5
- package/es/FileTypeIcon/components/FileIcon.mjs.map +1 -1
- package/es/FileTypeIcon/components/FolderIcon.mjs +4 -4
- package/es/FileTypeIcon/components/FolderIcon.mjs.map +1 -1
- package/es/FileTypeIcon/style.mjs +3 -3
- package/es/FileTypeIcon/style.mjs.map +1 -1
- package/es/Flex/FlexBasic.d.mts +2 -2
- package/es/FluentEmoji/FluentEmoji.mjs +2 -2
- package/es/FluentEmoji/FluentEmoji.mjs.map +1 -1
- package/es/FluentEmoji/style.mjs +3 -3
- package/es/FluentEmoji/style.mjs.map +1 -1
- package/es/FontLoader/index.d.mts +2 -2
- package/es/Footer/Footer.d.mts +2 -2
- package/es/Footer/Footer.mjs +10 -8
- package/es/Footer/Footer.mjs.map +1 -1
- package/es/Footer/style.mjs +169 -133
- package/es/Footer/style.mjs.map +1 -1
- package/es/Form/Form.mjs +4 -14
- package/es/Form/Form.mjs.map +1 -1
- package/es/Form/components/FormDivider.mjs +3 -4
- package/es/Form/components/FormDivider.mjs.map +1 -1
- package/es/Form/components/FormFlatGroup.mjs +4 -14
- package/es/Form/components/FormFlatGroup.mjs.map +1 -1
- package/es/Form/components/FormGroup.d.mts +2 -2
- package/es/Form/components/FormGroup.mjs +5 -13
- package/es/Form/components/FormGroup.mjs.map +1 -1
- package/es/Form/components/FormItem.d.mts +2 -2
- package/es/Form/components/FormItem.mjs +12 -27
- package/es/Form/components/FormItem.mjs.map +1 -1
- package/es/Form/components/FormSubmitFooter.d.mts +2 -2
- package/es/Form/components/FormSubmitFooter.mjs +5 -4
- package/es/Form/components/FormSubmitFooter.mjs.map +1 -1
- package/es/Form/components/FormTitle.mjs +5 -5
- package/es/Form/components/FormTitle.mjs.map +1 -1
- package/es/Form/style.mjs +120 -72
- package/es/Form/style.mjs.map +1 -1
- package/es/FormModal/FormModal.d.mts +2 -2
- package/es/FormModal/FormModal.mjs +7 -8
- package/es/FormModal/FormModal.mjs.map +1 -1
- package/es/FormModal/style.mjs +7 -7
- package/es/FormModal/style.mjs.map +1 -1
- package/es/Grid/Grid.mjs +17 -4
- package/es/Grid/Grid.mjs.map +1 -1
- package/es/Grid/style.mjs +15 -16
- package/es/Grid/style.mjs.map +1 -1
- package/es/GroupAvatar/GroupAvatar.mjs +2 -14
- package/es/GroupAvatar/GroupAvatar.mjs.map +1 -1
- package/es/GroupAvatar/style.mjs +27 -16
- package/es/GroupAvatar/style.mjs.map +1 -1
- package/es/GuideCard/GuideCard.d.mts +2 -2
- package/es/GuideCard/GuideCard.mjs +5 -21
- package/es/GuideCard/GuideCard.mjs.map +1 -1
- package/es/GuideCard/style.mjs +57 -15
- package/es/GuideCard/style.mjs.map +1 -1
- package/es/Header/Header.d.mts +2 -2
- package/es/Header/Header.mjs +6 -7
- package/es/Header/Header.mjs.map +1 -1
- package/es/Header/style.mjs +8 -10
- package/es/Header/style.mjs.map +1 -1
- package/es/Highlighter/FullFeatured.mjs +2 -40
- package/es/Highlighter/FullFeatured.mjs.map +1 -1
- package/es/Highlighter/Highlighter.d.mts +2 -2
- package/es/Highlighter/Highlighter.mjs +2 -25
- package/es/Highlighter/Highlighter.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs +1 -1
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs +11 -31
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
- package/es/Highlighter/SyntaxHighlighter/index.mjs +3 -31
- package/es/Highlighter/SyntaxHighlighter/index.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/style.mjs +43 -16
- package/es/Highlighter/SyntaxHighlighter/style.mjs.map +1 -1
- package/es/Highlighter/style.mjs +64 -25
- package/es/Highlighter/style.mjs.map +1 -1
- package/es/Highlighter/theme/lobe-theme.mjs +370 -0
- package/es/Highlighter/theme/lobe-theme.mjs.map +1 -0
- package/es/Hotkey/Hotkey.d.mts +2 -2
- package/es/Hotkey/Hotkey.mjs +5 -20
- package/es/Hotkey/Hotkey.mjs.map +1 -1
- package/es/Hotkey/style.mjs +53 -17
- package/es/Hotkey/style.mjs.map +1 -1
- package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
- package/es/HotkeyInput/HotkeyInput.mjs +5 -36
- package/es/HotkeyInput/HotkeyInput.mjs.map +1 -1
- package/es/HotkeyInput/style.mjs +46 -14
- package/es/HotkeyInput/style.mjs.map +1 -1
- package/es/Icon/Icon.d.mts +2 -2
- package/es/Icon/Icon.mjs +2 -10
- package/es/Icon/Icon.mjs.map +1 -1
- package/es/Icon/components/IconProvider.d.mts +3 -3
- package/es/Icon/style.mjs +15 -6
- package/es/Icon/style.mjs.map +1 -1
- package/es/Image/Image.mjs +8 -15
- package/es/Image/Image.mjs.map +1 -1
- package/es/Image/PreviewGroup.d.mts +2 -2
- package/es/Image/components/Toolbar.mjs +1 -2
- package/es/Image/components/Toolbar.mjs.map +1 -1
- package/es/Image/components/usePreview.mjs +2 -2
- package/es/Image/components/usePreview.mjs.map +1 -1
- package/es/Image/components/usePreviewGroup.mjs +4 -4
- package/es/Image/components/usePreviewGroup.mjs.map +1 -1
- package/es/Image/style.mjs +79 -54
- package/es/Image/style.mjs.map +1 -1
- package/es/ImageSelect/ImageSelect.mjs +2 -2
- package/es/ImageSelect/ImageSelect.mjs.map +1 -1
- package/es/ImageSelect/styles.mjs +11 -10
- package/es/ImageSelect/styles.mjs.map +1 -1
- package/es/Input/Input.d.mts +2 -2
- package/es/Input/Input.mjs +7 -21
- package/es/Input/Input.mjs.map +1 -1
- package/es/Input/InputNumber.d.mts +2 -2
- package/es/Input/InputNumber.mjs +7 -21
- package/es/Input/InputNumber.mjs.map +1 -1
- package/es/Input/InputOPT.d.mts +2 -2
- package/es/Input/InputOPT.mjs +7 -22
- package/es/Input/InputOPT.mjs.map +1 -1
- package/es/Input/InputPassword.d.mts +2 -2
- package/es/Input/InputPassword.mjs +6 -21
- package/es/Input/InputPassword.mjs.map +1 -1
- package/es/Input/TextArea.d.mts +2 -2
- package/es/Input/TextArea.mjs +6 -21
- package/es/Input/TextArea.mjs.map +1 -1
- package/es/Input/style.mjs +57 -25
- package/es/Input/style.mjs.map +1 -1
- package/es/Layout/Layout.mjs +36 -33
- package/es/Layout/Layout.mjs.map +1 -1
- package/es/Layout/components/LayoutFooter.d.mts +2 -2
- package/es/Layout/components/LayoutFooter.mjs +2 -2
- package/es/Layout/components/LayoutFooter.mjs.map +1 -1
- package/es/Layout/components/LayoutHeader.d.mts +2 -2
- package/es/Layout/components/LayoutHeader.mjs +2 -2
- package/es/Layout/components/LayoutHeader.mjs.map +1 -1
- package/es/Layout/components/LayoutMain.d.mts +2 -2
- package/es/Layout/components/LayoutMain.mjs +2 -2
- package/es/Layout/components/LayoutMain.mjs.map +1 -1
- package/es/Layout/components/LayoutSidebar.d.mts +2 -2
- package/es/Layout/components/LayoutSidebar.mjs +3 -3
- package/es/Layout/components/LayoutSidebar.mjs.map +1 -1
- package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
- package/es/Layout/components/LayoutSidebarInner.mjs +2 -2
- package/es/Layout/components/LayoutSidebarInner.mjs.map +1 -1
- package/es/Layout/components/LayoutToc.d.mts +2 -2
- package/es/Layout/components/LayoutToc.mjs +2 -2
- package/es/Layout/components/LayoutToc.mjs.map +1 -1
- package/es/Layout/style.mjs +6 -5
- package/es/Layout/style.mjs.map +1 -1
- package/es/List/ListItem/index.d.mts +2 -2
- package/es/List/ListItem/index.mjs +2 -2
- package/es/List/ListItem/index.mjs.map +1 -1
- package/es/List/ListItem/style.mjs +12 -11
- package/es/List/ListItem/style.mjs.map +1 -1
- package/es/Markdown/Markdown.d.mts +2 -2
- package/es/Markdown/Markdown.mjs +3 -25
- package/es/Markdown/Markdown.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +1 -2
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/style.mjs +3 -3
- package/es/Markdown/SyntaxMarkdown/style.mjs.map +1 -1
- package/es/Markdown/Typography.d.mts +2 -2
- package/es/Markdown/Typography.mjs +2 -2
- package/es/Markdown/Typography.mjs.map +1 -1
- package/es/Markdown/components/CodeBlock.mjs +1 -0
- package/es/Markdown/components/CodeBlock.mjs.map +1 -1
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs +1 -2
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs.map +1 -1
- package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
- package/es/Markdown/components/SearchResultCards/style.mjs +3 -3
- package/es/Markdown/components/SearchResultCards/style.mjs.map +1 -1
- package/es/Markdown/markdown.style.mjs +23 -23
- package/es/Markdown/markdown.style.mjs.map +1 -1
- package/es/Markdown/style.mjs +48 -26
- package/es/Markdown/style.mjs.map +1 -1
- package/es/MaskShadow/MaskShadow.d.mts +2 -2
- package/es/MaskShadow/MaskShadow.mjs +8 -12
- package/es/MaskShadow/MaskShadow.mjs.map +1 -1
- package/es/MaskShadow/style.mjs +33 -8
- package/es/MaskShadow/style.mjs.map +1 -1
- package/es/Menu/Menu.d.mts +2 -2
- package/es/Menu/Menu.mjs +3 -25
- package/es/Menu/Menu.mjs.map +1 -1
- package/es/Menu/style.mjs +40 -15
- package/es/Menu/style.mjs.map +1 -1
- package/es/Mermaid/FullFeatured.mjs +2 -35
- package/es/Mermaid/FullFeatured.mjs.map +1 -1
- package/es/Mermaid/Mermaid.d.mts +2 -2
- package/es/Mermaid/Mermaid.mjs +5 -28
- package/es/Mermaid/Mermaid.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs +82 -0
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs.map +1 -0
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs +94 -0
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs.map +1 -0
- package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
- package/es/Mermaid/SyntaxMermaid/index.mjs +36 -58
- package/es/Mermaid/SyntaxMermaid/index.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/style.mjs +80 -0
- package/es/Mermaid/SyntaxMermaid/style.mjs.map +1 -0
- package/es/Mermaid/type.d.mts +3 -2
- package/es/Modal/Modal.d.mts +2 -2
- package/es/Modal/Modal.mjs +8 -9
- package/es/Modal/Modal.mjs.map +1 -1
- package/es/Modal/style.mjs +13 -11
- package/es/Modal/style.mjs.map +1 -1
- package/es/MotionProvider/index.d.mts +2 -2
- package/es/ScrollShadow/ScrollShadow.mjs +20 -43
- package/es/ScrollShadow/ScrollShadow.mjs.map +1 -1
- package/es/ScrollShadow/style.mjs +54 -12
- package/es/ScrollShadow/style.mjs.map +1 -1
- package/es/SearchBar/SearchBar.d.mts +2 -2
- package/es/SearchBar/SearchBar.mjs +2 -2
- package/es/SearchBar/SearchBar.mjs.map +1 -1
- package/es/SearchBar/style.mjs +7 -6
- package/es/SearchBar/style.mjs.map +1 -1
- package/es/Segmented/Segmented.d.mts +2 -2
- package/es/Segmented/Segmented.mjs +4 -26
- package/es/Segmented/Segmented.mjs.map +1 -1
- package/es/Segmented/style.mjs +33 -9
- package/es/Segmented/style.mjs.map +1 -1
- package/es/Select/Select.d.mts +2 -2
- package/es/Select/Select.mjs +7 -21
- package/es/Select/Select.mjs.map +1 -1
- package/es/Select/style.mjs +36 -19
- package/es/Select/style.mjs.map +1 -1
- package/es/SideNav/SideNav.d.mts +2 -2
- package/es/SideNav/SideNav.mjs +2 -2
- package/es/SideNav/SideNav.mjs.map +1 -1
- package/es/SideNav/style.mjs +5 -5
- package/es/SideNav/style.mjs.map +1 -1
- package/es/Skeleton/Skeleton.mjs +2 -2
- package/es/Skeleton/Skeleton.mjs.map +1 -1
- package/es/Skeleton/SkeletonAvatar.mjs +3 -3
- package/es/Skeleton/SkeletonAvatar.mjs.map +1 -1
- package/es/Skeleton/SkeletonBlock.mjs +2 -2
- package/es/Skeleton/SkeletonBlock.mjs.map +1 -1
- package/es/Skeleton/SkeletonButton.mjs +5 -6
- package/es/Skeleton/SkeletonButton.mjs.map +1 -1
- package/es/Skeleton/SkeletonTags.mjs +5 -5
- package/es/Skeleton/SkeletonTags.mjs.map +1 -1
- package/es/Skeleton/SkeletonTitle.mjs +2 -2
- package/es/Skeleton/SkeletonTitle.mjs.map +1 -1
- package/es/Skeleton/style.mjs +7 -8
- package/es/Skeleton/style.mjs.map +1 -1
- package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
- package/es/Snippet/Snippet.mjs +2 -21
- package/es/Snippet/Snippet.mjs.map +1 -1
- package/es/Snippet/style.mjs +27 -9
- package/es/Snippet/style.mjs.map +1 -1
- package/es/SortableList/SortableList.mjs +1 -2
- package/es/SortableList/SortableList.mjs.map +1 -1
- package/es/SortableList/components/DragHandle.d.mts +2 -2
- package/es/SortableList/components/SortableItem.d.mts +2 -2
- package/es/SortableList/components/SortableItem.mjs +3 -22
- package/es/SortableList/components/SortableItem.mjs.map +1 -1
- package/es/SortableList/style.mjs +24 -7
- package/es/SortableList/style.mjs.map +1 -1
- package/es/Tabs/Tabs.mjs +3 -26
- package/es/Tabs/Tabs.mjs.map +1 -1
- package/es/Tabs/style.mjs +34 -10
- package/es/Tabs/style.mjs.map +1 -1
- package/es/Tag/Tag.mjs +3 -21
- package/es/Tag/Tag.mjs.map +1 -1
- package/es/Tag/styles.mjs +36 -10
- package/es/Tag/styles.mjs.map +1 -1
- package/es/Text/Text.mjs +2 -35
- package/es/Text/Text.mjs.map +1 -1
- package/es/Text/styles.mjs +49 -17
- package/es/Text/styles.mjs.map +1 -1
- package/es/ThemeProvider/ConfigProvider.mjs +11 -12
- package/es/ThemeProvider/ConfigProvider.mjs.map +1 -1
- package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
- package/es/ThemeProvider/ThemeProvider.mjs +1 -1
- package/es/Toc/Toc.d.mts +2 -2
- package/es/Toc/Toc.mjs +8 -6
- package/es/Toc/Toc.mjs.map +1 -1
- package/es/Toc/TocMobile.mjs +1 -5
- package/es/Toc/TocMobile.mjs.map +1 -1
- package/es/Toc/style.mjs +52 -52
- package/es/Toc/style.mjs.map +1 -1
- package/es/Tooltip/TooltipFloating.mjs +2 -2
- package/es/Tooltip/TooltipFloating.mjs.map +1 -1
- package/es/Tooltip/TooltipPortal.mjs +3 -1
- package/es/Tooltip/TooltipPortal.mjs.map +1 -1
- package/es/Tooltip/style.mjs +7 -7
- package/es/Tooltip/style.mjs.map +1 -1
- package/es/Video/index.d.mts +2 -2
- package/es/Video/index.mjs +13 -13
- package/es/Video/index.mjs.map +1 -1
- package/es/Video/style.mjs +49 -42
- package/es/Video/style.mjs.map +1 -1
- package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
- package/es/awesome/AuroraBackground/AuroraBackground.mjs +4 -3
- package/es/awesome/AuroraBackground/AuroraBackground.mjs.map +1 -1
- package/es/awesome/AuroraBackground/style.mjs +129 -90
- package/es/awesome/AuroraBackground/style.mjs.map +1 -1
- package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
- package/es/awesome/BottomGradientButton/BottomGradientButton.mjs +2 -2
- package/es/awesome/BottomGradientButton/BottomGradientButton.mjs.map +1 -1
- package/es/awesome/BottomGradientButton/style.mjs +6 -5
- package/es/awesome/BottomGradientButton/style.mjs.map +1 -1
- package/es/awesome/Features/FeatureItem.mjs +10 -7
- package/es/awesome/Features/FeatureItem.mjs.map +1 -1
- package/es/awesome/Features/Features.d.mts +2 -2
- package/es/awesome/Features/style.mjs +141 -90
- package/es/awesome/Features/style.mjs.map +1 -1
- package/es/awesome/Giscus/Giscus.d.mts +2 -2
- package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
- package/es/awesome/GradientButton/GradientButton.mjs +26 -5
- package/es/awesome/GradientButton/GradientButton.mjs.map +1 -1
- package/es/awesome/GradientButton/style.mjs +93 -63
- package/es/awesome/GradientButton/style.mjs.map +1 -1
- package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
- package/es/awesome/GridBackground/GridBackground.mjs +30 -9
- package/es/awesome/GridBackground/GridBackground.mjs.map +1 -1
- package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
- package/es/awesome/GridBackground/style.mjs +70 -62
- package/es/awesome/GridBackground/style.mjs.map +1 -1
- package/es/awesome/Hero/Hero.d.mts +2 -2
- package/es/awesome/Hero/Hero.mjs +1 -2
- package/es/awesome/Hero/Hero.mjs.map +1 -1
- package/es/awesome/Hero/style.mjs +11 -10
- package/es/awesome/Hero/style.mjs.map +1 -1
- package/es/awesome/Spline/ParentSize.mjs +1 -1
- package/es/awesome/Spline/Spine.d.mts +2 -2
- package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
- package/es/awesome/Spotlight/Spotlight.mjs +15 -7
- package/es/awesome/Spotlight/Spotlight.mjs.map +1 -1
- package/es/awesome/Spotlight/style.mjs +76 -23
- package/es/awesome/Spotlight/style.mjs.map +1 -1
- package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
- package/es/awesome/SpotlightCard/SpotlightCard.mjs +11 -7
- package/es/awesome/SpotlightCard/SpotlightCard.mjs.map +1 -1
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs +10 -7
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs.map +1 -1
- package/es/awesome/SpotlightCard/style.mjs +121 -69
- package/es/awesome/SpotlightCard/style.mjs.map +1 -1
- package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs +6 -5
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs.map +1 -1
- package/es/awesome/TypewriterEffect/style.mjs +8 -8
- package/es/awesome/TypewriterEffect/style.mjs.map +1 -1
- package/es/brand/BrandLoading/{style-Cz42xGgB.css → style-DX648z7a.css} +1 -1
- package/es/brand/BrandLoading/{style-Cz42xGgB.css.map → style-DX648z7a.css.map} +1 -1
- package/es/brand/LobeChat/index.d.mts +2 -2
- package/es/brand/LobeChat/index.mjs +5 -7
- package/es/brand/LobeChat/index.mjs.map +1 -1
- package/es/brand/LobeHub/index.d.mts +2 -2
- package/es/brand/LobeHub/index.mjs +5 -7
- package/es/brand/LobeHub/index.mjs.map +1 -1
- package/es/brand/LobeHub/style.mjs +3 -3
- package/es/brand/LobeHub/style.mjs.map +1 -1
- package/es/brand/LogoFlat/index.d.mts +3 -6
- package/es/brand/LogoFlat/index.mjs +2 -76
- package/es/brand/LogoFlat/index.mjs.map +1 -1
- package/es/brand/LogoMono/index.d.mts +2 -10
- package/es/brand/LogoMono/index.mjs +2 -84
- package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
- package/es/brand/LogoThree/index.d.mts +2 -2
- package/es/brand/index.d.mts +3 -3
- package/es/brand/index.mjs +2 -2
- package/es/chat/BackBottom/BackBottom.d.mts +2 -2
- package/es/chat/BackBottom/BackBottom.mjs +3 -3
- package/es/chat/BackBottom/BackBottom.mjs.map +1 -1
- package/es/chat/BackBottom/style.mjs +27 -8
- package/es/chat/BackBottom/style.mjs.map +1 -1
- package/es/chat/ChatHeader/ChatHeader.mjs +2 -2
- package/es/chat/ChatHeader/ChatHeader.mjs.map +1 -1
- package/es/chat/ChatHeader/ChatHeaderTitle.mjs +8 -9
- package/es/chat/ChatHeader/ChatHeaderTitle.mjs.map +1 -1
- package/es/chat/ChatHeader/style.mjs +7 -7
- package/es/chat/ChatHeader/style.mjs.map +1 -1
- package/es/chat/ChatInputArea/ChatInputArea.mjs +1 -2
- package/es/chat/ChatInputArea/ChatInputArea.mjs.map +1 -1
- package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs +4 -5
- package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs.map +1 -1
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs +2 -3
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs.map +1 -1
- package/es/chat/ChatInputArea/style.mjs +6 -5
- package/es/chat/ChatInputArea/style.mjs.map +1 -1
- package/es/chat/ChatItem/ChatItem.d.mts +2 -2
- package/es/chat/ChatItem/ChatItem.mjs +19 -16
- package/es/chat/ChatItem/ChatItem.mjs.map +1 -1
- package/es/chat/ChatItem/components/Actions.mjs +8 -8
- package/es/chat/ChatItem/components/Actions.mjs.map +1 -1
- package/es/chat/ChatItem/components/Avatar.mjs +7 -3
- package/es/chat/ChatItem/components/Avatar.mjs.map +1 -1
- package/es/chat/ChatItem/components/ErrorContent.mjs +2 -3
- package/es/chat/ChatItem/components/ErrorContent.mjs.map +1 -1
- package/es/chat/ChatItem/components/Loading.mjs +3 -4
- package/es/chat/ChatItem/components/Loading.mjs.map +1 -1
- package/es/chat/ChatItem/components/MessageContent.mjs +11 -10
- package/es/chat/ChatItem/components/MessageContent.mjs.map +1 -1
- package/es/chat/ChatItem/components/Title.mjs +3 -8
- package/es/chat/ChatItem/components/Title.mjs.map +1 -1
- package/es/chat/ChatItem/style.mjs +294 -142
- package/es/chat/ChatItem/style.mjs.map +1 -1
- package/es/chat/ChatList/ChatList.d.mts +2 -2
- package/es/chat/ChatList/ChatList.mjs +2 -2
- package/es/chat/ChatList/ChatList.mjs.map +1 -1
- package/es/chat/ChatList/style.mjs +3 -3
- package/es/chat/ChatList/style.mjs.map +1 -1
- package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
- package/es/chat/EditableMessage/EditableMessage.mjs +1 -1
- package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
- package/es/chat/LoadingDots/LoadingDots.mjs +17 -10
- package/es/chat/LoadingDots/LoadingDots.mjs.map +1 -1
- package/es/chat/LoadingDots/style.mjs +117 -116
- package/es/chat/LoadingDots/style.mjs.map +1 -1
- package/es/chat/LoadingDots/type.d.mts +6 -0
- package/es/chat/MessageInput/MessageInput.d.mts +2 -2
- package/es/chat/MessageInput/MessageInput.mjs +4 -5
- package/es/chat/MessageInput/MessageInput.mjs.map +1 -1
- package/es/chat/MessageInput/style.mjs +4 -4
- package/es/chat/MessageInput/style.mjs.map +1 -1
- package/es/chat/MessageModal/MessageModal.d.mts +2 -2
- package/es/chat/MessageModal/MessageModal.mjs +4 -5
- package/es/chat/MessageModal/MessageModal.mjs.map +1 -1
- package/es/chat/TokenTag/TokenTag.mjs +5 -6
- package/es/chat/TokenTag/TokenTag.mjs.map +1 -1
- package/es/color/ColorScales/ScaleRow.mjs +1 -2
- package/es/color/ColorScales/ScaleRow.mjs.map +1 -1
- package/es/color/ColorScales/index.d.mts +2 -2
- package/es/color/ColorScales/index.mjs +1 -2
- package/es/color/ColorScales/index.mjs.map +1 -1
- package/es/color/ColorScales/style.mjs +4 -4
- package/es/color/ColorScales/style.mjs.map +1 -1
- package/es/hooks/useHighlight.mjs +84 -227
- package/es/hooks/useHighlight.mjs.map +1 -1
- package/es/hooks/useMermaid.mjs +104 -57
- package/es/hooks/useMermaid.mjs.map +1 -1
- package/es/hooks/useStreamHighlight.mjs +221 -0
- package/es/hooks/useStreamHighlight.mjs.map +1 -0
- package/es/hooks/useStreamMermaid.mjs +87 -0
- package/es/hooks/useStreamMermaid.mjs.map +1 -0
- package/es/i18n/context.d.mts +2 -2
- package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
- package/es/icons/lucideExtra/CreateBotIcon.d.mts +2 -2
- package/es/icons/lucideExtra/DiscordIcon.d.mts +2 -2
- package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
- package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
- package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
- package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
- package/es/index.d.mts +2 -1
- package/es/index.mjs +9 -8
- package/es/mdx/Callout/index.mjs +8 -7
- package/es/mdx/Callout/index.mjs.map +1 -1
- package/es/mdx/Callout/style.mjs +3 -4
- package/es/mdx/Callout/style.mjs.map +1 -1
- package/es/mdx/Cards/Card.mjs +14 -16
- package/es/mdx/Cards/Card.mjs.map +1 -1
- package/es/mdx/Cards/index.mjs +2 -2
- package/es/mdx/Cards/index.mjs.map +1 -1
- package/es/mdx/Cards/style.mjs +3 -3
- package/es/mdx/Cards/style.mjs.map +1 -1
- package/es/mdx/FileTree/Folder.mjs +1 -16
- package/es/mdx/FileTree/Folder.mjs.map +1 -1
- package/es/mdx/FileTree/index.mjs +2 -2
- package/es/mdx/FileTree/index.mjs.map +1 -1
- package/es/mdx/FileTree/style.mjs +19 -7
- package/es/mdx/FileTree/style.mjs.map +1 -1
- package/es/mdx/Mdx/index.d.mts +2 -2
- package/es/mdx/Mdx/index.mjs +2 -2
- package/es/mdx/Mdx/index.mjs.map +1 -1
- package/es/mdx/Steps/index.mjs +2 -2
- package/es/mdx/Steps/index.mjs.map +1 -1
- package/es/mdx/Steps/style.mjs +8 -8
- package/es/mdx/Steps/style.mjs.map +1 -1
- package/es/mdx/Tabs/Tab.mjs +3 -12
- package/es/mdx/Tabs/Tab.mjs.map +1 -1
- package/es/mdx/Tabs/index.mjs +2 -2
- package/es/mdx/Tabs/index.mjs.map +1 -1
- package/es/mdx/Tabs/style.mjs +12 -14
- package/es/mdx/Tabs/style.mjs.map +1 -1
- package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs +1 -22
- package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs.map +1 -1
- package/es/mdx/mdxComponents/Citation/index.mjs +3 -17
- package/es/mdx/mdxComponents/Citation/index.mjs.map +1 -1
- package/es/mdx/mdxComponents/Citation/style.mjs +39 -0
- package/es/mdx/mdxComponents/Citation/style.mjs.map +1 -0
- package/es/mdx/mdxComponents/Pre.mjs +7 -9
- package/es/mdx/mdxComponents/Pre.mjs.map +1 -1
- package/es/mobile/ChatHeader/ChatHeader.mjs +2 -2
- package/es/mobile/ChatHeader/ChatHeader.mjs.map +1 -1
- package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs +7 -8
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs.map +1 -1
- package/es/mobile/ChatHeader/style.mjs +6 -6
- package/es/mobile/ChatHeader/style.mjs.map +1 -1
- package/es/mobile/ChatInputArea/ChatInputArea.mjs +2 -2
- package/es/mobile/ChatInputArea/ChatInputArea.mjs.map +1 -1
- package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
- package/es/mobile/ChatInputArea/style.mjs +5 -5
- package/es/mobile/ChatInputArea/style.mjs.map +1 -1
- package/es/mobile/SafeArea/SafeArea.mjs +2 -2
- package/es/mobile/SafeArea/SafeArea.mjs.map +1 -1
- package/es/mobile/SafeArea/style.mjs +3 -3
- package/es/mobile/SafeArea/style.mjs.map +1 -1
- package/es/mobile/TabBar/TabBar.mjs +2 -2
- package/es/mobile/TabBar/TabBar.mjs.map +1 -1
- package/es/mobile/TabBar/style.mjs +7 -7
- package/es/mobile/TabBar/style.mjs.map +1 -1
- package/es/storybook/StoryBook/index.d.mts +2 -2
- package/es/storybook/StoryBook/index.mjs +4 -5
- package/es/storybook/StoryBook/index.mjs.map +1 -1
- package/es/storybook/StoryBook/style.mjs +27 -24
- package/es/storybook/StoryBook/style.mjs.map +1 -1
- package/es/styles/index.d.mts +2 -1
- package/es/styles/index.mjs +2 -1
- package/es/styles/theme/customStylishStatic.d.mts +7 -0
- package/es/styles/theme/customStylishStatic.mjs +161 -0
- package/es/styles/theme/customStylishStatic.mjs.map +1 -0
- package/package.json +3 -2
- package/es/brand/LogoMono/index.mjs.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createStaticStyles, cx } from "antd-style";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
2
3
|
|
|
3
4
|
//#region src/DraggablePanel/style.ts
|
|
4
5
|
const LAYOUT = {
|
|
@@ -6,236 +7,251 @@ const LAYOUT = {
|
|
|
6
7
|
toggleLength: 54,
|
|
7
8
|
toggleShort: 16
|
|
8
9
|
};
|
|
9
|
-
const
|
|
10
|
-
|
|
10
|
+
const prefix = `ant-draggable-panel`;
|
|
11
|
+
const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => {
|
|
11
12
|
const borderStyles = {
|
|
12
|
-
borderBottom: css`
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
borderBottom: css$1`
|
|
14
|
+
border-block-end: 1px solid ${cssVar$1.colorBorderSecondary};
|
|
15
|
+
`,
|
|
16
|
+
borderBottomNone: css$1`
|
|
17
|
+
border-block-end-width: 0;
|
|
18
|
+
`,
|
|
19
|
+
borderLeft: css$1`
|
|
20
|
+
border-inline-start: 1px solid ${cssVar$1.colorBorderSecondary};
|
|
21
|
+
`,
|
|
22
|
+
borderLeftNone: css$1`
|
|
23
|
+
border-inline-start-width: 0;
|
|
24
|
+
`,
|
|
25
|
+
borderRight: css$1`
|
|
26
|
+
border-inline-end: 1px solid ${cssVar$1.colorBorderSecondary};
|
|
27
|
+
`,
|
|
28
|
+
borderRightNone: css$1`
|
|
29
|
+
border-inline-end-width: 0;
|
|
30
|
+
`,
|
|
31
|
+
borderTop: css$1`
|
|
32
|
+
border-block-start: 1px solid ${cssVar$1.colorBorderSecondary};
|
|
33
|
+
`,
|
|
34
|
+
borderTopNone: css$1`
|
|
35
|
+
border-block-start-width: 0;
|
|
36
|
+
`
|
|
24
37
|
};
|
|
25
|
-
const float = css`
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
38
|
+
const float = css$1`
|
|
39
|
+
position: absolute;
|
|
40
|
+
z-index: 200;
|
|
41
|
+
`;
|
|
29
42
|
const floatPositions = {
|
|
30
|
-
bottomFloat: cx(float, css`
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
leftFloat: cx(float, css`
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
rightFloat: cx(float, css`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
topFloat: cx(float, css`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
bottomFloat: cx(float, css$1`
|
|
44
|
+
inset-block-end: 0;
|
|
45
|
+
inset-inline: 0 0;
|
|
46
|
+
width: 100%;
|
|
47
|
+
`),
|
|
48
|
+
leftFloat: cx(float, css$1`
|
|
49
|
+
inset-block: var(--draggable-panel-header-height, 0) 0;
|
|
50
|
+
inset-inline-start: 0;
|
|
51
|
+
height: calc(100% - var(--draggable-panel-header-height, 0px));
|
|
52
|
+
`),
|
|
53
|
+
rightFloat: cx(float, css$1`
|
|
54
|
+
inset-block: var(--draggable-panel-header-height, 0) 0;
|
|
55
|
+
inset-inline-end: 0;
|
|
56
|
+
height: calc(100% - var(--draggable-panel-header-height, 0px));
|
|
57
|
+
`),
|
|
58
|
+
topFloat: cx(float, css$1`
|
|
59
|
+
inset-block-start: var(--draggable-panel-header-height, 0);
|
|
60
|
+
inset-inline: 0 0;
|
|
61
|
+
width: 100%;
|
|
62
|
+
`)
|
|
50
63
|
};
|
|
51
|
-
const handleBaseStyle = css`
|
|
52
|
-
|
|
64
|
+
const handleBaseStyle = css$1`
|
|
65
|
+
position: relative;
|
|
53
66
|
|
|
67
|
+
&::before {
|
|
68
|
+
content: '';
|
|
69
|
+
position: absolute;
|
|
70
|
+
transition: all 0.2s ${cssVar$1.motionEaseOut};
|
|
71
|
+
}
|
|
72
|
+
`;
|
|
73
|
+
const handleHighlightStyle = css$1`
|
|
74
|
+
&:hover {
|
|
54
75
|
&::before {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
transition: all 0.2s ${token.motionEaseOut};
|
|
76
|
+
background: ${cssVar$1.colorPrimary};
|
|
77
|
+
box-shadow: 0 0 8px color-mix(in srgb, ${cssVar$1.colorPrimary} 25%, transparent);
|
|
58
78
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:active {
|
|
82
|
+
&::before {
|
|
83
|
+
background: ${cssVar$1.colorPrimary} !important;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
`;
|
|
87
|
+
const handleStyles = {
|
|
88
|
+
handleBottom: cx(`${prefix}-bottom-handle`, css$1`
|
|
62
89
|
&::before {
|
|
63
|
-
|
|
64
|
-
|
|
90
|
+
inset-block-end: 50%;
|
|
91
|
+
width: 100%;
|
|
92
|
+
height: 2px;
|
|
65
93
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
&:active {
|
|
94
|
+
`),
|
|
95
|
+
handleLeft: cx(`${prefix}-left-handle`, css$1`
|
|
69
96
|
&::before {
|
|
70
|
-
|
|
97
|
+
inset-inline-start: 50%;
|
|
98
|
+
width: 2px;
|
|
99
|
+
height: 100%;
|
|
71
100
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
`),
|
|
82
|
-
handleLeft: cx(`${prefix}-left-handle`, css`
|
|
83
|
-
&::before {
|
|
84
|
-
inset-inline-start: 50%;
|
|
85
|
-
width: 2px;
|
|
86
|
-
height: 100%;
|
|
87
|
-
}
|
|
88
|
-
`),
|
|
89
|
-
handleRight: cx(`${prefix}-right-handle`, css`
|
|
90
|
-
&::before {
|
|
91
|
-
inset-inline-end: 50%;
|
|
92
|
-
width: 2px;
|
|
93
|
-
height: 100%;
|
|
94
|
-
}
|
|
95
|
-
`),
|
|
101
|
+
`),
|
|
102
|
+
handleRight: cx(`${prefix}-right-handle`, css$1`
|
|
103
|
+
&::before {
|
|
104
|
+
inset-inline-end: 50%;
|
|
105
|
+
width: 2px;
|
|
106
|
+
height: 100%;
|
|
107
|
+
}
|
|
108
|
+
`),
|
|
96
109
|
handleRoot: handleBaseStyle,
|
|
97
|
-
handleTop: cx(`${prefix}-top-handle`, css`
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
110
|
+
handleTop: cx(`${prefix}-top-handle`, css$1`
|
|
111
|
+
&::before {
|
|
112
|
+
inset-block-start: 50%;
|
|
113
|
+
width: 100%;
|
|
114
|
+
height: 2px;
|
|
115
|
+
}
|
|
116
|
+
`)
|
|
104
117
|
};
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
opacity: 0;
|
|
112
|
-
|
|
113
|
-
transition: all 0.2s ${token.motionEaseOut};
|
|
118
|
+
const toggleRoot = cx(`${prefix}-toggle`, css$1`
|
|
119
|
+
position: absolute;
|
|
120
|
+
z-index: 50;
|
|
121
|
+
opacity: 0;
|
|
122
|
+
transition: all 0.2s ${cssVar$1.motionEaseOut};
|
|
114
123
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
124
|
+
&:hover,
|
|
125
|
+
&:active {
|
|
126
|
+
opacity: 1 !important;
|
|
127
|
+
}
|
|
119
128
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
129
|
+
> div {
|
|
130
|
+
pointer-events: all;
|
|
131
|
+
cursor: pointer;
|
|
123
132
|
|
|
124
|
-
|
|
133
|
+
position: absolute;
|
|
125
134
|
|
|
126
|
-
|
|
135
|
+
border: 1px solid ${cssVar$1.colorBorder};
|
|
127
136
|
|
|
128
|
-
|
|
137
|
+
color: ${cssVar$1.colorTextTertiary};
|
|
129
138
|
|
|
130
|
-
|
|
131
|
-
|
|
139
|
+
background: var(--draggable-panel-bg, ${cssVar$1.colorBgLayout});
|
|
140
|
+
backdrop-filter: blur(8px);
|
|
132
141
|
|
|
133
|
-
|
|
142
|
+
transition: all 0.2s ${cssVar$1.motionEaseOut};
|
|
134
143
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
144
|
+
&:hover {
|
|
145
|
+
color: ${cssVar$1.colorTextSecondary};
|
|
146
|
+
}
|
|
138
147
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
148
|
+
&:active {
|
|
149
|
+
color: ${cssVar$1.colorText};
|
|
142
150
|
}
|
|
143
|
-
|
|
151
|
+
}
|
|
152
|
+
`);
|
|
153
|
+
const toggleRootWithWideArea = css$1`
|
|
154
|
+
pointer-events: all;
|
|
155
|
+
`;
|
|
156
|
+
const toggleRootWithoutWideArea = css$1`
|
|
157
|
+
pointer-events: none;
|
|
158
|
+
`;
|
|
144
159
|
const toggleStyles = {
|
|
145
|
-
toggleBottom: cx(`${prefix}-toggle-bottom`, css`
|
|
146
|
-
|
|
147
|
-
|
|
160
|
+
toggleBottom: cx(`${prefix}-toggle-bottom`, css$1`
|
|
161
|
+
inset-block-end: -${LAYOUT.offset}px;
|
|
162
|
+
width: 100%;
|
|
163
|
+
height: ${LAYOUT.toggleShort}px;
|
|
164
|
+
|
|
165
|
+
> div {
|
|
166
|
+
inset-inline-start: 50%;
|
|
167
|
+
|
|
168
|
+
width: ${LAYOUT.toggleLength}px;
|
|
148
169
|
height: ${LAYOUT.toggleShort}px;
|
|
170
|
+
margin-inline-start: -27px;
|
|
171
|
+
border-block-start-width: 0;
|
|
172
|
+
border-radius: 0 0 ${cssVar$1.borderRadiusLG} ${cssVar$1.borderRadiusLG};
|
|
173
|
+
}
|
|
174
|
+
`),
|
|
175
|
+
toggleLeft: cx(`${prefix}-toggle-left`, css$1`
|
|
176
|
+
inset-inline-start: -${LAYOUT.offset}px;
|
|
177
|
+
width: ${LAYOUT.toggleShort}px;
|
|
178
|
+
height: 100%;
|
|
149
179
|
|
|
150
|
-
|
|
151
|
-
|
|
180
|
+
> div {
|
|
181
|
+
inset-block-start: 50%;
|
|
152
182
|
|
|
153
|
-
width: ${LAYOUT.toggleLength}px;
|
|
154
|
-
height: ${LAYOUT.toggleShort}px;
|
|
155
|
-
margin-inline-start: -27px;
|
|
156
|
-
border-block-start-width: 0;
|
|
157
|
-
border-radius: 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px;
|
|
158
|
-
}
|
|
159
|
-
`),
|
|
160
|
-
toggleLeft: cx(`${prefix}-toggle-left`, css`
|
|
161
|
-
inset-inline-start: -${LAYOUT.offset}px;
|
|
162
183
|
width: ${LAYOUT.toggleShort}px;
|
|
163
|
-
height:
|
|
184
|
+
height: ${LAYOUT.toggleLength}px;
|
|
185
|
+
margin-block-start: -27px;
|
|
186
|
+
border-inline-end-width: 0;
|
|
187
|
+
border-radius: ${cssVar$1.borderRadiusLG} 0 0 ${cssVar$1.borderRadiusLG};
|
|
188
|
+
}
|
|
189
|
+
`),
|
|
190
|
+
toggleRight: cx(`${prefix}-toggle-right`, css$1`
|
|
191
|
+
inset-inline-end: -${LAYOUT.offset}px;
|
|
192
|
+
width: ${LAYOUT.toggleShort}px;
|
|
193
|
+
height: 100%;
|
|
164
194
|
|
|
165
|
-
|
|
166
|
-
|
|
195
|
+
> div {
|
|
196
|
+
inset-block-start: 50%;
|
|
167
197
|
|
|
168
|
-
width: ${LAYOUT.toggleShort}px;
|
|
169
|
-
height: ${LAYOUT.toggleLength}px;
|
|
170
|
-
margin-block-start: -27px;
|
|
171
|
-
border-inline-end-width: 0;
|
|
172
|
-
border-radius: ${token.borderRadiusLG}px 0 0 ${token.borderRadiusLG}px;
|
|
173
|
-
}
|
|
174
|
-
`),
|
|
175
|
-
toggleRight: cx(`${prefix}-toggle-right`, css`
|
|
176
|
-
inset-inline-end: -${LAYOUT.offset}px;
|
|
177
198
|
width: ${LAYOUT.toggleShort}px;
|
|
178
|
-
height:
|
|
199
|
+
height: ${LAYOUT.toggleLength}px;
|
|
200
|
+
margin-block-start: -27px;
|
|
201
|
+
border-inline-start-width: 0;
|
|
202
|
+
border-radius: 0 ${cssVar$1.borderRadiusLG} ${cssVar$1.borderRadiusLG} 0;
|
|
203
|
+
}
|
|
204
|
+
`),
|
|
205
|
+
toggleRoot,
|
|
206
|
+
toggleRootWithWideArea,
|
|
207
|
+
toggleRootWithoutWideArea,
|
|
208
|
+
toggleTop: cx(`${prefix}-toggle-top`, css$1`
|
|
209
|
+
inset-block-start: -${LAYOUT.offset}px;
|
|
210
|
+
width: 100%;
|
|
211
|
+
height: ${LAYOUT.toggleShort}px;
|
|
179
212
|
|
|
180
|
-
|
|
181
|
-
|
|
213
|
+
> div {
|
|
214
|
+
inset-inline-start: 50%;
|
|
182
215
|
|
|
183
|
-
|
|
184
|
-
height: ${LAYOUT.toggleLength}px;
|
|
185
|
-
margin-block-start: -27px;
|
|
186
|
-
border-inline-start-width: 0;
|
|
187
|
-
border-radius: 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px 0;
|
|
188
|
-
}
|
|
189
|
-
`),
|
|
190
|
-
toggleRoot: toggleBaseStyle,
|
|
191
|
-
toggleTop: cx(`${prefix}-toggle-top`, css`
|
|
192
|
-
inset-block-start: -${LAYOUT.offset}px;
|
|
193
|
-
width: 100%;
|
|
216
|
+
width: ${LAYOUT.toggleLength}px;
|
|
194
217
|
height: ${LAYOUT.toggleShort}px;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
height: ${LAYOUT.toggleShort}px;
|
|
201
|
-
margin-inline-start: -27px;
|
|
202
|
-
border-block-end-width: 0;
|
|
203
|
-
border-radius: ${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0;
|
|
204
|
-
}
|
|
205
|
-
`)
|
|
218
|
+
margin-inline-start: -27px;
|
|
219
|
+
border-block-end-width: 0;
|
|
220
|
+
border-radius: ${cssVar$1.borderRadiusLG} ${cssVar$1.borderRadiusLG} 0 0;
|
|
221
|
+
}
|
|
222
|
+
`)
|
|
206
223
|
};
|
|
207
224
|
const componentStyles = {
|
|
208
|
-
fixed: css`
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
fullscreen: css`
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
225
|
+
fixed: css$1`
|
|
226
|
+
position: relative;
|
|
227
|
+
`,
|
|
228
|
+
fullscreen: css$1`
|
|
229
|
+
position: absolute;
|
|
230
|
+
inset-block: var(--draggable-panel-header-height, 0) 0;
|
|
231
|
+
inset-inline: 0;
|
|
215
232
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
handlerIcon: css`
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
panel: cx(`${prefix}-fixed`, css`
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
root: cx(prefix, css`
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
opacity: 1;
|
|
236
|
-
}
|
|
233
|
+
width: 100%;
|
|
234
|
+
height: calc(100% - var(--draggable-panel-header-height, 0px));
|
|
235
|
+
|
|
236
|
+
background: ${cssVar$1.colorBgContainer};
|
|
237
|
+
`,
|
|
238
|
+
handlerIcon: css$1`
|
|
239
|
+
transition: all 0.2s ${cssVar$1.motionEaseOut};
|
|
240
|
+
`,
|
|
241
|
+
panel: cx(`${prefix}-fixed`, css$1`
|
|
242
|
+
overflow: hidden;
|
|
243
|
+
background: var(--draggable-panel-bg, ${cssVar$1.colorBgLayout});
|
|
244
|
+
transition: all 0.2s ${cssVar$1.motionEaseOut};
|
|
245
|
+
`),
|
|
246
|
+
root: cx(prefix, css$1`
|
|
247
|
+
flex-shrink: 0;
|
|
248
|
+
|
|
249
|
+
&:hover {
|
|
250
|
+
> .${prefix}-toggle {
|
|
251
|
+
opacity: 1;
|
|
237
252
|
}
|
|
238
|
-
|
|
253
|
+
}
|
|
254
|
+
`)
|
|
239
255
|
};
|
|
240
256
|
return {
|
|
241
257
|
...borderStyles,
|
|
@@ -246,7 +262,133 @@ const useStyles = createStyles(({ prefixCls, token }, { backgroundColor, headerH
|
|
|
246
262
|
...componentStyles
|
|
247
263
|
};
|
|
248
264
|
});
|
|
265
|
+
const handleVariants = cva(styles.handleRoot, { variants: { placement: {
|
|
266
|
+
bottom: styles.handleBottom,
|
|
267
|
+
left: styles.handleLeft,
|
|
268
|
+
right: styles.handleRight,
|
|
269
|
+
top: styles.handleTop
|
|
270
|
+
} } });
|
|
271
|
+
const panelVariants = cva(styles.root, {
|
|
272
|
+
compoundVariants: [
|
|
273
|
+
{
|
|
274
|
+
class: styles.bottomFloat,
|
|
275
|
+
mode: "float",
|
|
276
|
+
placement: "bottom"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
class: styles.topFloat,
|
|
280
|
+
mode: "float",
|
|
281
|
+
placement: "top"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
class: styles.leftFloat,
|
|
285
|
+
mode: "float",
|
|
286
|
+
placement: "left"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
class: styles.rightFloat,
|
|
290
|
+
mode: "float",
|
|
291
|
+
placement: "right"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
class: styles.borderBottom,
|
|
295
|
+
isExpand: true,
|
|
296
|
+
placement: "top",
|
|
297
|
+
showBorder: true
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
class: styles.borderBottomNone,
|
|
301
|
+
isExpand: true,
|
|
302
|
+
placement: "top",
|
|
303
|
+
showBorder: false
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
class: styles.borderLeft,
|
|
307
|
+
isExpand: true,
|
|
308
|
+
placement: "right",
|
|
309
|
+
showBorder: true
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
class: styles.borderLeftNone,
|
|
313
|
+
isExpand: true,
|
|
314
|
+
placement: "right",
|
|
315
|
+
showBorder: false
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
class: styles.borderTop,
|
|
319
|
+
isExpand: true,
|
|
320
|
+
placement: "bottom",
|
|
321
|
+
showBorder: true
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
class: styles.borderTopNone,
|
|
325
|
+
isExpand: true,
|
|
326
|
+
placement: "bottom",
|
|
327
|
+
showBorder: false
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
class: styles.borderRight,
|
|
331
|
+
isExpand: true,
|
|
332
|
+
placement: "left",
|
|
333
|
+
showBorder: true
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
class: styles.borderRightNone,
|
|
337
|
+
isExpand: true,
|
|
338
|
+
placement: "left",
|
|
339
|
+
showBorder: false
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
defaultVariants: {
|
|
343
|
+
isExpand: false,
|
|
344
|
+
mode: "fixed",
|
|
345
|
+
placement: "right",
|
|
346
|
+
showBorder: true
|
|
347
|
+
},
|
|
348
|
+
variants: {
|
|
349
|
+
isExpand: {
|
|
350
|
+
false: null,
|
|
351
|
+
true: null
|
|
352
|
+
},
|
|
353
|
+
mode: {
|
|
354
|
+
fixed: styles.fixed,
|
|
355
|
+
float: null
|
|
356
|
+
},
|
|
357
|
+
placement: {
|
|
358
|
+
bottom: null,
|
|
359
|
+
left: null,
|
|
360
|
+
right: null,
|
|
361
|
+
top: null
|
|
362
|
+
},
|
|
363
|
+
showBorder: {
|
|
364
|
+
false: null,
|
|
365
|
+
true: null
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
const toggleVariants = cva(styles.toggleRoot, {
|
|
370
|
+
compoundVariants: [{
|
|
371
|
+
class: styles.toggleRootWithWideArea,
|
|
372
|
+
showHandleWideArea: true
|
|
373
|
+
}, {
|
|
374
|
+
class: styles.toggleRootWithoutWideArea,
|
|
375
|
+
showHandleWideArea: false
|
|
376
|
+
}],
|
|
377
|
+
defaultVariants: { showHandleWideArea: false },
|
|
378
|
+
variants: {
|
|
379
|
+
placement: {
|
|
380
|
+
bottom: styles.toggleTop,
|
|
381
|
+
left: styles.toggleRight,
|
|
382
|
+
right: styles.toggleLeft,
|
|
383
|
+
top: styles.toggleBottom
|
|
384
|
+
},
|
|
385
|
+
showHandleWideArea: {
|
|
386
|
+
false: null,
|
|
387
|
+
true: null
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
});
|
|
249
391
|
|
|
250
392
|
//#endregion
|
|
251
|
-
export {
|
|
393
|
+
export { handleVariants, panelVariants, styles, toggleVariants };
|
|
252
394
|
//# sourceMappingURL=style.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.mjs","names":[],"sources":["../../src/DraggablePanel/style.ts"],"sourcesContent":["import { createStyles, css, cx } from 'antd-style';\n\n// Layout constants\nconst LAYOUT = {\n offset: 16,\n toggleLength: 54,\n toggleShort: 16,\n};\n\nexport const useStyles = createStyles(\n (\n { prefixCls, token },\n {\n backgroundColor,\n headerHeight,\n showBorder,\n showHandleWideArea,\n }: {\n backgroundColor?: string;\n headerHeight: number;\n showBorder: boolean;\n showHandleWideArea: boolean;\n },\n ) => {\n const prefix = `${prefixCls}-draggable-panel`;\n\n // Base styles\n const borderStyles = {\n borderBottom: css`\n border-block-end-width: ${showBorder ? '1px' : '0'};\n `,\n borderLeft: css`\n border-inline-start-width: ${showBorder ? '1px' : '0'};\n `,\n borderRight: css`\n border-inline-end-width: ${showBorder ? '1px' : '0'};\n `,\n borderTop: css`\n border-block-start-width: ${showBorder ? '1px' : '0'};\n `,\n };\n\n // Position styles\n const float = css`\n position: absolute;\n z-index: 200;\n `;\n\n const floatPositions = {\n bottomFloat: cx(\n float,\n css`\n inset-block-end: 0;\n inset-inline: 0 0;\n width: 100%;\n `,\n ),\n leftFloat: cx(\n float,\n css`\n inset-block: ${headerHeight}px 0;\n inset-inline-start: 0;\n height: calc(100% - ${headerHeight}px);\n `,\n ),\n rightFloat: cx(\n float,\n css`\n inset-block: ${headerHeight}px 0;\n inset-inline-end: 0;\n height: calc(100% - ${headerHeight}px);\n `,\n ),\n topFloat: cx(\n float,\n css`\n inset-block-start: ${headerHeight}px;\n inset-inline: 0 0;\n width: 100%;\n `,\n ),\n };\n\n // Handle styles\n const handleBaseStyle = css`\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n transition: all 0.2s ${token.motionEaseOut};\n }\n `;\n\n const handleHighlightStyle = css`\n &:hover {\n &::before {\n background: ${token.colorPrimary};\n box-shadow: 0 0 8px ${token.colorPrimary}40;\n }\n }\n\n &:active {\n &::before {\n background: ${token.colorPrimary} !important;\n }\n }\n `;\n\n const handleStyles = {\n handleBottom: cx(\n `${prefix}-bottom-handle`,\n css`\n &::before {\n inset-block-end: 50%;\n width: 100%;\n height: 2px;\n }\n `,\n ),\n handleLeft: cx(\n `${prefix}-left-handle`,\n css`\n &::before {\n inset-inline-start: 50%;\n width: 2px;\n height: 100%;\n }\n `,\n ),\n handleRight: cx(\n `${prefix}-right-handle`,\n css`\n &::before {\n inset-inline-end: 50%;\n width: 2px;\n height: 100%;\n }\n `,\n ),\n handleRoot: handleBaseStyle,\n handleTop: cx(\n `${prefix}-top-handle`,\n css`\n &::before {\n inset-block-start: 50%;\n width: 100%;\n height: 2px;\n }\n `,\n ),\n };\n\n // Toggle styles\n const toggleBaseStyle = cx(\n `${prefix}-toggle`,\n css`\n pointer-events: ${showHandleWideArea ? 'all' : 'none'};\n\n position: absolute;\n z-index: 50;\n\n opacity: 0;\n\n transition: all 0.2s ${token.motionEaseOut};\n\n &:hover,\n &:active {\n opacity: 1 !important;\n }\n\n > div {\n pointer-events: all;\n cursor: pointer;\n\n position: absolute;\n\n border: 1px solid ${token.colorBorder};\n\n color: ${token.colorTextTertiary};\n\n background: ${backgroundColor || token.colorBgLayout};\n backdrop-filter: blur(8px);\n\n transition: all 0.2s ${token.motionEaseOut};\n\n &:hover {\n color: ${token.colorTextSecondary};\n }\n\n &:active {\n color: ${token.colorText};\n }\n }\n `,\n );\n\n const toggleStyles = {\n toggleBottom: cx(\n `${prefix}-toggle-bottom`,\n css`\n inset-block-end: -${LAYOUT.offset}px;\n width: 100%;\n height: ${LAYOUT.toggleShort}px;\n\n > div {\n inset-inline-start: 50%;\n\n width: ${LAYOUT.toggleLength}px;\n height: ${LAYOUT.toggleShort}px;\n margin-inline-start: -27px;\n border-block-start-width: 0;\n border-radius: 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px;\n }\n `,\n ),\n toggleLeft: cx(\n `${prefix}-toggle-left`,\n css`\n inset-inline-start: -${LAYOUT.offset}px;\n width: ${LAYOUT.toggleShort}px;\n height: 100%;\n\n > div {\n inset-block-start: 50%;\n\n width: ${LAYOUT.toggleShort}px;\n height: ${LAYOUT.toggleLength}px;\n margin-block-start: -27px;\n border-inline-end-width: 0;\n border-radius: ${token.borderRadiusLG}px 0 0 ${token.borderRadiusLG}px;\n }\n `,\n ),\n toggleRight: cx(\n `${prefix}-toggle-right`,\n css`\n inset-inline-end: -${LAYOUT.offset}px;\n width: ${LAYOUT.toggleShort}px;\n height: 100%;\n\n > div {\n inset-block-start: 50%;\n\n width: ${LAYOUT.toggleShort}px;\n height: ${LAYOUT.toggleLength}px;\n margin-block-start: -27px;\n border-inline-start-width: 0;\n border-radius: 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px 0;\n }\n `,\n ),\n toggleRoot: toggleBaseStyle,\n toggleTop: cx(\n `${prefix}-toggle-top`,\n css`\n inset-block-start: -${LAYOUT.offset}px;\n width: 100%;\n height: ${LAYOUT.toggleShort}px;\n\n > div {\n inset-inline-start: 50%;\n\n width: ${LAYOUT.toggleLength}px;\n height: ${LAYOUT.toggleShort}px;\n margin-inline-start: -27px;\n border-block-end-width: 0;\n border-radius: ${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0;\n }\n `,\n ),\n };\n\n // Additional component styles\n const componentStyles = {\n fixed: css`\n position: relative;\n `,\n fullscreen: css`\n position: absolute;\n inset-block: ${headerHeight}px 0;\n inset-inline: 0;\n\n width: 100%;\n height: calc(100% - ${headerHeight}px);\n\n background: ${token.colorBgContainerSecondary};\n `,\n handlerIcon: css`\n transition: all 0.2s ${token.motionEaseOut};\n `,\n panel: cx(\n `${prefix}-fixed`,\n css`\n overflow: hidden;\n background: ${backgroundColor || token.colorBgLayout};\n transition: all 0.2s ${token.motionEaseOut};\n `,\n ),\n root: cx(\n prefix,\n css`\n flex-shrink: 0;\n border: 0 solid ${token.colorBorderSecondary};\n\n &:hover {\n > .${prefix}-toggle {\n opacity: 1;\n }\n }\n `,\n ),\n };\n\n return {\n ...borderStyles,\n ...floatPositions,\n ...handleStyles,\n handleHighlight: handleHighlightStyle,\n ...toggleStyles,\n ...componentStyles,\n };\n },\n);\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"style.mjs","names":["cssVar"],"sources":["../../src/DraggablePanel/style.ts"],"sourcesContent":["import { createStaticStyles, cx } from 'antd-style';\nimport { cva } from 'class-variance-authority';\n\n// Layout constants\nconst LAYOUT = {\n offset: 16,\n toggleLength: 54,\n toggleShort: 16,\n};\n\nconst prefixCls = 'ant';\n\nconst prefix = `${prefixCls}-draggable-panel`;\n\nexport const styles = createStaticStyles(({ css, cssVar }) => {\n // Base styles - border styles split by showBorder\n const borderStyles = {\n borderBottom: css`\n border-block-end: 1px solid ${cssVar.colorBorderSecondary};\n `,\n borderBottomNone: css`\n border-block-end-width: 0;\n `,\n borderLeft: css`\n border-inline-start: 1px solid ${cssVar.colorBorderSecondary};\n `,\n borderLeftNone: css`\n border-inline-start-width: 0;\n `,\n borderRight: css`\n border-inline-end: 1px solid ${cssVar.colorBorderSecondary};\n `,\n borderRightNone: css`\n border-inline-end-width: 0;\n `,\n borderTop: css`\n border-block-start: 1px solid ${cssVar.colorBorderSecondary};\n `,\n borderTopNone: css`\n border-block-start-width: 0;\n `,\n };\n\n // Position styles\n const float = css`\n position: absolute;\n z-index: 200;\n `;\n\n const floatPositions = {\n bottomFloat: cx(\n float,\n css`\n inset-block-end: 0;\n inset-inline: 0 0;\n width: 100%;\n `,\n ),\n leftFloat: cx(\n float,\n css`\n inset-block: var(--draggable-panel-header-height, 0) 0;\n inset-inline-start: 0;\n height: calc(100% - var(--draggable-panel-header-height, 0px));\n `,\n ),\n rightFloat: cx(\n float,\n css`\n inset-block: var(--draggable-panel-header-height, 0) 0;\n inset-inline-end: 0;\n height: calc(100% - var(--draggable-panel-header-height, 0px));\n `,\n ),\n topFloat: cx(\n float,\n css`\n inset-block-start: var(--draggable-panel-header-height, 0);\n inset-inline: 0 0;\n width: 100%;\n `,\n ),\n };\n\n // Handle styles\n const handleBaseStyle = css`\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n transition: all 0.2s ${cssVar.motionEaseOut};\n }\n `;\n\n const handleHighlightStyle = css`\n &:hover {\n &::before {\n background: ${cssVar.colorPrimary};\n box-shadow: 0 0 8px color-mix(in srgb, ${cssVar.colorPrimary} 25%, transparent);\n }\n }\n\n &:active {\n &::before {\n background: ${cssVar.colorPrimary} !important;\n }\n }\n `;\n\n const handleStyles = {\n handleBottom: cx(\n `${prefix}-bottom-handle`,\n css`\n &::before {\n inset-block-end: 50%;\n width: 100%;\n height: 2px;\n }\n `,\n ),\n handleLeft: cx(\n `${prefix}-left-handle`,\n css`\n &::before {\n inset-inline-start: 50%;\n width: 2px;\n height: 100%;\n }\n `,\n ),\n handleRight: cx(\n `${prefix}-right-handle`,\n css`\n &::before {\n inset-inline-end: 50%;\n width: 2px;\n height: 100%;\n }\n `,\n ),\n handleRoot: handleBaseStyle,\n handleTop: cx(\n `${prefix}-top-handle`,\n css`\n &::before {\n inset-block-start: 50%;\n width: 100%;\n height: 2px;\n }\n `,\n ),\n };\n\n // Toggle styles - base class with variant for showHandleWideArea\n const toggleRoot = cx(\n `${prefix}-toggle`,\n css`\n position: absolute;\n z-index: 50;\n opacity: 0;\n transition: all 0.2s ${cssVar.motionEaseOut};\n\n &:hover,\n &:active {\n opacity: 1 !important;\n }\n\n > div {\n pointer-events: all;\n cursor: pointer;\n\n position: absolute;\n\n border: 1px solid ${cssVar.colorBorder};\n\n color: ${cssVar.colorTextTertiary};\n\n background: var(--draggable-panel-bg, ${cssVar.colorBgLayout});\n backdrop-filter: blur(8px);\n\n transition: all 0.2s ${cssVar.motionEaseOut};\n\n &:hover {\n color: ${cssVar.colorTextSecondary};\n }\n\n &:active {\n color: ${cssVar.colorText};\n }\n }\n `,\n );\n\n const toggleRootWithWideArea = css`\n pointer-events: all;\n `;\n\n const toggleRootWithoutWideArea = css`\n pointer-events: none;\n `;\n\n const toggleStyles = {\n toggleBottom: cx(\n `${prefix}-toggle-bottom`,\n css`\n inset-block-end: -${LAYOUT.offset}px;\n width: 100%;\n height: ${LAYOUT.toggleShort}px;\n\n > div {\n inset-inline-start: 50%;\n\n width: ${LAYOUT.toggleLength}px;\n height: ${LAYOUT.toggleShort}px;\n margin-inline-start: -27px;\n border-block-start-width: 0;\n border-radius: 0 0 ${cssVar.borderRadiusLG} ${cssVar.borderRadiusLG};\n }\n `,\n ),\n toggleLeft: cx(\n `${prefix}-toggle-left`,\n css`\n inset-inline-start: -${LAYOUT.offset}px;\n width: ${LAYOUT.toggleShort}px;\n height: 100%;\n\n > div {\n inset-block-start: 50%;\n\n width: ${LAYOUT.toggleShort}px;\n height: ${LAYOUT.toggleLength}px;\n margin-block-start: -27px;\n border-inline-end-width: 0;\n border-radius: ${cssVar.borderRadiusLG} 0 0 ${cssVar.borderRadiusLG};\n }\n `,\n ),\n toggleRight: cx(\n `${prefix}-toggle-right`,\n css`\n inset-inline-end: -${LAYOUT.offset}px;\n width: ${LAYOUT.toggleShort}px;\n height: 100%;\n\n > div {\n inset-block-start: 50%;\n\n width: ${LAYOUT.toggleShort}px;\n height: ${LAYOUT.toggleLength}px;\n margin-block-start: -27px;\n border-inline-start-width: 0;\n border-radius: 0 ${cssVar.borderRadiusLG} ${cssVar.borderRadiusLG} 0;\n }\n `,\n ),\n toggleRoot,\n toggleRootWithWideArea,\n toggleRootWithoutWideArea,\n toggleTop: cx(\n `${prefix}-toggle-top`,\n css`\n inset-block-start: -${LAYOUT.offset}px;\n width: 100%;\n height: ${LAYOUT.toggleShort}px;\n\n > div {\n inset-inline-start: 50%;\n\n width: ${LAYOUT.toggleLength}px;\n height: ${LAYOUT.toggleShort}px;\n margin-inline-start: -27px;\n border-block-end-width: 0;\n border-radius: ${cssVar.borderRadiusLG} ${cssVar.borderRadiusLG} 0 0;\n }\n `,\n ),\n };\n\n // Additional component styles\n const componentStyles = {\n fixed: css`\n position: relative;\n `,\n fullscreen: css`\n position: absolute;\n inset-block: var(--draggable-panel-header-height, 0) 0;\n inset-inline: 0;\n\n width: 100%;\n height: calc(100% - var(--draggable-panel-header-height, 0px));\n\n background: ${cssVar.colorBgContainer};\n `,\n handlerIcon: css`\n transition: all 0.2s ${cssVar.motionEaseOut};\n `,\n panel: cx(\n `${prefix}-fixed`,\n css`\n overflow: hidden;\n background: var(--draggable-panel-bg, ${cssVar.colorBgLayout});\n transition: all 0.2s ${cssVar.motionEaseOut};\n `,\n ),\n root: cx(\n prefix,\n css`\n flex-shrink: 0;\n\n &:hover {\n > .${prefix}-toggle {\n opacity: 1;\n }\n }\n `,\n ),\n };\n\n return {\n ...borderStyles,\n ...floatPositions,\n ...handleStyles,\n handleHighlight: handleHighlightStyle,\n ...toggleStyles,\n ...componentStyles,\n };\n});\n\nexport const handleVariants = cva(styles.handleRoot, {\n variants: {\n placement: {\n bottom: styles.handleBottom,\n left: styles.handleLeft,\n right: styles.handleRight,\n top: styles.handleTop,\n },\n },\n});\n\nexport const panelVariants = cva(styles.root, {\n compoundVariants: [\n {\n class: styles.bottomFloat,\n mode: 'float',\n placement: 'bottom',\n },\n {\n class: styles.topFloat,\n mode: 'float',\n placement: 'top',\n },\n {\n class: styles.leftFloat,\n mode: 'float',\n placement: 'left',\n },\n {\n class: styles.rightFloat,\n mode: 'float',\n placement: 'right',\n },\n // Border styles based on placement, isExpand, and showBorder\n // Note: border is on the opposite side of placement\n // placement 'top' -> borderBottom, placement 'right' -> borderLeft, etc.\n {\n class: styles.borderBottom,\n isExpand: true,\n placement: 'top',\n showBorder: true,\n },\n {\n class: styles.borderBottomNone,\n isExpand: true,\n placement: 'top',\n showBorder: false,\n },\n {\n class: styles.borderLeft,\n isExpand: true,\n placement: 'right',\n showBorder: true,\n },\n {\n class: styles.borderLeftNone,\n isExpand: true,\n placement: 'right',\n showBorder: false,\n },\n {\n class: styles.borderTop,\n isExpand: true,\n placement: 'bottom',\n showBorder: true,\n },\n {\n class: styles.borderTopNone,\n isExpand: true,\n placement: 'bottom',\n showBorder: false,\n },\n {\n class: styles.borderRight,\n isExpand: true,\n placement: 'left',\n showBorder: true,\n },\n {\n class: styles.borderRightNone,\n isExpand: true,\n placement: 'left',\n showBorder: false,\n },\n ],\n defaultVariants: {\n isExpand: false,\n mode: 'fixed',\n placement: 'right',\n showBorder: true,\n },\n /* eslint-disable sort-keys-fix/sort-keys-fix */\n variants: {\n isExpand: {\n false: null,\n true: null,\n },\n mode: {\n fixed: styles.fixed,\n float: null,\n },\n placement: {\n bottom: null,\n left: null,\n right: null,\n top: null,\n },\n showBorder: {\n false: null,\n true: null,\n },\n },\n /* eslint-enable sort-keys-fix/sort-keys-fix */\n});\n\nexport const toggleVariants = cva(styles.toggleRoot, {\n compoundVariants: [\n {\n class: styles.toggleRootWithWideArea,\n showHandleWideArea: true,\n },\n {\n class: styles.toggleRootWithoutWideArea,\n showHandleWideArea: false,\n },\n ],\n defaultVariants: {\n showHandleWideArea: false,\n },\n variants: {\n placement: {\n bottom: styles.toggleTop,\n left: styles.toggleRight,\n right: styles.toggleLeft,\n top: styles.toggleBottom,\n },\n showHandleWideArea: {\n false: null,\n true: null,\n },\n },\n});\n"],"mappings":"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W;GACZ;EACD;GACE,OAAO,OAAO;GACd,MAAM;GACN,WAAW;GACZ;EAID;GACE,OAAO,OAAO;GACd,UAAU;GACV,WAAW;GACX,YAAY;GACb;EACD;GACE,OAAO,OAAO;GACd,UAAU;GACV,WAAW;GACX,YAAY;GACb;EACD;GACE,OAAO,OAAO;GACd,UAAU;GACV,WAAW;GACX,YAAY;GACb;EACD;GACE,OAAO,OAAO;GACd,UAAU;GACV,WAAW;GACX,YAAY;GACb;EACD;GACE,OAAO,OAAO;GACd,UAAU;GACV,WAAW;GACX,YAAY;GACb;EACD;GACE,OAAO,OAAO;GACd,UAAU;GACV,WAAW;GACX,YAAY;GACb;EACD;GACE,OAAO,OAAO;GACd,UAAU;GACV,WAAW;GACX,YAAY;GACb;EACD;GACE,OAAO,OAAO;GACd,UAAU;GACV,WAAW;GACX,YAAY;GACb;EACF;CACD,iBAAiB;EACf,UAAU;EACV,MAAM;EACN,WAAW;EACX,YAAY;EACb;CAED,UAAU;EACR,UAAU;GACR,OAAO;GACP,MAAM;GACP;EACD,MAAM;GACJ,OAAO,OAAO;GACd,OAAO;GACR;EACD,WAAW;GACT,QAAQ;GACR,MAAM;GACN,OAAO;GACP,KAAK;GACN;EACD,YAAY;GACV,OAAO;GACP,MAAM;GACP;EACF;CAEF,CAAC;AAEF,MAAa,iBAAiB,IAAI,OAAO,YAAY;CACnD,kBAAkB,CAChB;EACE,OAAO,OAAO;EACd,oBAAoB;EACrB,EACD;EACE,OAAO,OAAO;EACd,oBAAoB;EACrB,CACF;CACD,iBAAiB,EACf,oBAAoB,OACrB;CACD,UAAU;EACR,WAAW;GACT,QAAQ,OAAO;GACf,MAAM,OAAO;GACb,OAAO,OAAO;GACd,KAAK,OAAO;GACb;EACD,oBAAoB;GAClB,OAAO;GACP,MAAM;GACP;EACF;CACF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DraggableSideNavProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react63 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/DraggableSideNav/DraggableSideNav.d.ts
|
|
5
|
-
declare const DraggableSideNav:
|
|
5
|
+
declare const DraggableSideNav: react63.NamedExoticComponent<DraggableSideNavProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DraggableSideNav };
|
|
8
8
|
//# sourceMappingURL=DraggableSideNav.d.mts.map
|