@wakastellar/ui 4.0.0-dev.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/dist/components/waka-rich-text-editor/index.d.ts +6 -0
  2. package/dist/doc.cjs.js +1 -1
  3. package/dist/doc.es.js +1 -1
  4. package/dist/index.cjs.js +1 -1
  5. package/dist/index.es.js +1 -1
  6. package/dist/rich-text.cjs.js +1 -1
  7. package/dist/rich-text.es.js +1 -1
  8. package/dist/waka-rich-text-editor-DcZuIQ-q.js +1 -0
  9. package/dist/{waka-rich-text-editor-BbEpfD5b.mjs → waka-rich-text-editor-SOKYDdDP.mjs} +38 -36
  10. package/package.json +1 -1
  11. package/src/components/waka-rich-text-editor/index.tsx +10 -0
  12. package/dist/editor.d.ts +0 -1
  13. package/dist/src/blocks/activity-timeline/index.d.ts +0 -73
  14. package/dist/src/blocks/antivirus-dashboard/index.d.ts +0 -44
  15. package/dist/src/blocks/apm-overview/index.d.ts +0 -58
  16. package/dist/src/blocks/auth-2fa/index.d.ts +0 -38
  17. package/dist/src/blocks/calendar-view/index.d.ts +0 -56
  18. package/dist/src/blocks/chat/index.d.ts +0 -112
  19. package/dist/src/blocks/chat/widget.d.ts +0 -100
  20. package/dist/src/blocks/chat-interface/index.d.ts +0 -66
  21. package/dist/src/blocks/checkout-flow/index.d.ts +0 -76
  22. package/dist/src/blocks/cicd-builder/index.d.ts +0 -47
  23. package/dist/src/blocks/clamav-service-status/index.d.ts +0 -35
  24. package/dist/src/blocks/cloud-cost-dashboard/index.d.ts +0 -49
  25. package/dist/src/blocks/container-orchestrator/index.d.ts +0 -63
  26. package/dist/src/blocks/dashboard/index.d.ts +0 -95
  27. package/dist/src/blocks/dashboard-kpi/index.d.ts +0 -69
  28. package/dist/src/blocks/database-admin/index.d.ts +0 -84
  29. package/dist/src/blocks/deployment-dashboard/index.d.ts +0 -68
  30. package/dist/src/blocks/empty-states/index.d.ts +0 -47
  31. package/dist/src/blocks/error-pages/index.d.ts +0 -55
  32. package/dist/src/blocks/faq/index.d.ts +0 -54
  33. package/dist/src/blocks/file-manager/index.d.ts +0 -81
  34. package/dist/src/blocks/file-scan-uploader/index.d.ts +0 -29
  35. package/dist/src/blocks/footer/index.d.ts +0 -19
  36. package/dist/src/blocks/gitops-sync-status/index.d.ts +0 -45
  37. package/dist/src/blocks/header/index.d.ts +0 -86
  38. package/dist/src/blocks/headtab/index.d.ts +0 -27
  39. package/dist/src/blocks/i18n-editor/index.d.ts +0 -63
  40. package/dist/src/blocks/incident-manager/index.d.ts +0 -44
  41. package/dist/src/blocks/index.d.ts +0 -58
  42. package/dist/src/blocks/infrastructure-map/index.d.ts +0 -32
  43. package/dist/src/blocks/kanban-board/index.d.ts +0 -77
  44. package/dist/src/blocks/landing/index.d.ts +0 -104
  45. package/dist/src/blocks/language-selector/index.d.ts +0 -6
  46. package/dist/src/blocks/layout/index.d.ts +0 -28
  47. package/dist/src/blocks/login/index.d.ts +0 -42
  48. package/dist/src/blocks/login/types.d.ts +0 -126
  49. package/dist/src/blocks/on-call-schedule/index.d.ts +0 -43
  50. package/dist/src/blocks/player-profile/index.d.ts +0 -78
  51. package/dist/src/blocks/pricing/index.d.ts +0 -64
  52. package/dist/src/blocks/profile/index.d.ts +0 -98
  53. package/dist/src/blocks/quarantine-manager/index.d.ts +0 -27
  54. package/dist/src/blocks/release-notes/index.d.ts +0 -49
  55. package/dist/src/blocks/scan-history-log/index.d.ts +0 -28
  56. package/dist/src/blocks/scan-policy-editor/index.d.ts +0 -27
  57. package/dist/src/blocks/scan-report-generator/index.d.ts +0 -47
  58. package/dist/src/blocks/settings/index.d.ts +0 -62
  59. package/dist/src/blocks/sidebar/index.d.ts +0 -155
  60. package/dist/src/blocks/signature-database-manager/index.d.ts +0 -39
  61. package/dist/src/blocks/threat-alert-banner/index.d.ts +0 -26
  62. package/dist/src/blocks/user-management/index.d.ts +0 -95
  63. package/dist/src/blocks/waka-doc-shell/index.d.ts +0 -3
  64. package/dist/src/blocks/waka-doc-shell/types.d.ts +0 -32
  65. package/dist/src/blocks/wizard/index.d.ts +0 -88
  66. package/dist/src/charts.d.ts +0 -17
  67. package/dist/src/cli/commands/add.d.ts +0 -7
  68. package/dist/src/cli/commands/init.d.ts +0 -6
  69. package/dist/src/cli/commands/list.d.ts +0 -5
  70. package/dist/src/cli/commands/search.d.ts +0 -1
  71. package/dist/src/cli/index.d.ts +0 -1
  72. package/dist/src/cli/utils/config.d.ts +0 -29
  73. package/dist/src/cli/utils/logger.d.ts +0 -20
  74. package/dist/src/cli/utils/registry.d.ts +0 -23
  75. package/dist/src/cli/utils/remote.d.ts +0 -49
  76. package/dist/src/components/DataTable/DataTable.d.ts +0 -17
  77. package/dist/src/components/DataTable/DataTableAdvanced.d.ts +0 -27
  78. package/dist/src/components/DataTable/DataTableColumnResizer.d.ts +0 -8
  79. package/dist/src/components/DataTable/DataTableContextMenu.d.ts +0 -47
  80. package/dist/src/components/DataTable/DataTableEditCell.d.ts +0 -29
  81. package/dist/src/components/DataTable/DataTableFilters.d.ts +0 -14
  82. package/dist/src/components/DataTable/DataTableGrouping.d.ts +0 -25
  83. package/dist/src/components/DataTable/DataTablePagination.d.ts +0 -8
  84. package/dist/src/components/DataTable/DataTableSelection.d.ts +0 -46
  85. package/dist/src/components/DataTable/DataTableToolbar.d.ts +0 -14
  86. package/dist/src/components/DataTable/examples/EditExample.d.ts +0 -2
  87. package/dist/src/components/DataTable/hooks/useDataTable.d.ts +0 -24
  88. package/dist/src/components/DataTable/hooks/useDataTableAdvanced.d.ts +0 -38
  89. package/dist/src/components/DataTable/hooks/useDataTableEdit.d.ts +0 -22
  90. package/dist/src/components/DataTable/hooks/useDataTableExport.d.ts +0 -15
  91. package/dist/src/components/DataTable/hooks/useDataTableImport.d.ts +0 -12
  92. package/dist/src/components/DataTable/hooks/useDataTableTheme.d.ts +0 -16
  93. package/dist/src/components/DataTable/hooks/useDataTableVirtualization.d.ts +0 -19
  94. package/dist/src/components/DataTable/hooks/useTableLayout.d.ts +0 -26
  95. package/dist/src/components/DataTable/index.d.ts +0 -37
  96. package/dist/src/components/DataTable/types.d.ts +0 -461
  97. package/dist/src/components/DataTable/utils.d.ts +0 -37
  98. package/dist/src/components/accordion/index.d.ts +0 -7
  99. package/dist/src/components/alert/index.d.ts +0 -8
  100. package/dist/src/components/alert-dialog/index.d.ts +0 -20
  101. package/dist/src/components/aspect-ratio/index.d.ts +0 -3
  102. package/dist/src/components/avatar/index.d.ts +0 -6
  103. package/dist/src/components/badge/index.d.ts +0 -9
  104. package/dist/src/components/button/index.d.ts +0 -11
  105. package/dist/src/components/calendar/index.d.ts +0 -18
  106. package/dist/src/components/card/index.d.ts +0 -46
  107. package/dist/src/components/checkbox/index.d.ts +0 -4
  108. package/dist/src/components/code/index.d.ts +0 -29
  109. package/dist/src/components/collapsible/index.d.ts +0 -5
  110. package/dist/src/components/command/index.d.ts +0 -83
  111. package/dist/src/components/context-menu/index.d.ts +0 -27
  112. package/dist/src/components/dialog/index.d.ts +0 -19
  113. package/dist/src/components/dropdown-menu/index.d.ts +0 -27
  114. package/dist/src/components/editor/blocks/index.d.ts +0 -51
  115. package/dist/src/components/editor/blocks/waka-acceptance-criteria-block.d.ts +0 -60
  116. package/dist/src/components/editor/blocks/waka-ai-assist-block.d.ts +0 -58
  117. package/dist/src/components/editor/blocks/waka-api-endpoint-block.d.ts +0 -63
  118. package/dist/src/components/editor/blocks/waka-code-playground-block.d.ts +0 -61
  119. package/dist/src/components/editor/blocks/waka-comment-thread-block.d.ts +0 -85
  120. package/dist/src/components/editor/blocks/waka-diagram-block.d.ts +0 -52
  121. package/dist/src/components/editor/blocks/waka-embed-block.d.ts +0 -58
  122. package/dist/src/components/editor/blocks/waka-slash-menu-block.d.ts +0 -67
  123. package/dist/src/components/editor/blocks/waka-user-story-block.d.ts +0 -79
  124. package/dist/src/components/editor/blocks/waka-version-diff-block.d.ts +0 -73
  125. package/dist/src/components/editor/index.d.ts +0 -80
  126. package/dist/src/components/editor/waka-ai-writer.d.ts +0 -80
  127. package/dist/src/components/editor/waka-collaborative-editor.d.ts +0 -93
  128. package/dist/src/components/editor/waka-diff-viewer.d.ts +0 -71
  129. package/dist/src/components/editor/waka-dnd-editor.d.ts +0 -64
  130. package/dist/src/components/editor/waka-document-editor.d.ts +0 -92
  131. package/dist/src/components/editor/waka-editor-elements.d.ts +0 -79
  132. package/dist/src/components/editor/waka-editor-leaves.d.ts +0 -39
  133. package/dist/src/components/editor/waka-editor-plugins.d.ts +0 -41
  134. package/dist/src/components/editor/waka-editor-toolbar.d.ts +0 -20
  135. package/dist/src/components/editor/waka-editor.d.ts +0 -59
  136. package/dist/src/components/editor/waka-floating-toolbar.d.ts +0 -53
  137. package/dist/src/components/editor/waka-markdown-editor.d.ts +0 -60
  138. package/dist/src/components/editor/waka-mention-editor.d.ts +0 -125
  139. package/dist/src/components/editor/waka-slash-menu.d.ts +0 -70
  140. package/dist/src/components/editor/waka-spec-editor.d.ts +0 -88
  141. package/dist/src/components/error-boundary/ErrorBoundary.d.ts +0 -102
  142. package/dist/src/components/error-boundary/index.d.ts +0 -2
  143. package/dist/src/components/form/index.d.ts +0 -23
  144. package/dist/src/components/hover-card/index.d.ts +0 -6
  145. package/dist/src/components/index.d.ts +0 -257
  146. package/dist/src/components/input/index.d.ts +0 -19
  147. package/dist/src/components/input-otp/index.d.ts +0 -51
  148. package/dist/src/components/label/index.d.ts +0 -5
  149. package/dist/src/components/language-selector/index.d.ts +0 -40
  150. package/dist/src/components/menubar/index.d.ts +0 -28
  151. package/dist/src/components/navigation-menu/index.d.ts +0 -12
  152. package/dist/src/components/popover/index.d.ts +0 -6
  153. package/dist/src/components/progress/index.d.ts +0 -4
  154. package/dist/src/components/radio-group/index.d.ts +0 -5
  155. package/dist/src/components/scroll-area/index.d.ts +0 -5
  156. package/dist/src/components/select/index.d.ts +0 -13
  157. package/dist/src/components/separator/index.d.ts +0 -4
  158. package/dist/src/components/sheet/index.d.ts +0 -27
  159. package/dist/src/components/skeleton/index.d.ts +0 -13
  160. package/dist/src/components/slider/index.d.ts +0 -4
  161. package/dist/src/components/switch/index.d.ts +0 -4
  162. package/dist/src/components/table/index.d.ts +0 -21
  163. package/dist/src/components/tabs/index.d.ts +0 -7
  164. package/dist/src/components/textarea/index.d.ts +0 -14
  165. package/dist/src/components/theme-selector/index.d.ts +0 -8
  166. package/dist/src/components/toast/index.d.ts +0 -15
  167. package/dist/src/components/toaster/index.d.ts +0 -1
  168. package/dist/src/components/toggle/index.d.ts +0 -12
  169. package/dist/src/components/tooltip/index.d.ts +0 -7
  170. package/dist/src/components/typography/index.d.ts +0 -85
  171. package/dist/src/components/waka-3d-pie-chart/index.d.ts +0 -67
  172. package/dist/src/components/waka-achievement-unlock/index.d.ts +0 -83
  173. package/dist/src/components/waka-activity-feed/index.d.ts +0 -78
  174. package/dist/src/components/waka-ad-banner/index.d.ts +0 -36
  175. package/dist/src/components/waka-ad-fallback/index.d.ts +0 -33
  176. package/dist/src/components/waka-ad-inline/index.d.ts +0 -15
  177. package/dist/src/components/waka-ad-interstitial/index.d.ts +0 -26
  178. package/dist/src/components/waka-ad-placeholder/index.d.ts +0 -17
  179. package/dist/src/components/waka-ad-provider/index.d.ts +0 -103
  180. package/dist/src/components/waka-ad-sidebar/index.d.ts +0 -18
  181. package/dist/src/components/waka-ad-sticky-footer/index.d.ts +0 -17
  182. package/dist/src/components/waka-address-autocomplete/index.d.ts +0 -129
  183. package/dist/src/components/waka-admincrumb/index.d.ts +0 -55
  184. package/dist/src/components/waka-alert-panel/index.d.ts +0 -45
  185. package/dist/src/components/waka-alert-stack/index.d.ts +0 -58
  186. package/dist/src/components/waka-allocation-matrix/index.d.ts +0 -193
  187. package/dist/src/components/waka-approval-chain/index.d.ts +0 -43
  188. package/dist/src/components/waka-artifact-list/index.d.ts +0 -32
  189. package/dist/src/components/waka-audit-log/index.d.ts +0 -142
  190. package/dist/src/components/waka-autocomplete/index.d.ts +0 -59
  191. package/dist/src/components/waka-badge-showcase/index.d.ts +0 -51
  192. package/dist/src/components/waka-barcode/index.d.ts +0 -27
  193. package/dist/src/components/waka-biometric-prompt/index.d.ts +0 -84
  194. package/dist/src/components/waka-bottom-sheet/index.d.ts +0 -61
  195. package/dist/src/components/waka-breadcrumb/index.d.ts +0 -43
  196. package/dist/src/components/waka-breadcrumb-path/index.d.ts +0 -46
  197. package/dist/src/components/waka-budget-burn/index.d.ts +0 -154
  198. package/dist/src/components/waka-build-matrix/index.d.ts +0 -36
  199. package/dist/src/components/waka-capacity-planner/index.d.ts +0 -132
  200. package/dist/src/components/waka-carousel/index.d.ts +0 -105
  201. package/dist/src/components/waka-cart-summary/index.d.ts +0 -154
  202. package/dist/src/components/waka-challenge-timer/index.d.ts +0 -86
  203. package/dist/src/components/waka-charts/WakaAreaChart.d.ts +0 -12
  204. package/dist/src/components/waka-charts/WakaBarChart.d.ts +0 -12
  205. package/dist/src/components/waka-charts/WakaChart.d.ts +0 -17
  206. package/dist/src/components/waka-charts/WakaLineChart.d.ts +0 -12
  207. package/dist/src/components/waka-charts/WakaMiniChart.d.ts +0 -13
  208. package/dist/src/components/waka-charts/WakaPieChart.d.ts +0 -12
  209. package/dist/src/components/waka-charts/WakaSparkline.d.ts +0 -13
  210. package/dist/src/components/waka-charts/dataTableHelpers.d.ts +0 -34
  211. package/dist/src/components/waka-charts/hooks/useChartTheme.d.ts +0 -23
  212. package/dist/src/components/waka-charts/hooks/useRechartsLoader.d.ts +0 -161
  213. package/dist/src/components/waka-charts/index.d.ts +0 -57
  214. package/dist/src/components/waka-charts/types.d.ts +0 -298
  215. package/dist/src/components/waka-chat-bubble/index.d.ts +0 -127
  216. package/dist/src/components/waka-checklist/index.d.ts +0 -123
  217. package/dist/src/components/waka-checkout-stepper/index.d.ts +0 -154
  218. package/dist/src/components/waka-cohort-table/index.d.ts +0 -130
  219. package/dist/src/components/waka-color-picker/index.d.ts +0 -40
  220. package/dist/src/components/waka-combo-counter/index.d.ts +0 -53
  221. package/dist/src/components/waka-combobox/index.d.ts +0 -81
  222. package/dist/src/components/waka-command-bar/index.d.ts +0 -45
  223. package/dist/src/components/waka-compare-period/index.d.ts +0 -122
  224. package/dist/src/components/waka-config-comparator/index.d.ts +0 -37
  225. package/dist/src/components/waka-connection-matrix/index.d.ts +0 -117
  226. package/dist/src/components/waka-container-list/index.d.ts +0 -51
  227. package/dist/src/components/waka-content-recommendation/index.d.ts +0 -23
  228. package/dist/src/components/waka-contribution-graph/index.d.ts +0 -34
  229. package/dist/src/components/waka-cost-breakdown/index.d.ts +0 -50
  230. package/dist/src/components/waka-coupon-input/index.d.ts +0 -105
  231. package/dist/src/components/waka-credit-activity-feed/index.d.ts +0 -21
  232. package/dist/src/components/waka-credit-alert/index.d.ts +0 -24
  233. package/dist/src/components/waka-credit-balance/index.d.ts +0 -30
  234. package/dist/src/components/waka-credit-balance/types.d.ts +0 -34
  235. package/dist/src/components/waka-credit-breakdown/index.d.ts +0 -32
  236. package/dist/src/components/waka-credit-burn-rate/index.d.ts +0 -25
  237. package/dist/src/components/waka-credit-card-input/index.d.ts +0 -95
  238. package/dist/src/components/waka-credit-history/index.d.ts +0 -31
  239. package/dist/src/components/waka-credit-meter/index.d.ts +0 -27
  240. package/dist/src/components/waka-credit-pricing-pack/index.d.ts +0 -17
  241. package/dist/src/components/waka-credit-projection/index.d.ts +0 -21
  242. package/dist/src/components/waka-credit-quota/index.d.ts +0 -25
  243. package/dist/src/components/waka-credit-receipt/index.d.ts +0 -23
  244. package/dist/src/components/waka-credit-top-up/index.d.ts +0 -26
  245. package/dist/src/components/waka-credit-transaction/index.d.ts +0 -22
  246. package/dist/src/components/waka-credit-transfer-form/index.d.ts +0 -27
  247. package/dist/src/components/waka-credit-usage-chart/index.d.ts +0 -34
  248. package/dist/src/components/waka-daily-reward/index.d.ts +0 -76
  249. package/dist/src/components/waka-database-card/index.d.ts +0 -46
  250. package/dist/src/components/waka-date-range-picker/index.d.ts +0 -68
  251. package/dist/src/components/waka-datetime-picker/index.d.ts +0 -135
  252. package/dist/src/components/waka-datetime-picker.form-integration/index.d.ts +0 -73
  253. package/dist/src/components/waka-dependency-tree/index.d.ts +0 -38
  254. package/dist/src/components/waka-deployment-lane/index.d.ts +0 -43
  255. package/dist/src/components/waka-device-trust/index.d.ts +0 -95
  256. package/dist/src/components/waka-doc-breadcrumb/index.d.ts +0 -11
  257. package/dist/src/components/waka-doc-callout/index.d.ts +0 -9
  258. package/dist/src/components/waka-doc-code-block/index.d.ts +0 -9
  259. package/dist/src/components/waka-doc-nav/index.d.ts +0 -16
  260. package/dist/src/components/waka-doc-renderer/index.d.ts +0 -7
  261. package/dist/src/components/waka-doc-search/index.d.ts +0 -23
  262. package/dist/src/components/waka-doc-table/index.d.ts +0 -8
  263. package/dist/src/components/waka-doc-toc/index.d.ts +0 -11
  264. package/dist/src/components/waka-doc-toolbar/index.d.ts +0 -15
  265. package/dist/src/components/waka-doc-version/index.d.ts +0 -13
  266. package/dist/src/components/waka-dock/index.d.ts +0 -49
  267. package/dist/src/components/waka-drawer/index.d.ts +0 -59
  268. package/dist/src/components/waka-empty-state/index.d.ts +0 -85
  269. package/dist/src/components/waka-env-var-editor/index.d.ts +0 -30
  270. package/dist/src/components/waka-error-shake/index.d.ts +0 -49
  271. package/dist/src/components/waka-feature-announcement/index.d.ts +0 -112
  272. package/dist/src/components/waka-feature-flag-row/index.d.ts +0 -45
  273. package/dist/src/components/waka-file-upload/index.d.ts +0 -49
  274. package/dist/src/components/waka-floating-nav/index.d.ts +0 -51
  275. package/dist/src/components/waka-flow-diagram/index.d.ts +0 -71
  276. package/dist/src/components/waka-funnel-chart/index.d.ts +0 -108
  277. package/dist/src/components/waka-glow-card/index.d.ts +0 -32
  278. package/dist/src/components/waka-goal-progress/index.d.ts +0 -139
  279. package/dist/src/components/waka-haptic-button/index.d.ts +0 -50
  280. package/dist/src/components/waka-health-pulse/index.d.ts +0 -28
  281. package/dist/src/components/waka-heatmap/index.d.ts +0 -135
  282. package/dist/src/components/waka-hotspot/index.d.ts +0 -111
  283. package/dist/src/components/waka-image/index.d.ts +0 -59
  284. package/dist/src/components/waka-incident-timeline/index.d.ts +0 -38
  285. package/dist/src/components/waka-invoice-preview/index.d.ts +0 -137
  286. package/dist/src/components/waka-kanban/index.d.ts +0 -68
  287. package/dist/src/components/waka-kpi-dashboard/index.d.ts +0 -80
  288. package/dist/src/components/waka-kubernetes-overview/index.d.ts +0 -98
  289. package/dist/src/components/waka-leaderboard/index.d.ts +0 -85
  290. package/dist/src/components/waka-level-progress/index.d.ts +0 -89
  291. package/dist/src/components/waka-liquid-button/index.d.ts +0 -46
  292. package/dist/src/components/waka-loading-orbit/index.d.ts +0 -90
  293. package/dist/src/components/waka-log-viewer/index.d.ts +0 -38
  294. package/dist/src/components/waka-loot-box/index.d.ts +0 -87
  295. package/dist/src/components/waka-magic-link/index.d.ts +0 -34
  296. package/dist/src/components/waka-magnetic-button/index.d.ts +0 -61
  297. package/dist/src/components/waka-mention-input/index.d.ts +0 -106
  298. package/dist/src/components/waka-metric-sparkline/index.d.ts +0 -46
  299. package/dist/src/components/waka-migration-list/index.d.ts +0 -36
  300. package/dist/src/components/waka-milestone-road/index.d.ts +0 -91
  301. package/dist/src/components/waka-modal/index.d.ts +0 -87
  302. package/dist/src/components/waka-morph-button/index.d.ts +0 -62
  303. package/dist/src/components/waka-network-topology/index.d.ts +0 -35
  304. package/dist/src/components/waka-notifications/index.d.ts +0 -40
  305. package/dist/src/components/waka-number-input/index.d.ts +0 -60
  306. package/dist/src/components/waka-orbital-menu/index.d.ts +0 -61
  307. package/dist/src/components/waka-order-tracker/index.d.ts +0 -121
  308. package/dist/src/components/waka-outstream-video/index.d.ts +0 -24
  309. package/dist/src/components/waka-pagination/index.d.ts +0 -67
  310. package/dist/src/components/waka-password-strength/index.d.ts +0 -98
  311. package/dist/src/components/waka-payment-method-picker/index.d.ts +0 -88
  312. package/dist/src/components/waka-permission-matrix/index.d.ts +0 -197
  313. package/dist/src/components/waka-phone-input/index.d.ts +0 -93
  314. package/dist/src/components/waka-pipeline-view/index.d.ts +0 -49
  315. package/dist/src/components/waka-player-card/index.d.ts +0 -36
  316. package/dist/src/components/waka-pod-card/index.d.ts +0 -73
  317. package/dist/src/components/waka-points-popup/index.d.ts +0 -75
  318. package/dist/src/components/waka-power-up/index.d.ts +0 -103
  319. package/dist/src/components/waka-presence-indicator/index.d.ts +0 -188
  320. package/dist/src/components/waka-pricing-table/index.d.ts +0 -77
  321. package/dist/src/components/waka-product-card/index.d.ts +0 -81
  322. package/dist/src/components/waka-progress-onboarding/index.d.ts +0 -97
  323. package/dist/src/components/waka-pull-to-refresh/index.d.ts +0 -45
  324. package/dist/src/components/waka-qrcode/index.d.ts +0 -32
  325. package/dist/src/components/waka-query-explain/index.d.ts +0 -48
  326. package/dist/src/components/waka-quest-card/index.d.ts +0 -110
  327. package/dist/src/components/waka-quota-bar/index.d.ts +0 -100
  328. package/dist/src/components/waka-radar-score/index.d.ts +0 -95
  329. package/dist/src/components/waka-rank-badge/index.d.ts +0 -58
  330. package/dist/src/components/waka-rating-input/index.d.ts +0 -110
  331. package/dist/src/components/waka-reaction-picker/index.d.ts +0 -77
  332. package/dist/src/components/waka-region-map/index.d.ts +0 -27
  333. package/dist/src/components/waka-resource-gauge/index.d.ts +0 -78
  334. package/dist/src/components/waka-resource-pool/index.d.ts +0 -81
  335. package/dist/src/components/waka-rich-text-editor/index.d.ts +0 -36
  336. package/dist/src/components/waka-rollback-slider/index.d.ts +0 -79
  337. package/dist/src/components/waka-sankey-diagram/index.d.ts +0 -120
  338. package/dist/src/components/waka-schedule-picker/index.d.ts +0 -100
  339. package/dist/src/components/waka-scratch-card/index.d.ts +0 -87
  340. package/dist/src/components/waka-season-pass/index.d.ts +0 -65
  341. package/dist/src/components/waka-secret-card/index.d.ts +0 -43
  342. package/dist/src/components/waka-security-scan-result/index.d.ts +0 -45
  343. package/dist/src/components/waka-security-score/index.d.ts +0 -124
  344. package/dist/src/components/waka-segmented-control/index.d.ts +0 -42
  345. package/dist/src/components/waka-server-rack/index.d.ts +0 -44
  346. package/dist/src/components/waka-service-graph/index.d.ts +0 -44
  347. package/dist/src/components/waka-session-manager/index.d.ts +0 -116
  348. package/dist/src/components/waka-signature-pad/index.d.ts +0 -87
  349. package/dist/src/components/waka-skeleton-wave/index.d.ts +0 -79
  350. package/dist/src/components/waka-skill-tree/index.d.ts +0 -78
  351. package/dist/src/components/waka-sla-tracker/index.d.ts +0 -65
  352. package/dist/src/components/waka-slider-range/index.d.ts +0 -88
  353. package/dist/src/components/waka-spin-wheel/index.d.ts +0 -51
  354. package/dist/src/components/waka-spinner/index.d.ts +0 -46
  355. package/dist/src/components/waka-sponsored-badge/index.d.ts +0 -20
  356. package/dist/src/components/waka-sponsored-card/index.d.ts +0 -25
  357. package/dist/src/components/waka-sponsored-feed/index.d.ts +0 -31
  358. package/dist/src/components/waka-spotlight/index.d.ts +0 -47
  359. package/dist/src/components/waka-stat/index.d.ts +0 -57
  360. package/dist/src/components/waka-stats-hexagon/index.d.ts +0 -149
  361. package/dist/src/components/waka-status-matrix/index.d.ts +0 -38
  362. package/dist/src/components/waka-stepper/index.d.ts +0 -76
  363. package/dist/src/components/waka-streak-counter/index.d.ts +0 -27
  364. package/dist/src/components/waka-success-explosion/index.d.ts +0 -51
  365. package/dist/src/components/waka-swipe-card/index.d.ts +0 -64
  366. package/dist/src/components/waka-tabs-morph/index.d.ts +0 -66
  367. package/dist/src/components/waka-tag-input/index.d.ts +0 -134
  368. package/dist/src/components/waka-team-banner/index.d.ts +0 -122
  369. package/dist/src/components/waka-terminal-output/index.d.ts +0 -48
  370. package/dist/src/components/waka-test-report/index.d.ts +0 -60
  371. package/dist/src/components/waka-theme-creator/index.d.ts +0 -59
  372. package/dist/src/components/waka-theme-manager/index.d.ts +0 -62
  373. package/dist/src/components/waka-thread-view/index.d.ts +0 -101
  374. package/dist/src/components/waka-tilt-card/index.d.ts +0 -36
  375. package/dist/src/components/waka-time-picker/index.d.ts +0 -51
  376. package/dist/src/components/waka-timeline/index.d.ts +0 -46
  377. package/dist/src/components/waka-tooltip-tour/index.d.ts +0 -123
  378. package/dist/src/components/waka-tour-guide/index.d.ts +0 -127
  379. package/dist/src/components/waka-tournament-bracket/index.d.ts +0 -101
  380. package/dist/src/components/waka-trace-viewer/index.d.ts +0 -36
  381. package/dist/src/components/waka-tree/index.d.ts +0 -67
  382. package/dist/src/components/waka-treemap-chart/index.d.ts +0 -104
  383. package/dist/src/components/waka-two-factor-setup/index.d.ts +0 -93
  384. package/dist/src/components/waka-typewriter/index.d.ts +0 -98
  385. package/dist/src/components/waka-typing-indicator/index.d.ts +0 -64
  386. package/dist/src/components/waka-versus-card/index.d.ts +0 -117
  387. package/dist/src/components/waka-video/index.d.ts +0 -66
  388. package/dist/src/components/waka-video-ad/index.d.ts +0 -32
  389. package/dist/src/components/waka-video-call/index.d.ts +0 -170
  390. package/dist/src/components/waka-video-overlay/index.d.ts +0 -26
  391. package/dist/src/components/waka-virtual-list/index.d.ts +0 -54
  392. package/dist/src/components/waka-voice-message/index.d.ts +0 -117
  393. package/dist/src/components/waka-welcome-modal/index.d.ts +0 -120
  394. package/dist/src/components/waka-xp-bar/index.d.ts +0 -54
  395. package/dist/src/context/admincrumb-context.d.ts +0 -34
  396. package/dist/src/context/index.d.ts +0 -8
  397. package/dist/src/context/language-context.d.ts +0 -57
  398. package/dist/src/context/theme-context.d.ts +0 -39
  399. package/dist/src/context/theme-provider.d.ts +0 -74
  400. package/dist/src/context/waka-provider.d.ts +0 -50
  401. package/dist/src/doc.d.ts +0 -33
  402. package/dist/src/editor.d.ts +0 -26
  403. package/dist/src/export.d.ts +0 -30
  404. package/dist/src/hooks/index.d.ts +0 -1
  405. package/dist/src/hooks/use-toast.d.ts +0 -44
  406. package/dist/src/hooks/use-translation.d.ts +0 -15
  407. package/dist/src/hooks/useToast.d.ts +0 -44
  408. package/dist/src/index.d.ts +0 -35
  409. package/dist/src/lib/i18n.d.ts +0 -4
  410. package/dist/src/rich-text.d.ts +0 -21
  411. package/dist/src/stories/Button.d.ts +0 -14
  412. package/dist/src/stories/Button.stories.d.ts +0 -8
  413. package/dist/src/stories/Header.d.ts +0 -11
  414. package/dist/src/stories/Header.stories.d.ts +0 -6
  415. package/dist/src/stories/Page.d.ts +0 -2
  416. package/dist/src/stories/Page.stories.d.ts +0 -6
  417. package/dist/src/stories/editor/EditorStoryWrapper.d.ts +0 -11
  418. package/dist/src/types/index.d.ts +0 -1
  419. package/dist/src/types/link.d.ts +0 -23
  420. package/dist/src/types/provider.d.ts +0 -108
  421. package/dist/src/utils/cn.d.ts +0 -1
  422. package/dist/src/utils/datetime-helpers.d.ts +0 -137
  423. package/dist/src/utils/error-handling.d.ts +0 -190
  424. package/dist/src/utils/index.d.ts +0 -6
  425. package/dist/src/utils/logger.d.ts +0 -9
  426. package/dist/src/utils/security.d.ts +0 -96
  427. package/dist/src/utils/theme-loader.d.ts +0 -101
  428. package/dist/src/utils/tweak.d.ts +0 -18
  429. package/dist/waka-rich-text-editor-C4b30Ik-.js +0 -1
