themelia-react-ui 0.0.0-stage → 1.0.1

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 (1367) hide show
  1. package/CHANGELOG.md +116 -0
  2. package/LICENSE +21 -0
  3. package/README.md +282 -2
  4. package/THIRD_PARTY_NOTICES.md +65 -0
  5. package/dist/accordion-B-5Focs8.js +205 -0
  6. package/dist/accordion-B-5Focs8.js.map +1 -0
  7. package/dist/action-menu-Cx3SdfbN.js +265 -0
  8. package/dist/action-menu-Cx3SdfbN.js.map +1 -0
  9. package/dist/action-presentation.js +11 -0
  10. package/dist/action-presentation.js.map +1 -0
  11. package/dist/affordance-geometry.generated-D8Jcfb0G.js +32 -0
  12. package/dist/affordance-geometry.generated-D8Jcfb0G.js.map +1 -0
  13. package/dist/ai-artifact-B5tPpXnS.js +1121 -0
  14. package/dist/ai-artifact-B5tPpXnS.js.map +1 -0
  15. package/dist/anchored-positioning-DPnKTvNs.js +6 -0
  16. package/dist/anchored-positioning-DPnKTvNs.js.map +1 -0
  17. package/dist/app-shell-at8Kt4l_.js +235 -0
  18. package/dist/app-shell-at8Kt4l_.js.map +1 -0
  19. package/dist/attachment-BO2R47wn.js +244 -0
  20. package/dist/attachment-BO2R47wn.js.map +1 -0
  21. package/dist/auth-OFwWSAap.js +704 -0
  22. package/dist/auth-OFwWSAap.js.map +1 -0
  23. package/dist/avatar-Bpzty83c.js +178 -0
  24. package/dist/avatar-Bpzty83c.js.map +1 -0
  25. package/dist/badge-BZXZT9wd.js +92 -0
  26. package/dist/badge-BZXZT9wd.js.map +1 -0
  27. package/dist/base/accordion.js +3 -0
  28. package/dist/base/action-menu.js +3 -0
  29. package/dist/base/attachment.js +3 -0
  30. package/dist/base/avatar.js +3 -0
  31. package/dist/base/badge.js +3 -0
  32. package/dist/base/buttons.js +3 -0
  33. package/dist/base/cards.js +4 -0
  34. package/dist/base/carousel.js +251 -0
  35. package/dist/base/carousel.js.map +1 -0
  36. package/dist/base/cascader.js +361 -0
  37. package/dist/base/cascader.js.map +1 -0
  38. package/dist/base/chart.js +3 -0
  39. package/dist/base/choice-inputs.js +4 -0
  40. package/dist/base/code-block.js +3 -0
  41. package/dist/base/combobox.js +3 -0
  42. package/dist/base/command.js +3 -0
  43. package/dist/base/copyable.js +3 -0
  44. package/dist/base/date-pickers.js +4 -0
  45. package/dist/base/display.js +8 -0
  46. package/dist/base/feedback.js +5 -0
  47. package/dist/base/forms-numeric.js +3 -0
  48. package/dist/base/forms.js +4 -0
  49. package/dist/base/inline-edit.js +236 -0
  50. package/dist/base/inline-edit.js.map +1 -0
  51. package/dist/base/item.js +3 -0
  52. package/dist/base/media-gallery.js +3 -0
  53. package/dist/base/navigation.js +8 -0
  54. package/dist/base/popover-menu.js +3 -0
  55. package/dist/base/popover.js +3 -0
  56. package/dist/base/qr-code.js +63 -0
  57. package/dist/base/qr-code.js.map +1 -0
  58. package/dist/base/repeaters.js +620 -0
  59. package/dist/base/repeaters.js.map +1 -0
  60. package/dist/base/sheet.js +3 -0
  61. package/dist/base/sidebar.js +3 -0
  62. package/dist/base/signature-pad.js +364 -0
  63. package/dist/base/signature-pad.js.map +1 -0
  64. package/dist/base/skeleton.js +3 -0
  65. package/dist/base/spinner.js +3 -0
  66. package/dist/base/structure.js +3 -0
  67. package/dist/base/table.js +3 -0
  68. package/dist/base/text-inputs.js +4 -0
  69. package/dist/base/toaster.js +102 -0
  70. package/dist/base/toaster.js.map +1 -0
  71. package/dist/base/tree.js +3 -0
  72. package/dist/base/upload-queue.js +3 -0
  73. package/dist/base/upload.js +5 -0
  74. package/dist/base/value-inputs.js +3 -0
  75. package/dist/blocks/admin.js +478 -0
  76. package/dist/blocks/admin.js.map +1 -0
  77. package/dist/blocks/ai.js +1021 -0
  78. package/dist/blocks/ai.js.map +1 -0
  79. package/dist/blocks/analytics/usage-card.js +3 -0
  80. package/dist/blocks/analytics.js +1500 -0
  81. package/dist/blocks/analytics.js.map +1 -0
  82. package/dist/blocks/collaboration.js +3 -0
  83. package/dist/blocks/commerce/receipt.js +3 -0
  84. package/dist/blocks/commerce.js +3393 -0
  85. package/dist/blocks/commerce.js.map +1 -0
  86. package/dist/blocks/data-display.js +3 -0
  87. package/dist/blocks/onboarding.js +128 -0
  88. package/dist/blocks/onboarding.js.map +1 -0
  89. package/dist/blocks/planning.js +311 -0
  90. package/dist/blocks/planning.js.map +1 -0
  91. package/dist/blocks/timelines.js +3 -0
  92. package/dist/breadcrumbs-DdQ_I5ra.js +127 -0
  93. package/dist/breadcrumbs-DdQ_I5ra.js.map +1 -0
  94. package/dist/button-BS6l5JUw.js +47 -0
  95. package/dist/button-BS6l5JUw.js.map +1 -0
  96. package/dist/buttons-Co6GavvM.js +674 -0
  97. package/dist/buttons-Co6GavvM.js.map +1 -0
  98. package/dist/cards-Cum56XOF.js +66 -0
  99. package/dist/cards-Cum56XOF.js.map +1 -0
  100. package/dist/chart-DVfcwQu6.js +149 -0
  101. package/dist/chart-DVfcwQu6.js.map +1 -0
  102. package/dist/checkbox-BavDRjF7.js +34 -0
  103. package/dist/checkbox-BavDRjF7.js.map +1 -0
  104. package/dist/choice-inputs-CC7XqPQO.js +619 -0
  105. package/dist/choice-inputs-CC7XqPQO.js.map +1 -0
  106. package/dist/code-block-xHKbAJDj.js +183 -0
  107. package/dist/code-block-xHKbAJDj.js.map +1 -0
  108. package/dist/collapsible-DsnktFNv.js +81 -0
  109. package/dist/collapsible-DsnktFNv.js.map +1 -0
  110. package/dist/collection-content-C4fthJV_.js +53 -0
  111. package/dist/collection-content-C4fthJV_.js.map +1 -0
  112. package/dist/combobox-DEbdr-3u.js +273 -0
  113. package/dist/combobox-DEbdr-3u.js.map +1 -0
  114. package/dist/combobox-xv3yJbzl.js +850 -0
  115. package/dist/combobox-xv3yJbzl.js.map +1 -0
  116. package/dist/command-C0xe7u9B.js +421 -0
  117. package/dist/command-C0xe7u9B.js.map +1 -0
  118. package/dist/comments-DviPLnwy.js +1132 -0
  119. package/dist/comments-DviPLnwy.js.map +1 -0
  120. package/dist/component-vocabulary.js +26 -0
  121. package/dist/component-vocabulary.js.map +1 -0
  122. package/dist/components/base/accordion/accordion-variants.d.ts +36 -0
  123. package/dist/components/base/accordion/accordion.d.ts +20 -0
  124. package/dist/components/base/accordion/accordion.strings.d.ts +15 -0
  125. package/dist/components/base/accordion/accordion.types.d.ts +74 -0
  126. package/dist/components/base/accordion/index.d.ts +4 -0
  127. package/dist/components/base/accordion/smart-accordion.d.ts +7 -0
  128. package/dist/components/base/action-menu/action-menu.d.ts +147 -0
  129. package/dist/components/base/action-menu/action-menu.strings.d.ts +4 -0
  130. package/dist/components/base/action-menu/index.d.ts +11 -0
  131. package/dist/components/base/attachment/attachment.d.ts +17 -0
  132. package/dist/components/base/attachment/attachment.types.d.ts +49 -0
  133. package/dist/components/base/attachment/index.d.ts +2 -0
  134. package/dist/components/base/avatar/avatar.d.ts +24 -0
  135. package/dist/components/base/avatar/index.d.ts +14 -0
  136. package/dist/components/base/avatar/stacked-avatars.d.ts +39 -0
  137. package/dist/components/base/badge/badge.d.ts +22 -0
  138. package/dist/components/base/badge/badge.recipes.d.ts +20 -0
  139. package/dist/components/base/badge/index.d.ts +2 -0
  140. package/dist/components/base/buttons/base-button.d.ts +24 -0
  141. package/dist/components/base/buttons/button-group.d.ts +28 -0
  142. package/dist/components/base/buttons/button-group.recipes.d.ts +6 -0
  143. package/dist/components/base/buttons/button.d.ts +47 -0
  144. package/dist/components/base/buttons/button.recipes.d.ts +23 -0
  145. package/dist/components/base/buttons/button.variants.d.ts +8 -0
  146. package/dist/components/base/buttons/index.d.ts +7 -0
  147. package/dist/components/base/buttons/loader-button.d.ts +40 -0
  148. package/dist/components/base/buttons/text-button.d.ts +19 -0
  149. package/dist/components/base/buttons/tooltip-button.d.ts +7 -0
  150. package/dist/components/base/cards/card-actions.d.ts +41 -0
  151. package/dist/components/base/cards/card.recipes.d.ts +28 -0
  152. package/dist/components/base/cards/index.d.ts +5 -0
  153. package/dist/components/base/cards/partials/card-primitives.d.ts +21 -0
  154. package/dist/components/base/cards/partials/has-renderable-content.d.ts +8 -0
  155. package/dist/components/base/cards/partials/smart-card-actions-menu.d.ts +8 -0
  156. package/dist/components/base/cards/partials/smart-card-alert.d.ts +20 -0
  157. package/dist/components/base/cards/partials/smart-card-header-row.d.ts +33 -0
  158. package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +16 -0
  159. package/dist/components/base/cards/smart-card.d.ts +9 -0
  160. package/dist/components/base/cards/smart-card.strings.d.ts +18 -0
  161. package/dist/components/base/cards/smart-card.tokens.d.ts +44 -0
  162. package/dist/components/base/cards/smart-card.types.d.ts +146 -0
  163. package/dist/components/base/carousel/carousel.d.ts +105 -0
  164. package/dist/components/base/carousel/carousel.strings.d.ts +6 -0
  165. package/dist/components/base/carousel/index.d.ts +2 -0
  166. package/dist/components/base/cascader/cascader.d.ts +2 -0
  167. package/dist/components/base/cascader/cascader.types.d.ts +57 -0
  168. package/dist/components/base/cascader/index.d.ts +2 -0
  169. package/dist/components/base/chart/chart.d.ts +99 -0
  170. package/dist/components/base/chart/index.d.ts +9 -0
  171. package/dist/components/base/choice-inputs/card-checkbox-group.d.ts +27 -0
  172. package/dist/components/base/choice-inputs/card-radio-group.d.ts +19 -0
  173. package/dist/components/base/choice-inputs/checkbox.d.ts +17 -0
  174. package/dist/components/base/choice-inputs/choice-types.d.ts +57 -0
  175. package/dist/components/base/choice-inputs/index.d.ts +28 -0
  176. package/dist/components/base/choice-inputs/list-radio-group.d.ts +13 -0
  177. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +27 -0
  178. package/dist/components/base/choice-inputs/select-popup.d.ts +26 -0
  179. package/dist/components/base/choice-inputs/select.d.ts +94 -0
  180. package/dist/components/base/choice-inputs/switch-card.d.ts +36 -0
  181. package/dist/components/base/choice-inputs/switch.d.ts +38 -0
  182. package/dist/components/base/choice-inputs/toggle-field.d.ts +41 -0
  183. package/dist/components/base/code-block/code-block.d.ts +3 -0
  184. package/dist/components/base/code-block/code-block.types.d.ts +46 -0
  185. package/dist/components/base/code-block/index.d.ts +2 -0
  186. package/dist/components/base/code-block/use-code-copy.d.ts +6 -0
  187. package/dist/components/base/combobox/index.d.ts +27 -0
  188. package/dist/components/base/command/command.d.ts +73 -0
  189. package/dist/components/base/command/index.d.ts +1 -0
  190. package/dist/components/base/copyable/copyable.d.ts +36 -0
  191. package/dist/components/base/copyable/index.d.ts +1 -0
  192. package/dist/components/base/date-pickers/date-picker-footer.d.ts +14 -0
  193. package/dist/components/base/date-pickers/date-picker-header.d.ts +10 -0
  194. package/dist/components/base/date-pickers/date-picker-helpers.d.ts +87 -0
  195. package/dist/components/base/date-pickers/date-picker-internals.d.ts +10 -0
  196. package/dist/components/base/date-pickers/date-picker-multiple.d.ts +20 -0
  197. package/dist/components/base/date-pickers/date-picker-range.d.ts +15 -0
  198. package/dist/components/base/date-pickers/date-picker-single.d.ts +15 -0
  199. package/dist/components/base/date-pickers/date-picker.d.ts +3 -0
  200. package/dist/components/base/date-pickers/date-picker.recipes.d.ts +18 -0
  201. package/dist/components/base/date-pickers/date-pickers.strings.d.ts +14 -0
  202. package/dist/components/base/date-pickers/datepicker.types.d.ts +285 -0
  203. package/dist/components/base/date-pickers/index.d.ts +7 -0
  204. package/dist/components/base/date-pickers/month-year-picker.d.ts +4 -0
  205. package/dist/components/base/date-pickers/time-picker.d.ts +70 -0
  206. package/dist/components/base/display/alert-dialog.d.ts +25 -0
  207. package/dist/components/base/display/boolean-indicator.d.ts +25 -0
  208. package/dist/components/base/display/collapsible.d.ts +21 -0
  209. package/dist/components/base/display/content-block.d.ts +73 -0
  210. package/dist/components/base/display/content-block.strings.d.ts +5 -0
  211. package/dist/components/base/display/date-block.d.ts +70 -0
  212. package/dist/components/base/display/dialog.d.ts +35 -0
  213. package/dist/components/base/display/icon-badge/icon-badge.d.ts +45 -0
  214. package/dist/components/base/display/icon-badge/index.d.ts +1 -0
  215. package/dist/components/base/display/icon-size.d.ts +5 -0
  216. package/dist/components/base/display/index.d.ts +31 -0
  217. package/dist/components/base/display/placeholder-pattern.d.ts +7 -0
  218. package/dist/components/base/display/scroll-area.d.ts +12 -0
  219. package/dist/components/base/display/separator.d.ts +10 -0
  220. package/dist/components/base/display/surface-title.d.ts +10 -0
  221. package/dist/components/base/display/tooltip.d.ts +28 -0
  222. package/dist/components/base/display/visually-hidden.d.ts +14 -0
  223. package/dist/components/base/feedback/alert.d.ts +49 -0
  224. package/dist/components/base/feedback/empty.d.ts +48 -0
  225. package/dist/components/base/feedback/index.d.ts +27 -0
  226. package/dist/components/base/feedback/progress.d.ts +81 -0
  227. package/dist/components/base/feedback/progress.strings.d.ts +5 -0
  228. package/dist/components/base/feedback/state-display.d.ts +39 -0
  229. package/dist/components/base/forms/controlled-form-field.d.ts +32 -0
  230. package/dist/components/base/forms/controlled-form-field.strings.d.ts +7 -0
  231. package/dist/components/base/forms/form-field.d.ts +38 -0
  232. package/dist/components/base/forms/form-sizing.d.ts +86 -0
  233. package/dist/components/base/forms/index.d.ts +4 -0
  234. package/dist/components/base/forms/operation-password-form.d.ts +16 -0
  235. package/dist/components/base/forms/workflow.d.ts +68 -0
  236. package/dist/components/base/forms-numeric/coordinates-input.d.ts +47 -0
  237. package/dist/components/base/forms-numeric/currency-input.d.ts +44 -0
  238. package/dist/components/base/forms-numeric/decimal-input.d.ts +53 -0
  239. package/dist/components/base/forms-numeric/dimensions-input.d.ts +79 -0
  240. package/dist/components/base/forms-numeric/index.d.ts +21 -0
  241. package/dist/components/base/forms-numeric/money-input.d.ts +67 -0
  242. package/dist/components/base/forms-numeric/money-input.strings.d.ts +6 -0
  243. package/dist/components/base/forms-numeric/percentage-input.d.ts +8 -0
  244. package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +12 -0
  245. package/dist/components/base/forms-numeric/weight-input.d.ts +54 -0
  246. package/dist/components/base/inline-edit/index.d.ts +2 -0
  247. package/dist/components/base/inline-edit/inline-edit.d.ts +81 -0
  248. package/dist/components/base/inline-edit/inline-edit.recipes.d.ts +6 -0
  249. package/dist/components/base/item/index.d.ts +2 -0
  250. package/dist/components/base/item/item.d.ts +12 -0
  251. package/dist/components/base/item/item.types.d.ts +100 -0
  252. package/dist/components/base/media-gallery/index.d.ts +2 -0
  253. package/dist/components/base/media-gallery/media-gallery.d.ts +45 -0
  254. package/dist/components/base/navigation/breadcrumbs.d.ts +37 -0
  255. package/dist/components/base/navigation/dropdown-menu.d.ts +45 -0
  256. package/dist/components/base/navigation/index.d.ts +21 -0
  257. package/dist/components/base/navigation/language-switcher.d.ts +12 -0
  258. package/dist/components/base/navigation/navigation-tabs.d.ts +40 -0
  259. package/dist/components/base/navigation/overflow-tab-bar.d.ts +43 -0
  260. package/dist/components/base/navigation/page-header/index.d.ts +1 -0
  261. package/dist/components/base/navigation/page-header/page-header.d.ts +88 -0
  262. package/dist/components/base/navigation/pagination.d.ts +61 -0
  263. package/dist/components/base/navigation/tab-scroll-viewport.d.ts +12 -0
  264. package/dist/components/base/navigation/tabs.d.ts +23 -0
  265. package/dist/components/base/popover/collection-content.d.ts +22 -0
  266. package/dist/components/base/popover/index.d.ts +1 -0
  267. package/dist/components/base/popover/popover.d.ts +54 -0
  268. package/dist/components/base/popover/popover.recipes.d.ts +29 -0
  269. package/dist/components/base/popover-menu/index.d.ts +3 -0
  270. package/dist/components/base/popover-menu/popover-menu.d.ts +82 -0
  271. package/dist/components/base/popover-menu/popover-menu.types.d.ts +30 -0
  272. package/dist/components/base/qr-code/index.d.ts +8 -0
  273. package/dist/components/base/qr-code/qr-code.d.ts +13 -0
  274. package/dist/components/base/repeaters/index.d.ts +21 -0
  275. package/dist/components/base/repeaters/key-value-editor.d.ts +27 -0
  276. package/dist/components/base/repeaters/localized-object-field.d.ts +35 -0
  277. package/dist/components/base/repeaters/localized-string-field.d.ts +25 -0
  278. package/dist/components/base/repeaters/localized-string-repeater.d.ts +44 -0
  279. package/dist/components/base/repeaters/object-repeater.d.ts +66 -0
  280. package/dist/components/base/repeaters/repeater.d.ts +87 -0
  281. package/dist/components/base/repeaters/repeaters.strings.d.ts +16 -0
  282. package/dist/components/base/repeaters/string-repeater.d.ts +65 -0
  283. package/dist/components/base/repeaters/string-repeater.utils.d.ts +2 -0
  284. package/dist/components/base/sheet/index.d.ts +1 -0
  285. package/dist/components/base/sheet/sheet.d.ts +35 -0
  286. package/dist/components/base/sidebar/index.d.ts +6 -0
  287. package/dist/components/base/sidebar/sidebar.d.ts +135 -0
  288. package/dist/components/base/signature-pad/index.d.ts +4 -0
  289. package/dist/components/base/signature-pad/signature-pad.d.ts +4 -0
  290. package/dist/components/base/signature-pad/signature-pad.types.d.ts +66 -0
  291. package/dist/components/base/signature-pad/signature-pad.utils.d.ts +8 -0
  292. package/dist/components/base/skeleton/index.d.ts +14 -0
  293. package/dist/components/base/skeleton/skeleton.d.ts +54 -0
  294. package/dist/components/base/spinner/index.d.ts +1 -0
  295. package/dist/components/base/spinner/spinner.d.ts +32 -0
  296. package/dist/components/base/structure/adaptive-grid.d.ts +3 -0
  297. package/dist/components/base/structure/grid-cell.d.ts +3 -0
  298. package/dist/components/base/structure/grid.d.ts +3 -0
  299. package/dist/components/base/structure/index.d.ts +5 -0
  300. package/dist/components/base/structure/stack.d.ts +3 -0
  301. package/dist/components/base/structure/structure.context.d.ts +6 -0
  302. package/dist/components/base/structure/structure.recipes.d.ts +33 -0
  303. package/dist/components/base/structure/structure.responsive.d.ts +5 -0
  304. package/dist/components/base/structure/structure.types.d.ts +51 -0
  305. package/dist/components/base/table/index.d.ts +18 -0
  306. package/dist/components/base/text-inputs/hooks/index.d.ts +1 -0
  307. package/dist/components/base/text-inputs/hooks/use-form-field-state.d.ts +48 -0
  308. package/dist/components/base/text-inputs/index.d.ts +21 -0
  309. package/dist/components/base/text-inputs/input-group.d.ts +46 -0
  310. package/dist/components/base/text-inputs/input.d.ts +45 -0
  311. package/dist/components/base/text-inputs/password-input.d.ts +28 -0
  312. package/dist/components/base/text-inputs/slug-field.d.ts +21 -0
  313. package/dist/components/base/text-inputs/textarea.d.ts +37 -0
  314. package/dist/components/base/toaster/index.d.ts +1 -0
  315. package/dist/components/base/toaster/toaster.d.ts +6 -0
  316. package/dist/components/base/tree/hierarchy.d.ts +11 -0
  317. package/dist/components/base/tree/index.d.ts +2 -0
  318. package/dist/components/base/tree/tree.d.ts +3 -0
  319. package/dist/components/base/tree/tree.types.d.ts +47 -0
  320. package/dist/components/base/upload/avatar-upload.d.ts +39 -0
  321. package/dist/components/base/upload/dropzone.d.ts +40 -0
  322. package/dist/components/base/upload/file-picker-input.d.ts +15 -0
  323. package/dist/components/base/upload/file-upload.d.ts +9 -0
  324. package/dist/components/base/upload/file-upload.strings.d.ts +18 -0
  325. package/dist/components/base/upload/file-upload.types.d.ts +68 -0
  326. package/dist/components/base/upload/file-upload.validation.d.ts +21 -0
  327. package/dist/components/base/upload/image-upload.d.ts +57 -0
  328. package/dist/components/base/upload/index.d.ts +26 -0
  329. package/dist/components/base/upload/use-file-drop-target.d.ts +22 -0
  330. package/dist/components/base/upload-queue/index.d.ts +3 -0
  331. package/dist/components/base/upload-queue/upload-progress-list.d.ts +55 -0
  332. package/dist/components/base/upload-queue/upload-tray.d.ts +46 -0
  333. package/dist/components/base/value-inputs/color-input.d.ts +26 -0
  334. package/dist/components/base/value-inputs/date-time-input.d.ts +19 -0
  335. package/dist/components/base/value-inputs/index.d.ts +25 -0
  336. package/dist/components/base/value-inputs/phone-input.d.ts +48 -0
  337. package/dist/components/base/value-inputs/slider.d.ts +59 -0
  338. package/dist/components/base/value-inputs/tags-input.d.ts +67 -0
  339. package/dist/components/blocks/admin/action-surfaces/index.d.ts +127 -0
  340. package/dist/components/blocks/admin/admin.strings.d.ts +11 -0
  341. package/dist/components/blocks/admin/api-key-list/api-key-list.d.ts +2 -0
  342. package/dist/components/blocks/admin/api-key-list/api-key-list.strings.d.ts +16 -0
  343. package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +58 -0
  344. package/dist/components/blocks/admin/api-key-list/index.d.ts +3 -0
  345. package/dist/components/blocks/admin/index.d.ts +4 -0
  346. package/dist/components/blocks/admin/role-permission/index.d.ts +2 -0
  347. package/dist/components/blocks/admin/role-permission/role-permission.d.ts +5 -0
  348. package/dist/components/blocks/admin/role-permission/types.d.ts +26 -0
  349. package/dist/components/blocks/ai/ai-agent/ai-agent.d.ts +5 -0
  350. package/dist/components/blocks/ai/ai-agent/index.d.ts +2 -0
  351. package/dist/components/blocks/ai/ai-agent/types.d.ts +30 -0
  352. package/dist/components/blocks/ai/ai-artifact/ai-artifact.d.ts +5 -0
  353. package/dist/components/blocks/ai/ai-artifact/index.d.ts +2 -0
  354. package/dist/components/blocks/ai/ai-artifact/types.d.ts +50 -0
  355. package/dist/components/blocks/ai/ai-attachment/ai-attachment.d.ts +5 -0
  356. package/dist/components/blocks/ai/ai-attachment/index.d.ts +2 -0
  357. package/dist/components/blocks/ai/ai-attachment/types.d.ts +35 -0
  358. package/dist/components/blocks/ai/ai-chain-of-thought/ai-chain-of-thought.d.ts +5 -0
  359. package/dist/components/blocks/ai/ai-chain-of-thought/index.d.ts +2 -0
  360. package/dist/components/blocks/ai/ai-chain-of-thought/types.d.ts +36 -0
  361. package/dist/components/blocks/ai/ai-citation/ai-citation.d.ts +5 -0
  362. package/dist/components/blocks/ai/ai-citation/index.d.ts +2 -0
  363. package/dist/components/blocks/ai/ai-citation/types.d.ts +38 -0
  364. package/dist/components/blocks/ai/ai-classification/ai-classification.d.ts +2 -0
  365. package/dist/components/blocks/ai/ai-classification/index.d.ts +2 -0
  366. package/dist/components/blocks/ai/ai-classification/types.d.ts +27 -0
  367. package/dist/components/blocks/ai/ai-code-block/ai-code-block.d.ts +6 -0
  368. package/dist/components/blocks/ai/ai-code-block/index.d.ts +2 -0
  369. package/dist/components/blocks/ai/ai-code-block/types.d.ts +38 -0
  370. package/dist/components/blocks/ai/ai-confidence/ai-confidence.d.ts +5 -0
  371. package/dist/components/blocks/ai/ai-confidence/index.d.ts +2 -0
  372. package/dist/components/blocks/ai/ai-confidence/types.d.ts +25 -0
  373. package/dist/components/blocks/ai/ai-confirmation/ai-confirmation.d.ts +5 -0
  374. package/dist/components/blocks/ai/ai-confirmation/index.d.ts +2 -0
  375. package/dist/components/blocks/ai/ai-confirmation/types.d.ts +40 -0
  376. package/dist/components/blocks/ai/ai-feedback/ai-feedback.d.ts +5 -0
  377. package/dist/components/blocks/ai/ai-feedback/index.d.ts +2 -0
  378. package/dist/components/blocks/ai/ai-feedback/types.d.ts +24 -0
  379. package/dist/components/blocks/ai/ai-file-tree/ai-file-tree.d.ts +5 -0
  380. package/dist/components/blocks/ai/ai-file-tree/index.d.ts +2 -0
  381. package/dist/components/blocks/ai/ai-file-tree/types.d.ts +59 -0
  382. package/dist/components/blocks/ai/ai-inline-citation/ai-inline-citation.d.ts +5 -0
  383. package/dist/components/blocks/ai/ai-inline-citation/index.d.ts +2 -0
  384. package/dist/components/blocks/ai/ai-inline-citation/types.d.ts +22 -0
  385. package/dist/components/blocks/ai/ai-message-bubble/ai-message-bubble.d.ts +6 -0
  386. package/dist/components/blocks/ai/ai-message-bubble/index.d.ts +2 -0
  387. package/dist/components/blocks/ai/ai-message-bubble/types.d.ts +35 -0
  388. package/dist/components/blocks/ai/ai-package-info/ai-package-info.d.ts +5 -0
  389. package/dist/components/blocks/ai/ai-package-info/index.d.ts +2 -0
  390. package/dist/components/blocks/ai/ai-package-info/types.d.ts +39 -0
  391. package/dist/components/blocks/ai/ai-prompt-suggestions/ai-prompt-suggestions.d.ts +5 -0
  392. package/dist/components/blocks/ai/ai-prompt-suggestions/index.d.ts +2 -0
  393. package/dist/components/blocks/ai/ai-prompt-suggestions/types.d.ts +26 -0
  394. package/dist/components/blocks/ai/ai-reasoning/ai-reasoning.d.ts +5 -0
  395. package/dist/components/blocks/ai/ai-reasoning/index.d.ts +2 -0
  396. package/dist/components/blocks/ai/ai-reasoning/types.d.ts +32 -0
  397. package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +5 -0
  398. package/dist/components/blocks/ai/ai-shimmer/index.d.ts +2 -0
  399. package/dist/components/blocks/ai/ai-shimmer/types.d.ts +11 -0
  400. package/dist/components/blocks/ai/ai-sources/ai-sources.d.ts +5 -0
  401. package/dist/components/blocks/ai/ai-sources/index.d.ts +2 -0
  402. package/dist/components/blocks/ai/ai-sources/types.d.ts +44 -0
  403. package/dist/components/blocks/ai/ai-summary/ai-summary.d.ts +2 -0
  404. package/dist/components/blocks/ai/ai-summary/index.d.ts +2 -0
  405. package/dist/components/blocks/ai/ai-summary/types.d.ts +32 -0
  406. package/dist/components/blocks/ai/ai-task/ai-task.d.ts +5 -0
  407. package/dist/components/blocks/ai/ai-task/index.d.ts +2 -0
  408. package/dist/components/blocks/ai/ai-task/types.d.ts +38 -0
  409. package/dist/components/blocks/ai/ai-token-usage/ai-token-usage.d.ts +5 -0
  410. package/dist/components/blocks/ai/ai-token-usage/index.d.ts +2 -0
  411. package/dist/components/blocks/ai/ai-token-usage/types.d.ts +22 -0
  412. package/dist/components/blocks/ai/ai-tool-call/ai-tool-call.d.ts +5 -0
  413. package/dist/components/blocks/ai/ai-tool-call/index.d.ts +2 -0
  414. package/dist/components/blocks/ai/ai-tool-call/types.d.ts +38 -0
  415. package/dist/components/blocks/ai/ai.strings.d.ts +36 -0
  416. package/dist/components/blocks/ai/index.d.ts +24 -0
  417. package/dist/components/blocks/ai/use-copy-feedback.d.ts +6 -0
  418. package/dist/components/blocks/analytics/activity-heatmap/activity-heatmap.d.ts +5 -0
  419. package/dist/components/blocks/analytics/activity-heatmap/index.d.ts +2 -0
  420. package/dist/components/blocks/analytics/activity-heatmap/types.d.ts +20 -0
  421. package/dist/components/blocks/analytics/analytics.strings.d.ts +35 -0
  422. package/dist/components/blocks/analytics/atoms/metric-skeleton.d.ts +13 -0
  423. package/dist/components/blocks/analytics/atoms/metric-sparkline.d.ts +15 -0
  424. package/dist/components/blocks/analytics/atoms/metric-trend-chip.d.ts +15 -0
  425. package/dist/components/blocks/analytics/chart-card/chart-card.d.ts +42 -0
  426. package/dist/components/blocks/analytics/chart-card/index.d.ts +1 -0
  427. package/dist/components/blocks/analytics/format-metric-value.d.ts +8 -0
  428. package/dist/components/blocks/analytics/index.d.ts +35 -0
  429. package/dist/components/blocks/analytics/metric/index.d.ts +1 -0
  430. package/dist/components/blocks/analytics/metric/metric.d.ts +28 -0
  431. package/dist/components/blocks/analytics/metric-bar/index.d.ts +1 -0
  432. package/dist/components/blocks/analytics/metric-bar/metric-bar.d.ts +22 -0
  433. package/dist/components/blocks/analytics/metric-comparison/index.d.ts +1 -0
  434. package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +26 -0
  435. package/dist/components/blocks/analytics/metric-gradient/index.d.ts +1 -0
  436. package/dist/components/blocks/analytics/metric-gradient/metric-gradient.d.ts +19 -0
  437. package/dist/components/blocks/analytics/metric-grid/index.d.ts +1 -0
  438. package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +33 -0
  439. package/dist/components/blocks/analytics/metric-micro-grid/index.d.ts +1 -0
  440. package/dist/components/blocks/analytics/metric-micro-grid/metric-micro-grid.d.ts +23 -0
  441. package/dist/components/blocks/analytics/time-ruler/index.d.ts +2 -0
  442. package/dist/components/blocks/analytics/time-ruler/time-ruler.d.ts +5 -0
  443. package/dist/components/blocks/analytics/time-ruler/types.d.ts +32 -0
  444. package/dist/components/blocks/analytics/types.d.ts +83 -0
  445. package/dist/components/blocks/analytics/usage-card/index.d.ts +3 -0
  446. package/dist/components/blocks/analytics/usage-card/types.d.ts +52 -0
  447. package/dist/components/blocks/analytics/usage-card/usage-card.d.ts +6 -0
  448. package/dist/components/blocks/analytics/usage-card/usage-card.data.d.ts +19 -0
  449. package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +22 -0
  450. package/dist/components/blocks/collaboration/index.d.ts +1 -0
  451. package/dist/components/blocks/collaboration/message/index.d.ts +2 -0
  452. package/dist/components/blocks/collaboration/message/message.d.ts +8 -0
  453. package/dist/components/blocks/collaboration/message/message.types.d.ts +30 -0
  454. package/dist/components/blocks/commerce/address-card/address-card.d.ts +5 -0
  455. package/dist/components/blocks/commerce/address-card/index.d.ts +2 -0
  456. package/dist/components/blocks/commerce/address-card/types.d.ts +43 -0
  457. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +12 -0
  458. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +36 -0
  459. package/dist/components/blocks/commerce/booking-calendar-event-card/index.d.ts +2 -0
  460. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +5 -0
  461. package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -0
  462. package/dist/components/blocks/commerce/cart-summary/types.d.ts +53 -0
  463. package/dist/components/blocks/commerce/coupon-input/coupon-input.d.ts +5 -0
  464. package/dist/components/blocks/commerce/coupon-input/index.d.ts +2 -0
  465. package/dist/components/blocks/commerce/coupon-input/types.d.ts +35 -0
  466. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +5 -0
  467. package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -0
  468. package/dist/components/blocks/commerce/discount-stack/types.d.ts +27 -0
  469. package/dist/components/blocks/commerce/format-signed-amount.d.ts +22 -0
  470. package/dist/components/blocks/commerce/giftcard-card/giftcard-card.d.ts +62 -0
  471. package/dist/components/blocks/commerce/giftcard-card/index.d.ts +2 -0
  472. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-compact.d.ts +10 -0
  473. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-copy-button.d.ts +9 -0
  474. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-dark.d.ts +7 -0
  475. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-full.d.ts +11 -0
  476. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-illustrated.d.ts +10 -0
  477. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-minimal.d.ts +10 -0
  478. package/dist/components/blocks/commerce/giftcard-card/types.d.ts +83 -0
  479. package/dist/components/blocks/commerce/index.d.ts +34 -0
  480. package/dist/components/blocks/commerce/inventory-level/index.d.ts +3 -0
  481. package/dist/components/blocks/commerce/inventory-level/inventory-level.d.ts +5 -0
  482. package/dist/components/blocks/commerce/inventory-level/inventory-level.strings.d.ts +10 -0
  483. package/dist/components/blocks/commerce/inventory-level/types.d.ts +20 -0
  484. package/dist/components/blocks/commerce/inventory-section/index.d.ts +2 -0
  485. package/dist/components/blocks/commerce/inventory-section/inventory-section.d.ts +5 -0
  486. package/dist/components/blocks/commerce/inventory-section/types.d.ts +105 -0
  487. package/dist/components/blocks/commerce/invoice-header/index.d.ts +2 -0
  488. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +5 -0
  489. package/dist/components/blocks/commerce/invoice-header/types.d.ts +51 -0
  490. package/dist/components/blocks/commerce/invoice-line-items/index.d.ts +2 -0
  491. package/dist/components/blocks/commerce/invoice-line-items/invoice-line-items.d.ts +5 -0
  492. package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +64 -0
  493. package/dist/components/blocks/commerce/invoice-mini/index.d.ts +2 -0
  494. package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +5 -0
  495. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +28 -0
  496. package/dist/components/blocks/commerce/loyalty-points/index.d.ts +2 -0
  497. package/dist/components/blocks/commerce/loyalty-points/loyalty-points.d.ts +5 -0
  498. package/dist/components/blocks/commerce/loyalty-points/types.d.ts +32 -0
  499. package/dist/components/blocks/commerce/order-status/index.d.ts +2 -0
  500. package/dist/components/blocks/commerce/order-status/order-status.d.ts +5 -0
  501. package/dist/components/blocks/commerce/order-status/types.d.ts +35 -0
  502. package/dist/components/blocks/commerce/order-timeline/index.d.ts +2 -0
  503. package/dist/components/blocks/commerce/order-timeline/order-timeline.d.ts +5 -0
  504. package/dist/components/blocks/commerce/order-timeline/types.d.ts +22 -0
  505. package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -0
  506. package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +5 -0
  507. package/dist/components/blocks/commerce/payment-method/types.d.ts +33 -0
  508. package/dist/components/blocks/commerce/payment-timeline/index.d.ts +2 -0
  509. package/dist/components/blocks/commerce/payment-timeline/payment-timeline.d.ts +5 -0
  510. package/dist/components/blocks/commerce/payment-timeline/types.d.ts +15 -0
  511. package/dist/components/blocks/commerce/receipt/index.d.ts +3 -0
  512. package/dist/components/blocks/commerce/receipt/receipt-items.d.ts +2 -0
  513. package/dist/components/blocks/commerce/receipt/receipt.d.ts +3 -0
  514. package/dist/components/blocks/commerce/receipt/types.d.ts +42 -0
  515. package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -0
  516. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +5 -0
  517. package/dist/components/blocks/commerce/refund-status/types.d.ts +37 -0
  518. package/dist/components/blocks/commerce/seo-listing/index.d.ts +3 -0
  519. package/dist/components/blocks/commerce/seo-listing/seo-listing-card.d.ts +5 -0
  520. package/dist/components/blocks/commerce/seo-listing/seo-listing-score.d.ts +5 -0
  521. package/dist/components/blocks/commerce/seo-listing/types.d.ts +92 -0
  522. package/dist/components/blocks/commerce/shipment-tracking/index.d.ts +2 -0
  523. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +5 -0
  524. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +44 -0
  525. package/dist/components/blocks/commerce/subscription-summary/index.d.ts +2 -0
  526. package/dist/components/blocks/commerce/subscription-summary/subscription-summary.d.ts +5 -0
  527. package/dist/components/blocks/commerce/subscription-summary/types.d.ts +39 -0
  528. package/dist/components/blocks/commerce/tax-breakdown/index.d.ts +2 -0
  529. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +5 -0
  530. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +34 -0
  531. package/dist/components/blocks/commerce/upcoming-booking/index.d.ts +2 -0
  532. package/dist/components/blocks/commerce/upcoming-booking/types.d.ts +29 -0
  533. package/dist/components/blocks/commerce/upcoming-booking/upcoming-booking.d.ts +5 -0
  534. package/dist/components/blocks/commerce/vendor-profile/index.d.ts +3 -0
  535. package/dist/components/blocks/commerce/vendor-profile/types.d.ts +86 -0
  536. package/dist/components/blocks/commerce/vendor-profile/vendor-profile.d.ts +2 -0
  537. package/dist/components/blocks/commerce/voucher-entry/index.d.ts +2 -0
  538. package/dist/components/blocks/commerce/voucher-entry/types.d.ts +33 -0
  539. package/dist/components/blocks/commerce/voucher-entry/voucher-entry.d.ts +5 -0
  540. package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +6 -0
  541. package/dist/components/blocks/data-display/dense-info-card/helpers.d.ts +19 -0
  542. package/dist/components/blocks/data-display/dense-info-card/index.d.ts +7 -0
  543. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-classification.d.ts +5 -0
  544. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-dashboard.d.ts +5 -0
  545. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-financial.d.ts +5 -0
  546. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-project.d.ts +5 -0
  547. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-score.d.ts +5 -0
  548. package/dist/components/blocks/data-display/dense-info-card/types.d.ts +183 -0
  549. package/dist/components/blocks/data-display/empty-state/empty-state.d.ts +2 -0
  550. package/dist/components/blocks/data-display/empty-state/empty-state.strings.d.ts +19 -0
  551. package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +86 -0
  552. package/dist/components/blocks/data-display/empty-state/index.d.ts +5 -0
  553. package/dist/components/blocks/data-display/empty-state/partials/illustrations/document-stack.d.ts +9 -0
  554. package/dist/components/blocks/data-display/empty-state/partials/illustrations/inbox-clean.d.ts +9 -0
  555. package/dist/components/blocks/data-display/empty-state/partials/illustrations/index.d.ts +25 -0
  556. package/dist/components/blocks/data-display/empty-state/partials/illustrations/search-glass.d.ts +9 -0
  557. package/dist/components/blocks/data-display/empty-state/partials/illustrations/stacked-cards.d.ts +11 -0
  558. package/dist/components/blocks/data-display/empty-state/partials/illustrations/types.d.ts +4 -0
  559. package/dist/components/blocks/data-display/empty-state/partials/illustrations/users-circle.d.ts +9 -0
  560. package/dist/components/blocks/data-display/index.d.ts +6 -0
  561. package/dist/components/blocks/data-display/inline-stat/index.d.ts +1 -0
  562. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +35 -0
  563. package/dist/components/blocks/data-display/metadata/index.d.ts +4 -0
  564. package/dist/components/blocks/data-display/metadata/metadata-list.d.ts +78 -0
  565. package/dist/components/blocks/data-display/metadata/metadata-list.strings.d.ts +18 -0
  566. package/dist/components/blocks/data-display/metadata/metadata-value.d.ts +142 -0
  567. package/dist/components/blocks/data-display/relationship-card-frame.d.ts +40 -0
  568. package/dist/components/blocks/onboarding/checklist/checklist.d.ts +2 -0
  569. package/dist/components/blocks/onboarding/checklist/checklist.strings.d.ts +15 -0
  570. package/dist/components/blocks/onboarding/checklist/checklist.types.d.ts +64 -0
  571. package/dist/components/blocks/onboarding/checklist/index.d.ts +4 -0
  572. package/dist/components/blocks/onboarding/checklist/partials/step-status-indicator.d.ts +12 -0
  573. package/dist/components/blocks/onboarding/index.d.ts +7 -0
  574. package/dist/components/blocks/planning/index.d.ts +3 -0
  575. package/dist/components/blocks/planning/task-card.d.ts +3 -0
  576. package/dist/components/blocks/planning/task-card.strings.d.ts +15 -0
  577. package/dist/components/blocks/planning/task-card.types.d.ts +66 -0
  578. package/dist/components/blocks/timelines/changelog/changelog-timeline.d.ts +5 -0
  579. package/dist/components/blocks/timelines/changelog/index.d.ts +2 -0
  580. package/dist/components/blocks/timelines/changelog/types.d.ts +33 -0
  581. package/dist/components/blocks/timelines/index.d.ts +5 -0
  582. package/dist/components/blocks/timelines/milestones/index.d.ts +2 -0
  583. package/dist/components/blocks/timelines/milestones/milestones-timeline.d.ts +5 -0
  584. package/dist/components/blocks/timelines/milestones/types.d.ts +32 -0
  585. package/dist/components/blocks/timelines/shared/index.d.ts +1 -0
  586. package/dist/components/blocks/timelines/shared/timeline.d.ts +40 -0
  587. package/dist/components/blocks/timelines/steps-card/index.d.ts +2 -0
  588. package/dist/components/blocks/timelines/steps-card/steps-card.d.ts +9 -0
  589. package/dist/components/blocks/timelines/steps-card/types.d.ts +38 -0
  590. package/dist/components/features/activities/activities-feed.d.ts +5 -0
  591. package/dist/components/features/activities/activities.config.d.ts +6 -0
  592. package/dist/components/features/activities/activities.strings.d.ts +38 -0
  593. package/dist/components/features/activities/activities.types.d.ts +431 -0
  594. package/dist/components/features/activities/activity-event-adapter.d.ts +38 -0
  595. package/dist/components/features/activities/activity-log.d.ts +6 -0
  596. package/dist/components/features/activities/hooks/index.d.ts +2 -0
  597. package/dist/components/features/activities/hooks/use-activity-feed.d.ts +44 -0
  598. package/dist/components/features/activities/hooks/use-activity-resources.d.ts +22 -0
  599. package/dist/components/features/activities/index.d.ts +8 -0
  600. package/dist/components/features/activities/partials/activity-actions-menu.d.ts +11 -0
  601. package/dist/components/features/activities/partials/activity-changes.d.ts +8 -0
  602. package/dist/components/features/activities/partials/activity-date-label.d.ts +9 -0
  603. package/dist/components/features/activities/partials/activity-empty-state.d.ts +9 -0
  604. package/dist/components/features/activities/partials/activity-headline.d.ts +20 -0
  605. package/dist/components/features/activities/partials/activity-marker.d.ts +25 -0
  606. package/dist/components/features/activities/partials/activity-resource-tag.d.ts +11 -0
  607. package/dist/components/features/activities/partials/activity-row.d.ts +68 -0
  608. package/dist/components/features/activities/partials/index.d.ts +8 -0
  609. package/dist/components/features/activities/partials/tone-tokens.d.ts +25 -0
  610. package/dist/components/features/ai-chat/ai-chat.d.ts +81 -0
  611. package/dist/components/features/ai-chat/ai-chat.strings.d.ts +56 -0
  612. package/dist/components/features/ai-chat/ai-chat.types.d.ts +170 -0
  613. package/dist/components/features/ai-chat/hooks/index.d.ts +1 -0
  614. package/dist/components/features/ai-chat/hooks/use-ai-chat-scroll.d.ts +15 -0
  615. package/dist/components/features/ai-chat/index.d.ts +5 -0
  616. package/dist/components/features/ai-chat/partials/ai-chat-attachments-strip.d.ts +15 -0
  617. package/dist/components/features/ai-chat/partials/ai-chat-conversation.d.ts +28 -0
  618. package/dist/components/features/ai-chat/partials/ai-chat-empty-state.d.ts +22 -0
  619. package/dist/components/features/ai-chat/partials/ai-chat-message.d.ts +21 -0
  620. package/dist/components/features/ai-chat/partials/ai-chat-prompt-input.d.ts +59 -0
  621. package/dist/components/features/ai-chat/partials/ai-chat-queue.d.ts +19 -0
  622. package/dist/components/features/ai-chat/partials/ai-chat-suggestions-row.d.ts +18 -0
  623. package/dist/components/features/ai-chat/partials/index.d.ts +7 -0
  624. package/dist/components/features/async-preview/async-preview.d.ts +84 -0
  625. package/dist/components/features/async-preview/async-preview.strings.d.ts +14 -0
  626. package/dist/components/features/async-preview/async-preview.types.d.ts +133 -0
  627. package/dist/components/features/async-preview/hooks/index.d.ts +1 -0
  628. package/dist/components/features/async-preview/hooks/use-async-preview.d.ts +8 -0
  629. package/dist/components/features/async-preview/index.d.ts +6 -0
  630. package/dist/components/features/async-preview/partials/index.d.ts +1 -0
  631. package/dist/components/features/async-preview/preview-trigger-cell.d.ts +45 -0
  632. package/dist/components/features/combobox/async-resource-combobox.d.ts +94 -0
  633. package/dist/components/features/combobox/combobox.d.ts +20 -0
  634. package/dist/components/features/combobox/combobox.strings.d.ts +14 -0
  635. package/dist/components/features/combobox/components/combobox-dropdown.d.ts +57 -0
  636. package/dist/components/features/combobox/components/error-message.d.ts +15 -0
  637. package/dist/components/features/combobox/components/highlighted-text.d.ts +14 -0
  638. package/dist/components/features/combobox/components/index.d.ts +13 -0
  639. package/dist/components/features/combobox/components/loading-more.d.ts +15 -0
  640. package/dist/components/features/combobox/components/status-content.d.ts +21 -0
  641. package/dist/components/features/combobox/constants.d.ts +19 -0
  642. package/dist/components/features/combobox/hooks/index.d.ts +2 -0
  643. package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +30 -0
  644. package/dist/components/features/combobox/hooks/use-debounced-search.d.ts +10 -0
  645. package/dist/components/features/combobox/hooks/use-grouped-items.d.ts +9 -0
  646. package/dist/components/features/combobox/hooks/use-load-more.d.ts +12 -0
  647. package/dist/components/features/combobox/index.d.ts +13 -0
  648. package/dist/components/features/combobox/types.d.ts +184 -0
  649. package/dist/components/features/comments/comments-provider.d.ts +15 -0
  650. package/dist/components/features/comments/comments.d.ts +2 -0
  651. package/dist/components/features/comments/comments.strings.d.ts +91 -0
  652. package/dist/components/features/comments/comments.types.d.ts +369 -0
  653. package/dist/components/features/comments/hooks/index.d.ts +4 -0
  654. package/dist/components/features/comments/hooks/use-attachment-upload.d.ts +28 -0
  655. package/dist/components/features/comments/hooks/use-comments.d.ts +34 -0
  656. package/dist/components/features/comments/index.d.ts +8 -0
  657. package/dist/components/features/comments/partials/comment-attachment-chip.d.ts +23 -0
  658. package/dist/components/features/comments/partials/comment-composer.d.ts +12 -0
  659. package/dist/components/features/comments/partials/comment-content.d.ts +13 -0
  660. package/dist/components/features/comments/partials/comment-empty.d.ts +12 -0
  661. package/dist/components/features/comments/partials/comment-item.d.ts +3 -0
  662. package/dist/components/features/comments/partials/comment-timeline.d.ts +3 -0
  663. package/dist/components/features/comments/partials/index.d.ts +9 -0
  664. package/dist/components/features/data-view/data-view-filtering.d.ts +3 -0
  665. package/dist/components/features/data-view/data-view.d.ts +7 -0
  666. package/dist/components/features/data-view/data-view.strings.d.ts +9 -0
  667. package/dist/components/features/data-view/data-view.types.d.ts +191 -0
  668. package/dist/components/features/data-view/hooks/index.d.ts +1 -0
  669. package/dist/components/features/data-view/hooks/use-data-view.d.ts +2 -0
  670. package/dist/components/features/data-view/index.d.ts +4 -0
  671. package/dist/components/features/email-composer/document.d.ts +8 -0
  672. package/dist/components/features/email-composer/email-composer.d.ts +2 -0
  673. package/dist/components/features/email-composer/email-html.d.ts +5 -0
  674. package/dist/components/features/email-composer/engine.d.ts +18 -0
  675. package/dist/components/features/email-composer/http.d.ts +6 -0
  676. package/dist/components/features/email-composer/index.d.ts +6 -0
  677. package/dist/components/features/email-composer/partials/body-editor.d.ts +11 -0
  678. package/dist/components/features/email-composer/partials/data-status.d.ts +8 -0
  679. package/dist/components/features/email-composer/partials/html-preview.d.ts +6 -0
  680. package/dist/components/features/email-composer/partials/recipients.d.ts +14 -0
  681. package/dist/components/features/email-composer/partials/variables.d.ts +11 -0
  682. package/dist/components/features/email-composer/strings.d.ts +79 -0
  683. package/dist/components/features/email-composer/types.d.ts +195 -0
  684. package/dist/components/features/email-composer/use-composer.d.ts +119 -0
  685. package/dist/components/features/event-calendar/colors.d.ts +29 -0
  686. package/dist/components/features/event-calendar/event-calendar-day-cell.d.ts +5 -0
  687. package/dist/components/features/event-calendar/event-calendar-event-badge.d.ts +5 -0
  688. package/dist/components/features/event-calendar/event-calendar-event-card.d.ts +16 -0
  689. package/dist/components/features/event-calendar/event-calendar-header.d.ts +8 -0
  690. package/dist/components/features/event-calendar/event-calendar-legend.d.ts +5 -0
  691. package/dist/components/features/event-calendar/event-calendar.d.ts +5 -0
  692. package/dist/components/features/event-calendar/event-calendar.types.d.ts +350 -0
  693. package/dist/components/features/event-calendar/index.d.ts +11 -0
  694. package/dist/components/features/event-calendar/use-event-calendar-data.d.ts +15 -0
  695. package/dist/components/features/event-calendar/use-event-calendar.d.ts +24 -0
  696. package/dist/components/features/filters/facets/async-select-facet.d.ts +28 -0
  697. package/dist/components/features/filters/facets/date-facet.d.ts +18 -0
  698. package/dist/components/features/filters/facets/range-facet.d.ts +30 -0
  699. package/dist/components/features/filters/facets/search-facet.d.ts +27 -0
  700. package/dist/components/features/filters/facets/select-facet.d.ts +19 -0
  701. package/dist/components/features/filters/facets/tags-facet.d.ts +27 -0
  702. package/dist/components/features/filters/filter-context.d.ts +61 -0
  703. package/dist/components/features/filters/filter-layout.d.ts +16 -0
  704. package/dist/components/features/filters/filter-query.d.ts +21 -0
  705. package/dist/components/features/filters/filters.strings.d.ts +103 -0
  706. package/dist/components/features/filters/filters.types.d.ts +222 -0
  707. package/dist/components/features/filters/hooks/index.d.ts +3 -0
  708. package/dist/components/features/filters/hooks/use-async-options.d.ts +16 -0
  709. package/dist/components/features/filters/hooks/use-filter-groups.d.ts +16 -0
  710. package/dist/components/features/filters/index.d.ts +42 -0
  711. package/dist/components/features/filters/operator-options.d.ts +9 -0
  712. package/dist/components/features/filters/partials/active-filter-item.d.ts +37 -0
  713. package/dist/components/features/filters/partials/async-filter-content.d.ts +21 -0
  714. package/dist/components/features/filters/partials/date-filter-content.d.ts +14 -0
  715. package/dist/components/features/filters/partials/filter-error-boundary.d.ts +9 -0
  716. package/dist/components/features/filters/partials/filter-list-content.d.ts +24 -0
  717. package/dist/components/features/filters/partials/filter-list-item.d.ts +19 -0
  718. package/dist/components/features/filters/partials/filter-operator-select.d.ts +22 -0
  719. package/dist/components/features/filters/partials/filter-pill.d.ts +26 -0
  720. package/dist/components/features/filters/partials/filter-popover-content.d.ts +36 -0
  721. package/dist/components/features/filters/partials/filter-tabs.d.ts +14 -0
  722. package/dist/components/features/filters/partials/filter-value-display.d.ts +21 -0
  723. package/dist/components/features/filters/partials/filters-button.d.ts +32 -0
  724. package/dist/components/features/filters/partials/index.d.ts +14 -0
  725. package/dist/components/features/filters/partials/regular-filter-content.d.ts +28 -0
  726. package/dist/components/features/filters/partials/search-filters-list.d.ts +25 -0
  727. package/dist/components/features/filters/partials/tags-filter-content.d.ts +28 -0
  728. package/dist/components/features/filters/utils/filter-utils.d.ts +37 -0
  729. package/dist/components/features/filters/validators.d.ts +63 -0
  730. package/dist/components/features/global-search/global-search-dialog.d.ts +13 -0
  731. package/dist/components/features/global-search/global-search.d.ts +52 -0
  732. package/dist/components/features/global-search/global-search.strings.d.ts +36 -0
  733. package/dist/components/features/global-search/global-search.types.d.ts +105 -0
  734. package/dist/components/features/global-search/hooks/index.d.ts +2 -0
  735. package/dist/components/features/global-search/hooks/use-global-search.d.ts +33 -0
  736. package/dist/components/features/global-search/index.d.ts +9 -0
  737. package/dist/components/features/global-search/partials/global-search-empty-state.d.ts +7 -0
  738. package/dist/components/features/global-search/partials/global-search-footer.d.ts +13 -0
  739. package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +12 -0
  740. package/dist/components/features/global-search/partials/global-search-input.d.ts +17 -0
  741. package/dist/components/features/global-search/partials/global-search-result-row.d.ts +16 -0
  742. package/dist/components/features/global-search/partials/global-search-tabs.d.ts +13 -0
  743. package/dist/components/features/global-search/partials/index.d.ts +12 -0
  744. package/dist/components/features/global-search/partials/tone-palettes.d.ts +8 -0
  745. package/dist/components/features/kanban/hooks/index.d.ts +1 -0
  746. package/dist/components/features/kanban/hooks/use-kanban.d.ts +32 -0
  747. package/dist/components/features/kanban/index.d.ts +5 -0
  748. package/dist/components/features/kanban/kanban-context.d.ts +25 -0
  749. package/dist/components/features/kanban/kanban-keyboard.d.ts +10 -0
  750. package/dist/components/features/kanban/kanban.d.ts +38 -0
  751. package/dist/components/features/kanban/kanban.strings.d.ts +24 -0
  752. package/dist/components/features/kanban/kanban.types.d.ts +168 -0
  753. package/dist/components/features/map/index.d.ts +13 -0
  754. package/dist/components/features/map/map.d.ts +166 -0
  755. package/dist/components/features/map/place-autocomplete.d.ts +97 -0
  756. package/dist/components/features/map/public-leaflet.types.d.ts +71 -0
  757. package/dist/components/features/map/use-map-color-scheme.d.ts +2 -0
  758. package/dist/components/features/media-library/hooks/index.d.ts +1 -0
  759. package/dist/components/features/media-library/hooks/use-media-library.d.ts +5 -0
  760. package/dist/components/features/media-library/index.d.ts +6 -0
  761. package/dist/components/features/media-library/media-library.d.ts +3 -0
  762. package/dist/components/features/media-library/media-library.strings.d.ts +124 -0
  763. package/dist/components/features/media-library/media-library.types.d.ts +568 -0
  764. package/dist/components/features/media-library/media-resource-gallery.d.ts +2 -0
  765. package/dist/components/features/media-library/partials/index.d.ts +1 -0
  766. package/dist/components/features/media-library/partials/media-library-partials.d.ts +10 -0
  767. package/dist/components/features/mentions/hooks/index.d.ts +2 -0
  768. package/dist/components/features/mentions/hooks/use-mentions-search.d.ts +41 -0
  769. package/dist/components/features/mentions/hooks/use-mentions.d.ts +35 -0
  770. package/dist/components/features/mentions/index.d.ts +5 -0
  771. package/dist/components/features/mentions/mentions.strings.d.ts +26 -0
  772. package/dist/components/features/mentions/mentions.types.d.ts +100 -0
  773. package/dist/components/features/mentions/partials/index.d.ts +4 -0
  774. package/dist/components/features/mentions/partials/mention-chip.d.ts +29 -0
  775. package/dist/components/features/mentions/partials/mention-content.d.ts +22 -0
  776. package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +36 -0
  777. package/dist/components/features/mentions/partials/mention-picker.d.ts +31 -0
  778. package/dist/components/features/mentions/utils/build-mention-html.d.ts +24 -0
  779. package/dist/components/features/mentions/utils/index.d.ts +3 -0
  780. package/dist/components/features/mentions/utils/parse-mentions-from-html.d.ts +13 -0
  781. package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +16 -0
  782. package/dist/components/features/overlays/alert-dialog.d.ts +4 -0
  783. package/dist/components/features/overlays/dialog.d.ts +4 -0
  784. package/dist/components/features/overlays/drawer.d.ts +4 -0
  785. package/dist/components/features/overlays/hooks/index.d.ts +2 -0
  786. package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +24 -0
  787. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +36 -0
  788. package/dist/components/features/overlays/index.d.ts +6 -0
  789. package/dist/components/features/overlays/overlays.strings.d.ts +19 -0
  790. package/dist/components/features/overlays/overlays.types.d.ts +169 -0
  791. package/dist/components/features/products/components/index.d.ts +17 -0
  792. package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
  793. package/dist/components/features/products/components/product-details-card.d.ts +5 -0
  794. package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
  795. package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
  796. package/dist/components/features/products/components/product-options-matrix.d.ts +5 -0
  797. package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
  798. package/dist/components/features/products/components/product-overview.d.ts +5 -0
  799. package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
  800. package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
  801. package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
  802. package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
  803. package/dist/components/features/products/components/product-variant-action-menu.d.ts +5 -0
  804. package/dist/components/features/products/components/product-variant-details.d.ts +5 -0
  805. package/dist/components/features/products/components/product-variant-editor.d.ts +5 -0
  806. package/dist/components/features/products/components/product-variants-bulk-table.d.ts +5 -0
  807. package/dist/components/features/products/components/product-variants-manager.d.ts +5 -0
  808. package/dist/components/features/products/components/product-variants-table.d.ts +5 -0
  809. package/dist/components/features/products/index.d.ts +3 -0
  810. package/dist/components/features/products/partials/index.d.ts +7 -0
  811. package/dist/components/features/products/partials/product-actions.d.ts +10 -0
  812. package/dist/components/features/products/partials/product-empty-state.d.ts +10 -0
  813. package/dist/components/features/products/partials/product-metric-tile.d.ts +4 -0
  814. package/dist/components/features/products/partials/product-rows.d.ts +35 -0
  815. package/dist/components/features/products/partials/product-tone.d.ts +8 -0
  816. package/dist/components/features/products/partials/product-values.d.ts +1 -0
  817. package/dist/components/features/products/partials/product-variant-table-parts.d.ts +28 -0
  818. package/dist/components/features/products/products.strings.d.ts +308 -0
  819. package/dist/components/features/products/products.types.d.ts +906 -0
  820. package/dist/components/features/questionnaire/index.d.ts +3 -0
  821. package/dist/components/features/questionnaire/questionnaire-control.d.ts +3 -0
  822. package/dist/components/features/questionnaire/questionnaire.d.ts +2 -0
  823. package/dist/components/features/questionnaire/questionnaire.types.d.ts +98 -0
  824. package/dist/components/features/questionnaire/questionnaire.utils.d.ts +5 -0
  825. package/dist/components/features/resource/index.d.ts +3 -0
  826. package/dist/components/features/resource/resource.d.ts +8 -0
  827. package/dist/components/features/resource/resource.strings.d.ts +12 -0
  828. package/dist/components/features/resource/resource.types.d.ts +161 -0
  829. package/dist/components/features/resource-assignment/hooks/index.d.ts +2 -0
  830. package/dist/components/features/resource-assignment/hooks/use-shared-resource-card.d.ts +32 -0
  831. package/dist/components/features/resource-assignment/index.d.ts +6 -0
  832. package/dist/components/features/resource-assignment/partials/default-shared-resource-partials.d.ts +31 -0
  833. package/dist/components/features/resource-assignment/partials/index.d.ts +1 -0
  834. package/dist/components/features/resource-assignment/resource-assignment.d.ts +12 -0
  835. package/dist/components/features/resource-assignment/resource-assignment.strings.d.ts +17 -0
  836. package/dist/components/features/resource-assignment/resource-assignment.types.d.ts +193 -0
  837. package/dist/components/features/rich-text-editor/form-rich-text-editor.d.ts +6 -0
  838. package/dist/components/features/rich-text-editor/index.d.ts +5 -0
  839. package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +28 -0
  840. package/dist/components/features/rich-text-editor/partials/counts-footer.d.ts +32 -0
  841. package/dist/components/features/rich-text-editor/partials/html-helpers.d.ts +7 -0
  842. package/dist/components/features/rich-text-editor/partials/index.d.ts +7 -0
  843. package/dist/components/features/rich-text-editor/partials/rich-text-editor-fallback.d.ts +8 -0
  844. package/dist/components/features/rich-text-editor/partials/rich-text-editor-tiptap.d.ts +3 -0
  845. package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +33 -0
  846. package/dist/components/features/rich-text-editor/rich-text-editor.d.ts +3 -0
  847. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +6 -0
  848. package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +32 -0
  849. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +111 -0
  850. package/dist/components/features/schema-form/hooks/index.d.ts +1 -0
  851. package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +23 -0
  852. package/dist/components/features/schema-form/index.d.ts +5 -0
  853. package/dist/components/features/schema-form/partials/index.d.ts +3 -0
  854. package/dist/components/features/schema-form/partials/schema-form-actions.d.ts +23 -0
  855. package/dist/components/features/schema-form/partials/schema-form-empty.d.ts +12 -0
  856. package/dist/components/features/schema-form/partials/schema-form-field.d.ts +12 -0
  857. package/dist/components/features/schema-form/schema-form.d.ts +5 -0
  858. package/dist/components/features/schema-form/schema-form.strings.d.ts +11 -0
  859. package/dist/components/features/schema-form/schema-form.types.d.ts +271 -0
  860. package/dist/components/features/schema-form/schema-form.utils.d.ts +18 -0
  861. package/dist/components/features/suggestions/hooks/index.d.ts +1 -0
  862. package/dist/components/features/suggestions/hooks/use-suggestions.d.ts +9 -0
  863. package/dist/components/features/suggestions/index.d.ts +4 -0
  864. package/dist/components/features/suggestions/suggestions.d.ts +5 -0
  865. package/dist/components/features/suggestions/suggestions.strings.d.ts +16 -0
  866. package/dist/components/features/suggestions/suggestions.types.d.ts +79 -0
  867. package/dist/components/features/sync/index.d.ts +3 -0
  868. package/dist/components/features/sync/sync-range-dialog-form.d.ts +5 -0
  869. package/dist/components/features/sync/sync.strings.d.ts +18 -0
  870. package/dist/components/features/sync/sync.types.d.ts +44 -0
  871. package/dist/components/features/table/column-visibility-toggle.d.ts +5 -0
  872. package/dist/components/features/table/data-table.d.ts +6 -0
  873. package/dist/components/features/table/filter-bar.d.ts +5 -0
  874. package/dist/components/features/table/hooks.d.ts +47 -0
  875. package/dist/components/features/table/index.d.ts +16 -0
  876. package/dist/components/features/table/pagination.d.ts +5 -0
  877. package/dist/components/features/table/partials/cell-renderers.d.ts +141 -0
  878. package/dist/components/features/table/partials/cell-value.d.ts +121 -0
  879. package/dist/components/features/table/partials/fullscreen-toggle.d.ts +16 -0
  880. package/dist/components/features/table/partials/resource-cell.d.ts +63 -0
  881. package/dist/components/features/table/partials/table-link.d.ts +3 -0
  882. package/dist/components/features/table/table-actions.d.ts +5 -0
  883. package/dist/components/features/table/table-body.d.ts +5 -0
  884. package/dist/components/features/table/table-header.d.ts +6 -0
  885. package/dist/components/features/table/table-helpers.d.ts +39 -0
  886. package/dist/components/features/table/table-toolbar.d.ts +5 -0
  887. package/dist/components/features/table/table.strings.d.ts +3 -0
  888. package/dist/components/features/table/table.types.d.ts +489 -0
  889. package/dist/components/features/theme-tweaker/admin-ui-theme-provider.d.ts +6 -0
  890. package/dist/components/features/theme-tweaker/index.d.ts +10 -0
  891. package/dist/components/features/theme-tweaker/theme-provider-settings.d.ts +49 -0
  892. package/dist/components/features/theme-tweaker/theme-scope.d.ts +7 -0
  893. package/dist/components/features/theme-tweaker/theme-tweaker.d.ts +2 -0
  894. package/dist/components/features/theme-tweaker/theme-tweaker.fields.d.ts +7 -0
  895. package/dist/components/features/theme-tweaker/theme-tweaker.recipes.d.ts +25 -0
  896. package/dist/components/features/theme-tweaker/theme-tweaker.strings.d.ts +75 -0
  897. package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +161 -0
  898. package/dist/components/features/theme-tweaker/theme-tweaker.utils.d.ts +23 -0
  899. package/dist/components/features/theme-tweaker/use-applied-theme.d.ts +11 -0
  900. package/dist/components/layout/app-shell/app-layout.d.ts +12 -0
  901. package/dist/components/layout/app-shell/app-shell.types.d.ts +151 -0
  902. package/dist/components/layout/app-shell/index.d.ts +6 -0
  903. package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +2 -0
  904. package/dist/components/layout/app-shell/stacked-layout.d.ts +2 -0
  905. package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +2 -0
  906. package/dist/components/layout/auth/auth-card.d.ts +2 -0
  907. package/dist/components/layout/auth/auth-footer-links.d.ts +2 -0
  908. package/dist/components/layout/auth/auth-form.d.ts +11 -0
  909. package/dist/components/layout/auth/auth-hooks.d.ts +4 -0
  910. package/dist/components/layout/auth/auth-method-switch.d.ts +4 -0
  911. package/dist/components/layout/auth/auth-shell.d.ts +2 -0
  912. package/dist/components/layout/auth/auth-social-providers.d.ts +3 -0
  913. package/dist/components/layout/auth/auth-split-panel.d.ts +2 -0
  914. package/dist/components/layout/auth/auth.strings.d.ts +21 -0
  915. package/dist/components/layout/auth/auth.types.d.ts +282 -0
  916. package/dist/components/layout/auth/index.d.ts +10 -0
  917. package/dist/components/layout/containers/container.recipes.d.ts +5 -0
  918. package/dist/components/layout/containers/containers.types.d.ts +17 -0
  919. package/dist/components/layout/containers/content-container.d.ts +3 -0
  920. package/dist/components/layout/containers/index.d.ts +5 -0
  921. package/dist/components/layout/containers/page-viewport.d.ts +3 -0
  922. package/dist/components/layout/containers/section.d.ts +3 -0
  923. package/dist/components/layout/containers/two-column-layout.d.ts +27 -0
  924. package/dist/components/layout/header/header.d.ts +2 -0
  925. package/dist/components/layout/header/header.types.d.ts +198 -0
  926. package/dist/components/layout/header/index.d.ts +9 -0
  927. package/dist/components/layout/header/partials/header-breadcrumbs.d.ts +4 -0
  928. package/dist/components/layout/header/partials/header-global-search-trigger.d.ts +2 -0
  929. package/dist/components/layout/header/partials/header-notifications.d.ts +2 -0
  930. package/dist/components/layout/header/partials/header-search.d.ts +2 -0
  931. package/dist/components/layout/header/partials/header-tool-button.d.ts +4 -0
  932. package/dist/components/layout/header/partials/header-tool-popover.d.ts +2 -0
  933. package/dist/components/layout/header/partials/header-user-menu.d.ts +2 -0
  934. package/dist/components/layout/hooks/index.d.ts +3 -0
  935. package/dist/components/layout/hooks/use-active-path.d.ts +1 -0
  936. package/dist/components/layout/hooks/use-command-shortcut.d.ts +7 -0
  937. package/dist/components/layout/hooks/use-layout-link.d.ts +2 -0
  938. package/dist/components/layout/index.d.ts +24 -0
  939. package/dist/components/layout/layout.types.d.ts +91 -0
  940. package/dist/components/layout/navigation/breadcrumb-progress/breadcrumb-progress.d.ts +5 -0
  941. package/dist/components/layout/navigation/breadcrumb-progress/index.d.ts +2 -0
  942. package/dist/components/layout/navigation/breadcrumb-progress/types.d.ts +24 -0
  943. package/dist/components/layout/navigation/category-nav/category-nav.d.ts +5 -0
  944. package/dist/components/layout/navigation/category-nav/index.d.ts +2 -0
  945. package/dist/components/layout/navigation/category-nav/types.d.ts +22 -0
  946. package/dist/components/layout/navigation/index.d.ts +17 -0
  947. package/dist/components/layout/navigation/section-nav/index.d.ts +1 -0
  948. package/dist/components/layout/navigation/section-nav/section-nav.d.ts +29 -0
  949. package/dist/components/layout/navigation/side-nav.d.ts +58 -0
  950. package/dist/components/layout/page/index.d.ts +4 -0
  951. package/dist/components/layout/page/page.d.ts +3 -0
  952. package/dist/components/layout/page/page.types.d.ts +138 -0
  953. package/dist/components/layout/page/partials/page-actions.d.ts +2 -0
  954. package/dist/components/layout/page/partials/page-header.d.ts +2 -0
  955. package/dist/components/layout/settings/index.d.ts +1 -0
  956. package/dist/components/layout/settings/settings.d.ts +65 -0
  957. package/dist/components/layout/sidebar/app-sidebar.d.ts +7 -0
  958. package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +4 -0
  959. package/dist/components/layout/sidebar/components/sidebar-logo.d.ts +10 -0
  960. package/dist/components/layout/sidebar/components/sidebar-navigation-footer.d.ts +2 -0
  961. package/dist/components/layout/sidebar/components/sidebar-navigation-user.d.ts +23 -0
  962. package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +4 -0
  963. package/dist/components/layout/sidebar/components/sidebar-workspace-dropdown.d.ts +2 -0
  964. package/dist/components/layout/sidebar/index.d.ts +11 -0
  965. package/dist/components/layout/sidebar/sidebar.context.d.ts +17 -0
  966. package/dist/components/layout/sidebar/sidebar.d.ts +9 -0
  967. package/dist/components/layout/sidebar/sidebar.types.d.ts +218 -0
  968. package/dist/components/layout/sidebar/sidebar.utils.d.ts +29 -0
  969. package/dist/components/layout/workspace/index.d.ts +3 -0
  970. package/dist/components/layout/workspace/workspace.d.ts +6 -0
  971. package/dist/components/layout/workspace/workspace.strings.d.ts +18 -0
  972. package/dist/components/layout/workspace/workspace.types.d.ts +141 -0
  973. package/dist/components/primitives/date.d.ts +63 -0
  974. package/dist/components/primitives/dimensions.d.ts +30 -0
  975. package/dist/components/primitives/duration.d.ts +23 -0
  976. package/dist/components/primitives/file-size.d.ts +23 -0
  977. package/dist/components/primitives/index.d.ts +11 -0
  978. package/dist/components/primitives/initials-format.d.ts +21 -0
  979. package/dist/components/primitives/initials.d.ts +16 -0
  980. package/dist/components/primitives/link.d.ts +28 -0
  981. package/dist/components/primitives/money.d.ts +79 -0
  982. package/dist/components/primitives/name.d.ts +16 -0
  983. package/dist/components/primitives/number.d.ts +23 -0
  984. package/dist/components/primitives/value.d.ts +23 -0
  985. package/dist/components/typography/content-typography.d.ts +4 -0
  986. package/dist/components/typography/display-label.d.ts +5 -0
  987. package/dist/components/typography/heading.d.ts +16 -0
  988. package/dist/components/typography/index.d.ts +10 -0
  989. package/dist/components/typography/label.d.ts +8 -0
  990. package/dist/components/typography/rich-text/index.d.ts +2 -0
  991. package/dist/components/typography/rich-text/rich-text.d.ts +6 -0
  992. package/dist/components/typography/text-link.d.ts +7 -0
  993. package/dist/components/typography/text.d.ts +17 -0
  994. package/dist/components/typography/text.styles.d.ts +50 -0
  995. package/dist/components/ui/accordion.d.ts +6 -0
  996. package/dist/components/ui/alert-dialog.d.ts +21 -0
  997. package/dist/components/ui/avatar.d.ts +11 -0
  998. package/dist/components/ui/badge.d.ts +5 -0
  999. package/dist/components/ui/breadcrumb.d.ts +11 -0
  1000. package/dist/components/ui/button-group.d.ts +12 -0
  1001. package/dist/components/ui/button.d.ts +12 -0
  1002. package/dist/components/ui/calendar.d.ts +10 -0
  1003. package/dist/components/ui/card.d.ts +11 -0
  1004. package/dist/components/ui/checkbox.d.ts +6 -0
  1005. package/dist/components/ui/collapsible.d.ts +9 -0
  1006. package/dist/components/ui/combobox.d.ts +40 -0
  1007. package/dist/components/ui/command.d.ts +50 -0
  1008. package/dist/components/ui/dialog.d.ts +26 -0
  1009. package/dist/components/ui/disclosure-panel.d.ts +14 -0
  1010. package/dist/components/ui/empty.d.ts +11 -0
  1011. package/dist/components/ui/input-group.d.ts +18 -0
  1012. package/dist/components/ui/input.d.ts +3 -0
  1013. package/dist/components/ui/item.d.ts +22 -0
  1014. package/dist/components/ui/overlay.recipes.d.ts +2 -0
  1015. package/dist/components/ui/pagination.d.ts +17 -0
  1016. package/dist/components/ui/popover.d.ts +22 -0
  1017. package/dist/components/ui/select.d.ts +18 -0
  1018. package/dist/components/ui/separator.d.ts +3 -0
  1019. package/dist/components/ui/sheet.d.ts +25 -0
  1020. package/dist/components/ui/sidebar.d.ts +64 -0
  1021. package/dist/components/ui/skeleton.d.ts +2 -0
  1022. package/dist/components/ui/slot.d.ts +6 -0
  1023. package/dist/components/ui/sonner.d.ts +3 -0
  1024. package/dist/components/ui/switch.d.ts +5 -0
  1025. package/dist/components/ui/table.d.ts +13 -0
  1026. package/dist/components/ui/tabs.d.ts +10 -0
  1027. package/dist/components/ui/textarea.d.ts +3 -0
  1028. package/dist/components/ui/toggle-group.d.ts +12 -0
  1029. package/dist/components/ui/toggle.d.ts +8 -0
  1030. package/dist/components/ui/tooltip.d.ts +13 -0
  1031. package/dist/containers-6s-ucRQQ.js +125 -0
  1032. package/dist/containers-6s-ucRQQ.js.map +1 -0
  1033. package/dist/content-typography-CnwgMJ37.js +6 -0
  1034. package/dist/content-typography-CnwgMJ37.js.map +1 -0
  1035. package/dist/copyable-B7SBXJMr.js +65 -0
  1036. package/dist/copyable-B7SBXJMr.js.map +1 -0
  1037. package/dist/data-display-cWIRdeaf.js +1129 -0
  1038. package/dist/data-display-cWIRdeaf.js.map +1 -0
  1039. package/dist/date-BFNMnrS5.js +140 -0
  1040. package/dist/date-BFNMnrS5.js.map +1 -0
  1041. package/dist/date-picker-CA6ogMQB.js +1521 -0
  1042. package/dist/date-picker-CA6ogMQB.js.map +1 -0
  1043. package/dist/date-pickers-BPIKLdsD.js +224 -0
  1044. package/dist/date-pickers-BPIKLdsD.js.map +1 -0
  1045. package/dist/disclosure-panel-B0HFNZ9x.js +35 -0
  1046. package/dist/disclosure-panel-B0HFNZ9x.js.map +1 -0
  1047. package/dist/display-CFM5myut.js +343 -0
  1048. package/dist/display-CFM5myut.js.map +1 -0
  1049. package/dist/dropdown-menu-BlnyHr-9.js +186 -0
  1050. package/dist/dropdown-menu-BlnyHr-9.js.map +1 -0
  1051. package/dist/editable-text-recipe-Bkm6wKHp.js +10 -0
  1052. package/dist/editable-text-recipe-Bkm6wKHp.js.map +1 -0
  1053. package/dist/favicon.svg +1 -0
  1054. package/dist/features/activities.js +1360 -0
  1055. package/dist/features/activities.js.map +1 -0
  1056. package/dist/features/ai-chat.js +567 -0
  1057. package/dist/features/ai-chat.js.map +1 -0
  1058. package/dist/features/async-preview.js +478 -0
  1059. package/dist/features/async-preview.js.map +1 -0
  1060. package/dist/features/combobox.js +3 -0
  1061. package/dist/features/comments.js +3 -0
  1062. package/dist/features/data-view.js +519 -0
  1063. package/dist/features/data-view.js.map +1 -0
  1064. package/dist/features/email-composer/engine.js +2 -0
  1065. package/dist/features/email-composer.js +1099 -0
  1066. package/dist/features/email-composer.js.map +1 -0
  1067. package/dist/features/event-calendar.js +711 -0
  1068. package/dist/features/event-calendar.js.map +1 -0
  1069. package/dist/features/filters.js +3 -0
  1070. package/dist/features/global-search.js +593 -0
  1071. package/dist/features/global-search.js.map +1 -0
  1072. package/dist/features/kanban.js +425 -0
  1073. package/dist/features/kanban.js.map +1 -0
  1074. package/dist/features/map/images/layers-2x.png +0 -0
  1075. package/dist/features/map/images/layers.png +0 -0
  1076. package/dist/features/map/images/marker-icon-2x.png +0 -0
  1077. package/dist/features/map/images/marker-icon.png +0 -0
  1078. package/dist/features/map/images/marker-shadow.png +0 -0
  1079. package/dist/features/map/images/spritesheet-2x.png +0 -0
  1080. package/dist/features/map/images/spritesheet.png +0 -0
  1081. package/dist/features/map/images/spritesheet.svg +156 -0
  1082. package/dist/features/map/style.css +809 -0
  1083. package/dist/features/map.js +1052 -0
  1084. package/dist/features/map.js.map +1 -0
  1085. package/dist/features/media-library.js +2007 -0
  1086. package/dist/features/media-library.js.map +1 -0
  1087. package/dist/features/mentions.js +3 -0
  1088. package/dist/features/overlays.js +3 -0
  1089. package/dist/features/products.js +3077 -0
  1090. package/dist/features/products.js.map +1 -0
  1091. package/dist/features/questionnaire.js +366 -0
  1092. package/dist/features/questionnaire.js.map +1 -0
  1093. package/dist/features/resource-assignment.js +317 -0
  1094. package/dist/features/resource-assignment.js.map +1 -0
  1095. package/dist/features/resource.js +254 -0
  1096. package/dist/features/resource.js.map +1 -0
  1097. package/dist/features/rich-text-editor.js +23 -0
  1098. package/dist/features/rich-text-editor.js.map +1 -0
  1099. package/dist/features/schema-form.js +744 -0
  1100. package/dist/features/schema-form.js.map +1 -0
  1101. package/dist/features/suggestions.js +149 -0
  1102. package/dist/features/suggestions.js.map +1 -0
  1103. package/dist/features/sync.js +136 -0
  1104. package/dist/features/sync.js.map +1 -0
  1105. package/dist/features/table.js +3 -0
  1106. package/dist/features/theme-tweaker.js +2083 -0
  1107. package/dist/features/theme-tweaker.js.map +1 -0
  1108. package/dist/feedback-DWUkgEjR.js +233 -0
  1109. package/dist/feedback-DWUkgEjR.js.map +1 -0
  1110. package/dist/field-affordance-recipes-IjzPrCTw.js +17 -0
  1111. package/dist/field-affordance-recipes-IjzPrCTw.js.map +1 -0
  1112. package/dist/field-state-recipes-CBTRt9Bt.js +11 -0
  1113. package/dist/field-state-recipes-CBTRt9Bt.js.map +1 -0
  1114. package/dist/filters-BhsUtsxW.js +2203 -0
  1115. package/dist/filters-BhsUtsxW.js.map +1 -0
  1116. package/dist/form-field-Bn7ZH1rA.js +48 -0
  1117. package/dist/form-field-Bn7ZH1rA.js.map +1 -0
  1118. package/dist/form-sizing-BWs70_a2.js +100 -0
  1119. package/dist/form-sizing-BWs70_a2.js.map +1 -0
  1120. package/dist/format-iamDSqs2.js +110 -0
  1121. package/dist/format-iamDSqs2.js.map +1 -0
  1122. package/dist/forms-B7pzS25o.js +194 -0
  1123. package/dist/forms-B7pzS25o.js.map +1 -0
  1124. package/dist/forms-numeric-BUBxELBv.js +867 -0
  1125. package/dist/forms-numeric-BUBxELBv.js.map +1 -0
  1126. package/dist/header-C59QZyxV.js +452 -0
  1127. package/dist/header-C59QZyxV.js.map +1 -0
  1128. package/dist/hooks/use-debounce.d.ts +1 -0
  1129. package/dist/hooks/use-debounced-callback.d.ts +40 -0
  1130. package/dist/hooks/use-files.d.ts +48 -0
  1131. package/dist/hooks/use-mobile.d.ts +2 -0
  1132. package/dist/hooks/useFormErrors.d.ts +7 -0
  1133. package/dist/hooks-CM1Vp9Pe.js +88 -0
  1134. package/dist/hooks-CM1Vp9Pe.js.map +1 -0
  1135. package/dist/http-CLTVJc5I.js +331 -0
  1136. package/dist/http-CLTVJc5I.js.map +1 -0
  1137. package/dist/icon-badge-Dv0RYQwj.js +53 -0
  1138. package/dist/icon-badge-Dv0RYQwj.js.map +1 -0
  1139. package/dist/icon-size-B6PVwjbC.js +18 -0
  1140. package/dist/icon-size-B6PVwjbC.js.map +1 -0
  1141. package/dist/index.d.ts +14 -0
  1142. package/dist/index.js +7 -0
  1143. package/dist/initials-format-CDoQEOd_.js +35 -0
  1144. package/dist/initials-format-CDoQEOd_.js.map +1 -0
  1145. package/dist/input-WwYQZJzG.js +202 -0
  1146. package/dist/input-WwYQZJzG.js.map +1 -0
  1147. package/dist/input-ci9fIgFH.js +20 -0
  1148. package/dist/input-ci9fIgFH.js.map +1 -0
  1149. package/dist/item-pJ0GsOiJ.js +257 -0
  1150. package/dist/item-pJ0GsOiJ.js.map +1 -0
  1151. package/dist/layout/app-shell.js +3 -0
  1152. package/dist/layout/auth.js +3 -0
  1153. package/dist/layout/containers.js +3 -0
  1154. package/dist/layout/header.js +3 -0
  1155. package/dist/layout/hooks.js +3 -0
  1156. package/dist/layout/navigation.js +3 -0
  1157. package/dist/layout/page.js +3 -0
  1158. package/dist/layout/settings.js +3 -0
  1159. package/dist/layout/sidebar.js +4 -0
  1160. package/dist/layout/workspace.js +3 -0
  1161. package/dist/layout.js +13 -0
  1162. package/dist/layout.types-Cn7aUzJp.js +20 -0
  1163. package/dist/layout.types-Cn7aUzJp.js.map +1 -0
  1164. package/dist/lib/action-presentation.d.ts +15 -0
  1165. package/dist/lib/affordance-geometry.generated.d.ts +27 -0
  1166. package/dist/lib/anchored-positioning.d.ts +5 -0
  1167. package/dist/lib/command-filter.d.ts +1 -0
  1168. package/dist/lib/component-vocabulary.d.ts +12 -0
  1169. package/dist/lib/editable-text-recipe.d.ts +6 -0
  1170. package/dist/lib/email-composer.d.ts +6 -0
  1171. package/dist/lib/field-affordance-recipes.d.ts +20 -0
  1172. package/dist/lib/field-state-recipes.d.ts +10 -0
  1173. package/dist/lib/format.d.ts +53 -0
  1174. package/dist/lib/motion-recipes.d.ts +8 -0
  1175. package/dist/lib/navigation-row-recipes.d.ts +26 -0
  1176. package/dist/lib/overlay-anatomy-recipes.d.ts +8 -0
  1177. package/dist/lib/row-recipes.d.ts +3 -0
  1178. package/dist/lib/sanitize-html.d.ts +8 -0
  1179. package/dist/lib/strings.d.ts +16 -0
  1180. package/dist/lib/strings.js +32 -0
  1181. package/dist/lib/strings.js.map +1 -0
  1182. package/dist/lib/surface-recipes.d.ts +27 -0
  1183. package/dist/lib/theme-scope.d.ts +31 -0
  1184. package/dist/lib/token-merge.generated.d.ts +2 -0
  1185. package/dist/lib/track-recipes.d.ts +4 -0
  1186. package/dist/lib/ui-provider/defaults.d.ts +12 -0
  1187. package/dist/lib/ui-provider/hooks.d.ts +13 -0
  1188. package/dist/lib/ui-provider/index.d.ts +28 -0
  1189. package/dist/lib/ui-provider/provider.d.ts +15 -0
  1190. package/dist/lib/ui-provider/scale.d.ts +5 -0
  1191. package/dist/lib/ui-provider/store.d.ts +11 -0
  1192. package/dist/lib/ui-provider/types.d.ts +157 -0
  1193. package/dist/lib/utils.d.ts +2 -0
  1194. package/dist/lib/utils.js +2 -0
  1195. package/dist/map-demo-tile.svg +1 -0
  1196. package/dist/media-gallery-DhDRgnVZ.js +200 -0
  1197. package/dist/media-gallery-DhDRgnVZ.js.map +1 -0
  1198. package/dist/mentions-B8Ko-fhS.js +563 -0
  1199. package/dist/mentions-B8Ko-fhS.js.map +1 -0
  1200. package/dist/message-COsdEvXT.js +108 -0
  1201. package/dist/message-COsdEvXT.js.map +1 -0
  1202. package/dist/motion-recipes-B6jKXEcN.js +27 -0
  1203. package/dist/motion-recipes-B6jKXEcN.js.map +1 -0
  1204. package/dist/navigation-BUIn2Qxx.js +265 -0
  1205. package/dist/navigation-BUIn2Qxx.js.map +1 -0
  1206. package/dist/navigation-DBEu4POU.js +267 -0
  1207. package/dist/navigation-DBEu4POU.js.map +1 -0
  1208. package/dist/navigation-row-recipes-GVh11KiT.js +29 -0
  1209. package/dist/navigation-row-recipes-GVh11KiT.js.map +1 -0
  1210. package/dist/number-BNT_BIzJ.js +269 -0
  1211. package/dist/number-BNT_BIzJ.js.map +1 -0
  1212. package/dist/overlay.recipes-BxW5FIfK.js +6 -0
  1213. package/dist/overlay.recipes-BxW5FIfK.js.map +1 -0
  1214. package/dist/overlays-B11wZka6.js +982 -0
  1215. package/dist/overlays-B11wZka6.js.map +1 -0
  1216. package/dist/page-BV6ioQg3.js +202 -0
  1217. package/dist/page-BV6ioQg3.js.map +1 -0
  1218. package/dist/page-header-DQRa0jug.js +112 -0
  1219. package/dist/page-header-DQRa0jug.js.map +1 -0
  1220. package/dist/pagination-C29vvt3I.js +149 -0
  1221. package/dist/pagination-C29vvt3I.js.map +1 -0
  1222. package/dist/popover-CoLDEg19.js +194 -0
  1223. package/dist/popover-CoLDEg19.js.map +1 -0
  1224. package/dist/popover-menu-GLIQTJTx.js +99 -0
  1225. package/dist/popover-menu-GLIQTJTx.js.map +1 -0
  1226. package/dist/popover.recipes-zgBhMlUu.js +34 -0
  1227. package/dist/popover.recipes-zgBhMlUu.js.map +1 -0
  1228. package/dist/primitives-DKPOGVpj.js +330 -0
  1229. package/dist/primitives-DKPOGVpj.js.map +1 -0
  1230. package/dist/primitives.js +7 -0
  1231. package/dist/progress-BOe8l_FZ.js +168 -0
  1232. package/dist/progress-BOe8l_FZ.js.map +1 -0
  1233. package/dist/receipt-BM8xsGFy.js +113 -0
  1234. package/dist/receipt-BM8xsGFy.js.map +1 -0
  1235. package/dist/rich-text-B7sBAdDG.js +32 -0
  1236. package/dist/rich-text-B7sBAdDG.js.map +1 -0
  1237. package/dist/rich-text-editor-CoVrTiSv.js +575 -0
  1238. package/dist/rich-text-editor-CoVrTiSv.js.map +1 -0
  1239. package/dist/rich-text-editor.recipes-DxvOE0Lp.js +72 -0
  1240. package/dist/rich-text-editor.recipes-DxvOE0Lp.js.map +1 -0
  1241. package/dist/rich-text-editor.strings-BpnIQgMl.js +25 -0
  1242. package/dist/rich-text-editor.strings-BpnIQgMl.js.map +1 -0
  1243. package/dist/row-recipes-DL8n7t_b.js +10 -0
  1244. package/dist/row-recipes-DL8n7t_b.js.map +1 -0
  1245. package/dist/sanitize-html-BG9FGe-j.js +64 -0
  1246. package/dist/sanitize-html-BG9FGe-j.js.map +1 -0
  1247. package/dist/scroll-area-BheMQ270.js +47 -0
  1248. package/dist/scroll-area-BheMQ270.js.map +1 -0
  1249. package/dist/select-B2mb-qN2.js +108 -0
  1250. package/dist/select-B2mb-qN2.js.map +1 -0
  1251. package/dist/separator-DO0EbCEm.js +17 -0
  1252. package/dist/separator-DO0EbCEm.js.map +1 -0
  1253. package/dist/separator-Gk_WXH-l.js +21 -0
  1254. package/dist/separator-Gk_WXH-l.js.map +1 -0
  1255. package/dist/services/actions/action-adapters.d.ts +77 -0
  1256. package/dist/services/actions/action-overlay-outlet.d.ts +3 -0
  1257. package/dist/services/actions/action-provider.d.ts +7 -0
  1258. package/dist/services/actions/action-scope.d.ts +3 -0
  1259. package/dist/services/actions/action-store.d.ts +55 -0
  1260. package/dist/services/actions/actions.strings.d.ts +2 -0
  1261. package/dist/services/actions/actions.types.d.ts +322 -0
  1262. package/dist/services/actions/hooks.d.ts +8 -0
  1263. package/dist/services/actions/index.d.ts +8 -0
  1264. package/dist/services/actions.js +811 -0
  1265. package/dist/services/actions.js.map +1 -0
  1266. package/dist/settings-BnCyyPOJ.js +160 -0
  1267. package/dist/settings-BnCyyPOJ.js.map +1 -0
  1268. package/dist/sheet-B-q914Ad.js +205 -0
  1269. package/dist/sheet-B-q914Ad.js.map +1 -0
  1270. package/dist/sidebar-C_2p3Tfj.js +501 -0
  1271. package/dist/sidebar-C_2p3Tfj.js.map +1 -0
  1272. package/dist/sidebar-DPR7fmqN.js +598 -0
  1273. package/dist/sidebar-DPR7fmqN.js.map +1 -0
  1274. package/dist/skeleton-CmT1ppqb.js +264 -0
  1275. package/dist/skeleton-CmT1ppqb.js.map +1 -0
  1276. package/dist/slot-CLF9kLrS.js +16 -0
  1277. package/dist/slot-CLF9kLrS.js.map +1 -0
  1278. package/dist/smart-card-CYLn46e6.js +578 -0
  1279. package/dist/smart-card-CYLn46e6.js.map +1 -0
  1280. package/dist/spinner-BY9HbUEh.js +78 -0
  1281. package/dist/spinner-BY9HbUEh.js.map +1 -0
  1282. package/dist/structure-MvKVq-oL.js +95 -0
  1283. package/dist/structure-MvKVq-oL.js.map +1 -0
  1284. package/dist/structure.recipes-Bqhf9oIh.js +548 -0
  1285. package/dist/structure.recipes-Bqhf9oIh.js.map +1 -0
  1286. package/dist/style.css +3 -0
  1287. package/dist/surface-recipes-CQfRr-VL.js +27 -0
  1288. package/dist/surface-recipes-CQfRr-VL.js.map +1 -0
  1289. package/dist/table-BS39xnlq.js +1424 -0
  1290. package/dist/table-BS39xnlq.js.map +1 -0
  1291. package/dist/table-DnlAJ-xR.js +146 -0
  1292. package/dist/table-DnlAJ-xR.js.map +1 -0
  1293. package/dist/tabs-B5cNMWiP.js +187 -0
  1294. package/dist/tabs-B5cNMWiP.js.map +1 -0
  1295. package/dist/text-inputs-Dh9XGyiS.js +331 -0
  1296. package/dist/text-inputs-Dh9XGyiS.js.map +1 -0
  1297. package/dist/text.styles-BwB7vAF2.js +64 -0
  1298. package/dist/text.styles-BwB7vAF2.js.map +1 -0
  1299. package/dist/theme-scope-kStaAer0.js +39 -0
  1300. package/dist/theme-scope-kStaAer0.js.map +1 -0
  1301. package/dist/theme.css +872 -0
  1302. package/dist/timelines-B9ICkQcV.js +446 -0
  1303. package/dist/timelines-B9ICkQcV.js.map +1 -0
  1304. package/dist/track-recipes-LLPNVwFg.js +10 -0
  1305. package/dist/track-recipes-LLPNVwFg.js.map +1 -0
  1306. package/dist/tree-BdWSaoFT.js +185 -0
  1307. package/dist/tree-BdWSaoFT.js.map +1 -0
  1308. package/dist/types/index.d.ts +11 -0
  1309. package/dist/types/locale.types.d.ts +7 -0
  1310. package/dist/types/pagination.types.d.ts +24 -0
  1311. package/dist/typography/rich-text.js +3 -0
  1312. package/dist/typography-Cv8MT-82.js +96 -0
  1313. package/dist/typography-Cv8MT-82.js.map +1 -0
  1314. package/dist/typography.js +3 -0
  1315. package/dist/ui-provider-CftIB6TY.js +128 -0
  1316. package/dist/ui-provider-CftIB6TY.js.map +1 -0
  1317. package/dist/ui-provider.js +4 -0
  1318. package/dist/upload-D8Za5x_c.js +849 -0
  1319. package/dist/upload-D8Za5x_c.js.map +1 -0
  1320. package/dist/upload-queue-hIIYBLS7.js +410 -0
  1321. package/dist/upload-queue-hIIYBLS7.js.map +1 -0
  1322. package/dist/usage-card-DnmnJ58D.js +458 -0
  1323. package/dist/usage-card-DnmnJ58D.js.map +1 -0
  1324. package/dist/use-debounce-DZ_1ZBPa.js +18 -0
  1325. package/dist/use-debounce-DZ_1ZBPa.js.map +1 -0
  1326. package/dist/use-debounced-callback-Cx1h-hdv.js +30 -0
  1327. package/dist/use-debounced-callback-Cx1h-hdv.js.map +1 -0
  1328. package/dist/use-file-drop-target-BX7GnhoQ.js +39 -0
  1329. package/dist/use-file-drop-target-BX7GnhoQ.js.map +1 -0
  1330. package/dist/use-mobile-vaLKwgyf.js +15 -0
  1331. package/dist/use-mobile-vaLKwgyf.js.map +1 -0
  1332. package/dist/utils-C2EKeIw3.js +72 -0
  1333. package/dist/utils-C2EKeIw3.js.map +1 -0
  1334. package/dist/value-inputs-DX2dbxjj.js +824 -0
  1335. package/dist/value-inputs-DX2dbxjj.js.map +1 -0
  1336. package/dist/workspace-C1PZmk8L.js +402 -0
  1337. package/dist/workspace-C1PZmk8L.js.map +1 -0
  1338. package/docs/consumer-skill/SKILL.md +135 -0
  1339. package/docs/consumer-skill/examples/app-layout.tsx +31 -0
  1340. package/docs/consumer-skill/examples/composition.tsx +37 -0
  1341. package/docs/consumer-skill/examples/content-workflow.tsx +13 -0
  1342. package/docs/consumer-skill/examples/destructive-confirm.tsx +42 -0
  1343. package/docs/consumer-skill/examples/detail.tsx +27 -0
  1344. package/docs/consumer-skill/examples/edit.tsx +61 -0
  1345. package/docs/consumer-skill/examples/email-composer.tsx +25 -0
  1346. package/docs/consumer-skill/examples/hierarchy-capture.tsx +25 -0
  1347. package/docs/consumer-skill/examples/index-table.tsx +36 -0
  1348. package/docs/consumer-skill/examples/manifest.json +108 -0
  1349. package/docs/consumer-skill/examples/planning-usage-edit.tsx +29 -0
  1350. package/docs/consumer-skill/examples/receipt.tsx +19 -0
  1351. package/docs/consumer-skill/examples/scoped-directory.tsx +77 -0
  1352. package/docs/consumer-skill/references/composition.md +273 -0
  1353. package/docs/consumer-skill/references/design-contract.md +146 -0
  1354. package/docs/consumer-skill/references/discovery.md +50 -0
  1355. package/docs/consumer-skill/references/installation.md +83 -0
  1356. package/docs/consumer-skill/references/integration.md +69 -0
  1357. package/docs/consumer-skill/references/public-api.json +17750 -0
  1358. package/docs/consumer-skill/references/review.md +74 -0
  1359. package/docs/consumer-skill/references/theming.md +56 -0
  1360. package/docs/consumer-skill/references/tokens.json +422 -0
  1361. package/docs/consumer-skill/references/workflows.md +135 -0
  1362. package/docs/consumer-skill/scripts/check-composition.mjs +31 -0
  1363. package/docs/consumer-skill/scripts/composition-policy.mjs +155 -0
  1364. package/docs/consumer-skill/scripts/discovery.mjs +84 -0
  1365. package/docs/consumer-skill/scripts/find-components.mjs +11 -0
  1366. package/docs/consumer-skill/scripts/surface-policy.mjs +22 -0
  1367. package/package.json +642 -4
