@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,101 +0,0 @@
|
|
|
1
|
-
export interface ThreadParticipant {
|
|
2
|
-
/** Unique participant identifier */
|
|
3
|
-
id: string;
|
|
4
|
-
/** Display name */
|
|
5
|
-
name: string;
|
|
6
|
-
/** Avatar URL */
|
|
7
|
-
avatar?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ThreadMessage {
|
|
10
|
-
/** Unique message identifier */
|
|
11
|
-
id: string;
|
|
12
|
-
/** Author of the message */
|
|
13
|
-
author: ThreadParticipant;
|
|
14
|
-
/** Message content */
|
|
15
|
-
content: string;
|
|
16
|
-
/** When the message was created */
|
|
17
|
-
timestamp: Date;
|
|
18
|
-
/** Nested replies to this message */
|
|
19
|
-
replies?: ThreadMessage[];
|
|
20
|
-
/** Whether the message has been edited */
|
|
21
|
-
edited?: boolean;
|
|
22
|
-
/** Additional reactions or metadata */
|
|
23
|
-
metadata?: Record<string, unknown>;
|
|
24
|
-
}
|
|
25
|
-
export interface ThreadData {
|
|
26
|
-
/** Unique thread identifier */
|
|
27
|
-
id: string;
|
|
28
|
-
/** Thread title (optional) */
|
|
29
|
-
title?: string;
|
|
30
|
-
/** The parent/root message */
|
|
31
|
-
parentMessage: ThreadMessage;
|
|
32
|
-
/** Total reply count (may be more than loaded replies) */
|
|
33
|
-
replyCount: number;
|
|
34
|
-
/** List of participants in the thread */
|
|
35
|
-
participants: ThreadParticipant[];
|
|
36
|
-
/** Whether the thread is closed for new replies */
|
|
37
|
-
isClosed?: boolean;
|
|
38
|
-
/** Whether the current user is following this thread */
|
|
39
|
-
isFollowing?: boolean;
|
|
40
|
-
/** Whether there are real-time updates available */
|
|
41
|
-
hasNewUpdates?: boolean;
|
|
42
|
-
/** Timestamp of last activity */
|
|
43
|
-
lastActivity?: Date;
|
|
44
|
-
}
|
|
45
|
-
export interface WakaThreadViewProps {
|
|
46
|
-
/** Thread data to display */
|
|
47
|
-
thread: ThreadData;
|
|
48
|
-
/** Current user (for reply input) */
|
|
49
|
-
currentUser?: ThreadParticipant;
|
|
50
|
-
/** Callback when a reply is submitted */
|
|
51
|
-
onReply?: (content: string, parentMessageId?: string) => void;
|
|
52
|
-
/** Callback when load more replies is triggered */
|
|
53
|
-
onLoadMore?: () => void;
|
|
54
|
-
/** Whether more replies can be loaded */
|
|
55
|
-
hasMoreReplies?: boolean;
|
|
56
|
-
/** Whether replies are currently loading */
|
|
57
|
-
loading?: boolean;
|
|
58
|
-
/** Callback when follow/unfollow is triggered */
|
|
59
|
-
onFollowToggle?: () => void;
|
|
60
|
-
/** Callback when real-time updates indicator is clicked */
|
|
61
|
-
onRefresh?: () => void;
|
|
62
|
-
/** Maximum nesting depth for replies (default: 3) */
|
|
63
|
-
maxDepth?: number;
|
|
64
|
-
/** Whether to show participant avatars in header */
|
|
65
|
-
showParticipants?: boolean;
|
|
66
|
-
/** Whether to enable reply input */
|
|
67
|
-
enableReplies?: boolean;
|
|
68
|
-
/** Custom className */
|
|
69
|
-
className?: string;
|
|
70
|
-
}
|
|
71
|
-
export interface UseThreadViewOptions {
|
|
72
|
-
/** Initial thread data */
|
|
73
|
-
initialThread?: ThreadData;
|
|
74
|
-
/** Maximum replies to keep in memory */
|
|
75
|
-
maxReplies?: number;
|
|
76
|
-
}
|
|
77
|
-
export interface UseThreadViewReturn {
|
|
78
|
-
/** Current thread data */
|
|
79
|
-
thread: ThreadData | null;
|
|
80
|
-
/** Loading state */
|
|
81
|
-
loading: boolean;
|
|
82
|
-
/** Collapsed thread IDs */
|
|
83
|
-
collapsedThreads: Set<string>;
|
|
84
|
-
/** Toggle thread collapse state */
|
|
85
|
-
toggleCollapse: (messageId: string) => void;
|
|
86
|
-
/** Add a new reply to the thread */
|
|
87
|
-
addReply: (content: string, parentMessageId?: string) => void;
|
|
88
|
-
/** Set thread data */
|
|
89
|
-
setThread: (thread: ThreadData) => void;
|
|
90
|
-
/** Toggle follow state */
|
|
91
|
-
toggleFollow: () => void;
|
|
92
|
-
/** Mark thread as having new updates */
|
|
93
|
-
setHasNewUpdates: (hasUpdates: boolean) => void;
|
|
94
|
-
/** Set loading state */
|
|
95
|
-
setLoading: (loading: boolean) => void;
|
|
96
|
-
/** Check if a thread is collapsed */
|
|
97
|
-
isCollapsed: (messageId: string) => boolean;
|
|
98
|
-
}
|
|
99
|
-
export declare function WakaThreadView({ thread, currentUser, onReply, onLoadMore, hasMoreReplies, loading, onFollowToggle, onRefresh, maxDepth, showParticipants, enableReplies, className, }: WakaThreadViewProps): import("react/jsx-runtime").JSX.Element;
|
|
100
|
-
export declare function useThreadView({ initialThread, maxReplies, }?: UseThreadViewOptions): UseThreadViewReturn;
|
|
101
|
-
export default WakaThreadView;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface WakaTiltCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/** Maximum tilt angle in degrees */
|
|
4
|
-
maxTilt?: number;
|
|
5
|
-
/** Perspective distance */
|
|
6
|
-
perspective?: number;
|
|
7
|
-
/** Scale on hover */
|
|
8
|
-
scale?: number;
|
|
9
|
-
/** Transition speed in ms */
|
|
10
|
-
speed?: number;
|
|
11
|
-
/** Enable/disable tilt */
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
/** Glare effect */
|
|
14
|
-
glare?: boolean;
|
|
15
|
-
/** Maximum glare opacity */
|
|
16
|
-
maxGlare?: number;
|
|
17
|
-
/** Reset on mouse leave */
|
|
18
|
-
reset?: boolean;
|
|
19
|
-
/** Reverse tilt direction */
|
|
20
|
-
reverse?: boolean;
|
|
21
|
-
/** Gyroscope support on mobile */
|
|
22
|
-
gyroscope?: boolean;
|
|
23
|
-
/** Children */
|
|
24
|
-
children: React.ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export declare function WakaTiltCard({ maxTilt, perspective, scale, speed, disabled, glare, maxGlare, reset, reverse, gyroscope, className, children, style, ...props }: WakaTiltCardProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export interface TiltShowcaseCardProps {
|
|
28
|
-
title: string;
|
|
29
|
-
description?: string;
|
|
30
|
-
icon?: React.ReactNode;
|
|
31
|
-
image?: string;
|
|
32
|
-
footer?: React.ReactNode;
|
|
33
|
-
className?: string;
|
|
34
|
-
glowColor?: string;
|
|
35
|
-
}
|
|
36
|
-
export declare function WakaTiltShowcaseCard({ title, description, icon, image, footer, className, glowColor, }: TiltShowcaseCardProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface WakaTimePickerProps {
|
|
3
|
-
/** Valeur sélectionnée (format HH:mm ou HH:mm:ss) */
|
|
4
|
-
value?: string;
|
|
5
|
-
/** Callback lors du changement */
|
|
6
|
-
onChange?: (value: string) => void;
|
|
7
|
-
/** Placeholder */
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
/** Format d'affichage */
|
|
10
|
-
format?: "12h" | "24h";
|
|
11
|
-
/** Afficher les secondes */
|
|
12
|
-
showSeconds?: boolean;
|
|
13
|
-
/** Intervalle des minutes (5, 10, 15, 30) */
|
|
14
|
-
minuteStep?: number;
|
|
15
|
-
/** Intervalle des secondes */
|
|
16
|
-
secondStep?: number;
|
|
17
|
-
/** Heure minimum */
|
|
18
|
-
minTime?: string;
|
|
19
|
-
/** Heure maximum */
|
|
20
|
-
maxTime?: string;
|
|
21
|
-
/** Désactivé */
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
/** Erreur */
|
|
24
|
-
error?: boolean;
|
|
25
|
-
/** Taille */
|
|
26
|
-
size?: "sm" | "md" | "lg";
|
|
27
|
-
/** Classes CSS additionnelles */
|
|
28
|
-
className?: string;
|
|
29
|
-
/** ID pour l'accessibilité */
|
|
30
|
-
id?: string;
|
|
31
|
-
/** Nom du champ */
|
|
32
|
-
name?: string;
|
|
33
|
-
}
|
|
34
|
-
export declare function WakaTimePicker({ value, onChange, placeholder, format, showSeconds, minuteStep, secondStep, minTime, maxTime, disabled, error, size, className, id, name, }: WakaTimePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
export interface UseTimePickerOptions {
|
|
36
|
-
/** Valeur initiale */
|
|
37
|
-
initialValue?: string;
|
|
38
|
-
/** Format */
|
|
39
|
-
format?: "12h" | "24h";
|
|
40
|
-
/** Afficher les secondes */
|
|
41
|
-
showSeconds?: boolean;
|
|
42
|
-
}
|
|
43
|
-
export declare function useTimePicker(options?: UseTimePickerOptions): {
|
|
44
|
-
value: string;
|
|
45
|
-
onChange: React.Dispatch<React.SetStateAction<string>>;
|
|
46
|
-
clear: () => void;
|
|
47
|
-
setNow: () => void;
|
|
48
|
-
format: "12h" | "24h";
|
|
49
|
-
showSeconds: boolean;
|
|
50
|
-
};
|
|
51
|
-
export default WakaTimePicker;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type TimelineItemStatus = "completed" | "current" | "pending" | "error";
|
|
3
|
-
export interface TimelineItem {
|
|
4
|
-
/** Identifiant unique */
|
|
5
|
-
id: string;
|
|
6
|
-
/** Titre de l'élément */
|
|
7
|
-
title: string;
|
|
8
|
-
/** Description */
|
|
9
|
-
description?: string;
|
|
10
|
-
/** Date/heure */
|
|
11
|
-
date?: Date | string;
|
|
12
|
-
/** Statut */
|
|
13
|
-
status?: TimelineItemStatus;
|
|
14
|
-
/** Icône personnalisée */
|
|
15
|
-
icon?: React.ReactNode;
|
|
16
|
-
/** Couleur personnalisée */
|
|
17
|
-
color?: string;
|
|
18
|
-
/** Contenu supplémentaire (collapsible) */
|
|
19
|
-
content?: React.ReactNode;
|
|
20
|
-
/** Données additionnelles */
|
|
21
|
-
data?: Record<string, unknown>;
|
|
22
|
-
}
|
|
23
|
-
export interface WakaTimelineProps {
|
|
24
|
-
/** Éléments de la timeline */
|
|
25
|
-
items: TimelineItem[];
|
|
26
|
-
/** Orientation */
|
|
27
|
-
orientation?: "vertical" | "horizontal";
|
|
28
|
-
/** Position de la ligne (vertical seulement) */
|
|
29
|
-
linePosition?: "left" | "center" | "right";
|
|
30
|
-
/** Taille */
|
|
31
|
-
size?: "sm" | "md" | "lg";
|
|
32
|
-
/** Afficher les dates */
|
|
33
|
-
showDates?: boolean;
|
|
34
|
-
/** Format de date */
|
|
35
|
-
dateFormat?: Intl.DateTimeFormatOptions;
|
|
36
|
-
/** Éléments collapsibles */
|
|
37
|
-
collapsible?: boolean;
|
|
38
|
-
/** Alterner les côtés (linePosition=center) */
|
|
39
|
-
alternate?: boolean;
|
|
40
|
-
/** Callback lors du clic sur un élément */
|
|
41
|
-
onItemClick?: (item: TimelineItem) => void;
|
|
42
|
-
/** Classes CSS additionnelles */
|
|
43
|
-
className?: string;
|
|
44
|
-
}
|
|
45
|
-
export declare function WakaTimeline({ items, orientation, linePosition, size, showDates, dateFormat, collapsible, alternate, onItemClick, className, }: WakaTimelineProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
export default WakaTimeline;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type TooltipPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
3
|
-
export interface TourStep {
|
|
4
|
-
/** Unique identifier for the step */
|
|
5
|
-
id: string;
|
|
6
|
-
/** CSS selector or ref for the target element */
|
|
7
|
-
target: string | React.RefObject<HTMLElement>;
|
|
8
|
-
/** Title of the tooltip */
|
|
9
|
-
title: string;
|
|
10
|
-
/** Description/content of the tooltip */
|
|
11
|
-
content: React.ReactNode;
|
|
12
|
-
/** Preferred placement of the tooltip */
|
|
13
|
-
placement?: TooltipPlacement;
|
|
14
|
-
/** Custom action button text */
|
|
15
|
-
actionText?: string;
|
|
16
|
-
/** Custom action callback */
|
|
17
|
-
onAction?: () => void;
|
|
18
|
-
/** Whether to highlight the target element */
|
|
19
|
-
highlight?: boolean;
|
|
20
|
-
/** Custom spotlight padding around target */
|
|
21
|
-
spotlightPadding?: number;
|
|
22
|
-
/** Disable interaction with target during this step */
|
|
23
|
-
disableInteraction?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface WakaTooltipTourProps {
|
|
26
|
-
/** Unique tour identifier for persistence */
|
|
27
|
-
tourId: string;
|
|
28
|
-
/** Array of tour steps */
|
|
29
|
-
steps: TourStep[];
|
|
30
|
-
/** Whether the tour is active */
|
|
31
|
-
isActive: boolean;
|
|
32
|
-
/** Callback when tour state changes */
|
|
33
|
-
onActiveChange?: (active: boolean) => void;
|
|
34
|
-
/** Callback when tour completes */
|
|
35
|
-
onComplete?: () => void;
|
|
36
|
-
/** Callback when tour is skipped */
|
|
37
|
-
onSkip?: () => void;
|
|
38
|
-
/** Callback when step changes */
|
|
39
|
-
onStepChange?: (stepIndex: number) => void;
|
|
40
|
-
/** Starting step index */
|
|
41
|
-
startAt?: number;
|
|
42
|
-
/** Auto-advance to next step after delay (ms) */
|
|
43
|
-
autoAdvance?: number;
|
|
44
|
-
/** Show skip button */
|
|
45
|
-
showSkip?: boolean;
|
|
46
|
-
/** Show step counter */
|
|
47
|
-
showProgress?: boolean;
|
|
48
|
-
/** Show navigation arrows */
|
|
49
|
-
showNavigation?: boolean;
|
|
50
|
-
/** Persist completed tours in localStorage */
|
|
51
|
-
persistCompletion?: boolean;
|
|
52
|
-
/** Custom class for tooltip */
|
|
53
|
-
className?: string;
|
|
54
|
-
/** Custom class for overlay */
|
|
55
|
-
overlayClassName?: string;
|
|
56
|
-
/** Scroll to target element */
|
|
57
|
-
scrollToTarget?: boolean;
|
|
58
|
-
/** Scroll behavior options */
|
|
59
|
-
scrollBehavior?: ScrollBehavior;
|
|
60
|
-
/** Close on overlay click */
|
|
61
|
-
closeOnOverlayClick?: boolean;
|
|
62
|
-
/** Close on escape key */
|
|
63
|
-
closeOnEscape?: boolean;
|
|
64
|
-
/** Skip button text */
|
|
65
|
-
skipText?: string;
|
|
66
|
-
/** Next button text */
|
|
67
|
-
nextText?: string;
|
|
68
|
-
/** Previous button text */
|
|
69
|
-
prevText?: string;
|
|
70
|
-
/** Finish button text */
|
|
71
|
-
finishText?: string;
|
|
72
|
-
}
|
|
73
|
-
export interface UseTooltipTourOptions {
|
|
74
|
-
/** Unique tour identifier */
|
|
75
|
-
tourId: string;
|
|
76
|
-
/** Persist completion state */
|
|
77
|
-
persistCompletion?: boolean;
|
|
78
|
-
/** Auto-start tour if not completed */
|
|
79
|
-
autoStart?: boolean;
|
|
80
|
-
/** Delay before auto-start (ms) */
|
|
81
|
-
autoStartDelay?: number;
|
|
82
|
-
}
|
|
83
|
-
export interface UseTooltipTourReturn {
|
|
84
|
-
/** Whether tour is currently active */
|
|
85
|
-
isActive: boolean;
|
|
86
|
-
/** Current step index */
|
|
87
|
-
currentStep: number;
|
|
88
|
-
/** Start the tour */
|
|
89
|
-
start: (fromStep?: number) => void;
|
|
90
|
-
/** Stop the tour */
|
|
91
|
-
stop: () => void;
|
|
92
|
-
/** Go to next step */
|
|
93
|
-
next: () => void;
|
|
94
|
-
/** Go to previous step */
|
|
95
|
-
prev: () => void;
|
|
96
|
-
/** Go to specific step */
|
|
97
|
-
goTo: (stepIndex: number) => void;
|
|
98
|
-
/** Complete the tour */
|
|
99
|
-
complete: () => void;
|
|
100
|
-
/** Skip the tour */
|
|
101
|
-
skip: () => void;
|
|
102
|
-
/** Reset the tour (clear persistence) */
|
|
103
|
-
reset: () => void;
|
|
104
|
-
/** Whether tour has been completed before */
|
|
105
|
-
hasCompleted: boolean;
|
|
106
|
-
/** Props to spread on WakaTooltipTour */
|
|
107
|
-
tourProps: {
|
|
108
|
-
isActive: boolean;
|
|
109
|
-
onActiveChange: (active: boolean) => void;
|
|
110
|
-
onComplete: () => void;
|
|
111
|
-
onSkip: () => void;
|
|
112
|
-
onStepChange: (stepIndex: number) => void;
|
|
113
|
-
startAt: number;
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
export declare function useTooltipTour({ tourId, persistCompletion, autoStart, autoStartDelay, }: UseTooltipTourOptions): UseTooltipTourReturn;
|
|
117
|
-
/**
|
|
118
|
-
* @deprecated Since v3.6 — will be removed in v4.0.
|
|
119
|
-
* Use `WakaTour` compound (with `Tour.Step`, `Tour.Tooltip`) instead (futur).
|
|
120
|
-
* See `docs/audit/remove-relocate.md` §2.4.
|
|
121
|
-
*/
|
|
122
|
-
export declare function WakaTooltipTour({ tourId, steps, isActive, onActiveChange, onComplete, onSkip, onStepChange, startAt, autoAdvance, showSkip, showProgress, showNavigation, persistCompletion, className, overlayClassName, scrollToTarget, scrollBehavior, closeOnOverlayClick, closeOnEscape, skipText, nextText, prevText, finishText, }: WakaTooltipTourProps): import("react/jsx-runtime").JSX.Element | null;
|
|
123
|
-
export default WakaTooltipTour;
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type TourPlacement = "top" | "bottom" | "left" | "right" | "auto";
|
|
3
|
-
/** Tour display variant */
|
|
4
|
-
export type TourVariant = "modal" | "tooltip";
|
|
5
|
-
export interface TourStep {
|
|
6
|
-
/** Unique identifier for the step */
|
|
7
|
-
id: string;
|
|
8
|
-
/** CSS selector or element ref for the target element */
|
|
9
|
-
target: string | React.RefObject<HTMLElement>;
|
|
10
|
-
/** Title of the step */
|
|
11
|
-
title: string;
|
|
12
|
-
/** Description/content of the step */
|
|
13
|
-
content: React.ReactNode;
|
|
14
|
-
/** Placement of the tooltip relative to target */
|
|
15
|
-
placement?: TourPlacement;
|
|
16
|
-
/** Disable interaction with target element */
|
|
17
|
-
disableInteraction?: boolean;
|
|
18
|
-
/** Custom spotlight padding around target */
|
|
19
|
-
spotlightPadding?: number;
|
|
20
|
-
/** Custom action button */
|
|
21
|
-
action?: {
|
|
22
|
-
label: string;
|
|
23
|
-
onClick: () => void;
|
|
24
|
-
};
|
|
25
|
-
/** Called before advancing to this step */
|
|
26
|
-
beforeEnter?: () => void | Promise<void>;
|
|
27
|
-
/** Called before leaving this step */
|
|
28
|
-
beforeLeave?: () => void | Promise<void>;
|
|
29
|
-
}
|
|
30
|
-
export interface WakaTourGuideProps {
|
|
31
|
-
/** Array of tour steps */
|
|
32
|
-
steps: TourStep[];
|
|
33
|
-
/** Whether the tour is active */
|
|
34
|
-
isOpen: boolean;
|
|
35
|
-
/** Callback when tour state changes */
|
|
36
|
-
onOpenChange: (open: boolean) => void;
|
|
37
|
-
/** Display variant - "modal" shows dark overlay, "tooltip" shows only the tooltip */
|
|
38
|
-
variant?: TourVariant;
|
|
39
|
-
/** Current step index (controlled) */
|
|
40
|
-
currentStep?: number;
|
|
41
|
-
/** Callback when step changes */
|
|
42
|
-
onStepChange?: (step: number) => void;
|
|
43
|
-
/** Callback when tour is completed */
|
|
44
|
-
onComplete?: () => void;
|
|
45
|
-
/** Callback when tour is skipped */
|
|
46
|
-
onSkip?: () => void;
|
|
47
|
-
/** Show skip button */
|
|
48
|
-
showSkip?: boolean;
|
|
49
|
-
/** Show progress indicator */
|
|
50
|
-
showProgress?: boolean;
|
|
51
|
-
/** Show step counter */
|
|
52
|
-
showStepCounter?: boolean;
|
|
53
|
-
/** Enable keyboard navigation */
|
|
54
|
-
keyboardNavigation?: boolean;
|
|
55
|
-
/** Scroll behavior when navigating */
|
|
56
|
-
scrollBehavior?: "smooth" | "instant" | "auto";
|
|
57
|
-
/** Offset from viewport edge when scrolling */
|
|
58
|
-
scrollOffset?: number;
|
|
59
|
-
/** Overlay color */
|
|
60
|
-
overlayColor?: string;
|
|
61
|
-
/** Overlay opacity (0-1) */
|
|
62
|
-
overlayOpacity?: number;
|
|
63
|
-
/** Enable pulse animation on target */
|
|
64
|
-
pulseAnimation?: boolean;
|
|
65
|
-
/** Custom class for tooltip */
|
|
66
|
-
tooltipClassName?: string;
|
|
67
|
-
/** Labels for buttons */
|
|
68
|
-
labels?: {
|
|
69
|
-
next?: string;
|
|
70
|
-
previous?: string;
|
|
71
|
-
skip?: string;
|
|
72
|
-
finish?: string;
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
export interface UseTourGuideOptions {
|
|
76
|
-
/** Initial step index */
|
|
77
|
-
initialStep?: number;
|
|
78
|
-
/** Auto start the tour */
|
|
79
|
-
autoStart?: boolean;
|
|
80
|
-
/** Storage key for tracking completion */
|
|
81
|
-
storageKey?: string;
|
|
82
|
-
/** Callback when tour completes */
|
|
83
|
-
onComplete?: () => void;
|
|
84
|
-
}
|
|
85
|
-
export interface UseTourGuideReturn {
|
|
86
|
-
/** Whether the tour is currently open */
|
|
87
|
-
isOpen: boolean;
|
|
88
|
-
/** Current step index */
|
|
89
|
-
currentStep: number;
|
|
90
|
-
/** Total number of steps */
|
|
91
|
-
totalSteps: number;
|
|
92
|
-
/** Start the tour */
|
|
93
|
-
start: () => void;
|
|
94
|
-
/** Stop/close the tour */
|
|
95
|
-
stop: () => void;
|
|
96
|
-
/** Go to next step */
|
|
97
|
-
next: () => void;
|
|
98
|
-
/** Go to previous step */
|
|
99
|
-
previous: () => void;
|
|
100
|
-
/** Go to specific step */
|
|
101
|
-
goToStep: (step: number) => void;
|
|
102
|
-
/** Skip the tour */
|
|
103
|
-
skip: () => void;
|
|
104
|
-
/** Complete the tour */
|
|
105
|
-
complete: () => void;
|
|
106
|
-
/** Reset the tour to first step */
|
|
107
|
-
reset: () => void;
|
|
108
|
-
/** Check if tour has been completed before */
|
|
109
|
-
hasCompleted: boolean;
|
|
110
|
-
/** Props to spread on WakaTourGuide component */
|
|
111
|
-
tourProps: {
|
|
112
|
-
isOpen: boolean;
|
|
113
|
-
onOpenChange: (open: boolean) => void;
|
|
114
|
-
currentStep: number;
|
|
115
|
-
onStepChange: (step: number) => void;
|
|
116
|
-
onComplete: () => void;
|
|
117
|
-
onSkip: () => void;
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
export declare function useTourGuide(steps: TourStep[], options?: UseTourGuideOptions): UseTourGuideReturn;
|
|
121
|
-
/**
|
|
122
|
-
* @deprecated Since v3.6 — will be removed in v4.0.
|
|
123
|
-
* Use `WakaTour` compound (with `Tour.Step`, `Tour.Tooltip`) instead (futur).
|
|
124
|
-
* See `docs/audit/remove-relocate.md` §2.4.
|
|
125
|
-
*/
|
|
126
|
-
export declare function WakaTourGuide({ steps, isOpen, onOpenChange, variant, currentStep: controlledStep, onStepChange, onComplete, onSkip, showSkip, showProgress, showStepCounter, keyboardNavigation, scrollBehavior, scrollOffset, overlayColor, overlayOpacity, pulseAnimation, tooltipClassName, labels, }: WakaTourGuideProps): import("react/jsx-runtime").JSX.Element | null;
|
|
127
|
-
export default WakaTourGuide;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type MatchStatus = "pending" | "in_progress" | "completed" | "bye";
|
|
3
|
-
export type BracketType = "single_elimination" | "double_elimination";
|
|
4
|
-
export interface Participant {
|
|
5
|
-
/** Unique identifier */
|
|
6
|
-
id: string;
|
|
7
|
-
/** Display name */
|
|
8
|
-
name: string;
|
|
9
|
-
/** Avatar URL */
|
|
10
|
-
avatar?: string;
|
|
11
|
-
/** Seed number */
|
|
12
|
-
seed?: number;
|
|
13
|
-
/** Additional metadata */
|
|
14
|
-
metadata?: Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
export interface Match {
|
|
17
|
-
/** Unique identifier */
|
|
18
|
-
id: string;
|
|
19
|
-
/** Round number (0-indexed) */
|
|
20
|
-
round: number;
|
|
21
|
-
/** Position in round (0-indexed) */
|
|
22
|
-
position: number;
|
|
23
|
-
/** Participant 1 */
|
|
24
|
-
participant1?: Participant;
|
|
25
|
-
/** Participant 2 */
|
|
26
|
-
participant2?: Participant;
|
|
27
|
-
/** Participant 1 score */
|
|
28
|
-
score1?: number;
|
|
29
|
-
/** Participant 2 score */
|
|
30
|
-
score2?: number;
|
|
31
|
-
/** Match status */
|
|
32
|
-
status: MatchStatus;
|
|
33
|
-
/** Winner ID (participant1.id or participant2.id) */
|
|
34
|
-
winnerId?: string;
|
|
35
|
-
/** Scheduled time */
|
|
36
|
-
scheduledAt?: Date;
|
|
37
|
-
/** Match metadata */
|
|
38
|
-
metadata?: Record<string, unknown>;
|
|
39
|
-
/** For double elimination: is this in loser's bracket? */
|
|
40
|
-
isLosersBracket?: boolean;
|
|
41
|
-
}
|
|
42
|
-
export interface BracketRound {
|
|
43
|
-
/** Round name (e.g., "Round of 16", "Quarter Finals") */
|
|
44
|
-
name: string;
|
|
45
|
-
/** Matches in this round */
|
|
46
|
-
matches: Match[];
|
|
47
|
-
}
|
|
48
|
-
export interface WakaTournamentBracketProps {
|
|
49
|
-
/** Tournament name */
|
|
50
|
-
title?: string;
|
|
51
|
-
/** Bracket type */
|
|
52
|
-
type?: BracketType;
|
|
53
|
-
/** Winner's bracket rounds */
|
|
54
|
-
rounds: BracketRound[];
|
|
55
|
-
/** Loser's bracket rounds (for double elimination) */
|
|
56
|
-
losersRounds?: BracketRound[];
|
|
57
|
-
/** Grand final match (for double elimination) */
|
|
58
|
-
grandFinal?: Match;
|
|
59
|
-
/** Callback when match is clicked */
|
|
60
|
-
onMatchClick?: (match: Match) => void;
|
|
61
|
-
/** Callback when match is hovered */
|
|
62
|
-
onMatchHover?: (match: Match | null) => void;
|
|
63
|
-
/** Enable zoom/pan */
|
|
64
|
-
enableZoomPan?: boolean;
|
|
65
|
-
/** Initial zoom level */
|
|
66
|
-
initialZoom?: number;
|
|
67
|
-
/** Show match times */
|
|
68
|
-
showTimes?: boolean;
|
|
69
|
-
/** Size variant */
|
|
70
|
-
size?: "sm" | "default" | "lg";
|
|
71
|
-
/** Animate match results */
|
|
72
|
-
animated?: boolean;
|
|
73
|
-
/** Custom className */
|
|
74
|
-
className?: string;
|
|
75
|
-
}
|
|
76
|
-
export interface UseTournamentBracketOptions {
|
|
77
|
-
/** Initial rounds */
|
|
78
|
-
initialRounds?: BracketRound[];
|
|
79
|
-
/** Bracket type */
|
|
80
|
-
type?: BracketType;
|
|
81
|
-
/** Auto-generate bracket structure from participants */
|
|
82
|
-
participants?: Participant[];
|
|
83
|
-
}
|
|
84
|
-
export declare function WakaTournamentBracket({ title, type, rounds, losersRounds, grandFinal, onMatchClick, onMatchHover, enableZoomPan, initialZoom, showTimes, size, animated, className, }: WakaTournamentBracketProps): import("react/jsx-runtime").JSX.Element;
|
|
85
|
-
export declare function useTournamentBracket({ initialRounds, type, participants, }?: UseTournamentBracketOptions): {
|
|
86
|
-
rounds: BracketRound[];
|
|
87
|
-
losersRounds: BracketRound[];
|
|
88
|
-
setRounds: React.Dispatch<React.SetStateAction<BracketRound[]>>;
|
|
89
|
-
setLosersRounds: React.Dispatch<React.SetStateAction<BracketRound[]>>;
|
|
90
|
-
updateMatch: (matchId: string, updates: Partial<Pick<Match, "score1" | "score2" | "winnerId" | "status">>) => void;
|
|
91
|
-
startMatch: (matchId: string) => void;
|
|
92
|
-
completeMatch: (matchId: string, score1: number, score2: number) => void;
|
|
93
|
-
resetBracket: (newParticipants?: Participant[]) => void;
|
|
94
|
-
currentMatch: Match | null;
|
|
95
|
-
winner: Participant | null | undefined;
|
|
96
|
-
allMatches: Match[];
|
|
97
|
-
getMatch: (matchId: string) => Match | undefined;
|
|
98
|
-
generateBracket: (participantList: Participant[]) => BracketRound[];
|
|
99
|
-
type: BracketType;
|
|
100
|
-
};
|
|
101
|
-
export default WakaTournamentBracket;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export type SpanStatus = "ok" | "error" | "unset";
|
|
2
|
-
export interface TraceSpan {
|
|
3
|
-
id: string;
|
|
4
|
-
traceId: string;
|
|
5
|
-
parentId?: string;
|
|
6
|
-
operationName: string;
|
|
7
|
-
serviceName: string;
|
|
8
|
-
startTime: number;
|
|
9
|
-
duration: number;
|
|
10
|
-
status: SpanStatus;
|
|
11
|
-
tags?: Record<string, string | number | boolean>;
|
|
12
|
-
logs?: Array<{
|
|
13
|
-
timestamp: number;
|
|
14
|
-
message: string;
|
|
15
|
-
level?: "info" | "warn" | "error";
|
|
16
|
-
}>;
|
|
17
|
-
children?: TraceSpan[];
|
|
18
|
-
}
|
|
19
|
-
export interface WakaTraceViewerProps {
|
|
20
|
-
/** Root spans of the trace */
|
|
21
|
-
spans: TraceSpan[];
|
|
22
|
-
/** Trace ID */
|
|
23
|
-
traceId?: string;
|
|
24
|
-
/** Total trace duration */
|
|
25
|
-
totalDuration?: number;
|
|
26
|
-
/** Callback when clicking on a span */
|
|
27
|
-
onSpanClick?: (span: TraceSpan) => void;
|
|
28
|
-
/** Callback when copying trace ID */
|
|
29
|
-
onCopyTraceId?: (traceId: string) => void;
|
|
30
|
-
/** Show service colors */
|
|
31
|
-
showServiceColors?: boolean;
|
|
32
|
-
/** Custom class name */
|
|
33
|
-
className?: string;
|
|
34
|
-
}
|
|
35
|
-
export declare function WakaTraceViewer({ spans, traceId, totalDuration: propTotalDuration, onSpanClick, onCopyTraceId, showServiceColors, className, }: WakaTraceViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
export declare const defaultTraceSpans: TraceSpan[];
|