@@ -1,127 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- export type MessageStatus = "sending" | "sent" | "delivered" | "read" | "failed";
4
- export type ReadReceiptStatus = "sent" | "delivered" | "read";
5
- export interface MessageReaction {
6
- emoji: string;
7
- count: number;
8
- users: string[];
9
- reacted: boolean;
10
- }
11
- export interface MessageAttachment {
12
- id: string;
13
- type: "image" | "file" | "video" | "audio";
14
- url: string;
15
- name: string;
16
- size?: number;
17
- mimeType?: string;
18
- thumbnail?: string;
19
- width?: number;
20
- height?: number;
21
- }
22
- export interface LinkPreview {
23
- url: string;
24
- title: string;
25
- description?: string;
26
- image?: string;
27
- favicon?: string;
28
- siteName?: string;
29
- }
30
- export interface MessageThread {
31
- count: number;
32
- lastReply?: string;
33
- participants: Array<{
34
- id: string;
35
- name: string;
36
- avatar?: string;
37
- }>;
38
- }
39
- export interface ChatUser {
40
- id: string;
41
- name: string;
42
- avatar?: string;
43
- initials?: string;
44
- }
45
- export interface WakaChatBubbleProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bubbleVariants> {
46
- /** The message content */
47
- message: string;
48
- /** Whether the message was sent by the current user */
49
- isSent?: boolean;
50
- /** User who sent the message */
51
- sender?: ChatUser;
52
- /** Show avatar */
53
- showAvatar?: boolean;
54
- /** Message timestamp */
55
- timestamp?: Date | string;
56
- /** Format for timestamp display */
57
- timestampFormat?: "time" | "datetime" | "relative";
58
- /** Message status */
59
- status?: MessageStatus;
60
- /** Read receipt status (for sent messages) */
61
- readReceipt?: ReadReceiptStatus;
62
- /** Reactions on the message */
63
- reactions?: MessageReaction[];
64
- /** Thread/reply info */
65
- thread?: MessageThread;
66
- /** Whether the message was edited */
67
- isEdited?: boolean;
68
- /** Attachments */
69
- attachments?: MessageAttachment[];
70
- /** Link preview */
71
- linkPreview?: LinkPreview;
72
- /** Enable markdown rendering */
73
- markdown?: boolean;
74
- /** Called when reaction is added */
75
- onAddReaction?: (emoji: string) => void;
76
- /** Called when existing reaction is toggled */
77
- onToggleReaction?: (emoji: string) => void;
78
- /** Called when reply button is clicked */
79
- onReply?: () => void;
80
- /** Called when edit is requested */
81
- onEdit?: () => void;
82
- /** Called when delete is requested */
83
- onDelete?: () => void;
84
- /** Called when retry is requested (for failed messages) */
85
- onRetry?: () => void;
86
- /** Called when thread is clicked */
87
- onThreadClick?: () => void;
88
- /** Called when attachment is clicked */
89
- onAttachmentClick?: (attachment: MessageAttachment) => void;
90
- /** Called when link preview is clicked */
91
- onLinkPreviewClick?: (url: string) => void;
92
- /** Show action menu */
93
- showActions?: boolean;
94
- /** Emoji picker content (render prop) */
95
- emojiPicker?: (onSelect: (emoji: string) => void) => React.ReactNode;
96
- /** Quick reaction emojis */
97
- quickReactions?: string[];
98
- /** Custom timestamp renderer */
99
- renderTimestamp?: (timestamp: Date | string) => React.ReactNode;
100
- /** Maximum width of the bubble */
101
- maxWidth?: string | number;
102
- }
103
- declare const bubbleVariants: (props?: ({
104
- variant?: "default" | "minimal" | "elevated" | null | undefined;
105
- isSent?: boolean | null | undefined;
106
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
107
- export declare const WakaChatBubble: React.ForwardRefExoticComponent<WakaChatBubbleProps & React.RefAttributes<HTMLDivElement>>;
108
- export interface WakaChatTypingIndicatorProps extends React.HTMLAttributes<HTMLDivElement> {
109
- /** Users currently typing */
110
- users?: ChatUser[];
111
- /** Show avatar */
112
- showAvatar?: boolean;
113
- }
114
- export declare function WakaChatTypingIndicator({ users, showAvatar, className, ...props }: WakaChatTypingIndicatorProps): import("react/jsx-runtime").JSX.Element | null;
115
- export interface WakaChatDateSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
116
- /** Date to display */
117
- date: Date | string;
118
- }
119
- export declare function WakaChatDateSeparator({ date, className, ...props }: WakaChatDateSeparatorProps): import("react/jsx-runtime").JSX.Element;
120
- export interface WakaChatSystemMessageProps extends React.HTMLAttributes<HTMLDivElement> {
121
- /** System message text */
122
- message: string;
123
- /** Icon to display */
124
- icon?: React.ReactNode;
125
- }
126
- export declare function WakaChatSystemMessage({ message, icon, className, ...props }: WakaChatSystemMessageProps): import("react/jsx-runtime").JSX.Element;
127
- export {};
@@ -1,123 +0,0 @@
1
- import * as React from "react";
2
- export type TaskStatus = "pending" | "completed" | "skipped";
3
- export interface ChecklistTask {
4
- /** Unique identifier */
5
- id: string;
6
- /** Task title */
7
- title: string;
8
- /** Task description (shown when expanded) */
9
- description?: string;
10
- /** Category/group the task belongs to */
11
- category?: string;
12
- /** Action button label */
13
- actionLabel?: string;
14
- /** Callback when action is triggered */
15
- onAction?: () => void;
16
- /** Whether the task can be skipped */
17
- skippable?: boolean;
18
- /** Custom icon */
19
- icon?: React.ReactNode;
20
- /** Reward points for completing this task */
21
- points?: number;
22
- /** Whether this task is required */
23
- required?: boolean;
24
- }
25
- export interface ChecklistCategory {
26
- /** Category identifier */
27
- id: string;
28
- /** Category label */
29
- label: string;
30
- /** Category description */
31
- description?: string;
32
- /** Custom icon */
33
- icon?: React.ReactNode;
34
- }
35
- export interface ChecklistState {
36
- /** Map of task ID to status */
37
- tasks: Record<string, TaskStatus>;
38
- /** Whether the checklist is collapsed */
39
- collapsed: boolean;
40
- /** Set of expanded task IDs */
41
- expandedTasks: Set<string>;
42
- }
43
- export interface WakaChecklistProps {
44
- /** Checklist identifier for localStorage persistence */
45
- checklistId: string;
46
- /** List of tasks */
47
- tasks: ChecklistTask[];
48
- /** Category definitions */
49
- categories?: ChecklistCategory[];
50
- /** Title of the checklist */
51
- title?: string;
52
- /** Subtitle/description */
53
- subtitle?: string;
54
- /** Show progress bar */
55
- showProgress?: boolean;
56
- /** Show completion percentage */
57
- showPercentage?: boolean;
58
- /** Enable localStorage persistence */
59
- persistent?: boolean;
60
- /** Show celebration on completion */
61
- showCelebration?: boolean;
62
- /** Callback when all tasks are completed */
63
- onComplete?: () => void;
64
- /** Callback when a task status changes */
65
- onTaskChange?: (taskId: string, status: TaskStatus) => void;
66
- /** Initially collapsed */
67
- defaultCollapsed?: boolean;
68
- /** Allow collapsing the checklist */
69
- collapsible?: boolean;
70
- /** Size variant */
71
- size?: "sm" | "default" | "lg";
72
- /** Custom className */
73
- className?: string;
74
- }
75
- export interface UseChecklistOptions {
76
- /** Checklist identifier for localStorage */
77
- checklistId: string;
78
- /** List of tasks */
79
- tasks: ChecklistTask[];
80
- /** Enable localStorage persistence */
81
- persistent?: boolean;
82
- /** Initially collapsed */
83
- defaultCollapsed?: boolean;
84
- /** Callback when all tasks are completed */
85
- onComplete?: () => void;
86
- /** Callback when a task status changes */
87
- onTaskChange?: (taskId: string, status: TaskStatus) => void;
88
- }
89
- export interface UseChecklistReturn {
90
- /** Current state of all tasks */
91
- taskStates: Record<string, TaskStatus>;
92
- /** Whether checklist is collapsed */
93
- isCollapsed: boolean;
94
- /** Set of expanded task IDs */
95
- expandedTasks: Set<string>;
96
- /** Mark a task as completed */
97
- completeTask: (taskId: string) => void;
98
- /** Skip a task */
99
- skipTask: (taskId: string) => void;
100
- /** Reset a task to pending */
101
- resetTask: (taskId: string) => void;
102
- /** Toggle task expansion */
103
- toggleTaskExpanded: (taskId: string) => void;
104
- /** Toggle checklist collapse */
105
- toggleCollapsed: () => void;
106
- /** Reset entire checklist */
107
- resetChecklist: () => void;
108
- /** Completion progress (0-100) */
109
- progress: number;
110
- /** Number of completed tasks */
111
- completedCount: number;
112
- /** Number of skipped tasks */
113
- skippedCount: number;
114
- /** Total number of tasks */
115
- totalCount: number;
116
- /** Whether all tasks are completed or skipped */
117
- isComplete: boolean;
118
- /** Get status of a specific task */
119
- getTaskStatus: (taskId: string) => TaskStatus;
120
- }
121
- export declare function useChecklist({ checklistId, tasks, persistent, defaultCollapsed, onComplete, onTaskChange, }: UseChecklistOptions): UseChecklistReturn;
122
- export declare function WakaChecklist({ checklistId, tasks, categories, title, subtitle, showProgress, showPercentage, persistent, showCelebration, onComplete, onTaskChange, defaultCollapsed, collapsible, size, className, }: WakaChecklistProps): import("react/jsx-runtime").JSX.Element;
123
- export default WakaChecklist;
@@ -1,154 +0,0 @@
1
- import { LucideIcon } from 'lucide-react';
2
- import * as React from "react";
3
- export type CheckoutStepId = "cart" | "shipping" | "payment" | "review" | "confirmation";
4
- export type CheckoutStepStatus = "pending" | "current" | "completed" | "error" | "skipped";
5
- export interface CheckoutStepValidation {
6
- /** Whether the step is valid */
7
- isValid: boolean;
8
- /** Error message if invalid */
9
- errorMessage?: string;
10
- /** Field-level errors */
11
- fieldErrors?: Record<string, string>;
12
- }
13
- export interface CheckoutStep {
14
- /** Unique step identifier */
15
- id: CheckoutStepId | string;
16
- /** Step title */
17
- title: string;
18
- /** Step description */
19
- description?: string;
20
- /** Custom icon (optional) */
21
- icon?: LucideIcon;
22
- /** Step content component */
23
- content?: React.ReactNode;
24
- /** Whether step is optional (can be skipped) */
25
- optional?: boolean;
26
- /** Whether step is disabled */
27
- disabled?: boolean;
28
- /** Validation function for the step */
29
- validate?: () => CheckoutStepValidation | Promise<CheckoutStepValidation>;
30
- /** Summary data for the sidebar */
31
- summary?: React.ReactNode;
32
- }
33
- export interface CheckoutStepperProps {
34
- /** List of checkout steps */
35
- steps: CheckoutStep[];
36
- /** Current step index (0-indexed) */
37
- currentStep?: number;
38
- /** Callback when step changes */
39
- onStepChange?: (stepIndex: number, stepId: string) => void;
40
- /** Callback when checkout is completed */
41
- onComplete?: () => void;
42
- /** Layout orientation */
43
- orientation?: "horizontal" | "vertical";
44
- /** Size variant */
45
- size?: "sm" | "md" | "lg";
46
- /** Allow clicking on steps to navigate */
47
- clickable?: boolean;
48
- /** Only allow navigation to previous steps */
49
- allowPreviousOnly?: boolean;
50
- /** Show step content */
51
- showContent?: boolean;
52
- /** Show summary sidebar */
53
- showSummary?: boolean;
54
- /** Summary sidebar position */
55
- summaryPosition?: "left" | "right";
56
- /** Enable animated transitions */
57
- animated?: boolean;
58
- /** Animation direction */
59
- animationDirection?: "slide" | "fade" | "scale";
60
- /** Loading state */
61
- isLoading?: boolean;
62
- /** Custom class name */
63
- className?: string;
64
- /** Navigation labels */
65
- labels?: {
66
- back?: string;
67
- next?: string;
68
- skip?: string;
69
- complete?: string;
70
- processing?: string;
71
- };
72
- }
73
- export interface UseCheckoutStepperOptions {
74
- /** Initial step index */
75
- initialStep?: number;
76
- /** List of steps */
77
- steps: CheckoutStep[];
78
- /** Callback when step changes */
79
- onStepChange?: (stepIndex: number, stepId: string) => void;
80
- /** Callback when checkout completes */
81
- onComplete?: () => void;
82
- /** Validate before proceeding */
83
- validateOnNext?: boolean;
84
- }
85
- export interface UseCheckoutStepperReturn {
86
- /** Current step index */
87
- currentStep: number;
88
- /** Current step data */
89
- currentStepData: CheckoutStep | undefined;
90
- /** All steps with status */
91
- stepsWithStatus: (CheckoutStep & {
92
- status: CheckoutStepStatus;
93
- })[];
94
- /** Total number of steps */
95
- totalSteps: number;
96
- /** Whether on first step */
97
- isFirstStep: boolean;
98
- /** Whether on last step */
99
- isLastStep: boolean;
100
- /** Whether checkout is complete */
101
- isComplete: boolean;
102
- /** Whether currently validating */
103
- isValidating: boolean;
104
- /** Current validation error */
105
- validationError: string | null;
106
- /** Go to specific step */
107
- goToStep: (index: number) => Promise<boolean>;
108
- /** Go to next step */
109
- nextStep: () => Promise<boolean>;
110
- /** Go to previous step */
111
- prevStep: () => void;
112
- /** Skip current step (if optional) */
113
- skipStep: () => void;
114
- /** Complete checkout */
115
- completeCheckout: () => Promise<boolean>;
116
- /** Reset stepper */
117
- reset: () => void;
118
- /** Get step status */
119
- getStepStatus: (index: number) => CheckoutStepStatus;
120
- /** Skipped steps */
121
- skippedSteps: Set<number>;
122
- /** Mark step as completed manually */
123
- markStepCompleted: (index: number) => void;
124
- }
125
- export interface CheckoutStepperContextValue extends UseCheckoutStepperReturn {
126
- orientation: "horizontal" | "vertical";
127
- size: "sm" | "md" | "lg";
128
- clickable: boolean;
129
- allowPreviousOnly: boolean;
130
- animated: boolean;
131
- animationDirection: "slide" | "fade" | "scale";
132
- isLoading: boolean;
133
- }
134
- export declare function useCheckoutStepper({ initialStep, steps, onStepChange, onComplete, validateOnNext, }: UseCheckoutStepperOptions): UseCheckoutStepperReturn;
135
- export declare function useCheckoutStepperContext(): CheckoutStepperContextValue;
136
- export interface CheckoutNavigationProps {
137
- /** Custom class name */
138
- className?: string;
139
- /** Custom labels */
140
- labels?: {
141
- back?: string;
142
- next?: string;
143
- skip?: string;
144
- complete?: string;
145
- processing?: string;
146
- };
147
- }
148
- export declare function CheckoutNavigation({ className, labels, }: CheckoutNavigationProps): import("react/jsx-runtime").JSX.Element;
149
- export interface CheckoutProgressBarProps {
150
- className?: string;
151
- }
152
- export declare function CheckoutProgressBar({ className }: CheckoutProgressBarProps): import("react/jsx-runtime").JSX.Element;
153
- export declare function WakaCheckoutStepper({ steps, currentStep: controlledStep, onStepChange, onComplete, orientation, size, clickable, allowPreviousOnly, showContent, showSummary, summaryPosition, animated, animationDirection, isLoading, className, labels, }: CheckoutStepperProps): import("react/jsx-runtime").JSX.Element;
154
- export default WakaCheckoutStepper;
@@ -1,130 +0,0 @@
1
- import * as React from "react";
2
- export type CohortPeriod = "day" | "week" | "month" | "quarter" | "year";
3
- export type CohortMetric = "retention" | "churn" | "revenue" | "engagement" | "custom";
4
- export interface CohortDataPoint {
5
- /** Value for this period (0-100 for percentages, or raw value) */
6
- value: number;
7
- /** Number of users/items at this point */
8
- count?: number;
9
- /** Additional metadata */
10
- metadata?: Record<string, unknown>;
11
- }
12
- export interface CohortRow {
13
- /** Unique identifier for the cohort */
14
- id: string;
15
- /** Cohort label (e.g., "Jan 2024", "Week 1") */
16
- label: string;
17
- /** Cohort start date */
18
- date: Date;
19
- /** Initial cohort size */
20
- size: number;
21
- /** Data points for each period */
22
- data: CohortDataPoint[];
23
- }
24
- export interface CohortColorScale {
25
- /** Minimum value color (e.g., for 0% retention) */
26
- min: string;
27
- /** Maximum value color (e.g., for 100% retention) */
28
- max: string;
29
- /** Optional midpoint color for gradient */
30
- mid?: string;
31
- /** Midpoint value (defaults to 50) */
32
- midValue?: number;
33
- }
34
- export interface CohortExportOptions {
35
- /** Export format */
36
- format: "csv" | "json";
37
- /** Include metadata in export */
38
- includeMetadata?: boolean;
39
- /** Custom filename */
40
- filename?: string;
41
- }
42
- export interface WakaCohortTableProps {
43
- /** Cohort data rows */
44
- data: CohortRow[];
45
- /** Period type for columns */
46
- period?: CohortPeriod;
47
- /** Metric being displayed */
48
- metric?: CohortMetric;
49
- /** Custom metric label */
50
- metricLabel?: string;
51
- /** Whether to show as percentage */
52
- showAsPercentage?: boolean;
53
- /** Number of decimal places */
54
- decimalPlaces?: number;
55
- /** Color scale configuration */
56
- colorScale?: CohortColorScale;
57
- /** Show cohort size column */
58
- showCohortSize?: boolean;
59
- /** Show average row */
60
- showAverageRow?: boolean;
61
- /** Show trend indicators */
62
- showTrends?: boolean;
63
- /** Enable cell hover highlighting */
64
- highlightOnHover?: boolean;
65
- /** Show color scale legend */
66
- showLegend?: boolean;
67
- /** Enable export functionality */
68
- enableExport?: boolean;
69
- /** Callback when cell is clicked */
70
- onCellClick?: (row: CohortRow, periodIndex: number, value: CohortDataPoint) => void;
71
- /** Callback when export is triggered */
72
- onExport?: (options: CohortExportOptions) => void;
73
- /** Custom cell renderer */
74
- renderCell?: (value: CohortDataPoint, row: CohortRow, periodIndex: number) => React.ReactNode;
75
- /** Custom tooltip renderer */
76
- renderTooltip?: (value: CohortDataPoint, row: CohortRow, periodIndex: number) => React.ReactNode;
77
- /** Custom className */
78
- className?: string;
79
- /** Table className */
80
- tableClassName?: string;
81
- /** Header cell className */
82
- headerClassName?: string;
83
- /** Body cell className */
84
- cellClassName?: string;
85
- }
86
- export declare function WakaCohortTable({ data, period, metric, metricLabel, showAsPercentage, decimalPlaces, colorScale, showCohortSize, showAverageRow, showTrends, highlightOnHover, showLegend, enableExport, onCellClick, onExport, renderCell, renderTooltip, className, tableClassName, headerClassName, cellClassName, }: WakaCohortTableProps): import("react/jsx-runtime").JSX.Element;
87
- export interface UseCohortTableOptions {
88
- /** Initial cohort data */
89
- initialData?: CohortRow[];
90
- /** Default period type */
91
- defaultPeriod?: CohortPeriod;
92
- /** Default metric */
93
- defaultMetric?: CohortMetric;
94
- }
95
- export interface CohortStatistics {
96
- /** Total number of cohorts */
97
- totalCohorts: number;
98
- /** Total users across all cohorts */
99
- totalUsers: number;
100
- /** Average initial cohort size */
101
- averageCohortSize: number;
102
- /** Average retention at each period */
103
- averageRetentionByPeriod: number[];
104
- /** Overall average retention */
105
- overallAverageRetention: number;
106
- /** Best performing cohort */
107
- bestCohort: CohortRow | null;
108
- /** Worst performing cohort */
109
- worstCohort: CohortRow | null;
110
- }
111
- export declare function useCohortTable({ initialData, defaultPeriod, defaultMetric, }?: UseCohortTableOptions): {
112
- data: CohortRow[];
113
- period: CohortPeriod;
114
- metric: CohortMetric;
115
- selectedCohort: string | null;
116
- statistics: CohortStatistics;
117
- setData: React.Dispatch<React.SetStateAction<CohortRow[]>>;
118
- setPeriod: React.Dispatch<React.SetStateAction<CohortPeriod>>;
119
- setMetric: React.Dispatch<React.SetStateAction<CohortMetric>>;
120
- setSelectedCohort: React.Dispatch<React.SetStateAction<string | null>>;
121
- addCohort: (cohort: CohortRow) => void;
122
- updateCohort: (id: string, updates: Partial<CohortRow>) => void;
123
- removeCohort: (id: string) => void;
124
- updateDataPoint: (cohortId: string, periodIndex: number, value: Partial<CohortDataPoint>) => void;
125
- sortCohorts: (sortBy: "date" | "size" | "retention", order?: "asc" | "desc") => void;
126
- filterByDateRange: (startDate: Date, endDate: Date) => CohortRow[];
127
- getCohortById: (id: string) => CohortRow | undefined;
128
- reset: () => void;
129
- };
130
- export default WakaCohortTable;
@@ -1,40 +0,0 @@
1
- import * as React from "react";
2
- export type ColorFormat = "hex" | "rgb" | "hsl";
3
- export interface WakaColorPickerProps {
4
- /** Valeur de la couleur */
5
- value?: string;
6
- /** Callback de changement */
7
- onChange?: (color: string) => void;
8
- /** Format de couleur */
9
- format?: ColorFormat;
10
- /** Afficher le canal alpha */
11
- showAlpha?: boolean;
12
- /** Afficher les couleurs prédéfinies */
13
- showPresets?: boolean;
14
- /** Couleurs prédéfinies personnalisées */
15
- presets?: string[];
16
- /** Afficher l'outil EyeDropper (si supporté) */
17
- showEyeDropper?: boolean;
18
- /** Désactivé */
19
- disabled?: boolean;
20
- /** Placeholder */
21
- placeholder?: string;
22
- /** Classes CSS additionnelles */
23
- className?: string;
24
- /** Taille */
25
- size?: "sm" | "md" | "lg";
26
- }
27
- /**
28
- * Composant WakaColorPicker
29
- */
30
- export declare const WakaColorPicker: React.ForwardRefExoticComponent<WakaColorPickerProps & React.RefAttributes<HTMLButtonElement>>;
31
- /**
32
- * Version intégrée avec react-hook-form
33
- */
34
- export interface WakaColorPickerFormProps extends WakaColorPickerProps {
35
- name: string;
36
- error?: string;
37
- label?: string;
38
- }
39
- export declare const WakaColorPickerForm: React.ForwardRefExoticComponent<WakaColorPickerFormProps & React.RefAttributes<HTMLButtonElement>>;
40
- export default WakaColorPicker;
@@ -1,53 +0,0 @@
1
- export interface WakaComboCounterProps {
2
- /** Current combo count */
3
- combo: number;
4
- /** Current multiplier (e.g., 2 for x2) */
5
- multiplier?: number;
6
- /** Maximum multiplier cap */
7
- maxMultiplier?: number;
8
- /** Time remaining to maintain combo (0-100 percentage) */
9
- timeRemaining?: number;
10
- /** Callback when combo breaks (timer runs out) */
11
- onComboBreak?: () => void;
12
- /** Milestone numbers to celebrate */
13
- milestones?: number[];
14
- /** Callback when a milestone is reached */
15
- onMilestone?: (milestone: number) => void;
16
- /** Size variant */
17
- size?: "sm" | "md" | "lg" | "xl";
18
- /** Show the timer bar */
19
- showTimer?: boolean;
20
- /** Show the multiplier badge */
21
- showMultiplier?: boolean;
22
- /** Visual intensity level */
23
- intensity?: "low" | "medium" | "high" | "extreme";
24
- /** Enable animations */
25
- animated?: boolean;
26
- /** Custom className */
27
- className?: string;
28
- /** Sound effect hooks */
29
- onPlayIncrementSound?: () => void;
30
- onPlayMilestoneSound?: () => void;
31
- onPlayBreakSound?: () => void;
32
- }
33
- export declare function WakaComboCounter({ combo, multiplier, maxMultiplier, timeRemaining, onComboBreak, milestones, onMilestone, size, showTimer, showMultiplier, intensity, animated, className, onPlayIncrementSound, onPlayMilestoneSound, onPlayBreakSound, }: WakaComboCounterProps): import("react/jsx-runtime").JSX.Element;
34
- export interface UseComboCounterOptions {
35
- initialCombo?: number;
36
- initialMultiplier?: number;
37
- maxMultiplier?: number;
38
- timerDuration?: number;
39
- multiplierThresholds?: number[];
40
- autoDecay?: boolean;
41
- decayRate?: number;
42
- }
43
- export interface UseComboCounterReturn {
44
- combo: number;
45
- multiplier: number;
46
- timeRemaining: number;
47
- increment: (amount?: number) => void;
48
- reset: () => void;
49
- pause: () => void;
50
- resume: () => void;
51
- isPaused: boolean;
52
- }
53
- export declare function useComboCounter({ initialCombo, initialMultiplier, maxMultiplier, timerDuration, multiplierThresholds, autoDecay, decayRate, }?: UseComboCounterOptions): UseComboCounterReturn;