themelia-react-ui 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1338) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/LICENSE +21 -0
  3. package/README.md +249 -2
  4. package/THIRD_PARTY_NOTICES.md +65 -0
  5. package/dist/accordion-BRWh3BM1.js +205 -0
  6. package/dist/accordion-BRWh3BM1.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-DXl-Zb3Z.js +23 -0
  12. package/dist/affordance-geometry.generated-DXl-Zb3Z.js.map +1 -0
  13. package/dist/ai-artifact-DkOArd3-.js +1121 -0
  14. package/dist/ai-artifact-DkOArd3-.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-BH_bGcE2.js +235 -0
  18. package/dist/app-shell-BH_bGcE2.js.map +1 -0
  19. package/dist/attachment-DsLgNHXt.js +244 -0
  20. package/dist/attachment-DsLgNHXt.js.map +1 -0
  21. package/dist/auth-BDB1V_2q.js +704 -0
  22. package/dist/auth-BDB1V_2q.js.map +1 -0
  23. package/dist/avatar-CsnWaYmt.js +173 -0
  24. package/dist/avatar-CsnWaYmt.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 +3 -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 +4 -0
  47. package/dist/base/forms-numeric.js +3 -0
  48. package/dist/base/forms.js +4 -0
  49. package/dist/base/item.js +3 -0
  50. package/dist/base/media-gallery.js +3 -0
  51. package/dist/base/navigation.js +8 -0
  52. package/dist/base/popover-menu.js +3 -0
  53. package/dist/base/popover.js +3 -0
  54. package/dist/base/qr-code.js +63 -0
  55. package/dist/base/qr-code.js.map +1 -0
  56. package/dist/base/repeaters.js +620 -0
  57. package/dist/base/repeaters.js.map +1 -0
  58. package/dist/base/sheet.js +3 -0
  59. package/dist/base/sidebar.js +3 -0
  60. package/dist/base/signature-pad.js +364 -0
  61. package/dist/base/signature-pad.js.map +1 -0
  62. package/dist/base/skeleton.js +3 -0
  63. package/dist/base/spinner.js +3 -0
  64. package/dist/base/structure.js +3 -0
  65. package/dist/base/table.js +3 -0
  66. package/dist/base/text-inputs.js +4 -0
  67. package/dist/base/toaster.js +102 -0
  68. package/dist/base/toaster.js.map +1 -0
  69. package/dist/base/tree.js +3 -0
  70. package/dist/base/upload-queue.js +3 -0
  71. package/dist/base/upload.js +5 -0
  72. package/dist/base/value-inputs.js +3 -0
  73. package/dist/blocks/admin.js +478 -0
  74. package/dist/blocks/admin.js.map +1 -0
  75. package/dist/blocks/ai.js +1021 -0
  76. package/dist/blocks/ai.js.map +1 -0
  77. package/dist/blocks/analytics.js +1499 -0
  78. package/dist/blocks/analytics.js.map +1 -0
  79. package/dist/blocks/collaboration.js +3 -0
  80. package/dist/blocks/commerce/receipt.js +3 -0
  81. package/dist/blocks/commerce.js +3393 -0
  82. package/dist/blocks/commerce.js.map +1 -0
  83. package/dist/blocks/data-display.js +3 -0
  84. package/dist/blocks/onboarding.js +128 -0
  85. package/dist/blocks/onboarding.js.map +1 -0
  86. package/dist/blocks/timelines.js +3 -0
  87. package/dist/breadcrumbs-DdQ_I5ra.js +127 -0
  88. package/dist/breadcrumbs-DdQ_I5ra.js.map +1 -0
  89. package/dist/button-BS6l5JUw.js +47 -0
  90. package/dist/button-BS6l5JUw.js.map +1 -0
  91. package/dist/buttons-Co6GavvM.js +674 -0
  92. package/dist/buttons-Co6GavvM.js.map +1 -0
  93. package/dist/cards-BMB0laLG.js +66 -0
  94. package/dist/cards-BMB0laLG.js.map +1 -0
  95. package/dist/chart-DVfcwQu6.js +149 -0
  96. package/dist/chart-DVfcwQu6.js.map +1 -0
  97. package/dist/choice-inputs-CavA-SGV.js +644 -0
  98. package/dist/choice-inputs-CavA-SGV.js.map +1 -0
  99. package/dist/code-block-DIlqzoiD.js +183 -0
  100. package/dist/code-block-DIlqzoiD.js.map +1 -0
  101. package/dist/collapsible-DsnktFNv.js +81 -0
  102. package/dist/collapsible-DsnktFNv.js.map +1 -0
  103. package/dist/collection-content-C4fthJV_.js +53 -0
  104. package/dist/collection-content-C4fthJV_.js.map +1 -0
  105. package/dist/combobox-CHD750do.js +850 -0
  106. package/dist/combobox-CHD750do.js.map +1 -0
  107. package/dist/combobox-HDftpzxt.js +273 -0
  108. package/dist/combobox-HDftpzxt.js.map +1 -0
  109. package/dist/command-D0kWBZfd.js +421 -0
  110. package/dist/command-D0kWBZfd.js.map +1 -0
  111. package/dist/comments-CvYeglMS.js +1132 -0
  112. package/dist/comments-CvYeglMS.js.map +1 -0
  113. package/dist/component-vocabulary.js +26 -0
  114. package/dist/component-vocabulary.js.map +1 -0
  115. package/dist/components/base/accordion/accordion-variants.d.ts +36 -0
  116. package/dist/components/base/accordion/accordion.d.ts +20 -0
  117. package/dist/components/base/accordion/accordion.strings.d.ts +15 -0
  118. package/dist/components/base/accordion/accordion.types.d.ts +74 -0
  119. package/dist/components/base/accordion/index.d.ts +4 -0
  120. package/dist/components/base/accordion/smart-accordion.d.ts +7 -0
  121. package/dist/components/base/action-menu/action-menu.d.ts +147 -0
  122. package/dist/components/base/action-menu/action-menu.strings.d.ts +4 -0
  123. package/dist/components/base/action-menu/index.d.ts +11 -0
  124. package/dist/components/base/attachment/attachment.d.ts +17 -0
  125. package/dist/components/base/attachment/attachment.types.d.ts +49 -0
  126. package/dist/components/base/attachment/index.d.ts +2 -0
  127. package/dist/components/base/avatar/avatar.d.ts +24 -0
  128. package/dist/components/base/avatar/index.d.ts +14 -0
  129. package/dist/components/base/avatar/stacked-avatars.d.ts +39 -0
  130. package/dist/components/base/badge/badge.d.ts +22 -0
  131. package/dist/components/base/badge/badge.recipes.d.ts +20 -0
  132. package/dist/components/base/badge/index.d.ts +2 -0
  133. package/dist/components/base/buttons/base-button.d.ts +24 -0
  134. package/dist/components/base/buttons/button-group.d.ts +28 -0
  135. package/dist/components/base/buttons/button-group.recipes.d.ts +6 -0
  136. package/dist/components/base/buttons/button.d.ts +47 -0
  137. package/dist/components/base/buttons/button.recipes.d.ts +23 -0
  138. package/dist/components/base/buttons/button.variants.d.ts +8 -0
  139. package/dist/components/base/buttons/index.d.ts +7 -0
  140. package/dist/components/base/buttons/loader-button.d.ts +40 -0
  141. package/dist/components/base/buttons/text-button.d.ts +19 -0
  142. package/dist/components/base/buttons/tooltip-button.d.ts +7 -0
  143. package/dist/components/base/cards/card-actions.d.ts +41 -0
  144. package/dist/components/base/cards/card.recipes.d.ts +28 -0
  145. package/dist/components/base/cards/index.d.ts +5 -0
  146. package/dist/components/base/cards/partials/card-primitives.d.ts +21 -0
  147. package/dist/components/base/cards/partials/has-renderable-content.d.ts +8 -0
  148. package/dist/components/base/cards/partials/smart-card-actions-menu.d.ts +8 -0
  149. package/dist/components/base/cards/partials/smart-card-alert.d.ts +20 -0
  150. package/dist/components/base/cards/partials/smart-card-header-row.d.ts +33 -0
  151. package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +16 -0
  152. package/dist/components/base/cards/smart-card.d.ts +9 -0
  153. package/dist/components/base/cards/smart-card.strings.d.ts +18 -0
  154. package/dist/components/base/cards/smart-card.tokens.d.ts +44 -0
  155. package/dist/components/base/cards/smart-card.types.d.ts +144 -0
  156. package/dist/components/base/carousel/carousel.d.ts +105 -0
  157. package/dist/components/base/carousel/carousel.strings.d.ts +6 -0
  158. package/dist/components/base/carousel/index.d.ts +2 -0
  159. package/dist/components/base/cascader/cascader.d.ts +2 -0
  160. package/dist/components/base/cascader/cascader.types.d.ts +57 -0
  161. package/dist/components/base/cascader/index.d.ts +2 -0
  162. package/dist/components/base/chart/chart.d.ts +99 -0
  163. package/dist/components/base/chart/index.d.ts +9 -0
  164. package/dist/components/base/choice-inputs/card-checkbox-group.d.ts +27 -0
  165. package/dist/components/base/choice-inputs/card-radio-group.d.ts +19 -0
  166. package/dist/components/base/choice-inputs/checkbox.d.ts +17 -0
  167. package/dist/components/base/choice-inputs/choice-types.d.ts +57 -0
  168. package/dist/components/base/choice-inputs/index.d.ts +28 -0
  169. package/dist/components/base/choice-inputs/list-radio-group.d.ts +13 -0
  170. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +27 -0
  171. package/dist/components/base/choice-inputs/select-popup.d.ts +26 -0
  172. package/dist/components/base/choice-inputs/select.d.ts +94 -0
  173. package/dist/components/base/choice-inputs/switch-card.d.ts +36 -0
  174. package/dist/components/base/choice-inputs/switch.d.ts +38 -0
  175. package/dist/components/base/choice-inputs/toggle-field.d.ts +41 -0
  176. package/dist/components/base/code-block/code-block.d.ts +3 -0
  177. package/dist/components/base/code-block/code-block.types.d.ts +46 -0
  178. package/dist/components/base/code-block/index.d.ts +2 -0
  179. package/dist/components/base/code-block/use-code-copy.d.ts +6 -0
  180. package/dist/components/base/combobox/index.d.ts +27 -0
  181. package/dist/components/base/command/command.d.ts +73 -0
  182. package/dist/components/base/command/index.d.ts +1 -0
  183. package/dist/components/base/copyable/copyable.d.ts +36 -0
  184. package/dist/components/base/copyable/index.d.ts +1 -0
  185. package/dist/components/base/date-pickers/date-picker-footer.d.ts +14 -0
  186. package/dist/components/base/date-pickers/date-picker-header.d.ts +10 -0
  187. package/dist/components/base/date-pickers/date-picker-helpers.d.ts +87 -0
  188. package/dist/components/base/date-pickers/date-picker-internals.d.ts +10 -0
  189. package/dist/components/base/date-pickers/date-picker-multiple.d.ts +20 -0
  190. package/dist/components/base/date-pickers/date-picker-range.d.ts +15 -0
  191. package/dist/components/base/date-pickers/date-picker-single.d.ts +15 -0
  192. package/dist/components/base/date-pickers/date-picker.d.ts +3 -0
  193. package/dist/components/base/date-pickers/date-picker.recipes.d.ts +18 -0
  194. package/dist/components/base/date-pickers/date-pickers.strings.d.ts +14 -0
  195. package/dist/components/base/date-pickers/datepicker.types.d.ts +285 -0
  196. package/dist/components/base/date-pickers/index.d.ts +7 -0
  197. package/dist/components/base/date-pickers/month-year-picker.d.ts +4 -0
  198. package/dist/components/base/date-pickers/time-picker.d.ts +70 -0
  199. package/dist/components/base/display/alert-dialog.d.ts +25 -0
  200. package/dist/components/base/display/boolean-indicator.d.ts +25 -0
  201. package/dist/components/base/display/collapsible.d.ts +21 -0
  202. package/dist/components/base/display/content-block.d.ts +73 -0
  203. package/dist/components/base/display/content-block.strings.d.ts +5 -0
  204. package/dist/components/base/display/date-block.d.ts +70 -0
  205. package/dist/components/base/display/dialog.d.ts +35 -0
  206. package/dist/components/base/display/icon-badge/icon-badge.d.ts +45 -0
  207. package/dist/components/base/display/icon-badge/index.d.ts +1 -0
  208. package/dist/components/base/display/icon-size.d.ts +5 -0
  209. package/dist/components/base/display/index.d.ts +31 -0
  210. package/dist/components/base/display/placeholder-pattern.d.ts +7 -0
  211. package/dist/components/base/display/scroll-area.d.ts +12 -0
  212. package/dist/components/base/display/separator.d.ts +10 -0
  213. package/dist/components/base/display/surface-title.d.ts +10 -0
  214. package/dist/components/base/display/tooltip.d.ts +28 -0
  215. package/dist/components/base/display/visually-hidden.d.ts +14 -0
  216. package/dist/components/base/feedback/alert.d.ts +49 -0
  217. package/dist/components/base/feedback/empty.d.ts +48 -0
  218. package/dist/components/base/feedback/index.d.ts +27 -0
  219. package/dist/components/base/feedback/progress.d.ts +81 -0
  220. package/dist/components/base/feedback/progress.strings.d.ts +5 -0
  221. package/dist/components/base/feedback/state-display.d.ts +39 -0
  222. package/dist/components/base/forms/controlled-form-field.d.ts +32 -0
  223. package/dist/components/base/forms/controlled-form-field.strings.d.ts +7 -0
  224. package/dist/components/base/forms/form-field.d.ts +38 -0
  225. package/dist/components/base/forms/form-sizing.d.ts +86 -0
  226. package/dist/components/base/forms/index.d.ts +4 -0
  227. package/dist/components/base/forms/operation-password-form.d.ts +16 -0
  228. package/dist/components/base/forms/workflow.d.ts +68 -0
  229. package/dist/components/base/forms-numeric/coordinates-input.d.ts +47 -0
  230. package/dist/components/base/forms-numeric/currency-input.d.ts +44 -0
  231. package/dist/components/base/forms-numeric/decimal-input.d.ts +53 -0
  232. package/dist/components/base/forms-numeric/dimensions-input.d.ts +79 -0
  233. package/dist/components/base/forms-numeric/index.d.ts +21 -0
  234. package/dist/components/base/forms-numeric/money-input.d.ts +67 -0
  235. package/dist/components/base/forms-numeric/money-input.strings.d.ts +6 -0
  236. package/dist/components/base/forms-numeric/percentage-input.d.ts +8 -0
  237. package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +12 -0
  238. package/dist/components/base/forms-numeric/weight-input.d.ts +54 -0
  239. package/dist/components/base/item/index.d.ts +2 -0
  240. package/dist/components/base/item/item.d.ts +12 -0
  241. package/dist/components/base/item/item.types.d.ts +100 -0
  242. package/dist/components/base/media-gallery/index.d.ts +2 -0
  243. package/dist/components/base/media-gallery/media-gallery.d.ts +45 -0
  244. package/dist/components/base/navigation/breadcrumbs.d.ts +37 -0
  245. package/dist/components/base/navigation/dropdown-menu.d.ts +45 -0
  246. package/dist/components/base/navigation/index.d.ts +21 -0
  247. package/dist/components/base/navigation/language-switcher.d.ts +12 -0
  248. package/dist/components/base/navigation/navigation-tabs.d.ts +40 -0
  249. package/dist/components/base/navigation/overflow-tab-bar.d.ts +43 -0
  250. package/dist/components/base/navigation/page-header/index.d.ts +1 -0
  251. package/dist/components/base/navigation/page-header/page-header.d.ts +88 -0
  252. package/dist/components/base/navigation/pagination.d.ts +61 -0
  253. package/dist/components/base/navigation/tab-scroll-viewport.d.ts +12 -0
  254. package/dist/components/base/navigation/tabs.d.ts +23 -0
  255. package/dist/components/base/popover/collection-content.d.ts +22 -0
  256. package/dist/components/base/popover/index.d.ts +1 -0
  257. package/dist/components/base/popover/popover.d.ts +54 -0
  258. package/dist/components/base/popover/popover.recipes.d.ts +29 -0
  259. package/dist/components/base/popover-menu/index.d.ts +3 -0
  260. package/dist/components/base/popover-menu/popover-menu.d.ts +82 -0
  261. package/dist/components/base/popover-menu/popover-menu.types.d.ts +30 -0
  262. package/dist/components/base/qr-code/index.d.ts +8 -0
  263. package/dist/components/base/qr-code/qr-code.d.ts +13 -0
  264. package/dist/components/base/repeaters/index.d.ts +21 -0
  265. package/dist/components/base/repeaters/key-value-editor.d.ts +27 -0
  266. package/dist/components/base/repeaters/localized-object-field.d.ts +35 -0
  267. package/dist/components/base/repeaters/localized-string-field.d.ts +25 -0
  268. package/dist/components/base/repeaters/localized-string-repeater.d.ts +44 -0
  269. package/dist/components/base/repeaters/object-repeater.d.ts +66 -0
  270. package/dist/components/base/repeaters/repeater.d.ts +87 -0
  271. package/dist/components/base/repeaters/repeaters.strings.d.ts +16 -0
  272. package/dist/components/base/repeaters/string-repeater.d.ts +65 -0
  273. package/dist/components/base/repeaters/string-repeater.utils.d.ts +2 -0
  274. package/dist/components/base/sheet/index.d.ts +1 -0
  275. package/dist/components/base/sheet/sheet.d.ts +35 -0
  276. package/dist/components/base/sidebar/index.d.ts +6 -0
  277. package/dist/components/base/sidebar/sidebar.d.ts +135 -0
  278. package/dist/components/base/signature-pad/index.d.ts +4 -0
  279. package/dist/components/base/signature-pad/signature-pad.d.ts +4 -0
  280. package/dist/components/base/signature-pad/signature-pad.types.d.ts +66 -0
  281. package/dist/components/base/signature-pad/signature-pad.utils.d.ts +8 -0
  282. package/dist/components/base/skeleton/index.d.ts +14 -0
  283. package/dist/components/base/skeleton/skeleton.d.ts +54 -0
  284. package/dist/components/base/spinner/index.d.ts +1 -0
  285. package/dist/components/base/spinner/spinner.d.ts +32 -0
  286. package/dist/components/base/structure/adaptive-grid.d.ts +3 -0
  287. package/dist/components/base/structure/grid-cell.d.ts +3 -0
  288. package/dist/components/base/structure/grid.d.ts +3 -0
  289. package/dist/components/base/structure/index.d.ts +5 -0
  290. package/dist/components/base/structure/stack.d.ts +3 -0
  291. package/dist/components/base/structure/structure.context.d.ts +6 -0
  292. package/dist/components/base/structure/structure.recipes.d.ts +27 -0
  293. package/dist/components/base/structure/structure.responsive.d.ts +5 -0
  294. package/dist/components/base/structure/structure.types.d.ts +51 -0
  295. package/dist/components/base/table/index.d.ts +18 -0
  296. package/dist/components/base/text-inputs/hooks/index.d.ts +1 -0
  297. package/dist/components/base/text-inputs/hooks/use-form-field-state.d.ts +48 -0
  298. package/dist/components/base/text-inputs/index.d.ts +21 -0
  299. package/dist/components/base/text-inputs/input-group.d.ts +46 -0
  300. package/dist/components/base/text-inputs/input.d.ts +45 -0
  301. package/dist/components/base/text-inputs/password-input.d.ts +28 -0
  302. package/dist/components/base/text-inputs/slug-field.d.ts +21 -0
  303. package/dist/components/base/text-inputs/textarea.d.ts +37 -0
  304. package/dist/components/base/toaster/index.d.ts +1 -0
  305. package/dist/components/base/toaster/toaster.d.ts +6 -0
  306. package/dist/components/base/tree/hierarchy.d.ts +11 -0
  307. package/dist/components/base/tree/index.d.ts +2 -0
  308. package/dist/components/base/tree/tree.d.ts +3 -0
  309. package/dist/components/base/tree/tree.types.d.ts +47 -0
  310. package/dist/components/base/upload/avatar-upload.d.ts +39 -0
  311. package/dist/components/base/upload/dropzone.d.ts +40 -0
  312. package/dist/components/base/upload/file-picker-input.d.ts +15 -0
  313. package/dist/components/base/upload/file-upload.d.ts +9 -0
  314. package/dist/components/base/upload/file-upload.strings.d.ts +18 -0
  315. package/dist/components/base/upload/file-upload.types.d.ts +68 -0
  316. package/dist/components/base/upload/file-upload.validation.d.ts +21 -0
  317. package/dist/components/base/upload/image-upload.d.ts +57 -0
  318. package/dist/components/base/upload/index.d.ts +26 -0
  319. package/dist/components/base/upload/use-file-drop-target.d.ts +22 -0
  320. package/dist/components/base/upload-queue/index.d.ts +3 -0
  321. package/dist/components/base/upload-queue/upload-progress-list.d.ts +55 -0
  322. package/dist/components/base/upload-queue/upload-tray.d.ts +46 -0
  323. package/dist/components/base/value-inputs/color-input.d.ts +26 -0
  324. package/dist/components/base/value-inputs/date-time-input.d.ts +19 -0
  325. package/dist/components/base/value-inputs/index.d.ts +25 -0
  326. package/dist/components/base/value-inputs/phone-input.d.ts +48 -0
  327. package/dist/components/base/value-inputs/slider.d.ts +59 -0
  328. package/dist/components/base/value-inputs/tags-input.d.ts +67 -0
  329. package/dist/components/blocks/admin/action-surfaces/index.d.ts +127 -0
  330. package/dist/components/blocks/admin/admin.strings.d.ts +11 -0
  331. package/dist/components/blocks/admin/api-key-list/api-key-list.d.ts +2 -0
  332. package/dist/components/blocks/admin/api-key-list/api-key-list.strings.d.ts +16 -0
  333. package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +58 -0
  334. package/dist/components/blocks/admin/api-key-list/index.d.ts +3 -0
  335. package/dist/components/blocks/admin/index.d.ts +4 -0
  336. package/dist/components/blocks/admin/role-permission/index.d.ts +2 -0
  337. package/dist/components/blocks/admin/role-permission/role-permission.d.ts +5 -0
  338. package/dist/components/blocks/admin/role-permission/types.d.ts +26 -0
  339. package/dist/components/blocks/ai/ai-agent/ai-agent.d.ts +5 -0
  340. package/dist/components/blocks/ai/ai-agent/index.d.ts +2 -0
  341. package/dist/components/blocks/ai/ai-agent/types.d.ts +30 -0
  342. package/dist/components/blocks/ai/ai-artifact/ai-artifact.d.ts +5 -0
  343. package/dist/components/blocks/ai/ai-artifact/index.d.ts +2 -0
  344. package/dist/components/blocks/ai/ai-artifact/types.d.ts +50 -0
  345. package/dist/components/blocks/ai/ai-attachment/ai-attachment.d.ts +5 -0
  346. package/dist/components/blocks/ai/ai-attachment/index.d.ts +2 -0
  347. package/dist/components/blocks/ai/ai-attachment/types.d.ts +35 -0
  348. package/dist/components/blocks/ai/ai-chain-of-thought/ai-chain-of-thought.d.ts +5 -0
  349. package/dist/components/blocks/ai/ai-chain-of-thought/index.d.ts +2 -0
  350. package/dist/components/blocks/ai/ai-chain-of-thought/types.d.ts +36 -0
  351. package/dist/components/blocks/ai/ai-citation/ai-citation.d.ts +5 -0
  352. package/dist/components/blocks/ai/ai-citation/index.d.ts +2 -0
  353. package/dist/components/blocks/ai/ai-citation/types.d.ts +38 -0
  354. package/dist/components/blocks/ai/ai-classification/ai-classification.d.ts +2 -0
  355. package/dist/components/blocks/ai/ai-classification/index.d.ts +2 -0
  356. package/dist/components/blocks/ai/ai-classification/types.d.ts +27 -0
  357. package/dist/components/blocks/ai/ai-code-block/ai-code-block.d.ts +6 -0
  358. package/dist/components/blocks/ai/ai-code-block/index.d.ts +2 -0
  359. package/dist/components/blocks/ai/ai-code-block/types.d.ts +38 -0
  360. package/dist/components/blocks/ai/ai-confidence/ai-confidence.d.ts +5 -0
  361. package/dist/components/blocks/ai/ai-confidence/index.d.ts +2 -0
  362. package/dist/components/blocks/ai/ai-confidence/types.d.ts +25 -0
  363. package/dist/components/blocks/ai/ai-confirmation/ai-confirmation.d.ts +5 -0
  364. package/dist/components/blocks/ai/ai-confirmation/index.d.ts +2 -0
  365. package/dist/components/blocks/ai/ai-confirmation/types.d.ts +40 -0
  366. package/dist/components/blocks/ai/ai-feedback/ai-feedback.d.ts +5 -0
  367. package/dist/components/blocks/ai/ai-feedback/index.d.ts +2 -0
  368. package/dist/components/blocks/ai/ai-feedback/types.d.ts +24 -0
  369. package/dist/components/blocks/ai/ai-file-tree/ai-file-tree.d.ts +5 -0
  370. package/dist/components/blocks/ai/ai-file-tree/index.d.ts +2 -0
  371. package/dist/components/blocks/ai/ai-file-tree/types.d.ts +59 -0
  372. package/dist/components/blocks/ai/ai-inline-citation/ai-inline-citation.d.ts +5 -0
  373. package/dist/components/blocks/ai/ai-inline-citation/index.d.ts +2 -0
  374. package/dist/components/blocks/ai/ai-inline-citation/types.d.ts +22 -0
  375. package/dist/components/blocks/ai/ai-message-bubble/ai-message-bubble.d.ts +6 -0
  376. package/dist/components/blocks/ai/ai-message-bubble/index.d.ts +2 -0
  377. package/dist/components/blocks/ai/ai-message-bubble/types.d.ts +35 -0
  378. package/dist/components/blocks/ai/ai-package-info/ai-package-info.d.ts +5 -0
  379. package/dist/components/blocks/ai/ai-package-info/index.d.ts +2 -0
  380. package/dist/components/blocks/ai/ai-package-info/types.d.ts +39 -0
  381. package/dist/components/blocks/ai/ai-prompt-suggestions/ai-prompt-suggestions.d.ts +5 -0
  382. package/dist/components/blocks/ai/ai-prompt-suggestions/index.d.ts +2 -0
  383. package/dist/components/blocks/ai/ai-prompt-suggestions/types.d.ts +26 -0
  384. package/dist/components/blocks/ai/ai-reasoning/ai-reasoning.d.ts +5 -0
  385. package/dist/components/blocks/ai/ai-reasoning/index.d.ts +2 -0
  386. package/dist/components/blocks/ai/ai-reasoning/types.d.ts +32 -0
  387. package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +5 -0
  388. package/dist/components/blocks/ai/ai-shimmer/index.d.ts +2 -0
  389. package/dist/components/blocks/ai/ai-shimmer/types.d.ts +11 -0
  390. package/dist/components/blocks/ai/ai-sources/ai-sources.d.ts +5 -0
  391. package/dist/components/blocks/ai/ai-sources/index.d.ts +2 -0
  392. package/dist/components/blocks/ai/ai-sources/types.d.ts +44 -0
  393. package/dist/components/blocks/ai/ai-summary/ai-summary.d.ts +2 -0
  394. package/dist/components/blocks/ai/ai-summary/index.d.ts +2 -0
  395. package/dist/components/blocks/ai/ai-summary/types.d.ts +32 -0
  396. package/dist/components/blocks/ai/ai-task/ai-task.d.ts +5 -0
  397. package/dist/components/blocks/ai/ai-task/index.d.ts +2 -0
  398. package/dist/components/blocks/ai/ai-task/types.d.ts +38 -0
  399. package/dist/components/blocks/ai/ai-token-usage/ai-token-usage.d.ts +5 -0
  400. package/dist/components/blocks/ai/ai-token-usage/index.d.ts +2 -0
  401. package/dist/components/blocks/ai/ai-token-usage/types.d.ts +22 -0
  402. package/dist/components/blocks/ai/ai-tool-call/ai-tool-call.d.ts +5 -0
  403. package/dist/components/blocks/ai/ai-tool-call/index.d.ts +2 -0
  404. package/dist/components/blocks/ai/ai-tool-call/types.d.ts +38 -0
  405. package/dist/components/blocks/ai/ai.strings.d.ts +36 -0
  406. package/dist/components/blocks/ai/index.d.ts +24 -0
  407. package/dist/components/blocks/ai/use-copy-feedback.d.ts +6 -0
  408. package/dist/components/blocks/analytics/activity-heatmap/activity-heatmap.d.ts +5 -0
  409. package/dist/components/blocks/analytics/activity-heatmap/index.d.ts +2 -0
  410. package/dist/components/blocks/analytics/activity-heatmap/types.d.ts +20 -0
  411. package/dist/components/blocks/analytics/analytics.strings.d.ts +35 -0
  412. package/dist/components/blocks/analytics/atoms/metric-skeleton.d.ts +13 -0
  413. package/dist/components/blocks/analytics/atoms/metric-sparkline.d.ts +15 -0
  414. package/dist/components/blocks/analytics/atoms/metric-trend-chip.d.ts +15 -0
  415. package/dist/components/blocks/analytics/chart-card/chart-card.d.ts +42 -0
  416. package/dist/components/blocks/analytics/chart-card/index.d.ts +1 -0
  417. package/dist/components/blocks/analytics/format-metric-value.d.ts +8 -0
  418. package/dist/components/blocks/analytics/index.d.ts +34 -0
  419. package/dist/components/blocks/analytics/metric/index.d.ts +1 -0
  420. package/dist/components/blocks/analytics/metric/metric.d.ts +28 -0
  421. package/dist/components/blocks/analytics/metric-bar/index.d.ts +1 -0
  422. package/dist/components/blocks/analytics/metric-bar/metric-bar.d.ts +22 -0
  423. package/dist/components/blocks/analytics/metric-comparison/index.d.ts +1 -0
  424. package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +26 -0
  425. package/dist/components/blocks/analytics/metric-gradient/index.d.ts +1 -0
  426. package/dist/components/blocks/analytics/metric-gradient/metric-gradient.d.ts +19 -0
  427. package/dist/components/blocks/analytics/metric-grid/index.d.ts +1 -0
  428. package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +33 -0
  429. package/dist/components/blocks/analytics/metric-micro-grid/index.d.ts +1 -0
  430. package/dist/components/blocks/analytics/metric-micro-grid/metric-micro-grid.d.ts +23 -0
  431. package/dist/components/blocks/analytics/time-ruler/index.d.ts +2 -0
  432. package/dist/components/blocks/analytics/time-ruler/time-ruler.d.ts +5 -0
  433. package/dist/components/blocks/analytics/time-ruler/types.d.ts +32 -0
  434. package/dist/components/blocks/analytics/types.d.ts +83 -0
  435. package/dist/components/blocks/collaboration/index.d.ts +1 -0
  436. package/dist/components/blocks/collaboration/message/index.d.ts +2 -0
  437. package/dist/components/blocks/collaboration/message/message.d.ts +8 -0
  438. package/dist/components/blocks/collaboration/message/message.types.d.ts +30 -0
  439. package/dist/components/blocks/commerce/address-card/address-card.d.ts +5 -0
  440. package/dist/components/blocks/commerce/address-card/index.d.ts +2 -0
  441. package/dist/components/blocks/commerce/address-card/types.d.ts +43 -0
  442. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +12 -0
  443. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +36 -0
  444. package/dist/components/blocks/commerce/booking-calendar-event-card/index.d.ts +2 -0
  445. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +5 -0
  446. package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -0
  447. package/dist/components/blocks/commerce/cart-summary/types.d.ts +53 -0
  448. package/dist/components/blocks/commerce/coupon-input/coupon-input.d.ts +5 -0
  449. package/dist/components/blocks/commerce/coupon-input/index.d.ts +2 -0
  450. package/dist/components/blocks/commerce/coupon-input/types.d.ts +35 -0
  451. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +5 -0
  452. package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -0
  453. package/dist/components/blocks/commerce/discount-stack/types.d.ts +27 -0
  454. package/dist/components/blocks/commerce/format-signed-amount.d.ts +22 -0
  455. package/dist/components/blocks/commerce/giftcard-card/giftcard-card.d.ts +62 -0
  456. package/dist/components/blocks/commerce/giftcard-card/index.d.ts +2 -0
  457. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-compact.d.ts +10 -0
  458. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-copy-button.d.ts +9 -0
  459. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-dark.d.ts +7 -0
  460. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-full.d.ts +11 -0
  461. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-illustrated.d.ts +10 -0
  462. package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-minimal.d.ts +10 -0
  463. package/dist/components/blocks/commerce/giftcard-card/types.d.ts +83 -0
  464. package/dist/components/blocks/commerce/index.d.ts +34 -0
  465. package/dist/components/blocks/commerce/inventory-level/index.d.ts +3 -0
  466. package/dist/components/blocks/commerce/inventory-level/inventory-level.d.ts +5 -0
  467. package/dist/components/blocks/commerce/inventory-level/inventory-level.strings.d.ts +10 -0
  468. package/dist/components/blocks/commerce/inventory-level/types.d.ts +20 -0
  469. package/dist/components/blocks/commerce/inventory-section/index.d.ts +2 -0
  470. package/dist/components/blocks/commerce/inventory-section/inventory-section.d.ts +5 -0
  471. package/dist/components/blocks/commerce/inventory-section/types.d.ts +105 -0
  472. package/dist/components/blocks/commerce/invoice-header/index.d.ts +2 -0
  473. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +5 -0
  474. package/dist/components/blocks/commerce/invoice-header/types.d.ts +51 -0
  475. package/dist/components/blocks/commerce/invoice-line-items/index.d.ts +2 -0
  476. package/dist/components/blocks/commerce/invoice-line-items/invoice-line-items.d.ts +5 -0
  477. package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +64 -0
  478. package/dist/components/blocks/commerce/invoice-mini/index.d.ts +2 -0
  479. package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +5 -0
  480. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +28 -0
  481. package/dist/components/blocks/commerce/loyalty-points/index.d.ts +2 -0
  482. package/dist/components/blocks/commerce/loyalty-points/loyalty-points.d.ts +5 -0
  483. package/dist/components/blocks/commerce/loyalty-points/types.d.ts +32 -0
  484. package/dist/components/blocks/commerce/order-status/index.d.ts +2 -0
  485. package/dist/components/blocks/commerce/order-status/order-status.d.ts +5 -0
  486. package/dist/components/blocks/commerce/order-status/types.d.ts +35 -0
  487. package/dist/components/blocks/commerce/order-timeline/index.d.ts +2 -0
  488. package/dist/components/blocks/commerce/order-timeline/order-timeline.d.ts +5 -0
  489. package/dist/components/blocks/commerce/order-timeline/types.d.ts +22 -0
  490. package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -0
  491. package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +5 -0
  492. package/dist/components/blocks/commerce/payment-method/types.d.ts +33 -0
  493. package/dist/components/blocks/commerce/payment-timeline/index.d.ts +2 -0
  494. package/dist/components/blocks/commerce/payment-timeline/payment-timeline.d.ts +5 -0
  495. package/dist/components/blocks/commerce/payment-timeline/types.d.ts +15 -0
  496. package/dist/components/blocks/commerce/receipt/index.d.ts +3 -0
  497. package/dist/components/blocks/commerce/receipt/receipt-items.d.ts +2 -0
  498. package/dist/components/blocks/commerce/receipt/receipt.d.ts +3 -0
  499. package/dist/components/blocks/commerce/receipt/types.d.ts +42 -0
  500. package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -0
  501. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +5 -0
  502. package/dist/components/blocks/commerce/refund-status/types.d.ts +37 -0
  503. package/dist/components/blocks/commerce/seo-listing/index.d.ts +3 -0
  504. package/dist/components/blocks/commerce/seo-listing/seo-listing-card.d.ts +5 -0
  505. package/dist/components/blocks/commerce/seo-listing/seo-listing-score.d.ts +5 -0
  506. package/dist/components/blocks/commerce/seo-listing/types.d.ts +92 -0
  507. package/dist/components/blocks/commerce/shipment-tracking/index.d.ts +2 -0
  508. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +5 -0
  509. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +44 -0
  510. package/dist/components/blocks/commerce/subscription-summary/index.d.ts +2 -0
  511. package/dist/components/blocks/commerce/subscription-summary/subscription-summary.d.ts +5 -0
  512. package/dist/components/blocks/commerce/subscription-summary/types.d.ts +39 -0
  513. package/dist/components/blocks/commerce/tax-breakdown/index.d.ts +2 -0
  514. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +5 -0
  515. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +34 -0
  516. package/dist/components/blocks/commerce/upcoming-booking/index.d.ts +2 -0
  517. package/dist/components/blocks/commerce/upcoming-booking/types.d.ts +29 -0
  518. package/dist/components/blocks/commerce/upcoming-booking/upcoming-booking.d.ts +5 -0
  519. package/dist/components/blocks/commerce/vendor-profile/index.d.ts +3 -0
  520. package/dist/components/blocks/commerce/vendor-profile/types.d.ts +86 -0
  521. package/dist/components/blocks/commerce/vendor-profile/vendor-profile.d.ts +2 -0
  522. package/dist/components/blocks/commerce/voucher-entry/index.d.ts +2 -0
  523. package/dist/components/blocks/commerce/voucher-entry/types.d.ts +33 -0
  524. package/dist/components/blocks/commerce/voucher-entry/voucher-entry.d.ts +5 -0
  525. package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +6 -0
  526. package/dist/components/blocks/data-display/dense-info-card/helpers.d.ts +19 -0
  527. package/dist/components/blocks/data-display/dense-info-card/index.d.ts +7 -0
  528. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-classification.d.ts +5 -0
  529. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-dashboard.d.ts +5 -0
  530. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-financial.d.ts +5 -0
  531. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-project.d.ts +5 -0
  532. package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-score.d.ts +5 -0
  533. package/dist/components/blocks/data-display/dense-info-card/types.d.ts +183 -0
  534. package/dist/components/blocks/data-display/empty-state/empty-state.d.ts +2 -0
  535. package/dist/components/blocks/data-display/empty-state/empty-state.strings.d.ts +19 -0
  536. package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +86 -0
  537. package/dist/components/blocks/data-display/empty-state/index.d.ts +5 -0
  538. package/dist/components/blocks/data-display/empty-state/partials/illustrations/document-stack.d.ts +9 -0
  539. package/dist/components/blocks/data-display/empty-state/partials/illustrations/inbox-clean.d.ts +9 -0
  540. package/dist/components/blocks/data-display/empty-state/partials/illustrations/index.d.ts +25 -0
  541. package/dist/components/blocks/data-display/empty-state/partials/illustrations/search-glass.d.ts +9 -0
  542. package/dist/components/blocks/data-display/empty-state/partials/illustrations/stacked-cards.d.ts +11 -0
  543. package/dist/components/blocks/data-display/empty-state/partials/illustrations/types.d.ts +4 -0
  544. package/dist/components/blocks/data-display/empty-state/partials/illustrations/users-circle.d.ts +9 -0
  545. package/dist/components/blocks/data-display/index.d.ts +6 -0
  546. package/dist/components/blocks/data-display/inline-stat/index.d.ts +1 -0
  547. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +35 -0
  548. package/dist/components/blocks/data-display/metadata/index.d.ts +4 -0
  549. package/dist/components/blocks/data-display/metadata/metadata-list.d.ts +78 -0
  550. package/dist/components/blocks/data-display/metadata/metadata-list.strings.d.ts +18 -0
  551. package/dist/components/blocks/data-display/metadata/metadata-value.d.ts +142 -0
  552. package/dist/components/blocks/data-display/relationship-card-frame.d.ts +40 -0
  553. package/dist/components/blocks/onboarding/checklist/checklist.d.ts +2 -0
  554. package/dist/components/blocks/onboarding/checklist/checklist.strings.d.ts +15 -0
  555. package/dist/components/blocks/onboarding/checklist/checklist.types.d.ts +64 -0
  556. package/dist/components/blocks/onboarding/checklist/index.d.ts +4 -0
  557. package/dist/components/blocks/onboarding/checklist/partials/step-status-indicator.d.ts +12 -0
  558. package/dist/components/blocks/onboarding/index.d.ts +7 -0
  559. package/dist/components/blocks/timelines/changelog/changelog-timeline.d.ts +5 -0
  560. package/dist/components/blocks/timelines/changelog/index.d.ts +2 -0
  561. package/dist/components/blocks/timelines/changelog/types.d.ts +33 -0
  562. package/dist/components/blocks/timelines/index.d.ts +5 -0
  563. package/dist/components/blocks/timelines/milestones/index.d.ts +2 -0
  564. package/dist/components/blocks/timelines/milestones/milestones-timeline.d.ts +5 -0
  565. package/dist/components/blocks/timelines/milestones/types.d.ts +32 -0
  566. package/dist/components/blocks/timelines/shared/index.d.ts +1 -0
  567. package/dist/components/blocks/timelines/shared/timeline.d.ts +40 -0
  568. package/dist/components/blocks/timelines/steps-card/index.d.ts +2 -0
  569. package/dist/components/blocks/timelines/steps-card/steps-card.d.ts +9 -0
  570. package/dist/components/blocks/timelines/steps-card/types.d.ts +38 -0
  571. package/dist/components/features/activities/activities-feed.d.ts +5 -0
  572. package/dist/components/features/activities/activities.config.d.ts +6 -0
  573. package/dist/components/features/activities/activities.strings.d.ts +38 -0
  574. package/dist/components/features/activities/activities.types.d.ts +431 -0
  575. package/dist/components/features/activities/activity-event-adapter.d.ts +38 -0
  576. package/dist/components/features/activities/activity-log.d.ts +6 -0
  577. package/dist/components/features/activities/hooks/index.d.ts +2 -0
  578. package/dist/components/features/activities/hooks/use-activity-feed.d.ts +44 -0
  579. package/dist/components/features/activities/hooks/use-activity-resources.d.ts +22 -0
  580. package/dist/components/features/activities/index.d.ts +8 -0
  581. package/dist/components/features/activities/partials/activity-actions-menu.d.ts +11 -0
  582. package/dist/components/features/activities/partials/activity-changes.d.ts +8 -0
  583. package/dist/components/features/activities/partials/activity-date-label.d.ts +9 -0
  584. package/dist/components/features/activities/partials/activity-empty-state.d.ts +9 -0
  585. package/dist/components/features/activities/partials/activity-headline.d.ts +20 -0
  586. package/dist/components/features/activities/partials/activity-marker.d.ts +25 -0
  587. package/dist/components/features/activities/partials/activity-resource-tag.d.ts +11 -0
  588. package/dist/components/features/activities/partials/activity-row.d.ts +68 -0
  589. package/dist/components/features/activities/partials/index.d.ts +8 -0
  590. package/dist/components/features/activities/partials/tone-tokens.d.ts +25 -0
  591. package/dist/components/features/ai-chat/ai-chat.d.ts +81 -0
  592. package/dist/components/features/ai-chat/ai-chat.strings.d.ts +56 -0
  593. package/dist/components/features/ai-chat/ai-chat.types.d.ts +170 -0
  594. package/dist/components/features/ai-chat/hooks/index.d.ts +1 -0
  595. package/dist/components/features/ai-chat/hooks/use-ai-chat-scroll.d.ts +15 -0
  596. package/dist/components/features/ai-chat/index.d.ts +5 -0
  597. package/dist/components/features/ai-chat/partials/ai-chat-attachments-strip.d.ts +15 -0
  598. package/dist/components/features/ai-chat/partials/ai-chat-conversation.d.ts +28 -0
  599. package/dist/components/features/ai-chat/partials/ai-chat-empty-state.d.ts +22 -0
  600. package/dist/components/features/ai-chat/partials/ai-chat-message.d.ts +21 -0
  601. package/dist/components/features/ai-chat/partials/ai-chat-prompt-input.d.ts +59 -0
  602. package/dist/components/features/ai-chat/partials/ai-chat-queue.d.ts +19 -0
  603. package/dist/components/features/ai-chat/partials/ai-chat-suggestions-row.d.ts +18 -0
  604. package/dist/components/features/ai-chat/partials/index.d.ts +7 -0
  605. package/dist/components/features/async-preview/async-preview.d.ts +84 -0
  606. package/dist/components/features/async-preview/async-preview.strings.d.ts +14 -0
  607. package/dist/components/features/async-preview/async-preview.types.d.ts +133 -0
  608. package/dist/components/features/async-preview/hooks/index.d.ts +1 -0
  609. package/dist/components/features/async-preview/hooks/use-async-preview.d.ts +8 -0
  610. package/dist/components/features/async-preview/index.d.ts +6 -0
  611. package/dist/components/features/async-preview/partials/index.d.ts +1 -0
  612. package/dist/components/features/async-preview/preview-trigger-cell.d.ts +45 -0
  613. package/dist/components/features/combobox/async-resource-combobox.d.ts +94 -0
  614. package/dist/components/features/combobox/combobox.d.ts +20 -0
  615. package/dist/components/features/combobox/combobox.strings.d.ts +14 -0
  616. package/dist/components/features/combobox/components/combobox-dropdown.d.ts +57 -0
  617. package/dist/components/features/combobox/components/error-message.d.ts +15 -0
  618. package/dist/components/features/combobox/components/highlighted-text.d.ts +14 -0
  619. package/dist/components/features/combobox/components/index.d.ts +13 -0
  620. package/dist/components/features/combobox/components/loading-more.d.ts +15 -0
  621. package/dist/components/features/combobox/components/status-content.d.ts +21 -0
  622. package/dist/components/features/combobox/constants.d.ts +19 -0
  623. package/dist/components/features/combobox/hooks/index.d.ts +2 -0
  624. package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +30 -0
  625. package/dist/components/features/combobox/hooks/use-debounced-search.d.ts +10 -0
  626. package/dist/components/features/combobox/hooks/use-grouped-items.d.ts +9 -0
  627. package/dist/components/features/combobox/hooks/use-load-more.d.ts +12 -0
  628. package/dist/components/features/combobox/index.d.ts +13 -0
  629. package/dist/components/features/combobox/types.d.ts +184 -0
  630. package/dist/components/features/comments/comments-provider.d.ts +15 -0
  631. package/dist/components/features/comments/comments.d.ts +2 -0
  632. package/dist/components/features/comments/comments.strings.d.ts +91 -0
  633. package/dist/components/features/comments/comments.types.d.ts +369 -0
  634. package/dist/components/features/comments/hooks/index.d.ts +4 -0
  635. package/dist/components/features/comments/hooks/use-attachment-upload.d.ts +28 -0
  636. package/dist/components/features/comments/hooks/use-comments.d.ts +34 -0
  637. package/dist/components/features/comments/index.d.ts +8 -0
  638. package/dist/components/features/comments/partials/comment-attachment-chip.d.ts +23 -0
  639. package/dist/components/features/comments/partials/comment-composer.d.ts +12 -0
  640. package/dist/components/features/comments/partials/comment-content.d.ts +13 -0
  641. package/dist/components/features/comments/partials/comment-empty.d.ts +12 -0
  642. package/dist/components/features/comments/partials/comment-item.d.ts +3 -0
  643. package/dist/components/features/comments/partials/comment-timeline.d.ts +3 -0
  644. package/dist/components/features/comments/partials/index.d.ts +9 -0
  645. package/dist/components/features/data-view/data-view-filtering.d.ts +3 -0
  646. package/dist/components/features/data-view/data-view.d.ts +7 -0
  647. package/dist/components/features/data-view/data-view.strings.d.ts +9 -0
  648. package/dist/components/features/data-view/data-view.types.d.ts +191 -0
  649. package/dist/components/features/data-view/hooks/index.d.ts +1 -0
  650. package/dist/components/features/data-view/hooks/use-data-view.d.ts +2 -0
  651. package/dist/components/features/data-view/index.d.ts +4 -0
  652. package/dist/components/features/email-composer/document.d.ts +8 -0
  653. package/dist/components/features/email-composer/email-composer.d.ts +2 -0
  654. package/dist/components/features/email-composer/email-html.d.ts +5 -0
  655. package/dist/components/features/email-composer/engine.d.ts +18 -0
  656. package/dist/components/features/email-composer/http.d.ts +6 -0
  657. package/dist/components/features/email-composer/index.d.ts +6 -0
  658. package/dist/components/features/email-composer/partials/body-editor.d.ts +11 -0
  659. package/dist/components/features/email-composer/partials/data-status.d.ts +8 -0
  660. package/dist/components/features/email-composer/partials/html-preview.d.ts +6 -0
  661. package/dist/components/features/email-composer/partials/recipients.d.ts +14 -0
  662. package/dist/components/features/email-composer/partials/variables.d.ts +11 -0
  663. package/dist/components/features/email-composer/strings.d.ts +79 -0
  664. package/dist/components/features/email-composer/types.d.ts +195 -0
  665. package/dist/components/features/email-composer/use-composer.d.ts +119 -0
  666. package/dist/components/features/event-calendar/colors.d.ts +29 -0
  667. package/dist/components/features/event-calendar/event-calendar-day-cell.d.ts +5 -0
  668. package/dist/components/features/event-calendar/event-calendar-event-badge.d.ts +5 -0
  669. package/dist/components/features/event-calendar/event-calendar-event-card.d.ts +16 -0
  670. package/dist/components/features/event-calendar/event-calendar-header.d.ts +8 -0
  671. package/dist/components/features/event-calendar/event-calendar-legend.d.ts +5 -0
  672. package/dist/components/features/event-calendar/event-calendar.d.ts +5 -0
  673. package/dist/components/features/event-calendar/event-calendar.types.d.ts +350 -0
  674. package/dist/components/features/event-calendar/index.d.ts +11 -0
  675. package/dist/components/features/event-calendar/use-event-calendar-data.d.ts +15 -0
  676. package/dist/components/features/event-calendar/use-event-calendar.d.ts +24 -0
  677. package/dist/components/features/filters/facets/async-select-facet.d.ts +28 -0
  678. package/dist/components/features/filters/facets/date-facet.d.ts +18 -0
  679. package/dist/components/features/filters/facets/range-facet.d.ts +30 -0
  680. package/dist/components/features/filters/facets/search-facet.d.ts +27 -0
  681. package/dist/components/features/filters/facets/select-facet.d.ts +19 -0
  682. package/dist/components/features/filters/facets/tags-facet.d.ts +27 -0
  683. package/dist/components/features/filters/filter-context.d.ts +61 -0
  684. package/dist/components/features/filters/filter-layout.d.ts +16 -0
  685. package/dist/components/features/filters/filter-query.d.ts +21 -0
  686. package/dist/components/features/filters/filters.strings.d.ts +103 -0
  687. package/dist/components/features/filters/filters.types.d.ts +222 -0
  688. package/dist/components/features/filters/hooks/index.d.ts +3 -0
  689. package/dist/components/features/filters/hooks/use-async-options.d.ts +16 -0
  690. package/dist/components/features/filters/hooks/use-filter-groups.d.ts +16 -0
  691. package/dist/components/features/filters/index.d.ts +42 -0
  692. package/dist/components/features/filters/operator-options.d.ts +9 -0
  693. package/dist/components/features/filters/partials/active-filter-item.d.ts +37 -0
  694. package/dist/components/features/filters/partials/async-filter-content.d.ts +21 -0
  695. package/dist/components/features/filters/partials/date-filter-content.d.ts +14 -0
  696. package/dist/components/features/filters/partials/filter-error-boundary.d.ts +9 -0
  697. package/dist/components/features/filters/partials/filter-list-content.d.ts +24 -0
  698. package/dist/components/features/filters/partials/filter-list-item.d.ts +19 -0
  699. package/dist/components/features/filters/partials/filter-operator-select.d.ts +22 -0
  700. package/dist/components/features/filters/partials/filter-pill.d.ts +26 -0
  701. package/dist/components/features/filters/partials/filter-popover-content.d.ts +36 -0
  702. package/dist/components/features/filters/partials/filter-tabs.d.ts +14 -0
  703. package/dist/components/features/filters/partials/filter-value-display.d.ts +21 -0
  704. package/dist/components/features/filters/partials/filters-button.d.ts +32 -0
  705. package/dist/components/features/filters/partials/index.d.ts +14 -0
  706. package/dist/components/features/filters/partials/regular-filter-content.d.ts +28 -0
  707. package/dist/components/features/filters/partials/search-filters-list.d.ts +25 -0
  708. package/dist/components/features/filters/partials/tags-filter-content.d.ts +28 -0
  709. package/dist/components/features/filters/utils/filter-utils.d.ts +37 -0
  710. package/dist/components/features/filters/validators.d.ts +63 -0
  711. package/dist/components/features/global-search/global-search-dialog.d.ts +13 -0
  712. package/dist/components/features/global-search/global-search.d.ts +52 -0
  713. package/dist/components/features/global-search/global-search.strings.d.ts +36 -0
  714. package/dist/components/features/global-search/global-search.types.d.ts +105 -0
  715. package/dist/components/features/global-search/hooks/index.d.ts +2 -0
  716. package/dist/components/features/global-search/hooks/use-global-search.d.ts +33 -0
  717. package/dist/components/features/global-search/index.d.ts +9 -0
  718. package/dist/components/features/global-search/partials/global-search-empty-state.d.ts +7 -0
  719. package/dist/components/features/global-search/partials/global-search-footer.d.ts +13 -0
  720. package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +12 -0
  721. package/dist/components/features/global-search/partials/global-search-input.d.ts +17 -0
  722. package/dist/components/features/global-search/partials/global-search-result-row.d.ts +16 -0
  723. package/dist/components/features/global-search/partials/global-search-tabs.d.ts +13 -0
  724. package/dist/components/features/global-search/partials/index.d.ts +12 -0
  725. package/dist/components/features/global-search/partials/tone-palettes.d.ts +8 -0
  726. package/dist/components/features/kanban/hooks/index.d.ts +1 -0
  727. package/dist/components/features/kanban/hooks/use-kanban.d.ts +32 -0
  728. package/dist/components/features/kanban/index.d.ts +5 -0
  729. package/dist/components/features/kanban/kanban-context.d.ts +25 -0
  730. package/dist/components/features/kanban/kanban-keyboard.d.ts +10 -0
  731. package/dist/components/features/kanban/kanban.d.ts +38 -0
  732. package/dist/components/features/kanban/kanban.strings.d.ts +24 -0
  733. package/dist/components/features/kanban/kanban.types.d.ts +168 -0
  734. package/dist/components/features/map/index.d.ts +13 -0
  735. package/dist/components/features/map/map.d.ts +166 -0
  736. package/dist/components/features/map/place-autocomplete.d.ts +97 -0
  737. package/dist/components/features/map/public-leaflet.types.d.ts +71 -0
  738. package/dist/components/features/map/use-map-color-scheme.d.ts +2 -0
  739. package/dist/components/features/media-library/hooks/index.d.ts +1 -0
  740. package/dist/components/features/media-library/hooks/use-media-library.d.ts +5 -0
  741. package/dist/components/features/media-library/index.d.ts +6 -0
  742. package/dist/components/features/media-library/media-library.d.ts +3 -0
  743. package/dist/components/features/media-library/media-library.strings.d.ts +124 -0
  744. package/dist/components/features/media-library/media-library.types.d.ts +568 -0
  745. package/dist/components/features/media-library/media-resource-gallery.d.ts +2 -0
  746. package/dist/components/features/media-library/partials/index.d.ts +1 -0
  747. package/dist/components/features/media-library/partials/media-library-partials.d.ts +10 -0
  748. package/dist/components/features/mentions/hooks/index.d.ts +2 -0
  749. package/dist/components/features/mentions/hooks/use-mentions-search.d.ts +41 -0
  750. package/dist/components/features/mentions/hooks/use-mentions.d.ts +35 -0
  751. package/dist/components/features/mentions/index.d.ts +5 -0
  752. package/dist/components/features/mentions/mentions.strings.d.ts +26 -0
  753. package/dist/components/features/mentions/mentions.types.d.ts +100 -0
  754. package/dist/components/features/mentions/partials/index.d.ts +4 -0
  755. package/dist/components/features/mentions/partials/mention-chip.d.ts +29 -0
  756. package/dist/components/features/mentions/partials/mention-content.d.ts +22 -0
  757. package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +36 -0
  758. package/dist/components/features/mentions/partials/mention-picker.d.ts +31 -0
  759. package/dist/components/features/mentions/utils/build-mention-html.d.ts +24 -0
  760. package/dist/components/features/mentions/utils/index.d.ts +3 -0
  761. package/dist/components/features/mentions/utils/parse-mentions-from-html.d.ts +13 -0
  762. package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +16 -0
  763. package/dist/components/features/overlays/alert-dialog.d.ts +4 -0
  764. package/dist/components/features/overlays/dialog.d.ts +4 -0
  765. package/dist/components/features/overlays/drawer.d.ts +4 -0
  766. package/dist/components/features/overlays/hooks/index.d.ts +2 -0
  767. package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +24 -0
  768. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +36 -0
  769. package/dist/components/features/overlays/index.d.ts +6 -0
  770. package/dist/components/features/overlays/overlays.strings.d.ts +19 -0
  771. package/dist/components/features/overlays/overlays.types.d.ts +169 -0
  772. package/dist/components/features/products/components/index.d.ts +17 -0
  773. package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
  774. package/dist/components/features/products/components/product-details-card.d.ts +5 -0
  775. package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
  776. package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
  777. package/dist/components/features/products/components/product-options-matrix.d.ts +5 -0
  778. package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
  779. package/dist/components/features/products/components/product-overview.d.ts +5 -0
  780. package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
  781. package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
  782. package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
  783. package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
  784. package/dist/components/features/products/components/product-variant-action-menu.d.ts +5 -0
  785. package/dist/components/features/products/components/product-variant-details.d.ts +5 -0
  786. package/dist/components/features/products/components/product-variant-editor.d.ts +5 -0
  787. package/dist/components/features/products/components/product-variants-bulk-table.d.ts +5 -0
  788. package/dist/components/features/products/components/product-variants-manager.d.ts +5 -0
  789. package/dist/components/features/products/components/product-variants-table.d.ts +5 -0
  790. package/dist/components/features/products/index.d.ts +3 -0
  791. package/dist/components/features/products/partials/index.d.ts +7 -0
  792. package/dist/components/features/products/partials/product-actions.d.ts +10 -0
  793. package/dist/components/features/products/partials/product-empty-state.d.ts +10 -0
  794. package/dist/components/features/products/partials/product-metric-tile.d.ts +4 -0
  795. package/dist/components/features/products/partials/product-rows.d.ts +35 -0
  796. package/dist/components/features/products/partials/product-tone.d.ts +8 -0
  797. package/dist/components/features/products/partials/product-values.d.ts +1 -0
  798. package/dist/components/features/products/partials/product-variant-table-parts.d.ts +28 -0
  799. package/dist/components/features/products/products.strings.d.ts +308 -0
  800. package/dist/components/features/products/products.types.d.ts +906 -0
  801. package/dist/components/features/questionnaire/index.d.ts +3 -0
  802. package/dist/components/features/questionnaire/questionnaire-control.d.ts +3 -0
  803. package/dist/components/features/questionnaire/questionnaire.d.ts +2 -0
  804. package/dist/components/features/questionnaire/questionnaire.types.d.ts +98 -0
  805. package/dist/components/features/questionnaire/questionnaire.utils.d.ts +5 -0
  806. package/dist/components/features/resource/index.d.ts +3 -0
  807. package/dist/components/features/resource/resource.d.ts +8 -0
  808. package/dist/components/features/resource/resource.strings.d.ts +12 -0
  809. package/dist/components/features/resource/resource.types.d.ts +161 -0
  810. package/dist/components/features/resource-assignment/hooks/index.d.ts +2 -0
  811. package/dist/components/features/resource-assignment/hooks/use-shared-resource-card.d.ts +32 -0
  812. package/dist/components/features/resource-assignment/index.d.ts +6 -0
  813. package/dist/components/features/resource-assignment/partials/default-shared-resource-partials.d.ts +31 -0
  814. package/dist/components/features/resource-assignment/partials/index.d.ts +1 -0
  815. package/dist/components/features/resource-assignment/resource-assignment.d.ts +12 -0
  816. package/dist/components/features/resource-assignment/resource-assignment.strings.d.ts +17 -0
  817. package/dist/components/features/resource-assignment/resource-assignment.types.d.ts +193 -0
  818. package/dist/components/features/rich-text-editor/form-rich-text-editor.d.ts +6 -0
  819. package/dist/components/features/rich-text-editor/index.d.ts +5 -0
  820. package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +28 -0
  821. package/dist/components/features/rich-text-editor/partials/counts-footer.d.ts +32 -0
  822. package/dist/components/features/rich-text-editor/partials/html-helpers.d.ts +7 -0
  823. package/dist/components/features/rich-text-editor/partials/index.d.ts +7 -0
  824. package/dist/components/features/rich-text-editor/partials/rich-text-editor-fallback.d.ts +8 -0
  825. package/dist/components/features/rich-text-editor/partials/rich-text-editor-tiptap.d.ts +3 -0
  826. package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +33 -0
  827. package/dist/components/features/rich-text-editor/rich-text-editor.d.ts +3 -0
  828. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +6 -0
  829. package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +32 -0
  830. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +111 -0
  831. package/dist/components/features/schema-form/hooks/index.d.ts +1 -0
  832. package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +23 -0
  833. package/dist/components/features/schema-form/index.d.ts +5 -0
  834. package/dist/components/features/schema-form/partials/index.d.ts +3 -0
  835. package/dist/components/features/schema-form/partials/schema-form-actions.d.ts +23 -0
  836. package/dist/components/features/schema-form/partials/schema-form-empty.d.ts +12 -0
  837. package/dist/components/features/schema-form/partials/schema-form-field.d.ts +12 -0
  838. package/dist/components/features/schema-form/schema-form.d.ts +5 -0
  839. package/dist/components/features/schema-form/schema-form.strings.d.ts +11 -0
  840. package/dist/components/features/schema-form/schema-form.types.d.ts +271 -0
  841. package/dist/components/features/schema-form/schema-form.utils.d.ts +18 -0
  842. package/dist/components/features/suggestions/hooks/index.d.ts +1 -0
  843. package/dist/components/features/suggestions/hooks/use-suggestions.d.ts +9 -0
  844. package/dist/components/features/suggestions/index.d.ts +4 -0
  845. package/dist/components/features/suggestions/suggestions.d.ts +5 -0
  846. package/dist/components/features/suggestions/suggestions.strings.d.ts +16 -0
  847. package/dist/components/features/suggestions/suggestions.types.d.ts +79 -0
  848. package/dist/components/features/sync/index.d.ts +3 -0
  849. package/dist/components/features/sync/sync-range-dialog-form.d.ts +5 -0
  850. package/dist/components/features/sync/sync.strings.d.ts +18 -0
  851. package/dist/components/features/sync/sync.types.d.ts +44 -0
  852. package/dist/components/features/table/column-visibility-toggle.d.ts +5 -0
  853. package/dist/components/features/table/data-table.d.ts +6 -0
  854. package/dist/components/features/table/filter-bar.d.ts +5 -0
  855. package/dist/components/features/table/hooks.d.ts +47 -0
  856. package/dist/components/features/table/index.d.ts +16 -0
  857. package/dist/components/features/table/pagination.d.ts +5 -0
  858. package/dist/components/features/table/partials/cell-renderers.d.ts +141 -0
  859. package/dist/components/features/table/partials/cell-value.d.ts +121 -0
  860. package/dist/components/features/table/partials/fullscreen-toggle.d.ts +16 -0
  861. package/dist/components/features/table/partials/resource-cell.d.ts +63 -0
  862. package/dist/components/features/table/partials/table-link.d.ts +3 -0
  863. package/dist/components/features/table/table-actions.d.ts +5 -0
  864. package/dist/components/features/table/table-body.d.ts +5 -0
  865. package/dist/components/features/table/table-header.d.ts +6 -0
  866. package/dist/components/features/table/table-helpers.d.ts +39 -0
  867. package/dist/components/features/table/table-toolbar.d.ts +5 -0
  868. package/dist/components/features/table/table.strings.d.ts +3 -0
  869. package/dist/components/features/table/table.types.d.ts +489 -0
  870. package/dist/components/features/theme-tweaker/admin-ui-theme-provider.d.ts +6 -0
  871. package/dist/components/features/theme-tweaker/index.d.ts +10 -0
  872. package/dist/components/features/theme-tweaker/theme-provider-settings.d.ts +49 -0
  873. package/dist/components/features/theme-tweaker/theme-scope.d.ts +7 -0
  874. package/dist/components/features/theme-tweaker/theme-tweaker.d.ts +2 -0
  875. package/dist/components/features/theme-tweaker/theme-tweaker.fields.d.ts +7 -0
  876. package/dist/components/features/theme-tweaker/theme-tweaker.recipes.d.ts +25 -0
  877. package/dist/components/features/theme-tweaker/theme-tweaker.strings.d.ts +75 -0
  878. package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +161 -0
  879. package/dist/components/features/theme-tweaker/theme-tweaker.utils.d.ts +23 -0
  880. package/dist/components/features/theme-tweaker/use-applied-theme.d.ts +11 -0
  881. package/dist/components/layout/app-shell/app-layout.d.ts +12 -0
  882. package/dist/components/layout/app-shell/app-shell.types.d.ts +151 -0
  883. package/dist/components/layout/app-shell/index.d.ts +6 -0
  884. package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +2 -0
  885. package/dist/components/layout/app-shell/stacked-layout.d.ts +2 -0
  886. package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +2 -0
  887. package/dist/components/layout/auth/auth-card.d.ts +2 -0
  888. package/dist/components/layout/auth/auth-footer-links.d.ts +2 -0
  889. package/dist/components/layout/auth/auth-form.d.ts +11 -0
  890. package/dist/components/layout/auth/auth-hooks.d.ts +4 -0
  891. package/dist/components/layout/auth/auth-method-switch.d.ts +4 -0
  892. package/dist/components/layout/auth/auth-shell.d.ts +2 -0
  893. package/dist/components/layout/auth/auth-social-providers.d.ts +3 -0
  894. package/dist/components/layout/auth/auth-split-panel.d.ts +2 -0
  895. package/dist/components/layout/auth/auth.strings.d.ts +21 -0
  896. package/dist/components/layout/auth/auth.types.d.ts +282 -0
  897. package/dist/components/layout/auth/index.d.ts +10 -0
  898. package/dist/components/layout/containers/container.recipes.d.ts +5 -0
  899. package/dist/components/layout/containers/containers.types.d.ts +17 -0
  900. package/dist/components/layout/containers/content-container.d.ts +3 -0
  901. package/dist/components/layout/containers/index.d.ts +5 -0
  902. package/dist/components/layout/containers/page-viewport.d.ts +3 -0
  903. package/dist/components/layout/containers/section.d.ts +3 -0
  904. package/dist/components/layout/containers/two-column-layout.d.ts +27 -0
  905. package/dist/components/layout/header/header.d.ts +2 -0
  906. package/dist/components/layout/header/header.types.d.ts +198 -0
  907. package/dist/components/layout/header/index.d.ts +9 -0
  908. package/dist/components/layout/header/partials/header-breadcrumbs.d.ts +4 -0
  909. package/dist/components/layout/header/partials/header-global-search-trigger.d.ts +2 -0
  910. package/dist/components/layout/header/partials/header-notifications.d.ts +2 -0
  911. package/dist/components/layout/header/partials/header-search.d.ts +2 -0
  912. package/dist/components/layout/header/partials/header-tool-button.d.ts +4 -0
  913. package/dist/components/layout/header/partials/header-tool-popover.d.ts +2 -0
  914. package/dist/components/layout/header/partials/header-user-menu.d.ts +2 -0
  915. package/dist/components/layout/hooks/index.d.ts +3 -0
  916. package/dist/components/layout/hooks/use-active-path.d.ts +1 -0
  917. package/dist/components/layout/hooks/use-command-shortcut.d.ts +7 -0
  918. package/dist/components/layout/hooks/use-layout-link.d.ts +2 -0
  919. package/dist/components/layout/index.d.ts +24 -0
  920. package/dist/components/layout/layout.types.d.ts +91 -0
  921. package/dist/components/layout/navigation/breadcrumb-progress/breadcrumb-progress.d.ts +5 -0
  922. package/dist/components/layout/navigation/breadcrumb-progress/index.d.ts +2 -0
  923. package/dist/components/layout/navigation/breadcrumb-progress/types.d.ts +24 -0
  924. package/dist/components/layout/navigation/category-nav/category-nav.d.ts +5 -0
  925. package/dist/components/layout/navigation/category-nav/index.d.ts +2 -0
  926. package/dist/components/layout/navigation/category-nav/types.d.ts +22 -0
  927. package/dist/components/layout/navigation/index.d.ts +17 -0
  928. package/dist/components/layout/navigation/section-nav/index.d.ts +1 -0
  929. package/dist/components/layout/navigation/section-nav/section-nav.d.ts +29 -0
  930. package/dist/components/layout/navigation/side-nav.d.ts +58 -0
  931. package/dist/components/layout/page/index.d.ts +4 -0
  932. package/dist/components/layout/page/page.d.ts +3 -0
  933. package/dist/components/layout/page/page.types.d.ts +138 -0
  934. package/dist/components/layout/page/partials/page-actions.d.ts +2 -0
  935. package/dist/components/layout/page/partials/page-header.d.ts +2 -0
  936. package/dist/components/layout/settings/index.d.ts +1 -0
  937. package/dist/components/layout/settings/settings.d.ts +65 -0
  938. package/dist/components/layout/sidebar/app-sidebar.d.ts +7 -0
  939. package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +4 -0
  940. package/dist/components/layout/sidebar/components/sidebar-logo.d.ts +10 -0
  941. package/dist/components/layout/sidebar/components/sidebar-navigation-footer.d.ts +2 -0
  942. package/dist/components/layout/sidebar/components/sidebar-navigation-user.d.ts +23 -0
  943. package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +4 -0
  944. package/dist/components/layout/sidebar/components/sidebar-workspace-dropdown.d.ts +2 -0
  945. package/dist/components/layout/sidebar/index.d.ts +11 -0
  946. package/dist/components/layout/sidebar/sidebar.context.d.ts +17 -0
  947. package/dist/components/layout/sidebar/sidebar.d.ts +9 -0
  948. package/dist/components/layout/sidebar/sidebar.types.d.ts +218 -0
  949. package/dist/components/layout/sidebar/sidebar.utils.d.ts +29 -0
  950. package/dist/components/layout/workspace/index.d.ts +3 -0
  951. package/dist/components/layout/workspace/workspace.d.ts +6 -0
  952. package/dist/components/layout/workspace/workspace.strings.d.ts +18 -0
  953. package/dist/components/layout/workspace/workspace.types.d.ts +141 -0
  954. package/dist/components/primitives/date.d.ts +63 -0
  955. package/dist/components/primitives/dimensions.d.ts +30 -0
  956. package/dist/components/primitives/duration.d.ts +23 -0
  957. package/dist/components/primitives/file-size.d.ts +23 -0
  958. package/dist/components/primitives/index.d.ts +11 -0
  959. package/dist/components/primitives/initials-format.d.ts +21 -0
  960. package/dist/components/primitives/initials.d.ts +16 -0
  961. package/dist/components/primitives/link.d.ts +28 -0
  962. package/dist/components/primitives/money.d.ts +79 -0
  963. package/dist/components/primitives/name.d.ts +16 -0
  964. package/dist/components/primitives/number.d.ts +23 -0
  965. package/dist/components/primitives/value.d.ts +23 -0
  966. package/dist/components/typography/content-typography.d.ts +4 -0
  967. package/dist/components/typography/display-label.d.ts +5 -0
  968. package/dist/components/typography/heading.d.ts +16 -0
  969. package/dist/components/typography/index.d.ts +10 -0
  970. package/dist/components/typography/label.d.ts +8 -0
  971. package/dist/components/typography/rich-text/index.d.ts +2 -0
  972. package/dist/components/typography/rich-text/rich-text.d.ts +6 -0
  973. package/dist/components/typography/text-link.d.ts +7 -0
  974. package/dist/components/typography/text.d.ts +17 -0
  975. package/dist/components/typography/text.styles.d.ts +50 -0
  976. package/dist/components/ui/accordion.d.ts +6 -0
  977. package/dist/components/ui/alert-dialog.d.ts +21 -0
  978. package/dist/components/ui/avatar.d.ts +11 -0
  979. package/dist/components/ui/badge.d.ts +5 -0
  980. package/dist/components/ui/breadcrumb.d.ts +11 -0
  981. package/dist/components/ui/button-group.d.ts +12 -0
  982. package/dist/components/ui/button.d.ts +12 -0
  983. package/dist/components/ui/calendar.d.ts +10 -0
  984. package/dist/components/ui/card.d.ts +11 -0
  985. package/dist/components/ui/checkbox.d.ts +6 -0
  986. package/dist/components/ui/collapsible.d.ts +9 -0
  987. package/dist/components/ui/combobox.d.ts +40 -0
  988. package/dist/components/ui/command.d.ts +50 -0
  989. package/dist/components/ui/dialog.d.ts +26 -0
  990. package/dist/components/ui/disclosure-panel.d.ts +14 -0
  991. package/dist/components/ui/empty.d.ts +11 -0
  992. package/dist/components/ui/input-group.d.ts +18 -0
  993. package/dist/components/ui/input.d.ts +3 -0
  994. package/dist/components/ui/item.d.ts +22 -0
  995. package/dist/components/ui/overlay.recipes.d.ts +2 -0
  996. package/dist/components/ui/pagination.d.ts +17 -0
  997. package/dist/components/ui/popover.d.ts +22 -0
  998. package/dist/components/ui/select.d.ts +18 -0
  999. package/dist/components/ui/separator.d.ts +3 -0
  1000. package/dist/components/ui/sheet.d.ts +25 -0
  1001. package/dist/components/ui/sidebar.d.ts +64 -0
  1002. package/dist/components/ui/skeleton.d.ts +2 -0
  1003. package/dist/components/ui/slot.d.ts +6 -0
  1004. package/dist/components/ui/sonner.d.ts +3 -0
  1005. package/dist/components/ui/switch.d.ts +5 -0
  1006. package/dist/components/ui/table.d.ts +13 -0
  1007. package/dist/components/ui/tabs.d.ts +10 -0
  1008. package/dist/components/ui/textarea.d.ts +3 -0
  1009. package/dist/components/ui/toggle-group.d.ts +12 -0
  1010. package/dist/components/ui/toggle.d.ts +8 -0
  1011. package/dist/components/ui/tooltip.d.ts +13 -0
  1012. package/dist/containers-CPNyNo1_.js +124 -0
  1013. package/dist/containers-CPNyNo1_.js.map +1 -0
  1014. package/dist/content-typography-CnwgMJ37.js +6 -0
  1015. package/dist/content-typography-CnwgMJ37.js.map +1 -0
  1016. package/dist/copyable-B7SBXJMr.js +65 -0
  1017. package/dist/copyable-B7SBXJMr.js.map +1 -0
  1018. package/dist/data-display-b3d1TfL4.js +1129 -0
  1019. package/dist/data-display-b3d1TfL4.js.map +1 -0
  1020. package/dist/date-BFNMnrS5.js +140 -0
  1021. package/dist/date-BFNMnrS5.js.map +1 -0
  1022. package/dist/date-picker-DI6kPNof.js +1521 -0
  1023. package/dist/date-picker-DI6kPNof.js.map +1 -0
  1024. package/dist/date-pickers-ByP6Cv2z.js +224 -0
  1025. package/dist/date-pickers-ByP6Cv2z.js.map +1 -0
  1026. package/dist/disclosure-panel-B0HFNZ9x.js +35 -0
  1027. package/dist/disclosure-panel-B0HFNZ9x.js.map +1 -0
  1028. package/dist/display-ByI5tkqy.js +343 -0
  1029. package/dist/display-ByI5tkqy.js.map +1 -0
  1030. package/dist/dropdown-menu-BlnyHr-9.js +186 -0
  1031. package/dist/dropdown-menu-BlnyHr-9.js.map +1 -0
  1032. package/dist/editable-text-recipe-Bkm6wKHp.js +10 -0
  1033. package/dist/editable-text-recipe-Bkm6wKHp.js.map +1 -0
  1034. package/dist/favicon.svg +1 -0
  1035. package/dist/features/activities.js +1360 -0
  1036. package/dist/features/activities.js.map +1 -0
  1037. package/dist/features/ai-chat.js +567 -0
  1038. package/dist/features/ai-chat.js.map +1 -0
  1039. package/dist/features/async-preview.js +478 -0
  1040. package/dist/features/async-preview.js.map +1 -0
  1041. package/dist/features/combobox.js +3 -0
  1042. package/dist/features/comments.js +3 -0
  1043. package/dist/features/data-view.js +519 -0
  1044. package/dist/features/data-view.js.map +1 -0
  1045. package/dist/features/email-composer/engine.js +2 -0
  1046. package/dist/features/email-composer.js +1099 -0
  1047. package/dist/features/email-composer.js.map +1 -0
  1048. package/dist/features/event-calendar.js +711 -0
  1049. package/dist/features/event-calendar.js.map +1 -0
  1050. package/dist/features/filters.js +3 -0
  1051. package/dist/features/global-search.js +593 -0
  1052. package/dist/features/global-search.js.map +1 -0
  1053. package/dist/features/kanban.js +425 -0
  1054. package/dist/features/kanban.js.map +1 -0
  1055. package/dist/features/map/images/layers-2x.png +0 -0
  1056. package/dist/features/map/images/layers.png +0 -0
  1057. package/dist/features/map/images/marker-icon-2x.png +0 -0
  1058. package/dist/features/map/images/marker-icon.png +0 -0
  1059. package/dist/features/map/images/marker-shadow.png +0 -0
  1060. package/dist/features/map/images/spritesheet-2x.png +0 -0
  1061. package/dist/features/map/images/spritesheet.png +0 -0
  1062. package/dist/features/map/images/spritesheet.svg +156 -0
  1063. package/dist/features/map/style.css +809 -0
  1064. package/dist/features/map.js +1052 -0
  1065. package/dist/features/map.js.map +1 -0
  1066. package/dist/features/media-library.js +2007 -0
  1067. package/dist/features/media-library.js.map +1 -0
  1068. package/dist/features/mentions.js +3 -0
  1069. package/dist/features/overlays.js +3 -0
  1070. package/dist/features/products.js +3076 -0
  1071. package/dist/features/products.js.map +1 -0
  1072. package/dist/features/questionnaire.js +365 -0
  1073. package/dist/features/questionnaire.js.map +1 -0
  1074. package/dist/features/resource-assignment.js +317 -0
  1075. package/dist/features/resource-assignment.js.map +1 -0
  1076. package/dist/features/resource.js +254 -0
  1077. package/dist/features/resource.js.map +1 -0
  1078. package/dist/features/rich-text-editor.js +23 -0
  1079. package/dist/features/rich-text-editor.js.map +1 -0
  1080. package/dist/features/schema-form.js +744 -0
  1081. package/dist/features/schema-form.js.map +1 -0
  1082. package/dist/features/suggestions.js +149 -0
  1083. package/dist/features/suggestions.js.map +1 -0
  1084. package/dist/features/sync.js +136 -0
  1085. package/dist/features/sync.js.map +1 -0
  1086. package/dist/features/table.js +3 -0
  1087. package/dist/features/theme-tweaker.js +2083 -0
  1088. package/dist/features/theme-tweaker.js.map +1 -0
  1089. package/dist/feedback-a9j9J-9A.js +391 -0
  1090. package/dist/feedback-a9j9J-9A.js.map +1 -0
  1091. package/dist/field-affordance-recipes-CHdUtn2Z.js +17 -0
  1092. package/dist/field-affordance-recipes-CHdUtn2Z.js.map +1 -0
  1093. package/dist/field-state-recipes-CBTRt9Bt.js +11 -0
  1094. package/dist/field-state-recipes-CBTRt9Bt.js.map +1 -0
  1095. package/dist/filters-qtrcv1hf.js +2203 -0
  1096. package/dist/filters-qtrcv1hf.js.map +1 -0
  1097. package/dist/form-field-C6W-y2hR.js +48 -0
  1098. package/dist/form-field-C6W-y2hR.js.map +1 -0
  1099. package/dist/form-sizing-39NohSqn.js +99 -0
  1100. package/dist/form-sizing-39NohSqn.js.map +1 -0
  1101. package/dist/format-iamDSqs2.js +110 -0
  1102. package/dist/format-iamDSqs2.js.map +1 -0
  1103. package/dist/forms-BF-HSbff.js +194 -0
  1104. package/dist/forms-BF-HSbff.js.map +1 -0
  1105. package/dist/forms-numeric-Y15Bg5Nr.js +867 -0
  1106. package/dist/forms-numeric-Y15Bg5Nr.js.map +1 -0
  1107. package/dist/header-B8ex54cY.js +452 -0
  1108. package/dist/header-B8ex54cY.js.map +1 -0
  1109. package/dist/hooks/use-debounce.d.ts +1 -0
  1110. package/dist/hooks/use-debounced-callback.d.ts +40 -0
  1111. package/dist/hooks/use-files.d.ts +48 -0
  1112. package/dist/hooks/use-mobile.d.ts +2 -0
  1113. package/dist/hooks/useFormErrors.d.ts +7 -0
  1114. package/dist/hooks-D6UBVzf2.js +88 -0
  1115. package/dist/hooks-D6UBVzf2.js.map +1 -0
  1116. package/dist/http-CLTVJc5I.js +331 -0
  1117. package/dist/http-CLTVJc5I.js.map +1 -0
  1118. package/dist/icon-badge-Dv0RYQwj.js +53 -0
  1119. package/dist/icon-badge-Dv0RYQwj.js.map +1 -0
  1120. package/dist/icon-size-B6PVwjbC.js +18 -0
  1121. package/dist/icon-size-B6PVwjbC.js.map +1 -0
  1122. package/dist/index.d.ts +14 -0
  1123. package/dist/index.js +7 -0
  1124. package/dist/initials-format-CDoQEOd_.js +35 -0
  1125. package/dist/initials-format-CDoQEOd_.js.map +1 -0
  1126. package/dist/input-DMorJiTI.js +202 -0
  1127. package/dist/input-DMorJiTI.js.map +1 -0
  1128. package/dist/input-ci9fIgFH.js +20 -0
  1129. package/dist/input-ci9fIgFH.js.map +1 -0
  1130. package/dist/item-pJ0GsOiJ.js +257 -0
  1131. package/dist/item-pJ0GsOiJ.js.map +1 -0
  1132. package/dist/layout/app-shell.js +3 -0
  1133. package/dist/layout/auth.js +3 -0
  1134. package/dist/layout/containers.js +3 -0
  1135. package/dist/layout/header.js +3 -0
  1136. package/dist/layout/hooks.js +3 -0
  1137. package/dist/layout/navigation.js +3 -0
  1138. package/dist/layout/page.js +3 -0
  1139. package/dist/layout/settings.js +3 -0
  1140. package/dist/layout/sidebar.js +4 -0
  1141. package/dist/layout/workspace.js +3 -0
  1142. package/dist/layout.js +13 -0
  1143. package/dist/layout.types-Cn7aUzJp.js +20 -0
  1144. package/dist/layout.types-Cn7aUzJp.js.map +1 -0
  1145. package/dist/lib/action-presentation.d.ts +15 -0
  1146. package/dist/lib/affordance-geometry.generated.d.ts +18 -0
  1147. package/dist/lib/anchored-positioning.d.ts +5 -0
  1148. package/dist/lib/command-filter.d.ts +1 -0
  1149. package/dist/lib/component-vocabulary.d.ts +12 -0
  1150. package/dist/lib/editable-text-recipe.d.ts +6 -0
  1151. package/dist/lib/email-composer.d.ts +6 -0
  1152. package/dist/lib/field-affordance-recipes.d.ts +20 -0
  1153. package/dist/lib/field-state-recipes.d.ts +10 -0
  1154. package/dist/lib/format.d.ts +53 -0
  1155. package/dist/lib/motion-recipes.d.ts +8 -0
  1156. package/dist/lib/navigation-row-recipes.d.ts +26 -0
  1157. package/dist/lib/overlay-anatomy-recipes.d.ts +8 -0
  1158. package/dist/lib/row-recipes.d.ts +3 -0
  1159. package/dist/lib/sanitize-html.d.ts +8 -0
  1160. package/dist/lib/strings.d.ts +16 -0
  1161. package/dist/lib/strings.js +32 -0
  1162. package/dist/lib/strings.js.map +1 -0
  1163. package/dist/lib/surface-recipes.d.ts +27 -0
  1164. package/dist/lib/theme-scope.d.ts +31 -0
  1165. package/dist/lib/token-merge.generated.d.ts +2 -0
  1166. package/dist/lib/track-recipes.d.ts +4 -0
  1167. package/dist/lib/ui-provider/defaults.d.ts +12 -0
  1168. package/dist/lib/ui-provider/hooks.d.ts +13 -0
  1169. package/dist/lib/ui-provider/index.d.ts +28 -0
  1170. package/dist/lib/ui-provider/provider.d.ts +15 -0
  1171. package/dist/lib/ui-provider/scale.d.ts +5 -0
  1172. package/dist/lib/ui-provider/store.d.ts +11 -0
  1173. package/dist/lib/ui-provider/types.d.ts +157 -0
  1174. package/dist/lib/utils.d.ts +2 -0
  1175. package/dist/lib/utils.js +2 -0
  1176. package/dist/map-demo-tile.svg +1 -0
  1177. package/dist/media-gallery-Ca4YmvBi.js +200 -0
  1178. package/dist/media-gallery-Ca4YmvBi.js.map +1 -0
  1179. package/dist/mentions-CRio8mTm.js +563 -0
  1180. package/dist/mentions-CRio8mTm.js.map +1 -0
  1181. package/dist/message-B5-6LeYl.js +108 -0
  1182. package/dist/message-B5-6LeYl.js.map +1 -0
  1183. package/dist/motion-recipes-B6jKXEcN.js +27 -0
  1184. package/dist/motion-recipes-B6jKXEcN.js.map +1 -0
  1185. package/dist/navigation-BTrEb5u4.js +267 -0
  1186. package/dist/navigation-BTrEb5u4.js.map +1 -0
  1187. package/dist/navigation-DqEITuD2.js +265 -0
  1188. package/dist/navigation-DqEITuD2.js.map +1 -0
  1189. package/dist/navigation-row-recipes-BFpvGPGE.js +29 -0
  1190. package/dist/navigation-row-recipes-BFpvGPGE.js.map +1 -0
  1191. package/dist/number-BNT_BIzJ.js +269 -0
  1192. package/dist/number-BNT_BIzJ.js.map +1 -0
  1193. package/dist/overlay.recipes-BxW5FIfK.js +6 -0
  1194. package/dist/overlay.recipes-BxW5FIfK.js.map +1 -0
  1195. package/dist/overlays-DBqV0J_V.js +982 -0
  1196. package/dist/overlays-DBqV0J_V.js.map +1 -0
  1197. package/dist/page-BMBGjJY8.js +202 -0
  1198. package/dist/page-BMBGjJY8.js.map +1 -0
  1199. package/dist/page-header-BH41wCyY.js +112 -0
  1200. package/dist/page-header-BH41wCyY.js.map +1 -0
  1201. package/dist/pagination-C29vvt3I.js +149 -0
  1202. package/dist/pagination-C29vvt3I.js.map +1 -0
  1203. package/dist/popover-TInGXsjg.js +194 -0
  1204. package/dist/popover-TInGXsjg.js.map +1 -0
  1205. package/dist/popover-menu-BzqXqE72.js +99 -0
  1206. package/dist/popover-menu-BzqXqE72.js.map +1 -0
  1207. package/dist/popover.recipes-zgBhMlUu.js +34 -0
  1208. package/dist/popover.recipes-zgBhMlUu.js.map +1 -0
  1209. package/dist/primitives-DKPOGVpj.js +330 -0
  1210. package/dist/primitives-DKPOGVpj.js.map +1 -0
  1211. package/dist/primitives.js +7 -0
  1212. package/dist/receipt-DYWTQGEc.js +113 -0
  1213. package/dist/receipt-DYWTQGEc.js.map +1 -0
  1214. package/dist/rich-text-B7sBAdDG.js +32 -0
  1215. package/dist/rich-text-B7sBAdDG.js.map +1 -0
  1216. package/dist/rich-text-editor-BZSJchAF.js +575 -0
  1217. package/dist/rich-text-editor-BZSJchAF.js.map +1 -0
  1218. package/dist/rich-text-editor.recipes-DxvOE0Lp.js +72 -0
  1219. package/dist/rich-text-editor.recipes-DxvOE0Lp.js.map +1 -0
  1220. package/dist/rich-text-editor.strings-BpnIQgMl.js +25 -0
  1221. package/dist/rich-text-editor.strings-BpnIQgMl.js.map +1 -0
  1222. package/dist/row-recipes-DL8n7t_b.js +10 -0
  1223. package/dist/row-recipes-DL8n7t_b.js.map +1 -0
  1224. package/dist/sanitize-html-BG9FGe-j.js +64 -0
  1225. package/dist/sanitize-html-BG9FGe-j.js.map +1 -0
  1226. package/dist/scroll-area-BheMQ270.js +47 -0
  1227. package/dist/scroll-area-BheMQ270.js.map +1 -0
  1228. package/dist/select-B2mb-qN2.js +108 -0
  1229. package/dist/select-B2mb-qN2.js.map +1 -0
  1230. package/dist/separator-DO0EbCEm.js +17 -0
  1231. package/dist/separator-DO0EbCEm.js.map +1 -0
  1232. package/dist/separator-Gk_WXH-l.js +21 -0
  1233. package/dist/separator-Gk_WXH-l.js.map +1 -0
  1234. package/dist/services/actions/action-adapters.d.ts +77 -0
  1235. package/dist/services/actions/action-overlay-outlet.d.ts +3 -0
  1236. package/dist/services/actions/action-provider.d.ts +7 -0
  1237. package/dist/services/actions/action-scope.d.ts +3 -0
  1238. package/dist/services/actions/action-store.d.ts +55 -0
  1239. package/dist/services/actions/actions.strings.d.ts +2 -0
  1240. package/dist/services/actions/actions.types.d.ts +322 -0
  1241. package/dist/services/actions/hooks.d.ts +8 -0
  1242. package/dist/services/actions/index.d.ts +8 -0
  1243. package/dist/services/actions.js +811 -0
  1244. package/dist/services/actions.js.map +1 -0
  1245. package/dist/settings-D9f_wdIC.js +160 -0
  1246. package/dist/settings-D9f_wdIC.js.map +1 -0
  1247. package/dist/sheet-vOUloJ4O.js +205 -0
  1248. package/dist/sheet-vOUloJ4O.js.map +1 -0
  1249. package/dist/sidebar-C3UKkbC5.js +501 -0
  1250. package/dist/sidebar-C3UKkbC5.js.map +1 -0
  1251. package/dist/sidebar-CNBKFDRW.js +598 -0
  1252. package/dist/sidebar-CNBKFDRW.js.map +1 -0
  1253. package/dist/skeleton-BvRhK8y-.js +264 -0
  1254. package/dist/skeleton-BvRhK8y-.js.map +1 -0
  1255. package/dist/slot-CLF9kLrS.js +16 -0
  1256. package/dist/slot-CLF9kLrS.js.map +1 -0
  1257. package/dist/smart-card-B5FcKODh.js +577 -0
  1258. package/dist/smart-card-B5FcKODh.js.map +1 -0
  1259. package/dist/spinner-JtlFJ7Nc.js +78 -0
  1260. package/dist/spinner-JtlFJ7Nc.js.map +1 -0
  1261. package/dist/structure-BvW4vG4H.js +95 -0
  1262. package/dist/structure-BvW4vG4H.js.map +1 -0
  1263. package/dist/structure.recipes-DjqnBpwz.js +548 -0
  1264. package/dist/structure.recipes-DjqnBpwz.js.map +1 -0
  1265. package/dist/style.css +3 -0
  1266. package/dist/surface-recipes-CQfRr-VL.js +27 -0
  1267. package/dist/surface-recipes-CQfRr-VL.js.map +1 -0
  1268. package/dist/table-DnlAJ-xR.js +146 -0
  1269. package/dist/table-DnlAJ-xR.js.map +1 -0
  1270. package/dist/table-ghtAQ-JJ.js +1424 -0
  1271. package/dist/table-ghtAQ-JJ.js.map +1 -0
  1272. package/dist/tabs-DY09eoZg.js +187 -0
  1273. package/dist/tabs-DY09eoZg.js.map +1 -0
  1274. package/dist/text-inputs-BhOcedTo.js +331 -0
  1275. package/dist/text-inputs-BhOcedTo.js.map +1 -0
  1276. package/dist/text.styles-BwB7vAF2.js +64 -0
  1277. package/dist/text.styles-BwB7vAF2.js.map +1 -0
  1278. package/dist/theme-scope-kStaAer0.js +39 -0
  1279. package/dist/theme-scope-kStaAer0.js.map +1 -0
  1280. package/dist/theme.css +872 -0
  1281. package/dist/timelines-CnZ2S_Gr.js +446 -0
  1282. package/dist/timelines-CnZ2S_Gr.js.map +1 -0
  1283. package/dist/track-recipes-LLPNVwFg.js +10 -0
  1284. package/dist/track-recipes-LLPNVwFg.js.map +1 -0
  1285. package/dist/tree-COD9BGdU.js +185 -0
  1286. package/dist/tree-COD9BGdU.js.map +1 -0
  1287. package/dist/types/index.d.ts +11 -0
  1288. package/dist/types/locale.types.d.ts +7 -0
  1289. package/dist/types/pagination.types.d.ts +24 -0
  1290. package/dist/typography/rich-text.js +3 -0
  1291. package/dist/typography-Cv8MT-82.js +96 -0
  1292. package/dist/typography-Cv8MT-82.js.map +1 -0
  1293. package/dist/typography.js +3 -0
  1294. package/dist/ui-provider-CftIB6TY.js +128 -0
  1295. package/dist/ui-provider-CftIB6TY.js.map +1 -0
  1296. package/dist/ui-provider.js +4 -0
  1297. package/dist/upload-DIzw1dx1.js +849 -0
  1298. package/dist/upload-DIzw1dx1.js.map +1 -0
  1299. package/dist/upload-queue-xRJ3qDmd.js +410 -0
  1300. package/dist/upload-queue-xRJ3qDmd.js.map +1 -0
  1301. package/dist/use-debounce-DZ_1ZBPa.js +18 -0
  1302. package/dist/use-debounce-DZ_1ZBPa.js.map +1 -0
  1303. package/dist/use-debounced-callback-Cx1h-hdv.js +30 -0
  1304. package/dist/use-debounced-callback-Cx1h-hdv.js.map +1 -0
  1305. package/dist/use-file-drop-target-BX7GnhoQ.js +39 -0
  1306. package/dist/use-file-drop-target-BX7GnhoQ.js.map +1 -0
  1307. package/dist/use-mobile-vaLKwgyf.js +15 -0
  1308. package/dist/use-mobile-vaLKwgyf.js.map +1 -0
  1309. package/dist/utils-C2EKeIw3.js +72 -0
  1310. package/dist/utils-C2EKeIw3.js.map +1 -0
  1311. package/dist/value-inputs-Co1fu-xv.js +824 -0
  1312. package/dist/value-inputs-Co1fu-xv.js.map +1 -0
  1313. package/dist/workspace-Cbqz4FzN.js +402 -0
  1314. package/dist/workspace-Cbqz4FzN.js.map +1 -0
  1315. package/docs/consumer-skill/SKILL.md +32 -0
  1316. package/docs/consumer-skill/examples/app-layout.tsx +31 -0
  1317. package/docs/consumer-skill/examples/composition.tsx +37 -0
  1318. package/docs/consumer-skill/examples/content-workflow.tsx +13 -0
  1319. package/docs/consumer-skill/examples/destructive-confirm.tsx +42 -0
  1320. package/docs/consumer-skill/examples/detail.tsx +28 -0
  1321. package/docs/consumer-skill/examples/edit.tsx +61 -0
  1322. package/docs/consumer-skill/examples/email-composer.tsx +25 -0
  1323. package/docs/consumer-skill/examples/hierarchy-capture.tsx +25 -0
  1324. package/docs/consumer-skill/examples/index-table.tsx +36 -0
  1325. package/docs/consumer-skill/examples/manifest.json +94 -0
  1326. package/docs/consumer-skill/examples/receipt.tsx +19 -0
  1327. package/docs/consumer-skill/references/composition.md +170 -0
  1328. package/docs/consumer-skill/references/design-contract.md +145 -0
  1329. package/docs/consumer-skill/references/discovery.md +33 -0
  1330. package/docs/consumer-skill/references/installation.md +66 -0
  1331. package/docs/consumer-skill/references/integration.md +57 -0
  1332. package/docs/consumer-skill/references/public-api.json +17527 -0
  1333. package/docs/consumer-skill/references/theming.md +56 -0
  1334. package/docs/consumer-skill/references/tokens.json +422 -0
  1335. package/docs/consumer-skill/references/workflows.md +39 -0
  1336. package/docs/consumer-skill/scripts/discovery.mjs +79 -0
  1337. package/docs/consumer-skill/scripts/find-components.mjs +11 -0
  1338. package/package.json +621 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smart-card-B5FcKODh.js","names":["Card","CardHeader","CardTitle","CardDescription","CardContent","CardFooter","styles","styles","CardPrimitive","CardHeaderPrimitive","CardTitlePrimitive","CardDescriptionPrimitive","CardContentPrimitive","CardFooterPrimitive","resolveComponentScale","useCardConfig","useDensityConfig","cn","TooltipTrigger","Button","Tooltip","TooltipContent","Text","Stack","ICON_CHILD_SIZE_CLASSNAMES","surfaceDividerRecipes","ActionMenu","alertVariants","cva","isSimpleText","value","Alert","forwardRef","props","tone","variant","className","AlertTitle","children","AlertDescription","AlertMetadata","AlertMetadataItem","icon","label","AlertAction","Card$1","size","CardHeader$1","CardTitle$1","CardDescription$1","CardContent$1","CardFooter$1","cardRecipes","CARD_BEM","CARD_INSET","SURFACE_CLASSES","hasRenderableContent","content","isValidElement","Fragment","CARD_TITLE_SIZE_CLASSES","CARD_TITLE_TEXT_SIZE","CardShell","CardHeader","textGap","CardTitle","sizeProp","defaultScale","CardDescription","CardContent","CardFooter","SmartCardAlert","hasHeader","alertTone","alert","SurfaceTitle","title","dataSlot","suffix","suffixClassName","ActionsMenu","actionDefinitions","actions","action","index","MoreHorizontal","actionsLabel","TooltipTrigger_Info","passthrough","triggerProps","tooltipLabel","Info","SmartCardHeaderRow","cardActions","hasActions","hasIcon","hasTitle","hasTitleSuffix","titleSuffix","hasDescription","description","hasTooltip","tooltip","hasHeaderStart","headerStart","hasHeaderEnd","headerEnd","hasHeaderAction","headerAction","showTitleRow","showTrailing","titleSize","defaultSmartCardStrings","Card","expandedProp","stringsProp","rootProps","resolvedTitleSize","inset","padding","vertical","tokens","framedHeader","headerPlacement","strings","useStrings","resolvedActionsLabel","isExpandable","expandable","collapsedMaxHeightRaw","collapsedMaxHeight","isExpandedControlled","internalExpanded","setInternalExpanded","useState","defaultExpanded","expanded","handleToggle","useCallback","next","onExpandedChange","hasAlert","hasFooterText","footerText","hasFooterSlot","footerSlot","hasContentTop","contentTop","hasContentBottom","contentBottom","hasBody","headerFooterOnly","tooltipAriaLabel","collapseStyle","resolvedSurface","surface","defaultSurface","resolvedHeaderDivider","headerDivider","defaultHeaderDivider","sharedHeaderFooterDivider","footerDivider","headerClassName","contentClassName","contentGap","footerClassName","ChevronDown","SmartCard"],"sources":["../src/components/base/feedback/alert.tsx","../src/components/ui/card.tsx","../src/components/base/cards/card.recipes.ts","../src/components/base/cards/smart-card.tokens.ts","../src/components/base/cards/partials/has-renderable-content.ts","../src/components/base/cards/partials/card-primitives.tsx","../src/components/base/cards/partials/smart-card-alert.tsx","../src/components/base/display/surface-title.tsx","../src/components/base/cards/partials/smart-card-actions-menu.tsx","../src/components/base/cards/partials/smart-card-header-row.tsx","../src/components/base/cards/smart-card.strings.ts","../src/components/base/cards/smart-card.tsx"],"sourcesContent":["/**\n * Alert — base notice primitive with semantic variants and responsive actions.\n *\n * Package-owned notice inspired by ReUI's alert layout. Consumers import this\n * base alert for the library's typography, token, and DOM-hook contract.\n */\nimport {\n\tforwardRef,\n\ttype ComponentPropsWithoutRef,\n\ttype ReactNode,\n} from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { Text } from '../../typography';\nimport { Stack } from '../structure';\nimport { cn } from '../../../lib/utils';\nimport { ICON_CHILD_SIZE_CLASSNAMES } from '../display/icon-size';\nimport type { SemanticTone } from '../../../lib/component-vocabulary';\n\nconst alertVariants = cva(\n\t[\n\t\t'alert--component relative grid w-full grid-cols-[0_1fr] items-start gap-y-normal rounded-radius border p-surface text-left',\n\t\t'has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-space-sm',\n\t\t'has-[>[data-slot=alert-action]]:sm:grid-cols-[0_minmax(0,1fr)_auto] has-[>svg]:has-[>[data-slot=alert-action]]:sm:grid-cols-[auto_minmax(0,1fr)_auto] has-[>[data-slot=alert-action]]:gap-x-space-sm',\n\t\t'[&>svg]:row-span-2 [&>svg]:mt-[calc((1em*1.375-var(--spacing-icon))/2)] [&>svg]:shrink-0',\n\t\tICON_CHILD_SIZE_CLASSNAMES.md,\n\t],\n\t{\n\t\tvariants: {\n\t\t\ttone: {\n\t\t\t\tneutral: 'border-border bg-card text-card-foreground',\n\t\t\t\tprimary: 'border-primary/30 bg-primary/5 text-card-foreground [&>svg]:text-primary-accent',\n\t\t\t\tsecondary: 'border-border bg-secondary/40 text-card-foreground [&>svg]:text-secondary-foreground',\n\t\t\t\tinfo: 'border-info/30 bg-info/5 text-card-foreground [&>svg]:text-info',\n\t\t\t\tsuccess: 'border-success/30 bg-success/10 text-card-foreground [&>svg]:text-success',\n\t\t\t\twarning: 'border-warning/40 bg-warning/10 text-card-foreground [&>svg]:text-warning',\n\t\t\t\tdestructive: 'border-destructive/30 bg-destructive/5 text-card-foreground [&>svg]:text-destructive',\n\t\t\t},\n\t\t\tvariant: {\n\t\t\t\tdefault: '',\n\t\t\t\tinverse: [\n\t\t\t\t\t'border-foreground bg-foreground text-background',\n\t\t\t\t\t'[&>svg]:text-background',\n\t\t\t\t\t'[&_[data-slot=alert-title]_[data-typography=text]]:text-background',\n\t\t\t\t\t'[&_[data-slot=alert-description]_[data-typography=text]]:text-background/75',\n\t\t\t\t\t'[&_[data-slot=alert-metadata-item]]:bg-background/10',\n\t\t\t\t\t'[&_[data-slot=alert-metadata-item]>svg]:text-background/70',\n\t\t\t\t\t'[&_[data-slot=alert-metadata-label]_[data-typography=text]]:text-background/70',\n\t\t\t\t\t'[&_[data-slot=alert-metadata-value]_[data-typography=text]]:text-background',\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\ttone: 'neutral',\n\t\t\tvariant: 'default',\n\t\t},\n\t},\n);\n\nexport type AlertVariant = NonNullable<VariantProps<typeof alertVariants>['variant']>;\nexport type AlertTone = SemanticTone;\n\nexport interface AlertProps\n\textends ComponentPropsWithoutRef<'div'>,\n\t\tVariantProps<typeof alertVariants> {}\n\nfunction isSimpleText(value: ReactNode): value is string | number | bigint {\n\treturn typeof value === 'string' || typeof value === 'number' || typeof value === 'bigint';\n}\n\nconst Alert = forwardRef<HTMLDivElement, AlertProps>(function Alert(\n\t{ className, tone, variant, role = 'alert', ...props },\n\tref,\n) {\n\treturn (\n\t\t<div\n\t\t\tref={ref}\n\t\t\tdata-slot=\"alert\"\n\t\t\tdata-tone={tone ?? 'neutral'}\n\t\t\tdata-variant={variant ?? 'default'}\n\t\t\trole={role}\n\t\t\tclassName={cn(alertVariants({ tone, variant }), className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n});\nAlert.displayName = 'Alert';\n\nconst AlertTitle = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<'div'>>(\n\tfunction AlertTitle({ className, children, ...props }, ref) {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={ref}\n\t\t\t\tdata-slot=\"alert-title\"\n\t\t\t\tclassName={cn(\n\t\t\t\t\t'alert--title col-start-2 min-h-icon leading-snug [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:opacity-80',\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{isSimpleText(children) ? (\n\t\t\t\t\t<Text tag=\"span\" weight=\"semibold\" lineHeight=\"snug\">\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</Text>\n\t\t\t\t) : children}\n\t\t\t</div>\n\t\t);\n\t},\n);\nAlertTitle.displayName = 'AlertTitle';\n\nconst AlertDescription = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<'div'>>(\n\tfunction AlertDescription({ className, children, ...props }, ref) {\n\t\treturn (\n\t\t\t<Stack\n\t\t\t\tref={ref}\n\t\t\t\tdata-slot=\"alert-description\"\n\t\t\t\tgap=\"xs\"\n\t\t\t\talign=\"start\"\n\t\t\t\tclassName={cn(\n\t\t\t\t\t'alert--description col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:opacity-80 [&_p]:leading-relaxed',\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{isSimpleText(children) ? (\n\t\t\t\t\t<Text tag=\"span\" type=\"secondary\">\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</Text>\n\t\t\t\t) : children}\n\t\t\t</Stack>\n\t\t);\n\t},\n);\nAlertDescription.displayName = 'AlertDescription';\n\nexport interface AlertMetadataProps extends ComponentPropsWithoutRef<'dl'> {\n\t/** Metadata items or consumer-owned definition-list content. */\n\tchildren?: ReactNode;\n\t/** Accessible name for the fact group when the alert title is not sufficient. */\n\t'aria-label'?: string;\n\t/** Consumer styling hook merged with the tokenized defaults. */\n\tclassName?: string;\n}\n\n/**\n * Compact semantic facts associated with an alert. Use `aria-label` when the\n * surrounding title does not already describe the metadata group.\n */\nconst AlertMetadata = forwardRef<HTMLDListElement, AlertMetadataProps>(\n\tfunction AlertMetadata({ className, ...props }, ref) {\n\t\treturn (\n\t\t\t<dl\n\t\t\t\tref={ref}\n\t\t\t\tdata-slot=\"alert-metadata\"\n\t\t\t\tclassName={cn(\n\t\t\t\t\t'alert-metadata--component alert--metadata col-start-2 mt-space-xs flex min-w-0 flex-wrap items-center gap-x-space-md gap-y-space-xs',\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t},\n);\nAlertMetadata.displayName = 'AlertMetadata';\n\nexport interface AlertMetadataItemProps\n\textends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {\n\t/** Consumer styling hook merged with the tokenized defaults. */\n\tclassName?: string;\n\t/** Decorative or semantic leading media. Decorative icons should be aria-hidden. */\n\ticon?: ReactNode;\n\t/** User-provided metadata key; the Alert component owns no copy. */\n\tlabel: ReactNode;\n\t/** User-provided metadata value. May contain a package value primitive. */\n\tvalue: ReactNode;\n\t/** Applies tabular monospace figures to simple numeric values. */\n\tnumeric?: boolean;\n}\n\n/** A label/value pair rendered with native `dt` and `dd` semantics. */\nconst AlertMetadataItem = forwardRef<HTMLDivElement, AlertMetadataItemProps>(\n\tfunction AlertMetadataItem(\n\t\t{ className, icon, label, value, numeric = false, ...props },\n\t\tref,\n\t) {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={ref}\n\t\t\t\tdata-slot=\"alert-metadata-item\"\n\t\t\t\tclassName={cn(\n\t\t\t\t\t'alert-metadata-item--component alert--metadata-item inline-flex max-w-full min-w-0 items-center gap-space-sm rounded-radius-sm bg-muted/60 px-control-xs py-space-xs',\n\t\t\t\t\t'[&>svg]:size-icon-sm [&>svg]:shrink-0 [&>svg]:text-muted-foreground',\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{icon}\n\t\t\t\t<dt data-slot=\"alert-metadata-label\" className=\"alert--metadata-label shrink-0\">\n\t\t\t\t\t{isSimpleText(label) ? (\n\t\t\t\t\t\t<Text tag=\"span\" size=\"xs\" type=\"secondary\" className=\"leading-none\">\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t</Text>\n\t\t\t\t\t) : label}\n\t\t\t\t</dt>\n\t\t\t\t<dd data-slot=\"alert-metadata-value\" className=\"alert--metadata-value m-0 min-w-0\">\n\t\t\t\t\t{isSimpleText(value) ? (\n\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\ttag=\"span\"\n\t\t\t\t\t\t\tsize=\"xs\"\n\t\t\t\t\t\t\tweight=\"semibold\"\n\t\t\t\t\t\t\tnumeric={numeric}\n\t\t\t\t\t\t\tclassName=\"break-words leading-none\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t</Text>\n\t\t\t\t\t) : value}\n\t\t\t\t</dd>\n\t\t\t</div>\n\t\t);\n\t},\n);\nAlertMetadataItem.displayName = 'AlertMetadataItem';\n\nconst AlertAction = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<'div'>>(\n\tfunction AlertAction({ className, ...props }, ref) {\n\t\treturn (\n\t\t\t// Direction/alignment come from Stack; the remaining classes are grid\n\t\t\t// placement inside the alert's own template, which is the parent's\n\t\t\t// concern rather than this row's.\n\t\t\t<Stack\n\t\t\t\tref={ref}\n\t\t\t\tdirection=\"horizontal\"\n\t\t\t\talign=\"center\"\n\t\t\t\tjustify={{ base: 'start', sm: 'end' }}\n\t\t\t\twrap\n\t\t\t\tgap=\"sm\"\n\t\t\t\tdata-slot=\"alert-action\"\n\t\t\t\tclassName={cn(\n\t\t\t\t\t'alert--action max-sm:col-start-2 max-sm:mt-space-md sm:col-start-3 sm:row-start-1 sm:row-span-2 sm:self-start',\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t},\n);\nAlertAction.displayName = 'AlertAction';\n\nexport {\n\tAlert,\n\tAlertTitle,\n\tAlertDescription,\n\tAlertMetadata,\n\tAlertMetadataItem,\n\tAlertAction,\n};\n","import * as React from \"react\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Card({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & { size?: \"default\" | \"sm\" }) {\n return (\n <div\n data-slot=\"card\"\n data-size={size}\n className={cn(\"card--primitive\", className)}\n {...props}\n />\n )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-header\"\n className={cn(\"card-header--primitive\", className)}\n {...props}\n />\n )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-title\"\n className={cn(\"card-title--primitive\", className)}\n {...props}\n />\n )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-description\"\n className={cn(\"card-description--primitive\", className)}\n {...props}\n />\n )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-action\"\n className={cn(\"card-action--primitive\", className)}\n {...props}\n />\n )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-content\"\n className={cn(\"card-content--primitive\", className)}\n {...props}\n />\n )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-footer\"\n className={cn(\"card-footer--primitive\", className)}\n {...props}\n />\n )\n}\n\nexport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardAction,\n CardDescription,\n CardContent,\n}\n","import { surfaceDividerRecipes } from '../../../lib/surface-recipes';\n/** Private Tailwind recipes; public props and DOM hooks remain owned by the component. */\nexport const cardRecipes = {\n\troot: \"flex flex-col w-full rounded-radius box-border overflow-hidden py-surface gap-space-xl transition-[background-color,border-color,box-shadow] duration-150\",\n\tshell: \"@container/card flex flex-col w-full rounded-radius box-border overflow-hidden py-surface gap-space-xl transition-[background-color,border-color,box-shadow] duration-150\",\n\tsurfaceCard: `bg-card ${surfaceDividerRecipes.frame.shell} shadow-sm text-card-foreground`,\n\tsurfaceDefault: `bg-card ${surfaceDividerRecipes.frame.shell} shadow-sm text-card-foreground`,\n\tsurfaceFlat: \"bg-transparent border-0 shadow-none text-foreground\",\n\tsurfaceFramed: `bg-card ${surfaceDividerRecipes.frame.shell} shadow-sm ring-4 ring-border/30 text-card-foreground`,\n\tsurfaceRaised: `bg-card ${surfaceDividerRecipes.frame.shell} shadow-md text-card-foreground`,\n\tsurfaceSunken: `bg-muted ${surfaceDividerRecipes.frame.shell} text-foreground`,\n\theader: \"flex flex-col gap-normal px-surface box-border\",\n\theaderRow: \"flex-col @sm/card:flex-row items-start justify-between gap-space-lg pb-0\",\n\theaderRowSingle: \"@sm/card:items-center\",\n\theaderLeading: \"min-w-0 w-full @sm/card:w-auto flex-1\",\n\theaderTrailing: \"flex max-w-full flex-wrap shrink-0 items-center gap-space-md\",\n\theaderDivider: `${surfaceDividerRecipes.frame.header} [&.border-b]:!pb-surface`,\n\ttitle: \"min-w-0 leading-tight text-card-foreground\",\n\ttitleSm: \"text-sm\",\n\ttitleMd: \"text-base\",\n\ttitleLg: \"text-lg\",\n\tdescription: \"text-sm text-muted-foreground leading-normal\",\n\tcontent: \"px-surface box-border min-w-0\",\n\tfooter: \"flex items-center px-surface box-border\",\n\tfooterDivider: `${surfaceDividerRecipes.frame.footer} [&.border-t]:!pt-surface`,\n\talert: \"px-surface\",\n\talertWithHeader: \"-mt-space-xs\",\n\texpandToggle: \"flex justify-center pb-surface -mt-space-md\",\n} as const satisfies Record<string, string>;\n","import type { SmartCardSurface } from './smart-card.types';\nimport { cardRecipes as styles } from './card.recipes';\n\n/**\n * BEM-style hooks applied to every SmartCard subregion. Library\n * consumers can target them in CSS / tests / analytics without\n * relying on shadcn's data-slot attributes (which are framework\n * internals). Keep these names consistent — they are part of the\n * public DOM contract.\n */\nexport const CARD_BEM = {\n\troot: 'card--component',\n\theader: 'card--header',\n\ttitle: 'card--title',\n\tdescription: 'card--description',\n\tcontent: 'card--content',\n\tfooter: 'card--footer',\n\talert: 'card--alert',\n\tcollapseFade: 'card--collapse-fade',\n\texpandToggle: 'card--expand-toggle',\n\texpandToggleButton: 'card--expand-toggle-button',\n} as const;\n\ninterface PaddingTokens {\n\tshell: string;\n\theaderX: string;\n\t/** Tokenized divider inset that overrides the shadcn primitive's fixed 24px rule. */\n\theaderDividerY: string;\n\tcontentX: string;\n\tcontentY: string;\n\tfooterX: string;\n\t/** Tokenized divider inset that overrides the shadcn primitive's fixed 24px rule. */\n\tfooterDividerY: string;\n\talertX: string;\n\t/** Bottom clearance for the half-inset expandable control. */\n\texpandableBottom: string;\n\t/** Vertical offset applied when alert sits BELOW the header (pulls it up). */\n\talertOffsetWithHeader: string;\n\t/** Vertical spacing applied when alert is the first content (no header). */\n\talertOffsetStandalone: string;\n}\n\nexport const CARD_INSET: PaddingTokens = {\n\tshell: styles.shell,\n\theaderX: 'px-surface',\n\theaderDividerY: styles.headerDivider,\n\tcontentX: styles.content,\n\tcontentY: '',\n\tfooterX: styles.footer,\n\tfooterDividerY: styles.footerDivider,\n\talertX: styles.alert,\n\texpandableBottom: 'pb-surface',\n\talertOffsetWithHeader: styles.alertWithHeader,\n\talertOffsetStandalone: '',\n};\n\n/**\n * Surface-specific shell classes.\n */\nexport const SURFACE_CLASSES: Record<SmartCardSurface, string> = {\n\tcard: styles.surfaceCard,\n\tflat: styles.surfaceFlat,\n\tframed: styles.surfaceFramed,\n};\n","import { Fragment, isValidElement, type ReactNode } from 'react';\n\n/**\n * Predicate used by SmartCard subregions to decide whether each slot\n * warrants rendering its wrapper. Numbers (incl. `0`) and JSX always\n * render; falsy / empty-string content is treated as absent. Fragments\n * recurse into their children.\n */\nexport function hasRenderableContent(content?: ReactNode): boolean {\n\tif (content === null || content === undefined) return false;\n\tif (typeof content === 'boolean') return false;\n\tif (typeof content === 'string') return content.trim().length > 0;\n\tif (typeof content === 'number' || typeof content === 'bigint') return true;\n\tif (Array.isArray(content)) return content.some(hasRenderableContent);\n\tif (isValidElement<{ children?: ReactNode }>(content)) {\n\t\tif (content.type === Fragment) return hasRenderableContent(content.props.children);\n\t\treturn true;\n\t}\n\treturn true;\n}\n","import type { TextGap } from '../../structure';\n/**\n * Internal layout primitives — re-exported from `smart-card.tsx` for\n * advanced composition (deeply customised layouts that still want the\n * design-system surface tokens). Each primitive is intentionally thin:\n * a single responsibility, a single set of default classes, no business\n * logic. The BEM hooks (`card--component`, `card--header`, etc.) are\n * applied here so the public DOM contract lives in one place.\n */\nimport {\n\ttype ComponentPropsWithRef,\n\ttype ComponentPropsWithoutRef,\n} from 'react';\n\nimport {\n\tCard as CardPrimitive,\n\tCardContent as CardContentPrimitive,\n\tCardDescription as CardDescriptionPrimitive,\n\tCardFooter as CardFooterPrimitive,\n\tCardHeader as CardHeaderPrimitive,\n\tCardTitle as CardTitlePrimitive,\n} from '../../../ui/card';\nimport { Text } from '../../../typography/text';\nimport { useDensityConfig } from '../../../../lib/ui-provider';\nimport { resolveComponentScale } from '../../../../lib/ui-provider/scale';\nimport { cn } from '../../../../lib/utils';\n\nimport { CARD_BEM } from '../smart-card.tokens';\nimport type { CardTitleSize } from '../smart-card.types';\nimport { cardRecipes as styles } from '../card.recipes';\n\nimport { hasRenderableContent } from './has-renderable-content';\n\nconst CARD_TITLE_SIZE_CLASSES: Record<CardTitleSize, string> = {\n\tsm: styles.titleSm,\n\tmd: styles.titleMd,\n\tlg: styles.titleLg,\n};\n\nconst CARD_TITLE_TEXT_SIZE: Record<CardTitleSize, 'sm' | 'base' | 'lg'> = {\n\tsm: 'sm',\n\tmd: 'base',\n\tlg: 'lg',\n};\n\nexport function CardShell({ className, ...props }: ComponentPropsWithRef<'div'>) {\n\treturn (\n\t\t<CardPrimitive\n\t\t\tclassName={cn(\n\t\t\t\tCARD_BEM.root,\n\t\t\t\tstyles.shell,\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport function CardHeader({\n\tclassName,\n\ttextGap = 'normal',\n\t...props\n}: ComponentPropsWithoutRef<'div'> & { textGap?: TextGap }) {\n\treturn (\n\t\t<CardHeaderPrimitive\n\t\t\tclassName={cn(\n\t\t\t\tCARD_BEM.header,\n\t\t\t\tstyles.header,\n\t\t\t\ttextGap === 'dense' ? 'gap-dense' : 'gap-normal',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport function CardTitle({\n\tclassName,\n\tchildren,\n\tsize: sizeProp,\n\t...props\n}: ComponentPropsWithoutRef<'div'> & { size?: CardTitleSize }) {\n\tconst { defaultScale } = useDensityConfig();\n\tconst size = resolveComponentScale(sizeProp, defaultScale);\n\tif (!hasRenderableContent(children)) return null;\n\n\tconst isPlainText =\n\t\ttypeof children === 'string' ||\n\t\ttypeof children === 'number' ||\n\t\ttypeof children === 'bigint';\n\n\tif (!isPlainText) {\n\t\treturn (\n\t\t\t<CardTitlePrimitive\n\t\t\t\tclassName={cn(CARD_BEM.title, styles.title, 'font-medium', CARD_TITLE_SIZE_CLASSES[size], className)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t</CardTitlePrimitive>\n\t\t);\n\t}\n\n\treturn (\n\t\t<Text\n\t\t\tdata-slot=\"card-title\"\n\t\t\ttag=\"div\"\n\t\t\tsize={CARD_TITLE_TEXT_SIZE[size]}\n\t\t\tweight=\"semibold\"\n\t\t\tlineHeight=\"tight\"\n\t\t\tclassName={cn(CARD_BEM.title, styles.title, className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{children}\n\t\t</Text>\n\t);\n}\n\nexport function CardDescription({\n\tclassName,\n\tchildren,\n\t...props\n}: ComponentPropsWithoutRef<'div'>) {\n\tif (!hasRenderableContent(children)) return null;\n\n\tconst isPlainText =\n\t\ttypeof children === 'string' ||\n\t\ttypeof children === 'number' ||\n\t\ttypeof children === 'bigint';\n\n\tif (!isPlainText) {\n\t\treturn (\n\t\t\t<CardDescriptionPrimitive\n\t\t\t\tclassName={cn(\n\t\t\t\t\tCARD_BEM.description,\n\t\t\t\t\tstyles.description,\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t</CardDescriptionPrimitive>\n\t\t);\n\t}\n\n\treturn (\n\t\t<Text\n\t\t\tdata-slot=\"card-description\"\n\t\t\ttag=\"div\"\n\t\t\ttype=\"secondary\"\n\t\t\tclassName={cn(CARD_BEM.description, className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{children}\n\t\t</Text>\n\t);\n}\n\nexport function CardContent({\n\tclassName,\n\t...props\n}: ComponentPropsWithoutRef<'div'>) {\n\treturn (\n\t\t<CardContentPrimitive\n\t\t\tclassName={cn(CARD_BEM.content, styles.content, className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport function CardFooter({\n\tclassName,\n\t...props\n}: ComponentPropsWithoutRef<'div'>) {\n\treturn (\n\t\t<CardFooterPrimitive\n\t\t\tclassName={cn(\n\t\t\t\tCARD_BEM.footer,\n\t\t\t\tstyles.footer,\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n","/**\n * Inline alert banner rendered between the header and the card body.\n * Pulls itself up under the header (`alertOffsetWithHeader`) when one\n * exists so the visual gap between header bottom and alert top stays\n * tight; otherwise pushes itself down (`alertOffsetStandalone`) so it\n * doesn't kiss the card top edge.\n */\nimport type { ReactNode } from 'react';\n\nimport { Alert, AlertDescription } from '../../feedback/alert';\nimport { cn } from '../../../../lib/utils';\n\nimport { CARD_BEM, CARD_INSET } from '../smart-card.tokens';\nimport type { CardAlertTone } from '../smart-card.types';\n\ninterface AlertSlotProps {\n\t/** Banner content. A plain string is wrapped for you. */\n\talert: ReactNode | string;\n\t/** Tone of the banner. */\n\talertTone: CardAlertTone;\n\t/** Whether a header sits above, deciding the banner's top spacing. */\n\thasHeader: boolean;\n\tclassName?: string;\n}\n\nexport function SmartCardAlert({\n\talert,\n\talertTone,\n\thasHeader,\n\tclassName,\n}: AlertSlotProps) {\n\treturn (\n\t\t<div\n\t\t\tclassName={cn(\n\t\t\t\tCARD_BEM.alert,\n\t\t\t\tCARD_INSET.alertX,\n\t\t\t\tclassName,\n\t\t\t\thasHeader ? CARD_INSET.alertOffsetWithHeader : CARD_INSET.alertOffsetStandalone,\n\t\t\t)}\n\t\t>\n\t\t\t<Alert tone={alertTone}>\n\t\t\t\t<AlertDescription>{alert}</AlertDescription>\n\t\t\t</Alert>\n\t\t</div>\n\t);\n}\n","import type { ReactNode } from 'react';\nimport { Text } from '../../typography';\nimport { cn } from '../../../lib/utils';\n\n/** One wrapping title/suffix composition shared by cards and content structures. */\nexport function SurfaceTitle({title, suffix, size = 'base', className, suffixClassName, dataSlot}: {\n title?: ReactNode; suffix?: ReactNode; size?: 'sm' | 'base' | 'lg';\n className?: string; suffixClassName?: string; dataSlot?: string;\n}) {\n return <Text tag=\"div\" size={size} weight={typeof title === 'string' || typeof title === 'number' || typeof title === 'bigint' ? 'semibold' : 'medium'} lineHeight=\"tight\" data-slot={dataSlot} className={cn('surface-title--component flex min-w-0 flex-wrap items-center gap-space-md break-words leading-tight', className)}>\n {title != null && <span className=\"min-w-0 max-w-full\">{title}</span>}\n {suffix != null && <div className={cn('surface-title--suffix inline-flex max-w-full flex-wrap items-center gap-space-md', suffixClassName)}>{suffix}</div>}\n </Text>;\n}\n","/**\n * SmartCard actions menu — `⋮` trigger + dropdown of consumer-supplied\n * `SmartCardAction` items. Always renders a 28×28 square trigger so it\n * reads cleanly as a circle (consumer overrides to `rounded-full`) or\n * a rectangle (default `rounded-radius-md`).\n */\nimport { MoreHorizontal } from 'lucide-react';\n\nimport {\n\tActionMenu,\n\ttype ActionMenuAction,\n} from '../../action-menu';\n\nimport type { SmartCardAction } from '../smart-card.types';\n\ninterface ActionsMenuProps {\n\t/** Controls offered on the surface. */\n\tactions: readonly SmartCardAction[];\n\tactionsLabel: string;\n}\n\nexport function ActionsMenu({ actions, actionsLabel }: ActionsMenuProps) {\n\tconst actionDefinitions: ActionMenuAction[] = actions.map((action, index) => ({ ...action, id: action.id ?? `card-action-${index}` }));\n\n\treturn (\n\t\t<ActionMenu\n\t\t\tactions={actionDefinitions}\n\t\t\ticon={MoreHorizontal}\n\t\t\tsrText={actionsLabel}\n\t\t\talign=\"end\"\n\t\t\tcloseOnSelect\n\t\t\tbuttonProps={{\n\t\t\t\tsize: 'sm',\n\t\t\t\ttone: 'secondary',\n\t\t\t\tbuttonStyle: 'ghost',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclassName: 'card--actions-trigger size-action-sm text-muted-foreground',\n\t\t\t}}\n\t\t/>\n\t);\n}\n","/**\n * SmartCardHeaderRow — the chrome above the card body. Combines icon /\n * title / description / tooltip / suffix on the leading side with the\n * trailing `headerEnd` / `headerAction` slots and the actions menu.\n *\n * `TooltipTrigger_Info` is colocated here because it's only used by the\n * header — keeping it private avoids polluting the public partial\n * surface.\n */\nimport { Info } from 'lucide-react';\nimport type { ReactNode } from 'react';\n\nimport { SurfaceTitle } from '../../display/surface-title';\nimport { Button } from '../../buttons';\nimport {\n\tTooltip,\n\tTooltipContent,\n\tTooltipTrigger,\n} from '../../display/tooltip';\nimport { Stack, type TextGap } from '../../structure';\nimport { cn } from '../../../../lib/utils';\n\nimport { CARD_INSET } from '../smart-card.tokens';\nimport { cardRecipes } from '../card.recipes';\nimport type { CardTitleSize, SmartCardAction } from '../smart-card.types';\n\nimport { CardHeader, CardDescription } from './card-primitives';\nimport { hasRenderableContent } from './has-renderable-content';\nimport { ActionsMenu } from './smart-card-actions-menu';\n\nfunction TooltipTrigger_Info({ tooltipLabel }: { tooltipLabel: string }) {\n\treturn (\n\t\t<TooltipTrigger\n\t\t\trender={(triggerProps) => {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\t\t\tconst passthrough = triggerProps as Record<string, any>;\n\t\t\t\treturn (\n\t\t\t\t\t<Button\n\t\t\t\t\t\t{...passthrough}\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\ttone=\"secondary\"\n\t\t\t\t\t\tbuttonStyle=\"ghost\"\n\t\t\t\t\t\tsize=\"sm\" iconOnly\n\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t'card--tooltip-trigger',\n\t\t\t\t\t\t\t'h-5 w-5 text-muted-foreground',\n\t\t\t\t\t\t\tpassthrough.className,\n\t\t\t\t\t\t)}\n\t\t\t\t\t\taria-label={tooltipLabel}\n\t\t\t\t\t>\n\t\t\t\t\t\t<Info className=\"size-icon-md\" />\n\t\t\t\t\t</Button>\n\t\t\t\t);\n\t\t\t}}\n\t\t/>\n\t);\n}\n\ninterface HeaderProps {\n\t/** Leading glyph on the title line. */\n\ticon?: ReactNode;\n\t/** Card title. */\n\ttitle?: ReactNode;\n\t/** Content immediately after the title. */\n\ttitleSuffix?: ReactNode;\n\t/** Supporting sentence under the title. */\n\tdescription?: ReactNode;\n\ttextGap?: TextGap;\n\t/** Explanatory copy behind an info affordance on the title line. */\n\ttooltip?: ReactNode;\n\t/** Accessible name for the tooltip trigger. */\n\ttooltipLabel: string;\n\t/** Full-width row above the title. */\n\theaderStart?: ReactNode;\n\t/** Content at the end of the header. */\n\theaderEnd?: ReactNode;\n\t/** Single control before the overflow menu. */\n\theaderAction?: ReactNode;\n\t/** Overflow menu at the far end of the header. */\n\tactions?: readonly SmartCardAction[];\n\t/** Accessible name for the overflow trigger. */\n\tactionsLabel: string;\n\t/** Card title typography. */\n\ttitleSize: CardTitleSize;\n\tclassName?: string;\n}\n\nexport function SmartCardHeaderRow({\n\ticon,\n\ttitle,\n\ttitleSuffix,\n\tdescription,\n\ttextGap = 'normal',\n\ttooltip,\n\ttooltipLabel,\n\theaderStart,\n\theaderEnd,\n\theaderAction,\n\tactions,\n\tactionsLabel,\n\ttitleSize,\n\tclassName,\n}: HeaderProps) {\n\tconst cardActions = Array.isArray(actions) ? actions : [];\n\tconst hasActions = cardActions.length > 0;\n\n\tconst hasIcon = hasRenderableContent(icon);\n\tconst hasTitle = hasRenderableContent(title);\n\tconst hasTitleSuffix = hasRenderableContent(titleSuffix);\n\tconst hasDescription = hasRenderableContent(description);\n\tconst hasTooltip = hasRenderableContent(tooltip);\n\tconst hasHeaderStart = hasRenderableContent(headerStart);\n\tconst hasHeaderEnd = hasRenderableContent(headerEnd);\n\tconst hasHeaderAction = hasRenderableContent(headerAction);\n\n\tconst showTitleRow = hasIcon || hasTitle || hasTitleSuffix || hasTooltip;\n\tconst showTrailing = hasHeaderEnd || hasHeaderAction || hasActions;\n\n\treturn (\n\t\t<CardHeader\n\t\t\tclassName={cn(\n\t\t\t\tcardRecipes.headerRow,\n\t\t\t\t!hasDescription && !hasHeaderStart && cardRecipes.headerRowSingle,\n\t\t\t\tCARD_INSET.headerX,\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<Stack gap={textGap} className={cn(\"card--header-start\", cardRecipes.headerLeading)}>\n\t\t\t\t{!!hasHeaderStart && headerStart}\n\n\t\t\t\t{!!showTitleRow && (\n\t\t\t\t\t<div className=\"card--title-row flex min-w-0 items-start gap-space-sm\">\n\t\t\t\t\t\t{!!hasIcon && (\n\t\t\t\t\t\t\t<span className=\"card--icon flex shrink-0 items-center pt-space-2xs text-muted-foreground [&_svg]:size-icon\">\n\t\t\t\t\t\t\t\t{icon}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t<SurfaceTitle dataSlot=\"card-title\" title={title} suffix={hasTitleSuffix ? titleSuffix : undefined} size={titleSize === 'md' ? 'base' : titleSize === 'lg' ? 'lg' : 'sm'} className=\"card--title flex-1\" suffixClassName=\"card--title-suffix\" />\n\t\t\t\t\t\t{!!hasTooltip && (\n\t\t\t\t\t\t\t<Tooltip>\n\t\t\t\t\t\t\t\t<TooltipTrigger_Info tooltipLabel={tooltipLabel} />\n\t\t\t\t\t\t\t\t<TooltipContent>{tooltip}</TooltipContent>\n\t\t\t\t\t\t\t</Tooltip>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\n\t\t\t\t{!!hasDescription && (\n\t\t\t\t\t<CardDescription className=\"text-left\">{description}</CardDescription>\n\t\t\t\t)}\n\t\t\t</Stack>\n\n\t\t\t{!!showTrailing && (\n\t\t\t\t<div className={cn(\"card--header-end\", cardRecipes.headerTrailing)}>\n\t\t\t\t\t{!!hasHeaderEnd && headerEnd}\n\t\t\t\t\t{!!hasHeaderAction && headerAction}\n\t\t\t\t\t{!!hasActions && (\n\t\t\t\t\t\t<ActionsMenu actions={cardActions} actionsLabel={actionsLabel} />\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</CardHeader>\n\t);\n}\n","/**\n * SmartCard strings — i18n surface for the chrome the consumer doesn't\n * pass directly. Most copy (title, description, action labels, alert\n * body) flows in via props; the strings here cover the implicit\n * affordances (header actions, tooltip, and expand toggle).\n */\n\nexport interface SmartCardStrings {\n\tactionsLabel: string;\n\ttooltipLabel: string;\n\texpandLabel: string;\n\tcollapseLabel: string;\n}\n\nexport const defaultSmartCardStrings = {\n\tactionsLabel: 'Card actions',\n\ttooltipLabel: 'Card info',\n\texpandLabel: 'Expand card',\n\tcollapseLabel: 'Collapse card',\n} satisfies SmartCardStrings;\n","import { surfaceDividerRecipes } from '../../../lib/surface-recipes';\n/**\n * SmartCard — blocks card with header (icon, title, suffix, description,\n * tooltip), actions menu, alert banner, header / content / footer slots,\n * surface variants (card / flat / framed), and an opt-in expandable body.\n *\n * The single card primitive everything else builds on — never reach past it\n * to shadcn `Card` directly. The CardShell / CardHeader / CardTitle /\n * CardDescription / CardContent / CardFooter primitives are re-exported\n * for advanced composition (deeply customised layouts that still want the\n * design-system surface tokens). Each subregion paints a BEM-style hook\n * (`card--component`, `card--header`, `card--title`, …) for CSS / test /\n * analytics targeting independent of shadcn's data-slot internals.\n *\n * The file is a thin orchestrator. The actual chrome lives in:\n * - `./smart-card.types.ts` — public prop / variant types\n * - `./smart-card.strings.ts` — i18n (expand toggle copy)\n * - `./smart-card.tokens.ts` — CARD_INSET + SURFACE_CLASSES + CARD_BEM\n * - `./partials/card-primitives.tsx` — CardShell + CardHeader / Title /\n * Description / Content / Footer\n * - `./partials/smart-card-header-row.tsx` — header layout + actions menu\n * - `./partials/smart-card-alert.tsx` — inline alert banner\n * - `./partials/smart-card-actions-menu.tsx` — `⋮` dropdown\n * - `./partials/smart-card-skeleton.tsx` — loading placeholder\n * - `./partials/has-renderable-content.ts` — slot-empty predicate\n */\nimport { ChevronDown } from 'lucide-react';\nimport {\n\ttype CSSProperties,\n\tforwardRef,\n\tuseCallback,\n\tuseState,\n} from 'react';\n\nimport { Button } from '../buttons';\nimport { Text } from '../../typography';\nimport { Stack } from '../structure';\nimport { useStrings } from '../../../lib/strings';\nimport { useCardConfig, useDensityConfig } from '../../../lib/ui-provider';\nimport { resolveComponentScale } from '../../../lib/ui-provider/scale';\nimport { cn } from '../../../lib/utils';\n\nimport {\n\tCardContent,\n\tCardFooter,\n\tCardShell,\n} from './partials/card-primitives';\nimport { hasRenderableContent } from './partials/has-renderable-content';\nimport { SmartCardAlert } from './partials/smart-card-alert';\nimport { SmartCardHeaderRow } from './partials/smart-card-header-row';\nimport {\n\tdefaultSmartCardStrings,\n} from './smart-card.strings';\nimport {\n\tCARD_BEM,\n\tCARD_INSET,\n\tSURFACE_CLASSES,\n} from './smart-card.tokens';\nimport type {\n\tSmartCardProps,\n\tSmartCardSurface,\n} from './smart-card.types';\n\nexport const Card = forwardRef<HTMLDivElement, SmartCardProps>(function Card({\n\ticon,\n\ttitle,\n\ttitleSuffix,\n\tdescription,\n\ttextGap = 'normal',\n\ttooltip,\n\ttooltipAriaLabel,\n\tfooterText,\n\talert,\n\talertTone = 'neutral',\n\tsurface,\n\tpadding = 'md',\n\theaderPlacement = 'inside',\n\tcontentGap,\n\ttitleSize,\n\tactions,\n\tactionsLabel,\n\theaderAction,\n\theaderStart,\n\theaderEnd,\n\tcontentTop,\n\tcontentBottom,\n\tfooterSlot,\n\theaderDivider,\n\tfooterDivider = false,\n\texpandable = false,\n\tdefaultExpanded = false,\n\texpanded: expandedProp,\n\tonExpandedChange,\n\tchildren,\n\tclassName,\n\theaderClassName,\n\tcontentClassName,\n\tfooterClassName,\n\tstrings: stringsProp,\n\t...rootProps\n}, ref) {\n\tconst {\n\t\tdefaultSurface,\n\t\tdefaultHeaderDivider,\n\t} = useCardConfig();\n\tconst { defaultScale } = useDensityConfig();\n\tconst resolvedTitleSize = resolveComponentScale(titleSize, defaultScale);\n\tconst inset = { none: 'px-0', sm: 'px-surface-xs', md: 'px-surface', lg: 'px-surface-lg' }[padding];\n\tconst vertical = { none: 'py-0', sm: 'py-surface-xs', md: 'py-surface', lg: 'py-surface-lg' }[padding];\n\tconst tokens = { ...CARD_INSET, headerX: inset, contentX: inset, footerX: inset, headerDividerY: { none: '!pb-0', sm: '!pb-surface-xs', md: '!pb-surface', lg: '!pb-surface-lg' }[padding], footerDividerY: { none: '!pt-0', sm: '!pt-surface-xs', md: '!pt-surface', lg: '!pt-surface-lg' }[padding] };\n\tconst framedHeader = headerPlacement === 'frame';\n\tconst cardActions = Array.isArray(actions) ? actions : [];\n\tconst strings = useStrings(defaultSmartCardStrings, stringsProp);\n\tconst resolvedActionsLabel =\n\t\tactionsLabel ?? strings.actionsLabel;\n\n\tconst isExpandable = expandable !== false && expandable !== undefined;\n\tconst collapsedMaxHeightRaw =\n\t\ttypeof expandable === 'object' && expandable?.collapsedMaxHeight !== undefined\n\t\t\t? expandable.collapsedMaxHeight\n\t\t\t: '12rem';\n\tconst collapsedMaxHeight =\n\t\ttypeof collapsedMaxHeightRaw === 'number'\n\t\t\t? `${collapsedMaxHeightRaw}px`\n\t\t\t: collapsedMaxHeightRaw;\n\n\tconst isExpandedControlled = expandedProp !== undefined;\n\tconst [internalExpanded, setInternalExpanded] = useState(defaultExpanded);\n\tconst expanded = isExpandedControlled ? expandedProp : internalExpanded;\n\tconst handleToggle = useCallback(() => {\n\t\tconst next = !expanded;\n\t\tif (!isExpandedControlled) setInternalExpanded(next);\n\t\tonExpandedChange?.(next);\n\t}, [expanded, isExpandedControlled, onExpandedChange]);\n\n\tconst hasHeader =\n\t\thasRenderableContent(icon) ||\n\t\thasRenderableContent(title) ||\n\t\thasRenderableContent(description) ||\n\t\tcardActions.length > 0 ||\n\t\thasRenderableContent(headerAction) ||\n\t\thasRenderableContent(headerStart) ||\n\t\thasRenderableContent(headerEnd);\n\n\tconst hasAlert = hasRenderableContent(alert);\n\tconst hasFooterText = hasRenderableContent(footerText);\n\tconst hasFooterSlot = hasRenderableContent(footerSlot);\n\tconst hasContentTop = hasRenderableContent(contentTop);\n\tconst hasContentBottom = hasRenderableContent(contentBottom);\n\t// Expandable cards retain their explicitly requested collapse region.\n\tconst hasBody = hasContentTop || hasContentBottom || hasRenderableContent(children) || isExpandable;\n\tconst headerFooterOnly = hasHeader && (hasFooterText || hasFooterSlot) && !hasAlert && !hasBody && !framedHeader;\n\n\tconst tooltipLabel =\n\t\ttooltipAriaLabel && tooltipAriaLabel.trim().length > 0\n\t\t\t? tooltipAriaLabel\n\t\t\t: strings.tooltipLabel;\n\n\tconst collapseStyle: CSSProperties | undefined = isExpandable\n\t\t? {\n\t\t\t\tmaxHeight: expanded ? '' : collapsedMaxHeight,\n\t\t\t}\n\t\t: undefined;\n\n\t// Resolve surface from the instance, then the provider default.\n\tconst resolvedSurface: SmartCardSurface =\n\t\tsurface ?? defaultSurface ?? 'framed';\n\tconst resolvedHeaderDivider = headerDivider ?? defaultHeaderDivider ?? false;\n\t// Adjacent header/footer regions share one boundary, owned by the footer.\n\tconst sharedHeaderFooterDivider = headerFooterOnly && (resolvedHeaderDivider || footerDivider);\n\n\treturn (\n\t\t<CardShell\n\t\t\t{...rootProps}\n\t\t\tdata-header-placement={headerPlacement}\n\t\t\tref={ref}\n\t\t\tdata-surface={resolvedSurface}\n\t\t\tclassName={cn(\n\t\t\t\tSURFACE_CLASSES[resolvedSurface],\n\t\t\t\ttokens.shell,\n\t\t\t\tvertical,\n\t\t\t\tpadding === 'none' && 'gap-space-md',\n\t\t\t\tsharedHeaderFooterDivider && 'gap-0',\n\t\t\t\tframedHeader && 'rounded-radius bg-muted p-surface-xs pt-0 gap-0 ring-0',\n\t\t\t\t// Flat subject structure has no surface edge to clip against.\n\t\t\t\t// With no inset, rounded clipping otherwise cuts into its heading.\n\t\t\t\tresolvedSurface === 'flat' && !framedHeader && 'overflow-visible',\n\t\t\t\t// The toggle straddles the card edge. Keep tokenized clearance\n\t\t\t\t// inside the card and reserve its outside half in document flow.\n\t\t\t\t// `overflow-visible` counters the shadcn primitive's clipping.\n\t\t\t\tisExpandable && cn(\n\t\t\t\t\t'relative mb-space-xl !overflow-visible',\n\t\t\t\t\ttokens.expandableBottom,\n\t\t\t\t),\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t{!!hasHeader && (\n\t\t\t\t<SmartCardHeaderRow\n\t\t\t\t\ticon={icon}\n\t\t\t\t\ttitle={title}\n\t\t\t\t\ttitleSuffix={titleSuffix}\n\t\t\t\t\tdescription={description}\n\t\t\t\t\ttextGap={textGap}\n\t\t\t\t\ttooltip={tooltip}\n\t\t\t\t\ttooltipLabel={tooltipLabel}\n\t\t\t\t\theaderStart={headerStart}\n\t\t\t\t\theaderEnd={headerEnd}\n\t\t\t\t\theaderAction={headerAction}\n\t\t\t\t\tactions={cardActions}\n\t\t\t\t\tactionsLabel={resolvedActionsLabel}\n\t\t\t\t\ttitleSize={resolvedTitleSize}\n\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\tresolvedHeaderDivider && !sharedHeaderFooterDivider && cn(\n\t\t\t\t\t\t\tsurfaceDividerRecipes.frame.header,\n\t\t\t\t\t\t\ttokens.headerDividerY,\n\t\t\t\t\t\t),\n\t\t\t\t\t\tsharedHeaderFooterDivider && tokens.headerDividerY,\n\t\t\t\t\t\ttokens.headerX,\n\t\t\t\t\t\tframedHeader && 'flex-row items-center min-h-action px-surface-xs py-space-2xs [&_.card--title-row]:items-center [&_.card--icon]:pt-0',\n\t\t\t\t\t\theaderClassName,\n\t\t\t\t\t)}\n\t\t\t\t/>\n\t\t\t)}\n\n\t\t\t<div className={framedHeader ? cn('card--body-surface flex min-w-0 flex-col gap-space-xl rounded-inner bg-card text-card-foreground', surfaceDividerRecipes.frame.shell, vertical) : 'contents'}>\n\t\t\t{!!hasAlert && (\n\t\t\t\t<SmartCardAlert\n\t\t\t\t\talert={alert}\n\t\t\t\t\talertTone={alertTone}\n\t\t\t\t\thasHeader={hasHeader}\n\t\t\t\t\tclassName={inset}\n\t\t\t\t/>\n\t\t\t)}\n\n\t\t\t{!!hasBody && <CardContent\n\t\t\t\tclassName={cn(\n\t\t\t\t\ttokens.contentX,\n\t\t\t\t\ttokens.contentY,\n\t\t\t\t\tisExpandable &&\n\t\t\t\t\t\t'relative overflow-hidden transition-[max-height] duration-500 ease-in-out',\n\t\t\t\t\tcontentClassName,\n\t\t\t\t)}\n\t\t\t\tstyle={collapseStyle}\n\t\t\t>\n\t\t\t\t{!!hasContentTop && contentTop}\n\t\t\t\t{contentGap ? <Stack gap={contentGap}>{children}</Stack> : children}\n\t\t\t\t{!!hasContentBottom && contentBottom}\n\n\t\t\t\t{!!isExpandable && !expanded && (\n\t\t\t\t\t<div\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\tCARD_BEM.collapseFade,\n\t\t\t\t\t\t\t'pointer-events-none absolute inset-x-0 bottom-0 h-20 rounded-b-radius bg-linear-to-t to-transparent',\n\t\t\t\t\t\t\tresolvedSurface === 'flat' ? 'from-background' : 'from-card',\n\t\t\t\t\t\t)}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</CardContent>}\n\n\t\t\t{(hasFooterText || hasFooterSlot) && (\n\t\t\t\t<CardFooter className={cn(\n\t\t\t\t\ttokens.footerX,\n\t\t\t\t\thasFooterSlot ? 'flex-col items-stretch gap-space-md' : 'justify-end',\n\t\t\t\t\t(footerDivider || sharedHeaderFooterDivider) && cn(surfaceDividerRecipes.frame.footer, tokens.footerDividerY),\n\t\t\t\t\tfooterClassName,\n\t\t\t\t)}>\n\t\t\t\t\t{hasFooterText && (typeof footerText === 'string' || typeof footerText === 'number' || typeof footerText === 'bigint'\n\t\t\t\t\t\t? <Text tag=\"span\" size=\"xs\" type=\"secondary\">{footerText}</Text>\n\t\t\t\t\t\t: footerText)}\n\t\t\t\t\t{hasFooterSlot && footerSlot}\n\t\t\t\t</CardFooter>\n\t\t\t)}\n\n\t\t\t</div>\n\n\t\t\t{!!isExpandable && (\n\t\t\t\t<div\n\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\tCARD_BEM.expandToggle,\n\t\t\t\t\t\t'absolute bottom-0 left-1/2 z-10 -translate-x-1/2 translate-y-1/2',\n\t\t\t\t\t)}\n\t\t\t\t>\n\t\t\t\t\t<Button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\ttone=\"secondary\"\n\t\t\t\t\t\tbuttonStyle=\"outline\"\n\t\t\t\t\t\tsize=\"sm\" iconOnly\n\t\t\t\t\t\tonClick={handleToggle}\n\t\t\t\t\t\taria-expanded={expanded}\n\t\t\t\t\t\taria-label={expanded ? strings.collapseLabel : strings.expandLabel}\n\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\tCARD_BEM.expandToggleButton,\n\t\t\t\t\t\t\t'rounded-full',\n\t\t\t\t\t\t\tcn(surfaceDividerRecipes.frame.shell, 'bg-background text-foreground shadow-sm'),\n\t\t\t\t\t\t\t'hover:bg-muted/40 transition-colors',\n\t\t\t\t\t\t\t'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50',\n\t\t\t\t\t\t)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<ChevronDown\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\t'size-icon transition-transform duration-300',\n\t\t\t\t\t\t\t\texpanded && 'rotate-180',\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</Button>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</CardShell>\n\t);\n});\n\nCard.displayName = 'Card';\n\n/** @deprecated Use Card. */\nexport const SmartCard = Card;\n\n// ──────────────────────────────────────────────────────────────────────────\n// Re-exports — public surface lives here so `import { ... } from\n// '.'` keeps working through the file split.\n// ──────────────────────────────────────────────────────────────────────────\n\nexport {\n\tdefaultSmartCardStrings,\n\ttype SmartCardStrings,\n} from './smart-card.strings';\nexport type {\n\tCardAlertTone,\n\tSmartCardAction,\n\tSmartCardProps,\n\tSmartCardSkeletonProps,\n\tSmartCardSurface,\n} from './smart-card.types';\nexport {\n\tCardContent,\n\tCardDescription,\n\tCardFooter,\n\tCardHeader,\n\tCardShell,\n\tCardTitle,\n} from './partials/card-primitives';\nexport { hasRenderableContent } from './partials/has-renderable-content';\nexport { SmartCardSkeleton } from './partials/smart-card-skeleton';\n"],"mappings":";;;;;;;;;;;;;;;AAmBA,IAAM2B,IAAgBC,EACrB;CACC;CACA;CACA;CACA;CACAJ,EAA2B;AAC5B,GACA;CACC,UAAU;E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GAAD;QAAO,KAAK6I;QAAa;OAAgB,CAAA,IAAI9H;OAC1D,CAAC,CAAC8G,MAAoBC;OAEtB,CAAC,CAACtB,KAAgB,CAACS,KACnB,kBAAC,OAAD;QACC,eAAY;QACZ,WAAWvH,EACVoC,EAAS,cACT,uGACAqG,MAAoB,SAAS,oBAAoB,WAClD;OACA,CAAA;MAEU;;MAEXZ,MAAiBE,MAClB,kBAAC1E,IAAD;MAAY,WAAWrD,EACtBwG,EAAO,SACPuB,IAAgB,wCAAwC,gBACvDiB,KAAiBD,MAA8B/I,EAAGQ,EAAsB,MAAM,QAAQgG,EAAO,cAAc,GAC5G4C,EACD;MALA,UAAA,CAMEvB,OAAkB,OAAOC,KAAe,YAAY,OAAOA,KAAe,YAAY,OAAOA,KAAe,WAC1G,kBAACzH,GAAD;OAAM,KAAI;OAAO,MAAK;OAAK,MAAK;OAAa,UAAAyH;MAAiB,CAAA,IAC9DA,IACFC,KAAiBC,CACP;;IAGR;;GAEJ,CAAC,CAAClB,KACF,kBAAC,OAAD;IACC,WAAW9G,EACVoC,EAAS,cACT,kEACD;IAEA,UAAA,kBAAClC,GAAD;KACC,MAAK;KACL,MAAK;KACL,aAAY;KACZ,MAAK;KAAK,UAAA;KACV,SAASsH;KACT,iBAAeD;KACf,cAAYA,IAAWZ,EAAQ,gBAAgBA,EAAQ;KACvD,WAAW3G,EACVoC,EAAS,oBACT,gBACApC,EAAGQ,EAAsB,MAAM,OAAO,yCAAyC,GAC/E,uCACA,4EACD;KAEA,UAAA,kBAAC6I,GAAD;MACC,eAAY;MACZ,WAAWrJ,EACV,+CACAuH,KAAY,YACb;KACA,CAAA;IACM,CAAA;GACJ,CAAA;EAEI;;AAEb,CAAC;AAED,EAAK,cAAc;AAGnB,IAAa+B,KAAYtD"}
@@ -0,0 +1,78 @@
1
+ "use client";
2
+ import { d as e } from "./ui-provider-CftIB6TY.js";
3
+ import { useStrings as t } from "./lib/strings.js";
4
+ import { t as n } from "./utils-C2EKeIw3.js";
5
+ import { a as r } from "./typography-Cv8MT-82.js";
6
+ import { t as i } from "./structure-BvW4vG4H.js";
7
+ import { n as a } from "./track-recipes-LLPNVwFg.js";
8
+ import { forwardRef as o } from "react";
9
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
10
+ //#region src/components/base/spinner/spinner.tsx
11
+ var l = { loading: "Loading" }, u = o(function({ label: a, className: o = "", variant: u, strings: m, style: h }, g) {
12
+ let { defaultVariant: _ } = e(), v = t(l, m), y = u ?? _ ?? "default";
13
+ return /* @__PURE__ */ s("div", {
14
+ ref: g,
15
+ className: n("spinner--component", "flex items-center justify-center p-surface"),
16
+ style: h,
17
+ children: /* @__PURE__ */ c(i, {
18
+ gap: "md",
19
+ align: "center",
20
+ justify: "center",
21
+ className: "w-full text-center",
22
+ children: [
23
+ y === "default" && /* @__PURE__ */ s(d, { className: o }),
24
+ y === "shimmer" && /* @__PURE__ */ s(f, { className: o }),
25
+ y === "progress" && /* @__PURE__ */ s(p, {
26
+ className: o,
27
+ label: a ?? v.loading
28
+ }),
29
+ !!a && /* @__PURE__ */ s(r, {
30
+ type: "secondary",
31
+ children: a
32
+ })
33
+ ]
34
+ })
35
+ });
36
+ });
37
+ u.displayName = "Spinner";
38
+ function d({ className: e = "" }) {
39
+ return /* @__PURE__ */ c("svg", {
40
+ className: n("h-10 w-10 text-primary-accent", e),
41
+ fill: "currentColor",
42
+ viewBox: "0 0 24 24",
43
+ xmlns: "http://www.w3.org/2000/svg",
44
+ "aria-hidden": "true",
45
+ children: [/* @__PURE__ */ s("path", {
46
+ d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",
47
+ opacity: ".25"
48
+ }), /* @__PURE__ */ s("path", {
49
+ d: "M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z",
50
+ children: /* @__PURE__ */ s("animateTransform", {
51
+ attributeName: "transform",
52
+ type: "rotate",
53
+ dur: "0.75s",
54
+ values: "0 12 12;360 12 12",
55
+ repeatCount: "indefinite"
56
+ })
57
+ })]
58
+ });
59
+ }
60
+ function f({ className: e = "" }) {
61
+ return /* @__PURE__ */ s("div", {
62
+ className: n("h-10 w-10 rounded-full bg-gradient-to-r from-muted via-muted-foreground/30 to-muted bg-[length:200%_100%]", "animate-[shimmer_1.5s_ease-in-out_infinite]", e),
63
+ "aria-hidden": "true"
64
+ });
65
+ }
66
+ function p({ className: e = "", label: t }) {
67
+ return /* @__PURE__ */ s("div", {
68
+ className: n("w-full max-w-32 overflow-hidden rounded bg-muted", a.md, e),
69
+ role: "progressbar",
70
+ "aria-label": t,
71
+ "aria-busy": "true",
72
+ children: /* @__PURE__ */ s("div", { className: "h-full w-1/3 animate-[progress-slide_1.4s_ease-in-out_infinite] rounded bg-primary" })
73
+ });
74
+ }
75
+ //#endregion
76
+ export { l as n, u as t };
77
+
78
+ //# sourceMappingURL=spinner-JtlFJ7Nc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner-JtlFJ7Nc.js","names":["useSpinnerConfig","cn","Text","Stack","trackHeightClasses","defaultSpinnerStrings","Spinner","forwardRef","variantProp","stringsProp","strings","useStrings","variant","defaultVariant","SpinnerDefault","SpinnerShimmer","SpinnerProgress","label","className"],"sources":["../src/components/base/spinner/spinner.tsx"],"sourcesContent":["import { trackHeightClasses } from '../../../lib/track-recipes';\n/**\n * Spinner — three-variant loading indicator with optional label.\n *\n * Variants:\n * - `default` — circular SVG spinner\n * - `shimmer` — round shimmer bar\n * - `progress` — slim animated progress strip\n *\n * `variant` resolves via `useSpinnerConfig().defaultVariant ?? 'default'`,\n * so a consumer can set the library-wide spinner style at the\n * `<UIProvider>` root and override per-mount as needed. Forwards a ref to\n * the outer wrapper so consumers can position/measure the spinner.\n */\nimport { forwardRef, type CSSProperties } from 'react';\n\nimport { Text } from '../../typography';\nimport { Stack } from '../structure';\nimport { useStrings, type StringsProp } from '../../../lib/strings';\nimport { useSpinnerConfig } from '../../../lib/ui-provider';\nimport { cn } from '../../../lib/utils';\n\nexport type SpinnerVariant = 'default' | 'shimmer' | 'progress';\n\nexport interface SpinnerStrings {\n\t/** Accessible fallback when an indeterminate progress bar has no visible label. */\n\tloading: string;\n}\n\nexport const defaultSpinnerStrings: SpinnerStrings = {\n\tloading: 'Loading',\n};\n\nexport interface SpinnerProps {\n\t/** Display label. */\n\tlabel?: string;\n\tclassName?: string;\n\t/** Semantic tone. */\n\tvariant?: SpinnerVariant;\n\t/** Localizes the fallback progress-bar name. */\n\tstrings?: StringsProp<SpinnerStrings>;\n\tstyle?: CSSProperties;\n}\n\nexport const Spinner = forwardRef<HTMLDivElement, SpinnerProps>(function Spinner(\n\t{ label, className = '', variant: variantProp, strings: stringsProp, style },\n\tref,\n) {\n\tconst { defaultVariant } = useSpinnerConfig();\n\tconst strings = useStrings(defaultSpinnerStrings, stringsProp);\n\tconst variant: SpinnerVariant = variantProp ?? defaultVariant ?? 'default';\n\n\treturn (\n\t\t<div ref={ref} className={cn('spinner--component', 'flex items-center justify-center p-surface')} style={style}>\n\t\t\t<Stack gap=\"md\" align=\"center\" justify=\"center\" className=\"w-full text-center\">\n\t\t\t\t{variant === 'default' && <SpinnerDefault className={className} />}\n\t\t\t\t{variant === 'shimmer' && <SpinnerShimmer className={className} />}\n\t\t\t\t{variant === 'progress' && <SpinnerProgress className={className} label={label ?? strings.loading} />}\n\t\t\t\t{!!label && <Text type=\"secondary\">{label}</Text>}\n\t\t\t</Stack>\n\t\t</div>\n\t);\n});\n\nSpinner.displayName = 'Spinner';\n\nfunction SpinnerDefault({ className = '' }: { className?: string }) {\n\treturn (\n\t\t<svg\n\t\t\tclassName={cn('h-10 w-10 text-primary-accent', className)}\n\t\t\tfill=\"currentColor\"\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-hidden=\"true\"\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z\"\n\t\t\t\topacity=\".25\"\n\t\t\t/>\n\t\t\t<path d=\"M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z\">\n\t\t\t\t<animateTransform\n\t\t\t\t\tattributeName=\"transform\"\n\t\t\t\t\ttype=\"rotate\"\n\t\t\t\t\tdur=\"0.75s\"\n\t\t\t\t\tvalues=\"0 12 12;360 12 12\"\n\t\t\t\t\trepeatCount=\"indefinite\"\n\t\t\t\t/>\n\t\t\t</path>\n\t\t</svg>\n\t);\n}\n\nfunction SpinnerShimmer({ className = '' }: { className?: string }) {\n\treturn (\n\t\t<div\n\t\t\tclassName={cn(\n\t\t\t\t'h-10 w-10 rounded-full bg-gradient-to-r from-muted via-muted-foreground/30 to-muted bg-[length:200%_100%]',\n\t\t\t\t'animate-[shimmer_1.5s_ease-in-out_infinite]',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\taria-hidden=\"true\"\n\t\t/>\n\t);\n}\n\nfunction SpinnerProgress({ className = '', label }: { className?: string; label: string }) {\n\treturn (\n\t\t<div\n\t\t\tclassName={cn('w-full max-w-32 overflow-hidden rounded bg-muted', trackHeightClasses.md, className)}\n\t\t\trole=\"progressbar\"\n\t\t\taria-label={label}\n\t\t\taria-busy=\"true\"\n\t\t>\n\t\t\t<div className=\"h-full w-1/3 animate-[progress-slide_1.4s_ease-in-out_infinite] rounded bg-primary\" />\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;;;;;;;AA6BA,IAAaK,IAAwC,EACpD,SAAS,UACV,GAaaC,IAAUC,EAA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;EAClG,MAAK;EACL,cAAYD;EACZ,aAAU;EAEV,UAAA,kBAAC,OAAD,EAAK,WAAU,qFAAsF,CAAA;CACjG,CAAA;AAEP"}
@@ -0,0 +1,95 @@
1
+ "use client";
2
+ import { t as e } from "./utils-C2EKeIw3.js";
3
+ import { a as t, i as n, n as r, r as i, t as a } from "./structure.recipes-DjqnBpwz.js";
4
+ import { createContext as o, forwardRef as s, useContext as c } from "react";
5
+ import { jsx as l } from "react/jsx-runtime";
6
+ import { useRender as u } from "@base-ui/react/use-render";
7
+ //#region src/components/base/structure/adaptive-grid.tsx
8
+ var d = s(function({ className: t, minColumnWidth: n, gap: r, rowGap: i, columnGap: o, align: s, render: c, ...l }, d) {
9
+ return u({
10
+ defaultTagName: "div",
11
+ ref: d,
12
+ render: c,
13
+ props: {
14
+ ...l,
15
+ className: e("adaptive-grid--component", a({
16
+ minColumnWidth: n,
17
+ gap: r,
18
+ rowGap: i,
19
+ columnGap: o,
20
+ align: s
21
+ }), t)
22
+ },
23
+ state: {}
24
+ });
25
+ });
26
+ d.displayName = "AdaptiveGrid";
27
+ //#endregion
28
+ //#region src/components/base/structure/structure.context.ts
29
+ var f = o(void 0), p = s(function({ className: t, columns: n, gap: a, rowGap: o, columnGap: s, align: c, render: d, ...p }, m) {
30
+ let h = u({
31
+ defaultTagName: "div",
32
+ ref: m,
33
+ render: d,
34
+ props: {
35
+ ...p,
36
+ className: e("grid--component", r({
37
+ columns: n,
38
+ gap: a,
39
+ rowGap: o,
40
+ columnGap: s,
41
+ align: c
42
+ }), t)
43
+ },
44
+ state: {}
45
+ });
46
+ return /* @__PURE__ */ l(f.Provider, {
47
+ value: i(n),
48
+ children: h
49
+ });
50
+ });
51
+ p.displayName = "Grid";
52
+ //#endregion
53
+ //#region src/components/base/structure/grid-cell.tsx
54
+ var m = s(function({ className: t, span: r, render: i, ...a }, o) {
55
+ let s = c(f);
56
+ return u({
57
+ defaultTagName: "div",
58
+ ref: o,
59
+ render: i,
60
+ props: {
61
+ ...a,
62
+ className: e("grid-cell--component", n({
63
+ span: r,
64
+ columns: s
65
+ }), t)
66
+ },
67
+ state: {}
68
+ });
69
+ });
70
+ m.displayName = "GridCell";
71
+ //#endregion
72
+ //#region src/components/base/structure/stack.tsx
73
+ var h = s(function({ className: n, direction: r, gap: i, align: a, justify: o, wrap: s, render: c, ...l }, d) {
74
+ return u({
75
+ defaultTagName: "div",
76
+ ref: d,
77
+ render: c,
78
+ props: {
79
+ ...l,
80
+ className: e("stack--component", t({
81
+ direction: r,
82
+ gap: i,
83
+ align: a,
84
+ justify: o,
85
+ wrap: s
86
+ }), n)
87
+ },
88
+ state: {}
89
+ });
90
+ });
91
+ h.displayName = "Stack";
92
+ //#endregion
93
+ export { d as i, m as n, p as r, h as t };
94
+
95
+ //# sourceMappingURL=structure-BvW4vG4H.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structure-BvW4vG4H.js","names":["cn","stackRecipe","spanRecipe","gridRecipe","resolveGridColumns","adaptiveGridRecipe","AdaptiveGrid","forwardRef","props","useRender","className","GridColumnsContext","createContext","Grid","element","columns","GridCell","useContext","Stack"],"sources":["../src/components/base/structure/adaptive-grid.tsx","../src/components/base/structure/structure.context.ts","../src/components/base/structure/grid.tsx","../src/components/base/structure/grid-cell.tsx","../src/components/base/structure/stack.tsx"],"sourcesContent":["import { useRender } from '@base-ui/react/use-render';\nimport { forwardRef } from 'react';\n\nimport { cn } from '../../../lib/utils';\n\nimport { adaptiveGridRecipe } from './structure.recipes';\nimport type { AdaptiveGridProps } from './structure.types';\n\n/** AdaptiveGrid — equal peer columns driven by the available inline size. */\nexport const AdaptiveGrid = forwardRef<HTMLDivElement, AdaptiveGridProps>(\n\tfunction AdaptiveGrid(\n\t\t{\n\t\t\tclassName,\n\t\t\tminColumnWidth,\n\t\t\tgap,\n\t\t\trowGap,\n\t\t\tcolumnGap,\n\t\t\talign,\n\t\t\trender,\n\t\t\t...props\n\t\t},\n\t\tref,\n\t) {\n\t\treturn useRender({\n\t\t\tdefaultTagName: 'div',\n\t\t\tref,\n\t\t\trender,\n\t\t\tprops: {\n\t\t\t\t...props,\n\t\t\t\tclassName: cn(\n\t\t\t\t\t'adaptive-grid--component',\n\t\t\t\t\tadaptiveGridRecipe({ minColumnWidth, gap, rowGap, columnGap, align }),\n\t\t\t\t\tclassName,\n\t\t\t\t),\n\t\t\t},\n\t\t\tstate: {},\n\t\t});\n\t},\n);\n\nAdaptiveGrid.displayName = 'AdaptiveGrid';\n","import { createContext } from 'react';\n\nimport type { GridColumnLadder } from './structure.types';\n\n/**\n * The nearest Grid publishes its resolved column ladder so a GridCell can clamp\n * a numeric span to the tracks that exist at each breakpoint. Undefined means\n * the cell is not inside a Grid.\n */\nexport const GridColumnsContext = createContext<GridColumnLadder | undefined>(undefined);\n","import { useRender } from '@base-ui/react/use-render';\nimport { forwardRef } from 'react';\n\nimport { cn } from '../../../lib/utils';\n\nimport { GridColumnsContext } from './structure.context';\nimport { gridRecipe, resolveGridColumns } from './structure.recipes';\nimport type { GridProps } from './structure.types';\n\n/** Grid — responsive card/tile composition with a one-to-two-column default. */\nexport const Grid = forwardRef<HTMLDivElement, GridProps>(function Grid({ className, columns, gap, rowGap, columnGap, align, render, ...props }, ref) {\n\tconst element = useRender({ defaultTagName: 'div', ref, render, props: { ...props, className: cn('grid--component', gridRecipe({ columns, gap, rowGap, columnGap, align }), className) }, state: {} });\n\t// The provider carries no DOM node, so the BEM hook stays on the grid element.\n\treturn <GridColumnsContext.Provider value={resolveGridColumns(columns)}>{element}</GridColumnsContext.Provider>;\n});\n\nGrid.displayName = 'Grid';\n","import { useRender } from '@base-ui/react/use-render';\nimport { forwardRef, useContext } from 'react';\n\nimport { cn } from '../../../lib/utils';\n\nimport { GridColumnsContext } from './structure.context';\nimport { spanRecipe } from './structure.recipes';\nimport type { GridCellProps } from './structure.types';\n\n/** GridCell — a Grid child that occupies more than one column, clamped to the columns that exist. */\nexport const GridCell = forwardRef<HTMLDivElement, GridCellProps>(function GridCell({ className, span, render, ...props }, ref) {\n\tconst columns = useContext(GridColumnsContext);\n\treturn useRender({ defaultTagName: 'div', ref, render, props: { ...props, className: cn('grid-cell--component', spanRecipe({ span, columns }), className) }, state: {} });\n});\n\nGridCell.displayName = 'GridCell';\n","import { useRender } from '@base-ui/react/use-render';\nimport { forwardRef } from 'react';\n\nimport { cn } from '../../../lib/utils';\n\nimport { stackRecipe } from './structure.recipes';\nimport type { StackProps } from './structure.types';\n\n/** Stack — one-dimensional composition with vertical, token-spaced defaults. */\nexport const Stack = forwardRef<HTMLDivElement, StackProps>(function Stack({ className, direction, gap, align, justify, wrap, render, ...props }, ref) {\n\treturn useRender({ defaultTagName: 'div', ref, render, props: { ...props, className: cn('stack--component', stackRecipe({ direction, gap, align, justify, wrap }), className) }, state: {} });\n});\n\nStack.displayName = 'Stack';\n"],"mappings":";;;;;;;AASA,IAAaM,IAAeC,EAC3B,SACC,EACC,cACA,mBACA,QACA,WACA,cACA,UACA,WACA,GAAGC,KAEJ,GACC;CACD,OAAOC,EAAU;EAChB,gBAAgB;EAChB;EACA;EACA,OAAO;GACN,GAAGD;GACH,WAAWR,EACV,4BACAK,EAAmB;IAAE;IAAgB;IAAK;IAAQ;IAAW;GAAM,CAAC,GACpEK,CACD;EACD;EACA,OAAO,CAAC;CACT,CAAC;AACF,CACD;AAEA,EAAa,cAAc;;;AC/B3B,IAAaC,IAAqBC,EAA4C,KAAA,CAAS,GCC1EC,IAAON,EAAsC,SAAc,EAAE,cAAW,YAAS,QAAK,WAAQ,cAAW,UAAO,WAAQ,GAAGC,KAAS,GAAK;CACrJ,IAAMM,IAAUL,EAAU;EAAE,gBAAgB;EAAO;EAAK;EAAQ,OAAO;GAAE,GAAGD;GAAO,WAAWR,EAAG,mBAAmBG,EAAW;IAAE;IAAS;IAAK;IAAQ;IAAW;GAAM,CAAC,GAAGO,CAAS;EAAE;EAAG,OAAO,CAAC;CAAE,CAAC;CAErM,OAAO,kBAACC,EAAmB,UAApB;EAA6B,OAA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