@lobehub/ui 6.16.1 → 6.16.3
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 -1
- package/es/A/index.mjs +2 -2
- package/es/Accordion/Accordion.d.mts +1 -1
- package/es/Accordion/Accordion.mjs +1 -1
- package/es/Accordion/atoms.d.mts +1 -1
- package/es/Accordion/atoms.mjs +4 -4
- package/es/Accordion/style.mjs +1 -1
- package/es/Accordion/type.d.mts +1 -1
- package/es/ActionIcon/ActionIcon.d.mts +1 -1
- package/es/ActionIcon/ActionIcon.mjs +2 -2
- package/es/ActionIcon/type.d.mts +1 -1
- package/es/ActionIconGroup/ActionIconGroup.d.mts +1 -1
- package/es/ActionIconGroup/ActionIconGroup.mjs +3 -3
- package/es/ActionIconGroup/type.d.mts +1 -1
- package/es/AgentAvatar/AgentAvatar.mjs +2 -2
- package/es/AgentAvatar/utils.mjs +3 -3
- package/es/Alert/Alert.mjs +3 -3
- package/es/Alert/type.d.mts +1 -1
- package/es/Anchor/Anchor.mjs +2 -2
- package/es/AutoComplete/AutoComplete.mjs +4 -4
- package/es/AutoComplete/style.d.mts +1 -1
- package/es/AutoComplete/style.mjs +2 -2
- package/es/AutoComplete/type.d.mts +2 -2
- package/es/Avatar/Avatar.mjs +5 -5
- package/es/Avatar/AvatarGroup/index.mjs +2 -2
- package/es/Avatar/index.d.mts +1 -1
- package/es/Avatar/type.d.mts +1 -1
- package/es/Badge/Badge.mjs +2 -2
- package/es/Block/Block.d.mts +1 -1
- package/es/Block/Block.mjs +1 -1
- package/es/Block/type.d.mts +1 -1
- package/es/Breadcrumb/Breadcrumb.mjs +3 -3
- package/es/Burger/Burger.mjs +3 -3
- package/es/Burger/type.d.mts +1 -1
- package/es/Button/Button.d.mts +1 -1
- package/es/Button/Button.mjs +3 -3
- package/es/Button/SplitButton.d.mts +1 -1
- package/es/Button/SplitButton.mjs +3 -3
- package/es/Button/type.d.mts +1 -1
- package/es/Carousel/Carousel.mjs +3 -3
- package/es/Checkbox/Checkbox.mjs +5 -5
- package/es/Checkbox/CheckboxGroup.mjs +3 -3
- package/es/Checkbox/type.d.mts +3 -3
- package/es/CodeDiff/CodeDiff.mjs +2 -2
- package/es/CodeDiff/DiffPanel.mjs +3 -3
- package/es/CodeDiff/PatchDiff.mjs +2 -2
- package/es/CodeDiff/theme.mjs +1 -1
- package/es/CodeDiff/type.d.mts +2 -2
- package/es/CodeEditor/CodeEditor.mjs +2 -2
- package/es/CodeEditor/type.d.mts +1 -1
- package/es/Collapsible/Collapsible.mjs +2 -2
- package/es/ColorPicker/ColorInputs.mjs +3 -3
- package/es/ColorPicker/ColorPanel.mjs +2 -2
- package/es/ColorPicker/ColorPicker.mjs +1 -1
- package/es/ColorPicker/SaturationArea.mjs +2 -2
- package/es/ColorPicker/Swatch.mjs +1 -1
- package/es/ColorPicker/Swatches.mjs +2 -2
- package/es/ColorPicker/Trigger.mjs +3 -3
- package/es/ColorPicker/type.d.mts +1 -1
- package/es/ColorSwatches/ColorSwatches.d.mts +1 -1
- package/es/ColorSwatches/ColorSwatches.mjs +4 -4
- package/es/ColorSwatches/CustomPicker.mjs +2 -2
- package/es/ColorSwatches/type.d.mts +1 -1
- package/es/ConfigProvider/index.d.mts +1 -1
- package/es/ConfigProvider/index.mjs +1 -1
- package/es/ContextMenu/ContextMenuHost.mjs +4 -4
- package/es/ContextMenu/ContextMenuTrigger.d.mts +1 -1
- package/es/ContextMenu/ContextMenuTrigger.mjs +3 -3
- package/es/ContextMenu/renderItems.d.mts +1 -1
- package/es/ContextMenu/renderItems.mjs +5 -5
- package/es/ContextMenu/store.d.mts +1 -1
- package/es/CopyButton/CopyButton.mjs +3 -3
- package/es/DatePicker/PurePanel.mjs +1 -1
- package/es/DatePicker/RangePicker.mjs +2 -2
- package/es/DatePicker/SinglePicker.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Popup/Footer.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Popup/index.mjs +2 -2
- package/es/DatePicker/core/PickerInput/RangePicker.d.mts +1 -1
- package/es/DatePicker/core/PickerInput/RangePicker.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/ClearIcon.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/Icon.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/Input.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/HoverSelector.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/MultipleDates.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs +2 -2
- package/es/DatePicker/core/PickerInput/Selector/hooks/useClearIcon.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/hooks/useInputProps.mjs +1 -1
- package/es/DatePicker/core/PickerInput/Selector/hooks/useRootProps.mjs +1 -1
- package/es/DatePicker/core/PickerInput/SinglePicker.d.mts +1 -1
- package/es/DatePicker/core/PickerInput/SinglePicker.mjs +2 -2
- package/es/DatePicker/core/PickerInput/hooks/useCellRender.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useDelayState.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFieldFormat.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFieldsInvalidate.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFocusEvents.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useFocusLock.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useLockEffect.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/usePresets.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs +2 -3
- package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs.map +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs +1 -1
- package/es/DatePicker/core/PickerInput/hooks/useRangeValueChange.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/DatePanel/index.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/DateTimePanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/DecadePanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/MonthPanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/PanelBody.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/PanelHeader.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/QuarterPanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/ClockDial.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs +3 -3
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/TimeColumn.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useScrollTo.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/TimePanel/index.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/WeekPanel/index.mjs +2 -2
- package/es/DatePicker/core/PickerPanel/YearPanel/index.mjs +1 -1
- package/es/DatePicker/core/PickerPanel/index.mjs +2 -2
- package/es/DatePicker/core/PickerPopup.mjs +4 -4
- package/es/DatePicker/core/hooks/useTimeInfo.mjs +1 -1
- package/es/DatePicker/dateGenerateConfig.mjs +1 -1
- package/es/DatePicker/legacyDate.mjs +1 -1
- package/es/DatePicker/locale.mjs +2 -2
- package/es/DatePicker/type.d.mts +2 -2
- package/es/DatePicker/usePanelKeyboard.mjs +1 -1
- package/es/DatePicker/usePickerShared.mjs +3 -3
- package/es/DatePicker/usePresetActive.mjs +1 -1
- package/es/Descriptions/Descriptions.mjs +2 -2
- package/es/Divider/Divider.mjs +3 -3
- package/es/DownloadButton/DownloadButton.d.mts +1 -1
- package/es/DownloadButton/DownloadButton.mjs +3 -3
- package/es/DraggablePanel/DraggablePanel.mjs +1 -1
- package/es/DraggablePanel/atoms.d.mts +1 -1
- package/es/DraggablePanel/atoms.mjs +5 -5
- package/es/DraggablePanel/core/controller.d.mts +1 -1
- package/es/DraggablePanel/core/controller.mjs +1 -1
- package/es/DraggablePanel/type.d.mts +1 -1
- package/es/DraggableSideNav/DraggableSideNav.mjs +5 -5
- package/es/DraggableSideNav/type.d.mts +2 -2
- package/es/Drawer/Drawer.mjs +3 -3
- package/es/Drawer/atoms.d.mts +2 -2
- package/es/Drawer/atoms.mjs +7 -7
- package/es/Drawer/constants.d.mts +1 -1
- package/es/DropdownMenu/DropdownMenu.mjs +2 -2
- package/es/DropdownMenu/atoms.d.mts +2 -2
- package/es/DropdownMenu/atoms.mjs +5 -5
- package/es/DropdownMenu/renderItems.d.mts +1 -1
- package/es/DropdownMenu/renderItems.mjs +1 -1
- package/es/DropdownMenu/type.d.mts +2 -2
- package/es/EditableText/ControlInput.mjs +2 -2
- package/es/EditableText/EditableText.mjs +3 -3
- package/es/EditableText/type.d.mts +1 -1
- package/es/EditorSlashMenu/EditorSlashMenu.d.mts +2 -2
- package/es/EditorSlashMenu/EditorSlashMenu.mjs +1 -1
- package/es/EditorSlashMenu/MenuItemRenderer.mjs +1 -1
- package/es/EditorSlashMenu/atoms.d.mts +1 -1
- package/es/EditorSlashMenu/atoms.mjs +3 -3
- package/es/EditorSlashMenu/type.d.mts +1 -1
- package/es/EditorSlashMenu/useKeyboardNavigation.mjs +1 -1
- package/es/EditorSlashMenu/useNormalizedItems.mjs +1 -1
- package/es/EmojiPicker/AvatarUploader.mjs +3 -3
- package/es/EmojiPicker/EmojiPicker.mjs +7 -7
- package/es/EmojiPicker/type.d.mts +1 -1
- package/es/Empty/Empty.mjs +4 -4
- package/es/Empty/type.d.mts +1 -1
- package/es/FileTypeIcon/FileTypeIcon.d.mts +1 -1
- package/es/FileTypeIcon/FileTypeIcon.mjs +2 -2
- package/es/FileTypeIcon/type.d.mts +1 -1
- package/es/Flex/Center.d.mts +1 -1
- package/es/Flex/Center.mjs +1 -1
- package/es/Flex/FlexBasic.mjs +1 -1
- package/es/FloatingPanel/FloatingPanel.mjs +3 -3
- package/es/FloatingPanel/ToastDodge.mjs +1 -1
- package/es/FloatingPanel/type.d.mts +2 -2
- package/es/FloatingSheet/FloatingSheet.mjs +2 -2
- package/es/FloatingSheet/useSnapPoints.mjs +1 -1
- package/es/FluentEmoji/FluentEmoji.d.mts +1 -1
- package/es/FluentEmoji/FluentEmoji.mjs +2 -2
- package/es/FluentEmoji/type.d.mts +1 -1
- package/es/FocusScope/FocusScope.mjs +1 -1
- package/es/FocusScope/useScopeArrowNav.mjs +1 -1
- package/es/FocusScope/useScopeSwitcher.mjs +1 -1
- package/es/Form/Form.mjs +4 -4
- package/es/Form/components/FormDivider.d.mts +1 -1
- package/es/Form/components/FormDivider.mjs +1 -1
- package/es/Form/components/FormField.mjs +3 -3
- package/es/Form/components/FormFlatGroup.mjs +2 -2
- package/es/Form/components/FormFooter.d.mts +1 -1
- package/es/Form/components/FormFooter.mjs +1 -1
- package/es/Form/components/FormGroup.mjs +5 -5
- package/es/Form/components/FormSubmitFooter.mjs +4 -4
- package/es/Form/components/FormTitle.d.mts +1 -1
- package/es/Form/components/FormTitle.mjs +1 -1
- package/es/Form/stableContext.mjs +1 -1
- package/es/Form/type.d.mts +3 -3
- package/es/FormKit/Field.d.mts +1 -1
- package/es/FormKit/Field.mjs +2 -2
- package/es/FormKit/Form.mjs +2 -2
- package/es/FormKit/List.d.mts +1 -1
- package/es/FormKit/List.mjs +4 -4
- package/es/FormKit/SubmitFooter.mjs +1 -1
- package/es/FormKit/engine/tanstack.mjs +1 -1
- package/es/FormKit/type.d.mts +1 -1
- package/es/FormKit/useForm.mjs +1 -1
- package/es/Grid/Grid.d.mts +1 -1
- package/es/Grid/Grid.mjs +3 -3
- package/es/Grid/type.d.mts +1 -1
- package/es/GroupAvatar/GroupAvatar.d.mts +1 -1
- package/es/GroupAvatar/GroupAvatar.mjs +2 -2
- package/es/GroupAvatar/type.d.mts +1 -1
- package/es/GuideCard/GuideCard.mjs +3 -3
- package/es/GuideCard/type.d.mts +1 -1
- package/es/Header/Header.mjs +2 -2
- package/es/Header/type.d.mts +1 -1
- package/es/Highlighter/FullFeatured.mjs +3 -3
- package/es/Highlighter/Highlighter.mjs +2 -2
- package/es/Highlighter/LangSelect.mjs +3 -3
- package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs +1 -1
- package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs +2 -2
- package/es/Highlighter/SyntaxHighlighter/index.mjs +3 -3
- package/es/Highlighter/engine.mjs +1 -1
- package/es/Highlighter/style.mjs +1 -1
- package/es/Highlighter/type.d.mts +1 -1
- package/es/Hotkey/Hotkey.mjs +3 -3
- package/es/Hotkey/type.d.mts +1 -1
- package/es/HotkeyInput/HotkeyInput.mjs +5 -5
- package/es/HtmlPreview/HtmlPreview.mjs +4 -4
- package/es/HtmlPreview/Iframe.mjs +2 -2
- package/es/HtmlPreview/type.d.mts +1 -1
- package/es/Icon/Icon.mjs +2 -2
- package/es/Icon/components/IconProvider.d.mts +1 -1
- package/es/Icon/type.d.mts +2 -2
- package/es/Image/Image.mjs +2 -2
- package/es/Image/index.d.mts +1 -1
- package/es/Image/type.d.mts +1 -1
- package/es/Image/useImagePreview.d.mts +1 -1
- package/es/Image/useImagePreview.mjs +1 -1
- package/es/Image/viewer/ActualSizeIcon.mjs +2 -2
- package/es/Image/viewer/GalleryNav.mjs +2 -2
- package/es/Image/viewer/ImageViewer.mjs +2 -2
- package/es/Image/viewer/Toolbar.mjs +3 -3
- package/es/Image/viewer/ViewerChrome.mjs +3 -3
- package/es/Image/viewer/registry.d.mts +2 -2
- package/es/Image/viewer/useFlipTransition.mjs +1 -1
- package/es/Image/viewer/useGalleryNav.mjs +1 -1
- package/es/Image/viewer/useRefitTransition.mjs +2 -2
- package/es/Image/viewer/useZoomPan.mjs +2 -2
- package/es/ImageSelect/ImageSelect.mjs +2 -2
- package/es/ImageSelect/type.d.mts +1 -1
- package/es/Img/index.mjs +2 -2
- package/es/Input/ClearButton.mjs +3 -3
- package/es/Input/Input.mjs +3 -3
- package/es/Input/InputNumber.mjs +5 -5
- package/es/Input/InputOTP.mjs +3 -3
- package/es/Input/InputPassword.mjs +3 -3
- package/es/Input/TextArea.mjs +3 -3
- package/es/Input/style.d.mts +1 -1
- package/es/Input/style.mjs +1 -1
- package/es/Input/type.d.mts +1 -1
- package/es/Layout/Layout.mjs +2 -2
- package/es/Layout/components/LayoutFooter.mjs +2 -2
- package/es/Layout/components/LayoutHeader.mjs +2 -2
- package/es/Layout/components/LayoutMain.mjs +2 -2
- package/es/Layout/components/LayoutSidebar.mjs +2 -2
- package/es/Layout/components/LayoutSidebarInner.mjs +2 -2
- package/es/Layout/components/LayoutToc.mjs +1 -1
- package/es/Layout/index.d.mts +1 -1
- package/es/Layout/type.d.mts +1 -1
- package/es/List/List.d.mts +1 -1
- package/es/List/List.mjs +2 -2
- package/es/List/ListRow.d.mts +2 -2
- package/es/List/ListRow.mjs +2 -2
- package/es/List/type.d.mts +1 -1
- package/es/Markdown/Markdown.mjs +4 -3
- package/es/Markdown/Markdown.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/MarkdownRender.mjs +36 -4
- package/es/Markdown/SyntaxMarkdown/MarkdownRender.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +2 -2
- package/es/Markdown/SyntaxMarkdown/parseCache.mjs +154 -0
- package/es/Markdown/SyntaxMarkdown/parseCache.mjs.map +1 -0
- package/es/Markdown/Typography.mjs +2 -2
- package/es/Markdown/components/CodeBlock.mjs +1 -1
- package/es/Markdown/components/Footnotes.mjs +1 -1
- package/es/Markdown/components/MarkdownProvider.mjs +1 -1
- package/es/Markdown/components/MarkdownTable/index.mjs +1 -1
- package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs +2 -2
- package/es/Markdown/components/SearchResultCards/index.d.mts +1 -1
- package/es/Markdown/components/SearchResultCards/index.mjs +2 -2
- package/es/Markdown/plugins/rehypeCustomFootnotes.mjs +1 -1
- package/es/Markdown/plugins/rehypeKatex.mjs +1 -1
- package/es/Markdown/plugins/rehypeKatexDir.mjs +1 -1
- package/es/Markdown/plugins/remarkBr.mjs +1 -1
- package/es/Markdown/plugins/remarkCjkAutolink.mjs +1 -1
- package/es/Markdown/plugins/remarkColor.mjs +1 -1
- package/es/Markdown/plugins/remarkCustomFootnotes.mjs +1 -1
- package/es/Markdown/plugins/remarkGfmPlus.mjs +1 -1
- package/es/Markdown/plugins/remarkVideo.mjs +1 -1
- package/es/Markdown/type.d.mts +11 -4
- package/es/MaskShadow/MaskShadow.mjs +2 -2
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.d.mts +1 -1
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs +2 -2
- package/es/Mermaid/FullFeatured.mjs +3 -3
- package/es/Mermaid/Mermaid.mjs +2 -2
- package/es/Mermaid/SyntaxMermaid/MermaidFallback.mjs +2 -2
- package/es/Mermaid/SyntaxMermaid/MermaidSvg.mjs +2 -2
- package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs +2 -2
- package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs +2 -2
- package/es/Mermaid/SyntaxMermaid/index.mjs +2 -2
- package/es/Mermaid/type.d.mts +1 -1
- package/es/Meta/Meta.mjs +1 -1
- package/es/Modal/Modal.d.mts +1 -1
- package/es/Modal/Modal.mjs +3 -3
- package/es/Modal/atoms.d.mts +2 -2
- package/es/Modal/atoms.mjs +7 -7
- package/es/Modal/imperative.mjs +2 -2
- package/es/Modal/type.d.mts +1 -1
- package/es/MotionProvider/index.d.mts +1 -1
- package/es/Pagination/Pagination.mjs +4 -4
- package/es/Pagination/type.d.mts +1 -1
- package/es/Popover/ArrowIcon.mjs +1 -1
- package/es/Popover/Popover.d.mts +1 -1
- package/es/Popover/Popover.mjs +1 -1
- package/es/Popover/PopoverGroup.d.mts +1 -1
- package/es/Popover/PopoverGroup.mjs +2 -2
- package/es/Popover/PopoverInGroup.mjs +4 -4
- package/es/Popover/PopoverStandalone.mjs +2 -2
- package/es/Popover/atoms.d.mts +3 -3
- package/es/Popover/atoms.mjs +5 -5
- package/es/Popover/groupContext.d.mts +1 -1
- package/es/Popover/type.d.mts +2 -2
- package/es/Popover/useMergedPopoverProps.mjs +1 -1
- package/es/ProTable/ProTable.mjs +2 -2
- package/es/ProTable/hooks/useColumnsState.mjs +1 -1
- package/es/ProTable/hooks/useDensity.mjs +1 -1
- package/es/ProTable/hooks/useFullscreen.mjs +1 -1
- package/es/ProTable/hooks/usePageInfo.mjs +1 -1
- package/es/ProTable/hooks/useProColumns.mjs +2 -2
- package/es/ProTable/hooks/useProLocale.mjs +1 -1
- package/es/ProTable/hooks/useProRequest.mjs +1 -1
- package/es/ProTable/hooks/useSearchForm.mjs +1 -1
- package/es/ProTable/hooks/useTableBindings.mjs +1 -1
- package/es/ProTable/locale.d.mts +1 -1
- package/es/ProTable/parts/ColumnSetting.mjs +1 -1
- package/es/ProTable/parts/FieldControl.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 +2 -2
- package/es/ProTable/parts/ToolbarOptions.mjs +2 -2
- package/es/ProTable/parts/renderValue.mjs +2 -2
- package/es/ProTable/style.mjs +2 -2
- package/es/ProTable/type.d.mts +1 -1
- package/es/Progress/Progress.mjs +4 -4
- package/es/ProgressiveBlur/ProgressiveBlur.mjs +2 -2
- package/es/QRCode/QRCode.mjs +4 -4
- package/es/Radio/Radio.mjs +3 -3
- package/es/Radio/RadioGroup.mjs +3 -3
- package/es/Radio/type.d.mts +3 -3
- package/es/Rate/Rate.mjs +4 -4
- package/es/Result/Result.mjs +3 -3
- package/es/ScrollArea/ScrollArea.d.mts +1 -1
- package/es/ScrollArea/atoms.d.mts +2 -2
- package/es/ScrollArea/atoms.mjs +2 -2
- package/es/ScrollArea/type.d.mts +1 -1
- package/es/ScrollShadow/ScrollShadow.d.mts +1 -1
- package/es/ScrollShadow/ScrollShadow.mjs +2 -2
- package/es/ScrollShadow/type.d.mts +1 -1
- package/es/SearchBar/SearchBar.mjs +4 -4
- package/es/SearchBar/type.d.mts +1 -1
- package/es/Segmented/Segmented.mjs +2 -2
- package/es/Segmented/atoms.d.mts +2 -2
- package/es/Segmented/atoms.mjs +3 -3
- package/es/Segmented/type.d.mts +1 -1
- package/es/Select/Select.mjs +3 -3
- package/es/Select/atoms.d.mts +2 -2
- package/es/Select/atoms.mjs +5 -5
- package/es/Select/hooks.mjs +1 -1
- package/es/Select/parts.mjs +5 -5
- package/es/Select/renderOptions.mjs +3 -3
- package/es/Select/type.d.mts +2 -2
- package/es/SideNav/SideNav.mjs +2 -2
- package/es/SideNav/type.d.mts +1 -1
- package/es/Skeleton/Skeleton.mjs +1 -1
- package/es/Skeleton/SkeletonAvatar.d.mts +1 -1
- package/es/Skeleton/SkeletonAvatar.mjs +1 -1
- package/es/Skeleton/SkeletonText.d.mts +1 -1
- package/es/Skeleton/SkeletonText.mjs +1 -1
- package/es/Skeleton/index.d.mts +1 -1
- package/es/Slider/Slider.mjs +3 -3
- package/es/Slider/SliderWithInput.mjs +4 -4
- package/es/Slider/type.d.mts +2 -2
- package/es/Snippet/Snippet.d.mts +1 -1
- package/es/Snippet/Snippet.mjs +1 -1
- package/es/Snippet/type.d.mts +1 -1
- package/es/SortableList/SortableList.d.mts +1 -1
- package/es/SortableList/SortableList.mjs +5 -5
- package/es/SortableList/components/DragHandle.mjs +3 -3
- package/es/SortableList/components/SortableItem.d.mts +1 -1
- package/es/SortableList/components/SortableItem.mjs +4 -4
- package/es/SortableList/components/SortableOverlay.mjs +1 -1
- package/es/SortableList/type.d.mts +1 -1
- package/es/Spin/NetworkGlyph.mjs +2 -2
- package/es/Spin/Spin.mjs +4 -4
- package/es/Statistic/Statistic.mjs +2 -2
- package/es/Steps/Steps.mjs +3 -3
- package/es/Switch/Switch.mjs +4 -4
- package/es/Switch/atoms.d.mts +1 -1
- package/es/Switch/atoms.mjs +4 -4
- package/es/Switch/type.d.mts +1 -1
- package/es/Table/Column.d.mts +1 -1
- package/es/Table/ColumnGroup.d.mts +1 -1
- package/es/Table/Table.d.mts +1 -1
- package/es/Table/Table.mjs +4 -4
- package/es/Table/atoms/cells.d.mts +1 -1
- package/es/Table/atoms/cells.mjs +1 -1
- package/es/Table/atoms/layout.d.mts +1 -1
- package/es/Table/atoms/layout.mjs +2 -2
- package/es/Table/engine/useTableEngine.mjs +2 -2
- package/es/Table/internal.d.mts +2 -2
- package/es/Table/pipeline/selectionUtils.d.mts +1 -1
- package/es/Table/pipeline/useExpandable.mjs +1 -1
- package/es/Table/pipeline/useFilter.mjs +1 -1
- package/es/Table/pipeline/useSelection.mjs +1 -1
- package/es/Table/pipeline/useSorter.mjs +1 -1
- package/es/Table/pipeline/useTableLocale.mjs +1 -1
- package/es/Table/pipeline/useTableState.mjs +1 -1
- package/es/Table/pipeline/useVirtualLayout.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 +2 -2
- package/es/Table/render/ExpandIcon.mjs +2 -2
- package/es/Table/render/FilterDropdown.mjs +3 -3
- package/es/Table/render/FilterPanel.mjs +4 -4
- package/es/Table/render/FixedFrost.mjs +3 -3
- package/es/Table/render/FixedHolder.mjs +1 -1
- package/es/Table/render/Header.mjs +3 -3
- package/es/Table/render/LoadingSkeleton.mjs +2 -2
- package/es/Table/render/PaginationBar.mjs +2 -2
- package/es/Table/render/SelectionCells.mjs +4 -4
- package/es/Table/render/Summary.d.mts +1 -1
- package/es/Table/render/Summary.mjs +1 -1
- package/es/Table/render/TableView.mjs +2 -2
- package/es/Table/render/VirtualBody.mjs +1 -1
- package/es/Table/render/filterUtils.mjs +1 -1
- package/es/Table/render/useScrollSync.mjs +1 -1
- package/es/Table/render/useViewContexts.mjs +1 -1
- package/es/Table/semantic.mjs +1 -1
- package/es/Table/store/hooks.mjs +1 -1
- package/es/Table/type.d.mts +1 -1
- package/es/Table/useTableController.mjs +1 -1
- package/es/Tabs/Tabs.d.mts +1 -1
- package/es/Tabs/Tabs.mjs +2 -2
- package/es/Tabs/atoms.d.mts +1 -1
- package/es/Tabs/atoms.mjs +3 -3
- package/es/Tabs/style.d.mts +1 -1
- package/es/Tabs/style.mjs +1 -1
- package/es/Tabs/type.d.mts +1 -1
- package/es/Tag/Tag.mjs +3 -3
- package/es/Tag/utils.mjs +1 -1
- package/es/Text/Text.d.mts +1 -1
- package/es/Text/Text.mjs +2 -2
- package/es/Text/style.mjs +1 -1
- package/es/Text/type.d.mts +1 -1
- package/es/Toast/Toast.mjs +4 -4
- package/es/Toast/imperative.mjs +3 -3
- package/es/Toast/type.d.mts +2 -2
- package/es/Toc/Toc.mjs +2 -2
- package/es/Toc/toFlatTocItems.d.mts +1 -1
- package/es/Toc/type.d.mts +1 -1
- package/es/ToggleGroup/ToggleGroup.mjs +2 -2
- package/es/ToggleGroup/atoms.d.mts +3 -3
- package/es/ToggleGroup/atoms.mjs +3 -3
- package/es/Tooltip/ArrowIcon.mjs +1 -1
- package/es/Tooltip/Tooltip.d.mts +1 -1
- package/es/Tooltip/Tooltip.mjs +1 -1
- package/es/Tooltip/TooltipContent.mjs +1 -1
- package/es/Tooltip/TooltipGroup.d.mts +1 -1
- package/es/Tooltip/TooltipGroup.mjs +3 -3
- package/es/Tooltip/TooltipInGroup.mjs +4 -4
- package/es/Tooltip/TooltipStandalone.mjs +4 -4
- package/es/Tooltip/type.d.mts +2 -2
- package/es/Tooltip/useMergedTooltipProps.mjs +1 -1
- package/es/Tree/Tree.mjs +2 -2
- package/es/Tree/TreeNode.mjs +5 -5
- package/es/Tree/type.d.mts +1 -1
- package/es/Upload/Upload.mjs +3 -3
- package/es/Upload/UploadDragger.mjs +2 -2
- package/es/Video/Video.mjs +1 -1
- package/es/Video/index.d.mts +1 -1
- package/es/Video/parts/Caption.mjs +2 -2
- package/es/Video/parts/CenterPlay.mjs +1 -1
- package/es/Video/parts/Controls.mjs +3 -3
- package/es/Video/parts/Frame.mjs +2 -2
- package/es/Video/parts/HoverPreview.mjs +30 -6
- package/es/Video/parts/HoverPreview.mjs.map +1 -1
- package/es/Video/parts/LoadError.mjs +1 -1
- package/es/Video/parts/RateMenu.mjs +2 -2
- package/es/Video/parts/Root.mjs +2 -2
- package/es/Video/parts/SectionList.mjs +1 -1
- package/es/Video/parts/SectionMenu.mjs +2 -2
- package/es/Video/parts/Timeline.mjs +4 -2
- package/es/Video/parts/Timeline.mjs.map +1 -1
- package/es/Video/sizing.mjs +12 -1
- package/es/Video/sizing.mjs.map +1 -1
- package/es/Video/style.mjs +0 -2
- package/es/Video/style.mjs.map +1 -1
- package/es/Video/useVideo.mjs +1 -1
- package/es/awesome/AgentSkillCard/AgentSkillCard.mjs +3 -3
- package/es/awesome/AgentSkillCard/type.d.mts +1 -1
- package/es/awesome/AuroraBackground/AuroraBackground.mjs +2 -2
- package/es/awesome/AuroraBackground/type.d.mts +1 -1
- package/es/awesome/BentoGrid/BentoCard.mjs +2 -2
- package/es/awesome/BentoGrid/BentoGrid.mjs +2 -2
- package/es/awesome/BentoGrid/type.d.mts +1 -1
- package/es/awesome/BottomGradientButton/BottomGradientButton.mjs +2 -2
- package/es/awesome/CodeShowcase/CodeShowcase.mjs +2 -2
- package/es/awesome/CodeShowcase/type.d.mts +1 -1
- package/es/awesome/FeatureGrid/FeatureGrid.mjs +2 -2
- package/es/awesome/FeatureGrid/type.d.mts +1 -1
- package/es/awesome/Features/FeatureItem.mjs +2 -2
- package/es/awesome/Features/Features.mjs +2 -2
- package/es/awesome/Features/type.d.mts +1 -1
- package/es/awesome/FluidGradient/FluidGradient.mjs +2 -2
- package/es/awesome/Giscus/Giscus.mjs +3 -3
- package/es/awesome/Giscus/style.mjs +1 -1
- package/es/awesome/Giscus/type.d.mts +1 -1
- package/es/awesome/GradientButton/GradientButton.mjs +2 -2
- package/es/awesome/Grainient/Grainient.mjs +2 -2
- package/es/awesome/GridBackground/GridBackground.mjs +4 -4
- package/es/awesome/GridBackground/GridShowcase.mjs +2 -2
- package/es/awesome/GridBackground/components/Grid.mjs +2 -2
- package/es/awesome/Hero/Hero.mjs +2 -2
- package/es/awesome/InstallBanner/InstallBanner.mjs +2 -2
- package/es/awesome/InstallBanner/type.d.mts +1 -1
- package/es/awesome/LandingHero/LandingHero.mjs +2 -2
- package/es/awesome/LandingHero/type.d.mts +1 -1
- package/es/awesome/LandingSection/LandingSection.mjs +2 -2
- package/es/awesome/LandingSection/type.d.mts +1 -1
- package/es/awesome/LogoMarquee/LogoMarquee.mjs +2 -2
- package/es/awesome/LogoMarquee/type.d.mts +1 -1
- package/es/awesome/Spotlight/Spotlight.mjs +2 -2
- package/es/awesome/SpotlightCard/SpotlightCard.mjs +2 -2
- package/es/awesome/SpotlightCard/SpotlightCardItem.mjs +1 -1
- package/es/awesome/SpotlightCard/type.d.mts +1 -1
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs +2 -2
- package/es/awesome/landingActions.d.mts +1 -1
- package/es/awesome/landingActions.mjs +2 -2
- package/es/brand/BrandLoading/index.d.mts +1 -1
- package/es/brand/BrandLoading/index.mjs +1 -1
- package/es/brand/LobeChat/index.d.mts +1 -1
- package/es/brand/LobeChat/index.mjs +2 -2
- package/es/brand/LobeChatText/index.d.mts +1 -1
- package/es/brand/LobeChatText/index.mjs +1 -1
- package/es/brand/LobeHub/index.d.mts +1 -1
- package/es/brand/LobeHub/index.mjs +2 -2
- package/es/brand/LobeHubText/index.d.mts +1 -1
- package/es/brand/LobeHubText/index.mjs +1 -1
- package/es/brand/Logo3d/index.d.mts +1 -1
- package/es/brand/Logo3d/index.mjs +1 -1
- package/es/chat/BackBottom/BackBottom.mjs +3 -3
- package/es/chat/BackBottom/type.d.mts +1 -1
- package/es/chat/ChatHeader/ChatHeader.mjs +3 -3
- package/es/chat/ChatHeader/ChatHeaderTitle.d.mts +1 -1
- package/es/chat/ChatHeader/index.d.mts +1 -1
- package/es/chat/ChatHeader/type.d.mts +1 -1
- package/es/chat/ChatInputArea/ChatInputArea.mjs +2 -2
- package/es/chat/ChatInputArea/components/ChatInputActionBar.d.mts +1 -1
- package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs +1 -1
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.mjs +1 -1
- package/es/chat/ChatInputArea/components/ChatSendButton.d.mts +1 -1
- package/es/chat/ChatInputArea/components/ChatSendButton.mjs +2 -2
- package/es/chat/ChatInputArea/index.d.mts +1 -1
- package/es/chat/ChatInputArea/type.d.mts +1 -1
- package/es/chat/ChatItem/ChatItem.mjs +2 -2
- package/es/chat/ChatItem/components/Actions.mjs +1 -1
- package/es/chat/ChatItem/components/Avatar.mjs +1 -1
- package/es/chat/ChatItem/components/Loading.mjs +1 -1
- package/es/chat/ChatItem/components/MessageContent.mjs +2 -2
- package/es/chat/ChatItem/type.d.mts +1 -1
- package/es/chat/ChatList/ChatList.mjs +2 -2
- package/es/chat/ChatList/components/ChatActionsBar.d.mts +1 -1
- package/es/chat/ChatList/components/ChatActionsBar.mjs +1 -1
- package/es/chat/ChatList/components/ChatListItem.mjs +1 -1
- package/es/chat/ChatList/components/HistoryDivider.mjs +1 -1
- package/es/chat/ChatList/components/useChatListActionsBar.mjs +1 -1
- package/es/chat/ChatList/type.d.mts +1 -1
- package/es/chat/EditableMessage/EditableMessage.mjs +2 -2
- package/es/chat/EditableMessage/type.d.mts +1 -1
- package/es/chat/EditableMessageList/EditableMessageList.mjs +4 -4
- package/es/chat/EditableMessageList/type.d.mts +1 -1
- package/es/chat/LoadingDots/LoadingDots.d.mts +1 -1
- package/es/chat/LoadingDots/LoadingDots.mjs +2 -2
- package/es/chat/MessageInput/MessageInput.mjs +3 -3
- package/es/chat/MessageInput/type.d.mts +1 -1
- package/es/chat/MessageModal/MessageModal.mjs +2 -2
- package/es/chat/MessageModal/type.d.mts +1 -1
- package/es/chat/TokenTag/TokenTag.d.mts +1 -1
- package/es/chat/TokenTag/TokenTag.mjs +2 -2
- package/es/color/ColorScales/ScaleRow.mjs +2 -2
- package/es/color/ColorScales/index.d.mts +1 -1
- package/es/color/ColorScales/index.mjs +3 -3
- package/es/color/CssVar/ScaleRow.mjs +2 -2
- package/es/color/CssVar/VarRow.mjs +2 -2
- package/es/color/CssVar/index.d.mts +1 -1
- package/es/color/CssVar/index.mjs +3 -3
- package/es/css/Markdown.css +0 -4
- package/es/css/Video.css +0 -4
- package/es/css/chat/ChatItem.css +0 -4
- package/es/css/chat/ChatList.css +0 -4
- package/es/css/chat/EditableMessage.css +0 -4
- package/es/css/chat/MessageModal.css +0 -4
- package/es/css/mdx/Mdx.css +0 -4
- package/es/css/mdx/mdxComponents.css +0 -4
- package/es/dashboard/AuthLayout/Aside.mjs +1 -1
- package/es/dashboard/AuthLayout/AuthLayout.mjs +2 -2
- package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs +2 -2
- package/es/dashboard/AuthTools/AuthThemeSwitch.mjs +2 -2
- package/es/dashboard/Breadcrumb/Breadcrumb.mjs +1 -1
- package/es/dashboard/ChartGrid/ChartGrid.mjs +1 -1
- package/es/dashboard/ConsoleNav/ConsoleNav.mjs +4 -4
- package/es/dashboard/ConsoleNav/Skeleton.mjs +1 -1
- package/es/dashboard/ConsoleNav/type.d.mts +1 -1
- package/es/dashboard/ConsoleShell/ConsoleBrand.mjs +1 -1
- package/es/dashboard/ConsoleShell/ConsoleShell.mjs +3 -3
- package/es/dashboard/FilterSidebar/FilterSidebar.mjs +3 -3
- package/es/dashboard/FilterStrip/FilterStrip.mjs +2 -2
- package/es/dashboard/LabelWithKey/LabelWithKey.mjs +1 -1
- package/es/dashboard/LabelWithKey/type.d.mts +1 -1
- package/es/dashboard/MetricStrip/MetricCell.mjs +1 -1
- package/es/dashboard/MetricStrip/MetricStrip.mjs +2 -2
- package/es/dashboard/MetricStrip/type.d.mts +1 -1
- package/es/dashboard/PageHeader/PageHeader.mjs +1 -1
- package/es/dashboard/PageSkeleton/PageSkeleton.mjs +1 -1
- package/es/dashboard/PageTabs/PageTabs.mjs +1 -1
- package/es/dashboard/PageToolbar/PageToolbar.mjs +1 -1
- package/es/dashboard/PanelSurface/PanelSurface.mjs +1 -1
- package/es/dashboard/PanelSurface/type.d.mts +1 -1
- package/es/dashboard/RouteProgress/RouteProgress.mjs +2 -2
- package/es/dashboard/Section/Section.mjs +2 -2
- package/es/dashboard/Section/type.d.mts +1 -1
- package/es/dashboard/StatCard/StatCard.mjs +1 -1
- package/es/dashboard/StatCard/type.d.mts +1 -1
- package/es/dashboard/Surface/Surface.mjs +2 -2
- package/es/dashboard/Surface/link.d.mts +2 -2
- package/es/dashboard/Surface/link.mjs +2 -2
- package/es/dashboard/TableIconActions/TableIconActions.mjs +1 -1
- package/es/dashboard/TableIconActions/type.d.mts +1 -1
- package/es/dashboard/TitleWithTips/TitleWithTips.mjs +2 -2
- package/es/hooks/useControlledState.mjs +1 -1
- package/es/hooks/useHighlight.mjs +1 -1
- package/es/hooks/useMarkdown/useMarkdownComponents.mjs +1 -1
- package/es/hooks/useMarkdown/useMarkdownContent.mjs +1 -1
- package/es/hooks/useMarkdown/useMarkdownRehypePlugins.mjs +4 -4
- package/es/hooks/useMarkdown/useMarkdownRemarkPlugins.mjs +5 -5
- package/es/hooks/useMermaid.mjs +1 -1
- package/es/hooks/useStableValue.mjs +1 -1
- package/es/hooks/useStreamHighlight.mjs +1 -1
- package/es/hooks/useStreamMermaid.mjs +1 -1
- package/es/i18n/context.d.mts +1 -1
- package/es/i18n/context.mjs +1 -1
- package/es/i18n/useTranslation.mjs +1 -1
- package/es/icons/Auth0/components/Avatar.d.mts +1 -1
- package/es/icons/Auth0/components/Avatar.mjs +1 -1
- package/es/icons/Auth0/components/Mono.mjs +1 -1
- package/es/icons/Authelia/components/Avatar.d.mts +1 -1
- package/es/icons/Authelia/components/Avatar.mjs +1 -1
- package/es/icons/Authelia/components/Color.mjs +2 -2
- package/es/icons/Authelia/components/Mono.mjs +1 -1
- package/es/icons/Authentik/components/Avatar.d.mts +1 -1
- package/es/icons/Authentik/components/Avatar.mjs +1 -1
- package/es/icons/Authentik/components/Color.mjs +1 -1
- package/es/icons/Authentik/components/Mono.mjs +1 -1
- package/es/icons/Casdoor/components/Avatar.d.mts +1 -1
- package/es/icons/Casdoor/components/Avatar.mjs +1 -1
- package/es/icons/Casdoor/components/Color.mjs +2 -2
- package/es/icons/Casdoor/components/Mono.mjs +1 -1
- package/es/icons/Clerk/components/Avatar.d.mts +1 -1
- package/es/icons/Clerk/components/Avatar.mjs +1 -1
- package/es/icons/Clerk/components/Color.mjs +1 -1
- package/es/icons/Clerk/components/Mono.mjs +1 -1
- package/es/icons/DingTalk/components/Avatar.d.mts +1 -1
- package/es/icons/DingTalk/components/Avatar.mjs +1 -1
- package/es/icons/DingTalk/components/Color.mjs +1 -1
- package/es/icons/DingTalk/components/Mono.mjs +1 -1
- package/es/icons/Discord/components/Avatar.d.mts +1 -1
- package/es/icons/Discord/components/Avatar.mjs +1 -1
- package/es/icons/Discord/components/Color.mjs +1 -1
- package/es/icons/Discord/components/Mono.mjs +1 -1
- package/es/icons/GoogleChat/components/Avatar.d.mts +1 -1
- package/es/icons/GoogleChat/components/Avatar.mjs +1 -1
- package/es/icons/GoogleChat/components/Color.mjs +1 -1
- package/es/icons/GoogleChat/components/Mono.mjs +1 -1
- package/es/icons/IMessage/components/Avatar.d.mts +1 -1
- package/es/icons/IMessage/components/Avatar.mjs +1 -1
- package/es/icons/IMessage/components/Color.mjs +1 -1
- package/es/icons/IMessage/components/Inner.mjs +1 -1
- package/es/icons/IMessage/components/Mono.mjs +1 -1
- package/es/icons/Lark/components/Avatar.d.mts +1 -1
- package/es/icons/Lark/components/Avatar.mjs +1 -1
- package/es/icons/Lark/components/Color.mjs +1 -1
- package/es/icons/Lark/components/Mono.mjs +1 -1
- package/es/icons/Line/components/Avatar.d.mts +1 -1
- package/es/icons/Line/components/Avatar.mjs +1 -1
- package/es/icons/Line/components/Color.mjs +1 -1
- package/es/icons/Line/components/Mono.mjs +1 -1
- package/es/icons/Logto/components/Avatar.d.mts +1 -1
- package/es/icons/Logto/components/Avatar.mjs +1 -1
- package/es/icons/Logto/components/Color.mjs +2 -2
- package/es/icons/Logto/components/Mono.mjs +1 -1
- package/es/icons/MicrosoftEntra/components/Avatar.d.mts +1 -1
- package/es/icons/MicrosoftEntra/components/Avatar.mjs +1 -1
- package/es/icons/MicrosoftEntra/components/Color.mjs +1 -1
- package/es/icons/MicrosoftEntra/components/Mono.mjs +1 -1
- package/es/icons/MicrosoftTeams/components/Avatar.d.mts +1 -1
- package/es/icons/MicrosoftTeams/components/Avatar.mjs +1 -1
- package/es/icons/MicrosoftTeams/components/Color.mjs +1 -1
- package/es/icons/MicrosoftTeams/components/Mono.mjs +1 -1
- package/es/icons/NextAuth/components/Avatar.d.mts +1 -1
- package/es/icons/NextAuth/components/Avatar.mjs +1 -1
- package/es/icons/NextAuth/components/Color.mjs +2 -2
- package/es/icons/NextAuth/components/Mono.mjs +1 -1
- package/es/icons/QQ/components/Avatar.d.mts +1 -1
- package/es/icons/QQ/components/Avatar.mjs +1 -1
- package/es/icons/Slack/components/Avatar.d.mts +1 -1
- package/es/icons/Slack/components/Avatar.mjs +1 -1
- package/es/icons/Slack/components/Color.mjs +1 -1
- package/es/icons/Slack/components/Mono.mjs +1 -1
- package/es/icons/Telegram/components/Avatar.d.mts +1 -1
- package/es/icons/Telegram/components/Avatar.mjs +1 -1
- package/es/icons/Telegram/components/Color.mjs +1 -1
- package/es/icons/Telegram/components/Inner.mjs +1 -1
- package/es/icons/Telegram/components/Mono.mjs +1 -1
- package/es/icons/WeChat/components/Avatar.d.mts +1 -1
- package/es/icons/WeChat/components/Avatar.mjs +1 -1
- package/es/icons/WeChat/components/Color.mjs +1 -1
- package/es/icons/WeChat/components/Mono.mjs +1 -1
- package/es/icons/WeCom/components/Avatar.d.mts +1 -1
- package/es/icons/WeCom/components/Avatar.mjs +1 -1
- package/es/icons/WeCom/components/Color.mjs +1 -1
- package/es/icons/WeCom/components/Mono.mjs +1 -1
- package/es/icons/WhatsApp/components/Avatar.d.mts +1 -1
- package/es/icons/WhatsApp/components/Avatar.mjs +1 -1
- package/es/icons/WhatsApp/components/Color.mjs +1 -1
- package/es/icons/WhatsApp/components/Mono.mjs +1 -1
- package/es/icons/Zitadel/components/Avatar.d.mts +1 -1
- package/es/icons/Zitadel/components/Avatar.mjs +1 -1
- package/es/icons/Zitadel/components/Color.mjs +2 -2
- package/es/icons/Zitadel/components/Mono.mjs +1 -1
- package/es/internal/menu/baseItem.d.mts +2 -2
- package/es/internal/menu/checkboxItem.d.mts +1 -1
- package/es/internal/menu/renderUtils.d.mts +1 -1
- package/es/internal/menu/renderUtils.mjs +1 -1
- package/es/internal/menu/switchItem.d.mts +1 -1
- package/es/internal/menu/type.d.mts +1 -1
- package/es/internal/virtual/MenuVirtualList.d.mts +2 -2
- package/es/internal/virtual/VirtualScrollArea.d.mts +2 -2
- package/es/internal/virtual/VirtualScrollArea.mjs +2 -2
- package/es/internal/virtual/useMenuVirtualList.d.mts +2 -2
- package/es/internal/virtual/useMenuVirtualList.mjs +1 -1
- package/es/internal/zIndex/useLayerZIndex.mjs +1 -1
- package/es/mdx/Callout/index.d.mts +1 -1
- package/es/mdx/Callout/index.mjs +2 -2
- package/es/mdx/Cards/Card.d.mts +1 -1
- package/es/mdx/Cards/Card.mjs +1 -1
- package/es/mdx/Cards/index.d.mts +1 -1
- package/es/mdx/Cards/index.mjs +1 -1
- package/es/mdx/FileTree/File.d.mts +1 -1
- package/es/mdx/FileTree/File.mjs +2 -2
- package/es/mdx/FileTree/Folder.d.mts +1 -1
- package/es/mdx/FileTree/Folder.mjs +3 -3
- package/es/mdx/FileTree/index.d.mts +1 -1
- package/es/mdx/FileTree/index.mjs +1 -1
- package/es/mdx/Mdx/index.d.mts +1 -1
- package/es/mdx/Mdx/index.mjs +8 -8
- package/es/mdx/Steps/index.d.mts +1 -1
- package/es/mdx/Steps/index.mjs +1 -1
- package/es/mdx/Tabs/Tab.d.mts +1 -1
- package/es/mdx/Tabs/Tab.mjs +1 -1
- package/es/mdx/Tabs/index.d.mts +1 -1
- package/es/mdx/Tabs/index.mjs +2 -2
- package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs +3 -3
- package/es/mdx/mdxComponents/Citation/index.mjs +1 -1
- package/es/mdx/mdxComponents/CodeBlock.d.mts +1 -1
- package/es/mdx/mdxComponents/Image.d.mts +1 -1
- package/es/mdx/mdxComponents/Image.mjs +1 -1
- package/es/mdx/mdxComponents/Link.d.mts +1 -1
- package/es/mdx/mdxComponents/Link.mjs +1 -1
- package/es/mdx/mdxComponents/Pre.d.mts +1 -1
- package/es/mdx/mdxComponents/Pre.mjs +1 -1
- package/es/mdx/mdxComponents/Video.d.mts +1 -1
- package/es/mdx/mdxComponents/Video.mjs +1 -1
- package/es/mobile/ChatHeader/ChatHeader.mjs +3 -3
- package/es/mobile/ChatHeader/ChatHeaderTitle.mjs +1 -1
- package/es/mobile/ChatHeader/index.d.mts +1 -1
- package/es/mobile/ChatHeader/type.d.mts +1 -1
- package/es/mobile/ChatInputArea/ChatInputArea.mjs +3 -3
- package/es/mobile/ChatInputArea/components/ChatSendButton.mjs +3 -3
- package/es/mobile/ChatInputArea/index.d.mts +1 -1
- package/es/mobile/ChatInputArea/type.d.mts +1 -1
- package/es/mobile/SafeArea/SafeArea.d.mts +1 -1
- package/es/mobile/SafeArea/SafeArea.mjs +1 -1
- package/es/mobile/TabBar/TabBar.mjs +2 -2
- package/es/mobile/TabBar/type.d.mts +1 -1
- package/es/spline/LogoThree/Loading.mjs +1 -1
- package/es/spline/LogoThree/LogoSpline.d.mts +1 -1
- package/es/spline/LogoThree/LogoSpline.mjs +1 -1
- package/es/spline/LogoThree/index.d.mts +1 -1
- package/es/spline/LogoThree/index.mjs +1 -1
- package/es/spline/Spline/ParentSize.mjs +2 -2
- package/es/spline/Spline/Spine.mjs +1 -1
- package/es/spline/Spline/type.d.mts +1 -1
- package/es/storybook/StoryBook/index.d.mts +1 -1
- package/es/storybook/StoryBook/index.mjs +3 -3
- package/es/style.css +0 -4
- package/es/styles/createGlobalStyle.d.mts +1 -1
- package/es/styles/createGlobalStyle.mjs +1 -1
- package/es/styles/css.d.mts +1 -1
- package/es/styles/css.mjs +1 -1
- package/es/styles/stylex/props.d.mts +2 -2
- package/es/styles/stylex/props.mjs +1 -1
- package/es/styles/theme/customNeutral.mjs +1 -1
- package/es/styles/theme/customPrimary.mjs +1 -1
- package/es/styles/theme/customToken.mjs +1 -1
- package/es/styles/theme/scope.d.mts +1 -1
- package/es/styles/theme/scope.mjs +2 -2
- package/es/types/index.d.mts +1 -1
- package/es/utils/hashString.mjs +8 -8
- package/package.json +6 -1
- package/es/node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.mjs +0 -289
- package/es/node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.mjs.map +0 -1
package/es/Form/Form.mjs
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { Form as Form$1 } from "@base-ui/react/form";
|
|
3
|
+
import clsx$1 from "clsx";
|
|
4
|
+
import { isUndefined } from "es-toolkit/compat";
|
|
5
|
+
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
2
6
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
7
|
import { useResponsive } from "../styles/theme/scope.mjs";
|
|
4
8
|
import { toDataAttributes } from "../utils/bem.mjs";
|
|
@@ -9,11 +13,7 @@ import { FormContext } from "./context.mjs";
|
|
|
9
13
|
import { formMarker } from "./marker.stylex.mjs";
|
|
10
14
|
import { formClasses } from "./stable.mjs";
|
|
11
15
|
import { rootStyles } from "./style.mjs";
|
|
12
|
-
import clsx$1 from "clsx";
|
|
13
|
-
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
14
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
import { isUndefined } from "es-toolkit/compat";
|
|
16
|
-
import { Form as Form$1 } from "@base-ui/react/form";
|
|
17
17
|
// src/Form/Form.tsx
|
|
18
18
|
const serializeForm = (form) => {
|
|
19
19
|
if (!form) return "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
2
3
|
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
3
4
|
import { useFormClasses } from "../stableContext.mjs";
|
|
4
5
|
import { dividerStyles } from "../style.mjs";
|
|
5
|
-
import clsx$1 from "clsx";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
// src/Form/components/FormDivider.tsx
|
|
8
8
|
const FormDivider = ({ visible = true, style, className, ...rest }) => {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { Field } from "@base-ui/react/field";
|
|
3
|
+
import clsx$1 from "clsx";
|
|
4
|
+
import { cloneElement, isValidElement, memo, useMemo } from "react";
|
|
2
5
|
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
3
6
|
import { useResponsive } from "../../styles/theme/scope.mjs";
|
|
4
7
|
import { useFormContext } from "../context.mjs";
|
|
@@ -6,10 +9,7 @@ import { useFormClasses } from "../stableContext.mjs";
|
|
|
6
9
|
import { fieldLayoutStyles, fieldStyles } from "../style.mjs";
|
|
7
10
|
import FormDivider from "./FormDivider.mjs";
|
|
8
11
|
import FormTitle from "./FormTitle.mjs";
|
|
9
|
-
import clsx$1 from "clsx";
|
|
10
|
-
import { cloneElement, isValidElement, memo, useMemo } from "react";
|
|
11
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import { Field } from "@base-ui/react/field";
|
|
13
13
|
// src/Form/components/FormField.tsx
|
|
14
14
|
const FormField = memo(({ avatar, children, className, desc, divider, hidden, label, layout, minWidth, name, required, style, tag, variant, ...rest }) => {
|
|
15
15
|
const formClasses = useFormClasses();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { memo } from "react";
|
|
2
4
|
import FlexBasic_default from "../../Flex/FlexBasic.mjs";
|
|
3
5
|
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
4
6
|
import { stylish } from "../../styles/stylex/stylish.mjs";
|
|
5
7
|
import { useResponsive } from "../../styles/theme/scope.mjs";
|
|
6
8
|
import { useFormClasses } from "../stableContext.mjs";
|
|
7
9
|
import { flatGroupStyles } from "../style.mjs";
|
|
8
|
-
import clsx$1 from "clsx";
|
|
9
|
-
import { memo } from "react";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
// src/Form/components/FormFlatGroup.tsx
|
|
12
12
|
const variantStyles = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
2
3
|
import FlexBasic_default from "../../Flex/FlexBasic.mjs";
|
|
3
4
|
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
4
5
|
import { useFormClasses } from "../stableContext.mjs";
|
|
5
6
|
import { footerStyles } from "../style.mjs";
|
|
6
|
-
import clsx$1 from "clsx";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
// src/Form/components/FormFooter.tsx
|
|
9
9
|
const FormFooter = ({ className, children, style, ...rest }) => {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { Collapsible } from "@base-ui/react/collapsible";
|
|
3
|
+
import * as stylex from "@stylexjs/stylex";
|
|
4
|
+
import clsx$1 from "clsx";
|
|
5
|
+
import { ChevronDown } from "lucide-react";
|
|
6
|
+
import { memo } from "react";
|
|
2
7
|
import Icon from "../../Icon/Icon.mjs";
|
|
3
8
|
import { focusRing } from "../../styles/stylex/focusRing.mjs";
|
|
4
9
|
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
@@ -7,12 +12,7 @@ import { useResponsive, useThemeMode } from "../../styles/theme/scope.mjs";
|
|
|
7
12
|
import { formGroupTriggerMarker } from "../marker.stylex.mjs";
|
|
8
13
|
import { useFormClasses } from "../stableContext.mjs";
|
|
9
14
|
import { groupStyles } from "../style.mjs";
|
|
10
|
-
import clsx$1 from "clsx";
|
|
11
|
-
import { memo } from "react";
|
|
12
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import * as stylex from "@stylexjs/stylex";
|
|
14
|
-
import { ChevronDown } from "lucide-react";
|
|
15
|
-
import { Collapsible } from "@base-ui/react/collapsible";
|
|
16
16
|
// src/Form/components/FormGroup.tsx
|
|
17
17
|
const GroupTitle = memo(({ icon, title, desc, variant, mobile }) => {
|
|
18
18
|
const formClasses = useFormClasses();
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import * as stylex from "@stylexjs/stylex";
|
|
3
|
+
import clsx$1 from "clsx";
|
|
4
|
+
import { InfoIcon } from "lucide-react";
|
|
5
|
+
import { memo, useEffect } from "react";
|
|
2
6
|
import Button from "../../Button/Button.mjs";
|
|
3
7
|
import FlexBasic_default from "../../Flex/FlexBasic.mjs";
|
|
4
8
|
import form_default from "../../i18n/resources/en/form.mjs";
|
|
@@ -10,11 +14,7 @@ import { styleProps } from "../../styles/stylex/props.mjs";
|
|
|
10
14
|
import { useFormContext } from "../context.mjs";
|
|
11
15
|
import { useFormClasses } from "../stableContext.mjs";
|
|
12
16
|
import { submitFooterStyles } from "../style.mjs";
|
|
13
|
-
import clsx$1 from "clsx";
|
|
14
|
-
import { memo, useEffect } from "react";
|
|
15
17
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
import * as stylex from "@stylexjs/stylex";
|
|
17
|
-
import { InfoIcon } from "lucide-react";
|
|
18
18
|
// src/Form/components/FormSubmitFooter.tsx
|
|
19
19
|
const FormSubmitFooter = memo(({ enableReset = true, buttonProps, float, onReset, saveButtonProps, resetButtonProps, enableUnsavedWarning, children, texts, className, style, ...rest }) => {
|
|
20
20
|
const formClasses = useFormClasses();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
2
3
|
import FlexBasic_default from "../../Flex/FlexBasic.mjs";
|
|
3
4
|
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
4
5
|
import Tag from "../../Tag/Tag.mjs";
|
|
5
6
|
import { useFormClasses } from "../stableContext.mjs";
|
|
6
7
|
import { titleStyles } from "../style.mjs";
|
|
7
|
-
import clsx$1 from "clsx";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
// src/Form/components/FormTitle.tsx
|
|
10
10
|
const FormTitle = ({ tag, title, desc, avatar, classNames, styles: customStyles, tagProps, ...rest }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { formClasses } from "./stable.mjs";
|
|
2
1
|
import { createContext, use } from "react";
|
|
2
|
+
import { formClasses } from "./stable.mjs";
|
|
3
3
|
// src/Form/stableContext.ts
|
|
4
4
|
const FormClassesContext = createContext(formClasses);
|
|
5
5
|
const useFormClasses = () => use(FormClassesContext);
|
package/es/Form/type.d.mts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { FlexboxProps } from "../Flex/type.mjs";
|
|
2
|
+
import { Field } from "@base-ui/react/field";
|
|
3
|
+
import { Form } from "@base-ui/react/form";
|
|
4
|
+
import { CSSProperties, ComponentProps, ReactNode, Ref } from "react";
|
|
2
5
|
import "../Button/index.mjs";
|
|
3
6
|
import "../Flex/index.mjs";
|
|
4
7
|
import { IconProps } from "../Icon/type.mjs";
|
|
@@ -7,9 +10,6 @@ import { ButtonProps } from "../Button/type.mjs";
|
|
|
7
10
|
import "../Tag/index.mjs";
|
|
8
11
|
import { TagProps } from "../Tag/type.mjs";
|
|
9
12
|
import { DivProps } from "../types/index.mjs";
|
|
10
|
-
import { CSSProperties, ComponentProps, ReactNode, Ref } from "react";
|
|
11
|
-
import { Field } from "@base-ui/react/field";
|
|
12
|
-
import { Form } from "@base-ui/react/form";
|
|
13
13
|
export type FormVariant = 'filled' | 'outlined' | 'borderless';
|
|
14
14
|
export type FormLayout = 'horizontal' | 'vertical';
|
|
15
15
|
export type ItemsType = 'group' | 'flat';
|
package/es/FormKit/Field.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormFieldProps, FormValues } from "./type.mjs";
|
|
2
1
|
import { ReactNode } from "react";
|
|
2
|
+
import { FormFieldProps, FormValues } from "./type.mjs";
|
|
3
3
|
declare const _default: (<T extends FormValues = FormValues>(props: FormFieldProps<T>) => ReactNode) & {
|
|
4
4
|
displayName?: string;
|
|
5
5
|
};
|
package/es/FormKit/Field.mjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { cloneElement, isValidElement, memo, useCallback, useEffect, useId, useRef } from "react";
|
|
2
4
|
import form_default from "../i18n/resources/en/form.mjs";
|
|
3
5
|
import { useTranslation } from "../i18n/useTranslation.mjs";
|
|
4
6
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
@@ -13,8 +15,6 @@ import { toFieldValidator } from "./schema.mjs";
|
|
|
13
15
|
import { formKitClasses } from "./stable.mjs";
|
|
14
16
|
import { fieldKitStyles } from "./style.mjs";
|
|
15
17
|
import { useStoreSelector } from "./useStoreSelector.mjs";
|
|
16
|
-
import clsx$1 from "clsx";
|
|
17
|
-
import { cloneElement, isValidElement, memo, useCallback, useEffect, useId, useRef } from "react";
|
|
18
18
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
19
19
|
// src/FormKit/Field.tsx
|
|
20
20
|
const isEmpty = (value) => value === void 0 || value === null || value === "" || Array.isArray(value) && value.length === 0;
|
package/es/FormKit/Form.mjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { useCallback, useMemo, useRef } from "react";
|
|
2
4
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
3
5
|
import { useResponsive } from "../styles/theme/scope.mjs";
|
|
4
6
|
import { toDataAttributes } from "../utils/bem.mjs";
|
|
@@ -10,8 +12,6 @@ import { rootStyles } from "../Form/style.mjs";
|
|
|
10
12
|
import { FormKitContext } from "./context.mjs";
|
|
11
13
|
import FormField from "./Field.mjs";
|
|
12
14
|
import { formKitClasses } from "./stable.mjs";
|
|
13
|
-
import clsx$1 from "clsx";
|
|
14
|
-
import { useCallback, useMemo, useRef } from "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
// src/FormKit/Form.tsx
|
|
17
17
|
const focusFirstInvalid = (root) => {
|
package/es/FormKit/List.d.mts
CHANGED
package/es/FormKit/List.mjs
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import * as stylex from "@stylexjs/stylex";
|
|
3
|
+
import clsx$1 from "clsx";
|
|
4
|
+
import { PlusIcon, XIcon } from "lucide-react";
|
|
5
|
+
import { cloneElement, memo, useCallback, useRef } from "react";
|
|
2
6
|
import ActionIcon from "../ActionIcon/ActionIcon.mjs";
|
|
3
7
|
import form_default from "../i18n/resources/en/form.mjs";
|
|
4
8
|
import { useTranslation } from "../i18n/useTranslation.mjs";
|
|
@@ -9,11 +13,7 @@ import { getInternals } from "./instance.mjs";
|
|
|
9
13
|
import { formKitClasses } from "./stable.mjs";
|
|
10
14
|
import { listStyles } from "./style.mjs";
|
|
11
15
|
import { useStoreSelector } from "./useStoreSelector.mjs";
|
|
12
|
-
import clsx$1 from "clsx";
|
|
13
|
-
import { cloneElement, memo, useCallback, useRef } from "react";
|
|
14
16
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
import * as stylex from "@stylexjs/stylex";
|
|
16
|
-
import { PlusIcon, XIcon } from "lucide-react";
|
|
17
17
|
// src/FormKit/List.tsx
|
|
18
18
|
let rowSeed = 0;
|
|
19
19
|
const nextRowKey = () => `row-${rowSeed += 1}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { memo, useMemo } from "react";
|
|
2
3
|
import FormSubmitFooter from "../Form/components/FormSubmitFooter.mjs";
|
|
3
4
|
import { FormContext } from "../Form/context.mjs";
|
|
4
5
|
import { useFormKitContext } from "./context.mjs";
|
|
5
6
|
import { getInternals } from "./instance.mjs";
|
|
6
7
|
import { useStoreSelector } from "./useStoreSelector.mjs";
|
|
7
|
-
import { memo, useMemo } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
// src/FormKit/SubmitFooter.tsx
|
|
10
10
|
const SubmitFooter = memo((props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isEqual } from "es-toolkit/compat";
|
|
2
1
|
import { FormApi, getBy, setBy } from "@tanstack/form-core";
|
|
2
|
+
import { isEqual } from "es-toolkit/compat";
|
|
3
3
|
// src/FormKit/engine/tanstack.ts
|
|
4
4
|
const toEnginePath = (path) => path.replaceAll(/\.(\d+)(?=\.|$)/g, "[$1]");
|
|
5
5
|
const isSameOrNested = (a, b) => a === b || a.startsWith(`${b}.`) || b.startsWith(`${a}.`);
|
package/es/FormKit/type.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/type.mjs";
|
|
2
|
+
import { CSSProperties, FormHTMLAttributes, ReactElement, ReactNode, Ref } from "react";
|
|
2
3
|
import "../Icon/index.mjs";
|
|
3
4
|
import { FormLayout, FormVariant } from "../Form/type.mjs";
|
|
4
5
|
import { ValidateOn } from "./engine/types.mjs";
|
|
5
6
|
import { FieldValidate, StandardSchema } from "./schema.mjs";
|
|
6
|
-
import { CSSProperties, FormHTMLAttributes, ReactElement, ReactNode, Ref } from "react";
|
|
7
7
|
type Depth = [never, 0, 1, 2, 3, 4, 5];
|
|
8
8
|
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
9
9
|
export type FieldPath<T, D extends number = 6> = [D] extends [never] ? string : IsAny<T> extends true ? string : T extends readonly (infer U)[] ? `${number}` | `${number}.${FieldPath<U, Depth[D]>}` : T extends object ? { [K in keyof T & string]: K | (NonNullable<T[K]> extends object ? `${K}.${FieldPath<NonNullable<T[K]>, Depth[D]>}` : never); }[keyof T & string] : never;
|
package/es/FormKit/useForm.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { createFormInstance, getIn, getInternals, leafPaths, setIn } from "./instance.mjs";
|
|
3
2
|
import { useEffect, useRef, useState } from "react";
|
|
3
|
+
import { createFormInstance, getIn, getInternals, leafPaths, setIn } from "./instance.mjs";
|
|
4
4
|
// src/FormKit/useForm.ts
|
|
5
5
|
function useForm(options = {}) {
|
|
6
6
|
const [form] = useState(() => createFormInstance({
|
package/es/Grid/Grid.d.mts
CHANGED
package/es/Grid/Grid.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { isString } from "es-toolkit/compat";
|
|
4
|
+
import { useMemo } from "react";
|
|
2
5
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
3
6
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
7
|
import { gridClasses } from "./stable.mjs";
|
|
5
8
|
import { styles } from "./style.mjs";
|
|
6
|
-
import clsx$1 from "clsx";
|
|
7
|
-
import { useMemo } from "react";
|
|
8
9
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
import { isString } from "es-toolkit/compat";
|
|
10
10
|
// src/Grid/Grid.tsx
|
|
11
11
|
const Grid = ({ className, gap = "1em", rows = 3, children, maxItemWidth = 240, ref, style, ...rest }) => {
|
|
12
12
|
const cssVariables = useMemo(() => {
|
package/es/Grid/type.d.mts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { useMemo } from "react";
|
|
2
4
|
import Avatar from "../Avatar/index.mjs";
|
|
3
5
|
import { BlockImpl } from "../Block/Block.mjs";
|
|
4
6
|
import Grid from "../Grid/Grid.mjs";
|
|
@@ -6,8 +8,6 @@ import { toDataAttributes } from "../utils/bem.mjs";
|
|
|
6
8
|
import { SMOOTH_CORNER_MASKS } from "../utils/smoothCorners.mjs";
|
|
7
9
|
import { groupAvatarClasses } from "./stable.mjs";
|
|
8
10
|
import { styles } from "./style.mjs";
|
|
9
|
-
import clsx$1 from "clsx";
|
|
10
|
-
import { useMemo } from "react";
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
12
12
|
// src/GroupAvatar/GroupAvatar.tsx
|
|
13
13
|
const GroupAvatar = ({ className, style, avatars = [], size = 32, grid = 2, cornerShape = "square", avatarShape = "square", ...rest }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AvatarProps } from "../Avatar/type.mjs";
|
|
2
|
+
import { Ref } from "react";
|
|
2
3
|
import "../Avatar/index.mjs";
|
|
3
4
|
import { BlockProps } from "../Block/type.mjs";
|
|
4
5
|
import { SMOOTH_CORNER_MASKS } from "../utils/smoothCorners.mjs";
|
|
5
|
-
import { Ref } from "react";
|
|
6
6
|
type AvatarItem = string | Omit<AvatarProps, 'size'>;
|
|
7
7
|
export interface GroupAvatarProps extends Omit<BlockProps, 'width' | 'height' | 'variant'> {
|
|
8
8
|
avatars?: AvatarItem[];
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { X } from "lucide-react";
|
|
4
|
+
import { memo, useState } from "react";
|
|
2
5
|
import { ActionIconImpl } from "../ActionIcon/ActionIcon.mjs";
|
|
3
6
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
4
7
|
import Img from "../Img/index.mjs";
|
|
@@ -8,10 +11,7 @@ import { useThemeMode } from "../styles/theme/scope.mjs";
|
|
|
8
11
|
import { toDataAttributes } from "../utils/bem.mjs";
|
|
9
12
|
import { guideCardClasses } from "./stable.mjs";
|
|
10
13
|
import { styles } from "./style.mjs";
|
|
11
|
-
import clsx$1 from "clsx";
|
|
12
|
-
import { memo, useState } from "react";
|
|
13
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { X } from "lucide-react";
|
|
15
15
|
// src/GuideCard/GuideCard.tsx
|
|
16
16
|
const GuideCard = memo(({ cover, onClose, shadow, closable = true, afterClose, alt, className, title, desc, width, styles: customStyles, height, coverProps, variant = "filled", closeIconProps, classNames, ref, ...rest }) => {
|
|
17
17
|
const [show, setShow] = useState(true);
|
package/es/GuideCard/type.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FlexboxProps } from "../Flex/type.mjs";
|
|
2
|
+
import { CSSProperties, ReactNode, Ref } from "react";
|
|
2
3
|
import "../ActionIcon/index.mjs";
|
|
3
4
|
import "../Flex/index.mjs";
|
|
4
5
|
import { ActionIconProps } from "../ActionIcon/type.mjs";
|
|
5
6
|
import { ImgProps } from "../types/index.mjs";
|
|
6
|
-
import { CSSProperties, ReactNode, Ref } from "react";
|
|
7
7
|
export interface GuideCardProps extends Omit<FlexboxProps, 'title'> {
|
|
8
8
|
afterClose?: () => void;
|
|
9
9
|
alt?: string;
|
package/es/Header/Header.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { memo } from "react";
|
|
2
4
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
3
5
|
import { styleProps } from "../styles/stylex/props.mjs";
|
|
4
6
|
import { useResponsive } from "../styles/theme/scope.mjs";
|
|
5
7
|
import { headerClasses } from "./stable.mjs";
|
|
6
8
|
import { styles } from "./style.mjs";
|
|
7
|
-
import clsx$1 from "clsx";
|
|
8
|
-
import { memo } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
// src/Header/Header.tsx
|
|
11
11
|
const Header = memo(({ actionsClassName, navClassName, logoClassName, nav, logo, actions, actionsStyle, logoStyle, navStyle, className, children, ref, ...rest }) => {
|
package/es/Header/type.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FlexboxProps } from "../Flex/type.mjs";
|
|
2
|
-
import "../Flex/index.mjs";
|
|
3
2
|
import { CSSProperties, ReactNode, Ref } from "react";
|
|
3
|
+
import "../Flex/index.mjs";
|
|
4
4
|
export interface HeaderProps extends FlexboxProps {
|
|
5
5
|
actions?: ReactNode;
|
|
6
6
|
actionsClassName?: string;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { ChevronDown, ChevronRight } from "lucide-react";
|
|
4
|
+
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
2
5
|
import ActionIcon from "../ActionIcon/ActionIcon.mjs";
|
|
3
6
|
import CopyButton from "../CopyButton/CopyButton.mjs";
|
|
4
7
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
@@ -11,10 +14,7 @@ import { stopPropagation } from "../utils/dom.mjs";
|
|
|
11
14
|
import { LangSelect } from "./LangSelect.mjs";
|
|
12
15
|
import { highlighterClasses } from "./stable.mjs";
|
|
13
16
|
import { bodyStyles, headerFlexProps, headerStyles, rootClassName, rootStyles } from "./style.mjs";
|
|
14
|
-
import clsx$1 from "clsx";
|
|
15
|
-
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
16
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
import { ChevronDown, ChevronRight } from "lucide-react";
|
|
18
18
|
// src/Highlighter/FullFeatured.tsx
|
|
19
19
|
const HeaderLanguage = memo(({ allowChangeLanguage, displayName, fileName, filetype, icon, language, setLanguage, showLanguage }) => {
|
|
20
20
|
if (!showLanguage) return null;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
2
4
|
import CopyButton from "../CopyButton/CopyButton.mjs";
|
|
3
5
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
4
6
|
import { getCodeLanguageDisplayName } from "./const.mjs";
|
|
@@ -9,8 +11,6 @@ import { HighlighterFullFeatured } from "./FullFeatured.mjs";
|
|
|
9
11
|
import { highlighterClasses } from "./stable.mjs";
|
|
10
12
|
import { actionsHoverCls, rootClassName, rootStyles, styles } from "./style.mjs";
|
|
11
13
|
import { SyntaxHighlighterImpl } from "./SyntaxHighlighter/index.mjs";
|
|
12
|
-
import clsx$1 from "clsx";
|
|
13
|
-
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
// src/Highlighter/Highlighter.tsx
|
|
16
16
|
const Highlighter = memo(({ animated, fullFeatured, actionIconSize, children, language = "markdown", className, classNames, styles: customStyles, copyable = true, showLanguage = true, variant = "filled", shadow, wrap, bodyRender, actionsRender, enableTransformer: _enableTransformer, theme, icon, fileName, allowChangeLanguage, defaultExpand = true, ...rest }) => {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import * as stylex from "@stylexjs/stylex";
|
|
3
|
+
import clsx$1 from "clsx";
|
|
4
|
+
import { memo, useMemo } from "react";
|
|
2
5
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
3
6
|
import MaterialFileTypeIcon from "../MaterialFileTypeIcon/MaterialFileTypeIcon.mjs";
|
|
4
7
|
import Select from "../Select/Select.mjs";
|
|
@@ -7,10 +10,7 @@ import { stopPropagation } from "../utils/dom.mjs";
|
|
|
7
10
|
import { highlighterLanguages } from "./languages.mjs";
|
|
8
11
|
import { highlighterClasses } from "./stable.mjs";
|
|
9
12
|
import { styles } from "./style.mjs";
|
|
10
|
-
import clsx$1 from "clsx";
|
|
11
|
-
import { memo, useMemo } from "react";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import * as stylex from "@stylexjs/stylex";
|
|
14
14
|
// src/Highlighter/LangSelect.tsx
|
|
15
15
|
const LangSelect = memo(({ style, ...rest }) => {
|
|
16
16
|
const options = useMemo(() => [{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { memo } from "react";
|
|
2
3
|
import { useHighlight } from "../../hooks/useHighlight.mjs";
|
|
3
4
|
import { escapeHtml } from "../tokens.mjs";
|
|
4
|
-
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
// src/Highlighter/SyntaxHighlighter/StaticRenderer.tsx
|
|
7
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { memo, useRef } from "react";
|
|
2
4
|
import { useStreamHighlight } from "../../hooks/useStreamHighlight.mjs";
|
|
3
5
|
import { getTokenStyle } from "../tokens.mjs";
|
|
4
6
|
import { createTokenFadeStore, markTokenBirths, resolveTokenFadeStyle } from "./tokenFade.mjs";
|
|
5
|
-
import clsx$1 from "clsx";
|
|
6
|
-
import { memo, useRef } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
// src/Highlighter/SyntaxHighlighter/StreamRenderer.tsx
|
|
9
9
|
const TokenSpan = memo(({ fadeStyle, token }) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { STREAM_FADE_DURATION } from "@lobehub/streamdown";
|
|
3
|
+
import clsx$1 from "clsx";
|
|
4
|
+
import { memo } from "react";
|
|
2
5
|
import { styleProps } from "../../styles/stylex/props.mjs";
|
|
3
6
|
import { toDataAttributes } from "../../utils/bem.mjs";
|
|
4
7
|
import StaticRenderer from "./StaticRenderer.mjs";
|
|
5
8
|
import StreamRenderer from "./StreamRenderer.mjs";
|
|
6
9
|
import { styles } from "./style.mjs";
|
|
7
|
-
import clsx$1 from "clsx";
|
|
8
|
-
import { memo } from "react";
|
|
9
10
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
import { STREAM_FADE_DURATION } from "@lobehub/streamdown";
|
|
11
11
|
// src/Highlighter/SyntaxHighlighter/index.tsx
|
|
12
12
|
const SyntaxHighlighterImpl = memo(({ animated, children, className, language, style, theme, variant = "borderless", xstyle }) => {
|
|
13
13
|
const isDefaultTheme = theme === "lobe-theme" || !theme;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import lobeHighlightsTheme from "./theme/lobe-highlights-theme.mjs";
|
|
3
2
|
import { useEffect, useState } from "react";
|
|
3
|
+
import lobeHighlightsTheme from "./theme/lobe-highlights-theme.mjs";
|
|
4
4
|
// src/Highlighter/engine.ts
|
|
5
5
|
const DEFAULT_THEME = "lobe-theme";
|
|
6
6
|
let modulePromise;
|
package/es/Highlighter/style.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { stylish } from "../styles/stylex/stylish.mjs";
|
|
2
1
|
import clsx$1 from "clsx";
|
|
2
|
+
import { stylish } from "../styles/stylex/stylish.mjs";
|
|
3
3
|
// src/Highlighter/style.ts
|
|
4
4
|
const actionsHoverCls = "lobe-highlighter-actions";
|
|
5
5
|
const langHoverCls = "lobe-highlighter-lang";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FlexboxProps } from "../Flex/type.mjs";
|
|
2
|
+
import { CSSProperties, ReactNode, Ref } from "react";
|
|
2
3
|
import "../ActionIcon/index.mjs";
|
|
3
4
|
import "../Flex/index.mjs";
|
|
4
5
|
import { ActionIconProps } from "../ActionIcon/type.mjs";
|
|
5
6
|
import { DivProps } from "../types/index.mjs";
|
|
6
7
|
import { BundledHighlighterTheme } from "./const.mjs";
|
|
7
|
-
import { CSSProperties, ReactNode, Ref } from "react";
|
|
8
8
|
export interface SyntaxHighlighterProps extends DivProps {
|
|
9
9
|
animated?: boolean;
|
|
10
10
|
children: string;
|
package/es/Hotkey/Hotkey.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { ArrowBigUpIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightToLineIcon, ArrowUpIcon, ChevronUpIcon, Command, CornerDownLeftIcon, Delete, Grid2X2Icon, MouseIcon, Option, SpaceIcon } from "lucide-react";
|
|
4
|
+
import { memo, useEffect, useMemo, useState } from "react";
|
|
2
5
|
import Center from "../Flex/Center.mjs";
|
|
3
6
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
4
7
|
import Icon from "../Icon/Icon.mjs";
|
|
@@ -14,10 +17,7 @@ import { KeyMapEnum } from "./const.mjs";
|
|
|
14
17
|
import { hotkeyClasses } from "./stable.mjs";
|
|
15
18
|
import { styles } from "./style.mjs";
|
|
16
19
|
import { checkIsAppleDevice, splitKeysByPlus, startCase } from "./utils.mjs";
|
|
17
|
-
import clsx$1 from "clsx";
|
|
18
|
-
import { memo, useEffect, useMemo, useState } from "react";
|
|
19
20
|
import { jsx } from "react/jsx-runtime";
|
|
20
|
-
import { ArrowBigUpIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightToLineIcon, ArrowUpIcon, ChevronUpIcon, Command, CornerDownLeftIcon, Delete, Grid2X2Icon, MouseIcon, Option, SpaceIcon } from "lucide-react";
|
|
21
21
|
// src/Hotkey/Hotkey.tsx
|
|
22
22
|
const mappingKey = (isAppleDevice) => ({
|
|
23
23
|
[KeyMapEnum.Alt]: isAppleDevice ? /* @__PURE__ */ jsx(Icon, {
|
package/es/Hotkey/type.d.mts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { isEqual } from "es-toolkit/compat";
|
|
4
|
+
import { Undo2Icon, XIcon } from "lucide-react";
|
|
5
|
+
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
6
|
+
import { useHotkeys, useRecordHotkeys } from "react-hotkeys-hook";
|
|
2
7
|
import ActionIcon from "../ActionIcon/ActionIcon.mjs";
|
|
3
8
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
4
9
|
import { useControlledState } from "../hooks/useControlledState.mjs";
|
|
@@ -11,12 +16,7 @@ import { useThemeMode } from "../styles/theme/scope.mjs";
|
|
|
11
16
|
import { toDataAttributes } from "../utils/bem.mjs";
|
|
12
17
|
import { hotkeyInputClasses } from "./stable.mjs";
|
|
13
18
|
import { styles } from "./style.mjs";
|
|
14
|
-
import clsx$1 from "clsx";
|
|
15
|
-
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
16
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
import { Undo2Icon, XIcon } from "lucide-react";
|
|
18
|
-
import { isEqual } from "es-toolkit/compat";
|
|
19
|
-
import { useHotkeys, useRecordHotkeys } from "react-hotkeys-hook";
|
|
20
20
|
// src/HotkeyInput/HotkeyInput.tsx
|
|
21
21
|
const HotkeyInput = memo(({ value = "", defaultValue = "", resetValue = "", onChange, onClear, onConflict, placeholder, disabled, shadow, allowClear, allowReset = true, style, className, hotkeyConflicts = [], variant, texts, isApple, onBlur, onReset, onFocus }) => {
|
|
22
22
|
const [isFocused, setIsFocused] = useState(false);
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import * as stylex from "@stylexjs/stylex";
|
|
3
|
+
import clsx$1 from "clsx";
|
|
4
|
+
import { Download, Expand } from "lucide-react";
|
|
5
|
+
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
2
6
|
import ActionIcon from "../ActionIcon/ActionIcon.mjs";
|
|
3
7
|
import CopyButton from "../CopyButton/CopyButton.mjs";
|
|
4
8
|
import FlexBasic_default from "../Flex/FlexBasic.mjs";
|
|
@@ -15,11 +19,7 @@ import { containsScript, isFullHtmlDocument, isHtmlContentClosed } from "./const
|
|
|
15
19
|
import { HtmlPreviewIframe } from "./Iframe.mjs";
|
|
16
20
|
import { htmlPreviewClasses } from "./stable.mjs";
|
|
17
21
|
import { styles } from "./style.mjs";
|
|
18
|
-
import clsx$1 from "clsx";
|
|
19
|
-
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
20
22
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
21
|
-
import * as stylex from "@stylexjs/stylex";
|
|
22
|
-
import { Download, Expand } from "lucide-react";
|
|
23
23
|
// src/HtmlPreview/HtmlPreview.tsx
|
|
24
24
|
const segmentedStyles = {
|
|
25
25
|
indicator: { borderRadius: cssVar.borderRadiusXS },
|