@lobehub/ui 5.6.2 → 5.6.4
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.mjs +3 -6
- package/es/A/index.mjs.map +1 -1
- package/es/Accordion/Accordion.d.mts +2 -2
- package/es/Accordion/Accordion.mjs +3 -6
- package/es/Accordion/Accordion.mjs.map +1 -1
- package/es/Accordion/AccordionItem.d.mts +2 -2
- package/es/Accordion/AccordionItem.mjs +9 -12
- package/es/Accordion/AccordionItem.mjs.map +1 -1
- package/es/Accordion/ArrowIcon.mjs +3 -6
- package/es/Accordion/ArrowIcon.mjs.map +1 -1
- package/es/Accordion/context.mjs +1 -2
- package/es/Accordion/context.mjs.map +1 -1
- package/es/Accordion/index.mjs +3 -4
- package/es/Accordion/style.mjs +20 -21
- package/es/Accordion/style.mjs.map +1 -1
- package/es/Accordion/type.d.mts +0 -1
- package/es/ActionIcon/ActionIcon.d.mts +2 -2
- package/es/ActionIcon/ActionIcon.mjs +9 -12
- package/es/ActionIcon/ActionIcon.mjs.map +1 -1
- package/es/ActionIcon/components/utils.mjs +4 -5
- package/es/ActionIcon/components/utils.mjs.map +1 -1
- package/es/ActionIcon/index.mjs +2 -3
- package/es/ActionIcon/style.mjs +11 -12
- package/es/ActionIcon/style.mjs.map +1 -1
- package/es/ActionIcon/type.d.mts +0 -3
- package/es/ActionIconGroup/ActionIconGroup.mjs +11 -14
- package/es/ActionIconGroup/ActionIconGroup.mjs.map +1 -1
- package/es/ActionIconGroup/index.mjs +2 -3
- package/es/ActionIconGroup/style.mjs +4 -5
- package/es/ActionIconGroup/style.mjs.map +1 -1
- package/es/ActionIconGroup/type.d.mts +0 -4
- package/es/Alert/Alert.d.mts +2 -2
- package/es/Alert/Alert.mjs +13 -18
- package/es/Alert/Alert.mjs.map +1 -1
- package/es/Alert/index.mjs +2 -3
- package/es/Alert/style.mjs +24 -25
- package/es/Alert/style.mjs.map +1 -1
- package/es/Alert/type.d.mts +1 -2
- package/es/AutoComplete/Select.d.mts +2 -2
- package/es/AutoComplete/Select.mjs +3 -6
- package/es/AutoComplete/Select.mjs.map +1 -1
- package/es/AutoComplete/index.mjs +2 -3
- package/es/AutoComplete/style.mjs +7 -8
- package/es/AutoComplete/style.mjs.map +1 -1
- package/es/Avatar/Avatar.mjs +11 -14
- package/es/Avatar/Avatar.mjs.map +1 -1
- package/es/Avatar/AvatarGroup/index.d.mts +2 -2
- package/es/Avatar/AvatarGroup/index.mjs +6 -9
- package/es/Avatar/AvatarGroup/index.mjs.map +1 -1
- package/es/Avatar/AvatarGroup/style.mjs +7 -8
- package/es/Avatar/AvatarGroup/style.mjs.map +1 -1
- package/es/Avatar/index.mjs +6 -8
- package/es/Avatar/index.mjs.map +1 -1
- package/es/Avatar/style.mjs +5 -6
- package/es/Avatar/style.mjs.map +1 -1
- package/es/Avatar/type.d.mts +0 -2
- package/es/Avatar/utils.mjs +1 -2
- package/es/Avatar/utils.mjs.map +1 -1
- package/es/Block/Block.mjs +3 -6
- package/es/Block/Block.mjs.map +1 -1
- package/es/Block/index.mjs +2 -3
- package/es/Block/style.mjs +5 -6
- package/es/Block/style.mjs.map +1 -1
- package/es/Block/type.d.mts +0 -1
- package/es/Burger/Burger.d.mts +2 -2
- package/es/Burger/Burger.mjs +7 -10
- package/es/Burger/Burger.mjs.map +1 -1
- package/es/Burger/index.mjs +2 -3
- package/es/Burger/style.mjs +26 -27
- package/es/Burger/style.mjs.map +1 -1
- package/es/Burger/type.d.mts +0 -1
- package/es/Button/Button.mjs +6 -9
- package/es/Button/Button.mjs.map +1 -1
- package/es/Button/index.mjs +2 -3
- package/es/Button/style.mjs +5 -6
- package/es/Button/style.mjs.map +1 -1
- package/es/Button/type.d.mts +0 -1
- package/es/Checkbox/Checkbox.mjs +6 -8
- package/es/Checkbox/Checkbox.mjs.map +1 -1
- package/es/Checkbox/CheckboxGroup.mjs +4 -6
- package/es/Checkbox/CheckboxGroup.mjs.map +1 -1
- package/es/Checkbox/index.mjs +6 -8
- package/es/Checkbox/index.mjs.map +1 -1
- package/es/Checkbox/style.mjs +15 -16
- package/es/Checkbox/style.mjs.map +1 -1
- package/es/Checkbox/type.d.mts +0 -2
- package/es/CodeDiff/CodeDiff.d.mts +2 -2
- package/es/CodeDiff/CodeDiff.mjs +7 -10
- package/es/CodeDiff/CodeDiff.mjs.map +1 -1
- package/es/CodeDiff/PatchDiff.d.mts +2 -2
- package/es/CodeDiff/PatchDiff.mjs +7 -10
- package/es/CodeDiff/PatchDiff.mjs.map +1 -1
- package/es/CodeDiff/index.mjs +3 -4
- package/es/CodeDiff/style.mjs +35 -36
- package/es/CodeDiff/style.mjs.map +1 -1
- package/es/CodeDiff/type.d.mts +0 -1
- package/es/CodeEditor/CodeEditor.d.mts +2 -2
- package/es/CodeEditor/CodeEditor.mjs +5 -8
- package/es/CodeEditor/CodeEditor.mjs.map +1 -1
- package/es/CodeEditor/index.mjs +2 -3
- package/es/CodeEditor/style.mjs +10 -11
- package/es/CodeEditor/style.mjs.map +1 -1
- package/es/CodeEditor/type.d.mts +0 -1
- package/es/Collapse/Collapse.d.mts +2 -2
- package/es/Collapse/Collapse.mjs +6 -9
- package/es/Collapse/Collapse.mjs.map +1 -1
- package/es/Collapse/index.mjs +2 -3
- package/es/Collapse/style.mjs +27 -28
- package/es/Collapse/style.mjs.map +1 -1
- package/es/Collapse/type.d.mts +1 -2
- package/es/ColorSwatches/ColorSwatches.mjs +10 -13
- package/es/ColorSwatches/ColorSwatches.mjs.map +1 -1
- package/es/ColorSwatches/index.mjs +2 -3
- package/es/ColorSwatches/style.mjs +29 -30
- package/es/ColorSwatches/style.mjs.map +1 -1
- package/es/ColorSwatches/type.d.mts +0 -1
- package/es/ConfigProvider/index.d.mts +2 -2
- package/es/ConfigProvider/index.mjs +3 -6
- package/es/ConfigProvider/index.mjs.map +1 -1
- package/es/ContextMenu/index.d.mts +0 -1
- package/es/ContextMenu/index.mjs +1 -2
- package/es/CopyButton/CopyButton.d.mts +2 -2
- package/es/CopyButton/CopyButton.mjs +5 -8
- package/es/CopyButton/CopyButton.mjs.map +1 -1
- package/es/CopyButton/index.mjs +2 -3
- package/es/CopyButton/type.d.mts +0 -2
- package/es/DatePicker/DatePicker.d.mts +2 -2
- package/es/DatePicker/DatePicker.mjs +3 -6
- package/es/DatePicker/DatePicker.mjs.map +1 -1
- package/es/DatePicker/index.mjs +2 -3
- package/es/DatePicker/style.mjs +3 -4
- package/es/DatePicker/style.mjs.map +1 -1
- package/es/DownloadButton/DownloadButton.mjs +6 -9
- package/es/DownloadButton/DownloadButton.mjs.map +1 -1
- package/es/DownloadButton/index.mjs +2 -3
- package/es/DownloadButton/type.d.mts +0 -2
- package/es/DraggablePanel/DraggablePanel.mjs +9 -12
- package/es/DraggablePanel/DraggablePanel.mjs.map +1 -1
- package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelBody.mjs +3 -6
- package/es/DraggablePanel/components/DraggablePanelBody.mjs.map +1 -1
- package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelContainer.mjs +3 -6
- package/es/DraggablePanel/components/DraggablePanelContainer.mjs.map +1 -1
- package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelFooter.mjs +3 -6
- package/es/DraggablePanel/components/DraggablePanelFooter.mjs.map +1 -1
- package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelHeader.mjs +6 -9
- package/es/DraggablePanel/components/DraggablePanelHeader.mjs.map +1 -1
- package/es/DraggablePanel/components/style.mjs +10 -11
- package/es/DraggablePanel/components/style.mjs.map +1 -1
- package/es/DraggablePanel/index.mjs +13 -16
- package/es/DraggablePanel/index.mjs.map +1 -1
- package/es/DraggablePanel/style.mjs +56 -57
- package/es/DraggablePanel/style.mjs.map +1 -1
- package/es/DraggablePanel/utils.mjs +1 -1
- package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
- package/es/DraggableSideNav/DraggableSideNav.mjs +11 -14
- package/es/DraggableSideNav/DraggableSideNav.mjs.map +1 -1
- package/es/DraggableSideNav/index.mjs +2 -3
- package/es/DraggableSideNav/style.mjs +36 -37
- package/es/DraggableSideNav/style.mjs.map +1 -1
- package/es/Drawer/Drawer.d.mts +2 -2
- package/es/Drawer/Drawer.mjs +5 -8
- package/es/Drawer/Drawer.mjs.map +1 -1
- package/es/Drawer/index.mjs +2 -3
- package/es/Drawer/type.d.mts +0 -1
- package/es/Dropdown/Dropdown.d.mts +2 -3
- package/es/Dropdown/Dropdown.mjs +3 -6
- package/es/Dropdown/Dropdown.mjs.map +1 -1
- package/es/Dropdown/index.mjs +2 -3
- package/es/Dropdown/type.d.mts +1 -3
- package/es/DropdownMenu/index.d.mts +0 -1
- package/es/DropdownMenu/index.mjs +2 -3
- package/es/EditableText/ControlInput.d.mts +0 -4
- package/es/EditableText/ControlInput.mjs +8 -11
- package/es/EditableText/ControlInput.mjs.map +1 -1
- package/es/EditableText/EditableText.d.mts +2 -2
- package/es/EditableText/EditableText.mjs +7 -10
- package/es/EditableText/EditableText.mjs.map +1 -1
- package/es/EditableText/index.mjs +2 -3
- package/es/EditableText/type.d.mts +0 -1
- package/es/EditorSlashMenu/EditorSlashMenu.d.mts +11 -22
- package/es/EditorSlashMenu/EditorSlashMenu.mjs +6 -9
- package/es/EditorSlashMenu/EditorSlashMenu.mjs.map +1 -1
- package/es/EditorSlashMenu/MenuItemRenderer.mjs +1 -2
- package/es/EditorSlashMenu/MenuItemRenderer.mjs.map +1 -1
- package/es/EditorSlashMenu/atoms.d.mts +15 -15
- package/es/EditorSlashMenu/atoms.mjs +2 -4
- package/es/EditorSlashMenu/atoms.mjs.map +1 -1
- package/es/EditorSlashMenu/index.mjs +3 -5
- package/es/EditorSlashMenu/style.mjs +5 -7
- package/es/EditorSlashMenu/style.mjs.map +1 -1
- package/es/EditorSlashMenu/type.d.mts +7 -15
- package/es/EditorSlashMenu/useKeyboardNavigation.mjs +1 -2
- package/es/EditorSlashMenu/useKeyboardNavigation.mjs.map +1 -1
- package/es/EditorSlashMenu/useNormalizedItems.mjs +1 -2
- package/es/EditorSlashMenu/useNormalizedItems.mjs.map +1 -1
- package/es/EditorSlashMenu/utils.mjs +1 -1
- package/es/EmojiPicker/AvatarUploader.mjs +19 -22
- package/es/EmojiPicker/AvatarUploader.mjs.map +1 -1
- package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
- package/es/EmojiPicker/EmojiPicker.mjs +22 -25
- package/es/EmojiPicker/EmojiPicker.mjs.map +1 -1
- package/es/EmojiPicker/index.mjs +2 -3
- package/es/EmojiPicker/style.mjs +10 -11
- package/es/EmojiPicker/style.mjs.map +1 -1
- package/es/EmojiPicker/type.d.mts +0 -1
- package/es/Empty/Empty.mjs +12 -15
- package/es/Empty/Empty.mjs.map +1 -1
- package/es/Empty/index.mjs +2 -3
- package/es/Empty/type.d.mts +0 -4
- package/es/FileTypeIcon/FileTypeIcon.mjs +9 -12
- package/es/FileTypeIcon/FileTypeIcon.mjs.map +1 -1
- package/es/FileTypeIcon/components/FileIcon.mjs +2 -4
- package/es/FileTypeIcon/components/FileIcon.mjs.map +1 -1
- package/es/FileTypeIcon/components/FolderIcon.mjs +2 -4
- package/es/FileTypeIcon/components/FolderIcon.mjs.map +1 -1
- package/es/FileTypeIcon/index.mjs +2 -3
- package/es/FileTypeIcon/style.mjs +5 -6
- package/es/FileTypeIcon/style.mjs.map +1 -1
- package/es/Flex/Center.mjs +2 -4
- package/es/Flex/Center.mjs.map +1 -1
- package/es/Flex/FlexBasic.d.mts +2 -2
- package/es/Flex/FlexBasic.mjs +2 -4
- package/es/Flex/FlexBasic.mjs.map +1 -1
- package/es/Flex/index.d.mts +0 -1
- package/es/Flex/index.mjs +2 -3
- package/es/Flex/utils.mjs +4 -4
- package/es/Flex/utils.mjs.map +1 -1
- package/es/FluentEmoji/FluentEmoji.mjs +7 -10
- package/es/FluentEmoji/FluentEmoji.mjs.map +1 -1
- package/es/FluentEmoji/index.mjs +2 -3
- package/es/FluentEmoji/style.mjs +3 -4
- package/es/FluentEmoji/style.mjs.map +1 -1
- package/es/FluentEmoji/utils.mjs +1 -1
- package/es/FontLoader/index.d.mts +2 -2
- package/es/FontLoader/index.mjs +3 -6
- package/es/FontLoader/index.mjs.map +1 -1
- package/es/Footer/Footer.d.mts +2 -2
- package/es/Footer/Footer.mjs +3 -6
- package/es/Footer/Footer.mjs.map +1 -1
- package/es/Footer/index.mjs +2 -3
- package/es/Footer/style.mjs +14 -15
- package/es/Footer/style.mjs.map +1 -1
- package/es/Footer/type.d.mts +0 -1
- package/es/Form/Form.mjs +9 -12
- package/es/Form/Form.mjs.map +1 -1
- package/es/Form/components/FormDivider.mjs +5 -8
- package/es/Form/components/FormDivider.mjs.map +1 -1
- package/es/Form/components/FormFlatGroup.mjs +3 -6
- package/es/Form/components/FormFlatGroup.mjs.map +1 -1
- package/es/Form/components/FormGroup.d.mts +2 -2
- package/es/Form/components/FormGroup.mjs +7 -10
- package/es/Form/components/FormGroup.mjs.map +1 -1
- package/es/Form/components/FormItem.d.mts +2 -2
- package/es/Form/components/FormItem.mjs +7 -10
- package/es/Form/components/FormItem.mjs.map +1 -1
- package/es/Form/components/FormProvider.mjs +2 -4
- package/es/Form/components/FormProvider.mjs.map +1 -1
- package/es/Form/components/FormSubmitFooter.d.mts +2 -2
- package/es/Form/components/FormSubmitFooter.mjs +8 -11
- package/es/Form/components/FormSubmitFooter.mjs.map +1 -1
- package/es/Form/components/FormTitle.mjs +5 -8
- package/es/Form/components/FormTitle.mjs.map +1 -1
- package/es/Form/components/merge.mjs +2 -3
- package/es/Form/components/merge.mjs.map +1 -1
- package/es/Form/index.mjs +16 -19
- package/es/Form/index.mjs.map +1 -1
- package/es/Form/style.mjs +47 -48
- package/es/Form/style.mjs.map +1 -1
- package/es/Form/type.d.mts +1 -6
- package/es/FormModal/FormModal.d.mts +2 -2
- package/es/FormModal/FormModal.mjs +9 -12
- package/es/FormModal/FormModal.mjs.map +1 -1
- package/es/FormModal/index.mjs +2 -3
- package/es/FormModal/style.mjs +7 -8
- package/es/FormModal/style.mjs.map +1 -1
- package/es/FormModal/type.d.mts +0 -3
- package/es/Freeze/Freeze.d.mts +2 -2
- package/es/Freeze/Freeze.mjs +3 -6
- package/es/Freeze/Freeze.mjs.map +1 -1
- package/es/Freeze/index.mjs +2 -3
- package/es/Grid/Grid.mjs +3 -6
- package/es/Grid/Grid.mjs.map +1 -1
- package/es/Grid/index.mjs +2 -3
- package/es/Grid/style.mjs +3 -4
- package/es/Grid/style.mjs.map +1 -1
- package/es/Grid/type.d.mts +0 -1
- package/es/GroupAvatar/GroupAvatar.mjs +10 -13
- package/es/GroupAvatar/GroupAvatar.mjs.map +1 -1
- package/es/GroupAvatar/index.mjs +2 -3
- package/es/GroupAvatar/style.mjs +4 -5
- package/es/GroupAvatar/style.mjs.map +1 -1
- package/es/GuideCard/GuideCard.d.mts +2 -2
- package/es/GuideCard/GuideCard.mjs +7 -10
- package/es/GuideCard/GuideCard.mjs.map +1 -1
- package/es/GuideCard/style.mjs +16 -17
- package/es/GuideCard/style.mjs.map +1 -1
- package/es/GuideCard/type.d.mts +0 -2
- package/es/Header/Header.d.mts +2 -2
- package/es/Header/Header.mjs +3 -6
- package/es/Header/Header.mjs.map +1 -1
- package/es/Header/index.mjs +2 -3
- package/es/Header/style.mjs +10 -11
- package/es/Header/style.mjs.map +1 -1
- package/es/Header/type.d.mts +0 -1
- package/es/Highlighter/FullFeatured.mjs +13 -16
- package/es/Highlighter/FullFeatured.mjs.map +1 -1
- package/es/Highlighter/Highlighter.d.mts +2 -2
- package/es/Highlighter/Highlighter.mjs +11 -14
- package/es/Highlighter/Highlighter.mjs.map +1 -1
- package/es/Highlighter/LangSelect.mjs +10 -13
- package/es/Highlighter/LangSelect.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs +3 -6
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs +3 -6
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
- package/es/Highlighter/SyntaxHighlighter/index.mjs +7 -10
- package/es/Highlighter/SyntaxHighlighter/index.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/style.mjs +20 -21
- package/es/Highlighter/SyntaxHighlighter/style.mjs.map +1 -1
- package/es/Highlighter/const.mjs +1 -2
- package/es/Highlighter/const.mjs.map +1 -1
- package/es/Highlighter/index.mjs +3 -4
- package/es/Highlighter/style.mjs +24 -25
- package/es/Highlighter/style.mjs.map +1 -1
- package/es/Highlighter/theme/lobe-theme.mjs +1 -2
- package/es/Highlighter/theme/lobe-theme.mjs.map +1 -1
- package/es/Highlighter/type.d.mts +0 -2
- package/es/Hotkey/Hotkey.d.mts +2 -2
- package/es/Hotkey/Hotkey.mjs +36 -39
- package/es/Hotkey/Hotkey.mjs.map +1 -1
- package/es/Hotkey/const.mjs +1 -1
- package/es/Hotkey/index.mjs +2 -3
- package/es/Hotkey/style.mjs +13 -14
- package/es/Hotkey/style.mjs.map +1 -1
- package/es/Hotkey/type.d.mts +0 -1
- package/es/Hotkey/utils.d.mts +0 -1
- package/es/Hotkey/utils.mjs +1 -2
- package/es/Hotkey/utils.mjs.map +1 -1
- package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
- package/es/HotkeyInput/HotkeyInput.mjs +9 -12
- package/es/HotkeyInput/HotkeyInput.mjs.map +1 -1
- package/es/HotkeyInput/index.mjs +2 -3
- package/es/HotkeyInput/style.mjs +13 -14
- package/es/HotkeyInput/style.mjs.map +1 -1
- package/es/Icon/Icon.d.mts +2 -2
- package/es/Icon/Icon.mjs +3 -6
- package/es/Icon/Icon.mjs.map +1 -1
- package/es/Icon/components/IconProvider.d.mts +3 -3
- package/es/Icon/components/IconProvider.mjs +2 -4
- package/es/Icon/components/IconProvider.mjs.map +1 -1
- package/es/Icon/components/utils.mjs +1 -2
- package/es/Icon/components/utils.mjs.map +1 -1
- package/es/Icon/index.mjs +2 -3
- package/es/Icon/style.mjs +6 -8
- package/es/Icon/style.mjs.map +1 -1
- package/es/Image/Image.mjs +5 -8
- package/es/Image/Image.mjs.map +1 -1
- package/es/Image/PreviewGroup.d.mts +2 -2
- package/es/Image/PreviewGroup.mjs +5 -8
- package/es/Image/PreviewGroup.mjs.map +1 -1
- package/es/Image/components/Preview.mjs +3 -6
- package/es/Image/components/Preview.mjs.map +1 -1
- package/es/Image/components/Toolbar.mjs +13 -15
- package/es/Image/components/Toolbar.mjs.map +1 -1
- package/es/Image/components/usePreview.mjs +8 -10
- package/es/Image/components/usePreview.mjs.map +1 -1
- package/es/Image/components/usePreviewGroup.mjs +8 -10
- package/es/Image/components/usePreviewGroup.mjs.map +1 -1
- package/es/Image/index.mjs +6 -8
- package/es/Image/index.mjs.map +1 -1
- package/es/Image/style.mjs +28 -29
- package/es/Image/style.mjs.map +1 -1
- package/es/Image/type.d.mts +2 -2
- package/es/ImageSelect/ImageSelect.d.mts +2 -2
- package/es/ImageSelect/ImageSelect.mjs +7 -10
- package/es/ImageSelect/ImageSelect.mjs.map +1 -1
- package/es/ImageSelect/styles.mjs +11 -12
- package/es/ImageSelect/styles.mjs.map +1 -1
- package/es/ImageSelect/type.d.mts +0 -2
- package/es/Img/index.mjs +3 -6
- package/es/Img/index.mjs.map +1 -1
- package/es/Input/Input.d.mts +2 -2
- package/es/Input/Input.mjs +3 -6
- package/es/Input/Input.mjs.map +1 -1
- package/es/Input/InputNumber.d.mts +2 -2
- package/es/Input/InputNumber.mjs +3 -6
- package/es/Input/InputNumber.mjs.map +1 -1
- package/es/Input/InputOPT.d.mts +2 -2
- package/es/Input/InputOPT.mjs +3 -6
- package/es/Input/InputOPT.mjs.map +1 -1
- package/es/Input/InputPassword.d.mts +2 -2
- package/es/Input/InputPassword.mjs +3 -6
- package/es/Input/InputPassword.mjs.map +1 -1
- package/es/Input/TextArea.d.mts +2 -2
- package/es/Input/TextArea.mjs +3 -6
- package/es/Input/TextArea.mjs.map +1 -1
- package/es/Input/style.mjs +11 -12
- package/es/Input/style.mjs.map +1 -1
- package/es/Input/type.d.mts +3 -3
- package/es/Layout/Layout.mjs +18 -21
- package/es/Layout/Layout.mjs.map +1 -1
- package/es/Layout/components/LayoutFooter.d.mts +2 -3
- package/es/Layout/components/LayoutFooter.mjs +3 -6
- package/es/Layout/components/LayoutFooter.mjs.map +1 -1
- package/es/Layout/components/LayoutHeader.d.mts +2 -2
- package/es/Layout/components/LayoutHeader.mjs +3 -6
- package/es/Layout/components/LayoutHeader.mjs.map +1 -1
- package/es/Layout/components/LayoutMain.d.mts +2 -3
- package/es/Layout/components/LayoutMain.mjs +3 -6
- 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 -6
- package/es/Layout/components/LayoutSidebar.mjs.map +1 -1
- package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
- package/es/Layout/components/LayoutSidebarInner.mjs +3 -6
- package/es/Layout/components/LayoutSidebarInner.mjs.map +1 -1
- package/es/Layout/components/LayoutToc.d.mts +2 -2
- package/es/Layout/components/LayoutToc.mjs +3 -6
- package/es/Layout/components/LayoutToc.mjs.map +1 -1
- package/es/Layout/index.mjs +16 -18
- package/es/Layout/index.mjs.map +1 -1
- package/es/Layout/style.mjs +10 -11
- package/es/Layout/style.mjs.map +1 -1
- package/es/List/List.mjs +5 -8
- package/es/List/List.mjs.map +1 -1
- package/es/List/ListItem/index.d.mts +2 -2
- package/es/List/ListItem/index.mjs +9 -12
- package/es/List/ListItem/index.mjs.map +1 -1
- package/es/List/ListItem/style.mjs +16 -17
- package/es/List/ListItem/style.mjs.map +1 -1
- package/es/List/ListItem/time.mjs +1 -2
- package/es/List/ListItem/time.mjs.map +1 -1
- package/es/List/index.mjs +6 -8
- package/es/List/index.mjs.map +1 -1
- package/es/List/type.d.mts +0 -1
- package/es/Markdown/Markdown.d.mts +2 -2
- package/es/Markdown/Markdown.mjs +14 -17
- package/es/Markdown/Markdown.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/MarkdownRender.mjs +3 -6
- package/es/Markdown/SyntaxMarkdown/MarkdownRender.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +3 -6
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/streamAnimationMeta.mjs +1 -1
- package/es/Markdown/SyntaxMarkdown/style.mjs +3 -4
- package/es/Markdown/SyntaxMarkdown/style.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/useSmoothStreamContent.mjs +2 -4
- package/es/Markdown/SyntaxMarkdown/useSmoothStreamContent.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/useStreamQueue.mjs +1 -2
- package/es/Markdown/SyntaxMarkdown/useStreamQueue.mjs.map +1 -1
- package/es/Markdown/Typography.d.mts +2 -2
- package/es/Markdown/Typography.mjs +3 -6
- package/es/Markdown/Typography.mjs.map +1 -1
- package/es/Markdown/components/CodeBlock.mjs +5 -6
- package/es/Markdown/components/CodeBlock.mjs.map +1 -1
- package/es/Markdown/components/Footnotes.mjs +13 -16
- package/es/Markdown/components/Footnotes.mjs.map +1 -1
- package/es/Markdown/components/MarkdownProvider.mjs +2 -4
- package/es/Markdown/components/MarkdownProvider.mjs.map +1 -1
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs +17 -20
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs.map +1 -1
- package/es/Markdown/components/SearchResultCards/index.d.mts +2 -3
- package/es/Markdown/components/SearchResultCards/index.mjs +7 -10
- package/es/Markdown/components/SearchResultCards/index.mjs.map +1 -1
- package/es/Markdown/components/SearchResultCards/style.mjs +4 -5
- package/es/Markdown/components/SearchResultCards/style.mjs.map +1 -1
- package/es/Markdown/components/useDelayedAnimated.mjs +1 -2
- package/es/Markdown/components/useDelayedAnimated.mjs.map +1 -1
- package/es/Markdown/index.mjs +3 -4
- package/es/Markdown/markdown.style.mjs +42 -43
- package/es/Markdown/markdown.style.mjs.map +1 -1
- package/es/Markdown/plugins/rehypeCustomFootnotes.mjs +1 -2
- package/es/Markdown/plugins/rehypeCustomFootnotes.mjs.map +1 -1
- package/es/Markdown/plugins/rehypeKatexDir.d.mts +1 -1
- package/es/Markdown/plugins/rehypeKatexDir.mjs +1 -2
- package/es/Markdown/plugins/rehypeKatexDir.mjs.map +1 -1
- package/es/Markdown/plugins/rehypeStreamAnimated.d.mts +1 -1
- package/es/Markdown/plugins/rehypeStreamAnimated.mjs +1 -2
- package/es/Markdown/plugins/rehypeStreamAnimated.mjs.map +1 -1
- package/es/Markdown/plugins/remarkBr.mjs +1 -2
- package/es/Markdown/plugins/remarkBr.mjs.map +1 -1
- package/es/Markdown/plugins/remarkColor.mjs +1 -2
- package/es/Markdown/plugins/remarkColor.mjs.map +1 -1
- package/es/Markdown/plugins/remarkCustomFootnotes.d.mts +0 -1
- package/es/Markdown/plugins/remarkCustomFootnotes.mjs +1 -2
- package/es/Markdown/plugins/remarkCustomFootnotes.mjs.map +1 -1
- package/es/Markdown/plugins/remarkGfmPlus.mjs +2 -3
- package/es/Markdown/plugins/remarkGfmPlus.mjs.map +1 -1
- package/es/Markdown/plugins/remarkVideo.mjs +1 -2
- package/es/Markdown/plugins/remarkVideo.mjs.map +1 -1
- package/es/Markdown/streamProfiler/StreamdownProfilerProvider.mjs +2 -4
- package/es/Markdown/streamProfiler/StreamdownProfilerProvider.mjs.map +1 -1
- package/es/Markdown/style.mjs +29 -30
- package/es/Markdown/style.mjs.map +1 -1
- package/es/Markdown/type.d.mts +0 -3
- package/es/MaskShadow/MaskShadow.d.mts +2 -2
- package/es/MaskShadow/MaskShadow.mjs +3 -6
- package/es/MaskShadow/MaskShadow.mjs.map +1 -1
- package/es/MaskShadow/index.mjs +2 -3
- package/es/MaskShadow/style.mjs +7 -8
- package/es/MaskShadow/style.mjs.map +1 -1
- package/es/MaskShadow/type.d.mts +0 -2
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs +11 -14
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs.map +1 -1
- package/es/MaterialFileTypeIcon/{icon-map.d.mts → icon-map.json.d.mts} +2 -2
- package/es/MaterialFileTypeIcon/icon-map.mjs +1 -1
- package/es/MaterialFileTypeIcon/index.mjs +2 -3
- package/es/MaterialFileTypeIcon/type.d.mts +1 -1
- package/es/MaterialFileTypeIcon/utils.mjs +1 -2
- package/es/MaterialFileTypeIcon/utils.mjs.map +1 -1
- package/es/Menu/Menu.d.mts +2 -2
- package/es/Menu/Menu.mjs +3 -6
- package/es/Menu/Menu.mjs.map +1 -1
- package/es/Menu/baseItem.d.mts +0 -1
- package/es/Menu/checkboxItem.d.mts +0 -2
- package/es/Menu/index.mjs +2 -3
- package/es/Menu/renderUtils.d.mts +0 -1
- package/es/Menu/renderUtils.mjs +3 -4
- package/es/Menu/renderUtils.mjs.map +1 -1
- package/es/Menu/sharedStyle.mjs +37 -38
- package/es/Menu/sharedStyle.mjs.map +1 -1
- package/es/Menu/style.mjs +6 -7
- package/es/Menu/style.mjs.map +1 -1
- package/es/Menu/switchItem.d.mts +0 -2
- package/es/Menu/type.d.mts +1 -2
- package/es/Menu/utils.d.mts +1 -1
- package/es/Menu/utils.mjs +3 -4
- package/es/Menu/utils.mjs.map +1 -1
- package/es/Mermaid/FullFeatured.mjs +11 -14
- package/es/Mermaid/FullFeatured.mjs.map +1 -1
- package/es/Mermaid/Mermaid.d.mts +2 -2
- package/es/Mermaid/Mermaid.mjs +11 -14
- package/es/Mermaid/Mermaid.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs +5 -8
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs +5 -8
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
- package/es/Mermaid/SyntaxMermaid/index.mjs +7 -10
- package/es/Mermaid/SyntaxMermaid/index.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/style.mjs +10 -11
- package/es/Mermaid/SyntaxMermaid/style.mjs.map +1 -1
- package/es/Mermaid/const.mjs +1 -1
- package/es/Mermaid/const.mjs.map +1 -1
- package/es/Mermaid/index.mjs +3 -4
- package/es/Mermaid/type.d.mts +0 -1
- package/es/Modal/Modal.d.mts +2 -2
- package/es/Modal/Modal.mjs +8 -11
- package/es/Modal/Modal.mjs.map +1 -1
- package/es/Modal/ModalProvider.d.mts +2 -2
- package/es/Modal/ModalProvider.mjs +2 -4
- package/es/Modal/ModalProvider.mjs.map +1 -1
- package/es/Modal/ModalStackItem.mjs +4 -6
- package/es/Modal/ModalStackItem.mjs.map +1 -1
- package/es/Modal/RawModalStackItem.mjs +2 -4
- package/es/Modal/RawModalStackItem.mjs.map +1 -1
- package/es/Modal/imperative.d.mts +2 -2
- package/es/Modal/imperative.mjs +2 -4
- package/es/Modal/imperative.mjs.map +1 -1
- package/es/Modal/index.mjs +2 -3
- package/es/Modal/style.mjs +8 -11
- package/es/Modal/style.mjs.map +1 -1
- package/es/MotionProvider/index.d.mts +4 -4
- package/es/MotionProvider/index.mjs +2 -4
- package/es/MotionProvider/index.mjs.map +1 -1
- package/es/Popover/index.d.mts +0 -1
- package/es/Popover/index.mjs +3 -4
- package/es/ScrollArea/index.d.mts +0 -1
- package/es/ScrollArea/index.mjs +1 -2
- package/es/ScrollShadow/ScrollShadow.mjs +3 -6
- package/es/ScrollShadow/ScrollShadow.mjs.map +1 -1
- package/es/ScrollShadow/index.mjs +2 -3
- package/es/ScrollShadow/style.mjs +12 -13
- package/es/ScrollShadow/style.mjs.map +1 -1
- package/es/ScrollShadow/type.d.mts +0 -1
- package/es/ScrollShadow/useScrollOverflow.mjs +1 -2
- package/es/ScrollShadow/useScrollOverflow.mjs.map +1 -1
- package/es/SearchBar/SearchBar.d.mts +2 -2
- package/es/SearchBar/SearchBar.mjs +11 -14
- package/es/SearchBar/SearchBar.mjs.map +1 -1
- package/es/SearchBar/index.mjs +2 -3
- package/es/SearchBar/style.mjs +7 -8
- package/es/SearchBar/style.mjs.map +1 -1
- package/es/SearchBar/type.d.mts +0 -1
- package/es/Segmented/Segmented.d.mts +2 -2
- package/es/Segmented/Segmented.mjs +3 -6
- package/es/Segmented/Segmented.mjs.map +1 -1
- package/es/Segmented/index.mjs +2 -3
- package/es/Segmented/style.mjs +8 -9
- package/es/Segmented/style.mjs.map +1 -1
- package/es/Segmented/type.d.mts +0 -1
- package/es/Select/Select.d.mts +2 -2
- package/es/Select/Select.mjs +5 -8
- package/es/Select/Select.mjs.map +1 -1
- package/es/Select/index.mjs +2 -3
- package/es/Select/style.mjs +8 -9
- package/es/Select/style.mjs.map +1 -1
- package/es/Select/type.d.mts +0 -1
- package/es/SideNav/SideNav.d.mts +2 -2
- package/es/SideNav/SideNav.mjs +3 -6
- package/es/SideNav/SideNav.mjs.map +1 -1
- package/es/SideNav/index.mjs +2 -3
- package/es/SideNav/style.mjs +4 -5
- package/es/SideNav/style.mjs.map +1 -1
- package/es/SideNav/type.d.mts +0 -1
- package/es/Skeleton/Skeleton.mjs +9 -12
- package/es/Skeleton/Skeleton.mjs.map +1 -1
- package/es/Skeleton/SkeletonAvatar.mjs +5 -8
- package/es/Skeleton/SkeletonAvatar.mjs.map +1 -1
- package/es/Skeleton/SkeletonBlock.mjs +5 -8
- package/es/Skeleton/SkeletonBlock.mjs.map +1 -1
- package/es/Skeleton/SkeletonButton.mjs +5 -8
- package/es/Skeleton/SkeletonButton.mjs.map +1 -1
- package/es/Skeleton/SkeletonParagraph.mjs +6 -10
- package/es/Skeleton/SkeletonParagraph.mjs.map +1 -1
- package/es/Skeleton/SkeletonTags.mjs +5 -8
- package/es/Skeleton/SkeletonTags.mjs.map +1 -1
- package/es/Skeleton/SkeletonTitle.mjs +5 -8
- package/es/Skeleton/SkeletonTitle.mjs.map +1 -1
- package/es/Skeleton/index.mjs +16 -18
- package/es/Skeleton/index.mjs.map +1 -1
- package/es/Skeleton/style.mjs +10 -11
- package/es/Skeleton/style.mjs.map +1 -1
- package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
- package/es/SliderWithInput/SliderWithInput.mjs +8 -11
- package/es/SliderWithInput/SliderWithInput.mjs.map +1 -1
- package/es/SliderWithInput/index.mjs +2 -3
- package/es/SliderWithInput/type.d.mts +0 -2
- package/es/Snippet/Snippet.mjs +9 -12
- package/es/Snippet/Snippet.mjs.map +1 -1
- package/es/Snippet/index.mjs +2 -3
- package/es/Snippet/style.mjs +5 -6
- package/es/Snippet/style.mjs.map +1 -1
- package/es/Snippet/type.d.mts +0 -1
- package/es/SortableList/SortableList.mjs +13 -16
- package/es/SortableList/SortableList.mjs.map +1 -1
- package/es/SortableList/components/DragHandle.d.mts +2 -3
- package/es/SortableList/components/DragHandle.mjs +5 -8
- package/es/SortableList/components/DragHandle.mjs.map +1 -1
- package/es/SortableList/components/SortableItem.d.mts +2 -6
- package/es/SortableList/components/SortableItem.mjs +3 -6
- package/es/SortableList/components/SortableItem.mjs.map +1 -1
- package/es/SortableList/components/SortableOverlay.mjs +3 -6
- package/es/SortableList/components/SortableOverlay.mjs.map +1 -1
- package/es/SortableList/index.mjs +2 -3
- package/es/SortableList/style.mjs +6 -7
- package/es/SortableList/style.mjs.map +1 -1
- package/es/SortableList/type.d.mts +0 -1
- package/es/Tabs/Tabs.mjs +5 -8
- package/es/Tabs/Tabs.mjs.map +1 -1
- package/es/Tabs/index.mjs +2 -3
- package/es/Tabs/style.mjs +15 -16
- package/es/Tabs/style.mjs.map +1 -1
- package/es/Tag/Tag.mjs +3 -6
- package/es/Tag/Tag.mjs.map +1 -1
- package/es/Tag/styles.mjs +6 -7
- package/es/Tag/styles.mjs.map +1 -1
- package/es/Tag/utils.mjs +1 -2
- package/es/Tag/utils.mjs.map +1 -1
- package/es/Text/Text.mjs +6 -9
- package/es/Text/Text.mjs.map +1 -1
- package/es/Text/index.mjs +2 -3
- package/es/Text/styles.mjs +37 -38
- package/es/Text/styles.mjs.map +1 -1
- package/es/Text/type.d.mts +0 -1
- package/es/ThemeProvider/AppElementContext.d.mts +0 -2
- package/es/ThemeProvider/AppElementContext.mjs +3 -6
- package/es/ThemeProvider/AppElementContext.mjs.map +1 -1
- package/es/ThemeProvider/ConfigProvider.mjs +3 -6
- package/es/ThemeProvider/ConfigProvider.mjs.map +1 -1
- package/es/ThemeProvider/GlobalStyle/antdOverride.mjs +1 -2
- package/es/ThemeProvider/GlobalStyle/antdOverride.mjs.map +1 -1
- package/es/ThemeProvider/GlobalStyle/global.mjs +1 -2
- package/es/ThemeProvider/GlobalStyle/global.mjs.map +1 -1
- package/es/ThemeProvider/GlobalStyle/index.mjs +3 -6
- package/es/ThemeProvider/GlobalStyle/index.mjs.map +1 -1
- package/es/ThemeProvider/Meta.mjs +3 -6
- package/es/ThemeProvider/Meta.mjs.map +1 -1
- package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
- package/es/ThemeProvider/ThemeProvider.mjs +16 -19
- package/es/ThemeProvider/ThemeProvider.mjs.map +1 -1
- package/es/ThemeProvider/constants.mjs +1 -1
- package/es/ThemeProvider/index.mjs +3 -4
- package/es/ThemeProvider/type.d.mts +0 -1
- package/es/ThemeSwitch/ThemeSwitch.mjs +9 -12
- package/es/ThemeSwitch/ThemeSwitch.mjs.map +1 -1
- package/es/ThemeSwitch/index.mjs +2 -3
- package/es/ThemeSwitch/type.d.mts +0 -1
- package/es/Toast/index.d.mts +0 -1
- package/es/Toast/index.mjs +1 -2
- package/es/Toc/Toc.d.mts +2 -2
- package/es/Toc/Toc.mjs +5 -8
- package/es/Toc/Toc.mjs.map +1 -1
- package/es/Toc/TocMobile.mjs +5 -8
- package/es/Toc/TocMobile.mjs.map +1 -1
- package/es/Toc/index.mjs +2 -3
- package/es/Toc/style.mjs +11 -12
- package/es/Toc/style.mjs.map +1 -1
- package/es/Toc/utils.mjs +1 -1
- package/es/Tooltip/ArrowIcon.mjs +2 -4
- package/es/Tooltip/ArrowIcon.mjs.map +1 -1
- package/es/Tooltip/Tooltip.mjs +3 -6
- package/es/Tooltip/Tooltip.mjs.map +1 -1
- package/es/Tooltip/TooltipContent.mjs +5 -8
- package/es/Tooltip/TooltipContent.mjs.map +1 -1
- package/es/Tooltip/TooltipGroup.mjs +8 -11
- package/es/Tooltip/TooltipGroup.mjs.map +1 -1
- package/es/Tooltip/TooltipInGroup.mjs +2 -4
- package/es/Tooltip/TooltipInGroup.mjs.map +1 -1
- package/es/Tooltip/TooltipStandalone.mjs +4 -6
- package/es/Tooltip/TooltipStandalone.mjs.map +1 -1
- package/es/Tooltip/groupContext.mjs +2 -4
- package/es/Tooltip/groupContext.mjs.map +1 -1
- package/es/Tooltip/style.mjs +14 -15
- package/es/Tooltip/style.mjs.map +1 -1
- package/es/Tooltip/type.d.mts +0 -1
- package/es/Tooltip/useMergedTooltipProps.mjs +2 -4
- package/es/Tooltip/useMergedTooltipProps.mjs.map +1 -1
- package/es/Video/index.d.mts +2 -3
- package/es/Video/index.mjs +5 -8
- package/es/Video/index.mjs.map +1 -1
- package/es/Video/style.mjs +8 -9
- package/es/Video/style.mjs.map +1 -1
- package/es/_virtual/_rolldown/runtime.mjs +13 -0
- package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
- package/es/awesome/AuroraBackground/AuroraBackground.mjs +3 -6
- package/es/awesome/AuroraBackground/AuroraBackground.mjs.map +1 -1
- package/es/awesome/AuroraBackground/style.mjs +5 -6
- package/es/awesome/AuroraBackground/style.mjs.map +1 -1
- package/es/awesome/AuroraBackground/type.d.mts +0 -1
- package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -3
- package/es/awesome/BottomGradientButton/BottomGradientButton.mjs +5 -8
- package/es/awesome/BottomGradientButton/BottomGradientButton.mjs.map +1 -1
- package/es/awesome/BottomGradientButton/style.mjs +4 -5
- package/es/awesome/BottomGradientButton/style.mjs.map +1 -1
- package/es/awesome/BottomGradientButton/type.d.mts +0 -2
- package/es/awesome/Features/FeatureItem.mjs +14 -17
- package/es/awesome/Features/FeatureItem.mjs.map +1 -1
- package/es/awesome/Features/Features.d.mts +2 -2
- package/es/awesome/Features/Features.mjs +7 -10
- package/es/awesome/Features/Features.mjs.map +1 -1
- package/es/awesome/Features/style.mjs +21 -22
- package/es/awesome/Features/style.mjs.map +1 -1
- package/es/awesome/Features/type.d.mts +0 -2
- package/es/awesome/Giscus/Giscus.d.mts +2 -2
- package/es/awesome/Giscus/Giscus.mjs +3 -6
- package/es/awesome/Giscus/Giscus.mjs.map +1 -1
- package/es/awesome/Giscus/style.mjs +1 -2
- package/es/awesome/Giscus/style.mjs.map +1 -1
- package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
- package/es/awesome/GradientButton/GradientButton.mjs +5 -8
- package/es/awesome/GradientButton/GradientButton.mjs.map +1 -1
- package/es/awesome/GradientButton/style.mjs +11 -12
- package/es/awesome/GradientButton/style.mjs.map +1 -1
- package/es/awesome/GradientButton/type.d.mts +0 -2
- package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
- package/es/awesome/GridBackground/GridBackground.mjs +7 -10
- package/es/awesome/GridBackground/GridBackground.mjs.map +1 -1
- package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
- package/es/awesome/GridBackground/GridShowcase.mjs +6 -9
- package/es/awesome/GridBackground/GridShowcase.mjs.map +1 -1
- package/es/awesome/GridBackground/components/Grid.mjs +19 -21
- package/es/awesome/GridBackground/components/Grid.mjs.map +1 -1
- package/es/awesome/GridBackground/style.mjs +7 -8
- package/es/awesome/GridBackground/style.mjs.map +1 -1
- package/es/awesome/GridBackground/type.d.mts +0 -1
- package/es/awesome/Hero/Hero.d.mts +2 -2
- package/es/awesome/Hero/Hero.mjs +18 -21
- package/es/awesome/Hero/Hero.mjs.map +1 -1
- package/es/awesome/Hero/style.mjs +9 -10
- package/es/awesome/Hero/style.mjs.map +1 -1
- package/es/awesome/Spline/ParentSize.mjs +2 -4
- package/es/awesome/Spline/ParentSize.mjs.map +1 -1
- package/es/awesome/Spline/Spine.d.mts +2 -4
- package/es/awesome/Spline/Spine.mjs +5 -8
- package/es/awesome/Spline/Spine.mjs.map +1 -1
- package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
- package/es/awesome/Spotlight/Spotlight.mjs +3 -6
- package/es/awesome/Spotlight/Spotlight.mjs.map +1 -1
- package/es/awesome/Spotlight/style.mjs +10 -11
- package/es/awesome/Spotlight/style.mjs.map +1 -1
- package/es/awesome/Spotlight/useMouseOffset.mjs +1 -2
- package/es/awesome/Spotlight/useMouseOffset.mjs.map +1 -1
- package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
- package/es/awesome/SpotlightCard/SpotlightCard.mjs +7 -10
- package/es/awesome/SpotlightCard/SpotlightCard.mjs.map +1 -1
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs +3 -6
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs.map +1 -1
- package/es/awesome/SpotlightCard/style.mjs +14 -15
- package/es/awesome/SpotlightCard/style.mjs.map +1 -1
- package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs +3 -6
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs.map +1 -1
- package/es/awesome/TypewriterEffect/style.mjs +15 -16
- package/es/awesome/TypewriterEffect/style.mjs.map +1 -1
- package/es/awesome/index.d.mts +0 -11
- package/es/awesome/index.mjs +13 -14
- package/es/base-ui/ContextMenu/ContextMenuHost.d.mts +3 -3
- package/es/base-ui/ContextMenu/ContextMenuHost.mjs +2 -4
- package/es/base-ui/ContextMenu/ContextMenuHost.mjs.map +1 -1
- package/es/base-ui/ContextMenu/ContextMenuTrigger.mjs +2 -4
- package/es/base-ui/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
- package/es/base-ui/ContextMenu/index.d.mts +1 -3
- package/es/base-ui/ContextMenu/renderItems.d.mts +0 -2
- package/es/base-ui/ContextMenu/renderItems.mjs +18 -19
- package/es/base-ui/ContextMenu/renderItems.mjs.map +1 -1
- package/es/base-ui/ContextMenu/store.d.mts +0 -5
- package/es/base-ui/ContextMenu/store.mjs +1 -1
- package/es/base-ui/ContextMenu/store.mjs.map +1 -1
- package/es/base-ui/ContextMenu/type.d.mts +0 -2
- package/es/base-ui/DropdownMenu/DropdownMenu.d.mts +2 -2
- package/es/base-ui/DropdownMenu/DropdownMenu.mjs +3 -6
- package/es/base-ui/DropdownMenu/DropdownMenu.mjs.map +1 -1
- package/es/base-ui/DropdownMenu/atoms.d.mts +21 -21
- package/es/base-ui/DropdownMenu/atoms.mjs +2 -4
- package/es/base-ui/DropdownMenu/atoms.mjs.map +1 -1
- package/es/base-ui/DropdownMenu/renderItems.d.mts +0 -1
- package/es/base-ui/DropdownMenu/renderItems.mjs +14 -15
- package/es/base-ui/DropdownMenu/renderItems.mjs.map +1 -1
- package/es/base-ui/DropdownMenu/type.d.mts +0 -3
- package/es/base-ui/Modal/Modal.mjs +3 -6
- package/es/base-ui/Modal/Modal.mjs.map +1 -1
- package/es/base-ui/Modal/atoms.d.mts +12 -12
- package/es/base-ui/Modal/atoms.mjs +2 -4
- package/es/base-ui/Modal/atoms.mjs.map +1 -1
- package/es/base-ui/Modal/constants.mjs +1 -1
- package/es/base-ui/Modal/constants.mjs.map +1 -1
- package/es/base-ui/Modal/context.d.mts +2 -2
- package/es/base-ui/Modal/context.mjs +2 -4
- package/es/base-ui/Modal/context.mjs.map +1 -1
- package/es/base-ui/Modal/imperative.d.mts +2 -2
- package/es/base-ui/Modal/imperative.mjs +2 -4
- package/es/base-ui/Modal/imperative.mjs.map +1 -1
- package/es/base-ui/Modal/style.mjs +64 -65
- package/es/base-ui/Modal/style.mjs.map +1 -1
- package/es/base-ui/Popover/ArrowIcon.d.mts +2 -2
- package/es/base-ui/Popover/ArrowIcon.mjs +2 -4
- package/es/base-ui/Popover/ArrowIcon.mjs.map +1 -1
- package/es/base-ui/Popover/Popover.mjs +4 -7
- package/es/base-ui/Popover/Popover.mjs.map +1 -1
- package/es/base-ui/Popover/PopoverGroup.mjs +5 -8
- package/es/base-ui/Popover/PopoverGroup.mjs.map +1 -1
- package/es/base-ui/Popover/PopoverInGroup.mjs +2 -4
- package/es/base-ui/Popover/PopoverInGroup.mjs.map +1 -1
- package/es/base-ui/Popover/PopoverPortal.mjs +2 -4
- package/es/base-ui/Popover/PopoverPortal.mjs.map +1 -1
- package/es/base-ui/Popover/PopoverStandalone.mjs +2 -4
- package/es/base-ui/Popover/PopoverStandalone.mjs.map +1 -1
- package/es/base-ui/Popover/atoms.d.mts +10 -10
- package/es/base-ui/Popover/atoms.mjs +2 -4
- package/es/base-ui/Popover/atoms.mjs.map +1 -1
- package/es/base-ui/Popover/context.d.mts +2 -2
- package/es/base-ui/Popover/context.mjs +4 -8
- package/es/base-ui/Popover/context.mjs.map +1 -1
- package/es/base-ui/Popover/groupContext.d.mts +0 -1
- package/es/base-ui/Popover/groupContext.mjs +2 -4
- package/es/base-ui/Popover/groupContext.mjs.map +1 -1
- package/es/base-ui/Popover/style.mjs +14 -15
- package/es/base-ui/Popover/style.mjs.map +1 -1
- package/es/base-ui/Popover/type.d.mts +0 -1
- package/es/base-ui/Popover/useMergedPopoverProps.mjs +2 -4
- package/es/base-ui/Popover/useMergedPopoverProps.mjs.map +1 -1
- package/es/base-ui/ScrollArea/ScrollArea.mjs +2 -4
- package/es/base-ui/ScrollArea/ScrollArea.mjs.map +1 -1
- package/es/base-ui/ScrollArea/atoms.d.mts +7 -7
- package/es/base-ui/ScrollArea/atoms.mjs +4 -6
- package/es/base-ui/ScrollArea/atoms.mjs.map +1 -1
- package/es/base-ui/ScrollArea/globalStyle.mjs +3 -6
- package/es/base-ui/ScrollArea/globalStyle.mjs.map +1 -1
- package/es/base-ui/ScrollArea/style.mjs +17 -18
- package/es/base-ui/ScrollArea/style.mjs.map +1 -1
- package/es/base-ui/Select/Select.d.mts +2 -2
- package/es/base-ui/Select/Select.mjs +17 -22
- package/es/base-ui/Select/Select.mjs.map +1 -1
- package/es/base-ui/Select/atoms.d.mts +21 -21
- package/es/base-ui/Select/atoms.mjs +2 -4
- package/es/base-ui/Select/atoms.mjs.map +1 -1
- package/es/base-ui/Select/style.mjs +65 -66
- package/es/base-ui/Select/style.mjs.map +1 -1
- package/es/base-ui/Select/type.d.mts +0 -1
- package/es/base-ui/Switch/Switch.d.mts +2 -2
- package/es/base-ui/Switch/Switch.mjs +5 -8
- package/es/base-ui/Switch/Switch.mjs.map +1 -1
- package/es/base-ui/Switch/atoms.d.mts +4 -4
- package/es/base-ui/Switch/atoms.mjs +2 -4
- package/es/base-ui/Switch/atoms.mjs.map +1 -1
- package/es/base-ui/Switch/style.mjs +24 -25
- package/es/base-ui/Switch/style.mjs.map +1 -1
- package/es/base-ui/Toast/Toast.mjs +37 -32
- package/es/base-ui/Toast/Toast.mjs.map +1 -1
- package/es/base-ui/Toast/context.mjs +2 -4
- package/es/base-ui/Toast/context.mjs.map +1 -1
- package/es/base-ui/Toast/imperative.d.mts +4 -4
- package/es/base-ui/Toast/imperative.mjs +4 -6
- package/es/base-ui/Toast/imperative.mjs.map +1 -1
- package/es/base-ui/Toast/style.mjs +71 -67
- package/es/base-ui/Toast/style.mjs.map +1 -1
- package/es/base-ui/Toast/type.d.mts +0 -1
- package/es/base-ui/index.d.mts +0 -8
- package/es/base-ui/index.mjs +6 -7
- package/es/brand/BrandLoading/index.mjs +2 -4
- package/es/brand/BrandLoading/index.mjs.map +1 -1
- package/es/brand/LobeChat/index.d.mts +2 -2
- package/es/brand/LobeChat/index.mjs +11 -14
- package/es/brand/LobeChat/index.mjs.map +1 -1
- package/es/brand/LobeChatText/index.mjs +2 -4
- package/es/brand/LobeChatText/index.mjs.map +1 -1
- package/es/brand/LobeHub/index.d.mts +2 -2
- package/es/brand/LobeHub/index.mjs +11 -14
- package/es/brand/LobeHub/index.mjs.map +1 -1
- package/es/brand/LobeHub/style.mjs +3 -4
- package/es/brand/LobeHub/style.mjs.map +1 -1
- package/es/brand/LobeHubText/index.mjs +2 -4
- package/es/brand/LobeHubText/index.mjs.map +1 -1
- package/es/brand/Logo3d/index.mjs +5 -8
- package/es/brand/Logo3d/index.mjs.map +1 -1
- package/es/brand/LogoFlat/index.d.mts +2 -2
- package/es/brand/LogoFlat/index.mjs +1 -2
- package/es/brand/LogoFlat/index.mjs.map +1 -1
- package/es/brand/LogoMono/index.mjs +1 -2
- package/es/brand/LogoThree/Loading.mjs +6 -8
- package/es/brand/LogoThree/Loading.mjs.map +1 -1
- package/es/brand/LogoThree/LogoSpline.d.mts +2 -3
- package/es/brand/LogoThree/LogoSpline.mjs +5 -7
- package/es/brand/LogoThree/LogoSpline.mjs.map +1 -1
- package/es/brand/LogoThree/index.d.mts +2 -3
- package/es/brand/LogoThree/index.mjs +7 -10
- package/es/brand/LogoThree/index.mjs.map +1 -1
- package/es/brand/components/Divider.mjs +2 -4
- package/es/brand/components/Divider.mjs.map +1 -1
- package/es/brand/index.mjs +9 -10
- package/es/chat/BackBottom/BackBottom.d.mts +2 -2
- package/es/chat/BackBottom/BackBottom.mjs +5 -8
- package/es/chat/BackBottom/BackBottom.mjs.map +1 -1
- package/es/chat/BackBottom/style.mjs +6 -7
- package/es/chat/BackBottom/style.mjs.map +1 -1
- package/es/chat/BackBottom/type.d.mts +1 -1
- package/es/chat/ChatHeader/ChatHeader.mjs +5 -8
- package/es/chat/ChatHeader/ChatHeader.mjs.map +1 -1
- package/es/chat/ChatHeader/ChatHeaderTitle.mjs +2 -4
- package/es/chat/ChatHeader/ChatHeaderTitle.mjs.map +1 -1
- package/es/chat/ChatHeader/index.mjs +6 -8
- package/es/chat/ChatHeader/index.mjs.map +1 -1
- package/es/chat/ChatHeader/style.mjs +16 -17
- package/es/chat/ChatHeader/style.mjs.map +1 -1
- package/es/chat/ChatHeader/type.d.mts +0 -1
- package/es/chat/ChatInputArea/ChatInputArea.mjs +7 -10
- package/es/chat/ChatInputArea/ChatInputArea.mjs.map +1 -1
- package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs +3 -6
- 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/ChatInputAreaInner.mjs +5 -8
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.mjs.map +1 -1
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs +8 -10
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs.map +1 -1
- package/es/chat/ChatInputArea/index.mjs +10 -12
- package/es/chat/ChatInputArea/index.mjs.map +1 -1
- package/es/chat/ChatInputArea/style.mjs +9 -10
- package/es/chat/ChatInputArea/style.mjs.map +1 -1
- package/es/chat/ChatInputArea/type.d.mts +1 -4
- package/es/chat/ChatItem/ChatItem.d.mts +2 -2
- package/es/chat/ChatItem/ChatItem.mjs +16 -19
- package/es/chat/ChatItem/ChatItem.mjs.map +1 -1
- package/es/chat/ChatItem/components/Actions.mjs +2 -4
- package/es/chat/ChatItem/components/Actions.mjs.map +1 -1
- package/es/chat/ChatItem/components/Avatar.mjs +6 -8
- package/es/chat/ChatItem/components/Avatar.mjs.map +1 -1
- package/es/chat/ChatItem/components/BorderSpacing.mjs +2 -4
- package/es/chat/ChatItem/components/BorderSpacing.mjs.map +1 -1
- package/es/chat/ChatItem/components/ErrorContent.mjs +4 -6
- package/es/chat/ChatItem/components/ErrorContent.mjs.map +1 -1
- package/es/chat/ChatItem/components/Loading.mjs +4 -6
- package/es/chat/ChatItem/components/Loading.mjs.map +1 -1
- package/es/chat/ChatItem/components/MessageContent.mjs +4 -6
- package/es/chat/ChatItem/components/MessageContent.mjs.map +1 -1
- package/es/chat/ChatItem/components/Title.mjs +2 -4
- package/es/chat/ChatItem/components/Title.mjs.map +1 -1
- package/es/chat/ChatItem/style.mjs +53 -54
- package/es/chat/ChatItem/style.mjs.map +1 -1
- package/es/chat/ChatItem/type.d.mts +0 -6
- package/es/chat/ChatList/ChatList.d.mts +2 -2
- package/es/chat/ChatList/ChatList.mjs +7 -10
- package/es/chat/ChatList/ChatList.mjs.map +1 -1
- package/es/chat/ChatList/components/ChatActionsBar.mjs +4 -6
- package/es/chat/ChatList/components/ChatActionsBar.mjs.map +1 -1
- package/es/chat/ChatList/components/ChatListItem.mjs +13 -15
- package/es/chat/ChatList/components/ChatListItem.mjs.map +1 -1
- package/es/chat/ChatList/components/HistoryDivider.mjs +6 -8
- package/es/chat/ChatList/components/HistoryDivider.mjs.map +1 -1
- package/es/chat/ChatList/components/useChatListActionsBar.mjs +2 -4
- package/es/chat/ChatList/components/useChatListActionsBar.mjs.map +1 -1
- package/es/chat/ChatList/style.mjs +3 -4
- package/es/chat/ChatList/style.mjs.map +1 -1
- package/es/chat/ChatList/type.d.mts +0 -4
- package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
- package/es/chat/EditableMessage/EditableMessage.mjs +11 -14
- package/es/chat/EditableMessage/EditableMessage.mjs.map +1 -1
- package/es/chat/EditableMessage/type.d.mts +0 -3
- package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
- package/es/chat/EditableMessageList/EditableMessageList.mjs +11 -14
- package/es/chat/EditableMessageList/EditableMessageList.mjs.map +1 -1
- package/es/chat/EditableMessageList/messageReducer.mjs +1 -2
- package/es/chat/EditableMessageList/messageReducer.mjs.map +1 -1
- package/es/chat/EditableMessageList/type.d.mts +0 -2
- package/es/chat/LoadingDots/LoadingDots.mjs +3 -6
- package/es/chat/LoadingDots/LoadingDots.mjs.map +1 -1
- package/es/chat/LoadingDots/style.mjs +12 -13
- package/es/chat/LoadingDots/style.mjs.map +1 -1
- package/es/chat/MessageInput/MessageInput.d.mts +2 -2
- package/es/chat/MessageInput/MessageInput.mjs +14 -17
- package/es/chat/MessageInput/MessageInput.mjs.map +1 -1
- package/es/chat/MessageInput/style.mjs +3 -4
- package/es/chat/MessageInput/style.mjs.map +1 -1
- package/es/chat/MessageInput/type.d.mts +0 -3
- package/es/chat/MessageModal/MessageModal.d.mts +2 -2
- package/es/chat/MessageModal/MessageModal.mjs +16 -19
- package/es/chat/MessageModal/MessageModal.mjs.map +1 -1
- package/es/chat/MessageModal/type.d.mts +0 -2
- package/es/chat/TokenTag/TokenTag.mjs +5 -8
- package/es/chat/TokenTag/TokenTag.mjs.map +1 -1
- package/es/chat/TokenTag/type.d.mts +0 -2
- package/es/chat/index.d.mts +0 -10
- package/es/chat/index.mjs +17 -18
- package/es/chat/types/chatMessage.d.mts +0 -1
- package/es/chat/types/error.mjs +1 -1
- package/es/chat/types/llm.d.mts +1 -1
- package/es/chat/types/llm.mjs +7 -7
- package/es/chat/types/llm.mjs.map +1 -1
- package/es/color/ColorScales/ScaleRow.mjs +2 -4
- package/es/color/ColorScales/ScaleRow.mjs.map +1 -1
- package/es/color/ColorScales/index.d.mts +2 -2
- package/es/color/ColorScales/index.mjs +8 -11
- package/es/color/ColorScales/index.mjs.map +1 -1
- package/es/color/ColorScales/style.mjs +7 -8
- package/es/color/ColorScales/style.mjs.map +1 -1
- package/es/color/CssVar/ScaleRow.mjs +2 -4
- package/es/color/CssVar/ScaleRow.mjs.map +1 -1
- package/es/color/CssVar/VarRow.mjs +2 -4
- package/es/color/CssVar/VarRow.mjs.map +1 -1
- package/es/color/CssVar/index.d.mts +2 -2
- package/es/color/CssVar/index.mjs +10 -13
- package/es/color/CssVar/index.mjs.map +1 -1
- package/es/color/CssVar/style.mjs +7 -8
- package/es/color/CssVar/style.mjs.map +1 -1
- package/es/color/colors/blue.mjs +2 -3
- package/es/color/colors/blue.mjs.map +1 -1
- package/es/color/colors/cyan.mjs +2 -3
- package/es/color/colors/cyan.mjs.map +1 -1
- package/es/color/colors/geekblue.mjs +2 -3
- package/es/color/colors/geekblue.mjs.map +1 -1
- package/es/color/colors/gold.mjs +2 -3
- package/es/color/colors/gold.mjs.map +1 -1
- package/es/color/colors/gray.mjs +2 -3
- package/es/color/colors/gray.mjs.map +1 -1
- package/es/color/colors/green.mjs +2 -3
- package/es/color/colors/green.mjs.map +1 -1
- package/es/color/colors/index.mjs +29 -30
- package/es/color/colors/index.mjs.map +1 -1
- package/es/color/colors/lime.mjs +2 -3
- package/es/color/colors/lime.mjs.map +1 -1
- package/es/color/colors/magenta.mjs +2 -3
- package/es/color/colors/magenta.mjs.map +1 -1
- package/es/color/colors/orange.mjs +2 -3
- package/es/color/colors/orange.mjs.map +1 -1
- package/es/color/colors/primary.mjs +2 -3
- package/es/color/colors/primary.mjs.map +1 -1
- package/es/color/colors/purple.mjs +2 -3
- package/es/color/colors/purple.mjs.map +1 -1
- package/es/color/colors/red.mjs +2 -3
- package/es/color/colors/red.mjs.map +1 -1
- package/es/color/colors/volcano.mjs +2 -3
- package/es/color/colors/volcano.mjs.map +1 -1
- package/es/color/colors/yellow.mjs +2 -3
- package/es/color/colors/yellow.mjs.map +1 -1
- package/es/color/index.mjs +22 -23
- package/es/color/neutrals/index.mjs +11 -12
- package/es/color/neutrals/index.mjs.map +1 -1
- package/es/color/neutrals/mauve.mjs +2 -3
- package/es/color/neutrals/mauve.mjs.map +1 -1
- package/es/color/neutrals/olive.mjs +2 -3
- package/es/color/neutrals/olive.mjs.map +1 -1
- package/es/color/neutrals/sage.mjs +2 -3
- package/es/color/neutrals/sage.mjs.map +1 -1
- package/es/color/neutrals/sand.mjs +2 -3
- package/es/color/neutrals/sand.mjs.map +1 -1
- package/es/color/neutrals/slate.mjs +2 -3
- package/es/color/neutrals/slate.mjs.map +1 -1
- package/es/hooks/useCopied.mjs +2 -4
- package/es/hooks/useCopied.mjs.map +1 -1
- package/es/hooks/useEventCallback.mjs +1 -2
- package/es/hooks/useEventCallback.mjs.map +1 -1
- package/es/hooks/useFloatingLayer.mjs +2 -4
- package/es/hooks/useFloatingLayer.mjs.map +1 -1
- package/es/hooks/useHighlight.mjs +3 -7
- package/es/hooks/useHighlight.mjs.map +1 -1
- package/es/hooks/useIsClient.mjs +1 -2
- package/es/hooks/useIsClient.mjs.map +1 -1
- package/es/hooks/useMarkdown/latex.mjs +1 -2
- package/es/hooks/useMarkdown/latex.mjs.map +1 -1
- package/es/hooks/useMarkdown/useMarkdownComponents.mjs +12 -14
- package/es/hooks/useMarkdown/useMarkdownComponents.mjs.map +1 -1
- package/es/hooks/useMarkdown/useMarkdownContent.mjs +2 -4
- package/es/hooks/useMarkdown/useMarkdownContent.mjs.map +1 -1
- package/es/hooks/useMarkdown/useMarkdownRehypePlugins.mjs +2 -4
- package/es/hooks/useMarkdown/useMarkdownRehypePlugins.mjs.map +1 -1
- package/es/hooks/useMarkdown/useMarkdownRemarkPlugins.mjs +2 -4
- package/es/hooks/useMarkdown/useMarkdownRemarkPlugins.mjs.map +1 -1
- package/es/hooks/useMarkdown/utils.d.mts +0 -1
- package/es/hooks/useMarkdown/utils.mjs +1 -2
- package/es/hooks/useMarkdown/utils.mjs.map +1 -1
- package/es/hooks/useMermaid.mjs +3 -7
- package/es/hooks/useMermaid.mjs.map +1 -1
- package/es/hooks/useNativeButton.mjs +1 -2
- package/es/hooks/useNativeButton.mjs.map +1 -1
- package/es/hooks/useStreamHighlight.mjs +2 -4
- package/es/hooks/useStreamHighlight.mjs.map +1 -1
- package/es/hooks/useStreamMermaid.mjs +6 -8
- package/es/hooks/useStreamMermaid.mjs.map +1 -1
- package/es/hooks/useTextOverflow.mjs +1 -2
- package/es/hooks/useTextOverflow.mjs.map +1 -1
- package/es/i18n/context.d.mts +2 -3
- package/es/i18n/context.mjs +3 -4
- package/es/i18n/context.mjs.map +1 -1
- package/es/i18n/index.mjs +1 -2
- package/es/i18n/resources/en/chat.mjs +1 -1
- package/es/i18n/resources/en/chat.mjs.map +1 -1
- package/es/i18n/resources/en/common.mjs +1 -1
- package/es/i18n/resources/en/common.mjs.map +1 -1
- package/es/i18n/resources/en/editableMessage.mjs +1 -1
- package/es/i18n/resources/en/editableMessage.mjs.map +1 -1
- package/es/i18n/resources/en/emojiPicker.mjs +1 -1
- package/es/i18n/resources/en/emojiPicker.mjs.map +1 -1
- package/es/i18n/resources/en/form.mjs +1 -1
- package/es/i18n/resources/en/form.mjs.map +1 -1
- package/es/i18n/resources/en/hotkey.mjs +1 -1
- package/es/i18n/resources/en/hotkey.mjs.map +1 -1
- package/es/i18n/resources/en/image.mjs +1 -1
- package/es/i18n/resources/en/image.mjs.map +1 -1
- package/es/i18n/resources/en/index.mjs +2 -3
- package/es/i18n/resources/en/messageModal.mjs +1 -1
- package/es/i18n/resources/en/messageModal.mjs.map +1 -1
- package/es/i18n/resources/en/sideNav.mjs +1 -1
- package/es/i18n/resources/en/sideNav.mjs.map +1 -1
- package/es/i18n/resources/index.mjs +1 -2
- package/es/i18n/resources/zhCn/chat.mjs +1 -1
- package/es/i18n/resources/zhCn/chat.mjs.map +1 -1
- package/es/i18n/resources/zhCn/common.mjs +1 -1
- package/es/i18n/resources/zhCn/common.mjs.map +1 -1
- package/es/i18n/resources/zhCn/editableMessage.mjs +1 -1
- package/es/i18n/resources/zhCn/editableMessage.mjs.map +1 -1
- package/es/i18n/resources/zhCn/emojiPicker.mjs +1 -1
- package/es/i18n/resources/zhCn/emojiPicker.mjs.map +1 -1
- package/es/i18n/resources/zhCn/form.mjs +1 -1
- package/es/i18n/resources/zhCn/form.mjs.map +1 -1
- package/es/i18n/resources/zhCn/hotkey.mjs +1 -1
- package/es/i18n/resources/zhCn/hotkey.mjs.map +1 -1
- package/es/i18n/resources/zhCn/image.mjs +1 -1
- package/es/i18n/resources/zhCn/image.mjs.map +1 -1
- package/es/i18n/resources/zhCn/index.mjs +2 -3
- package/es/i18n/resources/zhCn/messageModal.mjs +1 -1
- package/es/i18n/resources/zhCn/messageModal.mjs.map +1 -1
- package/es/i18n/resources/zhCn/sideNav.mjs +1 -1
- package/es/i18n/resources/zhCn/sideNav.mjs.map +1 -1
- package/es/i18n/useTranslation.mjs +1 -2
- package/es/i18n/useTranslation.mjs.map +1 -1
- package/es/icons/Auth0/components/Avatar.mjs +7 -10
- package/es/icons/Auth0/components/Avatar.mjs.map +1 -1
- package/es/icons/Auth0/components/Mono.mjs +3 -6
- package/es/icons/Auth0/components/Mono.mjs.map +1 -1
- package/es/icons/Auth0/index.mjs +7 -10
- package/es/icons/Auth0/index.mjs.map +1 -1
- package/es/icons/Auth0/style.mjs +1 -1
- package/es/icons/Authelia/components/Avatar.mjs +7 -10
- package/es/icons/Authelia/components/Avatar.mjs.map +1 -1
- package/es/icons/Authelia/components/Color.mjs +3 -6
- package/es/icons/Authelia/components/Color.mjs.map +1 -1
- package/es/icons/Authelia/components/Mono.mjs +3 -6
- package/es/icons/Authelia/components/Mono.mjs.map +1 -1
- package/es/icons/Authelia/index.mjs +9 -12
- package/es/icons/Authelia/index.mjs.map +1 -1
- package/es/icons/Authelia/style.mjs +1 -1
- package/es/icons/Authentik/components/Avatar.mjs +7 -10
- package/es/icons/Authentik/components/Avatar.mjs.map +1 -1
- package/es/icons/Authentik/components/Color.mjs +3 -6
- package/es/icons/Authentik/components/Color.mjs.map +1 -1
- package/es/icons/Authentik/components/Mono.mjs +3 -6
- package/es/icons/Authentik/components/Mono.mjs.map +1 -1
- package/es/icons/Authentik/index.mjs +9 -12
- package/es/icons/Authentik/index.mjs.map +1 -1
- package/es/icons/Authentik/style.mjs +1 -1
- package/es/icons/Casdoor/components/Avatar.mjs +7 -10
- package/es/icons/Casdoor/components/Avatar.mjs.map +1 -1
- package/es/icons/Casdoor/components/Color.mjs +3 -6
- package/es/icons/Casdoor/components/Color.mjs.map +1 -1
- package/es/icons/Casdoor/components/Mono.mjs +3 -6
- package/es/icons/Casdoor/components/Mono.mjs.map +1 -1
- package/es/icons/Casdoor/index.mjs +9 -12
- package/es/icons/Casdoor/index.mjs.map +1 -1
- package/es/icons/Casdoor/style.mjs +1 -1
- package/es/icons/Clerk/components/Avatar.mjs +7 -10
- package/es/icons/Clerk/components/Avatar.mjs.map +1 -1
- package/es/icons/Clerk/components/Color.mjs +3 -6
- package/es/icons/Clerk/components/Color.mjs.map +1 -1
- package/es/icons/Clerk/components/Mono.mjs +3 -6
- package/es/icons/Clerk/components/Mono.mjs.map +1 -1
- package/es/icons/Clerk/index.mjs +9 -12
- package/es/icons/Clerk/index.mjs.map +1 -1
- package/es/icons/Clerk/style.mjs +1 -1
- package/es/icons/Discord/components/Avatar.mjs +7 -10
- package/es/icons/Discord/components/Avatar.mjs.map +1 -1
- package/es/icons/Discord/components/Color.mjs +3 -6
- package/es/icons/Discord/components/Color.mjs.map +1 -1
- package/es/icons/Discord/components/Mono.mjs +3 -6
- package/es/icons/Discord/components/Mono.mjs.map +1 -1
- package/es/icons/Discord/index.mjs +9 -12
- package/es/icons/Discord/index.mjs.map +1 -1
- package/es/icons/Discord/style.mjs +1 -1
- package/es/icons/GoogleChat/components/Avatar.mjs +7 -10
- package/es/icons/GoogleChat/components/Avatar.mjs.map +1 -1
- package/es/icons/GoogleChat/components/Color.mjs +3 -6
- package/es/icons/GoogleChat/components/Color.mjs.map +1 -1
- package/es/icons/GoogleChat/components/Mono.mjs +3 -6
- package/es/icons/GoogleChat/components/Mono.mjs.map +1 -1
- package/es/icons/GoogleChat/index.mjs +9 -12
- package/es/icons/GoogleChat/index.mjs.map +1 -1
- package/es/icons/GoogleChat/style.mjs +1 -1
- package/es/icons/IMessage/components/Avatar.mjs +7 -10
- package/es/icons/IMessage/components/Avatar.mjs.map +1 -1
- package/es/icons/IMessage/components/Color.mjs +3 -6
- package/es/icons/IMessage/components/Color.mjs.map +1 -1
- package/es/icons/IMessage/components/Inner.mjs +3 -6
- package/es/icons/IMessage/components/Inner.mjs.map +1 -1
- package/es/icons/IMessage/components/Mono.mjs +3 -6
- package/es/icons/IMessage/components/Mono.mjs.map +1 -1
- package/es/icons/IMessage/index.mjs +9 -12
- package/es/icons/IMessage/index.mjs.map +1 -1
- package/es/icons/IMessage/style.mjs +1 -1
- package/es/icons/Lark/components/Avatar.mjs +7 -10
- package/es/icons/Lark/components/Avatar.mjs.map +1 -1
- package/es/icons/Lark/components/Color.mjs +3 -6
- package/es/icons/Lark/components/Color.mjs.map +1 -1
- package/es/icons/Lark/components/Mono.mjs +3 -6
- package/es/icons/Lark/components/Mono.mjs.map +1 -1
- package/es/icons/Lark/index.mjs +9 -12
- package/es/icons/Lark/index.mjs.map +1 -1
- package/es/icons/Lark/style.mjs +1 -1
- package/es/icons/Logto/components/Avatar.mjs +7 -10
- package/es/icons/Logto/components/Avatar.mjs.map +1 -1
- package/es/icons/Logto/components/Color.mjs +3 -6
- package/es/icons/Logto/components/Color.mjs.map +1 -1
- package/es/icons/Logto/components/Mono.mjs +3 -6
- package/es/icons/Logto/components/Mono.mjs.map +1 -1
- package/es/icons/Logto/index.mjs +9 -12
- package/es/icons/Logto/index.mjs.map +1 -1
- package/es/icons/Logto/style.mjs +1 -1
- package/es/icons/MicrosoftEntra/components/Avatar.mjs +7 -10
- package/es/icons/MicrosoftEntra/components/Avatar.mjs.map +1 -1
- package/es/icons/MicrosoftEntra/components/Color.mjs +3 -6
- package/es/icons/MicrosoftEntra/components/Color.mjs.map +1 -1
- package/es/icons/MicrosoftEntra/components/Mono.mjs +3 -6
- package/es/icons/MicrosoftEntra/components/Mono.mjs.map +1 -1
- package/es/icons/MicrosoftEntra/index.mjs +9 -12
- package/es/icons/MicrosoftEntra/index.mjs.map +1 -1
- package/es/icons/MicrosoftEntra/style.mjs +1 -1
- package/es/icons/MicrosoftTeams/components/Avatar.mjs +7 -10
- package/es/icons/MicrosoftTeams/components/Avatar.mjs.map +1 -1
- package/es/icons/MicrosoftTeams/components/Color.mjs +3 -6
- package/es/icons/MicrosoftTeams/components/Color.mjs.map +1 -1
- package/es/icons/MicrosoftTeams/components/Mono.mjs +3 -6
- package/es/icons/MicrosoftTeams/components/Mono.mjs.map +1 -1
- package/es/icons/MicrosoftTeams/index.mjs +9 -12
- package/es/icons/MicrosoftTeams/index.mjs.map +1 -1
- package/es/icons/MicrosoftTeams/style.mjs +1 -1
- package/es/icons/NextAuth/components/Avatar.mjs +7 -10
- package/es/icons/NextAuth/components/Avatar.mjs.map +1 -1
- package/es/icons/NextAuth/components/Color.mjs +3 -6
- package/es/icons/NextAuth/components/Color.mjs.map +1 -1
- package/es/icons/NextAuth/components/Mono.mjs +3 -6
- package/es/icons/NextAuth/components/Mono.mjs.map +1 -1
- package/es/icons/NextAuth/index.mjs +9 -12
- package/es/icons/NextAuth/index.mjs.map +1 -1
- package/es/icons/NextAuth/style.mjs +1 -1
- package/es/icons/QQ/components/Avatar.mjs +8 -11
- package/es/icons/QQ/components/Avatar.mjs.map +1 -1
- package/es/icons/QQ/components/Color.mjs +4 -8
- package/es/icons/QQ/components/Color.mjs.map +1 -1
- package/es/icons/QQ/components/Mono.mjs +4 -8
- package/es/icons/QQ/components/Mono.mjs.map +1 -1
- package/es/icons/QQ/index.mjs +11 -14
- package/es/icons/QQ/index.mjs.map +1 -1
- package/es/icons/QQ/style.mjs +2 -3
- package/es/icons/QQ/style.mjs.map +1 -1
- package/es/icons/Slack/components/Avatar.mjs +7 -10
- package/es/icons/Slack/components/Avatar.mjs.map +1 -1
- package/es/icons/Slack/components/Color.mjs +3 -6
- package/es/icons/Slack/components/Color.mjs.map +1 -1
- package/es/icons/Slack/components/Mono.mjs +3 -6
- package/es/icons/Slack/components/Mono.mjs.map +1 -1
- package/es/icons/Slack/index.mjs +9 -12
- package/es/icons/Slack/index.mjs.map +1 -1
- package/es/icons/Slack/style.mjs +1 -1
- package/es/icons/Telegram/components/Avatar.mjs +7 -10
- package/es/icons/Telegram/components/Avatar.mjs.map +1 -1
- package/es/icons/Telegram/components/Color.mjs +3 -6
- package/es/icons/Telegram/components/Color.mjs.map +1 -1
- package/es/icons/Telegram/components/Inner.mjs +3 -6
- package/es/icons/Telegram/components/Inner.mjs.map +1 -1
- package/es/icons/Telegram/components/Mono.mjs +3 -6
- package/es/icons/Telegram/components/Mono.mjs.map +1 -1
- package/es/icons/Telegram/index.mjs +9 -12
- package/es/icons/Telegram/index.mjs.map +1 -1
- package/es/icons/Telegram/style.mjs +1 -1
- package/es/icons/WeChat/components/Avatar.mjs +7 -10
- package/es/icons/WeChat/components/Avatar.mjs.map +1 -1
- package/es/icons/WeChat/components/Color.mjs +3 -6
- package/es/icons/WeChat/components/Color.mjs.map +1 -1
- package/es/icons/WeChat/components/Mono.mjs +3 -6
- package/es/icons/WeChat/components/Mono.mjs.map +1 -1
- package/es/icons/WeChat/index.mjs +9 -12
- package/es/icons/WeChat/index.mjs.map +1 -1
- package/es/icons/WeChat/style.mjs +1 -1
- package/es/icons/WhatsApp/components/Avatar.mjs +7 -10
- package/es/icons/WhatsApp/components/Avatar.mjs.map +1 -1
- package/es/icons/WhatsApp/components/Color.mjs +3 -6
- package/es/icons/WhatsApp/components/Color.mjs.map +1 -1
- package/es/icons/WhatsApp/components/Mono.mjs +3 -6
- package/es/icons/WhatsApp/components/Mono.mjs.map +1 -1
- package/es/icons/WhatsApp/index.mjs +9 -12
- package/es/icons/WhatsApp/index.mjs.map +1 -1
- package/es/icons/WhatsApp/style.mjs +1 -1
- package/es/icons/Zitadel/components/Avatar.mjs +7 -10
- package/es/icons/Zitadel/components/Avatar.mjs.map +1 -1
- package/es/icons/Zitadel/components/Color.mjs +3 -6
- package/es/icons/Zitadel/components/Color.mjs.map +1 -1
- package/es/icons/Zitadel/components/Mono.mjs +3 -6
- package/es/icons/Zitadel/components/Mono.mjs.map +1 -1
- package/es/icons/Zitadel/index.mjs +9 -12
- package/es/icons/Zitadel/index.mjs.map +1 -1
- package/es/icons/Zitadel/style.mjs +1 -1
- package/es/icons/index.d.mts +0 -1
- package/es/icons/index.mjs +57 -58
- package/es/icons/lucideExtra/AndroidIcon.d.mts +3 -3
- package/es/icons/lucideExtra/AndroidIcon.mjs +2 -4
- package/es/icons/lucideExtra/AndroidIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/AppleIcon.d.mts +3 -3
- package/es/icons/lucideExtra/AppleIcon.mjs +2 -4
- package/es/icons/lucideExtra/AppleIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/AppstoreIcon.d.mts +3 -3
- package/es/icons/lucideExtra/AppstoreIcon.mjs +2 -4
- package/es/icons/lucideExtra/AppstoreIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/BotPromptIcon.d.mts +3 -3
- package/es/icons/lucideExtra/BotPromptIcon.mjs +2 -4
- package/es/icons/lucideExtra/BotPromptIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/BrainOffIcon.d.mts +3 -3
- package/es/icons/lucideExtra/BrainOffIcon.mjs +2 -4
- package/es/icons/lucideExtra/BrainOffIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/ChromeIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ChromeIcon.mjs +2 -4
- package/es/icons/lucideExtra/ChromeIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/CodepenIcon.d.mts +3 -3
- package/es/icons/lucideExtra/CodepenIcon.mjs +2 -4
- package/es/icons/lucideExtra/CodepenIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/CodesandboxIcon.d.mts +3 -3
- package/es/icons/lucideExtra/CodesandboxIcon.mjs +2 -4
- package/es/icons/lucideExtra/CodesandboxIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
- package/es/icons/lucideExtra/CreateBotIcon.mjs +2 -4
- package/es/icons/lucideExtra/CreateBotIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
- package/es/icons/lucideExtra/DiscordIcon.mjs +2 -4
- package/es/icons/lucideExtra/DiscordIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/FacebookIcon.d.mts +3 -3
- package/es/icons/lucideExtra/FacebookIcon.mjs +2 -4
- package/es/icons/lucideExtra/FacebookIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/FigmaIcon.d.mts +3 -3
- package/es/icons/lucideExtra/FigmaIcon.mjs +2 -4
- package/es/icons/lucideExtra/FigmaIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/FramerIcon.d.mts +3 -3
- package/es/icons/lucideExtra/FramerIcon.mjs +2 -4
- package/es/icons/lucideExtra/FramerIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/GithubIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GithubIcon.mjs +2 -4
- package/es/icons/lucideExtra/GithubIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/GitlabIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GitlabIcon.mjs +2 -4
- package/es/icons/lucideExtra/GitlabIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GlobeOffIcon.mjs +2 -4
- package/es/icons/lucideExtra/GlobeOffIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/GooglePlayIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GooglePlayIcon.mjs +2 -4
- package/es/icons/lucideExtra/GooglePlayIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GroupBotIcon.mjs +2 -4
- package/es/icons/lucideExtra/GroupBotIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GroupBotSquareIcon.mjs +2 -4
- package/es/icons/lucideExtra/GroupBotSquareIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/InstagramIcon.d.mts +3 -3
- package/es/icons/lucideExtra/InstagramIcon.mjs +2 -4
- package/es/icons/lucideExtra/InstagramIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LeftClickIcon.mjs +2 -4
- package/es/icons/lucideExtra/LeftClickIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LeftDoubleClickIcon.mjs +2 -4
- package/es/icons/lucideExtra/LeftDoubleClickIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/LinkedinIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LinkedinIcon.mjs +2 -4
- package/es/icons/lucideExtra/LinkedinIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
- package/es/icons/lucideExtra/McpIcon.mjs +2 -4
- package/es/icons/lucideExtra/McpIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/NotionIcon.d.mts +3 -3
- package/es/icons/lucideExtra/NotionIcon.mjs +2 -4
- package/es/icons/lucideExtra/NotionIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/PocketIcon.d.mts +3 -3
- package/es/icons/lucideExtra/PocketIcon.mjs +2 -4
- package/es/icons/lucideExtra/PocketIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ProviderIcon.mjs +2 -4
- package/es/icons/lucideExtra/ProviderIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/RailSymbolIcon.d.mts +3 -3
- package/es/icons/lucideExtra/RailSymbolIcon.mjs +2 -4
- package/es/icons/lucideExtra/RailSymbolIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/RedditIcon.d.mts +3 -3
- package/es/icons/lucideExtra/RedditIcon.mjs +2 -4
- package/es/icons/lucideExtra/RedditIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/RightClickIcon.mjs +2 -4
- package/es/icons/lucideExtra/RightClickIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/RightDoubleClickIcon.mjs +2 -4
- package/es/icons/lucideExtra/RightDoubleClickIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ShapesUploadIcon.mjs +2 -4
- package/es/icons/lucideExtra/ShapesUploadIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/SkillsIcon.d.mts +3 -3
- package/es/icons/lucideExtra/SkillsIcon.mjs +2 -4
- package/es/icons/lucideExtra/SkillsIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/SlackIcon.d.mts +3 -3
- package/es/icons/lucideExtra/SlackIcon.mjs +2 -4
- package/es/icons/lucideExtra/SlackIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/ThinkIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ThinkIcon.mjs +2 -4
- package/es/icons/lucideExtra/ThinkIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
- package/es/icons/lucideExtra/TreeDownRightIcon.mjs +2 -4
- package/es/icons/lucideExtra/TreeDownRightIcon.mjs.map +1 -1
- package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
- package/es/icons/lucideExtra/TreeUpDownRightIcon.mjs +2 -4
- package/es/icons/lucideExtra/TreeUpDownRightIcon.mjs.map +1 -1
- package/es/index.d.mts +0 -66
- package/es/index.mjs +111 -112
- package/es/mdx/Callout/index.d.mts +0 -1
- package/es/mdx/Callout/index.mjs +5 -8
- package/es/mdx/Callout/index.mjs.map +1 -1
- package/es/mdx/Callout/style.mjs +5 -6
- package/es/mdx/Callout/style.mjs.map +1 -1
- package/es/mdx/Cards/Card.d.mts +0 -3
- package/es/mdx/Cards/Card.mjs +22 -25
- package/es/mdx/Cards/Card.mjs.map +1 -1
- package/es/mdx/Cards/index.d.mts +0 -1
- package/es/mdx/Cards/index.mjs +5 -8
- package/es/mdx/Cards/index.mjs.map +1 -1
- package/es/mdx/Cards/style.mjs +3 -4
- package/es/mdx/Cards/style.mjs.map +1 -1
- package/es/mdx/FileTree/File.d.mts +0 -2
- package/es/mdx/FileTree/File.mjs +5 -8
- package/es/mdx/FileTree/File.mjs.map +1 -1
- package/es/mdx/FileTree/Folder.d.mts +0 -2
- package/es/mdx/FileTree/Folder.mjs +5 -8
- package/es/mdx/FileTree/Folder.mjs.map +1 -1
- package/es/mdx/FileTree/index.mjs +3 -6
- package/es/mdx/FileTree/index.mjs.map +1 -1
- package/es/mdx/FileTree/style.mjs +7 -8
- package/es/mdx/FileTree/style.mjs.map +1 -1
- package/es/mdx/Mdx/index.d.mts +2 -3
- package/es/mdx/Mdx/index.mjs +17 -20
- package/es/mdx/Mdx/index.mjs.map +1 -1
- package/es/mdx/Steps/index.mjs +3 -6
- package/es/mdx/Steps/index.mjs.map +1 -1
- package/es/mdx/Steps/style.mjs +7 -8
- package/es/mdx/Steps/style.mjs.map +1 -1
- package/es/mdx/Tabs/Tab.mjs +3 -6
- package/es/mdx/Tabs/Tab.mjs.map +1 -1
- package/es/mdx/Tabs/index.d.mts +0 -2
- package/es/mdx/Tabs/index.mjs +5 -8
- package/es/mdx/Tabs/index.mjs.map +1 -1
- package/es/mdx/Tabs/style.mjs +5 -6
- package/es/mdx/Tabs/style.mjs.map +1 -1
- package/es/mdx/index.mjs +17 -18
- package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs +11 -14
- package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs.map +1 -1
- package/es/mdx/mdxComponents/Citation/index.mjs +6 -9
- package/es/mdx/mdxComponents/Citation/index.mjs.map +1 -1
- package/es/mdx/mdxComponents/Citation/style.mjs +8 -9
- package/es/mdx/mdxComponents/Citation/style.mjs.map +1 -1
- package/es/mdx/mdxComponents/CodeBlock.d.mts +0 -1
- package/es/mdx/mdxComponents/CodeBlock.mjs +6 -9
- package/es/mdx/mdxComponents/CodeBlock.mjs.map +1 -1
- package/es/mdx/mdxComponents/Image.d.mts +0 -1
- package/es/mdx/mdxComponents/Image.mjs +5 -8
- package/es/mdx/mdxComponents/Image.mjs.map +1 -1
- package/es/mdx/mdxComponents/Link.mjs +8 -11
- package/es/mdx/mdxComponents/Link.mjs.map +1 -1
- package/es/mdx/mdxComponents/Pre.d.mts +0 -3
- package/es/mdx/mdxComponents/Pre.mjs +10 -13
- package/es/mdx/mdxComponents/Pre.mjs.map +1 -1
- package/es/mdx/mdxComponents/Section.mjs +5 -8
- package/es/mdx/mdxComponents/Section.mjs.map +1 -1
- package/es/mdx/mdxComponents/Video.mjs +5 -8
- package/es/mdx/mdxComponents/Video.mjs.map +1 -1
- package/es/mdx/mdxComponents/index.d.mts +1 -1
- package/es/mdx/mdxComponents/index.mjs +22 -24
- package/es/mdx/mdxComponents/index.mjs.map +1 -1
- package/es/mobile/ChatHeader/ChatHeader.mjs +7 -10
- package/es/mobile/ChatHeader/ChatHeader.mjs.map +1 -1
- package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs +3 -6
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs.map +1 -1
- package/es/mobile/ChatHeader/index.mjs +6 -8
- package/es/mobile/ChatHeader/index.mjs.map +1 -1
- package/es/mobile/ChatHeader/style.mjs +15 -16
- package/es/mobile/ChatHeader/style.mjs.map +1 -1
- package/es/mobile/ChatHeader/type.d.mts +0 -1
- package/es/mobile/ChatInputArea/ChatInputArea.mjs +9 -12
- package/es/mobile/ChatInputArea/ChatInputArea.mjs.map +1 -1
- package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
- package/es/mobile/ChatInputArea/components/ChatSendButton.mjs +5 -8
- package/es/mobile/ChatInputArea/components/ChatSendButton.mjs.map +1 -1
- package/es/mobile/ChatInputArea/index.mjs +6 -8
- package/es/mobile/ChatInputArea/index.mjs.map +1 -1
- package/es/mobile/ChatInputArea/style.mjs +9 -10
- package/es/mobile/ChatInputArea/style.mjs.map +1 -1
- package/es/mobile/ChatInputArea/type.d.mts +1 -3
- package/es/mobile/SafeArea/SafeArea.mjs +3 -6
- package/es/mobile/SafeArea/SafeArea.mjs.map +1 -1
- package/es/mobile/SafeArea/style.mjs +5 -6
- package/es/mobile/SafeArea/style.mjs.map +1 -1
- package/es/mobile/TabBar/TabBar.d.mts +2 -2
- package/es/mobile/TabBar/TabBar.mjs +5 -8
- package/es/mobile/TabBar/TabBar.mjs.map +1 -1
- package/es/mobile/TabBar/style.mjs +12 -13
- package/es/mobile/TabBar/style.mjs.map +1 -1
- package/es/mobile/TabBar/type.d.mts +0 -1
- package/es/mobile/index.d.mts +0 -2
- package/es/mobile/index.mjs +7 -8
- package/es/node_modules/@base-ui/react/esm/separator/Separator.d.mts +31 -0
- package/es/node_modules/@base-ui/react/esm/utils/types.d.mts +49 -0
- package/es/node_modules/@types/hast/index.d.mts +228 -0
- package/es/node_modules/@types/mdx/types.d.mts +59 -0
- package/es/node_modules/@types/unist/index.d.mts +84 -0
- package/es/node_modules/unist-util-is/lib/index.mjs +3 -3
- package/es/node_modules/unist-util-is/lib/index.mjs.map +1 -1
- package/es/node_modules/unist-util-visit/lib/index.mjs +2 -3
- package/es/node_modules/unist-util-visit/lib/index.mjs.map +1 -1
- package/es/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.node.mjs +1 -1
- package/es/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.mjs +6 -15
- package/es/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.mjs.map +1 -1
- package/es/storybook/StoryBook/index.d.mts +2 -3
- package/es/storybook/StoryBook/index.mjs +7 -10
- package/es/storybook/StoryBook/index.mjs.map +1 -1
- package/es/storybook/StoryBook/style.mjs +21 -22
- package/es/storybook/StoryBook/style.mjs.map +1 -1
- package/es/storybook/index.mjs +2 -3
- package/es/styles/animations.mjs +1 -2
- package/es/styles/animations.mjs.map +1 -1
- package/es/styles/classNames.mjs +1 -1
- package/es/styles/customTheme.mjs +36 -38
- package/es/styles/customTheme.mjs.map +1 -1
- package/es/styles/index.mjs +1 -2
- package/es/styles/theme/algorithms/darkAlgorithm.mjs +3 -4
- package/es/styles/theme/algorithms/darkAlgorithm.mjs.map +1 -1
- package/es/styles/theme/algorithms/lightAlgorithm.mjs +3 -4
- package/es/styles/theme/algorithms/lightAlgorithm.mjs.map +1 -1
- package/es/styles/theme/antdTheme.mjs +1 -2
- package/es/styles/theme/antdTheme.mjs.map +1 -1
- package/es/styles/theme/customStylish.mjs +20 -21
- package/es/styles/theme/customStylish.mjs.map +1 -1
- package/es/styles/theme/customStylishStatic.mjs +52 -53
- package/es/styles/theme/customStylishStatic.mjs.map +1 -1
- package/es/styles/theme/customToken.mjs +1 -2
- package/es/styles/theme/customToken.mjs.map +1 -1
- package/es/styles/theme/generateColorPalette.d.mts +1 -1
- package/es/styles/theme/generateColorPalette.mjs +1 -2
- package/es/styles/theme/generateColorPalette.mjs.map +1 -1
- package/es/styles/theme/token/base.mjs +2 -3
- package/es/styles/theme/token/base.mjs.map +1 -1
- package/es/styles/theme/token/dark.mjs +14 -16
- package/es/styles/theme/token/dark.mjs.map +1 -1
- package/es/styles/theme/token/light.mjs +14 -16
- package/es/styles/theme/token/light.mjs.map +1 -1
- package/es/types/index.mjs +1 -1
- package/es/utils/blobToPng.mjs +1 -1
- package/es/utils/copyToClipboard.mjs +1 -1
- package/es/utils/destroyOnInvalidActiveTriggerElement.mjs +1 -2
- package/es/utils/destroyOnInvalidActiveTriggerElement.mjs.map +1 -1
- package/es/utils/devSingleton.mjs +7 -7
- package/es/utils/devSingleton.mjs.map +1 -1
- package/es/utils/dom.mjs +1 -1
- package/es/utils/downloadBlob.mjs +1 -1
- package/es/utils/formatTime.mjs +1 -2
- package/es/utils/formatTime.mjs.map +1 -1
- package/es/utils/genCdnUrl.d.mts +0 -1
- package/es/utils/genCdnUrl.mjs +1 -2
- package/es/utils/genCdnUrl.mjs.map +1 -1
- package/es/utils/parseTrigger.d.mts +0 -2
- package/es/utils/parseTrigger.mjs +3 -5
- package/es/utils/parseTrigger.mjs.map +1 -1
- package/es/utils/placement.d.mts +0 -1
- package/es/utils/placement.mjs +33 -41
- package/es/utils/placement.mjs.map +1 -1
- package/es/utils/safeParseJSON.mjs +1 -1
- package/es/utils/safeParseJSON.mjs.map +1 -1
- package/es/utils/safeReadableColor.mjs +1 -2
- package/es/utils/safeReadableColor.mjs.map +1 -1
- package/es/utils/smoothCorners.d.mts +0 -1
- package/es/utils/smoothCorners.mjs +1 -1
- package/es/utils/smoothCorners.mjs.map +1 -1
- package/package.json +38 -40
- package/es/_virtual/rolldown_runtime.mjs +0 -18
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { createStaticStyles } from "antd-style";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
|
|
4
3
|
//#region src/base-ui/Switch/style.ts
|
|
5
|
-
const styles = createStaticStyles(({ css
|
|
6
|
-
icon: css
|
|
4
|
+
const styles = createStaticStyles(({ css, cssVar }) => ({
|
|
5
|
+
icon: css`
|
|
7
6
|
pointer-events: none;
|
|
8
7
|
|
|
9
8
|
position: absolute;
|
|
@@ -13,27 +12,27 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => ({
|
|
|
13
12
|
align-items: center;
|
|
14
13
|
justify-content: center;
|
|
15
14
|
|
|
16
|
-
color: ${cssVar
|
|
15
|
+
color: ${cssVar.colorTextLightSolid};
|
|
17
16
|
`,
|
|
18
|
-
iconLeft: css
|
|
17
|
+
iconLeft: css`
|
|
19
18
|
inset-inline-start: 5px;
|
|
20
19
|
`,
|
|
21
|
-
iconLeftSmall: css
|
|
20
|
+
iconLeftSmall: css`
|
|
22
21
|
inset-inline-start: 4px;
|
|
23
22
|
`,
|
|
24
|
-
iconRight: css
|
|
23
|
+
iconRight: css`
|
|
25
24
|
inset-inline-end: 5px;
|
|
26
25
|
`,
|
|
27
|
-
iconRightSmall: css
|
|
26
|
+
iconRightSmall: css`
|
|
28
27
|
inset-inline-end: 4px;
|
|
29
28
|
`,
|
|
30
|
-
iconThumb: css
|
|
29
|
+
iconThumb: css`
|
|
31
30
|
position: relative;
|
|
32
31
|
inset: unset;
|
|
33
32
|
transform: none;
|
|
34
|
-
color: ${cssVar
|
|
33
|
+
color: ${cssVar.colorPrimary};
|
|
35
34
|
`,
|
|
36
|
-
loading: css
|
|
35
|
+
loading: css`
|
|
37
36
|
@keyframes lobe-switch-loading {
|
|
38
37
|
0% {
|
|
39
38
|
transform: rotate(0deg);
|
|
@@ -46,7 +45,7 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => ({
|
|
|
46
45
|
|
|
47
46
|
animation: lobe-switch-loading 1s linear infinite;
|
|
48
47
|
`,
|
|
49
|
-
root: css
|
|
48
|
+
root: css`
|
|
50
49
|
cursor: pointer;
|
|
51
50
|
user-select: none;
|
|
52
51
|
|
|
@@ -62,26 +61,26 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => ({
|
|
|
62
61
|
border: 0;
|
|
63
62
|
border-radius: 100px;
|
|
64
63
|
|
|
65
|
-
background: ${cssVar
|
|
64
|
+
background: ${cssVar.colorTextQuaternary};
|
|
66
65
|
outline: none;
|
|
67
66
|
|
|
68
|
-
transition: background 150ms ${cssVar
|
|
67
|
+
transition: background 150ms ${cssVar.motionEaseOut};
|
|
69
68
|
|
|
70
69
|
&:focus-visible {
|
|
71
|
-
outline: 2px solid ${cssVar
|
|
70
|
+
outline: 2px solid ${cssVar.colorPrimaryBorder};
|
|
72
71
|
outline-offset: 1px;
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
&:hover:not([data-disabled]) {
|
|
76
|
-
background: ${cssVar
|
|
75
|
+
background: ${cssVar.colorTextTertiary};
|
|
77
76
|
}
|
|
78
77
|
|
|
79
78
|
&[data-checked] {
|
|
80
79
|
justify-content: flex-end;
|
|
81
|
-
background: ${cssVar
|
|
80
|
+
background: ${cssVar.colorPrimary};
|
|
82
81
|
|
|
83
82
|
&:hover:not([data-disabled]) {
|
|
84
|
-
background: ${cssVar
|
|
83
|
+
background: ${cssVar.colorPrimaryHover};
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
|
|
@@ -90,17 +89,17 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => ({
|
|
|
90
89
|
opacity: 0.5;
|
|
91
90
|
}
|
|
92
91
|
`,
|
|
93
|
-
rootDefault: css
|
|
92
|
+
rootDefault: css`
|
|
94
93
|
width: 44px;
|
|
95
94
|
min-width: 44px;
|
|
96
95
|
height: 22px;
|
|
97
96
|
`,
|
|
98
|
-
rootSmall: css
|
|
97
|
+
rootSmall: css`
|
|
99
98
|
width: 28px;
|
|
100
99
|
min-width: 28px;
|
|
101
100
|
height: 16px;
|
|
102
101
|
`,
|
|
103
|
-
thumb: css
|
|
102
|
+
thumb: css`
|
|
104
103
|
display: flex;
|
|
105
104
|
flex-shrink: 0;
|
|
106
105
|
align-items: center;
|
|
@@ -108,7 +107,7 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => ({
|
|
|
108
107
|
|
|
109
108
|
border-radius: 50%;
|
|
110
109
|
|
|
111
|
-
background: ${cssVar
|
|
110
|
+
background: ${cssVar.colorBgContainer};
|
|
112
111
|
box-shadow:
|
|
113
112
|
0 2px 4px 0 rgb(0 35 11 / 20%),
|
|
114
113
|
0 1px 2px 0 rgb(0 0 0 / 8%);
|
|
@@ -117,11 +116,11 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => ({
|
|
|
117
116
|
box-shadow: none;
|
|
118
117
|
}
|
|
119
118
|
`,
|
|
120
|
-
thumbDefault: css
|
|
119
|
+
thumbDefault: css`
|
|
121
120
|
width: 18px;
|
|
122
121
|
height: 18px;
|
|
123
122
|
`,
|
|
124
|
-
thumbSmall: css
|
|
123
|
+
thumbSmall: css`
|
|
125
124
|
width: 12px;
|
|
126
125
|
height: 12px;
|
|
127
126
|
`
|
|
@@ -140,7 +139,7 @@ const thumbVariants = cva(styles.thumb, {
|
|
|
140
139
|
small: styles.thumbSmall
|
|
141
140
|
} }
|
|
142
141
|
});
|
|
143
|
-
|
|
144
142
|
//#endregion
|
|
145
143
|
export { rootVariants, styles, thumbVariants };
|
|
144
|
+
|
|
146
145
|
//# sourceMappingURL=style.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.mjs","names":[
|
|
1
|
+
{"version":3,"file":"style.mjs","names":[],"sources":["../../../src/base-ui/Switch/style.ts"],"sourcesContent":["import { createStaticStyles } from 'antd-style';\nimport { cva } from 'class-variance-authority';\n\nexport const styles = createStaticStyles(({ css, cssVar }) => ({\n icon: css`\n pointer-events: none;\n\n position: absolute;\n inset-block: 0;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n color: ${cssVar.colorTextLightSolid};\n `,\n iconLeft: css`\n inset-inline-start: 5px;\n `,\n iconLeftSmall: css`\n inset-inline-start: 4px;\n `,\n iconRight: css`\n inset-inline-end: 5px;\n `,\n iconRightSmall: css`\n inset-inline-end: 4px;\n `,\n iconThumb: css`\n position: relative;\n inset: unset;\n transform: none;\n color: ${cssVar.colorPrimary};\n `,\n loading: css`\n @keyframes lobe-switch-loading {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n }\n\n animation: lobe-switch-loading 1s linear infinite;\n `,\n root: css`\n cursor: pointer;\n user-select: none;\n\n position: relative;\n\n overflow: hidden;\n display: inline-flex;\n align-items: center;\n justify-content: flex-start;\n\n box-sizing: border-box;\n padding: 2px;\n border: 0;\n border-radius: 100px;\n\n background: ${cssVar.colorTextQuaternary};\n outline: none;\n\n transition: background 150ms ${cssVar.motionEaseOut};\n\n &:focus-visible {\n outline: 2px solid ${cssVar.colorPrimaryBorder};\n outline-offset: 1px;\n }\n\n &:hover:not([data-disabled]) {\n background: ${cssVar.colorTextTertiary};\n }\n\n &[data-checked] {\n justify-content: flex-end;\n background: ${cssVar.colorPrimary};\n\n &:hover:not([data-disabled]) {\n background: ${cssVar.colorPrimaryHover};\n }\n }\n\n &[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n }\n `,\n rootDefault: css`\n width: 44px;\n min-width: 44px;\n height: 22px;\n `,\n rootSmall: css`\n width: 28px;\n min-width: 28px;\n height: 16px;\n `,\n thumb: css`\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n\n border-radius: 50%;\n\n background: ${cssVar.colorBgContainer};\n box-shadow:\n 0 2px 4px 0 rgb(0 35 11 / 20%),\n 0 1px 2px 0 rgb(0 0 0 / 8%);\n\n [data-disabled] > & {\n box-shadow: none;\n }\n `,\n thumbDefault: css`\n width: 18px;\n height: 18px;\n `,\n thumbSmall: css`\n width: 12px;\n height: 12px;\n `,\n}));\n\nexport const rootVariants = cva(styles.root, {\n defaultVariants: {\n size: 'default',\n },\n variants: {\n size: {\n default: styles.rootDefault,\n small: styles.rootSmall,\n },\n },\n});\n\nexport const thumbVariants = cva(styles.thumb, {\n defaultVariants: {\n size: 'default',\n },\n variants: {\n size: {\n default: styles.thumbDefault,\n small: styles.thumbSmall,\n },\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAS,oBAAoB,EAAE,KAAK,cAAc;CAC7D,MAAM,GAAG;;;;;;;;;;aAUE,OAAO,oBAAoB;;CAEtC,UAAU,GAAG;;;CAGb,eAAe,GAAG;;;CAGlB,WAAW,GAAG;;;CAGd,gBAAgB,GAAG;;;CAGnB,WAAW,GAAG;;;;aAIH,OAAO,aAAa;;CAE/B,SAAS,GAAG;;;;;;;;;;;;;CAaZ,MAAM,GAAG;;;;;;;;;;;;;;;;kBAgBO,OAAO,oBAAoB;;;mCAGV,OAAO,cAAc;;;2BAG7B,OAAO,mBAAmB;;;;;oBAKjC,OAAO,kBAAkB;;;;;oBAKzB,OAAO,aAAa;;;sBAGlB,OAAO,kBAAkB;;;;;;;;;CAS7C,aAAa,GAAG;;;;;CAKhB,WAAW,GAAG;;;;;CAKd,OAAO,GAAG;;;;;;;;kBAQM,OAAO,iBAAiB;;;;;;;;;CASxC,cAAc,GAAG;;;;CAIjB,YAAY,GAAG;;;;CAIhB,EAAE;AAEH,MAAa,eAAe,IAAI,OAAO,MAAM;CAC3C,iBAAiB,EACf,MAAM,WACP;CACD,UAAU,EACR,MAAM;EACJ,SAAS,OAAO;EAChB,OAAO,OAAO;EACf,EACF;CACF,CAAC;AAEF,MAAa,gBAAgB,IAAI,OAAO,OAAO;CAC7C,iBAAiB,EACf,MAAM,WACP;CACD,UAAU,EACR,MAAM;EACJ,SAAS,OAAO;EAChB,OAAO,OAAO;EACf,EACF;CACF,CAAC"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import Icon_default from "../../Icon/Icon.mjs";
|
|
1
|
+
"use client";
|
|
2
|
+
import Icon from "../../Icon/Icon.mjs";
|
|
4
3
|
import { useToastContext } from "./context.mjs";
|
|
5
4
|
import { actionVariants, rootVariants, styles } from "./style.mjs";
|
|
6
5
|
import { memo } from "react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { cssVar, cx } from "antd-style";
|
|
9
8
|
import { AlertTriangle, CheckCircle, Info, Loader2, X, XCircle } from "lucide-react";
|
|
10
9
|
import { Toast } from "@base-ui/react/toast";
|
|
11
|
-
|
|
12
10
|
//#region src/base-ui/Toast/Toast.tsx
|
|
13
11
|
const typeIcons = {
|
|
14
12
|
default: Info,
|
|
@@ -46,7 +44,7 @@ const ToastItem = memo(({ toast, classNames, styles: customStyles }) => {
|
|
|
46
44
|
return /* @__PURE__ */ jsx("div", {
|
|
47
45
|
className: cx(styles.icon, classNames?.icon),
|
|
48
46
|
style: customStyles?.icon,
|
|
49
|
-
children: /* @__PURE__ */ jsx(
|
|
47
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
50
48
|
color: iconColor,
|
|
51
49
|
icon: IconComponent,
|
|
52
50
|
size: 18,
|
|
@@ -85,41 +83,48 @@ const ToastItem = memo(({ toast, classNames, styles: customStyles }) => {
|
|
|
85
83
|
className: cx(styles.content, classNames?.content),
|
|
86
84
|
style: customStyles?.content,
|
|
87
85
|
children: /* @__PURE__ */ jsxs("div", {
|
|
88
|
-
className: styles.toastBody,
|
|
86
|
+
className: title ? styles.toastBody : styles.toastBodyCenter,
|
|
89
87
|
children: [renderIcon(), /* @__PURE__ */ jsxs("div", {
|
|
90
88
|
className: styles.contentArea,
|
|
91
|
-
children: [
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
89
|
+
children: [title ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
90
|
+
className: styles.titleRow,
|
|
91
|
+
children: [/* @__PURE__ */ jsx(Toast.Title, {
|
|
92
|
+
className: cx(styles.title, classNames?.title),
|
|
93
|
+
style: customStyles?.title,
|
|
94
|
+
children: title
|
|
95
|
+
}), showCloseButton && /* @__PURE__ */ jsx(Toast.Close, {
|
|
96
|
+
"aria-label": "Close",
|
|
97
|
+
className: cx(styles.close, classNames?.close),
|
|
98
|
+
style: customStyles?.close,
|
|
99
|
+
children: /* @__PURE__ */ jsx(X, { size: 14 })
|
|
100
|
+
})]
|
|
101
|
+
}), description && /* @__PURE__ */ jsx(Toast.Description, {
|
|
102
|
+
className: cx(styles.description, classNames?.description),
|
|
103
|
+
style: {
|
|
104
|
+
marginBlockStart: 4,
|
|
105
|
+
...customStyles?.description
|
|
106
|
+
},
|
|
107
|
+
children: description
|
|
108
|
+
})] }) : description && /* @__PURE__ */ jsxs("div", {
|
|
109
|
+
className: styles.titleRow,
|
|
110
|
+
children: [/* @__PURE__ */ jsx(Toast.Description, {
|
|
106
111
|
className: cx(styles.description, classNames?.description),
|
|
107
|
-
style:
|
|
108
|
-
marginBlockStart: title ? 4 : 0,
|
|
109
|
-
...customStyles?.description
|
|
110
|
-
},
|
|
112
|
+
style: customStyles?.description,
|
|
111
113
|
children: description
|
|
112
|
-
}),
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
}), showCloseButton && /* @__PURE__ */ jsx(Toast.Close, {
|
|
115
|
+
"aria-label": "Close",
|
|
116
|
+
className: cx(styles.close, classNames?.close),
|
|
117
|
+
style: customStyles?.close,
|
|
118
|
+
children: /* @__PURE__ */ jsx(X, { size: 14 })
|
|
119
|
+
})]
|
|
120
|
+
}), renderActions()]
|
|
115
121
|
})]
|
|
116
122
|
})
|
|
117
123
|
})
|
|
118
124
|
});
|
|
119
125
|
});
|
|
120
126
|
ToastItem.displayName = "ToastItem";
|
|
121
|
-
var Toast_default = ToastItem;
|
|
122
|
-
|
|
123
127
|
//#endregion
|
|
124
|
-
export {
|
|
128
|
+
export { ToastItem as default };
|
|
129
|
+
|
|
125
130
|
//# sourceMappingURL=Toast.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.mjs","names":["
|
|
1
|
+
{"version":3,"file":"Toast.mjs","names":["BaseToast"],"sources":["../../../src/base-ui/Toast/Toast.tsx"],"sourcesContent":["'use client';\n\nimport { Toast as BaseToast } from '@base-ui/react/toast';\nimport { cssVar, cx } from 'antd-style';\nimport { AlertTriangle, CheckCircle, Info, Loader2, X, XCircle } from 'lucide-react';\nimport { memo, type ReactNode } from 'react';\n\nimport Icon from '@/Icon';\n\nimport { useToastContext } from './context';\nimport { actionVariants, rootVariants, styles } from './style';\nimport { type ToastOptions, type ToastProps, type ToastType } from './type';\n\nconst typeIcons: Record<ToastType, typeof Info> = {\n default: Info,\n error: XCircle,\n info: Info,\n loading: Loader2,\n success: CheckCircle,\n warning: AlertTriangle,\n};\n\nconst typeColors: Record<ToastType, string> = {\n default: cssVar.colorText,\n error: cssVar.colorError,\n info: cssVar.colorInfo,\n loading: cssVar.colorPrimary,\n success: cssVar.colorSuccess,\n warning: cssVar.colorWarning,\n};\n\nconst ToastItem = memo<ToastProps>(({ toast, classNames, styles: customStyles }) => {\n const { position, swipeDirection } = useToastContext();\n const toastData = toast.data as ToastOptions | undefined;\n const type = toastData?.type ?? 'default';\n const closable = toastData?.closable ?? true;\n const hideCloseButton = toastData?.hideCloseButton ?? false;\n const showCloseButton = closable && !hideCloseButton;\n const icon = toastData?.icon;\n const title = toast.title ?? toastData?.title;\n const description = toast.description ?? toastData?.description;\n const actionProps = toast.actionProps ?? toastData?.actionProps;\n const actions = toastData?.actions;\n\n const iconColor = typeColors[type];\n const IconComponent = icon ?? typeIcons[type];\n const isLoading = type === 'loading';\n\n const renderIcon = (): ReactNode => {\n if (!IconComponent) return null;\n return (\n <div className={cx(styles.icon, classNames?.icon)} style={customStyles?.icon}>\n <Icon color={iconColor} icon={IconComponent} size={18} spin={isLoading} />\n </div>\n );\n };\n\n const renderActions = (): ReactNode => {\n if (actions && actions.length > 0) {\n return (\n <div className={cx(styles.actions, classNames?.actions)} style={customStyles?.actions}>\n {actions.map((action, index) => (\n <BaseToast.Action\n key={index}\n style={customStyles?.action}\n className={cx(\n actionVariants({ variant: action.variant ?? 'primary' }),\n classNames?.action,\n )}\n onClick={action.onClick}\n {...action.props}\n >\n {action.label}\n </BaseToast.Action>\n ))}\n </div>\n );\n }\n if (actionProps) {\n return (\n <BaseToast.Action\n className={cx(actionVariants({ variant: 'primary' }), classNames?.action)}\n style={customStyles?.action}\n {...actionProps}\n />\n );\n }\n return null;\n };\n\n return (\n <BaseToast.Root\n className={cx(rootVariants({ position }), classNames?.root)}\n swipeDirection={swipeDirection}\n toast={toast}\n style={{\n ...customStyles?.root,\n ...toastData?.style,\n }}\n >\n <BaseToast.Content\n className={cx(styles.content, classNames?.content)}\n style={customStyles?.content}\n >\n <div className={title ? styles.toastBody : styles.toastBodyCenter}>\n {renderIcon()}\n <div className={styles.contentArea}>\n {title ? (\n <>\n <div className={styles.titleRow}>\n <BaseToast.Title\n className={cx(styles.title, classNames?.title)}\n style={customStyles?.title}\n >\n {title}\n </BaseToast.Title>\n {showCloseButton && (\n <BaseToast.Close\n aria-label=\"Close\"\n className={cx(styles.close, classNames?.close)}\n style={customStyles?.close}\n >\n <X size={14} />\n </BaseToast.Close>\n )}\n </div>\n {description && (\n <BaseToast.Description\n className={cx(styles.description, classNames?.description)}\n style={{\n marginBlockStart: 4,\n ...customStyles?.description,\n }}\n >\n {description}\n </BaseToast.Description>\n )}\n </>\n ) : (\n description && (\n <div className={styles.titleRow}>\n <BaseToast.Description\n className={cx(styles.description, classNames?.description)}\n style={customStyles?.description}\n >\n {description}\n </BaseToast.Description>\n {showCloseButton && (\n <BaseToast.Close\n aria-label=\"Close\"\n className={cx(styles.close, classNames?.close)}\n style={customStyles?.close}\n >\n <X size={14} />\n </BaseToast.Close>\n )}\n </div>\n )\n )}\n {renderActions()}\n </div>\n </div>\n </BaseToast.Content>\n </BaseToast.Root>\n );\n});\n\nToastItem.displayName = 'ToastItem';\n\nexport default ToastItem;\n"],"mappings":"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"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use client";
|
|
3
2
|
import { createContext, useContext } from "react";
|
|
4
|
-
|
|
5
3
|
//#region src/base-ui/Toast/context.ts
|
|
6
4
|
const ToastContext = createContext({
|
|
7
5
|
position: "bottom-right",
|
|
8
6
|
swipeDirection: ["down", "right"]
|
|
9
7
|
});
|
|
10
8
|
const useToastContext = () => useContext(ToastContext);
|
|
11
|
-
|
|
12
9
|
//#endregion
|
|
13
10
|
export { ToastContext, useToastContext };
|
|
11
|
+
|
|
14
12
|
//# sourceMappingURL=context.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.mjs","names":[],"sources":["../../../src/base-ui/Toast/context.ts"],"sourcesContent":["'use client';\n\nimport { createContext, useContext } from 'react';\n\nimport type { ToastPosition } from './type';\n\nexport interface ToastContextValue {\n position: ToastPosition;\n swipeDirection: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];\n}\n\nexport const ToastContext = createContext<ToastContextValue>({\n position: 'bottom-right',\n swipeDirection: ['down', 'right'],\n});\n\nexport const useToastContext = () => useContext(ToastContext);\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.mjs","names":[],"sources":["../../../src/base-ui/Toast/context.ts"],"sourcesContent":["'use client';\n\nimport { createContext, useContext } from 'react';\n\nimport type { ToastPosition } from './type';\n\nexport interface ToastContextValue {\n position: ToastPosition;\n swipeDirection: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];\n}\n\nexport const ToastContext = createContext<ToastContextValue>({\n position: 'bottom-right',\n swipeDirection: ['down', 'right'],\n});\n\nexport const useToastContext = () => useContext(ToastContext);\n"],"mappings":";;;AAWA,MAAa,eAAe,cAAiC;CAC3D,UAAU;CACV,gBAAgB,CAAC,QAAQ,QAAQ;CAClC,CAAC;AAEF,MAAa,wBAAwB,WAAW,aAAa"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToastAPI, ToastPosition } from "./type.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/base-ui/Toast/imperative.d.ts
|
|
6
6
|
declare const toast: ToastAPI;
|
|
@@ -31,14 +31,14 @@ interface ToastHostProps {
|
|
|
31
31
|
*/
|
|
32
32
|
swipeDirection?: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];
|
|
33
33
|
}
|
|
34
|
-
declare const ToastHost:
|
|
34
|
+
declare const ToastHost: _$react.MemoExoticComponent<({
|
|
35
35
|
root,
|
|
36
36
|
className,
|
|
37
37
|
duration,
|
|
38
38
|
limit,
|
|
39
39
|
position,
|
|
40
40
|
swipeDirection
|
|
41
|
-
}: ToastHostProps) =>
|
|
41
|
+
}: ToastHostProps) => _$react_jsx_runtime0.JSX.Element[] | null>;
|
|
42
42
|
declare const useToast: () => ToastAPI;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { ToastHost, ToastHostProps, toast, useToast };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use client";
|
|
3
2
|
import { useIsClient } from "../../hooks/useIsClient.mjs";
|
|
4
3
|
import { useAppElement } from "../../ThemeProvider/AppElementContext.mjs";
|
|
5
4
|
import { ToastContext } from "./context.mjs";
|
|
6
5
|
import { viewportVariants } from "./style.mjs";
|
|
7
|
-
import
|
|
6
|
+
import ToastItem from "./Toast.mjs";
|
|
8
7
|
import { memo, useEffect } from "react";
|
|
9
8
|
import { jsx } from "react/jsx-runtime";
|
|
10
9
|
import { cx } from "antd-style";
|
|
11
10
|
import { Toast } from "@base-ui/react/toast";
|
|
12
|
-
|
|
13
11
|
//#region src/base-ui/Toast/imperative.tsx
|
|
14
12
|
const ALL_POSITIONS = [
|
|
15
13
|
"top",
|
|
@@ -159,7 +157,7 @@ const toast = Object.assign(baseToast, {
|
|
|
159
157
|
});
|
|
160
158
|
const ToastList = memo(() => {
|
|
161
159
|
const { toasts } = Toast.useToastManager();
|
|
162
|
-
return toasts.map((t) => /* @__PURE__ */ jsx(
|
|
160
|
+
return toasts.map((t) => /* @__PURE__ */ jsx(ToastItem, { toast: t }, t.id));
|
|
163
161
|
});
|
|
164
162
|
ToastList.displayName = "ToastList";
|
|
165
163
|
const ToastHost = memo(({ root, className, duration = 5e3, limit = 5, position = "bottom-right", swipeDirection = ["down", "right"] }) => {
|
|
@@ -201,7 +199,7 @@ const ToastHost = memo(({ root, className, duration = 5e3, limit = 5, position =
|
|
|
201
199
|
});
|
|
202
200
|
ToastHost.displayName = "ToastHost";
|
|
203
201
|
const useToast = () => toast;
|
|
204
|
-
|
|
205
202
|
//#endregion
|
|
206
203
|
export { ToastHost, toast, useToast };
|
|
204
|
+
|
|
207
205
|
//# sourceMappingURL=imperative.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imperative.mjs","names":["ALL_POSITIONS: ToastPosition[]","globalState: ToastState","toastManagers: Record<ToastPosition, ReturnType<typeof BaseToast.createToastManager>>","BaseToast","activeToastIds: Record<ToastPosition, Set<string>>","toast: ToastAPI","ToastItem"],"sources":["../../../src/base-ui/Toast/imperative.tsx"],"sourcesContent":["'use client';\n\nimport { Toast as BaseToast } from '@base-ui/react/toast';\nimport { cx } from 'antd-style';\nimport { memo, useEffect } from 'react';\n\nimport { useIsClient } from '@/hooks/useIsClient';\nimport { useAppElement } from '@/ThemeProvider';\n\nimport { ToastContext } from './context';\nimport { viewportVariants } from './style';\nimport ToastItem from './Toast';\nimport {\n type ToastAPI,\n type ToastInstance,\n type ToastOptions,\n type ToastPosition,\n type ToastPromiseOptions,\n type ToastType,\n} from './type';\n\n// All possible positions\nconst ALL_POSITIONS: ToastPosition[] = [\n 'top',\n 'top-left',\n 'top-right',\n 'bottom',\n 'bottom-left',\n 'bottom-right',\n];\n\n// Global state management\ninterface ToastState {\n duration: number;\n limit: number;\n position: ToastPosition;\n swipeDirection: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];\n}\n\nlet globalState: ToastState = {\n duration: 5000,\n limit: 5,\n position: 'bottom-right',\n swipeDirection: ['down', 'right'],\n};\n\n// Toast managers for each position\nconst toastManagers: Record<ToastPosition, ReturnType<typeof BaseToast.createToastManager>> = {\n 'bottom': BaseToast.createToastManager(),\n 'bottom-left': BaseToast.createToastManager(),\n 'bottom-right': BaseToast.createToastManager(),\n 'top': BaseToast.createToastManager(),\n 'top-left': BaseToast.createToastManager(),\n 'top-right': BaseToast.createToastManager(),\n};\n\nconst activeToastIds: Record<ToastPosition, Set<string>> = {\n 'bottom': new Set(),\n 'bottom-left': new Set(),\n 'bottom-right': new Set(),\n 'top': new Set(),\n 'top-left': new Set(),\n 'top-right': new Set(),\n};\n\nconst getManager = (position: ToastPosition) => toastManagers[position];\n\nconst normalizeOptions = (\n optionsOrMessage: Omit<ToastOptions, 'type'> | string,\n type: ToastType,\n): ToastOptions => {\n if (typeof optionsOrMessage === 'string') {\n return {\n description: optionsOrMessage,\n type,\n };\n }\n return {\n ...optionsOrMessage,\n type,\n };\n};\n\nconst createToastInstance = (id: string, position: ToastPosition): ToastInstance => ({\n close: () => getManager(position).close(id),\n id,\n update: (options) => {\n getManager(position).update(id, {\n data: options,\n description: options.description,\n title: options.title,\n });\n },\n});\n\nconst addToast = (options: ToastOptions): ToastInstance => {\n const position = options.placement ?? globalState.position;\n const manager = getManager(position);\n const onRemove = options.onRemove;\n const id = manager.add({\n data: options,\n description: options.description,\n onClose: options.onClose,\n onRemove: () => {\n activeToastIds[position].delete(id);\n onRemove?.();\n },\n timeout: options.duration ?? globalState.duration,\n title: options.title,\n });\n activeToastIds[position].add(id);\n return createToastInstance(id, position);\n};\n\nconst dismissToast = (id?: string) => {\n if (id) {\n // Try to close from all managers since we don't know which position the toast is in\n for (const [position, manager] of Object.entries(toastManagers)) {\n activeToastIds[position as ToastPosition].delete(id);\n manager.close(id);\n }\n } else {\n // Clear all toasts\n for (const [position, manager] of Object.entries(toastManagers)) {\n const ids = Array.from(activeToastIds[position as ToastPosition]);\n for (const toastId of ids) {\n manager.close(toastId);\n }\n activeToastIds[position as ToastPosition].clear();\n }\n }\n};\n\nconst createSuccessToast = (\n optionsOrMessage: Omit<ToastOptions, 'type'> | string,\n): ToastInstance => {\n return addToast(normalizeOptions(optionsOrMessage, 'success'));\n};\n\nconst createErrorToast = (optionsOrMessage: Omit<ToastOptions, 'type'> | string): ToastInstance => {\n return addToast(normalizeOptions(optionsOrMessage, 'error'));\n};\n\nconst createInfoToast = (optionsOrMessage: Omit<ToastOptions, 'type'> | string): ToastInstance => {\n return addToast(normalizeOptions(optionsOrMessage, 'info'));\n};\n\nconst createWarningToast = (\n optionsOrMessage: Omit<ToastOptions, 'type'> | string,\n): ToastInstance => {\n return addToast(normalizeOptions(optionsOrMessage, 'warning'));\n};\n\nconst createLoadingToast = (\n optionsOrMessage: Omit<ToastOptions, 'type'> | string,\n): ToastInstance => {\n const options = normalizeOptions(optionsOrMessage, 'loading');\n // Loading toasts don't auto-dismiss by default\n return addToast({ duration: 0, ...options });\n};\n\nasync function promiseToast<T>(promise: Promise<T>, options: ToastPromiseOptions<T>): Promise<T> {\n const loadingOptions =\n typeof options.loading === 'string'\n ? { description: options.loading }\n : (options.loading as ToastOptions);\n\n const loadingToast = addToast({\n closable: false,\n duration: 0,\n type: 'loading',\n ...loadingOptions,\n });\n\n try {\n const result = await promise;\n\n loadingToast.close();\n\n const successOptions = (() => {\n if (typeof options.success === 'string') {\n return { description: options.success };\n }\n if (typeof options.success === 'function') {\n return { description: options.success(result) };\n }\n return options.success as ToastOptions;\n })();\n\n addToast({ type: 'success', ...successOptions });\n\n return result;\n } catch (error) {\n loadingToast.close();\n\n const errorOptions = (() => {\n if (typeof options.error === 'string') {\n return { description: options.error };\n }\n if (typeof options.error === 'function') {\n return { description: options.error(error as Error) };\n }\n return options.error as ToastOptions;\n })();\n\n addToast({ type: 'error', ...errorOptions });\n\n throw error;\n }\n}\n\n// Base toast function\nconst baseToast = (options: ToastOptions): ToastInstance => {\n return addToast({ type: 'default', ...options });\n};\n\n// Toast API\nexport const toast: ToastAPI = Object.assign(baseToast, {\n dismiss: dismissToast,\n error: createErrorToast,\n info: createInfoToast,\n loading: createLoadingToast,\n promise: promiseToast,\n success: createSuccessToast,\n warning: createWarningToast,\n});\n\n// Toast List Component\nconst ToastList = memo(() => {\n const { toasts } = BaseToast.useToastManager();\n return toasts.map((t) => <ToastItem key={t.id} toast={t} />);\n});\n\nToastList.displayName = 'ToastList';\n\nexport interface ToastHostProps {\n className?: string;\n /**\n * Default duration for toasts\n * @default 5000\n */\n duration?: number;\n /**\n * Maximum number of toasts\n * @default 5\n */\n limit?: number;\n /**\n * Toast position\n * @default 'bottom-right'\n */\n position?: ToastPosition;\n /**\n * Root element for portal\n */\n root?: HTMLElement | ShadowRoot | null;\n /**\n * Swipe direction to dismiss\n * @default ['down', 'right']\n */\n swipeDirection?: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];\n}\n\nexport const ToastHost = memo(\n ({\n root,\n className,\n duration = 5000,\n limit = 5,\n position = 'bottom-right',\n swipeDirection = ['down', 'right'],\n }: ToastHostProps) => {\n const isClient = useIsClient();\n const appElement = useAppElement();\n\n useEffect(() => {\n globalState = {\n duration,\n limit,\n position,\n swipeDirection,\n };\n }, [duration, limit, position, swipeDirection]);\n\n if (!isClient) return null;\n\n const container = root ?? appElement ?? document.body;\n\n return ALL_POSITIONS.map((pos) => (\n <ToastContext key={pos} value={{ position: pos, swipeDirection }}>\n <BaseToast.Provider limit={limit} timeout={duration} toastManager={getManager(pos)}>\n <BaseToast.Portal container={container}>\n <BaseToast.Viewport className={cx(viewportVariants({ position: pos }), className)}>\n <ToastList />\n </BaseToast.Viewport>\n </BaseToast.Portal>\n </BaseToast.Provider>\n </ToastContext>\n ));\n },\n);\n\nToastHost.displayName = 'ToastHost';\n\n// Hook to use toast manager\nexport const useToast = () => toast;\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"imperative.mjs","names":["BaseToast"],"sources":["../../../src/base-ui/Toast/imperative.tsx"],"sourcesContent":["'use client';\n\nimport { Toast as BaseToast } from '@base-ui/react/toast';\nimport { cx } from 'antd-style';\nimport { memo, useEffect } from 'react';\n\nimport { useIsClient } from '@/hooks/useIsClient';\nimport { useAppElement } from '@/ThemeProvider';\n\nimport { ToastContext } from './context';\nimport { viewportVariants } from './style';\nimport ToastItem from './Toast';\nimport {\n type ToastAPI,\n type ToastInstance,\n type ToastOptions,\n type ToastPosition,\n type ToastPromiseOptions,\n type ToastType,\n} from './type';\n\n// All possible positions\nconst ALL_POSITIONS: ToastPosition[] = [\n 'top',\n 'top-left',\n 'top-right',\n 'bottom',\n 'bottom-left',\n 'bottom-right',\n];\n\n// Global state management\ninterface ToastState {\n duration: number;\n limit: number;\n position: ToastPosition;\n swipeDirection: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];\n}\n\nlet globalState: ToastState = {\n duration: 5000,\n limit: 5,\n position: 'bottom-right',\n swipeDirection: ['down', 'right'],\n};\n\n// Toast managers for each position\nconst toastManagers: Record<ToastPosition, ReturnType<typeof BaseToast.createToastManager>> = {\n 'bottom': BaseToast.createToastManager(),\n 'bottom-left': BaseToast.createToastManager(),\n 'bottom-right': BaseToast.createToastManager(),\n 'top': BaseToast.createToastManager(),\n 'top-left': BaseToast.createToastManager(),\n 'top-right': BaseToast.createToastManager(),\n};\n\nconst activeToastIds: Record<ToastPosition, Set<string>> = {\n 'bottom': new Set(),\n 'bottom-left': new Set(),\n 'bottom-right': new Set(),\n 'top': new Set(),\n 'top-left': new Set(),\n 'top-right': new Set(),\n};\n\nconst getManager = (position: ToastPosition) => toastManagers[position];\n\nconst normalizeOptions = (\n optionsOrMessage: Omit<ToastOptions, 'type'> | string,\n type: ToastType,\n): ToastOptions => {\n if (typeof optionsOrMessage === 'string') {\n return {\n description: optionsOrMessage,\n type,\n };\n }\n return {\n ...optionsOrMessage,\n type,\n };\n};\n\nconst createToastInstance = (id: string, position: ToastPosition): ToastInstance => ({\n close: () => getManager(position).close(id),\n id,\n update: (options) => {\n getManager(position).update(id, {\n data: options,\n description: options.description,\n title: options.title,\n });\n },\n});\n\nconst addToast = (options: ToastOptions): ToastInstance => {\n const position = options.placement ?? globalState.position;\n const manager = getManager(position);\n const onRemove = options.onRemove;\n const id = manager.add({\n data: options,\n description: options.description,\n onClose: options.onClose,\n onRemove: () => {\n activeToastIds[position].delete(id);\n onRemove?.();\n },\n timeout: options.duration ?? globalState.duration,\n title: options.title,\n });\n activeToastIds[position].add(id);\n return createToastInstance(id, position);\n};\n\nconst dismissToast = (id?: string) => {\n if (id) {\n // Try to close from all managers since we don't know which position the toast is in\n for (const [position, manager] of Object.entries(toastManagers)) {\n activeToastIds[position as ToastPosition].delete(id);\n manager.close(id);\n }\n } else {\n // Clear all toasts\n for (const [position, manager] of Object.entries(toastManagers)) {\n const ids = Array.from(activeToastIds[position as ToastPosition]);\n for (const toastId of ids) {\n manager.close(toastId);\n }\n activeToastIds[position as ToastPosition].clear();\n }\n }\n};\n\nconst createSuccessToast = (\n optionsOrMessage: Omit<ToastOptions, 'type'> | string,\n): ToastInstance => {\n return addToast(normalizeOptions(optionsOrMessage, 'success'));\n};\n\nconst createErrorToast = (optionsOrMessage: Omit<ToastOptions, 'type'> | string): ToastInstance => {\n return addToast(normalizeOptions(optionsOrMessage, 'error'));\n};\n\nconst createInfoToast = (optionsOrMessage: Omit<ToastOptions, 'type'> | string): ToastInstance => {\n return addToast(normalizeOptions(optionsOrMessage, 'info'));\n};\n\nconst createWarningToast = (\n optionsOrMessage: Omit<ToastOptions, 'type'> | string,\n): ToastInstance => {\n return addToast(normalizeOptions(optionsOrMessage, 'warning'));\n};\n\nconst createLoadingToast = (\n optionsOrMessage: Omit<ToastOptions, 'type'> | string,\n): ToastInstance => {\n const options = normalizeOptions(optionsOrMessage, 'loading');\n // Loading toasts don't auto-dismiss by default\n return addToast({ duration: 0, ...options });\n};\n\nasync function promiseToast<T>(promise: Promise<T>, options: ToastPromiseOptions<T>): Promise<T> {\n const loadingOptions =\n typeof options.loading === 'string'\n ? { description: options.loading }\n : (options.loading as ToastOptions);\n\n const loadingToast = addToast({\n closable: false,\n duration: 0,\n type: 'loading',\n ...loadingOptions,\n });\n\n try {\n const result = await promise;\n\n loadingToast.close();\n\n const successOptions = (() => {\n if (typeof options.success === 'string') {\n return { description: options.success };\n }\n if (typeof options.success === 'function') {\n return { description: options.success(result) };\n }\n return options.success as ToastOptions;\n })();\n\n addToast({ type: 'success', ...successOptions });\n\n return result;\n } catch (error) {\n loadingToast.close();\n\n const errorOptions = (() => {\n if (typeof options.error === 'string') {\n return { description: options.error };\n }\n if (typeof options.error === 'function') {\n return { description: options.error(error as Error) };\n }\n return options.error as ToastOptions;\n })();\n\n addToast({ type: 'error', ...errorOptions });\n\n throw error;\n }\n}\n\n// Base toast function\nconst baseToast = (options: ToastOptions): ToastInstance => {\n return addToast({ type: 'default', ...options });\n};\n\n// Toast API\nexport const toast: ToastAPI = Object.assign(baseToast, {\n dismiss: dismissToast,\n error: createErrorToast,\n info: createInfoToast,\n loading: createLoadingToast,\n promise: promiseToast,\n success: createSuccessToast,\n warning: createWarningToast,\n});\n\n// Toast List Component\nconst ToastList = memo(() => {\n const { toasts } = BaseToast.useToastManager();\n return toasts.map((t) => <ToastItem key={t.id} toast={t} />);\n});\n\nToastList.displayName = 'ToastList';\n\nexport interface ToastHostProps {\n className?: string;\n /**\n * Default duration for toasts\n * @default 5000\n */\n duration?: number;\n /**\n * Maximum number of toasts\n * @default 5\n */\n limit?: number;\n /**\n * Toast position\n * @default 'bottom-right'\n */\n position?: ToastPosition;\n /**\n * Root element for portal\n */\n root?: HTMLElement | ShadowRoot | null;\n /**\n * Swipe direction to dismiss\n * @default ['down', 'right']\n */\n swipeDirection?: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];\n}\n\nexport const ToastHost = memo(\n ({\n root,\n className,\n duration = 5000,\n limit = 5,\n position = 'bottom-right',\n swipeDirection = ['down', 'right'],\n }: ToastHostProps) => {\n const isClient = useIsClient();\n const appElement = useAppElement();\n\n useEffect(() => {\n globalState = {\n duration,\n limit,\n position,\n swipeDirection,\n };\n }, [duration, limit, position, swipeDirection]);\n\n if (!isClient) return null;\n\n const container = root ?? appElement ?? document.body;\n\n return ALL_POSITIONS.map((pos) => (\n <ToastContext key={pos} value={{ position: pos, swipeDirection }}>\n <BaseToast.Provider limit={limit} timeout={duration} toastManager={getManager(pos)}>\n <BaseToast.Portal container={container}>\n <BaseToast.Viewport className={cx(viewportVariants({ position: pos }), className)}>\n <ToastList />\n </BaseToast.Viewport>\n </BaseToast.Portal>\n </BaseToast.Provider>\n </ToastContext>\n ));\n },\n);\n\nToastHost.displayName = 'ToastHost';\n\n// Hook to use toast manager\nexport const useToast = () => toast;\n"],"mappings":"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"}
|