@lobehub/ui 6.10.2 → 6.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Accordion/Accordion.mjs +1 -1
- package/es/Accordion/atoms.mjs +2 -2
- package/es/Accordion/index.d.mts +2 -2
- package/es/Accordion/index.mjs +1 -1
- package/es/Accordion/style.d.mts +9 -9
- package/es/Accordion/style.mjs +26 -1
- package/es/Accordion/style.mjs.map +1 -1
- package/es/ActionIcon/ActionIcon.mjs +2 -2
- package/es/ActionIcon/index.d.mts +1 -1
- package/es/ActionIcon/index.mjs +1 -1
- package/es/ActionIcon/style.d.mts +13 -40
- package/es/ActionIcon/style.mjs +12 -2
- package/es/ActionIcon/style.mjs.map +1 -1
- package/es/ActionIconGroup/ActionIconGroup.mjs +4 -4
- package/es/ActionIconGroup/index.d.mts +1 -1
- package/es/ActionIconGroup/type.d.mts +4 -4
- package/es/AgentAvatar/AgentAvatar.mjs +1 -1
- package/es/AgentAvatar/index.d.mts +1 -1
- package/es/AgentAvatar/index.mjs +1 -1
- package/es/AgentAvatar/utils.mjs +1 -1
- package/es/Alert/Alert.mjs +2 -2
- package/es/Alert/index.d.mts +1 -1
- package/es/Alert/index.mjs +1 -1
- package/es/Alert/style.d.mts +36 -232
- package/es/Alert/style.mjs +35 -2
- package/es/Alert/style.mjs.map +1 -1
- package/es/Anchor/Anchor.mjs +2 -2
- package/es/Anchor/index.d.mts +1 -1
- package/es/AutoComplete/AutoComplete.mjs +3 -3
- package/es/AutoComplete/index.d.mts +1 -1
- package/es/AutoComplete/index.mjs +1 -1
- package/es/AutoComplete/style.d.mts +1 -1
- package/es/Avatar/Avatar.mjs +5 -5
- package/es/Avatar/AvatarGroup/index.mjs +5 -4
- package/es/Avatar/AvatarGroup/index.mjs.map +1 -1
- package/es/Avatar/index.d.mts +1 -1
- package/es/Avatar/type.d.mts +4 -0
- package/es/Badge/Badge.mjs +1 -1
- package/es/Badge/index.d.mts +1 -1
- package/es/Block/Block.mjs +2 -2
- package/es/Block/index.d.mts +1 -1
- package/es/Breadcrumb/Breadcrumb.mjs +1 -1
- package/es/Breadcrumb/index.d.mts +1 -1
- package/es/Burger/Burger.mjs +2 -2
- package/es/Burger/index.d.mts +1 -1
- package/es/Button/Button.mjs +3 -3
- package/es/Button/SplitButton.mjs +3 -3
- package/es/Button/index.d.mts +1 -1
- package/es/Button/index.mjs +1 -1
- package/es/Button/style.d.mts +37 -204
- package/es/Button/style.mjs +36 -2
- package/es/Button/style.mjs.map +1 -1
- package/es/Carousel/Carousel.mjs +2 -2
- package/es/Carousel/index.d.mts +1 -1
- package/es/Checkbox/Checkbox.mjs +2 -2
- package/es/Checkbox/CheckboxGroup.mjs +2 -2
- package/es/Checkbox/index.d.mts +1 -1
- package/es/Checkbox/index.mjs +1 -1
- package/es/Checkbox/style.d.mts +13 -58
- package/es/Checkbox/style.mjs +12 -2
- package/es/Checkbox/style.mjs.map +1 -1
- package/es/Checkbox/type.d.mts +2 -2
- package/es/CodeDiff/DiffPanel.mjs +4 -4
- package/es/CodeDiff/index.d.mts +1 -1
- package/es/CodeDiff/theme.mjs +1 -1
- package/es/CodeEditor/CodeEditor.mjs +3 -3
- package/es/CodeEditor/index.d.mts +1 -1
- package/es/Collapsible/Collapsible.mjs +1 -1
- package/es/Collapsible/index.d.mts +1 -1
- package/es/ColorPicker/ColorInputs.mjs +1 -1
- package/es/ColorPicker/ColorPanel.mjs +4 -4
- package/es/ColorPicker/ColorPicker.mjs +4 -4
- package/es/ColorPicker/Swatches.mjs +1 -1
- package/es/ColorPicker/Trigger.mjs +4 -4
- package/es/ColorPicker/index.d.mts +1 -1
- package/es/ColorSwatches/ColorSwatches.mjs +7 -7
- package/es/ColorSwatches/CustomPicker.mjs +2 -2
- package/es/ColorSwatches/index.d.mts +1 -1
- package/es/ContextMenu/ContextMenuHost.mjs +8 -9
- package/es/ContextMenu/ContextMenuHost.mjs.map +1 -1
- package/es/ContextMenu/index.d.mts +2 -2
- package/es/ContextMenu/renderItems.mjs +20 -21
- package/es/ContextMenu/renderItems.mjs.map +1 -1
- package/es/ContextMenu/store.d.mts +3 -3
- package/es/CopyButton/index.d.mts +1 -1
- package/es/DatePicker/core/PickerInput/Popup/Footer.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs +2 -2
- 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/Icon.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/Input.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs +1 -1
- package/es/DatePicker/core/PickerInput/SinglePicker.mjs +3 -3
- package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs +2 -2
- package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/DateTimePanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/index.mjs +5 -5
- package/es/DatePicker/core/PickerPopup.mjs +1 -1
- package/es/DatePicker/core/hooks/useTimeInfo.mjs +1 -1
- package/es/DatePicker/index.d.mts +1 -1
- package/es/DatePicker/index.mjs +2 -2
- package/es/DatePicker/legacyDate.mjs +1 -1
- package/es/DatePicker/locale.d.mts +1 -1
- package/es/DatePicker/locale.mjs +1 -1
- package/es/DatePicker/type.d.mts +2 -2
- package/es/DatePicker/usePickerShared.mjs +4 -4
- package/es/Descriptions/Descriptions.mjs +1 -1
- package/es/Descriptions/index.d.mts +1 -1
- package/es/Divider/Divider.mjs +1 -1
- package/es/Divider/index.d.mts +1 -1
- package/es/DownloadButton/index.d.mts +1 -1
- package/es/DraggablePanel/DraggablePanel.mjs +1 -1
- package/es/DraggablePanel/atoms.mjs +4 -4
- package/es/DraggablePanel/index.d.mts +1 -1
- package/es/DraggablePanel/index.mjs +1 -1
- package/es/DraggableSideNav/DraggableSideNav.mjs +4 -4
- package/es/DraggableSideNav/index.d.mts +1 -1
- package/es/Drawer/Drawer.mjs +3 -3
- package/es/Drawer/atoms.mjs +3 -3
- package/es/Drawer/index.d.mts +1 -1
- package/es/Drawer/index.mjs +2 -2
- package/es/DropdownMenu/DropdownMenu.mjs +2 -2
- package/es/DropdownMenu/atoms.d.mts +2 -2
- package/es/DropdownMenu/atoms.mjs +4 -4
- package/es/DropdownMenu/index.d.mts +2 -2
- package/es/DropdownMenu/index.mjs +1 -1
- package/es/DropdownMenu/renderItems.mjs +2 -2
- package/es/DropdownMenu/sharedStyle.d.mts +2 -3
- package/es/DropdownMenu/style.d.mts +24 -168
- package/es/DropdownMenu/style.mjs +24 -1
- package/es/DropdownMenu/style.mjs.map +1 -1
- package/es/DropdownMenu/type.d.mts +4 -4
- package/es/EditableText/ControlInput.mjs +1 -1
- package/es/EditableText/EditableText.mjs +4 -4
- package/es/EditableText/index.d.mts +1 -1
- package/es/EditableText/type.d.mts +1 -1
- package/es/EditorSlashMenu/EditorSlashMenu.mjs +1 -1
- package/es/EditorSlashMenu/index.d.mts +1 -1
- package/es/EmojiPicker/AvatarUploader.mjs +6 -6
- package/es/EmojiPicker/EmojiPicker.mjs +9 -9
- package/es/EmojiPicker/index.d.mts +1 -1
- package/es/EmojiPicker/type.d.mts +2 -2
- package/es/Empty/Empty.mjs +4 -4
- package/es/Empty/index.d.mts +1 -1
- package/es/Empty/type.d.mts +3 -3
- package/es/FileTypeIcon/FileTypeIcon.mjs +3 -3
- package/es/FileTypeIcon/components/FileIcon.mjs +1 -1
- package/es/FileTypeIcon/components/FolderIcon.mjs +1 -1
- package/es/FileTypeIcon/index.d.mts +1 -1
- package/es/Flex/index.d.mts +1 -1
- package/es/Flex/index.mjs +1 -1
- package/es/FloatingPanel/FloatingPanel.mjs +1 -1
- package/es/FloatingPanel/index.d.mts +1 -1
- package/es/FloatingSheet/FloatingSheet.mjs +3 -3
- package/es/FloatingSheet/index.d.mts +1 -1
- package/es/FluentEmoji/FluentEmoji.mjs +1 -1
- package/es/FluentEmoji/index.d.mts +1 -1
- package/es/FluentEmoji/type.d.mts +1 -1
- package/es/FocusScope/index.mjs +1 -1
- package/es/FocusScope/useScopeArrowNav.mjs +1 -1
- package/es/FocusScope/useScopeSwitcher.mjs +1 -1
- package/es/Form/Form.mjs +5 -5
- package/es/Form/components/FormField.mjs +1 -1
- package/es/Form/components/FormFlatGroup.mjs +1 -1
- package/es/Form/components/FormFooter.mjs +1 -1
- package/es/Form/components/FormGroup.mjs +3 -3
- package/es/Form/components/FormSubmitFooter.mjs +6 -6
- package/es/Form/components/FormTitle.mjs +1 -1
- package/es/Form/index.mjs +2 -2
- package/es/Form/type.d.mts +3 -3
- package/es/FormKit/Field.mjs +4 -4
- package/es/FormKit/Form.mjs +5 -5
- package/es/FormKit/List.mjs +3 -3
- package/es/FormKit/SubmitFooter.mjs +1 -1
- package/es/FormKit/index.d.mts +2 -2
- package/es/FormKit/index.mjs +2 -2
- package/es/FormKit/stable.mjs +1 -1
- package/es/Freeze/index.d.mts +1 -1
- package/es/Grid/Grid.mjs +1 -1
- package/es/Grid/index.d.mts +1 -1
- package/es/GroupAvatar/GroupAvatar.mjs +1 -1
- package/es/GroupAvatar/index.d.mts +1 -1
- package/es/GuideCard/GuideCard.mjs +4 -4
- package/es/GuideCard/index.d.mts +1 -1
- package/es/GuideCard/type.d.mts +2 -2
- package/es/Header/Header.mjs +1 -1
- package/es/Header/index.d.mts +1 -1
- package/es/Highlighter/FullFeatured.mjs +7 -7
- package/es/Highlighter/Highlighter.mjs +6 -6
- package/es/Highlighter/LangSelect.mjs +2 -2
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs +1 -1
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs +1 -1
- package/es/Highlighter/SyntaxHighlighter/index.mjs +1 -1
- package/es/Highlighter/index.d.mts +1 -1
- package/es/Highlighter/index.mjs +1 -1
- package/es/Highlighter/type.d.mts +2 -2
- package/es/Hotkey/Hotkey.mjs +5 -5
- package/es/Hotkey/index.d.mts +1 -1
- package/es/Hotkey/index.mjs +1 -1
- package/es/HotkeyInput/HotkeyInput.mjs +7 -7
- package/es/HotkeyInput/index.d.mts +1 -1
- package/es/HtmlPreview/HtmlPreview.mjs +9 -9
- package/es/HtmlPreview/Iframe.mjs +3 -3
- package/es/HtmlPreview/index.d.mts +1 -1
- package/es/HtmlPreview/index.mjs +2 -2
- package/es/HtmlPreview/type.d.mts +2 -2
- package/es/Icon/Icon.mjs +1 -1
- package/es/Icon/index.d.mts +1 -1
- package/es/Image/Image.mjs +4 -4
- package/es/Image/index.d.mts +1 -1
- package/es/Image/index.mjs +1 -1
- package/es/Image/useImagePreview.mjs +1 -1
- package/es/Image/viewer/GalleryNav.mjs +3 -3
- package/es/Image/viewer/ImageViewer.mjs +3 -3
- package/es/Image/viewer/PreviewOutlet.mjs +1 -1
- package/es/Image/viewer/Toolbar.mjs +8 -8
- package/es/Image/viewer/ViewerChrome.mjs +1 -1
- package/es/ImageSelect/ImageSelect.mjs +3 -3
- package/es/ImageSelect/index.d.mts +1 -1
- package/es/Input/ClearButton.mjs +2 -2
- package/es/Input/Input.mjs +4 -4
- package/es/Input/InputNumber.mjs +3 -3
- package/es/Input/InputOTP.mjs +2 -2
- package/es/Input/InputPassword.mjs +3 -3
- package/es/Input/TextArea.mjs +3 -3
- package/es/Input/index.d.mts +1 -1
- package/es/Input/index.mjs +1 -1
- package/es/Input/style.mjs +1 -1
- package/es/Layout/Layout.mjs +3 -3
- package/es/Layout/index.d.mts +1 -1
- package/es/List/List.d.mts +1 -1
- package/es/List/List.mjs +2 -2
- package/es/List/ListRow.mjs +3 -3
- package/es/List/index.d.mts +1 -1
- package/es/Markdown/Markdown.mjs +2 -2
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +1 -1
- package/es/Markdown/components/Footnotes.mjs +1 -1
- package/es/Markdown/components/MarkdownTable/index.mjs +1 -1
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs +1 -1
- package/es/Markdown/components/SearchResultCards/index.mjs +1 -1
- package/es/Markdown/index.d.mts +1 -1
- package/es/Markdown/index.mjs +1 -1
- package/es/Markdown/type.d.mts +5 -5
- package/es/MaskShadow/MaskShadow.mjs +2 -2
- package/es/MaskShadow/index.d.mts +1 -1
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs +1 -1
- package/es/MaterialFileTypeIcon/index.d.mts +1 -1
- package/es/Mermaid/FullFeatured.mjs +6 -6
- package/es/Mermaid/Mermaid.mjs +5 -5
- package/es/Mermaid/SyntaxMermaid/MermaidSvg.mjs +2 -2
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs +3 -3
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs +3 -3
- package/es/Mermaid/SyntaxMermaid/index.mjs +2 -2
- package/es/Mermaid/index.d.mts +2 -2
- package/es/Mermaid/index.mjs +1 -1
- package/es/Mermaid/type.d.mts +2 -2
- package/es/Modal/Modal.mjs +4 -4
- package/es/Modal/atoms.mjs +3 -3
- package/es/Modal/imperative.mjs +2 -2
- package/es/Modal/index.d.mts +1 -1
- package/es/Modal/index.mjs +1 -1
- package/es/Pagination/Pagination.mjs +3 -3
- package/es/Pagination/index.d.mts +1 -1
- package/es/Popover/PopoverGroup.mjs +3 -3
- package/es/Popover/PopoverInGroup.mjs +1 -1
- package/es/Popover/PopoverStandalone.mjs +3 -3
- package/es/Popover/atoms.mjs +3 -3
- package/es/Popover/index.d.mts +2 -2
- package/es/Popover/index.mjs +1 -1
- package/es/ProTable/ProTable.d.mts +1 -1
- package/es/ProTable/ProTable.mjs +3 -3
- package/es/ProTable/hooks/useProColumns.mjs +2 -2
- package/es/ProTable/index.d.mts +1 -1
- package/es/ProTable/parts/ColumnSetting.mjs +1 -1
- package/es/ProTable/parts/FieldControl.mjs +6 -6
- package/es/ProTable/parts/LightFilter.mjs +1 -1
- package/es/ProTable/parts/SearchForm.mjs +2 -2
- package/es/ProTable/parts/TableAlert.mjs +1 -1
- package/es/ProTable/parts/Toolbar.mjs +1 -1
- package/es/ProTable/parts/renderValue.mjs +1 -1
- package/es/ProTable/type.d.mts +2 -2
- package/es/Progress/Progress.mjs +3 -3
- package/es/Progress/index.d.mts +1 -1
- package/es/ProgressiveBlur/ProgressiveBlur.mjs +1 -1
- package/es/ProgressiveBlur/index.d.mts +1 -1
- package/es/QRCode/QRCode.mjs +5 -5
- package/es/QRCode/index.d.mts +1 -1
- package/es/Radio/Radio.mjs +1 -1
- package/es/Radio/RadioGroup.mjs +2 -2
- package/es/Radio/index.d.mts +1 -1
- package/es/Radio/index.mjs +1 -1
- package/es/Radio/style.d.mts +10 -52
- package/es/Radio/style.mjs +9 -2
- package/es/Radio/style.mjs.map +1 -1
- package/es/Radio/type.d.mts +2 -2
- package/es/Rate/Rate.mjs +2 -2
- package/es/Rate/index.d.mts +1 -1
- package/es/Result/Result.mjs +1 -1
- package/es/Result/index.d.mts +1 -1
- package/es/ScrollArea/atoms.mjs +1 -1
- package/es/ScrollArea/index.d.mts +1 -1
- package/es/ScrollShadow/ScrollShadow.mjs +2 -2
- package/es/ScrollShadow/index.d.mts +1 -1
- package/es/SearchBar/SearchBar.mjs +6 -6
- package/es/SearchBar/index.d.mts +1 -1
- package/es/Segmented/Segmented.mjs +1 -1
- package/es/Segmented/atoms.mjs +2 -2
- package/es/Segmented/index.d.mts +1 -1
- package/es/Select/Select.mjs +4 -4
- package/es/Select/atoms.mjs +4 -4
- package/es/Select/index.d.mts +1 -1
- package/es/Select/parts.mjs +4 -4
- package/es/Select/renderOptions.mjs +3 -3
- package/es/SideNav/SideNav.mjs +1 -1
- package/es/SideNav/index.d.mts +1 -1
- package/es/Skeleton/Skeleton.mjs +1 -1
- package/es/Skeleton/SkeletonAvatar.mjs +1 -1
- package/es/Skeleton/SkeletonText.mjs +2 -2
- package/es/Skeleton/index.d.mts +1 -1
- package/es/Slider/Slider.mjs +1 -1
- package/es/Slider/SliderWithInput.mjs +2 -2
- package/es/Slider/index.d.mts +1 -1
- package/es/Slider/index.mjs +1 -1
- package/es/Slider/style.d.mts +9 -48
- package/es/Slider/style.mjs +8 -2
- package/es/Slider/style.mjs.map +1 -1
- package/es/Snippet/Snippet.mjs +4 -4
- package/es/Snippet/index.d.mts +1 -1
- package/es/SortableList/SortableList.mjs +4 -4
- package/es/SortableList/components/SortableItem.mjs +2 -2
- package/es/SortableList/index.d.mts +1 -1
- package/es/Spin/Spin.mjs +3 -3
- package/es/Spin/index.d.mts +1 -1
- package/es/Statistic/Statistic.mjs +2 -2
- package/es/Statistic/index.d.mts +1 -1
- package/es/Steps/Steps.mjs +2 -2
- package/es/Steps/index.d.mts +1 -1
- package/es/Switch/Switch.mjs +3 -3
- package/es/Switch/atoms.d.mts +2 -20
- package/es/Switch/atoms.mjs +4 -11
- package/es/Switch/atoms.mjs.map +1 -1
- package/es/Switch/index.d.mts +3 -2
- package/es/Switch/index.mjs +2 -1
- package/es/Switch/style.d.mts +21 -0
- package/es/Switch/style.mjs +20 -1
- package/es/Switch/style.mjs.map +1 -1
- package/es/Table/Table.d.mts +1 -1
- package/es/Table/Table.mjs +6 -6
- package/es/Table/index.d.mts +2 -2
- package/es/Table/internal.d.mts +1 -1
- package/es/Table/pipeline/normalizeColumns.mjs +1 -1
- package/es/Table/pipeline/useTableLocale.mjs +1 -1
- package/es/Table/pipeline/useTableState.mjs +1 -1
- package/es/Table/render/Body.mjs +2 -2
- package/es/Table/render/BodyCell.mjs +1 -1
- package/es/Table/render/CellShell.mjs +1 -1
- package/es/Table/render/FilterDropdown.mjs +2 -2
- package/es/Table/render/FilterPanel.mjs +5 -5
- package/es/Table/render/Header.mjs +5 -5
- package/es/Table/render/SelectionCells.mjs +3 -3
- package/es/Table/render/Summary.d.mts +2 -2
- package/es/Table/render/TableView.mjs +3 -3
- package/es/Table/render/VirtualBody.mjs +2 -2
- package/es/Table/render/filterUtils.mjs +1 -1
- package/es/Table/type.d.mts +2 -2
- package/es/Table/useTableController.mjs +3 -3
- package/es/Tabs/Tabs.mjs +2 -2
- package/es/Tabs/atoms.mjs +1 -1
- package/es/Tabs/index.d.mts +2 -2
- package/es/Tabs/style.d.mts +4 -4
- package/es/Tabs/style.mjs +13 -1
- package/es/Tabs/style.mjs.map +1 -1
- package/es/Tag/Tag.mjs +2 -2
- package/es/Tag/index.d.mts +1 -1
- package/es/Tag/index.mjs +1 -1
- package/es/Text/Text.mjs +3 -3
- package/es/Text/index.d.mts +1 -1
- package/es/Text/style.d.mts +11 -11
- package/es/Text/style.mjs +21 -1
- package/es/Text/style.mjs.map +1 -1
- package/es/Toast/Toast.mjs +3 -3
- package/es/Toast/imperative.mjs +1 -1
- package/es/Toast/index.d.mts +1 -1
- package/es/ToggleGroup/ToggleGroup.mjs +1 -1
- package/es/ToggleGroup/atoms.d.mts +2 -3
- package/es/ToggleGroup/atoms.mjs +2 -4
- package/es/ToggleGroup/atoms.mjs.map +1 -1
- package/es/ToggleGroup/index.d.mts +3 -2
- package/es/ToggleGroup/index.mjs +2 -1
- package/es/ToggleGroup/style.d.mts +18 -94
- package/es/ToggleGroup/style.mjs +18 -1
- package/es/ToggleGroup/style.mjs.map +1 -1
- package/es/Tooltip/TooltipGroup.mjs +6 -6
- package/es/Tooltip/TooltipInGroup.mjs +1 -1
- package/es/Tooltip/TooltipStandalone.mjs +6 -6
- package/es/Tooltip/index.d.mts +1 -1
- package/es/Tree/Tree.mjs +4 -4
- package/es/Tree/TreeNode.mjs +4 -4
- package/es/Tree/index.d.mts +1 -1
- package/es/Tree/index.mjs +1 -1
- package/es/Upload/Upload.mjs +2 -2
- package/es/Video/Video.mjs +2 -2
- package/es/Video/index.d.mts +1 -1
- package/es/Video/index.mjs +2 -2
- package/es/Video/parts/CenterPlay.mjs +2 -2
- package/es/Video/parts/Controls.mjs +3 -3
- package/es/Video/parts/Frame.mjs +3 -3
- package/es/Video/parts/LoadError.mjs +2 -2
- package/es/Video/parts/RateMenu.mjs +3 -3
- package/es/Video/parts/Root.mjs +3 -3
- package/es/Video/parts/SectionMenu.mjs +3 -3
- package/es/Video/parts/Timeline.mjs +2 -2
- package/es/awesome/AgentSkillCard/AgentSkillCard.mjs +3 -3
- package/es/awesome/AgentSkillCard/index.d.mts +1 -1
- package/es/awesome/AuroraBackground/AuroraBackground.mjs +1 -1
- package/es/awesome/AuroraBackground/index.d.mts +1 -1
- package/es/awesome/BentoGrid/BentoCard.mjs +1 -1
- package/es/awesome/BentoGrid/index.d.mts +1 -1
- package/es/awesome/BentoGrid/type.d.mts +1 -1
- package/es/awesome/BottomGradientButton/index.d.mts +1 -1
- package/es/awesome/CodeShowcase/CodeShowcase.mjs +1 -1
- package/es/awesome/CodeShowcase/index.d.mts +1 -1
- package/es/awesome/FeatureGrid/FeatureGrid.mjs +2 -2
- package/es/awesome/FeatureGrid/index.d.mts +1 -1
- package/es/awesome/FeatureGrid/type.d.mts +2 -2
- package/es/awesome/Features/FeatureItem.mjs +3 -3
- package/es/awesome/Features/Features.mjs +1 -1
- package/es/awesome/Features/index.d.mts +1 -1
- package/es/awesome/Features/type.d.mts +2 -2
- package/es/awesome/FluidGradient/FluidGradient.mjs +1 -1
- package/es/awesome/FluidGradient/index.d.mts +1 -1
- package/es/awesome/FluidGradient/type.d.mts +1 -1
- package/es/awesome/Giscus/index.d.mts +1 -1
- package/es/awesome/Giscus/style.mjs +1 -1
- package/es/awesome/GradientButton/GradientButton.mjs +2 -2
- package/es/awesome/GradientButton/index.d.mts +1 -1
- package/es/awesome/Grainient/index.d.mts +1 -1
- package/es/awesome/GridBackground/GridBackground.mjs +4 -4
- package/es/awesome/GridBackground/GridShowcase.mjs +4 -4
- package/es/awesome/GridBackground/index.d.mts +1 -1
- package/es/awesome/Hero/Hero.mjs +6 -6
- package/es/awesome/Hero/index.d.mts +1 -1
- package/es/awesome/InstallBanner/InstallBanner.mjs +1 -1
- package/es/awesome/InstallBanner/index.d.mts +1 -1
- package/es/awesome/LandingHero/LandingHero.mjs +1 -1
- package/es/awesome/LandingHero/index.d.mts +1 -1
- package/es/awesome/LandingHero/type.d.mts +2 -2
- package/es/awesome/LandingSection/LandingSection.mjs +1 -1
- package/es/awesome/LandingSection/index.d.mts +1 -1
- package/es/awesome/LandingSection/type.d.mts +2 -2
- package/es/awesome/LogoMarquee/LogoMarquee.mjs +1 -1
- package/es/awesome/LogoMarquee/index.d.mts +1 -1
- package/es/awesome/Spotlight/Spotlight.mjs +1 -1
- package/es/awesome/Spotlight/index.d.mts +1 -1
- package/es/awesome/SpotlightCard/SpotlightCard.mjs +2 -2
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs +1 -1
- package/es/awesome/SpotlightCard/index.d.mts +1 -1
- package/es/awesome/index.d.mts +20 -20
- package/es/awesome/index.mjs +4 -4
- package/es/awesome/landingActions.d.mts +2 -2
- package/es/awesome/landingActions.mjs +3 -3
- package/es/brand/LobeChat/index.mjs +3 -3
- package/es/brand/LobeChatText/index.mjs +1 -1
- package/es/brand/LobeHub/index.mjs +4 -4
- package/es/brand/LobeHubText/index.mjs +1 -1
- package/es/brand/components/Divider.mjs +1 -1
- package/es/brand/index.mjs +3 -3
- package/es/chat/BackBottom/BackBottom.mjs +1 -1
- package/es/chat/BackBottom/index.d.mts +1 -1
- package/es/chat/ChatHeader/ChatHeader.mjs +2 -2
- package/es/chat/ChatHeader/ChatHeaderTitle.mjs +1 -1
- package/es/chat/ChatHeader/index.d.mts +1 -1
- package/es/chat/ChatInputArea/ChatInputArea.mjs +2 -2
- package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs +1 -1
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs +2 -2
- package/es/chat/ChatInputArea/index.d.mts +1 -1
- package/es/chat/ChatInputArea/index.mjs +1 -1
- package/es/chat/ChatInputArea/type.d.mts +3 -3
- package/es/chat/ChatItem/ChatItem.mjs +6 -6
- package/es/chat/ChatItem/components/Actions.mjs +1 -1
- package/es/chat/ChatItem/components/Avatar.mjs +2 -2
- package/es/chat/ChatItem/components/ErrorContent.mjs +2 -2
- package/es/chat/ChatItem/components/Loading.mjs +2 -2
- package/es/chat/ChatItem/components/MessageContent.mjs +2 -2
- package/es/chat/ChatItem/components/Title.mjs +2 -2
- package/es/chat/ChatItem/index.d.mts +1 -1
- package/es/chat/ChatItem/type.d.mts +7 -7
- package/es/chat/ChatList/ChatList.mjs +3 -3
- package/es/chat/ChatList/components/ChatListItem.mjs +2 -2
- package/es/chat/ChatList/components/HistoryDivider.mjs +2 -2
- package/es/chat/ChatList/index.d.mts +1 -1
- package/es/chat/ChatList/type.d.mts +4 -4
- package/es/chat/EditableMessage/EditableMessage.mjs +3 -3
- package/es/chat/EditableMessage/index.d.mts +1 -1
- package/es/chat/EditableMessage/type.d.mts +3 -3
- package/es/chat/EditableMessageList/EditableMessageList.mjs +3 -3
- package/es/chat/EditableMessageList/index.d.mts +1 -1
- package/es/chat/LoadingDots/LoadingDots.mjs +1 -1
- package/es/chat/LoadingDots/index.d.mts +1 -1
- package/es/chat/MessageInput/MessageInput.mjs +5 -5
- package/es/chat/MessageInput/index.d.mts +1 -1
- package/es/chat/MessageInput/type.d.mts +3 -3
- package/es/chat/MessageModal/MessageModal.mjs +5 -5
- package/es/chat/MessageModal/index.d.mts +1 -1
- package/es/chat/MessageModal/type.d.mts +2 -2
- package/es/chat/TokenTag/TokenTag.mjs +3 -3
- package/es/chat/TokenTag/index.d.mts +1 -1
- package/es/chat/index.d.mts +8 -8
- package/es/chat/index.mjs +3 -3
- package/es/chat/types/index.d.mts +1 -1
- package/es/color/ColorScales/ScaleRow.mjs +3 -3
- package/es/color/ColorScales/index.mjs +3 -3
- package/es/color/CssVar/ScaleRow.mjs +3 -3
- package/es/color/CssVar/VarRow.mjs +4 -4
- package/es/color/CssVar/index.mjs +3 -3
- package/es/color/index.d.mts +5 -5
- package/es/color/index.mjs +4 -4
- package/es/css/Accordion.css +475 -0
- package/es/css/ActionIcon.css +1237 -0
- package/es/css/ActionIconGroup.css +2117 -0
- package/es/css/AgentAvatar.css +400 -0
- package/es/css/Alert.css +596 -0
- package/es/css/Anchor.css +197 -0
- package/es/css/AutoComplete.css +897 -0
- package/es/css/Avatar.css +232 -0
- package/es/css/Badge.css +238 -0
- package/es/css/Block.css +83 -0
- package/es/css/Breadcrumb.css +154 -0
- package/es/css/Burger.css +1789 -0
- package/es/css/Button.css +1613 -0
- package/es/css/Carousel.css +1347 -0
- package/es/css/Checkbox.css +990 -0
- package/es/css/CodeDiff.css +1583 -0
- package/es/css/CodeEditor.css +267 -0
- package/es/css/Collapsible.css +475 -0
- package/es/css/ColorPicker.css +2254 -0
- package/es/css/ColorSwatches.css +2654 -0
- package/es/css/ContextMenu.css +1181 -0
- package/es/css/CopyButton.css +1237 -0
- package/es/css/DatePicker.css +3277 -0
- package/es/css/Descriptions.css +159 -0
- package/es/css/Divider.css +149 -0
- package/es/css/DownloadButton.css +1237 -0
- package/es/css/DraggablePanel.css +1555 -0
- package/es/css/DraggableSideNav.css +375 -0
- package/es/css/Drawer.css +580 -0
- package/es/css/DropdownMenu.css +1177 -0
- package/es/css/EditableText.css +1543 -0
- package/es/css/EditorSlashMenu.css +513 -0
- package/es/css/EmojiPicker.css +3199 -0
- package/es/css/Empty.css +897 -0
- package/es/css/FileTypeIcon.css +27 -0
- package/es/css/FloatingPanel.css +2027 -0
- package/es/css/FloatingSheet.css +182 -0
- package/es/css/FluentEmoji.css +17 -0
- package/es/css/FocusScope.css +27 -0
- package/es/css/Form.css +1964 -0
- package/es/css/Grid.css +27 -0
- package/es/css/GroupAvatar.css +308 -0
- package/es/css/GuideCard.css +1279 -0
- package/es/css/Header.css +89 -0
- package/es/css/Highlighter.css +2517 -0
- package/es/css/Hotkey.css +157 -0
- package/es/css/HotkeyInput.css +1275 -0
- package/es/css/HtmlPreview.css +1860 -0
- package/es/css/Icon.css +49 -0
- package/es/css/Image.css +2669 -0
- package/es/css/ImageSelect.css +103 -0
- package/es/css/Input.css +507 -0
- package/es/css/Layout.css +1603 -0
- package/es/css/List.css +404 -0
- package/es/css/Markdown.css +4843 -0
- package/es/css/MaskShadow.css +45 -0
- package/es/css/MaterialFileTypeIcon.css +27 -0
- package/es/css/Mermaid.css +2916 -0
- package/es/css/Modal.css +1839 -0
- package/es/css/Pagination.css +1603 -0
- package/es/css/Popover.css +408 -0
- package/es/css/Progress.css +295 -0
- package/es/css/ProgressiveBlur.css +158 -0
- package/es/css/QRCode.css +528 -0
- package/es/css/Radio.css +990 -0
- package/es/css/Rate.css +163 -0
- package/es/css/Result.css +145 -0
- package/es/css/ScrollArea.css +414 -0
- package/es/css/ScrollShadow.css +71 -0
- package/es/css/SearchBar.css +615 -0
- package/es/css/Segmented.css +389 -0
- package/es/css/Select.css +1227 -0
- package/es/css/SideNav.css +45 -0
- package/es/css/Skeleton.css +180 -0
- package/es/css/Slider.css +680 -0
- package/es/css/Snippet.css +1383 -0
- package/es/css/SortableList.css +1255 -0
- package/es/css/Spin.css +311 -0
- package/es/css/Statistic.css +236 -0
- package/es/css/Steps.css +291 -0
- package/es/css/Switch.css +482 -0
- package/es/css/Table.css +4187 -0
- package/es/css/Tabs.css +425 -0
- package/es/css/Tag.css +169 -0
- package/es/css/Text.css +787 -0
- package/es/css/Toast.css +679 -0
- package/es/css/ToggleGroup.css +315 -0
- package/es/css/Tooltip.css +594 -0
- package/es/css/Tree.css +1136 -0
- package/es/css/Upload.css +171 -0
- package/es/css/Video.css +1721 -0
- package/es/css/awesome/AgentSkillCard.css +1631 -0
- package/es/css/awesome/AuroraBackground.css +180 -0
- package/es/css/awesome/BentoGrid.css +239 -0
- package/es/css/awesome/BottomGradientButton.css +770 -0
- package/es/css/awesome/CodeShowcase.css +2698 -0
- package/es/css/awesome/FeatureGrid.css +231 -0
- package/es/css/awesome/Features.css +1022 -0
- package/es/css/awesome/FluidGradient.css +63 -0
- package/es/css/awesome/GradientButton.css +870 -0
- package/es/css/awesome/Grainient.css +43 -0
- package/es/css/awesome/GridBackground.css +183 -0
- package/es/css/awesome/Hero.css +2022 -0
- package/es/css/awesome/InstallBanner.css +1438 -0
- package/es/css/awesome/LandingHero.css +1050 -0
- package/es/css/awesome/LandingSection.css +1066 -0
- package/es/css/awesome/LogoMarquee.css +154 -0
- package/es/css/awesome/Spotlight.css +49 -0
- package/es/css/awesome/SpotlightCard.css +166 -0
- package/es/css/awesome/TypewriterEffect.css +81 -0
- package/es/css/brand/LobeChat.css +27 -0
- package/es/css/brand/LobeChatText.css +15 -0
- package/es/css/brand/LobeHub.css +27 -0
- package/es/css/brand/LobeHubText.css +15 -0
- package/es/css/brand/Logo3d.css +17 -0
- package/es/css/chat/BackBottom.css +740 -0
- package/es/css/chat/ChatHeader.css +1297 -0
- package/es/css/chat/ChatInputArea.css +2648 -0
- package/es/css/chat/ChatItem.css +5599 -0
- package/es/css/chat/ChatList.css +5655 -0
- package/es/css/chat/EditableMessage.css +5223 -0
- package/es/css/chat/EditableMessageList.css +2534 -0
- package/es/css/chat/LoadingDots.css +228 -0
- package/es/css/chat/MessageInput.css +2455 -0
- package/es/css/chat/MessageModal.css +5223 -0
- package/es/css/chat/TokenTag.css +1391 -0
- package/es/css/color/ColorScales.css +767 -0
- package/es/css/color/CssVar.css +743 -0
- package/es/css/dashboard/AuthLayout.css +1220 -0
- package/es/css/dashboard/AuthTools.css +1417 -0
- package/es/css/dashboard/Breadcrumb.css +91 -0
- package/es/css/dashboard/ChartGrid.css +49 -0
- package/es/css/dashboard/ConsoleNav.css +1184 -0
- package/es/css/dashboard/ConsoleShell.css +2711 -0
- package/es/css/dashboard/FilterSidebar.css +2861 -0
- package/es/css/dashboard/FilterStrip.css +845 -0
- package/es/css/dashboard/LabelWithKey.css +169 -0
- package/es/css/dashboard/MetricStrip.css +849 -0
- package/es/css/dashboard/PageHeader.css +851 -0
- package/es/css/dashboard/PageSkeleton.css +556 -0
- package/es/css/dashboard/PageTabs.css +502 -0
- package/es/css/dashboard/PageToolbar.css +57 -0
- package/es/css/dashboard/PanelSurface.css +733 -0
- package/es/css/dashboard/RouteProgress.css +45 -0
- package/es/css/dashboard/Section.css +749 -0
- package/es/css/dashboard/StatCard.css +572 -0
- package/es/css/dashboard/Surface.css +725 -0
- package/es/css/dashboard/TableIconActions.css +1237 -0
- package/es/css/dashboard/TitleWithTips.css +598 -0
- package/es/css/form.css +2464 -0
- package/es/css/mdx/Callout.css +145 -0
- package/es/css/mdx/Cards.css +115 -0
- package/es/css/mdx/FileTree.css +41 -0
- package/es/css/mdx/Mdx.css +5376 -0
- package/es/css/mdx/Steps.css +94 -0
- package/es/css/mdx/Tabs.css +454 -0
- package/es/css/mdx/mdxComponents.css +3769 -0
- package/es/css/mobile/ChatHeader.css +1277 -0
- package/es/css/mobile/ChatInputArea.css +2377 -0
- package/es/css/mobile/SafeArea.css +27 -0
- package/es/css/mobile/TabBar.css +98 -0
- package/es/css/pro-table.css +5838 -0
- package/es/css/storybook/StoryBook.css +1611 -0
- package/es/dashboard/AuthLayout/AuthLayout.d.mts +1 -1
- package/es/dashboard/AuthLayout/AuthLayout.mjs +4 -4
- package/es/dashboard/AuthLayout/index.d.mts +1 -1
- package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs +1 -1
- package/es/dashboard/AuthTools/AuthThemeSwitch.mjs +1 -1
- package/es/dashboard/AuthTools/index.d.mts +1 -1
- package/es/dashboard/Breadcrumb/Breadcrumb.mjs +1 -1
- package/es/dashboard/Breadcrumb/index.d.mts +1 -1
- package/es/dashboard/ChartGrid/index.d.mts +1 -1
- package/es/dashboard/ConsoleNav/ConsoleNav.mjs +3 -3
- package/es/dashboard/ConsoleNav/Skeleton.mjs +1 -1
- package/es/dashboard/ConsoleNav/index.d.mts +1 -1
- package/es/dashboard/ConsoleShell/ConsoleShell.mjs +7 -7
- package/es/dashboard/ConsoleShell/index.d.mts +1 -1
- package/es/dashboard/FilterSidebar/FilterSidebar.mjs +3 -3
- package/es/dashboard/FilterSidebar/index.d.mts +1 -1
- package/es/dashboard/FilterStrip/FilterStrip.mjs +2 -2
- package/es/dashboard/FilterStrip/index.d.mts +1 -1
- package/es/dashboard/LabelWithKey/index.d.mts +1 -1
- package/es/dashboard/MetricStrip/MetricCell.mjs +2 -2
- package/es/dashboard/MetricStrip/MetricStrip.mjs +3 -3
- package/es/dashboard/MetricStrip/index.d.mts +1 -1
- package/es/dashboard/PageHeader/PageHeader.mjs +1 -1
- package/es/dashboard/PageHeader/index.d.mts +1 -1
- package/es/dashboard/PageSkeleton/PageSkeleton.mjs +2 -2
- package/es/dashboard/PageTabs/index.d.mts +1 -1
- package/es/dashboard/PageToolbar/index.d.mts +1 -1
- package/es/dashboard/PanelSurface/PanelSurface.mjs +3 -3
- package/es/dashboard/PanelSurface/index.d.mts +1 -1
- package/es/dashboard/Section/Section.mjs +3 -3
- package/es/dashboard/Section/index.d.mts +1 -1
- package/es/dashboard/StatCard/StatCard.mjs +6 -6
- package/es/dashboard/StatCard/StatCard.mjs.map +1 -1
- package/es/dashboard/StatCard/index.d.mts +1 -1
- package/es/dashboard/Surface/Surface.mjs +5 -5
- package/es/dashboard/Surface/index.d.mts +1 -1
- package/es/dashboard/TableIconActions/TableIconActions.mjs +1 -1
- package/es/dashboard/TableIconActions/index.d.mts +1 -1
- package/es/dashboard/TitleWithTips/TitleWithTips.mjs +3 -3
- package/es/dashboard/TitleWithTips/index.d.mts +1 -1
- package/es/dashboard/index.d.mts +2 -2
- package/es/dashboard/index.mjs +9 -9
- package/es/eslint/index.d.mts +1 -1
- package/es/hooks/useMarkdown/useMarkdownComponents.mjs +1 -1
- package/es/hooks/useMarkdown/useMarkdownContent.mjs +1 -1
- package/es/i18n/context.d.mts +1 -1
- package/es/i18n/index.d.mts +1 -1
- package/es/i18n/resources/en/index.mjs +6 -6
- package/es/i18n/resources/zhCn/index.mjs +1 -1
- package/es/icons/Auth0/index.mjs +2 -2
- package/es/icons/Authelia/index.mjs +5 -5
- package/es/icons/Authentik/index.mjs +5 -5
- package/es/icons/Casdoor/index.mjs +5 -5
- package/es/icons/Clerk/index.mjs +5 -5
- package/es/icons/DingTalk/index.mjs +5 -5
- package/es/icons/Discord/index.mjs +5 -5
- package/es/icons/GoogleChat/index.mjs +2 -2
- package/es/icons/IMessage/index.mjs +1 -1
- package/es/icons/Lark/index.mjs +2 -2
- package/es/icons/Line/index.mjs +5 -5
- package/es/icons/Logto/index.mjs +5 -5
- package/es/icons/MicrosoftEntra/index.mjs +2 -2
- package/es/icons/MicrosoftTeams/index.mjs +2 -2
- package/es/icons/NextAuth/index.mjs +2 -2
- package/es/icons/QQ/index.mjs +2 -2
- package/es/icons/Slack/index.mjs +2 -2
- package/es/icons/Telegram/index.mjs +1 -1
- package/es/icons/WeChat/index.mjs +5 -5
- package/es/icons/WhatsApp/index.mjs +5 -5
- package/es/icons/Zitadel/index.mjs +5 -5
- package/es/index.d.mts +126 -123
- package/es/index.mjs +123 -121
- package/es/internal/menu/index.d.mts +3 -3
- package/es/internal/menu/renderUtils.d.mts +1 -1
- package/es/internal/virtual/MenuVirtualList.mjs +1 -1
- package/es/internal/virtual/VirtualScrollArea.mjs +1 -1
- package/es/internal/virtual/index.d.mts +2 -2
- package/es/mdx/Callout/index.mjs +3 -3
- package/es/mdx/Cards/Card.d.mts +2 -2
- package/es/mdx/Cards/Card.mjs +4 -4
- package/es/mdx/Cards/index.mjs +1 -1
- package/es/mdx/FileTree/File.mjs +1 -1
- package/es/mdx/FileTree/Folder.mjs +3 -3
- package/es/mdx/Mdx/index.mjs +6 -6
- package/es/mdx/index.mjs +7 -7
- package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs +2 -2
- package/es/mdx/mdxComponents/Citation/index.mjs +1 -1
- package/es/mdx/mdxComponents/Link.mjs +1 -1
- package/es/mdx/mdxComponents/Pre.mjs +1 -1
- package/es/mdx/mdxComponents/Video.mjs +1 -1
- package/es/mdx/mdxComponents/index.mjs +3 -3
- package/es/mobile/ChatHeader/ChatHeader.mjs +2 -2
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs +1 -1
- package/es/mobile/ChatHeader/index.d.mts +1 -1
- package/es/mobile/ChatInputArea/ChatInputArea.mjs +4 -4
- package/es/mobile/ChatInputArea/index.d.mts +1 -1
- package/es/mobile/SafeArea/SafeArea.mjs +1 -1
- package/es/mobile/SafeArea/index.d.mts +1 -1
- package/es/mobile/TabBar/TabBar.mjs +2 -2
- package/es/mobile/TabBar/index.d.mts +1 -1
- package/es/mobile/index.mjs +3 -3
- package/es/node_modules/.pnpm/{@types_estree@1.0.9 → @types_estree@1.0.10}/node_modules/@types/estree/index.d.mts +7 -1
- package/es/node_modules/.pnpm/{eslint@10.13.0_jiti@2.7.0_supports-color@10.2.2 → eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2}/node_modules/eslint/lib/types/index.d.mts +1 -1
- package/es/spline/LogoThree/Loading.mjs +1 -1
- package/es/spline/LogoThree/LogoSpline.mjs +1 -1
- package/es/spline/Spline/index.d.mts +1 -1
- package/es/spline/index.d.mts +2 -2
- package/es/spline/index.mjs +1 -1
- package/es/storybook/StoryBook/index.mjs +3 -3
- package/es/style.css +737 -490
- package/es/styles/index.d.mts +5 -5
- package/es/styles/index.mjs +9 -9
- package/es/styles/theme/customNeutral.mjs +1 -1
- package/es/styles/theme/scope.d.mts +1 -1
- package/es/styles/theme/scope.mjs +3 -3
- package/es/styles/theme/themeCss.mjs +4 -4
- package/es/styles/theme/token/palette.mjs +1 -1
- package/es/styles/theme/token/primary.mjs +1 -1
- package/package.json +2 -1
- package/es/DropdownMenu/sharedStyle.mjs +0 -8
- package/es/DropdownMenu/sharedStyle.mjs.map +0 -1
|
@@ -1,169 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
readonly borderBlockStartWidth: stylex.StyleXClassNameFor<"borderBlockStartWidth", 1>;
|
|
26
|
-
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
27
|
-
}>;
|
|
28
|
-
readonly groupLabel: Readonly<{
|
|
29
|
-
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 12>;
|
|
30
|
-
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
31
|
-
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 10>;
|
|
32
|
-
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 600>;
|
|
33
|
-
readonly letterSpacing: stylex.StyleXClassNameFor<"letterSpacing", "0.6px">;
|
|
34
|
-
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", "14px">;
|
|
35
|
-
readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", 4>;
|
|
36
|
-
readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", 4 | 8>;
|
|
37
|
-
readonly textTransform: stylex.StyleXClassNameFor<"textTransform", "uppercase">;
|
|
38
|
-
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
39
|
-
}>;
|
|
40
|
-
readonly header: Readonly<{
|
|
41
|
-
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 4 | 8>;
|
|
42
|
-
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0 | 12>;
|
|
43
|
-
readonly borderBlockEndColor: stylex.StyleXClassNameFor<"borderBlockEndColor", string>;
|
|
44
|
-
readonly borderBlockEndStyle: stylex.StyleXClassNameFor<"borderBlockEndStyle", "solid">;
|
|
45
|
-
readonly borderBlockEndWidth: stylex.StyleXClassNameFor<"borderBlockEndWidth", 1>;
|
|
46
|
-
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
47
|
-
}>;
|
|
48
|
-
readonly icon: Readonly<{
|
|
49
|
-
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
50
|
-
readonly color: stylex.StyleXClassNameFor<"color", `var(--lobe-menu-icon-color, ${string})`>;
|
|
51
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
52
|
-
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
53
|
-
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
54
|
-
readonly marginInlineEnd: stylex.StyleXClassNameFor<"marginInlineEnd", 12>;
|
|
55
|
-
readonly height: stylex.StyleXClassNameFor<"height", 14>;
|
|
56
|
-
readonly width: stylex.StyleXClassNameFor<"width", 14>;
|
|
57
|
-
}>;
|
|
58
|
-
readonly iconAlignStart: Readonly<{
|
|
59
|
-
readonly alignSelf: stylex.StyleXClassNameFor<"alignSelf", "flex-start">;
|
|
60
|
-
readonly marginBlockStart: stylex.StyleXClassNameFor<"marginBlockStart", 2>;
|
|
61
|
-
}>;
|
|
62
|
-
readonly item: Readonly<{
|
|
63
|
-
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
64
|
-
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
65
|
-
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
66
|
-
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 6>;
|
|
67
|
-
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 12>;
|
|
68
|
-
readonly transition: stylex.StyleXClassNameFor<"transition", `all 150ms ${string}`>;
|
|
69
|
-
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
70
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string | null>;
|
|
71
|
-
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
72
|
-
readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed" | null>;
|
|
73
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
74
|
-
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 14>;
|
|
75
|
-
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", "20px">;
|
|
76
|
-
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.5 | null>;
|
|
77
|
-
readonly position: stylex.StyleXClassNameFor<"position", "relative">;
|
|
78
|
-
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
79
|
-
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", 32>;
|
|
80
|
-
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
81
|
-
}>;
|
|
82
|
-
readonly itemContent: Readonly<{
|
|
83
|
-
readonly flex: stylex.StyleXClassNameFor<"flex", "1">;
|
|
84
|
-
readonly gap: stylex.StyleXClassNameFor<"gap", 0>;
|
|
85
|
-
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
86
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
87
|
-
}>;
|
|
88
|
-
readonly itemContentAlignStart: Readonly<{
|
|
89
|
-
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "flex-start">;
|
|
90
|
-
}>;
|
|
91
|
-
readonly label: Readonly<{
|
|
92
|
-
readonly flex: stylex.StyleXClassNameFor<"flex", "1">;
|
|
93
|
-
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
94
|
-
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
95
|
-
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
96
|
-
}>;
|
|
97
|
-
readonly labelGroup: Readonly<{
|
|
98
|
-
readonly flex: stylex.StyleXClassNameFor<"flex", "1">;
|
|
99
|
-
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
100
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
101
|
-
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
102
|
-
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
103
|
-
}>;
|
|
104
|
-
readonly desc: Readonly<{
|
|
105
|
-
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
106
|
-
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
107
|
-
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 12>;
|
|
108
|
-
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", "16px">;
|
|
109
|
-
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
110
|
-
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
111
|
-
}>;
|
|
112
|
-
readonly popup: Readonly<{
|
|
113
|
-
readonly '--lobe-menu-popup-padding': stylex.StyleXClassNameFor<"--lobe-menu-popup-padding", "4px">;
|
|
114
|
-
readonly '--lobe-virtual-scroll-inset': stylex.StyleXClassNameFor<"--lobe-virtual-scroll-inset", "var(--lobe-menu-popup-padding)" | null>;
|
|
115
|
-
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
116
|
-
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
117
|
-
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", "var(--lobe-menu-popup-padding)">;
|
|
118
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
119
|
-
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `${string}, var(--lobe-ring)`>;
|
|
120
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex" | null>;
|
|
121
|
-
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column" | null>;
|
|
122
|
-
readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", 0 | "var(--lobe-menu-popup-padding)">;
|
|
123
|
-
readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", 0 | "var(--lobe-menu-popup-padding)">;
|
|
124
|
-
readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "var(--available-height)">;
|
|
125
|
-
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 220>;
|
|
126
|
-
readonly overflowX: stylex.StyleXClassNameFor<"overflowX", "hidden" | null>;
|
|
127
|
-
readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "hidden" | "auto">;
|
|
128
|
-
}>;
|
|
129
|
-
readonly popupWithSlots: Readonly<{
|
|
130
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
131
|
-
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
132
|
-
readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "var(--available-height)">;
|
|
133
|
-
readonly overflowX: stylex.StyleXClassNameFor<"overflowX", "hidden">;
|
|
134
|
-
readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "hidden">;
|
|
135
|
-
}>;
|
|
136
|
-
readonly slotViewport: Readonly<{
|
|
137
|
-
readonly flex: stylex.StyleXClassNameFor<"flex", "1">;
|
|
138
|
-
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", 0>;
|
|
139
|
-
readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "auto">;
|
|
140
|
-
}>;
|
|
141
|
-
readonly positioner: Readonly<{
|
|
142
|
-
readonly '--lobe-dropdown-animation-duration': stylex.StyleXClassNameFor<"--lobe-dropdown-animation-duration", "140ms" | "0ms">;
|
|
143
|
-
readonly '--lobe-dropdown-animation-ease-in': stylex.StyleXClassNameFor<"--lobe-dropdown-animation-ease-in", "ease-in">;
|
|
144
|
-
readonly '--lobe-dropdown-animation-ease-out': stylex.StyleXClassNameFor<"--lobe-dropdown-animation-ease-out", string>;
|
|
145
|
-
readonly '--lobe-dropdown-animation-scale-y': stylex.StyleXClassNameFor<"--lobe-dropdown-animation-scale-y", "1" | "0.92">;
|
|
146
|
-
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 1100 | 1199>;
|
|
147
|
-
}>;
|
|
148
|
-
readonly separator: Readonly<{
|
|
149
|
-
readonly marginBlock: stylex.StyleXClassNameFor<"marginBlock", 4>;
|
|
150
|
-
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", 0>;
|
|
151
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
152
|
-
readonly height: stylex.StyleXClassNameFor<"height", 1>;
|
|
153
|
-
}>;
|
|
154
|
-
readonly switchWrap: Readonly<{
|
|
155
|
-
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
156
|
-
readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", 16>;
|
|
157
|
-
}>;
|
|
158
|
-
readonly submenuArrow: Readonly<{
|
|
159
|
-
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
160
|
-
readonly color: stylex.StyleXClassNameFor<"color", `var(--lobe-menu-icon-color, ${string})`>;
|
|
161
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
162
|
-
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
163
|
-
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
164
|
-
readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", 8>;
|
|
165
|
-
readonly height: stylex.StyleXClassNameFor<"height", 16>;
|
|
166
|
-
readonly width: stylex.StyleXClassNameFor<"width", 16>;
|
|
167
|
-
}>;
|
|
168
|
-
}>;
|
|
1
|
+
import "@stylexjs/stylex";
|
|
2
|
+
export declare const menuSharedClassNames: {
|
|
3
|
+
danger: string;
|
|
4
|
+
empty: string;
|
|
5
|
+
extra: string;
|
|
6
|
+
footer: string;
|
|
7
|
+
groupLabel: string;
|
|
8
|
+
header: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
iconAlignStart: string;
|
|
11
|
+
item: string;
|
|
12
|
+
itemContent: string;
|
|
13
|
+
itemContentAlignStart: string;
|
|
14
|
+
label: string;
|
|
15
|
+
labelGroup: string;
|
|
16
|
+
desc: string;
|
|
17
|
+
popup: string;
|
|
18
|
+
popupWithSlots: string;
|
|
19
|
+
slotViewport: string;
|
|
20
|
+
positioner: string;
|
|
21
|
+
separator: string;
|
|
22
|
+
switchWrap: string;
|
|
23
|
+
submenuArrow: string;
|
|
24
|
+
};
|
|
169
25
|
//# sourceMappingURL=style.d.mts.map
|
|
@@ -194,6 +194,29 @@ const menuStyles = {
|
|
|
194
194
|
$$css: true
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
|
-
|
|
197
|
+
const menuSharedClassNames = {
|
|
198
|
+
danger: { className: "lb107ansx lb86rvtz lb85pxvj lb16xa4ls lb12ap7uz" }.className ?? "",
|
|
199
|
+
empty: { className: "lb53gy9q lb2poks1 lbt0e3qv lb5ezrf1 lb1k4tb9n" }.className ?? "",
|
|
200
|
+
extra: { className: "lb53gy9q lb2xbw48 lbfifm61 lbvc5jky lbf7dkkf" }.className ?? "",
|
|
201
|
+
footer: { className: "lb1vvogim lbdzg2pt lbaope02 lb8x5n49 lb592eyn lb13fuv20 lb178xt8z lb2lah0s" }.className ?? "",
|
|
202
|
+
groupLabel: { className: "lbaope02 lb53gy9q lb1k6wstc lb1s688f lbkv8mnm lb1xxsxie lbjkvuk6 lb1y1aw1k lb1t8wt99 lbtvhhri lb87ps6o" }.className ?? "",
|
|
203
|
+
header: { className: "lb1vvogim lbdzg2pt lbaope02 lb8x5n49 lbsyjar lb1q0q8m5 lbso031l lb2lah0s" }.className ?? "",
|
|
204
|
+
icon: `${{ className: "lb6s0dn4 lb18nsyn lb78zum5 lb2lah0s lbl56j7k lbbmvrgn lb1v9usgg lb6jxa94" }.className ?? ""} ${menuClassNames.icon}`,
|
|
205
|
+
iconAlignStart: { className: "lbqcrz7y lbr9ek0c" }.className ?? "",
|
|
206
|
+
item: { className: "lb1vihcfj lb1a2a7pz lbb3r6kr lb1t0vds8 lbaope02 lb18nfrvi lb6s0dn4 lb1kvtry4 lbwew3ed lbn4ptgj lb66ogz0 lb2poks1 lb5ezrf1 lb78zum5 lbif65rj lb1fc57z9 lbxh3kiz lb1n2onr6 lb87ps6o lb21xpn4 lbh8yej3" }.className ?? "",
|
|
207
|
+
itemContent: { className: "lb98rzlu lbxhr3t lb6s0dn4 lb78zum5" }.className ?? "",
|
|
208
|
+
itemContentAlignStart: { className: "lb1cy8zhl" }.className ?? "",
|
|
209
|
+
label: `${{ className: "lb98rzlu lbb3r6kr lblyipyv lbuxw1ft" }.className ?? ""} ${menuClassNames.label}`,
|
|
210
|
+
labelGroup: { className: "lb98rzlu lbb3r6kr lb78zum5 lbdt5ytf lbeuugli" }.className ?? "",
|
|
211
|
+
desc: { className: "lbb3r6kr lb53gy9q lbfifm61 lb1d3mw78 lblyipyv lbuxw1ft" }.className ?? "",
|
|
212
|
+
popup: `${{ className: "lbx5256q lb19d6fe lb1sbi92r lb1a2a7pz lb1ctfek0 lb1w937bt lbj07k4p lb1cuf08c lbrk0jpx lb5fj2l4 lb1f9yvpy lblztzta lb7ao2f8 lb1374xjt lb12rczxh lbj8hqjc lb1odjw0f lb1j8km66" }.className ?? ""} ${menuClassNames.popup}`,
|
|
213
|
+
popupWithSlots: { className: "lb78zum5 lbdt5ytf lb1374xjt lb6ikm8r lb10wlt62" }.className ?? "",
|
|
214
|
+
slotViewport: { className: "lb98rzlu lb2lwn1j lb1odjw0f" }.className ?? "",
|
|
215
|
+
positioner: `${{ className: "lbx26zto lb13mkx0c lb1l96weh lbmyf473 lbkiw9s4 lbdiwzxj lbp6lfbs lbkskvg3" }.className ?? ""} ${menuClassNames.positioner}`,
|
|
216
|
+
separator: { className: "lbg9jes1 lbrxpjvj lb1yqcoyj lbjm9jq1" }.className ?? "",
|
|
217
|
+
switchWrap: { className: "lb3nfvp2 lbyqm7xq" }.className ?? "",
|
|
218
|
+
submenuArrow: `${{ className: "lb6s0dn4 lb18nsyn lb78zum5 lb2lah0s lbl56j7k lb13fj5qh lblup9mm lb1kky2od" }.className ?? ""} ${menuClassNames.submenuArrow}`
|
|
219
|
+
};
|
|
220
|
+
export { menuClassNames, menuSharedClassNames, menuStyles };
|
|
198
221
|
|
|
199
222
|
//# sourceMappingURL=style.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.mjs","names":[],"sources":["../../src/DropdownMenu/style.ts"],"sourcesContent":["import './style.css';\n\nimport * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nconst disabled = ':is([data-disabled])';\nconst openOrHighlighted =\n \":is([data-highlighted], [data-state='open'], [data-open], [aria-expanded='true'])\";\nconst dangerHighlight = `${openOrHighlighted}:not(${disabled}, :hover)`;\nconst dangerActive = `:active:not(${disabled}, ${openOrHighlighted}, :hover)`;\nconst itemHover = `:hover:not(:active, ${disabled})`;\nconst itemActive = `:active:not(${disabled}, ${openOrHighlighted})`;\nconst itemHighlight = `${openOrHighlighted}:not(${disabled})`;\nconst slotItem = \":has(> [role^='menuitem'])\";\nconst withHeader = \":is([data-has-header], :has(> [data-slot='header']))\";\nconst withFooter = \":is([data-has-footer], :has(> [data-slot='footer']))\";\nconst withVirtual = ':has(> [data-virtual])';\nconst instantPositioner =\n \":is([data-submenu], [data-nested], [data-side='left'], [data-side='right'])\";\n\nexport const menuClassNames = {\n icon: 'lobe-menu-icon',\n label: 'lobe-menu-label',\n popup: 'lobe-menu-popup',\n positioner: 'lobe-menu-positioner',\n submenuArrow: 'lobe-menu-submenu-arrow',\n} as const;\n\nexport const menuStyles = stylex.create({\n danger: {\n '--lobe-menu-icon-color': cssVar.colorError,\n 'backgroundColor': {\n [dangerActive]: cssVar.colorFillSecondary,\n [dangerHighlight]: cssVar.colorFillTertiary,\n 'default': null,\n ':hover': cssVar.colorErrorBg,\n },\n 'color': cssVar.colorError,\n },\n\n empty: {\n color: { default: cssVar.colorTextTertiary, [disabled]: cssVar.colorTextDisabled },\n cursor: { default: 'default', [disabled]: 'not-allowed' },\n fontStyle: 'italic',\n },\n\n extra: {\n color: cssVar.colorTextTertiary,\n fontFamily: cssVar.fontFamilyCode,\n fontSize: 12,\n marginInlineStart: 'auto',\n paddingInlineStart: 16,\n },\n\n footer: {\n paddingBlock: { default: 8, [slotItem]: 4 },\n paddingInline: { default: 12, [slotItem]: 0 },\n borderBlockStartColor: cssVar.colorBorder,\n borderBlockStartStyle: 'solid',\n borderBlockStartWidth: 1,\n flexShrink: 0,\n },\n\n groupLabel: {\n paddingInline: 12,\n color: cssVar.colorTextTertiary,\n fontSize: 10,\n fontWeight: 600,\n letterSpacing: '0.6px',\n lineHeight: '14px',\n paddingBlockEnd: 4,\n paddingBlockStart: { 'default': 8, \":is([role='group']:first-child > *)\": 4 },\n textTransform: 'uppercase',\n userSelect: 'none',\n },\n\n header: {\n paddingBlock: { default: 8, [slotItem]: 4 },\n paddingInline: { default: 12, [slotItem]: 0 },\n borderBlockEndColor: cssVar.colorBorder,\n borderBlockEndStyle: 'solid',\n borderBlockEndWidth: 1,\n flexShrink: 0,\n },\n\n icon: {\n alignItems: 'center',\n color: `var(--lobe-menu-icon-color, ${cssVar.colorTextSecondary})`,\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n marginInlineEnd: 12,\n height: 14,\n width: 14,\n },\n\n iconAlignStart: {\n alignSelf: 'flex-start',\n marginBlockStart: 2,\n },\n\n item: {\n borderRadius: cssVar.borderRadiusSM,\n outline: 'none',\n overflow: 'hidden',\n paddingBlock: 6,\n paddingInline: 12,\n transition: `all 150ms ${cssVar.motionEaseOut}`,\n alignItems: 'center',\n backgroundColor: {\n default: null,\n [itemActive]: cssVar.colorFillSecondary,\n [itemHighlight]: cssVar.colorFillTertiary,\n [itemHover]: cssVar.colorFillTertiary,\n },\n color: { default: cssVar.colorText, [disabled]: cssVar.colorTextDisabled },\n cursor: { default: null, [disabled]: 'not-allowed' },\n display: 'flex',\n fontSize: 14,\n lineHeight: '20px',\n opacity: { default: null, [disabled]: 0.5 },\n position: 'relative',\n userSelect: 'none',\n minHeight: 32,\n width: '100%',\n },\n\n itemContent: {\n flex: '1',\n gap: 0,\n alignItems: 'center',\n display: 'flex',\n },\n\n itemContentAlignStart: {\n alignItems: 'flex-start',\n },\n\n label: {\n flex: '1',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n\n labelGroup: {\n flex: '1',\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n minWidth: 0,\n },\n\n desc: {\n overflow: 'hidden',\n color: cssVar.colorTextTertiary,\n fontSize: 12,\n lineHeight: '16px',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n\n popup: {\n '--lobe-menu-popup-padding': '4px',\n '--lobe-virtual-scroll-inset': {\n default: null,\n [withVirtual]: 'var(--lobe-menu-popup-padding)',\n },\n 'borderRadius': cssVar.borderRadius,\n 'outline': 'none',\n 'paddingInline': 'var(--lobe-menu-popup-padding)',\n 'backgroundColor': cssVar.colorBgElevated,\n 'boxShadow': `${cssVar.boxShadowSecondary}, var(--lobe-ring)`,\n 'display': { default: null, [withVirtual]: 'flex' },\n 'flexDirection': { default: null, [withVirtual]: 'column' },\n 'paddingBlockEnd': { default: 'var(--lobe-menu-popup-padding)', [withFooter]: 0 },\n 'paddingBlockStart': { default: 'var(--lobe-menu-popup-padding)', [withHeader]: 0 },\n 'maxHeight': 'var(--available-height)',\n 'minWidth': 220,\n 'overflowX': { default: null, [withVirtual]: 'hidden' },\n 'overflowY': { default: 'auto', [withVirtual]: 'hidden' },\n },\n\n popupWithSlots: {\n display: 'flex',\n flexDirection: 'column',\n maxHeight: 'var(--available-height)',\n overflowX: 'hidden',\n overflowY: 'hidden',\n },\n\n slotViewport: {\n flex: '1',\n minHeight: 0,\n overflowY: 'auto',\n },\n\n positioner: {\n '--lobe-dropdown-animation-duration': { default: '140ms', [instantPositioner]: '0ms' },\n '--lobe-dropdown-animation-ease-in': 'ease-in',\n '--lobe-dropdown-animation-ease-out': cssVar.motionEaseOut,\n '--lobe-dropdown-animation-scale-y': { default: '0.92', [instantPositioner]: '1' },\n 'zIndex': { 'default': 1100, ':is([data-submenu], [data-nested])': 1199 },\n },\n\n separator: {\n marginBlock: 4,\n marginInline: 0,\n backgroundColor: cssVar.colorBorder,\n height: 1,\n },\n\n switchWrap: {\n display: 'inline-flex',\n marginInlineStart: 16,\n },\n submenuArrow: {\n alignItems: 'center',\n color: `var(--lobe-menu-icon-color, ${cssVar.colorTextSecondary})`,\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n marginInlineStart: 8,\n height: 16,\n width: 16,\n },\n});\n"],"mappings":";AAgBA,MAAa,iBAAiB;CAC5B,MAAM;CACN,OAAO;CACP,OAAO;CACP,YAAY;CACZ,cAAc;AAChB;AACA,MAAa,aAAa;CACxB,QAAQ;EACN,0BAA0B;EAC1B,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,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,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,uBAAuB;EACrB,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,6BAA6B;EAC7B,+BAA+B;EAC/B,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,sCAAsC;EACtC,qCAAqC;EACrC,sCAAsC;EACtC,qCAAqC;EACrC,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"style.mjs","names":[],"sources":["../../src/DropdownMenu/style.ts"],"sourcesContent":["import './style.css';\n\nimport * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nconst disabled = ':is([data-disabled])';\nconst openOrHighlighted =\n \":is([data-highlighted], [data-state='open'], [data-open], [aria-expanded='true'])\";\nconst dangerHighlight = `${openOrHighlighted}:not(${disabled}, :hover)`;\nconst dangerActive = `:active:not(${disabled}, ${openOrHighlighted}, :hover)`;\nconst itemHover = `:hover:not(:active, ${disabled})`;\nconst itemActive = `:active:not(${disabled}, ${openOrHighlighted})`;\nconst itemHighlight = `${openOrHighlighted}:not(${disabled})`;\nconst slotItem = \":has(> [role^='menuitem'])\";\nconst withHeader = \":is([data-has-header], :has(> [data-slot='header']))\";\nconst withFooter = \":is([data-has-footer], :has(> [data-slot='footer']))\";\nconst withVirtual = ':has(> [data-virtual])';\nconst instantPositioner =\n \":is([data-submenu], [data-nested], [data-side='left'], [data-side='right'])\";\n\nexport const menuClassNames = {\n icon: 'lobe-menu-icon',\n label: 'lobe-menu-label',\n popup: 'lobe-menu-popup',\n positioner: 'lobe-menu-positioner',\n submenuArrow: 'lobe-menu-submenu-arrow',\n} as const;\n\nexport const menuStyles = stylex.create({\n danger: {\n '--lobe-menu-icon-color': cssVar.colorError,\n 'backgroundColor': {\n [dangerActive]: cssVar.colorFillSecondary,\n [dangerHighlight]: cssVar.colorFillTertiary,\n 'default': null,\n ':hover': cssVar.colorErrorBg,\n },\n 'color': cssVar.colorError,\n },\n\n empty: {\n color: { default: cssVar.colorTextTertiary, [disabled]: cssVar.colorTextDisabled },\n cursor: { default: 'default', [disabled]: 'not-allowed' },\n fontStyle: 'italic',\n },\n\n extra: {\n color: cssVar.colorTextTertiary,\n fontFamily: cssVar.fontFamilyCode,\n fontSize: 12,\n marginInlineStart: 'auto',\n paddingInlineStart: 16,\n },\n\n footer: {\n paddingBlock: { default: 8, [slotItem]: 4 },\n paddingInline: { default: 12, [slotItem]: 0 },\n borderBlockStartColor: cssVar.colorBorder,\n borderBlockStartStyle: 'solid',\n borderBlockStartWidth: 1,\n flexShrink: 0,\n },\n\n groupLabel: {\n paddingInline: 12,\n color: cssVar.colorTextTertiary,\n fontSize: 10,\n fontWeight: 600,\n letterSpacing: '0.6px',\n lineHeight: '14px',\n paddingBlockEnd: 4,\n paddingBlockStart: { 'default': 8, \":is([role='group']:first-child > *)\": 4 },\n textTransform: 'uppercase',\n userSelect: 'none',\n },\n\n header: {\n paddingBlock: { default: 8, [slotItem]: 4 },\n paddingInline: { default: 12, [slotItem]: 0 },\n borderBlockEndColor: cssVar.colorBorder,\n borderBlockEndStyle: 'solid',\n borderBlockEndWidth: 1,\n flexShrink: 0,\n },\n\n icon: {\n alignItems: 'center',\n color: `var(--lobe-menu-icon-color, ${cssVar.colorTextSecondary})`,\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n marginInlineEnd: 12,\n height: 14,\n width: 14,\n },\n\n iconAlignStart: {\n alignSelf: 'flex-start',\n marginBlockStart: 2,\n },\n\n item: {\n borderRadius: cssVar.borderRadiusSM,\n outline: 'none',\n overflow: 'hidden',\n paddingBlock: 6,\n paddingInline: 12,\n transition: `all 150ms ${cssVar.motionEaseOut}`,\n alignItems: 'center',\n backgroundColor: {\n default: null,\n [itemActive]: cssVar.colorFillSecondary,\n [itemHighlight]: cssVar.colorFillTertiary,\n [itemHover]: cssVar.colorFillTertiary,\n },\n color: { default: cssVar.colorText, [disabled]: cssVar.colorTextDisabled },\n cursor: { default: null, [disabled]: 'not-allowed' },\n display: 'flex',\n fontSize: 14,\n lineHeight: '20px',\n opacity: { default: null, [disabled]: 0.5 },\n position: 'relative',\n userSelect: 'none',\n minHeight: 32,\n width: '100%',\n },\n\n itemContent: {\n flex: '1',\n gap: 0,\n alignItems: 'center',\n display: 'flex',\n },\n\n itemContentAlignStart: {\n alignItems: 'flex-start',\n },\n\n label: {\n flex: '1',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n\n labelGroup: {\n flex: '1',\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n minWidth: 0,\n },\n\n desc: {\n overflow: 'hidden',\n color: cssVar.colorTextTertiary,\n fontSize: 12,\n lineHeight: '16px',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n\n popup: {\n '--lobe-menu-popup-padding': '4px',\n '--lobe-virtual-scroll-inset': {\n default: null,\n [withVirtual]: 'var(--lobe-menu-popup-padding)',\n },\n 'borderRadius': cssVar.borderRadius,\n 'outline': 'none',\n 'paddingInline': 'var(--lobe-menu-popup-padding)',\n 'backgroundColor': cssVar.colorBgElevated,\n 'boxShadow': `${cssVar.boxShadowSecondary}, var(--lobe-ring)`,\n 'display': { default: null, [withVirtual]: 'flex' },\n 'flexDirection': { default: null, [withVirtual]: 'column' },\n 'paddingBlockEnd': { default: 'var(--lobe-menu-popup-padding)', [withFooter]: 0 },\n 'paddingBlockStart': { default: 'var(--lobe-menu-popup-padding)', [withHeader]: 0 },\n 'maxHeight': 'var(--available-height)',\n 'minWidth': 220,\n 'overflowX': { default: null, [withVirtual]: 'hidden' },\n 'overflowY': { default: 'auto', [withVirtual]: 'hidden' },\n },\n\n popupWithSlots: {\n display: 'flex',\n flexDirection: 'column',\n maxHeight: 'var(--available-height)',\n overflowX: 'hidden',\n overflowY: 'hidden',\n },\n\n slotViewport: {\n flex: '1',\n minHeight: 0,\n overflowY: 'auto',\n },\n\n positioner: {\n '--lobe-dropdown-animation-duration': { default: '140ms', [instantPositioner]: '0ms' },\n '--lobe-dropdown-animation-ease-in': 'ease-in',\n '--lobe-dropdown-animation-ease-out': cssVar.motionEaseOut,\n '--lobe-dropdown-animation-scale-y': { default: '0.92', [instantPositioner]: '1' },\n 'zIndex': { 'default': 1100, ':is([data-submenu], [data-nested])': 1199 },\n },\n\n separator: {\n marginBlock: 4,\n marginInline: 0,\n backgroundColor: cssVar.colorBorder,\n height: 1,\n },\n\n switchWrap: {\n display: 'inline-flex',\n marginInlineStart: 16,\n },\n submenuArrow: {\n alignItems: 'center',\n color: `var(--lobe-menu-icon-color, ${cssVar.colorTextSecondary})`,\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n marginInlineStart: 8,\n height: 16,\n width: 16,\n },\n});\n\nexport const menuSharedClassNames = {\n danger: stylex.props(menuStyles.danger).className ?? '',\n empty: stylex.props(menuStyles.empty).className ?? '',\n extra: stylex.props(menuStyles.extra).className ?? '',\n footer: stylex.props(menuStyles.footer).className ?? '',\n groupLabel: stylex.props(menuStyles.groupLabel).className ?? '',\n header: stylex.props(menuStyles.header).className ?? '',\n icon: `${stylex.props(menuStyles.icon).className ?? ''} ${menuClassNames.icon}`,\n iconAlignStart: stylex.props(menuStyles.iconAlignStart).className ?? '',\n item: stylex.props(menuStyles.item).className ?? '',\n itemContent: stylex.props(menuStyles.itemContent).className ?? '',\n itemContentAlignStart: stylex.props(menuStyles.itemContentAlignStart).className ?? '',\n label: `${stylex.props(menuStyles.label).className ?? ''} ${menuClassNames.label}`,\n labelGroup: stylex.props(menuStyles.labelGroup).className ?? '',\n desc: stylex.props(menuStyles.desc).className ?? '',\n popup: `${stylex.props(menuStyles.popup).className ?? ''} ${menuClassNames.popup}`,\n popupWithSlots: stylex.props(menuStyles.popupWithSlots).className ?? '',\n slotViewport: stylex.props(menuStyles.slotViewport).className ?? '',\n positioner: `${stylex.props(menuStyles.positioner).className ?? ''} ${menuClassNames.positioner}`,\n separator: stylex.props(menuStyles.separator).className ?? '',\n switchWrap: stylex.props(menuStyles.switchWrap).className ?? '',\n submenuArrow: `${stylex.props(menuStyles.submenuArrow).className ?? ''} ${menuClassNames.submenuArrow}`,\n} satisfies Record<keyof typeof menuStyles, string>;\n"],"mappings":";AAgBA,MAAa,iBAAiB;CAC5B,MAAM;CACN,OAAO;CACP,OAAO;CACP,YAAY;CACZ,cAAc;AAChB;AACA,MAAa,aAAa;CACxB,QAAQ;EACN,0BAA0B;EAC1B,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,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,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,uBAAuB;EACrB,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,6BAA6B;EAC7B,+BAA+B;EAC/B,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,sCAAsC;EACtC,qCAAqC;EACrC,sCAAsC;EACtC,qCAAqC;EACrC,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF;AACA,MAAa,uBAAuB;CAClC,QAAQ,EACN,WAAW,kDACb,EAAE,aAAa;CACf,OAAO,EACL,WAAW,gDACb,EAAE,aAAa;CACf,OAAO,EACL,WAAW,+CACb,EAAE,aAAa;CACf,QAAQ,EACN,WAAW,6EACb,EAAE,aAAa;CACf,YAAY,EACV,WAAW,yGACb,EAAE,aAAa;CACf,QAAQ,EACN,WAAW,2EACb,EAAE,aAAa;CACf,MAAM,GAAG,EACP,WAAW,2EACb,EAAE,aAAa,GAAG,GAAG,eAAe;CACpC,gBAAgB,EACd,WAAW,oBACb,EAAE,aAAa;CACf,MAAM,EACJ,WAAW,sMACb,EAAE,aAAa;CACf,aAAa,EACX,WAAW,qCACb,EAAE,aAAa;CACf,uBAAuB,EACrB,WAAW,YACb,EAAE,aAAa;CACf,OAAO,GAAG,EACR,WAAW,sCACb,EAAE,aAAa,GAAG,GAAG,eAAe;CACpC,YAAY,EACV,WAAW,+CACb,EAAE,aAAa;CACf,MAAM,EACJ,WAAW,yDACb,EAAE,aAAa;CACf,OAAO,GAAG,EACR,WAAW,8KACb,EAAE,aAAa,GAAG,GAAG,eAAe;CACpC,gBAAgB,EACd,WAAW,iDACb,EAAE,aAAa;CACf,cAAc,EACZ,WAAW,8BACb,EAAE,aAAa;CACf,YAAY,GAAG,EACb,WAAW,4EACb,EAAE,aAAa,GAAG,GAAG,eAAe;CACpC,WAAW,EACT,WAAW,uCACb,EAAE,aAAa;CACf,YAAY,EACV,WAAW,oBACb,EAAE,aAAa;CACf,cAAc,GAAG,EACf,WAAW,4EACb,EAAE,aAAa,GAAG,GAAG,eAAe;AACtC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Trigger } from "../types/trigger.mjs";
|
|
2
|
-
import "../
|
|
3
|
-
import { Placement } from "../utils/placement.mjs";
|
|
4
|
-
import { VirtualListProps } from "../internal/virtual/type.mjs";
|
|
2
|
+
import "../internal/menu/index.mjs";
|
|
5
3
|
import "../internal/virtual/index.mjs";
|
|
4
|
+
import { VirtualListProps } from "../internal/virtual/type.mjs";
|
|
5
|
+
import "../types/index.mjs";
|
|
6
6
|
import { MenuCheckboxItemType } from "../internal/menu/checkboxItem.mjs";
|
|
7
7
|
import { MenuSwitchItemType } from "../internal/menu/switchItem.mjs";
|
|
8
8
|
import { BaseMenuItemType } from "../internal/menu/baseItem.mjs";
|
|
9
9
|
import { IconAlign, IconSpaceMode } from "../internal/menu/renderUtils.mjs";
|
|
10
|
-
import "../
|
|
10
|
+
import { Placement } from "../utils/placement.mjs";
|
|
11
11
|
import "./renderItems.mjs";
|
|
12
12
|
import { ReactNode } from "react";
|
|
13
13
|
import { MenuPopupProps, MenuPortalProps, MenuPositionerProps, MenuRootProps, MenuTriggerProps } from "@base-ui/react/menu";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
3
2
|
import ActionIcon from "../ActionIcon/ActionIcon.mjs";
|
|
3
|
+
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
4
4
|
import { useEventCallback } from "../hooks/useEventCallback.mjs";
|
|
5
5
|
import Input_default from "../Input/Input.mjs";
|
|
6
6
|
import { memo, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { toDataAttributes } from "../utils/bem.mjs";
|
|
3
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
|
-
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
5
|
-
import { cx } from "../styles/css.mjs";
|
|
6
2
|
import ActionIcon from "../ActionIcon/ActionIcon.mjs";
|
|
3
|
+
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
7
4
|
import { useControlledState } from "../hooks/useControlledState.mjs";
|
|
5
|
+
import { cx } from "../styles/css.mjs";
|
|
6
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
7
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
8
8
|
import ControlInput from "./ControlInput.mjs";
|
|
9
9
|
import { editableTextClasses } from "./stable.mjs";
|
|
10
10
|
import { sizeStyles, styles } from "./style.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FlexboxProps } from "../Flex/type.mjs";
|
|
2
|
-
import "../Flex/index.mjs";
|
|
3
2
|
import { ControlInputProps } from "./ControlInput.mjs";
|
|
3
|
+
import "../Flex/index.mjs";
|
|
4
4
|
import { CSSProperties } from "react";
|
|
5
5
|
export interface EditableTextProps extends Omit<FlexboxProps, 'onChange' | 'onBlur' | 'onFocus'>, Pick<ControlInputProps, 'onChange' | 'value' | 'onChangeEnd' | 'onValueChanging' | 'texts' | 'variant' | 'onBlur' | 'onFocus'> {
|
|
6
6
|
className?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { EditorSlashMenuEmpty, EditorSlashMenuGroup, EditorSlashMenuGroupLabel, EditorSlashMenuHiddenInput, EditorSlashMenuList, EditorSlashMenuPopup, EditorSlashMenuPortal, EditorSlashMenuPositioner, EditorSlashMenuRoot } from "./atoms.mjs";
|
|
3
3
|
import { MenuItemRenderer } from "./MenuItemRenderer.mjs";
|
|
4
|
-
import { isGroup } from "./utils.mjs";
|
|
5
4
|
import { useKeyboardNavigation } from "./useKeyboardNavigation.mjs";
|
|
6
5
|
import { useNormalizedItems } from "./useNormalizedItems.mjs";
|
|
6
|
+
import { isGroup } from "./utils.mjs";
|
|
7
7
|
import { memo, useCallback, useEffect, useMemo, useState } from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
// src/EditorSlashMenu/EditorSlashMenu.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { EditorSlashMenuEmpty, EditorSlashMenuGroup, EditorSlashMenuGroupLabel, EditorSlashMenuHiddenInput, EditorSlashMenuItem, EditorSlashMenuItemContent, EditorSlashMenuItemExtra, EditorSlashMenuItemIcon, EditorSlashMenuItemLabel, EditorSlashMenuList, EditorSlashMenuPopup, EditorSlashMenuPortal, EditorSlashMenuPositioner, EditorSlashMenuRoot } from "./atoms.mjs";
|
|
2
|
-
import { EditorSlashMenuItemValue, EditorSlashMenuItems, EditorSlashMenuOnOpenChange, EditorSlashMenuOnSelect, EditorSlashMenuOnValueChange, EditorSlashMenuOption, EditorSlashMenuPlacement, EditorSlashMenuRenderGroupLabel, EditorSlashMenuRenderItem, EditorSlashMenuValueToString } from "./type.mjs";
|
|
3
2
|
import EditorSlashMenu from "./EditorSlashMenu.mjs";
|
|
3
|
+
import { EditorSlashMenuItemValue, EditorSlashMenuItems, EditorSlashMenuOnOpenChange, EditorSlashMenuOnSelect, EditorSlashMenuOnValueChange, EditorSlashMenuOption, EditorSlashMenuPlacement, EditorSlashMenuRenderGroupLabel, EditorSlashMenuRenderItem, EditorSlashMenuValueToString } from "./type.mjs";
|
|
4
4
|
export { EditorSlashMenuEmpty, EditorSlashMenuGroup, EditorSlashMenuGroupLabel, EditorSlashMenuHiddenInput, EditorSlashMenuItem, EditorSlashMenuItemContent, EditorSlashMenuItemExtra, EditorSlashMenuItemIcon, EditorSlashMenuItemLabel, type EditorSlashMenuItemValue, type EditorSlashMenuItems, EditorSlashMenuList, type EditorSlashMenuOnOpenChange, type EditorSlashMenuOnSelect, type EditorSlashMenuOnValueChange, type EditorSlashMenuOption, type EditorSlashMenuPlacement, EditorSlashMenuPopup, EditorSlashMenuPortal, EditorSlashMenuPositioner, type EditorSlashMenuRenderGroupLabel, type EditorSlashMenuRenderItem, EditorSlashMenuRoot, type EditorSlashMenuValueToString, EditorSlashMenu as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
|
-
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
4
|
-
import Icon from "../Icon/Icon.mjs";
|
|
5
2
|
import Button from "../Button/Button.mjs";
|
|
6
|
-
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
7
3
|
import Center from "../Flex/Center.mjs";
|
|
4
|
+
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
5
|
+
import emojiPicker_default from "../i18n/resources/en/emojiPicker.mjs";
|
|
8
6
|
import { useTranslation } from "../i18n/useTranslation.mjs";
|
|
9
|
-
import
|
|
7
|
+
import Icon from "../Icon/Icon.mjs";
|
|
8
|
+
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
9
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
10
10
|
import Tag from "../Tag/Tag.mjs";
|
|
11
|
-
import
|
|
11
|
+
import Text from "../Text/Text.mjs";
|
|
12
12
|
import { ToastHost, toast } from "../Toast/imperative.mjs";
|
|
13
13
|
import UploadDragger from "../Upload/UploadDragger.mjs";
|
|
14
14
|
import { emojiPickerClasses } from "./stable.mjs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
|
-
import Icon from "../Icon/Icon.mjs";
|
|
4
|
-
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
5
|
-
import { useTheme } from "../styles/theme/scope.mjs";
|
|
6
|
-
import { Tooltip } from "../Tooltip/Tooltip.mjs";
|
|
7
2
|
import ActionIcon from "../ActionIcon/ActionIcon.mjs";
|
|
3
|
+
import Avatar from "../Avatar/index.mjs";
|
|
4
|
+
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
8
5
|
import { useControlledState } from "../hooks/useControlledState.mjs";
|
|
6
|
+
import emojiPicker_default from "../i18n/resources/en/emojiPicker.mjs";
|
|
9
7
|
import { useTranslation } from "../i18n/useTranslation.mjs";
|
|
10
|
-
import
|
|
8
|
+
import Icon from "../Icon/Icon.mjs";
|
|
11
9
|
import Popover from "../Popover/Popover.mjs";
|
|
12
|
-
import
|
|
10
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
11
|
+
import { useTheme } from "../styles/theme/scope.mjs";
|
|
13
12
|
import Tabs from "../Tabs/Tabs.mjs";
|
|
14
|
-
import {
|
|
15
|
-
import { styles } from "./style.mjs";
|
|
13
|
+
import { Tooltip } from "../Tooltip/Tooltip.mjs";
|
|
16
14
|
import AvatarUploader from "./AvatarUploader.mjs";
|
|
17
15
|
import { loadEmojiData } from "./loadEmojiData.mjs";
|
|
16
|
+
import { emojiPickerClasses } from "./stable.mjs";
|
|
17
|
+
import { styles } from "./style.mjs";
|
|
18
18
|
import { useEmojiMartI18n } from "./useEmojiMartI18n.mjs";
|
|
19
19
|
import clsx$1 from "clsx";
|
|
20
20
|
import { memo, useMemo, useRef, useState } from "react";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AvatarUploaderProps, EmojiPickerCustomEmoji, EmojiPickerCustomTab, EmojiPickerProps } from "./type.mjs";
|
|
2
1
|
import EmojiPicker from "./EmojiPicker.mjs";
|
|
2
|
+
import { AvatarUploaderProps, EmojiPickerCustomEmoji, EmojiPickerCustomTab, EmojiPickerProps } from "./type.mjs";
|
|
3
3
|
export { type AvatarUploaderProps, type EmojiPickerCustomEmoji, type EmojiPickerCustomTab, type EmojiPickerProps, EmojiPicker as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlexboxProps } from "../Flex/type.mjs";
|
|
2
|
-
import { AvatarProps } from "../Avatar/type.mjs";
|
|
3
1
|
import "../Avatar/index.mjs";
|
|
2
|
+
import { AvatarProps } from "../Avatar/type.mjs";
|
|
3
|
+
import { FlexboxProps } from "../Flex/type.mjs";
|
|
4
4
|
import { PopoverProps } from "../Popover/type.mjs";
|
|
5
5
|
import "../Popover/index.mjs";
|
|
6
6
|
import { CSSProperties, ReactNode } from "react";
|
package/es/Empty/Empty.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { toDataAttributes } from "../utils/bem.mjs";
|
|
3
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
|
-
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
5
|
-
import Icon from "../Icon/Icon.mjs";
|
|
6
2
|
import FluentEmoji from "../FluentEmoji/FluentEmoji.mjs";
|
|
3
|
+
import Icon from "../Icon/Icon.mjs";
|
|
4
|
+
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
5
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
7
6
|
import Text from "../Text/Text.mjs";
|
|
7
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
8
8
|
import { emptyClasses } from "./stable.mjs";
|
|
9
9
|
import { styles } from "./style.mjs";
|
|
10
10
|
import clsx$1 from "clsx";
|
package/es/Empty/index.d.mts
CHANGED
package/es/Empty/type.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DistributiveOmit } from "../types/index.mjs";
|
|
2
|
-
import { IconProps } from "../Icon/type.mjs";
|
|
3
1
|
import "../Icon/index.mjs";
|
|
4
|
-
import {
|
|
2
|
+
import { IconProps } from "../Icon/type.mjs";
|
|
5
3
|
import "../Text/index.mjs";
|
|
4
|
+
import { TextProps } from "../Text/type.mjs";
|
|
5
|
+
import { DistributiveOmit } from "../types/index.mjs";
|
|
6
6
|
import { CSSProperties, ComponentProps, ReactNode, Ref } from "react";
|
|
7
7
|
export interface EmptyProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
8
8
|
action?: ReactNode;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
|
-
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
4
2
|
import Center from "../Flex/Center.mjs";
|
|
3
|
+
import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
|
|
4
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
5
5
|
import { useThemeMode } from "../styles/theme/scope.mjs";
|
|
6
|
-
import { styles } from "./style.mjs";
|
|
7
6
|
import FileIcon from "./components/FileIcon.mjs";
|
|
8
7
|
import FolderIcon from "./components/FolderIcon.mjs";
|
|
9
8
|
import { fileTypeIconClasses } from "./stable.mjs";
|
|
9
|
+
import { styles } from "./style.mjs";
|
|
10
10
|
import clsx$1 from "clsx";
|
|
11
11
|
import { useMemo } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
2
1
|
import { cssVar } from "../../styles/stylex/cssVar.stylex.mjs";
|
|
2
|
+
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
3
3
|
import { styles } from "../style.mjs";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
// src/FileTypeIcon/components/FileIcon.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
2
1
|
import { cssVar } from "../../styles/stylex/cssVar.stylex.mjs";
|
|
2
|
+
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
3
3
|
import { styles } from "../style.mjs";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
// src/FileTypeIcon/components/FolderIcon.tsx
|
package/es/Flex/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CenterProps, ContentPosition, FlexBasicProps, FlexDirection, FlexboxProps } from "./type.mjs";
|
|
2
1
|
import Center from "./Center.mjs";
|
|
3
2
|
import _default from "./FlexBasic.mjs";
|
|
4
3
|
import "./Flexbox.mjs";
|
|
4
|
+
import { CenterProps, ContentPosition, FlexBasicProps, FlexDirection, FlexboxProps } from "./type.mjs";
|
|
5
5
|
export { Center, type CenterProps, type ContentPosition, _default as FlexBasic, type FlexBasicProps, type FlexDirection, _default as Flexbox, type FlexboxProps };
|
package/es/Flex/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { toDataAttributes } from "../utils/bem.mjs";
|
|
3
2
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
4
4
|
import { ModalBackdrop, ModalCloseImpl, ModalContentImpl, ModalFooterImpl, ModalHeaderImpl, ModalPopupImpl, ModalPortal, ModalRoot, ModalTitleImpl } from "../Modal/atoms.mjs";
|
|
5
5
|
import { floatingPanelClasses } from "./stable.mjs";
|
|
6
6
|
import { styles } from "./style.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FloatingPanelOffset, FloatingPanelPlacement, FloatingPanelProps } from "./type.mjs";
|
|
2
1
|
import { FloatingPanel } from "./FloatingPanel.mjs";
|
|
2
|
+
import { FloatingPanelOffset, FloatingPanelPlacement, FloatingPanelProps } from "./type.mjs";
|
|
3
3
|
export { FloatingPanel, type FloatingPanelOffset, type FloatingPanelPlacement, type FloatingPanelProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { toDataAttributes } from "../utils/bem.mjs";
|
|
2
1
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { styles } from "./style.mjs";
|
|
2
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
5
3
|
import { FloatingSheetHeader } from "./FloatingSheetHeader.mjs";
|
|
6
4
|
import { clamp, dampenValue, resolveSize } from "./helpers.mjs";
|
|
5
|
+
import { floatingSheetClasses } from "./stable.mjs";
|
|
6
|
+
import { styles } from "./style.mjs";
|
|
7
7
|
import { useSheetDrag } from "./useSheetDrag.mjs";
|
|
8
8
|
import { useSnapPoints } from "./useSnapPoints.mjs";
|
|
9
9
|
import clsx$1 from "clsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useCdnFn } from "../ConfigProvider/index.mjs";
|
|
3
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
3
|
import Center from "../Flex/Center.mjs";
|
|
5
4
|
import Img from "../Img/index.mjs";
|
|
5
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
6
6
|
import { fluentEmojiClasses } from "./stable.mjs";
|
|
7
7
|
import { styles } from "./style.mjs";
|
|
8
8
|
import { genEmojiUrl } from "./utils.mjs";
|
package/es/FocusScope/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { FocusScope, useFocusScopeId } from "./FocusScope.mjs";
|
|
1
2
|
import { getActiveScopeId, getLastFocusedItem, registerScope, setActiveScope, setLastFocusedItem, useActiveScopeId, useFocusScopeActive } from "./store.mjs";
|
|
2
3
|
import { styles } from "./style.mjs";
|
|
3
|
-
import { FocusScope, useFocusScopeId } from "./FocusScope.mjs";
|
|
4
4
|
import { focusScopeItem, notifyScopeItemFocus, useScopeArrowNav } from "./useScopeArrowNav.mjs";
|
|
5
5
|
import { useScopeSwitcher } from "./useScopeSwitcher.mjs";
|
|
6
6
|
export { FocusScope, focusScopeItem, styles as focusScopeStyles, getActiveScopeId, getLastFocusedItem, notifyScopeItemFocus, registerScope, setActiveScope, setLastFocusedItem, useActiveScopeId, useFocusScopeActive, useFocusScopeId, useScopeArrowNav, useScopeSwitcher };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getActiveScopeId, setLastFocusedItem } from "./store.mjs";
|
|
2
1
|
import { hasModifier, isItemVisible, isTextInputTarget, scopeSelector } from "./domUtils.mjs";
|
|
2
|
+
import { getActiveScopeId, setLastFocusedItem } from "./store.mjs";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
// src/FocusScope/useScopeArrowNav.ts
|
|
5
5
|
let lastHandledEvent = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getActiveScopeId, getLastFocusedItem, setActiveScope } from "./store.mjs";
|
|
2
1
|
import { hasModifier, hasSize, isItemVisible, isTextInputTarget } from "./domUtils.mjs";
|
|
2
|
+
import { getActiveScopeId, getLastFocusedItem, setActiveScope } from "./store.mjs";
|
|
3
3
|
import { focusScopeItem } from "./useScopeArrowNav.mjs";
|
|
4
4
|
import { useEffect } from "react";
|
|
5
5
|
// src/FocusScope/useScopeSwitcher.ts
|