@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,58 +0,0 @@
|
|
|
1
|
-
import { PlateElementProps } from '../waka-editor-elements';
|
|
2
|
-
export declare const EMBED_BLOCK_TYPE: "embed";
|
|
3
|
-
/** Supported embed provider types */
|
|
4
|
-
export type EmbedProvider = "figma" | "youtube" | "vimeo" | "codesandbox" | "codepen" | "stackblitz" | "loom" | "miro" | "notion" | "github-gist" | "generic";
|
|
5
|
-
/** Slate node for embed blocks */
|
|
6
|
-
export interface EmbedElement {
|
|
7
|
-
type: typeof EMBED_BLOCK_TYPE;
|
|
8
|
-
/** Original URL pasted by the user */
|
|
9
|
-
url: string;
|
|
10
|
-
/** Detected embed provider */
|
|
11
|
-
provider: EmbedProvider;
|
|
12
|
-
/** Resolved embed/iframe URL */
|
|
13
|
-
embedUrl: string;
|
|
14
|
-
/** Title/caption */
|
|
15
|
-
title?: string;
|
|
16
|
-
/** Aspect ratio (e.g. "16/9", "4/3", "1/1") */
|
|
17
|
-
aspectRatio?: string;
|
|
18
|
-
/** Optional maximum height in pixels */
|
|
19
|
-
maxHeight?: number;
|
|
20
|
-
children: Array<{
|
|
21
|
-
text: string;
|
|
22
|
-
}>;
|
|
23
|
-
}
|
|
24
|
-
export interface WakaEmbedBlockProps extends PlateElementProps {
|
|
25
|
-
element?: EmbedElement & Record<string, unknown>;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Detect provider from a URL.
|
|
29
|
-
*/
|
|
30
|
-
export declare function detectEmbedProvider(url: string): EmbedProvider;
|
|
31
|
-
/**
|
|
32
|
-
* Transform a URL into an embeddable iframe URL.
|
|
33
|
-
*/
|
|
34
|
-
export declare function resolveEmbedUrl(url: string, provider: EmbedProvider): string;
|
|
35
|
-
/**
|
|
36
|
-
* WakaEmbedBlock - A Plate.js block for embedding external content (Figma, YouTube,
|
|
37
|
-
* CodeSandbox, Loom, etc.) inline in a document. The user pastes a URL and the
|
|
38
|
-
* block auto-detects the provider and renders the appropriate embed.
|
|
39
|
-
*
|
|
40
|
-
* Uses `@platejs/media` patterns. All URLs are sanitized before embedding.
|
|
41
|
-
*
|
|
42
|
-
* Register in Plate editor:
|
|
43
|
-
* ```ts
|
|
44
|
-
* components: {
|
|
45
|
-
* [EMBED_BLOCK_TYPE]: WakaEmbedBlock,
|
|
46
|
-
* }
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
export declare function WakaEmbedBlock({ attributes, children, element, className, }: WakaEmbedBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
export declare namespace WakaEmbedBlock {
|
|
51
|
-
var displayName: string;
|
|
52
|
-
}
|
|
53
|
-
export declare function createEmbedNodes(url: string, options?: {
|
|
54
|
-
title?: string;
|
|
55
|
-
aspectRatio?: string;
|
|
56
|
-
maxHeight?: number;
|
|
57
|
-
}): EmbedElement[];
|
|
58
|
-
export declare function createEmbedPlugin(): Promise<any>;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { SlashCommand } from '../waka-slash-menu';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
/** Extended slash command with WakaStart-specific blocks */
|
|
4
|
-
export interface WakaSlashBlockCommand extends SlashCommand {
|
|
5
|
-
/** Preview/thumbnail for the block */
|
|
6
|
-
preview?: React.ReactNode;
|
|
7
|
-
/** Whether this is a WakaStart custom block (vs standard Plate block) */
|
|
8
|
-
isCustom?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface WakaSlashMenuBlockProps {
|
|
11
|
-
/** All available commands (merges with defaults) */
|
|
12
|
-
commands?: WakaSlashBlockCommand[];
|
|
13
|
-
/** Filter query (typed after "/") */
|
|
14
|
-
query?: string;
|
|
15
|
-
/** Called when a command is selected */
|
|
16
|
-
onSelect?: (command: WakaSlashBlockCommand) => void;
|
|
17
|
-
/** Active (highlighted) index */
|
|
18
|
-
activeIndex?: number;
|
|
19
|
-
/** Callback when active index changes */
|
|
20
|
-
onActiveIndexChange?: (index: number) => void;
|
|
21
|
-
/** CSS class */
|
|
22
|
-
className?: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* WakaStart-specific slash commands for custom blocks.
|
|
26
|
-
* These extend the standard Plate slash commands with blocks specific
|
|
27
|
-
* to the WakaStart specification and project management workflow.
|
|
28
|
-
*/
|
|
29
|
-
export declare const WAKA_BLOCK_COMMANDS: WakaSlashBlockCommand[];
|
|
30
|
-
/**
|
|
31
|
-
* Get all slash commands: standard Plate commands + WakaStart custom blocks.
|
|
32
|
-
*/
|
|
33
|
-
export declare function getAllWakaSlashCommands(extraCommands?: WakaSlashBlockCommand[]): WakaSlashBlockCommand[];
|
|
34
|
-
/**
|
|
35
|
-
* WakaSlashMenuBlock - An enhanced slash menu that includes all standard Plate
|
|
36
|
-
* blocks PLUS WakaStart-specific custom blocks (User Story, API Endpoint,
|
|
37
|
-
* Diagram, AI Assist, Code Playground, etc.).
|
|
38
|
-
*
|
|
39
|
-
* This replaces the standard WakaSlashMenu when you want the full WakaStart
|
|
40
|
-
* block vocabulary available in your editor.
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* ```tsx
|
|
44
|
-
* // In your Plate slash plugin configuration:
|
|
45
|
-
* const slashPlugins = await createWakaSlashPlugins()
|
|
46
|
-
*
|
|
47
|
-
* // Or use the menu component standalone:
|
|
48
|
-
* <WakaSlashMenuBlock
|
|
49
|
-
* query={searchQuery}
|
|
50
|
-
* onSelect={(cmd) => cmd.action(editor)}
|
|
51
|
-
* />
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
export declare function WakaSlashMenuBlock({ commands, query, onSelect, activeIndex: controlledIndex, onActiveIndexChange, className, }: WakaSlashMenuBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
-
export declare namespace WakaSlashMenuBlock {
|
|
56
|
-
var displayName: string;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Creates slash command plugin configuration with all WakaStart blocks registered.
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* ```ts
|
|
63
|
-
* const plugins = await createWakaSlashPlugins()
|
|
64
|
-
* // Add to editor plugins array
|
|
65
|
-
* ```
|
|
66
|
-
*/
|
|
67
|
-
export declare function createWakaSlashPlugins(extraCommands?: WakaSlashBlockCommand[]): Promise<any[]>;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { PlateElementProps } from '../waka-editor-elements';
|
|
2
|
-
/** Slate node type for user story blocks */
|
|
3
|
-
export declare const USER_STORY_BLOCK_TYPE: "user_story";
|
|
4
|
-
/** Shape of a user story element in the Slate document */
|
|
5
|
-
export interface UserStoryElement {
|
|
6
|
-
type: typeof USER_STORY_BLOCK_TYPE;
|
|
7
|
-
/** The role ("As a ...") */
|
|
8
|
-
role: string;
|
|
9
|
-
/** The action ("I want ...") */
|
|
10
|
-
action: string;
|
|
11
|
-
/** The benefit ("So that ...") */
|
|
12
|
-
benefit: string;
|
|
13
|
-
/** Optional story ID (e.g. "US-042") */
|
|
14
|
-
storyId?: string;
|
|
15
|
-
/** Optional priority */
|
|
16
|
-
priority?: "must" | "should" | "could" | "wont";
|
|
17
|
-
/** Optional story points estimate */
|
|
18
|
-
points?: number;
|
|
19
|
-
children: Array<{
|
|
20
|
-
text: string;
|
|
21
|
-
}>;
|
|
22
|
-
}
|
|
23
|
-
/** Props for the WakaUserStoryBlock element renderer */
|
|
24
|
-
export interface WakaUserStoryBlockProps extends PlateElementProps {
|
|
25
|
-
element?: UserStoryElement & Record<string, unknown>;
|
|
26
|
-
/** Called when a field value changes */
|
|
27
|
-
onFieldChange?: (field: "role" | "action" | "benefit", value: string) => void;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* WakaUserStoryBlock - A Plate.js block element for writing User Stories
|
|
31
|
-
* in the structured format "As a [role], I want [action], so that [benefit]".
|
|
32
|
-
*
|
|
33
|
-
* Each field is editable inline within the block. Renders with a distinctive
|
|
34
|
-
* visual treatment: blue left border, user icon, and structured layout.
|
|
35
|
-
*
|
|
36
|
-
* Register as a custom element in your Plate editor:
|
|
37
|
-
* ```ts
|
|
38
|
-
* const editor = usePlateEditor({
|
|
39
|
-
* plugins: [...],
|
|
40
|
-
* components: {
|
|
41
|
-
* [USER_STORY_BLOCK_TYPE]: WakaUserStoryBlock,
|
|
42
|
-
* },
|
|
43
|
-
* })
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* Insert via slash command or programmatically:
|
|
47
|
-
* ```ts
|
|
48
|
-
* editor.insertNodes(createUserStoryNodes())
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
export declare function WakaUserStoryBlock({ attributes, children, element, className, }: WakaUserStoryBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
export declare namespace WakaUserStoryBlock {
|
|
53
|
-
var displayName: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Creates the Slate nodes for inserting a user story block.
|
|
57
|
-
*
|
|
58
|
-
* @param options - Optional pre-fill values
|
|
59
|
-
* @returns Array of Slate nodes to insert
|
|
60
|
-
*/
|
|
61
|
-
export declare function createUserStoryNodes(options?: {
|
|
62
|
-
role?: string;
|
|
63
|
-
action?: string;
|
|
64
|
-
benefit?: string;
|
|
65
|
-
storyId?: string;
|
|
66
|
-
priority?: "must" | "should" | "could" | "wont";
|
|
67
|
-
points?: number;
|
|
68
|
-
}): UserStoryElement[];
|
|
69
|
-
/**
|
|
70
|
-
* Creates a Plate plugin configuration for user story blocks.
|
|
71
|
-
* Use with dynamic import for tree-shaking.
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* ```ts
|
|
75
|
-
* const userStoryPlugin = await createUserStoryPlugin()
|
|
76
|
-
* // Add to editor plugins
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
|
-
export declare function createUserStoryPlugin(): Promise<any>;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { PlateElementProps } from '../waka-editor-elements';
|
|
2
|
-
export declare const VERSION_DIFF_BLOCK_TYPE: "version_diff";
|
|
3
|
-
/** A single diff hunk (line-level diff) */
|
|
4
|
-
export interface DiffLine {
|
|
5
|
-
/** Line content */
|
|
6
|
-
content: string;
|
|
7
|
-
/** Diff type */
|
|
8
|
-
type: "added" | "removed" | "unchanged" | "modified";
|
|
9
|
-
/** Original line number (for removed/unchanged) */
|
|
10
|
-
oldLineNumber?: number;
|
|
11
|
-
/** New line number (for added/unchanged) */
|
|
12
|
-
newLineNumber?: number;
|
|
13
|
-
}
|
|
14
|
-
/** Represents a section of changes */
|
|
15
|
-
export interface DiffHunk {
|
|
16
|
-
/** Start line in old version */
|
|
17
|
-
oldStart: number;
|
|
18
|
-
/** Start line in new version */
|
|
19
|
-
newStart: number;
|
|
20
|
-
/** Lines in this hunk */
|
|
21
|
-
lines: DiffLine[];
|
|
22
|
-
}
|
|
23
|
-
/** Slate node for version diff blocks */
|
|
24
|
-
export interface VersionDiffElement {
|
|
25
|
-
type: typeof VERSION_DIFF_BLOCK_TYPE;
|
|
26
|
-
/** Old (previous) version label */
|
|
27
|
-
oldVersionLabel: string;
|
|
28
|
-
/** New (current) version label */
|
|
29
|
-
newVersionLabel: string;
|
|
30
|
-
/** Old version full text */
|
|
31
|
-
oldText: string;
|
|
32
|
-
/** New version full text */
|
|
33
|
-
newText: string;
|
|
34
|
-
/** Pre-computed diff hunks */
|
|
35
|
-
hunks: DiffHunk[];
|
|
36
|
-
/** Summary stats */
|
|
37
|
-
stats: {
|
|
38
|
-
additions: number;
|
|
39
|
-
deletions: number;
|
|
40
|
-
modifications: number;
|
|
41
|
-
};
|
|
42
|
-
/** Author of the change */
|
|
43
|
-
author?: string;
|
|
44
|
-
/** Timestamp of the change */
|
|
45
|
-
timestamp?: string;
|
|
46
|
-
children: Array<{
|
|
47
|
-
text: string;
|
|
48
|
-
}>;
|
|
49
|
-
}
|
|
50
|
-
export interface WakaVersionDiffBlockProps extends PlateElementProps {
|
|
51
|
-
element?: VersionDiffElement & Record<string, unknown>;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* WakaVersionDiffBlock - A Plate.js block that displays a visual diff between
|
|
55
|
-
* two versions of text content. Shows additions, deletions, and modifications
|
|
56
|
-
* with unified or split view modes.
|
|
57
|
-
*
|
|
58
|
-
* Designed to integrate with `@platejs/diff` or work standalone with pre-computed
|
|
59
|
-
* diff data.
|
|
60
|
-
*
|
|
61
|
-
* Register in Plate editor:
|
|
62
|
-
* ```ts
|
|
63
|
-
* components: {
|
|
64
|
-
* [VERSION_DIFF_BLOCK_TYPE]: WakaVersionDiffBlock,
|
|
65
|
-
* }
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
export declare function WakaVersionDiffBlock({ attributes, children, element, className, }: WakaVersionDiffBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
69
|
-
export declare namespace WakaVersionDiffBlock {
|
|
70
|
-
var displayName: string;
|
|
71
|
-
}
|
|
72
|
-
export declare function createVersionDiffNodes(options?: Partial<Omit<VersionDiffElement, "type" | "children">>): VersionDiffElement[];
|
|
73
|
-
export declare function createVersionDiffPlugin(): Promise<any>;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated SP1.relocates — Phase 1
|
|
3
|
-
*
|
|
4
|
-
* This surface has been relocated to `@wakastellar/ui-editor` (workspace package
|
|
5
|
-
* `packages/ui-editor`). The core `@wakastellar/ui` retains the original
|
|
6
|
-
* implementation for backward compatibility during phases 1–3 of the
|
|
7
|
-
* relocation plan; the duplicate will be removed in v4.0.
|
|
8
|
-
*
|
|
9
|
-
* Migration:
|
|
10
|
-
* - Old: import { ... } from '@wakastellar/ui'
|
|
11
|
-
* - New: import { ... } from '@wakastellar/ui-editor'
|
|
12
|
-
*
|
|
13
|
-
* @deprecated Moved to `@wakastellar/ui-editor` in v3.6 — core copy will be removed in v4.0.
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* WakaEditor — Plate.js rich text editor components for @wakastellar/ui
|
|
17
|
-
*
|
|
18
|
-
* Usage:
|
|
19
|
-
* ```ts
|
|
20
|
-
* import { WakaEditor } from "@wakastellar/ui/editor"
|
|
21
|
-
* import { WakaAIWriter } from "@wakastellar/ui/editor"
|
|
22
|
-
* import { WakaDocumentEditor } from "@wakastellar/ui/editor"
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* Core peer dependencies (always required):
|
|
26
|
-
* - platejs (>=52.0.0)
|
|
27
|
-
* - @platejs/basic-nodes (>=52.0.0)
|
|
28
|
-
* - @platejs/table (>=52.0.0)
|
|
29
|
-
* - @platejs/layout (>=52.0.0)
|
|
30
|
-
* - @platejs/callout (>=52.0.0)
|
|
31
|
-
*
|
|
32
|
-
* Optional peer dependencies (install based on components/features used):
|
|
33
|
-
* - @platejs/link — links
|
|
34
|
-
* - @platejs/media — images, videos
|
|
35
|
-
* - @platejs/mention — @mentions (WakaMentionEditor)
|
|
36
|
-
* - @platejs/dnd — drag & drop (WakaDnDEditor)
|
|
37
|
-
* - @platejs/toc — table of contents
|
|
38
|
-
* - @platejs/indent — indentation
|
|
39
|
-
* - @platejs/markdown — markdown import/export (WakaMarkdownEditor)
|
|
40
|
-
* - @platejs/selection — block selection
|
|
41
|
-
* - @platejs/ai — AI features (WakaAIWriter)
|
|
42
|
-
* - @platejs/combobox — slash commands (WakaSlashMenu)
|
|
43
|
-
* - @platejs/floating — floating toolbar (WakaFloatingToolbar)
|
|
44
|
-
* - @platejs/diff — document diff (WakaDiffViewer)
|
|
45
|
-
* - @platejs/emoji — emoji picker
|
|
46
|
-
* - @platejs/resizable — resizable elements
|
|
47
|
-
* - @platejs/yjs — collaborative editing (WakaCollaborativeEditor)
|
|
48
|
-
*/
|
|
49
|
-
export { WakaEditor } from './waka-editor';
|
|
50
|
-
export type { WakaEditorProps, SlateNode } from './waka-editor';
|
|
51
|
-
export { WakaEditorToolbar, DEFAULT_TOOLBAR_GROUPS } from './waka-editor-toolbar';
|
|
52
|
-
export type { WakaEditorToolbarProps, ToolbarAction, ToolbarGroup, } from './waka-editor-toolbar';
|
|
53
|
-
export { WakaFloatingToolbar, DEFAULT_FLOATING_BUTTONS } from './waka-floating-toolbar';
|
|
54
|
-
export type { WakaFloatingToolbarProps, FloatingToolbarButton, } from './waka-floating-toolbar';
|
|
55
|
-
export { WakaSlashMenu, DEFAULT_SLASH_COMMANDS, createSlashCommandPlugins } from './waka-slash-menu';
|
|
56
|
-
export type { WakaSlashMenuProps, SlashCommand, } from './waka-slash-menu';
|
|
57
|
-
export { WakaAIWriter, DEFAULT_AI_ACTIONS } from './waka-ai-writer';
|
|
58
|
-
export type { WakaAIWriterProps, AIAction, } from './waka-ai-writer';
|
|
59
|
-
export { WakaDocumentEditor } from './waka-document-editor';
|
|
60
|
-
export type { WakaDocumentEditorProps, TocEntry, } from './waka-document-editor';
|
|
61
|
-
export { WakaMarkdownEditor } from './waka-markdown-editor';
|
|
62
|
-
export type { WakaMarkdownEditorProps, MarkdownEditorMode, } from './waka-markdown-editor';
|
|
63
|
-
export { WakaSpecEditor, DEFAULT_SPEC_TEMPLATES } from './waka-spec-editor';
|
|
64
|
-
export type { WakaSpecEditorProps, SpecBlockTemplate, } from './waka-spec-editor';
|
|
65
|
-
export { WakaDnDEditor } from './waka-dnd-editor';
|
|
66
|
-
export type { WakaDnDEditorProps } from './waka-dnd-editor';
|
|
67
|
-
export { WakaCollaborativeEditor } from './waka-collaborative-editor';
|
|
68
|
-
export type { WakaCollaborativeEditorProps, CollaborationUser, CollaborationProviderConfig, } from './waka-collaborative-editor';
|
|
69
|
-
export { WakaDiffViewer } from './waka-diff-viewer';
|
|
70
|
-
export type { WakaDiffViewerProps, DiffStats, } from './waka-diff-viewer';
|
|
71
|
-
export { WakaMentionEditor, MentionSuggestions } from './waka-mention-editor';
|
|
72
|
-
export type { WakaMentionEditorProps, MentionableUser, InsertedMention, } from './waka-mention-editor';
|
|
73
|
-
export { TableElement, TableRowElement, TableCellElement, TableCellHeaderElement, ColumnGroupElement, ColumnElement, CalloutElement, H1Element, H2Element, H3Element, H4Element, H5Element, H6Element, BlockquoteElement, ParagraphElement, LinkElement, MentionElement, SeparatorElement, } from './waka-editor-elements';
|
|
74
|
-
export type { PlateElementProps } from './waka-editor-elements';
|
|
75
|
-
export { BoldLeaf, ItalicLeaf, UnderlineLeaf, StrikethroughLeaf, CodeLeaf, HighlightLeaf, SuperscriptLeaf, SubscriptLeaf, } from './waka-editor-leaves';
|
|
76
|
-
export type { PlateLeafProps } from './waka-editor-leaves';
|
|
77
|
-
export { loadCorePlugins, loadLinkPlugin, loadMediaPlugins, loadMentionPlugins, loadDndPlugin, loadTocPlugin, loadIndentPlugin, loadMarkdownPlugin, loadSelectionPlugin, loadAIPlugins, loadEmojiPlugin, loadFloatingPlugin, loadDiffPlugin, loadComboboxPlugins, getPresetLoaders, } from './waka-editor-plugins';
|
|
78
|
-
export type { WakaEditorPreset } from './waka-editor-plugins';
|
|
79
|
-
export { WakaUserStoryBlock, WakaAcceptanceCriteriaBlock, WakaApiEndpointBlock, WakaDiagramBlock, WakaAiAssistBlock, WakaVersionDiffBlock, WakaEmbedBlock, WakaCodePlaygroundBlock, WakaCommentThreadBlock, WakaSlashMenuBlock, createUserStoryNodes, createAcceptanceCriteriaNodes, createApiEndpointNodes, createDiagramNodes, createAiAssistNodes, createVersionDiffNodes, createEmbedNodes, createCodePlaygroundNodes, createCommentThreadNodes, createUserStoryPlugin, createAcceptanceCriteriaPlugin, createApiEndpointPlugin, createDiagramPlugin, createAiAssistPlugin, createVersionDiffPlugin, createEmbedPlugin, createCodePlaygroundPlugin, createCommentThreadPlugin, getAllWakaSlashCommands, createWakaSlashPlugins, WAKA_BLOCK_COMMANDS, loadAllWakaBlockPlugins, USER_STORY_BLOCK_TYPE, ACCEPTANCE_CRITERIA_BLOCK_TYPE, API_ENDPOINT_BLOCK_TYPE, DIAGRAM_BLOCK_TYPE, AI_ASSIST_BLOCK_TYPE, VERSION_DIFF_BLOCK_TYPE, EMBED_BLOCK_TYPE, CODE_PLAYGROUND_BLOCK_TYPE, COMMENT_THREAD_BLOCK_TYPE, detectEmbedProvider, resolveEmbedUrl, } from './blocks';
|
|
80
|
-
export type { UserStoryElement, AcceptanceCriterion, AcceptanceCriteriaElement, HttpMethod, ApiParam, ApiResponse, ApiEndpointElement, DiagramSyntax, DiagramElement, AiAssistStatus, AiAssistElement, DiffLine, DiffHunk, VersionDiffElement, EmbedProvider, EmbedElement, PlaygroundLanguage, ExecutionStatus, CodePlaygroundElement, ThreadComment, ThreadStatus, CommentThreadElement, WakaUserStoryBlockProps, WakaAcceptanceCriteriaBlockProps, WakaApiEndpointBlockProps, WakaDiagramBlockProps, WakaAiAssistBlockProps, WakaVersionDiffBlockProps, WakaEmbedBlockProps, WakaCodePlaygroundBlockProps, WakaCommentThreadBlockProps, WakaSlashBlockCommand, WakaSlashMenuBlockProps, } from './blocks';
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
type SlateNode = any;
|
|
3
|
-
/** Predefined AI action available in the AI menu */
|
|
4
|
-
export interface AIAction {
|
|
5
|
-
/** Unique key */
|
|
6
|
-
key: string;
|
|
7
|
-
/** Display label */
|
|
8
|
-
label: string;
|
|
9
|
-
/** Icon name from lucide-react (optional) */
|
|
10
|
-
icon?: string;
|
|
11
|
-
/** Prompt template. Use {{selection}} for the selected text placeholder. */
|
|
12
|
-
prompt: string;
|
|
13
|
-
/** Group name for the menu */
|
|
14
|
-
group?: string;
|
|
15
|
-
}
|
|
16
|
-
/** Default AI actions available in the WakaAIWriter menu */
|
|
17
|
-
export declare const DEFAULT_AI_ACTIONS: AIAction[];
|
|
18
|
-
export interface WakaAIWriterProps {
|
|
19
|
-
/** Initial Slate content */
|
|
20
|
-
value?: SlateNode[];
|
|
21
|
-
/** Change callback */
|
|
22
|
-
onChange?: (value: SlateNode[]) => void;
|
|
23
|
-
/** API endpoint for AI completions (POST) */
|
|
24
|
-
aiEndpoint: string;
|
|
25
|
-
/**
|
|
26
|
-
* System prompt sent to the AI API alongside the user prompt.
|
|
27
|
-
* Allows per-tenant/per-app customization of the AI behavior.
|
|
28
|
-
*/
|
|
29
|
-
systemPrompt?: string;
|
|
30
|
-
/** AI actions available in the slash menu and AI menu */
|
|
31
|
-
aiActions?: AIAction[];
|
|
32
|
-
/** Enable ghost text copilot (inline AI suggestions) */
|
|
33
|
-
enableCopilot?: boolean;
|
|
34
|
-
/** Debounce delay for copilot suggestions in ms (default: 500) */
|
|
35
|
-
copilotDebounceMs?: number;
|
|
36
|
-
/** Headers to send with AI requests (e.g. Authorization) */
|
|
37
|
-
aiHeaders?: Record<string, string>;
|
|
38
|
-
/** Read-only mode */
|
|
39
|
-
readOnly?: boolean;
|
|
40
|
-
/** Placeholder text */
|
|
41
|
-
placeholder?: string;
|
|
42
|
-
/** CSS class */
|
|
43
|
-
className?: string;
|
|
44
|
-
/** Editor area CSS class */
|
|
45
|
-
editorClassName?: string;
|
|
46
|
-
/** Minimum height in px */
|
|
47
|
-
minHeight?: number;
|
|
48
|
-
/** Label */
|
|
49
|
-
label?: string;
|
|
50
|
-
/** Description */
|
|
51
|
-
description?: string;
|
|
52
|
-
/** Error */
|
|
53
|
-
error?: string;
|
|
54
|
-
/** Extra Plate plugins */
|
|
55
|
-
extraPlugins?: any[];
|
|
56
|
-
/** Ref to the Plate editor instance */
|
|
57
|
-
editorRef?: React.MutableRefObject<any>;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* WakaAIWriter — AI-powered rich text editor.
|
|
61
|
-
*
|
|
62
|
-
* Wraps Plate.js with `@platejs/ai` for:
|
|
63
|
-
* - Copilot ghost text (inline suggestions while typing)
|
|
64
|
-
* - AI menu (Cmd+J or `/ai`) with customizable actions
|
|
65
|
-
* - Configurable system prompt per tenant / app
|
|
66
|
-
*
|
|
67
|
-
* Requires peer dependencies: `platejs`, `@platejs/ai`, `@platejs/markdown`,
|
|
68
|
-
* `@platejs/basic-nodes`, `@platejs/selection`.
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* ```tsx
|
|
72
|
-
* <WakaAIWriter
|
|
73
|
-
* aiEndpoint="/api/ai/completion"
|
|
74
|
-
* systemPrompt="You are a helpful writing assistant for healthcare documentation."
|
|
75
|
-
* enableCopilot
|
|
76
|
-
* />
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
|
-
export declare const WakaAIWriter: React.ForwardRefExoticComponent<WakaAIWriterProps & React.RefAttributes<HTMLDivElement>>;
|
|
80
|
-
export {};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
type SlateNode = any;
|
|
3
|
-
/** Describes a remote user connected to the same document */
|
|
4
|
-
export interface CollaborationUser {
|
|
5
|
-
/** Unique user ID (e.g., keycloak-id) */
|
|
6
|
-
id: string;
|
|
7
|
-
/** Display name */
|
|
8
|
-
name: string;
|
|
9
|
-
/** Cursor color (CSS color value) */
|
|
10
|
-
color: string;
|
|
11
|
-
/** Optional avatar URL */
|
|
12
|
-
avatar?: string;
|
|
13
|
-
}
|
|
14
|
-
/** Provider configuration for Yjs */
|
|
15
|
-
export interface CollaborationProviderConfig {
|
|
16
|
-
/** Provider type */
|
|
17
|
-
type: "hocuspocus" | "webrtc";
|
|
18
|
-
/** Server URL (WebSocket) */
|
|
19
|
-
url: string;
|
|
20
|
-
/** Room/document name (must be unique per document) */
|
|
21
|
-
roomName: string;
|
|
22
|
-
/** Additional options */
|
|
23
|
-
options?: Record<string, unknown>;
|
|
24
|
-
}
|
|
25
|
-
export interface WakaCollaborativeEditorProps {
|
|
26
|
-
/** Initial Slate content (used only if the Y.Doc is empty) */
|
|
27
|
-
value?: SlateNode[];
|
|
28
|
-
/** Change callback */
|
|
29
|
-
onChange?: (value: SlateNode[]) => void;
|
|
30
|
-
/** Read-only mode */
|
|
31
|
-
readOnly?: boolean;
|
|
32
|
-
/** Placeholder */
|
|
33
|
-
placeholder?: string;
|
|
34
|
-
/** CSS class */
|
|
35
|
-
className?: string;
|
|
36
|
-
/** Editor CSS class */
|
|
37
|
-
editorClassName?: string;
|
|
38
|
-
/** Minimum height in px */
|
|
39
|
-
minHeight?: number;
|
|
40
|
-
/** Label */
|
|
41
|
-
label?: string;
|
|
42
|
-
/** Description */
|
|
43
|
-
description?: string;
|
|
44
|
-
/** Error */
|
|
45
|
-
error?: string;
|
|
46
|
-
/** Unique document ID for the collaboration room */
|
|
47
|
-
documentId: string;
|
|
48
|
-
/** Current user info for cursor display */
|
|
49
|
-
currentUser: CollaborationUser;
|
|
50
|
-
/** Collaboration provider configurations */
|
|
51
|
-
providers: CollaborationProviderConfig[];
|
|
52
|
-
/**
|
|
53
|
-
* Maximum number of concurrent participants per room.
|
|
54
|
-
* Enforced at the WebRTC level. Default: 10.
|
|
55
|
-
*/
|
|
56
|
-
maxParticipants?: number;
|
|
57
|
-
/** Callback when remote users change. Receives the list of connected users. */
|
|
58
|
-
onUsersChange?: (users: CollaborationUser[]) => void;
|
|
59
|
-
/** Show the connected users bar at the top */
|
|
60
|
-
showUsersBar?: boolean;
|
|
61
|
-
/** Extra Plate plugins */
|
|
62
|
-
extraPlugins?: any[];
|
|
63
|
-
/** Ref to editor instance */
|
|
64
|
-
editorRef?: React.MutableRefObject<any>;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* WakaCollaborativeEditor -- Real-time collaborative editor using Yjs.
|
|
68
|
-
*
|
|
69
|
-
* Wraps Plate.js with `@platejs/yjs` for real-time multi-user editing.
|
|
70
|
-
* Supports Hocuspocus (WebSocket) and WebRTC providers.
|
|
71
|
-
* Displays remote cursors with user names and colors.
|
|
72
|
-
*
|
|
73
|
-
* Multi-tenant aware: the `documentId` scopes the collaboration room,
|
|
74
|
-
* and can include tenant prefixes (e.g., `partner-123/spec-456`).
|
|
75
|
-
*
|
|
76
|
-
* Requires peer dependencies: `@platejs/yjs`, `yjs`, `y-websocket` or provider libs.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* ```tsx
|
|
80
|
-
* <WakaCollaborativeEditor
|
|
81
|
-
* documentId={`spec-${specId}`}
|
|
82
|
-
* currentUser={{ id: user.keycloakId, name: user.name, color: "#3b82f6" }}
|
|
83
|
-
* providers={[
|
|
84
|
-
* { type: "hocuspocus", url: "wss://collab.wakastart.app", roomName: `spec-${specId}` }
|
|
85
|
-
* ]}
|
|
86
|
-
* showUsersBar
|
|
87
|
-
* value={initialContent}
|
|
88
|
-
* onChange={handleChange}
|
|
89
|
-
* />
|
|
90
|
-
* ```
|
|
91
|
-
*/
|
|
92
|
-
export declare const WakaCollaborativeEditor: React.ForwardRefExoticComponent<WakaCollaborativeEditorProps & React.RefAttributes<HTMLDivElement>>;
|
|
93
|
-
export {};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
type SlateNode = any;
|
|
3
|
-
/** Statistics about the diff between two documents */
|
|
4
|
-
export interface DiffStats {
|
|
5
|
-
/** Number of nodes added */
|
|
6
|
-
added: number;
|
|
7
|
-
/** Number of nodes removed */
|
|
8
|
-
removed: number;
|
|
9
|
-
/** Number of nodes modified */
|
|
10
|
-
modified: number;
|
|
11
|
-
/** Number of unchanged nodes */
|
|
12
|
-
unchanged: number;
|
|
13
|
-
}
|
|
14
|
-
export interface WakaDiffViewerProps {
|
|
15
|
-
/** Original (before) Slate document */
|
|
16
|
-
original: SlateNode[];
|
|
17
|
-
/** Modified (after) Slate document */
|
|
18
|
-
modified: SlateNode[];
|
|
19
|
-
/** Display mode */
|
|
20
|
-
mode?: "inline" | "side-by-side";
|
|
21
|
-
/** Label */
|
|
22
|
-
label?: string;
|
|
23
|
-
/** Description */
|
|
24
|
-
description?: string;
|
|
25
|
-
/** CSS class */
|
|
26
|
-
className?: string;
|
|
27
|
-
/** Editor area CSS class */
|
|
28
|
-
editorClassName?: string;
|
|
29
|
-
/** Minimum height in px */
|
|
30
|
-
minHeight?: number;
|
|
31
|
-
/** Show diff statistics header */
|
|
32
|
-
showStats?: boolean;
|
|
33
|
-
/** Label for the original document */
|
|
34
|
-
originalLabel?: string;
|
|
35
|
-
/** Label for the modified document */
|
|
36
|
-
modifiedLabel?: string;
|
|
37
|
-
/** Callback with diff stats when diff is computed */
|
|
38
|
-
onDiffComputed?: (stats: DiffStats) => void;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* WakaDiffViewer -- Visual diff between two document versions.
|
|
42
|
-
*
|
|
43
|
-
* Uses `@platejs/diff` to compute and render differences between
|
|
44
|
-
* two Slate document trees. Supports inline (unified) and
|
|
45
|
-
* side-by-side diff views.
|
|
46
|
-
*
|
|
47
|
-
* Rendering:
|
|
48
|
-
* - Added text is highlighted in green
|
|
49
|
-
* - Removed text is highlighted in red with strikethrough
|
|
50
|
-
* - Modified blocks show both states
|
|
51
|
-
*
|
|
52
|
-
* Useful for:
|
|
53
|
-
* - Specification version comparison (ws-serv-specs)
|
|
54
|
-
* - Audit trail diff review (ws-serv-audit)
|
|
55
|
-
* - Contract amendment review (WakaSign)
|
|
56
|
-
* - Content editorial review (WakaPress)
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```tsx
|
|
60
|
-
* <WakaDiffViewer
|
|
61
|
-
* original={previousVersion}
|
|
62
|
-
* modified={currentVersion}
|
|
63
|
-
* mode="side-by-side"
|
|
64
|
-
* showStats
|
|
65
|
-
* originalLabel="v1.2.0"
|
|
66
|
-
* modifiedLabel="v1.3.0"
|
|
67
|
-
* />
|
|
68
|
-
* ```
|
|
69
|
-
*/
|
|
70
|
-
export declare const WakaDiffViewer: React.ForwardRefExoticComponent<WakaDiffViewerProps & React.RefAttributes<HTMLDivElement>>;
|
|
71
|
-
export {};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
type SlateNode = any;
|
|
3
|
-
export interface WakaDnDEditorProps {
|
|
4
|
-
/** Initial Slate content */
|
|
5
|
-
value?: SlateNode[];
|
|
6
|
-
/** Change callback */
|
|
7
|
-
onChange?: (value: SlateNode[]) => void;
|
|
8
|
-
/** Read-only mode */
|
|
9
|
-
readOnly?: boolean;
|
|
10
|
-
/** Placeholder */
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
/** CSS class */
|
|
13
|
-
className?: string;
|
|
14
|
-
/** Editor CSS class */
|
|
15
|
-
editorClassName?: string;
|
|
16
|
-
/** Minimum height in px */
|
|
17
|
-
minHeight?: number;
|
|
18
|
-
/** Label */
|
|
19
|
-
label?: string;
|
|
20
|
-
/** Description */
|
|
21
|
-
description?: string;
|
|
22
|
-
/** Error */
|
|
23
|
-
error?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Show a drag handle gutter on the left side of each block.
|
|
26
|
-
* When false, DnD still works but handles are hidden.
|
|
27
|
-
*/
|
|
28
|
-
showDragHandles?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Show a drop line indicator when dragging blocks.
|
|
31
|
-
* Defaults to true.
|
|
32
|
-
*/
|
|
33
|
-
showDropIndicator?: boolean;
|
|
34
|
-
/** Extra Plate plugins */
|
|
35
|
-
extraPlugins?: any[];
|
|
36
|
-
/** Ref to editor instance */
|
|
37
|
-
editorRef?: React.MutableRefObject<any>;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* WakaDnDEditor -- Plate editor with drag-and-drop block reordering.
|
|
41
|
-
*
|
|
42
|
-
* Users can grab any block by its drag handle and reorder it within
|
|
43
|
-
* the document. Built on top of `@platejs/dnd` and `@dnd-kit`.
|
|
44
|
-
*
|
|
45
|
-
* Includes block selection via `@platejs/selection` so users can
|
|
46
|
-
* select multiple blocks and drag them as a group.
|
|
47
|
-
*
|
|
48
|
-
* Useful for:
|
|
49
|
-
* - Kanban-style content builders
|
|
50
|
-
* - Form builders (WakaStart app wizard)
|
|
51
|
-
* - Reorderable document sections
|
|
52
|
-
* - Spec editor with rearrangeable requirements
|
|
53
|
-
*
|
|
54
|
-
* @example
|
|
55
|
-
* ```tsx
|
|
56
|
-
* <WakaDnDEditor
|
|
57
|
-
* value={blocks}
|
|
58
|
-
* onChange={setBlocks}
|
|
59
|
-
* showDragHandles
|
|
60
|
-
* />
|
|
61
|
-
* ```
|
|
62
|
-
*/
|
|
63
|
-
export declare const WakaDnDEditor: React.ForwardRefExoticComponent<WakaDnDEditorProps & React.RefAttributes<HTMLDivElement>>;
|
|
64
|
-
export {};
|