@lobehub/ui 6.10.1 → 6.11.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/Avatar/Avatar.mjs +5 -5
- package/es/Avatar/AvatarGroup/index.mjs +3 -3
- package/es/Avatar/index.d.mts +1 -1
- 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 +4 -3
- package/es/Image/viewer/ImageViewer.mjs.map +1 -1
- 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/Image/viewer/geometry.mjs +2 -2
- package/es/Image/viewer/geometry.mjs.map +1 -1
- package/es/Image/viewer/registry.mjs.map +1 -1
- package/es/Image/viewer/useZoomPan.mjs +5 -2
- package/es/Image/viewer/useZoomPan.mjs.map +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 +4 -3
- package/es/Mermaid/SyntaxMermaid/MermaidSvg.mjs.map +1 -1
- 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
package/es/Input/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { inputClassNames, rootVariants } from "./style.mjs";
|
|
2
1
|
import Input_default from "./Input.mjs";
|
|
3
2
|
import InputNumber_default from "./InputNumber.mjs";
|
|
4
3
|
import InputOTP from "./InputOTP.mjs";
|
|
5
4
|
import InputPassword_default from "./InputPassword.mjs";
|
|
5
|
+
import { inputClassNames, rootVariants } from "./style.mjs";
|
|
6
6
|
import TextArea_default from "./TextArea.mjs";
|
|
7
7
|
export { Input_default as Input, InputNumber_default as InputNumber, InputOTP, InputPassword_default as InputPassword, TextArea_default as TextArea, inputClassNames as inputStyles, rootVariants as inputVariants };
|
package/es/Input/style.mjs
CHANGED
|
@@ -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 { inputMarker } from "./marker.stylex.mjs";
|
|
4
4
|
import * as stylex from "@stylexjs/stylex";
|
|
5
5
|
// src/Input/style.ts
|
package/es/Layout/Layout.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import DraggablePanel from "../DraggablePanel/DraggablePanel.mjs";
|
|
2
3
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
4
|
import { useResponsive } from "../styles/theme/scope.mjs";
|
|
4
|
-
import DraggablePanel from "../DraggablePanel/DraggablePanel.mjs";
|
|
5
|
-
import { layoutClasses } from "./stable.mjs";
|
|
6
|
-
import { styles } from "./style.mjs";
|
|
7
5
|
import { LayoutFooter } from "./components/LayoutFooter.mjs";
|
|
8
6
|
import { LayoutHeader } from "./components/LayoutHeader.mjs";
|
|
9
7
|
import { LayoutMain } from "./components/LayoutMain.mjs";
|
|
10
8
|
import { LayoutSidebar } from "./components/LayoutSidebar.mjs";
|
|
11
9
|
import { LayoutSidebarInner } from "./components/LayoutSidebarInner.mjs";
|
|
12
10
|
import { LayoutToc } from "./components/LayoutToc.mjs";
|
|
11
|
+
import { layoutClasses } from "./stable.mjs";
|
|
12
|
+
import { styles } from "./style.mjs";
|
|
13
13
|
import clsx$1 from "clsx";
|
|
14
14
|
import { memo, useEffect, useMemo, useState } from "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/es/Layout/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LayoutFooter } from "./components/LayoutFooter.mjs";
|
|
2
|
-
import { LayoutFooterProps, LayoutHeaderProps, LayoutMainProps, LayoutProps, LayoutSidebarInnerProps, LayoutSidebarProps, LayoutTocProps } from "./type.mjs";
|
|
3
2
|
import { LayoutHeader } from "./components/LayoutHeader.mjs";
|
|
4
3
|
import { LayoutMain } from "./components/LayoutMain.mjs";
|
|
5
4
|
import { LayoutSidebar } from "./components/LayoutSidebar.mjs";
|
|
6
5
|
import { LayoutSidebarInner } from "./components/LayoutSidebarInner.mjs";
|
|
7
6
|
import { LayoutToc } from "./components/LayoutToc.mjs";
|
|
7
|
+
import { LayoutFooterProps, LayoutHeaderProps, LayoutMainProps, LayoutProps, LayoutSidebarInnerProps, LayoutSidebarProps, LayoutTocProps } from "./type.mjs";
|
|
8
8
|
import { ReactNode } from "react";
|
|
9
9
|
export interface ILayout {
|
|
10
10
|
(props: LayoutProps): ReactNode;
|
package/es/List/List.d.mts
CHANGED
package/es/List/List.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
+
import ListRow from "./ListRow.mjs";
|
|
4
5
|
import { listClasses } from "./stable.mjs";
|
|
5
6
|
import { styles } from "./style.mjs";
|
|
6
|
-
import ListRow from "./ListRow.mjs";
|
|
7
7
|
import clsx$1 from "clsx";
|
|
8
8
|
import { memo, useState } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
package/es/List/ListRow.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { toDataAttributes } from "../utils/bem.mjs";
|
|
3
2
|
import A from "../A/index.mjs";
|
|
4
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
5
|
-
import { focusRing } from "../styles/stylex/focusRing.mjs";
|
|
6
3
|
import Icon from "../Icon/Icon.mjs";
|
|
4
|
+
import { focusRing } from "../styles/stylex/focusRing.mjs";
|
|
5
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
6
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
7
7
|
import { listItemMarker } from "./marker.stylex.mjs";
|
|
8
8
|
import { listClasses } from "./stable.mjs";
|
|
9
9
|
import { styles } from "./style.mjs";
|
package/es/List/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ListClickInfo, ListDividerType, ListItem, ListItemType, ListProps, ListSemanticName } from "./type.mjs";
|
|
2
1
|
import List from "./List.mjs";
|
|
2
|
+
import { ListClickInfo, ListDividerType, ListItem, ListItemType, ListProps, ListSemanticName } from "./type.mjs";
|
|
3
3
|
export { type ListClickInfo, type ListDividerType, type ListItem, type ListItemType, type ListProps, type ListSemanticName, List as default };
|
package/es/Markdown/Markdown.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { toDataAttributes } from "../utils/bem.mjs";
|
|
3
|
-
import PreviewGroup from "../Image/PreviewGroup.mjs";
|
|
4
2
|
import { useStableValue } from "../hooks/useStableValue.mjs";
|
|
3
|
+
import PreviewGroup from "../Image/PreviewGroup.mjs";
|
|
4
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
5
5
|
import { MarkdownProvider } from "./components/MarkdownProvider.mjs";
|
|
6
6
|
import { useDelayedAnimated } from "./components/useDelayedAnimated.mjs";
|
|
7
7
|
import { markdownClasses } from "./stable.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useMarkdownContext } from "../components/MarkdownProvider.mjs";
|
|
3
2
|
import { useMarkdownComponents } from "../../hooks/useMarkdown/useMarkdownComponents.mjs";
|
|
4
3
|
import { useMarkdownContent } from "../../hooks/useMarkdown/useMarkdownContent.mjs";
|
|
5
4
|
import { useMarkdownRehypePlugins } from "../../hooks/useMarkdown/useMarkdownRehypePlugins.mjs";
|
|
6
5
|
import { useMarkdownRemarkPlugins } from "../../hooks/useMarkdown/useMarkdownRemarkPlugins.mjs";
|
|
6
|
+
import { useMarkdownContext } from "../components/MarkdownProvider.mjs";
|
|
7
7
|
import { memo } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { Streamdown } from "@lobehub/streamdown";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import A from "../../A/index.mjs";
|
|
3
|
-
import FlexBasic_default from "../../Flex/FlexBasic.mjs";
|
|
4
3
|
import Block from "../../Block/Block.mjs";
|
|
4
|
+
import FlexBasic_default from "../../Flex/FlexBasic.mjs";
|
|
5
5
|
import Text from "../../Text/Text.mjs";
|
|
6
6
|
import SearchResultCards from "./SearchResultCards/index.mjs";
|
|
7
7
|
import { memo, useMemo } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { styleProps } from "../../../styles/stylex/props.mjs";
|
|
3
2
|
import CopyButton from "../../../CopyButton/CopyButton.mjs";
|
|
3
|
+
import { styleProps } from "../../../styles/stylex/props.mjs";
|
|
4
4
|
import { hastTableToMarkdown } from "./hastTableToMarkdown.mjs";
|
|
5
5
|
import { styles } from "./style.mjs";
|
|
6
6
|
import { memo, useCallback, useRef } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import A from "../../../A/index.mjs";
|
|
3
|
+
import Block from "../../../Block/Block.mjs";
|
|
3
4
|
import FlexBasic_default from "../../../Flex/FlexBasic.mjs";
|
|
4
5
|
import Img from "../../../Img/index.mjs";
|
|
5
|
-
import Block from "../../../Block/Block.mjs";
|
|
6
6
|
import Text from "../../../Text/Text.mjs";
|
|
7
7
|
import { searchResultCardsClasses } from "../../stable.mjs";
|
|
8
8
|
import clsx$1 from "clsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import ScrollShadow from "../../../ScrollShadow/ScrollShadow.mjs";
|
|
2
3
|
import { styleProps } from "../../../styles/stylex/props.mjs";
|
|
3
4
|
import { searchResultCardsClasses } from "../../stable.mjs";
|
|
4
|
-
import ScrollShadow from "../../../ScrollShadow/ScrollShadow.mjs";
|
|
5
5
|
import SearchResultCard from "./SearchResultCard.mjs";
|
|
6
6
|
import { styles } from "./style.mjs";
|
|
7
7
|
import clsx$1 from "clsx";
|
package/es/Markdown/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MarkdownProps, StreamAnimationGranularity, StreamSmoothingPreset, SyntaxMarkdownProps, TypographyProps } from "./type.mjs";
|
|
2
1
|
import Markdown from "./Markdown.mjs";
|
|
2
|
+
import { MarkdownProps, StreamAnimationGranularity, StreamSmoothingPreset, SyntaxMarkdownProps, TypographyProps } from "./type.mjs";
|
|
3
3
|
import Typography from "./Typography.mjs";
|
|
4
4
|
export { type MarkdownProps, type StreamAnimationGranularity, type StreamSmoothingPreset, type SyntaxMarkdownProps, Typography, type TypographyProps, Markdown as default };
|
package/es/Markdown/index.mjs
CHANGED
package/es/Markdown/type.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { AProps, DivProps } from "../types/index.mjs";
|
|
2
|
-
import { HighlighterProps } from "../Highlighter/type.mjs";
|
|
3
1
|
import "../Highlighter/index.mjs";
|
|
4
|
-
import {
|
|
2
|
+
import { HighlighterProps } from "../Highlighter/type.mjs";
|
|
5
3
|
import "../HtmlPreview/index.mjs";
|
|
4
|
+
import { HtmlPreviewProps } from "../HtmlPreview/type.mjs";
|
|
5
|
+
import "../mdx/index.mjs";
|
|
6
6
|
import { MermaidProps } from "../Mermaid/type.mjs";
|
|
7
7
|
import "../Mermaid/index.mjs";
|
|
8
8
|
import { ImageProps } from "../mdx/mdxComponents/Image.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { AProps, DivProps } from "../types/index.mjs";
|
|
10
10
|
import { PreProps } from "../mdx/mdxComponents/Pre.mjs";
|
|
11
11
|
import { VideoProps } from "../mdx/mdxComponents/Video.mjs";
|
|
12
|
-
import "../
|
|
12
|
+
import { CitationItem } from "../types/citation.mjs";
|
|
13
13
|
import { CSSProperties, ElementType, FC, ReactNode, Ref } from "react";
|
|
14
14
|
import { StreamAnimationGranularity, StreamSmoothingPreset } from "@lobehub/streamdown";
|
|
15
15
|
import { Components, Options } from "react-markdown";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { toDataAttributes } from "../utils/bem.mjs";
|
|
3
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
2
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
3
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
5
5
|
import { maskShadowClasses } from "./stable.mjs";
|
|
6
6
|
import { styles } from "./style.mjs";
|
|
7
7
|
import clsx$1 from "clsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useCdnFn } from "../ConfigProvider/index.mjs";
|
|
3
|
+
import FileTypeIcon from "../FileTypeIcon/FileTypeIcon.mjs";
|
|
3
4
|
import Center from "../Flex/Center.mjs";
|
|
4
5
|
import Img from "../Img/index.mjs";
|
|
5
|
-
import FileTypeIcon from "../FileTypeIcon/FileTypeIcon.mjs";
|
|
6
6
|
import { materialFileTypeIconClasses } from "./stable.mjs";
|
|
7
7
|
import { getIconUrlForDirectoryPath, getIconUrlForFilePath } from "./utils.mjs";
|
|
8
8
|
import clsx$1 from "clsx";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FileExtensionsKey, FileNamesKey, FolderNamesKey, MaterialFileTypeIconProps } from "./type.mjs";
|
|
2
1
|
import MaterialFileTypeIcon from "./MaterialFileTypeIcon.mjs";
|
|
2
|
+
import { FileExtensionsKey, FileNamesKey, FolderNamesKey, MaterialFileTypeIconProps } from "./type.mjs";
|
|
3
3
|
export { type FileExtensionsKey, type FileNamesKey, type FolderNamesKey, type MaterialFileTypeIconProps, MaterialFileTypeIcon as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
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
2
|
import ActionIcon from "../ActionIcon/ActionIcon.mjs";
|
|
6
|
-
import Text from "../Text/Text.mjs";
|
|
7
|
-
import MaterialFileTypeIcon from "../MaterialFileTypeIcon/MaterialFileTypeIcon.mjs";
|
|
8
|
-
import { stopPropagation } from "../utils/dom.mjs";
|
|
9
3
|
import CopyButton from "../CopyButton/CopyButton.mjs";
|
|
4
|
+
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
10
5
|
import { bodyStyles, headerFlexProps, headerStyles, rootClassName, rootStyles } from "../Highlighter/style.mjs";
|
|
6
|
+
import MaterialFileTypeIcon from "../MaterialFileTypeIcon/MaterialFileTypeIcon.mjs";
|
|
7
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
8
|
+
import Text from "../Text/Text.mjs";
|
|
9
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
10
|
+
import { stopPropagation } from "../utils/dom.mjs";
|
|
11
11
|
import { mermaidClasses } from "./stable.mjs";
|
|
12
12
|
import clsx$1 from "clsx";
|
|
13
13
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
package/es/Mermaid/Mermaid.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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 Tag from "../Tag/Tag.mjs";
|
|
6
2
|
import CopyButton from "../CopyButton/CopyButton.mjs";
|
|
3
|
+
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
7
4
|
import { actionsHoverCls, rootClassName, rootStyles, styles } from "../Highlighter/style.mjs";
|
|
8
|
-
import {
|
|
5
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
6
|
+
import Tag from "../Tag/Tag.mjs";
|
|
7
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
9
8
|
import { MermaidFullFeatured } from "./FullFeatured.mjs";
|
|
9
|
+
import { mermaidClasses } from "./stable.mjs";
|
|
10
10
|
import SyntaxMermaid from "./SyntaxMermaid/index.mjs";
|
|
11
11
|
import clsx$1 from "clsx";
|
|
12
12
|
import { memo, useCallback, useEffect, useMemo, useRef } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { openPreview } from "../../Image/viewer/registry.mjs";
|
|
3
2
|
import PreviewOutlet from "../../Image/viewer/PreviewOutlet.mjs";
|
|
4
|
-
import {
|
|
3
|
+
import { openPreview } from "../../Image/viewer/registry.mjs";
|
|
5
4
|
import { toStandaloneSvgString } from "./standaloneSvg.mjs";
|
|
5
|
+
import { styles } from "./style.mjs";
|
|
6
6
|
import { memo, useCallback, useEffect, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import * as stylex from "@stylexjs/stylex";
|
|
@@ -40,7 +40,8 @@ const MermaidSvg = memo(({ className, dataAttributes, ref, style, svg }) => {
|
|
|
40
40
|
options: {
|
|
41
41
|
autoZoomThreshold: 2,
|
|
42
42
|
defaultZoom: "auto",
|
|
43
|
-
maxScale: 8
|
|
43
|
+
maxScale: 8,
|
|
44
|
+
pixelRatio: 1
|
|
44
45
|
},
|
|
45
46
|
src: url
|
|
46
47
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MermaidSvg.mjs","names":[],"sources":["../../../src/Mermaid/SyntaxMermaid/MermaidSvg.tsx"],"sourcesContent":["'use client';\n\nimport * as stylex from '@stylexjs/stylex';\nimport { memo, type Ref, useCallback, useEffect, useRef, useState } from 'react';\n\nimport { DEFAULT_AUTO_ZOOM_THRESHOLD, DEFAULT_MAX_SCALE } from '@/Image/viewer/geometry';\nimport PreviewOutlet from '@/Image/viewer/PreviewOutlet';\nimport { openPreview } from '@/Image/viewer/registry';\n\nimport { toStandaloneSvgString } from './standaloneSvg';\nimport { styles } from './style';\n\ninterface MermaidSvgProps {\n className?: string;\n dataAttributes?: Record<`data-${string}`, string>;\n ref?: Ref<HTMLDivElement>;\n style?: React.CSSProperties;\n svg: string;\n}\n\n// The viewer flies the image out of the element it was opened from, so the\n// diagram needs a real <img> to measure — hence a hidden anchor tracking the\n// diagram box rather than a display:none preview image.\nconst anchorStyle: React.CSSProperties = {\n height: '100%',\n insetBlockStart: 0,\n insetInlineStart: 0,\n pointerEvents: 'none',\n position: 'absolute',\n visibility: 'hidden',\n width: '100%',\n};\n\nconst MermaidSvg = memo<MermaidSvgProps>(({ className, dataAttributes, ref, style, svg }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const anchorRef = useRef<HTMLImageElement>(null);\n const [previewUrl, setPreviewUrl] = useState<string>();\n\n useEffect(() => {\n return () => {\n if (previewUrl) URL.revokeObjectURL(previewUrl);\n };\n }, [previewUrl]);\n\n // The preview copy is only built on demand: it has to bake in the resolved\n // CSS variables, which the inline copy does not need.\n const handleOpen = useCallback(() => {\n const element = containerRef.current?.querySelector('svg');\n const anchor = anchorRef.current;\n if (!element || !anchor) return;\n\n const standalone = toStandaloneSvgString(element);\n const url = URL.createObjectURL(new Blob([standalone], { type: 'image/svg+xml' }));\n setPreviewUrl((previous) => {\n if (previous) URL.revokeObjectURL(previous);\n return url;\n });\n\n openPreview({\n element: anchor,\n options: {\n autoZoomThreshold: DEFAULT_AUTO_ZOOM_THRESHOLD,\n defaultZoom: 'auto',\n maxScale: DEFAULT_MAX_SCALE,\n },\n src: url,\n });\n }, []);\n\n return (\n <div {...dataAttributes} className={className} ref={ref} style={style}>\n <div\n {...stylex.props(styles.zoomIn)}\n dangerouslySetInnerHTML={{ __html: svg }}\n ref={containerRef}\n onClick={handleOpen}\n />\n <img aria-hidden alt=\"\" ref={anchorRef} src={previewUrl} style={anchorStyle} />\n <PreviewOutlet elementRef={anchorRef} />\n </div>\n );\n});\n\nMermaidSvg.displayName = 'MermaidSvg';\n\nexport default MermaidSvg;\n"],"mappings":";;;;;;;;;AAoBA,MAAM,cAAmC;CACvC,QAAQ;CACR,iBAAiB;CACjB,kBAAkB;CAClB,eAAe;CACf,UAAU;CACV,YAAY;CACZ,OAAO;AACT;AACA,MAAM,aAAa,MAAuB,EACxC,WACA,gBACA,KACA,OACA,UACI;CACJ,MAAM,eAAe,OAAuB,IAAI;CAChD,MAAM,YAAY,OAAyB,IAAI;CAC/C,MAAM,CAAC,YAAY,iBAAiB,SAAiB;CACrD,gBAAgB;EACd,aAAa;GACX,IAAI,YAAY,IAAI,gBAAgB,UAAU;EAChD;CACF,GAAG,CAAC,UAAU,CAAC;CAIf,MAAM,aAAa,kBAAkB;EACnC,MAAM,UAAU,aAAa,SAAS,cAAc,KAAK;EACzD,MAAM,SAAS,UAAU;EACzB,IAAI,CAAC,WAAW,CAAC,QAAQ;EACzB,MAAM,aAAa,sBAAsB,OAAO;EAChD,MAAM,MAAM,IAAI,gBAAgB,IAAI,KAAK,CAAC,UAAU,GAAG,EACrD,MAAM,gBACR,CAAC,CAAC;EACF,eAAc,aAAY;GACxB,IAAI,UAAU,IAAI,gBAAgB,QAAQ;GAC1C,OAAO;EACT,CAAC;EACD,YAAY;GACV,SAAS;GACT,SAAS;IACP,mBAAA;IACA,aAAa;IACb,UAAA;
|
|
1
|
+
{"version":3,"file":"MermaidSvg.mjs","names":[],"sources":["../../../src/Mermaid/SyntaxMermaid/MermaidSvg.tsx"],"sourcesContent":["'use client';\n\nimport * as stylex from '@stylexjs/stylex';\nimport { memo, type Ref, useCallback, useEffect, useRef, useState } from 'react';\n\nimport { DEFAULT_AUTO_ZOOM_THRESHOLD, DEFAULT_MAX_SCALE } from '@/Image/viewer/geometry';\nimport PreviewOutlet from '@/Image/viewer/PreviewOutlet';\nimport { openPreview } from '@/Image/viewer/registry';\n\nimport { toStandaloneSvgString } from './standaloneSvg';\nimport { styles } from './style';\n\ninterface MermaidSvgProps {\n className?: string;\n dataAttributes?: Record<`data-${string}`, string>;\n ref?: Ref<HTMLDivElement>;\n style?: React.CSSProperties;\n svg: string;\n}\n\n// The viewer flies the image out of the element it was opened from, so the\n// diagram needs a real <img> to measure — hence a hidden anchor tracking the\n// diagram box rather than a display:none preview image.\nconst anchorStyle: React.CSSProperties = {\n height: '100%',\n insetBlockStart: 0,\n insetInlineStart: 0,\n pointerEvents: 'none',\n position: 'absolute',\n visibility: 'hidden',\n width: '100%',\n};\n\nconst MermaidSvg = memo<MermaidSvgProps>(({ className, dataAttributes, ref, style, svg }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const anchorRef = useRef<HTMLImageElement>(null);\n const [previewUrl, setPreviewUrl] = useState<string>();\n\n useEffect(() => {\n return () => {\n if (previewUrl) URL.revokeObjectURL(previewUrl);\n };\n }, [previewUrl]);\n\n // The preview copy is only built on demand: it has to bake in the resolved\n // CSS variables, which the inline copy does not need.\n const handleOpen = useCallback(() => {\n const element = containerRef.current?.querySelector('svg');\n const anchor = anchorRef.current;\n if (!element || !anchor) return;\n\n const standalone = toStandaloneSvgString(element);\n const url = URL.createObjectURL(new Blob([standalone], { type: 'image/svg+xml' }));\n setPreviewUrl((previous) => {\n if (previous) URL.revokeObjectURL(previous);\n return url;\n });\n\n openPreview({\n element: anchor,\n options: {\n autoZoomThreshold: DEFAULT_AUTO_ZOOM_THRESHOLD,\n defaultZoom: 'auto',\n maxScale: DEFAULT_MAX_SCALE,\n // The SVG's natural size is already in CSS pixels on any screen.\n pixelRatio: 1,\n },\n src: url,\n });\n }, []);\n\n return (\n <div {...dataAttributes} className={className} ref={ref} style={style}>\n <div\n {...stylex.props(styles.zoomIn)}\n dangerouslySetInnerHTML={{ __html: svg }}\n ref={containerRef}\n onClick={handleOpen}\n />\n <img aria-hidden alt=\"\" ref={anchorRef} src={previewUrl} style={anchorStyle} />\n <PreviewOutlet elementRef={anchorRef} />\n </div>\n );\n});\n\nMermaidSvg.displayName = 'MermaidSvg';\n\nexport default MermaidSvg;\n"],"mappings":";;;;;;;;;AAoBA,MAAM,cAAmC;CACvC,QAAQ;CACR,iBAAiB;CACjB,kBAAkB;CAClB,eAAe;CACf,UAAU;CACV,YAAY;CACZ,OAAO;AACT;AACA,MAAM,aAAa,MAAuB,EACxC,WACA,gBACA,KACA,OACA,UACI;CACJ,MAAM,eAAe,OAAuB,IAAI;CAChD,MAAM,YAAY,OAAyB,IAAI;CAC/C,MAAM,CAAC,YAAY,iBAAiB,SAAiB;CACrD,gBAAgB;EACd,aAAa;GACX,IAAI,YAAY,IAAI,gBAAgB,UAAU;EAChD;CACF,GAAG,CAAC,UAAU,CAAC;CAIf,MAAM,aAAa,kBAAkB;EACnC,MAAM,UAAU,aAAa,SAAS,cAAc,KAAK;EACzD,MAAM,SAAS,UAAU;EACzB,IAAI,CAAC,WAAW,CAAC,QAAQ;EACzB,MAAM,aAAa,sBAAsB,OAAO;EAChD,MAAM,MAAM,IAAI,gBAAgB,IAAI,KAAK,CAAC,UAAU,GAAG,EACrD,MAAM,gBACR,CAAC,CAAC;EACF,eAAc,aAAY;GACxB,IAAI,UAAU,IAAI,gBAAgB,QAAQ;GAC1C,OAAO;EACT,CAAC;EACD,YAAY;GACV,SAAS;GACT,SAAS;IACP,mBAAA;IACA,aAAa;IACb,UAAA;IAEA,YAAY;GACd;GACA,KAAK;EACP,CAAC;CACH,GAAG,CAAC,CAAC;CACL,OAAO,qBAAC,OAAD;EAAK,GAAI;EAA2B;EAAgB;EAAY;EAAhE,UAAA;GACH,oBAAC,OAAD;IAAK,GAAI,OAAO,MAAM,OAAO,MAAM;IAAG,yBAAyB,EAC/D,QAAQ,IACV;IAAG,KAAK;IAAc,SAAS;GAAa,CAAA;GAC1C,oBAAC,OAAD;IAAK,eAAA;IAAY,KAAI;IAAG,KAAK;IAAW,KAAK;IAAY,OAAO;GAAc,CAAA;GAC9E,oBAAC,eAAD,EAAe,YAAY,UAAY,CAAA;EACpC;;AACT,CAAC;AACD,WAAW,cAAc"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { getMermaidThemeVars } from "../themes.mjs";
|
|
3
|
-
import { mermaidThemes } from "../const.mjs";
|
|
4
2
|
import { useMermaid } from "../../hooks/useMermaid.mjs";
|
|
5
|
-
import {
|
|
3
|
+
import { mermaidThemes } from "../const.mjs";
|
|
4
|
+
import { getMermaidThemeVars } from "../themes.mjs";
|
|
6
5
|
import MermaidFallback from "./MermaidFallback.mjs";
|
|
7
6
|
import MermaidSvg from "./MermaidSvg.mjs";
|
|
7
|
+
import { styles } from "./style.mjs";
|
|
8
8
|
import { memo, useMemo } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import * as stylex from "@stylexjs/stylex";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { useStreamMermaid } from "../../hooks/useStreamMermaid.mjs";
|
|
3
3
|
import { mermaidThemes } from "../const.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { getMermaidThemeVars } from "../themes.mjs";
|
|
5
5
|
import MermaidFallback from "./MermaidFallback.mjs";
|
|
6
6
|
import MermaidSvg from "./MermaidSvg.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { styles } from "./style.mjs";
|
|
8
8
|
import { memo, useMemo } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import * as stylex from "@stylexjs/stylex";
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { syntaxMermaidClasses } from "../stable.mjs";
|
|
5
|
-
import { styles } from "./style.mjs";
|
|
6
5
|
import StaticMermaid from "./StaticMermaid.mjs";
|
|
7
6
|
import StreamMermaid from "./StreamMermaid.mjs";
|
|
7
|
+
import { styles } from "./style.mjs";
|
|
8
8
|
import clsx$1 from "clsx";
|
|
9
9
|
import { memo } from "react";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
package/es/Mermaid/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { mermaidThemes } from "./const.mjs";
|
|
2
|
-
import { MermaidThemeName } from "./themes.mjs";
|
|
3
|
-
import { MermaidProps, SyntaxMermaidProps } from "./type.mjs";
|
|
4
2
|
import Mermaid from "./Mermaid.mjs";
|
|
5
3
|
import SyntaxMermaid from "./SyntaxMermaid/index.mjs";
|
|
4
|
+
import { MermaidThemeName } from "./themes.mjs";
|
|
5
|
+
import { MermaidProps, SyntaxMermaidProps } from "./type.mjs";
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Every diagram type now renders locally with pele; the CDN mermaid fallback is gone and this is a no-op.
|
|
8
8
|
*/
|
package/es/Mermaid/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mermaidThemes } from "./const.mjs";
|
|
2
|
-
import SyntaxMermaid from "./SyntaxMermaid/index.mjs";
|
|
3
2
|
import Mermaid from "./Mermaid.mjs";
|
|
3
|
+
import SyntaxMermaid from "./SyntaxMermaid/index.mjs";
|
|
4
4
|
// src/Mermaid/index.ts
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Every diagram type now renders locally with pele; the CDN mermaid fallback is gone and this is a no-op.
|
package/es/Mermaid/type.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DivProps } from "../types/index.mjs";
|
|
2
|
-
import { ActionIconProps } from "../ActionIcon/type.mjs";
|
|
3
1
|
import "../ActionIcon/index.mjs";
|
|
2
|
+
import { ActionIconProps } from "../ActionIcon/type.mjs";
|
|
3
|
+
import { DivProps } from "../types/index.mjs";
|
|
4
4
|
import { MermaidThemeName } from "./themes.mjs";
|
|
5
5
|
import { CSSProperties, ReactNode, Ref } from "react";
|
|
6
6
|
export interface SyntaxMermaidProps {
|
package/es/Modal/Modal.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { toDataAttributes } from "../utils/bem.mjs";
|
|
3
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
2
|
import { focusRing } from "../styles/stylex/focusRing.mjs";
|
|
5
|
-
import
|
|
3
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
6
5
|
import { stopPropagation } from "../utils/dom.mjs";
|
|
6
|
+
import Button from "../Button/Button.mjs";
|
|
7
|
+
import { ModalBackdrop, ModalContentImpl, ModalFooter, ModalHeaderImpl, ModalPopupImpl, ModalPortal, ModalRoot, ModalTitle } from "./atoms.mjs";
|
|
7
8
|
import { modalClasses } from "./stable.mjs";
|
|
8
9
|
import { styles } from "./style.mjs";
|
|
9
|
-
import { ModalBackdrop, ModalContentImpl, ModalFooter, ModalHeaderImpl, ModalPopupImpl, ModalPortal, ModalRoot, ModalTitle } from "./atoms.mjs";
|
|
10
10
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { Maximize2, Minimize2, X } from "lucide-react";
|
package/es/Modal/atoms.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useMotionComponent } from "../MotionProvider/index.mjs";
|
|
3
2
|
import { useAppElement } from "../ConfigProvider/AppElementContext.mjs";
|
|
4
|
-
import { styleProps } from "../styles/stylex/props.mjs";
|
|
5
|
-
import { focusRing } from "../styles/stylex/focusRing.mjs";
|
|
6
3
|
import { useNativeButton } from "../hooks/useNativeButton.mjs";
|
|
4
|
+
import { useMotionComponent } from "../MotionProvider/index.mjs";
|
|
5
|
+
import { focusRing } from "../styles/stylex/focusRing.mjs";
|
|
6
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
7
7
|
import { getElementRef } from "../utils/getElementRef.mjs";
|
|
8
8
|
import { mergeRefs, useMergeRefs } from "../utils/mergeRefs.mjs";
|
|
9
9
|
import { useLayerZIndex } from "../internal/zIndex/useLayerZIndex.mjs";
|
package/es/Modal/imperative.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useAppElement } from "../ConfigProvider/AppElementContext.mjs";
|
|
3
|
-
import Button from "../Button/Button.mjs";
|
|
4
3
|
import { useIsClient } from "../hooks/useIsClient.mjs";
|
|
5
4
|
import { registerDevSingleton } from "../utils/devSingleton.mjs";
|
|
6
|
-
import
|
|
5
|
+
import Button from "../Button/Button.mjs";
|
|
7
6
|
import { ModalBackdrop, ModalClose, ModalContentImpl, ModalFooter, ModalHeader, ModalPopup, ModalPortal, ModalRoot, ModalTitle } from "./atoms.mjs";
|
|
8
7
|
import { ModalContext, useModalContext } from "./context.mjs";
|
|
8
|
+
import { styles } from "./style.mjs";
|
|
9
9
|
import { memo, useCallback, useEffect, useState, useSyncExternalStore } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { createPortal } from "react-dom";
|
package/es/Modal/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModalBackdrop, ModalBackdropProps, ModalClose, ModalCloseProps, ModalContent, ModalContentProps, ModalDescription, ModalDescriptionProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalPopup, ModalPopupProps, ModalPortal, ModalPortalProps, ModalRoot, ModalRootProps, ModalTitle, ModalTitleProps, ModalTrigger, ModalTriggerProps, ModalViewport, ModalViewportProps, useModalActions, useModalOpen } from "./atoms.mjs";
|
|
2
2
|
import { backdropTransition, modalMotionConfig } from "./constants.mjs";
|
|
3
|
-
import { BaseModalProps, ImperativeModalProps, ModalComponentProps, ModalConfirmConfig, ModalContextValue, ModalInstance } from "./type.mjs";
|
|
4
3
|
import { ModalContext, useModalContext } from "./context.mjs";
|
|
5
4
|
import { ModalHost, ModalHostProps, ModalSystem, confirmModal, createModal, createModalSystem } from "./imperative.mjs";
|
|
6
5
|
import Modal from "./Modal.mjs";
|
|
6
|
+
import { BaseModalProps, ImperativeModalProps, ModalComponentProps, ModalConfirmConfig, ModalContextValue, ModalInstance } from "./type.mjs";
|
|
7
7
|
export { type BaseModalProps, type ImperativeModalProps, Modal, ModalBackdrop, type ModalBackdropProps, ModalClose, type ModalCloseProps, type ModalComponentProps, type ModalConfirmConfig, ModalContent, type ModalContentProps, ModalContext, type ModalContextValue, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalHost, type ModalHostProps, type ModalInstance, ModalPopup, type ModalPopupProps, ModalPortal, type ModalPortalProps, ModalRoot, type ModalRootProps, type ModalSystem, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, ModalViewport, type ModalViewportProps, backdropTransition, confirmModal, createModal, createModalSystem, modalMotionConfig, useModalActions, useModalContext, useModalOpen };
|
package/es/Modal/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { backdropTransition, modalMotionConfig } from "./constants.mjs";
|
|
2
1
|
import { ModalBackdrop, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalPopup, ModalPortal, ModalRoot, ModalTitle, ModalTrigger, ModalViewport, useModalActions, useModalOpen } from "./atoms.mjs";
|
|
2
|
+
import { backdropTransition, modalMotionConfig } from "./constants.mjs";
|
|
3
3
|
import { ModalContext, useModalContext } from "./context.mjs";
|
|
4
4
|
import { ModalHost, confirmModal, createModal, createModalSystem } from "./imperative.mjs";
|
|
5
5
|
import Modal from "./Modal.mjs";
|
|
@@ -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 { useEventCallback } from "../hooks/useEventCallback.mjs";
|
|
5
2
|
import { useControlledState } from "../hooks/useControlledState.mjs";
|
|
3
|
+
import { useEventCallback } from "../hooks/useEventCallback.mjs";
|
|
6
4
|
import Input_default from "../Input/Input.mjs";
|
|
7
5
|
import Select from "../Select/Select.mjs";
|
|
6
|
+
import { styleProps } from "../styles/stylex/props.mjs";
|
|
7
|
+
import { toDataAttributes } from "../utils/bem.mjs";
|
|
8
8
|
import { clampPage, getPageCount, getPaginationItems } from "./helpers.mjs";
|
|
9
9
|
import { paginationJumpMarker } from "./marker.stylex.mjs";
|
|
10
10
|
import { paginationClasses } from "./stable.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PaginationAlign, PaginationItemType, PaginationProps, PaginationSemanticName, PaginationSize, PaginationSizeChangerProps } from "./type.mjs";
|
|
2
1
|
import Pagination from "./Pagination.mjs";
|
|
2
|
+
import { PaginationAlign, PaginationItemType, PaginationProps, PaginationSemanticName, PaginationSize, PaginationSizeChangerProps } from "./type.mjs";
|
|
3
3
|
export { type PaginationAlign, type PaginationItemType, type PaginationProps, type PaginationSemanticName, type PaginationSize, type PaginationSizeChangerProps, Pagination as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { placementMap } from "../utils/placement.mjs";
|
|
3
2
|
import { useDestroyOnInvalidActiveTriggerElement, useHidePopupWhenPositionerAtOrigin, usePopupHandleStore } from "../utils/destroyOnInvalidActiveTriggerElement.mjs";
|
|
4
|
-
import { useRepopOnFarTriggerSwitch } from "../utils/useRepopOnFarTriggerSwitch.mjs";
|
|
5
3
|
import { parseTrigger } from "../utils/parseTrigger.mjs";
|
|
4
|
+
import { placementMap } from "../utils/placement.mjs";
|
|
5
|
+
import { useRepopOnFarTriggerSwitch } from "../utils/useRepopOnFarTriggerSwitch.mjs";
|
|
6
6
|
import { PopoverArrowIcon } from "./ArrowIcon.mjs";
|
|
7
|
-
import { usePopoverPortalContainer } from "./PopoverPortal.mjs";
|
|
8
7
|
import { PopoverArrow, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverViewport } from "./atoms.mjs";
|
|
9
8
|
import { PopoverProvider } from "./context.mjs";
|
|
10
9
|
import { PopoverGroupHandleContext, PopoverGroupPropsContext } from "./groupContext.mjs";
|
|
11
10
|
import { isHoverOnlyTriggerElement, shouldCancelHoverOnlyPressOpen } from "./hoverOnlyPress.mjs";
|
|
11
|
+
import { usePopoverPortalContainer } from "./PopoverPortal.mjs";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState } from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { Popover } from "@base-ui/react/popover";
|
|
@@ -3,9 +3,9 @@ import { useNativeButton } from "../hooks/useNativeButton.mjs";
|
|
|
3
3
|
import { getElementRef } from "../utils/getElementRef.mjs";
|
|
4
4
|
import { mergeRefs } from "../utils/mergeRefs.mjs";
|
|
5
5
|
import { parseTrigger } from "../utils/parseTrigger.mjs";
|
|
6
|
-
import { popoverClasses } from "./stable.mjs";
|
|
7
6
|
import { PopoverGroupHandleContext } from "./groupContext.mjs";
|
|
8
7
|
import { HOVER_ONLY_TRIGGER_ATTR } from "./hoverOnlyPress.mjs";
|
|
8
|
+
import { popoverClasses } from "./stable.mjs";
|
|
9
9
|
import { useMergedPopoverProps } from "./useMergedPopoverProps.mjs";
|
|
10
10
|
import clsx$1 from "clsx";
|
|
11
11
|
import { cloneElement, isValidElement, use, useMemo } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useNativeButton } from "../hooks/useNativeButton.mjs";
|
|
3
2
|
import { useIsClient } from "../hooks/useIsClient.mjs";
|
|
4
|
-
import {
|
|
3
|
+
import { useNativeButton } from "../hooks/useNativeButton.mjs";
|
|
5
4
|
import { parseTrigger } from "../utils/parseTrigger.mjs";
|
|
5
|
+
import { placementMap } from "../utils/placement.mjs";
|
|
6
6
|
import { PopoverArrowIcon } from "./ArrowIcon.mjs";
|
|
7
|
-
import { usePopoverPortalContainer } from "./PopoverPortal.mjs";
|
|
8
7
|
import { PopoverArrow, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverRoot, PopoverTriggerElement, PopoverViewport } from "./atoms.mjs";
|
|
9
8
|
import { PopoverProvider } from "./context.mjs";
|
|
10
9
|
import { shouldCancelHoverOnlyPressOpen } from "./hoverOnlyPress.mjs";
|
|
10
|
+
import { usePopoverPortalContainer } from "./PopoverPortal.mjs";
|
|
11
11
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { Popover } from "@base-ui/react/popover";
|
package/es/Popover/atoms.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { FloatingLayerProvider } from "../hooks/useFloatingLayer.mjs";
|
|
2
3
|
import { useNativeButton } from "../hooks/useNativeButton.mjs";
|
|
4
|
+
import { getFloatingCollisionPadding } from "../internal/floating/collisionPadding.mjs";
|
|
3
5
|
import { getElementRef } from "../utils/getElementRef.mjs";
|
|
4
6
|
import { mergeRefs, useMergeRefs } from "../utils/mergeRefs.mjs";
|
|
5
|
-
import { FloatingLayerProvider } from "../hooks/useFloatingLayer.mjs";
|
|
6
|
-
import { getFloatingCollisionPadding } from "../internal/floating/collisionPadding.mjs";
|
|
7
7
|
import { placementMap } from "../utils/placement.mjs";
|
|
8
8
|
import { useLayerZIndex } from "../internal/zIndex/useLayerZIndex.mjs";
|
|
9
|
-
import { styles } from "./style.mjs";
|
|
10
9
|
import { PopoverArrowIcon } from "./ArrowIcon.mjs";
|
|
11
10
|
import { usePopoverPortalContainer } from "./PopoverPortal.mjs";
|
|
12
11
|
import { popoverClasses } from "./stable.mjs";
|
|
12
|
+
import { styles } from "./style.mjs";
|
|
13
13
|
import clsx$1 from "clsx";
|
|
14
14
|
import { cloneElement, isValidElement, useState } from "react";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
package/es/Popover/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PopoverArrowIcon } from "./ArrowIcon.mjs";
|
|
2
|
-
import { PopoverBackdropProps, PopoverPlacement, PopoverPopupProps, PopoverPortalProps, PopoverPositionerProps, PopoverProps, PopoverTrigger, PopoverTriggerComponentProps } from "./type.mjs";
|
|
3
2
|
import { PopoverArrow, PopoverArrowAtomProps, PopoverBackdrop, PopoverPopup, PopoverPopupAtomProps, PopoverPortal, PopoverPortalAtomProps, PopoverPositioner, PopoverPositionerAtomProps, PopoverRoot, PopoverTriggerElement, PopoverTriggerElementProps, PopoverViewport, PopoverViewportAtomProps } from "./atoms.mjs";
|
|
4
3
|
import { PopoverContextValue, PopoverProvider, usePopoverContext } from "./context.mjs";
|
|
5
4
|
import { PopoverGroupHandle, PopoverGroupItem, usePopoverGroupHandle } from "./groupContext.mjs";
|
|
6
|
-
import { parseTrigger } from "../utils/parseTrigger.mjs";
|
|
7
5
|
import Popover from "./Popover.mjs";
|
|
6
|
+
import { parseTrigger } from "../utils/parseTrigger.mjs";
|
|
8
7
|
import PopoverGroup from "./PopoverGroup.mjs";
|
|
9
8
|
import { usePopoverPortalContainer } from "./PopoverPortal.mjs";
|
|
9
|
+
import { PopoverBackdropProps, PopoverPlacement, PopoverPopupProps, PopoverPortalProps, PopoverPositionerProps, PopoverProps, PopoverTrigger, PopoverTriggerComponentProps } from "./type.mjs";
|
|
10
10
|
export { PopoverArrow, type PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, type PopoverBackdropProps, type PopoverContextValue, PopoverGroup, type PopoverGroupHandle, type PopoverGroupItem, type PopoverPlacement, PopoverPopup, type PopoverPopupAtomProps, type PopoverPopupProps, PopoverPortal, type PopoverPortalAtomProps, type PopoverPortalProps, PopoverPositioner, type PopoverPositionerAtomProps, type PopoverPositionerProps, type PopoverProps, PopoverProvider, PopoverRoot, type PopoverTrigger, type PopoverTriggerComponentProps, PopoverTriggerElement, type PopoverTriggerElementProps, PopoverViewport, type PopoverViewportAtomProps, Popover as default, parseTrigger, usePopoverContext, usePopoverGroupHandle, usePopoverPortalContainer };
|
package/es/Popover/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { parseTrigger } from "../utils/parseTrigger.mjs";
|
|
2
2
|
import { PopoverArrowIcon } from "./ArrowIcon.mjs";
|
|
3
|
-
import { usePopoverPortalContainer } from "./PopoverPortal.mjs";
|
|
4
3
|
import { PopoverArrow, PopoverBackdrop, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverRoot, PopoverTriggerElement, PopoverViewport } from "./atoms.mjs";
|
|
5
4
|
import { PopoverProvider, usePopoverContext } from "./context.mjs";
|
|
6
5
|
import { usePopoverGroupHandle } from "./groupContext.mjs";
|
|
7
6
|
import Popover from "./Popover.mjs";
|
|
8
7
|
import PopoverGroup from "./PopoverGroup.mjs";
|
|
8
|
+
import { usePopoverPortalContainer } from "./PopoverPortal.mjs";
|
|
9
9
|
export { PopoverArrow, PopoverArrowIcon, PopoverBackdrop, PopoverGroup, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverProvider, PopoverRoot, PopoverTriggerElement, PopoverViewport, Popover as default, parseTrigger, usePopoverContext, usePopoverGroupHandle, usePopoverPortalContainer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProTableProps } from "./type.mjs";
|
|
2
1
|
import { ProTableLocaleResolved } from "./locale.mjs";
|
|
2
|
+
import { ProTableProps } from "./type.mjs";
|
|
3
3
|
export declare const DEFAULT_PRO_TABLE_LOCALE: ProTableLocaleResolved;
|
|
4
4
|
declare const ProTable: {
|
|
5
5
|
<T extends Record<string, any> = any, Params extends Record<string, any> = Record<string, any>>(props: ProTableProps<T, Params>): import("react").JSX.Element;
|