@lobehub/ui 6.4.1 → 6.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/A/index.mjs +6 -1
- package/es/A/index.mjs.map +1 -1
- package/es/A/stable.mjs +10 -0
- package/es/A/stable.mjs.map +1 -0
- package/es/Accordion/Accordion.mjs +3 -2
- package/es/Accordion/Accordion.mjs.map +1 -1
- package/es/Accordion/atoms.mjs +14 -9
- package/es/Accordion/atoms.mjs.map +1 -1
- package/es/Accordion/stable.mjs +19 -0
- package/es/Accordion/stable.mjs.map +1 -0
- package/es/Accordion/style.d.mts +1 -1
- package/es/ActionIcon/ActionIcon.mjs +28 -7
- package/es/ActionIcon/ActionIcon.mjs.map +1 -1
- package/es/ActionIcon/stable.mjs +19 -0
- package/es/ActionIcon/stable.mjs.map +1 -0
- package/es/ActionIcon/style.d.mts +15 -0
- package/es/ActionIcon/style.mjs +18 -0
- package/es/ActionIcon/style.mjs.map +1 -1
- package/es/ActionIconGroup/ActionIconGroup.mjs +12 -1
- package/es/ActionIconGroup/ActionIconGroup.mjs.map +1 -1
- package/es/ActionIconGroup/stable.mjs +16 -0
- package/es/ActionIconGroup/stable.mjs.map +1 -0
- package/es/Alert/Alert.mjs +15 -14
- package/es/Alert/Alert.mjs.map +1 -1
- package/es/Alert/stable.mjs +23 -0
- package/es/Alert/stable.mjs.map +1 -0
- package/es/Anchor/Anchor.mjs +7 -7
- package/es/Anchor/Anchor.mjs.map +1 -1
- package/es/Anchor/stable.mjs +14 -0
- package/es/Anchor/stable.mjs.map +1 -0
- package/es/AutoComplete/AutoComplete.mjs +24 -14
- package/es/AutoComplete/AutoComplete.mjs.map +1 -1
- package/es/AutoComplete/stable.mjs +25 -0
- package/es/AutoComplete/stable.mjs.map +1 -0
- package/es/Avatar/Avatar.mjs +33 -14
- package/es/Avatar/Avatar.mjs.map +1 -1
- package/es/Avatar/AvatarGroup/index.mjs +9 -6
- package/es/Avatar/AvatarGroup/index.mjs.map +1 -1
- package/es/Avatar/AvatarGroup/style.mjs +4 -0
- package/es/Avatar/AvatarGroup/style.mjs.map +1 -1
- package/es/Avatar/stable.mjs +23 -0
- package/es/Avatar/stable.mjs.map +1 -0
- package/es/Avatar/style.mjs +30 -0
- package/es/Avatar/style.mjs.map +1 -1
- package/es/Badge/Badge.mjs +20 -9
- package/es/Badge/Badge.mjs.map +1 -1
- package/es/Badge/stable.mjs +19 -0
- package/es/Badge/stable.mjs.map +1 -0
- package/es/Badge/style.mjs +2 -1
- package/es/Badge/style.mjs.map +1 -1
- package/es/Block/Block.mjs +10 -1
- package/es/Block/Block.mjs.map +1 -1
- package/es/Block/stable.mjs +16 -0
- package/es/Block/stable.mjs.map +1 -0
- package/es/Breadcrumb/Breadcrumb.mjs +7 -7
- package/es/Breadcrumb/Breadcrumb.mjs.map +1 -1
- package/es/Breadcrumb/stable.mjs +15 -0
- package/es/Breadcrumb/stable.mjs.map +1 -0
- package/es/Burger/Burger.mjs +8 -6
- package/es/Burger/Burger.mjs.map +1 -1
- package/es/Burger/stable.mjs +10 -0
- package/es/Burger/stable.mjs.map +1 -0
- package/es/Burger/style.mjs +1 -0
- package/es/Burger/style.mjs.map +1 -1
- package/es/Button/Button.mjs +18 -4
- package/es/Button/Button.mjs.map +1 -1
- package/es/Button/SplitButton.mjs +12 -1
- package/es/Button/SplitButton.mjs.map +1 -1
- package/es/Button/stable.mjs +29 -0
- package/es/Button/stable.mjs.map +1 -0
- package/es/Carousel/Carousel.mjs +12 -11
- package/es/Carousel/Carousel.mjs.map +1 -1
- package/es/Carousel/stable.mjs +18 -0
- package/es/Carousel/stable.mjs.map +1 -0
- package/es/Carousel/style.mjs +8 -0
- package/es/Carousel/style.mjs.map +1 -1
- package/es/Checkbox/Checkbox.mjs +26 -12
- package/es/Checkbox/Checkbox.mjs.map +1 -1
- package/es/Checkbox/CheckboxGroup.mjs +11 -7
- package/es/Checkbox/CheckboxGroup.mjs.map +1 -1
- package/es/Checkbox/stable.mjs +20 -0
- package/es/Checkbox/stable.mjs.map +1 -0
- package/es/Checkbox/style.d.mts +26 -0
- package/es/Checkbox/style.mjs +33 -0
- package/es/Checkbox/style.mjs.map +1 -1
- package/es/CodeDiff/CodeDiff.mjs +2 -0
- package/es/CodeDiff/CodeDiff.mjs.map +1 -1
- package/es/CodeDiff/DiffPanel.mjs +20 -14
- package/es/CodeDiff/DiffPanel.mjs.map +1 -1
- package/es/CodeDiff/PatchDiff.mjs +2 -0
- package/es/CodeDiff/PatchDiff.mjs.map +1 -1
- package/es/CodeDiff/stable.mjs +26 -0
- package/es/CodeDiff/stable.mjs.map +1 -0
- package/es/CodeEditor/CodeEditor.mjs +7 -5
- package/es/CodeEditor/CodeEditor.mjs.map +1 -1
- package/es/CodeEditor/stable.mjs +11 -0
- package/es/CodeEditor/stable.mjs.map +1 -0
- package/es/CodeEditor/style.mjs +4 -0
- package/es/CodeEditor/style.mjs.map +1 -1
- package/es/Collapsible/Collapsible.mjs +4 -2
- package/es/Collapsible/Collapsible.mjs.map +1 -1
- package/es/Collapsible/stable.mjs +10 -0
- package/es/Collapsible/stable.mjs.map +1 -0
- package/es/ColorPicker/ColorPanel.mjs +7 -6
- package/es/ColorPicker/ColorPanel.mjs.map +1 -1
- package/es/ColorPicker/ColorPicker.mjs +7 -0
- package/es/ColorPicker/ColorPicker.mjs.map +1 -1
- package/es/ColorPicker/Swatch.mjs +3 -3
- package/es/ColorPicker/Swatch.mjs.map +1 -1
- package/es/ColorPicker/Trigger.mjs +27 -10
- package/es/ColorPicker/Trigger.mjs.map +1 -1
- package/es/ColorPicker/stable.mjs +21 -0
- package/es/ColorPicker/stable.mjs.map +1 -0
- package/es/ColorPicker/style.mjs +20 -0
- package/es/ColorPicker/style.mjs.map +1 -1
- package/es/ColorSwatches/ColorSwatches.mjs +18 -11
- package/es/ColorSwatches/ColorSwatches.mjs.map +1 -1
- package/es/ColorSwatches/CustomPicker.mjs +24 -16
- package/es/ColorSwatches/CustomPicker.mjs.map +1 -1
- package/es/ColorSwatches/stable.mjs +15 -0
- package/es/ColorSwatches/stable.mjs.map +1 -0
- package/es/ColorSwatches/style.mjs +20 -0
- package/es/ColorSwatches/style.mjs.map +1 -1
- package/es/ContextMenu/ContextMenuHost.mjs +8 -6
- package/es/ContextMenu/ContextMenuHost.mjs.map +1 -1
- package/es/ContextMenu/ContextMenuTrigger.mjs +5 -4
- package/es/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
- package/es/ContextMenu/renderItems.mjs +43 -39
- package/es/ContextMenu/renderItems.mjs.map +1 -1
- package/es/ContextMenu/stable.mjs +29 -0
- package/es/ContextMenu/stable.mjs.map +1 -0
- package/es/CopyButton/CopyButton.mjs +4 -1
- package/es/CopyButton/CopyButton.mjs.map +1 -1
- package/es/CopyButton/stable.mjs +10 -0
- package/es/CopyButton/stable.mjs.map +1 -0
- package/es/DatePicker/RangePicker.mjs +3 -1
- package/es/DatePicker/RangePicker.mjs.map +1 -1
- package/es/DatePicker/SinglePicker.mjs +3 -1
- package/es/DatePicker/SinglePicker.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Popup/Footer.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Popup/index.mjs +1 -1
- package/es/DatePicker/core/PickerInput/RangePicker.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/ClearIcon.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/Icon.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/Input.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/MultipleDates.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs +1 -1
- package/es/DatePicker/core/PickerInput/SinglePicker.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/DatePanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/PanelBody.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/PanelHeader.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/ClockDial.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/TimeColumn.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/WeekPanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPopup.mjs +1 -1
- package/es/DatePicker/stable.mjs +26 -0
- package/es/DatePicker/stable.mjs.map +1 -0
- package/es/DatePicker/usePickerShared.mjs +14 -5
- package/es/DatePicker/usePickerShared.mjs.map +1 -1
- package/es/Descriptions/Descriptions.mjs +11 -9
- package/es/Descriptions/Descriptions.mjs.map +1 -1
- package/es/Descriptions/stable.mjs +18 -0
- package/es/Descriptions/stable.mjs.map +1 -0
- package/es/Divider/Divider.mjs +8 -4
- package/es/Divider/Divider.mjs.map +1 -1
- package/es/Divider/stable.mjs +11 -0
- package/es/Divider/stable.mjs.map +1 -0
- package/es/DownloadButton/DownloadButton.mjs +4 -1
- package/es/DownloadButton/DownloadButton.mjs.map +1 -1
- package/es/DownloadButton/stable.mjs +10 -0
- package/es/DownloadButton/stable.mjs.map +1 -0
- package/es/DraggablePanel/atoms.mjs +7 -7
- package/es/DraggablePanel/atoms.mjs.map +1 -1
- package/es/DraggablePanel/stable.mjs +19 -0
- package/es/DraggablePanel/stable.mjs.map +1 -0
- package/es/DraggableSideNav/DraggableSideNav.mjs +22 -15
- package/es/DraggableSideNav/DraggableSideNav.mjs.map +1 -1
- package/es/DraggableSideNav/stable.mjs +21 -0
- package/es/DraggableSideNav/stable.mjs.map +1 -0
- package/es/DraggableSideNav/style.mjs +1 -0
- package/es/DraggableSideNav/style.mjs.map +1 -1
- package/es/Drawer/Drawer.mjs +16 -14
- package/es/Drawer/Drawer.mjs.map +1 -1
- package/es/Drawer/atoms.mjs +34 -21
- package/es/Drawer/atoms.mjs.map +1 -1
- package/es/Drawer/constants.mjs +1 -2
- package/es/Drawer/constants.mjs.map +1 -1
- package/es/Drawer/stable.mjs +26 -0
- package/es/Drawer/stable.mjs.map +1 -0
- package/es/Drawer/style.mjs +11 -0
- package/es/Drawer/style.mjs.map +1 -1
- package/es/DropdownMenu/DropdownMenu.mjs +1 -0
- package/es/DropdownMenu/DropdownMenu.mjs.map +1 -1
- package/es/DropdownMenu/atoms.d.mts +10 -2
- package/es/DropdownMenu/atoms.mjs +36 -29
- package/es/DropdownMenu/atoms.mjs.map +1 -1
- package/es/DropdownMenu/stable.mjs +30 -0
- package/es/DropdownMenu/stable.mjs.map +1 -0
- package/es/DropdownMenu/style.d.mts +4 -0
- package/es/DropdownMenu/style.mjs +5 -0
- package/es/DropdownMenu/style.mjs.map +1 -1
- package/es/EditableText/EditableText.mjs +23 -23
- package/es/EditableText/EditableText.mjs.map +1 -1
- package/es/EditableText/stable.mjs +19 -0
- package/es/EditableText/stable.mjs.map +1 -0
- package/es/EditableText/style.mjs +32 -0
- package/es/EditableText/style.mjs.map +1 -0
- package/es/EditorSlashMenu/atoms.d.mts +5 -1
- package/es/EditorSlashMenu/atoms.mjs +19 -14
- package/es/EditorSlashMenu/atoms.mjs.map +1 -1
- package/es/EditorSlashMenu/stable.mjs +22 -0
- package/es/EditorSlashMenu/stable.mjs.map +1 -0
- package/es/EmojiPicker/AvatarUploader.mjs +6 -3
- package/es/EmojiPicker/AvatarUploader.mjs.map +1 -1
- package/es/EmojiPicker/EmojiPicker.mjs +9 -9
- package/es/EmojiPicker/EmojiPicker.mjs.map +1 -1
- package/es/EmojiPicker/stable.mjs +17 -0
- package/es/EmojiPicker/stable.mjs.map +1 -0
- package/es/EmojiPicker/style.mjs +10 -0
- package/es/EmojiPicker/style.mjs.map +1 -1
- package/es/Empty/Empty.mjs +19 -13
- package/es/Empty/Empty.mjs.map +1 -1
- package/es/Empty/stable.mjs +16 -0
- package/es/Empty/stable.mjs.map +1 -0
- package/es/Empty/style.mjs +30 -0
- package/es/Empty/style.mjs.map +1 -1
- package/es/FileTypeIcon/FileTypeIcon.mjs +10 -7
- package/es/FileTypeIcon/FileTypeIcon.mjs.map +1 -1
- package/es/FileTypeIcon/stable.mjs +10 -0
- package/es/FileTypeIcon/stable.mjs.map +1 -0
- package/es/Flex/Center.mjs +4 -1
- package/es/Flex/Center.mjs.map +1 -1
- package/es/Flex/stable.mjs +13 -0
- package/es/Flex/stable.mjs.map +1 -0
- package/es/FloatingPanel/FloatingPanel.mjs +33 -19
- package/es/FloatingPanel/FloatingPanel.mjs.map +1 -1
- package/es/FloatingPanel/stable.mjs +22 -0
- package/es/FloatingPanel/stable.mjs.map +1 -0
- package/es/FloatingPanel/style.mjs +12 -0
- package/es/FloatingPanel/style.mjs.map +1 -1
- package/es/FloatingSheet/FloatingSheet.mjs +11 -4
- package/es/FloatingSheet/FloatingSheet.mjs.map +1 -1
- package/es/FloatingSheet/FloatingSheetHeader.mjs +7 -6
- package/es/FloatingSheet/FloatingSheetHeader.mjs.map +1 -1
- package/es/FloatingSheet/stable.mjs +22 -0
- package/es/FloatingSheet/stable.mjs.map +1 -0
- package/es/FloatingSheet/style.mjs +1 -0
- package/es/FloatingSheet/style.mjs.map +1 -1
- package/es/FluentEmoji/FluentEmoji.mjs +4 -2
- package/es/FluentEmoji/FluentEmoji.mjs.map +1 -1
- package/es/FluentEmoji/stable.mjs +10 -0
- package/es/FluentEmoji/stable.mjs.map +1 -0
- package/es/Form/Form.mjs +5 -1
- package/es/Form/Form.mjs.map +1 -1
- package/es/Form/components/FormDivider.mjs +10 -8
- package/es/Form/components/FormDivider.mjs.map +1 -1
- package/es/Form/components/FormField.mjs +7 -5
- package/es/Form/components/FormField.mjs.map +1 -1
- package/es/Form/components/FormFlatGroup.mjs +4 -1
- package/es/Form/components/FormFlatGroup.mjs.map +1 -1
- package/es/Form/components/FormFooter.mjs +14 -9
- package/es/Form/components/FormFooter.mjs.map +1 -1
- package/es/Form/components/FormGroup.mjs +33 -14
- package/es/Form/components/FormGroup.mjs.map +1 -1
- package/es/Form/components/FormSubmitFooter.mjs +8 -10
- package/es/Form/components/FormSubmitFooter.mjs.map +1 -1
- package/es/Form/components/FormTitle.mjs +8 -4
- package/es/Form/components/FormTitle.mjs.map +1 -1
- package/es/Form/stable.mjs +33 -0
- package/es/Form/stable.mjs.map +1 -0
- package/es/Form/stableContext.mjs +9 -0
- package/es/Form/stableContext.mjs.map +1 -0
- package/es/Form/style.mjs +32 -10
- package/es/Form/style.mjs.map +1 -1
- package/es/FormKit/Field.mjs +12 -7
- package/es/FormKit/Field.mjs.map +1 -1
- package/es/FormKit/Form.mjs +18 -7
- package/es/FormKit/Form.mjs.map +1 -1
- package/es/FormKit/List.mjs +12 -10
- package/es/FormKit/List.mjs.map +1 -1
- package/es/FormKit/stable.mjs +25 -0
- package/es/FormKit/stable.mjs.map +1 -0
- package/es/Grid/Grid.mjs +3 -1
- package/es/Grid/Grid.mjs.map +1 -1
- package/es/Grid/stable.mjs +10 -0
- package/es/Grid/stable.mjs.map +1 -0
- package/es/GroupAvatar/GroupAvatar.mjs +8 -1
- package/es/GroupAvatar/GroupAvatar.mjs.map +1 -1
- package/es/GroupAvatar/stable.mjs +11 -0
- package/es/GroupAvatar/stable.mjs.map +1 -0
- package/es/GuideCard/GuideCard.mjs +13 -6
- package/es/GuideCard/GuideCard.mjs.map +1 -1
- package/es/GuideCard/stable.mjs +17 -0
- package/es/GuideCard/stable.mjs.map +1 -0
- package/es/Header/Header.mjs +9 -30
- package/es/Header/Header.mjs.map +1 -1
- package/es/Header/stable.mjs +14 -0
- package/es/Header/stable.mjs.map +1 -0
- package/es/Header/style.mjs +15 -0
- package/es/Header/style.mjs.map +1 -1
- package/es/Highlighter/FullFeatured.mjs +15 -6
- package/es/Highlighter/FullFeatured.mjs.map +1 -1
- package/es/Highlighter/Highlighter.mjs +16 -10
- package/es/Highlighter/Highlighter.mjs.map +1 -1
- package/es/Highlighter/LangSelect.mjs +6 -5
- package/es/Highlighter/LangSelect.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs +2 -1
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs +4 -2
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs.map +1 -1
- package/es/Highlighter/SyntaxHighlighter/index.mjs +7 -1
- package/es/Highlighter/SyntaxHighlighter/index.mjs.map +1 -1
- package/es/Highlighter/stable.mjs +30 -0
- package/es/Highlighter/stable.mjs.map +1 -0
- package/es/Highlighter/style.mjs +9 -0
- package/es/Highlighter/style.mjs.map +1 -1
- package/es/Hotkey/Hotkey.mjs +10 -2
- package/es/Hotkey/Hotkey.mjs.map +1 -1
- package/es/Hotkey/stable.mjs +15 -0
- package/es/Hotkey/stable.mjs.map +1 -0
- package/es/HotkeyInput/HotkeyInput.mjs +30 -14
- package/es/HotkeyInput/HotkeyInput.mjs.map +1 -1
- package/es/HotkeyInput/stable.mjs +26 -0
- package/es/HotkeyInput/stable.mjs.map +1 -0
- package/es/HotkeyInput/style.mjs +9 -0
- package/es/HotkeyInput/style.mjs.map +1 -1
- package/es/HtmlPreview/HtmlPreview.mjs +20 -16
- package/es/HtmlPreview/HtmlPreview.mjs.map +1 -1
- package/es/HtmlPreview/Iframe.mjs +6 -2
- package/es/HtmlPreview/Iframe.mjs.map +1 -1
- package/es/HtmlPreview/stable.mjs +27 -0
- package/es/HtmlPreview/stable.mjs.map +1 -0
- package/es/HtmlPreview/style.mjs +8 -0
- package/es/HtmlPreview/style.mjs.map +1 -1
- package/es/Icon/Icon.mjs +5 -2
- package/es/Icon/Icon.mjs.map +1 -1
- package/es/Icon/stable.mjs +11 -0
- package/es/Icon/stable.mjs.map +1 -0
- package/es/Image/Image.mjs +9 -5
- package/es/Image/Image.mjs.map +1 -1
- package/es/Image/stable.mjs +15 -0
- package/es/Image/stable.mjs.map +1 -0
- package/es/Image/style.mjs +1 -0
- package/es/Image/style.mjs.map +1 -1
- package/es/ImageSelect/ImageSelect.mjs +13 -9
- package/es/ImageSelect/ImageSelect.mjs.map +1 -1
- package/es/ImageSelect/stable.mjs +14 -0
- package/es/ImageSelect/stable.mjs.map +1 -0
- package/es/ImageSelect/styles.mjs +2 -0
- package/es/ImageSelect/styles.mjs.map +1 -1
- package/es/Img/index.mjs +4 -1
- package/es/Img/index.mjs.map +1 -1
- package/es/Img/stable.mjs +10 -0
- package/es/Img/stable.mjs.map +1 -0
- package/es/Input/ClearButton.mjs +4 -3
- package/es/Input/ClearButton.mjs.map +1 -1
- package/es/Input/Input.mjs +15 -5
- package/es/Input/Input.mjs.map +1 -1
- package/es/Input/InputNumber.mjs +14 -5
- package/es/Input/InputNumber.mjs.map +1 -1
- package/es/Input/InputOTP.mjs +10 -2
- package/es/Input/InputOTP.mjs.map +1 -1
- package/es/Input/InputPassword.mjs +7 -4
- package/es/Input/InputPassword.mjs.map +1 -1
- package/es/Input/TextArea.mjs +8 -4
- package/es/Input/TextArea.mjs.map +1 -1
- package/es/Input/stable.mjs +58 -0
- package/es/Input/stable.mjs.map +1 -0
- package/es/Input/style.mjs +4 -0
- package/es/Input/style.mjs.map +1 -1
- package/es/Layout/Layout.mjs +13 -10
- package/es/Layout/Layout.mjs.map +1 -1
- package/es/Layout/components/LayoutFooter.mjs +3 -1
- package/es/Layout/components/LayoutFooter.mjs.map +1 -1
- package/es/Layout/components/LayoutHeader.mjs +4 -2
- package/es/Layout/components/LayoutHeader.mjs.map +1 -1
- package/es/Layout/components/LayoutMain.mjs +3 -1
- package/es/Layout/components/LayoutMain.mjs.map +1 -1
- package/es/Layout/components/LayoutSidebar.mjs +3 -1
- package/es/Layout/components/LayoutSidebar.mjs.map +1 -1
- package/es/Layout/components/LayoutSidebarInner.mjs +3 -1
- package/es/Layout/components/LayoutSidebarInner.mjs.map +1 -1
- package/es/Layout/components/LayoutToc.mjs +3 -1
- package/es/Layout/components/LayoutToc.mjs.map +1 -1
- package/es/Layout/stable.mjs +18 -0
- package/es/Layout/stable.mjs.map +1 -0
- package/es/Layout/style.mjs +8 -0
- package/es/Layout/style.mjs.map +1 -1
- package/es/Layout/type.d.mts +3 -1
- package/es/List/List.mjs +10 -3
- package/es/List/List.mjs.map +1 -1
- package/es/List/ListRow.mjs +17 -9
- package/es/List/ListRow.mjs.map +1 -1
- package/es/List/stable.mjs +24 -0
- package/es/List/stable.mjs.map +1 -0
- package/es/Markdown/Markdown.mjs +6 -3
- package/es/Markdown/Markdown.mjs.map +1 -1
- package/es/Markdown/Typography.mjs +9 -8
- package/es/Markdown/Typography.mjs.map +1 -1
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs +6 -2
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs.map +1 -1
- package/es/Markdown/components/SearchResultCards/index.mjs +6 -4
- package/es/Markdown/components/SearchResultCards/index.mjs.map +1 -1
- package/es/Markdown/components/SearchResultCards/style.mjs +11 -0
- package/es/Markdown/components/SearchResultCards/style.mjs.map +1 -0
- package/es/Markdown/plugins/remarkCjkAutolink.mjs +101 -0
- package/es/Markdown/plugins/remarkCjkAutolink.mjs.map +1 -0
- package/es/Markdown/stable.mjs +24 -0
- package/es/Markdown/stable.mjs.map +1 -0
- package/es/MaskShadow/MaskShadow.mjs +5 -1
- package/es/MaskShadow/MaskShadow.mjs.map +1 -1
- package/es/MaskShadow/stable.mjs +11 -0
- package/es/MaskShadow/stable.mjs.map +1 -0
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs +8 -3
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs.map +1 -1
- package/es/MaterialFileTypeIcon/stable.mjs +10 -0
- package/es/MaterialFileTypeIcon/stable.mjs.map +1 -0
- package/es/Mermaid/FullFeatured.mjs +14 -6
- package/es/Mermaid/FullFeatured.mjs.map +1 -1
- package/es/Mermaid/Mermaid.mjs +12 -4
- package/es/Mermaid/Mermaid.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/MermaidFallback.mjs +5 -7
- package/es/Mermaid/SyntaxMermaid/MermaidFallback.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/MermaidSvg.mjs +6 -6
- package/es/Mermaid/SyntaxMermaid/MermaidSvg.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs +7 -7
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs +7 -7
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/index.mjs +16 -4
- package/es/Mermaid/SyntaxMermaid/index.mjs.map +1 -1
- package/es/Mermaid/SyntaxMermaid/style.mjs +21 -0
- package/es/Mermaid/SyntaxMermaid/style.mjs.map +1 -1
- package/es/Mermaid/stable.mjs +29 -0
- package/es/Mermaid/stable.mjs.map +1 -0
- package/es/Modal/Modal.mjs +15 -14
- package/es/Modal/Modal.mjs.map +1 -1
- package/es/Modal/atoms.d.mts +1 -0
- package/es/Modal/atoms.mjs +26 -20
- package/es/Modal/atoms.mjs.map +1 -1
- package/es/Modal/stable.mjs +25 -0
- package/es/Modal/stable.mjs.map +1 -0
- package/es/Modal/style.mjs +12 -0
- package/es/Modal/style.mjs.map +1 -1
- package/es/Pagination/Pagination.mjs +29 -18
- package/es/Pagination/Pagination.mjs.map +1 -1
- package/es/Pagination/stable.mjs +26 -0
- package/es/Pagination/stable.mjs.map +1 -0
- package/es/Pagination/style.mjs +5 -0
- package/es/Pagination/style.mjs.map +1 -1
- package/es/Popover/PopoverInGroup.mjs +4 -3
- package/es/Popover/PopoverInGroup.mjs.map +1 -1
- package/es/Popover/atoms.d.mts +1 -1
- package/es/Popover/atoms.mjs +12 -8
- package/es/Popover/atoms.mjs.map +1 -1
- package/es/Popover/stable.mjs +16 -0
- package/es/Popover/stable.mjs.map +1 -0
- package/es/ProTable/ProTable.mjs +1 -1
- package/es/ProTable/parts/TableAlert.mjs +5 -4
- package/es/ProTable/parts/TableAlert.mjs.map +1 -1
- package/es/ProTable/parts/Toolbar.mjs +4 -3
- package/es/ProTable/parts/Toolbar.mjs.map +1 -1
- package/es/ProTable/parts/renderValue.mjs +1 -1
- package/es/ProTable/stable.mjs +19 -0
- package/es/ProTable/stable.mjs.map +1 -0
- package/es/ProTable/style.mjs +2 -1
- package/es/ProTable/style.mjs.map +1 -1
- package/es/Progress/Progress.mjs +92 -58
- package/es/Progress/Progress.mjs.map +1 -1
- package/es/Progress/stable.mjs +24 -0
- package/es/Progress/stable.mjs.map +1 -0
- package/es/Progress/style.mjs +48 -4
- package/es/Progress/style.mjs.map +1 -1
- package/es/QRCode/QRCode.mjs +19 -16
- package/es/QRCode/QRCode.mjs.map +1 -1
- package/es/QRCode/stable.mjs +17 -0
- package/es/QRCode/stable.mjs.map +1 -0
- package/es/QRCode/style.mjs +12 -2
- package/es/QRCode/style.mjs.map +1 -1
- package/es/Radio/Radio.mjs +21 -16
- package/es/Radio/Radio.mjs.map +1 -1
- package/es/Radio/RadioGroup.mjs +11 -7
- package/es/Radio/RadioGroup.mjs.map +1 -1
- package/es/Radio/stable.mjs +19 -0
- package/es/Radio/stable.mjs.map +1 -0
- package/es/Radio/style.d.mts +18 -0
- package/es/Radio/style.mjs +22 -0
- package/es/Radio/style.mjs.map +1 -1
- package/es/Rate/Rate.mjs +15 -17
- package/es/Rate/Rate.mjs.map +1 -1
- package/es/Rate/stable.mjs +15 -0
- package/es/Rate/stable.mjs.map +1 -0
- package/es/Rate/style.mjs +11 -0
- package/es/Rate/style.mjs.map +1 -1
- package/es/Result/Result.mjs +18 -22
- package/es/Result/Result.mjs.map +1 -1
- package/es/Result/stable.mjs +16 -0
- package/es/Result/stable.mjs.map +1 -0
- package/es/Result/style.mjs +21 -7
- package/es/Result/style.mjs.map +1 -1
- package/es/ScrollArea/atoms.d.mts +4 -1
- package/es/ScrollArea/atoms.mjs +14 -7
- package/es/ScrollArea/atoms.mjs.map +1 -1
- package/es/ScrollArea/stable.mjs +16 -0
- package/es/ScrollArea/stable.mjs.map +1 -0
- package/es/ScrollShadow/ScrollShadow.mjs +9 -7
- package/es/ScrollShadow/ScrollShadow.mjs.map +1 -1
- package/es/ScrollShadow/stable.mjs +11 -0
- package/es/ScrollShadow/stable.mjs.map +1 -0
- package/es/ScrollShadow/style.mjs +7 -6
- package/es/ScrollShadow/style.mjs.map +1 -1
- package/es/SearchBar/SearchBar.mjs +9 -7
- package/es/SearchBar/SearchBar.mjs.map +1 -1
- package/es/SearchBar/stable.mjs +15 -0
- package/es/SearchBar/stable.mjs.map +1 -0
- package/es/SearchBar/style.mjs +1 -0
- package/es/SearchBar/style.mjs.map +1 -1
- package/es/Segmented/Segmented.mjs +3 -1
- package/es/Segmented/Segmented.mjs.map +1 -1
- package/es/Segmented/atoms.mjs +13 -6
- package/es/Segmented/atoms.mjs.map +1 -1
- package/es/Segmented/stable.mjs +22 -0
- package/es/Segmented/stable.mjs.map +1 -0
- package/es/Select/Select.mjs +21 -10
- package/es/Select/Select.mjs.map +1 -1
- package/es/Select/atoms.mjs +17 -16
- package/es/Select/atoms.mjs.map +1 -1
- package/es/Select/parts.mjs +8 -6
- package/es/Select/parts.mjs.map +1 -1
- package/es/Select/renderOptions.mjs +7 -6
- package/es/Select/renderOptions.mjs.map +1 -1
- package/es/Select/stable.mjs +35 -0
- package/es/Select/stable.mjs.map +1 -0
- package/es/Select/style.mjs +5 -0
- package/es/Select/style.mjs.map +1 -1
- package/es/SideNav/SideNav.mjs +6 -1
- package/es/SideNav/SideNav.mjs.map +1 -1
- package/es/SideNav/stable.mjs +14 -0
- package/es/SideNav/stable.mjs.map +1 -0
- package/es/Skeleton/Skeleton.mjs +13 -4
- package/es/Skeleton/Skeleton.mjs.map +1 -1
- package/es/Skeleton/SkeletonAvatar.mjs +8 -6
- package/es/Skeleton/SkeletonAvatar.mjs.map +1 -1
- package/es/Skeleton/SkeletonText.mjs +17 -8
- package/es/Skeleton/SkeletonText.mjs.map +1 -1
- package/es/Skeleton/stable.mjs +20 -0
- package/es/Skeleton/stable.mjs.map +1 -0
- package/es/Skeleton/style.mjs +21 -0
- package/es/Skeleton/style.mjs.map +1 -1
- package/es/Slider/Slider.mjs +6 -4
- package/es/Slider/Slider.mjs.map +1 -1
- package/es/Slider/SliderWithInput.mjs +10 -7
- package/es/Slider/SliderWithInput.mjs.map +1 -1
- package/es/Slider/stable.mjs +20 -0
- package/es/Slider/stable.mjs.map +1 -0
- package/es/Slider/style.d.mts +3 -0
- package/es/Slider/style.mjs +4 -0
- package/es/Slider/style.mjs.map +1 -1
- package/es/Snippet/Snippet.mjs +11 -3
- package/es/Snippet/Snippet.mjs.map +1 -1
- package/es/Snippet/stable.mjs +15 -0
- package/es/Snippet/stable.mjs.map +1 -0
- package/es/SortableList/SortableList.mjs +5 -3
- package/es/SortableList/SortableList.mjs.map +1 -1
- package/es/SortableList/components/DragHandle.mjs +4 -1
- package/es/SortableList/components/DragHandle.mjs.map +1 -1
- package/es/SortableList/components/SortableItem.mjs +8 -1
- package/es/SortableList/components/SortableItem.mjs.map +1 -1
- package/es/SortableList/stable.mjs +10 -0
- package/es/SortableList/stable.mjs.map +1 -0
- package/es/Spin/Spin.mjs +15 -6
- package/es/Spin/Spin.mjs.map +1 -1
- package/es/Spin/stable.mjs +15 -0
- package/es/Spin/stable.mjs.map +1 -0
- package/es/Statistic/Statistic.mjs +17 -11
- package/es/Statistic/Statistic.mjs.map +1 -1
- package/es/Statistic/stable.mjs +18 -0
- package/es/Statistic/stable.mjs.map +1 -0
- package/es/Statistic/style.mjs +5 -0
- package/es/Statistic/style.mjs.map +1 -1
- package/es/Steps/Steps.mjs +16 -12
- package/es/Steps/Steps.mjs.map +1 -1
- package/es/Steps/stable.mjs +18 -0
- package/es/Steps/stable.mjs.map +1 -0
- package/es/Steps/style.mjs +5 -0
- package/es/Steps/style.mjs.map +1 -1
- package/es/Switch/Switch.mjs +3 -1
- package/es/Switch/Switch.mjs.map +1 -1
- package/es/Switch/atoms.mjs +7 -4
- package/es/Switch/atoms.mjs.map +1 -1
- package/es/Switch/stable.mjs +11 -0
- package/es/Switch/stable.mjs.map +1 -0
- package/es/Table/Table.mjs +1 -1
- package/es/Table/atoms/cells.mjs +1 -1
- package/es/Table/atoms/layout.mjs +6 -1
- package/es/Table/atoms/layout.mjs.map +1 -1
- package/es/Table/render/Body.mjs +1 -1
- package/es/Table/render/CellShell.mjs +1 -1
- package/es/Table/render/ExpandIcon.mjs +1 -1
- package/es/Table/render/FilterDropdown.mjs +1 -1
- package/es/Table/render/FilterPanel.mjs +1 -1
- package/es/Table/render/Header.mjs +1 -1
- package/es/Table/render/PaginationBar.mjs +1 -1
- package/es/Table/render/SelectionCells.mjs +1 -1
- package/es/Table/render/StickyScrollBar.mjs +1 -1
- package/es/Table/render/TableView.mjs +1 -1
- package/es/Table/semantic.mjs +19 -6
- package/es/Table/semantic.mjs.map +1 -1
- package/es/Table/stable.mjs +23 -0
- package/es/Table/stable.mjs.map +1 -0
- package/es/Tabs/Tabs.mjs +1 -1
- package/es/Tabs/atoms.mjs +13 -6
- package/es/Tabs/atoms.mjs.map +1 -1
- package/es/Tabs/stable.mjs +16 -0
- package/es/Tabs/stable.mjs.map +1 -0
- package/es/Tag/Tag.mjs +14 -5
- package/es/Tag/Tag.mjs.map +1 -1
- package/es/Tag/stable.mjs +16 -0
- package/es/Tag/stable.mjs.map +1 -0
- package/es/Tag/style.mjs +8 -0
- package/es/Tag/style.mjs.map +1 -1
- package/es/Text/Text.mjs +5 -2
- package/es/Text/Text.mjs.map +1 -1
- package/es/Text/stable.mjs +11 -0
- package/es/Text/stable.mjs.map +1 -0
- package/es/Text/style.d.mts +1 -1
- package/es/Toast/Toast.mjs +22 -19
- package/es/Toast/Toast.mjs.map +1 -1
- package/es/Toast/imperative.mjs +4 -1
- package/es/Toast/imperative.mjs.map +1 -1
- package/es/Toast/stable.mjs +23 -0
- package/es/Toast/stable.mjs.map +1 -0
- package/es/Toast/style.mjs +4 -0
- package/es/Toast/style.mjs.map +1 -1
- package/es/ToggleGroup/ToggleGroup.mjs +3 -1
- package/es/ToggleGroup/ToggleGroup.mjs.map +1 -1
- package/es/ToggleGroup/atoms.mjs +6 -5
- package/es/ToggleGroup/atoms.mjs.map +1 -1
- package/es/ToggleGroup/stable.mjs +15 -0
- package/es/ToggleGroup/stable.mjs.map +1 -0
- package/es/Tooltip/TooltipGroup.mjs +7 -5
- package/es/Tooltip/TooltipGroup.mjs.map +1 -1
- package/es/Tooltip/TooltipInGroup.mjs +4 -0
- package/es/Tooltip/TooltipInGroup.mjs.map +1 -1
- package/es/Tooltip/TooltipStandalone.mjs +9 -5
- package/es/Tooltip/TooltipStandalone.mjs.map +1 -1
- package/es/Tooltip/stable.mjs +16 -0
- package/es/Tooltip/stable.mjs.map +1 -0
- package/es/Tree/Tree.mjs +3 -2
- package/es/Tree/Tree.mjs.map +1 -1
- package/es/Tree/TreeNode.mjs +9 -8
- package/es/Tree/TreeNode.mjs.map +1 -1
- package/es/Tree/stable.mjs +18 -0
- package/es/Tree/stable.mjs.map +1 -0
- package/es/Upload/Upload.mjs +15 -8
- package/es/Upload/Upload.mjs.map +1 -1
- package/es/Upload/UploadDragger.mjs +4 -1
- package/es/Upload/UploadDragger.mjs.map +1 -1
- package/es/Upload/stable.mjs +20 -0
- package/es/Upload/stable.mjs.map +1 -0
- package/es/Upload/style.mjs +4 -0
- package/es/Upload/style.mjs.map +1 -1
- package/es/Video/Video.mjs +1 -1
- package/es/Video/parts/Caption.mjs +3 -1
- package/es/Video/parts/Caption.mjs.map +1 -1
- package/es/Video/parts/CenterPlay.mjs +2 -1
- package/es/Video/parts/CenterPlay.mjs.map +1 -1
- package/es/Video/parts/Controls.mjs +5 -3
- package/es/Video/parts/Controls.mjs.map +1 -1
- package/es/Video/parts/Frame.mjs +5 -3
- package/es/Video/parts/Frame.mjs.map +1 -1
- package/es/Video/parts/LoadError.mjs +2 -1
- package/es/Video/parts/LoadError.mjs.map +1 -1
- package/es/Video/parts/Root.mjs +3 -1
- package/es/Video/parts/Root.mjs.map +1 -1
- package/es/Video/parts/SectionList.mjs +4 -2
- package/es/Video/parts/SectionList.mjs.map +1 -1
- package/es/Video/parts/Timeline.mjs +8 -15
- package/es/Video/parts/Timeline.mjs.map +1 -1
- package/es/Video/stable.mjs +27 -0
- package/es/Video/stable.mjs.map +1 -0
- package/es/Video/style.mjs +14 -0
- package/es/Video/style.mjs.map +1 -1
- package/es/awesome/AgentSkillCard/AgentSkillCard.mjs +13 -9
- package/es/awesome/AgentSkillCard/AgentSkillCard.mjs.map +1 -1
- package/es/awesome/AgentSkillCard/stable.mjs +19 -0
- package/es/awesome/AgentSkillCard/stable.mjs.map +1 -0
- package/es/awesome/AgentSkillCard/style.mjs +1 -5
- package/es/awesome/AgentSkillCard/style.mjs.map +1 -1
- package/es/awesome/AuroraBackground/AuroraBackground.mjs +7 -9
- package/es/awesome/AuroraBackground/AuroraBackground.mjs.map +1 -1
- package/es/awesome/AuroraBackground/stable.mjs +14 -0
- package/es/awesome/AuroraBackground/stable.mjs.map +1 -0
- package/es/awesome/AuroraBackground/style.mjs +4 -0
- package/es/awesome/AuroraBackground/style.mjs.map +1 -1
- package/es/awesome/BentoGrid/BentoCard.mjs +12 -11
- package/es/awesome/BentoGrid/BentoCard.mjs.map +1 -1
- package/es/awesome/BentoGrid/BentoGrid.mjs +6 -4
- package/es/awesome/BentoGrid/BentoGrid.mjs.map +1 -1
- package/es/awesome/BentoGrid/stable.mjs +20 -0
- package/es/awesome/BentoGrid/stable.mjs.map +1 -0
- package/es/awesome/BentoGrid/style.mjs +6 -2
- package/es/awesome/BentoGrid/style.mjs.map +1 -1
- package/es/awesome/BottomGradientButton/BottomGradientButton.mjs +4 -6
- package/es/awesome/BottomGradientButton/BottomGradientButton.mjs.map +1 -1
- package/es/awesome/BottomGradientButton/stable.mjs +10 -0
- package/es/awesome/BottomGradientButton/stable.mjs.map +1 -0
- package/es/awesome/BottomGradientButton/style.mjs +2 -0
- package/es/awesome/BottomGradientButton/style.mjs.map +1 -1
- package/es/awesome/CodeShowcase/CodeShowcase.mjs +9 -8
- package/es/awesome/CodeShowcase/CodeShowcase.mjs.map +1 -1
- package/es/awesome/CodeShowcase/stable.mjs +15 -0
- package/es/awesome/CodeShowcase/stable.mjs.map +1 -0
- package/es/awesome/CodeShowcase/style.mjs +2 -12
- package/es/awesome/CodeShowcase/style.mjs.map +1 -1
- package/es/awesome/FeatureGrid/FeatureGrid.mjs +10 -9
- package/es/awesome/FeatureGrid/FeatureGrid.mjs.map +1 -1
- package/es/awesome/FeatureGrid/stable.mjs +15 -0
- package/es/awesome/FeatureGrid/stable.mjs.map +1 -0
- package/es/awesome/FeatureGrid/style.mjs +2 -1
- package/es/awesome/FeatureGrid/style.mjs.map +1 -1
- package/es/awesome/Features/FeatureItem.mjs +12 -12
- package/es/awesome/Features/FeatureItem.mjs.map +1 -1
- package/es/awesome/Features/Features.mjs +5 -3
- package/es/awesome/Features/Features.mjs.map +1 -1
- package/es/awesome/Features/stable.mjs +18 -0
- package/es/awesome/Features/stable.mjs.map +1 -0
- package/es/awesome/Features/style.mjs +1 -14
- package/es/awesome/Features/style.mjs.map +1 -1
- package/es/awesome/FluidGradient/FluidGradient.mjs +4 -3
- package/es/awesome/FluidGradient/FluidGradient.mjs.map +1 -1
- package/es/awesome/FluidGradient/stable.mjs +11 -0
- package/es/awesome/FluidGradient/stable.mjs.map +1 -0
- package/es/awesome/Giscus/Giscus.mjs +3 -1
- package/es/awesome/Giscus/Giscus.mjs.map +1 -1
- package/es/awesome/Giscus/stable.mjs +10 -0
- package/es/awesome/Giscus/stable.mjs.map +1 -0
- package/es/awesome/GradientButton/GradientButton.mjs +5 -3
- package/es/awesome/GradientButton/GradientButton.mjs.map +1 -1
- package/es/awesome/GradientButton/stable.mjs +10 -0
- package/es/awesome/GradientButton/stable.mjs.map +1 -0
- package/es/awesome/Grainient/Grainient.mjs +4 -3
- package/es/awesome/Grainient/Grainient.mjs.map +1 -1
- package/es/awesome/Grainient/stable.mjs +10 -0
- package/es/awesome/Grainient/stable.mjs.map +1 -0
- package/es/awesome/GridBackground/GridBackground.mjs +10 -10
- package/es/awesome/GridBackground/GridBackground.mjs.map +1 -1
- package/es/awesome/GridBackground/GridShowcase.mjs +9 -10
- package/es/awesome/GridBackground/GridShowcase.mjs.map +1 -1
- package/es/awesome/GridBackground/components/Grid.mjs +3 -1
- package/es/awesome/GridBackground/components/Grid.mjs.map +1 -1
- package/es/awesome/GridBackground/stable.mjs +24 -0
- package/es/awesome/GridBackground/stable.mjs.map +1 -0
- package/es/awesome/GridBackground/style.mjs +27 -1
- package/es/awesome/GridBackground/style.mjs.map +1 -1
- package/es/awesome/Hero/Hero.mjs +11 -13
- package/es/awesome/Hero/Hero.mjs.map +1 -1
- package/es/awesome/Hero/stable.mjs +16 -0
- package/es/awesome/Hero/stable.mjs.map +1 -0
- package/es/awesome/Hero/style.mjs +5 -0
- package/es/awesome/Hero/style.mjs.map +1 -1
- package/es/awesome/Hero/type.d.mts +1 -0
- package/es/awesome/InstallBanner/InstallBanner.mjs +7 -7
- package/es/awesome/InstallBanner/InstallBanner.mjs.map +1 -1
- package/es/awesome/InstallBanner/stable.mjs +15 -0
- package/es/awesome/InstallBanner/stable.mjs.map +1 -0
- package/es/awesome/LandingHero/LandingHero.mjs +13 -12
- package/es/awesome/LandingHero/LandingHero.mjs.map +1 -1
- package/es/awesome/LandingHero/stable.mjs +21 -0
- package/es/awesome/LandingHero/stable.mjs.map +1 -0
- package/es/awesome/LandingSection/LandingSection.mjs +10 -9
- package/es/awesome/LandingSection/LandingSection.mjs.map +1 -1
- package/es/awesome/LandingSection/stable.mjs +18 -0
- package/es/awesome/LandingSection/stable.mjs.map +1 -0
- package/es/awesome/LogoMarquee/LogoMarquee.mjs +11 -11
- package/es/awesome/LogoMarquee/LogoMarquee.mjs.map +1 -1
- package/es/awesome/LogoMarquee/stable.mjs +15 -0
- package/es/awesome/LogoMarquee/stable.mjs.map +1 -0
- package/es/awesome/LogoMarquee/style.mjs +8 -5
- package/es/awesome/LogoMarquee/style.mjs.map +1 -1
- package/es/awesome/Spotlight/Spotlight.mjs +5 -1
- package/es/awesome/Spotlight/Spotlight.mjs.map +1 -1
- package/es/awesome/Spotlight/stable.mjs +11 -0
- package/es/awesome/Spotlight/stable.mjs.map +1 -0
- package/es/awesome/SpotlightCard/SpotlightCard.mjs +4 -2
- package/es/awesome/SpotlightCard/SpotlightCard.mjs.map +1 -1
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs +2 -2
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs.map +1 -1
- package/es/awesome/SpotlightCard/stable.mjs +10 -0
- package/es/awesome/SpotlightCard/stable.mjs.map +1 -0
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs +8 -7
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs.map +1 -1
- package/es/awesome/TypewriterEffect/stable.mjs +14 -0
- package/es/awesome/TypewriterEffect/stable.mjs.map +1 -0
- package/es/awesome/TypewriterEffect/style.mjs +4 -0
- package/es/awesome/TypewriterEffect/style.mjs.map +1 -1
- package/es/awesome/landingActions.mjs +1 -1
- package/es/brand/BrandLoading/index.mjs +4 -2
- package/es/brand/BrandLoading/index.mjs.map +1 -1
- package/es/brand/BrandLoading/stable.mjs +10 -0
- package/es/brand/BrandLoading/stable.mjs.map +1 -0
- package/es/brand/LobeChat/index.mjs +23 -11
- package/es/brand/LobeChat/index.mjs.map +1 -1
- package/es/brand/LobeChat/stable.mjs +16 -0
- package/es/brand/LobeChat/stable.mjs.map +1 -0
- package/es/brand/LobeChatText/index.mjs +6 -6
- package/es/brand/LobeChatText/index.mjs.map +1 -1
- package/es/brand/LobeChatText/stable.mjs +10 -0
- package/es/brand/LobeChatText/stable.mjs.map +1 -0
- package/es/brand/LobeHub/index.mjs +23 -11
- package/es/brand/LobeHub/index.mjs.map +1 -1
- package/es/brand/LobeHub/stable.mjs +16 -0
- package/es/brand/LobeHub/stable.mjs.map +1 -0
- package/es/brand/LobeHub/style.mjs +11 -5
- package/es/brand/LobeHub/style.mjs.map +1 -1
- package/es/brand/LobeHubText/index.mjs +6 -6
- package/es/brand/LobeHubText/index.mjs.map +1 -1
- package/es/brand/LobeHubText/stable.mjs +10 -0
- package/es/brand/LobeHubText/stable.mjs.map +1 -0
- package/es/brand/Logo3d/index.mjs +4 -1
- package/es/brand/Logo3d/index.mjs.map +1 -1
- package/es/brand/Logo3d/stable.mjs +10 -0
- package/es/brand/Logo3d/stable.mjs.map +1 -0
- package/es/brand/components/Divider.mjs +4 -6
- package/es/brand/components/Divider.mjs.map +1 -1
- package/es/brand/components/style.mjs +10 -0
- package/es/brand/components/style.mjs.map +1 -0
- package/es/chat/BackBottom/BackBottom.mjs +5 -1
- package/es/chat/BackBottom/BackBottom.mjs.map +1 -1
- package/es/chat/BackBottom/stable.mjs +11 -0
- package/es/chat/BackBottom/stable.mjs.map +1 -0
- package/es/chat/ChatHeader/ChatHeader.mjs +7 -4
- package/es/chat/ChatHeader/ChatHeader.mjs.map +1 -1
- package/es/chat/ChatHeader/ChatHeaderTitle.mjs +9 -7
- package/es/chat/ChatHeader/ChatHeaderTitle.mjs.map +1 -1
- package/es/chat/ChatHeader/stable.mjs +19 -0
- package/es/chat/ChatHeader/stable.mjs.map +1 -0
- package/es/chat/ChatInputArea/ChatInputArea.mjs +11 -18
- package/es/chat/ChatInputArea/ChatInputArea.mjs.map +1 -1
- package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs +7 -4
- package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs.map +1 -1
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs +11 -7
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs.map +1 -1
- package/es/chat/ChatInputArea/stable.mjs +29 -0
- package/es/chat/ChatInputArea/stable.mjs.map +1 -0
- package/es/chat/ChatInputArea/style.mjs +8 -1
- package/es/chat/ChatInputArea/style.mjs.map +1 -1
- package/es/chat/ChatInputArea/type.d.mts +2 -0
- package/es/chat/ChatItem/ChatItem.mjs +18 -9
- package/es/chat/ChatItem/ChatItem.mjs.map +1 -1
- package/es/chat/ChatItem/components/Actions.mjs +3 -1
- package/es/chat/ChatItem/components/Actions.mjs.map +1 -1
- package/es/chat/ChatItem/components/Avatar.mjs +6 -5
- package/es/chat/ChatItem/components/Avatar.mjs.map +1 -1
- package/es/chat/ChatItem/components/BorderSpacing.mjs +4 -4
- package/es/chat/ChatItem/components/BorderSpacing.mjs.map +1 -1
- package/es/chat/ChatItem/components/ErrorContent.mjs +3 -2
- package/es/chat/ChatItem/components/ErrorContent.mjs.map +1 -1
- package/es/chat/ChatItem/components/Loading.mjs +3 -2
- package/es/chat/ChatItem/components/Loading.mjs.map +1 -1
- package/es/chat/ChatItem/components/MessageContent.mjs +12 -2
- package/es/chat/ChatItem/components/MessageContent.mjs.map +1 -1
- package/es/chat/ChatItem/components/Title.mjs +7 -3
- package/es/chat/ChatItem/components/Title.mjs.map +1 -1
- package/es/chat/ChatItem/stable.mjs +29 -0
- package/es/chat/ChatItem/stable.mjs.map +1 -0
- package/es/chat/ChatItem/style.mjs +12 -0
- package/es/chat/ChatItem/style.mjs.map +1 -1
- package/es/chat/ChatList/ChatList.mjs +6 -2
- package/es/chat/ChatList/ChatList.mjs.map +1 -1
- package/es/chat/ChatList/components/ChatActionsBar.mjs +4 -1
- package/es/chat/ChatList/components/ChatActionsBar.mjs.map +1 -1
- package/es/chat/ChatList/components/HistoryDivider.mjs +4 -1
- package/es/chat/ChatList/components/HistoryDivider.mjs.map +1 -1
- package/es/chat/ChatList/stable.mjs +15 -0
- package/es/chat/ChatList/stable.mjs.map +1 -0
- package/es/chat/ChatList/style.mjs +11 -4
- package/es/chat/ChatList/style.mjs.map +1 -1
- package/es/chat/EditableMessage/EditableMessage.mjs +6 -3
- package/es/chat/EditableMessage/EditableMessage.mjs.map +1 -1
- package/es/chat/EditableMessage/stable.mjs +11 -0
- package/es/chat/EditableMessage/stable.mjs.map +1 -0
- package/es/chat/EditableMessageList/EditableMessageList.mjs +10 -1
- package/es/chat/EditableMessageList/EditableMessageList.mjs.map +1 -1
- package/es/chat/EditableMessageList/stable.mjs +16 -0
- package/es/chat/EditableMessageList/stable.mjs.map +1 -0
- package/es/chat/EditableMessageList/type.d.mts +3 -0
- package/es/chat/LoadingDots/LoadingDots.mjs +27 -58
- package/es/chat/LoadingDots/LoadingDots.mjs.map +1 -1
- package/es/chat/LoadingDots/stable.mjs +11 -0
- package/es/chat/LoadingDots/stable.mjs.map +1 -0
- package/es/chat/LoadingDots/style.mjs +31 -1
- package/es/chat/LoadingDots/style.mjs.map +1 -1
- package/es/chat/MessageInput/MessageInput.mjs +12 -14
- package/es/chat/MessageInput/MessageInput.mjs.map +1 -1
- package/es/chat/MessageInput/stable.mjs +15 -0
- package/es/chat/MessageInput/stable.mjs.map +1 -0
- package/es/chat/MessageInput/style.mjs +6 -9
- package/es/chat/MessageInput/style.mjs.map +1 -1
- package/es/chat/MessageModal/MessageModal.mjs +30 -24
- package/es/chat/MessageModal/MessageModal.mjs.map +1 -1
- package/es/chat/MessageModal/stable.mjs +15 -0
- package/es/chat/MessageModal/stable.mjs.map +1 -0
- package/es/chat/MessageModal/type.d.mts +1 -1
- package/es/chat/TokenTag/TokenTag.mjs +10 -1
- package/es/chat/TokenTag/TokenTag.mjs.map +1 -1
- package/es/chat/TokenTag/stable.mjs +11 -0
- package/es/chat/TokenTag/stable.mjs.map +1 -0
- package/es/color/ColorScales/ScaleRow.mjs +23 -31
- package/es/color/ColorScales/ScaleRow.mjs.map +1 -1
- package/es/color/ColorScales/index.d.mts +3 -0
- package/es/color/ColorScales/index.mjs +17 -9
- package/es/color/ColorScales/index.mjs.map +1 -1
- package/es/color/ColorScales/stable.mjs +19 -0
- package/es/color/ColorScales/stable.mjs.map +1 -0
- package/es/color/ColorScales/style.mjs +31 -5
- package/es/color/ColorScales/style.mjs.map +1 -1
- package/es/color/CssVar/ScaleRow.mjs +17 -14
- package/es/color/CssVar/ScaleRow.mjs.map +1 -1
- package/es/color/CssVar/VarRow.mjs +17 -12
- package/es/color/CssVar/VarRow.mjs.map +1 -1
- package/es/color/CssVar/index.d.mts +3 -0
- package/es/color/CssVar/index.mjs +26 -22
- package/es/color/CssVar/index.mjs.map +1 -1
- package/es/color/CssVar/stable.mjs +19 -0
- package/es/color/CssVar/stable.mjs.map +1 -0
- package/es/color/CssVar/style.mjs +16 -0
- package/es/color/CssVar/style.mjs.map +1 -1
- package/es/dashboard/AuthLayout/Aside.mjs +8 -7
- package/es/dashboard/AuthLayout/Aside.mjs.map +1 -1
- package/es/dashboard/AuthLayout/AuthLayout.mjs +29 -25
- package/es/dashboard/AuthLayout/AuthLayout.mjs.map +1 -1
- package/es/dashboard/AuthLayout/stable.mjs +37 -0
- package/es/dashboard/AuthLayout/stable.mjs.map +1 -0
- package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs +8 -7
- package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs.map +1 -1
- package/es/dashboard/AuthTools/AuthThemeSwitch.mjs +7 -6
- package/es/dashboard/AuthTools/AuthThemeSwitch.mjs.map +1 -1
- package/es/dashboard/AuthTools/stable.mjs +18 -0
- package/es/dashboard/AuthTools/stable.mjs.map +1 -0
- package/es/dashboard/Breadcrumb/Breadcrumb.d.mts +1 -1
- package/es/dashboard/Breadcrumb/Breadcrumb.mjs +12 -8
- package/es/dashboard/Breadcrumb/Breadcrumb.mjs.map +1 -1
- package/es/dashboard/Breadcrumb/stable.mjs +17 -0
- package/es/dashboard/Breadcrumb/stable.mjs.map +1 -0
- package/es/dashboard/Breadcrumb/type.d.mts +1 -0
- package/es/dashboard/ChartGrid/ChartGrid.mjs +4 -3
- package/es/dashboard/ChartGrid/ChartGrid.mjs.map +1 -1
- package/es/dashboard/ChartGrid/stable.mjs +10 -0
- package/es/dashboard/ChartGrid/stable.mjs.map +1 -0
- package/es/dashboard/ConsoleNav/ConsoleNav.d.mts +1 -1
- package/es/dashboard/ConsoleNav/ConsoleNav.mjs +67 -20
- package/es/dashboard/ConsoleNav/ConsoleNav.mjs.map +1 -1
- package/es/dashboard/ConsoleNav/Skeleton.d.mts +3 -1
- package/es/dashboard/ConsoleNav/Skeleton.mjs +14 -8
- package/es/dashboard/ConsoleNav/Skeleton.mjs.map +1 -1
- package/es/dashboard/ConsoleNav/stable.mjs +41 -0
- package/es/dashboard/ConsoleNav/stable.mjs.map +1 -0
- package/es/dashboard/ConsoleNav/type.d.mts +1 -0
- package/es/dashboard/ConsoleShell/ConsoleBrand.d.mts +1 -1
- package/es/dashboard/ConsoleShell/ConsoleBrand.mjs +7 -5
- package/es/dashboard/ConsoleShell/ConsoleBrand.mjs.map +1 -1
- package/es/dashboard/ConsoleShell/ConsoleShell.mjs +25 -14
- package/es/dashboard/ConsoleShell/ConsoleShell.mjs.map +1 -1
- package/es/dashboard/ConsoleShell/stable.mjs +29 -0
- package/es/dashboard/ConsoleShell/stable.mjs.map +1 -0
- package/es/dashboard/ConsoleShell/type.d.mts +1 -0
- package/es/dashboard/FilterSidebar/FilterSidebar.d.mts +3 -3
- package/es/dashboard/FilterSidebar/FilterSidebar.mjs +25 -19
- package/es/dashboard/FilterSidebar/FilterSidebar.mjs.map +1 -1
- package/es/dashboard/FilterSidebar/stable.mjs +28 -0
- package/es/dashboard/FilterSidebar/stable.mjs.map +1 -0
- package/es/dashboard/FilterSidebar/type.d.mts +3 -0
- package/es/dashboard/FilterStrip/FilterStrip.d.mts +1 -1
- package/es/dashboard/FilterStrip/FilterStrip.mjs +15 -7
- package/es/dashboard/FilterStrip/FilterStrip.mjs.map +1 -1
- package/es/dashboard/FilterStrip/stable.mjs +17 -0
- package/es/dashboard/FilterStrip/stable.mjs.map +1 -0
- package/es/dashboard/FilterStrip/type.d.mts +1 -0
- package/es/dashboard/LabelWithKey/LabelWithKey.d.mts +1 -1
- package/es/dashboard/LabelWithKey/LabelWithKey.mjs +8 -2
- package/es/dashboard/LabelWithKey/LabelWithKey.mjs.map +1 -1
- package/es/dashboard/LabelWithKey/stable.mjs +10 -0
- package/es/dashboard/LabelWithKey/stable.mjs.map +1 -0
- package/es/dashboard/MetricStrip/MetricCell.mjs +24 -14
- package/es/dashboard/MetricStrip/MetricCell.mjs.map +1 -1
- package/es/dashboard/MetricStrip/MetricStrip.d.mts +1 -1
- package/es/dashboard/MetricStrip/MetricStrip.mjs +18 -6
- package/es/dashboard/MetricStrip/MetricStrip.mjs.map +1 -1
- package/es/dashboard/MetricStrip/stable.mjs +30 -0
- package/es/dashboard/MetricStrip/stable.mjs.map +1 -0
- package/es/dashboard/MetricStrip/type.d.mts +1 -0
- package/es/dashboard/PageHeader/PageHeader.d.mts +1 -1
- package/es/dashboard/PageHeader/PageHeader.mjs +9 -17
- package/es/dashboard/PageHeader/PageHeader.mjs.map +1 -1
- package/es/dashboard/PageHeader/stable.mjs +16 -0
- package/es/dashboard/PageHeader/stable.mjs.map +1 -0
- package/es/dashboard/PageHeader/type.d.mts +1 -0
- package/es/dashboard/PageSkeleton/PageSkeleton.d.mts +7 -5
- package/es/dashboard/PageSkeleton/PageSkeleton.mjs +46 -46
- package/es/dashboard/PageSkeleton/PageSkeleton.mjs.map +1 -1
- package/es/dashboard/PageSkeleton/stable.mjs +43 -0
- package/es/dashboard/PageSkeleton/stable.mjs.map +1 -0
- package/es/dashboard/PageSkeleton/style.mjs +4 -3
- package/es/dashboard/PageSkeleton/style.mjs.map +1 -1
- package/es/dashboard/PageSkeleton/type.d.mts +4 -0
- package/es/dashboard/PageTabs/PageTabs.d.mts +1 -1
- package/es/dashboard/PageTabs/PageTabs.mjs +10 -16
- package/es/dashboard/PageTabs/PageTabs.mjs.map +1 -1
- package/es/dashboard/PageTabs/stable.mjs +16 -0
- package/es/dashboard/PageTabs/stable.mjs.map +1 -0
- package/es/dashboard/PageTabs/type.d.mts +1 -0
- package/es/dashboard/PageToolbar/PageToolbar.mjs +5 -4
- package/es/dashboard/PageToolbar/PageToolbar.mjs.map +1 -1
- package/es/dashboard/PageToolbar/stable.mjs +10 -0
- package/es/dashboard/PageToolbar/stable.mjs.map +1 -0
- package/es/dashboard/PanelSurface/PanelSurface.mjs +7 -4
- package/es/dashboard/PanelSurface/PanelSurface.mjs.map +1 -1
- package/es/dashboard/PanelSurface/stable.mjs +11 -0
- package/es/dashboard/PanelSurface/stable.mjs.map +1 -0
- package/es/dashboard/RouteProgress/RouteProgress.d.mts +1 -1
- package/es/dashboard/RouteProgress/RouteProgress.mjs +8 -8
- package/es/dashboard/RouteProgress/RouteProgress.mjs.map +1 -1
- package/es/dashboard/RouteProgress/stable.mjs +10 -0
- package/es/dashboard/RouteProgress/stable.mjs.map +1 -0
- package/es/dashboard/RouteProgress/style.mjs +1 -0
- package/es/dashboard/RouteProgress/style.mjs.map +1 -1
- package/es/dashboard/RouteProgress/type.d.mts +1 -0
- package/es/dashboard/Section/Section.mjs +17 -8
- package/es/dashboard/Section/Section.mjs.map +1 -1
- package/es/dashboard/Section/stable.mjs +19 -0
- package/es/dashboard/Section/stable.mjs.map +1 -0
- package/es/dashboard/StatCard/StatCard.mjs +9 -1
- package/es/dashboard/StatCard/StatCard.mjs.map +1 -1
- package/es/dashboard/StatCard/stable.mjs +23 -0
- package/es/dashboard/StatCard/stable.mjs.map +1 -0
- package/es/dashboard/Surface/Surface.mjs +19 -14
- package/es/dashboard/Surface/Surface.mjs.map +1 -1
- package/es/dashboard/Surface/stable.mjs +23 -0
- package/es/dashboard/Surface/stable.mjs.map +1 -0
- package/es/dashboard/TableIconActions/TableIconActions.d.mts +2 -2
- package/es/dashboard/TableIconActions/TableIconActions.mjs +6 -2
- package/es/dashboard/TableIconActions/TableIconActions.mjs.map +1 -1
- package/es/dashboard/TableIconActions/stable.mjs +14 -0
- package/es/dashboard/TableIconActions/stable.mjs.map +1 -0
- package/es/dashboard/TableIconActions/type.d.mts +2 -0
- package/es/dashboard/TitleWithTips/TitleWithTips.mjs +13 -3
- package/es/dashboard/TitleWithTips/TitleWithTips.mjs.map +1 -1
- package/es/dashboard/TitleWithTips/stable.mjs +10 -0
- package/es/dashboard/TitleWithTips/stable.mjs.map +1 -0
- package/es/hooks/useMarkdown/useMarkdownRemarkPlugins.mjs +2 -0
- package/es/hooks/useMarkdown/useMarkdownRemarkPlugins.mjs.map +1 -1
- package/es/internal/overflow/OverflowList.mjs +1 -1
- package/es/mdx/Callout/index.mjs +18 -45
- package/es/mdx/Callout/index.mjs.map +1 -1
- package/es/mdx/Callout/stable.mjs +15 -0
- package/es/mdx/Callout/stable.mjs.map +1 -0
- package/es/mdx/Callout/style.mjs +34 -0
- package/es/mdx/Callout/style.mjs.map +1 -1
- package/es/mdx/Cards/Card.mjs +15 -22
- package/es/mdx/Cards/Card.mjs.map +1 -1
- package/es/mdx/Cards/index.mjs +3 -2
- package/es/mdx/Cards/index.mjs.map +1 -1
- package/es/mdx/Cards/stable.mjs +20 -0
- package/es/mdx/Cards/stable.mjs.map +1 -0
- package/es/mdx/Cards/style.mjs +10 -0
- package/es/mdx/Cards/style.mjs.map +1 -1
- package/es/mdx/FileTree/File.mjs +11 -2
- package/es/mdx/FileTree/File.mjs.map +1 -1
- package/es/mdx/FileTree/Folder.mjs +16 -4
- package/es/mdx/FileTree/Folder.mjs.map +1 -1
- package/es/mdx/FileTree/index.mjs +3 -1
- package/es/mdx/FileTree/index.mjs.map +1 -1
- package/es/mdx/FileTree/stable.mjs +18 -0
- package/es/mdx/FileTree/stable.mjs.map +1 -0
- package/es/mdx/Mdx/index.mjs +5 -2
- package/es/mdx/Mdx/index.mjs.map +1 -1
- package/es/mdx/Mdx/stable.mjs +11 -0
- package/es/mdx/Mdx/stable.mjs.map +1 -0
- package/es/mdx/Steps/index.mjs +3 -2
- package/es/mdx/Steps/index.mjs.map +1 -1
- package/es/mdx/Steps/stable.mjs +10 -0
- package/es/mdx/Steps/stable.mjs.map +1 -0
- package/es/mdx/Tabs/Tab.mjs +4 -3
- package/es/mdx/Tabs/Tab.mjs.map +1 -1
- package/es/mdx/Tabs/index.mjs +9 -27
- package/es/mdx/Tabs/index.mjs.map +1 -1
- package/es/mdx/Tabs/stable.mjs +17 -0
- package/es/mdx/Tabs/stable.mjs.map +1 -0
- package/es/mdx/mdxComponents/Image.mjs +5 -6
- package/es/mdx/mdxComponents/Image.mjs.map +1 -1
- package/es/mdx/mdxComponents/Link.mjs +4 -1
- package/es/mdx/mdxComponents/Link.mjs.map +1 -1
- package/es/mdx/mdxComponents/Pre.mjs +6 -5
- package/es/mdx/mdxComponents/Pre.mjs.map +1 -1
- package/es/mdx/mdxComponents/Video.mjs +5 -6
- package/es/mdx/mdxComponents/Video.mjs.map +1 -1
- package/es/mdx/mdxComponents/stable.mjs +26 -0
- package/es/mdx/mdxComponents/stable.mjs.map +1 -0
- package/es/mobile/ChatHeader/ChatHeader.mjs +8 -6
- package/es/mobile/ChatHeader/ChatHeader.mjs.map +1 -1
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs +9 -4
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs.map +1 -1
- package/es/mobile/ChatHeader/stable.mjs +20 -0
- package/es/mobile/ChatHeader/stable.mjs.map +1 -0
- package/es/mobile/ChatInputArea/ChatInputArea.mjs +16 -7
- package/es/mobile/ChatInputArea/ChatInputArea.mjs.map +1 -1
- package/es/mobile/ChatInputArea/components/ChatSendButton.mjs +4 -1
- package/es/mobile/ChatInputArea/components/ChatSendButton.mjs.map +1 -1
- package/es/mobile/ChatInputArea/stable.mjs +23 -0
- package/es/mobile/ChatInputArea/stable.mjs.map +1 -0
- package/es/mobile/ChatInputArea/style.mjs +13 -0
- package/es/mobile/ChatInputArea/style.mjs.map +1 -1
- package/es/mobile/SafeArea/SafeArea.mjs +5 -1
- package/es/mobile/SafeArea/SafeArea.mjs.map +1 -1
- package/es/mobile/SafeArea/stable.mjs +11 -0
- package/es/mobile/SafeArea/stable.mjs.map +1 -0
- package/es/mobile/TabBar/TabBar.mjs +9 -6
- package/es/mobile/TabBar/TabBar.mjs.map +1 -1
- package/es/mobile/TabBar/stable.mjs +16 -0
- package/es/mobile/TabBar/stable.mjs.map +1 -0
- package/es/style.css +632 -36
- package/es/styles/theme/scope.mjs +3 -1
- package/es/styles/theme/scope.mjs.map +1 -1
- package/es/styles/theme/stable.mjs +10 -0
- package/es/styles/theme/stable.mjs.map +1 -0
- package/es/utils/bem.mjs +18 -1
- package/es/utils/bem.mjs.map +1 -1
- package/package.json +2 -1
package/es/Table/semantic.mjs
CHANGED
|
@@ -1,14 +1,27 @@
|
|
|
1
|
+
import { tableClasses } from "./stable.mjs";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
1
3
|
import { useRef } from "react";
|
|
2
|
-
import "clsx";
|
|
3
4
|
//#region src/Table/semantic.ts
|
|
4
5
|
const resolveSemantic = (value, info) => typeof value === "function" ? value(info) : value;
|
|
5
6
|
const normalizeClassNames = (classNames) => {
|
|
6
|
-
const { body, header, pagination,
|
|
7
|
+
const { body, content, footer, header, pagination, root, section, title } = classNames ?? {};
|
|
7
8
|
return {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
body: {
|
|
10
|
+
cell: clsx$1(tableClasses("body-cell"), body?.cell),
|
|
11
|
+
row: clsx$1(tableClasses("body-row"), body?.row),
|
|
12
|
+
wrapper: clsx$1(tableClasses("body-wrapper"), body?.wrapper)
|
|
13
|
+
},
|
|
14
|
+
content: clsx$1(tableClasses("content"), content),
|
|
15
|
+
footer: clsx$1(tableClasses("footer"), footer),
|
|
16
|
+
header: {
|
|
17
|
+
cell: clsx$1(tableClasses("header-cell"), header?.cell),
|
|
18
|
+
row: clsx$1(tableClasses("header-row"), header?.row),
|
|
19
|
+
wrapper: clsx$1(tableClasses("header-wrapper"), header?.wrapper)
|
|
20
|
+
},
|
|
21
|
+
pagination: { ...pagination },
|
|
22
|
+
root: clsx$1(tableClasses("wrapper"), root),
|
|
23
|
+
section: clsx$1(tableClasses("section"), section),
|
|
24
|
+
title: clsx$1(tableClasses("title"), title)
|
|
12
25
|
};
|
|
13
26
|
};
|
|
14
27
|
const normalizeStyles = (styles) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semantic.mjs","names":[],"sources":["../../src/Table/semantic.ts"],"sourcesContent":["import clsx from 'clsx';\nimport { type CSSProperties, useRef } from 'react';\n\nimport type { PaginationSemanticName } from '@/Pagination/type';\n\nimport type {\n TableClassNames,\n TableComponentsSemanticName,\n TableProps,\n TableSemanticInfo,\n TableStyles,\n} from './type';\n\ntype Components<V> = Partial<Record<TableComponentsSemanticName, V>>;\n\nexport interface NormalizedSemantic<V> {\n body: Components<V>;\n content?: V;\n footer?: V;\n header: Components<V>;\n pagination: Partial<Record<PaginationSemanticName, V>>;\n root?: V;\n section?: V;\n title?: V;\n}\n\nexport const resolveSemantic = <V, T>(\n value: V | ((info: TableSemanticInfo<T>) => V) | undefined,\n info: TableSemanticInfo<T>,\n): V | undefined =>\n typeof value === 'function' ? (value as (info: TableSemanticInfo<T>) => V)(info) : value;\n\nexport const normalizeClassNames = (\n classNames: TableClassNames | undefined,\n): NormalizedSemantic<string> => {\n const { body, header, pagination,
|
|
1
|
+
{"version":3,"file":"semantic.mjs","names":["clsx"],"sources":["../../src/Table/semantic.ts"],"sourcesContent":["import clsx from 'clsx';\nimport { type CSSProperties, useRef } from 'react';\n\nimport type { PaginationSemanticName } from '@/Pagination/type';\n\nimport { tableClasses } from './stable';\nimport type {\n TableClassNames,\n TableComponentsSemanticName,\n TableProps,\n TableSemanticInfo,\n TableStyles,\n} from './type';\n\ntype Components<V> = Partial<Record<TableComponentsSemanticName, V>>;\n\nexport interface NormalizedSemantic<V> {\n body: Components<V>;\n content?: V;\n footer?: V;\n header: Components<V>;\n pagination: Partial<Record<PaginationSemanticName, V>>;\n root?: V;\n section?: V;\n title?: V;\n}\n\nexport const resolveSemantic = <V, T>(\n value: V | ((info: TableSemanticInfo<T>) => V) | undefined,\n info: TableSemanticInfo<T>,\n): V | undefined =>\n typeof value === 'function' ? (value as (info: TableSemanticInfo<T>) => V)(info) : value;\n\nexport const normalizeClassNames = (\n classNames: TableClassNames | undefined,\n): NormalizedSemantic<string> => {\n const { body, content, footer, header, pagination, root, section, title } = classNames ?? {};\n return {\n body: {\n cell: clsx(tableClasses('body-cell'), body?.cell),\n row: clsx(tableClasses('body-row'), body?.row),\n wrapper: clsx(tableClasses('body-wrapper'), body?.wrapper),\n },\n content: clsx(tableClasses('content'), content),\n footer: clsx(tableClasses('footer'), footer),\n header: {\n cell: clsx(tableClasses('header-cell'), header?.cell),\n row: clsx(tableClasses('header-row'), header?.row),\n wrapper: clsx(tableClasses('header-wrapper'), header?.wrapper),\n },\n pagination: { ...pagination },\n root: clsx(tableClasses('wrapper'), root),\n section: clsx(tableClasses('section'), section),\n title: clsx(tableClasses('title'), title),\n };\n};\n\nexport const normalizeStyles = (\n styles: TableStyles | undefined,\n): NormalizedSemantic<CSSProperties> => {\n const { body, header, pagination, ...rest } = styles ?? {};\n return { ...rest, body: { ...body }, header: { ...header }, pagination: { ...pagination } };\n};\n\nexport const mergeClassName = (...names: (string | false | null | undefined)[]) =>\n clsx(...names) || undefined;\n\nexport const mergeStyle = (...styles: (CSSProperties | undefined)[]) =>\n styles.some(Boolean) ? Object.assign({}, ...styles) : undefined;\n\nconst sameValue = (a: unknown, b: unknown, depth: number): boolean => {\n if (Object.is(a, b)) return true;\n if (depth === 0 || typeof a !== 'object' || typeof b !== 'object' || !a || !b) return false;\n const keysA = Object.keys(a);\n if (keysA.length !== Object.keys(b).length) return false;\n return keysA.every((key) => sameValue((a as any)[key], (b as any)[key], depth - 1));\n};\n\nconst useStableValue = <V>(value: V): V => {\n const ref = useRef(value);\n if (!sameValue(ref.current, value, 3)) ref.current = value;\n return ref.current;\n};\n\nexport const useStableSemantic = <T>(\n classNames: TableClassNames | ((info: TableSemanticInfo<T>) => TableClassNames) | undefined,\n styles: TableStyles | ((info: TableSemanticInfo<T>) => TableStyles) | undefined,\n props: TableProps<T>,\n) => {\n const info = { props };\n return {\n classNames: useStableValue(normalizeClassNames(resolveSemantic(classNames, info))),\n styles: useStableValue(normalizeStyles(resolveSemantic(styles, info))),\n };\n};\n"],"mappings":";;;;AA2BA,MAAa,mBACX,OACA,SAEA,OAAO,UAAU,aAAc,MAA4C,IAAI,IAAI;AAErF,MAAa,uBACX,eAC+B;CAC/B,MAAM,EAAE,MAAM,SAAS,QAAQ,QAAQ,YAAY,MAAM,SAAS,UAAU,cAAc,CAAC;CAC3F,OAAO;EACL,MAAM;GACJ,MAAMA,OAAK,aAAa,WAAW,GAAG,MAAM,IAAI;GAChD,KAAKA,OAAK,aAAa,UAAU,GAAG,MAAM,GAAG;GAC7C,SAASA,OAAK,aAAa,cAAc,GAAG,MAAM,OAAO;EAC3D;EACA,SAASA,OAAK,aAAa,SAAS,GAAG,OAAO;EAC9C,QAAQA,OAAK,aAAa,QAAQ,GAAG,MAAM;EAC3C,QAAQ;GACN,MAAMA,OAAK,aAAa,aAAa,GAAG,QAAQ,IAAI;GACpD,KAAKA,OAAK,aAAa,YAAY,GAAG,QAAQ,GAAG;GACjD,SAASA,OAAK,aAAa,gBAAgB,GAAG,QAAQ,OAAO;EAC/D;EACA,YAAY,EAAE,GAAG,WAAW;EAC5B,MAAMA,OAAK,aAAa,SAAS,GAAG,IAAI;EACxC,SAASA,OAAK,aAAa,SAAS,GAAG,OAAO;EAC9C,OAAOA,OAAK,aAAa,OAAO,GAAG,KAAK;CAC1C;AACF;AAEA,MAAa,mBACX,WACsC;CACtC,MAAM,EAAE,MAAM,QAAQ,YAAY,GAAG,SAAS,UAAU,CAAC;CACzD,OAAO;EAAE,GAAG;EAAM,MAAM,EAAE,GAAG,KAAK;EAAG,QAAQ,EAAE,GAAG,OAAO;EAAG,YAAY,EAAE,GAAG,WAAW;CAAE;AAC5F;AAQA,MAAM,aAAa,GAAY,GAAY,UAA2B;CACpE,IAAI,OAAO,GAAG,GAAG,CAAC,GAAG,OAAO;CAC5B,IAAI,UAAU,KAAK,OAAO,MAAM,YAAY,OAAO,MAAM,YAAY,CAAC,KAAK,CAAC,GAAG,OAAO;CACtF,MAAM,QAAQ,OAAO,KAAK,CAAC;CAC3B,IAAI,MAAM,WAAW,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,OAAO;CACnD,OAAO,MAAM,OAAO,QAAQ,UAAW,EAAU,MAAO,EAAU,MAAM,QAAQ,CAAC,CAAC;AACpF;AAEA,MAAM,kBAAqB,UAAgB;CACzC,MAAM,MAAM,OAAO,KAAK;CACxB,IAAI,CAAC,UAAU,IAAI,SAAS,OAAO,CAAC,GAAG,IAAI,UAAU;CACrD,OAAO,IAAI;AACb;AAEA,MAAa,qBACX,YACA,QACA,UACG;CACH,MAAM,OAAO,EAAE,MAAM;CACrB,OAAO;EACL,YAAY,eAAe,oBAAoB,gBAAgB,YAAY,IAAI,CAAC,CAAC;EACjF,QAAQ,eAAe,gBAAgB,gBAAgB,QAAQ,IAAI,CAAC,CAAC;CACvE;AACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { stableClasses } from "../utils/bem.mjs";
|
|
2
|
+
//#region src/Table/stable.ts
|
|
3
|
+
const tableClasses = stableClasses({
|
|
4
|
+
block: "table",
|
|
5
|
+
dataAttributes: ["variant", "size"],
|
|
6
|
+
elements: [
|
|
7
|
+
"wrapper",
|
|
8
|
+
"title",
|
|
9
|
+
"section",
|
|
10
|
+
"content",
|
|
11
|
+
"header-wrapper",
|
|
12
|
+
"header-row",
|
|
13
|
+
"header-cell",
|
|
14
|
+
"body-wrapper",
|
|
15
|
+
"body-row",
|
|
16
|
+
"body-cell",
|
|
17
|
+
"footer"
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { tableClasses };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=stable.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stable.mjs","names":[],"sources":["../../src/Table/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const tableClasses = stableClasses({\n block: 'table',\n dataAttributes: ['variant', 'size'],\n elements: [\n 'wrapper',\n 'title',\n 'section',\n 'content',\n 'header-wrapper',\n 'header-row',\n 'header-cell',\n 'body-wrapper',\n 'body-row',\n 'body-cell',\n 'footer',\n ],\n});\n"],"mappings":";;AAEA,MAAa,eAAe,cAAc;CACxC,OAAO;CACP,gBAAgB,CAAC,WAAW,MAAM;CAClC,UAAU;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC"}
|
package/es/Tabs/Tabs.mjs
CHANGED
|
@@ -3,9 +3,9 @@ import { styleProps } from "../styles/stylex/props.mjs";
|
|
|
3
3
|
import { useControlledState } from "../hooks/useControlledState.mjs";
|
|
4
4
|
import { styles } from "./style.mjs";
|
|
5
5
|
import { TabsIndicator, TabsList, TabsPanel, TabsRoot, TabsTab } from "./atoms.mjs";
|
|
6
|
+
import clsx$1 from "clsx";
|
|
6
7
|
import { useMemo } from "react";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import clsx$1 from "clsx";
|
|
9
9
|
//#region src/Tabs/Tabs.tsx
|
|
10
10
|
const Tabs = ({ activeKey, className, classNames, defaultActiveKey, items, onChange, orientation = "horizontal", ref, size = "middle", style, styles: customStyles, variant = "rounded" }) => {
|
|
11
11
|
const initialActiveKey = defaultActiveKey ?? items?.find((item) => !item.disabled)?.key ?? null;
|
package/es/Tabs/atoms.mjs
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
2
3
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
|
+
import { tabsClasses } from "./stable.mjs";
|
|
3
5
|
import { indicatorStyles, listStyles, panelStyles, tabStyles, tabsStyles } from "./style.mjs";
|
|
6
|
+
import clsx$1 from "clsx";
|
|
4
7
|
import { createContext, use, useMemo } from "react";
|
|
5
8
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import clsx$1 from "clsx";
|
|
7
9
|
import { Tabs } from "@base-ui/react/tabs";
|
|
8
10
|
//#region src/Tabs/atoms.tsx
|
|
9
11
|
const TabsContext = createContext({
|
|
@@ -11,7 +13,7 @@ const TabsContext = createContext({
|
|
|
11
13
|
variant: "rounded"
|
|
12
14
|
});
|
|
13
15
|
const useTabsContext = () => use(TabsContext);
|
|
14
|
-
const TabsRoot = ({ children, size = "middle", variant = "rounded", ...rest }) => {
|
|
16
|
+
const TabsRoot = ({ children, className, size = "middle", variant = "rounded", ...rest }) => {
|
|
15
17
|
const contextValue = useMemo(() => ({
|
|
16
18
|
size,
|
|
17
19
|
variant
|
|
@@ -19,6 +21,11 @@ const TabsRoot = ({ children, size = "middle", variant = "rounded", ...rest }) =
|
|
|
19
21
|
return /* @__PURE__ */ jsx(TabsContext, {
|
|
20
22
|
value: contextValue,
|
|
21
23
|
children: /* @__PURE__ */ jsx(Tabs.Root, {
|
|
24
|
+
className: clsx$1(tabsClasses(), className),
|
|
25
|
+
...toDataAttributes({
|
|
26
|
+
size,
|
|
27
|
+
variant
|
|
28
|
+
}),
|
|
22
29
|
...rest,
|
|
23
30
|
children
|
|
24
31
|
})
|
|
@@ -29,7 +36,7 @@ const TabsList = ({ className, variant: variantProp, ...rest }) => {
|
|
|
29
36
|
const ctx = useTabsContext();
|
|
30
37
|
const variant = variantProp ?? ctx.variant;
|
|
31
38
|
return /* @__PURE__ */ jsx(Tabs.List, {
|
|
32
|
-
className: styleProps(listStyles(variant), className).className,
|
|
39
|
+
className: styleProps(listStyles(variant), clsx$1(tabsClasses("list"), className)).className,
|
|
33
40
|
...rest
|
|
34
41
|
});
|
|
35
42
|
};
|
|
@@ -39,14 +46,14 @@ const TabsTab = ({ className, size: sizeProp, variant: variantProp, ...rest }) =
|
|
|
39
46
|
const size = sizeProp ?? ctx.size;
|
|
40
47
|
const variant = variantProp ?? ctx.variant;
|
|
41
48
|
return /* @__PURE__ */ jsx(Tabs.Tab, {
|
|
42
|
-
className: styleProps(tabStyles(size, variant), className).className,
|
|
49
|
+
className: styleProps(tabStyles(size, variant), clsx$1(tabsClasses("tab"), className)).className,
|
|
43
50
|
...rest
|
|
44
51
|
});
|
|
45
52
|
};
|
|
46
53
|
TabsTab.displayName = "TabsTab";
|
|
47
54
|
const TabsPanel = ({ className, ...rest }) => {
|
|
48
55
|
return /* @__PURE__ */ jsx(Tabs.Panel, {
|
|
49
|
-
className: styleProps(panelStyles, className).className,
|
|
56
|
+
className: styleProps(panelStyles, clsx$1(tabsClasses("panel"), className)).className,
|
|
50
57
|
...rest
|
|
51
58
|
});
|
|
52
59
|
};
|
|
@@ -56,7 +63,7 @@ const TabsIndicator = ({ className, variant: variantProp, ...rest }) => {
|
|
|
56
63
|
const variant = variantProp ?? ctx.variant;
|
|
57
64
|
return /* @__PURE__ */ jsx(Tabs.Indicator, {
|
|
58
65
|
renderBeforeHydration: true,
|
|
59
|
-
className: styleProps(indicatorStyles(variant), clsx$1("lobe-tabs-indicator", className)).className,
|
|
66
|
+
className: styleProps(indicatorStyles(variant), clsx$1("lobe-tabs-indicator", tabsClasses("indicator"), className)).className,
|
|
60
67
|
...rest
|
|
61
68
|
});
|
|
62
69
|
};
|
package/es/Tabs/atoms.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"atoms.mjs","names":["BaseUITabs","clsx"],"sources":["../../src/Tabs/atoms.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport { Tabs as BaseUITabs } from '@base-ui/react/tabs';\nimport clsx from 'clsx';\nimport { createContext, type FC, use, useMemo } from 'react';\n\nimport { styleProps } from '@/styles/stylex/props';\n\nimport { indicatorStyles, listStyles, panelStyles, tabStyles } from './style';\nimport type {\n TabsIndicatorProps,\n TabsListProps,\n TabsPanelProps,\n TabsRootProps,\n TabsSize,\n TabsTabProps,\n TabsVariant,\n} from './type';\n\ninterface TabsContextValue {\n size: TabsSize;\n variant: TabsVariant;\n}\n\nconst TabsContext = createContext<TabsContextValue>({ size: 'middle', variant: 'rounded' });\n\nexport const useTabsContext = () => use(TabsContext);\n\ntype TabsRootInternalProps = TabsRootProps & {\n size?: TabsSize;\n variant?: TabsVariant;\n};\n\nexport const TabsRoot: FC<TabsRootInternalProps> = ({\n children,\n size = 'middle',\n variant = 'rounded',\n ...rest\n}) => {\n const contextValue = useMemo(() => ({ size, variant }), [size, variant]);\n\n return (\n <TabsContext value={contextValue}>\n <BaseUITabs.Root {...rest}
|
|
1
|
+
{"version":3,"file":"atoms.mjs","names":["BaseUITabs","clsx"],"sources":["../../src/Tabs/atoms.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport { Tabs as BaseUITabs } from '@base-ui/react/tabs';\nimport clsx from 'clsx';\nimport { createContext, type FC, use, useMemo } from 'react';\n\nimport { styleProps } from '@/styles/stylex/props';\nimport { toDataAttributes } from '@/utils/bem';\n\nimport { tabsClasses } from './stable';\nimport { indicatorStyles, listStyles, panelStyles, tabStyles } from './style';\nimport type {\n TabsIndicatorProps,\n TabsListProps,\n TabsPanelProps,\n TabsRootProps,\n TabsSize,\n TabsTabProps,\n TabsVariant,\n} from './type';\n\ninterface TabsContextValue {\n size: TabsSize;\n variant: TabsVariant;\n}\n\nconst TabsContext = createContext<TabsContextValue>({ size: 'middle', variant: 'rounded' });\n\nexport const useTabsContext = () => use(TabsContext);\n\ntype TabsRootInternalProps = TabsRootProps & {\n size?: TabsSize;\n variant?: TabsVariant;\n};\n\nexport const TabsRoot: FC<TabsRootInternalProps> = ({\n children,\n className,\n size = 'middle',\n variant = 'rounded',\n ...rest\n}) => {\n const contextValue = useMemo(() => ({ size, variant }), [size, variant]);\n\n return (\n <TabsContext value={contextValue}>\n <BaseUITabs.Root\n className={clsx(tabsClasses(), className)}\n {...toDataAttributes({ size, variant })}\n {...rest}\n >\n {children}\n </BaseUITabs.Root>\n </TabsContext>\n );\n};\n\nTabsRoot.displayName = 'TabsRoot';\n\nexport const TabsList: FC<TabsListProps> = ({ className, variant: variantProp, ...rest }) => {\n const ctx = useTabsContext();\n const variant = variantProp ?? ctx.variant;\n\n return (\n <BaseUITabs.List\n className={styleProps(listStyles(variant), clsx(tabsClasses('list'), className)).className}\n {...rest}\n />\n );\n};\n\nTabsList.displayName = 'TabsList';\n\nexport const TabsTab: FC<TabsTabProps> = ({\n className,\n size: sizeProp,\n variant: variantProp,\n ...rest\n}) => {\n const ctx = useTabsContext();\n const size = sizeProp ?? ctx.size;\n const variant = variantProp ?? ctx.variant;\n\n return (\n <BaseUITabs.Tab\n className={\n styleProps(tabStyles(size, variant), clsx(tabsClasses('tab'), className)).className\n }\n {...rest}\n />\n );\n};\n\nTabsTab.displayName = 'TabsTab';\n\nexport const TabsPanel: FC<TabsPanelProps> = ({ className, ...rest }) => {\n return (\n <BaseUITabs.Panel\n className={styleProps(panelStyles, clsx(tabsClasses('panel'), className)).className}\n {...rest}\n />\n );\n};\n\nTabsPanel.displayName = 'TabsPanel';\n\nexport const TabsIndicator: FC<TabsIndicatorProps> = ({\n className,\n variant: variantProp,\n ...rest\n}) => {\n const ctx = useTabsContext();\n const variant = variantProp ?? ctx.variant;\n\n return (\n <BaseUITabs.Indicator\n renderBeforeHydration\n className={\n styleProps(\n indicatorStyles(variant),\n clsx('lobe-tabs-indicator', tabsClasses('indicator'), className),\n ).className\n }\n {...rest}\n />\n );\n};\n\nTabsIndicator.displayName = 'TabsIndicator';\n\nexport { tabsStyles } from './style';\n"],"mappings":";;;;;;;;;;AA4BA,MAAM,cAAc,cAAgC;CAAE,MAAM;CAAU,SAAS;AAAU,CAAC;AAE1F,MAAa,uBAAuB,IAAI,WAAW;AAOnD,MAAa,YAAuC,EAClD,UACA,WACA,OAAO,UACP,UAAU,WACV,GAAG,WACC;CACJ,MAAM,eAAe,eAAe;EAAE;EAAM;CAAQ,IAAI,CAAC,MAAM,OAAO,CAAC;CAEvE,OACE,oBAAC,aAAD;EAAa,OAAO;EAClB,UAAA,oBAACA,KAAW,MAAZ;GACE,WAAWC,OAAK,YAAY,GAAG,SAAS;GACxC,GAAI,iBAAiB;IAAE;IAAM;GAAQ,CAAC;GACtC,GAAI;GAEH;EACc,CAAA;CACN,CAAA;AAEjB;AAEA,SAAS,cAAc;AAEvB,MAAa,YAA+B,EAAE,WAAW,SAAS,aAAa,GAAG,WAAW;CAC3F,MAAM,MAAM,eAAe;CAC3B,MAAM,UAAU,eAAe,IAAI;CAEnC,OACE,oBAACD,KAAW,MAAZ;EACE,WAAW,WAAW,WAAW,OAAO,GAAGC,OAAK,YAAY,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;EACjF,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,cAAc;AAEvB,MAAa,WAA6B,EACxC,WACA,MAAM,UACN,SAAS,aACT,GAAG,WACC;CACJ,MAAM,MAAM,eAAe;CAC3B,MAAM,OAAO,YAAY,IAAI;CAC7B,MAAM,UAAU,eAAe,IAAI;CAEnC,OACE,oBAACD,KAAW,KAAZ;EACE,WACE,WAAW,UAAU,MAAM,OAAO,GAAGC,OAAK,YAAY,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC;EAE5E,GAAI;CACL,CAAA;AAEL;AAEA,QAAQ,cAAc;AAEtB,MAAa,aAAiC,EAAE,WAAW,GAAG,WAAW;CACvE,OACE,oBAACD,KAAW,OAAZ;EACE,WAAW,WAAW,aAAaC,OAAK,YAAY,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;EAC1E,GAAI;CACL,CAAA;AAEL;AAEA,UAAU,cAAc;AAExB,MAAa,iBAAyC,EACpD,WACA,SAAS,aACT,GAAG,WACC;CACJ,MAAM,MAAM,eAAe;CAC3B,MAAM,UAAU,eAAe,IAAI;CAEnC,OACE,oBAACD,KAAW,WAAZ;EACE,uBAAA;EACA,WACE,WACE,gBAAgB,OAAO,GACvBC,OAAK,uBAAuB,YAAY,WAAW,GAAG,SAAS,CACjE,CAAC,CAAC;EAEJ,GAAI;CACL,CAAA;AAEL;AAEA,cAAc,cAAc"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { stableClasses } from "../utils/bem.mjs";
|
|
2
|
+
//#region src/Tabs/stable.ts
|
|
3
|
+
const tabsClasses = stableClasses({
|
|
4
|
+
block: "tabs",
|
|
5
|
+
dataAttributes: ["size", "variant"],
|
|
6
|
+
elements: [
|
|
7
|
+
"list",
|
|
8
|
+
"indicator",
|
|
9
|
+
"tab",
|
|
10
|
+
"panel"
|
|
11
|
+
]
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { tabsClasses };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=stable.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stable.mjs","names":[],"sources":["../../src/Tabs/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const tabsClasses = stableClasses({\n block: 'tabs',\n dataAttributes: ['size', 'variant'],\n elements: ['list', 'indicator', 'tab', 'panel'],\n});\n"],"mappings":";;AAEA,MAAa,cAAc,cAAc;CACvC,OAAO;CACP,gBAAgB,CAAC,QAAQ,SAAS;CAClC,UAAU;EAAC;EAAQ;EAAa;EAAO;CAAO;AAChD,CAAC"}
|
package/es/Tag/Tag.mjs
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
2
3
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
4
|
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
4
5
|
import { stylish } from "../styles/stylex/stylish.mjs";
|
|
5
6
|
import { safeReadableColor } from "../utils/safeReadableColor.mjs";
|
|
7
|
+
import { tagClasses } from "./stable.mjs";
|
|
6
8
|
import { styles } from "./style.mjs";
|
|
7
9
|
import { colorsPreset, colorsPresetSystem, presetColors, presetSystemColors } from "./utils.mjs";
|
|
10
|
+
import clsx$1 from "clsx";
|
|
8
11
|
import { memo, useMemo, useState } from "react";
|
|
9
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import clsx$1 from "clsx";
|
|
11
13
|
import { X } from "lucide-react";
|
|
12
14
|
//#region src/Tag/Tag.tsx
|
|
13
15
|
const variantStyles = {
|
|
@@ -24,7 +26,7 @@ const roundSizeStyles = {
|
|
|
24
26
|
const Tag = memo(({ children, className, classNames, closable, closeIcon, color, icon, onClick, onClose, ref, shape = "normal", size = "middle", style, styles: customStyles, variant = "filled", ...rest }) => {
|
|
25
27
|
const [visible, setVisible] = useState(true);
|
|
26
28
|
const colors = useMemo(() => {
|
|
27
|
-
let textColor
|
|
29
|
+
let textColor;
|
|
28
30
|
let backgroundColor;
|
|
29
31
|
let borderColor;
|
|
30
32
|
const isBorderless = variant === "borderless";
|
|
@@ -63,23 +65,30 @@ const Tag = memo(({ children, className, classNames, closable, closeIcon, color,
|
|
|
63
65
|
styles.root,
|
|
64
66
|
variantStyles[variant],
|
|
65
67
|
styles[size],
|
|
66
|
-
shape === "round" && [styles.round, roundSizeStyles[size]]
|
|
68
|
+
shape === "round" && [styles.round, roundSizeStyles[size]],
|
|
69
|
+
!colors.textColor && styles.defaultColor,
|
|
70
|
+
!!onClick && styles.clickable
|
|
67
71
|
], clsx$1("lobe-tag", className, classNames?.root), {
|
|
68
72
|
background: colors.backgroundColor,
|
|
69
73
|
borderColor: colors.borderColor,
|
|
70
74
|
color: colors.textColor,
|
|
71
|
-
cursor: onClick ? "pointer" : void 0,
|
|
72
75
|
...style,
|
|
73
76
|
...customStyles?.root
|
|
74
77
|
}),
|
|
75
78
|
onClick,
|
|
79
|
+
...toDataAttributes({
|
|
80
|
+
color,
|
|
81
|
+
shape,
|
|
82
|
+
size,
|
|
83
|
+
variant
|
|
84
|
+
}),
|
|
76
85
|
...rest,
|
|
77
86
|
children: [
|
|
78
87
|
icon,
|
|
79
88
|
children,
|
|
80
89
|
closable && /* @__PURE__ */ jsx("button", {
|
|
81
90
|
"aria-label": "Close",
|
|
82
|
-
...styleProps(styles.close, classNames?.closeIcon, customStyles?.closeIcon),
|
|
91
|
+
...styleProps(styles.close, clsx$1(tagClasses("close"), classNames?.closeIcon), customStyles?.closeIcon),
|
|
83
92
|
type: "button",
|
|
84
93
|
onClick: (e) => {
|
|
85
94
|
e.stopPropagation();
|
package/es/Tag/Tag.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.mjs","names":["clsx"],"sources":["../../src/Tag/Tag.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport clsx from 'clsx';\nimport { X } from 'lucide-react';\nimport { memo, useMemo, useState } from 'react';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { styleProps } from '@/styles/stylex/props';\nimport { stylish } from '@/styles/stylex/stylish';\nimport { safeReadableColor } from '@/utils/safeReadableColor';\n\nimport { styles } from './style';\nimport type { TagProps } from './type';\nimport { colorsPreset, colorsPresetSystem, presetColors, presetSystemColors } from './utils';\n\nconst variantStyles = {\n borderless: stylish.variantBorderlessWithoutHover,\n filled: stylish.variantFilledWithoutHover,\n outlined: stylish.variantOutlinedWithoutHover,\n solid: stylish.variantFilledWithoutHover,\n};\n\nconst roundSizeStyles = {\n large: styles.roundLarge,\n middle: styles.roundMiddle,\n small: styles.roundSmall,\n};\n\nconst Tag = memo<TagProps>(\n ({\n children,\n className,\n classNames,\n closable,\n closeIcon,\n color,\n icon,\n onClick,\n onClose,\n ref,\n shape = 'normal',\n size = 'middle',\n style,\n styles: customStyles,\n variant = 'filled',\n ...rest\n }) => {\n const [visible, setVisible] = useState(true);\n\n const colors = useMemo(() => {\n let textColor
|
|
1
|
+
{"version":3,"file":"Tag.mjs","names":["clsx"],"sources":["../../src/Tag/Tag.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport clsx from 'clsx';\nimport { X } from 'lucide-react';\nimport { memo, useMemo, useState } from 'react';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { styleProps } from '@/styles/stylex/props';\nimport { stylish } from '@/styles/stylex/stylish';\nimport { toDataAttributes } from '@/utils/bem';\nimport { safeReadableColor } from '@/utils/safeReadableColor';\n\nimport { tagClasses } from './stable';\nimport { styles } from './style';\nimport type { TagProps } from './type';\nimport { colorsPreset, colorsPresetSystem, presetColors, presetSystemColors } from './utils';\n\nconst variantStyles = {\n borderless: stylish.variantBorderlessWithoutHover,\n filled: stylish.variantFilledWithoutHover,\n outlined: stylish.variantOutlinedWithoutHover,\n solid: stylish.variantFilledWithoutHover,\n};\n\nconst roundSizeStyles = {\n large: styles.roundLarge,\n middle: styles.roundMiddle,\n small: styles.roundSmall,\n};\n\nconst Tag = memo<TagProps>(\n ({\n children,\n className,\n classNames,\n closable,\n closeIcon,\n color,\n icon,\n onClick,\n onClose,\n ref,\n shape = 'normal',\n size = 'middle',\n style,\n styles: customStyles,\n variant = 'filled',\n ...rest\n }) => {\n const [visible, setVisible] = useState(true);\n\n const colors = useMemo(() => {\n let textColor: string | undefined;\n let backgroundColor;\n let borderColor;\n const isBorderless = variant === 'borderless';\n const isFilled = variant === 'filled';\n const isSolid = variant === 'solid';\n const isPresetColor = color && presetColors.includes(color);\n const isPresetSystemColors = color && presetSystemColors.has(color);\n const isHexColor = color && color.startsWith('#');\n\n if (isPresetColor) {\n const solidBgColor = colorsPreset(color);\n textColor = isSolid ? safeReadableColor(solidBgColor) : colorsPreset(color, 'active');\n backgroundColor = isSolid\n ? solidBgColor\n : isBorderless\n ? 'transparent'\n : colorsPreset(color, 'fillTertiary');\n borderColor = isSolid\n ? solidBgColor\n : colorsPreset(color, isFilled ? 'fillQuaternary' : 'fillTertiary');\n }\n if (isPresetSystemColors) {\n const solidBgColor = colorsPresetSystem(color);\n textColor = isSolid ? safeReadableColor(solidBgColor) : colorsPresetSystem(color);\n backgroundColor = isSolid\n ? solidBgColor\n : isBorderless\n ? 'transparent'\n : colorsPresetSystem(color, 'fillTertiary');\n borderColor = isSolid\n ? solidBgColor\n : colorsPresetSystem(color, isFilled ? 'fillQuaternary' : 'fillTertiary');\n }\n if (isHexColor) {\n textColor = isSolid\n ? safeReadableColor(color)\n : isBorderless\n ? color\n : cssVar.colorBgLayout;\n backgroundColor = isSolid ? color : isBorderless ? 'transparent' : color;\n borderColor = isSolid ? color : borderColor;\n }\n\n return {\n backgroundColor,\n borderColor,\n textColor,\n };\n }, [color, variant]);\n\n if (!visible) return null;\n\n return (\n <span\n ref={ref}\n {...styleProps(\n [\n styles.root,\n variantStyles[variant],\n styles[size],\n shape === 'round' && [styles.round, roundSizeStyles[size]],\n !colors.textColor && styles.defaultColor,\n !!onClick && styles.clickable,\n ],\n clsx('lobe-tag', className, classNames?.root),\n {\n background: colors.backgroundColor,\n borderColor: colors.borderColor,\n color: colors.textColor,\n ...style,\n ...customStyles?.root,\n },\n )}\n onClick={onClick}\n {...toDataAttributes({ color, shape, size, variant })}\n {...rest}\n >\n {icon}\n {children}\n {closable && (\n <button\n aria-label=\"Close\"\n {...styleProps(\n styles.close,\n clsx(tagClasses('close'), classNames?.closeIcon),\n customStyles?.closeIcon,\n )}\n type=\"button\"\n onClick={(e) => {\n e.stopPropagation();\n onClose?.(e);\n setVisible(false);\n }}\n >\n {closeIcon ?? <X size={10} />}\n </button>\n )}\n </span>\n );\n },\n);\n\nTag.displayName = 'Tag';\n\nexport default Tag;\n"],"mappings":";;;;;;;;;;;;;;AAmBA,MAAM,gBAAgB;CACpB,YAAY,QAAQ;CACpB,QAAQ,QAAQ;CAChB,UAAU,QAAQ;CAClB,OAAO,QAAQ;AACjB;AAEA,MAAM,kBAAkB;CACtB,OAAO,OAAO;CACd,QAAQ,OAAO;CACf,OAAO,OAAO;AAChB;AAEA,MAAM,MAAM,MACT,EACC,UACA,WACA,YACA,UACA,WACA,OACA,MACA,SACA,SACA,KACA,QAAQ,UACR,OAAO,UACP,OACA,QAAQ,cACR,UAAU,UACV,GAAG,WACC;CACJ,MAAM,CAAC,SAAS,cAAc,SAAS,IAAI;CAE3C,MAAM,SAAS,cAAc;EAC3B,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,MAAM,eAAe,YAAY;EACjC,MAAM,WAAW,YAAY;EAC7B,MAAM,UAAU,YAAY;EAC5B,MAAM,gBAAgB,SAAS,aAAa,SAAS,KAAK;EAC1D,MAAM,uBAAuB,SAAS,mBAAmB,IAAI,KAAK;EAClE,MAAM,aAAa,SAAS,MAAM,WAAW,GAAG;EAEhD,IAAI,eAAe;GACjB,MAAM,eAAe,aAAa,KAAK;GACvC,YAAY,UAAU,kBAAkB,YAAY,IAAI,aAAa,OAAO,QAAQ;GACpF,kBAAkB,UACd,eACA,eACE,gBACA,aAAa,OAAO,cAAc;GACxC,cAAc,UACV,eACA,aAAa,OAAO,WAAW,mBAAmB,cAAc;EACtE;EACA,IAAI,sBAAsB;GACxB,MAAM,eAAe,mBAAmB,KAAK;GAC7C,YAAY,UAAU,kBAAkB,YAAY,IAAI,mBAAmB,KAAK;GAChF,kBAAkB,UACd,eACA,eACE,gBACA,mBAAmB,OAAO,cAAc;GAC9C,cAAc,UACV,eACA,mBAAmB,OAAO,WAAW,mBAAmB,cAAc;EAC5E;EACA,IAAI,YAAY;GACd,YAAY,UACR,kBAAkB,KAAK,IACvB,eACE,QACA,OAAO;GACb,kBAAkB,UAAU,QAAQ,eAAe,gBAAgB;GACnE,cAAc,UAAU,QAAQ;EAClC;EAEA,OAAO;GACL;GACA;GACA;EACF;CACF,GAAG,CAAC,OAAO,OAAO,CAAC;CAEnB,IAAI,CAAC,SAAS,OAAO;CAErB,OACE,qBAAC,QAAD;EACO;EACL,GAAI,WACF;GACE,OAAO;GACP,cAAc;GACd,OAAO;GACP,UAAU,WAAW,CAAC,OAAO,OAAO,gBAAgB,KAAK;GACzD,CAAC,OAAO,aAAa,OAAO;GAC5B,CAAC,CAAC,WAAW,OAAO;EACtB,GACAA,OAAK,YAAY,WAAW,YAAY,IAAI,GAC5C;GACE,YAAY,OAAO;GACnB,aAAa,OAAO;GACpB,OAAO,OAAO;GACd,GAAG;GACH,GAAG,cAAc;EACnB,CACF;EACS;EACT,GAAI,iBAAiB;GAAE;GAAO;GAAO;GAAM;EAAQ,CAAC;EACpD,GAAI;EAtBN,UAAA;GAwBG;GACA;GACA,YACC,oBAAC,UAAD;IACE,cAAW;IACX,GAAI,WACF,OAAO,OACPA,OAAK,WAAW,OAAO,GAAG,YAAY,SAAS,GAC/C,cAAc,SAChB;IACA,MAAK;IACL,UAAU,MAAM;KACd,EAAE,gBAAgB;KAClB,UAAU,CAAC;KACX,WAAW,KAAK;IAClB;IAEC,UAAA,aAAa,oBAAC,GAAD,EAAG,MAAM,GAAK,CAAA;GACtB,CAAA;EAEN;;AAEV,CACF;AAEA,IAAI,cAAc"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { stableClasses } from "../utils/bem.mjs";
|
|
2
|
+
//#region src/Tag/stable.ts
|
|
3
|
+
const tagClasses = stableClasses({
|
|
4
|
+
block: "tag",
|
|
5
|
+
dataAttributes: [
|
|
6
|
+
"variant",
|
|
7
|
+
"size",
|
|
8
|
+
"shape",
|
|
9
|
+
"color"
|
|
10
|
+
],
|
|
11
|
+
elements: ["close"]
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { tagClasses };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=stable.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stable.mjs","names":[],"sources":["../../src/Tag/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const tagClasses = stableClasses({\n block: 'tag',\n dataAttributes: ['variant', 'size', 'shape', 'color'],\n elements: ['close'],\n});\n"],"mappings":";;AAEA,MAAa,aAAa,cAAc;CACtC,OAAO;CACP,gBAAgB;EAAC;EAAW;EAAQ;EAAS;CAAO;CACpD,UAAU,CAAC,OAAO;AACpB,CAAC"}
|
package/es/Tag/style.mjs
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
//#region src/Tag/style.ts
|
|
2
2
|
const styles = {
|
|
3
|
+
clickable: {
|
|
4
|
+
kkrTdU: "lb1ypdohk",
|
|
5
|
+
$$css: true
|
|
6
|
+
},
|
|
3
7
|
close: {
|
|
4
8
|
kogj98: "lb1ghz6dp",
|
|
5
9
|
kmVPX3: "lb1717udv",
|
|
@@ -15,6 +19,10 @@ const styles = {
|
|
|
15
19
|
kjj79g: "lbl56j7k",
|
|
16
20
|
$$css: true
|
|
17
21
|
},
|
|
22
|
+
defaultColor: {
|
|
23
|
+
kMwMTN: "lbc77et8",
|
|
24
|
+
$$css: true
|
|
25
|
+
},
|
|
18
26
|
large: {
|
|
19
27
|
kaIpWk: "lb1kogg8i",
|
|
20
28
|
kg3NbH: "lbaope02",
|
package/es/Tag/style.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.mjs","names":[],"sources":["../../src/Tag/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nexport const styles = stylex.create({\n close: {\n margin: 0,\n padding: 0,\n borderColor: 'currentcolor',\n borderStyle: 'none',\n borderWidth: 'medium',\n gap: 0,\n alignItems: 'center',\n backgroundColor: 'transparent',\n color: {\n 'default': cssVar.colorIcon,\n ':hover': cssVar.colorTextHeading,\n },\n cursor: 'pointer',\n display: 'inline-flex',\n justifyContent: 'center',\n },\n large: {\n borderRadius: 6,\n paddingInline: 12,\n height: 28,\n },\n middle: {\n borderRadius: 3,\n paddingInline: 8,\n height: 22,\n },\n root: {\n margin: 0,\n gap: '0.4em',\n alignItems: 'center',\n display: 'inline-flex',\n fontSize: cssVar.fontSizeSM,\n justifyContent: 'center',\n lineHeight: 1.2,\n userSelect: 'none',\n whiteSpace: 'nowrap',\n width: 'fit-content',\n },\n round: {\n borderRadius: 999,\n },\n roundLarge: {\n paddingInline: 14,\n },\n roundMiddle: {\n paddingInline: 10,\n },\n roundSmall: {\n paddingInline: 8,\n },\n small: {\n borderRadius: 3,\n paddingInline: 4,\n height: 20,\n },\n});\n"],"mappings":";AAGA,MAAa,SAAS;CACpB,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"style.mjs","names":[],"sources":["../../src/Tag/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nexport const styles = stylex.create({\n clickable: {\n cursor: 'pointer',\n },\n close: {\n margin: 0,\n padding: 0,\n borderColor: 'currentcolor',\n borderStyle: 'none',\n borderWidth: 'medium',\n gap: 0,\n alignItems: 'center',\n backgroundColor: 'transparent',\n color: {\n 'default': cssVar.colorIcon,\n ':hover': cssVar.colorTextHeading,\n },\n cursor: 'pointer',\n display: 'inline-flex',\n justifyContent: 'center',\n },\n defaultColor: {\n color: cssVar.colorTextSecondary,\n },\n large: {\n borderRadius: 6,\n paddingInline: 12,\n height: 28,\n },\n middle: {\n borderRadius: 3,\n paddingInline: 8,\n height: 22,\n },\n root: {\n margin: 0,\n gap: '0.4em',\n alignItems: 'center',\n display: 'inline-flex',\n fontSize: cssVar.fontSizeSM,\n justifyContent: 'center',\n lineHeight: 1.2,\n userSelect: 'none',\n whiteSpace: 'nowrap',\n width: 'fit-content',\n },\n round: {\n borderRadius: 999,\n },\n roundLarge: {\n paddingInline: 14,\n },\n roundMiddle: {\n paddingInline: 10,\n },\n roundSmall: {\n paddingInline: 8,\n },\n small: {\n borderRadius: 3,\n paddingInline: 4,\n height: 20,\n },\n});\n"],"mappings":";AAGA,MAAa,SAAS;CACpB,WAAW;EACT,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
|
package/es/Text/Text.mjs
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
2
3
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
4
|
import { Tooltip } from "../Tooltip/Tooltip.mjs";
|
|
4
5
|
import { textStyleArray } from "./style.mjs";
|
|
5
6
|
import { useTextOverflow } from "../hooks/useTextOverflow.mjs";
|
|
7
|
+
import { textClasses } from "./stable.mjs";
|
|
8
|
+
import clsx$1 from "clsx";
|
|
6
9
|
import { memo, useRef } from "react";
|
|
7
10
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import clsx$1 from "clsx";
|
|
9
11
|
//#region src/Text/Text.tsx
|
|
10
12
|
const InternalText = memo(({ align, as: Container = "div", children, className, classNames, code, color, delete: deleteStyle, disabled, ellipsis, fontSize, italic, lineClamp, lineHeight, mark, noWrap, ref, shiny, shinyDuration, strong, style, styles: customStyles, textDecoration, textTransform, type, underline, weight, whiteSpace, wordBreak, ...rest }) => {
|
|
11
13
|
const innerRef = useRef(null);
|
|
@@ -41,6 +43,7 @@ const InternalText = memo(({ align, as: Container = "div", children, className,
|
|
|
41
43
|
...customStyles?.root
|
|
42
44
|
};
|
|
43
45
|
const content = /* @__PURE__ */ jsx(Container, {
|
|
46
|
+
...toDataAttributes({ type }),
|
|
44
47
|
...rest,
|
|
45
48
|
ref: setNodeRef,
|
|
46
49
|
style: textStyle,
|
|
@@ -63,7 +66,7 @@ const InternalText = memo(({ align, as: Container = "div", children, className,
|
|
|
63
66
|
strong,
|
|
64
67
|
type,
|
|
65
68
|
underline
|
|
66
|
-
}), clsx$1(shiny && "lobe-text-shiny", className, classNames?.root)).className,
|
|
69
|
+
}), clsx$1(textClasses(), shiny && "lobe-text-shiny", className, classNames?.root)).className,
|
|
67
70
|
children
|
|
68
71
|
});
|
|
69
72
|
if (ellipsis && typeof ellipsis === "object" && (ellipsis.tooltip || ellipsis.tooltipWhenOverflow)) {
|
package/es/Text/Text.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.mjs","names":["clsx"],"sources":["../../src/Text/Text.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport clsx from 'clsx';\nimport { type CSSProperties, memo, type ReactNode, type RefObject, useRef } from 'react';\n\nimport { useTextOverflow } from '@/hooks/useTextOverflow';\nimport { styleProps } from '@/styles/stylex/props';\nimport Tooltip from '@/Tooltip';\n\nimport { textStyleArray } from './style';\nimport { type TextBaseProps, type TextProps } from './type';\n\ntype InternalTextProps = TextBaseProps & {\n shiny?: boolean;\n shinyDuration?: CSSProperties['animationDuration'];\n};\n\nconst InternalText = memo<InternalTextProps>(\n ({\n align,\n as: Container = 'div',\n children,\n className,\n classNames,\n code,\n color,\n delete: deleteStyle,\n disabled,\n ellipsis,\n fontSize,\n italic,\n lineClamp,\n lineHeight,\n mark,\n noWrap,\n ref,\n shiny,\n shinyDuration,\n strong,\n style,\n styles: customStyles,\n textDecoration,\n textTransform,\n type,\n underline,\n weight,\n whiteSpace,\n wordBreak,\n ...rest\n }) => {\n const innerRef = useRef<HTMLElement>(null);\n const isOverflow = useTextOverflow(innerRef, ellipsis, children);\n\n const isMultiEllipsis = typeof ellipsis === 'object' && !!ellipsis.rows && ellipsis.rows > 1;\n const tooltipWhenOverflow = typeof ellipsis === 'object' && ellipsis.tooltipWhenOverflow;\n\n const setNodeRef = (node: HTMLElement | null) => {\n innerRef.current = node;\n if (typeof ref === 'function') ref(node as HTMLDivElement);\n else if (ref) (ref as RefObject<HTMLDivElement | null>).current = node as HTMLDivElement;\n };\n\n const textStyle: CSSProperties = {\n ...(color && { color }),\n ...(weight && { fontWeight: weight }),\n ...(lineHeight && { lineHeight }),\n ...(textTransform && { textTransform }),\n ...(textDecoration && { textDecoration }),\n ...(wordBreak && { wordBreak }),\n ...(typeof ellipsis === 'object' &&\n ellipsis.rows && {\n WebkitLineClamp: ellipsis.rows,\n }),\n ...(!ellipsis &&\n !!lineClamp && {\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: lineClamp,\n display: '-webkit-box',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }),\n ...(shiny && shinyDuration && { '--shiny-duration': shinyDuration }),\n ...(fontSize && { fontSize }),\n ...(align && { textAlign: align }),\n ...(!isMultiEllipsis && noWrap && { whiteSpace: 'nowrap' as const }),\n ...(whiteSpace && { whiteSpace }),\n ...style,\n ...customStyles?.root,\n };\n\n const content = (\n <Container\n {...rest}\n ref={setNodeRef}\n style={textStyle}\n className={\n styleProps(\n textStyleArray({\n as: ['h1', 'h2', 'h3', 'h4', 'h5', 'p'].includes(Container as string)\n ? (Container as 'h1')\n : undefined,\n code,\n delete: deleteStyle,\n disabled,\n ellipsis: ellipsis\n ? typeof ellipsis === 'object' && ellipsis.rows\n ? 'multi'\n : true\n : undefined,\n italic,\n mark,\n shiny,\n strong,\n type,\n underline,\n }),\n clsx(shiny && 'lobe-text-shiny', className, classNames?.root),\n ).className\n }\n >\n {children}\n </Container>\n );\n\n if (\n ellipsis &&\n typeof ellipsis === 'object' &&\n (ellipsis.tooltip || ellipsis.tooltipWhenOverflow)\n ) {\n if (tooltipWhenOverflow && !isOverflow) return content;\n\n const title = typeof ellipsis.tooltip === 'string' ? ellipsis.tooltip : children;\n if (ellipsis.tooltip && typeof ellipsis.tooltip === 'object')\n return (\n <Tooltip {...ellipsis.tooltip} title={ellipsis.tooltip?.title || title}>\n {content}\n </Tooltip>\n );\n return <Tooltip title={title}>{content}</Tooltip>;\n }\n\n return content;\n },\n);\n\nInternalText.displayName = 'Text';\n\nexport interface IText {\n <Shiny extends boolean = boolean>(props: TextProps<Shiny>): ReactNode;\n}\n\nconst Text = InternalText as unknown as IText;\n\nexport default Text;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Text.mjs","names":["clsx"],"sources":["../../src/Text/Text.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport clsx from 'clsx';\nimport { type CSSProperties, memo, type ReactNode, type RefObject, useRef } from 'react';\n\nimport { useTextOverflow } from '@/hooks/useTextOverflow';\nimport { styleProps } from '@/styles/stylex/props';\nimport Tooltip from '@/Tooltip';\nimport { toDataAttributes } from '@/utils/bem';\n\nimport { textClasses } from './stable';\nimport { textStyleArray } from './style';\nimport { type TextBaseProps, type TextProps } from './type';\n\ntype InternalTextProps = TextBaseProps & {\n shiny?: boolean;\n shinyDuration?: CSSProperties['animationDuration'];\n};\n\nconst InternalText = memo<InternalTextProps>(\n ({\n align,\n as: Container = 'div',\n children,\n className,\n classNames,\n code,\n color,\n delete: deleteStyle,\n disabled,\n ellipsis,\n fontSize,\n italic,\n lineClamp,\n lineHeight,\n mark,\n noWrap,\n ref,\n shiny,\n shinyDuration,\n strong,\n style,\n styles: customStyles,\n textDecoration,\n textTransform,\n type,\n underline,\n weight,\n whiteSpace,\n wordBreak,\n ...rest\n }) => {\n const innerRef = useRef<HTMLElement>(null);\n const isOverflow = useTextOverflow(innerRef, ellipsis, children);\n\n const isMultiEllipsis = typeof ellipsis === 'object' && !!ellipsis.rows && ellipsis.rows > 1;\n const tooltipWhenOverflow = typeof ellipsis === 'object' && ellipsis.tooltipWhenOverflow;\n\n const setNodeRef = (node: HTMLElement | null) => {\n innerRef.current = node;\n if (typeof ref === 'function') ref(node as HTMLDivElement);\n else if (ref) (ref as RefObject<HTMLDivElement | null>).current = node as HTMLDivElement;\n };\n\n const textStyle: CSSProperties = {\n ...(color && { color }),\n ...(weight && { fontWeight: weight }),\n ...(lineHeight && { lineHeight }),\n ...(textTransform && { textTransform }),\n ...(textDecoration && { textDecoration }),\n ...(wordBreak && { wordBreak }),\n ...(typeof ellipsis === 'object' &&\n ellipsis.rows && {\n WebkitLineClamp: ellipsis.rows,\n }),\n ...(!ellipsis &&\n !!lineClamp && {\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: lineClamp,\n display: '-webkit-box',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }),\n ...(shiny && shinyDuration && { '--shiny-duration': shinyDuration }),\n ...(fontSize && { fontSize }),\n ...(align && { textAlign: align }),\n ...(!isMultiEllipsis && noWrap && { whiteSpace: 'nowrap' as const }),\n ...(whiteSpace && { whiteSpace }),\n ...style,\n ...customStyles?.root,\n };\n\n const content = (\n <Container\n {...toDataAttributes({ type })}\n {...rest}\n ref={setNodeRef}\n style={textStyle}\n className={\n styleProps(\n textStyleArray({\n as: ['h1', 'h2', 'h3', 'h4', 'h5', 'p'].includes(Container as string)\n ? (Container as 'h1')\n : undefined,\n code,\n delete: deleteStyle,\n disabled,\n ellipsis: ellipsis\n ? typeof ellipsis === 'object' && ellipsis.rows\n ? 'multi'\n : true\n : undefined,\n italic,\n mark,\n shiny,\n strong,\n type,\n underline,\n }),\n clsx(textClasses(), shiny && 'lobe-text-shiny', className, classNames?.root),\n ).className\n }\n >\n {children}\n </Container>\n );\n\n if (\n ellipsis &&\n typeof ellipsis === 'object' &&\n (ellipsis.tooltip || ellipsis.tooltipWhenOverflow)\n ) {\n if (tooltipWhenOverflow && !isOverflow) return content;\n\n const title = typeof ellipsis.tooltip === 'string' ? ellipsis.tooltip : children;\n if (ellipsis.tooltip && typeof ellipsis.tooltip === 'object')\n return (\n <Tooltip {...ellipsis.tooltip} title={ellipsis.tooltip?.title || title}>\n {content}\n </Tooltip>\n );\n return <Tooltip title={title}>{content}</Tooltip>;\n }\n\n return content;\n },\n);\n\nInternalText.displayName = 'Text';\n\nexport interface IText {\n <Shiny extends boolean = boolean>(props: TextProps<Shiny>): ReactNode;\n}\n\nconst Text = InternalText as unknown as IText;\n\nexport default Text;\n"],"mappings":";;;;;;;;;;;AAqBA,MAAM,eAAe,MAClB,EACC,OACA,IAAI,YAAY,OAChB,UACA,WACA,YACA,MACA,OACA,QAAQ,aACR,UACA,UACA,UACA,QACA,WACA,YACA,MACA,QACA,KACA,OACA,eACA,QACA,OACA,QAAQ,cACR,gBACA,eACA,MACA,WACA,QACA,YACA,WACA,GAAG,WACC;CACJ,MAAM,WAAW,OAAoB,IAAI;CACzC,MAAM,aAAa,gBAAgB,UAAU,UAAU,QAAQ;CAE/D,MAAM,kBAAkB,OAAO,aAAa,YAAY,CAAC,CAAC,SAAS,QAAQ,SAAS,OAAO;CAC3F,MAAM,sBAAsB,OAAO,aAAa,YAAY,SAAS;CAErE,MAAM,cAAc,SAA6B;EAC/C,SAAS,UAAU;EACnB,IAAI,OAAO,QAAQ,YAAY,IAAI,IAAsB;OACpD,IAAI,KAAK,IAA0C,UAAU;CACpE;CAEA,MAAM,YAA2B;EAC/B,GAAI,SAAS,EAAE,MAAM;EACrB,GAAI,UAAU,EAAE,YAAY,OAAO;EACnC,GAAI,cAAc,EAAE,WAAW;EAC/B,GAAI,iBAAiB,EAAE,cAAc;EACrC,GAAI,kBAAkB,EAAE,eAAe;EACvC,GAAI,aAAa,EAAE,UAAU;EAC7B,GAAI,OAAO,aAAa,YACtB,SAAS,QAAQ,EACf,iBAAiB,SAAS,KAC5B;EACF,GAAI,CAAC,YACH,CAAC,CAAC,aAAa;GACb,iBAAiB;GACjB,iBAAiB;GACjB,SAAS;GACT,UAAU;GACV,cAAc;EAChB;EACF,GAAI,SAAS,iBAAiB,EAAE,oBAAoB,cAAc;EAClE,GAAI,YAAY,EAAE,SAAS;EAC3B,GAAI,SAAS,EAAE,WAAW,MAAM;EAChC,GAAI,CAAC,mBAAmB,UAAU,EAAE,YAAY,SAAkB;EAClE,GAAI,cAAc,EAAE,WAAW;EAC/B,GAAG;EACH,GAAG,cAAc;CACnB;CAEA,MAAM,UACJ,oBAAC,WAAD;EACE,GAAI,iBAAiB,EAAE,KAAK,CAAC;EAC7B,GAAI;EACJ,KAAK;EACL,OAAO;EACP,WACE,WACE,eAAe;GACb,IAAI;IAAC;IAAM;IAAM;IAAM;IAAM;IAAM;GAAG,CAAC,CAAC,SAAS,SAAmB,IAC/D,YACD,KAAA;GACJ;GACA,QAAQ;GACR;GACA,UAAU,WACN,OAAO,aAAa,YAAY,SAAS,OACvC,UACA,OACF,KAAA;GACJ;GACA;GACA;GACA;GACA;GACA;EACF,CAAC,GACDA,OAAK,YAAY,GAAG,SAAS,mBAAmB,WAAW,YAAY,IAAI,CAC7E,CAAC,CAAC;EAGH;CACQ,CAAA;CAGb,IACE,YACA,OAAO,aAAa,aACnB,SAAS,WAAW,SAAS,sBAC9B;EACA,IAAI,uBAAuB,CAAC,YAAY,OAAO;EAE/C,MAAM,QAAQ,OAAO,SAAS,YAAY,WAAW,SAAS,UAAU;EACxE,IAAI,SAAS,WAAW,OAAO,SAAS,YAAY,UAClD,OACE,oBAAC,SAAD;GAAS,GAAI,SAAS;GAAS,OAAO,SAAS,SAAS,SAAS;GAC9D,UAAA;EACM,CAAA;EAEb,OAAO,oBAAC,SAAD;GAAgB;GAAQ,UAAA;EAAiB,CAAA;CAClD;CAEA,OAAO;AACT,CACF;AAEA,aAAa,cAAc;AAM3B,MAAM,OAAO"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { stableClasses } from "../utils/bem.mjs";
|
|
2
|
+
//#region src/Text/stable.ts
|
|
3
|
+
const textClasses = stableClasses({
|
|
4
|
+
block: "text",
|
|
5
|
+
dataAttributes: ["type"],
|
|
6
|
+
elements: []
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { textClasses };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=stable.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stable.mjs","names":[],"sources":["../../src/Text/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const textClasses = stableClasses({\n block: 'text',\n dataAttributes: ['type'],\n elements: [],\n});\n"],"mappings":";;AAEA,MAAa,cAAc,cAAc;CACvC,OAAO;CACP,gBAAgB,CAAC,MAAM;CACvB,UAAU,CAAC;AACb,CAAC"}
|
package/es/Text/style.d.mts
CHANGED
package/es/Toast/Toast.mjs
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
2
3
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
4
|
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
4
5
|
import { focusRing } from "../styles/stylex/focusRing.mjs";
|
|
5
6
|
import Icon from "../Icon/Icon.mjs";
|
|
6
7
|
import { useToastContext } from "./context.mjs";
|
|
8
|
+
import { toastClasses } from "./stable.mjs";
|
|
7
9
|
import { actionVariantStyles, rootPositionStyles, styles } from "./style.mjs";
|
|
10
|
+
import clsx$1 from "clsx";
|
|
8
11
|
import { memo } from "react";
|
|
9
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import * as stylex from "@stylexjs/stylex";
|
|
11
13
|
import { AlertTriangle, CheckCircle, Info, Loader2, X, XCircle } from "lucide-react";
|
|
12
14
|
import { Toast } from "@base-ui/react/toast";
|
|
13
15
|
//#region src/Toast/Toast.tsx
|
|
@@ -45,7 +47,7 @@ const ToastItem = memo(({ toast, classNames, styles: customStyles }) => {
|
|
|
45
47
|
const renderIcon = () => {
|
|
46
48
|
if (!IconComponent) return null;
|
|
47
49
|
return /* @__PURE__ */ jsx("div", {
|
|
48
|
-
...styleProps(styles.icon, classNames?.icon, customStyles?.icon),
|
|
50
|
+
...styleProps(styles.icon, clsx$1(toastClasses("icon"), classNames?.icon), customStyles?.icon),
|
|
49
51
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
50
52
|
color: iconColor,
|
|
51
53
|
icon: IconComponent,
|
|
@@ -56,13 +58,13 @@ const ToastItem = memo(({ toast, classNames, styles: customStyles }) => {
|
|
|
56
58
|
};
|
|
57
59
|
const renderActions = () => {
|
|
58
60
|
if (actions && actions.length > 0) return /* @__PURE__ */ jsx("div", {
|
|
59
|
-
...styleProps(styles.actions, classNames?.actions, customStyles?.actions),
|
|
61
|
+
...styleProps(styles.actions, clsx$1(toastClasses("actions"), classNames?.actions), customStyles?.actions),
|
|
60
62
|
children: actions.map((action, index) => /* @__PURE__ */ jsx(Toast.Action, {
|
|
61
63
|
...styleProps([
|
|
62
64
|
styles.action,
|
|
63
65
|
focusRing.info,
|
|
64
66
|
actionVariantStyles[action.variant ?? "primary"]
|
|
65
|
-
], classNames?.action, customStyles?.action),
|
|
67
|
+
], clsx$1(toastClasses("action"), classNames?.action), customStyles?.action),
|
|
66
68
|
onClick: action.onClick,
|
|
67
69
|
...action.props,
|
|
68
70
|
children: action.label
|
|
@@ -73,7 +75,7 @@ const ToastItem = memo(({ toast, classNames, styles: customStyles }) => {
|
|
|
73
75
|
styles.action,
|
|
74
76
|
focusRing.info,
|
|
75
77
|
styles.actionPrimary
|
|
76
|
-
], classNames?.action, customStyles?.action),
|
|
78
|
+
], clsx$1(toastClasses("action"), classNames?.action), customStyles?.action),
|
|
77
79
|
...actionProps
|
|
78
80
|
});
|
|
79
81
|
return null;
|
|
@@ -81,40 +83,41 @@ const ToastItem = memo(({ toast, classNames, styles: customStyles }) => {
|
|
|
81
83
|
return /* @__PURE__ */ jsx(Toast.Root, {
|
|
82
84
|
swipeDirection,
|
|
83
85
|
toast,
|
|
84
|
-
...
|
|
86
|
+
...toDataAttributes({
|
|
87
|
+
position,
|
|
88
|
+
type
|
|
89
|
+
}),
|
|
90
|
+
...styleProps([styles.root, rootPositionStyles[position]], clsx$1(toastClasses(), classNames?.root), {
|
|
85
91
|
...customStyles?.root,
|
|
86
92
|
...toastData?.style
|
|
87
93
|
}),
|
|
88
94
|
children: /* @__PURE__ */ jsx(Toast.Content, {
|
|
89
|
-
...styleProps(styles.content, classNames?.content, customStyles?.content),
|
|
95
|
+
...styleProps(styles.content, clsx$1(toastClasses("content"), classNames?.content), customStyles?.content),
|
|
90
96
|
children: /* @__PURE__ */ jsxs("div", {
|
|
91
|
-
...
|
|
97
|
+
...styleProps(styles.toastBody, toastClasses("body")),
|
|
92
98
|
children: [renderIcon(), /* @__PURE__ */ jsxs("div", {
|
|
93
|
-
...
|
|
99
|
+
...styleProps(styles.contentArea, toastClasses("main")),
|
|
94
100
|
children: [title ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
95
|
-
...
|
|
101
|
+
...styleProps(styles.titleRow, toastClasses("title-row")),
|
|
96
102
|
children: [/* @__PURE__ */ jsx(Toast.Title, {
|
|
97
|
-
...styleProps(styles.title, classNames?.title, customStyles?.title),
|
|
103
|
+
...styleProps(styles.title, clsx$1(toastClasses("title"), classNames?.title), customStyles?.title),
|
|
98
104
|
children: title
|
|
99
105
|
}), showCloseButton && /* @__PURE__ */ jsx(Toast.Close, {
|
|
100
106
|
"aria-label": "Close",
|
|
101
|
-
...styleProps(styles.close, classNames?.close, customStyles?.close),
|
|
107
|
+
...styleProps(styles.close, clsx$1(toastClasses("close"), classNames?.close), customStyles?.close),
|
|
102
108
|
children: /* @__PURE__ */ jsx(X, { size: 14 })
|
|
103
109
|
})]
|
|
104
110
|
}), description && /* @__PURE__ */ jsx(Toast.Description, {
|
|
105
|
-
...styleProps(styles.description, classNames?.description,
|
|
106
|
-
marginBlockStart: 4,
|
|
107
|
-
...customStyles?.description
|
|
108
|
-
}),
|
|
111
|
+
...styleProps([styles.description, styles.descriptionWithTitle], clsx$1(toastClasses("description"), classNames?.description), customStyles?.description),
|
|
109
112
|
children: description
|
|
110
113
|
})] }) : description && /* @__PURE__ */ jsxs("div", {
|
|
111
|
-
...
|
|
114
|
+
...styleProps(styles.titleRow, toastClasses("title-row")),
|
|
112
115
|
children: [/* @__PURE__ */ jsx(Toast.Description, {
|
|
113
|
-
...styleProps([styles.description, styles.descriptionStandalone], classNames?.description, customStyles?.description),
|
|
116
|
+
...styleProps([styles.description, styles.descriptionStandalone], clsx$1(toastClasses("description"), classNames?.description), customStyles?.description),
|
|
114
117
|
children: description
|
|
115
118
|
}), showCloseButton && /* @__PURE__ */ jsx(Toast.Close, {
|
|
116
119
|
"aria-label": "Close",
|
|
117
|
-
...styleProps(styles.close, classNames?.close, customStyles?.close),
|
|
120
|
+
...styleProps(styles.close, clsx$1(toastClasses("close"), classNames?.close), customStyles?.close),
|
|
118
121
|
children: /* @__PURE__ */ jsx(X, { size: 14 })
|
|
119
122
|
})]
|
|
120
123
|
}), renderActions()]
|
package/es/Toast/Toast.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.mjs","names":["BaseToast"],"sources":["../../src/Toast/Toast.tsx"],"sourcesContent":["'use client';\n\nimport { Toast as BaseToast } from '@base-ui/react/toast';\nimport * as stylex from '@stylexjs/stylex';\nimport { AlertTriangle, CheckCircle, Info, Loader2, X, XCircle } from 'lucide-react';\nimport { memo, type ReactNode } from 'react';\n\nimport Icon from '@/Icon';\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { focusRing } from '@/styles/stylex/focusRing';\nimport { styleProps } from '@/styles/stylex/props';\n\nimport { useToastContext } from './context';\nimport { actionVariantStyles, rootPositionStyles, 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 {...styleProps(styles.icon, classNames?.icon, 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 {...styleProps(styles.actions, classNames?.actions, customStyles?.actions)}>\n {actions.map((action, index) => (\n <BaseToast.Action\n key={index}\n {...styleProps(\n [styles.action, focusRing.info, actionVariantStyles[action.variant ?? 'primary']],\n classNames?.action,\n customStyles?.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 {...styleProps(\n [styles.action, focusRing.info, styles.actionPrimary],\n classNames?.action,\n customStyles?.action,\n )}\n {...actionProps}\n />\n );\n }\n return null;\n };\n\n return (\n <BaseToast.Root\n swipeDirection={swipeDirection}\n toast={toast}\n {...styleProps([styles.root, rootPositionStyles[position]], classNames?.root, {\n ...customStyles?.root,\n ...toastData?.style,\n })}\n >\n <BaseToast.Content\n {...styleProps(styles.content, classNames?.content, customStyles?.content)}\n >\n <div {...stylex.props(styles.toastBody)}>\n {renderIcon()}\n <div {...stylex.props(styles.contentArea)}>\n {title ? (\n <>\n <div {...stylex.props(styles.titleRow)}>\n <BaseToast.Title\n {...styleProps(styles.title, classNames?.title, customStyles?.title)}\n >\n {title}\n </BaseToast.Title>\n {showCloseButton && (\n <BaseToast.Close\n aria-label=\"Close\"\n {...styleProps(styles.close, classNames?.close, customStyles?.close)}\n >\n <X size={14} />\n </BaseToast.Close>\n )}\n </div>\n {description && (\n <BaseToast.Description\n {...styleProps(styles.description, classNames?.description, {\n marginBlockStart: 4,\n ...customStyles?.description,\n })}\n >\n {description}\n </BaseToast.Description>\n )}\n </>\n ) : (\n description && (\n <div {...stylex.props(styles.titleRow)}>\n <BaseToast.Description\n {...styleProps(\n [styles.description, styles.descriptionStandalone],\n classNames?.description,\n customStyles?.description,\n )}\n >\n {description}\n </BaseToast.Description>\n {showCloseButton && (\n <BaseToast.Close\n aria-label=\"Close\"\n {...styleProps(styles.close, classNames?.close, 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
|
+
{"version":3,"file":"Toast.mjs","names":["clsx","BaseToast"],"sources":["../../src/Toast/Toast.tsx"],"sourcesContent":["'use client';\n\nimport { Toast as BaseToast } from '@base-ui/react/toast';\nimport clsx from 'clsx';\nimport { AlertTriangle, CheckCircle, Info, Loader2, X, XCircle } from 'lucide-react';\nimport { memo, type ReactNode } from 'react';\n\nimport Icon from '@/Icon';\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { focusRing } from '@/styles/stylex/focusRing';\nimport { styleProps } from '@/styles/stylex/props';\nimport { toDataAttributes } from '@/utils/bem';\n\nimport { useToastContext } from './context';\nimport { toastClasses } from './stable';\nimport { actionVariantStyles, rootPositionStyles, 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\n {...styleProps(\n styles.icon,\n clsx(toastClasses('icon'), classNames?.icon),\n customStyles?.icon,\n )}\n >\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\n {...styleProps(\n styles.actions,\n clsx(toastClasses('actions'), classNames?.actions),\n customStyles?.actions,\n )}\n >\n {actions.map((action, index) => (\n <BaseToast.Action\n key={index}\n {...styleProps(\n [styles.action, focusRing.info, actionVariantStyles[action.variant ?? 'primary']],\n clsx(toastClasses('action'), classNames?.action),\n customStyles?.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 {...styleProps(\n [styles.action, focusRing.info, styles.actionPrimary],\n clsx(toastClasses('action'), classNames?.action),\n customStyles?.action,\n )}\n {...actionProps}\n />\n );\n }\n return null;\n };\n\n return (\n <BaseToast.Root\n swipeDirection={swipeDirection}\n toast={toast}\n {...toDataAttributes({ position, type })}\n {...styleProps(\n [styles.root, rootPositionStyles[position]],\n clsx(toastClasses(), classNames?.root),\n {\n ...customStyles?.root,\n ...toastData?.style,\n },\n )}\n >\n <BaseToast.Content\n {...styleProps(\n styles.content,\n clsx(toastClasses('content'), classNames?.content),\n customStyles?.content,\n )}\n >\n <div {...styleProps(styles.toastBody, toastClasses('body'))}>\n {renderIcon()}\n <div {...styleProps(styles.contentArea, toastClasses('main'))}>\n {title ? (\n <>\n <div {...styleProps(styles.titleRow, toastClasses('title-row'))}>\n <BaseToast.Title\n {...styleProps(\n styles.title,\n clsx(toastClasses('title'), classNames?.title),\n customStyles?.title,\n )}\n >\n {title}\n </BaseToast.Title>\n {showCloseButton && (\n <BaseToast.Close\n aria-label=\"Close\"\n {...styleProps(\n styles.close,\n clsx(toastClasses('close'), classNames?.close),\n customStyles?.close,\n )}\n >\n <X size={14} />\n </BaseToast.Close>\n )}\n </div>\n {description && (\n <BaseToast.Description\n {...styleProps(\n [styles.description, styles.descriptionWithTitle],\n clsx(toastClasses('description'), classNames?.description),\n customStyles?.description,\n )}\n >\n {description}\n </BaseToast.Description>\n )}\n </>\n ) : (\n description && (\n <div {...styleProps(styles.titleRow, toastClasses('title-row'))}>\n <BaseToast.Description\n {...styleProps(\n [styles.description, styles.descriptionStandalone],\n clsx(toastClasses('description'), classNames?.description),\n customStyles?.description,\n )}\n >\n {description}\n </BaseToast.Description>\n {showCloseButton && (\n <BaseToast.Close\n aria-label=\"Close\"\n {...styleProps(\n styles.close,\n clsx(toastClasses('close'), classNames?.close),\n customStyles?.close,\n )}\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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"}
|