@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,74 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface ThemeS3Config {
|
|
3
|
-
/** URL de base du bucket S3 */
|
|
4
|
-
baseUrl: string;
|
|
5
|
-
/** Préfixe des fichiers (ex: "themes/") */
|
|
6
|
-
prefix?: string;
|
|
7
|
-
/** Extension des fichiers (défaut: "css") */
|
|
8
|
-
extension?: string;
|
|
9
|
-
/** Headers personnalisés pour les requêtes */
|
|
10
|
-
headers?: Record<string, string>;
|
|
11
|
-
/** Timeout en millisecondes */
|
|
12
|
-
timeout?: number;
|
|
13
|
-
}
|
|
14
|
-
export interface ThemeConfig {
|
|
15
|
-
/** Identifiant du thème (utilisé dans data-theme) */
|
|
16
|
-
id: string;
|
|
17
|
-
/** Nom d'affichage */
|
|
18
|
-
label: string;
|
|
19
|
-
/** Description optionnelle */
|
|
20
|
-
description?: string;
|
|
21
|
-
/** Couleur représentative du thème (pour preview) */
|
|
22
|
-
previewColor?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface ThemeContextValue {
|
|
25
|
-
/** Thème courant */
|
|
26
|
-
currentTheme: string;
|
|
27
|
-
/** Liste des thèmes disponibles */
|
|
28
|
-
themes: ThemeConfig[];
|
|
29
|
-
/** Changer de thème */
|
|
30
|
-
changeTheme: (id: string) => Promise<void>;
|
|
31
|
-
/** État de chargement */
|
|
32
|
-
isLoading: boolean;
|
|
33
|
-
/** Thèmes chargés */
|
|
34
|
-
loadedThemes: Set<string>;
|
|
35
|
-
/** Mode dark actif */
|
|
36
|
-
isDarkMode: boolean;
|
|
37
|
-
/** Basculer le mode dark/light */
|
|
38
|
-
toggleDarkMode: () => void;
|
|
39
|
-
/** Précharger un thème */
|
|
40
|
-
preloadTheme: (id: string) => Promise<void>;
|
|
41
|
-
/** Vérifier si un thème est chargé */
|
|
42
|
-
isThemeLoaded: (id: string) => boolean;
|
|
43
|
-
}
|
|
44
|
-
export interface ThemeProviderProps {
|
|
45
|
-
children: React.ReactNode;
|
|
46
|
-
/** Thèmes disponibles */
|
|
47
|
-
themes: ThemeConfig[];
|
|
48
|
-
/** Thème par défaut */
|
|
49
|
-
defaultTheme?: string;
|
|
50
|
-
/** Configuration S3 (optionnel - si non fourni, utilise les thèmes locaux) */
|
|
51
|
-
s3Config?: ThemeS3Config;
|
|
52
|
-
/** Callback après changement de thème */
|
|
53
|
-
onThemeChange?: (id: string) => void;
|
|
54
|
-
/** Activer le mode sombre (optionnel) */
|
|
55
|
-
enableDarkMode?: boolean;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* ThemeProvider
|
|
59
|
-
*
|
|
60
|
-
* Provider pour gérer les thèmes et charger les CSS depuis S3 avec support TweakCN.
|
|
61
|
-
*
|
|
62
|
-
* Features:
|
|
63
|
-
* - Chargement dynamique des thèmes depuis S3
|
|
64
|
-
* - Cache des thèmes déjà chargés
|
|
65
|
-
* - Support TweakCN avec data-theme
|
|
66
|
-
* - Persistance dans localStorage
|
|
67
|
-
* - Préchargement de thèmes
|
|
68
|
-
* - Support des thèmes locaux si pas de S3
|
|
69
|
-
*/
|
|
70
|
-
export declare function ThemeProvider({ children, themes, defaultTheme, s3Config, onThemeChange, enableDarkMode, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
-
/**
|
|
72
|
-
* Hook pour utiliser le ThemeProvider
|
|
73
|
-
*/
|
|
74
|
-
export declare function useTheme(): ThemeContextValue;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { WakaProviderConfig, WakaProviderProps } from '../types/provider';
|
|
2
|
-
/**
|
|
3
|
-
* WakaProvider - Provider principal pour WakaStart UI
|
|
4
|
-
*
|
|
5
|
-
* Centralise la configuration du thème, de la langue et des traductions S3
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```tsx
|
|
9
|
-
* <WakaProvider config={{
|
|
10
|
-
* theme: {
|
|
11
|
-
* defaultTheme: "light",
|
|
12
|
-
* themes: ["light", "dark", "forest"],
|
|
13
|
-
* enableSystem: true
|
|
14
|
-
* },
|
|
15
|
-
* language: {
|
|
16
|
-
* defaultLanguage: "fr",
|
|
17
|
-
* supportedLanguages: ["fr", "en"],
|
|
18
|
-
* s3Config: {
|
|
19
|
-
* bucketUrl: "https://my-bucket.s3.amazonaws.com",
|
|
20
|
-
* translationsPath: "translations"
|
|
21
|
-
* }
|
|
22
|
-
* }
|
|
23
|
-
* }}>
|
|
24
|
-
* <App />
|
|
25
|
-
* </WakaProvider>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare function WakaProvider({ children, config }: WakaProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
/**
|
|
30
|
-
* Hook pour accéder à la configuration du WakaProvider
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* ```tsx
|
|
34
|
-
* const { changeLanguage, changeTheme, t } = useWaka()
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare function useWaka(): {
|
|
38
|
-
currentLanguage: string;
|
|
39
|
-
changeLanguage: (lang: string) => Promise<void>;
|
|
40
|
-
languages: import('./language-context').LanguageConfig[];
|
|
41
|
-
isLanguageLoading: boolean;
|
|
42
|
-
currentTheme: string;
|
|
43
|
-
changeTheme: (id: string) => Promise<void>;
|
|
44
|
-
themes: import('./theme-provider').ThemeConfig[];
|
|
45
|
-
isThemeLoading: boolean;
|
|
46
|
-
preloadTheme: (id: string) => Promise<void>;
|
|
47
|
-
isThemeLoaded: (id: string) => boolean;
|
|
48
|
-
t: import('i18next').TFunction<"translation", undefined>;
|
|
49
|
-
};
|
|
50
|
-
export type { WakaProviderConfig, WakaProviderProps };
|
package/dist/src/doc.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entry point pour WakaDoc Suite
|
|
3
|
-
*
|
|
4
|
-
* Usage:
|
|
5
|
-
* ```ts
|
|
6
|
-
* import { WakaDocRenderer, WakaDocShell } from "@wakastellar/ui/doc"
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* Dépendances requises:
|
|
10
|
-
* - react-markdown
|
|
11
|
-
* - remark-gfm
|
|
12
|
-
* - rehype-slug
|
|
13
|
-
* - rehype-raw
|
|
14
|
-
*
|
|
15
|
-
* Pour le mode édition (WakaDocShell avec mode="edit"):
|
|
16
|
-
* - @tiptap/react (>=2.0.0)
|
|
17
|
-
* - @tiptap/starter-kit (>=2.0.0)
|
|
18
|
-
* - @tiptap/extension-underline (>=2.0.0)
|
|
19
|
-
* - @tiptap/extension-link (>=2.0.0)
|
|
20
|
-
* - @tiptap/extension-text-align (>=2.0.0)
|
|
21
|
-
* - tiptap-markdown (>=0.8.0)
|
|
22
|
-
*/
|
|
23
|
-
export { WakaDocRenderer, type WakaDocRendererProps } from './components/waka-doc-renderer';
|
|
24
|
-
export { WakaDocCodeBlock, type WakaDocCodeBlockProps } from './components/waka-doc-code-block';
|
|
25
|
-
export { WakaDocToc, type WakaDocTocProps, type TocItem } from './components/waka-doc-toc';
|
|
26
|
-
export { WakaDocNav, type WakaDocNavProps, type DocNavItem } from './components/waka-doc-nav';
|
|
27
|
-
export { WakaDocSearch, type WakaDocSearchProps, type DocSearchPage } from './components/waka-doc-search';
|
|
28
|
-
export { WakaDocVersion, type WakaDocVersionProps, type DocVersion } from './components/waka-doc-version';
|
|
29
|
-
export { WakaDocCallout, type WakaDocCalloutProps, type CalloutType } from './components/waka-doc-callout';
|
|
30
|
-
export { WakaDocToolbar, type WakaDocToolbarProps } from './components/waka-doc-toolbar';
|
|
31
|
-
export { WakaDocBreadcrumb, type WakaDocBreadcrumbProps } from './components/waka-doc-breadcrumb';
|
|
32
|
-
export { WakaDocTable, type WakaDocTableProps } from './components/waka-doc-table';
|
|
33
|
-
export { WakaDocShell, type WakaDocShellProps } from './blocks/waka-doc-shell';
|
package/dist/src/editor.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entry point for WakaEditor (Plate.js)
|
|
3
|
-
*
|
|
4
|
-
* Usage:
|
|
5
|
-
* ```ts
|
|
6
|
-
* import { WakaEditor } from "@wakastellar/ui/editor"
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* Required peer dependencies:
|
|
10
|
-
* - platejs (>=52.0.0)
|
|
11
|
-
* - @platejs/basic-nodes (>=52.0.0)
|
|
12
|
-
* - @platejs/table (>=52.0.0)
|
|
13
|
-
* - @platejs/layout (>=52.0.0)
|
|
14
|
-
* - @platejs/callout (>=52.0.0)
|
|
15
|
-
*
|
|
16
|
-
* Installation:
|
|
17
|
-
* ```bash
|
|
18
|
-
* pnpm add platejs @platejs/basic-nodes @platejs/table @platejs/layout @platejs/callout
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* Optional packages (install based on features):
|
|
22
|
-
* ```bash
|
|
23
|
-
* pnpm add @platejs/link @platejs/media @platejs/mention @platejs/dnd @platejs/toc @platejs/indent @platejs/markdown @platejs/selection @platejs/ai @platejs/combobox @platejs/floating @platejs/diff @platejs/emoji @platejs/resizable @platejs/yjs
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export * from './components/editor';
|
package/dist/src/export.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entry point pour les fonctionnalités d'export du DataTable
|
|
3
|
-
*
|
|
4
|
-
* Usage:
|
|
5
|
-
* ```ts
|
|
6
|
-
* import { useDataTableExport } from "@wakastellar/ui/export"
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* Dépendances optionnelles selon le format:
|
|
10
|
-
*
|
|
11
|
-
* Pour l'export Excel (.xlsx):
|
|
12
|
-
* - exceljs (>=4.3.0)
|
|
13
|
-
* ```bash
|
|
14
|
-
* pnpm add exceljs
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* Pour l'export PDF:
|
|
18
|
-
* - jspdf (>=2.5.0)
|
|
19
|
-
* - jspdf-autotable (>=3.5.0)
|
|
20
|
-
* ```bash
|
|
21
|
-
* pnpm add jspdf jspdf-autotable
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* Note: Les formats CSV, JSON et XML fonctionnent sans dépendances supplémentaires.
|
|
25
|
-
*/
|
|
26
|
-
export { useDataTableExport } from './components/DataTable/hooks/useDataTableExport';
|
|
27
|
-
export { useDataTableImport } from './components/DataTable/hooks/useDataTableImport';
|
|
28
|
-
export type { ExportConfig, ImportConfig, } from './components/DataTable/types';
|
|
29
|
-
export type ExportableCellValue = string | number | boolean | Date | null | undefined;
|
|
30
|
-
export type ImportedRowData = Record<string, ExportableCellValue>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useToast, toast } from './use-toast';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ToastActionElement, ToastProps } from '../components/toast';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
type ToasterToast = ToastProps & {
|
|
4
|
-
id: string;
|
|
5
|
-
title?: React.ReactNode;
|
|
6
|
-
description?: React.ReactNode;
|
|
7
|
-
action?: ToastActionElement;
|
|
8
|
-
};
|
|
9
|
-
declare const actionTypes: {
|
|
10
|
-
readonly ADD_TOAST: "ADD_TOAST";
|
|
11
|
-
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
12
|
-
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
13
|
-
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
14
|
-
};
|
|
15
|
-
type ActionType = typeof actionTypes;
|
|
16
|
-
type Action = {
|
|
17
|
-
type: ActionType["ADD_TOAST"];
|
|
18
|
-
toast: ToasterToast;
|
|
19
|
-
} | {
|
|
20
|
-
type: ActionType["UPDATE_TOAST"];
|
|
21
|
-
toast: Partial<ToasterToast>;
|
|
22
|
-
} | {
|
|
23
|
-
type: ActionType["DISMISS_TOAST"];
|
|
24
|
-
toastId?: ToasterToast["id"];
|
|
25
|
-
} | {
|
|
26
|
-
type: ActionType["REMOVE_TOAST"];
|
|
27
|
-
toastId?: ToasterToast["id"];
|
|
28
|
-
};
|
|
29
|
-
interface State {
|
|
30
|
-
toasts: ToasterToast[];
|
|
31
|
-
}
|
|
32
|
-
export declare const reducer: (state: State, action: Action) => State;
|
|
33
|
-
type Toast = Omit<ToasterToast, "id">;
|
|
34
|
-
declare function toast({ ...props }: Toast): {
|
|
35
|
-
id: string;
|
|
36
|
-
dismiss: () => void;
|
|
37
|
-
update: (props: ToasterToast) => void;
|
|
38
|
-
};
|
|
39
|
-
declare function useToast(): {
|
|
40
|
-
toast: typeof toast;
|
|
41
|
-
dismiss: (toastId?: string) => void;
|
|
42
|
-
toasts: ToasterToast[];
|
|
43
|
-
};
|
|
44
|
-
export { useToast, toast };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook pour utiliser les traductions dans les composants
|
|
3
|
-
*
|
|
4
|
-
* Wrapper autour de useTranslation de react-i18next qui s'assure
|
|
5
|
-
* que i18next est correctement initialisé avant de retourner les fonctions.
|
|
6
|
-
*
|
|
7
|
-
* Si i18next n'est pas encore prêt, retourne la clé de traduction telle quelle.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* const { t } = useTranslation()
|
|
12
|
-
* return <div>{t('hello')}</div>
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
export declare function useTranslation(): any;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ToastActionElement, ToastProps } from '../components/toast';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
type ToasterToast = ToastProps & {
|
|
4
|
-
id: string;
|
|
5
|
-
title?: React.ReactNode;
|
|
6
|
-
description?: React.ReactNode;
|
|
7
|
-
action?: ToastActionElement;
|
|
8
|
-
};
|
|
9
|
-
declare const actionTypes: {
|
|
10
|
-
readonly ADD_TOAST: "ADD_TOAST";
|
|
11
|
-
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
12
|
-
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
13
|
-
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
14
|
-
};
|
|
15
|
-
type ActionType = typeof actionTypes;
|
|
16
|
-
type Action = {
|
|
17
|
-
type: ActionType["ADD_TOAST"];
|
|
18
|
-
toast: ToasterToast;
|
|
19
|
-
} | {
|
|
20
|
-
type: ActionType["UPDATE_TOAST"];
|
|
21
|
-
toast: Partial<ToasterToast>;
|
|
22
|
-
} | {
|
|
23
|
-
type: ActionType["DISMISS_TOAST"];
|
|
24
|
-
toastId?: ToasterToast["id"];
|
|
25
|
-
} | {
|
|
26
|
-
type: ActionType["REMOVE_TOAST"];
|
|
27
|
-
toastId?: ToasterToast["id"];
|
|
28
|
-
};
|
|
29
|
-
interface State {
|
|
30
|
-
toasts: ToasterToast[];
|
|
31
|
-
}
|
|
32
|
-
export declare const reducer: (state: State, action: Action) => State;
|
|
33
|
-
type Toast = Omit<ToasterToast, "id">;
|
|
34
|
-
declare function toast({ ...props }: Toast): {
|
|
35
|
-
id: string;
|
|
36
|
-
dismiss: () => void;
|
|
37
|
-
update: (props: ToasterToast) => void;
|
|
38
|
-
};
|
|
39
|
-
declare function useToast(): {
|
|
40
|
-
toast: typeof toast;
|
|
41
|
-
dismiss: (toastId?: string) => void;
|
|
42
|
-
toasts: ToasterToast[];
|
|
43
|
-
};
|
|
44
|
-
export { useToast, toast };
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
|
2
|
-
export { WakaEmptyState } from './components/waka-empty-state';
|
|
3
|
-
export type { ColumnDef, Row, RowData, Table as TanStackTable, Column, Cell, Header, ColumnFiltersState, SortingState, VisibilityState, PaginationState } from '@tanstack/react-table';
|
|
4
|
-
export { useTranslation } from './hooks/use-translation';
|
|
5
|
-
export * from './hooks/useToast';
|
|
6
|
-
export { LanguageProvider, useLanguage } from './context/language-context';
|
|
7
|
-
export type { LanguageContextValue, LanguageProviderProps, LanguageConfig, S3Config } from './context/language-context';
|
|
8
|
-
export { ThemeProvider, useTheme } from './context/theme-provider';
|
|
9
|
-
export type { ThemeContextValue, ThemeProviderProps, ThemeConfig, ThemeS3Config } from './context/theme-provider';
|
|
10
|
-
export { ThemeProvider as LegacyThemeProvider, useTheme as useLegacyTheme } from './context/theme-context';
|
|
11
|
-
export type { ThemeContextValue as LegacyThemeContextValue, ThemeProviderProps as LegacyThemeProviderProps } from './context/theme-context';
|
|
12
|
-
export { WakaProvider, useWaka } from './context/waka-provider';
|
|
13
|
-
export type { WakaProviderConfig, WakaProviderProps } from './context/waka-provider';
|
|
14
|
-
export { AdmincrumbProvider, useAdmincrumbContext, useAdmincrumbContextOptional } from './context/admincrumb-context';
|
|
15
|
-
export type { AdmincrumbSelection, AdmincrumbContextValue, AdmincrumbProviderProps } from './context/admincrumb-context';
|
|
16
|
-
export type { WakaThemeConfig, WakaS3Config, WakaLanguageConfig, ThemeConfigItem, LanguageConfigItem, } from './types/provider';
|
|
17
|
-
export type { LinkComponentProps } from './types/link';
|
|
18
|
-
export type { Step, StepStatus, WakaStepperProps, StepperContextValue, StepperNavigationProps } from './components/waka-stepper';
|
|
19
|
-
export type { BreadcrumbItem, WakaBreadcrumbProps } from './components/waka-breadcrumb';
|
|
20
|
-
export type { TreeNode, WakaTreeProps } from './components/waka-tree';
|
|
21
|
-
export type { ComboboxOption, WakaComboboxProps } from './components/waka-combobox';
|
|
22
|
-
export type { WakaDateRange, WakaDateRangePickerProps, DateRangePreset } from './components/waka-date-range-picker';
|
|
23
|
-
export type { TimelineItem, TimelineItemStatus, WakaTimelineProps } from './components/waka-timeline';
|
|
24
|
-
export type { KanbanCard, KanbanColumn, WakaKanbanProps } from './components/waka-kanban';
|
|
25
|
-
export type { ThemeMetadata, ThemeVersion, S3UploadConfig, WakaThemeCreatorProps } from './components/waka-theme-creator';
|
|
26
|
-
export type { UploadedFile, FileUploadVariant, WakaFileUploadProps } from './components/waka-file-upload';
|
|
27
|
-
export type { AutocompleteOption, WakaAutocompleteProps } from './components/waka-autocomplete';
|
|
28
|
-
export type { AdmincrumbLevel, AdmincrumbItem, WakaAdmincrumbProps } from './components/waka-admincrumb';
|
|
29
|
-
export type { CarouselImage, CarouselTransition, CarouselLayout, CarouselTheme, WakaCarouselProps } from './components/waka-carousel';
|
|
30
|
-
export * from './utils/cn';
|
|
31
|
-
export * from './utils/tweak';
|
|
32
|
-
export * from './utils/datetime-helpers';
|
|
33
|
-
export { ThemeLoader, initThemeLoader, getThemeLoader, loadTheme, applyTheme, useThemeLoader, type ThemeLoaderConfig, } from './utils/theme-loader';
|
|
34
|
-
export { sanitizeUrl, safeNavigate, escapeRegex, createSafeRegex, createHighlightRegex, escapeHtml, } from './utils/security';
|
|
35
|
-
export * from './blocks';
|
package/dist/src/lib/i18n.d.ts
DELETED
package/dist/src/rich-text.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entry point pour WakaRichTextEditor
|
|
3
|
-
*
|
|
4
|
-
* Usage:
|
|
5
|
-
* ```ts
|
|
6
|
-
* import { WakaRichTextEditor } from "@wakastellar/ui/rich-text"
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* Dépendances requises:
|
|
10
|
-
* - @tiptap/react (>=2.0.0)
|
|
11
|
-
* - @tiptap/starter-kit (>=2.0.0)
|
|
12
|
-
* - @tiptap/extension-underline (>=2.0.0)
|
|
13
|
-
* - @tiptap/extension-link (>=2.0.0)
|
|
14
|
-
* - @tiptap/extension-text-align (>=2.0.0)
|
|
15
|
-
*
|
|
16
|
-
* Installation:
|
|
17
|
-
* ```bash
|
|
18
|
-
* pnpm add @tiptap/react @tiptap/starter-kit @tiptap/extension-underline @tiptap/extension-link @tiptap/extension-text-align
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export { WakaRichTextEditor, type WakaRichTextEditorProps, type ToolbarButton } from './components/waka-rich-text-editor';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface ButtonProps {
|
|
2
|
-
/** Is this the principal call to action on the page? */
|
|
3
|
-
primary?: boolean;
|
|
4
|
-
/** What background color to use */
|
|
5
|
-
backgroundColor?: string;
|
|
6
|
-
/** How large should the button be? */
|
|
7
|
-
size?: 'small' | 'medium' | 'large';
|
|
8
|
-
/** Button contents */
|
|
9
|
-
label: string;
|
|
10
|
-
/** Optional click handler */
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
}
|
|
13
|
-
/** Primary UI component for user interaction */
|
|
14
|
-
export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: Meta<({ primary, size, backgroundColor, label, ...props }: import('./Button').ButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export default meta;
|
|
4
|
-
type Story = StoryObj<typeof meta>;
|
|
5
|
-
export declare const Primary: Story;
|
|
6
|
-
export declare const Secondary: Story;
|
|
7
|
-
export declare const Large: Story;
|
|
8
|
-
export declare const Small: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type User = {
|
|
2
|
-
name: string;
|
|
3
|
-
};
|
|
4
|
-
export interface HeaderProps {
|
|
5
|
-
user?: User;
|
|
6
|
-
onLogin?: () => void;
|
|
7
|
-
onLogout?: () => void;
|
|
8
|
-
onCreateAccount?: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: Meta<({ user, onLogin, onLogout, onCreateAccount }: import('./Header').HeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export default meta;
|
|
4
|
-
type Story = StoryObj<typeof meta>;
|
|
5
|
-
export declare const LoggedIn: Story;
|
|
6
|
-
export declare const LoggedOut: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare function EditorStoryWrapper({ children }: {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
/**
|
|
6
|
-
* Creates a lazy-loaded wrapper component for editor components.
|
|
7
|
-
* This defers the import to render time so ErrorBoundary can catch failures.
|
|
8
|
-
*/
|
|
9
|
-
export declare function createLazyEditor<P extends Record<string, unknown>>(importFn: () => Promise<{
|
|
10
|
-
default: React.ComponentType<P>;
|
|
11
|
-
}>): React.LazyExoticComponent<React.ComponentType<P>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { LinkComponentProps } from './link';
|
package/dist/src/types/link.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Props du composant de lien personnalisé pour navigation SPA
|
|
4
|
-
* Permet d'injecter next/link ou tout autre composant de routing
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```tsx
|
|
8
|
-
* import Link from 'next/link'
|
|
9
|
-
* import type { LinkComponentProps } from '@wakastellar/ui'
|
|
10
|
-
*
|
|
11
|
-
* const NextLink = ({ href, className, onClick, children }: LinkComponentProps) => (
|
|
12
|
-
* <Link href={href} className={className} onClick={onClick}>
|
|
13
|
-
* {children}
|
|
14
|
-
* </Link>
|
|
15
|
-
* )
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export interface LinkComponentProps {
|
|
19
|
-
href: string;
|
|
20
|
-
className?: string;
|
|
21
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
22
|
-
children: React.ReactNode;
|
|
23
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration d'un thème
|
|
3
|
-
*/
|
|
4
|
-
export interface ThemeConfigItem {
|
|
5
|
-
/** Identifiant du thème */
|
|
6
|
-
id: string;
|
|
7
|
-
/** Nom d'affichage */
|
|
8
|
-
label: string;
|
|
9
|
-
/** Description optionnelle */
|
|
10
|
-
description?: string;
|
|
11
|
-
/** Couleur représentative */
|
|
12
|
-
previewColor?: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Configuration S3 pour les thèmes
|
|
16
|
-
*/
|
|
17
|
-
export interface ThemeS3Config {
|
|
18
|
-
/** URL de base du bucket S3 */
|
|
19
|
-
baseUrl: string;
|
|
20
|
-
/** Préfixe des fichiers (ex: "themes/") */
|
|
21
|
-
prefix?: string;
|
|
22
|
-
/** Extension des fichiers (défaut: "css") */
|
|
23
|
-
extension?: string;
|
|
24
|
-
/** Headers personnalisés */
|
|
25
|
-
headers?: Record<string, string>;
|
|
26
|
-
/** Timeout en millisecondes */
|
|
27
|
-
timeout?: number;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Configuration du thème WakaStart
|
|
31
|
-
*/
|
|
32
|
-
export interface WakaThemeConfig {
|
|
33
|
-
/** Thème par défaut à appliquer */
|
|
34
|
-
defaultTheme?: string;
|
|
35
|
-
/** Activer le stockage du thème dans localStorage */
|
|
36
|
-
storageKey?: string;
|
|
37
|
-
/** Liste des thèmes disponibles */
|
|
38
|
-
themes?: ThemeConfigItem[];
|
|
39
|
-
/** Thème système (auto) */
|
|
40
|
-
enableSystem?: boolean;
|
|
41
|
-
/** Configuration S3 pour charger les thèmes */
|
|
42
|
-
s3Config?: ThemeS3Config;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Configuration S3 pour le chargement des traductions
|
|
46
|
-
*/
|
|
47
|
-
export interface WakaS3Config {
|
|
48
|
-
/** URL du bucket S3 */
|
|
49
|
-
bucketUrl: string;
|
|
50
|
-
/** Région AWS */
|
|
51
|
-
region?: string;
|
|
52
|
-
/** Clé d'accès (optionnel) */
|
|
53
|
-
accessKeyId?: string;
|
|
54
|
-
/** Clé secrète (optionnel) */
|
|
55
|
-
secretAccessKey?: string;
|
|
56
|
-
/** Dossier des traductions dans le bucket */
|
|
57
|
-
translationsPath?: string;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Configuration d'une langue
|
|
61
|
-
*/
|
|
62
|
-
export interface LanguageConfigItem {
|
|
63
|
-
/** Code de la langue */
|
|
64
|
-
code: string;
|
|
65
|
-
/** Nom d'affichage */
|
|
66
|
-
label: string;
|
|
67
|
-
/** Emoji drapeau */
|
|
68
|
-
flagEmoji?: string;
|
|
69
|
-
/** URL du drapeau */
|
|
70
|
-
flag?: string;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Configuration de la langue et des traductions
|
|
74
|
-
*/
|
|
75
|
-
export interface WakaLanguageConfig {
|
|
76
|
-
/** Langue par défaut */
|
|
77
|
-
defaultLanguage: string;
|
|
78
|
-
/** Langues supportées */
|
|
79
|
-
supportedLanguages: string[];
|
|
80
|
-
/** Liste des langues avec configuration */
|
|
81
|
-
languages?: LanguageConfigItem[];
|
|
82
|
-
/** Configuration S3 pour le chargement distant des traductions */
|
|
83
|
-
s3Config?: WakaS3Config;
|
|
84
|
-
/** Traductions locales (fallback ou complètes) */
|
|
85
|
-
resources?: Record<string, Record<string, Record<string, string>>>;
|
|
86
|
-
/** Activer le stockage de la langue dans localStorage */
|
|
87
|
-
storageKey?: string;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Configuration globale du WakaProvider
|
|
91
|
-
*/
|
|
92
|
-
export interface WakaProviderConfig {
|
|
93
|
-
/** Configuration du thème */
|
|
94
|
-
theme?: WakaThemeConfig;
|
|
95
|
-
/** Configuration de la langue */
|
|
96
|
-
language: WakaLanguageConfig;
|
|
97
|
-
/** Activer le mode debug */
|
|
98
|
-
debug?: boolean;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Props du WakaProvider
|
|
102
|
-
*/
|
|
103
|
-
export interface WakaProviderProps {
|
|
104
|
-
/** Configuration du provider */
|
|
105
|
-
config: WakaProviderConfig;
|
|
106
|
-
/** Children */
|
|
107
|
-
children: React.ReactNode;
|
|
108
|
-
}
|
package/dist/src/utils/cn.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const cn: (...inputs: any[]) => string;
|