@wakastellar/ui 4.0.0-dev.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/waka-rich-text-editor/index.d.ts +6 -0
- package/dist/doc.cjs.js +1 -1
- package/dist/doc.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/rich-text.cjs.js +1 -1
- package/dist/rich-text.es.js +1 -1
- package/dist/waka-rich-text-editor-DcZuIQ-q.js +1 -0
- package/dist/{waka-rich-text-editor-BbEpfD5b.mjs → waka-rich-text-editor-SOKYDdDP.mjs} +38 -36
- package/package.json +1 -1
- package/src/components/waka-rich-text-editor/index.tsx +10 -0
- package/dist/editor.d.ts +0 -1
- package/dist/src/blocks/activity-timeline/index.d.ts +0 -73
- package/dist/src/blocks/antivirus-dashboard/index.d.ts +0 -44
- package/dist/src/blocks/apm-overview/index.d.ts +0 -58
- package/dist/src/blocks/auth-2fa/index.d.ts +0 -38
- package/dist/src/blocks/calendar-view/index.d.ts +0 -56
- package/dist/src/blocks/chat/index.d.ts +0 -112
- package/dist/src/blocks/chat/widget.d.ts +0 -100
- package/dist/src/blocks/chat-interface/index.d.ts +0 -66
- package/dist/src/blocks/checkout-flow/index.d.ts +0 -76
- package/dist/src/blocks/cicd-builder/index.d.ts +0 -47
- package/dist/src/blocks/clamav-service-status/index.d.ts +0 -35
- package/dist/src/blocks/cloud-cost-dashboard/index.d.ts +0 -49
- package/dist/src/blocks/container-orchestrator/index.d.ts +0 -63
- package/dist/src/blocks/dashboard/index.d.ts +0 -95
- package/dist/src/blocks/dashboard-kpi/index.d.ts +0 -69
- package/dist/src/blocks/database-admin/index.d.ts +0 -84
- package/dist/src/blocks/deployment-dashboard/index.d.ts +0 -68
- package/dist/src/blocks/empty-states/index.d.ts +0 -47
- package/dist/src/blocks/error-pages/index.d.ts +0 -55
- package/dist/src/blocks/faq/index.d.ts +0 -54
- package/dist/src/blocks/file-manager/index.d.ts +0 -81
- package/dist/src/blocks/file-scan-uploader/index.d.ts +0 -29
- package/dist/src/blocks/footer/index.d.ts +0 -19
- package/dist/src/blocks/gitops-sync-status/index.d.ts +0 -45
- package/dist/src/blocks/header/index.d.ts +0 -86
- package/dist/src/blocks/headtab/index.d.ts +0 -27
- package/dist/src/blocks/i18n-editor/index.d.ts +0 -63
- package/dist/src/blocks/incident-manager/index.d.ts +0 -44
- package/dist/src/blocks/index.d.ts +0 -58
- package/dist/src/blocks/infrastructure-map/index.d.ts +0 -32
- package/dist/src/blocks/kanban-board/index.d.ts +0 -77
- package/dist/src/blocks/landing/index.d.ts +0 -104
- package/dist/src/blocks/language-selector/index.d.ts +0 -6
- package/dist/src/blocks/layout/index.d.ts +0 -28
- package/dist/src/blocks/login/index.d.ts +0 -42
- package/dist/src/blocks/login/types.d.ts +0 -126
- package/dist/src/blocks/on-call-schedule/index.d.ts +0 -43
- package/dist/src/blocks/player-profile/index.d.ts +0 -78
- package/dist/src/blocks/pricing/index.d.ts +0 -64
- package/dist/src/blocks/profile/index.d.ts +0 -98
- package/dist/src/blocks/quarantine-manager/index.d.ts +0 -27
- package/dist/src/blocks/release-notes/index.d.ts +0 -49
- package/dist/src/blocks/scan-history-log/index.d.ts +0 -28
- package/dist/src/blocks/scan-policy-editor/index.d.ts +0 -27
- package/dist/src/blocks/scan-report-generator/index.d.ts +0 -47
- package/dist/src/blocks/settings/index.d.ts +0 -62
- package/dist/src/blocks/sidebar/index.d.ts +0 -155
- package/dist/src/blocks/signature-database-manager/index.d.ts +0 -39
- package/dist/src/blocks/threat-alert-banner/index.d.ts +0 -26
- package/dist/src/blocks/user-management/index.d.ts +0 -95
- package/dist/src/blocks/waka-doc-shell/index.d.ts +0 -3
- package/dist/src/blocks/waka-doc-shell/types.d.ts +0 -32
- package/dist/src/blocks/wizard/index.d.ts +0 -88
- package/dist/src/charts.d.ts +0 -17
- package/dist/src/cli/commands/add.d.ts +0 -7
- package/dist/src/cli/commands/init.d.ts +0 -6
- package/dist/src/cli/commands/list.d.ts +0 -5
- package/dist/src/cli/commands/search.d.ts +0 -1
- package/dist/src/cli/index.d.ts +0 -1
- package/dist/src/cli/utils/config.d.ts +0 -29
- package/dist/src/cli/utils/logger.d.ts +0 -20
- package/dist/src/cli/utils/registry.d.ts +0 -23
- package/dist/src/cli/utils/remote.d.ts +0 -49
- package/dist/src/components/DataTable/DataTable.d.ts +0 -17
- package/dist/src/components/DataTable/DataTableAdvanced.d.ts +0 -27
- package/dist/src/components/DataTable/DataTableColumnResizer.d.ts +0 -8
- package/dist/src/components/DataTable/DataTableContextMenu.d.ts +0 -47
- package/dist/src/components/DataTable/DataTableEditCell.d.ts +0 -29
- package/dist/src/components/DataTable/DataTableFilters.d.ts +0 -14
- package/dist/src/components/DataTable/DataTableGrouping.d.ts +0 -25
- package/dist/src/components/DataTable/DataTablePagination.d.ts +0 -8
- package/dist/src/components/DataTable/DataTableSelection.d.ts +0 -46
- package/dist/src/components/DataTable/DataTableToolbar.d.ts +0 -14
- package/dist/src/components/DataTable/examples/EditExample.d.ts +0 -2
- package/dist/src/components/DataTable/hooks/useDataTable.d.ts +0 -24
- package/dist/src/components/DataTable/hooks/useDataTableAdvanced.d.ts +0 -38
- package/dist/src/components/DataTable/hooks/useDataTableEdit.d.ts +0 -22
- package/dist/src/components/DataTable/hooks/useDataTableExport.d.ts +0 -15
- package/dist/src/components/DataTable/hooks/useDataTableImport.d.ts +0 -12
- package/dist/src/components/DataTable/hooks/useDataTableTheme.d.ts +0 -16
- package/dist/src/components/DataTable/hooks/useDataTableVirtualization.d.ts +0 -19
- package/dist/src/components/DataTable/hooks/useTableLayout.d.ts +0 -26
- package/dist/src/components/DataTable/index.d.ts +0 -37
- package/dist/src/components/DataTable/types.d.ts +0 -461
- package/dist/src/components/DataTable/utils.d.ts +0 -37
- package/dist/src/components/accordion/index.d.ts +0 -7
- package/dist/src/components/alert/index.d.ts +0 -8
- package/dist/src/components/alert-dialog/index.d.ts +0 -20
- package/dist/src/components/aspect-ratio/index.d.ts +0 -3
- package/dist/src/components/avatar/index.d.ts +0 -6
- package/dist/src/components/badge/index.d.ts +0 -9
- package/dist/src/components/button/index.d.ts +0 -11
- package/dist/src/components/calendar/index.d.ts +0 -18
- package/dist/src/components/card/index.d.ts +0 -46
- package/dist/src/components/checkbox/index.d.ts +0 -4
- package/dist/src/components/code/index.d.ts +0 -29
- package/dist/src/components/collapsible/index.d.ts +0 -5
- package/dist/src/components/command/index.d.ts +0 -83
- package/dist/src/components/context-menu/index.d.ts +0 -27
- package/dist/src/components/dialog/index.d.ts +0 -19
- package/dist/src/components/dropdown-menu/index.d.ts +0 -27
- package/dist/src/components/editor/blocks/index.d.ts +0 -51
- package/dist/src/components/editor/blocks/waka-acceptance-criteria-block.d.ts +0 -60
- package/dist/src/components/editor/blocks/waka-ai-assist-block.d.ts +0 -58
- package/dist/src/components/editor/blocks/waka-api-endpoint-block.d.ts +0 -63
- package/dist/src/components/editor/blocks/waka-code-playground-block.d.ts +0 -61
- package/dist/src/components/editor/blocks/waka-comment-thread-block.d.ts +0 -85
- package/dist/src/components/editor/blocks/waka-diagram-block.d.ts +0 -52
- package/dist/src/components/editor/blocks/waka-embed-block.d.ts +0 -58
- package/dist/src/components/editor/blocks/waka-slash-menu-block.d.ts +0 -67
- package/dist/src/components/editor/blocks/waka-user-story-block.d.ts +0 -79
- package/dist/src/components/editor/blocks/waka-version-diff-block.d.ts +0 -73
- package/dist/src/components/editor/index.d.ts +0 -80
- package/dist/src/components/editor/waka-ai-writer.d.ts +0 -80
- package/dist/src/components/editor/waka-collaborative-editor.d.ts +0 -93
- package/dist/src/components/editor/waka-diff-viewer.d.ts +0 -71
- package/dist/src/components/editor/waka-dnd-editor.d.ts +0 -64
- package/dist/src/components/editor/waka-document-editor.d.ts +0 -92
- package/dist/src/components/editor/waka-editor-elements.d.ts +0 -79
- package/dist/src/components/editor/waka-editor-leaves.d.ts +0 -39
- package/dist/src/components/editor/waka-editor-plugins.d.ts +0 -41
- package/dist/src/components/editor/waka-editor-toolbar.d.ts +0 -20
- package/dist/src/components/editor/waka-editor.d.ts +0 -59
- package/dist/src/components/editor/waka-floating-toolbar.d.ts +0 -53
- package/dist/src/components/editor/waka-markdown-editor.d.ts +0 -60
- package/dist/src/components/editor/waka-mention-editor.d.ts +0 -125
- package/dist/src/components/editor/waka-slash-menu.d.ts +0 -70
- package/dist/src/components/editor/waka-spec-editor.d.ts +0 -88
- package/dist/src/components/error-boundary/ErrorBoundary.d.ts +0 -102
- package/dist/src/components/error-boundary/index.d.ts +0 -2
- package/dist/src/components/form/index.d.ts +0 -23
- package/dist/src/components/hover-card/index.d.ts +0 -6
- package/dist/src/components/index.d.ts +0 -257
- package/dist/src/components/input/index.d.ts +0 -19
- package/dist/src/components/input-otp/index.d.ts +0 -51
- package/dist/src/components/label/index.d.ts +0 -5
- package/dist/src/components/language-selector/index.d.ts +0 -40
- package/dist/src/components/menubar/index.d.ts +0 -28
- package/dist/src/components/navigation-menu/index.d.ts +0 -12
- package/dist/src/components/popover/index.d.ts +0 -6
- package/dist/src/components/progress/index.d.ts +0 -4
- package/dist/src/components/radio-group/index.d.ts +0 -5
- package/dist/src/components/scroll-area/index.d.ts +0 -5
- package/dist/src/components/select/index.d.ts +0 -13
- package/dist/src/components/separator/index.d.ts +0 -4
- package/dist/src/components/sheet/index.d.ts +0 -27
- package/dist/src/components/skeleton/index.d.ts +0 -13
- package/dist/src/components/slider/index.d.ts +0 -4
- package/dist/src/components/switch/index.d.ts +0 -4
- package/dist/src/components/table/index.d.ts +0 -21
- package/dist/src/components/tabs/index.d.ts +0 -7
- package/dist/src/components/textarea/index.d.ts +0 -14
- package/dist/src/components/theme-selector/index.d.ts +0 -8
- package/dist/src/components/toast/index.d.ts +0 -15
- package/dist/src/components/toaster/index.d.ts +0 -1
- package/dist/src/components/toggle/index.d.ts +0 -12
- package/dist/src/components/tooltip/index.d.ts +0 -7
- package/dist/src/components/typography/index.d.ts +0 -85
- package/dist/src/components/waka-3d-pie-chart/index.d.ts +0 -67
- package/dist/src/components/waka-achievement-unlock/index.d.ts +0 -83
- package/dist/src/components/waka-activity-feed/index.d.ts +0 -78
- package/dist/src/components/waka-ad-banner/index.d.ts +0 -36
- package/dist/src/components/waka-ad-fallback/index.d.ts +0 -33
- package/dist/src/components/waka-ad-inline/index.d.ts +0 -15
- package/dist/src/components/waka-ad-interstitial/index.d.ts +0 -26
- package/dist/src/components/waka-ad-placeholder/index.d.ts +0 -17
- package/dist/src/components/waka-ad-provider/index.d.ts +0 -103
- package/dist/src/components/waka-ad-sidebar/index.d.ts +0 -18
- package/dist/src/components/waka-ad-sticky-footer/index.d.ts +0 -17
- package/dist/src/components/waka-address-autocomplete/index.d.ts +0 -129
- package/dist/src/components/waka-admincrumb/index.d.ts +0 -55
- package/dist/src/components/waka-alert-panel/index.d.ts +0 -45
- package/dist/src/components/waka-alert-stack/index.d.ts +0 -58
- package/dist/src/components/waka-allocation-matrix/index.d.ts +0 -193
- package/dist/src/components/waka-approval-chain/index.d.ts +0 -43
- package/dist/src/components/waka-artifact-list/index.d.ts +0 -32
- package/dist/src/components/waka-audit-log/index.d.ts +0 -142
- package/dist/src/components/waka-autocomplete/index.d.ts +0 -59
- package/dist/src/components/waka-badge-showcase/index.d.ts +0 -51
- package/dist/src/components/waka-barcode/index.d.ts +0 -27
- package/dist/src/components/waka-biometric-prompt/index.d.ts +0 -84
- package/dist/src/components/waka-bottom-sheet/index.d.ts +0 -61
- package/dist/src/components/waka-breadcrumb/index.d.ts +0 -43
- package/dist/src/components/waka-breadcrumb-path/index.d.ts +0 -46
- package/dist/src/components/waka-budget-burn/index.d.ts +0 -154
- package/dist/src/components/waka-build-matrix/index.d.ts +0 -36
- package/dist/src/components/waka-capacity-planner/index.d.ts +0 -132
- package/dist/src/components/waka-carousel/index.d.ts +0 -105
- package/dist/src/components/waka-cart-summary/index.d.ts +0 -154
- package/dist/src/components/waka-challenge-timer/index.d.ts +0 -86
- package/dist/src/components/waka-charts/WakaAreaChart.d.ts +0 -12
- package/dist/src/components/waka-charts/WakaBarChart.d.ts +0 -12
- package/dist/src/components/waka-charts/WakaChart.d.ts +0 -17
- package/dist/src/components/waka-charts/WakaLineChart.d.ts +0 -12
- package/dist/src/components/waka-charts/WakaMiniChart.d.ts +0 -13
- package/dist/src/components/waka-charts/WakaPieChart.d.ts +0 -12
- package/dist/src/components/waka-charts/WakaSparkline.d.ts +0 -13
- package/dist/src/components/waka-charts/dataTableHelpers.d.ts +0 -34
- package/dist/src/components/waka-charts/hooks/useChartTheme.d.ts +0 -23
- package/dist/src/components/waka-charts/hooks/useRechartsLoader.d.ts +0 -161
- package/dist/src/components/waka-charts/index.d.ts +0 -57
- package/dist/src/components/waka-charts/types.d.ts +0 -298
- package/dist/src/components/waka-chat-bubble/index.d.ts +0 -127
- package/dist/src/components/waka-checklist/index.d.ts +0 -123
- package/dist/src/components/waka-checkout-stepper/index.d.ts +0 -154
- package/dist/src/components/waka-cohort-table/index.d.ts +0 -130
- package/dist/src/components/waka-color-picker/index.d.ts +0 -40
- package/dist/src/components/waka-combo-counter/index.d.ts +0 -53
- package/dist/src/components/waka-combobox/index.d.ts +0 -81
- package/dist/src/components/waka-command-bar/index.d.ts +0 -45
- package/dist/src/components/waka-compare-period/index.d.ts +0 -122
- package/dist/src/components/waka-config-comparator/index.d.ts +0 -37
- package/dist/src/components/waka-connection-matrix/index.d.ts +0 -117
- package/dist/src/components/waka-container-list/index.d.ts +0 -51
- package/dist/src/components/waka-content-recommendation/index.d.ts +0 -23
- package/dist/src/components/waka-contribution-graph/index.d.ts +0 -34
- package/dist/src/components/waka-cost-breakdown/index.d.ts +0 -50
- package/dist/src/components/waka-coupon-input/index.d.ts +0 -105
- package/dist/src/components/waka-credit-activity-feed/index.d.ts +0 -21
- package/dist/src/components/waka-credit-alert/index.d.ts +0 -24
- package/dist/src/components/waka-credit-balance/index.d.ts +0 -30
- package/dist/src/components/waka-credit-balance/types.d.ts +0 -34
- package/dist/src/components/waka-credit-breakdown/index.d.ts +0 -32
- package/dist/src/components/waka-credit-burn-rate/index.d.ts +0 -25
- package/dist/src/components/waka-credit-card-input/index.d.ts +0 -95
- package/dist/src/components/waka-credit-history/index.d.ts +0 -31
- package/dist/src/components/waka-credit-meter/index.d.ts +0 -27
- package/dist/src/components/waka-credit-pricing-pack/index.d.ts +0 -17
- package/dist/src/components/waka-credit-projection/index.d.ts +0 -21
- package/dist/src/components/waka-credit-quota/index.d.ts +0 -25
- package/dist/src/components/waka-credit-receipt/index.d.ts +0 -23
- package/dist/src/components/waka-credit-top-up/index.d.ts +0 -26
- package/dist/src/components/waka-credit-transaction/index.d.ts +0 -22
- package/dist/src/components/waka-credit-transfer-form/index.d.ts +0 -27
- package/dist/src/components/waka-credit-usage-chart/index.d.ts +0 -34
- package/dist/src/components/waka-daily-reward/index.d.ts +0 -76
- package/dist/src/components/waka-database-card/index.d.ts +0 -46
- package/dist/src/components/waka-date-range-picker/index.d.ts +0 -68
- package/dist/src/components/waka-datetime-picker/index.d.ts +0 -135
- package/dist/src/components/waka-datetime-picker.form-integration/index.d.ts +0 -73
- package/dist/src/components/waka-dependency-tree/index.d.ts +0 -38
- package/dist/src/components/waka-deployment-lane/index.d.ts +0 -43
- package/dist/src/components/waka-device-trust/index.d.ts +0 -95
- package/dist/src/components/waka-doc-breadcrumb/index.d.ts +0 -11
- package/dist/src/components/waka-doc-callout/index.d.ts +0 -9
- package/dist/src/components/waka-doc-code-block/index.d.ts +0 -9
- package/dist/src/components/waka-doc-nav/index.d.ts +0 -16
- package/dist/src/components/waka-doc-renderer/index.d.ts +0 -7
- package/dist/src/components/waka-doc-search/index.d.ts +0 -23
- package/dist/src/components/waka-doc-table/index.d.ts +0 -8
- package/dist/src/components/waka-doc-toc/index.d.ts +0 -11
- package/dist/src/components/waka-doc-toolbar/index.d.ts +0 -15
- package/dist/src/components/waka-doc-version/index.d.ts +0 -13
- package/dist/src/components/waka-dock/index.d.ts +0 -49
- package/dist/src/components/waka-drawer/index.d.ts +0 -59
- package/dist/src/components/waka-empty-state/index.d.ts +0 -85
- package/dist/src/components/waka-env-var-editor/index.d.ts +0 -30
- package/dist/src/components/waka-error-shake/index.d.ts +0 -49
- package/dist/src/components/waka-feature-announcement/index.d.ts +0 -112
- package/dist/src/components/waka-feature-flag-row/index.d.ts +0 -45
- package/dist/src/components/waka-file-upload/index.d.ts +0 -49
- package/dist/src/components/waka-floating-nav/index.d.ts +0 -51
- package/dist/src/components/waka-flow-diagram/index.d.ts +0 -71
- package/dist/src/components/waka-funnel-chart/index.d.ts +0 -108
- package/dist/src/components/waka-glow-card/index.d.ts +0 -32
- package/dist/src/components/waka-goal-progress/index.d.ts +0 -139
- package/dist/src/components/waka-haptic-button/index.d.ts +0 -50
- package/dist/src/components/waka-health-pulse/index.d.ts +0 -28
- package/dist/src/components/waka-heatmap/index.d.ts +0 -135
- package/dist/src/components/waka-hotspot/index.d.ts +0 -111
- package/dist/src/components/waka-image/index.d.ts +0 -59
- package/dist/src/components/waka-incident-timeline/index.d.ts +0 -38
- package/dist/src/components/waka-invoice-preview/index.d.ts +0 -137
- package/dist/src/components/waka-kanban/index.d.ts +0 -68
- package/dist/src/components/waka-kpi-dashboard/index.d.ts +0 -80
- package/dist/src/components/waka-kubernetes-overview/index.d.ts +0 -98
- package/dist/src/components/waka-leaderboard/index.d.ts +0 -85
- package/dist/src/components/waka-level-progress/index.d.ts +0 -89
- package/dist/src/components/waka-liquid-button/index.d.ts +0 -46
- package/dist/src/components/waka-loading-orbit/index.d.ts +0 -90
- package/dist/src/components/waka-log-viewer/index.d.ts +0 -38
- package/dist/src/components/waka-loot-box/index.d.ts +0 -87
- package/dist/src/components/waka-magic-link/index.d.ts +0 -34
- package/dist/src/components/waka-magnetic-button/index.d.ts +0 -61
- package/dist/src/components/waka-mention-input/index.d.ts +0 -106
- package/dist/src/components/waka-metric-sparkline/index.d.ts +0 -46
- package/dist/src/components/waka-migration-list/index.d.ts +0 -36
- package/dist/src/components/waka-milestone-road/index.d.ts +0 -91
- package/dist/src/components/waka-modal/index.d.ts +0 -87
- package/dist/src/components/waka-morph-button/index.d.ts +0 -62
- package/dist/src/components/waka-network-topology/index.d.ts +0 -35
- package/dist/src/components/waka-notifications/index.d.ts +0 -40
- package/dist/src/components/waka-number-input/index.d.ts +0 -60
- package/dist/src/components/waka-orbital-menu/index.d.ts +0 -61
- package/dist/src/components/waka-order-tracker/index.d.ts +0 -121
- package/dist/src/components/waka-outstream-video/index.d.ts +0 -24
- package/dist/src/components/waka-pagination/index.d.ts +0 -67
- package/dist/src/components/waka-password-strength/index.d.ts +0 -98
- package/dist/src/components/waka-payment-method-picker/index.d.ts +0 -88
- package/dist/src/components/waka-permission-matrix/index.d.ts +0 -197
- package/dist/src/components/waka-phone-input/index.d.ts +0 -93
- package/dist/src/components/waka-pipeline-view/index.d.ts +0 -49
- package/dist/src/components/waka-player-card/index.d.ts +0 -36
- package/dist/src/components/waka-pod-card/index.d.ts +0 -73
- package/dist/src/components/waka-points-popup/index.d.ts +0 -75
- package/dist/src/components/waka-power-up/index.d.ts +0 -103
- package/dist/src/components/waka-presence-indicator/index.d.ts +0 -188
- package/dist/src/components/waka-pricing-table/index.d.ts +0 -77
- package/dist/src/components/waka-product-card/index.d.ts +0 -81
- package/dist/src/components/waka-progress-onboarding/index.d.ts +0 -97
- package/dist/src/components/waka-pull-to-refresh/index.d.ts +0 -45
- package/dist/src/components/waka-qrcode/index.d.ts +0 -32
- package/dist/src/components/waka-query-explain/index.d.ts +0 -48
- package/dist/src/components/waka-quest-card/index.d.ts +0 -110
- package/dist/src/components/waka-quota-bar/index.d.ts +0 -100
- package/dist/src/components/waka-radar-score/index.d.ts +0 -95
- package/dist/src/components/waka-rank-badge/index.d.ts +0 -58
- package/dist/src/components/waka-rating-input/index.d.ts +0 -110
- package/dist/src/components/waka-reaction-picker/index.d.ts +0 -77
- package/dist/src/components/waka-region-map/index.d.ts +0 -27
- package/dist/src/components/waka-resource-gauge/index.d.ts +0 -78
- package/dist/src/components/waka-resource-pool/index.d.ts +0 -81
- package/dist/src/components/waka-rich-text-editor/index.d.ts +0 -36
- package/dist/src/components/waka-rollback-slider/index.d.ts +0 -79
- package/dist/src/components/waka-sankey-diagram/index.d.ts +0 -120
- package/dist/src/components/waka-schedule-picker/index.d.ts +0 -100
- package/dist/src/components/waka-scratch-card/index.d.ts +0 -87
- package/dist/src/components/waka-season-pass/index.d.ts +0 -65
- package/dist/src/components/waka-secret-card/index.d.ts +0 -43
- package/dist/src/components/waka-security-scan-result/index.d.ts +0 -45
- package/dist/src/components/waka-security-score/index.d.ts +0 -124
- package/dist/src/components/waka-segmented-control/index.d.ts +0 -42
- package/dist/src/components/waka-server-rack/index.d.ts +0 -44
- package/dist/src/components/waka-service-graph/index.d.ts +0 -44
- package/dist/src/components/waka-session-manager/index.d.ts +0 -116
- package/dist/src/components/waka-signature-pad/index.d.ts +0 -87
- package/dist/src/components/waka-skeleton-wave/index.d.ts +0 -79
- package/dist/src/components/waka-skill-tree/index.d.ts +0 -78
- package/dist/src/components/waka-sla-tracker/index.d.ts +0 -65
- package/dist/src/components/waka-slider-range/index.d.ts +0 -88
- package/dist/src/components/waka-spin-wheel/index.d.ts +0 -51
- package/dist/src/components/waka-spinner/index.d.ts +0 -46
- package/dist/src/components/waka-sponsored-badge/index.d.ts +0 -20
- package/dist/src/components/waka-sponsored-card/index.d.ts +0 -25
- package/dist/src/components/waka-sponsored-feed/index.d.ts +0 -31
- package/dist/src/components/waka-spotlight/index.d.ts +0 -47
- package/dist/src/components/waka-stat/index.d.ts +0 -57
- package/dist/src/components/waka-stats-hexagon/index.d.ts +0 -149
- package/dist/src/components/waka-status-matrix/index.d.ts +0 -38
- package/dist/src/components/waka-stepper/index.d.ts +0 -76
- package/dist/src/components/waka-streak-counter/index.d.ts +0 -27
- package/dist/src/components/waka-success-explosion/index.d.ts +0 -51
- package/dist/src/components/waka-swipe-card/index.d.ts +0 -64
- package/dist/src/components/waka-tabs-morph/index.d.ts +0 -66
- package/dist/src/components/waka-tag-input/index.d.ts +0 -134
- package/dist/src/components/waka-team-banner/index.d.ts +0 -122
- package/dist/src/components/waka-terminal-output/index.d.ts +0 -48
- package/dist/src/components/waka-test-report/index.d.ts +0 -60
- package/dist/src/components/waka-theme-creator/index.d.ts +0 -59
- package/dist/src/components/waka-theme-manager/index.d.ts +0 -62
- package/dist/src/components/waka-thread-view/index.d.ts +0 -101
- package/dist/src/components/waka-tilt-card/index.d.ts +0 -36
- package/dist/src/components/waka-time-picker/index.d.ts +0 -51
- package/dist/src/components/waka-timeline/index.d.ts +0 -46
- package/dist/src/components/waka-tooltip-tour/index.d.ts +0 -123
- package/dist/src/components/waka-tour-guide/index.d.ts +0 -127
- package/dist/src/components/waka-tournament-bracket/index.d.ts +0 -101
- package/dist/src/components/waka-trace-viewer/index.d.ts +0 -36
- package/dist/src/components/waka-tree/index.d.ts +0 -67
- package/dist/src/components/waka-treemap-chart/index.d.ts +0 -104
- package/dist/src/components/waka-two-factor-setup/index.d.ts +0 -93
- package/dist/src/components/waka-typewriter/index.d.ts +0 -98
- package/dist/src/components/waka-typing-indicator/index.d.ts +0 -64
- package/dist/src/components/waka-versus-card/index.d.ts +0 -117
- package/dist/src/components/waka-video/index.d.ts +0 -66
- package/dist/src/components/waka-video-ad/index.d.ts +0 -32
- package/dist/src/components/waka-video-call/index.d.ts +0 -170
- package/dist/src/components/waka-video-overlay/index.d.ts +0 -26
- package/dist/src/components/waka-virtual-list/index.d.ts +0 -54
- package/dist/src/components/waka-voice-message/index.d.ts +0 -117
- package/dist/src/components/waka-welcome-modal/index.d.ts +0 -120
- package/dist/src/components/waka-xp-bar/index.d.ts +0 -54
- package/dist/src/context/admincrumb-context.d.ts +0 -34
- package/dist/src/context/index.d.ts +0 -8
- package/dist/src/context/language-context.d.ts +0 -57
- package/dist/src/context/theme-context.d.ts +0 -39
- package/dist/src/context/theme-provider.d.ts +0 -74
- package/dist/src/context/waka-provider.d.ts +0 -50
- package/dist/src/doc.d.ts +0 -33
- package/dist/src/editor.d.ts +0 -26
- package/dist/src/export.d.ts +0 -30
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/hooks/use-toast.d.ts +0 -44
- package/dist/src/hooks/use-translation.d.ts +0 -15
- package/dist/src/hooks/useToast.d.ts +0 -44
- package/dist/src/index.d.ts +0 -35
- package/dist/src/lib/i18n.d.ts +0 -4
- package/dist/src/rich-text.d.ts +0 -21
- package/dist/src/stories/Button.d.ts +0 -14
- package/dist/src/stories/Button.stories.d.ts +0 -8
- package/dist/src/stories/Header.d.ts +0 -11
- package/dist/src/stories/Header.stories.d.ts +0 -6
- package/dist/src/stories/Page.d.ts +0 -2
- package/dist/src/stories/Page.stories.d.ts +0 -6
- package/dist/src/stories/editor/EditorStoryWrapper.d.ts +0 -11
- package/dist/src/types/index.d.ts +0 -1
- package/dist/src/types/link.d.ts +0 -23
- package/dist/src/types/provider.d.ts +0 -108
- package/dist/src/utils/cn.d.ts +0 -1
- package/dist/src/utils/datetime-helpers.d.ts +0 -137
- package/dist/src/utils/error-handling.d.ts +0 -190
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/logger.d.ts +0 -9
- package/dist/src/utils/security.d.ts +0 -96
- package/dist/src/utils/theme-loader.d.ts +0 -101
- package/dist/src/utils/tweak.d.ts +0 -18
- package/dist/waka-rich-text-editor-C4b30Ik-.js +0 -1
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
-
export type DrawerPosition = "left" | "right" | "top" | "bottom";
|
|
4
|
-
export type DrawerSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
5
|
-
export interface WakaDrawerProps {
|
|
6
|
-
/** État d'ouverture */
|
|
7
|
-
open: boolean;
|
|
8
|
-
/** Callback de fermeture */
|
|
9
|
-
onOpenChange: (open: boolean) => void;
|
|
10
|
-
/** Position du drawer */
|
|
11
|
-
position?: DrawerPosition;
|
|
12
|
-
/** Taille du drawer */
|
|
13
|
-
size?: DrawerSize;
|
|
14
|
-
/** Titre du drawer */
|
|
15
|
-
title?: string;
|
|
16
|
-
/** Description du drawer */
|
|
17
|
-
description?: string;
|
|
18
|
-
/** Afficher le bouton de fermeture */
|
|
19
|
-
showCloseButton?: boolean;
|
|
20
|
-
/** Fermer en cliquant sur l'overlay */
|
|
21
|
-
closeOnOverlayClick?: boolean;
|
|
22
|
-
/** Fermer avec la touche Escape */
|
|
23
|
-
closeOnEscape?: boolean;
|
|
24
|
-
/** Afficher l'overlay */
|
|
25
|
-
showOverlay?: boolean;
|
|
26
|
-
/** Contenu du drawer */
|
|
27
|
-
children?: React.ReactNode;
|
|
28
|
-
/** Footer avec actions */
|
|
29
|
-
footer?: React.ReactNode;
|
|
30
|
-
/** Classes CSS additionnelles */
|
|
31
|
-
className?: string;
|
|
32
|
-
/** Classes CSS pour le contenu */
|
|
33
|
-
contentClassName?: string;
|
|
34
|
-
}
|
|
35
|
-
export declare const DrawerHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
-
export declare const DrawerBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
export declare const DrawerFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
-
export declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
39
|
-
export declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
40
|
-
export declare function WakaDrawer({ open, onOpenChange, position, size, title, description, showCloseButton, closeOnOverlayClick, closeOnEscape, showOverlay, children, footer, className, contentClassName, }: WakaDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
export interface UseDrawerOptions {
|
|
42
|
-
/** État initial */
|
|
43
|
-
defaultOpen?: boolean;
|
|
44
|
-
/** Callback lors de l'ouverture */
|
|
45
|
-
onOpen?: () => void;
|
|
46
|
-
/** Callback lors de la fermeture */
|
|
47
|
-
onClose?: () => void;
|
|
48
|
-
}
|
|
49
|
-
export interface UseDrawerReturn {
|
|
50
|
-
open: boolean;
|
|
51
|
-
onOpenChange: (open: boolean) => void;
|
|
52
|
-
openDrawer: () => void;
|
|
53
|
-
closeDrawer: () => void;
|
|
54
|
-
toggleDrawer: () => void;
|
|
55
|
-
}
|
|
56
|
-
export declare function useDrawer(options?: UseDrawerOptions): UseDrawerReturn;
|
|
57
|
-
export declare const DrawerTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
58
|
-
export declare const DrawerClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
59
|
-
export default WakaDrawer;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type EmptyStateVariant = "default" | "search" | "error";
|
|
3
|
-
export type EmptyStateSize = "sm" | "md" | "lg";
|
|
4
|
-
export type EmptyStateLayout = "vertical" | "horizontal";
|
|
5
|
-
export type BuiltInIllustration = "inbox" | "search" | "error" | "folder" | "users" | "cart" | "calendar" | "mail" | "image";
|
|
6
|
-
export interface EmptyStateAction {
|
|
7
|
-
/** Button label */
|
|
8
|
-
label: string;
|
|
9
|
-
/** Click handler */
|
|
10
|
-
onClick: () => void;
|
|
11
|
-
/** Button variant */
|
|
12
|
-
variant?: "primary" | "secondary";
|
|
13
|
-
/** Disabled state */
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
/** Loading state */
|
|
16
|
-
loading?: boolean;
|
|
17
|
-
/** Icon to display */
|
|
18
|
-
icon?: React.ReactNode;
|
|
19
|
-
}
|
|
20
|
-
export interface WakaEmptyStateProps {
|
|
21
|
-
/** Title text */
|
|
22
|
-
title?: string;
|
|
23
|
-
/** Description text */
|
|
24
|
-
description?: string;
|
|
25
|
-
/** Built-in illustration to use */
|
|
26
|
-
illustration?: BuiltInIllustration;
|
|
27
|
-
/** Custom icon component (overrides illustration) */
|
|
28
|
-
icon?: React.ReactNode;
|
|
29
|
-
/** Custom illustration element (overrides icon and illustration) */
|
|
30
|
-
customIllustration?: React.ReactNode;
|
|
31
|
-
/** Primary action button */
|
|
32
|
-
primaryAction?: EmptyStateAction;
|
|
33
|
-
/** Secondary action button */
|
|
34
|
-
secondaryAction?: EmptyStateAction;
|
|
35
|
-
/** Variant style */
|
|
36
|
-
variant?: EmptyStateVariant;
|
|
37
|
-
/** Size of the component */
|
|
38
|
-
size?: EmptyStateSize;
|
|
39
|
-
/** Layout direction */
|
|
40
|
-
layout?: EmptyStateLayout;
|
|
41
|
-
/** Enable animated entrance */
|
|
42
|
-
animated?: boolean;
|
|
43
|
-
/** Additional content below actions */
|
|
44
|
-
children?: React.ReactNode;
|
|
45
|
-
/** Additional CSS classes */
|
|
46
|
-
className?: string;
|
|
47
|
-
}
|
|
48
|
-
export declare function WakaEmptyState({ title, description, illustration, icon, customIllustration, primaryAction, secondaryAction, variant, size, layout, animated, children, className, }: WakaEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
export interface WakaEmptyStateSearchProps extends Omit<WakaEmptyStateProps, "variant" | "illustration"> {
|
|
50
|
-
/** Search query that was used */
|
|
51
|
-
searchQuery?: string;
|
|
52
|
-
/** Callback to clear search */
|
|
53
|
-
onClearSearch?: () => void;
|
|
54
|
-
}
|
|
55
|
-
export declare function WakaEmptyStateSearch({ searchQuery, onClearSearch, title, description, ...props }: WakaEmptyStateSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
export interface WakaEmptyStateErrorProps extends Omit<WakaEmptyStateProps, "variant" | "illustration"> {
|
|
57
|
-
/** Error message */
|
|
58
|
-
error?: string | Error;
|
|
59
|
-
/** Callback to retry the operation */
|
|
60
|
-
onRetry?: () => void;
|
|
61
|
-
}
|
|
62
|
-
export declare function WakaEmptyStateError({ error, onRetry, title, description, ...props }: WakaEmptyStateErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
export interface UseEmptyStateOptions<T> {
|
|
64
|
-
/** Data array to check */
|
|
65
|
-
data: T[] | undefined | null;
|
|
66
|
-
/** Whether data is currently loading */
|
|
67
|
-
isLoading?: boolean;
|
|
68
|
-
/** Error object if any */
|
|
69
|
-
error?: Error | string | null;
|
|
70
|
-
/** Search query if in search mode */
|
|
71
|
-
searchQuery?: string;
|
|
72
|
-
}
|
|
73
|
-
export interface UseEmptyStateReturn {
|
|
74
|
-
/** Whether to show empty state */
|
|
75
|
-
showEmptyState: boolean;
|
|
76
|
-
/** Which variant to display */
|
|
77
|
-
variant: EmptyStateVariant;
|
|
78
|
-
/** Whether data is empty (not loading, no error) */
|
|
79
|
-
isEmpty: boolean;
|
|
80
|
-
/** Whether there was an error */
|
|
81
|
-
hasError: boolean;
|
|
82
|
-
/** Whether currently searching */
|
|
83
|
-
isSearching: boolean;
|
|
84
|
-
}
|
|
85
|
-
export declare function useEmptyState<T>({ data, isLoading, error, searchQuery, }: UseEmptyStateOptions<T>): UseEmptyStateReturn;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export interface EnvVariable {
|
|
2
|
-
key: string;
|
|
3
|
-
value: string;
|
|
4
|
-
isSecret?: boolean;
|
|
5
|
-
isRequired?: boolean;
|
|
6
|
-
description?: string;
|
|
7
|
-
source?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface WakaEnvVarEditorProps {
|
|
10
|
-
/** List of environment variables */
|
|
11
|
-
variables: EnvVariable[];
|
|
12
|
-
/** Callback when variables change */
|
|
13
|
-
onChange?: (variables: EnvVariable[]) => void;
|
|
14
|
-
/** Callback when saving */
|
|
15
|
-
onSave?: (variables: EnvVariable[]) => void;
|
|
16
|
-
/** Callback when importing */
|
|
17
|
-
onImport?: (content: string) => void;
|
|
18
|
-
/** Callback when exporting */
|
|
19
|
-
onExport?: () => void;
|
|
20
|
-
/** Read-only mode */
|
|
21
|
-
readOnly?: boolean;
|
|
22
|
-
/** Show source column */
|
|
23
|
-
showSource?: boolean;
|
|
24
|
-
/** Title */
|
|
25
|
-
title?: string;
|
|
26
|
-
/** Custom class name */
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare function WakaEnvVarEditor({ variables: initialVariables, onChange, onSave, onImport, onExport, readOnly, showSource, title, className, }: WakaEnvVarEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export declare const defaultEnvVariables: EnvVariable[];
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type ShakeIntensity = "light" | "medium" | "strong";
|
|
3
|
-
export interface WakaErrorShakeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/** Trigger the shake animation */
|
|
5
|
-
trigger?: boolean;
|
|
6
|
-
/** Shake animation intensity */
|
|
7
|
-
intensity?: ShakeIntensity;
|
|
8
|
-
/** Duration of the shake animation in ms */
|
|
9
|
-
duration?: number;
|
|
10
|
-
/** Enable glitch/distortion effect */
|
|
11
|
-
glitchEffect?: boolean;
|
|
12
|
-
/** Enable red flash effect */
|
|
13
|
-
flashEffect?: boolean;
|
|
14
|
-
/** Flash color (CSS color value) */
|
|
15
|
-
flashColor?: string;
|
|
16
|
-
/** Callback when animation completes */
|
|
17
|
-
onComplete?: () => void;
|
|
18
|
-
/** Children to wrap */
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
}
|
|
21
|
-
export interface WakaErrorShakeRef {
|
|
22
|
-
/** Trigger the shake animation */
|
|
23
|
-
shake: () => void;
|
|
24
|
-
/** Reset the component */
|
|
25
|
-
reset: () => void;
|
|
26
|
-
}
|
|
27
|
-
export declare const WakaErrorShake: React.ForwardRefExoticComponent<WakaErrorShakeProps & React.RefAttributes<WakaErrorShakeRef>>;
|
|
28
|
-
export interface UseErrorShakeOptions {
|
|
29
|
-
intensity?: ShakeIntensity;
|
|
30
|
-
duration?: number;
|
|
31
|
-
glitchEffect?: boolean;
|
|
32
|
-
flashEffect?: boolean;
|
|
33
|
-
flashColor?: string;
|
|
34
|
-
onComplete?: () => void;
|
|
35
|
-
}
|
|
36
|
-
export declare function useErrorShake(options?: UseErrorShakeOptions): {
|
|
37
|
-
ref: React.RefObject<WakaErrorShakeRef>;
|
|
38
|
-
isShaking: boolean;
|
|
39
|
-
shake: () => void;
|
|
40
|
-
reset: () => void;
|
|
41
|
-
ShakeWrapper: ({ children }: {
|
|
42
|
-
children: React.ReactNode;
|
|
43
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
};
|
|
45
|
-
export interface WakaFormFieldShakeProps extends Omit<WakaErrorShakeProps, "trigger"> {
|
|
46
|
-
/** Error state - triggers shake when transitioning from false to true */
|
|
47
|
-
hasError?: boolean;
|
|
48
|
-
}
|
|
49
|
-
export declare const WakaFormFieldShake: React.ForwardRefExoticComponent<WakaFormFieldShakeProps & React.RefAttributes<WakaErrorShakeRef>>;
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
export interface FeatureMedia {
|
|
2
|
-
/** Media type */
|
|
3
|
-
type: "image" | "video";
|
|
4
|
-
/** Media URL */
|
|
5
|
-
src: string;
|
|
6
|
-
/** Alt text for accessibility */
|
|
7
|
-
alt: string;
|
|
8
|
-
/** Poster image for video */
|
|
9
|
-
poster?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface FeatureData {
|
|
12
|
-
/** Unique identifier */
|
|
13
|
-
id: string;
|
|
14
|
-
/** Feature title */
|
|
15
|
-
title: string;
|
|
16
|
-
/** Feature description */
|
|
17
|
-
description: string;
|
|
18
|
-
/** Screenshot or video preview */
|
|
19
|
-
media?: FeatureMedia;
|
|
20
|
-
/** Version number (e.g., "2.0.0") */
|
|
21
|
-
version?: string;
|
|
22
|
-
/** Release date */
|
|
23
|
-
releaseDate?: Date | string;
|
|
24
|
-
/** Learn more link */
|
|
25
|
-
learnMoreUrl?: string;
|
|
26
|
-
/** Learn more link text */
|
|
27
|
-
learnMoreText?: string;
|
|
28
|
-
/** Custom badge text (defaults to "What's New") */
|
|
29
|
-
badgeText?: string;
|
|
30
|
-
/** Custom badge color */
|
|
31
|
-
badgeVariant?: "default" | "primary" | "success" | "warning";
|
|
32
|
-
}
|
|
33
|
-
export type FeatureAnnouncementMode = "modal" | "banner";
|
|
34
|
-
export interface WakaFeatureAnnouncementProps {
|
|
35
|
-
/** Array of features to display */
|
|
36
|
-
features: FeatureData[];
|
|
37
|
-
/** Display mode - modal or inline banner */
|
|
38
|
-
mode?: FeatureAnnouncementMode;
|
|
39
|
-
/** Whether the announcement is open/visible */
|
|
40
|
-
open?: boolean;
|
|
41
|
-
/** Callback when open state changes */
|
|
42
|
-
onOpenChange?: (open: boolean) => void;
|
|
43
|
-
/** Callback when a feature is viewed */
|
|
44
|
-
onFeatureView?: (feature: FeatureData, index: number) => void;
|
|
45
|
-
/** Callback when learn more is clicked */
|
|
46
|
-
onLearnMore?: (feature: FeatureData) => void;
|
|
47
|
-
/** Callback when dismissed */
|
|
48
|
-
onDismiss?: () => void;
|
|
49
|
-
/** Dismiss button text */
|
|
50
|
-
dismissText?: string;
|
|
51
|
-
/** Show navigation dots */
|
|
52
|
-
showDots?: boolean;
|
|
53
|
-
/** Show navigation arrows */
|
|
54
|
-
showArrows?: boolean;
|
|
55
|
-
/** Auto-advance through features */
|
|
56
|
-
autoAdvance?: boolean;
|
|
57
|
-
/** Auto-advance interval in milliseconds */
|
|
58
|
-
autoAdvanceInterval?: number;
|
|
59
|
-
/** Close on overlay click (modal mode only) */
|
|
60
|
-
closeOnOverlayClick?: boolean;
|
|
61
|
-
/** Close on escape key */
|
|
62
|
-
closeOnEscape?: boolean;
|
|
63
|
-
/** Size variant (modal mode only) */
|
|
64
|
-
size?: "sm" | "md" | "lg";
|
|
65
|
-
/** Custom className */
|
|
66
|
-
className?: string;
|
|
67
|
-
/** Custom className for overlay (modal mode only) */
|
|
68
|
-
overlayClassName?: string;
|
|
69
|
-
}
|
|
70
|
-
export interface UseFeatureAnnouncementOptions {
|
|
71
|
-
/** Initial open state */
|
|
72
|
-
defaultOpen?: boolean;
|
|
73
|
-
/** Storage key for dismissed state */
|
|
74
|
-
storageKey?: string;
|
|
75
|
-
/** Features to display */
|
|
76
|
-
features?: FeatureData[];
|
|
77
|
-
/** Version to track for dismissal */
|
|
78
|
-
currentVersion?: string;
|
|
79
|
-
/** Callback when opened */
|
|
80
|
-
onOpen?: () => void;
|
|
81
|
-
/** Callback when closed */
|
|
82
|
-
onClose?: () => void;
|
|
83
|
-
}
|
|
84
|
-
export interface UseFeatureAnnouncementReturn {
|
|
85
|
-
/** Whether the announcement is open */
|
|
86
|
-
isOpen: boolean;
|
|
87
|
-
/** Open the announcement */
|
|
88
|
-
open: () => void;
|
|
89
|
-
/** Close the announcement */
|
|
90
|
-
close: () => void;
|
|
91
|
-
/** Toggle the announcement */
|
|
92
|
-
toggle: () => void;
|
|
93
|
-
/** Handle open change from component */
|
|
94
|
-
onOpenChange: (open: boolean) => void;
|
|
95
|
-
/** Mark as seen/dismissed */
|
|
96
|
-
markAsSeen: () => void;
|
|
97
|
-
/** Check if has been seen */
|
|
98
|
-
hasBeenSeen: boolean;
|
|
99
|
-
/** Current feature index */
|
|
100
|
-
currentIndex: number;
|
|
101
|
-
/** Set current feature index */
|
|
102
|
-
setCurrentIndex: (index: number) => void;
|
|
103
|
-
/** Go to next feature */
|
|
104
|
-
nextFeature: () => void;
|
|
105
|
-
/** Go to previous feature */
|
|
106
|
-
previousFeature: () => void;
|
|
107
|
-
/** Total number of features */
|
|
108
|
-
totalFeatures: number;
|
|
109
|
-
}
|
|
110
|
-
export declare function WakaFeatureAnnouncement({ features, mode, open, onOpenChange, onFeatureView, onLearnMore, onDismiss, dismissText, showDots, showArrows, autoAdvance, autoAdvanceInterval, closeOnOverlayClick, closeOnEscape, size, className, overlayClassName, }: WakaFeatureAnnouncementProps): import("react/jsx-runtime").JSX.Element | null;
|
|
111
|
-
export declare function useFeatureAnnouncement({ defaultOpen, storageKey, features, currentVersion, onOpen, onClose, }?: UseFeatureAnnouncementOptions): UseFeatureAnnouncementReturn;
|
|
112
|
-
export default WakaFeatureAnnouncement;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export type FeatureFlagStatus = "enabled" | "disabled" | "percentage" | "segment";
|
|
2
|
-
export interface FeatureFlagSegment {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface FeatureFlag {
|
|
8
|
-
id: string;
|
|
9
|
-
key: string;
|
|
10
|
-
name: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
status: FeatureFlagStatus;
|
|
13
|
-
enabled: boolean;
|
|
14
|
-
percentage?: number;
|
|
15
|
-
segments?: FeatureFlagSegment[];
|
|
16
|
-
createdAt: Date;
|
|
17
|
-
updatedAt: Date;
|
|
18
|
-
createdBy?: string;
|
|
19
|
-
environment?: string;
|
|
20
|
-
tags?: string[];
|
|
21
|
-
}
|
|
22
|
-
export interface WakaFeatureFlagRowProps {
|
|
23
|
-
/** Feature flag data */
|
|
24
|
-
flag: FeatureFlag;
|
|
25
|
-
/** Callback when toggling the flag */
|
|
26
|
-
onToggle?: (enabled: boolean) => void;
|
|
27
|
-
/** Callback when changing percentage */
|
|
28
|
-
onPercentageChange?: (percentage: number) => void;
|
|
29
|
-
/** Callback when editing the flag */
|
|
30
|
-
onEdit?: () => void;
|
|
31
|
-
/** Callback when deleting the flag */
|
|
32
|
-
onDelete?: () => void;
|
|
33
|
-
/** Callback when viewing history */
|
|
34
|
-
onViewHistory?: () => void;
|
|
35
|
-
/** Callback when duplicating the flag */
|
|
36
|
-
onDuplicate?: () => void;
|
|
37
|
-
/** Read-only mode */
|
|
38
|
-
readOnly?: boolean;
|
|
39
|
-
/** Compact mode */
|
|
40
|
-
compact?: boolean;
|
|
41
|
-
/** Custom class name */
|
|
42
|
-
className?: string;
|
|
43
|
-
}
|
|
44
|
-
export declare function WakaFeatureFlagRow({ flag, onToggle, onPercentageChange, onEdit, onDelete, onViewHistory, onDuplicate, readOnly, compact, className, }: WakaFeatureFlagRowProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export declare const defaultFeatureFlags: FeatureFlag[];
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type FileUploadVariant = "dropzone" | "button" | "inline";
|
|
3
|
-
export interface UploadedFile {
|
|
4
|
-
id: string;
|
|
5
|
-
file: File;
|
|
6
|
-
progress: number;
|
|
7
|
-
status: "pending" | "uploading" | "success" | "error";
|
|
8
|
-
error?: string;
|
|
9
|
-
url?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface WakaFileUploadProps {
|
|
12
|
-
/** Variant d'affichage */
|
|
13
|
-
variant?: FileUploadVariant;
|
|
14
|
-
/** Types de fichiers acceptés (ex: "image/*", ".pdf,.doc") */
|
|
15
|
-
accept?: string;
|
|
16
|
-
/** Taille max par fichier en bytes */
|
|
17
|
-
maxSize?: number;
|
|
18
|
-
/** Nombre max de fichiers */
|
|
19
|
-
maxFiles?: number;
|
|
20
|
-
/** Upload multiple */
|
|
21
|
-
multiple?: boolean;
|
|
22
|
-
/** Callback d'upload (retourne l'URL ou throw une erreur) */
|
|
23
|
-
onUpload?: (file: File, onProgress: (progress: number) => void) => Promise<string>;
|
|
24
|
-
/** Callback après tous les uploads */
|
|
25
|
-
onComplete?: (files: UploadedFile[]) => void;
|
|
26
|
-
/** Callback lors de la suppression */
|
|
27
|
-
onRemove?: (file: UploadedFile) => void;
|
|
28
|
-
/** Callback d'erreur */
|
|
29
|
-
onError?: (error: string, file?: File) => void;
|
|
30
|
-
/** Afficher la prévisualisation */
|
|
31
|
-
showPreview?: boolean;
|
|
32
|
-
/** Afficher la barre de progression */
|
|
33
|
-
showProgress?: boolean;
|
|
34
|
-
/** Désactivé */
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
/** Classes CSS additionnelles */
|
|
37
|
-
className?: string;
|
|
38
|
-
/** Placeholder */
|
|
39
|
-
placeholder?: string;
|
|
40
|
-
/** Label */
|
|
41
|
-
label?: string;
|
|
42
|
-
/** Description */
|
|
43
|
-
description?: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Composant WakaFileUpload
|
|
47
|
-
*/
|
|
48
|
-
export declare const WakaFileUpload: React.ForwardRefExoticComponent<WakaFileUploadProps & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
-
export default WakaFileUpload;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface FloatingNavItem {
|
|
3
|
-
/** Unique identifier */
|
|
4
|
-
id: string;
|
|
5
|
-
/** Label for the nav item */
|
|
6
|
-
label: string;
|
|
7
|
-
/** Icon element */
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
/** URL or href */
|
|
10
|
-
href?: string;
|
|
11
|
-
/** Click handler */
|
|
12
|
-
onClick?: () => void;
|
|
13
|
-
/** Whether this item is currently active */
|
|
14
|
-
active?: boolean;
|
|
15
|
-
/** Disable the item */
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface WakaFloatingNavProps {
|
|
19
|
-
/** Navigation items */
|
|
20
|
-
items: FloatingNavItem[];
|
|
21
|
-
/** Logo or brand element for full nav */
|
|
22
|
-
logo?: React.ReactNode;
|
|
23
|
-
/** Compact logo for scrolled state */
|
|
24
|
-
compactLogo?: React.ReactNode;
|
|
25
|
-
/** Scroll threshold to trigger compact mode (px) */
|
|
26
|
-
scrollThreshold?: number;
|
|
27
|
-
/** Scroll threshold to show nav (px) */
|
|
28
|
-
showThreshold?: number;
|
|
29
|
-
/** Always show nav (don't hide on scroll up) */
|
|
30
|
-
alwaysVisible?: boolean;
|
|
31
|
-
/** Custom render for nav items */
|
|
32
|
-
renderItem?: (item: FloatingNavItem, isCompact: boolean) => React.ReactNode;
|
|
33
|
-
/** Right side actions (buttons, etc.) */
|
|
34
|
-
actions?: React.ReactNode;
|
|
35
|
-
/** Compact actions for scrolled state */
|
|
36
|
-
compactActions?: React.ReactNode;
|
|
37
|
-
/** Position of the nav */
|
|
38
|
-
position?: "top" | "bottom";
|
|
39
|
-
/** Custom className */
|
|
40
|
-
className?: string;
|
|
41
|
-
}
|
|
42
|
-
export declare function WakaFloatingNav({ items, logo, compactLogo, scrollThreshold, showThreshold, alwaysVisible, renderItem, actions, compactActions, position, className, }: WakaFloatingNavProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
export declare function useFloatingNav(initialItems: FloatingNavItem[]): {
|
|
44
|
-
items: FloatingNavItem[];
|
|
45
|
-
setItems: React.Dispatch<React.SetStateAction<FloatingNavItem[]>>;
|
|
46
|
-
setActiveItem: (id: string) => void;
|
|
47
|
-
updateItem: (id: string, updates: Partial<FloatingNavItem>) => void;
|
|
48
|
-
addItem: (item: FloatingNavItem) => void;
|
|
49
|
-
removeItem: (id: string) => void;
|
|
50
|
-
};
|
|
51
|
-
export default WakaFloatingNav;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface FlowNode {
|
|
3
|
-
id: string;
|
|
4
|
-
type: "start" | "end" | "action" | "decision" | "process" | "custom";
|
|
5
|
-
label: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
icon?: React.ReactNode;
|
|
8
|
-
position: {
|
|
9
|
-
x: number;
|
|
10
|
-
y: number;
|
|
11
|
-
};
|
|
12
|
-
data?: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
export interface FlowConnection {
|
|
15
|
-
id: string;
|
|
16
|
-
from: string;
|
|
17
|
-
to: string;
|
|
18
|
-
label?: string;
|
|
19
|
-
animated?: boolean;
|
|
20
|
-
color?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface WakaFlowDiagramProps {
|
|
23
|
-
/** Flow nodes */
|
|
24
|
-
nodes: FlowNode[];
|
|
25
|
-
/** Connections between nodes */
|
|
26
|
-
connections: FlowConnection[];
|
|
27
|
-
/** Called when nodes change */
|
|
28
|
-
onNodesChange?: (nodes: FlowNode[]) => void;
|
|
29
|
-
/** Called when connections change */
|
|
30
|
-
onConnectionsChange?: (connections: FlowConnection[]) => void;
|
|
31
|
-
/** Called when a node is clicked */
|
|
32
|
-
onNodeClick?: (node: FlowNode) => void;
|
|
33
|
-
/** Called when a node is double-clicked */
|
|
34
|
-
onNodeDoubleClick?: (node: FlowNode) => void;
|
|
35
|
-
/** Enable drag and drop */
|
|
36
|
-
draggable?: boolean;
|
|
37
|
-
/** Enable editing (add/remove nodes) */
|
|
38
|
-
editable?: boolean;
|
|
39
|
-
/** Zoom level (1 = 100%) */
|
|
40
|
-
zoom?: number;
|
|
41
|
-
/** Grid size for snapping */
|
|
42
|
-
gridSize?: number;
|
|
43
|
-
/** Show grid */
|
|
44
|
-
showGrid?: boolean;
|
|
45
|
-
/** Custom className */
|
|
46
|
-
className?: string;
|
|
47
|
-
}
|
|
48
|
-
export declare function WakaFlowDiagram({ nodes: initialNodes, connections: initialConnections, onNodesChange, onConnectionsChange, onNodeClick, onNodeDoubleClick, draggable, editable, zoom, gridSize, showGrid, className, }: WakaFlowDiagramProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
export declare function useFlowDiagram(initialNodes?: FlowNode[], initialConnections?: FlowConnection[]): {
|
|
50
|
-
nodes: FlowNode[];
|
|
51
|
-
connections: FlowConnection[];
|
|
52
|
-
setNodes: React.Dispatch<React.SetStateAction<FlowNode[]>>;
|
|
53
|
-
setConnections: React.Dispatch<React.SetStateAction<FlowConnection[]>>;
|
|
54
|
-
addNode: (node: Omit<FlowNode, "id">) => {
|
|
55
|
-
id: string;
|
|
56
|
-
label: string;
|
|
57
|
-
data?: Record<string, unknown> | undefined;
|
|
58
|
-
type: "start" | "end" | "action" | "decision" | "process" | "custom";
|
|
59
|
-
icon?: React.ReactNode;
|
|
60
|
-
position: {
|
|
61
|
-
x: number;
|
|
62
|
-
y: number;
|
|
63
|
-
};
|
|
64
|
-
description?: string | undefined;
|
|
65
|
-
};
|
|
66
|
-
removeNode: (nodeId: string) => void;
|
|
67
|
-
updateNode: (nodeId: string, updates: Partial<FlowNode>) => void;
|
|
68
|
-
addConnection: (from: string, to: string, options?: Partial<FlowConnection>) => FlowConnection;
|
|
69
|
-
removeConnection: (connectionId: string) => void;
|
|
70
|
-
clear: () => void;
|
|
71
|
-
};
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
export type ValueFormat = "number" | "percentage" | "currency";
|
|
2
|
-
export interface FunnelStage {
|
|
3
|
-
/** Unique identifier */
|
|
4
|
-
id: string;
|
|
5
|
-
/** Label for the stage */
|
|
6
|
-
label: string;
|
|
7
|
-
/** Value for the stage */
|
|
8
|
-
value: number;
|
|
9
|
-
/** Custom color for the stage */
|
|
10
|
-
color?: string;
|
|
11
|
-
/** Additional details for tooltip */
|
|
12
|
-
details?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface FunnelCalculatedStage extends FunnelStage {
|
|
15
|
-
/** Percentage of total (first stage) */
|
|
16
|
-
percentageOfTotal: number;
|
|
17
|
-
/** Percentage of previous stage (conversion rate) */
|
|
18
|
-
conversionRate: number | null;
|
|
19
|
-
/** Drop-off from previous stage */
|
|
20
|
-
dropOff: number | null;
|
|
21
|
-
/** Drop-off percentage from previous stage */
|
|
22
|
-
dropOffPercentage: number | null;
|
|
23
|
-
/** Width percentage relative to max */
|
|
24
|
-
widthPercentage: number;
|
|
25
|
-
}
|
|
26
|
-
export interface WakaFunnelChartProps {
|
|
27
|
-
/** Funnel stages data */
|
|
28
|
-
data: FunnelStage[];
|
|
29
|
-
/** Orientation of the funnel */
|
|
30
|
-
orientation?: "vertical" | "horizontal";
|
|
31
|
-
/** Width of the chart */
|
|
32
|
-
width?: number;
|
|
33
|
-
/** Height of the chart (for vertical) or stage height (for horizontal) */
|
|
34
|
-
height?: number;
|
|
35
|
-
/** Show conversion rates between stages */
|
|
36
|
-
showConversionRates?: boolean;
|
|
37
|
-
/** Show drop-off percentages */
|
|
38
|
-
showDropOff?: boolean;
|
|
39
|
-
/** Show stage values */
|
|
40
|
-
showValues?: boolean;
|
|
41
|
-
/** Show percentage of total */
|
|
42
|
-
showPercentages?: boolean;
|
|
43
|
-
/** Value format type */
|
|
44
|
-
valueFormat?: ValueFormat;
|
|
45
|
-
/** Currency symbol (when valueFormat is "currency") */
|
|
46
|
-
currencySymbol?: string;
|
|
47
|
-
/** Locale for number formatting */
|
|
48
|
-
locale?: string;
|
|
49
|
-
/** Animate funnel fill on mount */
|
|
50
|
-
animated?: boolean;
|
|
51
|
-
/** Animation duration in ms */
|
|
52
|
-
animationDuration?: number;
|
|
53
|
-
/** Animation delay between stages in ms */
|
|
54
|
-
staggerDelay?: number;
|
|
55
|
-
/** Show tooltips on hover */
|
|
56
|
-
showTooltips?: boolean;
|
|
57
|
-
/** Minimum width percentage for smallest stage */
|
|
58
|
-
minWidthPercentage?: number;
|
|
59
|
-
/** Gap between stages */
|
|
60
|
-
gap?: number;
|
|
61
|
-
/** Custom className */
|
|
62
|
-
className?: string;
|
|
63
|
-
/** Callback when stage is clicked */
|
|
64
|
-
onStageClick?: (stage: FunnelCalculatedStage, index: number) => void;
|
|
65
|
-
/** Callback when stage is hovered */
|
|
66
|
-
onStageHover?: (stage: FunnelCalculatedStage | null, index: number | null) => void;
|
|
67
|
-
}
|
|
68
|
-
export interface UseFunnelChartOptions {
|
|
69
|
-
/** Funnel stages data */
|
|
70
|
-
data: FunnelStage[];
|
|
71
|
-
/** Minimum width percentage */
|
|
72
|
-
minWidthPercentage?: number;
|
|
73
|
-
}
|
|
74
|
-
export interface UseFunnelChartReturn {
|
|
75
|
-
/** Calculated stages with metrics */
|
|
76
|
-
stages: FunnelCalculatedStage[];
|
|
77
|
-
/** Total value (first stage value) */
|
|
78
|
-
totalValue: number;
|
|
79
|
-
/** Overall conversion rate (last / first) */
|
|
80
|
-
overallConversionRate: number;
|
|
81
|
-
/** Total drop-off */
|
|
82
|
-
totalDropOff: number;
|
|
83
|
-
/** Currently hovered stage */
|
|
84
|
-
hoveredStage: string | null;
|
|
85
|
-
/** Set hovered stage */
|
|
86
|
-
setHoveredStage: (id: string | null) => void;
|
|
87
|
-
/** Currently active/selected stage */
|
|
88
|
-
activeStage: string | null;
|
|
89
|
-
/** Set active stage */
|
|
90
|
-
setActiveStage: (id: string | null) => void;
|
|
91
|
-
}
|
|
92
|
-
export declare function useFunnelChart({ data, minWidthPercentage, }: UseFunnelChartOptions): UseFunnelChartReturn;
|
|
93
|
-
export declare function WakaFunnelChart({ data, orientation, width, height, showConversionRates, showDropOff, showValues, showPercentages, valueFormat, currencySymbol, locale, animated, animationDuration, staggerDelay, showTooltips, minWidthPercentage, gap, className, onStageClick, onStageHover, }: WakaFunnelChartProps): import("react/jsx-runtime").JSX.Element;
|
|
94
|
-
export interface WakaFunnelChartSimpleProps extends Omit<WakaFunnelChartProps, "data"> {
|
|
95
|
-
/** Stage labels */
|
|
96
|
-
labels: string[];
|
|
97
|
-
/** Stage values */
|
|
98
|
-
values: number[];
|
|
99
|
-
/** Optional colors per stage */
|
|
100
|
-
colors?: string[];
|
|
101
|
-
}
|
|
102
|
-
export declare function WakaFunnelChartSimple({ labels, values, colors, ...props }: WakaFunnelChartSimpleProps): import("react/jsx-runtime").JSX.Element;
|
|
103
|
-
export interface WakaFunnelChartCompactProps extends Omit<WakaFunnelChartProps, "showConversionRates" | "showDropOff" | "showPercentages"> {
|
|
104
|
-
/** Show only essential info */
|
|
105
|
-
minimal?: boolean;
|
|
106
|
-
}
|
|
107
|
-
export declare function WakaFunnelChartCompact({ minimal, width, height, gap, ...props }: WakaFunnelChartCompactProps): import("react/jsx-runtime").JSX.Element;
|
|
108
|
-
export default WakaFunnelChart;
|