@hua-labs/ui 2.1.1 → 2.3.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/LICENSE +21 -0
- package/README.md +91 -43
- package/dist/{ComponentLayout-DrZpz0yv.d.mts → ComponentLayout-Clf6C2jV.d.mts} +38 -4
- package/dist/DashboardSidebar-ZulecqKs.d.mts +54 -0
- package/dist/DashboardToolbar-BRZayZNz.d.mts +122 -0
- package/dist/EmptyState-SQ3Z6Vf2.d.mts +64 -0
- package/dist/{Modal-CrXmb3Ll.d.mts → Modal-DKKtBtbh.d.mts} +12 -6
- package/dist/{Section-BWzyshgX.d.mts → Section-DKdIG1sg.d.mts} +11 -12
- package/dist/SectionHeader-DHwQ_xh8.d.mts +1653 -0
- package/dist/{Switch-Dzm5TLR3.d.mts → Switch-D0l7SJrz.d.mts} +31 -15
- package/dist/Tooltip-Cv7nYhPW.d.mts +304 -0
- package/dist/advanced/Logo.d.ts +8 -4
- package/dist/advanced/Logo.d.ts.map +1 -1
- package/dist/advanced/dashboard.d.ts +28 -6
- package/dist/advanced/dashboard.d.ts.map +1 -1
- package/dist/advanced-dashboard.d.mts +9 -2278
- package/dist/advanced-dashboard.mjs +1 -33
- package/dist/advanced-dashboard.mjs.map +1 -1
- package/dist/advanced-emotion.d.mts +13 -5
- package/dist/advanced-emotion.mjs +1 -1
- package/dist/advanced-motion.d.mts +144 -61
- package/dist/advanced-motion.mjs +1 -1
- package/dist/advanced.d.mts +70 -37
- package/dist/advanced.mjs +14 -3
- package/dist/advanced.mjs.map +1 -1
- package/dist/chunk-32OZGTPV.mjs +41 -0
- package/dist/chunk-32OZGTPV.mjs.map +1 -0
- package/dist/chunk-6WBFZ2KV.mjs +3 -0
- package/dist/chunk-6WBFZ2KV.mjs.map +1 -0
- package/dist/chunk-7CGJQSJO.mjs +3 -0
- package/dist/chunk-7CGJQSJO.mjs.map +1 -0
- package/dist/chunk-7T3IUG3G.mjs +3 -0
- package/dist/chunk-7T3IUG3G.mjs.map +1 -0
- package/dist/chunk-A5YOVVM5.mjs +3 -0
- package/dist/chunk-A5YOVVM5.mjs.map +1 -0
- package/dist/chunk-AJOGTUWS.mjs +3 -0
- package/dist/chunk-AJOGTUWS.mjs.map +1 -0
- package/dist/chunk-AQTSQYH2.mjs +3 -0
- package/dist/chunk-AQTSQYH2.mjs.map +1 -0
- package/dist/chunk-B2MRZJQA.mjs +3 -0
- package/dist/chunk-B2MRZJQA.mjs.map +1 -0
- package/dist/chunk-BOX4TONF.mjs +3 -0
- package/dist/chunk-BOX4TONF.mjs.map +1 -0
- package/dist/chunk-C2DOXNBK.mjs +3 -0
- package/dist/chunk-C2DOXNBK.mjs.map +1 -0
- package/dist/chunk-CQBMR7VU.mjs +3 -0
- package/dist/chunk-CQBMR7VU.mjs.map +1 -0
- package/dist/chunk-CYAAAEPJ.mjs +3 -0
- package/dist/chunk-CYAAAEPJ.mjs.map +1 -0
- package/dist/chunk-D7MTTTQY.mjs +8 -0
- package/dist/chunk-D7MTTTQY.mjs.map +1 -0
- package/dist/chunk-DABVKUJN.mjs +3 -0
- package/dist/chunk-DABVKUJN.mjs.map +1 -0
- package/dist/chunk-EAZEI74V.mjs +3 -0
- package/dist/chunk-EAZEI74V.mjs.map +1 -0
- package/dist/chunk-EK6BLFVQ.mjs +3 -0
- package/dist/chunk-EK6BLFVQ.mjs.map +1 -0
- package/dist/chunk-FVUAVGP5.mjs +3 -0
- package/dist/chunk-FVUAVGP5.mjs.map +1 -0
- package/dist/chunk-GAIUZVNC.mjs +3 -0
- package/dist/chunk-GAIUZVNC.mjs.map +1 -0
- package/dist/chunk-HLBIIF4I.mjs +3 -0
- package/dist/chunk-HLBIIF4I.mjs.map +1 -0
- package/dist/chunk-I6NCGF6E.mjs +3 -0
- package/dist/chunk-I6NCGF6E.mjs.map +1 -0
- package/dist/chunk-J46VEBVF.mjs +3 -0
- package/dist/chunk-J46VEBVF.mjs.map +1 -0
- package/dist/chunk-JNW3CLCA.mjs +3 -0
- package/dist/chunk-JNW3CLCA.mjs.map +1 -0
- package/dist/chunk-JY3QVUGW.mjs +3 -0
- package/dist/chunk-JY3QVUGW.mjs.map +1 -0
- package/dist/chunk-KHBZOGUU.mjs +3 -0
- package/dist/chunk-KHBZOGUU.mjs.map +1 -0
- package/dist/chunk-KPNNAQLI.mjs +3 -0
- package/dist/chunk-KPNNAQLI.mjs.map +1 -0
- package/dist/chunk-L2LGSILS.mjs +13 -0
- package/dist/chunk-L2LGSILS.mjs.map +1 -0
- package/dist/chunk-LPHUWTQ2.mjs +3 -0
- package/dist/chunk-LPHUWTQ2.mjs.map +1 -0
- package/dist/chunk-M4JE7TQL.mjs +3 -0
- package/dist/chunk-M4JE7TQL.mjs.map +1 -0
- package/dist/chunk-MEDKGNLV.mjs +3 -0
- package/dist/chunk-MEDKGNLV.mjs.map +1 -0
- package/dist/chunk-MR46CSMC.mjs +3 -0
- package/dist/chunk-MR46CSMC.mjs.map +1 -0
- package/dist/chunk-NSDWT2JM.mjs +3 -0
- package/dist/chunk-NSDWT2JM.mjs.map +1 -0
- package/dist/chunk-OBMOTQEU.mjs +3 -0
- package/dist/chunk-OBMOTQEU.mjs.map +1 -0
- package/dist/chunk-QEMPERUK.mjs +3 -0
- package/dist/chunk-QEMPERUK.mjs.map +1 -0
- package/dist/chunk-RICRFXFP.mjs +3 -0
- package/dist/chunk-RICRFXFP.mjs.map +1 -0
- package/dist/chunk-SOK7VBSM.mjs +13 -0
- package/dist/chunk-SOK7VBSM.mjs.map +1 -0
- package/dist/chunk-SPZ7SZH4.mjs +3 -0
- package/dist/chunk-SPZ7SZH4.mjs.map +1 -0
- package/dist/chunk-TB3DARQO.mjs +3 -0
- package/dist/chunk-TB3DARQO.mjs.map +1 -0
- package/dist/chunk-TND4HPKW.mjs +51 -0
- package/dist/chunk-TND4HPKW.mjs.map +1 -0
- package/dist/chunk-TSAXVD2H.mjs +35 -0
- package/dist/chunk-TSAXVD2H.mjs.map +1 -0
- package/dist/chunk-UR3TIWBS.mjs +3 -0
- package/dist/chunk-UR3TIWBS.mjs.map +1 -0
- package/dist/chunk-XU2XBAEW.mjs +3 -0
- package/dist/chunk-XU2XBAEW.mjs.map +1 -0
- package/dist/chunk-XXHDNZTG.mjs +3 -0
- package/dist/chunk-XXHDNZTG.mjs.map +1 -0
- package/dist/chunk-YW5DA7Q6.mjs +3 -0
- package/dist/chunk-YW5DA7Q6.mjs.map +1 -0
- package/dist/chunk-ZTHUGQZL.mjs +3 -0
- package/dist/chunk-ZTHUGQZL.mjs.map +1 -0
- package/dist/chunk-ZVCGC6EV.mjs +3 -0
- package/dist/chunk-ZVCGC6EV.mjs.map +1 -0
- package/dist/chunk-ZZ67E3M5.mjs +3 -0
- package/dist/chunk-ZZ67E3M5.mjs.map +1 -0
- package/dist/{common-YLvZxA_K.d.mts → common-Bej8Okcg.d.mts} +1 -1
- package/dist/components/Accordion.d.ts +14 -7
- package/dist/components/Accordion.d.ts.map +1 -1
- package/dist/components/Action.d.ts.map +1 -1
- package/dist/components/ActionToolbar.d.ts +10 -6
- package/dist/components/ActionToolbar.d.ts.map +1 -1
- package/dist/components/Alert.d.ts +16 -2
- package/dist/components/Alert.d.ts.map +1 -1
- package/dist/components/Autocomplete.d.ts +6 -4
- package/dist/components/Autocomplete.d.ts.map +1 -1
- package/dist/components/Avatar.d.ts +20 -7
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Badge.d.ts +27 -9
- package/dist/components/Badge.d.ts.map +1 -1
- package/dist/components/Bookmark.d.ts +4 -2
- package/dist/components/Bookmark.d.ts.map +1 -1
- package/dist/components/BottomSheet.d.ts +13 -9
- package/dist/components/BottomSheet.d.ts.map +1 -1
- package/dist/components/Box.d.ts +9 -0
- package/dist/components/Box.d.ts.map +1 -0
- package/dist/components/Breadcrumb.d.ts +9 -4
- package/dist/components/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Button.d.ts +3 -29
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.variants.d.ts +54 -10
- package/dist/components/Button.variants.d.ts.map +1 -1
- package/dist/components/Card.d.ts +49 -14
- package/dist/components/Card.d.ts.map +1 -1
- package/dist/components/ChatMessage.d.ts +3 -2
- package/dist/components/ChatMessage.d.ts.map +1 -1
- package/dist/components/Checkbox.d.ts +5 -2
- package/dist/components/Checkbox.d.ts.map +1 -1
- package/dist/components/CodeBlock.d.ts +8 -5
- package/dist/components/CodeBlock.d.ts.map +1 -1
- package/dist/components/ColorPicker.d.ts +4 -2
- package/dist/components/ColorPicker.d.ts.map +1 -1
- package/dist/components/Command.d.ts +28 -14
- package/dist/components/Command.d.ts.map +1 -1
- package/dist/components/ComponentLayout.d.ts +5 -2
- package/dist/components/ComponentLayout.d.ts.map +1 -1
- package/dist/components/ConfirmModal.d.ts +4 -0
- package/dist/components/ConfirmModal.d.ts.map +1 -1
- package/dist/components/Container.d.ts +18 -5
- package/dist/components/Container.d.ts.map +1 -1
- package/dist/components/ContextMenu.d.ts +36 -36
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/DatePicker.d.ts +12 -5
- package/dist/components/DatePicker.d.ts.map +1 -1
- package/dist/components/Divider.d.ts +2 -1
- package/dist/components/Divider.d.ts.map +1 -1
- package/dist/components/Drawer.d.ts +17 -12
- package/dist/components/Drawer.d.ts.map +1 -1
- package/dist/components/Dropdown.d.ts +25 -57
- package/dist/components/Dropdown.d.ts.map +1 -1
- package/dist/components/EmotionAnalysis.d.ts +3 -1
- package/dist/components/EmotionAnalysis.d.ts.map +1 -1
- package/dist/components/EmotionButton.d.ts +3 -1
- package/dist/components/EmotionButton.d.ts.map +1 -1
- package/dist/components/EmotionMeter.d.ts +3 -1
- package/dist/components/EmotionMeter.d.ts.map +1 -1
- package/dist/components/EmotionSelector.d.ts +3 -1
- package/dist/components/EmotionSelector.d.ts.map +1 -1
- package/dist/components/FeatureCard.d.ts +9 -3
- package/dist/components/FeatureCard.d.ts.map +1 -1
- package/dist/components/Form.d.ts +20 -54
- package/dist/components/Form.d.ts.map +1 -1
- package/dist/components/FormControl.d.ts +3 -2
- package/dist/components/FormControl.d.ts.map +1 -1
- package/dist/components/Grid.d.ts +11 -4
- package/dist/components/Grid.d.ts.map +1 -1
- package/dist/components/HeroSection.d.ts +4 -2
- package/dist/components/HeroSection.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts +12 -8
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/IconsaxGallery/index.d.ts +8 -5
- package/dist/components/IconsaxGallery/index.d.ts.map +1 -1
- package/dist/components/InfoCard.d.ts +5 -2
- package/dist/components/InfoCard.d.ts.map +1 -1
- package/dist/components/Input.d.ts +29 -4
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Label.d.ts +15 -10
- package/dist/components/Label.d.ts.map +1 -1
- package/dist/components/LanguageToggle.d.ts +5 -3
- package/dist/components/LanguageToggle.d.ts.map +1 -1
- package/dist/components/Link.d.ts +17 -6
- package/dist/components/Link.d.ts.map +1 -1
- package/dist/components/LoadingSpinner.d.ts +7 -3
- package/dist/components/LoadingSpinner.d.ts.map +1 -1
- package/dist/components/Menu.d.ts +59 -60
- package/dist/components/Menu.d.ts.map +1 -1
- package/dist/components/Modal.d.ts +12 -6
- package/dist/components/Modal.d.ts.map +1 -1
- package/dist/components/Navigation.d.ts +26 -11
- package/dist/components/Navigation.d.ts.map +1 -1
- package/dist/components/NumberInput.d.ts +5 -2
- package/dist/components/NumberInput.d.ts.map +1 -1
- package/dist/components/PageNavigation.d.ts +6 -3
- package/dist/components/PageNavigation.d.ts.map +1 -1
- package/dist/components/PageTransition.d.ts +2 -2
- package/dist/components/PageTransition.d.ts.map +1 -1
- package/dist/components/Pagination.d.ts +5 -2
- package/dist/components/Pagination.d.ts.map +1 -1
- package/dist/components/Panel.d.ts +1 -7
- package/dist/components/Panel.d.ts.map +1 -1
- package/dist/components/Popover.d.ts +25 -9
- package/dist/components/Popover.d.ts.map +1 -1
- package/dist/components/Pressable.d.ts +14 -0
- package/dist/components/Pressable.d.ts.map +1 -0
- package/dist/components/Progress.d.ts +36 -13
- package/dist/components/Progress.d.ts.map +1 -1
- package/dist/components/Prose.d.ts +51 -0
- package/dist/components/Prose.d.ts.map +1 -0
- package/dist/components/Radio.d.ts +29 -33
- package/dist/components/Radio.d.ts.map +1 -1
- package/dist/components/ScrollArea.d.ts +8 -9
- package/dist/components/ScrollArea.d.ts.map +1 -1
- package/dist/components/ScrollIndicator.d.ts +9 -8
- package/dist/components/ScrollIndicator.d.ts.map +1 -1
- package/dist/components/ScrollProgress.d.ts +3 -2
- package/dist/components/ScrollProgress.d.ts.map +1 -1
- package/dist/components/ScrollToTop.d.ts +5 -5
- package/dist/components/ScrollToTop.d.ts.map +1 -1
- package/dist/components/Section.d.ts +12 -9
- package/dist/components/Section.d.ts.map +1 -1
- package/dist/components/SectionHeader.d.ts +3 -2
- package/dist/components/SectionHeader.d.ts.map +1 -1
- package/dist/components/Select.d.ts +18 -5
- package/dist/components/Select.d.ts.map +1 -1
- package/dist/components/Skeleton.d.ts +43 -15
- package/dist/components/Skeleton.d.ts.map +1 -1
- package/dist/components/Slider.d.ts +7 -5
- package/dist/components/Slider.d.ts.map +1 -1
- package/dist/components/Stack.d.ts +22 -6
- package/dist/components/Stack.d.ts.map +1 -1
- package/dist/components/StatsPanel.d.ts +4 -2
- package/dist/components/StatsPanel.d.ts.map +1 -1
- package/dist/components/Switch.d.ts +9 -4
- package/dist/components/Switch.d.ts.map +1 -1
- package/dist/components/Table.d.ts +43 -18
- package/dist/components/Table.d.ts.map +1 -1
- package/dist/components/Tabs.d.ts +50 -77
- package/dist/components/Tabs.d.ts.map +1 -1
- package/dist/components/Text.d.ts +11 -0
- package/dist/components/Text.d.ts.map +1 -0
- package/dist/components/Textarea.d.ts +24 -6
- package/dist/components/Textarea.d.ts.map +1 -1
- package/dist/components/ThemeToggle.d.ts +18 -27
- package/dist/components/ThemeToggle.d.ts.map +1 -1
- package/dist/components/Timeline.d.ts +4 -2
- package/dist/components/Timeline.d.ts.map +1 -1
- package/dist/components/Toast.d.ts +1 -1
- package/dist/components/Toast.d.ts.map +1 -1
- package/dist/components/Toggle.d.ts +11 -2
- package/dist/components/Toggle.d.ts.map +1 -1
- package/dist/components/Tooltip.d.ts +5 -2
- package/dist/components/Tooltip.d.ts.map +1 -1
- package/dist/components/Upload.d.ts +5 -3
- package/dist/components/Upload.d.ts.map +1 -1
- package/dist/components/advanced/AdvancedPageTransition.d.ts +7 -5
- package/dist/components/advanced/AdvancedPageTransition.d.ts.map +1 -1
- package/dist/components/advanced/AnimatedGradient.d.ts +6 -2
- package/dist/components/advanced/AnimatedGradient.d.ts.map +1 -1
- package/dist/components/advanced/Carousel.d.ts +3 -1
- package/dist/components/advanced/Carousel.d.ts.map +1 -1
- package/dist/components/advanced/DotNav.d.ts +12 -5
- package/dist/components/advanced/DotNav.d.ts.map +1 -1
- package/dist/components/advanced/GlowCard.d.ts +4 -1
- package/dist/components/advanced/GlowCard.d.ts.map +1 -1
- package/dist/components/advanced/HorizontalScroll.d.ts +4 -1
- package/dist/components/advanced/HorizontalScroll.d.ts.map +1 -1
- package/dist/components/advanced/ImageReveal.d.ts +23 -1
- package/dist/components/advanced/ImageReveal.d.ts.map +1 -1
- package/dist/components/advanced/Marquee.d.ts +4 -2
- package/dist/components/advanced/Marquee.d.ts.map +1 -1
- package/dist/components/advanced/Parallax.d.ts +12 -7
- package/dist/components/advanced/Parallax.d.ts.map +1 -1
- package/dist/components/advanced/SpotlightCard.d.ts +13 -12
- package/dist/components/advanced/SpotlightCard.d.ts.map +1 -1
- package/dist/components/advanced/TextReveal.d.ts +5 -1
- package/dist/components/advanced/TextReveal.d.ts.map +1 -1
- package/dist/components/advanced/TiltCard.d.ts +6 -2
- package/dist/components/advanced/TiltCard.d.ts.map +1 -1
- package/dist/components/advanced/VideoBackground.d.ts +4 -1
- package/dist/components/advanced/VideoBackground.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditor.d.ts +4 -2
- package/dist/components/advanced/blog-editor/BlogEditor.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditorActions.d.ts +4 -2
- package/dist/components/advanced/blog-editor/BlogEditorActions.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditorContent.d.ts +4 -2
- package/dist/components/advanced/blog-editor/BlogEditorContent.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditorHeader.d.ts +4 -2
- package/dist/components/advanced/blog-editor/BlogEditorHeader.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditorLanguageTabs.d.ts +4 -2
- package/dist/components/advanced/blog-editor/BlogEditorLanguageTabs.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditorMetadata.d.ts +5 -3
- package/dist/components/advanced/blog-editor/BlogEditorMetadata.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditorPreview.d.ts +5 -3
- package/dist/components/advanced/blog-editor/BlogEditorPreview.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditorToolbar.d.ts +4 -2
- package/dist/components/advanced/blog-editor/BlogEditorToolbar.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/BlogEditorTranslate.d.ts +4 -2
- package/dist/components/advanced/blog-editor/BlogEditorTranslate.d.ts.map +1 -1
- package/dist/components/advanced/blog-editor/types.d.ts +5 -2
- package/dist/components/advanced/blog-editor/types.d.ts.map +1 -1
- package/dist/components/advanced/emotion/EmotionAnalysis.d.ts +3 -1
- package/dist/components/advanced/emotion/EmotionAnalysis.d.ts.map +1 -1
- package/dist/components/advanced/emotion/EmotionButton.d.ts +3 -1
- package/dist/components/advanced/emotion/EmotionButton.d.ts.map +1 -1
- package/dist/components/advanced/emotion/EmotionMeter.d.ts +4 -2
- package/dist/components/advanced/emotion/EmotionMeter.d.ts.map +1 -1
- package/dist/components/advanced/emotion/EmotionSelector.d.ts +3 -1
- package/dist/components/advanced/emotion/EmotionSelector.d.ts.map +1 -1
- package/dist/components/dashboard/ActivityFeed.d.ts +5 -2
- package/dist/components/dashboard/ActivityFeed.d.ts.map +1 -1
- package/dist/components/dashboard/BarChart.d.ts +3 -2
- package/dist/components/dashboard/BarChart.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardGrid.d.ts +13 -3
- package/dist/components/dashboard/DashboardGrid.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardSidebar.d.ts +15 -82
- package/dist/components/dashboard/DashboardSidebar.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardToolbar.d.ts +3 -2
- package/dist/components/dashboard/DashboardToolbar.d.ts.map +1 -1
- package/dist/components/dashboard/EmptyState.d.ts +3 -2
- package/dist/components/dashboard/EmptyState.d.ts.map +1 -1
- package/dist/components/dashboard/MembershipBadge.d.ts +3 -2
- package/dist/components/dashboard/MembershipBadge.d.ts.map +1 -1
- package/dist/components/dashboard/MerchantList.d.ts +3 -2
- package/dist/components/dashboard/MerchantList.d.ts.map +1 -1
- package/dist/components/dashboard/MetricCard.d.ts +3 -2
- package/dist/components/dashboard/MetricCard.d.ts.map +1 -1
- package/dist/components/dashboard/MiniBarChart.d.ts +3 -2
- package/dist/components/dashboard/MiniBarChart.d.ts.map +1 -1
- package/dist/components/dashboard/NotificationCard.d.ts +5 -2
- package/dist/components/dashboard/NotificationCard.d.ts.map +1 -1
- package/dist/components/dashboard/ProfileCard.d.ts +5 -2
- package/dist/components/dashboard/ProfileCard.d.ts.map +1 -1
- package/dist/components/dashboard/ProgressCard.d.ts +6 -3
- package/dist/components/dashboard/ProgressCard.d.ts.map +1 -1
- package/dist/components/dashboard/QuickActionCard.d.ts +22 -27
- package/dist/components/dashboard/QuickActionCard.d.ts.map +1 -1
- package/dist/components/dashboard/RoutingBreakdownCard.d.ts +3 -2
- package/dist/components/dashboard/RoutingBreakdownCard.d.ts.map +1 -1
- package/dist/components/dashboard/SettlementTimeline.d.ts +3 -2
- package/dist/components/dashboard/SettlementTimeline.d.ts.map +1 -1
- package/dist/components/dashboard/StatCard.d.ts +7 -4
- package/dist/components/dashboard/StatCard.d.ts.map +1 -1
- package/dist/components/dashboard/SummaryCard.d.ts +6 -3
- package/dist/components/dashboard/SummaryCard.d.ts.map +1 -1
- package/dist/components/dashboard/TransactionDetailDrawer.d.ts +2 -2
- package/dist/components/dashboard/TransactionDetailDrawer.d.ts.map +1 -1
- package/dist/components/dashboard/TransactionsTable.d.ts +3 -2
- package/dist/components/dashboard/TransactionsTable.d.ts.map +1 -1
- package/dist/components/dashboard/TrendChart.d.ts +3 -2
- package/dist/components/dashboard/TrendChart.d.ts.map +1 -1
- package/dist/components/dashboard/YearlyHeatmap.d.ts +4 -2
- package/dist/components/dashboard/YearlyHeatmap.d.ts.map +1 -1
- package/dist/components/dashboard/kanban/KanbanAddCard.d.ts.map +1 -1
- package/dist/components/dashboard/kanban/KanbanAddColumn.d.ts.map +1 -1
- package/dist/components/dashboard/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/dashboard/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/dashboard/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/dashboard/kanban/KanbanColumnHeader.d.ts.map +1 -1
- package/dist/components/dashboard/kanban/KanbanDropIndicator.d.ts.map +1 -1
- package/dist/components/dashboard/kanban/index.d.ts +1 -1
- package/dist/components/dashboard/kanban/types.d.ts +24 -12
- package/dist/components/dashboard/kanban/types.d.ts.map +1 -1
- package/dist/components/scrollbar/scrollbar.d.ts +2 -1
- package/dist/components/scrollbar/scrollbar.d.ts.map +1 -1
- package/dist/context/MotionConfigContext.d.ts +41 -0
- package/dist/context/MotionConfigContext.d.ts.map +1 -0
- package/dist/data.d.mts +55 -23
- package/dist/data.d.ts +45 -3
- package/dist/data.d.ts.map +1 -1
- package/dist/data.mjs +2 -2
- package/dist/data.mjs.map +1 -1
- package/dist/feedback.d.mts +6 -293
- package/dist/feedback.d.ts +7 -5
- package/dist/feedback.d.ts.map +1 -1
- package/dist/feedback.mjs +1 -1
- package/dist/form.d.mts +99 -114
- package/dist/form.mjs +9 -4
- package/dist/form.mjs.map +1 -1
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useAnimatedEntrance.d.ts +24 -0
- package/dist/hooks/useAnimatedEntrance.d.ts.map +1 -0
- package/dist/hooks/useBreakpoint.d.ts +22 -0
- package/dist/hooks/useBreakpoint.d.ts.map +1 -0
- package/dist/hooks/useDotEnv.d.ts +12 -0
- package/dist/hooks/useDotEnv.d.ts.map +1 -0
- package/dist/hooks/useDotMap.d.ts +38 -0
- package/dist/hooks/useDotMap.d.ts.map +1 -0
- package/dist/{icons-DmhQEH_E.d.mts → icons-DcOBy9Hf.d.mts} +4 -0
- package/dist/iconsax-extended.mjs +2 -2
- package/dist/iconsax-extended.mjs.map +1 -1
- package/dist/iconsax.mjs +2 -2
- package/dist/iconsax.mjs.map +1 -1
- package/dist/index.d.mts +360 -210
- package/dist/index.d.ts +74 -64
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/dist/interactive/kanban.d.ts +12 -0
- package/dist/interactive/kanban.d.ts.map +1 -0
- package/dist/interactive-kanban.d.mts +378 -0
- package/dist/interactive-kanban.mjs +3 -0
- package/dist/interactive-kanban.mjs.map +1 -0
- package/dist/interactive.d.mts +193 -197
- package/dist/interactive.d.ts +7 -5
- package/dist/interactive.d.ts.map +1 -1
- package/dist/interactive.mjs +1 -1
- package/dist/interactive.mjs.map +1 -1
- package/dist/landing/LandingAbout.d.ts +2 -2
- package/dist/landing/LandingAbout.d.ts.map +1 -1
- package/dist/landing/LandingCTA.d.ts +2 -2
- package/dist/landing/LandingCTA.d.ts.map +1 -1
- package/dist/landing/LandingContact.d.ts +2 -2
- package/dist/landing/LandingContact.d.ts.map +1 -1
- package/dist/landing/LandingExperience.d.ts +1 -1
- package/dist/landing/LandingExperience.d.ts.map +1 -1
- package/dist/landing/LandingFeatures.d.ts +1 -1
- package/dist/landing/LandingFeatures.d.ts.map +1 -1
- package/dist/landing/LandingHero.d.ts +2 -2
- package/dist/landing/LandingHero.d.ts.map +1 -1
- package/dist/landing/LandingLogoCloud.d.ts +2 -2
- package/dist/landing/LandingLogoCloud.d.ts.map +1 -1
- package/dist/landing/LandingMetrics.d.ts +1 -1
- package/dist/landing/LandingMetrics.d.ts.map +1 -1
- package/dist/landing/LandingProjects.d.ts +1 -1
- package/dist/landing/LandingProjects.d.ts.map +1 -1
- package/dist/landing/LandingShowcase.d.ts +2 -2
- package/dist/landing/LandingShowcase.d.ts.map +1 -1
- package/dist/landing/LandingSkills.d.ts +1 -1
- package/dist/landing/LandingSkills.d.ts.map +1 -1
- package/dist/landing/LandingStats.d.ts +1 -1
- package/dist/landing/LandingStats.d.ts.map +1 -1
- package/dist/landing/LandingTestimonials.d.ts +1 -1
- package/dist/landing/LandingTestimonials.d.ts.map +1 -1
- package/dist/landing/types.d.ts +42 -30
- package/dist/landing/types.d.ts.map +1 -1
- package/dist/landing.d.mts +47 -37
- package/dist/landing.mjs +4 -20
- package/dist/landing.mjs.map +1 -1
- package/dist/lib/Slot.d.ts.map +1 -1
- package/dist/lib/icon-providers.d.ts +25 -27
- package/dist/lib/icon-providers.d.ts.map +1 -1
- package/dist/lib/icons.d.ts +4 -0
- package/dist/lib/icons.d.ts.map +1 -1
- package/dist/lib/styles/animation.d.ts +35 -0
- package/dist/lib/styles/animation.d.ts.map +1 -0
- package/dist/lib/styles/disabled.d.ts +15 -0
- package/dist/lib/styles/disabled.d.ts.map +1 -0
- package/dist/lib/styles/focus.d.ts +34 -0
- package/dist/lib/styles/focus.d.ts.map +1 -0
- package/dist/lib/styles/glass.d.ts +18 -0
- package/dist/lib/styles/glass.d.ts.map +1 -0
- package/dist/lib/styles/hover.d.ts +9 -0
- package/dist/lib/styles/hover.d.ts.map +1 -0
- package/dist/lib/styles/index.d.ts +6 -0
- package/dist/lib/styles/index.d.ts.map +1 -1
- package/dist/lib/styles/transition.d.ts +42 -0
- package/dist/lib/styles/transition.d.ts.map +1 -0
- package/dist/lib/types/common.d.ts +3 -3
- package/dist/lib/types/common.d.ts.map +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/native/Box.d.ts +11 -0
- package/dist/native/Box.d.ts.map +1 -0
- package/dist/native/Pressable.d.ts +10 -0
- package/dist/native/Pressable.d.ts.map +1 -0
- package/dist/native/Text.d.ts +11 -0
- package/dist/native/Text.d.ts.map +1 -0
- package/dist/native/index.d.ts +9 -0
- package/dist/native/index.d.ts.map +1 -0
- package/dist/native/useDotMap.d.ts +51 -0
- package/dist/native/useDotMap.d.ts.map +1 -0
- package/dist/native.mjs +2 -0
- package/dist/native.mjs.map +1 -0
- package/dist/navigation.d.mts +49 -22
- package/dist/navigation.d.ts +10 -8
- package/dist/navigation.d.ts.map +1 -1
- package/dist/navigation.mjs +1 -1
- package/dist/navigation.mjs.map +1 -1
- package/dist/overlay.d.mts +84 -87
- package/dist/overlay.mjs +2 -2
- package/dist/overlay.mjs.map +1 -1
- package/dist/sdui/SDUIRenderer.d.ts.map +1 -1
- package/dist/sdui/core.d.ts +50 -0
- package/dist/sdui/core.d.ts.map +1 -0
- package/dist/sdui/index.d.ts +3 -1
- package/dist/sdui/index.d.ts.map +1 -1
- package/dist/sdui/registry.d.ts.map +1 -1
- package/dist/sdui/types.d.ts +38 -0
- package/dist/sdui/types.d.ts.map +1 -1
- package/dist/sdui.d.mts +89 -1
- package/dist/sdui.mjs +2 -2
- package/dist/sdui.mjs.map +1 -1
- package/dist/theme.d.mts +85 -0
- package/dist/theme.d.ts +14 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.mjs +3 -0
- package/dist/theme.mjs.map +1 -0
- package/package.json +50 -22
- package/src/styles/component-vars.css +503 -69
- package/src/styles/landing.css +12 -12
- package/src/styles/prose.css +284 -0
- package/src/styles/recommended-theme.css +123 -141
- package/src/styles/utilities.css +3 -3
- package/dist/advanced-dashboard.js +0 -39
- package/dist/advanced-dashboard.js.map +0 -1
- package/dist/advanced-emotion.js +0 -2
- package/dist/advanced-emotion.js.map +0 -1
- package/dist/advanced-motion.js +0 -82
- package/dist/advanced-motion.js.map +0 -1
- package/dist/advanced.js +0 -112
- package/dist/advanced.js.map +0 -1
- package/dist/chunk-3CCF7U3P.mjs +0 -3
- package/dist/chunk-3CCF7U3P.mjs.map +0 -1
- package/dist/chunk-3GAUTZXQ.mjs +0 -3
- package/dist/chunk-3GAUTZXQ.mjs.map +0 -1
- package/dist/chunk-42RGFEL2.mjs +0 -3
- package/dist/chunk-42RGFEL2.mjs.map +0 -1
- package/dist/chunk-4NJE7D6X.mjs +0 -3
- package/dist/chunk-4NJE7D6X.mjs.map +0 -1
- package/dist/chunk-6HVJFEDA.mjs +0 -3
- package/dist/chunk-6HVJFEDA.mjs.map +0 -1
- package/dist/chunk-7OYT3QSY.mjs +0 -3
- package/dist/chunk-7OYT3QSY.mjs.map +0 -1
- package/dist/chunk-ANYZ56VB.mjs +0 -3
- package/dist/chunk-ANYZ56VB.mjs.map +0 -1
- package/dist/chunk-AOSXB5JJ.mjs +0 -4
- package/dist/chunk-AOSXB5JJ.mjs.map +0 -1
- package/dist/chunk-B544MRF7.mjs +0 -3
- package/dist/chunk-B544MRF7.mjs.map +0 -1
- package/dist/chunk-CVWWS25A.mjs +0 -3
- package/dist/chunk-CVWWS25A.mjs.map +0 -1
- package/dist/chunk-DYNBM24D.mjs +0 -3
- package/dist/chunk-DYNBM24D.mjs.map +0 -1
- package/dist/chunk-FX57OSYG.mjs +0 -3
- package/dist/chunk-FX57OSYG.mjs.map +0 -1
- package/dist/chunk-IJSYSNM5.mjs +0 -3
- package/dist/chunk-IJSYSNM5.mjs.map +0 -1
- package/dist/chunk-KJZGOL2Z.mjs +0 -3
- package/dist/chunk-KJZGOL2Z.mjs.map +0 -1
- package/dist/chunk-KYRIUUQP.mjs +0 -3
- package/dist/chunk-KYRIUUQP.mjs.map +0 -1
- package/dist/chunk-LSA7DU3N.mjs +0 -73
- package/dist/chunk-LSA7DU3N.mjs.map +0 -1
- package/dist/chunk-MDLCJASB.mjs +0 -3
- package/dist/chunk-MDLCJASB.mjs.map +0 -1
- package/dist/chunk-N56BUOCD.mjs +0 -3
- package/dist/chunk-N56BUOCD.mjs.map +0 -1
- package/dist/chunk-OFYITQXI.mjs +0 -13
- package/dist/chunk-OFYITQXI.mjs.map +0 -1
- package/dist/chunk-OZNST3EZ.mjs +0 -3
- package/dist/chunk-OZNST3EZ.mjs.map +0 -1
- package/dist/chunk-RS6RKW5U.mjs +0 -13
- package/dist/chunk-RS6RKW5U.mjs.map +0 -1
- package/dist/chunk-TXBZZJNR.mjs +0 -3
- package/dist/chunk-TXBZZJNR.mjs.map +0 -1
- package/dist/chunk-TZ4YSHMC.mjs +0 -3
- package/dist/chunk-TZ4YSHMC.mjs.map +0 -1
- package/dist/chunk-U6CTBZ2U.mjs +0 -3
- package/dist/chunk-U6CTBZ2U.mjs.map +0 -1
- package/dist/chunk-WP7VFE77.mjs +0 -3
- package/dist/chunk-WP7VFE77.mjs.map +0 -1
- package/dist/chunk-XCZMLKPK.mjs +0 -3
- package/dist/chunk-XCZMLKPK.mjs.map +0 -1
- package/dist/chunk-XGHT7WMO.mjs +0 -3
- package/dist/chunk-XGHT7WMO.mjs.map +0 -1
- package/dist/chunk-XL4KTJ4L.mjs +0 -3
- package/dist/chunk-XL4KTJ4L.mjs.map +0 -1
- package/dist/chunk-Z74YUUVT.mjs +0 -3
- package/dist/chunk-Z74YUUVT.mjs.map +0 -1
- package/dist/chunk-ZXZIHU7J.mjs +0 -8
- package/dist/chunk-ZXZIHU7J.mjs.map +0 -1
- package/dist/components/EmptyState.d.ts +0 -62
- package/dist/components/EmptyState.d.ts.map +0 -1
- package/dist/data.js +0 -3
- package/dist/data.js.map +0 -1
- package/dist/feedback.js +0 -12
- package/dist/feedback.js.map +0 -1
- package/dist/form.js +0 -8
- package/dist/form.js.map +0 -1
- package/dist/iconsax-extended.js +0 -3
- package/dist/iconsax-extended.js.map +0 -1
- package/dist/iconsax.js +0 -3
- package/dist/iconsax.js.map +0 -1
- package/dist/index.js +0 -51
- package/dist/index.js.map +0 -1
- package/dist/interactive.js +0 -2
- package/dist/interactive.js.map +0 -1
- package/dist/landing.js +0 -100
- package/dist/landing.js.map +0 -1
- package/dist/lib/phosphor-icons.d.ts +0 -6
- package/dist/lib/phosphor-icons.d.ts.map +0 -1
- package/dist/navigation.js +0 -12
- package/dist/navigation.js.map +0 -1
- package/dist/overlay.js +0 -3
- package/dist/overlay.js.map +0 -1
- package/dist/sdui.js +0 -9
- package/dist/sdui.js.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,48 +1,56 @@
|
|
|
1
1
|
import React$1 from 'react';
|
|
2
|
-
export { I as Input, L as Label, N as NumberInput, c as NumberInputProps, S as Switch } from './Switch-
|
|
2
|
+
export { I as Input, L as Label, N as NumberInput, c as NumberInputProps, S as Switch } from './Switch-D0l7SJrz.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { e as emotionIcons, s as statusIcons, I as IconName } from './icons-
|
|
5
|
-
export { i as iconCategories } from './icons-
|
|
6
|
-
import { A as AllIconName } from './ComponentLayout-
|
|
7
|
-
export { C as ComponentLayout, P as ProjectIconName, g as getIconNameForProvider, i as iconNames, a as iconProviderMapping, b as isValidIconName } from './ComponentLayout-
|
|
8
|
-
export { M as Modal, a as ModalProps } from './Modal-
|
|
9
|
-
export { C as Container, a as ContainerProps, b as Section, c as SectionHeaderConfig, S as SectionProps
|
|
10
|
-
export { Alert, AlertError, AlertInfo, AlertSuccess, AlertWarning, LoadingSpinner, Toast, ToastProvider, Tooltip, TooltipDark, TooltipLight, useToast, useToastSafe } from './
|
|
4
|
+
import { e as emotionIcons, s as statusIcons, I as IconName } from './icons-DcOBy9Hf.mjs';
|
|
5
|
+
export { i as iconCategories } from './icons-DcOBy9Hf.mjs';
|
|
6
|
+
import { A as AllIconName } from './ComponentLayout-Clf6C2jV.mjs';
|
|
7
|
+
export { C as ComponentLayout, P as ProjectIconName, g as getIconNameForProvider, i as iconNames, a as iconProviderMapping, b as isValidIconName, r as registerLucideResolver } from './ComponentLayout-Clf6C2jV.mjs';
|
|
8
|
+
export { M as Modal, a as ModalProps } from './Modal-DKKtBtbh.mjs';
|
|
9
|
+
export { C as Container, a as ContainerProps, b as Section, c as SectionHeaderConfig, S as SectionProps } from './Section-DKdIG1sg.mjs';
|
|
10
|
+
export { A as Alert, a as AlertError, b as AlertInfo, c as AlertSuccess, d as AlertWarning, L as LoadingSpinner, T as Toast, e as ToastProvider, f as Tooltip, g as TooltipDark, h as TooltipLight, u as useToast, i as useToastSafe } from './Tooltip-Cv7nYhPW.mjs';
|
|
11
|
+
export { ThemeProvider, ThemeProviderProps, ThemeProviderState, useTheme } from './theme.mjs';
|
|
11
12
|
import { ClassValue } from 'clsx';
|
|
12
|
-
import { C as Color, S as Size$1, E as ExtendedVariant } from './common-
|
|
13
|
-
export { B as BaseVariant } from './common-
|
|
13
|
+
import { C as Color, S as Size$1, E as ExtendedVariant } from './common-Bej8Okcg.mjs';
|
|
14
|
+
export { B as BaseVariant } from './common-Bej8Okcg.mjs';
|
|
15
|
+
import { DotOptions, StyleObject } from '@hua-labs/dot';
|
|
16
|
+
export { DotStyleMap, StyleObject } from '@hua-labs/dot';
|
|
14
17
|
import '@phosphor-icons/react';
|
|
15
|
-
import 'class-variance-authority/types';
|
|
16
|
-
import 'class-variance-authority';
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
type BoxElement = "div" | "section" | "article" | "aside" | "main" | "nav" | "header" | "footer" | "figure" | "figcaption" | "details" | "summary" | "fieldset" | "form" | "ol" | "ul" | "li";
|
|
20
|
+
interface BoxProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'className'> {
|
|
21
|
+
as?: BoxElement;
|
|
22
|
+
dot?: string;
|
|
23
|
+
}
|
|
24
|
+
declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLElement>>;
|
|
25
|
+
|
|
26
|
+
type TextElement = "span" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "label" | "em" | "strong" | "small" | "s" | "mark" | "abbr" | "time" | "code" | "pre" | "blockquote" | "cite" | "q";
|
|
27
|
+
interface TextProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "className"> {
|
|
28
|
+
as?: TextElement;
|
|
29
|
+
dot?: string;
|
|
30
|
+
/** For as="label" — associates the label with a form control */
|
|
31
|
+
htmlFor?: string;
|
|
32
|
+
}
|
|
33
|
+
declare const Text: React$1.ForwardRefExoticComponent<TextProps & React$1.RefAttributes<HTMLElement>>;
|
|
34
|
+
|
|
35
|
+
interface PressableProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className"> {
|
|
36
|
+
dot?: string;
|
|
37
|
+
asChild?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Disable the WCAG 2.1 AA minimum touch target (44 × 44 px).
|
|
40
|
+
* Use when the element is part of a larger interactive region or when
|
|
41
|
+
* the enclosing layout already satisfies the size requirement.
|
|
42
|
+
*/
|
|
43
|
+
disableMinTouch?: boolean;
|
|
44
|
+
}
|
|
45
|
+
declare const Pressable: React$1.ForwardRefExoticComponent<PressableProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
46
|
+
|
|
47
|
+
type HoverEffect$1 = "springy" | "scale" | "glow" | "slide" | "none";
|
|
48
|
+
|
|
21
49
|
type Variant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "gradient" | "neon" | "glass";
|
|
22
|
-
/**
|
|
23
|
-
* 버튼 크기 / Button size
|
|
24
|
-
*/
|
|
25
50
|
type Size = "sm" | "md" | "lg" | "xl" | "icon";
|
|
26
|
-
/**
|
|
27
|
-
* 버튼 모서리 둥글기 / Button border radius
|
|
28
|
-
*/
|
|
29
51
|
type Rounded$1 = "sm" | "md" | "lg" | "full";
|
|
30
|
-
/**
|
|
31
|
-
* 버튼 그림자 / Button shadow
|
|
32
|
-
*/
|
|
33
52
|
type Shadow$1 = "none" | "sm" | "md" | "lg" | "xl";
|
|
34
|
-
/**
|
|
35
|
-
* 버튼 호버 효과 / Button hover effect
|
|
36
|
-
* "springy"가 HUA-UI 시그니처 - 공 튕기듯 미세한 반동
|
|
37
|
-
*/
|
|
38
|
-
type Hover = "springy" | "scale" | "glow" | "slide" | "none";
|
|
39
|
-
/**
|
|
40
|
-
* 그라디언트 색상 이름 / Gradient color name
|
|
41
|
-
*/
|
|
42
53
|
type GradientName = "blue" | "purple" | "green" | "orange" | "pink" | "custom";
|
|
43
|
-
/**
|
|
44
|
-
* Button 컴포넌트의 공통 props / Common props for Button component
|
|
45
|
-
*/
|
|
46
54
|
type CommonProps = {
|
|
47
55
|
variant?: Variant;
|
|
48
56
|
size?: Size;
|
|
@@ -53,11 +61,11 @@ type CommonProps = {
|
|
|
53
61
|
customGradient?: string;
|
|
54
62
|
rounded?: Rounded$1;
|
|
55
63
|
shadow?: Shadow$1;
|
|
56
|
-
hover?:
|
|
64
|
+
hover?: HoverEffect$1;
|
|
57
65
|
fullWidth?: boolean;
|
|
58
66
|
iconOnly?: boolean;
|
|
59
67
|
"aria-label"?: string;
|
|
60
|
-
|
|
68
|
+
dot?: string;
|
|
61
69
|
disabled?: boolean;
|
|
62
70
|
asChild?: boolean;
|
|
63
71
|
};
|
|
@@ -67,10 +75,6 @@ type AnchorProps = CommonProps & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorEle
|
|
|
67
75
|
type NativeButtonProps = CommonProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "type"> & {
|
|
68
76
|
href?: undefined;
|
|
69
77
|
};
|
|
70
|
-
/**
|
|
71
|
-
* Button 컴포넌트의 props 타입 / Button component props type
|
|
72
|
-
* href가 제공되면 앵커 태그로, 그렇지 않으면 버튼 태그로 렌더링됩니다.
|
|
73
|
-
*/
|
|
74
78
|
type ButtonProps = AnchorProps | NativeButtonProps;
|
|
75
79
|
type AnchorOrButton$1 = HTMLAnchorElement | HTMLButtonElement;
|
|
76
80
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<AnchorOrButton$1>>;
|
|
@@ -149,7 +153,8 @@ interface LinkProps {
|
|
|
149
153
|
variant?: "default" | "primary" | "secondary" | "ghost" | "underline";
|
|
150
154
|
size?: "sm" | "md" | "lg";
|
|
151
155
|
external?: boolean;
|
|
152
|
-
|
|
156
|
+
dot?: string;
|
|
157
|
+
style?: React$1.CSSProperties;
|
|
153
158
|
onClick?: () => void;
|
|
154
159
|
}
|
|
155
160
|
/**
|
|
@@ -163,7 +168,7 @@ interface LinkProps {
|
|
|
163
168
|
* <Link href="https://example.com" external>외부 사이트</Link>
|
|
164
169
|
* <Link href="/contact" variant="primary" size="lg">문의하기</Link>
|
|
165
170
|
*/
|
|
166
|
-
declare function Link({ href, children,
|
|
171
|
+
declare function Link({ href, children, dot: dotProp, variant, size, external, style, onClick, }: LinkProps): react_jsx_runtime.JSX.Element;
|
|
167
172
|
|
|
168
173
|
/**
|
|
169
174
|
* Icon Config Types
|
|
@@ -222,6 +227,10 @@ interface IconProps {
|
|
|
222
227
|
size?: number | string;
|
|
223
228
|
/** 추가 CSS 클래스 / Additional CSS classes */
|
|
224
229
|
className?: string;
|
|
230
|
+
/** dot 스타일 유틸리티 문자열 / Dot style utility string */
|
|
231
|
+
dot?: string;
|
|
232
|
+
/** 인라인 스타일 / Inline style */
|
|
233
|
+
style?: React$1.CSSProperties;
|
|
225
234
|
/** 감정 아이콘 타입 / Emotion icon type */
|
|
226
235
|
emotion?: keyof typeof emotionIcons;
|
|
227
236
|
/** 상태 아이콘 타입 / Status icon type */
|
|
@@ -237,13 +246,13 @@ interface IconProps {
|
|
|
237
246
|
/** 바운스 애니메이션 / Bounce animation */
|
|
238
247
|
bounce?: boolean;
|
|
239
248
|
/** 색상 변형 / Color variant */
|
|
240
|
-
variant?:
|
|
249
|
+
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "muted" | "inherit";
|
|
241
250
|
/** Phosphor 아이콘 weight 오버라이드 / Phosphor icon weight override */
|
|
242
251
|
weight?: PhosphorWeight;
|
|
243
252
|
/** 스크린 리더용 라벨 / Screen reader label */
|
|
244
|
-
|
|
253
|
+
"aria-label"?: string;
|
|
245
254
|
/** 장식용 아이콘 / Decorative icon (hidden from screen readers) */
|
|
246
|
-
|
|
255
|
+
"aria-hidden"?: boolean;
|
|
247
256
|
}
|
|
248
257
|
/**
|
|
249
258
|
* Icon 컴포넌트
|
|
@@ -276,16 +285,22 @@ declare const ErrorIcon: React$1.ForwardRefExoticComponent<Omit<IconProps, "stat
|
|
|
276
285
|
/**
|
|
277
286
|
* Avatar 컴포넌트의 props / Avatar component props
|
|
278
287
|
*/
|
|
279
|
-
interface AvatarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
288
|
+
interface AvatarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
280
289
|
size?: "sm" | "md" | "lg";
|
|
281
290
|
variant?: "default" | "glass";
|
|
282
291
|
src?: string;
|
|
283
292
|
alt?: string;
|
|
284
293
|
fallbackText?: string;
|
|
294
|
+
dot?: string;
|
|
295
|
+
style?: React$1.CSSProperties;
|
|
285
296
|
}
|
|
286
|
-
interface AvatarImageProps extends React$1.ImgHTMLAttributes<HTMLImageElement> {
|
|
297
|
+
interface AvatarImageProps extends Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, 'className'> {
|
|
298
|
+
dot?: string;
|
|
299
|
+
style?: React$1.CSSProperties;
|
|
287
300
|
}
|
|
288
|
-
interface AvatarFallbackProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
301
|
+
interface AvatarFallbackProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
302
|
+
dot?: string;
|
|
303
|
+
style?: React$1.CSSProperties;
|
|
289
304
|
}
|
|
290
305
|
/**
|
|
291
306
|
* Avatar 컴포넌트 / Avatar component
|
|
@@ -304,12 +319,13 @@ declare const AvatarFallback: React$1.ForwardRefExoticComponent<AvatarFallbackPr
|
|
|
304
319
|
/**
|
|
305
320
|
* Grid 컴포넌트의 props
|
|
306
321
|
*/
|
|
307
|
-
interface GridProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
322
|
+
interface GridProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
308
323
|
cols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
309
324
|
gap?: "none" | "sm" | "md" | "lg" | "xl";
|
|
310
325
|
gapX?: "none" | "sm" | "md" | "lg" | "xl";
|
|
311
326
|
gapY?: "none" | "sm" | "md" | "lg" | "xl";
|
|
312
327
|
responsive?: boolean;
|
|
328
|
+
dot?: string;
|
|
313
329
|
}
|
|
314
330
|
/**
|
|
315
331
|
* Grid 컴포넌트
|
|
@@ -326,12 +342,13 @@ declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAtt
|
|
|
326
342
|
/**
|
|
327
343
|
* Stack 컴포넌트의 props
|
|
328
344
|
*/
|
|
329
|
-
interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
345
|
+
interface StackProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
330
346
|
direction?: "vertical" | "horizontal";
|
|
331
347
|
spacing?: "none" | "sm" | "md" | "lg" | "xl";
|
|
332
348
|
align?: "start" | "center" | "end" | "stretch";
|
|
333
349
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
334
350
|
wrap?: boolean;
|
|
351
|
+
dot?: string;
|
|
335
352
|
}
|
|
336
353
|
/**
|
|
337
354
|
* Stack 컴포넌트
|
|
@@ -348,23 +365,29 @@ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefA
|
|
|
348
365
|
/**
|
|
349
366
|
* Divider 컴포넌트의 props / Divider component props
|
|
350
367
|
*/
|
|
351
|
-
interface DividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
368
|
+
interface DividerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
352
369
|
orientation?: "horizontal" | "vertical";
|
|
353
370
|
variant?: "solid" | "dashed" | "dotted" | "gradient" | "glass";
|
|
354
371
|
size?: "sm" | "md" | "lg";
|
|
355
372
|
spacing?: "none" | "sm" | "md" | "lg" | "xl";
|
|
356
373
|
color?: "default" | "muted" | "primary" | "secondary";
|
|
374
|
+
dot?: string;
|
|
357
375
|
}
|
|
358
376
|
declare const Divider: React$1.NamedExoticComponent<DividerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
359
377
|
|
|
360
378
|
/**
|
|
361
379
|
* Card 컴포넌트의 props / Card component props
|
|
362
380
|
*/
|
|
363
|
-
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
381
|
+
interface CardProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
364
382
|
variant?: "default" | "outline" | "elevated";
|
|
365
|
-
|
|
366
|
-
|
|
383
|
+
rounded?: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
384
|
+
shadow?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
385
|
+
/** @default "none" — use `padding="md"` for standard card padding */
|
|
386
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl";
|
|
367
387
|
hoverable?: boolean;
|
|
388
|
+
/** Enable preset entrance animation (reads from MotionConfigContext) */
|
|
389
|
+
animated?: boolean;
|
|
390
|
+
dot?: string;
|
|
368
391
|
}
|
|
369
392
|
/**
|
|
370
393
|
* Card 컴포넌트 / Card component
|
|
@@ -378,26 +401,31 @@ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
378
401
|
* </Card>
|
|
379
402
|
*/
|
|
380
403
|
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
381
|
-
interface CardHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
404
|
+
interface CardHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
405
|
+
dot?: string;
|
|
382
406
|
}
|
|
383
407
|
declare const CardHeader: React$1.ForwardRefExoticComponent<CardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
384
|
-
interface CardTitleProps extends React$1.HTMLAttributes<HTMLHeadingElement> {
|
|
408
|
+
interface CardTitleProps extends Omit<React$1.HTMLAttributes<HTMLHeadingElement>, "className"> {
|
|
409
|
+
dot?: string;
|
|
385
410
|
}
|
|
386
411
|
declare const CardTitle: React$1.ForwardRefExoticComponent<CardTitleProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
387
|
-
interface CardDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
412
|
+
interface CardDescriptionProps extends Omit<React$1.HTMLAttributes<HTMLParagraphElement>, "className"> {
|
|
413
|
+
dot?: string;
|
|
388
414
|
}
|
|
389
415
|
declare const CardDescription: React$1.ForwardRefExoticComponent<CardDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
390
|
-
interface CardContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
416
|
+
interface CardContentProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
417
|
+
dot?: string;
|
|
391
418
|
}
|
|
392
419
|
declare const CardContent: React$1.ForwardRefExoticComponent<CardContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
393
|
-
interface CardFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
420
|
+
interface CardFooterProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
421
|
+
dot?: string;
|
|
394
422
|
}
|
|
395
423
|
declare const CardFooter: React$1.ForwardRefExoticComponent<CardFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
396
424
|
|
|
397
425
|
/**
|
|
398
426
|
* Panel 컴포넌트의 props / Panel component props
|
|
399
427
|
*/
|
|
400
|
-
interface PanelProps extends Omit<CardProps,
|
|
428
|
+
interface PanelProps extends Omit<CardProps, "variant" | "style" | "padding" | "rounded"> {
|
|
401
429
|
style?: "default" | "solid" | "glass" | "outline" | "elevated" | "neon" | "holographic" | "cyberpunk" | "minimal" | "luxury";
|
|
402
430
|
effect?: "none" | "glow" | "shadow" | "gradient" | "animated";
|
|
403
431
|
transparency?: number;
|
|
@@ -455,10 +483,10 @@ interface ActionButton {
|
|
|
455
483
|
icon?: IconName;
|
|
456
484
|
onClick: () => void;
|
|
457
485
|
disabled?: boolean;
|
|
458
|
-
variant?:
|
|
486
|
+
variant?: "default" | "outline" | "destructive" | "ghost";
|
|
459
487
|
badge?: {
|
|
460
488
|
count: number;
|
|
461
|
-
color?:
|
|
489
|
+
color?: "blue" | "red" | "gray" | "green";
|
|
462
490
|
};
|
|
463
491
|
className?: string;
|
|
464
492
|
}
|
|
@@ -474,9 +502,9 @@ interface ActionButton {
|
|
|
474
502
|
* @property {() => void} [onToggleSelectAll] - 전체 선택/해제 함수 / Toggle select all function
|
|
475
503
|
* @property {() => void} [onCancelSelect] - 선택 모드 취소 함수 / Cancel select mode function
|
|
476
504
|
* @property {boolean} [loading=false] - 로딩 상태 / Loading state
|
|
477
|
-
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
505
|
+
* @extends {Omit<React.HTMLAttributes<HTMLDivElement>, 'className'>}
|
|
478
506
|
*/
|
|
479
|
-
interface ActionToolbarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
507
|
+
interface ActionToolbarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
480
508
|
/** 선택 모드 활성화 여부 */
|
|
481
509
|
isSelectMode?: boolean;
|
|
482
510
|
/** 전체 항목 개수 */
|
|
@@ -495,31 +523,87 @@ interface ActionToolbarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
495
523
|
onCancelSelect?: () => void;
|
|
496
524
|
/** 로딩 상태 */
|
|
497
525
|
loading?: boolean;
|
|
526
|
+
/** dot 유틸리티 스타일 */
|
|
527
|
+
dot?: string;
|
|
528
|
+
/** 추가 인라인 스타일 */
|
|
529
|
+
style?: React$1.CSSProperties;
|
|
498
530
|
}
|
|
499
531
|
declare const ActionToolbar: React$1.NamedExoticComponent<ActionToolbarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
500
532
|
|
|
533
|
+
type ProseElement = "div" | "article" | "section" | "main" | "aside" | "nav" | "header" | "footer";
|
|
534
|
+
interface ProseProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "className"> {
|
|
535
|
+
/** Semantic HTML element to render */
|
|
536
|
+
as?: ProseElement;
|
|
537
|
+
/** Typography size scale */
|
|
538
|
+
size?: "sm" | "base" | "lg";
|
|
539
|
+
/** Text color variant */
|
|
540
|
+
color?: "default" | "gray";
|
|
541
|
+
/** Additional dot utility styles */
|
|
542
|
+
dot?: string;
|
|
543
|
+
children?: React$1.ReactNode;
|
|
544
|
+
}
|
|
501
545
|
/**
|
|
502
|
-
*
|
|
546
|
+
* Prose — Rich content typography container
|
|
547
|
+
*
|
|
548
|
+
* Provides consistent typography styling for markdown-like content
|
|
549
|
+
* (headings, paragraphs, lists, blockquotes, code, tables) using
|
|
550
|
+
* CSS variables for automatic light/dark theme support.
|
|
551
|
+
*
|
|
552
|
+
* No Tailwind typography plugin required.
|
|
553
|
+
*
|
|
554
|
+
* @remarks
|
|
555
|
+
* Requires the prose CSS file to be imported in your app:
|
|
556
|
+
* ```tsx
|
|
557
|
+
* import '@hua-labs/ui/styles/prose.css';
|
|
558
|
+
* ```
|
|
559
|
+
*
|
|
560
|
+
* @example
|
|
561
|
+
* ```tsx
|
|
562
|
+
* // Basic usage
|
|
563
|
+
* <Prose>
|
|
564
|
+
* <h1>Title</h1>
|
|
565
|
+
* <p>Paragraph text...</p>
|
|
566
|
+
* </Prose>
|
|
567
|
+
*
|
|
568
|
+
* // With size and dot prop
|
|
569
|
+
* <Prose size="lg" dot="mt-4">
|
|
570
|
+
* <h2>Section</h2>
|
|
571
|
+
* <p>Content</p>
|
|
572
|
+
* </Prose>
|
|
573
|
+
*
|
|
574
|
+
* // Gray color variant
|
|
575
|
+
* <Prose color="gray">
|
|
576
|
+
* <p>Muted text content</p>
|
|
577
|
+
* </Prose>
|
|
578
|
+
* ```
|
|
503
579
|
*/
|
|
504
|
-
|
|
580
|
+
declare const Prose: React$1.ForwardRefExoticComponent<ProseProps & React$1.RefAttributes<HTMLElement>>;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Badge component props
|
|
584
|
+
*/
|
|
585
|
+
interface BadgeProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
505
586
|
variant?: "default" | "secondary" | "destructive" | "error" | "outline" | "glass";
|
|
587
|
+
rounded?: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
588
|
+
dot?: string;
|
|
589
|
+
style?: React$1.CSSProperties;
|
|
506
590
|
}
|
|
507
591
|
/**
|
|
508
|
-
* Badge
|
|
592
|
+
* Badge component
|
|
509
593
|
*
|
|
510
|
-
*
|
|
594
|
+
* A small badge component for displaying status or category.
|
|
511
595
|
*
|
|
512
596
|
* @example
|
|
513
597
|
* <Badge>New</Badge>
|
|
514
|
-
* <Badge variant="destructive"
|
|
515
|
-
* <Badge variant="outline"
|
|
598
|
+
* <Badge variant="destructive">Done</Badge>
|
|
599
|
+
* <Badge variant="outline">Pending</Badge>
|
|
516
600
|
*/
|
|
517
601
|
declare const Badge: React$1.NamedExoticComponent<BadgeProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
518
602
|
|
|
519
603
|
/**
|
|
520
|
-
* Progress
|
|
604
|
+
* Progress component props
|
|
521
605
|
*/
|
|
522
|
-
interface ProgressProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
606
|
+
interface ProgressProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
523
607
|
value?: number;
|
|
524
608
|
max?: number;
|
|
525
609
|
size?: "sm" | "md" | "lg";
|
|
@@ -530,15 +614,17 @@ interface ProgressProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
530
614
|
label?: string;
|
|
531
615
|
description?: string;
|
|
532
616
|
autoVariant?: boolean;
|
|
617
|
+
dot?: string;
|
|
618
|
+
style?: React$1.CSSProperties;
|
|
533
619
|
}
|
|
534
620
|
/**
|
|
535
|
-
* Progress
|
|
621
|
+
* Progress component
|
|
536
622
|
*
|
|
537
|
-
*
|
|
623
|
+
* A progress bar component for displaying progress.
|
|
538
624
|
*
|
|
539
625
|
* @example
|
|
540
626
|
* <Progress value={50} />
|
|
541
|
-
* <Progress value={75} variant="success" label="
|
|
627
|
+
* <Progress value={75} variant="success" label="Upload" showValue />
|
|
542
628
|
* <Progress value={90} variant="warning" striped animated />
|
|
543
629
|
*/
|
|
544
630
|
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -546,22 +632,26 @@ declare const ProgressSuccess: React$1.ForwardRefExoticComponent<Omit<ProgressPr
|
|
|
546
632
|
declare const ProgressWarning: React$1.ForwardRefExoticComponent<Omit<ProgressProps, "variant"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
547
633
|
declare const ProgressError: React$1.ForwardRefExoticComponent<Omit<ProgressProps, "variant"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
548
634
|
declare const ProgressInfo: React$1.ForwardRefExoticComponent<Omit<ProgressProps, "variant"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
549
|
-
declare const ProgressGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> &
|
|
635
|
+
declare const ProgressGroup: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> & {
|
|
636
|
+
dot?: string;
|
|
637
|
+
style?: React$1.CSSProperties;
|
|
638
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
550
639
|
|
|
551
640
|
/**
|
|
552
|
-
* Skeleton
|
|
641
|
+
* Skeleton component props
|
|
553
642
|
*/
|
|
554
|
-
interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
643
|
+
interface SkeletonProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
555
644
|
variant?: "text" | "circular" | "rectangular" | "rounded";
|
|
556
645
|
width?: string | number;
|
|
557
646
|
height?: string | number;
|
|
558
647
|
animation?: "pulse" | "wave" | "shimmer";
|
|
559
|
-
|
|
648
|
+
dot?: string;
|
|
649
|
+
style?: React$1.CSSProperties;
|
|
560
650
|
}
|
|
561
651
|
/**
|
|
562
|
-
* Skeleton
|
|
652
|
+
* Skeleton component
|
|
563
653
|
*
|
|
564
|
-
*
|
|
654
|
+
* A skeleton component for displaying loading placeholders.
|
|
565
655
|
*
|
|
566
656
|
* @example
|
|
567
657
|
* <Skeleton />
|
|
@@ -573,12 +663,30 @@ declare const SkeletonText: React$1.ForwardRefExoticComponent<Omit<SkeletonProps
|
|
|
573
663
|
declare const SkeletonCircle: React$1.ForwardRefExoticComponent<Omit<SkeletonProps, "variant"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
574
664
|
declare const SkeletonRectangle: React$1.ForwardRefExoticComponent<Omit<SkeletonProps, "variant"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
575
665
|
declare const SkeletonRounded: React$1.ForwardRefExoticComponent<Omit<SkeletonProps, "variant"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
576
|
-
declare const SkeletonCard: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> &
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
declare const
|
|
581
|
-
|
|
666
|
+
declare const SkeletonCard: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> & {
|
|
667
|
+
dot?: string;
|
|
668
|
+
style?: React$1.CSSProperties;
|
|
669
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
670
|
+
declare const SkeletonAvatar: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> & {
|
|
671
|
+
dot?: string;
|
|
672
|
+
style?: React$1.CSSProperties;
|
|
673
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
674
|
+
declare const SkeletonImage: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> & {
|
|
675
|
+
dot?: string;
|
|
676
|
+
style?: React$1.CSSProperties;
|
|
677
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
678
|
+
declare const SkeletonUserProfile: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> & {
|
|
679
|
+
dot?: string;
|
|
680
|
+
style?: React$1.CSSProperties;
|
|
681
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
682
|
+
declare const SkeletonList: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> & {
|
|
683
|
+
dot?: string;
|
|
684
|
+
style?: React$1.CSSProperties;
|
|
685
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
686
|
+
declare const SkeletonTable: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement>, "className"> & {
|
|
687
|
+
dot?: string;
|
|
688
|
+
style?: React$1.CSSProperties;
|
|
689
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
582
690
|
|
|
583
691
|
/**
|
|
584
692
|
* Toggle 컴포넌트의 props / Toggle component props
|
|
@@ -591,9 +699,10 @@ declare const SkeletonTable: React$1.ForwardRefExoticComponent<React$1.HTMLAttri
|
|
|
591
699
|
* @property {string} [description] - Toggle 설명 텍스트 / Toggle description text
|
|
592
700
|
* @property {React.ReactNode} [icon] - 아이콘 / Icon
|
|
593
701
|
* @property {"left" | "right"} [iconPosition="left"] - 아이콘 위치 / Icon position
|
|
594
|
-
* @
|
|
702
|
+
* @property {string} [dot] - dot 유틸리티 문자열 / dot utility string
|
|
703
|
+
* @extends {Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'size'>}
|
|
595
704
|
*/
|
|
596
|
-
interface ToggleProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
705
|
+
interface ToggleProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "size"> {
|
|
597
706
|
variant?: "default" | "outline" | "filled" | "ghost" | "glass";
|
|
598
707
|
size?: "sm" | "md" | "lg";
|
|
599
708
|
pressed?: boolean;
|
|
@@ -602,6 +711,7 @@ interface ToggleProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
602
711
|
description?: string;
|
|
603
712
|
icon?: React$1.ReactNode;
|
|
604
713
|
iconPosition?: "left" | "right";
|
|
714
|
+
dot?: string;
|
|
605
715
|
}
|
|
606
716
|
/**
|
|
607
717
|
* Toggle 컴포넌트 / Toggle component
|
|
@@ -644,18 +754,18 @@ declare const Toggle: React$1.ForwardRefExoticComponent<ToggleProps & React$1.Re
|
|
|
644
754
|
* ScrollArea 컴포넌트의 props / ScrollArea component props
|
|
645
755
|
* @typedef {Object} ScrollAreaProps
|
|
646
756
|
* @property {React.ReactNode} children - 스크롤 영역 내용 / Scroll area content
|
|
647
|
-
* @property {string} [className] - 추가 CSS 클래스 / Additional CSS class
|
|
648
757
|
* @property {"vertical" | "horizontal" | "both"} [orientation="vertical"] - 스크롤 방향 / Scroll direction
|
|
649
758
|
* @property {number} [scrollHideDelay=600] - 스크롤바 숨김 지연 시간 (ms) / Scrollbar hide delay (ms)
|
|
650
759
|
* @property {"auto" | "always" | "scroll" | "hover"} [type="hover"] - 스크롤바 표시 타입 / Scrollbar display type
|
|
651
|
-
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
760
|
+
* @extends {Omit<React.HTMLAttributes<HTMLDivElement>, 'className'>}
|
|
652
761
|
*/
|
|
653
|
-
interface ScrollAreaProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
762
|
+
interface ScrollAreaProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
654
763
|
children: React$1.ReactNode;
|
|
655
|
-
className?: string;
|
|
656
764
|
orientation?: "vertical" | "horizontal" | "both";
|
|
657
765
|
scrollHideDelay?: number;
|
|
658
766
|
type?: "auto" | "always" | "scroll" | "hover";
|
|
767
|
+
/** dot 유틸리티 스트링 (인라인 스타일로 변환) / dot utility string (converted to inline style) */
|
|
768
|
+
dot?: string;
|
|
659
769
|
}
|
|
660
770
|
/**
|
|
661
771
|
* ScrollArea 컴포넌트 / ScrollArea component
|
|
@@ -669,14 +779,14 @@ interface ScrollAreaProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
669
779
|
* @component
|
|
670
780
|
* @example
|
|
671
781
|
* // 기본 사용 / Basic usage
|
|
672
|
-
* <ScrollArea
|
|
782
|
+
* <ScrollArea style={{ height: '16rem' }}>
|
|
673
783
|
* <div>긴 내용...</div>
|
|
674
784
|
* </ScrollArea>
|
|
675
785
|
*
|
|
676
786
|
* @example
|
|
677
787
|
* // 가로 스크롤, 항상 표시 / Horizontal scroll, always visible
|
|
678
788
|
* <ScrollArea orientation="horizontal" type="always">
|
|
679
|
-
* <div
|
|
789
|
+
* <div style={{ display: 'flex', gap: '1rem' }}>...</div>
|
|
680
790
|
* </ScrollArea>
|
|
681
791
|
*
|
|
682
792
|
* @param {ScrollAreaProps} props - ScrollArea 컴포넌트의 props / ScrollArea component props
|
|
@@ -690,21 +800,21 @@ declare const ScrollArea: React$1.ForwardRefExoticComponent<ScrollAreaProps & Re
|
|
|
690
800
|
* @typedef {Object} ScrollToTopProps
|
|
691
801
|
* @property {number} [threshold=400] - 표시 임계값 (px, 이 값 이상 스크롤 시 표시) / Display threshold (px, shows when scrolled beyond this value)
|
|
692
802
|
* @property {boolean} [smooth=true] - 부드러운 스크롤 여부 / Smooth scroll
|
|
693
|
-
* @property {string} [className] - 추가 CSS 클래스 / Additional CSS class
|
|
694
803
|
* @property {IconName} [icon='arrowUp'] - 아이콘 이름 / Icon name
|
|
695
804
|
* @property {"sm" | "md" | "lg"} [size="md"] - 버튼 크기 / Button size
|
|
696
805
|
* @property {"default" | "primary" | "secondary" | "outline" | "ghost"} [variant="default"] - 버튼 스타일 변형 / Button style variant
|
|
697
806
|
* @property {boolean} [showOnMount=false] - 마운트 시 즉시 표시 여부 / Show immediately on mount
|
|
698
|
-
* @extends {React.HTMLAttributes<HTMLButtonElement>}
|
|
807
|
+
* @extends {Omit<React.HTMLAttributes<HTMLButtonElement>, 'className'>}
|
|
699
808
|
*/
|
|
700
|
-
interface ScrollToTopProps extends React$1.HTMLAttributes<HTMLButtonElement> {
|
|
809
|
+
interface ScrollToTopProps extends Omit<React$1.HTMLAttributes<HTMLButtonElement>, 'className'> {
|
|
701
810
|
threshold?: number;
|
|
702
811
|
smooth?: boolean;
|
|
703
|
-
className?: string;
|
|
704
812
|
icon?: IconName;
|
|
705
813
|
size?: "sm" | "md" | "lg";
|
|
706
814
|
variant?: "default" | "primary" | "secondary" | "outline" | "ghost";
|
|
707
815
|
showOnMount?: boolean;
|
|
816
|
+
/** dot 유틸리티 스트링 (인라인 스타일로 변환) / dot utility string (converted to inline style) */
|
|
817
|
+
dot?: string;
|
|
708
818
|
}
|
|
709
819
|
/**
|
|
710
820
|
* ScrollToTop 컴포넌트 / ScrollToTop component
|
|
@@ -732,107 +842,23 @@ interface ScrollToTopProps extends React$1.HTMLAttributes<HTMLButtonElement> {
|
|
|
732
842
|
* @param {ScrollToTopProps} props - ScrollToTop 컴포넌트의 props / ScrollToTop component props
|
|
733
843
|
* @returns {JSX.Element} ScrollToTop 컴포넌트 / ScrollToTop component
|
|
734
844
|
*/
|
|
735
|
-
declare const ScrollToTop: ({
|
|
845
|
+
declare const ScrollToTop: ({ threshold, smooth, icon, size, variant, showOnMount, dot: dotProp, style: styleProp, ...props }: ScrollToTopProps) => react_jsx_runtime.JSX.Element;
|
|
736
846
|
|
|
737
|
-
type Theme = "light" | "dark" | "system";
|
|
738
847
|
/**
|
|
739
|
-
*
|
|
740
|
-
* @typedef {Object} ThemeProviderProps
|
|
741
|
-
* @property {React.ReactNode} children - 자식 컴포넌트 / Child components
|
|
742
|
-
* @property {"light" | "dark" | "system"} [defaultTheme="light"] - 기본 테마 / Default theme
|
|
743
|
-
* @property {string} [storageKey="hua-ui-theme"] - localStorage 키 / localStorage key
|
|
744
|
-
* @property {boolean} [enableSystem=true] - 시스템 테마 감지 활성화 / Enable system theme detection
|
|
745
|
-
* @property {boolean} [enableTransition=true] - 테마 전환 애니메이션 활성화 / Enable theme transition animation
|
|
848
|
+
* ThemeToggle component props
|
|
746
849
|
*/
|
|
747
|
-
interface
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
}
|
|
754
|
-
/**
|
|
755
|
-
* ThemeProvider의 상태 타입 / ThemeProvider state type
|
|
756
|
-
* @typedef {Object} ThemeProviderState
|
|
757
|
-
* @property {"light" | "dark" | "system"} theme - 현재 테마 / Current theme
|
|
758
|
-
* @property {(theme: "light" | "dark" | "system") => void} setTheme - 테마 설정 함수 / Theme setter function
|
|
759
|
-
* @property {"light" | "dark"} resolvedTheme - 실제 적용된 테마 (system일 경우 시스템 테마) / Actually applied theme (system theme when system is selected)
|
|
760
|
-
* @property {() => void} toggleTheme - 테마 토글 함수 / Theme toggle function
|
|
761
|
-
*/
|
|
762
|
-
interface ThemeProviderState {
|
|
763
|
-
theme: Theme;
|
|
764
|
-
setTheme: (theme: Theme) => void;
|
|
765
|
-
resolvedTheme: "light" | "dark";
|
|
766
|
-
toggleTheme: () => void;
|
|
767
|
-
}
|
|
768
|
-
/**
|
|
769
|
-
* ThemeProvider 컴포넌트 / ThemeProvider component
|
|
770
|
-
*
|
|
771
|
-
* 테마 관리를 위한 Context Provider 컴포넌트입니다.
|
|
772
|
-
* localStorage에 테마를 저장하고, 시스템 테마를 감지할 수 있습니다.
|
|
773
|
-
* useTheme 훅을 통해 테마 상태에 접근할 수 있습니다.
|
|
774
|
-
*
|
|
775
|
-
* Context Provider component for theme management.
|
|
776
|
-
* Saves theme to localStorage and can detect system theme.
|
|
777
|
-
* Access theme state through useTheme hook.
|
|
778
|
-
*
|
|
779
|
-
* @component
|
|
780
|
-
* @example
|
|
781
|
-
* // 기본 사용 / Basic usage
|
|
782
|
-
* <ThemeProvider>
|
|
783
|
-
* <App />
|
|
784
|
-
* </ThemeProvider>
|
|
785
|
-
*
|
|
786
|
-
* @example
|
|
787
|
-
* // 커스텀 설정 / Custom settings
|
|
788
|
-
* <ThemeProvider
|
|
789
|
-
* defaultTheme="dark"
|
|
790
|
-
* storageKey="my-app-theme"
|
|
791
|
-
* enableSystem={true}
|
|
792
|
-
* enableTransition={true}
|
|
793
|
-
* >
|
|
794
|
-
* <App />
|
|
795
|
-
* </ThemeProvider>
|
|
796
|
-
*
|
|
797
|
-
* @param {ThemeProviderProps} props - ThemeProvider 컴포넌트의 props / ThemeProvider component props
|
|
798
|
-
* @returns {JSX.Element} ThemeProvider 컴포넌트 / ThemeProvider component
|
|
799
|
-
*/
|
|
800
|
-
declare function ThemeProvider({ children, defaultTheme, // system에서 light로 변경
|
|
801
|
-
storageKey, enableSystem, enableTransition, ...props }: ThemeProviderProps): React$1.ReactElement;
|
|
802
|
-
/**
|
|
803
|
-
* useTheme 훅 / useTheme hook
|
|
804
|
-
*
|
|
805
|
-
* ThemeProvider의 테마 상태에 접근하는 훅입니다.
|
|
806
|
-
* ThemeProvider 내부에서만 사용할 수 있습니다.
|
|
807
|
-
*
|
|
808
|
-
* Hook to access ThemeProvider's theme state.
|
|
809
|
-
* Can only be used inside ThemeProvider.
|
|
810
|
-
*
|
|
811
|
-
* @example
|
|
812
|
-
* const { theme, setTheme, resolvedTheme, toggleTheme } = useTheme()
|
|
813
|
-
*
|
|
814
|
-
* @returns {ThemeProviderState} 테마 상태와 함수들 / Theme state and functions
|
|
815
|
-
* @throws {Error} ThemeProvider 외부에서 사용 시 에러 발생 / Error when used outside ThemeProvider
|
|
816
|
-
*/
|
|
817
|
-
declare const useTheme: () => ThemeProviderState;
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* ThemeToggle 컴포넌트의 props / ThemeToggle component props
|
|
821
|
-
* @typedef {Object} ThemeToggleProps
|
|
822
|
-
* @property {string} [className] - 추가 CSS 클래스 / Additional CSS class
|
|
823
|
-
* @property {"sm" | "md" | "lg"} [size="md"] - Toggle 크기 / Toggle size
|
|
824
|
-
* @property {"button" | "icon" | "switch"} [variant="button"] - Toggle 스타일 변형 / Toggle style variant
|
|
825
|
-
* @property {boolean} [showLabel=false] - 라벨 표시 여부 / Show label
|
|
826
|
-
* @property {Object} [label] - 커스텀 라벨 텍스트 / Custom label text
|
|
827
|
-
* @property {string} [label.light="라이트"] - 라이트 모드 라벨 / Light mode label
|
|
828
|
-
* @property {string} [label.dark="다크"] - 다크 모드 라벨 / Dark mode label
|
|
829
|
-
* @property {string} [label.system="시스템"] - 시스템 모드 라벨 / System mode label
|
|
830
|
-
*/
|
|
831
|
-
interface ThemeToggleProps {
|
|
832
|
-
className?: string;
|
|
850
|
+
interface ThemeToggleProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className"> {
|
|
851
|
+
/** dot style utility string for the root element */
|
|
852
|
+
dot?: string;
|
|
853
|
+
/** Additional inline style for the root element */
|
|
854
|
+
style?: React$1.CSSProperties;
|
|
855
|
+
/** Toggle size */
|
|
833
856
|
size?: "sm" | "md" | "lg";
|
|
857
|
+
/** Toggle style variant */
|
|
834
858
|
variant?: "button" | "icon" | "switch";
|
|
859
|
+
/** Whether to show a text label */
|
|
835
860
|
showLabel?: boolean;
|
|
861
|
+
/** Custom label text */
|
|
836
862
|
label?: {
|
|
837
863
|
light?: string;
|
|
838
864
|
dark?: string;
|
|
@@ -840,38 +866,31 @@ interface ThemeToggleProps {
|
|
|
840
866
|
};
|
|
841
867
|
}
|
|
842
868
|
/**
|
|
843
|
-
* ThemeToggle
|
|
844
|
-
*
|
|
845
|
-
* 테마를 전환하는 토글 컴포넌트입니다.
|
|
846
|
-
* ThemeProvider와 함께 사용하며, light/dark/system 테마를 지원합니다.
|
|
869
|
+
* ThemeToggle component
|
|
847
870
|
*
|
|
848
|
-
* Toggle component for switching themes.
|
|
871
|
+
* Toggle component for switching between light/dark/system themes.
|
|
849
872
|
* Used with ThemeProvider, supports light/dark/system themes.
|
|
850
873
|
*
|
|
851
|
-
* @component
|
|
852
874
|
* @example
|
|
853
|
-
* //
|
|
875
|
+
* // Basic usage (button style)
|
|
854
876
|
* <ThemeToggle />
|
|
855
877
|
*
|
|
856
878
|
* @example
|
|
857
|
-
* //
|
|
879
|
+
* // Icon only
|
|
858
880
|
* <ThemeToggle variant="icon" size="lg" />
|
|
859
881
|
*
|
|
860
882
|
* @example
|
|
861
|
-
* // Switch
|
|
883
|
+
* // Switch style
|
|
862
884
|
* <ThemeToggle variant="switch" />
|
|
863
885
|
*
|
|
864
886
|
* @example
|
|
865
|
-
* //
|
|
887
|
+
* // With label
|
|
866
888
|
* <ThemeToggle
|
|
867
889
|
* showLabel
|
|
868
890
|
* label={{ light: "밝게", dark: "어둡게" }}
|
|
869
891
|
* />
|
|
870
|
-
*
|
|
871
|
-
* @param {ThemeToggleProps} props - ThemeToggle 컴포넌트의 props / ThemeToggle component props
|
|
872
|
-
* @returns {JSX.Element} ThemeToggle 컴포넌트 / ThemeToggle component
|
|
873
892
|
*/
|
|
874
|
-
declare function ThemeToggle({
|
|
893
|
+
declare function ThemeToggle({ dot: dotProp, style, size, variant, showLabel, label, ...props }: ThemeToggleProps): react_jsx_runtime.JSX.Element;
|
|
875
894
|
|
|
876
895
|
/**
|
|
877
896
|
* Icon Aliases
|
|
@@ -1480,6 +1499,46 @@ declare function getMicroMotionClasses(preset?: MicroMotionPreset, options?: {
|
|
|
1480
1499
|
enableFocus?: boolean;
|
|
1481
1500
|
}): string;
|
|
1482
1501
|
|
|
1502
|
+
/**
|
|
1503
|
+
* Component-level motion configuration
|
|
1504
|
+
* Matches MotionPreset from @hua-labs/motion-core
|
|
1505
|
+
*/
|
|
1506
|
+
interface ComponentMotionConfig {
|
|
1507
|
+
entrance: string;
|
|
1508
|
+
delay: number;
|
|
1509
|
+
duration: number;
|
|
1510
|
+
hover: boolean;
|
|
1511
|
+
click: boolean;
|
|
1512
|
+
}
|
|
1513
|
+
/**
|
|
1514
|
+
* MotionConfig context value
|
|
1515
|
+
*/
|
|
1516
|
+
interface MotionConfigContextValue {
|
|
1517
|
+
enableAnimations: boolean;
|
|
1518
|
+
components: Record<string, ComponentMotionConfig>;
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* MotionConfigProvider
|
|
1522
|
+
*
|
|
1523
|
+
* Provides motion configuration to all descendant components.
|
|
1524
|
+
* Used by hua framework to inject preset motion data.
|
|
1525
|
+
*/
|
|
1526
|
+
declare function MotionConfigProvider({ value, children, }: {
|
|
1527
|
+
value: MotionConfigContextValue;
|
|
1528
|
+
children: React$1.ReactNode;
|
|
1529
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1530
|
+
/**
|
|
1531
|
+
* useMotionConfig — returns full motion config context
|
|
1532
|
+
*/
|
|
1533
|
+
declare function useMotionConfig(): MotionConfigContextValue;
|
|
1534
|
+
/**
|
|
1535
|
+
* useComponentMotion — returns motion config for a specific component role
|
|
1536
|
+
*
|
|
1537
|
+
* @param role - Component role key (e.g. 'card', 'hero', 'button')
|
|
1538
|
+
* @returns ComponentMotionConfig or undefined if not configured
|
|
1539
|
+
*/
|
|
1540
|
+
declare function useComponentMotion(role: string): ComponentMotionConfig | undefined;
|
|
1541
|
+
|
|
1483
1542
|
/**
|
|
1484
1543
|
* useInView 훅의 옵션 / useInView hook options
|
|
1485
1544
|
* @property {number} [threshold=0] - 뷰포트 진입 임계값 (0-1) / Viewport entry threshold
|
|
@@ -1703,4 +1762,95 @@ interface UseWindowSizeOptions {
|
|
|
1703
1762
|
*/
|
|
1704
1763
|
declare function useWindowSize(options?: UseWindowSizeOptions): UseWindowSizeReturn;
|
|
1705
1764
|
|
|
1706
|
-
|
|
1765
|
+
interface UseAnimatedEntranceOptions {
|
|
1766
|
+
/** Component role key for preset lookup (e.g. 'card', 'hero') */
|
|
1767
|
+
role: string;
|
|
1768
|
+
/** Explicitly enable/disable animation (overrides preset) */
|
|
1769
|
+
enabled?: boolean;
|
|
1770
|
+
}
|
|
1771
|
+
interface UseAnimatedEntranceReturn<T extends HTMLElement = HTMLElement> {
|
|
1772
|
+
ref: React$1.RefObject<T | null>;
|
|
1773
|
+
style: React$1.CSSProperties;
|
|
1774
|
+
className: string;
|
|
1775
|
+
}
|
|
1776
|
+
/**
|
|
1777
|
+
* useAnimatedEntrance — CSS-based entrance animation hook
|
|
1778
|
+
*
|
|
1779
|
+
* Uses IntersectionObserver (triggerOnce) + CSS transition.
|
|
1780
|
+
* Respects prefers-reduced-motion and MotionConfig.enableAnimations.
|
|
1781
|
+
*
|
|
1782
|
+
* @example
|
|
1783
|
+
* const { ref, style, className } = useAnimatedEntrance({ role: 'card', enabled: true })
|
|
1784
|
+
* <div ref={ref} style={style} className={className}>...</div>
|
|
1785
|
+
*/
|
|
1786
|
+
declare function useAnimatedEntrance<T extends HTMLElement = HTMLElement>({ role, enabled, }: UseAnimatedEntranceOptions): UseAnimatedEntranceReturn<T>;
|
|
1787
|
+
|
|
1788
|
+
/** Breakpoint thresholds (Tailwind defaults) */
|
|
1789
|
+
declare const BREAKPOINTS: {
|
|
1790
|
+
readonly sm: 640;
|
|
1791
|
+
readonly md: 768;
|
|
1792
|
+
readonly lg: 1024;
|
|
1793
|
+
readonly xl: 1280;
|
|
1794
|
+
readonly '2xl': 1536;
|
|
1795
|
+
};
|
|
1796
|
+
type Breakpoint = keyof typeof BREAKPOINTS;
|
|
1797
|
+
/**
|
|
1798
|
+
* useBreakpoint — 현재 뷰포트에 맞는 breakpoint 반환
|
|
1799
|
+
*
|
|
1800
|
+
* dot()의 breakpoint 옵션과 함께 사용하여 반응형 인라인 스타일 적용.
|
|
1801
|
+
* SSR에서는 기본값 'lg' 반환 (데스크톱 우선).
|
|
1802
|
+
*
|
|
1803
|
+
* @example
|
|
1804
|
+
* const bp = useBreakpoint()
|
|
1805
|
+
* const styles = dot('p-4 sm:p-6 lg:p-8', { breakpoint: bp })
|
|
1806
|
+
*/
|
|
1807
|
+
declare function useBreakpoint(): Breakpoint | undefined;
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* useDotEnv — dot()에 전달할 환경 옵션 (breakpoint + dark) 반환
|
|
1811
|
+
*
|
|
1812
|
+
* Box/Text/Pressable 내부에서 사용하여 responsive/dark 자동 적용.
|
|
1813
|
+
*
|
|
1814
|
+
* @example
|
|
1815
|
+
* const env = useDotEnv()
|
|
1816
|
+
* const styles = dot('p-4 md:p-8 dark:bg-gray-900', env)
|
|
1817
|
+
*/
|
|
1818
|
+
declare function useDotEnv(): DotOptions;
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* useDotMap — dotMap() 기반 interactive style 관리 훅
|
|
1822
|
+
*
|
|
1823
|
+
* hover/focus/active/disabled 상태에 따라 inline style을 자동 전환합니다.
|
|
1824
|
+
* className 없이 순수 inline style로 동작하여 RN 호환 가능.
|
|
1825
|
+
* dark mode + responsive breakpoint 자동 감지.
|
|
1826
|
+
*
|
|
1827
|
+
* @example
|
|
1828
|
+
* const { style, handlers } = useDotMap(
|
|
1829
|
+
* 'bg-white hover:bg-gray-100 focus:ring-2 dark:bg-gray-900 md:p-8',
|
|
1830
|
+
* { disabled: isDisabled }
|
|
1831
|
+
* );
|
|
1832
|
+
* <div style={style} {...handlers} />
|
|
1833
|
+
*/
|
|
1834
|
+
declare function useDotMap(input: string, options?: {
|
|
1835
|
+
disabled?: boolean;
|
|
1836
|
+
}): {
|
|
1837
|
+
style: StyleObject;
|
|
1838
|
+
handlers: {
|
|
1839
|
+
onMouseEnter: () => void;
|
|
1840
|
+
onMouseLeave: () => void;
|
|
1841
|
+
onFocus: () => void;
|
|
1842
|
+
onBlur: () => void;
|
|
1843
|
+
};
|
|
1844
|
+
};
|
|
1845
|
+
/**
|
|
1846
|
+
* Merge multiple style sources: variant base styles + dot prop + explicit style.
|
|
1847
|
+
* Later sources override earlier ones (CSS cascade equivalent).
|
|
1848
|
+
*/
|
|
1849
|
+
declare function mergeStyles(...sources: (StyleObject | React.CSSProperties | undefined)[]): React.CSSProperties;
|
|
1850
|
+
/**
|
|
1851
|
+
* Resolve a dot utility string to a CSSProperties object.
|
|
1852
|
+
* Thin wrapper around dot() for React component usage.
|
|
1853
|
+
*/
|
|
1854
|
+
declare function resolveDot(input?: string): React.CSSProperties;
|
|
1855
|
+
|
|
1856
|
+
export { Action, type ActionButton, ActionToolbar, type ActionToolbarProps, AllIconName, Avatar, AvatarFallback, AvatarImage, Badge, Box, type BoxProps, Button, type ButtonProps, COMPONENT_MOTION_DEFAULTS, CSS_MOTION_VARS, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Color, type ColorStyleConfig, type ColorStyles, type ComponentMotionConfig, DURATIONS, Divider, EASING_FUNCTIONS, EmotionIcon, ErrorIcon, ExtendedVariant, Grid, HUA_SPRING_EASING, type HoverEffect, ICON_ALIASES, Icon, type IconConfig, IconName, type IconProps, IconProvider, type IconProviderProps, type IconSet, Link, LoadingIcon, type MicroMotionConfig, type MicroMotionPreset, type MicroMotionState, type MotionConfigContextValue, MotionConfigProvider, Panel, type PhosphorWeight, Pressable, type PressableProps, Progress, ProgressError, ProgressGroup, ProgressInfo, ProgressSuccess, ProgressWarning, Prose, type ProseProps, type Rounded, ScrollArea, ScrollToTop, type Shadow, Size$1 as Size, type SizeStyles, Skeleton, SkeletonAvatar, SkeletonCard, SkeletonCircle, SkeletonImage, SkeletonList, SkeletonRectangle, SkeletonRounded, SkeletonTable, SkeletonText, SkeletonUserProfile, Slot, type SlotProps, Stack, StatusIcon, SuccessIcon, Text, type TextProps, ThemeToggle, Toggle, type ToggleProps, type UseAnimatedEntranceOptions, type UseAnimatedEntranceReturn, type UseInViewOptions, type UseInViewReturn, type UseMouseOptions, type UseMouseReturn, type UseScrollProgressOptions, type UseScrollProgressReturn, type UseWindowSizeOptions, type UseWindowSizeReturn, cn, composeRefs, conditionalClass, createColorStyles, createGradient, createHoverStyles, createRoundedStyles, createShadowStyles, createSizeStyles, createVariantStyles, defaultIconConfig, emotionIcons, formatRelativeTime, getDefaultStrokeWidth, getIconAliases, getMicroMotionClasses, isGradientVariant, isTextWhite, merge, mergeIf, mergeMap, mergeProps, mergeStyles, resolveDot, resolveIconAlias, responsive, statusIcons, useAnimatedEntrance, useBreakpoint, useColorStyles, useComponentMotion, useDotEnv, useDotMap, useIconContext, useInView, useMicroMotion, useMotionConfig, useMouse, useReducedMotion, useScrollProgress, useWindowSize, withDarkMode, withOpacity };
|