@hua-labs/ui 1.0.0 → 1.1.0-alpha.0.1
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/README.md +891 -213
- package/dist/ComponentLayout-BxCenSAm.d.mts +73 -0
- package/dist/advanced/dashboard.d.ts +7 -0
- package/dist/advanced/dashboard.d.ts.map +1 -0
- package/dist/advanced/motion.d.ts +2 -0
- package/dist/advanced/motion.d.ts.map +1 -0
- package/dist/advanced-dashboard.d.mts +4 -0
- package/dist/advanced-dashboard.js +2 -0
- package/dist/advanced-dashboard.js.map +1 -0
- package/dist/advanced-dashboard.mjs +2 -0
- package/dist/advanced-dashboard.mjs.map +1 -0
- package/dist/advanced-motion.d.mts +93 -0
- package/dist/advanced-motion.js +2 -0
- package/dist/advanced-motion.js.map +1 -0
- package/dist/advanced-motion.mjs +2 -0
- package/dist/advanced-motion.mjs.map +1 -0
- package/dist/advanced.d.mts +734 -0
- package/dist/advanced.d.ts +17 -0
- package/dist/advanced.d.ts.map +1 -0
- package/dist/advanced.js +2 -0
- package/dist/advanced.js.map +1 -0
- package/dist/advanced.mjs +2 -0
- package/dist/advanced.mjs.map +1 -0
- package/dist/chunk-6NXF6ATP.mjs +2 -0
- package/dist/chunk-6NXF6ATP.mjs.map +1 -0
- package/dist/chunk-ACEKLG37.mjs +2 -0
- package/dist/chunk-ACEKLG37.mjs.map +1 -0
- package/dist/chunk-DMYT7RZ4.mjs +2 -0
- package/dist/chunk-DMYT7RZ4.mjs.map +1 -0
- package/dist/chunk-KHEJZ3U4.mjs +2 -0
- package/dist/chunk-KHEJZ3U4.mjs.map +1 -0
- package/dist/chunk-QXBMXCML.mjs +2 -0
- package/dist/chunk-QXBMXCML.mjs.map +1 -0
- package/dist/chunk-SGCVGEDR.mjs +2 -0
- package/dist/chunk-SGCVGEDR.mjs.map +1 -0
- package/dist/chunk-UUHAXGMO.mjs +2 -0
- package/dist/chunk-UUHAXGMO.mjs.map +1 -0
- package/dist/chunk-VPOFRDYL.mjs +2 -0
- package/dist/chunk-VPOFRDYL.mjs.map +1 -0
- package/dist/chunk-YY6ZBUVJ.mjs +2 -0
- package/dist/chunk-YY6ZBUVJ.mjs.map +1 -0
- package/dist/chunk-ZQAAB3P4.mjs +2 -0
- package/dist/chunk-ZQAAB3P4.mjs.map +1 -0
- package/dist/components/Accordion.d.ts +109 -1
- package/dist/components/Accordion.d.ts.map +1 -1
- package/dist/components/Action.d.ts +68 -0
- package/dist/components/Action.d.ts.map +1 -0
- package/dist/components/ActionToolbar.d.ts +65 -0
- package/dist/components/ActionToolbar.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +49 -0
- package/dist/components/Alert.d.ts.map +1 -1
- package/dist/components/Autocomplete.d.ts +88 -0
- package/dist/components/Autocomplete.d.ts.map +1 -0
- package/dist/components/Avatar.d.ts +71 -1
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Badge.d.ts +32 -2
- package/dist/components/Badge.d.ts.map +1 -1
- package/dist/components/Bookmark.d.ts +49 -0
- package/dist/components/Bookmark.d.ts.map +1 -0
- package/dist/components/BottomSheet.d.ts +91 -1
- package/dist/components/BottomSheet.d.ts.map +1 -1
- package/dist/components/Breadcrumb.d.ts +73 -14
- package/dist/components/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Button.d.ts +82 -7
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Card.d.ts +122 -5
- package/dist/components/Card.d.ts.map +1 -1
- package/dist/components/ChatMessage.d.ts +67 -1
- package/dist/components/ChatMessage.d.ts.map +1 -1
- package/dist/components/Checkbox.d.ts +48 -2
- package/dist/components/Checkbox.d.ts.map +1 -1
- package/dist/components/Command.d.ts +82 -1
- package/dist/components/Command.d.ts.map +1 -1
- package/dist/components/ComponentLayout.d.ts +72 -0
- package/dist/components/ComponentLayout.d.ts.map +1 -0
- package/dist/components/ConfirmModal.d.ts +66 -1
- package/dist/components/ConfirmModal.d.ts.map +1 -1
- package/dist/components/Container.d.ts +39 -0
- package/dist/components/Container.d.ts.map +1 -1
- package/dist/components/ContextMenu.d.ts +51 -1
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/DatePicker.d.ts +62 -0
- package/dist/components/DatePicker.d.ts.map +1 -0
- package/dist/components/Divider.d.ts +13 -3
- package/dist/components/Divider.d.ts.map +1 -1
- package/dist/components/Drawer.d.ts +103 -1
- package/dist/components/Drawer.d.ts.map +1 -1
- package/dist/components/Dropdown.d.ts +51 -1
- package/dist/components/Dropdown.d.ts.map +1 -1
- package/dist/components/EmotionAnalysis.d.ts +59 -1
- package/dist/components/EmotionAnalysis.d.ts.map +1 -1
- package/dist/components/EmotionButton.d.ts +35 -1
- package/dist/components/EmotionButton.d.ts.map +1 -1
- package/dist/components/EmotionMeter.d.ts +38 -2
- package/dist/components/EmotionMeter.d.ts.map +1 -1
- package/dist/components/EmotionSelector.d.ts +51 -1
- package/dist/components/EmotionSelector.d.ts.map +1 -1
- package/dist/components/FeatureCard.d.ts +61 -0
- package/dist/components/FeatureCard.d.ts.map +1 -0
- package/dist/components/Form.d.ts +114 -0
- package/dist/components/Form.d.ts.map +1 -0
- package/dist/components/Grid.d.ts +42 -1
- package/dist/components/Grid.d.ts.map +1 -1
- package/dist/components/HeroSection.d.ts +77 -0
- package/dist/components/HeroSection.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +159 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/IconProvider.d.ts +94 -0
- package/dist/components/Icon/IconProvider.d.ts.map +1 -0
- package/dist/components/Icon/icon-store.d.ts +21 -0
- package/dist/components/Icon/icon-store.d.ts.map +1 -0
- package/dist/components/Icon/index.d.ts +10 -0
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/InfoCard.d.ts +48 -0
- package/dist/components/InfoCard.d.ts.map +1 -0
- package/dist/components/Input.d.ts +40 -8
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Label.d.ts +50 -0
- package/dist/components/Label.d.ts.map +1 -0
- package/dist/components/LanguageToggle.d.ts +41 -1
- package/dist/components/LanguageToggle.d.ts.map +1 -1
- package/dist/components/Link.d.ts +52 -0
- package/dist/components/Link.d.ts.map +1 -0
- package/dist/components/LoadingSpinner.d.ts +44 -5
- package/dist/components/LoadingSpinner.d.ts.map +1 -1
- package/dist/components/Menu.d.ts +92 -1
- package/dist/components/Menu.d.ts.map +1 -1
- package/dist/components/Modal.d.ts +67 -5
- package/dist/components/Modal.d.ts.map +1 -1
- package/dist/components/Navigation.d.ts +72 -0
- package/dist/components/Navigation.d.ts.map +1 -0
- package/dist/components/PageNavigation.d.ts +48 -0
- package/dist/components/PageNavigation.d.ts.map +1 -0
- package/dist/components/PageTransition.d.ts +44 -1
- package/dist/components/PageTransition.d.ts.map +1 -1
- package/dist/components/Pagination.d.ts +52 -1
- package/dist/components/Pagination.d.ts.map +1 -1
- package/dist/components/Panel.d.ts +99 -0
- package/dist/components/Panel.d.ts.map +1 -0
- package/dist/components/Popover.d.ts +46 -1
- package/dist/components/Popover.d.ts.map +1 -1
- package/dist/components/Progress.d.ts +52 -3
- package/dist/components/Progress.d.ts.map +1 -1
- package/dist/components/Radio.d.ts +44 -2
- package/dist/components/Radio.d.ts.map +1 -1
- package/dist/components/ScrollArea.d.ts +53 -1
- package/dist/components/ScrollArea.d.ts.map +1 -1
- package/dist/components/ScrollIndicator.d.ts +43 -1
- package/dist/components/ScrollIndicator.d.ts.map +1 -1
- package/dist/components/ScrollProgress.d.ts +37 -0
- package/dist/components/ScrollProgress.d.ts.map +1 -1
- package/dist/components/ScrollToTop.d.ts +48 -11
- package/dist/components/ScrollToTop.d.ts.map +1 -1
- package/dist/components/SectionHeader.d.ts +42 -0
- package/dist/components/SectionHeader.d.ts.map +1 -0
- package/dist/components/Select.d.ts +59 -2
- package/dist/components/Select.d.ts.map +1 -1
- package/dist/components/Skeleton.d.ts +44 -1
- package/dist/components/Skeleton.d.ts.map +1 -1
- package/dist/components/Slider.d.ts +75 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Stack.d.ts +42 -1
- package/dist/components/Stack.d.ts.map +1 -1
- package/dist/components/StatsPanel.d.ts +72 -0
- package/dist/components/StatsPanel.d.ts.map +1 -0
- package/dist/components/Switch.d.ts +48 -2
- package/dist/components/Switch.d.ts.map +1 -1
- package/dist/components/Table.d.ts +206 -0
- package/dist/components/Table.d.ts.map +1 -0
- package/dist/components/Tabs.d.ts +123 -10
- package/dist/components/Tabs.d.ts.map +1 -1
- package/dist/components/Textarea.d.ts +48 -2
- package/dist/components/Textarea.d.ts.map +1 -1
- package/dist/components/ThemeProvider.d.ts +67 -2
- package/dist/components/ThemeProvider.d.ts.map +1 -1
- package/dist/components/ThemeToggle.d.ts +44 -0
- package/dist/components/ThemeToggle.d.ts.map +1 -1
- package/dist/components/Toast.d.ts +75 -1
- package/dist/components/Toast.d.ts.map +1 -1
- package/dist/components/Toggle.d.ts +62 -0
- package/dist/components/Toggle.d.ts.map +1 -0
- package/dist/components/Tooltip.d.ts +48 -1
- package/dist/components/Tooltip.d.ts.map +1 -1
- package/dist/components/Upload.d.ts +87 -0
- package/dist/components/Upload.d.ts.map +1 -0
- package/dist/components/advanced/AdvancedPageTransition.d.ts +25 -0
- package/dist/components/advanced/AdvancedPageTransition.d.ts.map +1 -0
- package/dist/components/advanced/index.d.ts +4 -0
- package/dist/components/advanced/index.d.ts.map +1 -0
- package/dist/components/advanced/usePageTransition.d.ts +33 -0
- package/dist/components/advanced/usePageTransition.d.ts.map +1 -0
- package/dist/components/advanced/usePageTransitionManager.d.ts +44 -0
- package/dist/components/advanced/usePageTransitionManager.d.ts.map +1 -0
- package/dist/components/dashboard/ActivityFeed.d.ts +87 -0
- package/dist/components/dashboard/ActivityFeed.d.ts.map +1 -0
- package/dist/components/dashboard/BarChart.d.ts +82 -0
- package/dist/components/dashboard/BarChart.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardGrid.d.ts +44 -0
- package/dist/components/dashboard/DashboardGrid.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardSidebar.d.ts +105 -0
- package/dist/components/dashboard/DashboardSidebar.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardToolbar.d.ts +120 -0
- package/dist/components/dashboard/DashboardToolbar.d.ts.map +1 -0
- package/dist/components/dashboard/EmptyState.d.ts +61 -0
- package/dist/components/dashboard/EmptyState.d.ts.map +1 -0
- package/dist/components/dashboard/MembershipBadge.d.ts +45 -0
- package/dist/components/dashboard/MembershipBadge.d.ts.map +1 -0
- package/dist/components/dashboard/MerchantList.d.ts +98 -0
- package/dist/components/dashboard/MerchantList.d.ts.map +1 -0
- package/dist/components/dashboard/MetricCard.d.ts +75 -0
- package/dist/components/dashboard/MetricCard.d.ts.map +1 -0
- package/dist/components/dashboard/MiniBarChart.d.ts +60 -0
- package/dist/components/dashboard/MiniBarChart.d.ts.map +1 -0
- package/dist/components/dashboard/NotificationCard.d.ts +89 -0
- package/dist/components/dashboard/NotificationCard.d.ts.map +1 -0
- package/dist/components/dashboard/ProfileCard.d.ts +82 -0
- package/dist/components/dashboard/ProfileCard.d.ts.map +1 -0
- package/dist/components/dashboard/ProgressCard.d.ts +71 -0
- package/dist/components/dashboard/ProgressCard.d.ts.map +1 -0
- package/dist/components/dashboard/QuickActionCard.d.ts +63 -0
- package/dist/components/dashboard/QuickActionCard.d.ts.map +1 -0
- package/dist/components/dashboard/RoutingBreakdownCard.d.ts +88 -0
- package/dist/components/dashboard/RoutingBreakdownCard.d.ts.map +1 -0
- package/dist/components/dashboard/SettlementTimeline.d.ts +90 -0
- package/dist/components/dashboard/SettlementTimeline.d.ts.map +1 -0
- package/dist/components/dashboard/StatCard.d.ts +70 -0
- package/dist/components/dashboard/StatCard.d.ts.map +1 -0
- package/dist/components/dashboard/SummaryCard.d.ts +73 -0
- package/dist/components/dashboard/SummaryCard.d.ts.map +1 -0
- package/dist/components/dashboard/TransactionDetailDrawer.d.ts +183 -0
- package/dist/components/dashboard/TransactionDetailDrawer.d.ts.map +1 -0
- package/dist/components/dashboard/TransactionsTable.d.ts +137 -0
- package/dist/components/dashboard/TransactionsTable.d.ts.map +1 -0
- package/dist/components/dashboard/TrendChart.d.ts +75 -0
- package/dist/components/dashboard/TrendChart.d.ts.map +1 -0
- package/dist/components/dashboard/index.d.ts +41 -0
- package/dist/components/dashboard/index.d.ts.map +1 -0
- package/dist/components/scrollbar/scrollbar.d.ts +12 -0
- package/dist/components/scrollbar/scrollbar.d.ts.map +1 -0
- package/dist/dashboard-QMssHf5j.d.mts +1801 -0
- package/dist/feedback.d.mts +103 -0
- package/dist/feedback.d.ts +21 -0
- package/dist/feedback.d.ts.map +1 -0
- package/dist/feedback.js +2 -0
- package/dist/feedback.js.map +1 -0
- package/dist/feedback.mjs +2 -0
- package/dist/feedback.mjs.map +1 -0
- package/dist/form.d.mts +803 -0
- package/dist/form.d.ts +42 -0
- package/dist/form.d.ts.map +1 -0
- package/dist/form.js +2 -0
- package/dist/form.js.map +1 -0
- package/dist/form.mjs +2 -0
- package/dist/form.mjs.map +1 -0
- package/dist/hooks/useScrollToggle.d.ts +12 -0
- package/dist/hooks/useScrollToggle.d.ts.map +1 -0
- package/dist/icons-DoSGIez_.d.mts +135 -0
- package/dist/index.d.mts +3770 -0
- package/dist/index.d.ts +76 -38
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +37 -49
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +37 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/icon-aliases.d.ts +24 -0
- package/dist/lib/icon-aliases.d.ts.map +1 -0
- package/dist/lib/icon-names.d.ts +47 -0
- package/dist/lib/icon-names.d.ts.map +1 -0
- package/dist/lib/icon-providers.d.ts +560 -0
- package/dist/lib/icon-providers.d.ts.map +1 -0
- package/dist/lib/icons.d.ts +113 -24
- package/dist/lib/icons.d.ts.map +1 -1
- package/dist/lib/phosphor-icons.d.ts +6 -0
- package/dist/lib/phosphor-icons.d.ts.map +1 -0
- package/dist/lib/styles/colors.d.ts +131 -0
- package/dist/lib/styles/colors.d.ts.map +1 -0
- package/dist/lib/styles/index.d.ts +8 -0
- package/dist/lib/styles/index.d.ts.map +1 -0
- package/dist/lib/styles/utils.d.ts +87 -0
- package/dist/lib/styles/utils.d.ts.map +1 -0
- package/dist/lib/styles/variants.d.ts +79 -0
- package/dist/lib/styles/variants.d.ts.map +1 -0
- package/dist/lib/types/common.d.ts +80 -0
- package/dist/lib/types/common.d.ts.map +1 -0
- package/dist/lib/types/index.d.ts +6 -0
- package/dist/lib/types/index.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +73 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/navigation.d.mts +105 -0
- package/dist/navigation.d.ts +22 -0
- package/dist/navigation.d.ts.map +1 -0
- package/dist/navigation.js +2 -0
- package/dist/navigation.js.map +1 -0
- package/dist/navigation.mjs +2 -0
- package/dist/navigation.mjs.map +1 -0
- package/package.json +85 -19
- package/src/styles/toast.css +23 -0
- package/dist/components/Accordion.js +0 -84
- package/dist/components/Alert.js +0 -61
- package/dist/components/Avatar.js +0 -18
- package/dist/components/Badge.js +0 -15
- package/dist/components/BottomSheet.js +0 -96
- package/dist/components/Breadcrumb.js +0 -47
- package/dist/components/Button.js +0 -23
- package/dist/components/Card.js +0 -18
- package/dist/components/ChatMessage.js +0 -59
- package/dist/components/Checkbox.js +0 -30
- package/dist/components/Command.js +0 -119
- package/dist/components/ConfirmModal.js +0 -53
- package/dist/components/Container.js +0 -23
- package/dist/components/ContextMenu.js +0 -110
- package/dist/components/Divider.js +0 -39
- package/dist/components/Drawer.js +0 -79
- package/dist/components/Dropdown.js +0 -174
- package/dist/components/EmotionAnalysis.js +0 -40
- package/dist/components/EmotionButton.js +0 -16
- package/dist/components/EmotionMeter.js +0 -21
- package/dist/components/EmotionSelector.js +0 -46
- package/dist/components/Grid.js +0 -44
- package/dist/components/Icon.d.ts +0 -26
- package/dist/components/Icon.d.ts.map +0 -1
- package/dist/components/Icon.js +0 -48
- package/dist/components/Input.js +0 -25
- package/dist/components/LanguageToggle.js +0 -61
- package/dist/components/LoadingSpinner.js +0 -37
- package/dist/components/Menu.js +0 -122
- package/dist/components/Modal.js +0 -62
- package/dist/components/PageTransition.js +0 -39
- package/dist/components/Pagination.js +0 -87
- package/dist/components/Popover.js +0 -159
- package/dist/components/Progress.js +0 -51
- package/dist/components/Radio.js +0 -29
- package/dist/components/ScrollArea.js +0 -42
- package/dist/components/ScrollIndicator.js +0 -60
- package/dist/components/ScrollProgress.js +0 -39
- package/dist/components/ScrollToTop.js +0 -46
- package/dist/components/Select.js +0 -29
- package/dist/components/Skeleton.js +0 -71
- package/dist/components/Stack.js +0 -34
- package/dist/components/Switch.js +0 -29
- package/dist/components/Tabs.js +0 -117
- package/dist/components/Textarea.js +0 -31
- package/dist/components/ThemeProvider.js +0 -76
- package/dist/components/ThemeToggle.js +0 -49
- package/dist/components/Toast.js +0 -138
- package/dist/components/Tooltip.js +0 -102
- package/dist/lib/icons.js +0 -321
- package/dist/lib/utils.js +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollProgress.d.ts","sourceRoot":"","sources":["../../src/components/ScrollProgress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAGlD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAA;IACxD,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,QAAA,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"ScrollProgress.d.ts","sourceRoot":"","sources":["../../src/components/ScrollProgress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAGlD;;;;;;;;;GASG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAA;IACxD,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,cAAc,4FA8ElB,CAAA;AAIF,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,15 +1,52 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconName } from "../lib/icons";
|
|
3
|
+
/**
|
|
4
|
+
* ScrollToTop 컴포넌트의 props / ScrollToTop component props
|
|
5
|
+
* @typedef {Object} ScrollToTopProps
|
|
6
|
+
* @property {number} [threshold=400] - 표시 임계값 (px, 이 값 이상 스크롤 시 표시) / Display threshold (px, shows when scrolled beyond this value)
|
|
7
|
+
* @property {boolean} [smooth=true] - 부드러운 스크롤 여부 / Smooth scroll
|
|
8
|
+
* @property {string} [className] - 추가 CSS 클래스 / Additional CSS class
|
|
9
|
+
* @property {IconName} [icon='arrowUp'] - 아이콘 이름 / Icon name
|
|
10
|
+
* @property {"sm" | "md" | "lg"} [size="md"] - 버튼 크기 / Button size
|
|
11
|
+
* @property {"default" | "primary" | "secondary" | "outline" | "ghost"} [variant="default"] - 버튼 스타일 변형 / Button style variant
|
|
12
|
+
* @property {boolean} [showOnMount=false] - 마운트 시 즉시 표시 여부 / Show immediately on mount
|
|
13
|
+
* @extends {React.HTMLAttributes<HTMLButtonElement>}
|
|
14
|
+
*/
|
|
15
|
+
export interface ScrollToTopProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
4
16
|
threshold?: number;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
animated?: boolean;
|
|
17
|
+
smooth?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
icon?: IconName;
|
|
20
|
+
size?: "sm" | "md" | "lg";
|
|
21
|
+
variant?: "default" | "primary" | "secondary" | "outline" | "ghost";
|
|
22
|
+
showOnMount?: boolean;
|
|
12
23
|
}
|
|
13
|
-
|
|
24
|
+
/**
|
|
25
|
+
* ScrollToTop 컴포넌트 / ScrollToTop component
|
|
26
|
+
*
|
|
27
|
+
* 페이지 상단으로 스크롤하는 버튼 컴포넌트입니다.
|
|
28
|
+
* 지정된 임계값 이상 스크롤 시 자동으로 표시됩니다.
|
|
29
|
+
*
|
|
30
|
+
* Button component that scrolls to top of page.
|
|
31
|
+
* Automatically appears when scrolled beyond specified threshold.
|
|
32
|
+
*
|
|
33
|
+
* @component
|
|
34
|
+
* @example
|
|
35
|
+
* // 기본 사용 / Basic usage
|
|
36
|
+
* <ScrollToTop />
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* // 커스텀 설정 / Custom settings
|
|
40
|
+
* <ScrollToTop
|
|
41
|
+
* threshold={500}
|
|
42
|
+
* variant="primary"
|
|
43
|
+
* size="lg"
|
|
44
|
+
* icon="arrowUp"
|
|
45
|
+
* />
|
|
46
|
+
*
|
|
47
|
+
* @param {ScrollToTopProps} props - ScrollToTop 컴포넌트의 props / ScrollToTop component props
|
|
48
|
+
* @returns {JSX.Element} ScrollToTop 컴포넌트 / ScrollToTop component
|
|
49
|
+
*/
|
|
50
|
+
declare const ScrollToTop: ({ className, threshold, smooth, icon, size, variant, showOnMount, ...props }: ScrollToTopProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
51
|
export { ScrollToTop };
|
|
15
52
|
//# sourceMappingURL=ScrollToTop.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollToTop.d.ts","sourceRoot":"","sources":["../../src/components/ScrollToTop.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"ScrollToTop.d.ts","sourceRoot":"","sources":["../../src/components/ScrollToTop.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAGvC;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAA;IACnE,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,QAAA,MAAM,WAAW,GAAI,8EASlB,gBAAgB,4CA8ClB,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* SectionHeader 컴포넌트의 props / SectionHeader component props
|
|
4
|
+
* @typedef {Object} SectionHeaderProps
|
|
5
|
+
* @property {string} title - 섹션 제목 / Section title
|
|
6
|
+
* @property {string} [description] - 섹션 설명 / Section description
|
|
7
|
+
* @property {React.ReactNode} [action] - 액션 버튼 또는 요소 / Action button or element
|
|
8
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
9
|
+
*/
|
|
10
|
+
export interface SectionHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
title: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
action?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* SectionHeader 컴포넌트 / SectionHeader component
|
|
17
|
+
*
|
|
18
|
+
* 섹션의 헤더를 표시하는 컴포넌트입니다.
|
|
19
|
+
* 제목, 설명, 액션 버튼을 포함할 수 있습니다.
|
|
20
|
+
*
|
|
21
|
+
* Component that displays section header.
|
|
22
|
+
* Can include title, description, and action button.
|
|
23
|
+
*
|
|
24
|
+
* @component
|
|
25
|
+
* @example
|
|
26
|
+
* // 기본 사용 / Basic usage
|
|
27
|
+
* <SectionHeader title="섹션 제목" />
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* // 설명과 액션 포함 / With description and action
|
|
31
|
+
* <SectionHeader
|
|
32
|
+
* title="알림"
|
|
33
|
+
* description="최근 알림 목록"
|
|
34
|
+
* action={<Button>모두 읽음</Button>}
|
|
35
|
+
* />
|
|
36
|
+
*
|
|
37
|
+
* @param {SectionHeaderProps} props - SectionHeader 컴포넌트의 props / SectionHeader component props
|
|
38
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
39
|
+
* @returns {JSX.Element} SectionHeader 컴포넌트 / SectionHeader component
|
|
40
|
+
*/
|
|
41
|
+
export declare const SectionHeader: React.ForwardRefExoticComponent<SectionHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
//# sourceMappingURL=SectionHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../src/components/SectionHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,aAAa,2FAsCzB,CAAC"}
|
|
@@ -1,16 +1,73 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Select 컴포넌트의 props / Select component props
|
|
4
|
+
* @typedef {Object} SelectProps
|
|
5
|
+
* @property {"default" | "outline" | "filled" | "ghost" | "glass"} [variant="default"] - Select 스타일 변형 / Select style variant
|
|
6
|
+
* @property {"sm" | "md" | "lg"} [size="md"] - Select 크기 / Select size
|
|
7
|
+
* @property {boolean} [error=false] - 에러 상태 표시 / Error state
|
|
8
|
+
* @property {boolean} [success=false] - 성공 상태 표시 / Success state
|
|
9
|
+
* @property {React.ReactNode} [leftIcon] - 왼쪽 아이콘 / Left icon
|
|
10
|
+
* @property {string} [placeholder] - 플레이스홀더 텍스트 / Placeholder text
|
|
11
|
+
* @extends {Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size'>}
|
|
12
|
+
*/
|
|
2
13
|
export interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
|
|
3
|
-
variant?: "default" | "outline" | "filled" | "ghost";
|
|
14
|
+
variant?: "default" | "outline" | "filled" | "ghost" | "glass";
|
|
4
15
|
size?: "sm" | "md" | "lg";
|
|
5
16
|
error?: boolean;
|
|
6
17
|
success?: boolean;
|
|
7
18
|
leftIcon?: React.ReactNode;
|
|
8
19
|
placeholder?: string;
|
|
9
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* SelectOption 컴포넌트의 props / SelectOption component props
|
|
23
|
+
* @typedef {Object} SelectOptionProps
|
|
24
|
+
* @property {string} value - 옵션 값 / Option value
|
|
25
|
+
* @property {React.ReactNode} children - 옵션 표시 텍스트 / Option display text
|
|
26
|
+
* @extends {React.OptionHTMLAttributes<HTMLOptionElement>}
|
|
27
|
+
*/
|
|
10
28
|
export interface SelectOptionProps extends React.OptionHTMLAttributes<HTMLOptionElement> {
|
|
11
29
|
value: string;
|
|
12
30
|
children: React.ReactNode;
|
|
13
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Select 컴포넌트 / Select component
|
|
34
|
+
*
|
|
35
|
+
* 드롭다운 선택 메뉴를 제공하는 컴포넌트입니다.
|
|
36
|
+
* 다양한 스타일 변형과 크기를 지원하며, 접근성 속성을 포함합니다.
|
|
37
|
+
*
|
|
38
|
+
* Dropdown selection menu component.
|
|
39
|
+
* Supports various style variants and sizes, includes accessibility attributes.
|
|
40
|
+
*
|
|
41
|
+
* @component
|
|
42
|
+
* @example
|
|
43
|
+
* // 기본 사용 / Basic usage
|
|
44
|
+
* <Select>
|
|
45
|
+
* <option value="option1">옵션 1</option>
|
|
46
|
+
* <option value="option2">옵션 2</option>
|
|
47
|
+
* </Select>
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* // 에러 상태와 아이콘 / Error state with icon
|
|
51
|
+
* <Select
|
|
52
|
+
* error
|
|
53
|
+
* leftIcon={<Icon name="alert" />}
|
|
54
|
+
* aria-label="국가 선택"
|
|
55
|
+
* >
|
|
56
|
+
* <option value="">국가를 선택하세요</option>
|
|
57
|
+
* <option value="kr">한국</option>
|
|
58
|
+
* <option value="us">미국</option>
|
|
59
|
+
* </Select>
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* // 다양한 변형 / Various variants
|
|
63
|
+
* <Select variant="outline" size="lg">
|
|
64
|
+
* <option value="1">항목 1</option>
|
|
65
|
+
* </Select>
|
|
66
|
+
*
|
|
67
|
+
* @param {SelectProps} props - Select 컴포넌트의 props / Select component props
|
|
68
|
+
* @param {React.Ref<HTMLSelectElement>} ref - select 요소 ref / select element ref
|
|
69
|
+
* @returns {JSX.Element} Select 컴포넌트 / Select component
|
|
70
|
+
*/
|
|
14
71
|
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
15
72
|
declare const SelectOption: React.ForwardRefExoticComponent<SelectOptionProps & React.RefAttributes<HTMLOptionElement>>;
|
|
16
73
|
export { Select, SelectOption };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/components/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/components/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC9F,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;IAC9D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACtF,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,QAAA,MAAM,MAAM,uFA+FX,CAAA;AAGD,QAAA,MAAM,YAAY,6FAQjB,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Skeleton 컴포넌트의 props
|
|
4
|
+
* @typedef {Object} SkeletonProps
|
|
5
|
+
* @property {"text" | "circular" | "rectangular" | "rounded"} [variant="text"] - Skeleton 모양
|
|
6
|
+
* @property {string | number} [width] - 너비 (기본값: variant에 따라 다름)
|
|
7
|
+
* @property {string | number} [height] - 높이 (기본값: variant에 따라 다름)
|
|
8
|
+
* @property {"pulse" | "wave" | "shimmer"} [animation="pulse"] - 애니메이션 타입
|
|
9
|
+
* @property {string} [className] - 추가 CSS 클래스
|
|
10
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
11
|
+
*/
|
|
2
12
|
export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
13
|
variant?: "text" | "circular" | "rectangular" | "rounded";
|
|
4
14
|
width?: string | number;
|
|
@@ -6,6 +16,37 @@ export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
6
16
|
animation?: "pulse" | "wave" | "shimmer";
|
|
7
17
|
className?: string;
|
|
8
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Skeleton 컴포넌트 / Skeleton component
|
|
21
|
+
*
|
|
22
|
+
* 로딩 중 콘텐츠의 플레이스홀더를 표시하는 스켈레톤 컴포넌트입니다.
|
|
23
|
+
* 다양한 모양과 애니메이션을 지원합니다.
|
|
24
|
+
*
|
|
25
|
+
* Skeleton component that displays placeholders for content while loading.
|
|
26
|
+
* Supports various shapes and animations.
|
|
27
|
+
*
|
|
28
|
+
* @component
|
|
29
|
+
* @example
|
|
30
|
+
* // 기본 사용 (텍스트) / Basic usage (text)
|
|
31
|
+
* <Skeleton />
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* // 원형 아바타 / Circular avatar
|
|
35
|
+
* <Skeleton variant="circular" width={40} height={40} />
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* // Wave 애니메이션 / Wave animation
|
|
39
|
+
* <Skeleton
|
|
40
|
+
* variant="rounded"
|
|
41
|
+
* width="100%"
|
|
42
|
+
* height={200}
|
|
43
|
+
* animation="wave"
|
|
44
|
+
* />
|
|
45
|
+
*
|
|
46
|
+
* @param {SkeletonProps} props - Skeleton 컴포넌트의 props / Skeleton component props
|
|
47
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
48
|
+
* @returns {JSX.Element} Skeleton 컴포넌트 / Skeleton component
|
|
49
|
+
*/
|
|
9
50
|
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
51
|
export declare const SkeletonText: React.ForwardRefExoticComponent<Omit<SkeletonProps, "variant"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
52
|
export declare const SkeletonCircle: React.ForwardRefExoticComponent<Omit<SkeletonProps, "variant"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -13,6 +54,8 @@ export declare const SkeletonRectangle: React.ForwardRefExoticComponent<Omit<Ske
|
|
|
13
54
|
export declare const SkeletonRounded: React.ForwardRefExoticComponent<Omit<SkeletonProps, "variant"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
55
|
export declare const SkeletonCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
15
56
|
export declare const SkeletonAvatar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
57
|
+
export declare const SkeletonImage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
58
|
+
export declare const SkeletonUserProfile: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
16
59
|
export declare const SkeletonList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
17
60
|
export declare const SkeletonTable: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
18
61
|
export { Skeleton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../src/components/Skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../src/components/Skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAAA;IACzD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAA;IACxC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,QAAA,MAAM,QAAQ,sFAuEb,CAAA;AAID,eAAO,MAAM,YAAY,uGAIxB,CAAA;AAGD,eAAO,MAAM,cAAc,uGAI1B,CAAA;AAGD,eAAO,MAAM,iBAAiB,uGAI7B,CAAA;AAGD,eAAO,MAAM,eAAe,uGAI3B,CAAA;AAID,eAAO,MAAM,YAAY,6GAsBxB,CAAA;AAGD,eAAO,MAAM,cAAc,6GAc1B,CAAA;AAGD,eAAO,MAAM,aAAa,6GAWzB,CAAA;AAGD,eAAO,MAAM,mBAAmB,6GAoB/B,CAAA;AAGD,eAAO,MAAM,YAAY,6GAkBxB,CAAA;AAGD,eAAO,MAAM,aAAa,6GAyBzB,CAAA;AAGD,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Slider 컴포넌트의 props
|
|
4
|
+
* @typedef {Object} SliderProps
|
|
5
|
+
* @property {"default" | "primary" | "success" | "warning" | "danger"} [variant="default"] - Slider 스타일 변형
|
|
6
|
+
* @property {"sm" | "md" | "lg"} [size="md"] - Slider 크기
|
|
7
|
+
* @property {boolean} [showValue=false] - 현재 값 표시 여부
|
|
8
|
+
* @property {boolean} [showLabel=false] - 라벨 표시 여부
|
|
9
|
+
* @property {string} [label] - 라벨 텍스트
|
|
10
|
+
* @property {number} [min=0] - 최소값
|
|
11
|
+
* @property {number} [max=100] - 최대값
|
|
12
|
+
* @property {number} [step=1] - 단계값
|
|
13
|
+
* @property {number | number[]} [value=0] - 현재 값 (배열이면 범위 슬라이더)
|
|
14
|
+
* @property {(value: number | number[]) => void} [onValueChange] - 값 변경 콜백
|
|
15
|
+
* @property {"horizontal" | "vertical"} [orientation="horizontal"] - Slider 방향
|
|
16
|
+
* @property {boolean} [disabled=false] - 비활성화 여부
|
|
17
|
+
* @property {string} [className] - 추가 CSS 클래스
|
|
18
|
+
* @extends {Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange' | 'size'>}
|
|
19
|
+
*/
|
|
20
|
+
export interface SliderProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange' | 'size'> {
|
|
21
|
+
variant?: "default" | "primary" | "success" | "warning" | "danger";
|
|
22
|
+
size?: "sm" | "md" | "lg";
|
|
23
|
+
showValue?: boolean;
|
|
24
|
+
showLabel?: boolean;
|
|
25
|
+
label?: string;
|
|
26
|
+
min?: number;
|
|
27
|
+
max?: number;
|
|
28
|
+
step?: number;
|
|
29
|
+
value?: number | number[];
|
|
30
|
+
onValueChange?: (value: number | number[]) => void;
|
|
31
|
+
orientation?: "horizontal" | "vertical";
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
className?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Slider 컴포넌트 / Slider component
|
|
37
|
+
*
|
|
38
|
+
* 숫자 값을 선택하는 슬라이더 컴포넌트입니다.
|
|
39
|
+
* 단일 값 또는 범위 값을 선택할 수 있습니다.
|
|
40
|
+
*
|
|
41
|
+
* Slider component for selecting numeric values.
|
|
42
|
+
* Supports single value or range value selection.
|
|
43
|
+
*
|
|
44
|
+
* @component
|
|
45
|
+
* @example
|
|
46
|
+
* // 기본 사용 / Basic usage
|
|
47
|
+
* const [value, setValue] = useState(50)
|
|
48
|
+
* <Slider value={value} onValueChange={setValue} />
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* // 범위 슬라이더 / Range slider
|
|
52
|
+
* const [range, setRange] = useState([20, 80])
|
|
53
|
+
* <Slider
|
|
54
|
+
* value={range}
|
|
55
|
+
* onValueChange={setRange}
|
|
56
|
+
* showValue
|
|
57
|
+
* label="가격 범위"
|
|
58
|
+
* />
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* // 세로 슬라이더 / Vertical slider
|
|
62
|
+
* <Slider
|
|
63
|
+
* orientation="vertical"
|
|
64
|
+
* variant="primary"
|
|
65
|
+
* size="lg"
|
|
66
|
+
* className="h-64"
|
|
67
|
+
* />
|
|
68
|
+
*
|
|
69
|
+
* @param {SliderProps} props - Slider 컴포넌트의 props / Slider component props
|
|
70
|
+
* @param {React.Ref<HTMLInputElement>} ref - input 요소 ref / input element ref
|
|
71
|
+
* @returns {JSX.Element} Slider 컴포넌트 / Slider component
|
|
72
|
+
*/
|
|
73
|
+
declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLInputElement>>;
|
|
74
|
+
export { Slider };
|
|
75
|
+
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../src/components/Slider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,CAAC;IAC5H,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;IAClE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAA;IAClD,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,QAAA,MAAM,MAAM,sFAsOX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Stack 컴포넌트의 props
|
|
4
|
+
* @typedef {Object} StackProps
|
|
5
|
+
* @property {"vertical" | "horizontal"} [direction="vertical"] - 스택 방향
|
|
6
|
+
* @property {"none" | "sm" | "md" | "lg" | "xl"} [spacing="md"] - 아이템 간 간격
|
|
7
|
+
* @property {"start" | "center" | "end" | "stretch"} [align="start"] - 교차축 정렬
|
|
8
|
+
* @property {"start" | "center" | "end" | "between" | "around" | "evenly"} [justify="start"] - 주축 정렬
|
|
9
|
+
* @property {boolean} [wrap=false] - 아이템 줄바꿈 허용
|
|
10
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
11
|
+
*/
|
|
2
12
|
export interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
13
|
direction?: "vertical" | "horizontal";
|
|
4
14
|
spacing?: "none" | "sm" | "md" | "lg" | "xl";
|
|
@@ -6,6 +16,37 @@ export interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
6
16
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
7
17
|
wrap?: boolean;
|
|
8
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Stack 컴포넌트
|
|
21
|
+
*
|
|
22
|
+
* Flexbox를 사용한 스택 레이아웃 컴포넌트입니다.
|
|
23
|
+
* 수직 또는 수평 방향으로 아이템을 배치하고 정렬할 수 있습니다.
|
|
24
|
+
*
|
|
25
|
+
* @component
|
|
26
|
+
* @example
|
|
27
|
+
* // 기본 수직 스택
|
|
28
|
+
* <Stack spacing="md">
|
|
29
|
+
* <div>아이템 1</div>
|
|
30
|
+
* <div>아이템 2</div>
|
|
31
|
+
* </Stack>
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* // 수평 스택, 중앙 정렬
|
|
35
|
+
* <Stack direction="horizontal" spacing="lg" align="center" justify="between">
|
|
36
|
+
* <Button>왼쪽</Button>
|
|
37
|
+
* <Button>오른쪽</Button>
|
|
38
|
+
* </Stack>
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* // 줄바꿈 허용
|
|
42
|
+
* <Stack direction="horizontal" wrap spacing="sm">
|
|
43
|
+
* {tags.map(tag => <Badge key={tag}>{tag}</Badge>)}
|
|
44
|
+
* </Stack>
|
|
45
|
+
*
|
|
46
|
+
* @param {StackProps} props - Stack 컴포넌트의 props
|
|
47
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref
|
|
48
|
+
* @returns {JSX.Element} Stack 컴포넌트
|
|
49
|
+
*/
|
|
9
50
|
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
51
|
export { Stack };
|
|
11
52
|
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../src/components/Stack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../src/components/Stack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB;;;;;;;;;GASG;AACH,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtE,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAA;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IAC5C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAA;IAC9C,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IACtE,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,QAAA,MAAM,KAAK,mFAsDV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* StatsPanelItem 인터페이스 / StatsPanelItem interface
|
|
4
|
+
* @typedef {Object} StatsPanelItem
|
|
5
|
+
* @property {string} label - 통계 항목 라벨 / Stat item label
|
|
6
|
+
* @property {string | React.ReactNode} value - 통계 값 / Stat value
|
|
7
|
+
* @property {string | React.ReactNode} [description] - 통계 설명 / Stat description
|
|
8
|
+
* @property {"up" | "down" | "neutral"} [trend] - 추세 방향 / Trend direction
|
|
9
|
+
* @property {string} [trendValue] - 추세 값 / Trend value
|
|
10
|
+
* @property {"primary" | "secondary" | "neutral" | "warning"} [accent] - 강조 색상 / Accent color
|
|
11
|
+
* @property {React.ReactNode} [icon] - 아이콘 / Icon
|
|
12
|
+
*/
|
|
13
|
+
export interface StatsPanelItem {
|
|
14
|
+
label: string;
|
|
15
|
+
value: string | React.ReactNode;
|
|
16
|
+
description?: string | React.ReactNode;
|
|
17
|
+
trend?: "up" | "down" | "neutral";
|
|
18
|
+
trendValue?: string;
|
|
19
|
+
accent?: "primary" | "secondary" | "neutral" | "warning";
|
|
20
|
+
icon?: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* StatsPanel 컴포넌트의 props / StatsPanel component props
|
|
24
|
+
* @typedef {Object} StatsPanelProps
|
|
25
|
+
* @property {string} [title] - 패널 제목 / Panel title
|
|
26
|
+
* @property {StatsPanelItem[]} items - 통계 항목 배열 / Stat items array
|
|
27
|
+
* @property {1 | 2 | 3 | 4} [columns=4] - 그리드 컬럼 수 / Grid column count
|
|
28
|
+
* @property {boolean} [loading=false] - 로딩 상태 / Loading state
|
|
29
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
30
|
+
*/
|
|
31
|
+
export interface StatsPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
32
|
+
title?: string;
|
|
33
|
+
items: StatsPanelItem[];
|
|
34
|
+
columns?: 1 | 2 | 3 | 4;
|
|
35
|
+
loading?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* StatsPanel 컴포넌트 / StatsPanel component
|
|
39
|
+
*
|
|
40
|
+
* 통계 정보를 표시하는 패널 컴포넌트입니다.
|
|
41
|
+
* 여러 통계 항목을 그리드 형태로 표시하며, 추세 정보를 포함할 수 있습니다.
|
|
42
|
+
*
|
|
43
|
+
* Panel component that displays statistics.
|
|
44
|
+
* Shows multiple stat items in grid format and can include trend information.
|
|
45
|
+
*
|
|
46
|
+
* @component
|
|
47
|
+
* @example
|
|
48
|
+
* // 기본 사용 / Basic usage
|
|
49
|
+
* <StatsPanel
|
|
50
|
+
* items={[
|
|
51
|
+
* { label: "총 사용자", value: "1,234", trend: "up", trendValue: "+12%" },
|
|
52
|
+
* { label: "활성 사용자", value: "567", trend: "down", trendValue: "-5%" }
|
|
53
|
+
* ]}
|
|
54
|
+
* />
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* // 2열 그리드, 제목 포함 / 2-column grid with title
|
|
58
|
+
* <StatsPanel
|
|
59
|
+
* title="통계"
|
|
60
|
+
* columns={2}
|
|
61
|
+
* items={[
|
|
62
|
+
* { label: "항목 1", value: "100", accent: "primary" },
|
|
63
|
+
* { label: "항목 2", value: "200", accent: "secondary" }
|
|
64
|
+
* ]}
|
|
65
|
+
* />
|
|
66
|
+
*
|
|
67
|
+
* @param {StatsPanelProps} props - StatsPanel 컴포넌트의 props / StatsPanel component props
|
|
68
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
69
|
+
* @returns {JSX.Element} StatsPanel 컴포넌트 / StatsPanel component
|
|
70
|
+
*/
|
|
71
|
+
export declare const StatsPanel: React.ForwardRefExoticComponent<StatsPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
72
|
+
//# sourceMappingURL=StatsPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatsPanel.d.ts","sourceRoot":"","sources":["../../src/components/StatsPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;;;;;;GAUG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACvC,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;IACzD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,UAAU,wFAyJtB,CAAC"}
|
|
@@ -1,12 +1,58 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Switch 컴포넌트의 props / Switch component props
|
|
4
|
+
* @typedef {Object} SwitchProps
|
|
5
|
+
* @property {"default" | "outline" | "filled" | "glass"} [variant="default"] - Switch 스타일 변형 / Switch style variant
|
|
6
|
+
* @property {"sm" | "md" | "lg"} [size="md"] - Switch 크기 / Switch size
|
|
7
|
+
* @property {boolean} [error=false] - 에러 상태 표시 / Error state
|
|
8
|
+
* @property {boolean} [success=false] - 성공 상태 표시 / Success state
|
|
9
|
+
* @property {string} [label] - 스위치 레이블 텍스트 / Switch label text
|
|
10
|
+
* @property {string} [description] - 스위치 설명 텍스트 / Switch description text
|
|
11
|
+
* @extends {Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>}
|
|
12
|
+
*/
|
|
2
13
|
export interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
3
|
-
variant?: "default" | "outline" | "filled";
|
|
14
|
+
variant?: "default" | "outline" | "filled" | "glass";
|
|
4
15
|
size?: "sm" | "md" | "lg";
|
|
5
16
|
error?: boolean;
|
|
6
17
|
success?: boolean;
|
|
7
18
|
label?: string;
|
|
8
19
|
description?: string;
|
|
9
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Switch 컴포넌트 / Switch component
|
|
23
|
+
*
|
|
24
|
+
* 토글 스위치 입력 필드를 제공하는 컴포넌트입니다.
|
|
25
|
+
* ARIA 속성을 자동으로 설정하여 접근성을 지원합니다.
|
|
26
|
+
*
|
|
27
|
+
* Toggle switch input field component.
|
|
28
|
+
* Automatically sets ARIA attributes for accessibility support.
|
|
29
|
+
*
|
|
30
|
+
* @component
|
|
31
|
+
* @example
|
|
32
|
+
* // 기본 사용 / Basic usage
|
|
33
|
+
* <Switch label="알림 받기" />
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* // 제어 컴포넌트 / Controlled component
|
|
37
|
+
* const [enabled, setEnabled] = useState(false)
|
|
38
|
+
* <Switch
|
|
39
|
+
* checked={enabled}
|
|
40
|
+
* onChange={(e) => setEnabled(e.target.checked)}
|
|
41
|
+
* label="다크 모드"
|
|
42
|
+
* />
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* // 에러 상태 / Error state
|
|
46
|
+
* <Switch
|
|
47
|
+
* label="필수 설정"
|
|
48
|
+
* description="이 설정을 활성화해야 합니다"
|
|
49
|
+
* error
|
|
50
|
+
* />
|
|
51
|
+
*
|
|
52
|
+
* @param {SwitchProps} props - Switch 컴포넌트의 props / Switch component props
|
|
53
|
+
* @param {React.Ref<HTMLInputElement>} ref - input 요소 ref / input element ref
|
|
54
|
+
* @returns {JSX.Element} Switch 컴포넌트 / Switch component
|
|
55
|
+
*/
|
|
10
56
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
57
|
export { Switch };
|
|
12
58
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../src/components/Switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../src/components/Switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC5F,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;IACpD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,QAAA,MAAM,MAAM,sFAkGX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,CAAA"}
|