@wakastellar/ui 2.0.0 → 2.1.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 +71 -8
- package/dist/cli/commands/add.d.ts +7 -0
- package/dist/cli/commands/init.d.ts +6 -0
- package/dist/cli/commands/list.d.ts +5 -0
- package/dist/cli/commands/search.d.ts +1 -0
- package/dist/cli/index.cjs +6014 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/utils/config.d.ts +29 -0
- package/dist/cli/utils/logger.d.ts +20 -0
- package/dist/cli/utils/registry.d.ts +23 -0
- package/package.json +14 -3
- package/src/blocks/activity-timeline/index.tsx +586 -0
- package/src/blocks/calendar-view/index.tsx +756 -0
- package/src/blocks/chat/index.tsx +1018 -0
- package/src/blocks/chat/widget.tsx +504 -0
- package/src/blocks/dashboard/index.tsx +522 -0
- package/src/blocks/empty-states/index.tsx +452 -0
- package/src/blocks/error-pages/index.tsx +426 -0
- package/src/blocks/faq/index.tsx +479 -0
- package/src/blocks/file-manager/index.tsx +890 -0
- package/src/blocks/footer/index.tsx +133 -0
- package/src/blocks/header/index.tsx +357 -0
- package/src/blocks/headtab/index.tsx +139 -0
- package/src/blocks/i18n-editor/index.tsx +1016 -0
- package/src/blocks/index.ts +80 -0
- package/src/blocks/kanban-board/index.tsx +779 -0
- package/src/blocks/landing/index.tsx +677 -0
- package/src/blocks/language-selector/index.tsx +88 -0
- package/src/blocks/layout/index.tsx +159 -0
- package/src/blocks/login/index.tsx +339 -0
- package/src/blocks/login/types.ts +131 -0
- package/src/blocks/pricing/index.tsx +564 -0
- package/src/blocks/profile/index.tsx +746 -0
- package/src/blocks/settings/index.tsx +558 -0
- package/src/blocks/sidebar/index.tsx +713 -0
- package/src/blocks/theme-creator-block/index.tsx +835 -0
- package/src/blocks/user-management/index.tsx +1037 -0
- package/src/blocks/wizard/index.tsx +719 -0
- package/src/components/DataTable/DataTable.tsx +406 -0
- package/src/components/DataTable/DataTableAdvanced.tsx +720 -0
- package/src/components/DataTable/DataTableBody.tsx +216 -0
- package/src/components/DataTable/DataTableCell.tsx +172 -0
- package/src/components/DataTable/DataTableColumnResizer.tsx +62 -0
- package/src/components/DataTable/DataTableConflictResolver.tsx +478 -0
- package/src/components/DataTable/DataTableContextMenu.tsx +219 -0
- package/src/components/DataTable/DataTableEditCell.tsx +279 -0
- package/src/components/DataTable/DataTableFilterBuilder.tsx +519 -0
- package/src/components/DataTable/DataTableFilters.tsx +535 -0
- package/src/components/DataTable/DataTableGrouping.tsx +147 -0
- package/src/components/DataTable/DataTableHeader.tsx +172 -0
- package/src/components/DataTable/DataTablePagination.tsx +125 -0
- package/src/components/DataTable/DataTableSelection.tsx +269 -0
- package/src/components/DataTable/DataTableSyncStatus.tsx +281 -0
- package/src/components/DataTable/DataTableToolbar.tsx +262 -0
- package/src/components/DataTable/README.md +446 -0
- package/src/components/DataTable/__tests__/DataTableAdvanced.test.tsx +426 -0
- package/src/components/DataTable/__tests__/DataTableEdit.test.tsx +329 -0
- package/src/components/DataTable/__tests__/useDataTableAdvanced.test.ts +455 -0
- package/src/components/DataTable/examples/EditExample.tsx +166 -0
- package/src/components/DataTable/formatters/index.ts +335 -0
- package/src/components/DataTable/hooks/__tests__/useDataTableEdit.test.ts +239 -0
- package/src/components/DataTable/hooks/useDataTable.ts +145 -0
- package/src/components/DataTable/hooks/useDataTableAdvanced.ts +342 -0
- package/src/components/DataTable/hooks/useDataTableAdvancedFilters.ts +637 -0
- package/src/components/DataTable/hooks/useDataTableColumnTemplates.ts +186 -0
- package/src/components/DataTable/hooks/useDataTableEdit.ts +167 -0
- package/src/components/DataTable/hooks/useDataTableExport.ts +227 -0
- package/src/components/DataTable/hooks/useDataTableImport.ts +216 -0
- package/src/components/DataTable/hooks/useDataTableOffline.ts +481 -0
- package/src/components/DataTable/hooks/useDataTableTheme.ts +213 -0
- package/src/components/DataTable/hooks/useDataTableVirtualization.ts +99 -0
- package/src/components/DataTable/hooks/useTableLayout.ts +85 -0
- package/src/components/DataTable/index.ts +81 -0
- package/src/components/DataTable/services/IndexedDBService.ts +504 -0
- package/src/components/DataTable/templates/index.tsx +803 -0
- package/src/components/DataTable/types.ts +504 -0
- package/src/components/DataTable/utils.ts +164 -0
- package/src/components/DataTable/workers/exportWorker.ts +213 -0
- package/src/components/accordion/index.tsx +61 -0
- package/src/components/alert/index.tsx +61 -0
- package/src/components/alert-dialog/index.tsx +146 -0
- package/src/components/aspect-ratio/index.tsx +12 -0
- package/src/components/avatar/index.tsx +54 -0
- package/src/components/badge/Badge.stories.tsx +64 -0
- package/src/components/badge/index.tsx +38 -0
- package/src/components/button/Button.stories.tsx +173 -0
- package/src/components/button/index.tsx +56 -0
- package/src/components/calendar/index.tsx +73 -0
- package/src/components/card/index.tsx +78 -0
- package/src/components/checkbox/index.tsx +34 -0
- package/src/components/code/index.tsx +229 -0
- package/src/components/collapsible/index.tsx +16 -0
- package/src/components/command/index.tsx +162 -0
- package/src/components/context-menu/index.tsx +204 -0
- package/src/components/dialog/index.tsx +126 -0
- package/src/components/dropdown-menu/index.tsx +204 -0
- package/src/components/error-boundary/ErrorBoundary.tsx +281 -0
- package/src/components/error-boundary/index.ts +7 -0
- package/src/components/form/index.tsx +183 -0
- package/src/components/hover-card/index.tsx +33 -0
- package/src/components/index.ts +368 -0
- package/src/components/input/Input.stories.tsx +100 -0
- package/src/components/input/index.tsx +27 -0
- package/src/components/input-otp/index.tsx +277 -0
- package/src/components/label/index.tsx +30 -0
- package/src/components/language-selector/index.tsx +341 -0
- package/src/components/menubar/index.tsx +240 -0
- package/src/components/navigation-menu/index.tsx +134 -0
- package/src/components/popover/index.tsx +35 -0
- package/src/components/progress/index.tsx +32 -0
- package/src/components/radio-group/index.tsx +48 -0
- package/src/components/scroll-area/index.tsx +52 -0
- package/src/components/select/index.tsx +164 -0
- package/src/components/separator/index.tsx +35 -0
- package/src/components/sheet/index.tsx +147 -0
- package/src/components/skeleton/index.tsx +22 -0
- package/src/components/slider/index.tsx +32 -0
- package/src/components/switch/index.tsx +33 -0
- package/src/components/table/index.tsx +117 -0
- package/src/components/tabs/index.tsx +59 -0
- package/src/components/textarea/index.tsx +30 -0
- package/src/components/theme-selector/index.tsx +327 -0
- package/src/components/toast/index.tsx +133 -0
- package/src/components/toaster/index.tsx +34 -0
- package/src/components/toggle/index.tsx +49 -0
- package/src/components/tooltip/index.tsx +34 -0
- package/src/components/typography/index.tsx +276 -0
- package/src/components/waka-3d-pie-chart/index.tsx +486 -0
- package/src/components/waka-achievement-unlock/index.tsx +716 -0
- package/src/components/waka-activity-feed/index.tsx +686 -0
- package/src/components/waka-address-autocomplete/index.tsx +1202 -0
- package/src/components/waka-admincrumb/index.tsx +349 -0
- package/src/components/waka-alert-stack/index.tsx +827 -0
- package/src/components/waka-allocation-matrix/index.tsx +1278 -0
- package/src/components/waka-approval-chain/index.tsx +766 -0
- package/src/components/waka-audit-log/index.tsx +1475 -0
- package/src/components/waka-autocomplete/index.tsx +358 -0
- package/src/components/waka-badge-showcase/index.tsx +704 -0
- package/src/components/waka-barcode/index.tsx +260 -0
- package/src/components/waka-biometric-prompt/index.tsx +765 -0
- package/src/components/waka-bottom-sheet/index.tsx +495 -0
- package/src/components/waka-breadcrumb/index.tsx +376 -0
- package/src/components/waka-breadcrumb-path/index.tsx +513 -0
- package/src/components/waka-budget-burn/index.tsx +1234 -0
- package/src/components/waka-capacity-planner/index.tsx +1107 -0
- package/src/components/waka-carousel/index.tsx +893 -0
- package/src/components/waka-cart-summary/index.tsx +1055 -0
- package/src/components/waka-challenge-timer/index.tsx +1044 -0
- package/src/components/waka-charts/WakaAreaChart.tsx +251 -0
- package/src/components/waka-charts/WakaBarChart.tsx +222 -0
- package/src/components/waka-charts/WakaChart.tsx +124 -0
- package/src/components/waka-charts/WakaLineChart.tsx +219 -0
- package/src/components/waka-charts/WakaMiniChart.tsx +133 -0
- package/src/components/waka-charts/WakaPieChart.tsx +214 -0
- package/src/components/waka-charts/WakaSparkline.tsx +229 -0
- package/src/components/waka-charts/dataTableHelpers.ts +109 -0
- package/src/components/waka-charts/hooks/useChartTheme.ts +123 -0
- package/src/components/waka-charts/hooks/useRechartsLoader.ts +234 -0
- package/src/components/waka-charts/index.ts +90 -0
- package/src/components/waka-charts/types.ts +330 -0
- package/src/components/waka-chat-bubble/index.tsx +1060 -0
- package/src/components/waka-checklist/index.tsx +1067 -0
- package/src/components/waka-checkout-stepper/index.tsx +976 -0
- package/src/components/waka-cohort-table/index.tsx +1011 -0
- package/src/components/waka-color-picker/index.tsx +447 -0
- package/src/components/waka-combo-counter/index.tsx +864 -0
- package/src/components/waka-combobox/index.tsx +497 -0
- package/src/components/waka-command-bar/index.tsx +403 -0
- package/src/components/waka-compare-period/index.tsx +1230 -0
- package/src/components/waka-connection-matrix/index.tsx +1053 -0
- package/src/components/waka-contribution-graph/index.tsx +552 -0
- package/src/components/waka-cost-breakdown/index.tsx +1065 -0
- package/src/components/waka-coupon-input/index.tsx +592 -0
- package/src/components/waka-credit-card-input/index.tsx +982 -0
- package/src/components/waka-daily-reward/index.tsx +762 -0
- package/src/components/waka-date-range-picker/index.tsx +378 -0
- package/src/components/waka-datetime-picker/index.tsx +793 -0
- package/src/components/waka-datetime-picker.form-integration/index.tsx +402 -0
- package/src/components/waka-deployment-lane/index.tsx +673 -0
- package/src/components/waka-device-trust/index.tsx +1259 -0
- package/src/components/waka-dock/index.tsx +285 -0
- package/src/components/waka-drawer/index.tsx +319 -0
- package/src/components/waka-empty-state/index.tsx +545 -0
- package/src/components/waka-error-shake/index.tsx +398 -0
- package/src/components/waka-feature-announcement/index.tsx +991 -0
- package/src/components/waka-file-upload/index.tsx +437 -0
- package/src/components/waka-floating-nav/index.tsx +413 -0
- package/src/components/waka-flow-diagram/index.tsx +508 -0
- package/src/components/waka-funnel-chart/index.tsx +823 -0
- package/src/components/waka-glow-card/index.tsx +246 -0
- package/src/components/waka-goal-progress/index.tsx +1025 -0
- package/src/components/waka-haptic-button/index.tsx +388 -0
- package/src/components/waka-health-pulse/index.tsx +451 -0
- package/src/components/waka-heatmap/index.tsx +1026 -0
- package/src/components/waka-hotspot/index.tsx +682 -0
- package/src/components/waka-image/index.tsx +373 -0
- package/src/components/waka-incident-timeline/index.tsx +686 -0
- package/src/components/waka-invoice-preview/index.tsx +829 -0
- package/src/components/waka-kanban/index.tsx +646 -0
- package/src/components/waka-kpi-dashboard/index.tsx +755 -0
- package/src/components/waka-leaderboard/index.tsx +746 -0
- package/src/components/waka-level-progress/index.tsx +665 -0
- package/src/components/waka-liquid-button/index.tsx +520 -0
- package/src/components/waka-loading-orbit/index.tsx +478 -0
- package/src/components/waka-loot-box/index.tsx +1091 -0
- package/src/components/waka-magic-link/index.tsx +321 -0
- package/src/components/waka-magnetic-button/index.tsx +567 -0
- package/src/components/waka-mention-input/index.tsx +953 -0
- package/src/components/waka-metric-sparkline/index.tsx +627 -0
- package/src/components/waka-milestone-road/index.tsx +1064 -0
- package/src/components/waka-modal/index.tsx +374 -0
- package/src/components/waka-morph-button/index.tsx +495 -0
- package/src/components/waka-network-topology/index.tsx +801 -0
- package/src/components/waka-notifications/index.tsx +414 -0
- package/src/components/waka-number-input/index.tsx +373 -0
- package/src/components/waka-orbital-menu/index.tsx +445 -0
- package/src/components/waka-order-tracker/index.tsx +1041 -0
- package/src/components/waka-pagination/index.tsx +393 -0
- package/src/components/waka-password-strength/index.tsx +824 -0
- package/src/components/waka-payment-method-picker/index.tsx +715 -0
- package/src/components/waka-permission-matrix/index.tsx +1302 -0
- package/src/components/waka-phone-input/index.tsx +801 -0
- package/src/components/waka-pipeline-view/index.tsx +604 -0
- package/src/components/waka-player-card/index.tsx +691 -0
- package/src/components/waka-points-popup/index.tsx +366 -0
- package/src/components/waka-power-up/index.tsx +1155 -0
- package/src/components/waka-presence-indicator/index.tsx +1181 -0
- package/src/components/waka-pricing-table/index.tsx +755 -0
- package/src/components/waka-product-card/index.tsx +786 -0
- package/src/components/waka-progress-onboarding/index.tsx +878 -0
- package/src/components/waka-pull-to-refresh/index.tsx +451 -0
- package/src/components/waka-qrcode/index.tsx +232 -0
- package/src/components/waka-quest-card/index.tsx +1275 -0
- package/src/components/waka-quota-bar/index.tsx +693 -0
- package/src/components/waka-radar-score/index.tsx +512 -0
- package/src/components/waka-rank-badge/index.tsx +813 -0
- package/src/components/waka-rating-input/index.tsx +560 -0
- package/src/components/waka-reaction-picker/index.tsx +1062 -0
- package/src/components/waka-region-map/index.tsx +730 -0
- package/src/components/waka-resource-gauge/index.tsx +654 -0
- package/src/components/waka-resource-pool/index.tsx +1035 -0
- package/src/components/waka-rich-text-editor/index.tsx +594 -0
- package/src/components/waka-rollback-slider/index.tsx +891 -0
- package/src/components/waka-sankey-diagram/index.tsx +1032 -0
- package/src/components/waka-schedule-picker/index.tsx +1060 -0
- package/src/components/waka-scratch-card/index.tsx +914 -0
- package/src/components/waka-season-pass/index.tsx +886 -0
- package/src/components/waka-security-score/index.tsx +1126 -0
- package/src/components/waka-segmented-control/index.tsx +238 -0
- package/src/components/waka-server-rack/index.tsx +764 -0
- package/src/components/waka-session-manager/index.tsx +815 -0
- package/src/components/waka-signature-pad/index.tsx +744 -0
- package/src/components/waka-skeleton-wave/index.tsx +454 -0
- package/src/components/waka-skill-tree/index.tsx +1031 -0
- package/src/components/waka-sla-tracker/index.tsx +798 -0
- package/src/components/waka-slider-range/index.tsx +765 -0
- package/src/components/waka-spin-wheel/index.tsx +671 -0
- package/src/components/waka-spinner/index.tsx +284 -0
- package/src/components/waka-spotlight/index.tsx +410 -0
- package/src/components/waka-stat/index.tsx +428 -0
- package/src/components/waka-stats-hexagon/index.tsx +824 -0
- package/src/components/waka-status-matrix/index.tsx +565 -0
- package/src/components/waka-stepper/index.tsx +489 -0
- package/src/components/waka-streak-counter/index.tsx +334 -0
- package/src/components/waka-success-explosion/index.tsx +453 -0
- package/src/components/waka-swipe-card/index.tsx +574 -0
- package/src/components/waka-tabs-morph/index.tsx +509 -0
- package/src/components/waka-tag-input/index.tsx +877 -0
- package/src/components/waka-team-banner/index.tsx +1183 -0
- package/src/components/waka-terminal-output/index.tsx +836 -0
- package/src/components/waka-theme-creator/index.tsx +762 -0
- package/src/components/waka-theme-manager/index.tsx +654 -0
- package/src/components/waka-thread-view/index.tsx +874 -0
- package/src/components/waka-tilt-card/index.tsx +250 -0
- package/src/components/waka-time-picker/index.tsx +479 -0
- package/src/components/waka-timeline/index.tsx +385 -0
- package/src/components/waka-tooltip-tour/index.tsx +855 -0
- package/src/components/waka-tour-guide/index.tsx +920 -0
- package/src/components/waka-tournament-bracket/index.tsx +1276 -0
- package/src/components/waka-tree/index.tsx +557 -0
- package/src/components/waka-treemap-chart/index.tsx +1031 -0
- package/src/components/waka-two-factor-setup/index.tsx +995 -0
- package/src/components/waka-typewriter/index.tsx +566 -0
- package/src/components/waka-typing-indicator/index.tsx +649 -0
- package/src/components/waka-versus-card/index.tsx +1026 -0
- package/src/components/waka-video/index.tsx +557 -0
- package/src/components/waka-video-call/index.tsx +1087 -0
- package/src/components/waka-virtual-list/index.tsx +327 -0
- package/src/components/waka-voice-message/index.tsx +1019 -0
- package/src/components/waka-welcome-modal/index.tsx +790 -0
- package/src/components/waka-xp-bar/index.tsx +799 -0
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
// Export all components
|
|
2
|
+
export * from './accordion'
|
|
3
|
+
export * from './alert-dialog'
|
|
4
|
+
export * from './alert'
|
|
5
|
+
export * from './aspect-ratio'
|
|
6
|
+
export * from './avatar'
|
|
7
|
+
export * from './badge'
|
|
8
|
+
export * from './button'
|
|
9
|
+
export * from './calendar'
|
|
10
|
+
export * from './card'
|
|
11
|
+
export * from './checkbox'
|
|
12
|
+
export { Code } from './code'
|
|
13
|
+
export * from './collapsible'
|
|
14
|
+
export * from './command'
|
|
15
|
+
export * from './context-menu'
|
|
16
|
+
export * from './dialog'
|
|
17
|
+
export * from './dropdown-menu'
|
|
18
|
+
export * from './form'
|
|
19
|
+
export * from './hover-card'
|
|
20
|
+
export * from './input-otp'
|
|
21
|
+
export * from './input'
|
|
22
|
+
export * from './label'
|
|
23
|
+
export * from './language-selector'
|
|
24
|
+
export * from './menubar'
|
|
25
|
+
export * from './navigation-menu'
|
|
26
|
+
export * from './popover'
|
|
27
|
+
export * from './progress'
|
|
28
|
+
export * from './radio-group'
|
|
29
|
+
export * from './scroll-area'
|
|
30
|
+
export * from './select'
|
|
31
|
+
export * from './separator'
|
|
32
|
+
export * from './sheet'
|
|
33
|
+
export * from './skeleton'
|
|
34
|
+
export * from './slider'
|
|
35
|
+
export * from './switch'
|
|
36
|
+
export * from './table'
|
|
37
|
+
export * from './tabs'
|
|
38
|
+
export * from './textarea'
|
|
39
|
+
export * from './theme-selector'
|
|
40
|
+
export * from './toast'
|
|
41
|
+
export * from './toaster'
|
|
42
|
+
export * from './toggle'
|
|
43
|
+
export * from './tooltip'
|
|
44
|
+
export * from './typography'
|
|
45
|
+
export * from './DataTable'
|
|
46
|
+
|
|
47
|
+
// Waka Components
|
|
48
|
+
export * from './waka-admincrumb'
|
|
49
|
+
export * from './waka-autocomplete'
|
|
50
|
+
export * from './waka-barcode'
|
|
51
|
+
export * from './waka-breadcrumb'
|
|
52
|
+
export * from './waka-carousel'
|
|
53
|
+
export * from './waka-charts'
|
|
54
|
+
export * from './waka-color-picker'
|
|
55
|
+
export * from './waka-combobox'
|
|
56
|
+
export * from './waka-date-range-picker'
|
|
57
|
+
export * from './waka-datetime-picker'
|
|
58
|
+
export * from './waka-datetime-picker.form-integration'
|
|
59
|
+
export * from './waka-drawer'
|
|
60
|
+
export * from './waka-file-upload'
|
|
61
|
+
export * from './waka-image'
|
|
62
|
+
export * from './waka-kanban'
|
|
63
|
+
export * from './waka-modal'
|
|
64
|
+
export * from './waka-welcome-modal'
|
|
65
|
+
export * from './waka-notifications'
|
|
66
|
+
export * from './waka-number-input'
|
|
67
|
+
export * from './waka-pagination'
|
|
68
|
+
export * from './waka-qrcode'
|
|
69
|
+
export * from './waka-rich-text-editor'
|
|
70
|
+
export * from './waka-segmented-control'
|
|
71
|
+
export * from './waka-spinner'
|
|
72
|
+
export * from './waka-stat'
|
|
73
|
+
export * from './waka-stepper'
|
|
74
|
+
export * from './waka-theme-creator'
|
|
75
|
+
export * from './waka-theme-manager'
|
|
76
|
+
export * from './waka-time-picker'
|
|
77
|
+
export * from './waka-timeline'
|
|
78
|
+
export * from './waka-tree'
|
|
79
|
+
export * from './waka-video'
|
|
80
|
+
export * from './waka-virtual-list'
|
|
81
|
+
|
|
82
|
+
// Mobile-first Interactive Components
|
|
83
|
+
export * from './waka-swipe-card'
|
|
84
|
+
export * from './waka-pull-to-refresh'
|
|
85
|
+
export * from './waka-bottom-sheet'
|
|
86
|
+
export * from './waka-haptic-button'
|
|
87
|
+
export * from './waka-morph-button'
|
|
88
|
+
|
|
89
|
+
// Animated Button Components
|
|
90
|
+
export * from './waka-liquid-button'
|
|
91
|
+
export * from './waka-magnetic-button'
|
|
92
|
+
|
|
93
|
+
// Text Animation Components
|
|
94
|
+
export * from './waka-typewriter'
|
|
95
|
+
|
|
96
|
+
// Navigation Components
|
|
97
|
+
export * from './waka-floating-nav'
|
|
98
|
+
export * from './waka-breadcrumb-path'
|
|
99
|
+
export * from './waka-tabs-morph'
|
|
100
|
+
|
|
101
|
+
// Interactive Menu Components
|
|
102
|
+
export * from './waka-orbital-menu'
|
|
103
|
+
|
|
104
|
+
// Data Visualization Components
|
|
105
|
+
export * from './waka-radar-score'
|
|
106
|
+
export { Waka3DPieChart, type PieSlice } from './waka-3d-pie-chart'
|
|
107
|
+
export * from './waka-resource-gauge'
|
|
108
|
+
export * from './waka-status-matrix'
|
|
109
|
+
export * from './waka-contribution-graph'
|
|
110
|
+
export * from './waka-cost-breakdown'
|
|
111
|
+
export * from './waka-budget-burn'
|
|
112
|
+
|
|
113
|
+
// Feedback & Animation Components
|
|
114
|
+
export * from './waka-success-explosion'
|
|
115
|
+
export * from './waka-skeleton-wave'
|
|
116
|
+
export * from './waka-error-shake'
|
|
117
|
+
export * from './waka-loading-orbit'
|
|
118
|
+
|
|
119
|
+
// Gamification Components
|
|
120
|
+
export * from './waka-achievement-unlock'
|
|
121
|
+
export * from './waka-combo-counter'
|
|
122
|
+
export * from './waka-level-progress'
|
|
123
|
+
export * from './waka-leaderboard'
|
|
124
|
+
export * from './waka-milestone-road'
|
|
125
|
+
export * from './waka-streak-counter'
|
|
126
|
+
export * from './waka-quest-card'
|
|
127
|
+
export * from './waka-scratch-card'
|
|
128
|
+
export * from './waka-versus-card'
|
|
129
|
+
|
|
130
|
+
// Command & Search Components
|
|
131
|
+
export { WakaCommandBar, useCommandBar, type CommandCategory } from './waka-command-bar'
|
|
132
|
+
export type { CommandItem as WakaCommandItem } from './waka-command-bar'
|
|
133
|
+
export * from './waka-spotlight'
|
|
134
|
+
|
|
135
|
+
// Card Effects Components
|
|
136
|
+
export * from './waka-glow-card'
|
|
137
|
+
export * from './waka-tilt-card'
|
|
138
|
+
export * from './waka-magic-link'
|
|
139
|
+
|
|
140
|
+
// Dock & Navigation Components
|
|
141
|
+
export * from './waka-dock'
|
|
142
|
+
export * from './waka-flow-diagram'
|
|
143
|
+
export * from './waka-pipeline-view'
|
|
144
|
+
|
|
145
|
+
// Deployment & DevOps Components
|
|
146
|
+
export * from './waka-rollback-slider'
|
|
147
|
+
|
|
148
|
+
// Cloud Infrastructure Visualization
|
|
149
|
+
export * from './waka-region-map'
|
|
150
|
+
|
|
151
|
+
// Infrastructure & Monitoring Components
|
|
152
|
+
export * from './waka-server-rack'
|
|
153
|
+
export * from './waka-network-topology'
|
|
154
|
+
export * from './waka-health-pulse'
|
|
155
|
+
export * from './waka-metric-sparkline'
|
|
156
|
+
export * from './waka-terminal-output'
|
|
157
|
+
export * from './waka-incident-timeline'
|
|
158
|
+
|
|
159
|
+
// Resource Management Components
|
|
160
|
+
export * from './waka-resource-pool'
|
|
161
|
+
export * from './waka-quota-bar'
|
|
162
|
+
export * from './waka-capacity-planner'
|
|
163
|
+
export * from './waka-allocation-matrix'
|
|
164
|
+
|
|
165
|
+
// Workflow & Pipeline Components
|
|
166
|
+
export * from './waka-deployment-lane'
|
|
167
|
+
export * from './waka-approval-chain'
|
|
168
|
+
export * from './waka-connection-matrix'
|
|
169
|
+
|
|
170
|
+
// Alert & SLA Components
|
|
171
|
+
export {
|
|
172
|
+
WakaAlertStack,
|
|
173
|
+
useAlertStack,
|
|
174
|
+
type Alert as WakaAlert,
|
|
175
|
+
type AlertSeverity,
|
|
176
|
+
type WakaAlertStackProps,
|
|
177
|
+
} from './waka-alert-stack'
|
|
178
|
+
export * from './waka-sla-tracker'
|
|
179
|
+
|
|
180
|
+
// Gamification - Progression Components
|
|
181
|
+
export * from './waka-xp-bar'
|
|
182
|
+
export {
|
|
183
|
+
WakaBadgeShowcase,
|
|
184
|
+
WakaBadgeShowcaseCompact,
|
|
185
|
+
WakaBadgeShowcaseList,
|
|
186
|
+
WakaBadgeShowcaseHero,
|
|
187
|
+
WakaBadgeStats,
|
|
188
|
+
type Badge as WakaBadge,
|
|
189
|
+
type BadgeRarity,
|
|
190
|
+
type WakaBadgeShowcaseProps,
|
|
191
|
+
} from './waka-badge-showcase'
|
|
192
|
+
export * from './waka-daily-reward'
|
|
193
|
+
export * from './waka-loot-box'
|
|
194
|
+
export * from './waka-skill-tree'
|
|
195
|
+
export {
|
|
196
|
+
WakaChallengeTimer,
|
|
197
|
+
WakaChallengeTimerSkeleton,
|
|
198
|
+
useChallengeTimer,
|
|
199
|
+
type Challenge as WakaChallenge,
|
|
200
|
+
type ChallengeTask,
|
|
201
|
+
type ChallengeReward as WakaChallengeReward,
|
|
202
|
+
type WakaChallengeTimerProps,
|
|
203
|
+
type TimeRemaining,
|
|
204
|
+
} from './waka-challenge-timer'
|
|
205
|
+
|
|
206
|
+
// Gamification - Social & Competition Components
|
|
207
|
+
export * from './waka-rank-badge'
|
|
208
|
+
export * from './waka-tournament-bracket'
|
|
209
|
+
export * from './waka-team-banner'
|
|
210
|
+
export {
|
|
211
|
+
WakaActivityFeed,
|
|
212
|
+
useActivityFeed,
|
|
213
|
+
type Activity as WakaActivity,
|
|
214
|
+
type ActivityType as WakaActivityType,
|
|
215
|
+
type ActivityUser as WakaActivityUser,
|
|
216
|
+
type WakaActivityFeedProps,
|
|
217
|
+
} from './waka-activity-feed'
|
|
218
|
+
|
|
219
|
+
// Gamification - Engagement Components
|
|
220
|
+
export * from './waka-power-up'
|
|
221
|
+
export * from './waka-points-popup'
|
|
222
|
+
export * from './waka-spin-wheel'
|
|
223
|
+
|
|
224
|
+
// Gamification - Stats & Profile Components
|
|
225
|
+
export * from './waka-player-card'
|
|
226
|
+
export * from './waka-stats-hexagon'
|
|
227
|
+
export * from './waka-season-pass'
|
|
228
|
+
|
|
229
|
+
// Presence & Status Components
|
|
230
|
+
export {
|
|
231
|
+
WakaPresenceIndicator,
|
|
232
|
+
WakaPresenceWithAvatar,
|
|
233
|
+
WakaPresenceStatusBadge,
|
|
234
|
+
WakaPresenceSelector,
|
|
235
|
+
WakaPresenceLastSeen,
|
|
236
|
+
WakaPresenceCard,
|
|
237
|
+
WakaPresenceList,
|
|
238
|
+
WakaPresenceAvatarStack,
|
|
239
|
+
usePresence,
|
|
240
|
+
type PresenceStatus,
|
|
241
|
+
type PresenceState,
|
|
242
|
+
type PresenceUser,
|
|
243
|
+
type UsePresenceOptions,
|
|
244
|
+
type UsePresenceReturn,
|
|
245
|
+
type WakaPresenceIndicatorProps,
|
|
246
|
+
type WakaPresenceWithAvatarProps,
|
|
247
|
+
type WakaPresenceStatusBadgeProps,
|
|
248
|
+
type WakaPresenceSelectorProps,
|
|
249
|
+
type WakaPresenceLastSeenProps,
|
|
250
|
+
type WakaPresenceCardProps,
|
|
251
|
+
type WakaPresenceListProps,
|
|
252
|
+
type WakaPresenceAvatarStackProps,
|
|
253
|
+
} from './waka-presence-indicator'
|
|
254
|
+
|
|
255
|
+
// Payment & E-commerce Components
|
|
256
|
+
export * from './waka-payment-method-picker'
|
|
257
|
+
export * from './waka-product-card'
|
|
258
|
+
|
|
259
|
+
// Security & Authentication Components
|
|
260
|
+
export * from './waka-two-factor-setup'
|
|
261
|
+
|
|
262
|
+
// Input Components
|
|
263
|
+
export {
|
|
264
|
+
WakaMentionInput,
|
|
265
|
+
useMentionInput,
|
|
266
|
+
type MentionUser,
|
|
267
|
+
type MentionChannel,
|
|
268
|
+
type MentionItem,
|
|
269
|
+
type MentionTrigger,
|
|
270
|
+
type InsertedMention,
|
|
271
|
+
type WakaMentionInputProps,
|
|
272
|
+
type UseMentionInputOptions,
|
|
273
|
+
type UseMentionInputReturn,
|
|
274
|
+
} from './waka-mention-input'
|
|
275
|
+
|
|
276
|
+
// Period Comparison Components
|
|
277
|
+
export {
|
|
278
|
+
WakaComparePeriod,
|
|
279
|
+
useComparePeriod,
|
|
280
|
+
type PeriodPreset,
|
|
281
|
+
type TrendDirection,
|
|
282
|
+
type PeriodRange,
|
|
283
|
+
type MetricValue,
|
|
284
|
+
type Metric,
|
|
285
|
+
type ComparePeriodSummary,
|
|
286
|
+
type WakaComparePeriodProps,
|
|
287
|
+
type UseComparePeriodOptions,
|
|
288
|
+
type UseComparePeriodReturn,
|
|
289
|
+
} from './waka-compare-period'
|
|
290
|
+
|
|
291
|
+
// E-commerce Components
|
|
292
|
+
export * from './waka-pricing-table'
|
|
293
|
+
export * from './waka-cart-summary'
|
|
294
|
+
export * from './waka-checkout-stepper'
|
|
295
|
+
export * from './waka-coupon-input'
|
|
296
|
+
export * from './waka-order-tracker'
|
|
297
|
+
export * from './waka-invoice-preview'
|
|
298
|
+
|
|
299
|
+
// Security & Authentication Components
|
|
300
|
+
export * from './waka-password-strength'
|
|
301
|
+
export * from './waka-session-manager'
|
|
302
|
+
export * from './waka-permission-matrix'
|
|
303
|
+
export * from './waka-audit-log'
|
|
304
|
+
export * from './waka-security-score'
|
|
305
|
+
export * from './waka-biometric-prompt'
|
|
306
|
+
export * from './waka-device-trust'
|
|
307
|
+
|
|
308
|
+
// Communication & Collaboration Components
|
|
309
|
+
export * from './waka-chat-bubble'
|
|
310
|
+
export * from './waka-typing-indicator'
|
|
311
|
+
export * from './waka-video-call'
|
|
312
|
+
export * from './waka-thread-view'
|
|
313
|
+
export * from './waka-reaction-picker'
|
|
314
|
+
export * from './waka-voice-message'
|
|
315
|
+
|
|
316
|
+
// Analytics & Reporting Components
|
|
317
|
+
export * from './waka-funnel-chart'
|
|
318
|
+
export * from './waka-cohort-table'
|
|
319
|
+
export * from './waka-kpi-dashboard'
|
|
320
|
+
export * from './waka-goal-progress'
|
|
321
|
+
export * from './waka-heatmap'
|
|
322
|
+
export * from './waka-sankey-diagram'
|
|
323
|
+
export * from './waka-treemap-chart'
|
|
324
|
+
|
|
325
|
+
// Advanced Form Components
|
|
326
|
+
export * from './waka-signature-pad'
|
|
327
|
+
export * from './waka-address-autocomplete'
|
|
328
|
+
export * from './waka-phone-input'
|
|
329
|
+
export * from './waka-credit-card-input'
|
|
330
|
+
export * from './waka-tag-input'
|
|
331
|
+
export * from './waka-slider-range'
|
|
332
|
+
export * from './waka-rating-input'
|
|
333
|
+
export * from './waka-schedule-picker'
|
|
334
|
+
|
|
335
|
+
// Onboarding & Guidance Components
|
|
336
|
+
export * from './waka-tour-guide'
|
|
337
|
+
export * from './waka-hotspot'
|
|
338
|
+
export * from './waka-checklist'
|
|
339
|
+
export {
|
|
340
|
+
WakaEmptyState,
|
|
341
|
+
WakaEmptyStateSearch,
|
|
342
|
+
WakaEmptyStateError,
|
|
343
|
+
useEmptyState,
|
|
344
|
+
type WakaEmptyStateProps,
|
|
345
|
+
type WakaEmptyStateSearchProps,
|
|
346
|
+
type WakaEmptyStateErrorProps,
|
|
347
|
+
type UseEmptyStateOptions,
|
|
348
|
+
type UseEmptyStateReturn,
|
|
349
|
+
type EmptyStateVariant,
|
|
350
|
+
type EmptyStateSize,
|
|
351
|
+
type EmptyStateLayout,
|
|
352
|
+
type EmptyStateAction,
|
|
353
|
+
type BuiltInIllustration,
|
|
354
|
+
} from './waka-empty-state'
|
|
355
|
+
export * from './waka-feature-announcement'
|
|
356
|
+
export * from './waka-progress-onboarding'
|
|
357
|
+
|
|
358
|
+
// WakaTooltipTour is deprecated - use WakaTourGuide with variant="tooltip" instead
|
|
359
|
+
// Keeping export for backward compatibility
|
|
360
|
+
export {
|
|
361
|
+
WakaTooltipTour,
|
|
362
|
+
useTooltipTour,
|
|
363
|
+
type WakaTooltipTourProps,
|
|
364
|
+
type TourStep as TooltipTourStep,
|
|
365
|
+
type TooltipPlacement,
|
|
366
|
+
type UseTooltipTourOptions,
|
|
367
|
+
type UseTooltipTourReturn,
|
|
368
|
+
} from './waka-tooltip-tour'
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
|
+
import { Input } from './index'
|
|
3
|
+
import { Search, Mail, Eye, EyeOff } from 'lucide-react'
|
|
4
|
+
import { useState } from 'react'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof Input> = {
|
|
7
|
+
title: 'Components/Input',
|
|
8
|
+
component: Input,
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: 'centered',
|
|
11
|
+
docs: {
|
|
12
|
+
description: {
|
|
13
|
+
component: 'A customizable input component.',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
tags: ['autodocs'],
|
|
18
|
+
argTypes: {
|
|
19
|
+
type: {
|
|
20
|
+
control: 'select',
|
|
21
|
+
options: ['text', 'email', 'password', 'number', 'search', 'tel', 'url'],
|
|
22
|
+
},
|
|
23
|
+
disabled: {
|
|
24
|
+
control: 'boolean',
|
|
25
|
+
},
|
|
26
|
+
placeholder: {
|
|
27
|
+
control: 'text',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default meta
|
|
33
|
+
type Story = StoryObj<typeof Input>
|
|
34
|
+
|
|
35
|
+
export const Default: Story = {
|
|
36
|
+
args: {
|
|
37
|
+
placeholder: 'Enter text...',
|
|
38
|
+
},
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export const Types: Story = {
|
|
42
|
+
render: () => (
|
|
43
|
+
<div className="flex flex-col gap-4 w-80">
|
|
44
|
+
<Input type="text" placeholder="Text input" />
|
|
45
|
+
<Input type="email" placeholder="Email input" />
|
|
46
|
+
<Input type="password" placeholder="Password input" />
|
|
47
|
+
<Input type="number" placeholder="Number input" />
|
|
48
|
+
<Input type="search" placeholder="Search input" />
|
|
49
|
+
</div>
|
|
50
|
+
),
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export const WithLabel: Story = {
|
|
54
|
+
render: () => (
|
|
55
|
+
<div className="flex flex-col gap-2 w-80">
|
|
56
|
+
<label htmlFor="email" className="text-sm font-medium">
|
|
57
|
+
Email
|
|
58
|
+
</label>
|
|
59
|
+
<Input id="email" type="email" placeholder="name@example.com" />
|
|
60
|
+
</div>
|
|
61
|
+
),
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export const Disabled: Story = {
|
|
65
|
+
args: {
|
|
66
|
+
placeholder: 'Disabled input',
|
|
67
|
+
disabled: true,
|
|
68
|
+
},
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export const WithIcon: Story = {
|
|
72
|
+
render: () => (
|
|
73
|
+
<div className="relative w-80">
|
|
74
|
+
<Search className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" />
|
|
75
|
+
<Input className="pl-10" placeholder="Search..." />
|
|
76
|
+
</div>
|
|
77
|
+
),
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export const File: Story = {
|
|
81
|
+
render: () => (
|
|
82
|
+
<div className="w-80">
|
|
83
|
+
<Input type="file" />
|
|
84
|
+
</div>
|
|
85
|
+
),
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export const States: Story = {
|
|
89
|
+
render: () => (
|
|
90
|
+
<div className="flex flex-col gap-4 w-80">
|
|
91
|
+
<Input placeholder="Normal" />
|
|
92
|
+
<Input placeholder="Disabled" disabled />
|
|
93
|
+
<Input placeholder="Read only" readOnly value="Read only value" />
|
|
94
|
+
<Input
|
|
95
|
+
placeholder="Error state"
|
|
96
|
+
className="border-red-500 focus-visible:ring-red-500"
|
|
97
|
+
/>
|
|
98
|
+
</div>
|
|
99
|
+
),
|
|
100
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import * as React from "react"
|
|
4
|
+
import { cn } from "../../utils/cn"
|
|
5
|
+
|
|
6
|
+
export interface InputProps
|
|
7
|
+
extends React.InputHTMLAttributes<HTMLInputElement> {}
|
|
8
|
+
|
|
9
|
+
const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
|
10
|
+
({ className, type, ...props }, ref) => {
|
|
11
|
+
return (
|
|
12
|
+
<input
|
|
13
|
+
type={type}
|
|
14
|
+
className={cn(
|
|
15
|
+
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
16
|
+
className
|
|
17
|
+
)}
|
|
18
|
+
ref={ref}
|
|
19
|
+
{...props}
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
Input.displayName = "Input"
|
|
25
|
+
|
|
26
|
+
export { Input }
|
|
27
|
+
|