@lobehub/ui 1.170.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/A/index.d.ts +5 -3
- package/es/A/index.js +7 -10
- package/es/ActionIcon/ActionIcon.d.ts +4 -0
- package/es/ActionIcon/ActionIcon.js +158 -0
- package/es/ActionIcon/components/utils.d.ts +5 -0
- package/es/ActionIcon/components/utils.js +47 -0
- package/es/ActionIcon/index.d.ts +2 -66
- package/es/ActionIcon/index.js +1 -128
- package/es/ActionIcon/style.d.ts +13 -9
- package/es/ActionIcon/style.js +17 -14
- package/es/ActionIcon/type.d.ts +25 -0
- package/es/ActionIconGroup/ActionIconGroup.d.ts +4 -0
- package/es/ActionIconGroup/ActionIconGroup.js +135 -0
- package/es/ActionIconGroup/index.d.ts +2 -57
- package/es/ActionIconGroup/index.js +1 -88
- package/es/ActionIconGroup/style.d.ts +8 -4
- package/es/ActionIconGroup/style.js +10 -6
- package/es/ActionIconGroup/type.d.ts +19 -0
- package/es/Alert/Alert.d.ts +4 -0
- package/es/Alert/Alert.js +244 -0
- package/es/Alert/index.d.ts +2 -18
- package/es/Alert/index.js +1 -146
- package/es/Alert/style.d.ts +6 -5
- package/es/Alert/style.js +15 -13
- package/es/Alert/type.d.ts +22 -0
- package/es/AutoComplete/Select.d.ts +4 -0
- package/es/AutoComplete/Select.js +56 -0
- package/es/AutoComplete/index.d.ts +2 -0
- package/es/AutoComplete/index.js +1 -0
- package/es/AutoComplete/style.d.ts +7 -0
- package/es/AutoComplete/style.js +15 -0
- package/es/AutoComplete/type.d.ts +4 -0
- package/es/AutoComplete/type.js +1 -0
- package/es/Avatar/Avatar.d.ts +4 -0
- package/es/Avatar/Avatar.js +136 -0
- package/es/Avatar/AvatarGroup/index.d.ts +4 -0
- package/es/Avatar/AvatarGroup/index.js +92 -0
- package/es/Avatar/AvatarGroup/style.d.ts +4 -0
- package/es/Avatar/AvatarGroup/style.js +12 -0
- package/es/Avatar/index.d.ts +9 -28
- package/es/Avatar/index.js +6 -80
- package/es/Avatar/style.d.ts +7 -6
- package/es/Avatar/style.js +10 -10
- package/es/Avatar/type.d.ts +41 -0
- package/es/Avatar/type.js +1 -0
- package/es/Block/Block.d.ts +4 -0
- package/es/Block/Block.js +87 -0
- package/es/Block/index.d.ts +2 -0
- package/es/Block/index.js +1 -0
- package/es/Block/style.d.ts +12 -0
- package/es/Block/style.js +20 -0
- package/es/Block/type.d.ts +9 -0
- package/es/Block/type.js +1 -0
- package/es/Burger/Burger.d.ts +4 -0
- package/es/Burger/Burger.js +83 -0
- package/es/Burger/index.d.ts +2 -39
- package/es/Burger/index.js +1 -79
- package/es/Burger/type.d.ts +21 -0
- package/es/Burger/type.js +1 -0
- package/es/Button/Button.d.ts +4 -0
- package/es/Button/Button.js +99 -0
- package/es/Button/index.d.ts +2 -0
- package/es/Button/index.js +1 -0
- package/es/Button/style.d.ts +7 -0
- package/es/Button/style.js +16 -0
- package/es/Button/type.d.ts +10 -0
- package/es/Button/type.js +1 -0
- package/es/CodeEditor/CodeEditor.d.ts +4 -0
- package/es/CodeEditor/CodeEditor.js +114 -0
- package/es/CodeEditor/index.d.ts +2 -52
- package/es/CodeEditor/index.js +1 -429
- package/es/CodeEditor/style.d.ts +5 -6
- package/es/CodeEditor/style.js +10 -12
- package/es/CodeEditor/type.d.ts +21 -0
- package/es/CodeEditor/type.js +1 -0
- package/es/Collapse/Collapse.d.ts +4 -0
- package/es/Collapse/Collapse.js +152 -0
- package/es/Collapse/index.d.ts +2 -14
- package/es/Collapse/index.js +2 -61
- package/es/Collapse/style.d.ts +11 -11
- package/es/Collapse/style.js +19 -22
- package/es/Collapse/type.d.ts +29 -0
- package/es/Collapse/type.js +1 -0
- package/es/ColorSwatches/ColorSwatches.d.ts +4 -0
- package/es/ColorSwatches/ColorSwatches.js +129 -0
- package/es/ColorSwatches/index.d.ts +2 -22
- package/es/ColorSwatches/index.js +2 -140
- package/es/ColorSwatches/type.d.ts +23 -0
- package/es/ColorSwatches/type.js +1 -0
- package/es/ConfigProvider/index.js +3 -19
- package/es/CopyButton/CopyButton.d.ts +4 -0
- package/es/CopyButton/CopyButton.js +64 -0
- package/es/CopyButton/index.d.ts +2 -10
- package/es/CopyButton/index.js +2 -67
- package/es/CopyButton/type.d.ts +4 -0
- package/es/CopyButton/type.js +1 -0
- package/es/DatePicker/DatePicker.d.ts +4 -0
- package/es/DatePicker/DatePicker.js +56 -0
- package/es/DatePicker/index.d.ts +2 -0
- package/es/DatePicker/index.js +1 -0
- package/es/DatePicker/style.d.ts +7 -0
- package/es/DatePicker/style.js +14 -0
- package/es/DatePicker/type.d.ts +4 -0
- package/es/DatePicker/type.js +1 -0
- package/es/DraggablePanel/DraggablePanel.d.ts +4 -0
- package/es/DraggablePanel/DraggablePanel.js +340 -0
- package/es/DraggablePanel/components/DraggablePanelBody.js +1 -0
- package/es/DraggablePanel/components/DraggablePanelContainer.js +1 -0
- package/es/DraggablePanel/components/DraggablePanelFooter.js +1 -0
- package/es/DraggablePanel/components/DraggablePanelHeader.js +3 -8
- package/es/DraggablePanel/components/style.d.ts +1 -0
- package/es/DraggablePanel/components/style.js +6 -5
- package/es/DraggablePanel/index.d.ts +18 -98
- package/es/DraggablePanel/index.js +15 -250
- package/es/DraggablePanel/style.d.ts +15 -9
- package/es/DraggablePanel/style.js +65 -28
- package/es/DraggablePanel/type.d.ts +37 -0
- package/es/DraggablePanel/type.js +1 -0
- package/es/DraggablePanel/utils.d.ts +2 -2
- package/es/Drawer/Drawer.d.ts +4 -0
- package/es/Drawer/Drawer.js +176 -0
- package/es/Drawer/index.d.ts +2 -26
- package/es/Drawer/index.js +1 -174
- package/es/Drawer/type.d.ts +25 -0
- package/es/Drawer/type.js +1 -0
- package/es/Dropdown/Dropdown.d.ts +4 -0
- package/es/Dropdown/Dropdown.js +44 -0
- package/es/Dropdown/index.d.ts +2 -0
- package/es/Dropdown/index.js +1 -0
- package/es/Dropdown/type.d.ts +8 -0
- package/es/Dropdown/type.js +1 -0
- package/es/EditableText/ControlInput.d.ts +16 -0
- package/es/{components → EditableText}/ControlInput.js +56 -43
- package/es/EditableText/EditableText.d.ts +4 -0
- package/es/EditableText/EditableText.js +126 -0
- package/es/EditableText/index.d.ts +2 -9
- package/es/EditableText/index.js +1 -61
- package/es/EditableText/type.d.ts +19 -0
- package/es/EditableText/type.js +1 -0
- package/es/EmojiPicker/AvatarUploader.js +14 -17
- package/es/EmojiPicker/EmojiPicker.d.ts +4 -0
- package/es/EmojiPicker/EmojiPicker.js +212 -0
- package/es/EmojiPicker/index.d.ts +2 -47
- package/es/EmojiPicker/index.js +1 -264
- package/es/EmojiPicker/style.d.ts +1 -2
- package/es/EmojiPicker/style.js +5 -6
- package/es/EmojiPicker/type.d.ts +44 -0
- package/es/EmojiPicker/type.js +1 -0
- package/es/FileTypeIcon/FileTypeIcon.d.ts +4 -0
- package/es/FileTypeIcon/FileTypeIcon.js +84 -0
- package/es/FileTypeIcon/components/FileIcon.d.ts +12 -0
- package/es/{Swatches/index.js → FileTypeIcon/components/FileIcon.js} +40 -50
- package/es/FileTypeIcon/components/FolderIcon.d.ts +12 -0
- package/es/FileTypeIcon/components/FolderIcon.js +52 -0
- package/es/FileTypeIcon/index.d.ts +2 -13
- package/es/FileTypeIcon/index.js +1 -123
- package/es/{mobile/MobileNavBar → FileTypeIcon}/style.d.ts +1 -3
- package/es/FileTypeIcon/style.js +11 -0
- package/es/FileTypeIcon/type.d.ts +13 -0
- package/es/FileTypeIcon/type.js +1 -0
- package/es/FluentEmoji/FluentEmoji.d.ts +4 -0
- package/es/FluentEmoji/FluentEmoji.js +78 -0
- package/es/FluentEmoji/index.d.ts +2 -22
- package/es/FluentEmoji/index.js +1 -68
- package/es/FluentEmoji/type.d.ts +10 -0
- package/es/FluentEmoji/type.js +1 -0
- package/es/FluentEmoji/utils.d.ts +1 -1
- package/es/FluentEmoji/utils.js +1 -1
- package/es/FontLoader/index.d.ts +0 -3
- package/es/FontLoader/index.js +19 -4
- package/es/Footer/Footer.d.ts +4 -0
- package/es/Footer/Footer.js +46 -0
- package/es/Footer/index.d.ts +2 -24
- package/es/Footer/index.js +1 -29
- package/es/Footer/style.d.ts +1 -1
- package/es/Footer/style.js +2 -2
- package/es/Footer/type.d.ts +9 -0
- package/es/Footer/type.js +1 -0
- package/es/Form/Form.d.ts +4 -0
- package/es/Form/Form.js +184 -0
- package/es/Form/components/FormDivider.d.ts +3 -4
- package/es/Form/components/FormDivider.js +23 -7
- package/es/Form/components/FormFlatGroup.d.ts +1 -5
- package/es/Form/components/FormFlatGroup.js +26 -13
- package/es/Form/components/FormFooter.d.ts +1 -3
- package/es/Form/components/FormFooter.js +7 -16
- package/es/Form/components/FormGroup.d.ts +2 -42
- package/es/Form/components/FormGroup.js +56 -54
- package/es/Form/components/FormItem.d.ts +1 -20
- package/es/Form/components/FormItem.js +47 -34
- package/es/Form/components/FormProvider.js +5 -3
- package/es/Form/components/FormSubmitFooter.d.ts +2 -19
- package/es/Form/components/FormSubmitFooter.js +35 -39
- package/es/Form/components/FormTitle.d.ts +2 -11
- package/es/Form/components/FormTitle.js +43 -40
- package/es/Form/components/merge.d.ts +19 -0
- package/es/Form/components/merge.js +112 -0
- package/es/Form/index.d.ts +12 -18
- package/es/Form/index.js +8 -142
- package/es/Form/style.d.ts +35 -2
- package/es/Form/style.js +67 -4
- package/es/Form/type.d.ts +110 -0
- package/es/Form/type.js +1 -0
- package/es/FormModal/FormModal.d.ts +4 -0
- package/es/FormModal/FormModal.js +143 -0
- package/es/FormModal/index.d.ts +2 -19
- package/es/FormModal/index.js +1 -138
- package/es/FormModal/type.d.ts +20 -0
- package/es/FormModal/type.js +1 -0
- package/es/Grid/Grid.d.ts +4 -0
- package/es/Grid/Grid.js +43 -0
- package/es/Grid/index.d.ts +2 -16
- package/es/Grid/index.js +1 -53
- package/es/Grid/style.d.ts +5 -0
- package/es/Grid/style.js +11 -0
- package/es/Grid/type.d.ts +8 -0
- package/es/Grid/type.js +1 -0
- package/es/GuideCard/GuideCard.d.ts +4 -0
- package/es/GuideCard/GuideCard.js +116 -0
- package/es/GuideCard/index.d.ts +2 -0
- package/es/GuideCard/index.js +1 -0
- package/es/{EmptyCard → GuideCard}/style.d.ts +7 -2
- package/es/GuideCard/style.js +22 -0
- package/es/GuideCard/type.d.ts +31 -0
- package/es/GuideCard/type.js +1 -0
- package/es/Header/Header.d.ts +4 -0
- package/es/Header/Header.js +102 -0
- package/es/Header/index.d.ts +2 -42
- package/es/Header/index.js +1 -100
- package/es/Header/style.d.ts +1 -2
- package/es/Header/style.js +5 -7
- package/es/Header/type.d.ts +14 -0
- package/es/Header/type.js +1 -0
- package/es/Highlighter/FullFeatured.d.ts +5 -3
- package/es/Highlighter/FullFeatured.js +90 -47
- package/es/Highlighter/Highlighter.d.ts +4 -0
- package/es/Highlighter/Highlighter.js +130 -0
- package/es/Highlighter/SyntaxHighlighter/index.d.ts +1 -6
- package/es/Highlighter/SyntaxHighlighter/index.js +61 -31
- package/es/Highlighter/SyntaxHighlighter/style.d.ts +4 -1
- package/es/Highlighter/SyntaxHighlighter/style.js +8 -7
- package/es/Highlighter/const.d.ts +7 -0
- package/es/Highlighter/const.js +17 -0
- package/es/Highlighter/index.d.ts +4 -6
- package/es/Highlighter/index.js +2 -99
- package/es/Highlighter/style.d.ts +15 -5
- package/es/Highlighter/style.js +22 -12
- package/es/Highlighter/type.d.ts +18 -34
- package/es/Hotkey/Hotkey.d.ts +4 -0
- package/es/Hotkey/Hotkey.js +197 -0
- package/es/Hotkey/const.d.ts +34 -0
- package/es/Hotkey/const.js +49 -0
- package/es/Hotkey/index.d.ts +3 -20
- package/es/Hotkey/index.js +2 -165
- package/es/Hotkey/style.d.ts +7 -1
- package/es/Hotkey/style.js +14 -5
- package/es/Hotkey/type.d.ts +15 -34
- package/es/Hotkey/type.js +1 -49
- package/es/Hotkey/utils.js +1 -1
- package/es/HotkeyInput/HotkeyInput.d.ts +4 -0
- package/es/HotkeyInput/HotkeyInput.js +322 -0
- package/es/HotkeyInput/index.d.ts +2 -27
- package/es/HotkeyInput/index.js +2 -282
- package/es/HotkeyInput/style.d.ts +9 -7
- package/es/HotkeyInput/style.js +15 -14
- package/es/HotkeyInput/type.d.ts +26 -0
- package/es/HotkeyInput/type.js +1 -0
- package/es/Icon/Icon.d.ts +4 -0
- package/es/Icon/Icon.js +86 -0
- package/es/Icon/components/IconProvider.d.ts +9 -0
- package/es/Icon/components/IconProvider.js +17 -0
- package/es/Icon/components/utils.d.ts +8 -0
- package/es/Icon/components/utils.js +45 -0
- package/es/Icon/index.d.ts +3 -28
- package/es/Icon/index.js +2 -55
- package/es/Icon/type.d.ts +15 -0
- package/es/Icon/type.js +1 -0
- package/es/Image/Image.d.ts +4 -0
- package/es/Image/Image.js +122 -0
- package/es/Image/PreviewGroup.d.ts +4 -0
- package/es/Image/{ImageGallery.js → PreviewGroup.js} +7 -6
- package/es/Image/{Preview.d.ts → components/Preview.d.ts} +1 -1
- package/es/Image/components/Toolbar.d.ts +10 -0
- package/es/Image/components/Toolbar.js +56 -0
- package/es/Image/components/usePreview.d.ts +4 -0
- package/es/Image/components/usePreview.js +84 -0
- package/es/Image/components/usePreviewGroup.d.ts +4 -0
- package/es/Image/components/usePreviewGroup.js +84 -0
- package/es/Image/index.d.ts +9 -19
- package/es/Image/index.js +6 -95
- package/es/Image/style.d.ts +10 -4
- package/es/Image/style.js +21 -12
- package/es/Image/type.d.ts +38 -0
- package/es/Image/type.js +1 -0
- package/es/ImageSelect/ImageSelect.d.ts +4 -0
- package/es/{SelectWithImg/index.js → ImageSelect/ImageSelect.js} +25 -24
- package/es/ImageSelect/index.d.ts +2 -0
- package/es/ImageSelect/index.js +2 -0
- package/es/{SelectWithImg → ImageSelect}/styles.d.ts +1 -2
- package/es/ImageSelect/styles.js +15 -0
- package/es/{SelectWithImg/index.d.ts → ImageSelect/type.d.ts} +9 -9
- package/es/ImageSelect/type.js +1 -0
- package/es/Img/index.d.ts +6 -5
- package/es/Img/index.js +11 -13
- package/es/Input/Input.d.ts +4 -0
- package/es/Input/Input.js +58 -0
- package/es/Input/InputNumber.d.ts +4 -0
- package/es/Input/InputNumber.js +58 -0
- package/es/Input/InputOPT.d.ts +4 -0
- package/es/Input/InputOPT.js +58 -0
- package/es/Input/InputPassword.d.ts +4 -0
- package/es/Input/InputPassword.js +58 -0
- package/es/Input/TextArea.d.ts +4 -0
- package/es/Input/TextArea.js +64 -0
- package/es/Input/index.d.ts +6 -24
- package/es/Input/index.js +5 -54
- package/es/Input/style.d.ts +11 -5
- package/es/Input/style.js +14 -7
- package/es/Input/type.d.ts +26 -0
- package/es/Input/type.js +1 -0
- package/es/Layout/Layout.d.ts +4 -0
- package/es/Layout/Layout.js +80 -0
- package/es/Layout/components/LayoutFooter.d.ts +3 -0
- package/es/Layout/components/LayoutFooter.js +29 -0
- package/es/Layout/components/LayoutHeader.d.ts +4 -0
- package/es/Layout/components/LayoutHeader.js +34 -0
- package/es/Layout/components/LayoutMain.d.ts +3 -0
- package/es/{TabsNav/index.js → Layout/components/LayoutMain.js} +14 -12
- package/es/Layout/components/LayoutSidebar.d.ts +4 -0
- package/es/Layout/components/LayoutSidebar.js +34 -0
- package/es/Layout/components/LayoutSidebarInner.d.ts +4 -0
- package/es/Layout/components/LayoutSidebarInner.js +30 -0
- package/es/Layout/components/LayoutToc.d.ts +4 -0
- package/es/Layout/components/LayoutToc.js +34 -0
- package/es/Layout/index.d.ts +24 -65
- package/es/Layout/index.js +21 -184
- package/es/Layout/style.d.ts +1 -2
- package/es/Layout/style.js +12 -14
- package/es/Layout/type.d.ts +28 -0
- package/es/Layout/type.js +1 -0
- package/es/List/List.d.ts +4 -0
- package/es/List/List.js +63 -0
- package/es/List/ListItem/index.d.ts +3 -20
- package/es/List/ListItem/index.js +51 -39
- package/es/List/ListItem/style.d.ts +3 -3
- package/es/List/ListItem/style.js +14 -11
- package/es/List/index.d.ts +10 -5
- package/es/List/index.js +5 -6
- package/es/List/type.d.ts +50 -0
- package/es/List/type.js +1 -0
- package/es/Markdown/Markdown.d.ts +4 -0
- package/es/Markdown/Markdown.js +202 -0
- package/es/Markdown/Typography.d.ts +3 -9
- package/es/Markdown/Typography.js +9 -5
- package/es/Markdown/index.d.ts +3 -44
- package/es/Markdown/index.js +2 -234
- package/es/Markdown/markdown.style.d.ts +4 -1
- package/es/Markdown/markdown.style.js +5 -2
- package/es/Markdown/type.d.ts +49 -0
- package/es/Markdown/type.js +1 -0
- package/es/Markdown/utils.d.ts +15 -0
- package/es/Markdown/utils.js +55 -0
- package/es/MaskShadow/MaskShadow.d.ts +4 -0
- package/es/MaskShadow/MaskShadow.js +54 -0
- package/es/MaskShadow/index.d.ts +2 -0
- package/es/MaskShadow/index.js +1 -0
- package/es/MaskShadow/style.d.ts +7 -0
- package/es/MaskShadow/style.js +14 -0
- package/es/MaskShadow/type.d.ts +6 -0
- package/es/MaskShadow/type.js +1 -0
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.d.ts +4 -0
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.js +86 -0
- package/es/MaterialFileTypeIcon/icon-map.json +1 -3713
- package/es/MaterialFileTypeIcon/index.d.ts +2 -12
- package/es/MaterialFileTypeIcon/index.js +1 -85
- package/es/MaterialFileTypeIcon/type.d.ts +13 -0
- package/es/MaterialFileTypeIcon/type.js +1 -0
- package/es/MaterialFileTypeIcon/utils.d.ts +5 -6
- package/es/Menu/Menu.d.ts +4 -0
- package/es/Menu/Menu.js +102 -0
- package/es/Menu/index.d.ts +3 -0
- package/es/Menu/index.js +2 -0
- package/es/{TabsNav → Menu}/style.d.ts +5 -1
- package/es/Menu/style.js +18 -0
- package/es/Menu/type.d.ts +32 -0
- package/es/Menu/type.js +1 -0
- package/es/Menu/utils.d.ts +3 -0
- package/es/Menu/utils.js +47 -0
- package/es/Mermaid/FullFeatured.js +80 -29
- package/es/Mermaid/Mermaid.d.ts +5 -0
- package/es/Mermaid/Mermaid.js +130 -0
- package/es/Mermaid/SyntaxMermaid/index.d.ts +4 -0
- package/es/Mermaid/SyntaxMermaid/index.js +87 -0
- package/es/Mermaid/const.d.ts +7 -0
- package/es/Mermaid/const.js +24 -0
- package/es/Mermaid/index.d.ts +4 -5
- package/es/Mermaid/index.js +3 -96
- package/es/Mermaid/type.d.ts +16 -5
- package/es/Modal/Modal.d.ts +4 -0
- package/es/Modal/Modal.js +173 -0
- package/es/Modal/index.d.ts +2 -13
- package/es/Modal/index.js +1 -168
- package/es/Modal/style.d.ts +2 -4
- package/es/Modal/style.js +6 -8
- package/es/Modal/type.d.ts +9 -0
- package/es/Modal/type.js +1 -0
- package/es/ScrollShadow/ScrollShadow.d.ts +4 -0
- package/es/ScrollShadow/ScrollShadow.js +153 -0
- package/es/ScrollShadow/index.d.ts +2 -0
- package/es/ScrollShadow/index.js +1 -0
- package/es/ScrollShadow/style.d.ts +12 -0
- package/es/ScrollShadow/style.js +21 -0
- package/es/ScrollShadow/type.d.ts +15 -0
- package/es/ScrollShadow/type.js +1 -0
- package/es/ScrollShadow/useScrollOverflow.d.ts +21 -0
- package/es/ScrollShadow/useScrollOverflow.js +83 -0
- package/es/SearchBar/SearchBar.d.ts +4 -0
- package/es/SearchBar/SearchBar.js +126 -0
- package/es/{SearchResultCard → SearchBar/components/SearchResultCard}/index.d.ts +1 -5
- package/es/{EmptyCard → SearchBar/components/SearchResultCard}/index.js +54 -52
- package/es/SearchBar/components/SearchResultCard/style.d.ts +5 -0
- package/es/SearchBar/components/SearchResultCard/style.js +12 -0
- package/es/SearchBar/components/SearchResultCards/index.d.ts +4 -0
- package/es/SearchBar/components/SearchResultCards/index.js +39 -0
- package/es/SearchBar/index.d.ts +3 -34
- package/es/SearchBar/index.js +2 -132
- package/es/SearchBar/style.d.ts +0 -1
- package/es/SearchBar/style.js +3 -4
- package/es/SearchBar/type.d.ts +38 -0
- package/es/SearchBar/type.js +1 -0
- package/es/Segmented/Segmented.d.ts +4 -0
- package/es/Segmented/Segmented.js +69 -0
- package/es/Segmented/index.d.ts +2 -0
- package/es/Segmented/index.js +1 -0
- package/es/Segmented/style.d.ts +8 -0
- package/es/Segmented/style.js +16 -0
- package/es/Segmented/type.d.ts +11 -0
- package/es/Segmented/type.js +1 -0
- package/es/Select/Select.d.ts +4 -0
- package/es/Select/Select.js +70 -0
- package/es/Select/index.d.ts +2 -0
- package/es/Select/index.js +1 -0
- package/es/Select/style.d.ts +7 -0
- package/es/Select/style.js +16 -0
- package/es/Select/type.d.ts +9 -0
- package/es/Select/type.js +1 -0
- package/es/SideNav/SideNav.d.ts +4 -0
- package/es/SideNav/SideNav.js +51 -0
- package/es/SideNav/index.d.ts +2 -18
- package/es/SideNav/index.js +1 -50
- package/es/SideNav/style.js +1 -1
- package/es/SideNav/type.d.ts +7 -0
- package/es/SideNav/type.js +1 -0
- package/es/SliderWithInput/SliderWithInput.d.ts +4 -0
- package/es/SliderWithInput/SliderWithInput.js +95 -0
- package/es/SliderWithInput/index.d.ts +2 -11
- package/es/SliderWithInput/index.js +1 -77
- package/es/SliderWithInput/type.d.ts +18 -0
- package/es/SliderWithInput/type.js +1 -0
- package/es/Snippet/Snippet.d.ts +4 -0
- package/es/Snippet/Snippet.js +82 -0
- package/es/Snippet/index.d.ts +2 -34
- package/es/Snippet/index.js +1 -54
- package/es/Snippet/style.d.ts +7 -2
- package/es/Snippet/style.js +8 -5
- package/es/Snippet/type.d.ts +12 -0
- package/es/Snippet/type.js +1 -0
- package/es/SortableList/SortableList.d.ts +11 -0
- package/es/{Image/usePreview.js → SortableList/SortableList.js} +76 -86
- package/es/SortableList/components/DragHandle.d.ts +4 -0
- package/es/SortableList/{DragHandle.js → components/DragHandle.js} +9 -6
- package/es/SortableList/{SortableItem.d.ts → components/SortableItem.d.ts} +1 -0
- package/es/SortableList/{SortableItem.js → components/SortableItem.js} +39 -5
- package/es/SortableList/{SortableOverlay.js → components/SortableOverlay.js} +3 -0
- package/es/SortableList/index.d.ts +2 -20
- package/es/SortableList/index.js +1 -98
- package/es/SortableList/style.d.ts +4 -0
- package/es/SortableList/style.js +9 -3
- package/es/SortableList/type.d.ts +12 -0
- package/es/SortableList/type.js +1 -0
- package/es/Tabs/Tabs.d.ts +4 -0
- package/es/Tabs/Tabs.js +74 -0
- package/es/Tabs/index.d.ts +2 -0
- package/es/Tabs/index.js +1 -0
- package/es/Tabs/style.d.ts +9 -0
- package/es/Tabs/style.js +17 -0
- package/es/Tabs/type.d.ts +5 -0
- package/es/Tabs/type.js +1 -0
- package/es/Tag/Tag.d.ts +4 -0
- package/es/Tag/Tag.js +104 -0
- package/es/Tag/index.d.ts +2 -8
- package/es/Tag/index.js +1 -50
- package/es/Tag/styles.d.ts +8 -0
- package/es/Tag/styles.js +17 -0
- package/es/Tag/type.d.ts +8 -0
- package/es/Tag/type.js +1 -0
- package/es/Tag/utils.d.ts +4 -0
- package/es/Tag/utils.js +15 -0
- package/es/ThemeProvider/GlobalStyle/antdOverride.js +1 -1
- package/es/ThemeProvider/Meta.d.ts +1 -5
- package/es/ThemeProvider/ThemeProvider.d.ts +4 -0
- package/es/ThemeProvider/ThemeProvider.js +91 -0
- package/es/ThemeProvider/index.d.ts +3 -28
- package/es/ThemeProvider/index.js +2 -91
- package/es/ThemeProvider/type.d.ts +25 -0
- package/es/ThemeProvider/type.js +1 -0
- package/es/ThemeSwitch/ThemeSwitch.d.ts +4 -0
- package/es/ThemeSwitch/ThemeSwitch.js +85 -0
- package/es/ThemeSwitch/index.d.ts +2 -33
- package/es/ThemeSwitch/index.js +1 -91
- package/es/ThemeSwitch/type.d.ts +15 -0
- package/es/ThemeSwitch/type.js +1 -0
- package/es/Toc/Toc.d.ts +4 -0
- package/es/Toc/Toc.js +43 -0
- package/es/Toc/TocMobile.d.ts +1 -54
- package/es/Toc/TocMobile.js +12 -35
- package/es/Toc/index.d.ts +2 -11
- package/es/Toc/index.js +1 -41
- package/es/Toc/style.js +1 -1
- package/es/Toc/type.d.ts +17 -0
- package/es/Toc/type.js +1 -0
- package/es/Toc/utils.d.ts +11 -0
- package/es/Toc/utils.js +17 -0
- package/es/Tooltip/Tooltip.d.ts +4 -0
- package/es/Tooltip/Tooltip.js +52 -0
- package/es/Tooltip/index.d.ts +2 -10
- package/es/Tooltip/index.js +1 -49
- package/es/Tooltip/type.d.ts +10 -0
- package/es/Tooltip/type.js +1 -0
- package/es/Video/index.d.ts +24 -9
- package/es/Video/index.js +82 -45
- package/es/Video/style.d.ts +9 -5
- package/es/Video/style.js +18 -11
- package/es/awesome/AuroraBackground/AuroraBackground.d.ts +4 -0
- package/es/awesome/{GaussianBackground/index.js → AuroraBackground/AuroraBackground.js} +22 -29
- package/es/awesome/AuroraBackground/index.d.ts +2 -4
- package/es/awesome/AuroraBackground/index.js +1 -38
- package/es/awesome/AuroraBackground/style.js +2 -2
- package/es/awesome/AuroraBackground/type.d.ts +13 -0
- package/es/awesome/AuroraBackground/type.js +1 -0
- package/es/awesome/BottomGradientButton/BottomGradientButton.d.ts +3 -0
- package/es/awesome/BottomGradientButton/BottomGradientButton.js +39 -0
- package/es/awesome/BottomGradientButton/index.d.ts +2 -0
- package/es/awesome/BottomGradientButton/index.js +1 -0
- package/es/awesome/BottomGradientButton/style.d.ts +1 -0
- package/es/awesome/BottomGradientButton/style.js +10 -0
- package/es/awesome/BottomGradientButton/type.d.ts +2 -0
- package/es/awesome/BottomGradientButton/type.js +1 -0
- package/es/awesome/Features/FeatureItem.d.ts +4 -0
- package/es/awesome/Features/{Item.js → FeatureItem.js} +9 -6
- package/es/awesome/Features/Features.d.ts +4 -0
- package/es/awesome/Features/Features.js +41 -0
- package/es/awesome/Features/index.d.ts +2 -24
- package/es/awesome/Features/index.js +1 -40
- package/es/awesome/Features/type.d.ts +27 -0
- package/es/awesome/Features/type.js +1 -0
- package/es/awesome/Giscus/Giscus.d.ts +4 -0
- package/es/awesome/Giscus/Giscus.js +51 -0
- package/es/awesome/Giscus/index.d.ts +2 -8
- package/es/awesome/Giscus/index.js +1 -50
- package/es/awesome/Giscus/type.d.ts +6 -0
- package/es/awesome/Giscus/type.js +1 -0
- package/es/awesome/GradientButton/GradientButton.d.ts +4 -0
- package/es/awesome/GradientButton/GradientButton.js +40 -0
- package/es/awesome/GradientButton/index.d.ts +2 -7
- package/es/awesome/GradientButton/index.js +1 -37
- package/es/awesome/GradientButton/style.d.ts +2 -2
- package/es/awesome/GradientButton/style.js +5 -4
- package/es/awesome/GradientButton/type.d.ts +4 -0
- package/es/awesome/GradientButton/type.js +1 -0
- package/es/awesome/GridBackground/GridBackground.d.ts +4 -0
- package/es/awesome/GridBackground/GridBackground.js +108 -0
- package/es/awesome/GridBackground/GridShowcase.d.ts +1 -6
- package/es/awesome/GridBackground/GridShowcase.js +2 -1
- package/es/awesome/GridBackground/{Grid.d.ts → components/Grid.d.ts} +2 -2
- package/es/awesome/GridBackground/{Grid.js → components/Grid.js} +14 -14
- package/es/awesome/GridBackground/index.d.ts +3 -16
- package/es/awesome/GridBackground/index.js +2 -107
- package/es/awesome/GridBackground/type.d.ts +18 -0
- package/es/awesome/GridBackground/type.js +1 -0
- package/es/awesome/Hero/Hero.d.ts +4 -0
- package/es/awesome/Hero/Hero.js +100 -0
- package/es/awesome/Hero/index.d.ts +2 -43
- package/es/awesome/Hero/index.js +1 -103
- package/es/awesome/Hero/type.d.ts +14 -0
- package/es/awesome/Hero/type.js +1 -0
- package/es/awesome/Spline/ParentSize.d.ts +6 -5
- package/es/awesome/Spline/ParentSize.js +7 -5
- package/es/awesome/Spline/Spine.d.ts +6 -0
- package/es/awesome/Spline/Spine.js +148 -0
- package/es/awesome/Spline/index.d.ts +2 -20
- package/es/awesome/Spline/index.js +1 -146
- package/es/awesome/Spline/type.d.ts +17 -0
- package/es/awesome/Spline/type.js +1 -0
- package/es/awesome/Spotlight/Spotlight.d.ts +4 -0
- package/es/awesome/Spotlight/Spotlight.js +45 -0
- package/es/awesome/Spotlight/index.d.ts +2 -11
- package/es/awesome/Spotlight/index.js +1 -79
- package/es/awesome/Spotlight/type.d.ts +4 -0
- package/es/awesome/Spotlight/type.js +1 -0
- package/es/awesome/Spotlight/useMouseOffset.d.ts +1 -0
- package/es/awesome/{GaussianBackground/useGaussianBackground.js → Spotlight/useMouseOffset.js} +32 -13
- package/es/awesome/SpotlightCard/SpotlightCard.d.ts +4 -0
- package/es/awesome/SpotlightCard/SpotlightCard.js +90 -0
- package/es/awesome/SpotlightCard/SpotlightCardItem.d.ts +1 -5
- package/es/awesome/SpotlightCard/SpotlightCardItem.js +3 -0
- package/es/awesome/SpotlightCard/index.d.ts +2 -14
- package/es/awesome/SpotlightCard/index.js +1 -89
- package/es/awesome/SpotlightCard/type.d.ts +16 -0
- package/es/awesome/SpotlightCard/type.js +1 -0
- package/es/awesome/index.d.ts +4 -5
- package/es/awesome/index.js +2 -3
- package/es/brand/BrandLoading/index.js +1 -0
- package/es/brand/LobeChat/index.d.ts +0 -11
- package/es/brand/LobeChat/index.js +1 -0
- package/es/brand/LobeChatText/index.js +1 -0
- package/es/brand/LobeHub/index.d.ts +0 -11
- package/es/brand/LobeHub/index.js +1 -0
- package/es/brand/LobeHubText/index.js +1 -0
- package/es/brand/Logo3d/index.js +3 -0
- package/es/brand/LogoFlat/index.d.ts +3 -3
- package/es/brand/LogoFlat/index.js +5 -5
- package/es/brand/LogoMono/index.d.ts +3 -3
- package/es/brand/LogoMono/index.js +5 -5
- package/es/brand/LogoThree/Loading.js +1 -3
- package/es/brand/LogoThree/index.js +1 -0
- package/es/chat/BackBottom/BackBottom.d.ts +4 -0
- package/es/chat/BackBottom/BackBottom.js +63 -0
- package/es/chat/BackBottom/index.d.ts +2 -13
- package/es/chat/BackBottom/index.js +1 -62
- package/es/chat/BackBottom/style.d.ts +1 -1
- package/es/chat/BackBottom/style.js +2 -6
- package/es/chat/BackBottom/type.d.ts +11 -0
- package/es/chat/BackBottom/type.js +1 -0
- package/es/chat/Bubble/Bubble.d.ts +4 -0
- package/es/chat/Bubble/Bubble.js +60 -0
- package/es/chat/Bubble/index.d.ts +2 -0
- package/es/chat/Bubble/index.js +1 -0
- package/es/chat/Bubble/style.d.ts +7 -0
- package/es/chat/Bubble/style.js +16 -0
- package/es/chat/Bubble/type.d.ts +7 -0
- package/es/chat/Bubble/type.js +1 -0
- package/es/chat/ChatHeader/ChatHeader.d.ts +4 -0
- package/es/chat/ChatHeader/ChatHeader.js +79 -0
- package/es/chat/ChatHeader/ChatHeaderTitle.d.ts +2 -6
- package/es/chat/ChatHeader/ChatHeaderTitle.js +5 -19
- package/es/chat/ChatHeader/index.d.ts +9 -23
- package/es/chat/ChatHeader/index.js +6 -81
- package/es/chat/ChatHeader/style.d.ts +9 -1
- package/es/chat/ChatHeader/style.js +16 -7
- package/es/{mobile/MobileNavBar/index.d.ts → chat/ChatHeader/type.d.ts} +13 -13
- package/es/chat/ChatHeader/type.js +1 -0
- package/es/chat/ChatInputArea/ChatInputArea.d.ts +4 -20
- package/es/chat/ChatInputArea/ChatInputArea.js +20 -30
- package/es/chat/ChatInputArea/components/ChatInputActionBar.d.ts +4 -0
- package/es/chat/ChatInputArea/components/ChatInputActionBar.js +57 -0
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.ts +4 -0
- package/es/chat/ChatInputArea/{ChatInputAreaInner.js → components/ChatInputAreaInner.js} +9 -7
- package/es/chat/ChatInputArea/components/ChatSendButton.d.ts +4 -0
- package/es/chat/ChatInputArea/components/ChatSendButton.js +83 -0
- package/es/chat/ChatInputArea/index.d.ts +17 -4
- package/es/chat/ChatInputArea/index.js +12 -4
- package/es/chat/ChatInputArea/style.d.ts +10 -0
- package/es/chat/ChatInputArea/style.js +21 -0
- package/es/chat/ChatInputArea/type.d.ts +50 -0
- package/es/chat/ChatInputArea/type.js +1 -0
- package/es/chat/ChatItem/ChatItem.d.ts +5 -0
- package/es/chat/ChatItem/ChatItem.js +183 -0
- package/es/chat/ChatItem/components/Actions.d.ts +2 -2
- package/es/chat/ChatItem/components/Actions.js +2 -2
- package/es/chat/ChatItem/components/Avatar.d.ts +2 -1
- package/es/chat/ChatItem/components/Avatar.js +2 -0
- package/es/chat/ChatItem/components/Loading.js +1 -1
- package/es/chat/ChatItem/components/MessageContent.d.ts +1 -1
- package/es/chat/ChatItem/components/MessageContent.js +2 -2
- package/es/chat/ChatItem/index.d.ts +2 -5
- package/es/chat/ChatItem/index.js +1 -180
- package/es/chat/ChatItem/style.d.ts +1 -1
- package/es/chat/ChatItem/style.js +9 -9
- package/es/chat/ChatItem/type.d.ts +5 -4
- package/es/chat/ChatList/ChatList.d.ts +4 -0
- package/es/chat/ChatList/ChatList.js +70 -0
- package/es/chat/ChatList/components/ChatActionsBar.d.ts +4 -0
- package/es/chat/ChatList/{ActionsBar.js → components/ChatActionsBar.js} +10 -7
- package/es/chat/ChatList/components/ChatListItem.d.ts +4 -0
- package/es/chat/ChatList/{Item.js → components/ChatListItem.js} +11 -10
- package/es/chat/ChatList/{HistoryDivider.js → components/HistoryDivider.js} +2 -2
- package/es/{hooks → chat/ChatList/components}/useChatListActionsBar.d.ts +5 -5
- package/es/chat/ChatList/index.d.ts +3 -15
- package/es/chat/ChatList/index.js +2 -70
- package/es/chat/ChatList/{Item.d.ts → type.d.ts} +22 -11
- package/es/chat/ChatList/type.js +1 -0
- package/es/chat/EditableMessage/EditableMessage.d.ts +4 -0
- package/es/chat/EditableMessage/EditableMessage.js +113 -0
- package/es/chat/EditableMessage/index.d.ts +2 -78
- package/es/chat/EditableMessage/index.js +1 -111
- package/es/chat/EditableMessage/type.d.ts +36 -0
- package/es/chat/EditableMessage/type.js +1 -0
- package/es/chat/EditableMessageList/EditableMessageList.d.ts +4 -0
- package/es/chat/EditableMessageList/EditableMessageList.js +109 -0
- package/es/chat/EditableMessageList/index.d.ts +2 -20
- package/es/chat/EditableMessageList/index.js +1 -113
- package/es/chat/EditableMessageList/messageReducer.d.ts +1 -2
- package/es/chat/EditableMessageList/type.d.ts +6 -0
- package/es/chat/EditableMessageList/type.js +1 -0
- package/es/chat/MessageInput/MessageInput.d.ts +4 -0
- package/es/chat/MessageInput/MessageInput.js +123 -0
- package/es/chat/MessageInput/index.d.ts +2 -45
- package/es/chat/MessageInput/index.js +1 -131
- package/es/chat/MessageInput/type.d.ts +24 -0
- package/es/chat/MessageInput/type.js +1 -0
- package/es/chat/MessageModal/MessageModal.d.ts +4 -0
- package/es/chat/MessageModal/MessageModal.js +110 -0
- package/es/chat/MessageModal/TextArea.d.ts +1 -1
- package/es/chat/MessageModal/index.d.ts +2 -41
- package/es/chat/MessageModal/index.js +1 -129
- package/es/chat/MessageModal/type.d.ts +22 -0
- package/es/chat/MessageModal/type.js +1 -0
- package/es/chat/TokenTag/TokenTag.d.ts +4 -0
- package/es/chat/TokenTag/TokenTag.js +95 -0
- package/es/chat/TokenTag/index.d.ts +2 -25
- package/es/chat/TokenTag/index.js +1 -71
- package/es/chat/TokenTag/style.d.ts +5 -6
- package/es/chat/TokenTag/style.js +8 -30
- package/es/chat/TokenTag/type.d.ts +15 -0
- package/es/chat/TokenTag/type.js +1 -0
- package/es/chat/index.d.ts +4 -5
- package/es/chat/index.js +5 -6
- package/es/chat/types/chatMessage.js +1 -0
- package/es/chat/types/index.d.ts +4 -0
- package/es/chat/types/index.js +4 -0
- package/es/chat/types/meta.js +1 -0
- package/es/color/colors/gold.js +2 -2
- package/es/color/colors/gray.js +1 -1
- package/es/color/colors/green.js +3 -3
- package/es/color/colors/orange.js +2 -2
- package/es/color/colors/purple.js +1 -1
- package/es/color/colors/volcano.js +1 -1
- package/es/hooks/useCopied.js +2 -0
- package/es/hooks/useHighlight.d.ts +9 -4
- package/es/hooks/useHighlight.js +42 -24
- package/es/hooks/useMermaid.d.ts +5 -1
- package/es/hooks/useMermaid.js +10 -6
- package/es/icons/Auth0/components/Mono.js +2 -3
- package/es/icons/Authelia/components/Color.js +2 -3
- package/es/icons/Authelia/components/Mono.js +2 -3
- package/es/icons/Authentik/components/Color.js +2 -3
- package/es/icons/Authentik/components/Mono.js +2 -3
- package/es/icons/Casdoor/components/Color.js +2 -3
- package/es/icons/Casdoor/components/Mono.js +2 -3
- package/es/icons/Clerk/components/Color.js +2 -3
- package/es/icons/Clerk/components/Mono.js +2 -3
- package/es/icons/Logto/components/Color.js +2 -3
- package/es/icons/Logto/components/Mono.js +2 -3
- package/es/icons/MicrosoftEntra/components/Color.js +2 -3
- package/es/icons/MicrosoftEntra/components/Mono.js +2 -3
- package/es/icons/NextAuth/components/Color.js +2 -3
- package/es/icons/NextAuth/components/Mono.js +2 -3
- package/es/icons/Zitadel/components/Color.js +2 -3
- package/es/icons/Zitadel/components/Mono.js +2 -3
- package/es/icons/index.d.ts +1 -0
- package/es/icons/index.js +1 -0
- package/es/icons/lucideExtra/DiscordIcon.d.ts +3 -0
- package/es/icons/lucideExtra/DiscordIcon.js +17 -0
- package/es/icons/lucideExtra/GlobeOffIcon.d.ts +3 -0
- package/es/icons/lucideExtra/GlobeOffIcon.js +25 -0
- package/es/icons/lucideExtra/LeftClickIcon.d.ts +3 -0
- package/es/icons/lucideExtra/LeftClickIcon.js +11 -0
- package/es/icons/lucideExtra/LeftDoubleClickIcon.d.ts +3 -0
- package/es/{Hotkey/components → icons/lucideExtra}/LeftDoubleClickIcon.js +4 -3
- package/es/icons/lucideExtra/RightClickIcon.d.ts +3 -0
- package/es/icons/lucideExtra/RightClickIcon.js +11 -0
- package/es/icons/lucideExtra/RightDoubleClickIcon.d.ts +3 -0
- package/es/{Hotkey/components → icons/lucideExtra}/RightDoubleClickIcon.js +4 -3
- package/es/icons/lucideExtra/index.d.ts +6 -0
- package/es/icons/lucideExtra/index.js +6 -0
- package/es/index.d.ts +63 -7
- package/es/index.js +62 -7
- package/es/mdx/Callout/index.js +44 -45
- package/es/{awesome/GaussianBackground → mdx/Callout}/style.d.ts +1 -1
- package/es/mdx/Callout/style.js +11 -0
- package/es/mdx/Cards/Card.d.ts +3 -3
- package/es/mdx/Cards/Card.js +12 -7
- package/es/mdx/Cards/index.d.ts +1 -1
- package/es/mdx/Cards/index.js +10 -17
- package/es/{Mermaid/components → mdx/Cards}/style.d.ts +1 -1
- package/es/mdx/Cards/style.js +9 -0
- package/es/mdx/FileTree/File.js +1 -0
- package/es/mdx/FileTree/Folder.js +1 -0
- package/es/mdx/FileTree/index.js +6 -14
- package/es/mdx/FileTree/style.d.ts +3 -0
- package/es/mdx/FileTree/style.js +10 -0
- package/es/mdx/Mdx/index.d.ts +1 -1
- package/es/mdx/Mdx/index.js +4 -3
- package/es/mdx/Steps/index.js +6 -14
- package/es/mdx/Steps/style.d.ts +3 -0
- package/es/mdx/Steps/style.js +10 -0
- package/es/mdx/Tabs/Tab.js +1 -0
- package/es/mdx/Tabs/index.d.ts +2 -2
- package/es/mdx/Tabs/index.js +14 -25
- package/es/mdx/Tabs/style.d.ts +4 -0
- package/es/mdx/Tabs/style.js +12 -0
- package/es/mdx/mdxComponents/Citation/PopoverPanel.d.ts +2 -2
- package/es/mdx/mdxComponents/Citation/PopoverPanel.js +4 -3
- package/es/mdx/mdxComponents/Citation/index.d.ts +2 -2
- package/es/mdx/mdxComponents/Citation/index.js +4 -4
- package/es/mdx/mdxComponents/CodeBlock.d.ts +1 -1
- package/es/mdx/mdxComponents/CodeBlock.js +1 -0
- package/es/mdx/mdxComponents/Footnotes.d.ts +2 -2
- package/es/mdx/mdxComponents/Footnotes.js +5 -2
- package/es/mdx/mdxComponents/Image.d.ts +2 -5
- package/es/mdx/mdxComponents/Image.js +4 -20
- package/es/mdx/mdxComponents/Link.d.ts +3 -3
- package/es/mdx/mdxComponents/Link.js +3 -0
- package/es/mdx/mdxComponents/Pre.d.ts +1 -1
- package/es/mdx/mdxComponents/Pre.js +13 -15
- package/es/mdx/mdxComponents/Section.d.ts +2 -2
- package/es/mdx/mdxComponents/Section.js +16 -4
- package/es/mdx/mdxComponents/Video.d.ts +2 -5
- package/es/mdx/mdxComponents/Video.js +3 -19
- package/es/mobile/ChatHeader/ChatHeader.d.ts +4 -0
- package/es/mobile/ChatHeader/ChatHeader.js +88 -0
- package/es/mobile/ChatHeader/ChatHeaderTitle.d.ts +4 -0
- package/es/mobile/ChatHeader/ChatHeaderTitle.js +58 -0
- package/es/mobile/ChatHeader/index.d.ts +11 -0
- package/es/mobile/ChatHeader/index.js +6 -0
- package/es/mobile/ChatHeader/style.d.ts +14 -0
- package/es/mobile/{MobileNavBar → ChatHeader}/style.js +12 -1
- package/es/mobile/ChatHeader/type.d.ts +31 -0
- package/es/mobile/ChatHeader/type.js +1 -0
- package/es/mobile/ChatInputArea/ChatInputArea.d.ts +4 -0
- package/es/mobile/{MobileChatInputArea/index.js → ChatInputArea/ChatInputArea.js} +29 -41
- package/es/mobile/ChatInputArea/components/ChatSendButton.d.ts +4 -0
- package/es/mobile/{MobileChatInputArea/SendButton.js → ChatInputArea/components/ChatSendButton.js} +20 -27
- package/es/mobile/ChatInputArea/index.d.ts +11 -0
- package/es/mobile/ChatInputArea/index.js +6 -0
- package/es/mobile/ChatInputArea/style.d.ts +7 -0
- package/es/mobile/ChatInputArea/style.js +14 -0
- package/es/mobile/ChatInputArea/type.d.ts +19 -0
- package/es/mobile/ChatInputArea/type.js +1 -0
- package/es/mobile/SafeArea/SafeArea.d.ts +4 -0
- package/es/mobile/{MobileSafeArea/index.js → SafeArea/SafeArea.js} +4 -3
- package/es/mobile/SafeArea/index.d.ts +2 -0
- package/es/mobile/SafeArea/index.js +1 -0
- package/es/mobile/SafeArea/type.d.ts +4 -0
- package/es/mobile/SafeArea/type.js +1 -0
- package/es/mobile/TabBar/TabBar.d.ts +4 -0
- package/es/mobile/TabBar/TabBar.js +84 -0
- package/es/mobile/TabBar/index.d.ts +2 -0
- package/es/mobile/TabBar/index.js +1 -0
- package/es/mobile/{MobileTabBar → TabBar}/style.js +1 -2
- package/es/mobile/TabBar/type.d.ts +16 -0
- package/es/mobile/TabBar/type.js +1 -0
- package/es/mobile/index.d.ts +4 -6
- package/es/mobile/index.js +4 -6
- package/es/storybook/StoryBook/index.d.ts +3 -9
- package/es/storybook/StoryBook/index.js +14 -14
- package/es/styles/theme/antdTheme.js +28 -0
- package/es/styles/theme/customStylish.js +19 -8
- package/es/styles/theme/customToken.d.ts +1 -1
- package/es/styles/theme/customToken.js +2 -1
- package/es/styles/theme/generateColorPalette.js +2 -1
- package/es/styles/theme/token/base.js +3 -3
- package/es/styles/theme/token/light.js +2 -2
- package/es/types/customStylish.d.ts +12 -1
- package/es/types/customToken.d.ts +9 -2
- package/es/types/customToken.js +1 -0
- package/es/types/index.d.ts +1 -3
- package/es/types/index.js +0 -3
- package/es/utils/genCdnUrl.js +0 -23
- package/package.json +8 -4
- package/es/ActionIcon/calcSize.d.ts +0 -5
- package/es/ActionIcon/calcSize.js +0 -40
- package/es/ContextMenu/index.d.ts +0 -5
- package/es/ContextMenu/index.js +0 -17
- package/es/EmptyCard/index.d.ts +0 -19
- package/es/EmptyCard/style.js +0 -15
- package/es/Hotkey/components/LeftClickIcon.d.ts +0 -3
- package/es/Hotkey/components/LeftClickIcon.js +0 -10
- package/es/Hotkey/components/LeftDoubleClickIcon.d.ts +0 -3
- package/es/Hotkey/components/RightClickIcon.d.ts +0 -3
- package/es/Hotkey/components/RightClickIcon.js +0 -10
- package/es/Hotkey/components/RightDoubleClickIcon.d.ts +0 -3
- package/es/Icon/calcSize.d.ts +0 -5
- package/es/Icon/calcSize.js +0 -39
- package/es/Icon/icons/DiscordIcon.d.ts +0 -3
- package/es/Icon/icons/DiscordIcon.js +0 -20
- package/es/Icon/icons/index.d.ts +0 -1
- package/es/Icon/icons/index.js +0 -1
- package/es/Image/ImageGallery.d.ts +0 -11
- package/es/Image/usePreview.d.ts +0 -7
- package/es/MaterialFileTypeIcon/types.d.ts +0 -5
- package/es/Mermaid/components/Controls.d.ts +0 -3
- package/es/Mermaid/components/Controls.js +0 -49
- package/es/Mermaid/components/MermaidContainer.d.ts +0 -5
- package/es/Mermaid/components/MermaidContainer.js +0 -42
- package/es/Mermaid/components/MermaidZoomableContainer.d.ts +0 -5
- package/es/Mermaid/components/MermaidZoomableContainer.js +0 -21
- package/es/Mermaid/components/style.js +0 -12
- package/es/Mermaid/style.d.ts +0 -8
- package/es/Mermaid/style.js +0 -22
- package/es/SearchResultCard/index.js +0 -79
- package/es/SearchResultCards/index.d.ts +0 -12
- package/es/SearchResultCards/index.js +0 -30
- package/es/SelectWithImg/styles.js +0 -17
- package/es/SortableList/DragHandle.d.ts +0 -4
- package/es/Swatches/index.d.ts +0 -25
- package/es/Swatches/style.d.ts +0 -4
- package/es/Swatches/style.js +0 -11
- package/es/TabsNav/index.d.ts +0 -7
- package/es/TabsNav/style.js +0 -15
- package/es/awesome/Features/Item.d.ts +0 -55
- package/es/awesome/GaussianBackground/index.d.ts +0 -17
- package/es/awesome/GaussianBackground/style.js +0 -11
- package/es/awesome/GaussianBackground/useGaussianBackground.d.ts +0 -7
- package/es/awesome/GaussianBackground/vendor/gaussianBackground.d.ts +0 -38
- package/es/awesome/GaussianBackground/vendor/gaussianBackground.js +0 -226
- package/es/awesome/GaussianBackground/vendor/stackBlur.d.ts +0 -1
- package/es/awesome/GaussianBackground/vendor/stackBlur.js +0 -188
- package/es/awesome/GaussianBackground/vendor/stackBlurTable.d.ts +0 -2
- package/es/awesome/GaussianBackground/vendor/stackBlurTable.js +0 -2
- package/es/chat/ChatInputArea/ChatInputActionBar.d.ts +0 -9
- package/es/chat/ChatInputArea/ChatInputActionBar.js +0 -54
- package/es/chat/ChatInputArea/ChatInputAreaInner.d.ts +0 -12
- package/es/chat/ChatInputArea/SendButton.d.ts +0 -17
- package/es/chat/ChatInputArea/SendButton.js +0 -76
- package/es/chat/ChatList/ActionsBar.d.ts +0 -12
- package/es/components/ControlInput.d.ts +0 -22
- package/es/components.d.ts +0 -71
- package/es/components.js +0 -69
- package/es/hooks/languageMap.d.ts +0 -2
- package/es/hooks/languageMap.js +0 -1
- package/es/mobile/MobileChatInputArea/SendButton.d.ts +0 -9
- package/es/mobile/MobileChatInputArea/index.d.ts +0 -15
- package/es/mobile/MobileNavBar/MobileNavBarTitle.d.ts +0 -8
- package/es/mobile/MobileNavBar/MobileNavBarTitle.js +0 -70
- package/es/mobile/MobileNavBar/index.js +0 -75
- package/es/mobile/MobileSafeArea/index.d.ts +0 -7
- package/es/mobile/MobileTabBar/index.d.ts +0 -18
- package/es/mobile/MobileTabBar/index.js +0 -71
- /package/es/{MaterialFileTypeIcon/types.js → ActionIcon/type.js} +0 -0
- /package/es/{types/chatMessage.js → ActionIconGroup/type.js} +0 -0
- /package/es/{types/meta.js → Alert/type.js} +0 -0
- /package/es/Image/{Preview.js → components/Preview.js} +0 -0
- /package/es/SortableList/{SortableOverlay.d.ts → components/SortableOverlay.d.ts} +0 -0
- /package/es/chat/ChatList/{HistoryDivider.d.ts → components/HistoryDivider.d.ts} +0 -0
- /package/es/{hooks → chat/ChatList/components}/useChatListActionsBar.js +0 -0
- /package/es/{types → chat/types}/chatMessage.d.ts +0 -0
- /package/es/{types → chat/types}/error.d.ts +0 -0
- /package/es/{types → chat/types}/error.js +0 -0
- /package/es/{types → chat/types}/llm.d.ts +0 -0
- /package/es/{types → chat/types}/llm.js +0 -0
- /package/es/{types → chat/types}/meta.d.ts +0 -0
- /package/es/mobile/{MobileSafeArea → SafeArea}/style.d.ts +0 -0
- /package/es/mobile/{MobileSafeArea → SafeArea}/style.js +0 -0
- /package/es/mobile/{MobileTabBar → TabBar}/style.d.ts +0 -0
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
5
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { mulTable, shgTable } from "./stackBlurTable";
|
|
9
|
-
var BlurStack = /*#__PURE__*/_createClass(function BlurStack() {
|
|
10
|
-
_classCallCheck(this, BlurStack);
|
|
11
|
-
_defineProperty(this, "r", 0);
|
|
12
|
-
_defineProperty(this, "g", 0);
|
|
13
|
-
_defineProperty(this, "b", 0);
|
|
14
|
-
_defineProperty(this, "a", 0);
|
|
15
|
-
_defineProperty(this, "next", void 0);
|
|
16
|
-
});
|
|
17
|
-
var stackBlurGetElement = function stackBlurGetElement(elementOrID) {
|
|
18
|
-
if (typeof elementOrID === 'string') {
|
|
19
|
-
// eslint-disable-next-line unicorn/prefer-query-selector
|
|
20
|
-
return document.getElementById(elementOrID);
|
|
21
|
-
} else if (elementOrID.nodeType === 1) {
|
|
22
|
-
return elementOrID;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
export var stackBlurCanvasRGB = function stackBlurCanvasRGB(canvasIDOrElement, topX, topY, width, height, radius) {
|
|
26
|
-
if (Number.isNaN(radius) || radius < 1) return;
|
|
27
|
-
// eslint-disable-next-line no-param-reassign
|
|
28
|
-
radius = Math.trunc(radius);
|
|
29
|
-
var canvas = stackBlurGetElement(canvasIDOrElement);
|
|
30
|
-
if (!canvas && !(canvas !== null && canvas !== void 0 && canvas.getContext)) return;
|
|
31
|
-
var context = canvas.getContext('2d');
|
|
32
|
-
var imageData = context === null || context === void 0 ? void 0 : context.getImageData(topX, topY, width, height);
|
|
33
|
-
var pixels = imageData.data;
|
|
34
|
-
var x;
|
|
35
|
-
var y;
|
|
36
|
-
var i;
|
|
37
|
-
var p;
|
|
38
|
-
var yp;
|
|
39
|
-
var yi;
|
|
40
|
-
var yw;
|
|
41
|
-
var rSum;
|
|
42
|
-
var gSum;
|
|
43
|
-
var bSum;
|
|
44
|
-
var rOutSum;
|
|
45
|
-
var gOutSum;
|
|
46
|
-
var bOutSum;
|
|
47
|
-
var rInSum;
|
|
48
|
-
var gInSum;
|
|
49
|
-
var bInSum;
|
|
50
|
-
var pr;
|
|
51
|
-
var pg;
|
|
52
|
-
var pb;
|
|
53
|
-
var rbs;
|
|
54
|
-
var stackEnd;
|
|
55
|
-
var div = radius + radius + 1;
|
|
56
|
-
var widthMinus1 = width - 1;
|
|
57
|
-
var heightMinus1 = height - 1;
|
|
58
|
-
var radiusPlus1 = radius + 1;
|
|
59
|
-
var sumFactor = radiusPlus1 * (radiusPlus1 + 1) / 2;
|
|
60
|
-
var stackStart = new BlurStack();
|
|
61
|
-
var stack = stackStart;
|
|
62
|
-
for (i = 1; i < div; i++) {
|
|
63
|
-
stack = stack.next = new BlurStack();
|
|
64
|
-
if (i === radiusPlus1) stackEnd = stack;
|
|
65
|
-
}
|
|
66
|
-
stack.next = stackStart;
|
|
67
|
-
var stackIn;
|
|
68
|
-
var stackOut;
|
|
69
|
-
yw = yi = 0;
|
|
70
|
-
var mulSum = mulTable[radius];
|
|
71
|
-
var shgSum = shgTable[radius];
|
|
72
|
-
for (y = 0; y < height; y++) {
|
|
73
|
-
rInSum = gInSum = bInSum = rSum = gSum = bSum = 0;
|
|
74
|
-
rOutSum = radiusPlus1 * (pr = pixels[yi]);
|
|
75
|
-
gOutSum = radiusPlus1 * (pg = pixels[yi + 1]);
|
|
76
|
-
bOutSum = radiusPlus1 * (pb = pixels[yi + 2]);
|
|
77
|
-
rSum += sumFactor * pr;
|
|
78
|
-
gSum += sumFactor * pg;
|
|
79
|
-
bSum += sumFactor * pb;
|
|
80
|
-
stack = stackStart;
|
|
81
|
-
for (i = 0; i < radiusPlus1; i++) {
|
|
82
|
-
stack.r = pr;
|
|
83
|
-
stack.g = pg;
|
|
84
|
-
stack.b = pb;
|
|
85
|
-
stack = stack.next;
|
|
86
|
-
}
|
|
87
|
-
for (i = 1; i < radiusPlus1; i++) {
|
|
88
|
-
p = yi + ((widthMinus1 < i ? widthMinus1 : i) << 2);
|
|
89
|
-
rSum += (stack.r = pr = pixels[p]) * (rbs = radiusPlus1 - i);
|
|
90
|
-
gSum += (stack.g = pg = pixels[p + 1]) * rbs;
|
|
91
|
-
bSum += (stack.b = pb = pixels[p + 2]) * rbs;
|
|
92
|
-
rInSum += pr;
|
|
93
|
-
gInSum += pg;
|
|
94
|
-
bInSum += pb;
|
|
95
|
-
stack = stack.next;
|
|
96
|
-
}
|
|
97
|
-
stackIn = stackStart;
|
|
98
|
-
stackOut = stackEnd;
|
|
99
|
-
for (x = 0; x < width; x++) {
|
|
100
|
-
pixels[yi] = rSum * mulSum >> shgSum;
|
|
101
|
-
pixels[yi + 1] = gSum * mulSum >> shgSum;
|
|
102
|
-
pixels[yi + 2] = bSum * mulSum >> shgSum;
|
|
103
|
-
rSum -= rOutSum;
|
|
104
|
-
gSum -= gOutSum;
|
|
105
|
-
bSum -= bOutSum;
|
|
106
|
-
rOutSum -= stackIn.r;
|
|
107
|
-
gOutSum -= stackIn.g;
|
|
108
|
-
bOutSum -= stackIn.b;
|
|
109
|
-
p = yw + ((p = x + radius + 1) < widthMinus1 ? p : widthMinus1) << 2;
|
|
110
|
-
rInSum += stackIn.r = pixels[p];
|
|
111
|
-
gInSum += stackIn.g = pixels[p + 1];
|
|
112
|
-
bInSum += stackIn.b = pixels[p + 2];
|
|
113
|
-
rSum += rInSum;
|
|
114
|
-
gSum += gInSum;
|
|
115
|
-
bSum += bInSum;
|
|
116
|
-
stackIn = stackIn.next;
|
|
117
|
-
rOutSum += pr = stackOut.r;
|
|
118
|
-
gOutSum += pg = stackOut.g;
|
|
119
|
-
bOutSum += pb = stackOut.b;
|
|
120
|
-
rInSum -= pr;
|
|
121
|
-
gInSum -= pg;
|
|
122
|
-
bInSum -= pb;
|
|
123
|
-
stackOut = stackOut.next;
|
|
124
|
-
yi += 4;
|
|
125
|
-
}
|
|
126
|
-
yw += width;
|
|
127
|
-
}
|
|
128
|
-
for (x = 0; x < width; x++) {
|
|
129
|
-
gInSum = bInSum = rInSum = gSum = bSum = rSum = 0;
|
|
130
|
-
yi = x << 2;
|
|
131
|
-
rOutSum = radiusPlus1 * (pr = pixels[yi]);
|
|
132
|
-
gOutSum = radiusPlus1 * (pg = pixels[yi + 1]);
|
|
133
|
-
bOutSum = radiusPlus1 * (pb = pixels[yi + 2]);
|
|
134
|
-
rSum += sumFactor * pr;
|
|
135
|
-
gSum += sumFactor * pg;
|
|
136
|
-
bSum += sumFactor * pb;
|
|
137
|
-
stack = stackStart;
|
|
138
|
-
for (i = 0; i < radiusPlus1; i++) {
|
|
139
|
-
stack.r = pr;
|
|
140
|
-
stack.g = pg;
|
|
141
|
-
stack.b = pb;
|
|
142
|
-
stack = stack.next;
|
|
143
|
-
}
|
|
144
|
-
yp = width;
|
|
145
|
-
for (i = 1; i <= radius; i++) {
|
|
146
|
-
yi = yp + x << 2;
|
|
147
|
-
rSum += (stack.r = pr = pixels[yi]) * (rbs = radiusPlus1 - i);
|
|
148
|
-
gSum += (stack.g = pg = pixels[yi + 1]) * rbs;
|
|
149
|
-
bSum += (stack.b = pb = pixels[yi + 2]) * rbs;
|
|
150
|
-
rInSum += pr;
|
|
151
|
-
gInSum += pg;
|
|
152
|
-
bInSum += pb;
|
|
153
|
-
stack = stack.next;
|
|
154
|
-
if (i < heightMinus1) {
|
|
155
|
-
yp += width;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
yi = x;
|
|
159
|
-
stackIn = stackStart;
|
|
160
|
-
stackOut = stackEnd;
|
|
161
|
-
for (y = 0; y < height; y++) {
|
|
162
|
-
p = yi << 2;
|
|
163
|
-
pixels[p] = rSum * mulSum >> shgSum;
|
|
164
|
-
pixels[p + 1] = gSum * mulSum >> shgSum;
|
|
165
|
-
pixels[p + 2] = bSum * mulSum >> shgSum;
|
|
166
|
-
rSum -= rOutSum;
|
|
167
|
-
gSum -= gOutSum;
|
|
168
|
-
bSum -= bOutSum;
|
|
169
|
-
rOutSum -= stackIn.r;
|
|
170
|
-
gOutSum -= stackIn.g;
|
|
171
|
-
bOutSum -= stackIn.b;
|
|
172
|
-
p = x + ((p = y + radiusPlus1) < heightMinus1 ? p : heightMinus1) * width << 2;
|
|
173
|
-
rSum += rInSum += stackIn.r = pixels[p];
|
|
174
|
-
gSum += gInSum += stackIn.g = pixels[p + 1];
|
|
175
|
-
bSum += bInSum += stackIn.b = pixels[p + 2];
|
|
176
|
-
stackIn = stackIn.next;
|
|
177
|
-
rOutSum += pr = stackOut.r;
|
|
178
|
-
gOutSum += pg = stackOut.g;
|
|
179
|
-
bOutSum += pb = stackOut.b;
|
|
180
|
-
rInSum -= pr;
|
|
181
|
-
gInSum -= pg;
|
|
182
|
-
bInSum -= pb;
|
|
183
|
-
stackOut = stackOut.next;
|
|
184
|
-
yi += width;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
context === null || context === void 0 || context.putImageData(imageData, topX, topY);
|
|
188
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export var mulTable = [512, 512, 456, 512, 328, 456, 335, 512, 405, 328, 271, 456, 388, 335, 292, 512, 454, 405, 364, 328, 298, 271, 496, 456, 420, 388, 360, 335, 312, 292, 273, 512, 482, 454, 428, 405, 383, 364, 345, 328, 312, 298, 284, 271, 259, 496, 475, 456, 437, 420, 404, 388, 374, 360, 347, 335, 323, 312, 302, 292, 282, 273, 265, 512, 497, 482, 468, 454, 441, 428, 417, 405, 394, 383, 373, 364, 354, 345, 337, 328, 320, 312, 305, 298, 291, 284, 278, 271, 265, 259, 507, 496, 485, 475, 465, 456, 446, 437, 428, 420, 412, 404, 396, 388, 381, 374, 367, 360, 354, 347, 341, 335, 329, 323, 318, 312, 307, 302, 297, 292, 287, 282, 278, 273, 269, 265, 261, 512, 505, 497, 489, 482, 475, 468, 461, 454, 447, 441, 435, 428, 422, 417, 411, 405, 399, 394, 389, 383, 378, 373, 368, 364, 359, 354, 350, 345, 341, 337, 332, 328, 324, 320, 316, 312, 309, 305, 301, 298, 294, 291, 287, 284, 281, 278, 274, 271, 268, 265, 262, 259, 257, 507, 501, 496, 491, 485, 480, 475, 470, 465, 460, 456, 451, 446, 442, 437, 433, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 388, 385, 381, 377, 374, 370, 367, 363, 360, 357, 354, 350, 347, 344, 341, 338, 335, 332, 329, 326, 323, 320, 318, 315, 312, 310, 307, 304, 302, 299, 297, 294, 292, 289, 287, 285, 282, 280, 278, 275, 273, 271, 269, 267, 265, 263, 261, 259];
|
|
2
|
-
export var shgTable = [9, 11, 12, 13, 13, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface ChatInputActionBarProps {
|
|
3
|
-
leftAddons?: ReactNode;
|
|
4
|
-
mobile?: boolean;
|
|
5
|
-
padding?: number | string;
|
|
6
|
-
rightAddons?: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare const ChatInputActionBar: import("react").NamedExoticComponent<ChatInputActionBarProps>;
|
|
9
|
-
export default ChatInputActionBar;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
4
|
-
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
5
|
-
import { createStyles, useResponsive } from 'antd-style';
|
|
6
|
-
import { memo } from 'react';
|
|
7
|
-
import { Flexbox } from 'react-layout-kit';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
var useStyles = createStyles(function (_ref) {
|
|
11
|
-
var css = _ref.css,
|
|
12
|
-
cx = _ref.cx,
|
|
13
|
-
stylish = _ref.stylish;
|
|
14
|
-
return {
|
|
15
|
-
container: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n width: 100%;\n "]))),
|
|
16
|
-
left: cx(stylish.noScrollbar, css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n overflow: auto hidden;\n "])))),
|
|
17
|
-
right: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral([""])))
|
|
18
|
-
};
|
|
19
|
-
});
|
|
20
|
-
var ChatInputActionBar = /*#__PURE__*/memo(function (_ref2) {
|
|
21
|
-
var _ref2$padding = _ref2.padding,
|
|
22
|
-
padding = _ref2$padding === void 0 ? '0 16px' : _ref2$padding,
|
|
23
|
-
leftAddons = _ref2.leftAddons,
|
|
24
|
-
rightAddons = _ref2.rightAddons;
|
|
25
|
-
var _useResponsive = useResponsive(),
|
|
26
|
-
mobile = _useResponsive.mobile;
|
|
27
|
-
var _useStyles = useStyles(),
|
|
28
|
-
styles = _useStyles.styles;
|
|
29
|
-
return /*#__PURE__*/_jsxs(Flexbox, {
|
|
30
|
-
align: 'center',
|
|
31
|
-
className: styles.container,
|
|
32
|
-
flex: 'none',
|
|
33
|
-
horizontal: true,
|
|
34
|
-
justify: 'space-between',
|
|
35
|
-
padding: padding,
|
|
36
|
-
children: [/*#__PURE__*/_jsx(Flexbox, {
|
|
37
|
-
align: 'center',
|
|
38
|
-
className: styles.left,
|
|
39
|
-
flex: 1,
|
|
40
|
-
gap: mobile ? 0 : 4,
|
|
41
|
-
horizontal: true,
|
|
42
|
-
children: leftAddons
|
|
43
|
-
}), /*#__PURE__*/_jsx(Flexbox, {
|
|
44
|
-
align: 'center',
|
|
45
|
-
className: styles.right,
|
|
46
|
-
flex: 0,
|
|
47
|
-
gap: mobile ? 0 : 4,
|
|
48
|
-
horizontal: true,
|
|
49
|
-
justify: 'flex-end',
|
|
50
|
-
children: rightAddons
|
|
51
|
-
})]
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
export default ChatInputActionBar;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TextAreaRef } from 'antd/es/input/TextArea';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
import { TextAreaProps } from "../../Input";
|
|
4
|
-
export interface ChatInputAreaInnerProps extends Omit<TextAreaProps, 'onInput'> {
|
|
5
|
-
className?: string;
|
|
6
|
-
loading?: boolean;
|
|
7
|
-
onInput?: (value: string) => void;
|
|
8
|
-
onSend?: () => void;
|
|
9
|
-
style?: CSSProperties;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import("react").NamedExoticComponent<ChatInputAreaInnerProps & import("react").RefAttributes<TextAreaRef>>;
|
|
12
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
export interface ChatSendButtonProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
leftAddons?: ReactNode;
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
onSend?: () => void;
|
|
7
|
-
onStop?: () => void;
|
|
8
|
-
rightAddons?: ReactNode;
|
|
9
|
-
style?: CSSProperties;
|
|
10
|
-
texts?: {
|
|
11
|
-
send?: string;
|
|
12
|
-
stop?: string;
|
|
13
|
-
warp?: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
declare const ChatSendButton: import("react").NamedExoticComponent<ChatSendButtonProps>;
|
|
17
|
-
export default ChatSendButton;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { Button } from 'antd';
|
|
2
|
-
import { useTheme } from 'antd-style';
|
|
3
|
-
import { ArrowBigUp, CornerDownLeft, Loader2 } from 'lucide-react';
|
|
4
|
-
import { memo } from 'react';
|
|
5
|
-
import { Flexbox } from 'react-layout-kit';
|
|
6
|
-
import Icon from "../../Icon";
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
-
var ChatSendButton = /*#__PURE__*/memo(function (_ref) {
|
|
10
|
-
var className = _ref.className,
|
|
11
|
-
style = _ref.style,
|
|
12
|
-
leftAddons = _ref.leftAddons,
|
|
13
|
-
rightAddons = _ref.rightAddons,
|
|
14
|
-
texts = _ref.texts,
|
|
15
|
-
onSend = _ref.onSend,
|
|
16
|
-
loading = _ref.loading,
|
|
17
|
-
onStop = _ref.onStop;
|
|
18
|
-
var theme = useTheme();
|
|
19
|
-
return /*#__PURE__*/_jsxs(Flexbox, {
|
|
20
|
-
align: 'end',
|
|
21
|
-
className: className,
|
|
22
|
-
distribution: 'space-between',
|
|
23
|
-
flex: 'none',
|
|
24
|
-
gap: 8,
|
|
25
|
-
horizontal: true,
|
|
26
|
-
padding: '0 24px',
|
|
27
|
-
style: style,
|
|
28
|
-
children: [/*#__PURE__*/_jsx(Flexbox, {
|
|
29
|
-
align: 'center',
|
|
30
|
-
gap: 8,
|
|
31
|
-
horizontal: true,
|
|
32
|
-
children: leftAddons
|
|
33
|
-
}), /*#__PURE__*/_jsxs(Flexbox, {
|
|
34
|
-
align: 'center',
|
|
35
|
-
gap: 8,
|
|
36
|
-
horizontal: true,
|
|
37
|
-
children: [/*#__PURE__*/_jsxs(Flexbox, {
|
|
38
|
-
gap: 4,
|
|
39
|
-
horizontal: true,
|
|
40
|
-
style: {
|
|
41
|
-
color: theme.colorTextDescription,
|
|
42
|
-
fontSize: 12,
|
|
43
|
-
marginRight: 12
|
|
44
|
-
},
|
|
45
|
-
children: [/*#__PURE__*/_jsx(Icon, {
|
|
46
|
-
icon: CornerDownLeft
|
|
47
|
-
}), /*#__PURE__*/_jsx("span", {
|
|
48
|
-
children: (texts === null || texts === void 0 ? void 0 : texts.send) || 'Send'
|
|
49
|
-
}), /*#__PURE__*/_jsx("span", {
|
|
50
|
-
children: "/"
|
|
51
|
-
}), /*#__PURE__*/_jsxs(Flexbox, {
|
|
52
|
-
horizontal: true,
|
|
53
|
-
children: [/*#__PURE__*/_jsx(Icon, {
|
|
54
|
-
icon: ArrowBigUp
|
|
55
|
-
}), /*#__PURE__*/_jsx(Icon, {
|
|
56
|
-
icon: CornerDownLeft
|
|
57
|
-
})]
|
|
58
|
-
}), /*#__PURE__*/_jsx("span", {
|
|
59
|
-
children: (texts === null || texts === void 0 ? void 0 : texts.warp) || 'Warp'
|
|
60
|
-
})]
|
|
61
|
-
}), rightAddons, loading ? /*#__PURE__*/_jsx(Button, {
|
|
62
|
-
icon: loading && /*#__PURE__*/_jsx(Icon, {
|
|
63
|
-
icon: Loader2,
|
|
64
|
-
spin: true
|
|
65
|
-
}),
|
|
66
|
-
onClick: onStop,
|
|
67
|
-
children: (texts === null || texts === void 0 ? void 0 : texts.stop) || 'Stop'
|
|
68
|
-
}) : /*#__PURE__*/_jsx(Button, {
|
|
69
|
-
onClick: onSend,
|
|
70
|
-
type: 'primary',
|
|
71
|
-
children: (texts === null || texts === void 0 ? void 0 : texts.send) || 'Send'
|
|
72
|
-
})]
|
|
73
|
-
})]
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
export default ChatSendButton;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type ActionIconGroupProps } from "../../ActionIconGroup";
|
|
3
|
-
export interface ActionsBarProps extends ActionIconGroupProps {
|
|
4
|
-
text?: {
|
|
5
|
-
copy?: string;
|
|
6
|
-
delete?: string;
|
|
7
|
-
edit?: string;
|
|
8
|
-
regenerate?: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
declare const ActionsBar: import("react").NamedExoticComponent<ActionsBarProps>;
|
|
12
|
-
export default ActionsBar;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type InputRef } from 'antd';
|
|
3
|
-
import { InputProps } from "../Input";
|
|
4
|
-
export interface ControlInputProps extends Omit<InputProps, 'onChange' | 'value' | 'onAbort'> {
|
|
5
|
-
/**
|
|
6
|
-
* @description Callback function that is triggered when the input value changes
|
|
7
|
-
*/
|
|
8
|
-
onChange?: (value: string) => void;
|
|
9
|
-
/**
|
|
10
|
-
* @description Callback function that is triggered when the input value has stopped changing
|
|
11
|
-
*/
|
|
12
|
-
onChangeEnd?: (value: string) => void;
|
|
13
|
-
/**
|
|
14
|
-
* @description Callback function that is triggered when the input value is changing
|
|
15
|
-
*/
|
|
16
|
-
onValueChanging?: (value: string) => void;
|
|
17
|
-
/**
|
|
18
|
-
* @description The initial value of the input
|
|
19
|
-
*/
|
|
20
|
-
value?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const ControlInput: import("react").ForwardRefExoticComponent<ControlInputProps & import("react").RefAttributes<InputRef>>;
|
package/es/components.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
export { default as ActionIcon, type ActionIconProps, type ActionIconSize } from './ActionIcon';
|
|
2
|
-
export { type ActionEvent, default as ActionIconGroup, type ActionIconGroupItems, type ActionIconGroupProps, } from './ActionIconGroup';
|
|
3
|
-
export { default as Alert, type AlertProps } from './Alert';
|
|
4
|
-
export { default as Avatar, type AvatarProps } from './Avatar';
|
|
5
|
-
export { default as Burger, type BurgerProps } from './Burger';
|
|
6
|
-
export { default as CodeEditor, type CodeEditorProps } from './CodeEditor';
|
|
7
|
-
export { default as Collapse, type CollapseProps } from './Collapse';
|
|
8
|
-
export { default as ColorSwatches, type ColorSwatchesProps } from './ColorSwatches';
|
|
9
|
-
export { type Config, default as ConfigProvider, useCdnFn } from './ConfigProvider';
|
|
10
|
-
export { default as ContextMenu, type ContextMenuProps } from './ContextMenu';
|
|
11
|
-
export { default as CopyButton, type CopyButtonProps } from './CopyButton';
|
|
12
|
-
export { default as DraggablePanel, type DraggablePanelProps } from './DraggablePanel';
|
|
13
|
-
export { default as DraggablePanelBody, type DraggablePanelBodyProps, } from './DraggablePanel/components/DraggablePanelBody';
|
|
14
|
-
export { default as DraggablePanelContainer, type DraggablePanelContainerProps, } from './DraggablePanel/components/DraggablePanelContainer';
|
|
15
|
-
export { default as DraggablePanelFooter, type DraggablePanelFooterProps, } from './DraggablePanel/components/DraggablePanelFooter';
|
|
16
|
-
export { default as DraggablePanelHeader, type DraggablePanelHeaderProps, } from './DraggablePanel/components/DraggablePanelHeader';
|
|
17
|
-
export { default as Drawer, type DrawerProps } from './Drawer';
|
|
18
|
-
export { default as EditableText, type EditableTextProps } from './EditableText';
|
|
19
|
-
export { default as EmojiPicker, type EmojiPickerProps } from './EmojiPicker';
|
|
20
|
-
export { default as EmptyCard, type EmptyCardProps } from './EmptyCard';
|
|
21
|
-
export { default as FileTypeIcon, type FileTypeIconProps } from './FileTypeIcon';
|
|
22
|
-
export { default as FluentEmoji, type FluentEmojiProps } from './FluentEmoji';
|
|
23
|
-
export { default as FontLoader, type FontLoaderProps } from './FontLoader';
|
|
24
|
-
export { default as Footer, type FooterProps } from './Footer';
|
|
25
|
-
export { default as Form, type FormInstance, type FormProps } from './Form';
|
|
26
|
-
export { default as FormDivider, type FormDividerProps } from './Form/components/FormDivider';
|
|
27
|
-
export { default as FormFooter, type FormFooterProps } from './Form/components/FormFooter';
|
|
28
|
-
export { default as FormGroup, type FormGroupProps, type ItemGroup, } from './Form/components/FormGroup';
|
|
29
|
-
export { default as FormItem, type FormItemProps } from './Form/components/FormItem';
|
|
30
|
-
export { type FormSubmitFooterProps } from './Form/components/FormSubmitFooter';
|
|
31
|
-
export { default as FormTitle, type FormTitleProps } from './Form/components/FormTitle';
|
|
32
|
-
export { default as FormModal, type FormModalProps } from './FormModal';
|
|
33
|
-
export { default as Grid, type GridProps } from './Grid';
|
|
34
|
-
export { default as Header, type HeaderProps } from './Header';
|
|
35
|
-
export { default as Highlighter, type HighlighterProps, SyntaxHighlighter, type SyntaxHighlighterProps, } from './Highlighter';
|
|
36
|
-
export { useChatListActionsBar } from './hooks/useChatListActionsBar';
|
|
37
|
-
export { combineKeys, default as Hotkey, type HotkeyProps, KeyMapEnum } from './Hotkey';
|
|
38
|
-
export { default as HotkeyInput, type HotkeyInputProps } from './HotkeyInput';
|
|
39
|
-
export { default as Icon, type IconProps, type IconSize } from './Icon';
|
|
40
|
-
export * from './Icon/icons';
|
|
41
|
-
export { default as Image, type ImageProps } from './Image';
|
|
42
|
-
export { default as ImageGallery, type ImageGalleryProps } from './Image/ImageGallery';
|
|
43
|
-
export { Input, type InputProps, TextArea, type TextAreaProps } from './Input';
|
|
44
|
-
export { default as Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, } from './Layout';
|
|
45
|
-
export { default as List, type ListItemProps } from './List';
|
|
46
|
-
export { default as Markdown, type MarkdownProps } from './Markdown';
|
|
47
|
-
export { default as Typography, type TypographyProps } from './Markdown/Typography';
|
|
48
|
-
export { default as MaterialFileTypeIcon, type MaterialFileTypeIconProps, } from './MaterialFileTypeIcon';
|
|
49
|
-
export { default as Mermaid, type MermaidProps } from './Mermaid';
|
|
50
|
-
export { default as Modal, type ModalProps } from './Modal';
|
|
51
|
-
export { default as SearchBar, type SearchBarProps } from './SearchBar';
|
|
52
|
-
export { default as SearchResultCards, type SearchResultCardsProps } from './SearchResultCards';
|
|
53
|
-
export { default as SelectWithImg, type SelectWithImgOptionItem, type SelectWithImgProps, } from './SelectWithImg';
|
|
54
|
-
export { default as SideNav, type SideNavProps } from './SideNav';
|
|
55
|
-
export { default as SliderWithInput, type SliderWithInputProps } from './SliderWithInput';
|
|
56
|
-
export { default as Snippet, type SnippetProps } from './Snippet';
|
|
57
|
-
export { default as SortableList, type SortableListProps } from './SortableList';
|
|
58
|
-
export * from './styles';
|
|
59
|
-
export { default as Swatches, type SwatchesProps } from './Swatches';
|
|
60
|
-
export { default as TabsNav, type TabsNavProps } from './TabsNav';
|
|
61
|
-
export { default as Tag, type TagProps } from './Tag';
|
|
62
|
-
export { default as ThemeProvider, type ThemeProviderProps } from './ThemeProvider';
|
|
63
|
-
export { default as Meta, type MetaProps } from './ThemeProvider/Meta';
|
|
64
|
-
export { default as ThemeSwitch, type ThemeSwitchProps } from './ThemeSwitch';
|
|
65
|
-
export { default as Toc, type TocProps } from './Toc';
|
|
66
|
-
export { default as Tooltip, type TooltipProps } from './Tooltip';
|
|
67
|
-
export type * from './types';
|
|
68
|
-
export { copyToClipboard } from './utils/copyToClipboard';
|
|
69
|
-
export { type CDN, genCdnUrl } from './utils/genCdnUrl';
|
|
70
|
-
export { default as Video, type VideoProps } from './Video';
|
|
71
|
-
export { ErrorBoundary, type ErrorBoundaryProps } from 'react-error-boundary';
|
package/es/components.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export { default as ActionIcon } from "./ActionIcon";
|
|
2
|
-
export { default as ActionIconGroup } from "./ActionIconGroup";
|
|
3
|
-
export { default as Alert } from "./Alert";
|
|
4
|
-
export { default as Avatar } from "./Avatar";
|
|
5
|
-
export { default as Burger } from "./Burger";
|
|
6
|
-
export { default as CodeEditor } from "./CodeEditor";
|
|
7
|
-
export { default as Collapse } from "./Collapse";
|
|
8
|
-
export { default as ColorSwatches } from "./ColorSwatches";
|
|
9
|
-
export { default as ConfigProvider, useCdnFn } from "./ConfigProvider";
|
|
10
|
-
export { default as ContextMenu } from "./ContextMenu";
|
|
11
|
-
export { default as CopyButton } from "./CopyButton";
|
|
12
|
-
export { default as DraggablePanel } from "./DraggablePanel";
|
|
13
|
-
export { default as DraggablePanelBody } from "./DraggablePanel/components/DraggablePanelBody";
|
|
14
|
-
export { default as DraggablePanelContainer } from "./DraggablePanel/components/DraggablePanelContainer";
|
|
15
|
-
export { default as DraggablePanelFooter } from "./DraggablePanel/components/DraggablePanelFooter";
|
|
16
|
-
export { default as DraggablePanelHeader } from "./DraggablePanel/components/DraggablePanelHeader";
|
|
17
|
-
export { default as Drawer } from "./Drawer";
|
|
18
|
-
export { default as EditableText } from "./EditableText";
|
|
19
|
-
export { default as EmojiPicker } from "./EmojiPicker";
|
|
20
|
-
export { default as EmptyCard } from "./EmptyCard";
|
|
21
|
-
export { default as FileTypeIcon } from "./FileTypeIcon";
|
|
22
|
-
export { default as FluentEmoji } from "./FluentEmoji";
|
|
23
|
-
export { default as FontLoader } from "./FontLoader";
|
|
24
|
-
export { default as Footer } from "./Footer";
|
|
25
|
-
export { default as Form } from "./Form";
|
|
26
|
-
export { default as FormDivider } from "./Form/components/FormDivider";
|
|
27
|
-
export { default as FormFooter } from "./Form/components/FormFooter";
|
|
28
|
-
export { default as FormGroup } from "./Form/components/FormGroup";
|
|
29
|
-
export { default as FormItem } from "./Form/components/FormItem";
|
|
30
|
-
export { default as FormTitle } from "./Form/components/FormTitle";
|
|
31
|
-
export { default as FormModal } from "./FormModal";
|
|
32
|
-
export { default as Grid } from "./Grid";
|
|
33
|
-
export { default as Header } from "./Header";
|
|
34
|
-
export { default as Highlighter, SyntaxHighlighter } from "./Highlighter";
|
|
35
|
-
export { useChatListActionsBar } from "./hooks/useChatListActionsBar";
|
|
36
|
-
export { combineKeys, default as Hotkey, KeyMapEnum } from "./Hotkey";
|
|
37
|
-
export { default as HotkeyInput } from "./HotkeyInput";
|
|
38
|
-
export { default as Icon } from "./Icon";
|
|
39
|
-
export * from "./Icon/icons";
|
|
40
|
-
export { default as Image } from "./Image";
|
|
41
|
-
export { default as ImageGallery } from "./Image/ImageGallery";
|
|
42
|
-
export { Input, TextArea } from "./Input";
|
|
43
|
-
export { default as Layout, LayoutFooter, LayoutHeader, LayoutMain, LayoutSidebar, LayoutSidebarInner, LayoutToc } from "./Layout";
|
|
44
|
-
export { default as List } from "./List";
|
|
45
|
-
export { default as Markdown } from "./Markdown";
|
|
46
|
-
export { default as Typography } from "./Markdown/Typography";
|
|
47
|
-
export { default as MaterialFileTypeIcon } from "./MaterialFileTypeIcon";
|
|
48
|
-
export { default as Mermaid } from "./Mermaid";
|
|
49
|
-
export { default as Modal } from "./Modal";
|
|
50
|
-
export { default as SearchBar } from "./SearchBar";
|
|
51
|
-
export { default as SearchResultCards } from "./SearchResultCards";
|
|
52
|
-
export { default as SelectWithImg } from "./SelectWithImg";
|
|
53
|
-
export { default as SideNav } from "./SideNav";
|
|
54
|
-
export { default as SliderWithInput } from "./SliderWithInput";
|
|
55
|
-
export { default as Snippet } from "./Snippet";
|
|
56
|
-
export { default as SortableList } from "./SortableList";
|
|
57
|
-
export * from "./styles";
|
|
58
|
-
export { default as Swatches } from "./Swatches";
|
|
59
|
-
export { default as TabsNav } from "./TabsNav";
|
|
60
|
-
export { default as Tag } from "./Tag";
|
|
61
|
-
export { default as ThemeProvider } from "./ThemeProvider";
|
|
62
|
-
export { default as Meta } from "./ThemeProvider/Meta";
|
|
63
|
-
export { default as ThemeSwitch } from "./ThemeSwitch";
|
|
64
|
-
export { default as Toc } from "./Toc";
|
|
65
|
-
export { default as Tooltip } from "./Tooltip";
|
|
66
|
-
export { copyToClipboard } from "./utils/copyToClipboard";
|
|
67
|
-
export { genCdnUrl } from "./utils/genCdnUrl";
|
|
68
|
-
export { default as Video } from "./Video";
|
|
69
|
-
export { ErrorBoundary } from 'react-error-boundary';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: readonly ["abap", "actionscript-3", "ada", "apache", "apex", "apl", "applescript", "ara", "asm", "astro", "awk", "ballerina", "bat", "beancount", "berry", "bibtex", "bicep", "blade", "c", "cadence", "clarity", "clojure", "cmake", "cobol", "codeql", "coffee", "cpp", "crystal", "csharp", "css", "cue", "cypher", "d", "dart", "dax", "diff", "docker", "dream-maker", "elixir", "elm", "erb", "erlang", "fish", "fsharp", "gdresource", "gdscript", "gdshader", "gherkin", "git-commit", "git-rebase", "glimmer-js", "glimmer-ts", "glsl", "gnuplot", "go", "graphql", "groovy", "hack", "haml", "handlebars", "haskell", "hcl", "hjson", "hlsl", "html", "http", "imba", "ini", "java", "javascript", "jinja-html", "jison", "json", "json5", "jsonc", "jsonl", "jsonnet", "jssm", "jsx", "julia", "kotlin", "kusto", "latex", "less", "liquid", "lisp", "logo", "lua", "make", "markdown", "marko", "matlab", "mdc", "mdx", "mermaid", "mojo", "narrat", "nextflow", "nginx", "nim", "nix", "objective-c", "objective-cpp", "ocaml", "pascal", "perl", "php", "plsql", "postcss", "powerquery", "powershell", "prisma", "prolog", "proto", "pug", "puppet", "purescript", "python", "r", "raku", "razor", "reg", "rel", "riscv", "rst", "ruby", "rust", "sas", "sass", "scala", "scheme", "scss", "shaderlab", "shellscript", "shellsession", "smalltalk", "solidity", "sparql", "splunk", "sql", "ssh-config", "stata", "stylus", "svelte", "swift", "system-verilog", "tasl", "tcl", "tex", "toml", "tsx", "turtle", "twig", "typescript", "v", "vb", "verilog", "vhdl", "viml", "vue", "vue-html", "vyper", "wasm", "wenyan", "wgsl", "wolfram", "xml", "xsl", "yaml", "zenscript", "zig", "bash", "batch", "be", "c#", "cdc", "clj", "cmd", "console", "cql", "cs", "dockerfile", "erl", "f#", "fs", "fsl", "gjs", "gts", "hbs", "hs", "jade", "js", "kql", "makefile", "md", "nar", "nf", "objc", "perl6", "properties", "ps", "ps1", "py", "ql", "rb", "rs", "sh", "shader", "shell", "spl", "styl", "ts", "vim", "vimscript", "vy", "yml", "zsh", "文言"];
|
|
2
|
-
export default _default;
|
package/es/hooks/languageMap.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default ['abap', 'actionscript-3', 'ada', 'apache', 'apex', 'apl', 'applescript', 'ara', 'asm', 'astro', 'awk', 'ballerina', 'bat', 'beancount', 'berry', 'bibtex', 'bicep', 'blade', 'c', 'cadence', 'clarity', 'clojure', 'cmake', 'cobol', 'codeql', 'coffee', 'cpp', 'crystal', 'csharp', 'css', 'cue', 'cypher', 'd', 'dart', 'dax', 'diff', 'docker', 'dream-maker', 'elixir', 'elm', 'erb', 'erlang', 'fish', 'fsharp', 'gdresource', 'gdscript', 'gdshader', 'gherkin', 'git-commit', 'git-rebase', 'glimmer-js', 'glimmer-ts', 'glsl', 'gnuplot', 'go', 'graphql', 'groovy', 'hack', 'haml', 'handlebars', 'haskell', 'hcl', 'hjson', 'hlsl', 'html', 'http', 'imba', 'ini', 'java', 'javascript', 'jinja-html', 'jison', 'json', 'json5', 'jsonc', 'jsonl', 'jsonnet', 'jssm', 'jsx', 'julia', 'kotlin', 'kusto', 'latex', 'less', 'liquid', 'lisp', 'logo', 'lua', 'make', 'markdown', 'marko', 'matlab', 'mdc', 'mdx', 'mermaid', 'mojo', 'narrat', 'nextflow', 'nginx', 'nim', 'nix', 'objective-c', 'objective-cpp', 'ocaml', 'pascal', 'perl', 'php', 'plsql', 'postcss', 'powerquery', 'powershell', 'prisma', 'prolog', 'proto', 'pug', 'puppet', 'purescript', 'python', 'r', 'raku', 'razor', 'reg', 'rel', 'riscv', 'rst', 'ruby', 'rust', 'sas', 'sass', 'scala', 'scheme', 'scss', 'shaderlab', 'shellscript', 'shellsession', 'smalltalk', 'solidity', 'sparql', 'splunk', 'sql', 'ssh-config', 'stata', 'stylus', 'svelte', 'swift', 'system-verilog', 'tasl', 'tcl', 'tex', 'toml', 'tsx', 'turtle', 'twig', 'typescript', 'v', 'vb', 'verilog', 'vhdl', 'viml', 'vue', 'vue-html', 'vyper', 'wasm', 'wenyan', 'wgsl', 'wolfram', 'xml', 'xsl', 'yaml', 'zenscript', 'zig', 'bash', 'batch', 'be', 'c#', 'cdc', 'clj', 'cmd', 'console', 'cql', 'cs', 'dockerfile', 'erl', 'f#', 'fs', 'fsl', 'gjs', 'gts', 'hbs', 'hs', 'jade', 'js', 'kql', 'makefile', 'md', 'nar', 'nf', 'objc', 'perl6', 'properties', 'ps', 'ps1', 'py', 'ql', 'rb', 'rs', 'sh', 'shader', 'shell', 'spl', 'styl', 'ts', 'vim', 'vimscript', 'vy', 'yml', 'zsh', '文言'];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ActionIconProps } from "../../ActionIcon";
|
|
3
|
-
export interface MobileChatSendButtonProps extends Omit<ActionIconProps, 'loading'> {
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
onSend?: () => void;
|
|
6
|
-
onStop?: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const MobileChatSendButton: import("react").NamedExoticComponent<MobileChatSendButtonProps>;
|
|
9
|
-
export default MobileChatSendButton;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TextAreaRef } from 'antd/es/input/TextArea';
|
|
2
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
3
|
-
import { type ChatInputAreaInnerProps } from "../../chat/ChatInputArea/ChatInputAreaInner";
|
|
4
|
-
export interface MobileChatInputAreaProps extends ChatInputAreaInnerProps {
|
|
5
|
-
bottomAddons?: ReactNode;
|
|
6
|
-
expand?: boolean;
|
|
7
|
-
safeArea?: boolean;
|
|
8
|
-
setExpand?: (expand: boolean) => void;
|
|
9
|
-
style?: CSSProperties;
|
|
10
|
-
textAreaLeftAddons?: ReactNode;
|
|
11
|
-
textAreaRightAddons?: ReactNode;
|
|
12
|
-
topAddons?: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
declare const MobileChatInputArea: import("react").ForwardRefExoticComponent<MobileChatInputAreaProps & import("react").RefAttributes<TextAreaRef>>;
|
|
15
|
-
export default MobileChatInputArea;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface MobileNavBarTitleProps {
|
|
3
|
-
desc?: string | ReactNode;
|
|
4
|
-
tag?: ReactNode;
|
|
5
|
-
title: string | ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const MobileNavBarTitle: import("react").NamedExoticComponent<MobileNavBarTitleProps>;
|
|
8
|
-
export default MobileNavBarTitle;
|