@hua-labs/ui 1.0.0 → 1.1.0-alpha.0.2
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 +897 -210
- 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-627HOIRV.mjs +2 -0
- package/dist/chunk-627HOIRV.mjs.map +1 -0
- package/dist/chunk-ACEKLG37.mjs +2 -0
- package/dist/chunk-ACEKLG37.mjs.map +1 -0
- package/dist/chunk-E5PN4LUS.mjs +2 -0
- package/dist/chunk-E5PN4LUS.mjs.map +1 -0
- package/dist/chunk-KHEJZ3U4.mjs +2 -0
- package/dist/chunk-KHEJZ3U4.mjs.map +1 -0
- package/dist/chunk-MXGXBG63.mjs +2 -0
- package/dist/chunk-MXGXBG63.mjs.map +1 -0
- package/dist/chunk-R5KCFRYV.mjs +2 -0
- package/dist/chunk-R5KCFRYV.mjs.map +1 -0
- package/dist/chunk-UGSYQDR4.mjs +2 -0
- package/dist/chunk-UGSYQDR4.mjs.map +1 -0
- package/dist/chunk-UUHAXGMO.mjs +2 -0
- package/dist/chunk-UUHAXGMO.mjs.map +1 -0
- package/dist/chunk-VU264VFN.mjs +2 -0
- package/dist/chunk-VU264VFN.mjs.map +1 -0
- package/dist/chunk-ZFS4B5QT.mjs +2 -0
- package/dist/chunk-ZFS4B5QT.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 +559 -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 +92 -25
- 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":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../src/components/Breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../src/components/Breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,OAAO,CAAA;CACzD;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,QAAA,MAAM,UAAU,wFAmHf,CAAA;AAGD;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc,2FA8CnB,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,9 +1,84 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
/**
|
|
3
|
+
* 버튼 스타일 변형 / Button style variant
|
|
4
|
+
* @typedef {"default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "gradient" | "neon" | "glass"} Variant
|
|
5
|
+
*/
|
|
6
|
+
type Variant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "gradient" | "neon" | "glass";
|
|
7
|
+
/**
|
|
8
|
+
* 버튼 크기 / Button size
|
|
9
|
+
* @typedef {"sm" | "md" | "lg" | "xl" | "icon"} Size
|
|
10
|
+
*/
|
|
11
|
+
type Size = "sm" | "md" | "lg" | "xl" | "icon";
|
|
12
|
+
/**
|
|
13
|
+
* 버튼 모서리 둥글기 / Button border radius
|
|
14
|
+
* @typedef {"sm" | "md" | "lg" | "full"} Rounded
|
|
15
|
+
*/
|
|
16
|
+
type Rounded = "sm" | "md" | "lg" | "full";
|
|
17
|
+
/**
|
|
18
|
+
* 버튼 그림자 / Button shadow
|
|
19
|
+
* @typedef {"none" | "sm" | "md" | "lg" | "xl"} Shadow
|
|
20
|
+
*/
|
|
21
|
+
type Shadow = "none" | "sm" | "md" | "lg" | "xl";
|
|
22
|
+
/**
|
|
23
|
+
* 버튼 호버 효과 / Button hover effect
|
|
24
|
+
* @typedef {"scale" | "glow" | "slide" | "none"} Hover
|
|
25
|
+
*/
|
|
26
|
+
type Hover = "scale" | "glow" | "slide" | "none";
|
|
27
|
+
/**
|
|
28
|
+
* 그라디언트 색상 이름 / Gradient color name
|
|
29
|
+
* @typedef {"blue" | "purple" | "green" | "orange" | "pink" | "custom"} GradientName
|
|
30
|
+
*/
|
|
31
|
+
type GradientName = "blue" | "purple" | "green" | "orange" | "pink" | "custom";
|
|
32
|
+
/**
|
|
33
|
+
* Button 컴포넌트의 공통 props / Common props for Button component
|
|
34
|
+
* @typedef {Object} CommonProps
|
|
35
|
+
* @property {Variant} [variant="default"] - 버튼 스타일 변형 / Button style variant
|
|
36
|
+
* @property {Size} [size="md"] - 버튼 크기 / Button size
|
|
37
|
+
* @property {boolean} [loading=false] - 로딩 상태 (스피너 표시) / Loading state (shows spinner)
|
|
38
|
+
* @property {React.ReactNode} [icon] - 아이콘 요소 / Icon element
|
|
39
|
+
* @property {"left" | "right"} [iconPosition="left"] - 아이콘 위치 / Icon position
|
|
40
|
+
* @property {GradientName} [gradient="blue"] - 그라디언트 색상 (variant="gradient"일 때) / Gradient color (when variant="gradient")
|
|
41
|
+
* @property {string} [customGradient] - 커스텀 그라디언트 클래스 (variant="gradient"일 때) / Custom gradient class (when variant="gradient")
|
|
42
|
+
* @property {Rounded} [rounded="md"] - 모서리 둥글기 / Border radius
|
|
43
|
+
* @property {Shadow} [shadow="md"] - 그림자 크기 / Shadow size
|
|
44
|
+
* @property {Hover} [hover="scale"] - 호버 효과 / Hover effect
|
|
45
|
+
* @property {boolean} [fullWidth=false] - 전체 너비 사용 / Use full width
|
|
46
|
+
* @property {boolean} [iconOnly=false] - 아이콘만 표시 (aria-label 필수) / Icon only (aria-label required)
|
|
47
|
+
* @property {string} [aria-label] - 접근성을 위한 레이블 (iconOnly일 때 필수) / Accessibility label (required when iconOnly)
|
|
48
|
+
* @property {string} [className] - 추가 CSS 클래스 / Additional CSS class
|
|
49
|
+
* @property {boolean} [disabled=false] - 비활성화 상태 / Disabled state
|
|
50
|
+
*/
|
|
51
|
+
type CommonProps = {
|
|
52
|
+
variant?: Variant;
|
|
53
|
+
size?: Size;
|
|
54
|
+
loading?: boolean;
|
|
55
|
+
icon?: React.ReactNode;
|
|
56
|
+
iconPosition?: "left" | "right";
|
|
57
|
+
gradient?: GradientName;
|
|
58
|
+
customGradient?: string;
|
|
59
|
+
rounded?: Rounded;
|
|
60
|
+
shadow?: Shadow;
|
|
61
|
+
hover?: Hover;
|
|
62
|
+
fullWidth?: boolean;
|
|
63
|
+
iconOnly?: boolean;
|
|
64
|
+
"aria-label"?: string;
|
|
65
|
+
className?: string;
|
|
66
|
+
disabled?: boolean;
|
|
67
|
+
};
|
|
68
|
+
type AnchorProps = CommonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "className"> & {
|
|
69
|
+
href: string;
|
|
70
|
+
};
|
|
71
|
+
type NativeButtonProps = CommonProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "type"> & {
|
|
72
|
+
href?: undefined;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Button 컴포넌트의 props 타입 / Button component props type
|
|
76
|
+
* href가 제공되면 앵커 태그로, 그렇지 않으면 버튼 태그로 렌더링됩니다.
|
|
77
|
+
* Renders as anchor tag if href is provided, otherwise as button tag.
|
|
78
|
+
* @typedef {AnchorProps | NativeButtonProps} ButtonProps
|
|
79
|
+
*/
|
|
80
|
+
export type ButtonProps = AnchorProps | NativeButtonProps;
|
|
81
|
+
type AnchorOrButton = HTMLAnchorElement | HTMLButtonElement;
|
|
82
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<AnchorOrButton>>;
|
|
83
|
+
export {};
|
|
9
84
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;GAGG;AACH,KAAK,OAAO,GACR,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,WAAW,GACnD,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC;AAErD;;;GAGG;AACH,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE/C;;;GAGG;AACH,KAAK,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE3C;;;GAGG;AACH,KAAK,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD;;;GAGG;AACH,KAAK,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAEjD;;;GAGG;AACH,KAAK,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/E;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,WAAW,GAAG,WAAW,GAC5B,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC,GAAG;IACjE,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,KAAK,iBAAiB,GAAG,WAAW,GAClC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC,GAAG;IAC1E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AAEJ;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,iBAAiB,CAAC;AAE1D,KAAK,cAAc,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;AAqO5D,eAAO,MAAM,MAAM,oFAAc,CAAC"}
|
|
@@ -1,21 +1,138 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Card 컴포넌트의 props / Card component props
|
|
4
|
+
* @typedef {Object} CardProps
|
|
5
|
+
* @property {"default" | "outline" | "elevated"} [variant="default"] - 카드 스타일 변형 / Card style variant
|
|
6
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
7
|
+
*/
|
|
2
8
|
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
variant?: "default" | "outline" | "elevated";
|
|
3
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Card 컴포넌트 / Card component
|
|
13
|
+
*
|
|
14
|
+
* 콘텐츠를 카드 형태로 표시하는 컴포넌트입니다.
|
|
15
|
+
* CardHeader, CardTitle, CardDescription, CardContent, CardFooter와 함께 사용합니다.
|
|
16
|
+
*
|
|
17
|
+
* Component that displays content in card format.
|
|
18
|
+
* Used with CardHeader, CardTitle, CardDescription, CardContent, and CardFooter.
|
|
19
|
+
*
|
|
20
|
+
* @component
|
|
21
|
+
* @example
|
|
22
|
+
* // 기본 카드 / Basic card
|
|
23
|
+
* <Card>
|
|
24
|
+
* <CardHeader>
|
|
25
|
+
* <CardTitle>카드 제목</CardTitle>
|
|
26
|
+
* <CardDescription>카드 설명</CardDescription>
|
|
27
|
+
* </CardHeader>
|
|
28
|
+
* <CardContent>
|
|
29
|
+
* <p>카드 내용</p>
|
|
30
|
+
* </CardContent>
|
|
31
|
+
* <CardFooter>
|
|
32
|
+
* <Button>액션</Button>
|
|
33
|
+
* </CardFooter>
|
|
34
|
+
* </Card>
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* // Elevated 스타일 / Elevated style
|
|
38
|
+
* <Card variant="elevated">
|
|
39
|
+
* <CardContent>강조된 카드</CardContent>
|
|
40
|
+
* </Card>
|
|
41
|
+
*
|
|
42
|
+
* @param {CardProps} props - Card 컴포넌트의 props / Card component props
|
|
43
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
44
|
+
* @returns {JSX.Element} Card 컴포넌트 / Card component
|
|
45
|
+
*/
|
|
46
|
+
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
/**
|
|
48
|
+
* CardHeader 컴포넌트의 props / CardHeader component props
|
|
49
|
+
* @typedef {Object} CardHeaderProps
|
|
50
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
51
|
+
*/
|
|
4
52
|
export interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* CardHeader 컴포넌트 / CardHeader component
|
|
56
|
+
* 카드의 헤더 영역을 표시합니다. CardTitle과 CardDescription을 포함합니다.
|
|
57
|
+
* Displays the header area of a card. Contains CardTitle and CardDescription.
|
|
58
|
+
*
|
|
59
|
+
* @component
|
|
60
|
+
* @param {CardHeaderProps} props - CardHeader 컴포넌트의 props / CardHeader component props
|
|
61
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
62
|
+
* @returns {JSX.Element} CardHeader 컴포넌트 / CardHeader component
|
|
63
|
+
*/
|
|
64
|
+
declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
/**
|
|
66
|
+
* CardTitle 컴포넌트의 props / CardTitle component props
|
|
67
|
+
* @typedef {Object} CardTitleProps
|
|
68
|
+
* @extends {React.HTMLAttributes<HTMLHeadingElement>}
|
|
69
|
+
*/
|
|
6
70
|
export interface CardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
7
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* CardTitle 컴포넌트 / CardTitle component
|
|
74
|
+
* 카드의 제목을 표시합니다. h3 태그로 렌더링됩니다.
|
|
75
|
+
* Displays the card title. Renders as h3 tag.
|
|
76
|
+
*
|
|
77
|
+
* @component
|
|
78
|
+
* @param {CardTitleProps} props - CardTitle 컴포넌트의 props / CardTitle component props
|
|
79
|
+
* @param {React.Ref<HTMLParagraphElement>} ref - h3 요소 ref / h3 element ref
|
|
80
|
+
* @returns {JSX.Element} CardTitle 컴포넌트 / CardTitle component
|
|
81
|
+
*/
|
|
82
|
+
declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
83
|
+
/**
|
|
84
|
+
* CardDescription 컴포넌트의 props / CardDescription component props
|
|
85
|
+
* @typedef {Object} CardDescriptionProps
|
|
86
|
+
* @extends {React.HTMLAttributes<HTMLParagraphElement>}
|
|
87
|
+
*/
|
|
8
88
|
export interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
9
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* CardDescription 컴포넌트 / CardDescription component
|
|
92
|
+
* 카드의 설명 텍스트를 표시합니다.
|
|
93
|
+
* Displays the card description text.
|
|
94
|
+
*
|
|
95
|
+
* @component
|
|
96
|
+
* @param {CardDescriptionProps} props - CardDescription 컴포넌트의 props / CardDescription component props
|
|
97
|
+
* @param {React.Ref<HTMLParagraphElement>} ref - p 요소 ref / p element ref
|
|
98
|
+
* @returns {JSX.Element} CardDescription 컴포넌트 / CardDescription component
|
|
99
|
+
*/
|
|
100
|
+
declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
101
|
+
/**
|
|
102
|
+
* CardContent 컴포넌트의 props / CardContent component props
|
|
103
|
+
* @typedef {Object} CardContentProps
|
|
104
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
105
|
+
*/
|
|
10
106
|
export interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
11
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* CardContent 컴포넌트 / CardContent component
|
|
110
|
+
* 카드의 메인 콘텐츠 영역을 표시합니다.
|
|
111
|
+
* Displays the main content area of a card.
|
|
112
|
+
*
|
|
113
|
+
* @component
|
|
114
|
+
* @param {CardContentProps} props - CardContent 컴포넌트의 props / CardContent component props
|
|
115
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
116
|
+
* @returns {JSX.Element} CardContent 컴포넌트 / CardContent component
|
|
117
|
+
*/
|
|
118
|
+
declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
119
|
+
/**
|
|
120
|
+
* CardFooter 컴포넌트의 props / CardFooter component props
|
|
121
|
+
* @typedef {Object} CardFooterProps
|
|
122
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
123
|
+
*/
|
|
12
124
|
export interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
13
125
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
126
|
+
/**
|
|
127
|
+
* CardFooter 컴포넌트 / CardFooter component
|
|
128
|
+
* 카드의 푸터 영역을 표시합니다. 주로 액션 버튼을 배치합니다.
|
|
129
|
+
* Displays the footer area of a card. Typically used for action buttons.
|
|
130
|
+
*
|
|
131
|
+
* @component
|
|
132
|
+
* @param {CardFooterProps} props - CardFooter 컴포넌트의 props / CardFooter component props
|
|
133
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
134
|
+
* @returns {JSX.Element} CardFooter 컴포넌트 / CardFooter component
|
|
135
|
+
*/
|
|
19
136
|
declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
137
|
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
|
|
21
138
|
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../src/components/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../src/components/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB;;;;;GAKG;AACH,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAA;CAC7C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,QAAA,MAAM,IAAI,kFAoBT,CAAA;AAID;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEhF;;;;;;;;;GASG;AACH,QAAA,MAAM,UAAU,wFAQf,CAAA;AAID;;;;GAIG;AACH,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC;CAAG;AAEnF;;;;;;;;;GASG;AACH,QAAA,MAAM,SAAS,6FAWd,CAAA;AAID;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC;CAAG;AAE3F;;;;;;;;;GASG;AACH,QAAA,MAAM,eAAe,mGAQpB,CAAA;AAID;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEjF;;;;;;;;;GASG;AACH,QAAA,MAAM,WAAW,yFAIhB,CAAA;AAID;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEhF;;;;;;;;;GASG;AACH,QAAA,MAAM,UAAU,wFAQf,CAAA;AAID,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,4 +1,34 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* ChatMessage 컴포넌트의 props / ChatMessage component props
|
|
4
|
+
* @typedef {Object} ChatMessageProps
|
|
5
|
+
* @property {Object} message - 메시지 데이터 / Message data
|
|
6
|
+
* @property {string} message.id - 메시지 ID / Message ID
|
|
7
|
+
* @property {string} message.content - 메시지 내용 / Message content
|
|
8
|
+
* @property {"user" | "assistant" | "system"} message.role - 메시지 역할 / Message role
|
|
9
|
+
* @property {Date} message.timestamp - 메시지 타임스탬프 / Message timestamp
|
|
10
|
+
* @property {string} [message.emotion] - 감정 정보 / Emotion information
|
|
11
|
+
* @property {number} [message.intensity] - 감정 강도 / Emotion intensity
|
|
12
|
+
* @property {boolean} [message.isTyping] - 타이핑 중 여부 / Typing state
|
|
13
|
+
* @property {Object} [user] - 사용자 정보 / User information
|
|
14
|
+
* @property {string} [user.name="사용자"] - 사용자 이름 / User name
|
|
15
|
+
* @property {string} [user.avatar] - 사용자 아바타 URL / User avatar URL
|
|
16
|
+
* @property {string} [user.color="#3b82f6"] - 사용자 색상 / User color
|
|
17
|
+
* @property {Object} [assistant] - AI 어시스턴트 정보 / AI assistant information
|
|
18
|
+
* @property {string} [assistant.name="AI"] - AI 이름 / AI name
|
|
19
|
+
* @property {string} [assistant.avatar] - AI 아바타 URL / AI avatar URL
|
|
20
|
+
* @property {string} [assistant.color="#10b981"] - AI 색상 / AI color
|
|
21
|
+
* @property {boolean} [showAvatar=true] - 아바타 표시 여부 / Show avatar
|
|
22
|
+
* @property {boolean} [showTimestamp=true] - 타임스탬프 표시 여부 / Show timestamp
|
|
23
|
+
* @property {boolean} [showEmotion=true] - 감정 표시 여부 / Show emotion
|
|
24
|
+
* @property {"default" | "compact" | "bubble"} [variant="default"] - ChatMessage 스타일 변형 / ChatMessage style variant
|
|
25
|
+
* @property {Object} [theme] - 커스텀 테마 / Custom theme
|
|
26
|
+
* @property {string} [theme.userBubbleBg] - 사용자 버블 배경색 / User bubble background color
|
|
27
|
+
* @property {string} [theme.userBubbleText] - 사용자 버블 텍스트 색상 / User bubble text color
|
|
28
|
+
* @property {string} [theme.aiBubbleBg] - AI 버블 배경색 / AI bubble background color
|
|
29
|
+
* @property {string} [theme.aiBubbleText] - AI 버블 텍스트 색상 / AI bubble text color
|
|
30
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
31
|
+
*/
|
|
2
32
|
interface ChatMessageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
33
|
message: {
|
|
4
34
|
id: string;
|
|
@@ -30,6 +60,42 @@ interface ChatMessageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
30
60
|
aiBubbleText?: string;
|
|
31
61
|
};
|
|
32
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* ChatMessage 컴포넌트
|
|
65
|
+
*
|
|
66
|
+
* 채팅 메시지를 표시하는 컴포넌트입니다.
|
|
67
|
+
* 사용자, AI 어시스턴트, 시스템 메시지를 지원하며, 감정 정보를 표시할 수 있습니다.
|
|
68
|
+
*
|
|
69
|
+
* @component
|
|
70
|
+
* @example
|
|
71
|
+
* // 기본 사용
|
|
72
|
+
* <ChatMessage
|
|
73
|
+
* message={{
|
|
74
|
+
* id: "1",
|
|
75
|
+
* content: "안녕하세요!",
|
|
76
|
+
* role: "user",
|
|
77
|
+
* timestamp: new Date()
|
|
78
|
+
* }}
|
|
79
|
+
* />
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* // AI 메시지, 감정 정보 포함
|
|
83
|
+
* <ChatMessage
|
|
84
|
+
* message={{
|
|
85
|
+
* id: "2",
|
|
86
|
+
* content: "안녕하세요! 도와드릴까요?",
|
|
87
|
+
* role: "assistant",
|
|
88
|
+
* timestamp: new Date(),
|
|
89
|
+
* emotion: "joy",
|
|
90
|
+
* intensity: 0.8
|
|
91
|
+
* }}
|
|
92
|
+
* variant="bubble"
|
|
93
|
+
* />
|
|
94
|
+
*
|
|
95
|
+
* @param {ChatMessageProps} props - ChatMessage 컴포넌트의 props / ChatMessage component props
|
|
96
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
97
|
+
* @returns {JSX.Element} ChatMessage 컴포넌트 / ChatMessage component
|
|
98
|
+
*/
|
|
33
99
|
declare const ChatMessage: React.ForwardRefExoticComponent<ChatMessageProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
100
|
export { ChatMessage };
|
|
35
101
|
//# sourceMappingURL=ChatMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../src/components/ChatMessage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../src/components/ChatMessage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,UAAU,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAA;QACrC,SAAS,EAAE,IAAI,CAAA;QACf,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;KACnB,CAAA;IACD,IAAI,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,SAAS,CAAC,EAAE;QACV,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;IAC1C,KAAK,CAAC,EAAE;QACN,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,cAAc,CAAC,EAAE,MAAM,CAAA;QACvB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,YAAY,CAAC,EAAE,MAAM,CAAA;KACtB,CAAA;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,QAAA,MAAM,WAAW,yFA2PhB,CAAA;AAID,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,12 +1,58 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Checkbox 컴포넌트의 props / Checkbox component props
|
|
4
|
+
* @typedef {Object} CheckboxProps
|
|
5
|
+
* @property {"default" | "outline" | "filled" | "glass"} [variant="default"] - Checkbox 스타일 변형 / Checkbox style variant
|
|
6
|
+
* @property {"sm" | "md" | "lg"} [size="md"] - Checkbox 크기 / Checkbox size
|
|
7
|
+
* @property {boolean} [error=false] - 에러 상태 표시 / Error state
|
|
8
|
+
* @property {boolean} [success=false] - 성공 상태 표시 / Success state
|
|
9
|
+
* @property {string} [label] - 체크박스 레이블 텍스트 / Checkbox label text
|
|
10
|
+
* @property {string} [description] - 체크박스 설명 텍스트 / Checkbox description text
|
|
11
|
+
* @extends {Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>}
|
|
12
|
+
*/
|
|
2
13
|
export interface CheckboxProps 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
|
+
* Checkbox 컴포넌트 / Checkbox component
|
|
23
|
+
*
|
|
24
|
+
* 체크박스 입력 필드를 제공하는 컴포넌트입니다.
|
|
25
|
+
* ARIA 속성을 자동으로 설정하여 접근성을 지원합니다.
|
|
26
|
+
*
|
|
27
|
+
* Checkbox input field component.
|
|
28
|
+
* Automatically sets ARIA attributes for accessibility support.
|
|
29
|
+
*
|
|
30
|
+
* @component
|
|
31
|
+
* @example
|
|
32
|
+
* // 기본 사용 / Basic usage
|
|
33
|
+
* <Checkbox label="이용약관에 동의합니다" />
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* // 에러 상태와 설명 / Error state with description
|
|
37
|
+
* <Checkbox
|
|
38
|
+
* label="필수 항목"
|
|
39
|
+
* description="이 항목은 필수입니다"
|
|
40
|
+
* error
|
|
41
|
+
* />
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* // 제어 컴포넌트 / Controlled component
|
|
45
|
+
* const [checked, setChecked] = useState(false)
|
|
46
|
+
* <Checkbox
|
|
47
|
+
* checked={checked}
|
|
48
|
+
* onChange={(e) => setChecked(e.target.checked)}
|
|
49
|
+
* label="동의"
|
|
50
|
+
* />
|
|
51
|
+
*
|
|
52
|
+
* @param {CheckboxProps} props - Checkbox 컴포넌트의 props / Checkbox component props
|
|
53
|
+
* @param {React.Ref<HTMLInputElement>} ref - input 요소 ref / input element ref
|
|
54
|
+
* @returns {JSX.Element} Checkbox 컴포넌트 / Checkbox component
|
|
55
|
+
*/
|
|
10
56
|
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
57
|
export { Checkbox };
|
|
12
58
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/components/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/components/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB;;;;;;;;;;GAUG;AACH,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC9F,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,QAAQ,wFAsGb,CAAA;AAGD,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Command 컴포넌트의 props / Command component props
|
|
4
|
+
* @typedef {Object} CommandProps
|
|
5
|
+
* @property {React.ReactNode} children - CommandList, CommandItem 등 / CommandList, CommandItem, etc.
|
|
6
|
+
* @property {boolean} [open] - 제어 모드에서 열림/닫힘 상태 / Open/close state in controlled mode
|
|
7
|
+
* @property {(open: boolean) => void} [onOpenChange] - 상태 변경 콜백 / State change callback
|
|
8
|
+
* @property {string} [placeholder="명령어를 검색하세요..."] - 검색 입력 플레이스홀더 / Search input placeholder
|
|
9
|
+
* @property {string} [searchValue] - 제어 모드에서 검색 값 / Search value in controlled mode
|
|
10
|
+
* @property {(value: string) => void} [onSearchChange] - 검색 값 변경 콜백 / Search value change callback
|
|
11
|
+
* @property {boolean} [disabled=false] - Command 비활성화 여부 / Disable command
|
|
12
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
13
|
+
*/
|
|
2
14
|
export interface CommandProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
15
|
children: React.ReactNode;
|
|
4
16
|
open?: boolean;
|
|
@@ -8,26 +20,95 @@ export interface CommandProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
8
20
|
onSearchChange?: (value: string) => void;
|
|
9
21
|
disabled?: boolean;
|
|
10
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Command 컴포넌트 / Command component
|
|
25
|
+
*
|
|
26
|
+
* 명령 팔레트(Command Palette) 컴포넌트입니다.
|
|
27
|
+
* Cmd+K (Mac) 또는 Ctrl+K (Windows)로 열 수 있습니다.
|
|
28
|
+
* 키보드 네비게이션(Arrow keys, Enter, Escape)을 지원합니다.
|
|
29
|
+
*
|
|
30
|
+
* Command Palette component.
|
|
31
|
+
* Can be opened with Cmd+K (Mac) or Ctrl+K (Windows).
|
|
32
|
+
* Supports keyboard navigation (Arrow keys, Enter, Escape).
|
|
33
|
+
*
|
|
34
|
+
* @component
|
|
35
|
+
* @example
|
|
36
|
+
* // 기본 사용 / Basic usage
|
|
37
|
+
* <Command>
|
|
38
|
+
* <CommandInput placeholder="검색..." />
|
|
39
|
+
* <CommandList>
|
|
40
|
+
* <CommandItem>항목 1</CommandItem>
|
|
41
|
+
* <CommandItem>항목 2</CommandItem>
|
|
42
|
+
* </CommandList>
|
|
43
|
+
* </Command>
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* // 제어 모드 / Controlled mode
|
|
47
|
+
* const [open, setOpen] = useState(false)
|
|
48
|
+
* <Command
|
|
49
|
+
* open={open}
|
|
50
|
+
* onOpenChange={setOpen}
|
|
51
|
+
* >
|
|
52
|
+
* <CommandList>
|
|
53
|
+
* <CommandGroup heading="파일">
|
|
54
|
+
* <CommandItem>새 파일</CommandItem>
|
|
55
|
+
* </CommandGroup>
|
|
56
|
+
* </CommandList>
|
|
57
|
+
* </Command>
|
|
58
|
+
*
|
|
59
|
+
* @param {CommandProps} props - Command 컴포넌트의 props / Command component props
|
|
60
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
61
|
+
* @returns {JSX.Element} Command 컴포넌트 / Command component
|
|
62
|
+
*/
|
|
11
63
|
declare const Command: React.ForwardRefExoticComponent<CommandProps & React.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
/**
|
|
65
|
+
* CommandInput 컴포넌트의 props / CommandInput component props
|
|
66
|
+
* @typedef {Object} CommandInputProps
|
|
67
|
+
* @extends {React.InputHTMLAttributes<HTMLInputElement>}
|
|
68
|
+
*/
|
|
12
69
|
export interface CommandInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
13
70
|
}
|
|
14
71
|
declare const CommandInput: React.ForwardRefExoticComponent<CommandInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
15
72
|
export interface CommandListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
16
73
|
}
|
|
17
74
|
declare const CommandList: React.ForwardRefExoticComponent<CommandListProps & React.RefAttributes<HTMLDivElement>>;
|
|
75
|
+
/**
|
|
76
|
+
* CommandItem 컴포넌트의 props / CommandItem component props
|
|
77
|
+
* @typedef {Object} CommandItemProps
|
|
78
|
+
* @property {React.ReactNode} [icon] - 항목 아이콘 / Item icon
|
|
79
|
+
* @property {boolean} [selected=false] - 선택 상태 / Selected state
|
|
80
|
+
* @property {() => void} [onSelect] - 선택 시 콜백 / Selection callback
|
|
81
|
+
* @extends {React.ButtonHTMLAttributes<HTMLButtonElement>}
|
|
82
|
+
*/
|
|
18
83
|
export interface CommandItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
19
84
|
icon?: React.ReactNode;
|
|
20
85
|
selected?: boolean;
|
|
21
86
|
onSelect?: () => void;
|
|
22
87
|
}
|
|
23
88
|
declare const CommandItem: React.ForwardRefExoticComponent<CommandItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
89
|
+
/**
|
|
90
|
+
* CommandGroup 컴포넌트의 props / CommandGroup component props
|
|
91
|
+
* @typedef {Object} CommandGroupProps
|
|
92
|
+
* @property {React.ReactNode} [heading] - 그룹 제목 / Group heading
|
|
93
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
94
|
+
*/
|
|
24
95
|
export interface CommandGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
25
96
|
heading?: React.ReactNode;
|
|
26
97
|
}
|
|
27
98
|
declare const CommandGroup: React.ForwardRefExoticComponent<CommandGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
99
|
+
/**
|
|
100
|
+
* CommandSeparator 컴포넌트의 props / CommandSeparator component props
|
|
101
|
+
* @typedef {Object} CommandSeparatorProps
|
|
102
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
103
|
+
*/
|
|
28
104
|
export interface CommandSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
29
105
|
}
|
|
30
106
|
declare const CommandSeparator: React.ForwardRefExoticComponent<CommandSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
107
|
+
/**
|
|
108
|
+
* CommandEmpty 컴포넌트의 props / CommandEmpty component props
|
|
109
|
+
* @typedef {Object} CommandEmptyProps
|
|
110
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
111
|
+
*/
|
|
31
112
|
export interface CommandEmptyProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
32
113
|
}
|
|
33
114
|
declare const CommandEmpty: React.ForwardRefExoticComponent<CommandEmptyProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../src/components/Command.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../src/components/Command.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,QAAA,MAAM,OAAO,qFAyJZ,CAAA;AAGD;;;;GAIG;AACH,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;CAAG;AAEzF,QAAA,MAAM,YAAY,4FAajB,CAAA;AAGD,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEjF,QAAA,MAAM,WAAW,yFAQhB,CAAA;AAGD;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACrF,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,QAAA,MAAM,WAAW,4FAmChB,CAAA;AAGD;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,QAAA,MAAM,YAAY,0FAajB,CAAA;AAGD;;;;GAIG;AACH,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEtF,QAAA,MAAM,gBAAgB,8FAQrB,CAAA;AAGD;;;;GAIG;AACH,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAElF,QAAA,MAAM,YAAY,0FAajB,CAAA;AAID,eAAO,MAAM,aAAa,qFAIzB,CAAA;AAGD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* ComponentLayout 컴포넌트의 props / ComponentLayout component props
|
|
4
|
+
* @typedef {Object} ComponentLayoutProps
|
|
5
|
+
* @property {string} title - 페이지 제목 / Page title
|
|
6
|
+
* @property {string} description - 페이지 설명 / Page description
|
|
7
|
+
* @property {React.ReactNode} children - 페이지 내용 / Page content
|
|
8
|
+
* @property {Object} [prevPage] - 이전 페이지 정보 / Previous page information
|
|
9
|
+
* @property {string} prevPage.title - 이전 페이지 제목 / Previous page title
|
|
10
|
+
* @property {string} prevPage.href - 이전 페이지 링크 / Previous page link
|
|
11
|
+
* @property {Object} [nextPage] - 다음 페이지 정보 / Next page information
|
|
12
|
+
* @property {string} nextPage.title - 다음 페이지 제목 / Next page title
|
|
13
|
+
* @property {string} nextPage.href - 다음 페이지 링크 / Next page link
|
|
14
|
+
* @property {Array<Object>} [breadcrumbItems] - Breadcrumb 항목들 / Breadcrumb items
|
|
15
|
+
* @property {string} breadcrumbItems[].label - Breadcrumb 라벨 / Breadcrumb label
|
|
16
|
+
* @property {string} [breadcrumbItems[].href] - Breadcrumb 링크 / Breadcrumb link
|
|
17
|
+
* @extends {React.HTMLAttributes<HTMLDivElement>}
|
|
18
|
+
*/
|
|
19
|
+
export interface ComponentLayoutProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
prevPage?: {
|
|
24
|
+
title: string;
|
|
25
|
+
href: string;
|
|
26
|
+
};
|
|
27
|
+
nextPage?: {
|
|
28
|
+
title: string;
|
|
29
|
+
href: string;
|
|
30
|
+
};
|
|
31
|
+
breadcrumbItems?: Array<{
|
|
32
|
+
label: string;
|
|
33
|
+
href?: string;
|
|
34
|
+
}>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* ComponentLayout 컴포넌트 / ComponentLayout component
|
|
38
|
+
*
|
|
39
|
+
* 컴포넌트 문서 페이지 레이아웃을 제공하는 컴포넌트입니다.
|
|
40
|
+
* 제목, 설명, Breadcrumb, 이전/다음 페이지 네비게이션을 포함합니다.
|
|
41
|
+
*
|
|
42
|
+
* Component that provides layout for component documentation pages.
|
|
43
|
+
* Includes title, description, Breadcrumb, and previous/next page navigation.
|
|
44
|
+
*
|
|
45
|
+
* @component
|
|
46
|
+
* @example
|
|
47
|
+
* // 기본 사용 / Basic usage
|
|
48
|
+
* <ComponentLayout
|
|
49
|
+
* title="Button 컴포넌트"
|
|
50
|
+
* description="버튼 컴포넌트 사용법"
|
|
51
|
+
* >
|
|
52
|
+
* <Button>예제</Button>
|
|
53
|
+
* </ComponentLayout>
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* // 이전/다음 페이지 네비게이션 포함 / With previous/next page navigation
|
|
57
|
+
* <ComponentLayout
|
|
58
|
+
* title="Input 컴포넌트"
|
|
59
|
+
* description="입력 컴포넌트 사용법"
|
|
60
|
+
* prevPage={{ title: "Button", href: "/components/button" }}
|
|
61
|
+
* nextPage={{ title: "Select", href: "/components/select" }}
|
|
62
|
+
* >
|
|
63
|
+
* <Input placeholder="입력하세요" />
|
|
64
|
+
* </ComponentLayout>
|
|
65
|
+
*
|
|
66
|
+
* @param {ComponentLayoutProps} props - ComponentLayout 컴포넌트의 props / ComponentLayout component props
|
|
67
|
+
* @param {React.Ref<HTMLDivElement>} ref - div 요소 ref / div element ref
|
|
68
|
+
* @returns {JSX.Element} ComponentLayout 컴포넌트 / ComponentLayout component
|
|
69
|
+
*/
|
|
70
|
+
declare const ComponentLayout: React.ForwardRefExoticComponent<ComponentLayoutProps & React.RefAttributes<HTMLDivElement>>;
|
|
71
|
+
export { ComponentLayout };
|
|
72
|
+
//# sourceMappingURL=ComponentLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentLayout.d.ts","sourceRoot":"","sources":["../../src/components/ComponentLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,QAAQ,CAAC,EAAE;QACT,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,QAAQ,CAAC,EAAE;QACT,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,eAAe,CAAC,EAAE,KAAK,CAAC;QACtB,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE,MAAM,CAAA;KACd,CAAC,CAAA;CACH;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,QAAA,MAAM,eAAe,6FA4HpB,CAAA;AAGD,OAAO,EAAE,eAAe,EAAE,CAAA"}
|