@lobehub/ui 6.15.2 → 6.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/A/index.d.mts +1 -2
- package/es/Accordion/Accordion.d.mts +1 -2
- package/es/Accordion/atoms.d.mts +1 -2
- package/es/Accordion/style.d.mts +1 -2
- package/es/Accordion/type.d.mts +1 -2
- package/es/ActionIcon/ActionIcon.d.mts +1 -2
- package/es/ActionIcon/style.d.mts +1 -2
- package/es/ActionIcon/type.d.mts +1 -2
- package/es/ActionIconGroup/ActionIconGroup.d.mts +1 -2
- package/es/ActionIconGroup/ActionIconGroup.mjs.map +1 -1
- package/es/ActionIconGroup/type.d.mts +1 -2
- package/es/AgentAvatar/AgentAvatar.d.mts +1 -2
- package/es/AgentAvatar/type.d.mts +1 -2
- package/es/AgentAvatar/utils.d.mts +1 -2
- package/es/Alert/Alert.d.mts +1 -2
- package/es/Alert/style.d.mts +1 -2
- package/es/Alert/type.d.mts +1 -2
- package/es/Anchor/Anchor.d.mts +1 -2
- package/es/Anchor/Anchor.mjs +1 -1
- package/es/Anchor/type.d.mts +1 -2
- package/es/AutoComplete/AutoComplete.d.mts +1 -2
- package/es/AutoComplete/style.d.mts +2 -3
- package/es/AutoComplete/type.d.mts +1 -2
- package/es/Avatar/AvatarGroup/index.d.mts +1 -2
- package/es/Avatar/index.d.mts +1 -2
- package/es/Avatar/type.d.mts +1 -2
- package/es/Badge/Badge.d.mts +1 -2
- package/es/Badge/type.d.mts +1 -2
- package/es/Block/Block.d.mts +1 -2
- package/es/Block/type.d.mts +1 -2
- package/es/Breadcrumb/Breadcrumb.d.mts +1 -2
- package/es/Breadcrumb/type.d.mts +1 -2
- package/es/Burger/Burger.d.mts +1 -2
- package/es/Burger/type.d.mts +1 -2
- package/es/Button/Button.d.mts +1 -2
- package/es/Button/SplitButton.d.mts +1 -2
- package/es/Button/SplitButton.mjs.map +1 -1
- package/es/Button/style.d.mts +1 -2
- package/es/Button/type.d.mts +1 -2
- package/es/Carousel/Carousel.d.mts +1 -2
- package/es/Carousel/type.d.mts +1 -2
- package/es/Checkbox/Checkbox.d.mts +1 -2
- package/es/Checkbox/Checkbox.mjs +6 -6
- package/es/Checkbox/Checkbox.mjs.map +1 -1
- package/es/Checkbox/CheckboxGroup.d.mts +1 -2
- package/es/Checkbox/CheckboxGroup.mjs +5 -5
- package/es/Checkbox/CheckboxGroup.mjs.map +1 -1
- package/es/Checkbox/style.d.mts +1 -2
- package/es/Checkbox/type.d.mts +1 -2
- package/es/CodeDiff/CodeDiff.d.mts +1 -2
- package/es/CodeDiff/PatchDiff.d.mts +1 -2
- package/es/CodeDiff/PatchDiff.mjs +5 -5
- package/es/CodeDiff/PatchDiff.mjs.map +1 -1
- package/es/CodeDiff/theme.mjs.map +1 -1
- package/es/CodeDiff/type.d.mts +1 -2
- package/es/CodeEditor/CodeEditor.d.mts +1 -2
- package/es/CodeEditor/type.d.mts +1 -2
- package/es/Collapsible/Collapsible.d.mts +1 -2
- package/es/Collapsible/Collapsible.mjs +5 -5
- package/es/Collapsible/Collapsible.mjs.map +1 -1
- package/es/Collapsible/type.d.mts +1 -2
- package/es/ColorPicker/ColorPicker.d.mts +1 -2
- package/es/ColorPicker/type.d.mts +1 -2
- package/es/ColorSwatches/ColorSwatches.d.mts +1 -2
- package/es/ColorSwatches/type.d.mts +1 -2
- package/es/ConfigProvider/AppElementContext.d.mts +1 -2
- package/es/ConfigProvider/index.d.mts +1 -2
- package/es/ContextMenu/ContextMenuHost.d.mts +1 -2
- package/es/ContextMenu/ContextMenuTrigger.d.mts +1 -2
- package/es/ContextMenu/renderItems.d.mts +1 -1
- package/es/ContextMenu/store.d.mts +1 -2
- package/es/ContextMenu/type.d.mts +1 -2
- package/es/CopyButton/CopyButton.d.mts +1 -2
- package/es/CopyButton/type.d.mts +1 -2
- package/es/DatePicker/DatePicker.d.mts +1 -2
- package/es/DatePicker/DateRangePicker.d.mts +1 -2
- package/es/DatePicker/DayjsDatePicker.d.mts +1 -2
- package/es/DatePicker/DayjsDateRangePicker.d.mts +1 -2
- package/es/DatePicker/RangePicker.mjs.map +1 -1
- package/es/DatePicker/SinglePicker.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Popup/Footer.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Popup/Footer.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs +4 -4
- package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Popup/index.mjs +14 -14
- package/es/DatePicker/core/PickerInput/Popup/index.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/RangePicker.d.mts +3 -4
- package/es/DatePicker/core/PickerInput/RangePicker.mjs +11 -11
- package/es/DatePicker/core/PickerInput/RangePicker.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Selector/ClearIcon.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/ClearIcon.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Selector/Icon.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/Icon.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Selector/Input.mjs +15 -15
- package/es/DatePicker/core/PickerInput/Selector/Input.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Selector/RangeSelector.d.mts +1 -2
- package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs +11 -11
- package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/HoverSelector.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/HoverSelector.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs +6 -6
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Selector/hooks/useInputProps.mjs +4 -4
- package/es/DatePicker/core/PickerInput/Selector/hooks/useInputProps.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/Selector/hooks/useRootProps.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/hooks/useRootProps.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/SinglePicker.d.mts +6 -7
- package/es/DatePicker/core/PickerInput/SinglePicker.mjs +8 -8
- package/es/DatePicker/core/PickerInput/SinglePicker.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/context.mjs +2 -2
- package/es/DatePicker/core/PickerInput/context.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useCellRender.mjs +3 -3
- package/es/DatePicker/core/PickerInput/hooks/useCellRender.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFieldFormat.mjs +2 -2
- package/es/DatePicker/core/PickerInput/hooks/useFieldFormat.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFieldsInvalidate.mjs +3 -3
- package/es/DatePicker/core/PickerInput/hooks/useFieldsInvalidate.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs +5 -5
- package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFocusEvents.mjs +2 -2
- package/es/DatePicker/core/PickerInput/hooks/useFocusEvents.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFocusLock.mjs +2 -2
- package/es/DatePicker/core/PickerInput/hooks/useFocusLock.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useHoverStore.mjs +3 -3
- package/es/DatePicker/core/PickerInput/hooks/useHoverStore.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useLockEffect.mjs +2 -2
- package/es/DatePicker/core/PickerInput/hooks/useLockEffect.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/usePickerRef.mjs +3 -3
- package/es/DatePicker/core/PickerInput/hooks/usePickerRef.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/usePresets.mjs +2 -2
- package/es/DatePicker/core/PickerInput/hooks/usePresets.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs +4 -4
- package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs +3 -3
- package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useRangeValueChange.mjs +5 -5
- package/es/DatePicker/core/PickerInput/hooks/useRangeValueChange.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/PanelBody.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/PanelBody.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/PanelHeader.mjs +6 -6
- package/es/DatePicker/core/PickerPanel/PanelHeader.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/ClockDial.mjs +3 -3
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/ClockDial.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/geometry.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/TimeColumn.mjs +3 -3
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/TimeColumn.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useScrollTo.mjs +5 -5
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useScrollTo.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs +7 -7
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/context.mjs +6 -6
- package/es/DatePicker/core/PickerPanel/context.mjs.map +1 -1
- package/es/DatePicker/core/PickerPanel/index.mjs +12 -12
- package/es/DatePicker/core/PickerPanel/index.mjs.map +1 -1
- package/es/DatePicker/core/generate/index.d.mts +1 -2
- package/es/DatePicker/core/hooks/react.mjs +8 -8
- package/es/DatePicker/core/hooks/react.mjs.map +1 -1
- package/es/DatePicker/core/hooks/useSyncState.mjs +3 -3
- package/es/DatePicker/core/hooks/useSyncState.mjs.map +1 -1
- package/es/DatePicker/core/hooks/useTimeInfo.mjs +6 -6
- package/es/DatePicker/core/hooks/useTimeInfo.mjs.map +1 -1
- package/es/DatePicker/core/index.d.mts +28 -0
- package/es/DatePicker/core/interface.d.mts +1 -2
- package/es/DatePicker/generatePicker.d.mts +1 -2
- package/es/DatePicker/legacyDate.mjs.map +1 -1
- package/es/DatePicker/locale.d.mts +1 -2
- package/es/DatePicker/locale.mjs.map +1 -1
- package/es/DatePicker/type.d.mts +1 -2
- package/es/DatePicker/usePickerShared.mjs.map +1 -1
- package/es/Descriptions/Descriptions.d.mts +1 -2
- package/es/Descriptions/type.d.mts +1 -2
- package/es/Divider/Divider.d.mts +1 -2
- package/es/Divider/type.d.mts +1 -2
- package/es/DownloadButton/DownloadButton.d.mts +1 -2
- package/es/DownloadButton/type.d.mts +1 -2
- package/es/DraggablePanel/DraggablePanel.d.mts +1 -2
- package/es/DraggablePanel/atoms.d.mts +1 -2
- package/es/DraggablePanel/context.d.mts +1 -2
- package/es/DraggablePanel/core/axes.d.mts +1 -2
- package/es/DraggablePanel/core/controller.d.mts +1 -2
- package/es/DraggablePanel/type.d.mts +1 -2
- package/es/DraggableSideNav/DraggableSideNav.d.mts +1 -2
- package/es/DraggableSideNav/type.d.mts +1 -2
- package/es/Drawer/Drawer.d.mts +1 -2
- package/es/Drawer/atoms.d.mts +1 -2
- package/es/Drawer/constants.d.mts +1 -2
- package/es/Drawer/type.d.mts +1 -2
- package/es/DropdownMenu/DropdownMenu.d.mts +1 -2
- package/es/DropdownMenu/atoms.d.mts +1 -2
- package/es/DropdownMenu/renderItems.d.mts +1 -2
- package/es/DropdownMenu/style.d.mts +1 -2
- package/es/DropdownMenu/type.d.mts +1 -2
- package/es/EditableText/ControlInput.d.mts +1 -2
- package/es/EditableText/EditableText.d.mts +1 -2
- package/es/EditableText/EditableText.mjs.map +1 -1
- package/es/EditableText/type.d.mts +1 -2
- package/es/EditorSlashMenu/EditorSlashMenu.d.mts +1 -2
- package/es/EditorSlashMenu/EditorSlashMenu.mjs.map +1 -1
- package/es/EditorSlashMenu/atoms.d.mts +1 -2
- package/es/EditorSlashMenu/type.d.mts +1 -2
- package/es/EmojiPicker/EmojiPicker.d.mts +1 -2
- package/es/EmojiPicker/type.d.mts +1 -2
- package/es/Empty/Empty.d.mts +1 -2
- package/es/Empty/Empty.mjs.map +1 -1
- package/es/Empty/type.d.mts +1 -2
- package/es/FileTypeIcon/FileTypeIcon.d.mts +1 -2
- package/es/FileTypeIcon/type.d.mts +1 -2
- package/es/Flex/Center.d.mts +1 -2
- package/es/Flex/FlexBasic.d.mts +1 -2
- package/es/Flex/type.d.mts +1 -2
- package/es/FloatingPanel/FloatingPanel.d.mts +1 -2
- package/es/FloatingPanel/type.d.mts +1 -2
- package/es/FloatingSheet/FloatingSheet.d.mts +1 -2
- package/es/FloatingSheet/type.d.mts +1 -2
- package/es/FluentEmoji/FluentEmoji.d.mts +1 -2
- package/es/FluentEmoji/type.d.mts +1 -2
- package/es/FluentEmoji/utils.d.mts +1 -2
- package/es/FocusScope/FocusScope.d.mts +1 -2
- package/es/FocusScope/store.d.mts +1 -2
- package/es/FocusScope/style.d.mts +1 -2
- package/es/FocusScope/useScopeArrowNav.d.mts +1 -2
- package/es/FocusScope/useScopeSwitcher.d.mts +1 -2
- package/es/FontLoader/index.d.mts +1 -2
- package/es/FontLoader/index.mjs +2 -2
- package/es/FontLoader/index.mjs.map +1 -1
- package/es/Form/Form.mjs +5 -5
- package/es/Form/Form.mjs.map +1 -1
- package/es/Form/components/FormDivider.d.mts +1 -2
- package/es/Form/components/FormField.d.mts +1 -2
- package/es/Form/components/FormFlatGroup.d.mts +1 -2
- package/es/Form/components/FormFooter.d.mts +1 -2
- package/es/Form/components/FormGroup.d.mts +1 -2
- package/es/Form/components/FormSubmitFooter.d.mts +1 -2
- package/es/Form/components/FormTitle.d.mts +1 -2
- package/es/Form/context.d.mts +1 -2
- package/es/Form/index.d.mts +1 -2
- package/es/Form/type.d.mts +1 -2
- package/es/FormKit/Field.d.mts +1 -2
- package/es/FormKit/List.d.mts +1 -2
- package/es/FormKit/SubmitFooter.d.mts +1 -2
- package/es/FormKit/context.d.mts +1 -2
- package/es/FormKit/engine/tanstack.mjs.map +1 -1
- package/es/FormKit/engine/types.d.mts +1 -2
- package/es/FormKit/index.d.mts +1 -2
- package/es/FormKit/schema.d.mts +1 -2
- package/es/FormKit/type.d.mts +1 -2
- package/es/FormKit/useForm.d.mts +1 -2
- package/es/FormKit/useWatch.d.mts +1 -2
- package/es/Freeze/Freeze.d.mts +1 -2
- package/es/Freeze/type.d.mts +1 -2
- package/es/GlobalFocusRing/index.d.mts +1 -2
- package/es/Grid/Grid.d.mts +1 -2
- package/es/Grid/type.d.mts +1 -2
- package/es/GroupAvatar/GroupAvatar.d.mts +1 -2
- package/es/GroupAvatar/type.d.mts +1 -2
- package/es/GuideCard/GuideCard.d.mts +1 -2
- package/es/GuideCard/type.d.mts +1 -2
- package/es/Header/Header.d.mts +1 -2
- package/es/Header/type.d.mts +1 -2
- package/es/Highlighter/Highlighter.d.mts +1 -2
- package/es/Highlighter/SyntaxHighlighter/index.d.mts +1 -2
- package/es/Highlighter/const.d.mts +1 -2
- package/es/Highlighter/theme/lobe-highlights-theme.d.mts +1 -2
- package/es/Highlighter/theme/lobe-theme.d.mts +1 -2
- package/es/Highlighter/type.d.mts +1 -2
- package/es/Hotkey/Hotkey.d.mts +1 -2
- package/es/Hotkey/const.d.mts +1 -2
- package/es/Hotkey/type.d.mts +1 -2
- package/es/Hotkey/utils.d.mts +1 -2
- package/es/HotkeyInput/HotkeyInput.d.mts +1 -2
- package/es/HotkeyInput/type.d.mts +1 -2
- package/es/HtmlPreview/HtmlPreview.d.mts +1 -2
- package/es/HtmlPreview/HtmlPreview.mjs.map +1 -1
- package/es/HtmlPreview/Iframe.d.mts +1 -2
- package/es/HtmlPreview/Iframe.mjs.map +1 -1
- package/es/HtmlPreview/const.d.mts +1 -2
- package/es/HtmlPreview/injectAutoHeightScript.d.mts +1 -2
- package/es/HtmlPreview/type.d.mts +1 -2
- package/es/Icon/Icon.d.mts +1 -2
- package/es/Icon/components/IconProvider.d.mts +1 -2
- package/es/Icon/type.d.mts +1 -2
- package/es/Image/PreviewGroup.d.mts +1 -2
- package/es/Image/index.d.mts +1 -2
- package/es/Image/type.d.mts +1 -2
- package/es/Image/useImagePreview.d.mts +1 -2
- package/es/Image/viewer/geometry.d.mts +1 -2
- package/es/Image/viewer/registry.d.mts +1 -1
- package/es/ImageSelect/ImageSelect.d.mts +1 -2
- package/es/ImageSelect/type.d.mts +1 -2
- package/es/Input/Input.d.mts +1 -2
- package/es/Input/Input.mjs +5 -5
- package/es/Input/Input.mjs.map +1 -1
- package/es/Input/InputNumber.d.mts +1 -2
- package/es/Input/InputOTP.d.mts +1 -2
- package/es/Input/InputPassword.d.mts +1 -2
- package/es/Input/TextArea.d.mts +1 -2
- package/es/Input/style.d.mts +1 -2
- package/es/Input/type.d.mts +1 -2
- package/es/Layout/components/LayoutFooter.d.mts +1 -2
- package/es/Layout/components/LayoutHeader.d.mts +1 -2
- package/es/Layout/components/LayoutMain.d.mts +1 -2
- package/es/Layout/components/LayoutSidebar.d.mts +1 -2
- package/es/Layout/components/LayoutSidebarInner.d.mts +1 -2
- package/es/Layout/components/LayoutToc.d.mts +1 -2
- package/es/Layout/index.d.mts +1 -2
- package/es/Layout/type.d.mts +1 -2
- package/es/List/List.d.mts +1 -2
- package/es/List/ListRow.d.mts +1 -1
- package/es/List/type.d.mts +1 -2
- package/es/Markdown/Markdown.d.mts +1 -2
- package/es/Markdown/Typography.d.mts +1 -2
- package/es/Markdown/components/SearchResultCards/index.d.mts +1 -2
- package/es/Markdown/plugins/rehypeCustomFootnotes.d.mts +1 -2
- package/es/Markdown/plugins/rehypeKatexDir.d.mts +1 -2
- package/es/Markdown/plugins/remarkBr.d.mts +1 -2
- package/es/Markdown/plugins/remarkColor.d.mts +1 -2
- package/es/Markdown/plugins/remarkCustomFootnotes.d.mts +1 -2
- package/es/Markdown/plugins/remarkGfmPlus.d.mts +1 -2
- package/es/Markdown/plugins/remarkVideo.d.mts +1 -2
- package/es/Markdown/type.d.mts +1 -2
- package/es/MaskShadow/MaskShadow.d.mts +1 -2
- package/es/MaskShadow/type.d.mts +1 -2
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.d.mts +1 -2
- package/es/MaterialFileTypeIcon/icon-map.json.d.mts +1 -2
- package/es/MaterialFileTypeIcon/{icon-map.mjs → icon-map.json.mjs} +1 -1
- package/es/MaterialFileTypeIcon/icon-map.json.mjs.map +1 -0
- package/es/MaterialFileTypeIcon/type.d.mts +1 -2
- package/es/MaterialFileTypeIcon/utils.mjs +1 -1
- package/es/Mermaid/Mermaid.d.mts +1 -2
- package/es/Mermaid/SyntaxMermaid/index.d.mts +1 -2
- package/es/Mermaid/const.d.mts +1 -2
- package/es/Mermaid/index.d.mts +1 -2
- package/es/Mermaid/themes.d.mts +2 -3
- package/es/Mermaid/type.d.mts +1 -2
- package/es/Meta/Meta.d.mts +1 -2
- package/es/Modal/Modal.d.mts +1 -2
- package/es/Modal/atoms.d.mts +1 -2
- package/es/Modal/constants.d.mts +1 -2
- package/es/Modal/context.d.mts +1 -2
- package/es/Modal/imperative.d.mts +1 -2
- package/es/Modal/type.d.mts +1 -2
- package/es/MotionProvider/index.d.mts +1 -2
- package/es/Pagination/Pagination.d.mts +1 -2
- package/es/Pagination/type.d.mts +1 -2
- package/es/Popover/ArrowIcon.d.mts +1 -2
- package/es/Popover/Popover.d.mts +1 -2
- package/es/Popover/PopoverGroup.d.mts +1 -2
- package/es/Popover/PopoverPortal.d.mts +1 -2
- package/es/Popover/atoms.d.mts +1 -2
- package/es/Popover/context.d.mts +1 -2
- package/es/Popover/groupContext.d.mts +1 -2
- package/es/Popover/type.d.mts +10 -12
- package/es/ProTable/ProTable.d.mts +1 -2
- package/es/ProTable/ProTable.mjs.map +1 -1
- package/es/ProTable/hooks/useFetchData.mjs.map +1 -1
- package/es/ProTable/hooks/useFullscreen.mjs.map +1 -1
- package/es/ProTable/hooks/useProRequest.mjs.map +1 -1
- package/es/ProTable/locale.d.mts +1 -2
- package/es/ProTable/parts/LightFilter.mjs.map +1 -1
- package/es/ProTable/parts/renderValue.mjs.map +1 -1
- package/es/ProTable/type.d.mts +1 -2
- package/es/Progress/Progress.d.mts +1 -2
- package/es/Progress/type.d.mts +1 -2
- package/es/ProgressiveBlur/ProgressiveBlur.d.mts +1 -2
- package/es/ProgressiveBlur/type.d.mts +1 -2
- package/es/QRCode/QRCode.d.mts +1 -2
- package/es/QRCode/type.d.mts +1 -2
- package/es/Radio/Radio.d.mts +1 -2
- package/es/Radio/Radio.mjs +6 -6
- package/es/Radio/Radio.mjs.map +1 -1
- package/es/Radio/RadioGroup.d.mts +1 -2
- package/es/Radio/RadioGroup.mjs +5 -5
- package/es/Radio/RadioGroup.mjs.map +1 -1
- package/es/Radio/style.d.mts +1 -2
- package/es/Radio/type.d.mts +1 -2
- package/es/Rate/Rate.d.mts +1 -2
- package/es/Rate/type.d.mts +1 -2
- package/es/Result/Result.d.mts +1 -2
- package/es/Result/type.d.mts +1 -2
- package/es/ScrollArea/ScrollArea.d.mts +1 -2
- package/es/ScrollArea/atoms.d.mts +1 -2
- package/es/ScrollArea/type.d.mts +1 -2
- package/es/ScrollShadow/ScrollShadow.d.mts +1 -2
- package/es/ScrollShadow/type.d.mts +1 -2
- package/es/SearchBar/SearchBar.d.mts +1 -2
- package/es/SearchBar/type.d.mts +1 -2
- package/es/Segmented/Segmented.d.mts +1 -2
- package/es/Segmented/Segmented.mjs.map +1 -1
- package/es/Segmented/atoms.d.mts +1 -2
- package/es/Segmented/type.d.mts +3 -4
- package/es/Select/Select.d.mts +1 -2
- package/es/Select/Select.mjs +9 -9
- package/es/Select/Select.mjs.map +1 -1
- package/es/Select/atoms.d.mts +1 -2
- package/es/Select/hooks.mjs.map +1 -1
- package/es/Select/type.d.mts +1 -2
- package/es/SideNav/SideNav.d.mts +1 -2
- package/es/SideNav/type.d.mts +1 -2
- package/es/Skeleton/SkeletonAvatar.d.mts +1 -2
- package/es/Skeleton/SkeletonText.d.mts +1 -2
- package/es/Skeleton/index.d.mts +1 -2
- package/es/Skeleton/type.d.mts +1 -2
- package/es/Slider/Slider.d.mts +1 -2
- package/es/Slider/Slider.mjs +7 -7
- package/es/Slider/Slider.mjs.map +1 -1
- package/es/Slider/SliderWithInput.d.mts +1 -2
- package/es/Slider/style.d.mts +1 -2
- package/es/Slider/type.d.mts +1 -2
- package/es/Snippet/Snippet.d.mts +1 -2
- package/es/Snippet/type.d.mts +1 -2
- package/es/SortableList/SortableList.d.mts +1 -2
- package/es/SortableList/components/DragHandle.d.mts +1 -2
- package/es/SortableList/components/SortableItem.d.mts +1 -2
- package/es/SortableList/type.d.mts +1 -2
- package/es/Spin/Spin.d.mts +1 -2
- package/es/Spin/type.d.mts +1 -2
- package/es/Statistic/Statistic.d.mts +1 -2
- package/es/Statistic/formatValue.d.mts +1 -2
- package/es/Statistic/type.d.mts +1 -2
- package/es/Steps/Steps.d.mts +1 -2
- package/es/Steps/type.d.mts +1 -2
- package/es/Switch/Switch.d.mts +1 -2
- package/es/Switch/atoms.d.mts +1 -2
- package/es/Switch/style.d.mts +1 -2
- package/es/Switch/type.d.mts +1 -2
- package/es/Table/Column.d.mts +1 -2
- package/es/Table/ColumnGroup.d.mts +1 -2
- package/es/Table/Table.d.mts +1 -2
- package/es/Table/atoms/cells.d.mts +1 -2
- package/es/Table/atoms/layout.d.mts +1 -2
- package/es/Table/engine/types.d.mts +1 -1
- package/es/Table/internal.d.mts +1 -1
- package/es/Table/pipeline/columnUtils.d.mts +1 -2
- package/es/Table/pipeline/selectionUtils.d.mts +2 -3
- package/es/Table/render/SelectionCells.mjs.map +1 -1
- package/es/Table/render/Summary.d.mts +2 -3
- package/es/Table/store/createTableStore.d.mts +1 -1
- package/es/Table/type.d.mts +1 -2
- package/es/Tabs/Tabs.d.mts +1 -2
- package/es/Tabs/atoms.d.mts +1 -2
- package/es/Tabs/style.d.mts +1 -2
- package/es/Tabs/type.d.mts +1 -2
- package/es/Tag/Tag.d.mts +1 -2
- package/es/Tag/type.d.mts +1 -2
- package/es/Tag/utils.d.mts +1 -2
- package/es/Text/Text.d.mts +1 -2
- package/es/Text/Text.mjs.map +1 -1
- package/es/Text/style.d.mts +1 -2
- package/es/Text/type.d.mts +1 -2
- package/es/Toast/imperative.d.mts +1 -2
- package/es/Toast/type.d.mts +1 -2
- package/es/Toc/Toc.d.mts +1 -2
- package/es/Toc/Toc.mjs +1 -1
- package/es/Toc/toFlatTocItems.d.mts +1 -2
- package/es/Toc/tocPath.d.mts +1 -2
- package/es/Toc/type.d.mts +1 -2
- package/es/ToggleGroup/ToggleGroup.d.mts +1 -2
- package/es/ToggleGroup/atoms.d.mts +1 -2
- package/es/ToggleGroup/style.d.mts +1 -2
- package/es/ToggleGroup/type.d.mts +1 -2
- package/es/Tooltip/Tooltip.d.mts +1 -2
- package/es/Tooltip/TooltipGroup.d.mts +1 -2
- package/es/Tooltip/type.d.mts +8 -10
- package/es/Tree/Tree.d.mts +1 -2
- package/es/Tree/style.d.mts +1 -2
- package/es/Tree/type.d.mts +1 -2
- package/es/Tree/utils.d.mts +1 -2
- package/es/Upload/Upload.d.mts +1 -2
- package/es/Upload/Upload.mjs +5 -5
- package/es/Upload/Upload.mjs.map +1 -1
- package/es/Upload/UploadDragger.d.mts +1 -2
- package/es/Upload/type.d.mts +1 -2
- package/es/Video/index.d.mts +1 -2
- package/es/Video/parts/Caption.d.mts +1 -2
- package/es/Video/parts/CenterPlay.d.mts +1 -2
- package/es/Video/parts/CenterPlay.mjs.map +1 -1
- package/es/Video/parts/Controls.d.mts +1 -2
- package/es/Video/parts/Frame.d.mts +1 -2
- package/es/Video/parts/LoadError.d.mts +1 -2
- package/es/Video/parts/Root.d.mts +1 -2
- package/es/Video/parts/SectionList.d.mts +1 -2
- package/es/Video/parts/Timeline.d.mts +1 -2
- package/es/Video/store.mjs.map +1 -1
- package/es/Video/type.d.mts +1 -2
- package/es/Video/useVideo.d.mts +1 -2
- package/es/_virtual/_rolldown/runtime.mjs +4 -4
- package/es/awesome/AgentSkillCard/AgentSkillCard.d.mts +1 -2
- package/es/awesome/AgentSkillCard/AgentSkillCard.mjs +2 -2
- package/es/awesome/AgentSkillCard/AgentSkillCard.mjs.map +1 -1
- package/es/awesome/AgentSkillCard/agents.d.mts +1 -2
- package/es/awesome/AgentSkillCard/type.d.mts +2 -3
- package/es/awesome/AuroraBackground/AuroraBackground.d.mts +1 -2
- package/es/awesome/AuroraBackground/type.d.mts +1 -2
- package/es/awesome/BentoGrid/BentoCard.d.mts +1 -2
- package/es/awesome/BentoGrid/BentoGrid.d.mts +1 -2
- package/es/awesome/BentoGrid/type.d.mts +1 -2
- package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +1 -2
- package/es/awesome/BottomGradientButton/type.d.mts +1 -2
- package/es/awesome/CodeShowcase/CodeShowcase.d.mts +1 -2
- package/es/awesome/CodeShowcase/type.d.mts +1 -2
- package/es/awesome/FeatureGrid/FeatureGrid.d.mts +1 -2
- package/es/awesome/FeatureGrid/type.d.mts +1 -2
- package/es/awesome/Features/Features.d.mts +1 -2
- package/es/awesome/Features/type.d.mts +1 -2
- package/es/awesome/FluidGradient/FluidGradient.d.mts +1 -2
- package/es/awesome/FluidGradient/type.d.mts +1 -2
- package/es/awesome/Giscus/Giscus.d.mts +1 -2
- package/es/awesome/Giscus/type.d.mts +1 -2
- package/es/awesome/GradientButton/GradientButton.d.mts +1 -2
- package/es/awesome/GradientButton/type.d.mts +1 -2
- package/es/awesome/Grainient/Grainient.d.mts +1 -2
- package/es/awesome/Grainient/type.d.mts +1 -2
- package/es/awesome/GridBackground/GridBackground.d.mts +1 -2
- package/es/awesome/GridBackground/GridShowcase.d.mts +1 -2
- package/es/awesome/GridBackground/type.d.mts +1 -2
- package/es/awesome/Hero/Hero.d.mts +1 -2
- package/es/awesome/Hero/type.d.mts +1 -2
- package/es/awesome/InstallBanner/InstallBanner.d.mts +1 -2
- package/es/awesome/InstallBanner/type.d.mts +1 -2
- package/es/awesome/LandingHero/LandingHero.d.mts +1 -2
- package/es/awesome/LandingHero/type.d.mts +1 -2
- package/es/awesome/LandingSection/LandingSection.d.mts +1 -2
- package/es/awesome/LandingSection/type.d.mts +1 -2
- package/es/awesome/LogoMarquee/LogoMarquee.d.mts +1 -2
- package/es/awesome/LogoMarquee/type.d.mts +1 -2
- package/es/awesome/Spotlight/Spotlight.d.mts +1 -2
- package/es/awesome/Spotlight/type.d.mts +1 -2
- package/es/awesome/SpotlightCard/SpotlightCard.d.mts +1 -2
- package/es/awesome/SpotlightCard/SpotlightCard.mjs.map +1 -1
- package/es/awesome/SpotlightCard/type.d.mts +1 -2
- package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +1 -2
- package/es/awesome/TypewriterEffect/type.d.mts +1 -2
- package/es/awesome/landingActions.d.mts +1 -2
- package/es/awesome/landingLink.d.mts +1 -2
- package/es/awesome/landingTokens.d.mts +1 -2
- package/es/brand/BrandLoading/index.d.mts +1 -2
- package/es/brand/LobeChat/index.d.mts +1 -2
- package/es/brand/LobeChatText/index.d.mts +1 -2
- package/es/brand/LobeHub/index.d.mts +1 -2
- package/es/brand/LobeHubText/index.d.mts +1 -2
- package/es/brand/Logo3d/index.d.mts +1 -2
- package/es/brand/LogoFlat/index.d.mts +1 -2
- package/es/chat/BackBottom/BackBottom.d.mts +1 -2
- package/es/chat/BackBottom/BackBottom.mjs.map +1 -1
- package/es/chat/BackBottom/type.d.mts +1 -2
- package/es/chat/ChatHeader/ChatHeaderTitle.d.mts +1 -2
- package/es/chat/ChatHeader/index.d.mts +1 -2
- package/es/chat/ChatHeader/type.d.mts +1 -2
- package/es/chat/ChatInputArea/components/ChatInputActionBar.d.mts +1 -2
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +1 -2
- package/es/chat/ChatInputArea/components/ChatSendButton.d.mts +1 -2
- package/es/chat/ChatInputArea/index.d.mts +1 -2
- package/es/chat/ChatInputArea/type.d.mts +1 -2
- package/es/chat/ChatItem/ChatItem.d.mts +1 -2
- package/es/chat/ChatItem/type.d.mts +1 -2
- package/es/chat/ChatList/ChatList.d.mts +1 -2
- package/es/chat/ChatList/components/ChatActionsBar.d.mts +1 -2
- package/es/chat/ChatList/type.d.mts +1 -2
- package/es/chat/EditableMessage/EditableMessage.d.mts +1 -2
- package/es/chat/EditableMessage/type.d.mts +1 -2
- package/es/chat/EditableMessageList/EditableMessageList.d.mts +1 -2
- package/es/chat/EditableMessageList/type.d.mts +1 -2
- package/es/chat/LoadingDots/LoadingDots.d.mts +1 -2
- package/es/chat/LoadingDots/type.d.mts +1 -2
- package/es/chat/MessageInput/MessageInput.d.mts +1 -2
- package/es/chat/MessageInput/type.d.mts +1 -2
- package/es/chat/MessageModal/MessageModal.d.mts +1 -2
- package/es/chat/MessageModal/type.d.mts +1 -2
- package/es/chat/TokenTag/TokenTag.d.mts +1 -2
- package/es/chat/TokenTag/type.d.mts +1 -2
- package/es/chat/types/chatMessage.d.mts +1 -2
- package/es/chat/types/error.d.mts +1 -2
- package/es/chat/types/llm.d.mts +1 -2
- package/es/chat/types/meta.d.mts +1 -2
- package/es/color/ColorScales/index.d.mts +1 -2
- package/es/color/CssVar/index.d.mts +1 -2
- package/es/color/colors/blue.d.mts +1 -2
- package/es/color/colors/cyan.d.mts +1 -2
- package/es/color/colors/geekblue.d.mts +1 -2
- package/es/color/colors/gold.d.mts +1 -2
- package/es/color/colors/gray.d.mts +1 -2
- package/es/color/colors/green.d.mts +1 -2
- package/es/color/colors/index.d.mts +1 -2
- package/es/color/colors/index.mjs.map +1 -1
- package/es/color/colors/lime.d.mts +1 -2
- package/es/color/colors/magenta.d.mts +1 -2
- package/es/color/colors/orange.d.mts +1 -2
- package/es/color/colors/primary.d.mts +1 -2
- package/es/color/colors/purple.d.mts +1 -2
- package/es/color/colors/red.d.mts +1 -2
- package/es/color/colors/volcano.d.mts +1 -2
- package/es/color/colors/yellow.d.mts +1 -2
- package/es/color/neutrals/index.d.mts +1 -2
- package/es/color/neutrals/mauve.d.mts +1 -2
- package/es/color/neutrals/olive.d.mts +1 -2
- package/es/color/neutrals/sage.d.mts +1 -2
- package/es/color/neutrals/sand.d.mts +1 -2
- package/es/color/neutrals/slate.d.mts +1 -2
- package/es/color/status/index.d.mts +1 -2
- package/es/color/types.d.mts +1 -2
- package/es/dashboard/AuthLayout/Aside.d.mts +1 -2
- package/es/dashboard/AuthLayout/AuthLayout.d.mts +1 -2
- package/es/dashboard/AuthLayout/type.d.mts +1 -2
- package/es/dashboard/AuthTools/AuthLocaleSwitch.d.mts +1 -2
- package/es/dashboard/AuthTools/AuthThemeSwitch.d.mts +1 -2
- package/es/dashboard/AuthTools/type.d.mts +1 -2
- package/es/dashboard/Breadcrumb/Breadcrumb.d.mts +1 -2
- package/es/dashboard/Breadcrumb/type.d.mts +1 -2
- package/es/dashboard/ChartGrid/ChartGrid.d.mts +1 -2
- package/es/dashboard/ChartGrid/type.d.mts +1 -2
- package/es/dashboard/ConsoleNav/ConsoleNav.d.mts +1 -2
- package/es/dashboard/ConsoleNav/Skeleton.d.mts +1 -2
- package/es/dashboard/ConsoleNav/active.d.mts +1 -2
- package/es/dashboard/ConsoleNav/type.d.mts +1 -2
- package/es/dashboard/ConsoleShell/ConsoleBrand.d.mts +1 -2
- package/es/dashboard/ConsoleShell/ConsoleShell.d.mts +1 -2
- package/es/dashboard/ConsoleShell/context.d.mts +1 -2
- package/es/dashboard/ConsoleShell/type.d.mts +1 -2
- package/es/dashboard/FilterSidebar/FilterSidebar.d.mts +1 -2
- package/es/dashboard/FilterSidebar/context.d.mts +2 -3
- package/es/dashboard/FilterSidebar/type.d.mts +1 -2
- package/es/dashboard/FilterStrip/FilterStrip.d.mts +1 -2
- package/es/dashboard/FilterStrip/type.d.mts +1 -2
- package/es/dashboard/LabelWithKey/LabelWithKey.d.mts +1 -2
- package/es/dashboard/LabelWithKey/type.d.mts +1 -2
- package/es/dashboard/MetricStrip/MetricStrip.d.mts +1 -2
- package/es/dashboard/MetricStrip/type.d.mts +1 -2
- package/es/dashboard/PageHeader/PageHeader.d.mts +1 -2
- package/es/dashboard/PageHeader/type.d.mts +1 -2
- package/es/dashboard/PageSkeleton/PageSkeleton.d.mts +1 -2
- package/es/dashboard/PageSkeleton/type.d.mts +1 -2
- package/es/dashboard/PageTabs/PageTabs.d.mts +1 -2
- package/es/dashboard/PageTabs/type.d.mts +1 -2
- package/es/dashboard/PageToolbar/PageToolbar.d.mts +1 -2
- package/es/dashboard/PageToolbar/type.d.mts +1 -2
- package/es/dashboard/PanelSurface/PanelSurface.d.mts +1 -2
- package/es/dashboard/PanelSurface/type.d.mts +1 -2
- package/es/dashboard/RouteProgress/RouteProgress.d.mts +1 -2
- package/es/dashboard/RouteProgress/type.d.mts +1 -2
- package/es/dashboard/Section/Section.d.mts +1 -2
- package/es/dashboard/Section/type.d.mts +1 -2
- package/es/dashboard/StatCard/StatCard.d.mts +1 -2
- package/es/dashboard/StatCard/type.d.mts +1 -2
- package/es/dashboard/Surface/Surface.d.mts +1 -2
- package/es/dashboard/Surface/link.d.mts +1 -2
- package/es/dashboard/Surface/style.d.mts +1 -2
- package/es/dashboard/Surface/type.d.mts +1 -2
- package/es/dashboard/TableIconActions/TableIconActions.d.mts +1 -2
- package/es/dashboard/TableIconActions/type.d.mts +1 -2
- package/es/dashboard/TitleWithTips/TitleWithTips.d.mts +1 -2
- package/es/dashboard/TitleWithTips/type.d.mts +1 -2
- package/es/eslint/index.d.mts +1 -2
- package/es/hooks/useMarkdown/utils.d.mts +1 -2
- package/es/hooks/useScroll.d.mts +1 -2
- package/es/i18n/context.d.mts +1 -2
- package/es/i18n/resources/en/burger.d.mts +1 -2
- package/es/i18n/resources/en/chat.d.mts +1 -2
- package/es/i18n/resources/en/colorPicker.d.mts +1 -2
- package/es/i18n/resources/en/common.d.mts +1 -2
- package/es/i18n/resources/en/datePicker.d.mts +1 -2
- package/es/i18n/resources/en/editableMessage.d.mts +1 -2
- package/es/i18n/resources/en/emojiPicker.d.mts +1 -2
- package/es/i18n/resources/en/form.d.mts +1 -2
- package/es/i18n/resources/en/hotkey.d.mts +1 -2
- package/es/i18n/resources/en/image.d.mts +1 -2
- package/es/i18n/resources/en/index.d.mts +1 -2
- package/es/i18n/resources/en/messageModal.d.mts +1 -2
- package/es/i18n/resources/en/qrCode.d.mts +1 -2
- package/es/i18n/resources/en/sideNav.d.mts +1 -2
- package/es/i18n/resources/en/table.d.mts +1 -2
- package/es/i18n/resources/en/toc.d.mts +1 -2
- package/es/i18n/resources/en/video.d.mts +1 -2
- package/es/i18n/resources/zhCn/burger.d.mts +1 -2
- package/es/i18n/resources/zhCn/chat.d.mts +1 -2
- package/es/i18n/resources/zhCn/colorPicker.d.mts +1 -2
- package/es/i18n/resources/zhCn/common.d.mts +1 -2
- package/es/i18n/resources/zhCn/datePicker.d.mts +1 -2
- package/es/i18n/resources/zhCn/editableMessage.d.mts +1 -2
- package/es/i18n/resources/zhCn/emojiPicker.d.mts +1 -2
- package/es/i18n/resources/zhCn/form.d.mts +1 -2
- package/es/i18n/resources/zhCn/hotkey.d.mts +1 -2
- package/es/i18n/resources/zhCn/image.d.mts +1 -2
- package/es/i18n/resources/zhCn/index.d.mts +1 -2
- package/es/i18n/resources/zhCn/messageModal.d.mts +1 -2
- package/es/i18n/resources/zhCn/qrCode.d.mts +1 -2
- package/es/i18n/resources/zhCn/sideNav.d.mts +1 -2
- package/es/i18n/resources/zhCn/table.d.mts +1 -2
- package/es/i18n/resources/zhCn/toc.d.mts +1 -2
- package/es/i18n/resources/zhCn/video.d.mts +1 -2
- package/es/i18n/types.d.mts +1 -2
- package/es/i18n/useTranslation.d.mts +1 -2
- package/es/icons/Auth0/components/Avatar.d.mts +1 -2
- package/es/icons/Auth0/components/Mono.d.mts +1 -2
- package/es/icons/Auth0/index.d.mts +1 -2
- package/es/icons/Authelia/components/Avatar.d.mts +1 -2
- package/es/icons/Authelia/components/Color.d.mts +1 -2
- package/es/icons/Authelia/components/Mono.d.mts +1 -2
- package/es/icons/Authelia/index.d.mts +1 -2
- package/es/icons/Authentik/components/Avatar.d.mts +1 -2
- package/es/icons/Authentik/components/Color.d.mts +1 -2
- package/es/icons/Authentik/components/Mono.d.mts +1 -2
- package/es/icons/Authentik/index.d.mts +1 -2
- package/es/icons/Casdoor/components/Avatar.d.mts +1 -2
- package/es/icons/Casdoor/components/Color.d.mts +1 -2
- package/es/icons/Casdoor/components/Mono.d.mts +1 -2
- package/es/icons/Casdoor/index.d.mts +1 -2
- package/es/icons/Clerk/components/Avatar.d.mts +1 -2
- package/es/icons/Clerk/components/Color.d.mts +1 -2
- package/es/icons/Clerk/components/Mono.d.mts +1 -2
- package/es/icons/Clerk/index.d.mts +1 -2
- package/es/icons/DingTalk/components/Avatar.d.mts +1 -2
- package/es/icons/DingTalk/components/Color.d.mts +1 -2
- package/es/icons/DingTalk/components/Mono.d.mts +1 -2
- package/es/icons/DingTalk/index.d.mts +1 -2
- package/es/icons/Discord/components/Avatar.d.mts +1 -2
- package/es/icons/Discord/components/Color.d.mts +1 -2
- package/es/icons/Discord/components/Mono.d.mts +1 -2
- package/es/icons/Discord/index.d.mts +1 -2
- package/es/icons/GoogleChat/components/Avatar.d.mts +1 -2
- package/es/icons/GoogleChat/components/Color.d.mts +1 -2
- package/es/icons/GoogleChat/components/Mono.d.mts +1 -2
- package/es/icons/GoogleChat/index.d.mts +1 -2
- package/es/icons/IMessage/components/Avatar.d.mts +1 -2
- package/es/icons/IMessage/components/Color.d.mts +1 -2
- package/es/icons/IMessage/components/Mono.d.mts +1 -2
- package/es/icons/IMessage/index.d.mts +1 -2
- package/es/icons/Lark/components/Avatar.d.mts +1 -2
- package/es/icons/Lark/components/Color.d.mts +1 -2
- package/es/icons/Lark/components/Mono.d.mts +1 -2
- package/es/icons/Lark/index.d.mts +1 -2
- package/es/icons/Line/components/Avatar.d.mts +1 -2
- package/es/icons/Line/components/Color.d.mts +1 -2
- package/es/icons/Line/components/Mono.d.mts +1 -2
- package/es/icons/Line/index.d.mts +1 -2
- package/es/icons/Logto/components/Avatar.d.mts +1 -2
- package/es/icons/Logto/components/Color.d.mts +1 -2
- package/es/icons/Logto/components/Mono.d.mts +1 -2
- package/es/icons/Logto/index.d.mts +1 -2
- package/es/icons/MicrosoftEntra/components/Avatar.d.mts +1 -2
- package/es/icons/MicrosoftEntra/components/Color.d.mts +1 -2
- package/es/icons/MicrosoftEntra/components/Mono.d.mts +1 -2
- package/es/icons/MicrosoftEntra/index.d.mts +1 -2
- package/es/icons/MicrosoftTeams/components/Avatar.d.mts +1 -2
- package/es/icons/MicrosoftTeams/components/Color.d.mts +1 -2
- package/es/icons/MicrosoftTeams/components/Mono.d.mts +1 -2
- package/es/icons/MicrosoftTeams/index.d.mts +1 -2
- package/es/icons/NextAuth/components/Avatar.d.mts +1 -2
- package/es/icons/NextAuth/components/Color.d.mts +1 -2
- package/es/icons/NextAuth/components/Mono.d.mts +1 -2
- package/es/icons/NextAuth/index.d.mts +1 -2
- package/es/icons/QQ/components/Avatar.d.mts +1 -2
- package/es/icons/QQ/components/Color.d.mts +1 -2
- package/es/icons/QQ/components/Mono.d.mts +1 -2
- package/es/icons/QQ/index.d.mts +1 -2
- package/es/icons/Slack/components/Avatar.d.mts +1 -2
- package/es/icons/Slack/components/Color.d.mts +1 -2
- package/es/icons/Slack/components/Mono.d.mts +1 -2
- package/es/icons/Slack/index.d.mts +1 -2
- package/es/icons/Telegram/components/Avatar.d.mts +1 -2
- package/es/icons/Telegram/components/Color.d.mts +1 -2
- package/es/icons/Telegram/components/Mono.d.mts +1 -2
- package/es/icons/Telegram/index.d.mts +1 -2
- package/es/icons/WeChat/components/Avatar.d.mts +1 -2
- package/es/icons/WeChat/components/Color.d.mts +1 -2
- package/es/icons/WeChat/components/Mono.d.mts +1 -2
- package/es/icons/WeChat/index.d.mts +1 -2
- package/es/icons/WhatsApp/components/Avatar.d.mts +1 -2
- package/es/icons/WhatsApp/components/Color.d.mts +1 -2
- package/es/icons/WhatsApp/components/Mono.d.mts +1 -2
- package/es/icons/WhatsApp/index.d.mts +1 -2
- package/es/icons/Zitadel/components/Avatar.d.mts +1 -2
- package/es/icons/Zitadel/components/Color.d.mts +1 -2
- package/es/icons/Zitadel/components/Mono.d.mts +1 -2
- package/es/icons/Zitadel/index.d.mts +1 -2
- package/es/icons/lucideExtra/AndroidIcon.d.mts +1 -2
- package/es/icons/lucideExtra/AppleIcon.d.mts +1 -2
- package/es/icons/lucideExtra/AppstoreIcon.d.mts +1 -2
- package/es/icons/lucideExtra/BotPromptIcon.d.mts +1 -2
- package/es/icons/lucideExtra/BrainOffIcon.d.mts +1 -2
- package/es/icons/lucideExtra/ChromeIcon.d.mts +1 -2
- package/es/icons/lucideExtra/CodepenIcon.d.mts +1 -2
- package/es/icons/lucideExtra/CodesandboxIcon.d.mts +1 -2
- package/es/icons/lucideExtra/CreateBotIcon.d.mts +1 -2
- package/es/icons/lucideExtra/DiscordIcon.d.mts +1 -2
- package/es/icons/lucideExtra/FacebookIcon.d.mts +1 -2
- package/es/icons/lucideExtra/FigmaIcon.d.mts +1 -2
- package/es/icons/lucideExtra/FramerIcon.d.mts +1 -2
- package/es/icons/lucideExtra/GithubIcon.d.mts +1 -2
- package/es/icons/lucideExtra/GitlabIcon.d.mts +1 -2
- package/es/icons/lucideExtra/GlobeOffIcon.d.mts +1 -2
- package/es/icons/lucideExtra/GooglePlayIcon.d.mts +1 -2
- package/es/icons/lucideExtra/GroupBotIcon.d.mts +1 -2
- package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +1 -2
- package/es/icons/lucideExtra/InstagramIcon.d.mts +1 -2
- package/es/icons/lucideExtra/LeftClickIcon.d.mts +1 -2
- package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +1 -2
- package/es/icons/lucideExtra/LinkedinIcon.d.mts +1 -2
- package/es/icons/lucideExtra/McpIcon.d.mts +1 -2
- package/es/icons/lucideExtra/NotionIcon.d.mts +1 -2
- package/es/icons/lucideExtra/PocketIcon.d.mts +1 -2
- package/es/icons/lucideExtra/ProviderIcon.d.mts +1 -2
- package/es/icons/lucideExtra/RailSymbolIcon.d.mts +1 -2
- package/es/icons/lucideExtra/RedditIcon.d.mts +1 -2
- package/es/icons/lucideExtra/RightClickIcon.d.mts +1 -2
- package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +1 -2
- package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +1 -2
- package/es/icons/lucideExtra/SkillsIcon.d.mts +1 -2
- package/es/icons/lucideExtra/SlackIcon.d.mts +1 -2
- package/es/icons/lucideExtra/ThinkIcon.d.mts +1 -2
- package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +1 -2
- package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +1 -2
- package/es/internal/controlSize.d.mts +1 -2
- package/es/internal/floating/collisionPadding.d.mts +1 -2
- package/es/internal/menu/baseItem.d.mts +1 -2
- package/es/internal/menu/checkboxItem.d.mts +1 -2
- package/es/internal/menu/itemInterface.d.mts +1 -2
- package/es/internal/menu/renderUtils.d.mts +1 -2
- package/es/internal/menu/switchItem.d.mts +1 -2
- package/es/internal/menu/type.d.mts +1 -2
- package/es/internal/virtual/MenuVirtualList.d.mts +1 -1
- package/es/internal/virtual/VirtualScrollArea.d.mts +1 -1
- package/es/internal/virtual/type.d.mts +1 -2
- package/es/internal/virtual/useMenuVirtualList.d.mts +1 -1
- package/es/mdx/Callout/index.d.mts +1 -2
- package/es/mdx/Cards/Card.d.mts +1 -2
- package/es/mdx/Cards/index.d.mts +1 -2
- package/es/mdx/FileTree/File.d.mts +1 -2
- package/es/mdx/FileTree/File.mjs +3 -3
- package/es/mdx/FileTree/File.mjs.map +1 -1
- package/es/mdx/FileTree/Folder.d.mts +1 -2
- package/es/mdx/FileTree/Folder.mjs +3 -3
- package/es/mdx/FileTree/Folder.mjs.map +1 -1
- package/es/mdx/FileTree/index.d.mts +1 -2
- package/es/mdx/Mdx/index.d.mts +1 -2
- package/es/mdx/Steps/index.d.mts +1 -2
- package/es/mdx/Tabs/Tab.d.mts +1 -2
- package/es/mdx/Tabs/index.d.mts +1 -2
- package/es/mdx/mdxComponents/CodeBlock.d.mts +1 -2
- package/es/mdx/mdxComponents/Image.d.mts +1 -2
- package/es/mdx/mdxComponents/Link.d.mts +1 -2
- package/es/mdx/mdxComponents/Pre.d.mts +1 -2
- package/es/mdx/mdxComponents/Video.d.mts +1 -2
- package/es/mdx/mdxComponents/index.d.mts +1 -2
- package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +1 -2
- package/es/mobile/ChatHeader/index.d.mts +1 -2
- package/es/mobile/ChatHeader/type.d.mts +1 -2
- package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +1 -2
- package/es/mobile/ChatInputArea/index.d.mts +1 -2
- package/es/mobile/ChatInputArea/type.d.mts +1 -2
- package/es/mobile/SafeArea/SafeArea.d.mts +1 -2
- package/es/mobile/SafeArea/type.d.mts +1 -2
- package/es/mobile/TabBar/TabBar.d.mts +1 -2
- package/es/mobile/TabBar/type.d.mts +1 -2
- package/es/node_modules/.pnpm/@eslint_core@1.2.1/node_modules/@eslint/core/dist/esm/types.d.mts +4 -2
- package/es/node_modules/.pnpm/@eslint_plugin-kit@0.7.3/node_modules/@eslint/plugin-kit/dist/cjs/index.d.mts +1 -2
- package/es/node_modules/.pnpm/@eslint_plugin-kit@0.7.3/node_modules/@eslint/plugin-kit/dist/cjs/types.d.mts +5 -2
- package/es/node_modules/.pnpm/@types_estree@1.0.10/node_modules/@types/estree/index.d.mts +1 -2
- package/es/node_modules/.pnpm/@types_json-schema@7.0.15/node_modules/@types/json-schema/index.d.mts +1 -2
- package/es/node_modules/.pnpm/@types_mdx@2.0.14/node_modules/@types/mdx/types.d.mts +1 -2
- package/es/node_modules/.pnpm/@types_unist@3.0.3/node_modules/@types/unist/index.d.mts +1 -2
- package/es/node_modules/.pnpm/eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2/node_modules/eslint/lib/types/index.d.mts +5 -2
- package/es/node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.mjs +2 -2
- package/es/spline/LogoThree/LogoSpline.d.mts +1 -2
- package/es/spline/LogoThree/index.d.mts +1 -2
- package/es/spline/Spline/Spine.d.mts +2 -3
- package/es/spline/Spline/Spine.mjs.map +1 -1
- package/es/spline/Spline/type.d.mts +1 -2
- package/es/storybook/StoryBook/index.d.mts +1 -2
- package/es/styles/classNames.d.mts +1 -2
- package/es/styles/createGlobalStyle.d.mts +1 -2
- package/es/styles/css.d.mts +1 -2
- package/es/styles/customTheme.d.mts +1 -2
- package/es/styles/stylex/props.d.mts +1 -1
- package/es/styles/theme/createLobeToken.d.mts +1 -2
- package/es/styles/theme/customNeutral.d.mts +1 -2
- package/es/styles/theme/customPalette.d.mts +1 -2
- package/es/styles/theme/customPrimary.d.mts +1 -2
- package/es/styles/theme/customStylishStatic.d.mts +1 -2
- package/es/styles/theme/generateColorPalette.d.mts +1 -2
- package/es/styles/theme/scope.d.mts +1 -2
- package/es/styles/theme/themeCss.d.mts +1 -2
- package/es/styles/theme/token/font.d.mts +1 -2
- package/es/styles/theme/token/neutralText.d.mts +1 -2
- package/es/types/citation.d.mts +1 -2
- package/es/types/customStylish.d.mts +1 -2
- package/es/types/customToken.d.mts +1 -2
- package/es/types/index.d.mts +1 -2
- package/es/types/trigger.d.mts +1 -2
- package/es/utils/copyToClipboard.d.mts +1 -2
- package/es/utils/dom.d.mts +1 -2
- package/es/utils/genCdnUrl.d.mts +1 -2
- package/es/utils/parseTrigger.d.mts +1 -2
- package/es/utils/placement.d.mts +1 -2
- package/es/utils/smoothCorners.d.mts +2 -3
- package/package.json +1 -1
- package/es/MaterialFileTypeIcon/icon-map.mjs.map +0 -1
package/es/Slider/Slider.mjs
CHANGED
|
@@ -7,22 +7,22 @@ import { styles } from "./style.mjs";
|
|
|
7
7
|
import clsx$1 from "clsx";
|
|
8
8
|
import { memo } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { Slider } from "@base-ui/react/slider";
|
|
10
|
+
import { Slider as Slider$1 } from "@base-ui/react/slider";
|
|
11
11
|
// src/Slider/Slider.tsx
|
|
12
|
-
const Slider
|
|
12
|
+
const Slider = memo(({ className, classNames, styles: customStyles, style, onChange, onChangeComplete, ...rest }) => /* @__PURE__ */ jsx(Slider$1.Root, {
|
|
13
13
|
onValueChange: (value) => onChange?.(value),
|
|
14
14
|
onValueCommitted: (value) => onChangeComplete?.(value),
|
|
15
15
|
...rest,
|
|
16
16
|
...styleProps([sliderMarker, styles.root], clsx$1(sliderClasses(), className), style),
|
|
17
|
-
children: /* @__PURE__ */ jsx(Slider.Control, {
|
|
17
|
+
children: /* @__PURE__ */ jsx(Slider$1.Control, {
|
|
18
18
|
...styleProps(styles.control, clsx$1(sliderClasses("control"), classNames?.control), customStyles?.control),
|
|
19
|
-
children: /* @__PURE__ */ jsxs(Slider.Track, {
|
|
19
|
+
children: /* @__PURE__ */ jsxs(Slider$1.Track, {
|
|
20
20
|
...styleProps(styles.track, clsx$1(sliderClasses("track"), classNames?.track), customStyles?.track),
|
|
21
|
-
children: [/* @__PURE__ */ jsx(Slider.Indicator, { ...styleProps(styles.indicator, clsx$1(sliderClasses("indicator"), classNames?.indicator), customStyles?.indicator) }), /* @__PURE__ */ jsx(Slider.Thumb, { ...styleProps([styles.thumb, focusRing.info], clsx$1(sliderClasses("thumb"), classNames?.thumb), customStyles?.thumb) })]
|
|
21
|
+
children: [/* @__PURE__ */ jsx(Slider$1.Indicator, { ...styleProps(styles.indicator, clsx$1(sliderClasses("indicator"), classNames?.indicator), customStyles?.indicator) }), /* @__PURE__ */ jsx(Slider$1.Thumb, { ...styleProps([styles.thumb, focusRing.info], clsx$1(sliderClasses("thumb"), classNames?.thumb), customStyles?.thumb) })]
|
|
22
22
|
})
|
|
23
23
|
})
|
|
24
24
|
}));
|
|
25
|
-
Slider
|
|
26
|
-
export { Slider
|
|
25
|
+
Slider.displayName = "Slider";
|
|
26
|
+
export { Slider as default };
|
|
27
27
|
|
|
28
28
|
//# sourceMappingURL=Slider.mjs.map
|
package/es/Slider/Slider.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.mjs","names":["
|
|
1
|
+
{"version":3,"file":"Slider.mjs","names":["BaseSlider","clsx"],"sources":["../../src/Slider/Slider.tsx"],"sourcesContent":["'use client';\n\nimport { Slider as BaseSlider } from '@base-ui/react/slider';\nimport clsx from 'clsx';\nimport { memo } from 'react';\n\nimport { focusRing } from '@/styles/stylex/focusRing';\nimport { styleProps } from '@/styles/stylex/props';\n\nimport { sliderMarker } from './marker.stylex';\nimport { sliderClasses } from './stable';\nimport { styles } from './style';\nimport type { SliderProps } from './type';\n\nconst Slider = memo<SliderProps>(\n ({ className, classNames, styles: customStyles, style, onChange, onChangeComplete, ...rest }) => (\n <BaseSlider.Root\n onValueChange={(value) => onChange?.(value as number)}\n onValueCommitted={(value) => onChangeComplete?.(value as number)}\n {...rest}\n {...styleProps([sliderMarker, styles.root], clsx(sliderClasses(), className), style)}\n >\n <BaseSlider.Control\n {...styleProps(\n styles.control,\n clsx(sliderClasses('control'), classNames?.control),\n customStyles?.control,\n )}\n >\n <BaseSlider.Track\n {...styleProps(\n styles.track,\n clsx(sliderClasses('track'), classNames?.track),\n customStyles?.track,\n )}\n >\n <BaseSlider.Indicator\n {...styleProps(\n styles.indicator,\n clsx(sliderClasses('indicator'), classNames?.indicator),\n customStyles?.indicator,\n )}\n />\n <BaseSlider.Thumb\n {...styleProps(\n [styles.thumb, focusRing.info],\n clsx(sliderClasses('thumb'), classNames?.thumb),\n customStyles?.thumb,\n )}\n />\n </BaseSlider.Track>\n </BaseSlider.Control>\n </BaseSlider.Root>\n ),\n);\n\nSlider.displayName = 'Slider';\n\nexport default Slider;\n"],"mappings":";;;;;;;;;;;AAcA,MAAM,SAAS,MACZ,EAAE,WAAW,YAAY,QAAQ,cAAc,OAAO,UAAU,kBAAkB,GAAG,WACpF,oBAACA,SAAW,MAAZ;CACE,gBAAgB,UAAU,WAAW,KAAe;CACpD,mBAAmB,UAAU,mBAAmB,KAAe;CAC/D,GAAI;CACJ,GAAI,WAAW,CAAC,cAAc,OAAO,IAAI,GAAGC,OAAK,cAAc,GAAG,SAAS,GAAG,KAAK;CAEnF,UAAA,oBAACD,SAAW,SAAZ;EACE,GAAI,WACF,OAAO,SACPC,OAAK,cAAc,SAAS,GAAG,YAAY,OAAO,GAClD,cAAc,OAChB;EAEA,UAAA,qBAACD,SAAW,OAAZ;GACE,GAAI,WACF,OAAO,OACPC,OAAK,cAAc,OAAO,GAAG,YAAY,KAAK,GAC9C,cAAc,KAChB;GALF,UAAA,CAOE,oBAACD,SAAW,WAAZ,EACE,GAAI,WACF,OAAO,WACPC,OAAK,cAAc,WAAW,GAAG,YAAY,SAAS,GACtD,cAAc,SAChB,EACD,CAAA,GACD,oBAACD,SAAW,OAAZ,EACE,GAAI,WACF,CAAC,OAAO,OAAO,UAAU,IAAI,GAC7BC,OAAK,cAAc,OAAO,GAAG,YAAY,KAAK,GAC9C,cAAc,KAChB,EACD,CAAA,CACe;;CACA,CAAA;AACL,CAAA,CAErB;AAEA,OAAO,cAAc"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { SliderWithInputProps } from "./type.mjs";
|
|
2
2
|
declare const SliderWithInput: import("react").NamedExoticComponent<SliderWithInputProps>;
|
|
3
|
-
export { SliderWithInput as default };
|
|
4
|
-
//# sourceMappingURL=SliderWithInput.d.mts.map
|
|
3
|
+
export { SliderWithInput as default };
|
package/es/Slider/style.d.mts
CHANGED
package/es/Slider/type.d.mts
CHANGED
package/es/Snippet/Snippet.d.mts
CHANGED
package/es/Snippet/type.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ActionIconProps } from "../../ActionIcon/type.mjs";
|
|
2
2
|
import "../../ActionIcon/index.mjs";
|
|
3
3
|
declare const DragHandle: import("react").NamedExoticComponent<ActionIconProps>;
|
|
4
|
-
export { DragHandle as default };
|
|
5
|
-
//# sourceMappingURL=DragHandle.d.mts.map
|
|
4
|
+
export { DragHandle as default };
|
|
@@ -6,5 +6,4 @@ export interface SortableItemProps extends Omit<FlexboxProps, 'id'> {
|
|
|
6
6
|
variant?: 'borderless' | 'filled' | 'outlined';
|
|
7
7
|
}
|
|
8
8
|
declare const SortableItem: import("react").NamedExoticComponent<SortableItemProps>;
|
|
9
|
-
export { SortableItem as default };
|
|
10
|
-
//# sourceMappingURL=SortableItem.d.mts.map
|
|
9
|
+
export { SortableItem as default };
|
package/es/Spin/Spin.d.mts
CHANGED
package/es/Spin/type.d.mts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export declare const formatStatisticValue: (value: number | string | undefined, precision?: number) => string;
|
|
2
|
-
//# sourceMappingURL=formatValue.d.mts.map
|
|
1
|
+
export declare const formatStatisticValue: (value: number | string | undefined, precision?: number) => string;
|
package/es/Statistic/type.d.mts
CHANGED
package/es/Steps/Steps.d.mts
CHANGED
package/es/Steps/type.d.mts
CHANGED
package/es/Switch/Switch.d.mts
CHANGED
package/es/Switch/atoms.d.mts
CHANGED
|
@@ -19,5 +19,4 @@ export declare const SwitchIcon: {
|
|
|
19
19
|
({ children, className, position, size: _size, style, ...rest }: SwitchIconProps): import("react").JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
|
-
export { switchStyles };
|
|
23
|
-
//# sourceMappingURL=atoms.d.mts.map
|
|
22
|
+
export { switchStyles };
|
package/es/Switch/style.d.mts
CHANGED
package/es/Switch/type.d.mts
CHANGED
package/es/Table/Column.d.mts
CHANGED
|
@@ -2,5 +2,4 @@ import { TableColumnType } from "./type.mjs";
|
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
export type TableColumnProps<T> = TableColumnType<T>;
|
|
4
4
|
declare const Column: <T>(_props: TableColumnProps<T>) => ReactNode;
|
|
5
|
-
export { Column as default };
|
|
6
|
-
//# sourceMappingURL=Column.d.mts.map
|
|
5
|
+
export { Column as default };
|
|
@@ -5,5 +5,4 @@ export interface TableColumnGroupProps<T> extends Omit<TableColumnType<T>, 'data
|
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
7
|
declare const ColumnGroup: <T>(_props: TableColumnGroupProps<T>) => ReactNode;
|
|
8
|
-
export { ColumnGroup as default };
|
|
9
|
-
//# sourceMappingURL=ColumnGroup.d.mts.map
|
|
8
|
+
export { ColumnGroup as default };
|
package/es/Table/Table.d.mts
CHANGED
|
@@ -42,5 +42,4 @@ export interface TableExpandedRowProps {
|
|
|
42
42
|
/** Inline row styles; `expanded={false}` always hides the row. */
|
|
43
43
|
style?: CSSProperties;
|
|
44
44
|
}
|
|
45
|
-
export declare const TableExpandedRow: ({ cellClassName, cellComponent, cellStyle, children, className, colSpan, component, expanded, fixed, style }: TableExpandedRowProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
46
|
-
//# sourceMappingURL=cells.d.mts.map
|
|
45
|
+
export declare const TableExpandedRow: ({ cellClassName, cellComponent, cellStyle, children, className, colSpan, component, expanded, fixed, style }: TableExpandedRowProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -38,5 +38,4 @@ export interface TableSectionProps extends HTMLAttributes<HTMLTableSectionElemen
|
|
|
38
38
|
}
|
|
39
39
|
export declare const TableHeader: ({ className, component, ...rest }: TableSectionProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
40
40
|
export declare const TableBody: ({ className, component, ...rest }: TableSectionProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
41
|
-
export declare const TableSummaryFoot: ({ className, ...rest }: TableSectionProps) => import("react").JSX.Element;
|
|
42
|
-
//# sourceMappingURL=layout.d.mts.map
|
|
41
|
+
export declare const TableSummaryFoot: ({ className, ...rest }: TableSectionProps) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "react";
|
package/es/Table/internal.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TableColumn } from "../type.mjs";
|
|
2
|
-
import
|
|
2
|
+
import "react";
|
|
3
3
|
export declare const SELECTION_COLUMN: TableColumn<any>;
|
|
4
4
|
export declare const SELECTION_ALL: "SELECT_ALL";
|
|
5
5
|
export declare const SELECTION_INVERT: "SELECT_INVERT";
|
|
6
|
-
export declare const SELECTION_NONE: "SELECT_NONE";
|
|
7
|
-
//# sourceMappingURL=selectionUtils.d.mts.map
|
|
6
|
+
export declare const SELECTION_NONE: "SELECT_NONE";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionCells.mjs","names":["BaseRadioGroup","Checkbox","clsx"],"sources":["../../../src/Table/render/SelectionCells.tsx"],"sourcesContent":["'use client';\n\nimport { RadioGroup as BaseRadioGroup } from '@base-ui/react/radio-group';\nimport * as stylex from '@stylexjs/stylex';\nimport clsx from 'clsx';\nimport { ChevronDown } from 'lucide-react';\nimport type { MouseEvent, ReactNode } from 'react';\n\nimport ActionIcon from '@/ActionIcon';\nimport { Checkbox } from '@/Checkbox';\nimport DropdownMenu from '@/DropdownMenu';\nimport { Radio } from '@/Radio';\n\nimport { PREFIX_CLS } from '../constants';\nimport { useRowHalfSelected, useRowSelected, useSelectionSummary } from '../store/hooks';\nimport { styles } from '../style';\nimport type { TableCellAttributes } from '../type';\nimport { type BodyCellProps, CellShell, isRenderedCell } from './CellShell';\nimport { useSelectionView } from './context';\n\nexport const SelectionBodyCell = <T,>({\n index,\n leaf,\n record,\n renderIndex,\n rowKey,\n}: BodyCellProps<T>) => {\n const selection = useSelectionView<T>();\n const checked = useRowSelected(rowKey);\n const halfChecked = useRowHalfSelected(rowKey);\n const checkboxProps = selection.checkboxPropsMap.get(rowKey) || {};\n const { onChange: onBoxChange, onClick: onBoxClick, ...boxProps } = checkboxProps;\n const handleClick = (event: MouseEvent<HTMLElement>) => {\n event.stopPropagation();\n (onBoxClick as ((event: MouseEvent<HTMLElement>) => void) | undefined)?.(event);\n };\n\n let node: ReactNode;\n if (selection.type === 'radio') {\n const {\n classNames: _classNames,\n indeterminate: _indeterminate,\n shape: _shape,\n styles: _styles,\n ...radioProps\n } = boxProps;\n node = (\n <BaseRadioGroup\n className={stylex.props(styles.selectionRadioGroup).className}\n value={checked ? 'selected' : null}\n onValueChange={(_value, details) => {\n selection.actions.selectRadio(rowKey, details.event as Event);\n onBoxChange?.(true);\n }}\n >\n <Radio\n aria-label={`Select row ${renderIndex + 1}`}\n {...(radioProps as object)}\n value=\"selected\"\n onClick={handleClick}\n />\n </BaseRadioGroup>\n );\n } else {\n const indeterminate =\n selection.expandType === 'nest' ? halfChecked : (checkboxProps.indeterminate ?? halfChecked);\n node = (\n <Checkbox\n aria-label={checked ? `Row ${renderIndex + 1} selected` : `Select row ${renderIndex + 1}`}\n {...boxProps}\n checked={checked}\n indeterminate={indeterminate}\n onClick={handleClick}\n onChange={(_next: boolean, details?: { event?: Event }) => {\n selection.actions.toggleCheckbox(rowKey, checked, details?.event);\n onBoxChange?.(!checked);\n }}\n />\n );\n }\n\n const custom = selection.renderCell\n ? selection.renderCell(checked, record, renderIndex, node)\n : node;\n const [childNode, legacyCellProps] = isRenderedCell(custom)\n ? [custom.children, custom.props as TableCellAttributes | undefined]\n : [custom as ReactNode, undefined];\n\n return (\n <CellShell index={index} leaf={leaf} legacyCellProps={legacyCellProps} record={record}>\n {childNode}\n </CellShell>\n );\n};\n\nexport const SelectionHeaderTitle = () => {\n const selection = useSelectionView();\n const summary = useSelectionSummary();\n if (selection.type === 'radio') {\n return typeof selection.title === 'function'\n ? selection.title(null)\n : (selection.title ?? null);\n }\n\n const customizeSelections = selection.selections ? (\n <div\n className={clsx(\n stylex.props(styles.selectionExtra).className,\n `${PREFIX_CLS}-selection-extra`,\n )}\n >\n <DropdownMenu\n items={selection.selections.map(({ key, onSelect, text }) => ({\n key,\n label: text,\n onClick: onSelect,\n }))}\n >\n <ActionIcon\n aria-label=\"Selection options\"\n className={stylex.props(styles.selectionTrigger).className}\n icon={ChevronDown}\n size=\"small\"\n />\n </DropdownMenu>\n </div>\n ) : null;\n\n const {\n disabled: titleDisabled,\n onChange: onTitleChange,\n ...titleCheckboxProps\n } = selection.getTitleCheckboxProps?.() || {};\n const { locale } = selection;\n const checkbox = (\n <Checkbox\n aria-label={\n customizeSelections\n ? 'Custom selection'\n : typeof locale.selectAll === 'string'\n ? locale.selectAll\n : undefined\n }\n {...titleCheckboxProps}\n checked={summary.checked}\n disabled={titleDisabled ?? summary.disabled}\n indeterminate={summary.indeterminate}\n onChange={(next) => {\n selection.actions.selectAll();\n onTitleChange?.(next);\n }}\n />\n );\n\n if (selection.title) {\n return typeof selection.title === 'function' ? selection.title(checkbox) : selection.title;\n }\n if (selection.hideSelectAll) return null;\n return (\n <div className={clsx(stylex.props(styles.selection).className, `${PREFIX_CLS}-selection`)}>\n {checkbox}\n {customizeSelections}\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAa,qBAAyB,EACpC,OACA,MACA,QACA,aACA,aACsB;CACtB,MAAM,YAAY,iBAAoB;CACtC,MAAM,UAAU,eAAe,MAAM;CACrC,MAAM,cAAc,mBAAmB,MAAM;CAC7C,MAAM,gBAAgB,UAAU,iBAAiB,IAAI,MAAM,KAAK,CAAC;CACjE,MAAM,EACJ,UAAU,aACV,SAAS,YACT,GAAG,aACD;CACJ,MAAM,eAAe,UAAmC;EACtD,MAAM,gBAAgB;
|
|
1
|
+
{"version":3,"file":"SelectionCells.mjs","names":["BaseRadioGroup","Checkbox","clsx"],"sources":["../../../src/Table/render/SelectionCells.tsx"],"sourcesContent":["'use client';\n\nimport { RadioGroup as BaseRadioGroup } from '@base-ui/react/radio-group';\nimport * as stylex from '@stylexjs/stylex';\nimport clsx from 'clsx';\nimport { ChevronDown } from 'lucide-react';\nimport type { MouseEvent, ReactNode } from 'react';\n\nimport ActionIcon from '@/ActionIcon';\nimport { Checkbox } from '@/Checkbox';\nimport DropdownMenu from '@/DropdownMenu';\nimport { Radio } from '@/Radio';\n\nimport { PREFIX_CLS } from '../constants';\nimport { useRowHalfSelected, useRowSelected, useSelectionSummary } from '../store/hooks';\nimport { styles } from '../style';\nimport type { TableCellAttributes } from '../type';\nimport { type BodyCellProps, CellShell, isRenderedCell } from './CellShell';\nimport { useSelectionView } from './context';\n\nexport const SelectionBodyCell = <T,>({\n index,\n leaf,\n record,\n renderIndex,\n rowKey,\n}: BodyCellProps<T>) => {\n const selection = useSelectionView<T>();\n const checked = useRowSelected(rowKey);\n const halfChecked = useRowHalfSelected(rowKey);\n const checkboxProps = selection.checkboxPropsMap.get(rowKey) || {};\n const { onChange: onBoxChange, onClick: onBoxClick, ...boxProps } = checkboxProps;\n const handleClick = (event: MouseEvent<HTMLElement>) => {\n event.stopPropagation();\n (onBoxClick as ((event: MouseEvent<HTMLElement>) => void) | undefined)?.(event);\n };\n\n let node: ReactNode;\n if (selection.type === 'radio') {\n const {\n classNames: _classNames,\n indeterminate: _indeterminate,\n shape: _shape,\n styles: _styles,\n ...radioProps\n } = boxProps;\n node = (\n <BaseRadioGroup\n className={stylex.props(styles.selectionRadioGroup).className}\n value={checked ? 'selected' : null}\n onValueChange={(_value, details) => {\n selection.actions.selectRadio(rowKey, details.event as Event);\n onBoxChange?.(true);\n }}\n >\n <Radio\n aria-label={`Select row ${renderIndex + 1}`}\n {...(radioProps as object)}\n value=\"selected\"\n onClick={handleClick}\n />\n </BaseRadioGroup>\n );\n } else {\n const indeterminate =\n selection.expandType === 'nest' ? halfChecked : (checkboxProps.indeterminate ?? halfChecked);\n node = (\n <Checkbox\n aria-label={checked ? `Row ${renderIndex + 1} selected` : `Select row ${renderIndex + 1}`}\n {...boxProps}\n checked={checked}\n indeterminate={indeterminate}\n onClick={handleClick}\n onChange={(_next: boolean, details?: { event?: Event }) => {\n selection.actions.toggleCheckbox(rowKey, checked, details?.event);\n onBoxChange?.(!checked);\n }}\n />\n );\n }\n\n const custom = selection.renderCell\n ? selection.renderCell(checked, record, renderIndex, node)\n : node;\n const [childNode, legacyCellProps] = isRenderedCell(custom)\n ? [custom.children, custom.props as TableCellAttributes | undefined]\n : [custom as ReactNode, undefined];\n\n return (\n <CellShell index={index} leaf={leaf} legacyCellProps={legacyCellProps} record={record}>\n {childNode}\n </CellShell>\n );\n};\n\nexport const SelectionHeaderTitle = () => {\n const selection = useSelectionView();\n const summary = useSelectionSummary();\n if (selection.type === 'radio') {\n return typeof selection.title === 'function'\n ? selection.title(null)\n : (selection.title ?? null);\n }\n\n const customizeSelections = selection.selections ? (\n <div\n className={clsx(\n stylex.props(styles.selectionExtra).className,\n `${PREFIX_CLS}-selection-extra`,\n )}\n >\n <DropdownMenu\n items={selection.selections.map(({ key, onSelect, text }) => ({\n key,\n label: text,\n onClick: onSelect,\n }))}\n >\n <ActionIcon\n aria-label=\"Selection options\"\n className={stylex.props(styles.selectionTrigger).className}\n icon={ChevronDown}\n size=\"small\"\n />\n </DropdownMenu>\n </div>\n ) : null;\n\n const {\n disabled: titleDisabled,\n onChange: onTitleChange,\n ...titleCheckboxProps\n } = selection.getTitleCheckboxProps?.() || {};\n const { locale } = selection;\n const checkbox = (\n <Checkbox\n aria-label={\n customizeSelections\n ? 'Custom selection'\n : typeof locale.selectAll === 'string'\n ? locale.selectAll\n : undefined\n }\n {...titleCheckboxProps}\n checked={summary.checked}\n disabled={titleDisabled ?? summary.disabled}\n indeterminate={summary.indeterminate}\n onChange={(next) => {\n selection.actions.selectAll();\n onTitleChange?.(next);\n }}\n />\n );\n\n if (selection.title) {\n return typeof selection.title === 'function' ? selection.title(checkbox) : selection.title;\n }\n if (selection.hideSelectAll) return null;\n return (\n <div className={clsx(stylex.props(styles.selection).className, `${PREFIX_CLS}-selection`)}>\n {checkbox}\n {customizeSelections}\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAa,qBAAyB,EACpC,OACA,MACA,QACA,aACA,aACsB;CACtB,MAAM,YAAY,iBAAoB;CACtC,MAAM,UAAU,eAAe,MAAM;CACrC,MAAM,cAAc,mBAAmB,MAAM;CAC7C,MAAM,gBAAgB,UAAU,iBAAiB,IAAI,MAAM,KAAK,CAAC;CACjE,MAAM,EACJ,UAAU,aACV,SAAS,YACT,GAAG,aACD;CACJ,MAAM,eAAe,UAAmC;EACtD,MAAM,gBAAgB;EACrB,aAAwE,KAAK;CAChF;CACA,IAAI;CACJ,IAAI,UAAU,SAAS,SAAS;EAC9B,MAAM,EACJ,YAAY,aACZ,eAAe,gBACf,OAAO,QACP,QAAQ,SACR,GAAG,eACD;EACJ,OAAO,oBAACA,YAAD;GAAgB,WAAW,OAAO,MAAM,OAAO,mBAAmB,CAAC,CAAC;GAAW,OAAO,UAAU,aAAa;GAAM,gBAAgB,QAAQ,YAAY;IAC5J,UAAU,QAAQ,YAAY,QAAQ,QAAQ,KAAc;IAC5D,cAAc,IAAI;GACpB;GACI,UAAA,oBAAC,OAAD;IAAO,cAAY,cAAc,cAAc;IAAK,GAAI;IAAsB,OAAM;IAAW,SAAS;GAAc,CAAA;EACxG,CAAA;CACpB,OAAO;EACL,MAAM,gBAAgB,UAAU,eAAe,SAAS,cAAc,cAAc,iBAAiB;EACrG,OAAO,oBAACC,kBAAD;GAAU,cAAY,UAAU,OAAO,cAAc,EAAE,aAAa,cAAc,cAAc;GAAK,GAAI;GAAmB;GAAwB;GAAe,SAAS;GAAa,WAAW,OAAgB,YAErN;IACJ,UAAU,QAAQ,eAAe,QAAQ,SAAS,SAAS,KAAK;IAChE,cAAc,CAAC,OAAO;GACxB;EAAI,CAAA;CACN;CACA,MAAM,SAAS,UAAU,aAAa,UAAU,WAAW,SAAS,QAAQ,aAAa,IAAI,IAAI;CACjG,MAAM,CAAC,WAAW,mBAAmB,eAAe,MAAM,IAAI,CAAC,OAAO,UAAU,OAAO,KAAwC,IAAI,CAAC,QAAqB,KAAA,CAAS;CAClK,OAAO,oBAAC,WAAD;EAAkB;EAAa;EAAuB;EAAyB;EACjF,UAAA;CACQ,CAAA;AACf;AACA,MAAa,6BAA6B;CACxC,MAAM,YAAY,iBAAiB;CACnC,MAAM,UAAU,oBAAoB;CACpC,IAAI,UAAU,SAAS,SACrB,OAAO,OAAO,UAAU,UAAU,aAAa,UAAU,MAAM,IAAI,IAAI,UAAU,SAAS;CAE5F,MAAM,sBAAsB,UAAU,aAAa,oBAAC,OAAD;EAAK,WAAWC,OAAK,OAAO,MAAM,OAAO,cAAc,CAAC,CAAC,WAAW,GAAG,WAAW,iBAAiB;EAClJ,UAAA,oBAAC,cAAD;GAAc,OAAO,UAAU,WAAW,KAAK,EAC/C,KACA,UACA,YACK;IACL;IACA,OAAO;IACP,SAAS;GACX,EAAE;GACE,UAAA,oBAAC,YAAD;IAAY,cAAW;IAAoB,WAAW,OAAO,MAAM,OAAO,gBAAgB,CAAC,CAAC;IAAW,MAAM;IAAa,MAAK;GAAS,CAAA;EAC5H,CAAA;CACX,CAAA,IAAI;CACX,MAAM,EACJ,UAAU,eACV,UAAU,eACV,GAAG,uBACD,UAAU,wBAAwB,KAAK,CAAC;CAC5C,MAAM,EACJ,WACE;CACJ,MAAM,WAAW,oBAACD,kBAAD;EAAU,cAAY,sBAAsB,qBAAqB,OAAO,OAAO,cAAc,WAAW,OAAO,YAAY,KAAA;EAAW,GAAI;EAAoB,SAAS,QAAQ;EAAS,UAAU,iBAAiB,QAAQ;EAAU,eAAe,QAAQ;EAAe,WAAU,SAAQ;GAC5S,UAAU,QAAQ,UAAU;GAC5B,gBAAgB,IAAI;EACtB;CAAI,CAAA;CACJ,IAAI,UAAU,OACZ,OAAO,OAAO,UAAU,UAAU,aAAa,UAAU,MAAM,QAAQ,IAAI,UAAU;CAEvF,IAAI,UAAU,eAAe,OAAO;CACpC,OAAO,qBAAC,OAAD;EAAK,WAAWC,OAAK,OAAO,MAAM,OAAO,SAAS,CAAC,CAAC,WAAW,GAAG,WAAW,WAAW;EAAxF,UAAA,CACF,UACA,mBACE;;AACT"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../engine/fixed.mjs";
|
|
2
2
|
import "../engine/types.mjs";
|
|
3
3
|
import { TableSummaryCellProps, TableSummaryProps, TableSummaryRowProps } from "../type.mjs";
|
|
4
|
-
import
|
|
4
|
+
import "react";
|
|
5
5
|
declare const TableSummaryRoot: ({ children }: TableSummaryProps) => import("react").JSX.Element;
|
|
6
6
|
declare const TableSummaryRow: (props: TableSummaryRowProps) => import("react").JSX.Element;
|
|
7
7
|
declare const TableSummaryCell: ({ align, children, className, colSpan, index, rowSpan, scope, style }: TableSummaryCellProps) => import("react").JSX.Element;
|
|
@@ -10,5 +10,4 @@ type TableSummaryComponent = typeof TableSummaryRoot & {
|
|
|
10
10
|
Row: typeof TableSummaryRow;
|
|
11
11
|
};
|
|
12
12
|
export declare const TableSummary: TableSummaryComponent;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=Summary.d.mts.map
|
|
13
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "react";
|
package/es/Table/type.d.mts
CHANGED
package/es/Tabs/Tabs.d.mts
CHANGED
package/es/Tabs/atoms.d.mts
CHANGED
|
@@ -15,5 +15,4 @@ export declare const TabsList: FC<TabsListProps>;
|
|
|
15
15
|
export declare const TabsTab: FC<TabsTabProps>;
|
|
16
16
|
export declare const TabsPanel: FC<TabsPanelProps>;
|
|
17
17
|
export declare const TabsIndicator: FC<TabsIndicatorProps>;
|
|
18
|
-
export { tabsStyles };
|
|
19
|
-
//# sourceMappingURL=atoms.d.mts.map
|
|
18
|
+
export { tabsStyles };
|
package/es/Tabs/style.d.mts
CHANGED
package/es/Tabs/type.d.mts
CHANGED
package/es/Tag/Tag.d.mts
CHANGED
package/es/Tag/type.d.mts
CHANGED
package/es/Tag/utils.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const presetColors: string[];
|
|
2
2
|
export declare const presetSystemColors: Set<string>;
|
|
3
3
|
export declare const colorsPreset: (type: string, ...keys: string[]) => string;
|
|
4
|
-
export declare const colorsPresetSystem: (type: string, ...keys: string[]) => string;
|
|
5
|
-
//# sourceMappingURL=utils.d.mts.map
|
|
4
|
+
export declare const colorsPresetSystem: (type: string, ...keys: string[]) => string;
|
package/es/Text/Text.d.mts
CHANGED
package/es/Text/Text.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.mjs","names":["clsx"],"sources":["../../src/Text/Text.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport clsx from 'clsx';\nimport { type CSSProperties, memo, type ReactNode, type RefObject, useRef } from 'react';\n\nimport { useTextOverflow } from '@/hooks/useTextOverflow';\nimport { styleProps } from '@/styles/stylex/props';\nimport Tooltip from '@/Tooltip';\nimport { toDataAttributes } from '@/utils/bem';\n\nimport { textClasses } from './stable';\nimport { textStyleArray } from './style';\nimport { type TextBaseProps, type TextProps } from './type';\n\ntype InternalTextProps = TextBaseProps & {\n shiny?: boolean;\n shinyDuration?: CSSProperties['animationDuration'];\n};\n\nconst InternalText = memo<InternalTextProps>(\n ({\n align,\n as: Container = 'div',\n children,\n className,\n classNames,\n code,\n color,\n delete: deleteStyle,\n disabled,\n ellipsis,\n fontSize,\n italic,\n lineClamp,\n lineHeight,\n mark,\n noWrap,\n ref,\n shiny,\n shinyDuration,\n strong,\n style,\n styles: customStyles,\n textDecoration,\n textTransform,\n type,\n underline,\n weight,\n whiteSpace,\n wordBreak,\n ...rest\n }) => {\n const innerRef = useRef<HTMLElement>(null);\n const isOverflow = useTextOverflow(innerRef, ellipsis, children);\n\n const isMultiEllipsis = typeof ellipsis === 'object' && !!ellipsis.rows && ellipsis.rows > 1;\n const tooltipWhenOverflow = typeof ellipsis === 'object' && ellipsis.tooltipWhenOverflow;\n\n const setNodeRef = (node: HTMLElement | null) => {\n innerRef.current = node;\n if (typeof ref === 'function') ref(node as HTMLDivElement);\n else if (ref) (ref as RefObject<HTMLDivElement | null>).current = node as HTMLDivElement;\n };\n\n const textStyle: CSSProperties = {\n ...(color && { color }),\n ...(weight && { fontWeight: weight }),\n ...(lineHeight && { lineHeight }),\n ...(textTransform && { textTransform }),\n ...(textDecoration && { textDecoration }),\n ...(wordBreak && { wordBreak }),\n ...(typeof ellipsis === 'object' &&\n ellipsis.rows && {\n WebkitLineClamp: ellipsis.rows,\n }),\n ...(!ellipsis &&\n !!lineClamp && {\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: lineClamp,\n display: '-webkit-box',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }),\n ...(shiny && shinyDuration && { '--shiny-duration': shinyDuration }),\n ...(fontSize && { fontSize }),\n ...(align && { textAlign: align }),\n ...(!isMultiEllipsis && noWrap && { whiteSpace: 'nowrap' as const }),\n ...(whiteSpace && { whiteSpace }),\n ...style,\n ...customStyles?.root,\n };\n\n const content = (\n <Container\n {...toDataAttributes({ type })}\n {...rest}\n ref={setNodeRef}\n style={textStyle}\n className={\n styleProps(\n textStyleArray({\n as: ['h1', 'h2', 'h3', 'h4', 'h5', 'p'].includes(Container as string)\n ? (Container as 'h1')\n : undefined,\n code,\n delete: deleteStyle,\n disabled,\n ellipsis: ellipsis\n ? typeof ellipsis === 'object' && ellipsis.rows\n ? 'multi'\n : true\n : undefined,\n italic,\n mark,\n shiny,\n strong,\n type,\n underline,\n }),\n clsx(textClasses(), shiny && 'lobe-text-shiny', className, classNames?.root),\n ).className\n }\n >\n {children}\n </Container>\n );\n\n if (\n ellipsis &&\n typeof ellipsis === 'object' &&\n (ellipsis.tooltip || ellipsis.tooltipWhenOverflow)\n ) {\n if (tooltipWhenOverflow && !isOverflow) return content;\n\n const title = typeof ellipsis.tooltip === 'string' ? ellipsis.tooltip : children;\n if (ellipsis.tooltip && typeof ellipsis.tooltip === 'object')\n return (\n <Tooltip {...ellipsis.tooltip} title={ellipsis.tooltip?.title || title}>\n {content}\n </Tooltip>\n );\n return <Tooltip title={title}>{content}</Tooltip>;\n }\n\n return content;\n },\n);\n\nInternalText.displayName = 'Text';\n\nexport interface IText {\n <Shiny extends boolean = boolean>(props: TextProps<Shiny>): ReactNode;\n}\n\nconst Text = InternalText as unknown as IText;\n\nexport default Text;\n"],"mappings":";;;;;;;;;;;AAqBA,MAAM,eAAe,MAClB,EACC,OACA,IAAI,YAAY,OAChB,UACA,WACA,YACA,MACA,OACA,QAAQ,aACR,UACA,UACA,UACA,QACA,WACA,YACA,MACA,QACA,KACA,OACA,eACA,QACA,OACA,QAAQ,cACR,gBACA,eACA,MACA,WACA,QACA,YACA,WACA,GAAG,WACC;CACJ,MAAM,WAAW,OAAoB,IAAI;CACzC,MAAM,aAAa,gBAAgB,UAAU,UAAU,QAAQ;CAE/D,MAAM,kBAAkB,OAAO,aAAa,YAAY,CAAC,CAAC,SAAS,QAAQ,SAAS,OAAO;CAC3F,MAAM,sBAAsB,OAAO,aAAa,YAAY,SAAS;CAErE,MAAM,cAAc,SAA6B;EAC/C,SAAS,UAAU;EACnB,IAAI,OAAO,QAAQ,YAAY,IAAI,IAAsB;OACpD,IAAI,
|
|
1
|
+
{"version":3,"file":"Text.mjs","names":["clsx"],"sources":["../../src/Text/Text.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport clsx from 'clsx';\nimport { type CSSProperties, memo, type ReactNode, type RefObject, useRef } from 'react';\n\nimport { useTextOverflow } from '@/hooks/useTextOverflow';\nimport { styleProps } from '@/styles/stylex/props';\nimport Tooltip from '@/Tooltip';\nimport { toDataAttributes } from '@/utils/bem';\n\nimport { textClasses } from './stable';\nimport { textStyleArray } from './style';\nimport { type TextBaseProps, type TextProps } from './type';\n\ntype InternalTextProps = TextBaseProps & {\n shiny?: boolean;\n shinyDuration?: CSSProperties['animationDuration'];\n};\n\nconst InternalText = memo<InternalTextProps>(\n ({\n align,\n as: Container = 'div',\n children,\n className,\n classNames,\n code,\n color,\n delete: deleteStyle,\n disabled,\n ellipsis,\n fontSize,\n italic,\n lineClamp,\n lineHeight,\n mark,\n noWrap,\n ref,\n shiny,\n shinyDuration,\n strong,\n style,\n styles: customStyles,\n textDecoration,\n textTransform,\n type,\n underline,\n weight,\n whiteSpace,\n wordBreak,\n ...rest\n }) => {\n const innerRef = useRef<HTMLElement>(null);\n const isOverflow = useTextOverflow(innerRef, ellipsis, children);\n\n const isMultiEllipsis = typeof ellipsis === 'object' && !!ellipsis.rows && ellipsis.rows > 1;\n const tooltipWhenOverflow = typeof ellipsis === 'object' && ellipsis.tooltipWhenOverflow;\n\n const setNodeRef = (node: HTMLElement | null) => {\n innerRef.current = node;\n if (typeof ref === 'function') ref(node as HTMLDivElement);\n else if (ref) (ref as RefObject<HTMLDivElement | null>).current = node as HTMLDivElement;\n };\n\n const textStyle: CSSProperties = {\n ...(color && { color }),\n ...(weight && { fontWeight: weight }),\n ...(lineHeight && { lineHeight }),\n ...(textTransform && { textTransform }),\n ...(textDecoration && { textDecoration }),\n ...(wordBreak && { wordBreak }),\n ...(typeof ellipsis === 'object' &&\n ellipsis.rows && {\n WebkitLineClamp: ellipsis.rows,\n }),\n ...(!ellipsis &&\n !!lineClamp && {\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: lineClamp,\n display: '-webkit-box',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }),\n ...(shiny && shinyDuration && { '--shiny-duration': shinyDuration }),\n ...(fontSize && { fontSize }),\n ...(align && { textAlign: align }),\n ...(!isMultiEllipsis && noWrap && { whiteSpace: 'nowrap' as const }),\n ...(whiteSpace && { whiteSpace }),\n ...style,\n ...customStyles?.root,\n };\n\n const content = (\n <Container\n {...toDataAttributes({ type })}\n {...rest}\n ref={setNodeRef}\n style={textStyle}\n className={\n styleProps(\n textStyleArray({\n as: ['h1', 'h2', 'h3', 'h4', 'h5', 'p'].includes(Container as string)\n ? (Container as 'h1')\n : undefined,\n code,\n delete: deleteStyle,\n disabled,\n ellipsis: ellipsis\n ? typeof ellipsis === 'object' && ellipsis.rows\n ? 'multi'\n : true\n : undefined,\n italic,\n mark,\n shiny,\n strong,\n type,\n underline,\n }),\n clsx(textClasses(), shiny && 'lobe-text-shiny', className, classNames?.root),\n ).className\n }\n >\n {children}\n </Container>\n );\n\n if (\n ellipsis &&\n typeof ellipsis === 'object' &&\n (ellipsis.tooltip || ellipsis.tooltipWhenOverflow)\n ) {\n if (tooltipWhenOverflow && !isOverflow) return content;\n\n const title = typeof ellipsis.tooltip === 'string' ? ellipsis.tooltip : children;\n if (ellipsis.tooltip && typeof ellipsis.tooltip === 'object')\n return (\n <Tooltip {...ellipsis.tooltip} title={ellipsis.tooltip?.title || title}>\n {content}\n </Tooltip>\n );\n return <Tooltip title={title}>{content}</Tooltip>;\n }\n\n return content;\n },\n);\n\nInternalText.displayName = 'Text';\n\nexport interface IText {\n <Shiny extends boolean = boolean>(props: TextProps<Shiny>): ReactNode;\n}\n\nconst Text = InternalText as unknown as IText;\n\nexport default Text;\n"],"mappings":";;;;;;;;;;;AAqBA,MAAM,eAAe,MAClB,EACC,OACA,IAAI,YAAY,OAChB,UACA,WACA,YACA,MACA,OACA,QAAQ,aACR,UACA,UACA,UACA,QACA,WACA,YACA,MACA,QACA,KACA,OACA,eACA,QACA,OACA,QAAQ,cACR,gBACA,eACA,MACA,WACA,QACA,YACA,WACA,GAAG,WACC;CACJ,MAAM,WAAW,OAAoB,IAAI;CACzC,MAAM,aAAa,gBAAgB,UAAU,UAAU,QAAQ;CAE/D,MAAM,kBAAkB,OAAO,aAAa,YAAY,CAAC,CAAC,SAAS,QAAQ,SAAS,OAAO;CAC3F,MAAM,sBAAsB,OAAO,aAAa,YAAY,SAAS;CAErE,MAAM,cAAc,SAA6B;EAC/C,SAAS,UAAU;EACnB,IAAI,OAAO,QAAQ,YAAY,IAAI,IAAsB;OACpD,IAAI,KAAM,IAAyC,UAAU;CACpE;CAEA,MAAM,YAA2B;EAC/B,GAAI,SAAS,EAAE,MAAM;EACrB,GAAI,UAAU,EAAE,YAAY,OAAO;EACnC,GAAI,cAAc,EAAE,WAAW;EAC/B,GAAI,iBAAiB,EAAE,cAAc;EACrC,GAAI,kBAAkB,EAAE,eAAe;EACvC,GAAI,aAAa,EAAE,UAAU;EAC7B,GAAI,OAAO,aAAa,YACtB,SAAS,QAAQ,EACf,iBAAiB,SAAS,KAC5B;EACF,GAAI,CAAC,YACH,CAAC,CAAC,aAAa;GACb,iBAAiB;GACjB,iBAAiB;GACjB,SAAS;GACT,UAAU;GACV,cAAc;EAChB;EACF,GAAI,SAAS,iBAAiB,EAAE,oBAAoB,cAAc;EAClE,GAAI,YAAY,EAAE,SAAS;EAC3B,GAAI,SAAS,EAAE,WAAW,MAAM;EAChC,GAAI,CAAC,mBAAmB,UAAU,EAAE,YAAY,SAAkB;EAClE,GAAI,cAAc,EAAE,WAAW;EAC/B,GAAG;EACH,GAAG,cAAc;CACnB;CAEA,MAAM,UACJ,oBAAC,WAAD;EACE,GAAI,iBAAiB,EAAE,KAAK,CAAC;EAC7B,GAAI;EACJ,KAAK;EACL,OAAO;EACP,WACE,WACE,eAAe;GACb,IAAI;IAAC;IAAM;IAAM;IAAM;IAAM;IAAM;GAAG,CAAC,CAAC,SAAS,SAAmB,IAC/D,YACD,KAAA;GACJ;GACA,QAAQ;GACR;GACA,UAAU,WACN,OAAO,aAAa,YAAY,SAAS,OACvC,UACA,OACF,KAAA;GACJ;GACA;GACA;GACA;GACA;GACA;EACF,CAAC,GACDA,OAAK,YAAY,GAAG,SAAS,mBAAmB,WAAW,YAAY,IAAI,CAC7E,CAAC,CAAC;EAGH;CACQ,CAAA;CAGb,IACE,YACA,OAAO,aAAa,aACnB,SAAS,WAAW,SAAS,sBAC9B;EACA,IAAI,uBAAuB,CAAC,YAAY,OAAO;EAE/C,MAAM,QAAQ,OAAO,SAAS,YAAY,WAAW,SAAS,UAAU;EACxE,IAAI,SAAS,WAAW,OAAO,SAAS,YAAY,UAClD,OACE,oBAAC,SAAD;GAAS,GAAI,SAAS;GAAS,OAAO,SAAS,SAAS,SAAS;GAC9D,UAAA;EACM,CAAA;EAEb,OAAO,oBAAC,SAAD;GAAgB;GAAQ,UAAA;EAAiB,CAAA;CAClD;CAEA,OAAO;AACT,CACF;AAEA,aAAa,cAAc;AAM3B,MAAM,OAAO"}
|
package/es/Text/style.d.mts
CHANGED
package/es/Text/type.d.mts
CHANGED
|
@@ -28,5 +28,4 @@ export interface ToastHostProps {
|
|
|
28
28
|
swipeDirection?: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];
|
|
29
29
|
}
|
|
30
30
|
export declare const ToastHost: import("react").MemoExoticComponent<({ root, className, duration, limit, position, swipeDirection }: ToastHostProps) => import("react").JSX.Element[] | null>;
|
|
31
|
-
export declare const useToast: () => ToastAPI;
|
|
32
|
-
//# sourceMappingURL=imperative.d.mts.map
|
|
31
|
+
export declare const useToast: () => ToastAPI;
|
package/es/Toast/type.d.mts
CHANGED
|
@@ -149,5 +149,4 @@ export interface ToastAPI {
|
|
|
149
149
|
promise: <T>(promise: Promise<T>, options: ToastPromiseOptions<T>) => Promise<T>;
|
|
150
150
|
success: (options: Omit<ToastOptions, 'type'> | string) => ToastInstance;
|
|
151
151
|
warning: (options: Omit<ToastOptions, 'type'> | string) => ToastInstance;
|
|
152
|
-
}
|
|
153
|
-
//# sourceMappingURL=type.d.mts.map
|
|
152
|
+
}
|
package/es/Toc/Toc.d.mts
CHANGED
|
@@ -3,5 +3,4 @@ declare const Toc: {
|
|
|
3
3
|
({ activeKey, className, getContainer, items, offset, onChange, onClick, style, ...rest }: TocProps): import("react").JSX.Element | null;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
|
-
export { Toc as default };
|
|
7
|
-
//# sourceMappingURL=Toc.d.mts.map
|
|
6
|
+
export { Toc as default };
|
package/es/Toc/Toc.mjs
CHANGED
|
@@ -41,7 +41,7 @@ const findParentId = (items, activeId) => {
|
|
|
41
41
|
};
|
|
42
42
|
const getActiveId = (items, container, offset) => {
|
|
43
43
|
let activeId;
|
|
44
|
-
let activeTop = -
|
|
44
|
+
let activeTop = -1e400;
|
|
45
45
|
for (const item of items) {
|
|
46
46
|
const target = getTarget(item.href);
|
|
47
47
|
if (!target) continue;
|
|
@@ -12,5 +12,4 @@ export interface FlatTocItem {
|
|
|
12
12
|
/**
|
|
13
13
|
* Normalize Anchor tree or flat TocItem[] into a flat outline.
|
|
14
14
|
*/
|
|
15
|
-
export declare const toFlatTocItems: (items?: AnchorItem[] | TocItem[]) => FlatTocItem[];
|
|
16
|
-
//# sourceMappingURL=toFlatTocItems.d.mts.map
|
|
15
|
+
export declare const toFlatTocItems: (items?: AnchorItem[] | TocItem[]) => FlatTocItem[];
|
package/es/Toc/tocPath.d.mts
CHANGED
|
@@ -8,5 +8,4 @@ export interface TocPath {
|
|
|
8
8
|
length: number;
|
|
9
9
|
ranges: Array<[start: number, end: number]>;
|
|
10
10
|
}
|
|
11
|
-
export declare const buildTocPath: (rows: TocPathRow[]) => TocPath;
|
|
12
|
-
//# sourceMappingURL=tocPath.d.mts.map
|
|
11
|
+
export declare const buildTocPath: (rows: TocPathRow[]) => TocPath;
|
package/es/Toc/type.d.mts
CHANGED
|
@@ -27,5 +27,4 @@ interface SimpleSpanProps {
|
|
|
27
27
|
}
|
|
28
28
|
export declare const ToggleGroupItemIcon: FC<SimpleSpanProps>;
|
|
29
29
|
export declare const ToggleGroupItemLabel: FC<SimpleSpanProps>;
|
|
30
|
-
export { toggleGroupStyles };
|
|
31
|
-
//# sourceMappingURL=atoms.d.mts.map
|
|
30
|
+
export { toggleGroupStyles };
|
|
@@ -50,5 +50,4 @@ export interface ToggleGroupMultipleProps<Value extends string = string> extends
|
|
|
50
50
|
onChange?: (value: Value[]) => void;
|
|
51
51
|
value?: Value[];
|
|
52
52
|
}
|
|
53
|
-
export type ToggleGroupProps<Value extends string = string> = ToggleGroupSingleProps<Value> | ToggleGroupMultipleProps<Value>;
|
|
54
|
-
//# sourceMappingURL=type.d.mts.map
|
|
53
|
+
export type ToggleGroupProps<Value extends string = string> = ToggleGroupSingleProps<Value> | ToggleGroupMultipleProps<Value>;
|
package/es/Tooltip/Tooltip.d.mts
CHANGED