@lobehub/ui 5.3.0 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Accordion/Accordion.d.mts +2 -2
- package/es/Accordion/AccordionItem.d.mts +2 -2
- package/es/ActionIcon/ActionIcon.d.mts +2 -2
- package/es/Alert/Alert.d.mts +2 -2
- package/es/AutoComplete/Select.d.mts +2 -2
- package/es/Avatar/AvatarGroup/index.d.mts +2 -2
- package/es/Burger/Burger.d.mts +2 -2
- package/es/CodeEditor/CodeEditor.d.mts +2 -2
- package/es/Collapse/Collapse.d.mts +2 -2
- package/es/ConfigProvider/index.d.mts +2 -2
- package/es/CopyButton/CopyButton.d.mts +2 -2
- package/es/DatePicker/DatePicker.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
- package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
- package/es/Drawer/Drawer.d.mts +2 -2
- package/es/Dropdown/Dropdown.d.mts +2 -2
- package/es/EditableText/EditableText.d.mts +2 -2
- package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
- package/es/EmojiPicker/EmojiPicker.mjs +1 -1
- package/es/EmojiPicker/type.d.mts +1 -1
- package/es/Flex/FlexBasic.d.mts +2 -2
- package/es/FontLoader/index.d.mts +2 -2
- package/es/Footer/Footer.d.mts +2 -2
- package/es/Form/components/FormGroup.d.mts +2 -2
- package/es/Form/components/FormItem.d.mts +2 -2
- package/es/Form/components/FormSubmitFooter.d.mts +2 -2
- package/es/FormModal/FormModal.d.mts +2 -2
- package/es/Freeze/Freeze.d.mts +2 -2
- package/es/GuideCard/GuideCard.d.mts +2 -2
- package/es/Header/Header.d.mts +2 -2
- package/es/Highlighter/Highlighter.d.mts +2 -2
- package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
- package/es/Hotkey/Hotkey.d.mts +2 -2
- package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
- package/es/HotkeyInput/HotkeyInput.mjs +30 -8
- package/es/HotkeyInput/HotkeyInput.mjs.map +1 -1
- package/es/HotkeyInput/type.d.mts +3 -0
- package/es/Icon/Icon.d.mts +2 -2
- package/es/Icon/components/IconProvider.d.mts +3 -3
- package/es/Image/PreviewGroup.d.mts +2 -2
- package/es/ImageSelect/ImageSelect.d.mts +2 -2
- package/es/Input/Input.d.mts +2 -2
- package/es/Input/InputNumber.d.mts +2 -2
- package/es/Input/InputOPT.d.mts +2 -2
- package/es/Input/InputPassword.d.mts +2 -2
- package/es/Input/TextArea.d.mts +2 -2
- package/es/Layout/components/LayoutFooter.d.mts +2 -2
- package/es/Layout/components/LayoutHeader.d.mts +2 -2
- package/es/Layout/components/LayoutMain.d.mts +2 -2
- package/es/Layout/components/LayoutSidebar.d.mts +2 -2
- package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
- package/es/Layout/components/LayoutToc.d.mts +2 -2
- package/es/List/ListItem/index.d.mts +2 -2
- package/es/Markdown/Markdown.d.mts +2 -2
- package/es/Markdown/Markdown.mjs +2 -1
- package/es/Markdown/Markdown.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +56 -30
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/style.mjs +2 -2
- package/es/Markdown/SyntaxMarkdown/style.mjs.map +1 -1
- package/es/Markdown/SyntaxMarkdown/useSmoothStreamContent.mjs +229 -0
- package/es/Markdown/SyntaxMarkdown/useSmoothStreamContent.mjs.map +1 -0
- package/es/Markdown/SyntaxMarkdown/useStreamQueue.mjs +8 -6
- package/es/Markdown/SyntaxMarkdown/useStreamQueue.mjs.map +1 -1
- package/es/Markdown/Typography.d.mts +2 -2
- package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
- package/es/Markdown/index.d.mts +2 -2
- package/es/Markdown/plugins/rehypeStreamAnimated.d.mts +2 -0
- package/es/Markdown/plugins/rehypeStreamAnimated.mjs +17 -5
- package/es/Markdown/plugins/rehypeStreamAnimated.mjs.map +1 -1
- package/es/Markdown/type.d.mts +3 -1
- package/es/MaskShadow/MaskShadow.d.mts +2 -2
- package/es/Menu/Menu.d.mts +2 -2
- package/es/Mermaid/Mermaid.d.mts +2 -2
- package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
- package/es/Modal/Modal.d.mts +2 -2
- package/es/Modal/ModalProvider.d.mts +2 -2
- package/es/Modal/ModalStackItem.mjs +2 -2
- package/es/Modal/ModalStackItem.mjs.map +1 -1
- package/es/Modal/imperative.d.mts +2 -2
- package/es/MotionProvider/index.d.mts +2 -2
- package/es/Popover/index.d.mts +9 -8
- package/es/Popover/index.mjs +6 -6
- package/es/SearchBar/SearchBar.d.mts +2 -2
- package/es/Segmented/Segmented.d.mts +2 -2
- package/es/Select/Select.d.mts +2 -2
- package/es/SideNav/SideNav.d.mts +2 -2
- package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
- package/es/SortableList/components/DragHandle.d.mts +2 -2
- package/es/SortableList/components/SortableItem.d.mts +2 -2
- package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
- package/es/Toc/Toc.d.mts +2 -2
- package/es/Video/index.d.mts +2 -2
- package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
- package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
- package/es/awesome/Features/Features.d.mts +2 -2
- package/es/awesome/Giscus/Giscus.d.mts +2 -2
- package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
- package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
- package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
- package/es/awesome/Hero/Hero.d.mts +2 -2
- package/es/awesome/Spline/Spine.d.mts +2 -2
- package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
- package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
- package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
- package/es/base-ui/ContextMenu/ContextMenuHost.d.mts +2 -2
- package/es/base-ui/DropdownMenu/DropdownMenu.d.mts +2 -2
- package/es/base-ui/DropdownMenu/atoms.d.mts +18 -18
- package/es/base-ui/Modal/atoms.d.mts +12 -12
- package/es/base-ui/Modal/context.d.mts +2 -2
- package/es/base-ui/Modal/imperative.d.mts +2 -2
- package/es/base-ui/Popover/ArrowIcon.d.mts +7 -0
- package/es/{Popover → base-ui/Popover}/ArrowIcon.mjs +1 -1
- package/es/base-ui/Popover/ArrowIcon.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/Popover.d.mts +2 -2
- package/es/{Popover → base-ui/Popover}/Popover.mjs +2 -2
- package/es/base-ui/Popover/Popover.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/PopoverGroup.d.mts +1 -1
- package/es/{Popover → base-ui/Popover}/PopoverGroup.mjs +4 -4
- package/es/base-ui/Popover/PopoverGroup.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/PopoverInGroup.mjs +3 -3
- package/es/base-ui/Popover/PopoverInGroup.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/PopoverPortal.d.mts +1 -1
- package/es/{Popover → base-ui/Popover}/PopoverPortal.mjs +2 -2
- package/es/base-ui/Popover/PopoverPortal.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/PopoverStandalone.mjs +5 -5
- package/es/base-ui/Popover/PopoverStandalone.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/atoms.d.mts +10 -10
- package/es/{Popover → base-ui/Popover}/atoms.mjs +4 -4
- package/es/base-ui/Popover/atoms.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/context.d.mts +3 -3
- package/es/{Popover → base-ui/Popover}/context.mjs +1 -1
- package/es/base-ui/Popover/context.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/groupContext.d.mts +1 -1
- package/es/{Popover → base-ui/Popover}/groupContext.mjs +1 -1
- package/es/base-ui/Popover/groupContext.mjs.map +1 -0
- package/es/base-ui/Popover/index.d.mts +8 -0
- package/es/{Popover → base-ui/Popover}/style.mjs +2 -2
- package/es/base-ui/Popover/style.mjs.map +1 -0
- package/es/{Popover → base-ui/Popover}/type.d.mts +4 -4
- package/es/{Popover → base-ui/Popover}/useMergedPopoverProps.mjs +1 -1
- package/es/base-ui/Popover/useMergedPopoverProps.mjs.map +1 -0
- package/es/base-ui/ScrollArea/atoms.d.mts +7 -7
- package/es/base-ui/Select/Select.d.mts +2 -2
- package/es/base-ui/Select/atoms.d.mts +19 -19
- package/es/base-ui/Switch/Switch.d.mts +2 -2
- package/es/base-ui/Switch/atoms.d.mts +4 -4
- package/es/base-ui/Toast/imperative.d.mts +2 -2
- package/es/base-ui/index.d.mts +9 -1
- package/es/base-ui/index.mjs +7 -1
- package/es/brand/LobeChat/index.d.mts +2 -2
- package/es/brand/LobeHub/index.d.mts +2 -2
- package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
- package/es/brand/LogoThree/index.d.mts +2 -2
- package/es/chat/BackBottom/BackBottom.d.mts +2 -2
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
- package/es/chat/ChatItem/ChatItem.d.mts +2 -2
- package/es/chat/ChatList/ChatList.d.mts +2 -2
- package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
- package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
- package/es/chat/MessageInput/MessageInput.d.mts +2 -2
- package/es/chat/MessageModal/MessageModal.d.mts +2 -2
- package/es/color/ColorScales/index.d.mts +2 -2
- package/es/color/CssVar/index.d.mts +2 -2
- package/es/i18n/context.d.mts +2 -2
- package/es/i18n/resources/en/hotkey.d.mts +1 -0
- package/es/i18n/resources/en/hotkey.mjs +1 -0
- package/es/i18n/resources/en/hotkey.mjs.map +1 -1
- package/es/i18n/resources/zhCn/hotkey.d.mts +1 -0
- package/es/i18n/resources/zhCn/hotkey.mjs +1 -0
- package/es/i18n/resources/zhCn/hotkey.mjs.map +1 -1
- package/es/icons/Discord/components/Avatar.d.mts +9 -0
- package/es/icons/Discord/components/Avatar.mjs +22 -0
- package/es/icons/Discord/components/Avatar.mjs.map +1 -0
- package/es/icons/Discord/components/Color.d.mts +7 -0
- package/es/icons/Discord/components/Color.mjs +30 -0
- package/es/icons/Discord/components/Color.mjs.map +1 -0
- package/es/icons/Discord/components/Mono.d.mts +7 -0
- package/es/icons/Discord/components/Mono.mjs +29 -0
- package/es/icons/Discord/components/Mono.mjs.map +1 -0
- package/es/icons/Discord/index.d.mts +15 -0
- package/es/icons/Discord/index.mjs +18 -0
- package/es/icons/Discord/index.mjs.map +1 -0
- package/es/icons/Discord/style.mjs +7 -0
- package/es/icons/Discord/style.mjs.map +1 -0
- package/es/icons/GoogleChat/components/Avatar.d.mts +9 -0
- package/es/icons/GoogleChat/components/Avatar.mjs +23 -0
- package/es/icons/GoogleChat/components/Avatar.mjs.map +1 -0
- package/es/icons/GoogleChat/components/Color.d.mts +7 -0
- package/es/icons/GoogleChat/components/Color.mjs +93 -0
- package/es/icons/GoogleChat/components/Color.mjs.map +1 -0
- package/es/icons/GoogleChat/components/Mono.d.mts +7 -0
- package/es/icons/GoogleChat/components/Mono.mjs +29 -0
- package/es/icons/GoogleChat/components/Mono.mjs.map +1 -0
- package/es/icons/GoogleChat/index.d.mts +15 -0
- package/es/icons/GoogleChat/index.mjs +18 -0
- package/es/icons/GoogleChat/index.mjs.map +1 -0
- package/es/icons/GoogleChat/style.mjs +7 -0
- package/es/icons/GoogleChat/style.mjs.map +1 -0
- package/es/icons/IMessage/components/Avatar.d.mts +9 -0
- package/es/icons/IMessage/components/Avatar.mjs +23 -0
- package/es/icons/IMessage/components/Avatar.mjs.map +1 -0
- package/es/icons/IMessage/components/Color.d.mts +7 -0
- package/es/icons/IMessage/components/Color.mjs +30 -0
- package/es/icons/IMessage/components/Color.mjs.map +1 -0
- package/es/icons/IMessage/components/Inner.mjs +29 -0
- package/es/icons/IMessage/components/Inner.mjs.map +1 -0
- package/es/icons/IMessage/components/Mono.d.mts +7 -0
- package/es/icons/IMessage/components/Mono.mjs +29 -0
- package/es/icons/IMessage/components/Mono.mjs.map +1 -0
- package/es/icons/IMessage/index.d.mts +15 -0
- package/es/icons/IMessage/index.mjs +18 -0
- package/es/icons/IMessage/index.mjs.map +1 -0
- package/es/icons/IMessage/style.mjs +7 -0
- package/es/icons/IMessage/style.mjs.map +1 -0
- package/es/icons/Lark/components/Avatar.d.mts +9 -0
- package/es/icons/Lark/components/Avatar.mjs +22 -0
- package/es/icons/Lark/components/Avatar.mjs.map +1 -0
- package/es/icons/Lark/components/Color.d.mts +7 -0
- package/es/icons/Lark/components/Color.mjs +41 -0
- package/es/icons/Lark/components/Color.mjs.map +1 -0
- package/es/icons/Lark/components/Mono.d.mts +7 -0
- package/es/icons/Lark/components/Mono.mjs +32 -0
- package/es/icons/Lark/components/Mono.mjs.map +1 -0
- package/es/icons/Lark/index.d.mts +15 -0
- package/es/icons/Lark/index.mjs +18 -0
- package/es/icons/Lark/index.mjs.map +1 -0
- package/es/icons/Lark/style.mjs +7 -0
- package/es/icons/Lark/style.mjs.map +1 -0
- package/es/icons/MicrosoftTeams/components/Avatar.d.mts +9 -0
- package/es/icons/MicrosoftTeams/components/Avatar.mjs +22 -0
- package/es/icons/MicrosoftTeams/components/Avatar.mjs.map +1 -0
- package/es/icons/MicrosoftTeams/components/Color.d.mts +7 -0
- package/es/icons/MicrosoftTeams/components/Color.mjs +50 -0
- package/es/icons/MicrosoftTeams/components/Color.mjs.map +1 -0
- package/es/icons/MicrosoftTeams/components/Mono.d.mts +7 -0
- package/es/icons/MicrosoftTeams/components/Mono.mjs +37 -0
- package/es/icons/MicrosoftTeams/components/Mono.mjs.map +1 -0
- package/es/icons/MicrosoftTeams/index.d.mts +15 -0
- package/es/icons/MicrosoftTeams/index.mjs +18 -0
- package/es/icons/MicrosoftTeams/index.mjs.map +1 -0
- package/es/icons/MicrosoftTeams/style.mjs +7 -0
- package/es/icons/MicrosoftTeams/style.mjs.map +1 -0
- package/es/icons/QQ/components/Avatar.d.mts +9 -0
- package/es/icons/QQ/components/Avatar.mjs +22 -0
- package/es/icons/QQ/components/Avatar.mjs.map +1 -0
- package/es/icons/QQ/components/Color.d.mts +7 -0
- package/es/icons/QQ/components/Color.mjs +61 -0
- package/es/icons/QQ/components/Color.mjs.map +1 -0
- package/es/icons/QQ/components/Mono.d.mts +7 -0
- package/es/icons/QQ/components/Mono.mjs +29 -0
- package/es/icons/QQ/components/Mono.mjs.map +1 -0
- package/es/icons/QQ/index.d.mts +15 -0
- package/es/icons/QQ/index.mjs +18 -0
- package/es/icons/QQ/index.mjs.map +1 -0
- package/es/icons/QQ/style.mjs +7 -0
- package/es/icons/QQ/style.mjs.map +1 -0
- package/es/icons/Slack/components/Avatar.d.mts +9 -0
- package/es/icons/Slack/components/Avatar.mjs +22 -0
- package/es/icons/Slack/components/Avatar.mjs.map +1 -0
- package/es/icons/Slack/components/Color.d.mts +7 -0
- package/es/icons/Slack/components/Color.mjs +45 -0
- package/es/icons/Slack/components/Color.mjs.map +1 -0
- package/es/icons/Slack/components/Mono.d.mts +7 -0
- package/es/icons/Slack/components/Mono.mjs +35 -0
- package/es/icons/Slack/components/Mono.mjs.map +1 -0
- package/es/icons/Slack/index.d.mts +15 -0
- package/es/icons/Slack/index.mjs +18 -0
- package/es/icons/Slack/index.mjs.map +1 -0
- package/es/icons/Slack/style.mjs +7 -0
- package/es/icons/Slack/style.mjs.map +1 -0
- package/es/icons/Telegram/components/Avatar.d.mts +9 -0
- package/es/icons/Telegram/components/Avatar.mjs +23 -0
- package/es/icons/Telegram/components/Avatar.mjs.map +1 -0
- package/es/icons/Telegram/components/Color.d.mts +7 -0
- package/es/icons/Telegram/components/Color.mjs +30 -0
- package/es/icons/Telegram/components/Color.mjs.map +1 -0
- package/es/icons/Telegram/components/Inner.mjs +29 -0
- package/es/icons/Telegram/components/Inner.mjs.map +1 -0
- package/es/icons/Telegram/components/Mono.d.mts +7 -0
- package/es/icons/Telegram/components/Mono.mjs +29 -0
- package/es/icons/Telegram/components/Mono.mjs.map +1 -0
- package/es/icons/Telegram/index.d.mts +15 -0
- package/es/icons/Telegram/index.mjs +18 -0
- package/es/icons/Telegram/index.mjs.map +1 -0
- package/es/icons/Telegram/style.mjs +7 -0
- package/es/icons/Telegram/style.mjs.map +1 -0
- package/es/icons/WeChat/components/Avatar.d.mts +9 -0
- package/es/icons/WeChat/components/Avatar.mjs +22 -0
- package/es/icons/WeChat/components/Avatar.mjs.map +1 -0
- package/es/icons/WeChat/components/Color.d.mts +7 -0
- package/es/icons/WeChat/components/Color.mjs +30 -0
- package/es/icons/WeChat/components/Color.mjs.map +1 -0
- package/es/icons/WeChat/components/Mono.d.mts +7 -0
- package/es/icons/WeChat/components/Mono.mjs +29 -0
- package/es/icons/WeChat/components/Mono.mjs.map +1 -0
- package/es/icons/WeChat/index.d.mts +15 -0
- package/es/icons/WeChat/index.mjs +18 -0
- package/es/icons/WeChat/index.mjs.map +1 -0
- package/es/icons/WeChat/style.mjs +7 -0
- package/es/icons/WeChat/style.mjs.map +1 -0
- package/es/icons/WhatsApp/components/Avatar.d.mts +9 -0
- package/es/icons/WhatsApp/components/Avatar.mjs +23 -0
- package/es/icons/WhatsApp/components/Avatar.mjs.map +1 -0
- package/es/icons/WhatsApp/components/Color.d.mts +7 -0
- package/es/icons/WhatsApp/components/Color.mjs +30 -0
- package/es/icons/WhatsApp/components/Color.mjs.map +1 -0
- package/es/icons/WhatsApp/components/Mono.d.mts +7 -0
- package/es/icons/WhatsApp/components/Mono.mjs +29 -0
- package/es/icons/WhatsApp/components/Mono.mjs.map +1 -0
- package/es/icons/WhatsApp/index.d.mts +15 -0
- package/es/icons/WhatsApp/index.mjs +18 -0
- package/es/icons/WhatsApp/index.mjs.map +1 -0
- package/es/icons/WhatsApp/style.mjs +7 -0
- package/es/icons/WhatsApp/style.mjs.map +1 -0
- package/es/icons/index.d.mts +17 -5
- package/es/icons/index.mjs +13 -1
- package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
- package/es/icons/lucideExtra/BrainOffIcon.d.mts +8 -0
- package/es/icons/lucideExtra/BrainOffIcon.mjs +31 -0
- package/es/icons/lucideExtra/BrainOffIcon.mjs.map +1 -0
- package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
- package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
- package/es/icons/lucideExtra/RightClickIcon.d.mts +2 -2
- package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +2 -2
- package/es/icons/lucideExtra/SkillsIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ThinkIcon.d.mts +8 -0
- package/es/icons/lucideExtra/ThinkIcon.mjs +16 -0
- package/es/icons/lucideExtra/ThinkIcon.mjs.map +1 -0
- package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
- package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
- package/es/icons/lucideExtra/index.d.mts +2 -0
- package/es/index.d.mts +7 -7
- package/es/index.mjs +6 -6
- package/es/mdx/Mdx/index.d.mts +2 -2
- package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
- package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
- package/es/mobile/TabBar/TabBar.d.mts +2 -2
- package/es/storybook/StoryBook/index.d.mts +2 -2
- package/package.json +1 -1
- package/es/Popover/ArrowIcon.d.mts +0 -7
- package/es/Popover/ArrowIcon.mjs.map +0 -1
- package/es/Popover/Popover.mjs.map +0 -1
- package/es/Popover/PopoverGroup.mjs.map +0 -1
- package/es/Popover/PopoverInGroup.mjs.map +0 -1
- package/es/Popover/PopoverPortal.mjs.map +0 -1
- package/es/Popover/PopoverStandalone.mjs.map +0 -1
- package/es/Popover/atoms.mjs.map +0 -1
- package/es/Popover/context.mjs.map +0 -1
- package/es/Popover/groupContext.mjs.map +0 -1
- package/es/Popover/style.mjs.map +0 -1
- package/es/Popover/useMergedPopoverProps.mjs.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { SelectSize, SelectVariant } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react141 from "react";
|
|
3
3
|
import { ComponentProps, ComponentPropsWithRef } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
5
5
|
import * as _base_ui_react_select0 from "@base-ui/react/select";
|
|
6
6
|
import { Select } from "@base-ui/react/select";
|
|
7
7
|
import * as node_modules__base_ui_react_esm_separator_Separator0 from "node_modules/@base-ui/react/esm/separator/Separator";
|
|
8
8
|
|
|
9
9
|
//#region src/base-ui/Select/atoms.d.ts
|
|
10
10
|
declare const SelectRoot: typeof Select.Root;
|
|
11
|
-
declare const SelectBackdrop:
|
|
12
|
-
declare const SelectSeparator:
|
|
11
|
+
declare const SelectBackdrop: react141.ForwardRefExoticComponent<_base_ui_react_select0.SelectBackdropProps & react141.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const SelectSeparator: react141.ForwardRefExoticComponent<node_modules__base_ui_react_esm_separator_Separator0.SeparatorProps & react141.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
type SelectTriggerProps = Omit<ComponentPropsWithRef<typeof Select.Trigger>, 'children' | 'render'> & {
|
|
14
14
|
children: ComponentProps<typeof Select.Trigger>['children'];
|
|
15
15
|
shadow?: boolean;
|
|
@@ -26,7 +26,7 @@ declare const SelectTrigger: {
|
|
|
26
26
|
variant,
|
|
27
27
|
ref: refProp,
|
|
28
28
|
...rest
|
|
29
|
-
}: SelectTriggerProps):
|
|
29
|
+
}: SelectTriggerProps): react_jsx_runtime36.JSX.Element;
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
32
32
|
type SelectIconProps = ComponentProps<typeof Select.Icon>;
|
|
@@ -34,7 +34,7 @@ declare const SelectIcon: {
|
|
|
34
34
|
({
|
|
35
35
|
className,
|
|
36
36
|
...rest
|
|
37
|
-
}: SelectIconProps):
|
|
37
|
+
}: SelectIconProps): react_jsx_runtime36.JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
type SelectValueProps = ComponentProps<typeof Select.Value>;
|
|
@@ -42,7 +42,7 @@ declare const SelectValue: {
|
|
|
42
42
|
({
|
|
43
43
|
className,
|
|
44
44
|
...rest
|
|
45
|
-
}: SelectValueProps):
|
|
45
|
+
}: SelectValueProps): react_jsx_runtime36.JSX.Element;
|
|
46
46
|
displayName: string;
|
|
47
47
|
};
|
|
48
48
|
type SelectPortalProps = ComponentProps<typeof Select.Portal> & {
|
|
@@ -55,7 +55,7 @@ declare const SelectPortal: {
|
|
|
55
55
|
({
|
|
56
56
|
container,
|
|
57
57
|
...rest
|
|
58
|
-
}: SelectPortalProps):
|
|
58
|
+
}: SelectPortalProps): react_jsx_runtime36.JSX.Element;
|
|
59
59
|
displayName: string;
|
|
60
60
|
};
|
|
61
61
|
type SelectPositionerProps = ComponentProps<typeof Select.Positioner>;
|
|
@@ -67,7 +67,7 @@ declare const SelectPositioner: {
|
|
|
67
67
|
side,
|
|
68
68
|
sideOffset,
|
|
69
69
|
...rest
|
|
70
|
-
}: SelectPositionerProps):
|
|
70
|
+
}: SelectPositionerProps): react_jsx_runtime36.JSX.Element;
|
|
71
71
|
displayName: string;
|
|
72
72
|
};
|
|
73
73
|
type SelectPopupProps = ComponentProps<typeof Select.Popup>;
|
|
@@ -75,7 +75,7 @@ declare const SelectPopup: {
|
|
|
75
75
|
({
|
|
76
76
|
className,
|
|
77
77
|
...rest
|
|
78
|
-
}: SelectPopupProps):
|
|
78
|
+
}: SelectPopupProps): react_jsx_runtime36.JSX.Element;
|
|
79
79
|
displayName: string;
|
|
80
80
|
};
|
|
81
81
|
type SelectListProps = ComponentProps<typeof Select.List>;
|
|
@@ -83,7 +83,7 @@ declare const SelectList: {
|
|
|
83
83
|
({
|
|
84
84
|
className,
|
|
85
85
|
...rest
|
|
86
|
-
}: SelectListProps):
|
|
86
|
+
}: SelectListProps): react_jsx_runtime36.JSX.Element;
|
|
87
87
|
displayName: string;
|
|
88
88
|
};
|
|
89
89
|
type SelectItemProps = ComponentProps<typeof Select.Item>;
|
|
@@ -91,7 +91,7 @@ declare const SelectItem: {
|
|
|
91
91
|
({
|
|
92
92
|
className,
|
|
93
93
|
...rest
|
|
94
|
-
}: SelectItemProps):
|
|
94
|
+
}: SelectItemProps): react_jsx_runtime36.JSX.Element;
|
|
95
95
|
displayName: string;
|
|
96
96
|
};
|
|
97
97
|
type SelectItemTextProps = ComponentProps<typeof Select.ItemText>;
|
|
@@ -99,7 +99,7 @@ declare const SelectItemText: {
|
|
|
99
99
|
({
|
|
100
100
|
className,
|
|
101
101
|
...rest
|
|
102
|
-
}: SelectItemTextProps):
|
|
102
|
+
}: SelectItemTextProps): react_jsx_runtime36.JSX.Element;
|
|
103
103
|
displayName: string;
|
|
104
104
|
};
|
|
105
105
|
type SelectItemIndicatorProps = ComponentProps<typeof Select.ItemIndicator>;
|
|
@@ -107,7 +107,7 @@ declare const SelectItemIndicator: {
|
|
|
107
107
|
({
|
|
108
108
|
className,
|
|
109
109
|
...rest
|
|
110
|
-
}: SelectItemIndicatorProps):
|
|
110
|
+
}: SelectItemIndicatorProps): react_jsx_runtime36.JSX.Element;
|
|
111
111
|
displayName: string;
|
|
112
112
|
};
|
|
113
113
|
type SelectGroupProps = ComponentProps<typeof Select.Group>;
|
|
@@ -115,7 +115,7 @@ declare const SelectGroup: {
|
|
|
115
115
|
({
|
|
116
116
|
className,
|
|
117
117
|
...rest
|
|
118
|
-
}: SelectGroupProps):
|
|
118
|
+
}: SelectGroupProps): react_jsx_runtime36.JSX.Element;
|
|
119
119
|
displayName: string;
|
|
120
120
|
};
|
|
121
121
|
type SelectGroupLabelProps = ComponentProps<typeof Select.GroupLabel>;
|
|
@@ -123,7 +123,7 @@ declare const SelectGroupLabel: {
|
|
|
123
123
|
({
|
|
124
124
|
className,
|
|
125
125
|
...rest
|
|
126
|
-
}: SelectGroupLabelProps):
|
|
126
|
+
}: SelectGroupLabelProps): react_jsx_runtime36.JSX.Element;
|
|
127
127
|
displayName: string;
|
|
128
128
|
};
|
|
129
129
|
type SelectScrollUpArrowProps = ComponentProps<typeof Select.ScrollUpArrow>;
|
|
@@ -131,7 +131,7 @@ declare const SelectScrollUpArrow: {
|
|
|
131
131
|
({
|
|
132
132
|
className,
|
|
133
133
|
...rest
|
|
134
|
-
}: SelectScrollUpArrowProps):
|
|
134
|
+
}: SelectScrollUpArrowProps): react_jsx_runtime36.JSX.Element;
|
|
135
135
|
displayName: string;
|
|
136
136
|
};
|
|
137
137
|
type SelectScrollDownArrowProps = ComponentProps<typeof Select.ScrollDownArrow>;
|
|
@@ -139,7 +139,7 @@ declare const SelectScrollDownArrow: {
|
|
|
139
139
|
({
|
|
140
140
|
className,
|
|
141
141
|
...rest
|
|
142
|
-
}: SelectScrollDownArrowProps):
|
|
142
|
+
}: SelectScrollDownArrowProps): react_jsx_runtime36.JSX.Element;
|
|
143
143
|
displayName: string;
|
|
144
144
|
};
|
|
145
145
|
type SelectArrowProps = ComponentProps<typeof Select.Arrow>;
|
|
@@ -147,7 +147,7 @@ declare const SelectArrow: {
|
|
|
147
147
|
({
|
|
148
148
|
className,
|
|
149
149
|
...rest
|
|
150
|
-
}: SelectArrowProps):
|
|
150
|
+
}: SelectArrowProps): react_jsx_runtime36.JSX.Element;
|
|
151
151
|
displayName: string;
|
|
152
152
|
};
|
|
153
153
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SwitchProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react153 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/base-ui/Switch/Switch.d.ts
|
|
5
|
-
declare const Switch:
|
|
5
|
+
declare const Switch: react153.NamedExoticComponent<SwitchProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Switch };
|
|
8
8
|
//# sourceMappingURL=Switch.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SwitchChangeEventHandler, SwitchContextType, SwitchIconProps, SwitchRootProps, SwitchThumbProps } from "./type.mjs";
|
|
2
2
|
import { styles } from "./style.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/base-ui/Switch/atoms.d.ts
|
|
6
6
|
declare const useSwitchContext: () => SwitchContextType;
|
|
@@ -24,7 +24,7 @@ declare const SwitchRoot: {
|
|
|
24
24
|
id,
|
|
25
25
|
name,
|
|
26
26
|
...rest
|
|
27
|
-
}: SwitchRootInternalProps):
|
|
27
|
+
}: SwitchRootInternalProps): react_jsx_runtime69.JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
declare const SwitchThumb: {
|
|
@@ -35,7 +35,7 @@ declare const SwitchThumb: {
|
|
|
35
35
|
transition,
|
|
36
36
|
children,
|
|
37
37
|
...rest
|
|
38
|
-
}: SwitchThumbProps):
|
|
38
|
+
}: SwitchThumbProps): react_jsx_runtime69.JSX.Element;
|
|
39
39
|
displayName: string;
|
|
40
40
|
};
|
|
41
41
|
declare const SwitchIcon: {
|
|
@@ -48,7 +48,7 @@ declare const SwitchIcon: {
|
|
|
48
48
|
}: SwitchIconProps & {
|
|
49
49
|
children?: React.ReactNode;
|
|
50
50
|
size?: "default" | "small";
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime69.JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToastAPI, ToastPosition } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react150 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/base-ui/Toast/imperative.d.ts
|
|
5
5
|
declare const toast: ToastAPI;
|
|
@@ -30,7 +30,7 @@ interface ToastHostProps {
|
|
|
30
30
|
*/
|
|
31
31
|
swipeDirection?: ('left' | 'right' | 'up' | 'down') | ('left' | 'right' | 'up' | 'down')[];
|
|
32
32
|
}
|
|
33
|
-
declare const ToastHost:
|
|
33
|
+
declare const ToastHost: react150.MemoExoticComponent<({
|
|
34
34
|
root,
|
|
35
35
|
className,
|
|
36
36
|
duration,
|
package/es/base-ui/index.d.mts
CHANGED
|
@@ -9,6 +9,14 @@ import { ContextMenuTrigger } from "./ContextMenu/ContextMenuTrigger.mjs";
|
|
|
9
9
|
import { ContextMenuHost } from "./ContextMenu/ContextMenuHost.mjs";
|
|
10
10
|
import { closeContextMenu, showContextMenu, updateContextMenuItems } from "./ContextMenu/store.mjs";
|
|
11
11
|
import "./ContextMenu/index.mjs";
|
|
12
|
+
import { PopoverArrowIcon } from "./Popover/ArrowIcon.mjs";
|
|
13
|
+
import { PopoverBackdropProps, PopoverPlacement, PopoverPopupProps, PopoverPortalProps, PopoverPositionerProps, PopoverProps, PopoverTrigger, PopoverTriggerComponentProps } from "./Popover/type.mjs";
|
|
14
|
+
import { PopoverArrow, PopoverArrowAtomProps, PopoverBackdrop, PopoverPopup, PopoverPopupAtomProps, PopoverPortal, PopoverPortalAtomProps, PopoverPositioner, PopoverPositionerAtomProps, PopoverRoot, PopoverTriggerElement, PopoverTriggerElementProps, PopoverViewport, PopoverViewportAtomProps } from "./Popover/atoms.mjs";
|
|
15
|
+
import { PopoverContextValue, PopoverProvider, usePopoverContext } from "./Popover/context.mjs";
|
|
16
|
+
import { parseTrigger } from "../utils/parseTrigger.mjs";
|
|
17
|
+
import { PopoverGroup } from "./Popover/PopoverGroup.mjs";
|
|
18
|
+
import { usePopoverPortalContainer } from "./Popover/PopoverPortal.mjs";
|
|
19
|
+
import "./Popover/index.mjs";
|
|
12
20
|
import { ScrollAreaContent, ScrollAreaContentProps, ScrollAreaCorner, ScrollAreaCornerProps, ScrollAreaRoot, ScrollAreaRootProps, ScrollAreaScrollbar, ScrollAreaScrollbarProps, ScrollAreaThumb, ScrollAreaThumbProps, ScrollAreaViewport, ScrollAreaViewportProps } from "./ScrollArea/atoms.mjs";
|
|
13
21
|
import { ScrollAreaProps } from "./ScrollArea/type.mjs";
|
|
14
22
|
import { ScrollArea } from "./ScrollArea/ScrollArea.mjs";
|
|
@@ -32,4 +40,4 @@ import { styles } from "./Switch/style.mjs";
|
|
|
32
40
|
import { SwitchIcon, SwitchRoot, SwitchThumb, useSwitchContext } from "./Switch/atoms.mjs";
|
|
33
41
|
import { Switch } from "./Switch/Switch.mjs";
|
|
34
42
|
import "./Switch/index.mjs";
|
|
35
|
-
export { BaseModalProps, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuItem, ContextMenuTrigger, DropdownItem, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuCheckboxItemProps, DropdownMenuGroup, DropdownMenuGroupLabel, DropdownMenuGroupLabelProps, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemContentProps, DropdownMenuItemDesc, DropdownMenuItemDescProps, DropdownMenuItemExtra, DropdownMenuItemExtraProps, DropdownMenuItemIcon, DropdownMenuItemIconProps, DropdownMenuItemLabel, DropdownMenuItemLabelGroup, DropdownMenuItemLabelGroupProps, DropdownMenuItemLabelProps, DropdownMenuItemProps, DropdownMenuPlacement, DropdownMenuPopup, DropdownMenuPopupProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuPositioner, DropdownMenuPositionerProps, DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, DropdownMenuSubmenuTriggerProps, DropdownMenuSwitchItem, DropdownMenuSwitchItemProps, DropdownMenuSwitchItem$1 as DropdownMenuSwitchItemType, DropdownMenuTrigger, DropdownMenuTriggerProps, IconSpaceMode, ImperativeModalProps, Modal, ModalBackdrop, ModalBackdropProps, ModalClose, ModalCloseProps, ModalComponentProps, ModalConfirmConfig, ModalContent, ModalContentProps, ModalContext, ModalContextValue, ModalDescription, ModalDescriptionProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalHost, ModalHostProps, ModalInstance, ModalPopup, ModalPopupProps, ModalPortal, ModalPortalProps, ModalRoot, ModalRootProps, ModalSystem, ModalTitle, ModalTitleProps, ModalTrigger, ModalTriggerProps, ModalViewport, ModalViewportProps, ScrollArea, ScrollAreaContent, ScrollAreaContentProps, ScrollAreaCorner, ScrollAreaCornerProps, ScrollAreaProps, ScrollAreaRoot, ScrollAreaRootProps, ScrollAreaScrollbar, ScrollAreaScrollbarProps, ScrollAreaThumb, ScrollAreaThumbProps, ScrollAreaViewport, ScrollAreaViewportProps, Select, SelectArrow, SelectArrowProps, SelectBackdrop, SelectBehaviorVariant, SelectClassNames, SelectGroup, SelectGroupLabel, SelectGroupLabelProps, SelectGroupProps, SelectIcon, SelectIconProps, SelectIndicatorVariant, SelectItem, SelectItemIndicator, SelectItemIndicatorProps, SelectItemProps, SelectItemText, SelectItemTextProps, SelectList, SelectListProps, SelectOption, SelectOptionGroup, SelectOptions, SelectPopup, SelectPopupProps, SelectPortal, SelectPortalProps, SelectPositioner, SelectPositionerProps, SelectProps, SelectRoot, SelectScrollDownArrow, SelectScrollDownArrowProps, SelectScrollUpArrow, SelectScrollUpArrowProps, SelectSeparator, SelectSize, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, SelectVariant, Switch, SwitchChangeEventHandler, SwitchClassNames, SwitchClickEventHandler, SwitchContextType, SwitchIcon, SwitchIconPosition, SwitchIconProps, SwitchProps, SwitchRoot, SwitchRootProps, SwitchSize, SwitchStyles, SwitchThumb, SwitchThumbProps, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, backdropTransition, closeContextMenu, confirmModal, createModal, createModalSystem, modalMotionConfig, renderDropdownMenuItems, showContextMenu, styles as switchStyles, toast, updateContextMenuItems, useModalActions, useModalContext, useModalOpen, useSwitchContext, useToast };
|
|
43
|
+
export { BaseModalProps, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuItem, ContextMenuTrigger, DropdownItem, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuCheckboxItemProps, DropdownMenuGroup, DropdownMenuGroupLabel, DropdownMenuGroupLabelProps, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemContentProps, DropdownMenuItemDesc, DropdownMenuItemDescProps, DropdownMenuItemExtra, DropdownMenuItemExtraProps, DropdownMenuItemIcon, DropdownMenuItemIconProps, DropdownMenuItemLabel, DropdownMenuItemLabelGroup, DropdownMenuItemLabelGroupProps, DropdownMenuItemLabelProps, DropdownMenuItemProps, DropdownMenuPlacement, DropdownMenuPopup, DropdownMenuPopupProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuPositioner, DropdownMenuPositionerProps, DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, DropdownMenuSubmenuTriggerProps, DropdownMenuSwitchItem, DropdownMenuSwitchItemProps, DropdownMenuSwitchItem$1 as DropdownMenuSwitchItemType, DropdownMenuTrigger, DropdownMenuTriggerProps, IconSpaceMode, ImperativeModalProps, Modal, ModalBackdrop, ModalBackdropProps, ModalClose, ModalCloseProps, ModalComponentProps, ModalConfirmConfig, ModalContent, ModalContentProps, ModalContext, ModalContextValue, ModalDescription, ModalDescriptionProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalHost, ModalHostProps, ModalInstance, ModalPopup, ModalPopupProps, ModalPortal, ModalPortalProps, ModalRoot, ModalRootProps, ModalSystem, ModalTitle, ModalTitleProps, ModalTrigger, ModalTriggerProps, ModalViewport, ModalViewportProps, PopoverArrow, PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, PopoverBackdropProps, PopoverContextValue, PopoverGroup, PopoverPlacement, PopoverPopup, PopoverPopupAtomProps, PopoverPopupProps, PopoverPortal, PopoverPortalAtomProps, PopoverPortalProps, PopoverPositioner, PopoverPositionerAtomProps, PopoverPositionerProps, PopoverProps, PopoverProvider, PopoverRoot, PopoverTrigger, PopoverTriggerComponentProps, PopoverTriggerElement, PopoverTriggerElementProps, PopoverViewport, PopoverViewportAtomProps, ScrollArea, ScrollAreaContent, ScrollAreaContentProps, ScrollAreaCorner, ScrollAreaCornerProps, ScrollAreaProps, ScrollAreaRoot, ScrollAreaRootProps, ScrollAreaScrollbar, ScrollAreaScrollbarProps, ScrollAreaThumb, ScrollAreaThumbProps, ScrollAreaViewport, ScrollAreaViewportProps, Select, SelectArrow, SelectArrowProps, SelectBackdrop, SelectBehaviorVariant, SelectClassNames, SelectGroup, SelectGroupLabel, SelectGroupLabelProps, SelectGroupProps, SelectIcon, SelectIconProps, SelectIndicatorVariant, SelectItem, SelectItemIndicator, SelectItemIndicatorProps, SelectItemProps, SelectItemText, SelectItemTextProps, SelectList, SelectListProps, SelectOption, SelectOptionGroup, SelectOptions, SelectPopup, SelectPopupProps, SelectPortal, SelectPortalProps, SelectPositioner, SelectPositionerProps, SelectProps, SelectRoot, SelectScrollDownArrow, SelectScrollDownArrowProps, SelectScrollUpArrow, SelectScrollUpArrowProps, SelectSeparator, SelectSize, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, SelectVariant, Switch, SwitchChangeEventHandler, SwitchClassNames, SwitchClickEventHandler, SwitchContextType, SwitchIcon, SwitchIconPosition, SwitchIconProps, SwitchProps, SwitchRoot, SwitchRootProps, SwitchSize, SwitchStyles, SwitchThumb, SwitchThumbProps, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, backdropTransition, closeContextMenu, confirmModal, createModal, createModalSystem, modalMotionConfig, parseTrigger, renderDropdownMenuItems, showContextMenu, styles as switchStyles, toast, updateContextMenuItems, useModalActions, useModalContext, useModalOpen, usePopoverContext, usePopoverPortalContainer, useSwitchContext, useToast };
|
package/es/base-ui/index.mjs
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemDesc, DropdownMenuItemExtra, DropdownMenuItemIcon, DropdownMenuItemLabel, DropdownMenuItemLabelGroup, DropdownMenuPopup, DropdownMenuPortal, DropdownMenuPositioner, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubmenuArrow, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, DropdownMenuSwitchItem, DropdownMenuTrigger } from "./DropdownMenu/atoms.mjs";
|
|
2
|
+
import { parseTrigger } from "../utils/parseTrigger.mjs";
|
|
2
3
|
import { renderDropdownMenuItems } from "./DropdownMenu/renderItems.mjs";
|
|
3
4
|
import DropdownMenu_default from "./DropdownMenu/DropdownMenu.mjs";
|
|
4
5
|
import { closeContextMenu, showContextMenu, updateContextMenuItems } from "./ContextMenu/store.mjs";
|
|
5
6
|
import { ContextMenuHost } from "./ContextMenu/ContextMenuHost.mjs";
|
|
6
7
|
import { ContextMenuTrigger } from "./ContextMenu/ContextMenuTrigger.mjs";
|
|
8
|
+
import { PopoverArrowIcon } from "./Popover/ArrowIcon.mjs";
|
|
9
|
+
import { usePopoverPortalContainer } from "./Popover/PopoverPortal.mjs";
|
|
10
|
+
import { PopoverArrow, PopoverBackdrop, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverRoot, PopoverTriggerElement, PopoverViewport } from "./Popover/atoms.mjs";
|
|
11
|
+
import { PopoverProvider, usePopoverContext } from "./Popover/context.mjs";
|
|
12
|
+
import PopoverGroup_default from "./Popover/PopoverGroup.mjs";
|
|
7
13
|
import { ScrollAreaContent, ScrollAreaCorner, ScrollAreaRoot, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport } from "./ScrollArea/atoms.mjs";
|
|
8
14
|
import { ScrollArea } from "./ScrollArea/ScrollArea.mjs";
|
|
9
15
|
import { ToastHost, toast, useToast } from "./Toast/imperative.mjs";
|
|
@@ -18,4 +24,4 @@ import { styles } from "./Switch/style.mjs";
|
|
|
18
24
|
import { SwitchIcon, SwitchRoot, SwitchThumb, useSwitchContext } from "./Switch/atoms.mjs";
|
|
19
25
|
import Switch_default from "./Switch/Switch.mjs";
|
|
20
26
|
|
|
21
|
-
export { ContextMenuHost, ContextMenuTrigger, DropdownMenu_default as DropdownMenu, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemDesc, DropdownMenuItemExtra, DropdownMenuItemIcon, DropdownMenuItemLabel, DropdownMenuItemLabelGroup, DropdownMenuPopup, DropdownMenuPortal, DropdownMenuPositioner, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubmenuArrow, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, DropdownMenuSwitchItem, DropdownMenuTrigger, Modal_default as Modal, ModalBackdrop, ModalClose, ModalContent, ModalContext, ModalDescription, ModalFooter, ModalHeader, ModalHost, ModalPopup, ModalPortal, ModalRoot, ModalTitle, ModalTrigger, ModalViewport, ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaRoot, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, Select_default as Select, SelectArrow, SelectBackdrop, SelectGroup, SelectGroupLabel, SelectIcon, SelectItem, SelectItemIndicator, SelectItemText, SelectList, SelectPopup, SelectPortal, SelectPositioner, SelectRoot, SelectScrollDownArrow, SelectScrollUpArrow, SelectSeparator, SelectTrigger, SelectValue, Switch_default as Switch, SwitchIcon, SwitchRoot, SwitchThumb, ToastHost, backdropTransition, closeContextMenu, confirmModal, createModal, createModalSystem, modalMotionConfig, renderDropdownMenuItems, showContextMenu, styles as switchStyles, toast, updateContextMenuItems, useModalActions, useModalContext, useModalOpen, useSwitchContext, useToast };
|
|
27
|
+
export { ContextMenuHost, ContextMenuTrigger, DropdownMenu_default as DropdownMenu, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemDesc, DropdownMenuItemExtra, DropdownMenuItemIcon, DropdownMenuItemLabel, DropdownMenuItemLabelGroup, DropdownMenuPopup, DropdownMenuPortal, DropdownMenuPositioner, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubmenuArrow, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, DropdownMenuSwitchItem, DropdownMenuTrigger, Modal_default as Modal, ModalBackdrop, ModalClose, ModalContent, ModalContext, ModalDescription, ModalFooter, ModalHeader, ModalHost, ModalPopup, ModalPortal, ModalRoot, ModalTitle, ModalTrigger, ModalViewport, PopoverArrow, PopoverArrowIcon, PopoverBackdrop, PopoverGroup_default as PopoverGroup, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverProvider, PopoverRoot, PopoverTriggerElement, PopoverViewport, ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaRoot, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, Select_default as Select, SelectArrow, SelectBackdrop, SelectGroup, SelectGroupLabel, SelectIcon, SelectItem, SelectItemIndicator, SelectItemText, SelectList, SelectPopup, SelectPortal, SelectPositioner, SelectRoot, SelectScrollDownArrow, SelectScrollUpArrow, SelectSeparator, SelectTrigger, SelectValue, Switch_default as Switch, SwitchIcon, SwitchRoot, SwitchThumb, ToastHost, backdropTransition, closeContextMenu, confirmModal, createModal, createModalSystem, modalMotionConfig, parseTrigger, renderDropdownMenuItems, showContextMenu, styles as switchStyles, toast, updateContextMenuItems, useModalActions, useModalContext, useModalOpen, usePopoverContext, usePopoverPortalContainer, useSwitchContext, useToast };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DivProps } from "../../types/index.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react61 from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/brand/LobeChat/index.d.ts
|
|
@@ -8,7 +8,7 @@ interface LobeChatProps extends DivProps {
|
|
|
8
8
|
size?: number;
|
|
9
9
|
type?: '3d' | 'flat' | 'mono' | 'text' | 'combine';
|
|
10
10
|
}
|
|
11
|
-
declare const LobeChat:
|
|
11
|
+
declare const LobeChat: react61.NamedExoticComponent<LobeChatProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { LobeChat, LobeChatProps };
|
|
14
14
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DivProps } from "../../types/index.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react62 from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/brand/LobeHub/index.d.ts
|
|
@@ -8,7 +8,7 @@ interface LobeHubProps extends DivProps {
|
|
|
8
8
|
size?: number;
|
|
9
9
|
type?: '3d' | 'flat' | 'mono' | 'text' | 'combine';
|
|
10
10
|
}
|
|
11
|
-
declare const LobeHub:
|
|
11
|
+
declare const LobeHub: react62.NamedExoticComponent<LobeHubProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { LobeHub, LobeHubProps };
|
|
14
14
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SplineProps } from "../../awesome/Spline/type.mjs";
|
|
2
2
|
import "../../awesome/Spline/index.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react63 from "react";
|
|
4
4
|
import { CSSProperties } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/brand/LogoThree/LogoSpline.d.ts
|
|
@@ -10,7 +10,7 @@ interface LogoSplineProps extends Partial<SplineProps> {
|
|
|
10
10
|
style?: CSSProperties;
|
|
11
11
|
width?: number | string;
|
|
12
12
|
}
|
|
13
|
-
declare const LogoSpline:
|
|
13
|
+
declare const LogoSpline: react63.NamedExoticComponent<LogoSplineProps>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { LogoSpline, LogoSplineProps };
|
|
16
16
|
//# sourceMappingURL=LogoSpline.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SplineProps } from "../../awesome/Spline/type.mjs";
|
|
2
2
|
import "../../awesome/Spline/index.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react64 from "react";
|
|
4
4
|
import { CSSProperties } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/brand/LogoThree/index.d.ts
|
|
@@ -9,7 +9,7 @@ interface LogoThreeProps extends Partial<SplineProps> {
|
|
|
9
9
|
size?: number;
|
|
10
10
|
style?: CSSProperties;
|
|
11
11
|
}
|
|
12
|
-
declare const LogoThree:
|
|
12
|
+
declare const LogoThree: react64.NamedExoticComponent<LogoThreeProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { LogoThree, LogoThreeProps };
|
|
15
15
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackBottomProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react133 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/BackBottom/BackBottom.d.ts
|
|
5
|
-
declare const BackBottom:
|
|
5
|
+
declare const BackBottom: react133.NamedExoticComponent<BackBottomProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { BackBottom };
|
|
8
8
|
//# sourceMappingURL=BackBottom.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChatInputAreaInnerProps } from "../type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react134 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/ChatInputArea/components/ChatInputAreaInner.d.ts
|
|
5
|
-
declare const ChatInputAreaInner:
|
|
5
|
+
declare const ChatInputAreaInner: react134.NamedExoticComponent<ChatInputAreaInnerProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ChatInputAreaInner };
|
|
8
8
|
//# sourceMappingURL=ChatInputAreaInner.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChatItemProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react136 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/ChatItem/ChatItem.d.ts
|
|
5
|
-
declare const ChatItem:
|
|
5
|
+
declare const ChatItem: react136.NamedExoticComponent<ChatItemProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ChatItem };
|
|
8
8
|
//# sourceMappingURL=ChatItem.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChatListProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react135 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/ChatList/ChatList.d.ts
|
|
5
|
-
declare const ChatList:
|
|
5
|
+
declare const ChatList: react135.NamedExoticComponent<ChatListProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ChatList };
|
|
8
8
|
//# sourceMappingURL=ChatList.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EditableMessageProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react137 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/EditableMessage/EditableMessage.d.ts
|
|
5
|
-
declare const EditableMessage:
|
|
5
|
+
declare const EditableMessage: react137.NamedExoticComponent<EditableMessageProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { EditableMessage };
|
|
8
8
|
//# sourceMappingURL=EditableMessage.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EditableMessageListProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react138 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/EditableMessageList/EditableMessageList.d.ts
|
|
5
|
-
declare const EditableMessageList:
|
|
5
|
+
declare const EditableMessageList: react138.NamedExoticComponent<EditableMessageListProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { EditableMessageList };
|
|
8
8
|
//# sourceMappingURL=EditableMessageList.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MessageInputProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react140 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/MessageInput/MessageInput.d.ts
|
|
5
|
-
declare const MessageInput:
|
|
5
|
+
declare const MessageInput: react140.NamedExoticComponent<MessageInputProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { MessageInput };
|
|
8
8
|
//# sourceMappingURL=MessageInput.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MessageModalProps } from "./type.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react139 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/MessageModal/MessageModal.d.ts
|
|
5
|
-
declare const MessageModal:
|
|
5
|
+
declare const MessageModal: react139.NamedExoticComponent<MessageModalProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { MessageModal };
|
|
8
8
|
//# sourceMappingURL=MessageModal.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColorScaleItem } from "../types.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react59 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/color/ColorScales/index.d.ts
|
|
5
5
|
interface ColorScalesProps {
|
|
@@ -16,7 +16,7 @@ interface ColorScalesProps {
|
|
|
16
16
|
*/
|
|
17
17
|
scale: ColorScaleItem;
|
|
18
18
|
}
|
|
19
|
-
declare const ColorScales:
|
|
19
|
+
declare const ColorScales: react59.NamedExoticComponent<ColorScalesProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ColorScales, ColorScalesProps };
|
|
22
22
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColorScaleItem } from "../types.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react60 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/color/CssVar/index.d.ts
|
|
5
5
|
interface ColorScalesProps {
|
|
@@ -16,7 +16,7 @@ interface ColorScalesProps {
|
|
|
16
16
|
*/
|
|
17
17
|
scale: ColorScaleItem;
|
|
18
18
|
}
|
|
19
|
-
declare const ColorScales:
|
|
19
|
+
declare const ColorScales: react60.NamedExoticComponent<ColorScalesProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ColorScales };
|
|
22
22
|
//# sourceMappingURL=index.d.mts.map
|
package/es/i18n/context.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I18nContextValue, TranslationKey, TranslationResources, TranslationResourcesInput } from "./types.mjs";
|
|
2
2
|
import { MotionComponentType } from "../MotionProvider/index.mjs";
|
|
3
3
|
import "../ConfigProvider/index.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react58 from "react";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/i18n/context.d.ts
|
|
@@ -11,7 +11,7 @@ interface I18nProviderProps {
|
|
|
11
11
|
motion: MotionComponentType;
|
|
12
12
|
resources?: TranslationResourcesInput;
|
|
13
13
|
}
|
|
14
|
-
declare const I18nProvider:
|
|
14
|
+
declare const I18nProvider: react58.NamedExoticComponent<I18nProviderProps>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { I18nProvider, I18nProviderProps };
|
|
17
17
|
//# sourceMappingURL=context.d.mts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
//#region src/i18n/resources/en/hotkey.d.ts
|
|
2
2
|
declare const _default: {
|
|
3
|
+
readonly 'hotkey.clear': "Clear binding";
|
|
3
4
|
readonly 'hotkey.conflict': "This shortcut conflicts with an existing one.";
|
|
4
5
|
readonly 'hotkey.invalidCombination': "Shortcut must include a modifier key (Ctrl, Alt, Shift) and only one regular key.";
|
|
5
6
|
readonly 'hotkey.placeholder': "Press keys to record shortcut";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
//#region src/i18n/resources/en/hotkey.ts
|
|
2
2
|
var hotkey_default = {
|
|
3
|
+
"hotkey.clear": "Clear binding",
|
|
3
4
|
"hotkey.conflict": "This shortcut conflicts with an existing one.",
|
|
4
5
|
"hotkey.invalidCombination": "Shortcut must include a modifier key (Ctrl, Alt, Shift) and only one regular key.",
|
|
5
6
|
"hotkey.placeholder": "Press keys to record shortcut",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hotkey.mjs","names":[],"sources":["../../../../src/i18n/resources/en/hotkey.ts"],"sourcesContent":["export default {\n 'hotkey.conflict': 'This shortcut conflicts with an existing one.',\n 'hotkey.invalidCombination':\n 'Shortcut must include a modifier key (Ctrl, Alt, Shift) and only one regular key.',\n 'hotkey.placeholder': 'Press keys to record shortcut',\n 'hotkey.reset': 'Reset to default',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,mBAAmB;CACnB,6BACE;CACF,sBAAsB;CACtB,gBAAgB;CACjB"}
|
|
1
|
+
{"version":3,"file":"hotkey.mjs","names":[],"sources":["../../../../src/i18n/resources/en/hotkey.ts"],"sourcesContent":["export default {\n 'hotkey.clear': 'Clear binding',\n 'hotkey.conflict': 'This shortcut conflicts with an existing one.',\n 'hotkey.invalidCombination':\n 'Shortcut must include a modifier key (Ctrl, Alt, Shift) and only one regular key.',\n 'hotkey.placeholder': 'Press keys to record shortcut',\n 'hotkey.reset': 'Reset to default',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,gBAAgB;CAChB,mBAAmB;CACnB,6BACE;CACF,sBAAsB;CACtB,gBAAgB;CACjB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
//#region src/i18n/resources/zhCn/hotkey.d.ts
|
|
2
2
|
declare const _default: {
|
|
3
|
+
readonly 'hotkey.clear': "清除绑定";
|
|
3
4
|
readonly 'hotkey.conflict': "此快捷键与现有快捷键冲突。";
|
|
4
5
|
readonly 'hotkey.invalidCombination': "快捷键必须包含修饰键(Ctrl、Alt、Shift)且只能有一个常规键。";
|
|
5
6
|
readonly 'hotkey.placeholder': "按键录制快捷键";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hotkey.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/hotkey.ts"],"sourcesContent":["export default {\n 'hotkey.conflict': '此快捷键与现有快捷键冲突。',\n 'hotkey.invalidCombination': '快捷键必须包含修饰键(Ctrl、Alt、Shift)且只能有一个常规键。',\n 'hotkey.placeholder': '按键录制快捷键',\n 'hotkey.reset': '重置为默认',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,mBAAmB;CACnB,6BAA6B;CAC7B,sBAAsB;CACtB,gBAAgB;CACjB"}
|
|
1
|
+
{"version":3,"file":"hotkey.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/hotkey.ts"],"sourcesContent":["export default {\n 'hotkey.clear': '清除绑定',\n 'hotkey.conflict': '此快捷键与现有快捷键冲突。',\n 'hotkey.invalidCombination': '快捷键必须包含修饰键(Ctrl、Alt、Shift)且只能有一个常规键。',\n 'hotkey.placeholder': '按键录制快捷键',\n 'hotkey.reset': '重置为默认',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,gBAAgB;CAChB,mBAAmB;CACnB,6BAA6B;CAC7B,sBAAsB;CACtB,gBAAgB;CACjB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { IconAvatarProps } from "@lobehub/icons";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/Discord/components/Avatar.d.ts
|
|
5
|
+
type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
|
|
6
|
+
declare const Avatar: FC<AvatarProps>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { Avatar };
|
|
9
|
+
//# sourceMappingURL=Avatar.d.mts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { COLOR_PRIMARY, TITLE } from "../style.mjs";
|
|
4
|
+
import Mono_default from "./Mono.mjs";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { IconAvatar } from "@lobehub/icons";
|
|
7
|
+
|
|
8
|
+
//#region src/icons/Discord/components/Avatar.tsx
|
|
9
|
+
const Avatar = ({ background, ...rest }) => {
|
|
10
|
+
return /* @__PURE__ */ jsx(IconAvatar, {
|
|
11
|
+
Icon: Mono_default,
|
|
12
|
+
"aria-label": TITLE,
|
|
13
|
+
background: background || COLOR_PRIMARY,
|
|
14
|
+
color: "#fff",
|
|
15
|
+
...rest
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
var Avatar_default = Avatar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { Avatar_default as default };
|
|
22
|
+
//# sourceMappingURL=Avatar.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.mjs","names":["Avatar: FC<AvatarProps>","Mono"],"sources":["../../../../src/icons/Discord/components/Avatar.tsx"],"sourcesContent":["'use client';\n\nimport { IconAvatar, type IconAvatarProps } from '@lobehub/icons';\nimport { type FC } from 'react';\n\nimport { COLOR_PRIMARY, TITLE } from '../style';\nimport Mono from './Mono';\n\nexport type AvatarProps = Omit<IconAvatarProps, 'Icon'>;\n\nconst Avatar: FC<AvatarProps> = ({ background, ...rest }) => {\n return (\n <IconAvatar\n Icon={Mono}\n aria-label={TITLE}\n background={background || COLOR_PRIMARY}\n color={'#fff'}\n {...rest}\n />\n );\n};\n\nexport default Avatar;\n"],"mappings":";;;;;;;;AAUA,MAAMA,UAA2B,EAAE,YAAY,GAAG,WAAW;AAC3D,QACE,oBAAC;EACC,MAAMC;EACN,cAAY;EACZ,YAAY,cAAc;EAC1B,OAAO;EACP,GAAI;GACJ;;AAIN,qBAAe"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { TITLE } from "../style.mjs";
|
|
4
|
+
import { memo } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/icons/Discord/components/Color.tsx
|
|
8
|
+
const Icon = memo(({ size = "1em", style, ...rest }) => {
|
|
9
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
10
|
+
height: size,
|
|
11
|
+
style: {
|
|
12
|
+
flex: "none",
|
|
13
|
+
lineHeight: 1,
|
|
14
|
+
...style
|
|
15
|
+
},
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
width: size,
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
...rest,
|
|
20
|
+
children: [/* @__PURE__ */ jsx("title", { children: TITLE }), /* @__PURE__ */ jsx("path", {
|
|
21
|
+
d: "M20.317 4.37a19.79 19.79 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037c-1.687.29-3.33.8-4.885 1.515a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.077.077 0 00.084-.028c.462-.63.874-1.296 1.227-1.995a.076.076 0 00-.015-.088.076.076 0 00-.027-.017 13.107 13.107 0 01-1.872-.893.077.077 0 01-.031-.098.078.078 0 01.023-.03 10.2 10.2 0 00.372-.29.075.075 0 01.077-.011c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.197.373.292a.076.076 0 01.03.065.078.078 0 01-.036.062c-.599.35-1.225.648-1.873.892a.077.077 0 00-.041.106c.36.698.772 1.363 1.225 1.994a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.06.06 0 00-.031-.03zM8.02 15.33c-1.182 0-2.157-1.086-2.157-2.419s.956-2.419 2.157-2.419c1.21 0 2.176 1.095 2.157 2.42 0 1.332-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.086-2.157-2.419s.955-2.419 2.157-2.419c1.21 0 2.176 1.095 2.157 2.42 0 1.332-.946 2.418-2.157 2.418z",
|
|
22
|
+
fill: "#5865F2"
|
|
23
|
+
})]
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
var Color_default = Icon;
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Color_default as default };
|
|
30
|
+
//# sourceMappingURL=Color.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Color.mjs","names":["Icon: IconType"],"sources":["../../../../src/icons/Discord/components/Color.tsx"],"sourcesContent":["'use client';\n\nimport type { IconType } from '@lobehub/icons';\nimport { memo } from 'react';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n height={size}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n <path\n d=\"M20.317 4.37a19.79 19.79 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037c-1.687.29-3.33.8-4.885 1.515a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.077.077 0 00.084-.028c.462-.63.874-1.296 1.227-1.995a.076.076 0 00-.015-.088.076.076 0 00-.027-.017 13.107 13.107 0 01-1.872-.893.077.077 0 01-.031-.098.078.078 0 01.023-.03 10.2 10.2 0 00.372-.29.075.075 0 01.077-.011c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.197.373.292a.076.076 0 01.03.065.078.078 0 01-.036.062c-.599.35-1.225.648-1.873.892a.077.077 0 00-.041.106c.36.698.772 1.363 1.225 1.994a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.06.06 0 00-.031-.03zM8.02 15.33c-1.182 0-2.157-1.086-2.157-2.419s.956-2.419 2.157-2.419c1.21 0 2.176 1.095 2.157 2.42 0 1.332-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.086-2.157-2.419s.955-2.419 2.157-2.419c1.21 0 2.176 1.095 2.157 2.42 0 1.332-.946 2.418-2.157 2.418z\"\n fill=\"#5865F2\"\n />\n </svg>\n );\n});\n\nexport default Icon;\n"],"mappings":";;;;;;;AAOA,MAAMA,OAAiB,MAAM,EAAE,OAAO,OAAO,OAAO,GAAG,WAAW;AAChE,QACE,qBAAC;EACC,QAAQ;EACR,OAAO;GAAE,MAAM;GAAQ,YAAY;GAAG,GAAG;GAAO;EAChD,SAAQ;EACR,OAAO;EACP,OAAM;EACN,GAAI;aAEJ,oBAAC,qBAAO,QAAc,EACtB,oBAAC;GACC,GAAE;GACF,MAAK;IACL;GACE;EAER;AAEF,oBAAe"}
|