@wakastellar/ui 3.5.2 → 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/badge-B2Kw7ew3.js +1 -0
- package/dist/badge-BvqcaobM.mjs +23 -0
- package/dist/blocks/chat/index.d.ts +112 -0
- package/dist/blocks/chat/widget.d.ts +100 -0
- package/dist/blocks/dashboard/index.d.ts +95 -0
- package/dist/blocks/empty-states/index.d.ts +47 -0
- package/dist/blocks/error-pages/index.d.ts +55 -0
- package/dist/blocks/landing/index.d.ts +104 -0
- package/dist/blocks/login/index.d.ts +42 -0
- package/dist/blocks/pricing/index.d.ts +64 -0
- package/dist/blocks/sidebar/index.d.ts +155 -0
- package/dist/blocks/threat-alert-banner/index.d.ts +26 -0
- package/dist/blocks/waka-doc-shell/index.d.ts +3 -0
- package/dist/blocks/waka-doc-shell/types.d.ts +32 -0
- package/dist/charts.cjs.js +1 -1
- package/dist/charts.d.ts +17 -1
- package/dist/charts.es.js +2 -1
- package/dist/chunk-BJivcVNn.mjs +24 -0
- package/dist/chunk-FDd1SASZ.js +1 -0
- package/dist/cli/index.cjs +54 -3
- package/dist/cn-Bpd_xIzI.mjs +23 -0
- package/dist/cn-DEeiGoUV.js +1 -0
- package/dist/components/DataTable/DataTable.d.ts +17 -0
- package/dist/components/DataTable/DataTableAdvanced.d.ts +27 -0
- package/dist/components/DataTable/DataTableColumnResizer.d.ts +8 -0
- package/dist/components/DataTable/DataTableFilters.d.ts +14 -0
- package/dist/components/DataTable/DataTableGrouping.d.ts +25 -0
- package/dist/components/DataTable/DataTablePagination.d.ts +8 -0
- package/dist/components/DataTable/DataTableToolbar.d.ts +14 -0
- package/dist/components/DataTable/hooks/useDataTable.d.ts +24 -0
- package/dist/components/DataTable/hooks/useDataTableAdvanced.d.ts +38 -0
- package/dist/components/DataTable/hooks/useDataTableEdit.d.ts +22 -0
- package/dist/components/DataTable/hooks/useDataTableExport.d.ts +15 -0
- package/dist/components/DataTable/hooks/useDataTableImport.d.ts +12 -0
- package/dist/components/DataTable/hooks/useDataTableTheme.d.ts +16 -0
- package/dist/components/DataTable/hooks/useDataTableVirtualization.d.ts +19 -0
- package/dist/components/DataTable/hooks/useTableLayout.d.ts +26 -0
- package/dist/components/DataTable/index.d.ts +37 -0
- package/dist/components/DataTable/types.d.ts +461 -0
- package/dist/components/DataTable/utils.d.ts +37 -0
- package/dist/components/alert/index.d.ts +8 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/button/index.d.ts +11 -0
- package/dist/components/calendar/index.d.ts +18 -0
- package/dist/components/card/index.d.ts +46 -0
- package/dist/components/code/index.d.ts +49 -0
- package/dist/components/command/index.d.ts +83 -0
- package/dist/components/error-boundary/ErrorBoundary.d.ts +102 -0
- package/dist/components/error-boundary/index.d.ts +2 -0
- package/dist/components/form/index.d.ts +23 -0
- package/dist/components/input/index.d.ts +19 -0
- package/dist/components/label/index.d.ts +5 -0
- package/dist/components/navigation-menu/index.d.ts +12 -0
- package/dist/components/sheet/index.d.ts +27 -0
- package/dist/components/skeleton/index.d.ts +13 -0
- package/dist/components/table/index.d.ts +21 -0
- package/dist/components/textarea/index.d.ts +14 -0
- package/dist/components/toast/index.d.ts +15 -0
- package/dist/components/toggle/index.d.ts +12 -0
- package/dist/components/typography/index.d.ts +85 -0
- package/dist/components/waka-3d-pie-chart/index.d.ts +67 -0
- package/dist/components/waka-achievement-unlock/index.d.ts +83 -0
- package/dist/components/waka-ad-banner/index.d.ts +36 -0
- package/dist/components/waka-ad-fallback/index.d.ts +33 -0
- package/dist/components/waka-ad-inline/index.d.ts +15 -0
- package/dist/components/waka-ad-interstitial/index.d.ts +26 -0
- package/dist/components/waka-ad-placeholder/index.d.ts +17 -0
- package/dist/components/waka-ad-provider/index.d.ts +103 -0
- package/dist/components/waka-ad-sidebar/index.d.ts +18 -0
- package/dist/components/waka-ad-sticky-footer/index.d.ts +17 -0
- package/dist/components/waka-address-autocomplete/index.d.ts +129 -0
- package/dist/components/waka-admincrumb/index.d.ts +55 -0
- package/dist/components/waka-bottom-sheet/index.d.ts +61 -0
- package/dist/components/waka-carousel/index.d.ts +105 -0
- package/dist/components/waka-charts/WakaAreaChart.d.ts +12 -0
- package/dist/components/waka-charts/WakaBarChart.d.ts +12 -0
- package/dist/components/waka-charts/WakaChart.d.ts +17 -0
- package/dist/components/waka-charts/WakaLineChart.d.ts +12 -0
- package/dist/components/waka-charts/WakaMiniChart.d.ts +13 -0
- package/dist/components/waka-charts/WakaPieChart.d.ts +12 -0
- package/dist/components/waka-charts/WakaSparkline.d.ts +13 -0
- package/dist/components/waka-charts/dataTableHelpers.d.ts +37 -0
- package/dist/components/waka-charts/hooks/useChartTheme.d.ts +27 -0
- package/dist/components/waka-charts/index.d.ts +57 -0
- package/dist/components/waka-charts/types.d.ts +302 -0
- package/dist/components/waka-chat-bubble/index.d.ts +127 -0
- package/dist/components/waka-checkout-stepper/index.d.ts +154 -0
- package/dist/components/waka-cohort-table/index.d.ts +130 -0
- package/dist/components/waka-combobox/index.d.ts +81 -0
- package/dist/components/waka-command-bar/index.d.ts +45 -0
- package/dist/components/waka-connection-matrix/index.d.ts +117 -0
- package/dist/components/waka-content-recommendation/index.d.ts +23 -0
- package/dist/components/waka-cost-breakdown/index.d.ts +50 -0
- package/dist/components/waka-credit-activity-feed/index.d.ts +21 -0
- package/dist/components/waka-credit-alert/index.d.ts +24 -0
- package/dist/components/waka-credit-balance/index.d.ts +30 -0
- package/dist/components/waka-credit-history/index.d.ts +31 -0
- package/dist/components/waka-credit-meter/index.d.ts +27 -0
- package/dist/components/waka-credit-pricing-pack/index.d.ts +17 -0
- package/dist/components/waka-credit-quota/index.d.ts +25 -0
- package/dist/components/waka-credit-receipt/index.d.ts +23 -0
- package/dist/components/waka-credit-top-up/index.d.ts +26 -0
- package/dist/components/waka-credit-transaction/index.d.ts +22 -0
- package/dist/components/waka-daily-reward/index.d.ts +76 -0
- package/dist/components/waka-date-range-picker/index.d.ts +68 -0
- package/dist/components/waka-datetime-picker.form-integration/index.d.ts +79 -0
- package/dist/components/waka-device-trust/index.d.ts +95 -0
- package/dist/components/waka-doc-breadcrumb/index.d.ts +11 -0
- package/dist/components/waka-doc-code-block/index.d.ts +23 -0
- package/dist/components/waka-doc-renderer/index.d.ts +7 -0
- package/dist/components/waka-doc-search/index.d.ts +23 -0
- package/dist/components/waka-doc-toc/index.d.ts +11 -0
- package/dist/components/waka-doc-toolbar/index.d.ts +15 -0
- package/dist/components/waka-dock/index.d.ts +49 -0
- package/dist/components/waka-error-shake/index.d.ts +49 -0
- package/dist/components/waka-feature-announcement/index.d.ts +112 -0
- package/dist/components/waka-flow-diagram/index.d.ts +71 -0
- package/dist/components/waka-haptic-button/index.d.ts +50 -0
- package/dist/components/waka-hotspot/index.d.ts +111 -0
- package/dist/components/waka-leaderboard/index.d.ts +85 -0
- package/dist/components/waka-liquid-button/index.d.ts +46 -0
- package/dist/components/waka-loading-orbit/index.d.ts +90 -0
- package/dist/components/waka-magnetic-button/index.d.ts +61 -0
- package/dist/components/waka-metric-sparkline/index.d.ts +46 -0
- package/dist/components/waka-modal/index.d.ts +87 -0
- package/dist/components/waka-morph-button/index.d.ts +62 -0
- package/dist/components/waka-number-input/index.d.ts +60 -0
- package/dist/components/waka-outstream-video/index.d.ts +24 -0
- package/dist/components/waka-password-strength/index.d.ts +98 -0
- package/dist/components/waka-payment-method-picker/index.d.ts +88 -0
- package/dist/components/waka-points-popup/index.d.ts +75 -0
- package/dist/components/waka-power-up/index.d.ts +103 -0
- package/dist/components/waka-pricing-table/index.d.ts +77 -0
- package/dist/components/waka-progress-onboarding/index.d.ts +97 -0
- package/dist/components/waka-pull-to-refresh/index.d.ts +45 -0
- package/dist/components/waka-quota-bar/index.d.ts +100 -0
- package/dist/components/waka-radar-score/index.d.ts +95 -0
- package/dist/components/waka-resource-pool/index.d.ts +81 -0
- package/dist/components/waka-rich-text-editor/index.d.ts +42 -0
- package/dist/components/waka-segmented-control/index.d.ts +42 -0
- package/dist/components/waka-session-manager/index.d.ts +116 -0
- package/dist/components/waka-skeleton-wave/index.d.ts +79 -0
- package/dist/components/waka-spinner/index.d.ts +46 -0
- package/dist/components/waka-sponsored-card/index.d.ts +25 -0
- package/dist/components/waka-sponsored-feed/index.d.ts +31 -0
- package/dist/components/waka-spotlight/index.d.ts +47 -0
- package/dist/components/waka-stat/index.d.ts +57 -0
- package/dist/components/waka-stats-hexagon/index.d.ts +149 -0
- package/dist/components/waka-success-explosion/index.d.ts +51 -0
- package/dist/components/waka-swipe-card/index.d.ts +64 -0
- package/dist/components/waka-tabs-morph/index.d.ts +66 -0
- package/dist/components/waka-tag-input/index.d.ts +134 -0
- package/dist/components/waka-theme-manager/index.d.ts +62 -0
- package/dist/components/waka-tooltip-tour/index.d.ts +123 -0
- package/dist/components/waka-tour-guide/index.d.ts +127 -0
- package/dist/components/waka-tournament-bracket/index.d.ts +101 -0
- package/dist/components/waka-typing-indicator/index.d.ts +64 -0
- package/dist/components/waka-versus-card/index.d.ts +117 -0
- package/dist/components/waka-video-ad/index.d.ts +32 -0
- package/dist/components/waka-video-call/index.d.ts +170 -0
- package/dist/components/waka-video-overlay/index.d.ts +26 -0
- package/dist/context/admincrumb-context.d.ts +34 -0
- package/dist/context/index.d.ts +8 -0
- package/dist/context/theme-context.d.ts +39 -0
- package/dist/context/waka-provider.d.ts +50 -0
- package/dist/doc.cjs.js +1 -1
- package/dist/doc.d.ts +33 -1
- package/dist/doc.es.js +5 -4
- package/dist/editor.cjs.js +9 -9
- package/dist/editor.es.js +1932 -2014
- package/dist/exceljs.min-BQi0sACt.js +28 -0
- package/dist/exceljs.min-M0HhQgNK.mjs +32046 -0
- package/dist/export.cjs.js +1 -1
- package/dist/export.d.ts +30 -1
- package/dist/export.es.js +2 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-toast.d.ts +44 -0
- package/dist/hooks/useToast.d.ts +44 -0
- package/dist/index.cjs.js +96 -96
- package/dist/index.d.ts +38 -1
- package/dist/index.es.js +25924 -26086
- package/dist/input-B8pxqKEs.mjs +14 -0
- package/dist/input-vHHUMve1.js +1 -0
- package/dist/lib/i18n.d.ts +4 -0
- package/dist/rich-text.cjs.js +1 -1
- package/dist/rich-text.d.ts +21 -1
- package/dist/rich-text.es.js +2 -1
- package/dist/security-ClfRkelC.mjs +120 -0
- package/dist/security-DwyLk9h1.js +1 -0
- package/dist/separator-DDQs13_a.mjs +51 -0
- package/dist/separator-DviMy-io.js +1 -0
- package/dist/textarea-C4AbqFOT.mjs +23 -0
- package/dist/textarea-jycisJkk.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types-CUCT8Mwf.js +1 -0
- package/dist/types-DXkPQFit.mjs +935 -0
- package/dist/useDataTableImport-DNU1m8NO.js +7 -0
- package/dist/useDataTableImport-z5avsB21.mjs +251 -0
- package/dist/utils/datetime-helpers.d.ts +147 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/theme-loader.d.ts +101 -0
- package/dist/utils/tweak.d.ts +18 -0
- package/dist/waka-doc-renderer-22MUZbyl.js +3 -0
- package/dist/waka-doc-renderer-BZ3DtCzv.mjs +1678 -0
- package/dist/waka-editor-plugins-DO4BF3o_.js +1 -0
- package/dist/waka-editor-plugins-_0WFrkKK.mjs +136 -0
- package/dist/waka-rich-text-editor-DcZuIQ-q.js +1 -0
- package/dist/waka-rich-text-editor-SOKYDdDP.mjs +348 -0
- package/package.json +84 -26
- package/src/blocks/activity-timeline/ActivityTimeline.mdx +117 -0
- package/src/blocks/activity-timeline/ActivityTimeline.stories.tsx +18 -1
- package/src/blocks/antivirus-dashboard/AntivirusDashboard.stories.tsx +8 -0
- package/src/blocks/antivirus-dashboard/index.tsx +14 -0
- package/src/blocks/apm-overview/APMOverview.stories.tsx +8 -0
- package/src/blocks/apm-overview/index.tsx +14 -0
- package/src/blocks/auth-2fa/Auth2FA.mdx +85 -0
- package/src/blocks/auth-2fa/Auth2FA.stories.tsx +8 -1
- package/src/blocks/calendar-view/CalendarView.mdx +101 -0
- package/src/blocks/calendar-view/CalendarView.stories.tsx +15 -1
- package/src/blocks/chat/Chat.mdx +121 -0
- package/src/blocks/chat/Chat.stories.tsx +45 -51
- package/src/blocks/chat-interface/ChatInterface.mdx +109 -0
- package/src/blocks/chat-interface/ChatInterface.stories.tsx +54 -65
- package/src/blocks/checkout-flow/CheckoutFlow.mdx +89 -0
- package/src/blocks/checkout-flow/CheckoutFlow.stories.tsx +9 -1
- package/src/blocks/cicd-builder/CICDBuilder.stories.tsx +8 -0
- package/src/blocks/cicd-builder/index.tsx +14 -0
- package/src/blocks/clamav-service-status/ClamAVServiceStatus.stories.tsx +8 -0
- package/src/blocks/clamav-service-status/index.tsx +14 -0
- package/src/blocks/cloud-cost-dashboard/CloudCostDashboard.stories.tsx +8 -0
- package/src/blocks/cloud-cost-dashboard/index.tsx +14 -0
- package/src/blocks/container-orchestrator/ContainerOrchestrator.stories.tsx +8 -0
- package/src/blocks/container-orchestrator/index.tsx +14 -0
- package/src/blocks/dashboard/Dashboard.mdx +105 -0
- package/src/blocks/dashboard/Dashboard.stories.tsx +14 -1
- package/src/blocks/dashboard-kpi/DashboardKPI.mdx +97 -0
- package/src/blocks/dashboard-kpi/DashboardKPI.stories.tsx +11 -1
- package/src/blocks/database-admin/DatabaseAdmin.stories.tsx +8 -0
- package/src/blocks/database-admin/index.tsx +14 -0
- package/src/blocks/deployment-dashboard/DeploymentDashboard.stories.tsx +8 -0
- package/src/blocks/deployment-dashboard/index.tsx +14 -0
- package/src/blocks/empty-states/EmptyStates.mdx +129 -0
- package/src/blocks/empty-states/EmptyStates.stories.tsx +15 -1
- package/src/blocks/error-pages/ErrorPages.mdx +129 -0
- package/src/blocks/error-pages/ErrorPages.stories.tsx +82 -100
- package/src/blocks/faq/FAQ.mdx +113 -0
- package/src/blocks/faq/FAQ.stories.tsx +16 -1
- package/src/blocks/file-manager/FileManager.mdx +105 -0
- package/src/blocks/file-manager/FileManager.stories.tsx +15 -1
- package/src/blocks/file-scan-uploader/FileScanUploader.stories.tsx +8 -0
- package/src/blocks/file-scan-uploader/index.tsx +14 -0
- package/src/blocks/footer/Footer.mdx +101 -0
- package/src/blocks/footer/Footer.stories.tsx +38 -46
- package/src/blocks/gitops-sync-status/GitOpsSyncStatus.stories.tsx +8 -0
- package/src/blocks/gitops-sync-status/index.tsx +14 -0
- package/src/blocks/header/WakaHeader.mdx +97 -0
- package/src/blocks/header/WakaHeader.stories.tsx +12 -1
- package/src/blocks/headtab/Headtab.mdx +105 -0
- package/src/blocks/headtab/Headtab.stories.tsx +12 -1
- package/src/blocks/i18n-editor/I18nEditor.mdx +85 -0
- package/src/blocks/i18n-editor/I18nEditor.stories.tsx +8 -1
- package/src/blocks/incident-manager/IncidentManager.stories.tsx +8 -0
- package/src/blocks/incident-manager/index.tsx +14 -0
- package/src/blocks/infrastructure-map/InfrastructureMap.stories.tsx +8 -0
- package/src/blocks/infrastructure-map/index.tsx +14 -0
- package/src/blocks/kanban-board/KanbanBoard.stories.tsx +32 -37
- package/src/blocks/kanban-board/WakaKanbanBoard.mdx +93 -0
- package/src/blocks/landing/WakaLanding.mdx +85 -0
- package/src/blocks/landing/WakaLanding.stories.tsx +49 -57
- package/src/blocks/language-selector/LanguageSelector.mdx +89 -0
- package/src/blocks/language-selector/LanguageSelector.stories.tsx +12 -1
- package/src/blocks/layout/Layout.mdx +85 -0
- package/src/blocks/layout/Layout.stories.tsx +11 -1
- package/src/blocks/login/Login.mdx +105 -0
- package/src/blocks/login/Login.stories.tsx +11 -1
- package/src/blocks/on-call-schedule/OnCallSchedule.stories.tsx +8 -0
- package/src/blocks/on-call-schedule/index.tsx +14 -0
- package/src/blocks/player-profile/PlayerProfile.stories.tsx +8 -0
- package/src/blocks/player-profile/index.tsx +14 -0
- package/src/blocks/pricing/WakaPricing.mdx +101 -0
- package/src/blocks/pricing/WakaPricing.stories.tsx +27 -31
- package/src/blocks/profile/Profile.stories.tsx +15 -1
- package/src/blocks/profile/WakaProfile.mdx +109 -0
- package/src/blocks/quarantine-manager/QuarantineManager.stories.tsx +8 -0
- package/src/blocks/quarantine-manager/index.tsx +14 -0
- package/src/blocks/release-notes/ReleaseNotes.mdx +101 -0
- package/src/blocks/release-notes/ReleaseNotes.stories.tsx +11 -1
- package/src/blocks/scan-history-log/ScanHistoryLog.stories.tsx +8 -0
- package/src/blocks/scan-history-log/index.tsx +14 -0
- package/src/blocks/scan-policy-editor/ScanPolicyEditor.stories.tsx +8 -0
- package/src/blocks/scan-policy-editor/index.tsx +14 -0
- package/src/blocks/scan-report-generator/ScanReportGenerator.stories.tsx +8 -0
- package/src/blocks/scan-report-generator/index.tsx +14 -0
- package/src/blocks/settings/Settings.stories.tsx +13 -1
- package/src/blocks/settings/WakaSettings.mdx +89 -0
- package/src/blocks/sidebar/WakaSidebar.mdx +101 -0
- package/src/blocks/sidebar/WakaSidebar.stories.tsx +12 -1
- package/src/blocks/signature-database-manager/SignatureDatabaseManager.stories.tsx +8 -0
- package/src/blocks/signature-database-manager/index.tsx +14 -0
- package/src/blocks/theme-creator-block/ThemeCreatorBlock.stories.tsx +8 -0
- package/src/blocks/theme-creator-block/index.tsx +14 -0
- package/src/blocks/threat-alert-banner/ThreatAlertBanner.stories.tsx +8 -0
- package/src/blocks/threat-alert-banner/index.tsx +14 -0
- package/src/blocks/user-management/UserManagement.stories.tsx +13 -0
- package/src/blocks/user-management/index.tsx +14 -0
- package/src/blocks/waka-doc-shell/WakaDocShell.mdx +61 -0
- package/src/blocks/waka-doc-shell/WakaDocShell.stories.tsx +21 -24
- package/src/blocks/waka-doc-shell/types.ts +3 -3
- package/src/blocks/wizard/WakaWizard.mdx +117 -0
- package/src/blocks/wizard/Wizard.stories.tsx +19 -1
- package/src/components/DataTable/DataTable.mdx +87 -0
- package/src/components/DataTable/DataTable.stories.tsx +0 -1
- package/src/components/MDX_DOCS_GUIDELINE.md +69 -0
- package/src/components/accordion/Accordion.mdx +73 -0
- package/src/components/accordion/Accordion.stories.tsx +83 -1
- package/src/components/alert/Alert.mdx +85 -0
- package/src/components/alert/Alert.stories.tsx +78 -7
- package/src/components/alert-dialog/AlertDialog.mdx +77 -0
- package/src/components/alert-dialog/AlertDialog.stories.tsx +81 -4
- package/src/components/aspect-ratio/AspectRatio.mdx +81 -0
- package/src/components/aspect-ratio/AspectRatio.stories.tsx +53 -1
- package/src/components/avatar/Avatar.mdx +81 -0
- package/src/components/avatar/Avatar.stories.tsx +83 -4
- package/src/components/badge/Badge.mdx +85 -0
- package/src/components/badge/Badge.stories.tsx +106 -5
- package/src/components/button/Button.mdx +85 -0
- package/src/components/button/Button.stories.tsx +0 -1
- package/src/components/calendar/Calendar.mdx +81 -0
- package/src/components/calendar/Calendar.stories.tsx +73 -1
- package/src/components/calendar/index.tsx +10 -0
- package/src/components/card/Card.mdx +85 -0
- package/src/components/card/Card.stories.tsx +147 -6
- package/src/components/card/index.tsx +51 -24
- package/src/components/checkbox/Checkbox.mdx +77 -0
- package/src/components/checkbox/Checkbox.stories.tsx +75 -1
- package/src/components/code/Code.mdx +103 -0
- package/src/components/code/Code.stories.tsx +16 -1
- package/src/components/collapsible/Collapsible.mdx +73 -0
- package/src/components/collapsible/Collapsible.stories.tsx +86 -1
- package/src/components/command/Command.mdx +77 -0
- package/src/components/command/Command.stories.tsx +100 -6
- package/src/components/context-menu/ContextMenu.mdx +77 -0
- package/src/components/context-menu/ContextMenu.stories.tsx +35 -1
- package/src/components/dialog/Dialog.mdx +81 -0
- package/src/components/dialog/Dialog.stories.tsx +139 -4
- package/src/components/dropdown-menu/DropdownMenu.mdx +77 -0
- package/src/components/dropdown-menu/DropdownMenu.stories.tsx +60 -1
- package/src/components/editor/blocks/waka-slash-menu-block.tsx +39 -74
- package/src/components/editor/index.ts +14 -0
- package/src/components/editor/waka-floating-toolbar.tsx +116 -58
- package/src/components/error-boundary/ErrorBoundary.mdx +61 -0
- package/src/components/error-boundary/ErrorBoundary.stories.tsx +1 -2
- package/src/components/form/Form.mdx +77 -0
- package/src/components/form/Form.stories.tsx +166 -1
- package/src/components/hover-card/HoverCard.mdx +77 -0
- package/src/components/hover-card/HoverCard.stories.tsx +101 -4
- package/src/components/input/Input.mdx +77 -0
- package/src/components/input/Input.stories.tsx +4 -3
- package/src/components/input/index.tsx +16 -1
- package/src/components/input-otp/InputOTP.mdx +91 -0
- package/src/components/input-otp/InputOTP.stories.tsx +6 -4
- package/src/components/label/Label.mdx +81 -0
- package/src/components/label/Label.stories.tsx +41 -1
- package/src/components/language-selector/LanguageSelector.mdx +73 -0
- package/src/components/language-selector/LanguageSelector.stories.tsx +0 -1
- package/src/components/menubar/Menubar.mdx +77 -0
- package/src/components/menubar/Menubar.stories.tsx +76 -1
- package/src/components/navigation-menu/NavigationMenu.mdx +73 -0
- package/src/components/navigation-menu/NavigationMenu.stories.tsx +98 -1
- package/src/components/popover/Popover.mdx +81 -0
- package/src/components/popover/Popover.stories.tsx +110 -4
- package/src/components/progress/Progress.mdx +81 -0
- package/src/components/progress/Progress.stories.tsx +53 -2
- package/src/components/progress/index.tsx +1 -0
- package/src/components/radio-group/RadioGroup.mdx +77 -0
- package/src/components/radio-group/RadioGroup.stories.tsx +54 -1
- package/src/components/scroll-area/ScrollArea.mdx +77 -0
- package/src/components/scroll-area/ScrollArea.stories.tsx +57 -1
- package/src/components/select/Select.mdx +81 -0
- package/src/components/select/Select.stories.tsx +100 -4
- package/src/components/separator/Separator.mdx +81 -0
- package/src/components/separator/Separator.stories.tsx +45 -1
- package/src/components/sheet/Sheet.mdx +73 -0
- package/src/components/sheet/Sheet.stories.tsx +97 -4
- package/src/components/skeleton/Skeleton.mdx +77 -0
- package/src/components/skeleton/Skeleton.stories.tsx +0 -1
- package/src/components/skeleton/index.tsx +13 -4
- package/src/components/slider/Slider.mdx +73 -0
- package/src/components/slider/Slider.stories.tsx +10 -11
- package/src/components/slider/index.tsx +30 -15
- package/src/components/switch/Switch.mdx +81 -0
- package/src/components/switch/Switch.stories.tsx +66 -7
- package/src/components/table/Table.mdx +77 -0
- package/src/components/table/Table.stories.tsx +107 -6
- package/src/components/table/index.tsx +13 -4
- package/src/components/tabs/Tabs.mdx +81 -0
- package/src/components/tabs/Tabs.stories.tsx +156 -7
- package/src/components/textarea/Textarea.mdx +77 -0
- package/src/components/textarea/Textarea.stories.tsx +9 -10
- package/src/components/textarea/index.tsx +11 -1
- package/src/components/theme-selector/ThemeSelector.mdx +67 -0
- package/src/components/theme-selector/ThemeSelector.stories.tsx +0 -1
- package/src/components/toast/Toast.mdx +77 -0
- package/src/components/toast/Toast.stories.tsx +62 -1
- package/src/components/toaster/Toaster.mdx +57 -0
- package/src/components/toaster/Toaster.stories.tsx +1 -2
- package/src/components/toggle/Toggle.mdx +77 -0
- package/src/components/toggle/Toggle.stories.tsx +0 -1
- package/src/components/tooltip/Tooltip.mdx +81 -0
- package/src/components/tooltip/Tooltip.stories.tsx +48 -1
- package/src/components/typography/Typography.mdx +97 -0
- package/src/components/typography/Typography.stories.tsx +0 -1
- package/src/components/waka-3d-pie-chart/Waka3DPieChart.stories.tsx +24 -14
- package/src/components/waka-3d-pie-chart/index.tsx +17 -2
- package/src/components/waka-achievement-unlock/WakaAchievementUnlock.stories.tsx +9 -10
- package/src/components/waka-achievement-unlock/index.tsx +14 -0
- package/src/components/waka-activity-feed/index.tsx +14 -0
- package/src/components/waka-ad-banner/WakaAdBanner.stories.tsx +1 -1
- package/src/components/waka-ad-banner/index.tsx +14 -0
- package/src/components/waka-ad-fallback/index.tsx +14 -0
- package/src/components/waka-ad-inline/index.tsx +14 -0
- package/src/components/waka-ad-interstitial/index.tsx +14 -0
- package/src/components/waka-ad-placeholder/index.tsx +14 -0
- package/src/components/waka-ad-provider/index.tsx +15 -1
- package/src/components/waka-ad-sidebar/index.tsx +14 -0
- package/src/components/waka-ad-sticky-footer/index.tsx +14 -0
- package/src/components/waka-address-autocomplete/WakaAddressAutocomplete.mdx +63 -0
- package/src/components/waka-address-autocomplete/WakaAddressAutocomplete.stories.tsx +0 -1
- package/src/components/waka-address-autocomplete/index.tsx +5 -0
- package/src/components/waka-admincrumb/WakaAdmincrumb.stories.tsx +52 -30
- package/src/components/waka-admincrumb/index.tsx +14 -0
- package/src/components/waka-alert-panel/index.tsx +14 -0
- package/src/components/waka-alert-stack/index.tsx +14 -0
- package/src/components/waka-allocation-matrix/index.tsx +23 -0
- package/src/components/waka-approval-chain/index.tsx +14 -0
- package/src/components/waka-artifact-list/index.tsx +14 -0
- package/src/components/waka-audit-log/index.tsx +28 -0
- package/src/components/waka-autocomplete/WakaAutocomplete.mdx +83 -0
- package/src/components/waka-autocomplete/WakaAutocomplete.stories.tsx +0 -1
- package/src/components/waka-badge-showcase/index.tsx +14 -0
- package/src/components/waka-barcode/WakaBarcode.mdx +93 -0
- package/src/components/waka-barcode/WakaBarcode.stories.tsx +13 -1
- package/src/components/waka-biometric-prompt/index.tsx +14 -0
- package/src/components/waka-bottom-sheet/WakaBottomSheet.mdx +77 -0
- package/src/components/waka-bottom-sheet/WakaBottomSheet.stories.tsx +0 -1
- package/src/components/waka-breadcrumb/WakaBreadcrumb.mdx +77 -0
- package/src/components/waka-breadcrumb/WakaBreadcrumb.stories.tsx +0 -1
- package/src/components/waka-breadcrumb-path/WakaBreadcrumbPath.mdx +63 -0
- package/src/components/waka-breadcrumb-path/WakaBreadcrumbPath.stories.tsx +0 -1
- package/src/components/waka-budget-burn/index.tsx +15 -1
- package/src/components/waka-build-matrix/index.tsx +14 -0
- package/src/components/waka-capacity-planner/index.tsx +18 -1
- package/src/components/waka-carousel/WakaCarousel.mdx +101 -0
- package/src/components/waka-carousel/WakaCarousel.stories.tsx +16 -1
- package/src/components/waka-cart-summary/index.tsx +14 -0
- package/src/components/waka-challenge-timer/index.tsx +14 -0
- package/src/components/waka-charts/WakaAreaChart.stories.tsx +116 -0
- package/src/components/waka-charts/WakaBarChart.stories.tsx +137 -0
- package/src/components/waka-charts/WakaChart.stories.tsx +135 -0
- package/src/components/waka-charts/WakaCharts.mdx +137 -0
- package/src/components/waka-charts/WakaCharts.stories.tsx +0 -1
- package/src/components/waka-charts/WakaLineChart.stories.tsx +135 -0
- package/src/components/waka-charts/WakaMiniChart.stories.tsx +101 -0
- package/src/components/waka-charts/WakaPieChart.stories.tsx +114 -0
- package/src/components/waka-charts/WakaSparkline.stories.tsx +99 -0
- package/src/components/waka-chat-bubble/WakaChatBubble.mdx +69 -0
- package/src/components/waka-chat-bubble/WakaChatBubble.stories.tsx +0 -15
- package/src/components/waka-checklist/WakaChecklist.mdx +65 -0
- package/src/components/waka-checklist/WakaChecklist.stories.tsx +0 -1
- package/src/components/waka-checkout-stepper/index.tsx +14 -0
- package/src/components/waka-cohort-table/WakaCohortTable.mdx +65 -0
- package/src/components/waka-cohort-table/WakaCohortTable.stories.tsx +4 -7
- package/src/components/waka-color-picker/WakaColorPicker.mdx +85 -0
- package/src/components/waka-color-picker/WakaColorPicker.stories.tsx +0 -1
- package/src/components/waka-combo-counter/WakaComboCounter.stories.tsx +1 -1
- package/src/components/waka-combo-counter/index.tsx +14 -0
- package/src/components/waka-combobox/WakaCombobox.mdx +85 -0
- package/src/components/waka-combobox/WakaCombobox.stories.tsx +15 -1
- package/src/components/waka-command-bar/WakaCommandBar.mdx +57 -0
- package/src/components/waka-command-bar/WakaCommandBar.stories.tsx +2 -6
- package/src/components/waka-compare-period/WakaComparePeriod.mdx +65 -0
- package/src/components/waka-compare-period/WakaComparePeriod.stories.tsx +0 -1
- package/src/components/waka-config-comparator/WakaConfigComparator.mdx +73 -0
- package/src/components/waka-config-comparator/WakaConfigComparator.stories.tsx +0 -1
- package/src/components/waka-connection-matrix/WakaConnectionMatrix.mdx +61 -0
- package/src/components/waka-connection-matrix/WakaConnectionMatrix.stories.tsx +0 -1
- package/src/components/waka-container-list/index.tsx +14 -0
- package/src/components/waka-content-recommendation/WakaContentRecommendation.stories.tsx +1 -1
- package/src/components/waka-content-recommendation/index.tsx +14 -0
- package/src/components/waka-contribution-graph/WakaContributionGraph.mdx +101 -0
- package/src/components/waka-contribution-graph/WakaContributionGraph.stories.tsx +38 -44
- package/src/components/waka-cost-breakdown/WakaCostBreakdown.mdx +101 -0
- package/src/components/waka-cost-breakdown/WakaCostBreakdown.stories.tsx +43 -51
- package/src/components/waka-coupon-input/WakaCouponInput.mdx +69 -0
- package/src/components/waka-coupon-input/WakaCouponInput.stories.tsx +0 -1
- package/src/components/waka-credit-activity-feed/WakaCreditActivityFeed.mdx +77 -0
- package/src/components/waka-credit-activity-feed/WakaCreditActivityFeed.stories.tsx +15 -1
- package/src/components/waka-credit-alert/WakaCreditAlert.mdx +73 -0
- package/src/components/waka-credit-alert/WakaCreditAlert.stories.tsx +16 -1
- package/src/components/waka-credit-balance/WakaCreditBalance.mdx +81 -0
- package/src/components/waka-credit-balance/WakaCreditBalance.stories.tsx +15 -1
- package/src/components/waka-credit-breakdown/WakaCreditBreakdown.mdx +73 -0
- package/src/components/waka-credit-breakdown/WakaCreditBreakdown.stories.tsx +15 -1
- package/src/components/waka-credit-burn-rate/WakaCreditBurnRate.mdx +73 -0
- package/src/components/waka-credit-burn-rate/WakaCreditBurnRate.stories.tsx +17 -1
- package/src/components/waka-credit-card-input/WakaCreditCardInput.mdx +73 -0
- package/src/components/waka-credit-card-input/WakaCreditCardInput.stories.tsx +0 -1
- package/src/components/waka-credit-history/WakaCreditHistory.mdx +85 -0
- package/src/components/waka-credit-history/WakaCreditHistory.stories.tsx +14 -1
- package/src/components/waka-credit-meter/WakaCreditMeter.mdx +81 -0
- package/src/components/waka-credit-meter/WakaCreditMeter.stories.tsx +14 -17
- package/src/components/waka-credit-pricing-pack/WakaCreditPricingPack.mdx +69 -0
- package/src/components/waka-credit-pricing-pack/WakaCreditPricingPack.stories.tsx +13 -1
- package/src/components/waka-credit-projection/WakaCreditProjection.mdx +69 -0
- package/src/components/waka-credit-projection/WakaCreditProjection.stories.tsx +14 -1
- package/src/components/waka-credit-quota/WakaCreditQuota.mdx +73 -0
- package/src/components/waka-credit-quota/WakaCreditQuota.stories.tsx +16 -1
- package/src/components/waka-credit-receipt/WakaCreditReceipt.mdx +65 -0
- package/src/components/waka-credit-receipt/WakaCreditReceipt.stories.tsx +11 -1
- package/src/components/waka-credit-top-up/WakaCreditTopUp.mdx +69 -0
- package/src/components/waka-credit-top-up/WakaCreditTopUp.stories.tsx +9 -11
- package/src/components/waka-credit-transaction/WakaCreditTransaction.mdx +85 -0
- package/src/components/waka-credit-transaction/WakaCreditTransaction.stories.tsx +13 -1
- package/src/components/waka-credit-transfer-form/WakaCreditTransferForm.mdx +65 -0
- package/src/components/waka-credit-transfer-form/WakaCreditTransferForm.stories.tsx +12 -1
- package/src/components/waka-credit-usage-chart/WakaCreditUsageChart.mdx +73 -0
- package/src/components/waka-credit-usage-chart/WakaCreditUsageChart.stories.tsx +8 -10
- package/src/components/waka-daily-reward/WakaDailyReward.stories.tsx +7 -9
- package/src/components/waka-daily-reward/index.tsx +16 -0
- package/src/components/waka-database-card/index.tsx +14 -0
- package/src/components/waka-date-range-picker/WakaDateRangePicker.mdx +97 -0
- package/src/components/waka-date-range-picker/WakaDateRangePicker.stories.tsx +15 -1
- package/src/components/waka-datetime-picker/WakaDateTimePicker.mdx +109 -0
- package/src/components/waka-datetime-picker/WakaDateTimePicker.stories.tsx +15 -1
- package/src/components/waka-datetime-picker.form-integration/index.tsx +7 -3
- package/src/components/waka-dependency-tree/index.tsx +14 -0
- package/src/components/waka-deployment-lane/WakaDeploymentLane.stories.tsx +17 -20
- package/src/components/waka-deployment-lane/index.tsx +17 -0
- package/src/components/waka-device-trust/index.tsx +14 -0
- package/src/components/waka-doc-breadcrumb/WakaDocBreadcrumb.mdx +61 -0
- package/src/components/waka-doc-breadcrumb/WakaDocBreadcrumb.stories.tsx +12 -10
- package/src/components/waka-doc-breadcrumb/index.tsx +3 -3
- package/src/components/waka-doc-callout/WakaDocCallout.mdx +61 -0
- package/src/components/waka-doc-callout/WakaDocCallout.stories.tsx +17 -6
- package/src/components/waka-doc-code-block/WakaDocCodeBlock.mdx +81 -0
- package/src/components/waka-doc-code-block/WakaDocCodeBlock.stories.tsx +56 -1
- package/src/components/waka-doc-nav/WakaDocNav.mdx +73 -0
- package/src/components/waka-doc-nav/WakaDocNav.stories.tsx +82 -1
- package/src/components/waka-doc-nav/index.tsx +26 -16
- package/src/components/waka-doc-renderer/WakaDocRenderer.mdx +73 -0
- package/src/components/waka-doc-renderer/WakaDocRenderer.stories.tsx +73 -1
- package/src/components/waka-doc-search/WakaDocSearch.mdx +75 -0
- package/src/components/waka-doc-search/WakaDocSearch.stories.tsx +80 -1
- package/src/components/waka-doc-search/index.tsx +6 -0
- package/src/components/waka-doc-table/WakaDocTable.mdx +73 -0
- package/src/components/waka-doc-table/WakaDocTable.stories.tsx +128 -1
- package/src/components/waka-doc-toc/WakaDocToc.mdx +73 -0
- package/src/components/waka-doc-toc/WakaDocToc.stories.tsx +84 -10
- package/src/components/waka-doc-toolbar/WakaDocToolbar.mdx +75 -0
- package/src/components/waka-doc-toolbar/WakaDocToolbar.stories.tsx +13 -1
- package/src/components/waka-doc-toolbar/index.tsx +5 -0
- package/src/components/waka-doc-version/WakaDocVersion.mdx +73 -0
- package/src/components/waka-doc-version/WakaDocVersion.stories.tsx +86 -1
- package/src/components/waka-dock/WakaDock.mdx +95 -0
- package/src/components/waka-dock/WakaDock.stories.tsx +14 -1
- package/src/components/waka-dock/index.tsx +6 -0
- package/src/components/waka-drawer/WakaDrawer.mdx +85 -0
- package/src/components/waka-drawer/WakaDrawer.stories.tsx +0 -1
- package/src/components/waka-empty-state/WakaEmptyState.mdx +69 -0
- package/src/components/waka-empty-state/WakaEmptyState.stories.tsx +0 -1
- package/src/components/waka-env-var-editor/index.tsx +14 -0
- package/src/components/waka-error-shake/WakaErrorShake.mdx +89 -0
- package/src/components/waka-error-shake/WakaErrorShake.stories.tsx +0 -1
- package/src/components/waka-feature-announcement/WakaFeatureAnnouncement.mdx +61 -0
- package/src/components/waka-feature-announcement/WakaFeatureAnnouncement.stories.tsx +0 -1
- package/src/components/waka-feature-flag-row/index.tsx +14 -0
- package/src/components/waka-file-upload/WakaFileUpload.mdx +81 -0
- package/src/components/waka-file-upload/WakaFileUpload.stories.tsx +0 -1
- package/src/components/waka-floating-nav/WakaFloatingNav.mdx +61 -0
- package/src/components/waka-floating-nav/WakaFloatingNav.stories.tsx +0 -1
- package/src/components/waka-flow-diagram/index.tsx +3 -1
- package/src/components/waka-funnel-chart/WakaFunnelChart.mdx +97 -0
- package/src/components/waka-funnel-chart/WakaFunnelChart.stories.tsx +20 -13
- package/src/components/waka-funnel-chart/index.tsx +1 -1
- package/src/components/waka-glow-card/WakaGlowCard.mdx +93 -0
- package/src/components/waka-glow-card/WakaGlowCard.stories.tsx +0 -1
- package/src/components/waka-goal-progress/WakaGoalProgress.mdx +69 -0
- package/src/components/waka-goal-progress/WakaGoalProgress.stories.tsx +0 -1
- package/src/components/waka-haptic-button/WakaHapticButton.mdx +127 -0
- package/src/components/waka-haptic-button/WakaHapticButton.stories.tsx +0 -1
- package/src/components/waka-haptic-button/index.tsx +5 -0
- package/src/components/waka-health-pulse/WakaHealthPulse.mdx +89 -0
- package/src/components/waka-health-pulse/WakaHealthPulse.stories.tsx +27 -30
- package/src/components/waka-heatmap/WakaHeatmap.mdx +101 -0
- package/src/components/waka-heatmap/WakaHeatmap.stories.tsx +23 -27
- package/src/components/waka-heatmap/index.tsx +6 -1
- package/src/components/waka-hotspot/WakaHotspot.mdx +67 -0
- package/src/components/waka-hotspot/WakaHotspot.stories.tsx +0 -1
- package/src/components/waka-hotspot/index.tsx +5 -0
- package/src/components/waka-image/WakaImage.mdx +93 -0
- package/src/components/waka-image/WakaImage.stories.tsx +6 -4
- package/src/components/waka-incident-timeline/WakaIncidentTimeline.mdx +93 -0
- package/src/components/waka-incident-timeline/WakaIncidentTimeline.stories.tsx +0 -1
- package/src/components/waka-invoice-preview/WakaInvoicePreview.mdx +69 -0
- package/src/components/waka-invoice-preview/WakaInvoicePreview.stories.tsx +55 -75
- package/src/components/waka-kubernetes-overview/index.tsx +14 -0
- package/src/components/waka-leaderboard/WakaLeaderboard.mdx +101 -0
- package/src/components/waka-leaderboard/WakaLeaderboard.stories.tsx +0 -1
- package/src/components/waka-level-progress/WakaLevelProgress.mdx +85 -0
- package/src/components/waka-level-progress/WakaLevelProgress.stories.tsx +0 -1
- package/src/components/waka-liquid-button/WakaLiquidButton.mdx +71 -0
- package/src/components/waka-liquid-button/WakaLiquidButton.stories.tsx +0 -1
- package/src/components/waka-liquid-button/index.tsx +5 -0
- package/src/components/waka-loading-orbit/WakaLoadingOrbit.mdx +113 -0
- package/src/components/waka-loading-orbit/WakaLoadingOrbit.stories.tsx +0 -1
- package/src/components/waka-loading-orbit/index.tsx +1 -1
- package/src/components/waka-log-viewer/index.tsx +14 -0
- package/src/components/waka-loot-box/index.tsx +20 -0
- package/src/components/waka-magic-link/WakaMagicLink.mdx +61 -0
- package/src/components/waka-magic-link/WakaMagicLink.stories.tsx +0 -1
- package/src/components/waka-magnetic-button/WakaMagneticButton.mdx +67 -0
- package/src/components/waka-magnetic-button/WakaMagneticButton.stories.tsx +0 -1
- package/src/components/waka-magnetic-button/index.tsx +5 -0
- package/src/components/waka-mention-input/WakaMentionInput.mdx +65 -0
- package/src/components/waka-mention-input/WakaMentionInput.stories.tsx +1 -3
- package/src/components/waka-metric-sparkline/WakaMetricSparkline.mdx +105 -0
- package/src/components/waka-metric-sparkline/WakaMetricSparkline.stories.tsx +27 -18
- package/src/components/waka-metric-sparkline/index.tsx +3 -3
- package/src/components/waka-migration-list/index.tsx +14 -0
- package/src/components/waka-milestone-road/index.tsx +15 -1
- package/src/components/waka-modal/WakaModal.mdx +95 -0
- package/src/components/waka-modal/WakaModal.stories.tsx +0 -1
- package/src/components/waka-modal/index.tsx +5 -0
- package/src/components/waka-morph-button/WakaMorphButton.mdx +105 -0
- package/src/components/waka-morph-button/WakaMorphButton.stories.tsx +0 -1
- package/src/components/waka-network-topology/index.tsx +14 -0
- package/src/components/waka-notifications/WakaNotifications.mdx +77 -0
- package/src/components/waka-notifications/WakaNotifications.stories.tsx +0 -1
- package/src/components/waka-number-input/WakaNumberInput.mdx +97 -0
- package/src/components/waka-number-input/WakaNumberInput.stories.tsx +14 -1
- package/src/components/waka-orbital-menu/index.tsx +21 -3
- package/src/components/waka-order-tracker/WakaOrderTracker.stories.tsx +64 -39
- package/src/components/waka-order-tracker/index.tsx +14 -0
- package/src/components/waka-outstream-video/index.tsx +17 -0
- package/src/components/waka-pagination/WakaPagination.mdx +81 -0
- package/src/components/waka-pagination/WakaPagination.stories.tsx +0 -1
- package/src/components/waka-password-strength/WakaPasswordStrength.mdx +81 -0
- package/src/components/waka-password-strength/WakaPasswordStrength.stories.tsx +0 -1
- package/src/components/waka-payment-method-picker/index.tsx +14 -0
- package/src/components/waka-permission-matrix/index.tsx +28 -0
- package/src/components/waka-phone-input/WakaPhoneInput.mdx +65 -0
- package/src/components/waka-phone-input/WakaPhoneInput.stories.tsx +0 -1
- package/src/components/waka-pipeline-view/WakaPipelineView.stories.tsx +27 -32
- package/src/components/waka-pipeline-view/index.tsx +14 -0
- package/src/components/waka-player-card/WakaPlayerCard.stories.tsx +0 -3
- package/src/components/waka-player-card/index.tsx +17 -3
- package/src/components/waka-pod-card/index.tsx +14 -0
- package/src/components/waka-points-popup/WakaPointsPopup.stories.tsx +1 -1
- package/src/components/waka-points-popup/index.tsx +14 -0
- package/src/components/waka-power-up/index.tsx +14 -0
- package/src/components/waka-presence-indicator/WakaPresenceIndicator.mdx +73 -0
- package/src/components/waka-presence-indicator/WakaPresenceIndicator.stories.tsx +0 -1
- package/src/components/waka-pricing-table/WakaPricingTable.mdx +69 -0
- package/src/components/waka-pricing-table/WakaPricingTable.stories.tsx +0 -1
- package/src/components/waka-product-card/WakaProductCard.stories.tsx +0 -8
- package/src/components/waka-product-card/index.tsx +14 -0
- package/src/components/waka-progress-onboarding/WakaProgressOnboarding.mdx +69 -0
- package/src/components/waka-progress-onboarding/WakaProgressOnboarding.stories.tsx +50 -18
- package/src/components/waka-pull-to-refresh/WakaPullToRefresh.stories.tsx +3 -4
- package/src/components/waka-pull-to-refresh/index.tsx +16 -2
- package/src/components/waka-qrcode/WakaQRCode.mdx +91 -0
- package/src/components/waka-qrcode/WakaQRCode.stories.tsx +7 -5
- package/src/components/waka-query-explain/index.tsx +14 -0
- package/src/components/waka-quest-card/index.tsx +14 -0
- package/src/components/waka-quota-bar/WakaQuotaBar.mdx +105 -0
- package/src/components/waka-quota-bar/WakaQuotaBar.stories.tsx +0 -1
- package/src/components/waka-radar-score/WakaRadarScore.stories.tsx +41 -43
- package/src/components/waka-radar-score/index.tsx +16 -1
- package/src/components/waka-rank-badge/index.tsx +15 -1
- package/src/components/waka-rating-input/WakaRatingInput.mdx +73 -0
- package/src/components/waka-rating-input/WakaRatingInput.stories.tsx +0 -1
- package/src/components/waka-reaction-picker/index.tsx +14 -0
- package/src/components/waka-region-map/index.tsx +14 -0
- package/src/components/waka-resource-gauge/WakaResourceGauge.mdx +117 -0
- package/src/components/waka-resource-gauge/WakaResourceGauge.stories.tsx +31 -25
- package/src/components/waka-resource-gauge/index.tsx +2 -2
- package/src/components/waka-resource-pool/WakaResourcePool.mdx +65 -0
- package/src/components/waka-resource-pool/WakaResourcePool.stories.tsx +0 -1
- package/src/components/waka-resource-pool/index.tsx +3 -1
- package/src/components/waka-rich-text-editor/WakaRichTextEditor.mdx +77 -0
- package/src/components/waka-rich-text-editor/WakaRichTextEditor.stories.tsx +0 -1
- package/src/components/waka-rich-text-editor/index.tsx +10 -0
- package/src/components/waka-rollback-slider/index.tsx +14 -0
- package/src/components/waka-sankey-diagram/WakaSankeyDiagram.stories.tsx +32 -36
- package/src/components/waka-sankey-diagram/index.tsx +15 -1
- package/src/components/waka-schedule-picker/WakaSchedulePicker.mdx +69 -0
- package/src/components/waka-schedule-picker/WakaSchedulePicker.stories.tsx +0 -1
- package/src/components/waka-scratch-card/WakaScratchCard.stories.tsx +6 -7
- package/src/components/waka-scratch-card/index.tsx +15 -1
- package/src/components/waka-season-pass/index.tsx +17 -0
- package/src/components/waka-secret-card/WakaSecretCard.mdx +93 -0
- package/src/components/waka-secret-card/WakaSecretCard.stories.tsx +0 -1
- package/src/components/waka-security-scan-result/index.tsx +26 -3
- package/src/components/waka-security-score/index.tsx +14 -0
- package/src/components/waka-segmented-control/WakaSegmentedControl.mdx +93 -0
- package/src/components/waka-segmented-control/WakaSegmentedControl.stories.tsx +0 -1
- package/src/components/waka-server-rack/WakaServerRack.stories.tsx +1 -1
- package/src/components/waka-server-rack/index.tsx +14 -0
- package/src/components/waka-service-graph/index.tsx +15 -1
- package/src/components/waka-session-manager/WakaSessionManager.mdx +65 -0
- package/src/components/waka-session-manager/WakaSessionManager.stories.tsx +57 -23
- package/src/components/waka-signature-pad/WakaSignaturePad.mdx +89 -0
- package/src/components/waka-signature-pad/WakaSignaturePad.stories.tsx +0 -1
- package/src/components/waka-signature-pad/index.tsx +1 -1
- package/src/components/waka-skeleton-wave/WakaSkeletonWave.mdx +113 -0
- package/src/components/waka-skeleton-wave/WakaSkeletonWave.stories.tsx +0 -1
- package/src/components/waka-skill-tree/index.tsx +18 -1
- package/src/components/waka-slider-range/WakaSliderRange.mdx +69 -0
- package/src/components/waka-slider-range/WakaSliderRange.stories.tsx +0 -1
- package/src/components/waka-spin-wheel/WakaSpinWheel.stories.tsx +17 -16
- package/src/components/waka-spin-wheel/index.tsx +14 -0
- package/src/components/waka-spinner/WakaSpinner.stories.tsx +3 -2
- package/src/components/waka-spinner/index.tsx +14 -0
- package/src/components/waka-sponsored-badge/WakaSponsoredBadge.mdx +81 -0
- package/src/components/waka-sponsored-badge/WakaSponsoredBadge.stories.tsx +0 -1
- package/src/components/waka-sponsored-card/WakaSponsoredCard.mdx +69 -0
- package/src/components/waka-sponsored-card/WakaSponsoredCard.stories.tsx +8 -1
- package/src/components/waka-sponsored-feed/WakaSponsoredFeed.mdx +65 -0
- package/src/components/waka-sponsored-feed/WakaSponsoredFeed.stories.tsx +8 -1
- package/src/components/waka-spotlight/WakaSpotlight.mdx +61 -0
- package/src/components/waka-spotlight/WakaSpotlight.stories.tsx +0 -1
- package/src/components/waka-stat/WakaStat.mdx +89 -0
- package/src/components/waka-stat/WakaStat.stories.tsx +7 -7
- package/src/components/waka-stats-hexagon/index.tsx +16 -1
- package/src/components/waka-status-matrix/WakaStatusMatrix.mdx +97 -0
- package/src/components/waka-status-matrix/WakaStatusMatrix.stories.tsx +12 -7
- package/src/components/waka-stepper/WakaStepper.mdx +89 -0
- package/src/components/waka-stepper/WakaStepper.stories.tsx +0 -1
- package/src/components/waka-streak-counter/WakaStreakCounter.stories.tsx +6 -1
- package/src/components/waka-streak-counter/index.tsx +14 -0
- package/src/components/waka-success-explosion/WakaSuccessExplosion.mdx +93 -0
- package/src/components/waka-success-explosion/WakaSuccessExplosion.stories.tsx +0 -1
- package/src/components/waka-success-explosion/index.tsx +2 -2
- package/src/components/waka-swipe-card/WakaSwipeCard.stories.tsx +36 -12
- package/src/components/waka-swipe-card/index.tsx +14 -0
- package/src/components/waka-tabs-morph/WakaTabsMorph.mdx +113 -0
- package/src/components/waka-tabs-morph/WakaTabsMorph.stories.tsx +0 -1
- package/src/components/waka-tag-input/WakaTagInput.mdx +89 -0
- package/src/components/waka-tag-input/WakaTagInput.stories.tsx +0 -1
- package/src/components/waka-team-banner/WakaTeamBanner.stories.tsx +49 -20
- package/src/components/waka-team-banner/index.tsx +15 -0
- package/src/components/waka-terminal-output/WakaTerminalOutput.mdx +93 -0
- package/src/components/waka-terminal-output/WakaTerminalOutput.stories.tsx +0 -1
- package/src/components/waka-test-report/WakaTestReport.mdx +93 -0
- package/src/components/waka-test-report/WakaTestReport.stories.tsx +0 -1
- package/src/components/waka-theme-creator/index.tsx +14 -0
- package/src/components/waka-theme-manager/index.tsx +14 -0
- package/src/components/waka-thread-view/WakaThreadView.mdx +65 -0
- package/src/components/waka-thread-view/WakaThreadView.stories.tsx +0 -1
- package/src/components/waka-tilt-card/WakaTiltCard.mdx +97 -0
- package/src/components/waka-tilt-card/WakaTiltCard.stories.tsx +10 -14
- package/src/components/waka-time-picker/WakaTimePicker.mdx +89 -0
- package/src/components/waka-time-picker/WakaTimePicker.stories.tsx +14 -1
- package/src/components/waka-timeline/WakaTimeline.mdx +77 -0
- package/src/components/waka-timeline/WakaTimeline.stories.tsx +0 -1
- package/src/components/waka-tooltip-tour/WakaTooltipTour.mdx +59 -0
- package/src/components/waka-tooltip-tour/WakaTooltipTour.stories.tsx +0 -1
- package/src/components/waka-tooltip-tour/index.tsx +5 -0
- package/src/components/waka-tour-guide/WakaTourGuide.mdx +59 -0
- package/src/components/waka-tour-guide/WakaTourGuide.stories.tsx +0 -1
- package/src/components/waka-tour-guide/index.tsx +5 -0
- package/src/components/waka-tournament-bracket/index.tsx +14 -0
- package/src/components/waka-trace-viewer/WakaTraceViewer.mdx +85 -0
- package/src/components/waka-trace-viewer/WakaTraceViewer.stories.tsx +0 -1
- package/src/components/waka-tree/WakaTree.mdx +85 -0
- package/src/components/waka-tree/WakaTree.stories.tsx +6 -4
- package/src/components/waka-treemap-chart/WakaTreemapChart.stories.tsx +22 -11
- package/src/components/waka-treemap-chart/index.tsx +14 -0
- package/src/components/waka-two-factor-setup/WakaTwoFactorSetup.mdx +77 -0
- package/src/components/waka-two-factor-setup/WakaTwoFactorSetup.stories.tsx +0 -1
- package/src/components/waka-typewriter/WakaTypewriter.stories.tsx +7 -8
- package/src/components/waka-typewriter/index.tsx +14 -0
- package/src/components/waka-typing-indicator/WakaTypingIndicator.mdx +77 -0
- package/src/components/waka-typing-indicator/WakaTypingIndicator.stories.tsx +0 -1
- package/src/components/waka-versus-card/index.tsx +14 -0
- package/src/components/waka-video/WakaVideo.mdx +93 -0
- package/src/components/waka-video/WakaVideo.stories.tsx +16 -1
- package/src/components/waka-video-ad/WakaVideoAd.mdx +69 -0
- package/src/components/waka-video-ad/WakaVideoAd.stories.tsx +0 -1
- package/src/components/waka-video-call/WakaVideoCall.mdx +73 -0
- package/src/components/waka-video-call/WakaVideoCall.stories.tsx +0 -1
- package/src/components/waka-video-overlay/WakaVideoOverlay.mdx +61 -0
- package/src/components/waka-video-overlay/WakaVideoOverlay.stories.tsx +0 -1
- package/src/components/waka-voice-message/WakaVoiceMessage.mdx +77 -0
- package/src/components/waka-voice-message/WakaVoiceMessage.stories.tsx +0 -1
- package/src/components/waka-welcome-modal/WakaWelcomeModal.mdx +57 -0
- package/src/components/waka-welcome-modal/WakaWelcomeModal.stories.tsx +1 -2
- package/src/components/waka-xp-bar/index.tsx +14 -0
- package/dist/badge-BbwO7QeZ.js +0 -1
- package/dist/badge-BfiocODp.mjs +0 -23
- package/dist/chunk-14q5BKub.js +0 -1
- package/dist/chunk-Cr9pTUWm.mjs +0 -23
- package/dist/cn-DEtaFQsA.js +0 -1
- package/dist/cn-DUn6aSIQ.mjs +0 -24
- package/dist/editor.d.ts +0 -1
- package/dist/exceljs.min-DL1XYDll.mjs +0 -32037
- package/dist/exceljs.min-qeIfSCbF.js +0 -28
- package/dist/input-BfaSAGVw.js +0 -1
- package/dist/input-DVr_Qkl8.mjs +0 -14
- package/dist/security-CyBpuklN.mjs +0 -122
- package/dist/security-bFWwDrlg.js +0 -1
- package/dist/separator-NrkltulH.js +0 -1
- package/dist/separator-ibN2mycs.mjs +0 -51
- package/dist/src/blocks/chat/index.d.ts +0 -112
- package/dist/src/blocks/chat/widget.d.ts +0 -100
- package/dist/src/blocks/dashboard/index.d.ts +0 -95
- 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/landing/index.d.ts +0 -104
- package/dist/src/blocks/login/index.d.ts +0 -42
- package/dist/src/blocks/pricing/index.d.ts +0 -64
- package/dist/src/blocks/sidebar/index.d.ts +0 -155
- package/dist/src/blocks/threat-alert-banner/index.d.ts +0 -26
- 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/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/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/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/DataTableToolbar.d.ts +0 -14
- 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/alert/index.d.ts +0 -8
- 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 -8
- package/dist/src/components/card/index.d.ts +0 -8
- package/dist/src/components/code/index.d.ts +0 -29
- package/dist/src/components/command/index.d.ts +0 -83
- 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 -66
- 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 -47
- 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/input/index.d.ts +0 -5
- package/dist/src/components/label/index.d.ts +0 -5
- package/dist/src/components/navigation-menu/index.d.ts +0 -12
- package/dist/src/components/sheet/index.d.ts +0 -27
- package/dist/src/components/skeleton/index.d.ts +0 -2
- package/dist/src/components/table/index.d.ts +0 -10
- package/dist/src/components/textarea/index.d.ts +0 -5
- package/dist/src/components/toast/index.d.ts +0 -15
- package/dist/src/components/toggle/index.d.ts +0 -12
- 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-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 -124
- package/dist/src/components/waka-admincrumb/index.d.ts +0 -41
- package/dist/src/components/waka-bottom-sheet/index.d.ts +0 -61
- package/dist/src/components/waka-carousel/index.d.ts +0 -105
- 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/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-checkout-stepper/index.d.ts +0 -154
- package/dist/src/components/waka-cohort-table/index.d.ts +0 -130
- 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-connection-matrix/index.d.ts +0 -117
- package/dist/src/components/waka-content-recommendation/index.d.ts +0 -23
- package/dist/src/components/waka-cost-breakdown/index.d.ts +0 -50
- 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-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-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-daily-reward/index.d.ts +0 -76
- package/dist/src/components/waka-date-range-picker/index.d.ts +0 -68
- package/dist/src/components/waka-datetime-picker.form-integration/index.d.ts +0 -69
- 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-code-block/index.d.ts +0 -9
- package/dist/src/components/waka-doc-renderer/index.d.ts +0 -7
- package/dist/src/components/waka-doc-search/index.d.ts +0 -18
- package/dist/src/components/waka-doc-toc/index.d.ts +0 -11
- package/dist/src/components/waka-doc-toolbar/index.d.ts +0 -10
- package/dist/src/components/waka-dock/index.d.ts +0 -44
- 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-flow-diagram/index.d.ts +0 -71
- package/dist/src/components/waka-haptic-button/index.d.ts +0 -45
- package/dist/src/components/waka-hotspot/index.d.ts +0 -106
- package/dist/src/components/waka-leaderboard/index.d.ts +0 -85
- package/dist/src/components/waka-liquid-button/index.d.ts +0 -41
- package/dist/src/components/waka-loading-orbit/index.d.ts +0 -90
- package/dist/src/components/waka-magnetic-button/index.d.ts +0 -56
- package/dist/src/components/waka-metric-sparkline/index.d.ts +0 -46
- package/dist/src/components/waka-modal/index.d.ts +0 -82
- package/dist/src/components/waka-morph-button/index.d.ts +0 -62
- package/dist/src/components/waka-number-input/index.d.ts +0 -60
- package/dist/src/components/waka-outstream-video/index.d.ts +0 -24
- 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-points-popup/index.d.ts +0 -75
- package/dist/src/components/waka-power-up/index.d.ts +0 -103
- package/dist/src/components/waka-pricing-table/index.d.ts +0 -77
- 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-quota-bar/index.d.ts +0 -100
- package/dist/src/components/waka-radar-score/index.d.ts +0 -95
- 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-segmented-control/index.d.ts +0 -42
- package/dist/src/components/waka-session-manager/index.d.ts +0 -116
- package/dist/src/components/waka-skeleton-wave/index.d.ts +0 -79
- package/dist/src/components/waka-spinner/index.d.ts +0 -46
- 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-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-theme-manager/index.d.ts +0 -62
- package/dist/src/components/waka-tooltip-tour/index.d.ts +0 -118
- package/dist/src/components/waka-tour-guide/index.d.ts +0 -122
- package/dist/src/components/waka-tournament-bracket/index.d.ts +0 -101
- 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-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/context/admincrumb-context.d.ts +0 -34
- package/dist/src/context/index.d.ts +0 -8
- package/dist/src/context/theme-context.d.ts +0 -39
- 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/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/utils/datetime-helpers.d.ts +0 -137
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/theme-loader.d.ts +0 -101
- package/dist/src/utils/tweak.d.ts +0 -18
- package/dist/textarea-CdQWggYG.js +0 -1
- package/dist/textarea-DJDXJ3nd.mjs +0 -23
- package/dist/types-C2St0wOW.js +0 -1
- package/dist/types-JnqoLyuv.mjs +0 -937
- package/dist/useDataTableImport-BWUFesPi.mjs +0 -250
- package/dist/useDataTableImport-T7ddpN5k.js +0 -7
- package/dist/waka-doc-renderer-CTxC7Trf.js +0 -3
- package/dist/waka-doc-renderer-Cw-Xnyen.mjs +0 -1662
- package/dist/waka-editor-plugins-CGojOMS5.js +0 -1
- package/dist/waka-editor-plugins-Dwh4Vreq.mjs +0 -135
- package/dist/waka-rich-text-editor-BlIdtknG.js +0 -1
- package/dist/waka-rich-text-editor-D1uA3zbB.js +0 -1
- package/dist/waka-rich-text-editor-DgSWiXMW.mjs +0 -342
- package/dist/waka-rich-text-editor-DndVJuDw.mjs +0 -2
- /package/dist/{src/blocks → blocks}/activity-timeline/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/antivirus-dashboard/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/apm-overview/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/auth-2fa/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/calendar-view/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/chat-interface/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/checkout-flow/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/cicd-builder/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/clamav-service-status/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/cloud-cost-dashboard/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/container-orchestrator/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/dashboard-kpi/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/database-admin/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/deployment-dashboard/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/faq/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/file-manager/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/file-scan-uploader/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/footer/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/gitops-sync-status/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/header/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/headtab/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/i18n-editor/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/incident-manager/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/infrastructure-map/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/kanban-board/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/language-selector/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/layout/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/login/types.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/on-call-schedule/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/player-profile/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/profile/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/quarantine-manager/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/release-notes/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/scan-history-log/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/scan-policy-editor/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/scan-report-generator/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/settings/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/signature-database-manager/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/user-management/index.d.ts +0 -0
- /package/dist/{src/blocks → blocks}/wizard/index.d.ts +0 -0
- /package/dist/{src/components → components}/DataTable/DataTableContextMenu.d.ts +0 -0
- /package/dist/{src/components → components}/DataTable/DataTableEditCell.d.ts +0 -0
- /package/dist/{src/components → components}/DataTable/DataTableSelection.d.ts +0 -0
- /package/dist/{src/components → components}/DataTable/examples/EditExample.d.ts +0 -0
- /package/dist/{src/components → components}/accordion/index.d.ts +0 -0
- /package/dist/{src/components → components}/alert-dialog/index.d.ts +0 -0
- /package/dist/{src/components → components}/aspect-ratio/index.d.ts +0 -0
- /package/dist/{src/components → components}/avatar/index.d.ts +0 -0
- /package/dist/{src/components → components}/checkbox/index.d.ts +0 -0
- /package/dist/{src/components → components}/collapsible/index.d.ts +0 -0
- /package/dist/{src/components → components}/context-menu/index.d.ts +0 -0
- /package/dist/{src/components → components}/dialog/index.d.ts +0 -0
- /package/dist/{src/components → components}/dropdown-menu/index.d.ts +0 -0
- /package/dist/{src/components → components}/hover-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/index.d.ts +0 -0
- /package/dist/{src/components → components}/input-otp/index.d.ts +0 -0
- /package/dist/{src/components → components}/language-selector/index.d.ts +0 -0
- /package/dist/{src/components → components}/menubar/index.d.ts +0 -0
- /package/dist/{src/components → components}/popover/index.d.ts +0 -0
- /package/dist/{src/components → components}/progress/index.d.ts +0 -0
- /package/dist/{src/components → components}/radio-group/index.d.ts +0 -0
- /package/dist/{src/components → components}/scroll-area/index.d.ts +0 -0
- /package/dist/{src/components → components}/select/index.d.ts +0 -0
- /package/dist/{src/components → components}/separator/index.d.ts +0 -0
- /package/dist/{src/components → components}/slider/index.d.ts +0 -0
- /package/dist/{src/components → components}/switch/index.d.ts +0 -0
- /package/dist/{src/components → components}/tabs/index.d.ts +0 -0
- /package/dist/{src/components → components}/theme-selector/index.d.ts +0 -0
- /package/dist/{src/components → components}/toaster/index.d.ts +0 -0
- /package/dist/{src/components → components}/tooltip/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-activity-feed/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-alert-panel/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-alert-stack/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-allocation-matrix/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-approval-chain/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-artifact-list/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-audit-log/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-autocomplete/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-badge-showcase/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-barcode/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-biometric-prompt/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-breadcrumb/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-breadcrumb-path/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-budget-burn/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-build-matrix/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-capacity-planner/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-cart-summary/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-challenge-timer/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-charts/hooks/useRechartsLoader.d.ts +0 -0
- /package/dist/{src/components → components}/waka-checklist/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-color-picker/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-combo-counter/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-compare-period/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-config-comparator/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-container-list/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-contribution-graph/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-coupon-input/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-credit-balance/types.d.ts +0 -0
- /package/dist/{src/components → components}/waka-credit-breakdown/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-credit-burn-rate/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-credit-card-input/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-credit-projection/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-credit-transfer-form/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-credit-usage-chart/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-database-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-datetime-picker/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-dependency-tree/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-deployment-lane/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-doc-callout/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-doc-nav/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-doc-table/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-doc-version/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-drawer/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-empty-state/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-env-var-editor/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-feature-flag-row/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-file-upload/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-floating-nav/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-funnel-chart/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-glow-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-goal-progress/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-health-pulse/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-heatmap/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-image/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-incident-timeline/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-invoice-preview/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-kanban/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-kpi-dashboard/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-kubernetes-overview/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-level-progress/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-log-viewer/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-loot-box/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-magic-link/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-mention-input/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-migration-list/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-milestone-road/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-network-topology/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-notifications/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-orbital-menu/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-order-tracker/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-pagination/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-permission-matrix/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-phone-input/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-pipeline-view/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-player-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-pod-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-presence-indicator/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-product-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-qrcode/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-query-explain/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-quest-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-rank-badge/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-rating-input/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-reaction-picker/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-region-map/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-resource-gauge/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-rollback-slider/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-sankey-diagram/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-schedule-picker/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-scratch-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-season-pass/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-secret-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-security-scan-result/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-security-score/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-server-rack/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-service-graph/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-signature-pad/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-skill-tree/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-sla-tracker/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-slider-range/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-spin-wheel/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-sponsored-badge/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-status-matrix/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-stepper/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-streak-counter/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-team-banner/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-terminal-output/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-test-report/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-theme-creator/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-thread-view/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-tilt-card/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-time-picker/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-timeline/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-trace-viewer/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-tree/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-treemap-chart/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-two-factor-setup/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-typewriter/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-video/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-virtual-list/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-voice-message/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-welcome-modal/index.d.ts +0 -0
- /package/dist/{src/components → components}/waka-xp-bar/index.d.ts +0 -0
- /package/dist/{src/context → context}/language-context.d.ts +0 -0
- /package/dist/{src/context → context}/theme-provider.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/use-translation.d.ts +0 -0
- /package/dist/{src/types → types}/link.d.ts +0 -0
- /package/dist/{src/types → types}/provider.d.ts +0 -0
- /package/dist/{src/utils → utils}/cn.d.ts +0 -0
- /package/dist/{src/utils → utils}/error-handling.d.ts +0 -0
- /package/dist/{src/utils → utils}/logger.d.ts +0 -0
- /package/dist/{src/utils → utils}/security.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";var e=require(`./chunk-FDd1SASZ.js`).n({getPresetLoaders:()=>h,loadAIPlugins:()=>u,loadComboboxPlugins:()=>m,loadCorePlugins:()=>t,loadDiffPlugin:()=>p,loadDndPlugin:()=>a,loadEmojiPlugin:()=>d,loadFloatingPlugin:()=>f,loadIndentPlugin:()=>s,loadLinkPlugin:()=>n,loadMarkdownPlugin:()=>c,loadMediaPlugins:()=>r,loadMentionPlugins:()=>i,loadSelectionPlugin:()=>l,loadTocPlugin:()=>o});async function t(){let[e,t,n,r]=await Promise.all([import(`@platejs/basic-nodes/react`),import(`@platejs/table/react`),import(`@platejs/layout/react`),import(`@platejs/callout/react`)]);return[e.BoldPlugin,e.ItalicPlugin,e.UnderlinePlugin,e.StrikethroughPlugin,e.CodePlugin,e.HighlightPlugin,e.SuperscriptPlugin,e.SubscriptPlugin,e.H1Plugin,e.H2Plugin,e.H3Plugin,e.H4Plugin,e.H5Plugin,e.H6Plugin,e.BlockquotePlugin,t.TablePlugin,t.TableRowPlugin,t.TableCellPlugin,t.TableCellHeaderPlugin,n.ColumnPlugin,n.ColumnItemPlugin,r.CalloutPlugin]}async function n(){let{LinkPlugin:e}=await import(`@platejs/link/react`);return[e.configure({options:{allowedSchemes:[`http`,`https`,`mailto`,`tel`]}})]}async function r(){let{ImagePlugin:e,MediaEmbedPlugin:t}=await import(`@platejs/media/react`);return[e,t]}async function i(){let{MentionPlugin:e,MentionInputPlugin:t}=await import(`@platejs/mention/react`);return[e.configure({options:{trigger:`@`,triggerPreviousCharPattern:/^$|^[\s"']$/,insertSpaceAfterMention:!0}}),t]}async function a(){let{DndPlugin:e}=await import(`@platejs/dnd`);return[e]}async function o(){let{TocPlugin:e}=await import(`@platejs/toc/react`);return[e]}async function s(){let{IndentPlugin:e}=await import(`@platejs/indent/react`);return[e]}async function c(){let{MarkdownPlugin:e}=await import(`@platejs/markdown`);return[e]}async function l(){let{BlockSelectionPlugin:e}=await import(`@platejs/selection/react`);return[e]}async function u(e){let{AIPlugin:t,AIChatPlugin:n}=await import(`@platejs/ai/react`),r=[t];return e?.endpoint?r.push(n.configure({options:{chat:{api:e.endpoint,body:{system:e.systemPrompt??`You are a helpful writing assistant.`},headers:e.headers}}})):r.push(n),r}async function d(){let{EmojiPlugin:e}=await import(`@platejs/emoji/react`);return[e]}async function f(){return[]}async function p(){return[]}async function m(){let{SlashPlugin:e,SlashInputPlugin:t}=await import(`@platejs/combobox/react`);return[e.configure({options:{trigger:`/`,triggerPreviousCharPattern:/^$|^[\s"']$/}}),t]}function h(e){switch(e){case`minimal`:return[];case`standard`:return[n,s];case`full`:return[n,r,i,a,o,s,c,l]}}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`g`,{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,`h`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`m`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { n as e } from "./chunk-BJivcVNn.mjs";
|
|
3
|
+
//#region src/components/editor/waka-editor-plugins.ts
|
|
4
|
+
var t = /* @__PURE__ */ e({
|
|
5
|
+
getPresetLoaders: () => g,
|
|
6
|
+
loadAIPlugins: () => d,
|
|
7
|
+
loadComboboxPlugins: () => h,
|
|
8
|
+
loadCorePlugins: () => n,
|
|
9
|
+
loadDiffPlugin: () => m,
|
|
10
|
+
loadDndPlugin: () => o,
|
|
11
|
+
loadEmojiPlugin: () => f,
|
|
12
|
+
loadFloatingPlugin: () => p,
|
|
13
|
+
loadIndentPlugin: () => c,
|
|
14
|
+
loadLinkPlugin: () => r,
|
|
15
|
+
loadMarkdownPlugin: () => l,
|
|
16
|
+
loadMediaPlugins: () => i,
|
|
17
|
+
loadMentionPlugins: () => a,
|
|
18
|
+
loadSelectionPlugin: () => u,
|
|
19
|
+
loadTocPlugin: () => s
|
|
20
|
+
});
|
|
21
|
+
async function n() {
|
|
22
|
+
let [e, t, n, r] = await Promise.all([
|
|
23
|
+
import("@platejs/basic-nodes/react"),
|
|
24
|
+
import("@platejs/table/react"),
|
|
25
|
+
import("@platejs/layout/react"),
|
|
26
|
+
import("@platejs/callout/react")
|
|
27
|
+
]);
|
|
28
|
+
return [
|
|
29
|
+
e.BoldPlugin,
|
|
30
|
+
e.ItalicPlugin,
|
|
31
|
+
e.UnderlinePlugin,
|
|
32
|
+
e.StrikethroughPlugin,
|
|
33
|
+
e.CodePlugin,
|
|
34
|
+
e.HighlightPlugin,
|
|
35
|
+
e.SuperscriptPlugin,
|
|
36
|
+
e.SubscriptPlugin,
|
|
37
|
+
e.H1Plugin,
|
|
38
|
+
e.H2Plugin,
|
|
39
|
+
e.H3Plugin,
|
|
40
|
+
e.H4Plugin,
|
|
41
|
+
e.H5Plugin,
|
|
42
|
+
e.H6Plugin,
|
|
43
|
+
e.BlockquotePlugin,
|
|
44
|
+
t.TablePlugin,
|
|
45
|
+
t.TableRowPlugin,
|
|
46
|
+
t.TableCellPlugin,
|
|
47
|
+
t.TableCellHeaderPlugin,
|
|
48
|
+
n.ColumnPlugin,
|
|
49
|
+
n.ColumnItemPlugin,
|
|
50
|
+
r.CalloutPlugin
|
|
51
|
+
];
|
|
52
|
+
}
|
|
53
|
+
async function r() {
|
|
54
|
+
let { LinkPlugin: e } = await import("@platejs/link/react");
|
|
55
|
+
return [e.configure({ options: { allowedSchemes: [
|
|
56
|
+
"http",
|
|
57
|
+
"https",
|
|
58
|
+
"mailto",
|
|
59
|
+
"tel"
|
|
60
|
+
] } })];
|
|
61
|
+
}
|
|
62
|
+
async function i() {
|
|
63
|
+
let { ImagePlugin: e, MediaEmbedPlugin: t } = await import("@platejs/media/react");
|
|
64
|
+
return [e, t];
|
|
65
|
+
}
|
|
66
|
+
async function a() {
|
|
67
|
+
let { MentionPlugin: e, MentionInputPlugin: t } = await import("@platejs/mention/react");
|
|
68
|
+
return [e.configure({ options: {
|
|
69
|
+
trigger: "@",
|
|
70
|
+
triggerPreviousCharPattern: /^$|^[\s"']$/,
|
|
71
|
+
insertSpaceAfterMention: !0
|
|
72
|
+
} }), t];
|
|
73
|
+
}
|
|
74
|
+
async function o() {
|
|
75
|
+
let { DndPlugin: e } = await import("@platejs/dnd");
|
|
76
|
+
return [e];
|
|
77
|
+
}
|
|
78
|
+
async function s() {
|
|
79
|
+
let { TocPlugin: e } = await import("@platejs/toc/react");
|
|
80
|
+
return [e];
|
|
81
|
+
}
|
|
82
|
+
async function c() {
|
|
83
|
+
let { IndentPlugin: e } = await import("@platejs/indent/react");
|
|
84
|
+
return [e];
|
|
85
|
+
}
|
|
86
|
+
async function l() {
|
|
87
|
+
let { MarkdownPlugin: e } = await import("@platejs/markdown");
|
|
88
|
+
return [e];
|
|
89
|
+
}
|
|
90
|
+
async function u() {
|
|
91
|
+
let { BlockSelectionPlugin: e } = await import("@platejs/selection/react");
|
|
92
|
+
return [e];
|
|
93
|
+
}
|
|
94
|
+
async function d(e) {
|
|
95
|
+
let { AIPlugin: t, AIChatPlugin: n } = await import("@platejs/ai/react"), r = [t];
|
|
96
|
+
return e?.endpoint ? r.push(n.configure({ options: { chat: {
|
|
97
|
+
api: e.endpoint,
|
|
98
|
+
body: { system: e.systemPrompt ?? "You are a helpful writing assistant." },
|
|
99
|
+
headers: e.headers
|
|
100
|
+
} } })) : r.push(n), r;
|
|
101
|
+
}
|
|
102
|
+
async function f() {
|
|
103
|
+
let { EmojiPlugin: e } = await import("@platejs/emoji/react");
|
|
104
|
+
return [e];
|
|
105
|
+
}
|
|
106
|
+
async function p() {
|
|
107
|
+
return [];
|
|
108
|
+
}
|
|
109
|
+
async function m() {
|
|
110
|
+
return [];
|
|
111
|
+
}
|
|
112
|
+
async function h() {
|
|
113
|
+
let { SlashPlugin: e, SlashInputPlugin: t } = await import("@platejs/combobox/react");
|
|
114
|
+
return [e.configure({ options: {
|
|
115
|
+
trigger: "/",
|
|
116
|
+
triggerPreviousCharPattern: /^$|^[\s"']$/
|
|
117
|
+
} }), t];
|
|
118
|
+
}
|
|
119
|
+
function g(e) {
|
|
120
|
+
switch (e) {
|
|
121
|
+
case "minimal": return [];
|
|
122
|
+
case "standard": return [r, c];
|
|
123
|
+
case "full": return [
|
|
124
|
+
r,
|
|
125
|
+
i,
|
|
126
|
+
a,
|
|
127
|
+
o,
|
|
128
|
+
s,
|
|
129
|
+
c,
|
|
130
|
+
l,
|
|
131
|
+
u
|
|
132
|
+
];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
136
|
+
export { m as a, p as c, l as d, i as f, t as g, s as h, n as i, c as l, u as m, d as n, o, a as p, h as r, f as s, g as t, r as u };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require(`./chunk-FDd1SASZ.js`),t=require(`./cn-DEeiGoUV.js`),n=require(`./separator-DviMy-io.js`),r=require(`./textarea-jycisJkk.js`),i=require(`./input-vHHUMve1.js`);let a=require(`react`);a=e.r(a);let o=require(`lucide-react`),s=require(`react/jsx-runtime`),c=require(`@radix-ui/react-popover`);c=e.r(c);var l=c.Root,u=c.Trigger,d=a.forwardRef(({className:e,align:n=`center`,sideOffset:r=4,...i},a)=>(0,s.jsx)(c.Portal,{children:(0,s.jsx)(c.Content,{ref:a,align:n,sideOffset:r,className:t.t(`z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,e),...i})}));d.displayName=c.Content.displayName;var f=e.n({WakaRichTextEditor:()=>m,default:()=>m}),p=[[`bold`,`italic`,`underline`,`strike`],[`h1`,`h2`,`h3`],[`bulletList`,`orderedList`,`blockquote`],[`link`,`code`],[`undo`,`redo`]],m=a.forwardRef(({value:e=``,onChange:t,toolbar:n=p,placeholder:r=`Écrivez ici...`,maxLength:i,showCharacterCount:o=!1,minHeight:c=200,disabled:l=!1,error:u,className:d,label:f,description:m,editable:g=!0,immediatelyRender:v=!1},y)=>{let[b,x]=a.useState(null),[S,C]=a.useState(null),[w,T]=a.useState(null),[E,D]=a.useState(``);return a.useEffect(()=>{(async()=>{try{let[{useEditor:e,EditorContent:t},{default:n},{default:r},{default:i},{default:a}]=await Promise.all([import(`@tiptap/react`),import(`@tiptap/starter-kit`),import(`@tiptap/extension-underline`),import(`@tiptap/extension-link`),import(`@tiptap/extension-text-align`)]);C({useEditor:e,EditorContent:t,StarterKit:n,Underline:r,Link:i,TextAlign:a}),x(!0)}catch{x(!1)}})()},[]),b&&S?(0,s.jsx)(h,{ref:y,components:S,value:e,onChange:t,toolbar:n,placeholder:r,maxLength:i,showCharacterCount:o,minHeight:c,disabled:l,error:u,className:d,label:f,description:m,editable:g,immediatelyRender:v,linkUrl:E,setLinkUrl:D,editor:w,setEditor:T}):(0,s.jsx)(_,{ref:y,value:e,onChange:t,placeholder:r,maxLength:i,showCharacterCount:o,minHeight:c,disabled:l,error:u,className:d,label:f,description:m,loading:b===null})});m.displayName=`WakaRichTextEditor`;var h=a.forwardRef(({components:e,value:i,onChange:o,toolbar:c,placeholder:l,maxLength:u,showCharacterCount:d,minHeight:f,disabled:p,error:m,className:h,label:_,description:v,editable:y,immediatelyRender:b=!1,linkUrl:x,setLinkUrl:S,setEditor:C},w)=>{let{useEditor:T,EditorContent:E,StarterKit:D,Underline:O,Link:k,TextAlign:A}=e,j=T({extensions:[D.configure({heading:{levels:[1,2,3]}}),O,k.configure({openOnClick:!1}),A.configure({types:[`heading`,`paragraph`]})],content:i,editable:y&&!p,immediatelyRender:b,onUpdate:({editor:e})=>{let t=e.getHTML();(!u||t.length<=u)&&o?.(t)}});a.useEffect(()=>{C(j)},[j,C]),a.useEffect(()=>{j&&i!==j.getHTML()&&j.commands?.setContent?.(i||``,!1)},[i,j]);let M=()=>{j&&(x?j.chain().focus().setLink({href:x}).run():j.chain().focus().unsetLink().run(),S(``))},N=j?.storage?.characterCount?.characters?.()??i?.replace(/<[^>]*>/g,``).length??0;return(0,s.jsxs)(`div`,{ref:w,className:t.t(`space-y-1.5`,h),children:[_&&(0,s.jsx)(r.n,{children:_}),v&&(0,s.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:v}),(0,s.jsxs)(`div`,{className:t.t(`border rounded-lg overflow-hidden`,m&&`border-destructive`),children:[j&&c&&(0,s.jsx)(`div`,{className:`flex flex-wrap items-center gap-0.5 p-1 border-b bg-muted/30`,children:c.map((e,t)=>(0,s.jsxs)(a.Fragment,{children:[t>0&&(0,s.jsx)(n.t,{orientation:`vertical`,className:`mx-1 h-6`}),e.map(e=>(0,s.jsx)(g,{button:e,editor:j,linkUrl:x,setLinkUrl:S,handleSetLink:M},e))]},t))}),(0,s.jsx)(`div`,{style:{minHeight:f},children:(0,s.jsx)(E,{editor:j,className:t.t(`prose prose-sm max-w-none p-3 focus-within:outline-none h-full`,`[&_.ProseMirror]:outline-none [&_.ProseMirror]:min-h-[inherit]`)})}),d&&(0,s.jsxs)(`div`,{className:`flex justify-end p-1.5 border-t bg-muted/30 text-xs text-muted-foreground`,children:[N,u&&` / ${u}`,` caractères`]})]}),m&&(0,s.jsx)(`p`,{className:`text-sm text-destructive`,children:m})]})});h.displayName=`TiptapEditorComponent`;function g({button:e,editor:t,linkUrl:r,setLinkUrl:a,handleSetLink:c}){let{icon:f,action:p,isActive:m}={bold:{icon:(0,s.jsx)(o.Bold,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleBold().run(),isActive:()=>t.isActive(`bold`)},italic:{icon:(0,s.jsx)(o.Italic,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleItalic().run(),isActive:()=>t.isActive(`italic`)},underline:{icon:(0,s.jsx)(o.Underline,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleUnderline().run(),isActive:()=>t.isActive(`underline`)},strike:{icon:(0,s.jsx)(o.Strikethrough,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleStrike().run(),isActive:()=>t.isActive(`strike`)},h1:{icon:(0,s.jsx)(o.Heading1,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleHeading({level:1}).run(),isActive:()=>t.isActive(`heading`,{level:1})},h2:{icon:(0,s.jsx)(o.Heading2,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleHeading({level:2}).run(),isActive:()=>t.isActive(`heading`,{level:2})},h3:{icon:(0,s.jsx)(o.Heading3,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleHeading({level:3}).run(),isActive:()=>t.isActive(`heading`,{level:3})},bulletList:{icon:(0,s.jsx)(o.List,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleBulletList().run(),isActive:()=>t.isActive(`bulletList`)},orderedList:{icon:(0,s.jsx)(o.ListOrdered,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleOrderedList().run(),isActive:()=>t.isActive(`orderedList`)},blockquote:{icon:(0,s.jsx)(o.Quote,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleBlockquote().run(),isActive:()=>t.isActive(`blockquote`)},code:{icon:(0,s.jsx)(o.Code,{className:`h-4 w-4`}),action:()=>t.chain().focus().toggleCodeBlock().run(),isActive:()=>t.isActive(`codeBlock`)},link:{icon:(0,s.jsx)(o.Link,{className:`h-4 w-4`}),action:()=>{},isActive:()=>t.isActive(`link`)},alignLeft:{icon:(0,s.jsx)(o.AlignLeft,{className:`h-4 w-4`}),action:()=>t.chain().focus().setTextAlign(`left`).run(),isActive:()=>t.isActive({textAlign:`left`})},alignCenter:{icon:(0,s.jsx)(o.AlignCenter,{className:`h-4 w-4`}),action:()=>t.chain().focus().setTextAlign(`center`).run(),isActive:()=>t.isActive({textAlign:`center`})},alignRight:{icon:(0,s.jsx)(o.AlignRight,{className:`h-4 w-4`}),action:()=>t.chain().focus().setTextAlign(`right`).run(),isActive:()=>t.isActive({textAlign:`right`})},undo:{icon:(0,s.jsx)(o.Undo,{className:`h-4 w-4`}),action:()=>t.chain().focus().undo().run()},redo:{icon:(0,s.jsx)(o.Redo,{className:`h-4 w-4`}),action:()=>t.chain().focus().redo().run()}}[e];return e===`link`?(0,s.jsxs)(l,{children:[(0,s.jsx)(u,{asChild:!0,children:(0,s.jsx)(n.n,{type:`button`,variant:m?.()?`secondary`:`ghost`,size:`icon`,className:`h-7 w-7`,children:f})}),(0,s.jsx)(d,{className:`w-64 p-2`,children:(0,s.jsxs)(`div`,{className:`flex gap-2`,children:[(0,s.jsx)(i.t,{value:r,onChange:e=>a(e.target.value),placeholder:`https://...`,className:`h-8`}),(0,s.jsx)(n.n,{size:`sm`,onClick:c,children:`OK`})]})})]}):(0,s.jsx)(n.n,{type:`button`,variant:m?.()?`secondary`:`ghost`,size:`icon`,className:`h-7 w-7`,onClick:p,children:f})}var _=a.forwardRef(({value:e,onChange:n,placeholder:i,maxLength:a,showCharacterCount:o,minHeight:c,disabled:l,error:u,className:d,label:f,description:p,loading:m},h)=>(0,s.jsxs)(`div`,{ref:h,className:t.t(`space-y-1.5`,d),children:[f&&(0,s.jsx)(r.n,{children:f}),p&&(0,s.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:p}),(0,s.jsxs)(`div`,{className:`relative`,children:[(0,s.jsx)(r.t,{value:e,onChange:e=>n?.(e.target.value),placeholder:i,maxLength:a,disabled:l||m,style:{minHeight:c},className:t.t(u&&`border-destructive`)}),m&&(0,s.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center bg-background/50`,children:(0,s.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`Chargement...`})})]}),(0,s.jsxs)(`div`,{className:`flex items-center justify-between`,children:[u&&(0,s.jsx)(`p`,{className:`text-sm text-destructive`,children:u}),o&&(0,s.jsxs)(`p`,{className:`text-xs text-muted-foreground ml-auto`,children:[e?.length||0,a&&` / ${a}`,` caractères`]})]})]}));_.displayName=`FallbackEditor`,Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return m}});
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { n as e } from "./chunk-BJivcVNn.mjs";
|
|
3
|
+
import { t } from "./cn-Bpd_xIzI.mjs";
|
|
4
|
+
import { n, t as r } from "./separator-DDQs13_a.mjs";
|
|
5
|
+
import { n as i, t as a } from "./textarea-C4AbqFOT.mjs";
|
|
6
|
+
import { t as o } from "./input-B8pxqKEs.mjs";
|
|
7
|
+
import * as s from "react";
|
|
8
|
+
import { AlignCenter as c, AlignLeft as l, AlignRight as u, Bold as d, Code as f, Heading1 as p, Heading2 as m, Heading3 as h, Italic as g, Link as _, List as v, ListOrdered as y, Quote as b, Redo as x, Strikethrough as S, Underline as C, Undo as w } from "lucide-react";
|
|
9
|
+
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
10
|
+
import * as D from "@radix-ui/react-popover";
|
|
11
|
+
//#region src/components/popover/index.tsx
|
|
12
|
+
var O = D.Root, k = D.Trigger, A = s.forwardRef(({ className: e, align: n = "center", sideOffset: r = 4, ...i }, a) => /* @__PURE__ */ T(D.Portal, { children: /* @__PURE__ */ T(D.Content, {
|
|
13
|
+
ref: a,
|
|
14
|
+
align: n,
|
|
15
|
+
sideOffset: r,
|
|
16
|
+
className: t("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", e),
|
|
17
|
+
...i
|
|
18
|
+
}) }));
|
|
19
|
+
A.displayName = D.Content.displayName;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/waka-rich-text-editor/index.tsx
|
|
22
|
+
var j = /* @__PURE__ */ e({
|
|
23
|
+
WakaRichTextEditor: () => N,
|
|
24
|
+
default: () => N
|
|
25
|
+
}), M = [
|
|
26
|
+
[
|
|
27
|
+
"bold",
|
|
28
|
+
"italic",
|
|
29
|
+
"underline",
|
|
30
|
+
"strike"
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
"h1",
|
|
34
|
+
"h2",
|
|
35
|
+
"h3"
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"bulletList",
|
|
39
|
+
"orderedList",
|
|
40
|
+
"blockquote"
|
|
41
|
+
],
|
|
42
|
+
["link", "code"],
|
|
43
|
+
["undo", "redo"]
|
|
44
|
+
], N = s.forwardRef(({ value: e = "", onChange: t, toolbar: n = M, placeholder: r = "Écrivez ici...", maxLength: i, showCharacterCount: a = !1, minHeight: o = 200, disabled: c = !1, error: l, className: u, label: d, description: f, editable: p = !0, immediatelyRender: m = !1 }, h) => {
|
|
45
|
+
let [g, _] = s.useState(null), [v, y] = s.useState(null), [b, x] = s.useState(null), [S, C] = s.useState("");
|
|
46
|
+
return s.useEffect(() => {
|
|
47
|
+
(async () => {
|
|
48
|
+
try {
|
|
49
|
+
let [{ useEditor: e, EditorContent: t }, { default: n }, { default: r }, { default: i }, { default: a }] = await Promise.all([
|
|
50
|
+
import("@tiptap/react"),
|
|
51
|
+
import("@tiptap/starter-kit"),
|
|
52
|
+
import("@tiptap/extension-underline"),
|
|
53
|
+
import("@tiptap/extension-link"),
|
|
54
|
+
import("@tiptap/extension-text-align")
|
|
55
|
+
]);
|
|
56
|
+
y({
|
|
57
|
+
useEditor: e,
|
|
58
|
+
EditorContent: t,
|
|
59
|
+
StarterKit: n,
|
|
60
|
+
Underline: r,
|
|
61
|
+
Link: i,
|
|
62
|
+
TextAlign: a
|
|
63
|
+
}), _(!0);
|
|
64
|
+
} catch {
|
|
65
|
+
_(!1);
|
|
66
|
+
}
|
|
67
|
+
})();
|
|
68
|
+
}, []), g && v ? /* @__PURE__ */ T(P, {
|
|
69
|
+
ref: h,
|
|
70
|
+
components: v,
|
|
71
|
+
value: e,
|
|
72
|
+
onChange: t,
|
|
73
|
+
toolbar: n,
|
|
74
|
+
placeholder: r,
|
|
75
|
+
maxLength: i,
|
|
76
|
+
showCharacterCount: a,
|
|
77
|
+
minHeight: o,
|
|
78
|
+
disabled: c,
|
|
79
|
+
error: l,
|
|
80
|
+
className: u,
|
|
81
|
+
label: d,
|
|
82
|
+
description: f,
|
|
83
|
+
editable: p,
|
|
84
|
+
immediatelyRender: m,
|
|
85
|
+
linkUrl: S,
|
|
86
|
+
setLinkUrl: C,
|
|
87
|
+
editor: b,
|
|
88
|
+
setEditor: x
|
|
89
|
+
}) : /* @__PURE__ */ T(I, {
|
|
90
|
+
ref: h,
|
|
91
|
+
value: e,
|
|
92
|
+
onChange: t,
|
|
93
|
+
placeholder: r,
|
|
94
|
+
maxLength: i,
|
|
95
|
+
showCharacterCount: a,
|
|
96
|
+
minHeight: o,
|
|
97
|
+
disabled: c,
|
|
98
|
+
error: l,
|
|
99
|
+
className: u,
|
|
100
|
+
label: d,
|
|
101
|
+
description: f,
|
|
102
|
+
loading: g === null
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
N.displayName = "WakaRichTextEditor";
|
|
106
|
+
var P = s.forwardRef(({ components: e, value: n, onChange: a, toolbar: o, placeholder: c, maxLength: l, showCharacterCount: u, minHeight: d, disabled: f, error: p, className: m, label: h, description: g, editable: _, immediatelyRender: v = !1, linkUrl: y, setLinkUrl: b, setEditor: x }, S) => {
|
|
107
|
+
let { useEditor: C, EditorContent: w, StarterKit: D, Underline: O, Link: k, TextAlign: A } = e, j = C({
|
|
108
|
+
extensions: [
|
|
109
|
+
D.configure({ heading: { levels: [
|
|
110
|
+
1,
|
|
111
|
+
2,
|
|
112
|
+
3
|
|
113
|
+
] } }),
|
|
114
|
+
O,
|
|
115
|
+
k.configure({ openOnClick: !1 }),
|
|
116
|
+
A.configure({ types: ["heading", "paragraph"] })
|
|
117
|
+
],
|
|
118
|
+
content: n,
|
|
119
|
+
editable: _ && !f,
|
|
120
|
+
immediatelyRender: v,
|
|
121
|
+
onUpdate: ({ editor: e }) => {
|
|
122
|
+
let t = e.getHTML();
|
|
123
|
+
(!l || t.length <= l) && a?.(t);
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
s.useEffect(() => {
|
|
127
|
+
x(j);
|
|
128
|
+
}, [j, x]), s.useEffect(() => {
|
|
129
|
+
j && n !== j.getHTML() && j.commands?.setContent?.(n || "", !1);
|
|
130
|
+
}, [n, j]);
|
|
131
|
+
let M = () => {
|
|
132
|
+
j && (y ? j.chain().focus().setLink({ href: y }).run() : j.chain().focus().unsetLink().run(), b(""));
|
|
133
|
+
}, N = j?.storage?.characterCount?.characters?.() ?? n?.replace(/<[^>]*>/g, "").length ?? 0;
|
|
134
|
+
return /* @__PURE__ */ E("div", {
|
|
135
|
+
ref: S,
|
|
136
|
+
className: t("space-y-1.5", m),
|
|
137
|
+
children: [
|
|
138
|
+
h && /* @__PURE__ */ T(i, { children: h }),
|
|
139
|
+
g && /* @__PURE__ */ T("p", {
|
|
140
|
+
className: "text-sm text-muted-foreground",
|
|
141
|
+
children: g
|
|
142
|
+
}),
|
|
143
|
+
/* @__PURE__ */ E("div", {
|
|
144
|
+
className: t("border rounded-lg overflow-hidden", p && "border-destructive"),
|
|
145
|
+
children: [
|
|
146
|
+
j && o && /* @__PURE__ */ T("div", {
|
|
147
|
+
className: "flex flex-wrap items-center gap-0.5 p-1 border-b bg-muted/30",
|
|
148
|
+
children: o.map((e, t) => /* @__PURE__ */ E(s.Fragment, { children: [t > 0 && /* @__PURE__ */ T(r, {
|
|
149
|
+
orientation: "vertical",
|
|
150
|
+
className: "mx-1 h-6"
|
|
151
|
+
}), e.map((e) => /* @__PURE__ */ T(F, {
|
|
152
|
+
button: e,
|
|
153
|
+
editor: j,
|
|
154
|
+
linkUrl: y,
|
|
155
|
+
setLinkUrl: b,
|
|
156
|
+
handleSetLink: M
|
|
157
|
+
}, e))] }, t))
|
|
158
|
+
}),
|
|
159
|
+
/* @__PURE__ */ T("div", {
|
|
160
|
+
style: { minHeight: d },
|
|
161
|
+
children: /* @__PURE__ */ T(w, {
|
|
162
|
+
editor: j,
|
|
163
|
+
className: t("prose prose-sm max-w-none p-3 focus-within:outline-none h-full", "[&_.ProseMirror]:outline-none [&_.ProseMirror]:min-h-[inherit]")
|
|
164
|
+
})
|
|
165
|
+
}),
|
|
166
|
+
u && /* @__PURE__ */ E("div", {
|
|
167
|
+
className: "flex justify-end p-1.5 border-t bg-muted/30 text-xs text-muted-foreground",
|
|
168
|
+
children: [
|
|
169
|
+
N,
|
|
170
|
+
l && ` / ${l}`,
|
|
171
|
+
" caractères"
|
|
172
|
+
]
|
|
173
|
+
})
|
|
174
|
+
]
|
|
175
|
+
}),
|
|
176
|
+
p && /* @__PURE__ */ T("p", {
|
|
177
|
+
className: "text-sm text-destructive",
|
|
178
|
+
children: p
|
|
179
|
+
})
|
|
180
|
+
]
|
|
181
|
+
});
|
|
182
|
+
});
|
|
183
|
+
P.displayName = "TiptapEditorComponent";
|
|
184
|
+
function F({ button: e, editor: t, linkUrl: r, setLinkUrl: i, handleSetLink: a }) {
|
|
185
|
+
let { icon: s, action: D, isActive: j } = {
|
|
186
|
+
bold: {
|
|
187
|
+
icon: /* @__PURE__ */ T(d, { className: "h-4 w-4" }),
|
|
188
|
+
action: () => t.chain().focus().toggleBold().run(),
|
|
189
|
+
isActive: () => t.isActive("bold")
|
|
190
|
+
},
|
|
191
|
+
italic: {
|
|
192
|
+
icon: /* @__PURE__ */ T(g, { className: "h-4 w-4" }),
|
|
193
|
+
action: () => t.chain().focus().toggleItalic().run(),
|
|
194
|
+
isActive: () => t.isActive("italic")
|
|
195
|
+
},
|
|
196
|
+
underline: {
|
|
197
|
+
icon: /* @__PURE__ */ T(C, { className: "h-4 w-4" }),
|
|
198
|
+
action: () => t.chain().focus().toggleUnderline().run(),
|
|
199
|
+
isActive: () => t.isActive("underline")
|
|
200
|
+
},
|
|
201
|
+
strike: {
|
|
202
|
+
icon: /* @__PURE__ */ T(S, { className: "h-4 w-4" }),
|
|
203
|
+
action: () => t.chain().focus().toggleStrike().run(),
|
|
204
|
+
isActive: () => t.isActive("strike")
|
|
205
|
+
},
|
|
206
|
+
h1: {
|
|
207
|
+
icon: /* @__PURE__ */ T(p, { className: "h-4 w-4" }),
|
|
208
|
+
action: () => t.chain().focus().toggleHeading({ level: 1 }).run(),
|
|
209
|
+
isActive: () => t.isActive("heading", { level: 1 })
|
|
210
|
+
},
|
|
211
|
+
h2: {
|
|
212
|
+
icon: /* @__PURE__ */ T(m, { className: "h-4 w-4" }),
|
|
213
|
+
action: () => t.chain().focus().toggleHeading({ level: 2 }).run(),
|
|
214
|
+
isActive: () => t.isActive("heading", { level: 2 })
|
|
215
|
+
},
|
|
216
|
+
h3: {
|
|
217
|
+
icon: /* @__PURE__ */ T(h, { className: "h-4 w-4" }),
|
|
218
|
+
action: () => t.chain().focus().toggleHeading({ level: 3 }).run(),
|
|
219
|
+
isActive: () => t.isActive("heading", { level: 3 })
|
|
220
|
+
},
|
|
221
|
+
bulletList: {
|
|
222
|
+
icon: /* @__PURE__ */ T(v, { className: "h-4 w-4" }),
|
|
223
|
+
action: () => t.chain().focus().toggleBulletList().run(),
|
|
224
|
+
isActive: () => t.isActive("bulletList")
|
|
225
|
+
},
|
|
226
|
+
orderedList: {
|
|
227
|
+
icon: /* @__PURE__ */ T(y, { className: "h-4 w-4" }),
|
|
228
|
+
action: () => t.chain().focus().toggleOrderedList().run(),
|
|
229
|
+
isActive: () => t.isActive("orderedList")
|
|
230
|
+
},
|
|
231
|
+
blockquote: {
|
|
232
|
+
icon: /* @__PURE__ */ T(b, { className: "h-4 w-4" }),
|
|
233
|
+
action: () => t.chain().focus().toggleBlockquote().run(),
|
|
234
|
+
isActive: () => t.isActive("blockquote")
|
|
235
|
+
},
|
|
236
|
+
code: {
|
|
237
|
+
icon: /* @__PURE__ */ T(f, { className: "h-4 w-4" }),
|
|
238
|
+
action: () => t.chain().focus().toggleCodeBlock().run(),
|
|
239
|
+
isActive: () => t.isActive("codeBlock")
|
|
240
|
+
},
|
|
241
|
+
link: {
|
|
242
|
+
icon: /* @__PURE__ */ T(_, { className: "h-4 w-4" }),
|
|
243
|
+
action: () => {},
|
|
244
|
+
isActive: () => t.isActive("link")
|
|
245
|
+
},
|
|
246
|
+
alignLeft: {
|
|
247
|
+
icon: /* @__PURE__ */ T(l, { className: "h-4 w-4" }),
|
|
248
|
+
action: () => t.chain().focus().setTextAlign("left").run(),
|
|
249
|
+
isActive: () => t.isActive({ textAlign: "left" })
|
|
250
|
+
},
|
|
251
|
+
alignCenter: {
|
|
252
|
+
icon: /* @__PURE__ */ T(c, { className: "h-4 w-4" }),
|
|
253
|
+
action: () => t.chain().focus().setTextAlign("center").run(),
|
|
254
|
+
isActive: () => t.isActive({ textAlign: "center" })
|
|
255
|
+
},
|
|
256
|
+
alignRight: {
|
|
257
|
+
icon: /* @__PURE__ */ T(u, { className: "h-4 w-4" }),
|
|
258
|
+
action: () => t.chain().focus().setTextAlign("right").run(),
|
|
259
|
+
isActive: () => t.isActive({ textAlign: "right" })
|
|
260
|
+
},
|
|
261
|
+
undo: {
|
|
262
|
+
icon: /* @__PURE__ */ T(w, { className: "h-4 w-4" }),
|
|
263
|
+
action: () => t.chain().focus().undo().run()
|
|
264
|
+
},
|
|
265
|
+
redo: {
|
|
266
|
+
icon: /* @__PURE__ */ T(x, { className: "h-4 w-4" }),
|
|
267
|
+
action: () => t.chain().focus().redo().run()
|
|
268
|
+
}
|
|
269
|
+
}[e];
|
|
270
|
+
return e === "link" ? /* @__PURE__ */ E(O, { children: [/* @__PURE__ */ T(k, {
|
|
271
|
+
asChild: !0,
|
|
272
|
+
children: /* @__PURE__ */ T(n, {
|
|
273
|
+
type: "button",
|
|
274
|
+
variant: j?.() ? "secondary" : "ghost",
|
|
275
|
+
size: "icon",
|
|
276
|
+
className: "h-7 w-7",
|
|
277
|
+
children: s
|
|
278
|
+
})
|
|
279
|
+
}), /* @__PURE__ */ T(A, {
|
|
280
|
+
className: "w-64 p-2",
|
|
281
|
+
children: /* @__PURE__ */ E("div", {
|
|
282
|
+
className: "flex gap-2",
|
|
283
|
+
children: [/* @__PURE__ */ T(o, {
|
|
284
|
+
value: r,
|
|
285
|
+
onChange: (e) => i(e.target.value),
|
|
286
|
+
placeholder: "https://...",
|
|
287
|
+
className: "h-8"
|
|
288
|
+
}), /* @__PURE__ */ T(n, {
|
|
289
|
+
size: "sm",
|
|
290
|
+
onClick: a,
|
|
291
|
+
children: "OK"
|
|
292
|
+
})]
|
|
293
|
+
})
|
|
294
|
+
})] }) : /* @__PURE__ */ T(n, {
|
|
295
|
+
type: "button",
|
|
296
|
+
variant: j?.() ? "secondary" : "ghost",
|
|
297
|
+
size: "icon",
|
|
298
|
+
className: "h-7 w-7",
|
|
299
|
+
onClick: D,
|
|
300
|
+
children: s
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
var I = s.forwardRef(({ value: e, onChange: n, placeholder: r, maxLength: o, showCharacterCount: s, minHeight: c, disabled: l, error: u, className: d, label: f, description: p, loading: m }, h) => /* @__PURE__ */ E("div", {
|
|
304
|
+
ref: h,
|
|
305
|
+
className: t("space-y-1.5", d),
|
|
306
|
+
children: [
|
|
307
|
+
f && /* @__PURE__ */ T(i, { children: f }),
|
|
308
|
+
p && /* @__PURE__ */ T("p", {
|
|
309
|
+
className: "text-sm text-muted-foreground",
|
|
310
|
+
children: p
|
|
311
|
+
}),
|
|
312
|
+
/* @__PURE__ */ E("div", {
|
|
313
|
+
className: "relative",
|
|
314
|
+
children: [/* @__PURE__ */ T(a, {
|
|
315
|
+
value: e,
|
|
316
|
+
onChange: (e) => n?.(e.target.value),
|
|
317
|
+
placeholder: r,
|
|
318
|
+
maxLength: o,
|
|
319
|
+
disabled: l || m,
|
|
320
|
+
style: { minHeight: c },
|
|
321
|
+
className: t(u && "border-destructive")
|
|
322
|
+
}), m && /* @__PURE__ */ T("div", {
|
|
323
|
+
className: "absolute inset-0 flex items-center justify-center bg-background/50",
|
|
324
|
+
children: /* @__PURE__ */ T("span", {
|
|
325
|
+
className: "text-sm text-muted-foreground",
|
|
326
|
+
children: "Chargement..."
|
|
327
|
+
})
|
|
328
|
+
})]
|
|
329
|
+
}),
|
|
330
|
+
/* @__PURE__ */ E("div", {
|
|
331
|
+
className: "flex items-center justify-between",
|
|
332
|
+
children: [u && /* @__PURE__ */ T("p", {
|
|
333
|
+
className: "text-sm text-destructive",
|
|
334
|
+
children: u
|
|
335
|
+
}), s && /* @__PURE__ */ E("p", {
|
|
336
|
+
className: "text-xs text-muted-foreground ml-auto",
|
|
337
|
+
children: [
|
|
338
|
+
e?.length || 0,
|
|
339
|
+
o && ` / ${o}`,
|
|
340
|
+
" caractères"
|
|
341
|
+
]
|
|
342
|
+
})]
|
|
343
|
+
})
|
|
344
|
+
]
|
|
345
|
+
}));
|
|
346
|
+
I.displayName = "FallbackEditor";
|
|
347
|
+
//#endregion
|
|
348
|
+
export { k as a, A as i, j as n, O as r, N as t };
|