@@ -0,0 +1,1132 @@
1
+ "use client";
2
+ import { a as e, o as t } from "./ui-provider-CftIB6TY.js";
3
+ import { interpolateString as n, useStrings as r } from "./lib/strings.js";
4
+ import { t as i } from "./utils-C2EKeIw3.js";
5
+ import { c as a, l as o, n as s, o as c, s as l } from "./buttons-Co6GavvM.js";
6
+ import { a as u, r as d, t as f } from "./typography-Cv8MT-82.js";
7
+ import { t as p } from "./structure-MvKVq-oL.js";
8
+ import { i as m, t as h } from "./overlays-B11wZka6.js";
9
+ import { t as g } from "./sanitize-html-BG9FGe-j.js";
10
+ import { t as _ } from "./content-typography-CnwgMJ37.js";
11
+ import { t as v } from "./rich-text-B7sBAdDG.js";
12
+ import { g as y, i as b } from "./primitives-DKPOGVpj.js";
13
+ import { n as x, t as S } from "./number-BNT_BIzJ.js";
14
+ import { i as C } from "./date-BFNMnrS5.js";
15
+ import { i as w, n as T, s as E } from "./avatar-Bpzty83c.js";
16
+ import { t as D } from "./badge-BZXZT9wd.js";
17
+ import { c as O, o as ee } from "./popover-CoLDEg19.js";
18
+ import { l as k } from "./data-display-cWIRdeaf.js";
19
+ import { t as te } from "./rich-text-editor-CoVrTiSv.js";
20
+ import { l as A, n as ne, o as j, r as re, t as M } from "./mentions-B8Ko-fhS.js";
21
+ import { Fragment as N, createElement as ie, forwardRef as P, memo as F, useCallback as I, useEffect as L, useImperativeHandle as ae, useMemo as R, useRef as z, useState as B } from "react";
22
+ import { Fragment as V, jsx as H, jsxs as U } from "react/jsx-runtime";
23
+ import { AtSign as oe, CornerDownRight as se, File as ce, FileText as le, Image as ue, Loader2 as de, MessageCircle as W, Paperclip as fe, Pencil as G, Pin as K, Send as pe, Smile as me, Trash2 as he, X as q } from "lucide-react";
24
+ //#region src/components/features/comments/comments.strings.ts
25
+ var J = {
26
+ title: "Comments",
27
+ subtitle: "",
28
+ empty: "No comments yet.",
29
+ emptyHint: "Start the conversation — your team will see it instantly.",
30
+ composerPlaceholder: "Write a comment…",
31
+ composerSubmit: "Post comment",
32
+ composerSubmitting: "Posting…",
33
+ composerSave: "Save changes",
34
+ invalidContent: "Comment cannot be empty.",
35
+ composerCancel: "Cancel",
36
+ composerEditingEyebrow: "Editing comment",
37
+ composerReplyingEyebrow: "Replying to {{name}}",
38
+ composerAttachmentLabel: "Attach file",
39
+ composerReferenceLabel: "Mention or link",
40
+ composerReferenceMenuTitle: "Insert reference",
41
+ composerReferenceSearchPlaceholder: "Search…",
42
+ composerReferenceEmpty: "No matches.",
43
+ composerReferenceLoading: "Searching…",
44
+ fallbackAuthor: "Anonymous",
45
+ pinned: "Pinned",
46
+ edited: "edited",
47
+ deleteLabel: "Delete",
48
+ editLabel: "Edit",
49
+ replyLabel: "Reply",
50
+ pinLabel: "Pin",
51
+ unpinLabel: "Unpin",
52
+ moreActionsLabel: "More actions",
53
+ confirmDeleteLabel: "Delete comment",
54
+ confirmDeleteTitle: "Delete this comment?",
55
+ confirmRemoveAttachmentTitle: "Remove this attachment?",
56
+ confirmRemoveAttachmentDescription: "The file is detached from the comment for everyone. This cannot be undone.",
57
+ confirmDeleteDescription: "The comment and its replies are removed for everyone. This cannot be undone.",
58
+ attachmentFallback: "Attachment",
59
+ attachmentRemoveLabel: "Remove attachment",
60
+ attachmentUploadingLabel: "Uploading…",
61
+ attachmentFailedLabel: "Upload failed",
62
+ attachmentTooLargeError: "File is too large.",
63
+ attachmentTooManyError: "Too many attachments.",
64
+ attachmentRetryLabel: "Retry",
65
+ attachmentDownloadLabel: "Download",
66
+ addReactionLabel: "Add reaction",
67
+ reactionLabel: "Reaction {{emoji}}: {{count}}",
68
+ showRepliesLabel: "Show replies",
69
+ hideRepliesLabel: "Hide replies"
70
+ };
71
+ //#endregion
72
+ //#region src/components/features/comments/comments-provider.tsx
73
+ function Y(e) {
74
+ return r(J, e);
75
+ }
76
+ function ge(e) {
77
+ let n = t();
78
+ return R(() => ({
79
+ getMediaUrl: e?.getMediaUrl,
80
+ getMediaName: e?.getMediaName,
81
+ getStatusLabel: e?.getStatusLabel,
82
+ formatRelativeTime: e?.formatRelativeTime ?? n.formatRelativeTime
83
+ }), [e, n.formatRelativeTime]);
84
+ }
85
+ //#endregion
86
+ //#region src/components/features/comments/hooks/use-comments.ts
87
+ function X(e = {}) {
88
+ let { onSubmit: t, onUpdate: n, onDelete: r, onAfterMutate: i, onError: a } = e, [o, s] = B({ kind: "idle" }), [c, l] = B(!1), u = z(!1), [d, f] = B({}), [p, m] = B(0), h = I((e) => {
89
+ u.current = e, l(e);
90
+ }, []), g = I(() => {
91
+ m((e) => e + 1), s({ kind: "idle" }), f({}), h(!1);
92
+ }, [h]), _ = R(() => ({
93
+ setErrors: f,
94
+ reset: g,
95
+ setSubmitting: h
96
+ }), [g, h]), v = I((e) => {
97
+ try {
98
+ a?.(e);
99
+ } catch {}
100
+ }, [a]);
101
+ return {
102
+ composerMode: o,
103
+ isSubmitting: c,
104
+ formErrors: d,
105
+ resetKey: p,
106
+ startReply: I((e) => {
107
+ e.id && (f({}), s({
108
+ kind: "replying",
109
+ commentId: e.id,
110
+ authorName: e.user?.name
111
+ }));
112
+ }, []),
113
+ startEdit: I((e) => {
114
+ e.id && (f({}), s({
115
+ kind: "editing",
116
+ comment: e
117
+ }));
118
+ }, []),
119
+ cancelComposerMode: I(() => {
120
+ g();
121
+ }, [g]),
122
+ submit: I(async (e) => {
123
+ if (o.kind === "editing" && o.comment.id) {
124
+ if (!n || u.current) return;
125
+ let t = {
126
+ ...e,
127
+ editingId: o.comment.id
128
+ };
129
+ h(!0), f({});
130
+ try {
131
+ await n(o.comment.id, t, _), i?.("update", t);
132
+ } catch (e) {
133
+ v(e);
134
+ } finally {
135
+ h(!1);
136
+ }
137
+ return;
138
+ }
139
+ if (!t || u.current) return;
140
+ let r = o.kind === "replying" ? {
141
+ ...e,
142
+ replyToId: o.commentId
143
+ } : e;
144
+ h(!0), f({});
145
+ try {
146
+ await t(r, _), i?.("create", r);
147
+ } catch (e) {
148
+ v(e);
149
+ } finally {
150
+ h(!1);
151
+ }
152
+ }, [
153
+ o,
154
+ _,
155
+ i,
156
+ t,
157
+ n,
158
+ v,
159
+ h
160
+ ]),
161
+ deleteComment: I(async (e) => {
162
+ if (r && e) try {
163
+ await r(e), i?.("delete", { commentId: e });
164
+ } catch (e) {
165
+ v(e);
166
+ }
167
+ }, [
168
+ i,
169
+ r,
170
+ v
171
+ ]),
172
+ resetComposer: g,
173
+ helpers: _
174
+ };
175
+ }
176
+ //#endregion
177
+ //#region src/components/features/comments/partials/comment-attachment-chip.tsx
178
+ function _e(e) {
179
+ return e.mimeType?.startsWith("image/") ? ue : e.mimeType === "application/pdf" || e.mimeType?.startsWith("text/") ? le : e.mimeType ? ce : fe;
180
+ }
181
+ var ve = ({ attachment: e, editable: t = !1, onRemove: n, onRetry: a, accessors: o, strings: c, compact: l = !1, className: d }) => {
182
+ let p = r(J, c), m = o?.getMediaUrl?.(e) ?? e.url, h = o?.getMediaName?.(e) ?? e.name ?? p.attachmentFallback, g = _e(e), _ = e.status === "uploading", v = e.status === "failed", S = _ ? /* @__PURE__ */ U(y, {
183
+ size: "xs",
184
+ className: "shrink-0",
185
+ children: [p.attachmentUploadingLabel, typeof e.progress == "number" ? /* @__PURE__ */ U(V, { children: [" ", /* @__PURE__ */ H(x, {
186
+ value: Math.round(e.progress),
187
+ scaled: !0,
188
+ size: "xs",
189
+ align: "left",
190
+ type: "secondary"
191
+ })] }) : null]
192
+ }) : v ? /* @__PURE__ */ H(y, {
193
+ size: "xs",
194
+ className: "shrink-0",
195
+ children: e.error ?? p.attachmentFailedLabel
196
+ }) : typeof e.size == "number" ? /* @__PURE__ */ H(b, {
197
+ value: e.size,
198
+ size: "xs",
199
+ className: "shrink-0"
200
+ }) : null, C = i("comment-attachment-chip--component", "relative inline-flex min-w-0 max-w-[20rem] items-center gap-space-sm rounded-radius-md", "ring-1 ring-inset transition-colors", l ? "px-2 py-1 text-xs" : "px-2.5 py-1 text-xs", v ? "bg-destructive/[0.04] ring-destructive/30 hover:bg-destructive/[0.08]" : "bg-foreground/[0.03] ring-border/60 hover:bg-foreground/[0.06]", d), w = _ ? /* @__PURE__ */ H(de, {
201
+ className: i("shrink-0 animate-spin text-muted-foreground", "size-icon-md"),
202
+ "aria-hidden": !0
203
+ }) : /* @__PURE__ */ H(g, {
204
+ className: i("shrink-0", "size-icon-md", v ? "text-destructive" : "text-muted-foreground"),
205
+ "aria-hidden": !0
206
+ }), T = /* @__PURE__ */ U("span", {
207
+ className: "inline-flex min-w-0 items-baseline gap-space-sm",
208
+ children: [/* @__PURE__ */ H(u, {
209
+ tag: "span",
210
+ size: "xs",
211
+ weight: "medium",
212
+ className: i("truncate", v && "text-destructive"),
213
+ children: h
214
+ }), S]
215
+ });
216
+ return /* @__PURE__ */ U("div", {
217
+ className: C,
218
+ children: [
219
+ w,
220
+ m && !_ && !v ? /* @__PURE__ */ H(f, {
221
+ href: m,
222
+ size: "inherit",
223
+ underline: !1,
224
+ target: "_blank",
225
+ rel: "noreferrer noopener",
226
+ className: "inline-flex min-w-0 flex-1 items-baseline gap-space-sm hover:underline",
227
+ "aria-label": p.attachmentDownloadLabel,
228
+ children: T
229
+ }) : T,
230
+ _ && typeof e.progress == "number" && /* @__PURE__ */ H("div", {
231
+ className: "bg-primary/15 absolute bottom-0 left-2 right-2 h-px overflow-hidden rounded-full",
232
+ children: /* @__PURE__ */ H("div", {
233
+ className: "bg-primary h-full transition-[width]",
234
+ style: { width: `${Math.min(100, Math.max(0, e.progress))}%` }
235
+ })
236
+ }),
237
+ v && a && /* @__PURE__ */ H(s, {
238
+ type: "button",
239
+ tone: "destructive",
240
+ buttonStyle: "ghost",
241
+ size: "sm",
242
+ onClick: () => a(e.id),
243
+ className: "h-auto shrink-0 rounded px-1.5 py-px ring-1 ring-inset ring-destructive/30 hover:ring-destructive/60",
244
+ children: /* @__PURE__ */ H(u, {
245
+ tag: "span",
246
+ size: "xs",
247
+ weight: "medium",
248
+ className: "text-inherit",
249
+ children: p.attachmentRetryLabel
250
+ })
251
+ }),
252
+ t && n && /* @__PURE__ */ H(s, {
253
+ type: "button",
254
+ tone: "secondary",
255
+ buttonStyle: "ghost",
256
+ size: "sm",
257
+ iconOnly: !0,
258
+ onClick: () => n(e.id),
259
+ className: "-mr-0.5 size-icon shrink-0 rounded p-0 text-muted-foreground hover:bg-foreground/10 hover:text-foreground",
260
+ "aria-label": p.attachmentRemoveLabel,
261
+ title: p.attachmentRemoveLabel,
262
+ children: /* @__PURE__ */ H(q, { className: "size-icon-sm" })
263
+ })
264
+ ]
265
+ });
266
+ };
267
+ //#endregion
268
+ //#region src/components/features/comments/hooks/use-attachment-upload.ts
269
+ function ye(e = {}) {
270
+ let { onUpload: t, maxSize: n, maxFiles: r, disabled: i, initialAttachments: a, onValueChange: o, onError: s } = e, [c, l] = B(() => a ? [...a] : []), u = z(/* @__PURE__ */ new Map()), d = z(/* @__PURE__ */ new Map()), f = z(o);
271
+ f.current = o;
272
+ let p = I((e, t) => {
273
+ l((n) => n.map((n) => n.id === e ? {
274
+ ...n,
275
+ ...t
276
+ } : n));
277
+ }, []), m = I((e) => {
278
+ l([...e]);
279
+ }, []), h = I((e, n) => {
280
+ if (!t) return;
281
+ let r = new AbortController();
282
+ u.current.set(e, { controller: r }), p(e, {
283
+ status: "uploading",
284
+ progress: 0,
285
+ error: void 0
286
+ }), t({
287
+ file: n,
288
+ onProgress: (t) => {
289
+ p(e, { progress: t });
290
+ },
291
+ signal: r.signal
292
+ }).then((t) => {
293
+ u.current.delete(e), p(e, {
294
+ ...t,
295
+ id: e,
296
+ status: "uploaded",
297
+ progress: 100,
298
+ error: void 0
299
+ });
300
+ }).catch((t) => {
301
+ if (u.current.delete(e), r.signal.aborted) return;
302
+ let n = t instanceof Error ? t.message : "Upload failed";
303
+ p(e, {
304
+ status: "failed",
305
+ error: n
306
+ }), s?.(n);
307
+ });
308
+ }, [
309
+ s,
310
+ t,
311
+ p
312
+ ]), g = I((e) => {
313
+ if (i || !t) return;
314
+ let a = Array.from(e);
315
+ a.length !== 0 && l((e) => {
316
+ let t = [...e];
317
+ for (let e of a) {
318
+ if (typeof r == "number" && t.length >= r) {
319
+ s?.("Too many attachments.");
320
+ break;
321
+ }
322
+ if (typeof n == "number" && e.size > n) {
323
+ s?.("File is too large.");
324
+ continue;
325
+ }
326
+ let i = typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : `att-${Date.now()}-${Math.random().toString(36).slice(2)}`;
327
+ d.current.set(i, e), t.push({
328
+ id: i,
329
+ name: e.name,
330
+ size: e.size,
331
+ mimeType: e.type,
332
+ status: "uploading",
333
+ progress: 0
334
+ }), queueMicrotask(() => h(i, e));
335
+ }
336
+ return t;
337
+ });
338
+ }, [
339
+ h,
340
+ i,
341
+ r,
342
+ n,
343
+ s,
344
+ t
345
+ ]), _ = I((e) => {
346
+ let t = u.current.get(e);
347
+ t && (t.controller.abort(), u.current.delete(e)), d.current.delete(e), l((t) => t.filter((t) => t.id !== e));
348
+ }, []), v = I((e) => {
349
+ let t = d.current.get(e);
350
+ t && h(e, t);
351
+ }, [h]), y = I(() => {
352
+ for (let e of u.current.values()) e.controller.abort();
353
+ u.current.clear(), d.current.clear(), l([]);
354
+ }, []);
355
+ return L(() => {
356
+ f.current?.(c);
357
+ }, [c]), L(() => {
358
+ let e = u.current;
359
+ return () => {
360
+ for (let t of e.values()) t.controller.abort();
361
+ };
362
+ }, []), {
363
+ attachments: c,
364
+ uploadedAttachments: R(() => c.filter((e) => e.status === "uploaded" || !e.status), [c]),
365
+ isUploading: R(() => c.some((e) => e.status === "uploading"), [c]),
366
+ addFiles: g,
367
+ removeAttachment: _,
368
+ retryAttachment: v,
369
+ setAttachments: m,
370
+ reset: y
371
+ };
372
+ }
373
+ //#endregion
374
+ //#region src/components/features/comments/partials/comment-composer.tsx
375
+ function be(e) {
376
+ return !e || typeof e != "string" ? !1 : e.replace(/<[^>]*>/g, "").trim().length > 0;
377
+ }
378
+ var Z = P(function({ context: e, canComment: t = !0, submitting: n = !1, errors: r, resetKey: i = 0, onSubmit: a, onCancel: o, editingComment: c, replyingTo: l, strings: d, resources: f, onResourceSearch: m, attachments: h, maxAttachments: g, allowAttachments: _, initialValues: v, autoFocus: y = !1, inlineSubmit: b = !0, placeholder: x }, S) {
379
+ let C = Y(d), w = f, T = m, E = _ ?? !0, D = h?.maxFiles ?? g ?? 5, k = R(() => ({
380
+ ...h,
381
+ maxFiles: D,
382
+ disabled: h?.disabled === !0 || !E
383
+ }), [
384
+ E,
385
+ h,
386
+ D
387
+ ]), j = z(null), [N, ie] = B(() => v?.content ?? c?.content ?? ""), [P, F] = B(null), I = A({
388
+ resources: w,
389
+ onResourceSearch: T,
390
+ editorRef: j,
391
+ initialMentions: v?.references ?? c?.references
392
+ }), V = ye({
393
+ ...k,
394
+ initialAttachments: v?.attachments ?? void 0
395
+ });
396
+ ae(S, () => ({
397
+ focus: () => j.current?.focus(),
398
+ clear: () => {
399
+ j.current?.clear(), I.reset(), V.reset(), F(null);
400
+ },
401
+ setBody: (e) => {
402
+ j.current?.setHTML(e);
403
+ }
404
+ }), [V, I]), L(() => {
405
+ j.current?.setHTML(v?.content ?? ""), I.setMentions(v?.references ?? []), V.setAttachments(v?.attachments ?? []), F(null);
406
+ }, [
407
+ e.id,
408
+ e.type,
409
+ i
410
+ ]), L(() => {
411
+ if (!c) return;
412
+ j.current?.setHTML(c.content ?? ""), I.setMentions(c.references ?? []);
413
+ let e = (c.attachments ?? []).filter((e) => !!e);
414
+ V.setAttachments(e);
415
+ }, [c?.id]), L(() => {
416
+ r?.content && F(r.content);
417
+ }, [r]);
418
+ let se = (t) => {
419
+ if (t?.preventDefault(), n || V.isUploading) return;
420
+ let r = j.current?.getHTML() ?? N;
421
+ if (!be(r)) {
422
+ F(C.invalidContent);
423
+ return;
424
+ }
425
+ F(null), a({
426
+ content: r,
427
+ commentableId: e.id,
428
+ commentableType: e.type,
429
+ moduleKey: e.moduleKey,
430
+ contentType: "html",
431
+ references: I.mentions,
432
+ attachments: V.uploadedAttachments,
433
+ replyToId: l?.commentId ?? v?.replyToId,
434
+ editingId: c?.id
435
+ });
436
+ }, ce = z(null), le = () => ce.current?.click(), ue = (e) => {
437
+ e && V.addFiles(e);
438
+ }, W = V.attachments.length > 0, G = !!c, K = !G && !!l, me = n ? C.composerSubmitting : G ? C.composerSave : C.composerSubmit, he = G ? /* @__PURE__ */ H(xe, {
439
+ label: C.composerEditingEyebrow,
440
+ closeLabel: C.composerCancel,
441
+ onClose: o
442
+ }) : K ? /* @__PURE__ */ H(xe, {
443
+ label: Se(C.composerReplyingEyebrow, l.authorName),
444
+ closeLabel: C.composerCancel,
445
+ onClose: o
446
+ }) : null, q = R(() => {
447
+ let e = [];
448
+ return w && Object.keys(w).length > 0 && e.push({
449
+ id: "reference",
450
+ icon: oe,
451
+ label: C.composerReferenceLabel,
452
+ onClick: () => I.setPickerOpen(!0)
453
+ }), k?.onUpload && !k.disabled && e.push({
454
+ id: "attachment",
455
+ icon: fe,
456
+ label: C.composerAttachmentLabel,
457
+ onClick: le
458
+ }), e;
459
+ }, [
460
+ w,
461
+ k?.onUpload,
462
+ k?.disabled,
463
+ C.composerReferenceLabel,
464
+ C.composerAttachmentLabel
465
+ ]);
466
+ if (!t) return null;
467
+ let J = /* @__PURE__ */ H(s, {
468
+ type: "button",
469
+ onClick: () => se(),
470
+ disabled: n || V.isUploading,
471
+ icon: n ? de : pe,
472
+ children: me
473
+ }), ge = G || K || o ? /* @__PURE__ */ H(s, {
474
+ type: "button",
475
+ tone: "secondary",
476
+ buttonStyle: "ghost",
477
+ onClick: o,
478
+ disabled: n,
479
+ children: C.composerCancel
480
+ }) : null, X = W ? /* @__PURE__ */ H(p, {
481
+ direction: "horizontal",
482
+ wrap: !0,
483
+ align: "center",
484
+ gap: "sm",
485
+ children: V.attachments.map((e) => /* @__PURE__ */ H(ve, {
486
+ attachment: e,
487
+ editable: !0,
488
+ onRemove: V.removeAttachment,
489
+ onRetry: V.retryAttachment,
490
+ strings: d
491
+ }, e.id))
492
+ }) : null, _e = W ? X : null, Z = b !== !1 && !G && !K ? J : null, Q = b === !1 || G || K;
493
+ return /* @__PURE__ */ U(p, {
494
+ render: /* @__PURE__ */ H("form", {}),
495
+ gap: "md",
496
+ onSubmit: se,
497
+ className: "comment-composer--component",
498
+ children: [
499
+ he,
500
+ /* @__PURE__ */ H("input", {
501
+ ref: ce,
502
+ type: "file",
503
+ multiple: !0,
504
+ hidden: !0,
505
+ accept: k?.accept,
506
+ onChange: (e) => {
507
+ ue(e.target.files), e.target.value = "";
508
+ }
509
+ }),
510
+ !I.triggerActive && /* @__PURE__ */ U(ee, {
511
+ open: I.pickerOpen,
512
+ onOpenChange: I.setPickerOpen,
513
+ children: [/* @__PURE__ */ H(O, { render: /* @__PURE__ */ H(s, {
514
+ type: "button",
515
+ tone: "secondary",
516
+ buttonStyle: "ghost",
517
+ className: "sr-only",
518
+ tabIndex: -1,
519
+ children: C.composerReferenceLabel
520
+ }) }), /* @__PURE__ */ H(re, {
521
+ open: I.pickerOpen,
522
+ activeKind: I.activeKind,
523
+ setActiveKind: (e) => {
524
+ I.setActiveKind(e), I.setManualKindOverride(!0);
525
+ },
526
+ kinds: I.kinds,
527
+ resources: w,
528
+ query: I.query,
529
+ setQuery: I.setQuery,
530
+ suggestions: I.suggestions,
531
+ loading: I.isLoading,
532
+ onSelect: I.pickSuggestion,
533
+ strings: {
534
+ title: C.composerReferenceMenuTitle,
535
+ searchPlaceholder: C.composerReferenceSearchPlaceholder,
536
+ empty: C.composerReferenceEmpty,
537
+ loading: C.composerReferenceLoading
538
+ }
539
+ })]
540
+ }),
541
+ /* @__PURE__ */ U("div", {
542
+ className: "comment-composer--editor relative",
543
+ children: [/* @__PURE__ */ H(te, {
544
+ ref: j,
545
+ value: N,
546
+ onValueChange: (e) => {
547
+ ie(e);
548
+ let t = M(e), n = I.mentions;
549
+ if (n.map((e) => e.id).join("|") !== t.map((e) => e.id).join("|")) {
550
+ let e = new Map(n.map((e) => [e.id, e])), r = t.map((t) => e.get(t.id) ?? t);
551
+ I.setMentions(r);
552
+ }
553
+ },
554
+ placeholder: x ?? C.composerPlaceholder,
555
+ strings: { editorLabel: x ?? C.composerPlaceholder },
556
+ minHeight: "3rem",
557
+ autoFocus: y || G || K,
558
+ extraToolbarItems: q,
559
+ toolbarTrailing: Z,
560
+ footerSlot: _e,
561
+ onCaretChange: I.handleCaretChange
562
+ }), /* @__PURE__ */ H(ne, {
563
+ open: I.triggerActive && I.pickerOpen,
564
+ activeKind: I.activeKind,
565
+ setActiveKind: (e) => {
566
+ I.setActiveKind(e), I.setManualKindOverride(!0);
567
+ },
568
+ kinds: I.kinds,
569
+ resources: w,
570
+ query: I.query,
571
+ suggestions: I.suggestions,
572
+ suggestionsByKind: I.suggestionsByKind,
573
+ loading: I.isLoading,
574
+ onSelect: I.pickSuggestion,
575
+ strings: {
576
+ title: C.composerReferenceMenuTitle,
577
+ empty: C.composerReferenceEmpty,
578
+ loading: C.composerReferenceLoading
579
+ }
580
+ })]
581
+ }),
582
+ P && /* @__PURE__ */ H(u, {
583
+ size: "xs",
584
+ type: "error",
585
+ children: P
586
+ }),
587
+ Q && /* @__PURE__ */ U(p, {
588
+ direction: "horizontal",
589
+ align: "center",
590
+ justify: "end",
591
+ gap: "md",
592
+ className: "comment-composer--footer-actions",
593
+ children: [ge, J]
594
+ })
595
+ ]
596
+ });
597
+ });
598
+ function xe({ label: e, closeLabel: t, onClose: n }) {
599
+ return /* @__PURE__ */ U("div", {
600
+ className: "bg-muted/40 ring-border/60 flex items-center justify-between rounded px-2.5 py-1.5 ring-1 ring-inset",
601
+ children: [/* @__PURE__ */ H(d, { children: e }), n ? /* @__PURE__ */ H(s, {
602
+ type: "button",
603
+ tone: "secondary",
604
+ buttonStyle: "ghost",
605
+ size: "sm",
606
+ iconOnly: !0,
607
+ onClick: n,
608
+ className: "size-icon rounded p-0 text-muted-foreground hover:text-foreground",
609
+ "aria-label": t,
610
+ children: /* @__PURE__ */ H(q, { className: "size-icon-sm" })
611
+ }) : null]
612
+ });
613
+ }
614
+ function Se(e, t) {
615
+ return n(e, { name: t }, { missing: "empty" });
616
+ }
617
+ //#endregion
618
+ //#region src/components/features/comments/partials/comment-empty.tsx
619
+ var Q = ({ strings: e, icon: t, className: n }) => {
620
+ let r = Y(e);
621
+ return /* @__PURE__ */ H(k, {
622
+ title: r.empty,
623
+ description: r.emptyHint || !1,
624
+ media: t ?? /* @__PURE__ */ H(W, {
625
+ className: "size-icon",
626
+ "aria-hidden": "true"
627
+ }),
628
+ mediaVariant: "icon-soft",
629
+ padding: "md",
630
+ className: i("comment-empty--component", n)
631
+ });
632
+ };
633
+ //#endregion
634
+ //#region src/components/features/comments/partials/comment-content.tsx
635
+ function Ce(e) {
636
+ let { comment: t, resources: n, renderReference: r, sanitizer: i } = e, a = t.contentType ?? t.content_type ?? "text";
637
+ if (a === "rich") {
638
+ let e = we(t.content);
639
+ return e ? /* @__PURE__ */ H("div", {
640
+ className: "comment-content--component",
641
+ children: e
642
+ }) : null;
643
+ }
644
+ if (a === "html") return /* @__PURE__ */ H("div", {
645
+ className: "comment-content--component",
646
+ children: /* @__PURE__ */ H(j, {
647
+ html: t.content ?? "",
648
+ mentions: t.references,
649
+ resources: n,
650
+ renderMention: r,
651
+ sanitizer: i
652
+ })
653
+ });
654
+ let o = Ee(t.content ?? "");
655
+ return /* @__PURE__ */ H(u, {
656
+ className: "comment-content--component whitespace-pre-line",
657
+ children: o
658
+ });
659
+ }
660
+ function we(e) {
661
+ if (!e) return null;
662
+ try {
663
+ let t = JSON.parse(e);
664
+ return !t || !Array.isArray(t.blocks) || t.blocks.length === 0 ? null : /* @__PURE__ */ H(u, {
665
+ tag: "div",
666
+ className: _,
667
+ children: t.blocks.map((e, t) => /* @__PURE__ */ H(N, { children: Te(e) }, e.id ?? `${e.type}-${t}`))
668
+ });
669
+ } catch {
670
+ let t = Ee(e);
671
+ return /* @__PURE__ */ H(u, {
672
+ className: "whitespace-pre-line",
673
+ children: t
674
+ });
675
+ }
676
+ }
677
+ function Te(e) {
678
+ let t = e.data ?? {};
679
+ switch (e.type) {
680
+ case "paragraph": {
681
+ let e = String(t.text ?? "").trim();
682
+ if (!e) return null;
683
+ let n = g(e);
684
+ return n ? /* @__PURE__ */ H("p", { dangerouslySetInnerHTML: { __html: n } }) : null;
685
+ }
686
+ case "header": {
687
+ let e = $(String(t.text ?? "")), n = Number(t.level ?? 3);
688
+ return e ? ie(`h${Math.min(Math.max(n, 1), 6)}`, null, e) : null;
689
+ }
690
+ case "list": {
691
+ let e = (Array.isArray(t.items) ? t.items : []).map((e) => $(String(e ?? ""))).filter((e) => e.length > 0);
692
+ return e.length === 0 ? null : t.style === "ordered" ? /* @__PURE__ */ H("ol", { children: e.map((e, t) => /* @__PURE__ */ H("li", { children: /* @__PURE__ */ H(u, {
693
+ tag: "span",
694
+ children: e
695
+ }) }, `${e}-${t}`)) }) : /* @__PURE__ */ H("ul", { children: e.map((e) => /* @__PURE__ */ H("li", { children: /* @__PURE__ */ H(u, {
696
+ tag: "span",
697
+ children: e
698
+ }) }, e)) });
699
+ }
700
+ case "quote": {
701
+ let e = String(t.text ?? "").trim();
702
+ if (!e) return null;
703
+ let n = $(String(t.caption ?? ""));
704
+ return /* @__PURE__ */ U("blockquote", {
705
+ className: "italic",
706
+ children: [/* @__PURE__ */ H(v, {
707
+ tag: "div",
708
+ html: e,
709
+ type: "secondary"
710
+ }), n.length > 0 && /* @__PURE__ */ H("cite", {
711
+ className: "mt-1 block not-italic",
712
+ children: /* @__PURE__ */ U(u, {
713
+ tag: "span",
714
+ size: "xs",
715
+ type: "secondary",
716
+ className: "opacity-80",
717
+ children: ["— ", n]
718
+ })
719
+ })]
720
+ });
721
+ }
722
+ case "delimiter": return /* @__PURE__ */ H("hr", {
723
+ className: "border-dashed",
724
+ "aria-hidden": "true"
725
+ });
726
+ default: {
727
+ let e = $(String(t.text ?? ""));
728
+ return e ? /* @__PURE__ */ H("p", {
729
+ className: "whitespace-pre-line",
730
+ children: e
731
+ }) : null;
732
+ }
733
+ }
734
+ }
735
+ function $(e) {
736
+ return e.replace(/<[^>]*>/g, "").trim();
737
+ }
738
+ function Ee(e) {
739
+ if (typeof e != "string") return "";
740
+ let t = e.trim();
741
+ if (t === "") return "";
742
+ if (t.startsWith("{") || t.startsWith("[")) return t;
743
+ try {
744
+ let e = JSON.parse(t);
745
+ if (typeof e == "string") return e;
746
+ } catch {}
747
+ return t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t;
748
+ }
749
+ //#endregion
750
+ //#region src/components/features/comments/partials/comment-item.tsx
751
+ var De = "?", Oe = (e) => e?.url, ke = (e) => e?.name, Ae = (e) => e.charAt(0).toUpperCase() + e.slice(1).replace(/_/g, " "), je = F(function({ comment: e, canModerate: t, onDelete: r, onAttachmentRemove: d, onEdit: f, onPinToggle: g, onReact: _, onReply: v, allowReactions: y, allowReplies: b, sanitizer: x, strings: O, getMediaUrl: ee, getMediaName: k, getStatusLabel: te, formatRelativeTime: A, resources: ne, renderAttachment: j, renderReference: re }) {
752
+ let M = Y(O), N = y ?? !0, ie = b ?? !0, P = ge({
753
+ getMediaUrl: ee,
754
+ getMediaName: k,
755
+ getStatusLabel: te,
756
+ formatRelativeTime: A
757
+ }), F = P.getMediaUrl ?? Oe, L = P.getMediaName ?? ke, ae = P.getStatusLabel ?? Ae, z = P.formatRelativeTime, V = e.user?.name ?? M.fallbackAuthor, oe = e.user?.avatar ?? void 0, ce = R(() => {
758
+ if (!V) return De;
759
+ let e = V.trim();
760
+ return e === "" ? De : e.charAt(0).toUpperCase();
761
+ }, [V]), le = R(() => Array.isArray(e.tagsArray) ? e.tagsArray.filter((e) => typeof e == "string") : e.tagsArray && typeof e.tagsArray == "object" ? Object.values(e.tagsArray).filter((e) => typeof e == "string") : [], [e.tagsArray]), ue = R(() => (e.attachments ?? []).filter((e) => !!e && typeof e == "object"), [e.attachments]), de = N ? e.reactions ?? [] : [], W = e.isPinned === !0, fe = e.isEdited === !0, pe = e.status && e.status !== "active", q = pe && e.status ? ae(e.status) : null, X = e.canDelete === !0 || t === !0, _e = e.canEdit === !0 || t === !0, ye = !!ie && !!v && !!e.id, be = !!N && !!_ && !!e.id, Z = !!g && !!t, xe = !!_e && !!f && !!e.id, Se = !!X && !!r && !!e.id, Q = ye || be || Z || xe || Se, we = m(), [Te, $] = B(null), Ee = I((e) => {
762
+ $(e), we.show();
763
+ }, [we]), je = ue.length > 0;
764
+ return /* @__PURE__ */ U("article", {
765
+ className: i("comment-item--component group relative overflow-hidden rounded-radius border transition-colors", "border-border/60 bg-card hover:bg-muted/30 px-3 py-2.5"),
766
+ "data-comment-id": e.id,
767
+ children: [/* @__PURE__ */ U(p, {
768
+ direction: "horizontal",
769
+ align: "start",
770
+ gap: "lg",
771
+ className: "min-w-0",
772
+ children: [/* @__PURE__ */ U(T, {
773
+ className: "mt-0.5 size-avatar shrink-0",
774
+ children: [!!oe && /* @__PURE__ */ H(E, {
775
+ src: oe,
776
+ alt: V
777
+ }), /* @__PURE__ */ H(w, {
778
+ className: "bg-muted text-muted-foreground text-xs font-medium",
779
+ children: ce
780
+ })]
781
+ }), /* @__PURE__ */ U("div", {
782
+ className: "comment-item--body min-w-0 flex-1",
783
+ children: [
784
+ /* @__PURE__ */ U(p, {
785
+ direction: "horizontal",
786
+ align: "baseline",
787
+ gap: "md",
788
+ className: "min-w-0",
789
+ children: [
790
+ /* @__PURE__ */ H(u, {
791
+ tag: "span",
792
+ weight: "semibold",
793
+ className: "truncate",
794
+ children: V
795
+ }),
796
+ !!W && /* @__PURE__ */ H(a, {
797
+ delayDuration: 0,
798
+ children: /* @__PURE__ */ U(c, { children: [/* @__PURE__ */ H(o, {
799
+ render: /* @__PURE__ */ H("span", { className: "inline-flex shrink-0 self-center" }),
800
+ children: /* @__PURE__ */ H(K, {
801
+ className: "text-warning size-icon-sm",
802
+ "aria-hidden": !0
803
+ })
804
+ }), /* @__PURE__ */ H(l, {
805
+ side: "top",
806
+ className: "text-xs",
807
+ children: M.pinned
808
+ })] })
809
+ }),
810
+ /* @__PURE__ */ H(C, {
811
+ value: e.createdAt,
812
+ formatRelativeTime: z,
813
+ size: "xs",
814
+ className: "shrink-0 tabular-nums"
815
+ }),
816
+ !!fe && /* @__PURE__ */ H(u, {
817
+ tag: "span",
818
+ size: "xs",
819
+ type: "secondary",
820
+ className: "shrink-0",
821
+ children: M.edited
822
+ }),
823
+ !!pe && !!q && /* @__PURE__ */ H(D, {
824
+ size: "sm",
825
+ tone: "secondary",
826
+ className: "self-center",
827
+ children: q
828
+ })
829
+ ]
830
+ }),
831
+ /* @__PURE__ */ H("div", {
832
+ className: "mt-1 leading-relaxed",
833
+ children: /* @__PURE__ */ H(Ce, {
834
+ comment: e,
835
+ resources: ne,
836
+ renderReference: re,
837
+ sanitizer: x
838
+ })
839
+ }),
840
+ le.length > 0 && /* @__PURE__ */ H("div", {
841
+ className: "mt-space-md flex flex-wrap gap-space-sm",
842
+ children: le.map((e) => /* @__PURE__ */ H(D, {
843
+ size: "sm",
844
+ tone: "secondary",
845
+ children: e
846
+ }, e))
847
+ }),
848
+ je && /* @__PURE__ */ H("div", {
849
+ className: "mt-space-md flex flex-wrap gap-space-sm",
850
+ children: ue.map((e) => {
851
+ if (j) return /* @__PURE__ */ H("div", { children: j(e) }, e.id ?? e.name);
852
+ let t = !!d && !!e.id && X;
853
+ return /* @__PURE__ */ H(ve, {
854
+ attachment: e,
855
+ editable: t,
856
+ onRemove: t ? () => Ee(e.id) : void 0,
857
+ accessors: {
858
+ getMediaUrl: F,
859
+ getMediaName: L
860
+ },
861
+ strings: O
862
+ }, e.id ?? e.name);
863
+ })
864
+ }),
865
+ de.length > 0 && /* @__PURE__ */ H(p, {
866
+ direction: "horizontal",
867
+ wrap: !0,
868
+ align: "center",
869
+ gap: "xs",
870
+ className: "mt-space-md",
871
+ children: de.map((t) => /* @__PURE__ */ H(s, {
872
+ type: "button",
873
+ "aria-label": n(M.reactionLabel ?? J.reactionLabel, {
874
+ emoji: t.emoji,
875
+ count: t.count
876
+ }),
877
+ "aria-pressed": t.mine ?? !1,
878
+ tone: "secondary",
879
+ buttonStyle: "ghost",
880
+ size: "sm",
881
+ onClick: () => _ && e.id ? _(e.id, t.emoji) : void 0,
882
+ title: t.users?.join(", "),
883
+ className: "h-auto rounded-full p-0",
884
+ children: /* @__PURE__ */ U(D, {
885
+ size: "sm",
886
+ tone: t.mine ? "primary" : "secondary",
887
+ className: "cursor-pointer transition-colors hover:opacity-90",
888
+ children: [/* @__PURE__ */ H(u, {
889
+ tag: "span",
890
+ size: "inherit",
891
+ lineHeight: "none",
892
+ className: "text-inherit",
893
+ "aria-hidden": !0,
894
+ children: t.emoji
895
+ }), /* @__PURE__ */ H(S, {
896
+ value: t.count,
897
+ size: "inherit",
898
+ align: "left",
899
+ className: "tabular-nums text-current"
900
+ })]
901
+ })
902
+ }, t.emoji))
903
+ }),
904
+ Q && /* @__PURE__ */ U("div", {
905
+ className: i("comment-item--actions relative mt-space-md ms-auto w-fit max-w-full flex-wrap opacity-100 transition-opacity", "group-hover:opacity-100 focus-within:opacity-100", "inline-flex items-center gap-space-2xs rounded-radius-md bg-card/95 shadow-sm ring-1 ring-border/70"),
906
+ children: [
907
+ ye && /* @__PURE__ */ H(s, {
908
+ type: "button",
909
+ size: "sm",
910
+ iconOnly: !0,
911
+ tone: "secondary",
912
+ buttonStyle: "ghost",
913
+ onClick: () => e.id && v(e.id),
914
+ title: M.replyLabel,
915
+ "aria-label": M.replyLabel,
916
+ children: /* @__PURE__ */ H(se, { className: "size-icon-md" })
917
+ }),
918
+ be && /* @__PURE__ */ H(s, {
919
+ type: "button",
920
+ size: "sm",
921
+ iconOnly: !0,
922
+ tone: "secondary",
923
+ buttonStyle: "ghost",
924
+ onClick: () => e.id && _(e.id, "👍"),
925
+ title: M.addReactionLabel,
926
+ "aria-label": M.addReactionLabel,
927
+ children: /* @__PURE__ */ H(me, { className: "size-icon-md" })
928
+ }),
929
+ Z && /* @__PURE__ */ H(s, {
930
+ type: "button",
931
+ size: "sm",
932
+ iconOnly: !0,
933
+ tone: "secondary",
934
+ buttonStyle: "ghost",
935
+ onClick: () => g(e),
936
+ title: W ? M.unpinLabel : M.pinLabel,
937
+ "aria-label": W ? M.unpinLabel : M.pinLabel,
938
+ children: /* @__PURE__ */ H(K, { className: i("size-icon-md", W && "text-warning") })
939
+ }),
940
+ xe && /* @__PURE__ */ H(s, {
941
+ type: "button",
942
+ size: "sm",
943
+ iconOnly: !0,
944
+ tone: "secondary",
945
+ buttonStyle: "ghost",
946
+ title: M.editLabel,
947
+ "aria-label": M.editLabel,
948
+ onClick: () => f(e),
949
+ children: /* @__PURE__ */ H(G, { className: "size-icon-md" })
950
+ }),
951
+ Se && /* @__PURE__ */ H(s, {
952
+ type: "button",
953
+ size: "sm",
954
+ iconOnly: !0,
955
+ tone: "secondary",
956
+ buttonStyle: "ghost",
957
+ className: "hover:bg-destructive/10 hover:text-destructive",
958
+ onClick: () => r(e.id),
959
+ title: M.deleteLabel,
960
+ "aria-label": M.deleteLabel,
961
+ children: /* @__PURE__ */ H(he, { className: "size-icon-md" })
962
+ })
963
+ ]
964
+ })
965
+ ]
966
+ })]
967
+ }), !!d && /* @__PURE__ */ H(h, {
968
+ ...we.overlayProps,
969
+ destructive: !0,
970
+ title: M.confirmRemoveAttachmentTitle,
971
+ description: M.confirmRemoveAttachmentDescription,
972
+ strings: { confirm: M.attachmentRemoveLabel },
973
+ onConfirm: () => {
974
+ Te && e.id && d(e.id, Te);
975
+ }
976
+ })]
977
+ });
978
+ }), Me = function({ comments: e, canModerate: t, onDelete: n, onAttachmentRemove: r, onEdit: i, onPinToggle: a, onReact: o, onReply: s, allowReactions: c, allowReplies: l, sanitizer: u, strings: d, getMediaUrl: f, getMediaName: m, getStatusLabel: h, formatRelativeTime: g, resources: _, renderItem: v, renderAttachment: y, renderReference: b, emptySlot: x }) {
979
+ return e.length ? /* @__PURE__ */ H(p, {
980
+ gap: "sm",
981
+ className: "comment-timeline--component",
982
+ children: e.map((e, p) => {
983
+ let x = /* @__PURE__ */ H(je, {
984
+ comment: e,
985
+ canModerate: t,
986
+ onDelete: n,
987
+ onAttachmentRemove: r,
988
+ onEdit: i,
989
+ onPinToggle: a,
990
+ onReact: o,
991
+ onReply: s,
992
+ allowReactions: c,
993
+ allowReplies: l,
994
+ sanitizer: u,
995
+ strings: d,
996
+ getMediaUrl: f,
997
+ getMediaName: m,
998
+ getStatusLabel: h,
999
+ formatRelativeTime: g,
1000
+ resources: _,
1001
+ renderAttachment: y,
1002
+ renderReference: b
1003
+ });
1004
+ return v ? /* @__PURE__ */ H("div", { children: v({
1005
+ comment: e,
1006
+ canModerate: t ?? !1,
1007
+ onDelete: n,
1008
+ onAttachmentRemove: r,
1009
+ onEdit: i,
1010
+ defaultItem: x
1011
+ }) }, e.id ?? `comment-${p}`) : /* @__PURE__ */ H("div", { children: x }, e.id ?? `comment-${p}`);
1012
+ })
1013
+ }) : /* @__PURE__ */ H(V, { children: x ?? /* @__PURE__ */ H(Q, { strings: d }) });
1014
+ };
1015
+ //#endregion
1016
+ //#region src/components/features/comments/comments.tsx
1017
+ function Ne(t) {
1018
+ let n = e(), r = t.composerPosition ?? n.composerPosition ?? "top", a = t.maxAttachments ?? 5, o = t.allowAttachments ?? !0, s = t.allowReactions ?? !0, c = t.allowReplies ?? !0, l = t.canComment ?? !1, d = t.canModerate ?? !1, f = t.onPinToggle, g = t.resources, _ = t.attachments, v = Y(t.strings), y = t.title === void 0 ? v.title : t.title, b = t.confirmDelete ?? !0, x = m(), [S, C] = B(null), w = X({
1019
+ onSubmit: t.onSubmit,
1020
+ onUpdate: t.onUpdate,
1021
+ onDelete: t.onDelete,
1022
+ onAfterMutate: t.onAfterMutate,
1023
+ onError: t.onError
1024
+ }), T = I((e) => {
1025
+ if (!b) {
1026
+ w.deleteComment(e);
1027
+ return;
1028
+ }
1029
+ C(e), x.show();
1030
+ }, [
1031
+ b,
1032
+ w,
1033
+ x
1034
+ ]), E = w.startReply, D = t.comments, O = t.onReply, ee = I((e) => {
1035
+ let t = D.find((t) => t.id === e);
1036
+ t && E(t), O?.(e);
1037
+ }, [
1038
+ D,
1039
+ O,
1040
+ E
1041
+ ]), k = w.composerMode.kind === "editing" ? w.composerMode.comment : void 0, te = w.composerMode.kind === "replying" ? {
1042
+ commentId: w.composerMode.commentId,
1043
+ authorName: w.composerMode.authorName
1044
+ } : void 0, A = t.composerSlot ?? (l ? /* @__PURE__ */ H(Z, {
1045
+ context: t.context,
1046
+ canComment: l,
1047
+ submitting: w.isSubmitting,
1048
+ errors: w.formErrors,
1049
+ resetKey: w.resetKey,
1050
+ editingComment: k,
1051
+ replyingTo: te,
1052
+ onCancel: w.composerMode.kind === "idle" ? void 0 : w.cancelComposerMode,
1053
+ onSubmit: w.submit,
1054
+ strings: t.strings,
1055
+ resources: g,
1056
+ onResourceSearch: t.onResourceSearch,
1057
+ attachments: _,
1058
+ maxAttachments: a,
1059
+ allowAttachments: o
1060
+ }) : null), ne = /* @__PURE__ */ H(Me, {
1061
+ comments: t.comments,
1062
+ canModerate: d,
1063
+ onDelete: t.onDelete ? T : void 0,
1064
+ onAttachmentRemove: t.onAttachmentRemove,
1065
+ onEdit: l && t.onUpdate ? w.startEdit : void 0,
1066
+ onPinToggle: f,
1067
+ onReact: t.onReact,
1068
+ onReply: l && c ? ee : void 0,
1069
+ allowReactions: s,
1070
+ allowReplies: c,
1071
+ sanitizer: t.sanitizer,
1072
+ strings: t.strings,
1073
+ getMediaUrl: t.getMediaUrl,
1074
+ getMediaName: t.getMediaName,
1075
+ getStatusLabel: t.getStatusLabel,
1076
+ formatRelativeTime: t.formatRelativeTime,
1077
+ resources: g,
1078
+ renderItem: t.renderItem,
1079
+ renderAttachment: t.renderAttachment,
1080
+ renderReference: t.renderReference,
1081
+ emptySlot: t.emptySlot ?? /* @__PURE__ */ H(Q, { strings: t.strings })
1082
+ }), j = A ? /* @__PURE__ */ H("div", { children: A }) : null, re = /* @__PURE__ */ U(p, {
1083
+ gap: "xl",
1084
+ className: "comments--body",
1085
+ children: [
1086
+ t.headerSlot,
1087
+ r === "top" && j,
1088
+ ne,
1089
+ r === "bottom" && j,
1090
+ t.footerSlot
1091
+ ]
1092
+ });
1093
+ if (t.bare) return re;
1094
+ let M = typeof y == "string" ? y : void 0;
1095
+ return /* @__PURE__ */ U(p, {
1096
+ render: /* @__PURE__ */ H("section", {}),
1097
+ gap: "lg",
1098
+ "data-component": "comments",
1099
+ "data-slot": "comments",
1100
+ className: i("comments--component", t.className),
1101
+ "aria-label": M,
1102
+ children: [
1103
+ !(y === !1 || !y && !v.subtitle) && /* @__PURE__ */ U(p, {
1104
+ gap: "normal",
1105
+ className: "comments--header",
1106
+ children: [!!y && /* @__PURE__ */ H(u, {
1107
+ weight: "semibold",
1108
+ children: y
1109
+ }), !!v.subtitle && /* @__PURE__ */ H(u, {
1110
+ type: "secondary",
1111
+ children: v.subtitle
1112
+ })]
1113
+ }),
1114
+ re,
1115
+ !!(b && t.onDelete) && /* @__PURE__ */ H(h, {
1116
+ ...x.overlayProps,
1117
+ destructive: !0,
1118
+ title: v.confirmDeleteTitle,
1119
+ description: v.confirmDeleteDescription,
1120
+ strings: { confirm: v.confirmDeleteLabel },
1121
+ onAsyncConfirm: async () => {
1122
+ S && await w.deleteComment(S);
1123
+ },
1124
+ onError: t.onError
1125
+ })
1126
+ ]
1127
+ });
1128
+ }
1129
+ //#endregion
1130
+ export { Q as a, ye as c, ge as d, Y as f, Ce as i, ve as l, Me as n, Z as o, J as p, je as r, Se as s, Ne as t, X as u };
1131
+
1132
+ //# sourceMappingURL=comments-DviPLnwy.js.map