@wakastellar/ui 3.5.0 → 4.0.0-dev.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-BfiocODp.mjs → badge-BvqcaobM.mjs} +9 -9
- package/dist/blocks/activity-timeline/index.d.ts +73 -0
- package/dist/blocks/antivirus-dashboard/index.d.ts +44 -0
- package/dist/blocks/apm-overview/index.d.ts +58 -0
- package/dist/blocks/auth-2fa/index.d.ts +38 -0
- package/dist/blocks/calendar-view/index.d.ts +56 -0
- package/dist/blocks/chat/index.d.ts +112 -0
- package/dist/blocks/chat/widget.d.ts +100 -0
- package/dist/blocks/chat-interface/index.d.ts +66 -0
- package/dist/blocks/checkout-flow/index.d.ts +76 -0
- package/dist/blocks/cicd-builder/index.d.ts +47 -0
- package/dist/blocks/clamav-service-status/index.d.ts +35 -0
- package/dist/blocks/cloud-cost-dashboard/index.d.ts +49 -0
- package/dist/blocks/container-orchestrator/index.d.ts +63 -0
- package/dist/blocks/dashboard/index.d.ts +95 -0
- package/dist/blocks/dashboard-kpi/index.d.ts +69 -0
- package/dist/blocks/database-admin/index.d.ts +84 -0
- package/dist/blocks/deployment-dashboard/index.d.ts +68 -0
- package/dist/blocks/empty-states/index.d.ts +47 -0
- package/dist/blocks/error-pages/index.d.ts +55 -0
- package/dist/blocks/faq/index.d.ts +54 -0
- package/dist/blocks/file-manager/index.d.ts +81 -0
- package/dist/blocks/file-scan-uploader/index.d.ts +29 -0
- package/dist/blocks/footer/index.d.ts +19 -0
- package/dist/blocks/gitops-sync-status/index.d.ts +45 -0
- package/dist/blocks/header/index.d.ts +86 -0
- package/dist/blocks/headtab/index.d.ts +27 -0
- package/dist/blocks/i18n-editor/index.d.ts +63 -0
- package/dist/blocks/incident-manager/index.d.ts +44 -0
- package/dist/blocks/index.d.ts +58 -0
- package/dist/blocks/infrastructure-map/index.d.ts +32 -0
- package/dist/blocks/kanban-board/index.d.ts +77 -0
- package/dist/blocks/landing/index.d.ts +104 -0
- package/dist/blocks/language-selector/index.d.ts +6 -0
- package/dist/blocks/layout/index.d.ts +28 -0
- package/dist/blocks/login/index.d.ts +42 -0
- package/dist/blocks/login/types.d.ts +126 -0
- package/dist/blocks/on-call-schedule/index.d.ts +43 -0
- package/dist/blocks/player-profile/index.d.ts +78 -0
- package/dist/blocks/pricing/index.d.ts +64 -0
- package/dist/blocks/profile/index.d.ts +98 -0
- package/dist/blocks/quarantine-manager/index.d.ts +27 -0
- package/dist/blocks/release-notes/index.d.ts +49 -0
- package/dist/blocks/scan-history-log/index.d.ts +28 -0
- package/dist/blocks/scan-policy-editor/index.d.ts +27 -0
- package/dist/blocks/scan-report-generator/index.d.ts +47 -0
- package/dist/blocks/settings/index.d.ts +62 -0
- package/dist/blocks/sidebar/index.d.ts +155 -0
- package/dist/blocks/signature-database-manager/index.d.ts +39 -0
- package/dist/blocks/threat-alert-banner/index.d.ts +26 -0
- package/dist/blocks/user-management/index.d.ts +95 -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/blocks/wizard/index.d.ts +88 -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-Cr9pTUWm.mjs → chunk-BJivcVNn.mjs} +6 -5
- 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/DataTableContextMenu.d.ts +47 -0
- package/dist/components/DataTable/DataTableEditCell.d.ts +29 -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/DataTableSelection.d.ts +46 -0
- package/dist/components/DataTable/DataTableToolbar.d.ts +14 -0
- package/dist/components/DataTable/examples/EditExample.d.ts +2 -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/accordion/index.d.ts +7 -0
- package/dist/components/alert/index.d.ts +8 -0
- package/dist/components/alert-dialog/index.d.ts +20 -0
- package/dist/components/aspect-ratio/index.d.ts +3 -0
- package/dist/components/avatar/index.d.ts +6 -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/checkbox/index.d.ts +4 -0
- package/dist/components/code/index.d.ts +49 -0
- package/dist/components/collapsible/index.d.ts +5 -0
- package/dist/components/command/index.d.ts +83 -0
- package/dist/components/context-menu/index.d.ts +27 -0
- package/dist/components/dialog/index.d.ts +19 -0
- package/dist/components/dropdown-menu/index.d.ts +27 -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/hover-card/index.d.ts +6 -0
- package/dist/components/index.d.ts +257 -0
- package/dist/components/input/index.d.ts +19 -0
- package/dist/components/input-otp/index.d.ts +51 -0
- package/dist/components/label/index.d.ts +5 -0
- package/dist/components/language-selector/index.d.ts +40 -0
- package/dist/components/menubar/index.d.ts +28 -0
- package/dist/components/navigation-menu/index.d.ts +12 -0
- package/dist/components/popover/index.d.ts +6 -0
- package/dist/components/progress/index.d.ts +4 -0
- package/dist/components/radio-group/index.d.ts +5 -0
- package/dist/components/scroll-area/index.d.ts +5 -0
- package/dist/components/select/index.d.ts +13 -0
- package/dist/components/separator/index.d.ts +4 -0
- package/dist/components/sheet/index.d.ts +27 -0
- package/dist/components/skeleton/index.d.ts +13 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/switch/index.d.ts +4 -0
- package/dist/components/table/index.d.ts +21 -0
- package/dist/components/tabs/index.d.ts +7 -0
- package/dist/components/textarea/index.d.ts +14 -0
- package/dist/components/theme-selector/index.d.ts +8 -0
- package/dist/components/toast/index.d.ts +15 -0
- package/dist/components/toaster/index.d.ts +1 -0
- package/dist/components/toggle/index.d.ts +12 -0
- package/dist/components/tooltip/index.d.ts +7 -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-activity-feed/index.d.ts +78 -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-alert-panel/index.d.ts +45 -0
- package/dist/components/waka-alert-stack/index.d.ts +58 -0
- package/dist/components/waka-allocation-matrix/index.d.ts +193 -0
- package/dist/components/waka-approval-chain/index.d.ts +43 -0
- package/dist/components/waka-artifact-list/index.d.ts +32 -0
- package/dist/components/waka-audit-log/index.d.ts +142 -0
- package/dist/components/waka-autocomplete/index.d.ts +59 -0
- package/dist/components/waka-badge-showcase/index.d.ts +51 -0
- package/dist/components/waka-barcode/index.d.ts +27 -0
- package/dist/components/waka-biometric-prompt/index.d.ts +84 -0
- package/dist/components/waka-bottom-sheet/index.d.ts +61 -0
- package/dist/components/waka-breadcrumb/index.d.ts +43 -0
- package/dist/components/waka-breadcrumb-path/index.d.ts +46 -0
- package/dist/components/waka-budget-burn/index.d.ts +154 -0
- package/dist/components/waka-build-matrix/index.d.ts +36 -0
- package/dist/components/waka-capacity-planner/index.d.ts +132 -0
- package/dist/components/waka-carousel/index.d.ts +105 -0
- package/dist/components/waka-cart-summary/index.d.ts +154 -0
- package/dist/components/waka-challenge-timer/index.d.ts +86 -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/hooks/useRechartsLoader.d.ts +161 -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-checklist/index.d.ts +123 -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-color-picker/index.d.ts +40 -0
- package/dist/components/waka-combo-counter/index.d.ts +53 -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-compare-period/index.d.ts +122 -0
- package/dist/components/waka-config-comparator/index.d.ts +37 -0
- package/dist/components/waka-connection-matrix/index.d.ts +117 -0
- package/dist/components/waka-container-list/index.d.ts +51 -0
- package/dist/components/waka-content-recommendation/index.d.ts +23 -0
- package/dist/components/waka-contribution-graph/index.d.ts +34 -0
- package/dist/components/waka-cost-breakdown/index.d.ts +50 -0
- package/dist/components/waka-coupon-input/index.d.ts +105 -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-balance/types.d.ts +34 -0
- package/dist/components/waka-credit-breakdown/index.d.ts +32 -0
- package/dist/components/waka-credit-burn-rate/index.d.ts +25 -0
- package/dist/components/waka-credit-card-input/index.d.ts +95 -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-projection/index.d.ts +21 -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-credit-transfer-form/index.d.ts +27 -0
- package/dist/components/waka-credit-usage-chart/index.d.ts +34 -0
- package/dist/components/waka-daily-reward/index.d.ts +76 -0
- package/dist/components/waka-database-card/index.d.ts +46 -0
- package/dist/components/waka-date-range-picker/index.d.ts +68 -0
- package/dist/components/waka-datetime-picker/index.d.ts +135 -0
- package/dist/components/waka-datetime-picker.form-integration/index.d.ts +79 -0
- package/dist/components/waka-dependency-tree/index.d.ts +38 -0
- package/dist/components/waka-deployment-lane/index.d.ts +43 -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-callout/index.d.ts +9 -0
- package/dist/components/waka-doc-code-block/index.d.ts +23 -0
- package/dist/components/waka-doc-nav/index.d.ts +16 -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-table/index.d.ts +8 -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-doc-version/index.d.ts +13 -0
- package/dist/components/waka-dock/index.d.ts +49 -0
- package/dist/components/waka-drawer/index.d.ts +59 -0
- package/dist/components/waka-empty-state/index.d.ts +85 -0
- package/dist/components/waka-env-var-editor/index.d.ts +30 -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-feature-flag-row/index.d.ts +45 -0
- package/dist/components/waka-file-upload/index.d.ts +49 -0
- package/dist/components/waka-floating-nav/index.d.ts +51 -0
- package/dist/components/waka-flow-diagram/index.d.ts +71 -0
- package/dist/components/waka-funnel-chart/index.d.ts +108 -0
- package/dist/components/waka-glow-card/index.d.ts +32 -0
- package/dist/components/waka-goal-progress/index.d.ts +139 -0
- package/dist/components/waka-haptic-button/index.d.ts +50 -0
- package/dist/components/waka-health-pulse/index.d.ts +28 -0
- package/dist/components/waka-heatmap/index.d.ts +135 -0
- package/dist/components/waka-hotspot/index.d.ts +111 -0
- package/dist/components/waka-image/index.d.ts +59 -0
- package/dist/components/waka-incident-timeline/index.d.ts +38 -0
- package/dist/components/waka-invoice-preview/index.d.ts +137 -0
- package/dist/components/waka-kanban/index.d.ts +68 -0
- package/dist/components/waka-kpi-dashboard/index.d.ts +80 -0
- package/dist/components/waka-kubernetes-overview/index.d.ts +98 -0
- package/dist/components/waka-leaderboard/index.d.ts +85 -0
- package/dist/components/waka-level-progress/index.d.ts +89 -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-log-viewer/index.d.ts +38 -0
- package/dist/components/waka-loot-box/index.d.ts +87 -0
- package/dist/components/waka-magic-link/index.d.ts +34 -0
- package/dist/components/waka-magnetic-button/index.d.ts +61 -0
- package/dist/components/waka-mention-input/index.d.ts +106 -0
- package/dist/components/waka-metric-sparkline/index.d.ts +46 -0
- package/dist/components/waka-migration-list/index.d.ts +36 -0
- package/dist/components/waka-milestone-road/index.d.ts +91 -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-network-topology/index.d.ts +35 -0
- package/dist/components/waka-notifications/index.d.ts +40 -0
- package/dist/components/waka-number-input/index.d.ts +60 -0
- package/dist/components/waka-orbital-menu/index.d.ts +61 -0
- package/dist/components/waka-order-tracker/index.d.ts +121 -0
- package/dist/components/waka-outstream-video/index.d.ts +24 -0
- package/dist/components/waka-pagination/index.d.ts +67 -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-permission-matrix/index.d.ts +197 -0
- package/dist/components/waka-phone-input/index.d.ts +93 -0
- package/dist/components/waka-pipeline-view/index.d.ts +49 -0
- package/dist/components/waka-player-card/index.d.ts +36 -0
- package/dist/components/waka-pod-card/index.d.ts +73 -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-presence-indicator/index.d.ts +188 -0
- package/dist/components/waka-pricing-table/index.d.ts +77 -0
- package/dist/components/waka-product-card/index.d.ts +81 -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-qrcode/index.d.ts +32 -0
- package/dist/components/waka-query-explain/index.d.ts +48 -0
- package/dist/components/waka-quest-card/index.d.ts +110 -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-rank-badge/index.d.ts +58 -0
- package/dist/components/waka-rating-input/index.d.ts +110 -0
- package/dist/components/waka-reaction-picker/index.d.ts +77 -0
- package/dist/components/waka-region-map/index.d.ts +27 -0
- package/dist/components/waka-resource-gauge/index.d.ts +78 -0
- package/dist/components/waka-resource-pool/index.d.ts +81 -0
- package/dist/components/waka-rich-text-editor/index.d.ts +36 -0
- package/dist/components/waka-rollback-slider/index.d.ts +79 -0
- package/dist/components/waka-sankey-diagram/index.d.ts +120 -0
- package/dist/components/waka-schedule-picker/index.d.ts +100 -0
- package/dist/components/waka-scratch-card/index.d.ts +87 -0
- package/dist/components/waka-season-pass/index.d.ts +65 -0
- package/dist/components/waka-secret-card/index.d.ts +43 -0
- package/dist/components/waka-security-scan-result/index.d.ts +45 -0
- package/dist/components/waka-security-score/index.d.ts +124 -0
- package/dist/components/waka-segmented-control/index.d.ts +42 -0
- package/dist/components/waka-server-rack/index.d.ts +44 -0
- package/dist/components/waka-service-graph/index.d.ts +44 -0
- package/dist/components/waka-session-manager/index.d.ts +116 -0
- package/dist/components/waka-signature-pad/index.d.ts +87 -0
- package/dist/components/waka-skeleton-wave/index.d.ts +79 -0
- package/dist/components/waka-skill-tree/index.d.ts +78 -0
- package/dist/components/waka-sla-tracker/index.d.ts +65 -0
- package/dist/components/waka-slider-range/index.d.ts +88 -0
- package/dist/components/waka-spin-wheel/index.d.ts +51 -0
- package/dist/components/waka-spinner/index.d.ts +46 -0
- package/dist/components/waka-sponsored-badge/index.d.ts +20 -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-status-matrix/index.d.ts +38 -0
- package/dist/components/waka-stepper/index.d.ts +76 -0
- package/dist/components/waka-streak-counter/index.d.ts +27 -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-team-banner/index.d.ts +122 -0
- package/dist/components/waka-terminal-output/index.d.ts +48 -0
- package/dist/components/waka-test-report/index.d.ts +60 -0
- package/dist/components/waka-theme-creator/index.d.ts +59 -0
- package/dist/components/waka-theme-manager/index.d.ts +62 -0
- package/dist/components/waka-thread-view/index.d.ts +101 -0
- package/dist/components/waka-tilt-card/index.d.ts +36 -0
- package/dist/components/waka-time-picker/index.d.ts +51 -0
- package/dist/components/waka-timeline/index.d.ts +46 -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-trace-viewer/index.d.ts +36 -0
- package/dist/components/waka-tree/index.d.ts +67 -0
- package/dist/components/waka-treemap-chart/index.d.ts +104 -0
- package/dist/components/waka-two-factor-setup/index.d.ts +93 -0
- package/dist/components/waka-typewriter/index.d.ts +98 -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/index.d.ts +66 -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/components/waka-virtual-list/index.d.ts +54 -0
- package/dist/components/waka-voice-message/index.d.ts +117 -0
- package/dist/components/waka-welcome-modal/index.d.ts +120 -0
- package/dist/components/waka-xp-bar/index.d.ts +54 -0
- package/dist/context/admincrumb-context.d.ts +34 -0
- package/dist/context/index.d.ts +8 -0
- package/dist/context/language-context.d.ts +57 -0
- package/dist/context/theme-context.d.ts +39 -0
- package/dist/context/theme-provider.d.ts +74 -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 +1934 -2016
- package/dist/exceljs.min-BQi0sACt.js +28 -0
- package/dist/{exceljs.min-DL1XYDll.mjs → exceljs.min-M0HhQgNK.mjs} +42 -33
- 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/use-translation.d.ts +15 -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 +25926 -26088
- 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-ibN2mycs.mjs → separator-DDQs13_a.mjs} +19 -19
- package/dist/separator-DviMy-io.js +1 -0
- package/dist/src/blocks/login/index.d.ts +4 -4
- package/dist/src/blocks/waka-doc-shell/types.d.ts +3 -3
- package/dist/src/cli/utils/remote.d.ts +49 -0
- package/dist/src/components/calendar/index.d.ts +10 -0
- package/dist/src/components/card/index.d.ts +44 -6
- package/dist/src/components/editor/index.d.ts +14 -0
- package/dist/src/components/editor/waka-floating-toolbar.d.ts +6 -0
- package/dist/src/components/input/index.d.ts +14 -0
- package/dist/src/components/skeleton/index.d.ts +12 -1
- package/dist/src/components/table/index.d.ts +12 -1
- package/dist/src/components/textarea/index.d.ts +9 -0
- package/dist/src/components/waka-address-autocomplete/index.d.ts +5 -0
- package/dist/src/components/waka-admincrumb/index.d.ts +14 -0
- package/dist/src/components/waka-datetime-picker.form-integration/index.d.ts +4 -0
- package/dist/src/components/waka-doc-breadcrumb/index.d.ts +3 -3
- package/dist/src/components/waka-doc-search/index.d.ts +5 -0
- package/dist/src/components/waka-doc-toolbar/index.d.ts +5 -0
- package/dist/src/components/waka-dock/index.d.ts +5 -0
- package/dist/src/components/waka-haptic-button/index.d.ts +5 -0
- package/dist/src/components/waka-hotspot/index.d.ts +5 -0
- package/dist/src/components/waka-liquid-button/index.d.ts +5 -0
- package/dist/src/components/waka-magnetic-button/index.d.ts +5 -0
- package/dist/src/components/waka-modal/index.d.ts +5 -0
- package/dist/src/components/waka-tooltip-tour/index.d.ts +5 -0
- package/dist/src/components/waka-tour-guide/index.d.ts +5 -0
- package/dist/src/stories/editor/EditorStoryWrapper.d.ts +11 -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/link.d.ts +23 -0
- package/dist/types/provider.d.ts +108 -0
- package/dist/types-CUCT8Mwf.js +1 -0
- package/dist/{types-JnqoLyuv.mjs → types-DXkPQFit.mjs} +212 -214
- package/dist/{useDataTableImport-T7ddpN5k.js → useDataTableImport-DNU1m8NO.js} +3 -3
- package/dist/{useDataTableImport-BWUFesPi.mjs → useDataTableImport-z5avsB21.mjs} +4 -3
- package/dist/utils/cn.d.ts +1 -0
- package/dist/utils/datetime-helpers.d.ts +147 -0
- package/dist/utils/error-handling.d.ts +190 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/logger.d.ts +9 -0
- package/dist/utils/security.d.ts +96 -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-Cw-Xnyen.mjs → waka-doc-renderer-BZ3DtCzv.mjs} +192 -176
- package/dist/waka-editor-plugins-DO4BF3o_.js +1 -0
- package/dist/{waka-editor-plugins-DR6tpsUC.mjs → waka-editor-plugins-_0WFrkKK.mjs} +3 -2
- package/dist/{waka-rich-text-editor-DgSWiXMW.mjs → waka-rich-text-editor-BbEpfD5b.mjs} +22 -18
- package/dist/waka-rich-text-editor-C4b30Ik-.js +1 -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/footer/index.tsx +4 -4
- 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/login/index.tsx +14 -14
- 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/profile/index.tsx +5 -6
- 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/sidebar/index.tsx +0 -2
- 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 +62 -3
- 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-dnd-editor.tsx +1 -1
- package/src/components/editor/waka-document-editor.tsx +1 -1
- package/src/components/editor/waka-editor-plugins.ts +1 -1
- 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/WakaApprovalChain.stories.tsx +15 -17
- 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 +35 -20
- 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 +18 -5
- 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 +11 -35
- 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-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 +35 -30
- 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/chunk-14q5BKub.js +0 -1
- package/dist/cn-DEtaFQsA.js +0 -1
- package/dist/cn-DUn6aSIQ.mjs +0 -24
- 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/textarea-CdQWggYG.js +0 -1
- package/dist/textarea-DJDXJ3nd.mjs +0 -23
- package/dist/types-C2St0wOW.js +0 -1
- package/dist/waka-doc-renderer-CTxC7Trf.js +0 -3
- package/dist/waka-editor-plugins-sGSh9hn2.js +0 -1
- 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-DndVJuDw.mjs +0 -2
|
@@ -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}});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { n as e } from "./chunk-BJivcVNn.mjs";
|
|
2
3
|
//#region src/components/editor/waka-editor-plugins.ts
|
|
3
4
|
var t = /* @__PURE__ */ e({
|
|
4
5
|
getPresetLoaders: () => g,
|
|
@@ -71,7 +72,7 @@ async function a() {
|
|
|
71
72
|
} }), t];
|
|
72
73
|
}
|
|
73
74
|
async function o() {
|
|
74
|
-
let { DndPlugin: e } = await import("@platejs/dnd
|
|
75
|
+
let { DndPlugin: e } = await import("@platejs/dnd");
|
|
75
76
|
return [e];
|
|
76
77
|
}
|
|
77
78
|
async function s() {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import { n
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
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";
|
|
5
7
|
import * as s from "react";
|
|
6
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";
|
|
7
9
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
8
10
|
import * as D from "@radix-ui/react-popover";
|
|
9
11
|
//#region src/components/popover/index.tsx
|
|
10
|
-
e();
|
|
11
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, {
|
|
12
13
|
ref: a,
|
|
13
14
|
align: n,
|
|
@@ -15,10 +16,13 @@ var O = D.Root, k = D.Trigger, A = s.forwardRef(({ className: e, align: n = "cen
|
|
|
15
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),
|
|
16
17
|
...i
|
|
17
18
|
}) }));
|
|
19
|
+
A.displayName = D.Content.displayName;
|
|
18
20
|
//#endregion
|
|
19
21
|
//#region src/components/waka-rich-text-editor/index.tsx
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
var j = /* @__PURE__ */ e({
|
|
23
|
+
WakaRichTextEditor: () => N,
|
|
24
|
+
default: () => N
|
|
25
|
+
}), M = [
|
|
22
26
|
[
|
|
23
27
|
"bold",
|
|
24
28
|
"italic",
|
|
@@ -37,7 +41,7 @@ var j = [
|
|
|
37
41
|
],
|
|
38
42
|
["link", "code"],
|
|
39
43
|
["undo", "redo"]
|
|
40
|
-
],
|
|
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 }, m) => {
|
|
41
45
|
let [h, g] = s.useState(null), [_, v] = s.useState(null), [y, b] = s.useState(null), [x, S] = s.useState("");
|
|
42
46
|
return s.useEffect(() => {
|
|
43
47
|
(async () => {
|
|
@@ -61,7 +65,7 @@ var j = [
|
|
|
61
65
|
g(!1);
|
|
62
66
|
}
|
|
63
67
|
})();
|
|
64
|
-
}, []), h && _ ? /* @__PURE__ */ T(
|
|
68
|
+
}, []), h && _ ? /* @__PURE__ */ T(P, {
|
|
65
69
|
ref: m,
|
|
66
70
|
components: _,
|
|
67
71
|
value: e,
|
|
@@ -81,7 +85,7 @@ var j = [
|
|
|
81
85
|
setLinkUrl: S,
|
|
82
86
|
editor: y,
|
|
83
87
|
setEditor: b
|
|
84
|
-
}) : /* @__PURE__ */ T(
|
|
88
|
+
}) : /* @__PURE__ */ T(I, {
|
|
85
89
|
ref: m,
|
|
86
90
|
value: e,
|
|
87
91
|
onChange: t,
|
|
@@ -97,8 +101,8 @@ var j = [
|
|
|
97
101
|
loading: h === null
|
|
98
102
|
});
|
|
99
103
|
});
|
|
100
|
-
|
|
101
|
-
var
|
|
104
|
+
N.displayName = "WakaRichTextEditor";
|
|
105
|
+
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: _, linkUrl: v, setLinkUrl: y, setEditor: b }, x) => {
|
|
102
106
|
let { useEditor: S, EditorContent: C, StarterKit: w, Underline: D, Link: O, TextAlign: k } = e, A = S({
|
|
103
107
|
extensions: [
|
|
104
108
|
w.configure({ heading: { levels: [
|
|
@@ -142,7 +146,7 @@ var N = s.forwardRef(({ components: e, value: n, onChange: a, toolbar: o, placeh
|
|
|
142
146
|
children: o.map((e, t) => /* @__PURE__ */ E(s.Fragment, { children: [t > 0 && /* @__PURE__ */ T(r, {
|
|
143
147
|
orientation: "vertical",
|
|
144
148
|
className: "mx-1 h-6"
|
|
145
|
-
}), e.map((e) => /* @__PURE__ */ T(
|
|
149
|
+
}), e.map((e) => /* @__PURE__ */ T(F, {
|
|
146
150
|
button: e,
|
|
147
151
|
editor: A,
|
|
148
152
|
linkUrl: v,
|
|
@@ -174,8 +178,8 @@ var N = s.forwardRef(({ components: e, value: n, onChange: a, toolbar: o, placeh
|
|
|
174
178
|
]
|
|
175
179
|
});
|
|
176
180
|
});
|
|
177
|
-
|
|
178
|
-
function
|
|
181
|
+
P.displayName = "TiptapEditorComponent";
|
|
182
|
+
function F({ button: e, editor: t, linkUrl: r, setLinkUrl: i, handleSetLink: a }) {
|
|
179
183
|
let { icon: s, action: D, isActive: j } = {
|
|
180
184
|
bold: {
|
|
181
185
|
icon: /* @__PURE__ */ T(d, { className: "h-4 w-4" }),
|
|
@@ -294,7 +298,7 @@ function P({ button: e, editor: t, linkUrl: r, setLinkUrl: i, handleSetLink: a }
|
|
|
294
298
|
children: s
|
|
295
299
|
});
|
|
296
300
|
}
|
|
297
|
-
var
|
|
301
|
+
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", {
|
|
298
302
|
ref: h,
|
|
299
303
|
className: t("space-y-1.5", d),
|
|
300
304
|
children: [
|
|
@@ -337,6 +341,6 @@ var F = s.forwardRef(({ value: e, onChange: n, placeholder: r, maxLength: o, sho
|
|
|
337
341
|
})
|
|
338
342
|
]
|
|
339
343
|
}));
|
|
340
|
-
|
|
344
|
+
I.displayName = "FallbackEditor";
|
|
341
345
|
//#endregion
|
|
342
|
-
export { k as i,
|
|
346
|
+
export { k as a, A as i, j as n, O as r, N as t };
|
|
@@ -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},v)=>{let[y,b]=a.useState(null),[x,S]=a.useState(null),[C,w]=a.useState(null),[T,E]=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`)]);S({useEditor:e,EditorContent:t,StarterKit:n,Underline:r,Link:i,TextAlign:a}),b(!0)}catch{b(!1)}})()},[]),y&&x?(0,s.jsx)(h,{ref:v,components:x,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,linkUrl:T,setLinkUrl:E,editor:C,setEditor:w}):(0,s.jsx)(_,{ref:v,value:e,onChange:t,placeholder:r,maxLength:i,showCharacterCount:o,minHeight:c,disabled:l,error:u,className:d,label:f,description:m,loading:y===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,linkUrl:b,setLinkUrl:x,setEditor:S},C)=>{let{useEditor:w,EditorContent:T,StarterKit:E,Underline:D,Link:O,TextAlign:k}=e,A=w({extensions:[E.configure({heading:{levels:[1,2,3]}}),D,O.configure({openOnClick:!1}),k.configure({types:[`heading`,`paragraph`]})],content:i,editable:y&&!p,onUpdate:({editor:e})=>{let t=e.getHTML();(!u||t.length<=u)&&o?.(t)}});a.useEffect(()=>{S(A)},[A,S]),a.useEffect(()=>{A&&i!==A.getHTML()&&A.commands?.setContent?.(i||``,!1)},[i,A]);let j=()=>{A&&(b?A.chain().focus().setLink({href:b}).run():A.chain().focus().unsetLink().run(),x(``))},M=A?.storage?.characterCount?.characters?.()??i?.replace(/<[^>]*>/g,``).length??0;return(0,s.jsxs)(`div`,{ref:C,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:[A&&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:A,linkUrl:b,setLinkUrl:x,handleSetLink:j},e))]},t))}),(0,s.jsx)(`div`,{style:{minHeight:f},children:(0,s.jsx)(T,{editor:A,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:[M,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}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wakastellar/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-dev.0",
|
|
4
4
|
"description": "Zero-config UI Library for Next.js with TweakCN theming and i18n support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
"src/components",
|
|
66
66
|
"src/blocks"
|
|
67
67
|
],
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=22.0.0",
|
|
70
|
+
"pnpm": ">=10.0.0"
|
|
71
|
+
},
|
|
68
72
|
"dependencies": {
|
|
69
73
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
70
74
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
@@ -112,6 +116,25 @@
|
|
|
112
116
|
"tailwind-variants": "^3.2.2"
|
|
113
117
|
},
|
|
114
118
|
"peerDependencies": {
|
|
119
|
+
"@platejs/ai": ">=52.0.0",
|
|
120
|
+
"@platejs/basic-nodes": ">=52.0.0",
|
|
121
|
+
"@platejs/callout": ">=52.0.0",
|
|
122
|
+
"@platejs/combobox": ">=52.0.0",
|
|
123
|
+
"@platejs/diff": ">=52.0.0",
|
|
124
|
+
"@platejs/dnd": ">=52.0.0",
|
|
125
|
+
"@platejs/emoji": ">=52.0.0",
|
|
126
|
+
"@platejs/floating": ">=52.0.0",
|
|
127
|
+
"@platejs/indent": ">=52.0.0",
|
|
128
|
+
"@platejs/layout": ">=52.0.0",
|
|
129
|
+
"@platejs/link": ">=52.0.0",
|
|
130
|
+
"@platejs/markdown": ">=52.0.0",
|
|
131
|
+
"@platejs/media": ">=52.0.0",
|
|
132
|
+
"@platejs/mention": ">=52.0.0",
|
|
133
|
+
"@platejs/resizable": ">=52.0.0",
|
|
134
|
+
"@platejs/selection": ">=52.0.0",
|
|
135
|
+
"@platejs/table": ">=52.0.0",
|
|
136
|
+
"@platejs/toc": ">=52.0.0",
|
|
137
|
+
"@platejs/yjs": ">=52.0.0",
|
|
115
138
|
"@tiptap/extension-link": "^2.0.0 || ^3.0.0",
|
|
116
139
|
"@tiptap/extension-text-align": "^2.0.0 || ^3.0.0",
|
|
117
140
|
"@tiptap/extension-underline": "^2.0.0 || ^3.0.0",
|
|
@@ -121,6 +144,7 @@
|
|
|
121
144
|
"jspdf": ">=4.1.0",
|
|
122
145
|
"jspdf-autotable": "*",
|
|
123
146
|
"next": ">=14.0.0",
|
|
147
|
+
"platejs": ">=52.0.0",
|
|
124
148
|
"react": ">=18.0.0",
|
|
125
149
|
"react-dom": ">=18.0.0",
|
|
126
150
|
"react-hook-form": "^7.0.0",
|
|
@@ -130,27 +154,7 @@
|
|
|
130
154
|
"rehype-slug": ">=6.0.0",
|
|
131
155
|
"remark-gfm": ">=4.0.0",
|
|
132
156
|
"tailwindcss": ">=3.4.0 || >=4.0.0",
|
|
133
|
-
"tiptap-markdown": ">=0.8.0"
|
|
134
|
-
"platejs": ">=52.0.0",
|
|
135
|
-
"@platejs/basic-nodes": ">=52.0.0",
|
|
136
|
-
"@platejs/table": ">=52.0.0",
|
|
137
|
-
"@platejs/layout": ">=52.0.0",
|
|
138
|
-
"@platejs/callout": ">=52.0.0",
|
|
139
|
-
"@platejs/link": ">=52.0.0",
|
|
140
|
-
"@platejs/media": ">=52.0.0",
|
|
141
|
-
"@platejs/mention": ">=52.0.0",
|
|
142
|
-
"@platejs/dnd": ">=52.0.0",
|
|
143
|
-
"@platejs/toc": ">=52.0.0",
|
|
144
|
-
"@platejs/indent": ">=52.0.0",
|
|
145
|
-
"@platejs/markdown": ">=52.0.0",
|
|
146
|
-
"@platejs/selection": ">=52.0.0",
|
|
147
|
-
"@platejs/ai": ">=52.0.0",
|
|
148
|
-
"@platejs/combobox": ">=52.0.0",
|
|
149
|
-
"@platejs/floating": ">=52.0.0",
|
|
150
|
-
"@platejs/diff": ">=52.0.0",
|
|
151
|
-
"@platejs/emoji": ">=52.0.0",
|
|
152
|
-
"@platejs/resizable": ">=52.0.0",
|
|
153
|
-
"@platejs/yjs": ">=52.0.0"
|
|
157
|
+
"tiptap-markdown": ">=0.8.0"
|
|
154
158
|
},
|
|
155
159
|
"peerDependenciesMeta": {
|
|
156
160
|
"react-hook-form": {
|
|
@@ -260,7 +264,29 @@
|
|
|
260
264
|
}
|
|
261
265
|
},
|
|
262
266
|
"devDependencies": {
|
|
267
|
+
"@axe-core/react": "^4.11.2",
|
|
268
|
+
"@changesets/cli": "^2.27.10",
|
|
263
269
|
"@chromatic-com/storybook": "^5.1.1",
|
|
270
|
+
"@platejs/ai": "^53.0.3",
|
|
271
|
+
"@platejs/basic-nodes": "^53.0.0",
|
|
272
|
+
"@platejs/callout": "^53.0.0",
|
|
273
|
+
"@platejs/combobox": "^53.0.0",
|
|
274
|
+
"@platejs/diff": "^53.0.0",
|
|
275
|
+
"@platejs/dnd": "^53.0.0",
|
|
276
|
+
"@platejs/emoji": "^53.0.0",
|
|
277
|
+
"@platejs/floating": "^53.0.0",
|
|
278
|
+
"@platejs/indent": "^53.0.0",
|
|
279
|
+
"@platejs/layout": "^53.0.0",
|
|
280
|
+
"@platejs/link": "^53.0.3",
|
|
281
|
+
"@platejs/markdown": "^53.0.0",
|
|
282
|
+
"@platejs/media": "^53.0.1",
|
|
283
|
+
"@platejs/mention": "^53.0.0",
|
|
284
|
+
"@platejs/resizable": "^53.0.0",
|
|
285
|
+
"@platejs/selection": "^53.0.0",
|
|
286
|
+
"@platejs/table": "^53.0.0",
|
|
287
|
+
"@platejs/toc": "^53.0.0",
|
|
288
|
+
"@platejs/yjs": "^53.0.0",
|
|
289
|
+
"@size-limit/preset-big-lib": "^12.1.0",
|
|
264
290
|
"@storybook/addon-a11y": "^10.3.3",
|
|
265
291
|
"@storybook/addon-docs": "^10.3.3",
|
|
266
292
|
"@storybook/addon-onboarding": "^10.3.3",
|
|
@@ -270,6 +296,11 @@
|
|
|
270
296
|
"@testing-library/jest-dom": "^6.9.1",
|
|
271
297
|
"@testing-library/react": "^16.3.2",
|
|
272
298
|
"@testing-library/user-event": "^14.6.1",
|
|
299
|
+
"@tiptap/extension-link": "^3.22.5",
|
|
300
|
+
"@tiptap/extension-text-align": "^3.22.5",
|
|
301
|
+
"@tiptap/extension-underline": "^3.22.5",
|
|
302
|
+
"@tiptap/react": "^3.22.5",
|
|
303
|
+
"@tiptap/starter-kit": "^3.22.5",
|
|
273
304
|
"@types/node": "^25.5.0",
|
|
274
305
|
"@types/prismjs": "^1.26.6",
|
|
275
306
|
"@types/prompts": "^2.4.9",
|
|
@@ -281,9 +312,17 @@
|
|
|
281
312
|
"@vitest/coverage-v8": "^4.1.2",
|
|
282
313
|
"@vitest/ui": "^4.1.2",
|
|
283
314
|
"autoprefixer": "^10.4.27",
|
|
315
|
+
"bundlemon": "^3.1.0",
|
|
284
316
|
"esbuild": "^0.27.4",
|
|
317
|
+
"eslint": "^10.2.1",
|
|
318
|
+
"eslint-plugin-jsdoc": "^62.9.0",
|
|
319
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
320
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
321
|
+
"globals": "^17.5.0",
|
|
285
322
|
"install-peerdeps": "^3.0.7",
|
|
286
323
|
"jsdom": "^29.0.1",
|
|
324
|
+
"knip": "^6.6.1",
|
|
325
|
+
"platejs": "^53.0.3",
|
|
287
326
|
"playwright": "^1.59.0",
|
|
288
327
|
"postcss": "^8.5.8",
|
|
289
328
|
"react-hook-form": "^7.72.0",
|
|
@@ -291,25 +330,44 @@
|
|
|
291
330
|
"rehype-raw": "^7.0.0",
|
|
292
331
|
"rehype-slug": "^6.0.0",
|
|
293
332
|
"remark-gfm": "^4.0.1",
|
|
333
|
+
"rollup-plugin-visualizer": "^7.0.1",
|
|
334
|
+
"size-limit": "^12.1.0",
|
|
294
335
|
"storybook": "^10.3.3",
|
|
295
336
|
"tailwindcss": "^4.2.2",
|
|
337
|
+
"tiptap-markdown": "^0.9.0",
|
|
296
338
|
"typescript": "^6.0.2",
|
|
297
|
-
"
|
|
339
|
+
"typescript-coverage-report": "^1.1.1",
|
|
340
|
+
"typescript-eslint": "^8.59.1",
|
|
341
|
+
"vite": "^8.0.5",
|
|
298
342
|
"vite-plugin-dts": "^4.5.4",
|
|
299
343
|
"vitest": "^4.1.2",
|
|
300
344
|
"vitest-axe": "^0.1.0"
|
|
301
345
|
},
|
|
302
346
|
"scripts": {
|
|
303
347
|
"dev": "vite build --watch --mode development",
|
|
304
|
-
"build": "vite build && pnpm build:cli",
|
|
348
|
+
"build": "vite build && pnpm build:types && pnpm build:cli",
|
|
349
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
305
350
|
"build:cli": "esbuild src/cli/index.ts --bundle --platform=node --target=node18 --outfile=dist/cli/index.cjs --format=cjs --banner:js='#!/usr/bin/env node' --external:prompts && chmod +x dist/cli/index.cjs",
|
|
306
351
|
"demo": "cd demo && pnpm dev",
|
|
307
|
-
"lint": "eslint .
|
|
352
|
+
"lint": "eslint .",
|
|
353
|
+
"type-check": "tsc --noEmit",
|
|
354
|
+
"changeset": "changeset",
|
|
355
|
+
"changeset:version": "changeset version",
|
|
356
|
+
"changeset:publish": "changeset publish",
|
|
308
357
|
"test": "vitest --config vitest.config.unit.ts",
|
|
309
358
|
"test:watch": "vitest --config vitest.config.unit.ts --watch",
|
|
310
359
|
"test:coverage": "vitest --config vitest.config.unit.ts --coverage",
|
|
311
360
|
"test:ui": "vitest --config vitest.config.unit.ts --ui",
|
|
312
361
|
"storybook": "storybook dev -p 6006",
|
|
313
|
-
"build-storybook": "storybook build"
|
|
362
|
+
"build-storybook": "storybook build",
|
|
363
|
+
"audit:coverage": "vitest run --config vitest.config.unit.ts --coverage --reporter=json --outputFile=audit/output/coverage.json",
|
|
364
|
+
"audit:bundle": "vite build --emptyOutDir && bundlemon --config audit/bundlemon.config.json > audit/output/bundle.txt 2>&1 || true",
|
|
365
|
+
"audit:a11y": "vitest run --config vitest.config.unit.ts __tests__/accessibility --reporter=json --outputFile=audit/output/a11y.json",
|
|
366
|
+
"audit:typescript": "tsc --noEmit --pretty false > audit/output/ts-errors.log 2>&1; ERR_COUNT=$(grep -c 'error TS' audit/output/ts-errors.log || echo 0); echo \"{\\\"ts_errors\\\": $ERR_COUNT}\" > audit/output/ts-summary.json",
|
|
367
|
+
"audit:dead-code": "knip --reporter json > audit/output/dead-code.json",
|
|
368
|
+
"audit:size-limit": "size-limit --json > audit/output/size-limit.json",
|
|
369
|
+
"audit:all": "mkdir -p audit/output && pnpm audit:coverage && pnpm audit:bundle && pnpm audit:a11y && pnpm audit:typescript && pnpm audit:dead-code && pnpm audit:size-limit",
|
|
370
|
+
"build:packages": "pnpm -r --filter './packages/*' build",
|
|
371
|
+
"type-check:packages": "pnpm -r --filter './packages/*' type-check"
|
|
314
372
|
}
|
|
315
373
|
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Meta, Canvas, Controls, Source, ArgTypes } from '@storybook/addon-docs/blocks'
|
|
2
|
+
import * as Stories from './ActivityTimeline.stories'
|
|
3
|
+
|
|
4
|
+
<Meta of={Stories} />
|
|
5
|
+
|
|
6
|
+
# ActivityTimeline
|
|
7
|
+
|
|
8
|
+
Vertical activity feed with grouped events, timestamps, and rich content slots; powers audit and history surfaces.
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
The component is exported from the root entry point of `@wakastellar/ui`:
|
|
13
|
+
|
|
14
|
+
<Source language="tsx" code={`import { ActivityTimeline } from '@wakastellar/ui'`} />
|
|
15
|
+
|
|
16
|
+
If you use the CLI scaffolder:
|
|
17
|
+
|
|
18
|
+
<Source language="bash" code={`npx wakastellar-ui add activity-timeline`} />
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
<Canvas of={Stories.Default} />
|
|
23
|
+
|
|
24
|
+
<Controls of={Stories.Default} />
|
|
25
|
+
|
|
26
|
+
## Examples
|
|
27
|
+
|
|
28
|
+
### Timeline Layout
|
|
29
|
+
|
|
30
|
+
<Canvas of={Stories.TimelineLayout} />
|
|
31
|
+
|
|
32
|
+
### Feed Layout
|
|
33
|
+
|
|
34
|
+
<Canvas of={Stories.FeedLayout} />
|
|
35
|
+
|
|
36
|
+
### Compact Layout
|
|
37
|
+
|
|
38
|
+
<Canvas of={Stories.CompactLayout} />
|
|
39
|
+
|
|
40
|
+
### With Filters
|
|
41
|
+
|
|
42
|
+
<Canvas of={Stories.WithFilters} />
|
|
43
|
+
|
|
44
|
+
### Many Activities
|
|
45
|
+
|
|
46
|
+
<Canvas of={Stories.ManyActivities} />
|
|
47
|
+
|
|
48
|
+
### With Custom Icons
|
|
49
|
+
|
|
50
|
+
<Canvas of={Stories.WithCustomIcons} />
|
|
51
|
+
|
|
52
|
+
### No Grouping
|
|
53
|
+
|
|
54
|
+
<Canvas of={Stories.NoGrouping} />
|
|
55
|
+
|
|
56
|
+
### Absolute Time
|
|
57
|
+
|
|
58
|
+
<Canvas of={Stories.AbsoluteTime} />
|
|
59
|
+
|
|
60
|
+
### No Avatars
|
|
61
|
+
|
|
62
|
+
<Canvas of={Stories.NoAvatars} />
|
|
63
|
+
|
|
64
|
+
### Loading
|
|
65
|
+
|
|
66
|
+
<Canvas of={Stories.Loading} />
|
|
67
|
+
|
|
68
|
+
### Loading More
|
|
69
|
+
|
|
70
|
+
<Canvas of={Stories.LoadingMore} />
|
|
71
|
+
|
|
72
|
+
### Empty
|
|
73
|
+
|
|
74
|
+
<Canvas of={Stories.Empty} />
|
|
75
|
+
|
|
76
|
+
### With Search And Filters
|
|
77
|
+
|
|
78
|
+
<Canvas of={Stories.WithSearchAndFilters} />
|
|
79
|
+
|
|
80
|
+
### Minimal UI
|
|
81
|
+
|
|
82
|
+
<Canvas of={Stories.MinimalUI} />
|
|
83
|
+
|
|
84
|
+
### In Sidebar
|
|
85
|
+
|
|
86
|
+
<Canvas of={Stories.InSidebar} />
|
|
87
|
+
|
|
88
|
+
### Project Activity
|
|
89
|
+
|
|
90
|
+
<Canvas of={Stories.ProjectActivity} />
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## API Reference
|
|
94
|
+
|
|
95
|
+
<ArgTypes of={Stories.Default} />
|
|
96
|
+
|
|
97
|
+
## Accessibility
|
|
98
|
+
|
|
99
|
+
- Full keyboard navigation (Tab, Shift+Tab, Enter, Space, Arrow keys where applicable).
|
|
100
|
+
- Compatible with screen readers via Radix UI primitives.
|
|
101
|
+
- Focus ring visible at all times; never `outline: none` without a replacement.
|
|
102
|
+
- Color contrast meets WCAG AA in both light and dark themes.
|
|
103
|
+
|
|
104
|
+
## Theming
|
|
105
|
+
|
|
106
|
+
All visual tokens are CSS custom properties consumed via Tailwind v4. Override
|
|
107
|
+
in your app's `globals.css` to customize:
|
|
108
|
+
|
|
109
|
+
<Source language="css" code={`:root {
|
|
110
|
+
--primary: oklch(0.65 0.18 250);
|
|
111
|
+
--primary-foreground: oklch(0.98 0 0);
|
|
112
|
+
}`} />
|
|
113
|
+
|
|
114
|
+
## Related
|
|
115
|
+
|
|
116
|
+
- See the audit fiche: \`docs/audit/blocks/activity-timeline.md\`
|
|
117
|
+
- See the [accessibility dimension report](?path=/docs/dimensions-accessibility--docs)
|
|
@@ -16,7 +16,6 @@ const meta: Meta<typeof WakaActivityTimeline> = {
|
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
|
-
tags: ['autodocs'],
|
|
20
19
|
argTypes: {
|
|
21
20
|
layout: {
|
|
22
21
|
control: 'select',
|
|
@@ -458,3 +457,21 @@ export const ProjectActivity: Story = {
|
|
|
458
457
|
)
|
|
459
458
|
},
|
|
460
459
|
}
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Playground — generated to make the Storybook Controls panel functional.
|
|
463
|
+
* Exposes a default arg set wired to the component via {...args}.
|
|
464
|
+
*/
|
|
465
|
+
export const Playground: Story = {
|
|
466
|
+
args: {
|
|
467
|
+
layout: "timeline",
|
|
468
|
+
showSearch: false,
|
|
469
|
+
showFilters: false,
|
|
470
|
+
showRefresh: false,
|
|
471
|
+
groupByDay: false,
|
|
472
|
+
showAvatars: false,
|
|
473
|
+
relativeTime: false,
|
|
474
|
+
loading: false,
|
|
475
|
+
},
|
|
476
|
+
render: (args) => <WakaActivityTimeline {...args} />,
|
|
477
|
+
}
|
|
@@ -289,3 +289,11 @@ export const RealWorldScenario: Story = {
|
|
|
289
289
|
onViewQuarantine: () => console.log("View quarantine clicked"),
|
|
290
290
|
},
|
|
291
291
|
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Playground — generated to make the Storybook Controls panel functional.
|
|
295
|
+
* Exposes a default arg set wired to the component via {...args}.
|
|
296
|
+
*/
|
|
297
|
+
export const Playground: Story = {
|
|
298
|
+
render: (args) => <AntivirusDashboard {...args} />,
|
|
299
|
+
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated SP1.relocates — Phase 1
|
|
3
|
+
*
|
|
4
|
+
* This surface has been relocated to `@wakastellar/ui-blocks-internal` (workspace package
|
|
5
|
+
* `packages/ui-blocks-internal`). The core `@wakastellar/ui` retains the original
|
|
6
|
+
* implementation for backward compatibility during phases 1–3 of the
|
|
7
|
+
* relocation plan; the duplicate will be removed in v4.0.
|
|
8
|
+
*
|
|
9
|
+
* Migration:
|
|
10
|
+
* - Old: import { ... } from '@wakastellar/ui'
|
|
11
|
+
* - New: import { ... } from '@wakastellar/ui-blocks-internal'
|
|
12
|
+
*
|
|
13
|
+
* @deprecated Moved to `@wakastellar/ui-blocks-internal` in v3.6 — core copy will be removed in v4.0.
|
|
14
|
+
*/
|
|
1
15
|
"use client"
|
|
2
16
|
|
|
3
17
|
import * as React from "react"
|
|
@@ -433,3 +433,11 @@ export const ObservabilityDashboard: Story = {
|
|
|
433
433
|
</div>
|
|
434
434
|
),
|
|
435
435
|
}
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Playground — generated to make the Storybook Controls panel functional.
|
|
439
|
+
* Exposes a default arg set wired to the component via {...args}.
|
|
440
|
+
*/
|
|
441
|
+
export const Playground: Story = {
|
|
442
|
+
render: (args) => <APMOverview {...args} />,
|
|
443
|
+
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated SP1.relocates — Phase 1
|
|
3
|
+
*
|
|
4
|
+
* This surface has been relocated to `@wakastellar/ui-blocks-internal` (workspace package
|
|
5
|
+
* `packages/ui-blocks-internal`). The core `@wakastellar/ui` retains the original
|
|
6
|
+
* implementation for backward compatibility during phases 1–3 of the
|
|
7
|
+
* relocation plan; the duplicate will be removed in v4.0.
|
|
8
|
+
*
|
|
9
|
+
* Migration:
|
|
10
|
+
* - Old: import { ... } from '@wakastellar/ui'
|
|
11
|
+
* - New: import { ... } from '@wakastellar/ui-blocks-internal'
|
|
12
|
+
*
|
|
13
|
+
* @deprecated Moved to `@wakastellar/ui-blocks-internal` in v3.6 — core copy will be removed in v4.0.
|
|
14
|
+
*/
|
|
1
15
|
"use client"
|
|
2
16
|
|
|
3
17
|
import * as React from "react"
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Meta, Canvas, Controls, Source, ArgTypes } from '@storybook/addon-docs/blocks'
|
|
2
|
+
import * as Stories from './Auth2FA.stories'
|
|
3
|
+
|
|
4
|
+
<Meta of={Stories} />
|
|
5
|
+
|
|
6
|
+
# Auth2FA
|
|
7
|
+
|
|
8
|
+
Multi-step two-factor authentication flow (QR enrolment, OTP verification, recovery codes).
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
The component is exported from the root entry point of `@wakastellar/ui`:
|
|
13
|
+
|
|
14
|
+
<Source language="tsx" code={`import { Auth2FA } from '@wakastellar/ui'`} />
|
|
15
|
+
|
|
16
|
+
If you use the CLI scaffolder:
|
|
17
|
+
|
|
18
|
+
<Source language="bash" code={`npx wakastellar-ui add auth-2fa`} />
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
<Canvas of={Stories.Default} />
|
|
23
|
+
|
|
24
|
+
<Controls of={Stories.Default} />
|
|
25
|
+
|
|
26
|
+
## Examples
|
|
27
|
+
|
|
28
|
+
### Enabled
|
|
29
|
+
|
|
30
|
+
<Canvas of={Stories.Enabled} />
|
|
31
|
+
|
|
32
|
+
### Enabled With SMS
|
|
33
|
+
|
|
34
|
+
<Canvas of={Stories.EnabledWithSMS} />
|
|
35
|
+
|
|
36
|
+
### Enabled With Email
|
|
37
|
+
|
|
38
|
+
<Canvas of={Stories.EnabledWithEmail} />
|
|
39
|
+
|
|
40
|
+
### All Methods
|
|
41
|
+
|
|
42
|
+
<Canvas of={Stories.AllMethods} />
|
|
43
|
+
|
|
44
|
+
### Authenticator Only
|
|
45
|
+
|
|
46
|
+
<Canvas of={Stories.AuthenticatorOnly} />
|
|
47
|
+
|
|
48
|
+
### Low Backup Codes
|
|
49
|
+
|
|
50
|
+
<Canvas of={Stories.LowBackupCodes} />
|
|
51
|
+
|
|
52
|
+
### Interactive
|
|
53
|
+
|
|
54
|
+
<Canvas of={Stories.Interactive} />
|
|
55
|
+
|
|
56
|
+
### Security Settings
|
|
57
|
+
|
|
58
|
+
<Canvas of={Stories.SecuritySettings} />
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## API Reference
|
|
62
|
+
|
|
63
|
+
<ArgTypes of={Stories.Default} />
|
|
64
|
+
|
|
65
|
+
## Accessibility
|
|
66
|
+
|
|
67
|
+
- Full keyboard navigation (Tab, Shift+Tab, Enter, Space, Arrow keys where applicable).
|
|
68
|
+
- Compatible with screen readers via Radix UI primitives.
|
|
69
|
+
- Focus ring visible at all times; never `outline: none` without a replacement.
|
|
70
|
+
- Color contrast meets WCAG AA in both light and dark themes.
|
|
71
|
+
|
|
72
|
+
## Theming
|
|
73
|
+
|
|
74
|
+
All visual tokens are CSS custom properties consumed via Tailwind v4. Override
|
|
75
|
+
in your app's `globals.css` to customize:
|
|
76
|
+
|
|
77
|
+
<Source language="css" code={`:root {
|
|
78
|
+
--primary: oklch(0.65 0.18 250);
|
|
79
|
+
--primary-foreground: oklch(0.98 0 0);
|
|
80
|
+
}`} />
|
|
81
|
+
|
|
82
|
+
## Related
|
|
83
|
+
|
|
84
|
+
- See the audit fiche: \`docs/audit/blocks/auth-2fa.md\`
|
|
85
|
+
- See the [accessibility dimension report](?path=/docs/dimensions-accessibility--docs)
|
|
@@ -19,7 +19,6 @@ const meta: Meta<typeof Auth2FA> = {
|
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
|
-
tags: ['autodocs'],
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
export default meta
|
|
@@ -306,3 +305,11 @@ export const SecuritySettings: Story = {
|
|
|
306
305
|
</div>
|
|
307
306
|
),
|
|
308
307
|
}
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Playground — generated to make the Storybook Controls panel functional.
|
|
311
|
+
* Exposes a default arg set wired to the component via {...args}.
|
|
312
|
+
*/
|
|
313
|
+
export const Playground: Story = {
|
|
314
|
+
render: (args) => <Auth2FA {...args} />,
|
|
315
|
+
}
|