themelia-react-ui 1.0.2 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (748) hide show
  1. package/CHANGELOG.md +632 -1
  2. package/README.md +31 -13
  3. package/dist/accordion-B6a3vVgA.js +207 -0
  4. package/dist/accordion-B6a3vVgA.js.map +1 -0
  5. package/dist/action-menu-TzCoSlwL.js +280 -0
  6. package/dist/action-menu-TzCoSlwL.js.map +1 -0
  7. package/dist/{affordance-geometry.generated-CL84ZN9A.js → affordance-geometry.generated-B5iu-Mkr.js} +9 -3
  8. package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +1 -0
  9. package/dist/{ai-artifact-DLVdK0Py.js → ai-artifact-BMJdv-6q.js} +389 -391
  10. package/dist/ai-artifact-BMJdv-6q.js.map +1 -0
  11. package/dist/{app-shell-C_fKpljx.js → app-shell-ZK5RWdo6.js} +4 -4
  12. package/dist/{app-shell-C_fKpljx.js.map → app-shell-ZK5RWdo6.js.map} +1 -1
  13. package/dist/attachment-BtfhGm8i.js +245 -0
  14. package/dist/attachment-BtfhGm8i.js.map +1 -0
  15. package/dist/{auth-CAQcasMV.js → auth-CYxKfo69.js} +239 -237
  16. package/dist/auth-CYxKfo69.js.map +1 -0
  17. package/dist/{avatar-Bu2HhitA.js → avatar-BBnEJIx8.js} +71 -68
  18. package/dist/avatar-BBnEJIx8.js.map +1 -0
  19. package/dist/badge-MrKVNzW9.js +93 -0
  20. package/dist/badge-MrKVNzW9.js.map +1 -0
  21. package/dist/base/accordion.js +1 -1
  22. package/dist/base/action-menu.js +1 -1
  23. package/dist/base/attachment.js +1 -1
  24. package/dist/base/avatar.js +1 -1
  25. package/dist/base/badge.js +1 -1
  26. package/dist/base/batch-action-bar.js +3 -0
  27. package/dist/base/buttons.js +2 -3
  28. package/dist/base/cards.js +2 -2
  29. package/dist/base/carousel.js +19 -19
  30. package/dist/base/carousel.js.map +1 -1
  31. package/dist/base/cascader.js +234 -224
  32. package/dist/base/cascader.js.map +1 -1
  33. package/dist/base/chart.js +1 -1
  34. package/dist/base/choice-inputs.js +3 -3
  35. package/dist/base/code-block.js +1 -1
  36. package/dist/base/combobox.js +1 -1
  37. package/dist/base/command.js +1 -1
  38. package/dist/base/copyable.js +1 -1
  39. package/dist/base/date-pickers.js +2 -2
  40. package/dist/base/display.js +7 -7
  41. package/dist/base/feedback.js +3 -3
  42. package/dist/base/forms-numeric.js +1 -1
  43. package/dist/base/forms.js +2 -2
  44. package/dist/base/inline-edit.js +81 -76
  45. package/dist/base/inline-edit.js.map +1 -1
  46. package/dist/base/item.js +1 -1
  47. package/dist/base/media-gallery.js +1 -1
  48. package/dist/base/metadata-list.js +3 -0
  49. package/dist/base/navigation.js +7 -7
  50. package/dist/base/popover-menu.js +1 -1
  51. package/dist/base/popover.js +1 -1
  52. package/dist/base/qr-code.js +7 -4
  53. package/dist/base/qr-code.js.map +1 -1
  54. package/dist/base/repeaters.js +175 -174
  55. package/dist/base/repeaters.js.map +1 -1
  56. package/dist/base/sheet.js +1 -1
  57. package/dist/base/sidebar.js +1 -1
  58. package/dist/base/signature-pad.js +148 -138
  59. package/dist/base/signature-pad.js.map +1 -1
  60. package/dist/base/skeleton.js +1 -1
  61. package/dist/base/spinner.js +1 -1
  62. package/dist/base/structure.js +1 -1
  63. package/dist/base/table.js +1 -1
  64. package/dist/base/text-inputs.js +2 -2
  65. package/dist/base/toaster.js +4 -4
  66. package/dist/base/toaster.js.map +1 -1
  67. package/dist/base/tree.js +1 -1
  68. package/dist/base/upload-queue.js +1 -1
  69. package/dist/base/upload.js +3 -3
  70. package/dist/base/value-inputs.js +2 -2
  71. package/dist/batch-action-bar-BZGDG-Si.js +104 -0
  72. package/dist/batch-action-bar-BZGDG-Si.js.map +1 -0
  73. package/dist/blocks/admin.js +264 -253
  74. package/dist/blocks/admin.js.map +1 -1
  75. package/dist/blocks/ai.js +293 -323
  76. package/dist/blocks/ai.js.map +1 -1
  77. package/dist/blocks/analytics/usage-card.js +1 -1
  78. package/dist/blocks/analytics.js +596 -587
  79. package/dist/blocks/analytics.js.map +1 -1
  80. package/dist/blocks/collaboration.js +1 -1
  81. package/dist/blocks/commerce/receipt.js +1 -1
  82. package/dist/blocks/commerce.js +2246 -1693
  83. package/dist/blocks/commerce.js.map +1 -1
  84. package/dist/blocks/data-display.js +3 -2
  85. package/dist/blocks/onboarding.js +50 -49
  86. package/dist/blocks/onboarding.js.map +1 -1
  87. package/dist/blocks/planning.js +82 -91
  88. package/dist/blocks/planning.js.map +1 -1
  89. package/dist/blocks/timelines.js +1 -1
  90. package/dist/breadcrumbs-D5t7I023.js +129 -0
  91. package/dist/breadcrumbs-D5t7I023.js.map +1 -0
  92. package/dist/{button-BZyfTvwm.js → button-QYwiyhD2.js} +15 -14
  93. package/dist/button-QYwiyhD2.js.map +1 -0
  94. package/dist/buttons-SbIcm1HJ.js +661 -0
  95. package/dist/buttons-SbIcm1HJ.js.map +1 -0
  96. package/dist/{cards-qGSErLw_.js → cards-CiiHpKYd.js} +8 -8
  97. package/dist/cards-CiiHpKYd.js.map +1 -0
  98. package/dist/{chart-Bsc5BICK.js → chart-QfrARkXl.js} +17 -15
  99. package/dist/chart-QfrARkXl.js.map +1 -0
  100. package/dist/checkbox-DhB6K0bK.js +36 -0
  101. package/dist/checkbox-DhB6K0bK.js.map +1 -0
  102. package/dist/choice-inputs-t6w3ATNz.js +766 -0
  103. package/dist/choice-inputs-t6w3ATNz.js.map +1 -0
  104. package/dist/code-block-Dgbu-CU3.js +185 -0
  105. package/dist/code-block-Dgbu-CU3.js.map +1 -0
  106. package/dist/{collapsible-ClvC7Bj3.js → collapsible-D8AEGU1-.js} +4 -4
  107. package/dist/{collapsible-ClvC7Bj3.js.map → collapsible-D8AEGU1-.js.map} +1 -1
  108. package/dist/{collection-content-D6S8cv_n.js → collection-content-uK16Grv0.js} +3 -3
  109. package/dist/{collection-content-D6S8cv_n.js.map → collection-content-uK16Grv0.js.map} +1 -1
  110. package/dist/{combobox-BFnbJJp3.js → combobox-2Ic8N9bL.js} +103 -98
  111. package/dist/combobox-2Ic8N9bL.js.map +1 -0
  112. package/dist/combobox-DLl0bfiq.js +867 -0
  113. package/dist/combobox-DLl0bfiq.js.map +1 -0
  114. package/dist/{command-BnmSchli.js → command-kNR20o7x.js} +34 -30
  115. package/dist/command-kNR20o7x.js.map +1 -0
  116. package/dist/{comments-u5L0OGip.js → comments-BpDuCUUu.js} +304 -301
  117. package/dist/comments-BpDuCUUu.js.map +1 -0
  118. package/dist/components/base/accordion/accordion-variants.d.ts +3 -3
  119. package/dist/components/base/action-menu/action-menu.d.ts +27 -5
  120. package/dist/components/base/action-menu/action-menu.recipes.d.ts +21 -0
  121. package/dist/components/base/action-menu/index.d.ts +1 -0
  122. package/dist/components/base/avatar/stacked-avatars.d.ts +5 -4
  123. package/dist/components/base/badge/badge.d.ts +1 -1
  124. package/dist/components/base/badge/badge.recipes.d.ts +6 -6
  125. package/dist/components/base/batch-action-bar/batch-action-bar.d.ts +50 -0
  126. package/dist/components/base/batch-action-bar/batch-action-bar.strings.d.ts +20 -0
  127. package/dist/components/base/batch-action-bar/index.d.ts +8 -0
  128. package/dist/components/base/buttons/base-button.d.ts +7 -0
  129. package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
  130. package/dist/components/base/buttons/button.recipes.d.ts +2 -2
  131. package/dist/components/base/buttons/button.variants.d.ts +1 -0
  132. package/dist/components/base/buttons/loader-button.d.ts +3 -1
  133. package/dist/components/base/buttons/text-button.d.ts +2 -2
  134. package/dist/components/base/carousel/carousel.d.ts +3 -1
  135. package/dist/components/base/chart/chart.d.ts +7 -7
  136. package/dist/components/base/choice-inputs/checkbox.d.ts +6 -7
  137. package/dist/components/base/choice-inputs/choice-types.d.ts +24 -3
  138. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +9 -0
  139. package/dist/components/base/choice-inputs/select-popup.d.ts +9 -1
  140. package/dist/components/base/choice-inputs/switch-card.d.ts +1 -1
  141. package/dist/components/base/date-pickers/date-picker-field.d.ts +23 -0
  142. package/dist/components/base/date-pickers/datepicker.types.d.ts +13 -3
  143. package/dist/components/base/display/alert-dialog.d.ts +10 -3
  144. package/dist/components/base/display/content-block.d.ts +4 -2
  145. package/dist/components/base/display/date-block.d.ts +1 -1
  146. package/dist/components/base/display/dialog.d.ts +8 -5
  147. package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
  148. package/dist/components/base/display/surface-title.d.ts +6 -1
  149. package/dist/components/base/feedback/alert.d.ts +1 -1
  150. package/dist/components/base/feedback/state-display.d.ts +5 -4
  151. package/dist/components/base/forms/form-sizing.d.ts +43 -8
  152. package/dist/components/base/forms/workflow.d.ts +2 -0
  153. package/dist/components/base/forms-numeric/coordinates-input.d.ts +3 -0
  154. package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +4 -1
  155. package/dist/components/base/metadata-list/index.d.ts +12 -0
  156. package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.d.ts +28 -25
  157. package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-value.d.ts +2 -2
  158. package/dist/components/base/navigation/dropdown-menu.d.ts +2 -2
  159. package/dist/components/base/navigation/index.d.ts +1 -1
  160. package/dist/components/base/navigation/language-switcher.d.ts +4 -1
  161. package/dist/components/base/navigation/overflow-tab-bar.d.ts +7 -0
  162. package/dist/components/base/navigation/page-header/index.d.ts +1 -0
  163. package/dist/components/base/navigation/page-header/page-header-commands.d.ts +73 -0
  164. package/dist/components/base/navigation/page-header/page-header.d.ts +30 -4
  165. package/dist/components/base/qr-code/qr-code.d.ts +2 -0
  166. package/dist/components/base/sheet/index.d.ts +29 -1
  167. package/dist/components/base/sheet/sheet.d.ts +10 -5
  168. package/dist/components/base/signature-pad/signature-pad.types.d.ts +5 -1
  169. package/dist/components/base/signature-pad/signature-pad.utils.d.ts +11 -3
  170. package/dist/components/base/spinner/spinner.d.ts +3 -2
  171. package/dist/components/base/structure/structure.types.d.ts +1 -1
  172. package/dist/components/base/text-inputs/field-clear-button.d.ts +6 -0
  173. package/dist/components/base/text-inputs/input-group.d.ts +2 -2
  174. package/dist/components/base/upload/upload.recipes.d.ts +33 -0
  175. package/dist/components/base/value-inputs/date-time-input.d.ts +4 -2
  176. package/dist/components/base/value-inputs/index.d.ts +5 -5
  177. package/dist/components/base/value-inputs/tags-input.d.ts +38 -12
  178. package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +1 -1
  179. package/dist/components/blocks/analytics/format-metric-value.d.ts +11 -1
  180. package/dist/components/blocks/analytics/index.d.ts +1 -1
  181. package/dist/components/blocks/analytics/use-metric-format-options.d.ts +3 -0
  182. package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
  183. package/dist/components/blocks/commerce/address-card/types.d.ts +4 -1
  184. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +4 -0
  185. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +2 -2
  186. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +3 -1
  187. package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
  188. package/dist/components/blocks/commerce/cart-summary/types.d.ts +6 -1
  189. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +3 -1
  190. package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
  191. package/dist/components/blocks/commerce/discount-stack/types.d.ts +16 -4
  192. package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +5 -0
  193. package/dist/components/blocks/commerce/fulfillment-group/index.d.ts +2 -0
  194. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +43 -0
  195. package/dist/components/blocks/commerce/index.d.ts +13 -5
  196. package/dist/components/blocks/commerce/inventory-section/types.d.ts +4 -1
  197. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
  198. package/dist/components/blocks/commerce/invoice-header/types.d.ts +4 -2
  199. package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +1 -1
  200. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +2 -1
  201. package/dist/components/blocks/commerce/loyalty-points/types.d.ts +1 -1
  202. package/dist/components/blocks/commerce/order-customer/index.d.ts +2 -0
  203. package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +5 -0
  204. package/dist/components/blocks/commerce/order-customer/types.d.ts +48 -0
  205. package/dist/components/blocks/commerce/order-header/index.d.ts +2 -0
  206. package/dist/components/blocks/commerce/order-header/order-header.d.ts +5 -0
  207. package/dist/components/blocks/commerce/order-header/types.d.ts +37 -0
  208. package/dist/components/blocks/commerce/order-line-item/index.d.ts +2 -0
  209. package/dist/components/blocks/commerce/order-line-item/order-line-item.d.ts +5 -0
  210. package/dist/components/blocks/commerce/order-line-item/types.d.ts +46 -0
  211. package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
  212. package/dist/components/blocks/commerce/order-summary/index.d.ts +2 -0
  213. package/dist/components/blocks/commerce/order-summary/order-summary.d.ts +5 -0
  214. package/dist/components/blocks/commerce/order-summary/types.d.ts +42 -0
  215. package/dist/components/blocks/commerce/order-transactions/index.d.ts +2 -0
  216. package/dist/components/blocks/commerce/order-transactions/order-transactions.d.ts +5 -0
  217. package/dist/components/blocks/commerce/order-transactions/types.d.ts +46 -0
  218. package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
  219. package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +9 -1
  220. package/dist/components/blocks/commerce/payment-method/types.d.ts +14 -1
  221. package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
  222. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +3 -1
  223. package/dist/components/blocks/commerce/refund-status/types.d.ts +6 -3
  224. package/dist/components/blocks/commerce/seo-listing/seo-listing-card.d.ts +1 -1
  225. package/dist/components/blocks/commerce/seo-listing/types.d.ts +3 -1
  226. package/dist/components/blocks/commerce/shared/address-lines.d.ts +21 -0
  227. package/dist/components/blocks/commerce/shared/line-thumbnail.d.ts +9 -0
  228. package/dist/components/blocks/commerce/shared/order-status.d.ts +51 -0
  229. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
  230. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +27 -6
  231. package/dist/components/blocks/commerce/summary-panel/amount-row.d.ts +2 -0
  232. package/dist/components/blocks/commerce/summary-panel/index.d.ts +3 -0
  233. package/dist/components/blocks/commerce/summary-panel/summary-panel.d.ts +2 -0
  234. package/dist/components/blocks/commerce/summary-panel/types.d.ts +26 -0
  235. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
  236. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +2 -1
  237. package/dist/components/blocks/commerce/vendor-profile/types.d.ts +4 -1
  238. package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +4 -1
  239. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +4 -1
  240. package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
  241. package/dist/components/features/activities/partials/activity-row.d.ts +6 -2
  242. package/dist/components/features/activities/partials/tone-tokens.d.ts +0 -6
  243. package/dist/components/features/global-search/partials/global-search-group-heading.d.ts +15 -0
  244. package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +1 -1
  245. package/dist/components/features/global-search/partials/tone-palettes.d.ts +0 -5
  246. package/dist/components/features/kanban/kanban.d.ts +1 -1
  247. package/dist/components/features/kanban/kanban.strings.d.ts +1 -1
  248. package/dist/components/features/kanban/kanban.types.d.ts +2 -2
  249. package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
  250. package/dist/components/features/media-library/index.d.ts +1 -1
  251. package/dist/components/features/media-library/media-library.d.ts +1 -1
  252. package/dist/components/features/media-library/media-library.strings.d.ts +4 -0
  253. package/dist/components/features/media-library/media-library.types.d.ts +74 -1
  254. package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
  255. package/dist/components/features/mentions/partials/mention-kind-toggles.d.ts +16 -0
  256. package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
  257. package/dist/components/features/overlays/dialog.d.ts +1 -1
  258. package/dist/components/features/overlays/drawer.d.ts +1 -1
  259. package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +2 -2
  260. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +11 -4
  261. package/dist/components/features/overlays/index.d.ts +1 -1
  262. package/dist/components/features/overlays/overlay-tone-icon.d.ts +37 -0
  263. package/dist/components/features/overlays/overlays.types.d.ts +62 -19
  264. package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
  265. package/dist/components/features/products/components/product-details-card.d.ts +5 -0
  266. package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
  267. package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
  268. package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
  269. package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
  270. package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
  271. package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
  272. package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
  273. package/dist/components/features/products/components/product-variant-action-menu.d.ts +23 -1
  274. package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
  275. package/dist/components/features/products/partials/index.d.ts +1 -1
  276. package/dist/components/features/products/partials/product-metric-tile.d.ts +6 -0
  277. package/dist/components/features/products/partials/product-tone.d.ts +11 -1
  278. package/dist/components/features/products/products.types.d.ts +11 -3
  279. package/dist/components/features/resource/index.d.ts +1 -1
  280. package/dist/components/features/resource/resource.d.ts +1 -1
  281. package/dist/components/features/resource/resource.types.d.ts +34 -6
  282. package/dist/components/features/rich-text-editor/index.d.ts +2 -1
  283. package/dist/components/features/rich-text-editor/partials/image-nodes.d.ts +13 -0
  284. package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +66 -0
  285. package/dist/components/features/rich-text-editor/partials/inline-reference-node.d.ts +19 -0
  286. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +1 -1
  287. package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +14 -0
  288. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +45 -0
  289. package/dist/components/features/rich-text-editor/use-rich-text-images.d.ts +18 -0
  290. package/dist/components/features/sync/index.d.ts +26 -3
  291. package/dist/components/features/table/data-table.d.ts +1 -1
  292. package/dist/components/features/table/partials/cell-renderers.d.ts +1 -1
  293. package/dist/components/features/table/table.types.d.ts +32 -7
  294. package/dist/components/layout/page/index.d.ts +1 -1
  295. package/dist/components/layout/page/page.types.d.ts +51 -4
  296. package/dist/components/layout/page/partials/page-actions.d.ts +1 -0
  297. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  298. package/dist/components/layout/settings/settings.d.ts +16 -2
  299. package/dist/components/layout/workspace/workspace.types.d.ts +21 -4
  300. package/dist/components/primitives/date.d.ts +16 -3
  301. package/dist/components/primitives/dimensions.d.ts +6 -0
  302. package/dist/components/primitives/duration.d.ts +6 -0
  303. package/dist/components/primitives/file-size.d.ts +6 -0
  304. package/dist/components/primitives/index.d.ts +1 -1
  305. package/dist/components/primitives/initials.d.ts +11 -2
  306. package/dist/components/primitives/link.d.ts +7 -0
  307. package/dist/components/primitives/money.d.ts +29 -7
  308. package/dist/components/primitives/number.d.ts +17 -0
  309. package/dist/components/primitives/value-typography.d.ts +54 -0
  310. package/dist/components/primitives/value.d.ts +31 -6
  311. package/dist/components/typography/heading.d.ts +9 -1
  312. package/dist/components/typography/label.d.ts +3 -0
  313. package/dist/components/typography/rich-text/index.d.ts +1 -1
  314. package/dist/components/typography/rich-text/rich-text-tree.d.ts +19 -0
  315. package/dist/components/typography/rich-text/rich-text.d.ts +16 -0
  316. package/dist/components/typography/running-text.d.ts +12 -0
  317. package/dist/components/typography/text-link.d.ts +24 -1
  318. package/dist/components/typography/text.d.ts +12 -0
  319. package/dist/components/typography/text.styles.d.ts +35 -13
  320. package/dist/components/ui/button.d.ts +1 -1
  321. package/dist/components/ui/checkbox.d.ts +6 -0
  322. package/dist/components/ui/overlay.recipes.d.ts +6 -2
  323. package/dist/components/ui/select.d.ts +3 -1
  324. package/dist/components/ui/switch.d.ts +5 -0
  325. package/dist/{containers-DqB-bSYE.js → containers-DmWiJa2I.js} +36 -35
  326. package/dist/containers-DmWiJa2I.js.map +1 -0
  327. package/dist/{copyable-BTSByfmq.js → copyable-B3Gwgdqc.js} +6 -6
  328. package/dist/{copyable-BTSByfmq.js.map → copyable-B3Gwgdqc.js.map} +1 -1
  329. package/dist/data-display-DafIvCl5.js +960 -0
  330. package/dist/data-display-DafIvCl5.js.map +1 -0
  331. package/dist/date-BgK3bTdo.js +144 -0
  332. package/dist/date-BgK3bTdo.js.map +1 -0
  333. package/dist/date-picker-CF-DtUpF.js +1529 -0
  334. package/dist/date-picker-CF-DtUpF.js.map +1 -0
  335. package/dist/date-pickers-BmzxJl5l.js +174 -0
  336. package/dist/date-pickers-BmzxJl5l.js.map +1 -0
  337. package/dist/{display-CS6Hbk18.js → display-DsQTVzMz.js} +88 -87
  338. package/dist/display-DsQTVzMz.js.map +1 -0
  339. package/dist/{dropdown-menu-D-boNgGO.js → dropdown-menu-E2qmdC7o.js} +23 -16
  340. package/dist/dropdown-menu-E2qmdC7o.js.map +1 -0
  341. package/dist/features/activities.js +437 -521
  342. package/dist/features/activities.js.map +1 -1
  343. package/dist/features/ai-chat.js +174 -172
  344. package/dist/features/ai-chat.js.map +1 -1
  345. package/dist/features/async-preview.js +8 -8
  346. package/dist/features/async-preview.js.map +1 -1
  347. package/dist/features/combobox.js +1 -1
  348. package/dist/features/comments.js +1 -1
  349. package/dist/features/data-view.js +139 -138
  350. package/dist/features/data-view.js.map +1 -1
  351. package/dist/features/email-composer/engine.js +1 -1
  352. package/dist/features/email-composer.js +353 -352
  353. package/dist/features/email-composer.js.map +1 -1
  354. package/dist/features/event-calendar.js +262 -269
  355. package/dist/features/event-calendar.js.map +1 -1
  356. package/dist/features/filters.js +1 -1
  357. package/dist/features/global-search.js +307 -310
  358. package/dist/features/global-search.js.map +1 -1
  359. package/dist/features/kanban.js +95 -97
  360. package/dist/features/kanban.js.map +1 -1
  361. package/dist/features/map.js +56 -57
  362. package/dist/features/map.js.map +1 -1
  363. package/dist/features/media-library.js +914 -824
  364. package/dist/features/media-library.js.map +1 -1
  365. package/dist/features/mentions.js +1 -1
  366. package/dist/features/overlays.js +1 -1
  367. package/dist/features/products.js +1272 -1311
  368. package/dist/features/products.js.map +1 -1
  369. package/dist/features/questionnaire.js +204 -194
  370. package/dist/features/questionnaire.js.map +1 -1
  371. package/dist/features/resource-assignment.js +103 -95
  372. package/dist/features/resource-assignment.js.map +1 -1
  373. package/dist/features/resource.js +77 -69
  374. package/dist/features/resource.js.map +1 -1
  375. package/dist/features/rich-text-editor.js +30 -11
  376. package/dist/features/rich-text-editor.js.map +1 -1
  377. package/dist/features/schema-form.js +193 -189
  378. package/dist/features/schema-form.js.map +1 -1
  379. package/dist/features/suggestions.js +3 -3
  380. package/dist/features/sync.js +7 -7
  381. package/dist/features/sync.js.map +1 -1
  382. package/dist/features/table.js +1 -1
  383. package/dist/features/theme-tweaker.js +455 -455
  384. package/dist/features/theme-tweaker.js.map +1 -1
  385. package/dist/feedback-qNuMBtRH.js +233 -0
  386. package/dist/feedback-qNuMBtRH.js.map +1 -0
  387. package/dist/field-affordance-recipes-qQeIf4lG.js +48 -0
  388. package/dist/field-affordance-recipes-qQeIf4lG.js.map +1 -0
  389. package/dist/field-state-recipes-BVA2CWHo.js +12 -0
  390. package/dist/field-state-recipes-BVA2CWHo.js.map +1 -0
  391. package/dist/{filters-D6FF8L6s.js → filters-BkHH53uv.js} +414 -412
  392. package/dist/filters-BkHH53uv.js.map +1 -0
  393. package/dist/focus-recipes-B653VaLq.js +12 -0
  394. package/dist/focus-recipes-B653VaLq.js.map +1 -0
  395. package/dist/{form-field-CZwrkP7m.js → form-field-DUt4UxSV.js} +7 -7
  396. package/dist/{form-field-CZwrkP7m.js.map → form-field-DUt4UxSV.js.map} +1 -1
  397. package/dist/form-sizing-By94KzXE.js +130 -0
  398. package/dist/form-sizing-By94KzXE.js.map +1 -0
  399. package/dist/{forms-B5NCbkSC.js → forms-Bzha-Y3B.js} +25 -25
  400. package/dist/forms-Bzha-Y3B.js.map +1 -0
  401. package/dist/forms-numeric-C0bvjRPZ.js +906 -0
  402. package/dist/forms-numeric-C0bvjRPZ.js.map +1 -0
  403. package/dist/{header-kxruN3RM.js → header-BOefOKd1.js} +38 -41
  404. package/dist/header-BOefOKd1.js.map +1 -0
  405. package/dist/{hooks-BrlnCwQd.js → hooks-9k_TtmKh.js} +2 -2
  406. package/dist/{hooks-BrlnCwQd.js.map → hooks-9k_TtmKh.js.map} +1 -1
  407. package/dist/{http-CdEIHyQf.js → http-D_6rOnzU.js} +2 -2
  408. package/dist/{http-CdEIHyQf.js.map → http-D_6rOnzU.js.map} +1 -1
  409. package/dist/icon-badge-CAuKupo9.js +55 -0
  410. package/dist/icon-badge-CAuKupo9.js.map +1 -0
  411. package/dist/index.js +7 -7
  412. package/dist/input-DWhBBBww.js +262 -0
  413. package/dist/input-DWhBBBww.js.map +1 -0
  414. package/dist/{input-vxcaNCYC.js → input-Ddi_LSYv.js} +3 -3
  415. package/dist/{input-vxcaNCYC.js.map → input-Ddi_LSYv.js.map} +1 -1
  416. package/dist/interaction-recipes-CHr0dJUs.js +24 -0
  417. package/dist/interaction-recipes-CHr0dJUs.js.map +1 -0
  418. package/dist/item-DEmDiTlD.js +265 -0
  419. package/dist/item-DEmDiTlD.js.map +1 -0
  420. package/dist/layer-recipes-CCpklYME.js +13 -0
  421. package/dist/layer-recipes-CCpklYME.js.map +1 -0
  422. package/dist/layout/app-shell.js +1 -1
  423. package/dist/layout/auth.js +1 -1
  424. package/dist/layout/containers.js +1 -1
  425. package/dist/layout/header.js +1 -1
  426. package/dist/layout/hooks.js +1 -1
  427. package/dist/layout/navigation.js +1 -1
  428. package/dist/layout/page.js +1 -1
  429. package/dist/layout/settings.js +1 -1
  430. package/dist/layout/sidebar.js +2 -2
  431. package/dist/layout/workspace.js +1 -1
  432. package/dist/layout.js +10 -10
  433. package/dist/lib/affordance-geometry.generated.d.ts +7 -1
  434. package/dist/lib/field-affordance-recipes.d.ts +41 -1
  435. package/dist/lib/field-state-recipes.d.ts +9 -6
  436. package/dist/lib/focus-recipes.d.ts +24 -0
  437. package/dist/lib/format.d.ts +9 -0
  438. package/dist/lib/interaction-recipes.d.ts +35 -0
  439. package/dist/lib/layer-recipes.d.ts +19 -0
  440. package/dist/lib/money-format.d.ts +30 -0
  441. package/dist/lib/motion-recipes.d.ts +1 -0
  442. package/dist/lib/overlay-anatomy-recipes.d.ts +2 -1
  443. package/dist/lib/safe-image-src.d.ts +10 -0
  444. package/dist/lib/sanitize-html.d.ts +15 -3
  445. package/dist/lib/surface-recipes.d.ts +48 -6
  446. package/dist/lib/token-merge.generated.d.ts +17 -14
  447. package/dist/lib/tone-recipes.d.ts +79 -0
  448. package/dist/lib/track-recipes.d.ts +1 -1
  449. package/dist/lib/ui-provider/hooks.d.ts +2 -1
  450. package/dist/lib/ui-provider/index.d.ts +2 -2
  451. package/dist/lib/ui-provider/provider.d.ts +7 -2
  452. package/dist/lib/ui-provider/store.d.ts +6 -2
  453. package/dist/lib/ui-provider/types.d.ts +14 -2
  454. package/dist/lib/utils.js +1 -1
  455. package/dist/media-gallery-DcTtAaeC.js +203 -0
  456. package/dist/media-gallery-DcTtAaeC.js.map +1 -0
  457. package/dist/mentions-D-uyCh01.js +568 -0
  458. package/dist/mentions-D-uyCh01.js.map +1 -0
  459. package/dist/{message-SZUNB1eX.js → message-CdHgIWKf.js} +5 -5
  460. package/dist/{message-SZUNB1eX.js.map → message-CdHgIWKf.js.map} +1 -1
  461. package/dist/metadata-list-X5rYAKSB.js +394 -0
  462. package/dist/metadata-list-X5rYAKSB.js.map +1 -0
  463. package/dist/{motion-recipes-B6jKXEcN.js → motion-recipes-ChBg4HBq.js} +3 -2
  464. package/dist/{motion-recipes-B6jKXEcN.js.map → motion-recipes-ChBg4HBq.js.map} +1 -1
  465. package/dist/navigation-D3KwXmaq.js +145 -0
  466. package/dist/navigation-D3KwXmaq.js.map +1 -0
  467. package/dist/navigation-HJf5zxlH.js +268 -0
  468. package/dist/navigation-HJf5zxlH.js.map +1 -0
  469. package/dist/{navigation-row-recipes-DQEXQcqY.js → navigation-row-recipes-BVowojQw.js} +2 -2
  470. package/dist/{navigation-row-recipes-DQEXQcqY.js.map → navigation-row-recipes-BVowojQw.js.map} +1 -1
  471. package/dist/number-DMhe-Vsk.js +352 -0
  472. package/dist/number-DMhe-Vsk.js.map +1 -0
  473. package/dist/overflow-tab-bar-sQHXLlwQ.js +280 -0
  474. package/dist/overflow-tab-bar-sQHXLlwQ.js.map +1 -0
  475. package/dist/overlay.recipes-8GHqmlb4.js +6 -0
  476. package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
  477. package/dist/overlays-I0axtYA6.js +999 -0
  478. package/dist/overlays-I0axtYA6.js.map +1 -0
  479. package/dist/{page-hGmT4nWK.js → page-B5dTH9gE.js} +79 -68
  480. package/dist/page-B5dTH9gE.js.map +1 -0
  481. package/dist/page-header-commands-DjzFEq3E.js +126 -0
  482. package/dist/page-header-commands-DjzFEq3E.js.map +1 -0
  483. package/dist/{pagination-NLGqRirf.js → pagination-3bPA_a6K.js} +19 -19
  484. package/dist/{pagination-NLGqRirf.js.map → pagination-3bPA_a6K.js.map} +1 -1
  485. package/dist/{popover-CghIYdQf.js → popover-Di55PyAI.js} +8 -8
  486. package/dist/popover-Di55PyAI.js.map +1 -0
  487. package/dist/{popover-menu-B4PoWhRl.js → popover-menu-B71Tn2Qz.js} +6 -6
  488. package/dist/{popover-menu-B4PoWhRl.js.map → popover-menu-B71Tn2Qz.js.map} +1 -1
  489. package/dist/{popover.recipes-QlD4JenO.js → popover.recipes-Bdyhj2db.js} +2 -2
  490. package/dist/{popover.recipes-QlD4JenO.js.map → popover.recipes-Bdyhj2db.js.map} +1 -1
  491. package/dist/primitives-B-CkiEMU.js +379 -0
  492. package/dist/primitives-B-CkiEMU.js.map +1 -0
  493. package/dist/primitives.js +5 -5
  494. package/dist/{progress-BroqrAyV.js → progress-rnS8-uAW.js} +11 -11
  495. package/dist/progress-rnS8-uAW.js.map +1 -0
  496. package/dist/{receipt-BuJynLgf.js → receipt-D0oswZ0p.js} +6 -6
  497. package/dist/{receipt-BuJynLgf.js.map → receipt-D0oswZ0p.js.map} +1 -1
  498. package/dist/rich-text-DvGulsNJ.js +78 -0
  499. package/dist/rich-text-DvGulsNJ.js.map +1 -0
  500. package/dist/rich-text-editor-sMU_Scqm.js +1204 -0
  501. package/dist/rich-text-editor-sMU_Scqm.js.map +1 -0
  502. package/dist/rich-text-editor.recipes-CadiF_Uu.js +88 -0
  503. package/dist/rich-text-editor.recipes-CadiF_Uu.js.map +1 -0
  504. package/dist/rich-text-editor.strings-CB59ekH2.js +38 -0
  505. package/dist/rich-text-editor.strings-CB59ekH2.js.map +1 -0
  506. package/dist/safe-image-src-C6kQSMBZ.js +17 -0
  507. package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
  508. package/dist/sanitize-html-DsQmI48u.js +92 -0
  509. package/dist/sanitize-html-DsQmI48u.js.map +1 -0
  510. package/dist/scroll-area-Bt_vXY2b.js +48 -0
  511. package/dist/scroll-area-Bt_vXY2b.js.map +1 -0
  512. package/dist/{separator-BNIgG3au.js → separator-C8DlRGwF.js} +4 -4
  513. package/dist/separator-C8DlRGwF.js.map +1 -0
  514. package/dist/{separator-BhtFyo4x.js → separator-CYHnjsAb.js} +2 -2
  515. package/dist/{separator-BhtFyo4x.js.map → separator-CYHnjsAb.js.map} +1 -1
  516. package/dist/services/actions/action-adapters.d.ts +22 -0
  517. package/dist/services/actions/index.d.ts +1 -1
  518. package/dist/services/actions.js +23 -6
  519. package/dist/services/actions.js.map +1 -1
  520. package/dist/settings-CQW3b-Cu.js +170 -0
  521. package/dist/settings-CQW3b-Cu.js.map +1 -0
  522. package/dist/sheet-4SEvVYzA.js +210 -0
  523. package/dist/sheet-4SEvVYzA.js.map +1 -0
  524. package/dist/{sidebar-CyR4XKwR.js → sidebar-C7WWR29L.js} +181 -180
  525. package/dist/sidebar-C7WWR29L.js.map +1 -0
  526. package/dist/sidebar-d7Dg80ln.js +511 -0
  527. package/dist/sidebar-d7Dg80ln.js.map +1 -0
  528. package/dist/{skeleton-3F0uhYn3.js → skeleton-Cz890JZF.js} +10 -10
  529. package/dist/skeleton-Cz890JZF.js.map +1 -0
  530. package/dist/smart-card-lFKxn5Hu.js +595 -0
  531. package/dist/smart-card-lFKxn5Hu.js.map +1 -0
  532. package/dist/{spinner-Cpf7oRkF.js → spinner-fa3h1Aif.js} +10 -8
  533. package/dist/spinner-fa3h1Aif.js.map +1 -0
  534. package/dist/{structure-CRdqVawd.js → structure-DC2dygdA.js} +3 -3
  535. package/dist/{structure-CRdqVawd.js.map → structure-DC2dygdA.js.map} +1 -1
  536. package/dist/{structure.recipes-Bqhf9oIh.js → structure.recipes-EPz60cU8.js} +37 -19
  537. package/dist/structure.recipes-EPz60cU8.js.map +1 -0
  538. package/dist/style.css +1 -1
  539. package/dist/surface-recipes-BKRVW8Os.js +43 -0
  540. package/dist/surface-recipes-BKRVW8Os.js.map +1 -0
  541. package/dist/table-CIKyLUsy.js +163 -0
  542. package/dist/table-CIKyLUsy.js.map +1 -0
  543. package/dist/{table-CcRDZiLP.js → table-CrcLN9Io.js} +544 -530
  544. package/dist/table-CrcLN9Io.js.map +1 -0
  545. package/dist/tabs-DwBJfjxX.js +190 -0
  546. package/dist/tabs-DwBJfjxX.js.map +1 -0
  547. package/dist/{text-inputs-DsR56TR-.js → text-inputs-aaK9wcDT.js} +151 -155
  548. package/dist/text-inputs-aaK9wcDT.js.map +1 -0
  549. package/dist/{text.styles-Q4sGAIgA.js → text.styles-g4He6UIW.js} +17 -14
  550. package/dist/text.styles-g4He6UIW.js.map +1 -0
  551. package/dist/theme.css +16 -12
  552. package/dist/themes/green.css +24 -0
  553. package/dist/{timelines-D1pkt3se.js → timelines-C_SBwHNP.js} +154 -164
  554. package/dist/timelines-C_SBwHNP.js.map +1 -0
  555. package/dist/tone-recipes-CPoExcTE.js +70 -0
  556. package/dist/tone-recipes-CPoExcTE.js.map +1 -0
  557. package/dist/tooltip-CsfgrfS7.js +111 -0
  558. package/dist/tooltip-CsfgrfS7.js.map +1 -0
  559. package/dist/track-recipes-CDcKmndW.js +10 -0
  560. package/dist/track-recipes-CDcKmndW.js.map +1 -0
  561. package/dist/{tree-BtmYyMZV.js → tree-BiKhg8AY.js} +72 -70
  562. package/dist/tree-BiKhg8AY.js.map +1 -0
  563. package/dist/typography/rich-text.js +1 -1
  564. package/dist/typography-DTRkE9zL.js +117 -0
  565. package/dist/typography-DTRkE9zL.js.map +1 -0
  566. package/dist/typography.js +2 -2
  567. package/dist/{ui-provider-DRPn3qNl.js → ui-provider-1D_NSYzO.js} +30 -23
  568. package/dist/ui-provider-1D_NSYzO.js.map +1 -0
  569. package/dist/ui-provider.js +3 -3
  570. package/dist/{upload-CDbYw1WN.js → upload-BO8-CLN6.js} +294 -293
  571. package/dist/upload-BO8-CLN6.js.map +1 -0
  572. package/dist/{upload-queue-CNd_hH_a.js → upload-queue-EOC8g1gf.js} +133 -138
  573. package/dist/upload-queue-EOC8g1gf.js.map +1 -0
  574. package/dist/upload.recipes-BbxTqrCT.js +61 -0
  575. package/dist/upload.recipes-BbxTqrCT.js.map +1 -0
  576. package/dist/{usage-card-VyJLUwRr.js → usage-card-obRaBskq.js} +42 -43
  577. package/dist/{usage-card-VyJLUwRr.js.map → usage-card-obRaBskq.js.map} +1 -1
  578. package/dist/{utils-BvH9PSmq.js → utils-l5LpDw2z.js} +264 -62
  579. package/dist/utils-l5LpDw2z.js.map +1 -0
  580. package/dist/value-inputs-TAYMX111.js +947 -0
  581. package/dist/value-inputs-TAYMX111.js.map +1 -0
  582. package/dist/value-typography-b8wpz1eX.js +116 -0
  583. package/dist/value-typography-b8wpz1eX.js.map +1 -0
  584. package/dist/workspace-DH0v0KcB.js +407 -0
  585. package/dist/workspace-DH0v0KcB.js.map +1 -0
  586. package/docs/consumer-skill/SKILL.md +62 -50
  587. package/docs/consumer-skill/examples/app-layout.tsx +3 -5
  588. package/docs/consumer-skill/examples/composition.tsx +3 -3
  589. package/docs/consumer-skill/examples/detail.tsx +59 -13
  590. package/docs/consumer-skill/examples/edit.tsx +2 -2
  591. package/docs/consumer-skill/examples/layout-blocks.tsx +20 -0
  592. package/docs/consumer-skill/examples/manifest.json +28 -6
  593. package/docs/consumer-skill/examples/receipt.tsx +2 -2
  594. package/docs/consumer-skill/examples/scoped-directory.tsx +3 -3
  595. package/docs/consumer-skill/examples/website.tsx +1 -1
  596. package/docs/consumer-skill/references/agents-md.md +33 -0
  597. package/docs/consumer-skill/references/analytics.md +1 -1
  598. package/docs/consumer-skill/references/composition.md +139 -24
  599. package/docs/consumer-skill/references/design-contract.md +12 -3
  600. package/docs/consumer-skill/references/discovery.md +4 -0
  601. package/docs/consumer-skill/references/installation.md +33 -1
  602. package/docs/consumer-skill/references/integration.md +32 -1
  603. package/docs/consumer-skill/references/public-api.json +1051 -610
  604. package/docs/consumer-skill/references/review.md +44 -8
  605. package/docs/consumer-skill/references/theming.md +14 -4
  606. package/docs/consumer-skill/references/tokens.json +5 -2
  607. package/docs/consumer-skill/references/workflows.md +30 -9
  608. package/docs/consumer-skill/scripts/composition-policy.mjs +127 -6
  609. package/docs/consumer-skill/scripts/discovery.mjs +11 -3
  610. package/docs/consumer-skill/scripts/pin-button-defaults.mjs +95 -0
  611. package/docs/consumer-skill/scripts/surface-policy.mjs +139 -5
  612. package/package.json +13 -3
  613. package/dist/accordion-BRTcsp8J.js +0 -205
  614. package/dist/accordion-BRTcsp8J.js.map +0 -1
  615. package/dist/action-menu-Drxw_vJk.js +0 -265
  616. package/dist/action-menu-Drxw_vJk.js.map +0 -1
  617. package/dist/affordance-geometry.generated-CL84ZN9A.js.map +0 -1
  618. package/dist/ai-artifact-DLVdK0Py.js.map +0 -1
  619. package/dist/attachment-DbjUWsP0.js +0 -244
  620. package/dist/attachment-DbjUWsP0.js.map +0 -1
  621. package/dist/auth-CAQcasMV.js.map +0 -1
  622. package/dist/avatar-Bu2HhitA.js.map +0 -1
  623. package/dist/badge-CzId1Wlm.js +0 -92
  624. package/dist/badge-CzId1Wlm.js.map +0 -1
  625. package/dist/breadcrumbs-BuYz5SDU.js +0 -128
  626. package/dist/breadcrumbs-BuYz5SDU.js.map +0 -1
  627. package/dist/button-BZDasD04.js +0 -651
  628. package/dist/button-BZDasD04.js.map +0 -1
  629. package/dist/button-BZyfTvwm.js.map +0 -1
  630. package/dist/buttons-D_6KJvEE.js +0 -99
  631. package/dist/buttons-D_6KJvEE.js.map +0 -1
  632. package/dist/cards-qGSErLw_.js.map +0 -1
  633. package/dist/chart-Bsc5BICK.js.map +0 -1
  634. package/dist/checkbox-BQNDjUCh.js +0 -34
  635. package/dist/checkbox-BQNDjUCh.js.map +0 -1
  636. package/dist/choice-inputs-Mk3iWbhr.js +0 -725
  637. package/dist/choice-inputs-Mk3iWbhr.js.map +0 -1
  638. package/dist/code-block-DzHKRybS.js +0 -183
  639. package/dist/code-block-DzHKRybS.js.map +0 -1
  640. package/dist/combobox-BFnbJJp3.js.map +0 -1
  641. package/dist/combobox-hozNwUcc.js +0 -847
  642. package/dist/combobox-hozNwUcc.js.map +0 -1
  643. package/dist/command-BnmSchli.js.map +0 -1
  644. package/dist/comments-u5L0OGip.js.map +0 -1
  645. package/dist/containers-DqB-bSYE.js.map +0 -1
  646. package/dist/data-display-Bihs9Ven.js +0 -1342
  647. package/dist/data-display-Bihs9Ven.js.map +0 -1
  648. package/dist/date-DOKhJPu7.js +0 -140
  649. package/dist/date-DOKhJPu7.js.map +0 -1
  650. package/dist/date-picker-DzP5HQq7.js +0 -1541
  651. package/dist/date-picker-DzP5HQq7.js.map +0 -1
  652. package/dist/date-pickers-BpgGz7S-.js +0 -196
  653. package/dist/date-pickers-BpgGz7S-.js.map +0 -1
  654. package/dist/display-CS6Hbk18.js.map +0 -1
  655. package/dist/dropdown-menu-D-boNgGO.js.map +0 -1
  656. package/dist/feedback-CJkUAapr.js +0 -233
  657. package/dist/feedback-CJkUAapr.js.map +0 -1
  658. package/dist/field-affordance-recipes-uKY4MsZ_.js +0 -25
  659. package/dist/field-affordance-recipes-uKY4MsZ_.js.map +0 -1
  660. package/dist/field-state-recipes-DQQpiLWC.js +0 -11
  661. package/dist/field-state-recipes-DQQpiLWC.js.map +0 -1
  662. package/dist/filters-D6FF8L6s.js.map +0 -1
  663. package/dist/form-sizing-QP8aIRaW.js +0 -103
  664. package/dist/form-sizing-QP8aIRaW.js.map +0 -1
  665. package/dist/format-iamDSqs2.js +0 -110
  666. package/dist/format-iamDSqs2.js.map +0 -1
  667. package/dist/forms-B5NCbkSC.js.map +0 -1
  668. package/dist/forms-numeric-Crrm80Lm.js +0 -867
  669. package/dist/forms-numeric-Crrm80Lm.js.map +0 -1
  670. package/dist/header-kxruN3RM.js.map +0 -1
  671. package/dist/icon-badge-Btc6pQrp.js +0 -53
  672. package/dist/icon-badge-Btc6pQrp.js.map +0 -1
  673. package/dist/input-SX9V0AL3.js +0 -255
  674. package/dist/input-SX9V0AL3.js.map +0 -1
  675. package/dist/item-DE4YnuJx.js +0 -258
  676. package/dist/item-DE4YnuJx.js.map +0 -1
  677. package/dist/media-gallery-DLp3HAz0.js +0 -201
  678. package/dist/media-gallery-DLp3HAz0.js.map +0 -1
  679. package/dist/mentions-Cl0Kt_Pd.js +0 -565
  680. package/dist/mentions-Cl0Kt_Pd.js.map +0 -1
  681. package/dist/navigation-DnQSNMT0.js +0 -276
  682. package/dist/navigation-DnQSNMT0.js.map +0 -1
  683. package/dist/navigation-DyytsLRB.js +0 -265
  684. package/dist/navigation-DyytsLRB.js.map +0 -1
  685. package/dist/number-DasMFWEG.js +0 -269
  686. package/dist/number-DasMFWEG.js.map +0 -1
  687. package/dist/overlay.recipes-BxW5FIfK.js +0 -6
  688. package/dist/overlay.recipes-BxW5FIfK.js.map +0 -1
  689. package/dist/overlays-DUbs1KEi.js +0 -1011
  690. package/dist/overlays-DUbs1KEi.js.map +0 -1
  691. package/dist/page-hGmT4nWK.js.map +0 -1
  692. package/dist/page-header-D8nERkn5.js +0 -112
  693. package/dist/page-header-D8nERkn5.js.map +0 -1
  694. package/dist/popover-CghIYdQf.js.map +0 -1
  695. package/dist/primitives-C7ff0QaI.js +0 -337
  696. package/dist/primitives-C7ff0QaI.js.map +0 -1
  697. package/dist/progress-BroqrAyV.js.map +0 -1
  698. package/dist/rich-text-DlxDOtf4.js +0 -32
  699. package/dist/rich-text-DlxDOtf4.js.map +0 -1
  700. package/dist/rich-text-editor-BKyG7rWz.js +0 -574
  701. package/dist/rich-text-editor-BKyG7rWz.js.map +0 -1
  702. package/dist/rich-text-editor.recipes-B72Nfuze.js +0 -81
  703. package/dist/rich-text-editor.recipes-B72Nfuze.js.map +0 -1
  704. package/dist/rich-text-editor.strings-BpnIQgMl.js +0 -25
  705. package/dist/rich-text-editor.strings-BpnIQgMl.js.map +0 -1
  706. package/dist/sanitize-html-BG9FGe-j.js +0 -64
  707. package/dist/sanitize-html-BG9FGe-j.js.map +0 -1
  708. package/dist/scroll-area-D-pIhEKl.js +0 -47
  709. package/dist/scroll-area-D-pIhEKl.js.map +0 -1
  710. package/dist/separator-BNIgG3au.js.map +0 -1
  711. package/dist/settings-DOTOzeZ2.js +0 -161
  712. package/dist/settings-DOTOzeZ2.js.map +0 -1
  713. package/dist/sheet-BFhrNehm.js +0 -205
  714. package/dist/sheet-BFhrNehm.js.map +0 -1
  715. package/dist/sidebar-CyR4XKwR.js.map +0 -1
  716. package/dist/sidebar-SvGJ0Zwi.js +0 -506
  717. package/dist/sidebar-SvGJ0Zwi.js.map +0 -1
  718. package/dist/skeleton-3F0uhYn3.js.map +0 -1
  719. package/dist/smart-card-DjGVV2xr.js +0 -584
  720. package/dist/smart-card-DjGVV2xr.js.map +0 -1
  721. package/dist/spinner-Cpf7oRkF.js.map +0 -1
  722. package/dist/structure.recipes-Bqhf9oIh.js.map +0 -1
  723. package/dist/surface-recipes-Dd__PD-w.js +0 -28
  724. package/dist/surface-recipes-Dd__PD-w.js.map +0 -1
  725. package/dist/table-CLtJTxoR.js +0 -147
  726. package/dist/table-CLtJTxoR.js.map +0 -1
  727. package/dist/table-CcRDZiLP.js.map +0 -1
  728. package/dist/tabs-BNgu7g0u.js +0 -188
  729. package/dist/tabs-BNgu7g0u.js.map +0 -1
  730. package/dist/text-inputs-DsR56TR-.js.map +0 -1
  731. package/dist/text.styles-Q4sGAIgA.js.map +0 -1
  732. package/dist/timelines-D1pkt3se.js.map +0 -1
  733. package/dist/track-recipes-LLPNVwFg.js +0 -10
  734. package/dist/track-recipes-LLPNVwFg.js.map +0 -1
  735. package/dist/tree-BtmYyMZV.js.map +0 -1
  736. package/dist/typography-BxQgiZyw.js +0 -96
  737. package/dist/typography-BxQgiZyw.js.map +0 -1
  738. package/dist/ui-provider-DRPn3qNl.js.map +0 -1
  739. package/dist/upload-CDbYw1WN.js.map +0 -1
  740. package/dist/upload-queue-CNd_hH_a.js.map +0 -1
  741. package/dist/use-file-drop-target-BX7GnhoQ.js +0 -39
  742. package/dist/use-file-drop-target-BX7GnhoQ.js.map +0 -1
  743. package/dist/utils-BvH9PSmq.js.map +0 -1
  744. package/dist/value-inputs-D0KCrfVC.js +0 -840
  745. package/dist/value-inputs-D0KCrfVC.js.map +0 -1
  746. package/dist/workspace-CcR8r-Nt.js +0 -395
  747. package/dist/workspace-CcR8r-Nt.js.map +0 -1
  748. /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
@@ -1,31 +1,32 @@
1
1
  "use client";
2
2
  import { useStrings as e } from "../lib/strings.js";
3
- import { t } from "../utils-BvH9PSmq.js";
4
- import { a as n } from "../typography-BxQgiZyw.js";
5
- import { t as r } from "../button-BZDasD04.js";
6
- import { t as i } from "../structure-CRdqVawd.js";
7
- import { t as a } from "../input-SX9V0AL3.js";
8
- import { d as o } from "../text-inputs-DsR56TR-.js";
9
- import { a as s, c, i as l, o as u, r as d } from "../choice-inputs-Mk3iWbhr.js";
10
- import { n as f } from "../display-CS6Hbk18.js";
11
- import { t as p } from "../form-field-CZwrkP7m.js";
12
- import { u as m } from "../value-inputs-D0KCrfVC.js";
13
- import { d as h } from "../forms-numeric-Crrm80Lm.js";
14
- import { l as g } from "../data-display-Bihs9Ven.js";
15
- import { Fragment as _, useCallback as v, useEffect as y, useId as b, useMemo as x, useState as S } from "react";
16
- import { jsx as C, jsxs as w } from "react/jsx-runtime";
3
+ import { t } from "../utils-l5LpDw2z.js";
4
+ import { n } from "../buttons-SbIcm1HJ.js";
5
+ import { s as r } from "../typography-DTRkE9zL.js";
6
+ import { t as i } from "../structure-DC2dygdA.js";
7
+ import { t as a } from "../smart-card-lFKxn5Hu.js";
8
+ import { t as o } from "../input-DWhBBBww.js";
9
+ import { t as s } from "../form-field-DUt4UxSV.js";
10
+ import { d as c } from "../text-inputs-aaK9wcDT.js";
11
+ import { a as l, i as u, l as d, o as f, r as p } from "../choice-inputs-t6w3ATNz.js";
12
+ import { n as m } from "../display-DsQTVzMz.js";
13
+ import { u as h } from "../value-inputs-TAYMX111.js";
14
+ import { d as g } from "../forms-numeric-C0bvjRPZ.js";
15
+ import { s as _ } from "../data-display-DafIvCl5.js";
16
+ import { Fragment as v, useCallback as y, useEffect as b, useId as x, useMemo as S, useState as C } from "react";
17
+ import { jsx as w, jsxs as T } from "react/jsx-runtime";
17
18
  //#region src/components/features/schema-form/schema-form.utils.ts
18
- var T = {
19
+ var E = {
19
20
  1: "grid grid-cols-1 gap-space-xl",
20
21
  2: "grid grid-cols-1 gap-space-xl @md/schema-form:grid-cols-2",
21
22
  3: "grid grid-cols-1 gap-space-xl @md/schema-form:grid-cols-2 @xl/schema-form:grid-cols-3"
22
- }, E = {
23
+ }, D = {
23
24
  auto: "",
24
25
  half: "@md/schema-form:col-span-1",
25
26
  third: "@xl/schema-form:col-span-1",
26
27
  full: "@md/schema-form:col-span-full @xl/schema-form:col-span-full"
27
28
  };
28
- function D(e, t, n) {
29
+ function O(e, t, n) {
29
30
  if (typeof e.hidden == "function") try {
30
31
  return e.hidden(t);
31
32
  } catch (e) {
@@ -33,7 +34,7 @@ function D(e, t, n) {
33
34
  }
34
35
  return e.hidden ?? !1;
35
36
  }
36
- function O(e, t, n) {
37
+ function ee(e, t, n) {
37
38
  if (typeof e.disabled == "function") try {
38
39
  return e.disabled(t);
39
40
  } catch (e) {
@@ -42,9 +43,9 @@ function O(e, t, n) {
42
43
  return e.disabled ?? !1;
43
44
  }
44
45
  function k(e, t, n) {
45
- return e.filter((e) => !D(e, t, n));
46
+ return e.filter((e) => !O(e, t, n));
46
47
  }
47
- function ee(e, t, n, r, i) {
48
+ function te(e, t, n, r, i) {
48
49
  let a = k(e.fields, t, i), o = new Map(a.map((e) => [e.key, e])), s = /* @__PURE__ */ new Set(), c = [];
49
50
  for (let t of e.sections ?? []) {
50
51
  let e = t.fields ? t.fields.map((e) => o.get(e)).filter((e) => e !== void 0) : a.filter((e) => e.sectionId === t.id);
@@ -125,8 +126,8 @@ function R(e) {
125
126
  for (let [n, r] of Object.entries(e ?? {})) r && (t[n] = r);
126
127
  return t;
127
128
  }
128
- function te({ fields: e, value: t, defaultValue: n, errors: r, onValueChange: i, onFieldChange: a, formatRequiredError: o, validationError: s, onError: c }) {
129
- let l = t !== void 0, u = x(() => I(e, n), [n, e]), [d, f] = S(() => u), [p, m] = S({}), h = x(() => l ? {
129
+ function ne({ fields: e, value: t, defaultValue: n, errors: r, onValueChange: i, onFieldChange: a, formatRequiredError: o, validationError: s, onError: c }) {
130
+ let l = t !== void 0, u = S(() => I(e, n), [n, e]), [d, f] = C(() => u), [p, m] = C({}), h = S(() => l ? {
130
131
  ...u,
131
132
  ...t
132
133
  } : d, [
@@ -134,12 +135,12 @@ function te({ fields: e, value: t, defaultValue: n, errors: r, onValueChange: i,
134
135
  d,
135
136
  l,
136
137
  t
137
- ]), g = x(() => ({
138
+ ]), g = S(() => ({
138
139
  ...p,
139
140
  ...R(r)
140
- }), [r, p]), _ = v((e) => {
141
+ }), [r, p]), _ = y((e) => {
141
142
  l || f(e), i?.(e);
142
- }, [l, i]), y = v((e, t) => {
143
+ }, [l, i]), v = y((e, t) => {
143
144
  let n = {
144
145
  ...h,
145
146
  [e]: t
@@ -154,7 +155,7 @@ function te({ fields: e, value: t, defaultValue: n, errors: r, onValueChange: i,
154
155
  a,
155
156
  i,
156
157
  h
157
- ]), b = v(() => {
158
+ ]), b = y(() => {
158
159
  let t = I(e, n);
159
160
  return l || f(t), m({}), i?.(t), t;
160
161
  }, [
@@ -162,10 +163,10 @@ function te({ fields: e, value: t, defaultValue: n, errors: r, onValueChange: i,
162
163
  e,
163
164
  l,
164
165
  i
165
- ]), C = v(() => {
166
+ ]), x = y(() => {
166
167
  let t = {};
167
168
  for (let n of e) {
168
- if (D(n, h, c)) continue;
169
+ if (O(n, h, c)) continue;
169
170
  let e = h[n.key];
170
171
  if (n.required && L(e)) {
171
172
  t[n.key] = o(n.label);
@@ -194,31 +195,31 @@ function te({ fields: e, value: t, defaultValue: n, errors: r, onValueChange: i,
194
195
  return {
195
196
  values: h,
196
197
  errors: g,
197
- getFieldError: v((e) => g[e], [g]),
198
- getFieldValue: v((e) => h[e], [h]),
199
- setFieldValue: y,
198
+ getFieldError: y((e) => g[e], [g]),
199
+ getFieldValue: y((e) => h[e], [h]),
200
+ setFieldValue: v,
200
201
  setValues: _,
201
202
  reset: b,
202
- validate: C
203
+ validate: x
203
204
  };
204
205
  }
205
206
  //#endregion
206
207
  //#region src/components/features/schema-form/partials/schema-form-actions.tsx
207
- function z({ submitLabel: e, resetLabel: n, showReset: a = !1, disabled: o = !1, submitDisabled: s = !1, resetDisabled: c = !1, submitting: l = !1, onReset: u, className: d }) {
208
- return /* @__PURE__ */ w(i, {
208
+ function z({ submitLabel: e, resetLabel: r, showReset: a = !1, disabled: o = !1, submitDisabled: s = !1, resetDisabled: c = !1, submitting: l = !1, onReset: u, className: d }) {
209
+ return /* @__PURE__ */ T(i, {
209
210
  direction: "horizontal",
210
211
  align: "center",
211
212
  justify: "end",
212
213
  gap: "md",
213
214
  className: t("schema-form-actions--component", d),
214
- children: [!!a && /* @__PURE__ */ C(r, {
215
+ children: [!!a && /* @__PURE__ */ w(n, {
215
216
  type: "button",
216
217
  tone: "secondary",
217
218
  buttonStyle: "outline",
218
219
  disabled: o || c || l,
219
220
  onClick: u,
220
- children: n
221
- }), /* @__PURE__ */ C(r, {
221
+ children: r
222
+ }), /* @__PURE__ */ w(n, {
222
223
  type: "submit",
223
224
  tone: "primary",
224
225
  loading: l,
@@ -231,12 +232,12 @@ z.displayName = "SchemaFormActions";
231
232
  //#endregion
232
233
  //#region src/components/features/schema-form/partials/schema-form-empty.tsx
233
234
  function B({ title: e, description: n, className: r }) {
234
- return /* @__PURE__ */ C(g, {
235
+ return /* @__PURE__ */ w(_, {
235
236
  title: e,
236
237
  description: n,
237
238
  padding: "md",
238
239
  border: !0,
239
- className: t("schema-form-empty--component bg-muted/20", r)
240
+ className: t("schema-form-empty--component bg-muted/30", r)
240
241
  });
241
242
  }
242
243
  B.displayName = "SchemaFormEmpty";
@@ -261,7 +262,7 @@ function U(e, t, n, r) {
261
262
  }
262
263
  return t;
263
264
  }
264
- function W(e, t, n, r, i) {
265
+ function re(e, t, n, r, i) {
265
266
  if (e.parseValue) try {
266
267
  return e.parseValue(t, n);
267
268
  } catch (e) {
@@ -269,7 +270,7 @@ function W(e, t, n, r, i) {
269
270
  }
270
271
  return N(t, r);
271
272
  }
272
- function G(e, t, n, r) {
273
+ function W(e, t, n, r) {
273
274
  if (e.type === "json" && e.parseValue) try {
274
275
  return {
275
276
  value: e.parseValue(t, n),
@@ -283,40 +284,40 @@ function G(e, t, n, r) {
283
284
  }
284
285
  return F(t);
285
286
  }
286
- function K(e) {
287
+ function G(e) {
287
288
  if (!e.icon) return;
288
289
  let t = e.icon;
289
- return /* @__PURE__ */ C(t, {
290
+ return /* @__PURE__ */ w(t, {
290
291
  className: "size-icon",
291
292
  "aria-hidden": "true"
292
293
  });
293
294
  }
294
- function q({ field: e, value: n, values: r, error: i, disabled: a, fieldId: s, onValueChange: c, onError: l, strings: u }) {
295
- let d = e.type === "json" ? e.jsonIndent ?? 2 : 2, [f, m] = S(() => P(n, d)), [h, g] = S(), [_, v] = S(!1);
296
- if (y(() => {
297
- _ || m(P(n, d));
295
+ function K({ field: e, value: n, values: r, error: i, disabled: a, fieldId: o, onValueChange: l, onError: u, strings: d }) {
296
+ let f = e.type === "json" ? e.jsonIndent ?? 2 : 2, [p, m] = C(() => P(n, f)), [h, g] = C(), [_, v] = C(!1);
297
+ if (b(() => {
298
+ _ || m(P(n, f));
298
299
  }, [
299
- d,
300
+ f,
300
301
  _,
301
302
  n
302
303
  ]), e.type !== "json") return null;
303
- let b = (t) => {
304
- let n = G(e, t, r, l);
305
- return g(n.valid ? void 0 : u.jsonParseError), c(n.value), n;
304
+ let y = (t) => {
305
+ let n = W(e, t, r, u);
306
+ return g(n.valid ? void 0 : d.jsonParseError), l(n.value), n;
306
307
  };
307
- return /* @__PURE__ */ C(p, {
308
+ return /* @__PURE__ */ w(s, {
308
309
  label: e.label,
309
310
  required: e.required,
310
311
  hint: V(e),
311
312
  helperText: e.helperText,
312
313
  error: i ?? h,
313
- htmlFor: s,
314
- supportingTextId: `${s}-supporting`,
314
+ htmlFor: o,
315
+ supportingTextId: `${o}-supporting`,
315
316
  className: "schema-form-field--component schema-form-field--json",
316
- children: /* @__PURE__ */ C(o, {
317
- id: s,
317
+ children: /* @__PURE__ */ w(c, {
318
+ id: o,
318
319
  name: e.key,
319
- value: f,
320
+ value: p,
320
321
  rows: e.rows ?? 6,
321
322
  disabled: a,
322
323
  invalid: !!(i ?? h),
@@ -327,23 +328,23 @@ function q({ field: e, value: n, values: r, error: i, disabled: a, fieldId: s, o
327
328
  onChange: (t) => {
328
329
  let n = t.target.value;
329
330
  m(n);
330
- let i = G(e, n, r, l);
331
- g(i.valid ? void 0 : u.jsonParseError), c(i.value);
331
+ let i = W(e, n, r, u);
332
+ g(i.valid ? void 0 : d.jsonParseError), l(i.value);
332
333
  },
333
334
  onBlur: () => {
334
335
  v(!1);
335
- let e = b(f);
336
- e.valid && m(P(e.value, d));
336
+ let e = y(p);
337
+ e.valid && m(P(e.value, f));
337
338
  },
338
339
  ...e.textareaProps,
339
- "aria-describedby": [e.textareaProps?.["aria-describedby"], i || h || e.helperText || V(e) ? `${s}-supporting` : void 0].filter(Boolean).join(" ") || void 0
340
+ "aria-describedby": [e.textareaProps?.["aria-describedby"], i || h || e.helperText || V(e) ? `${o}-supporting` : void 0].filter(Boolean).join(" ") || void 0
340
341
  })
341
342
  });
342
343
  }
343
- function J({ field: e, value: n, values: r, error: i, disabled: f, required: g, fieldId: _, onValueChange: v, onError: y, strings: b, className: x }) {
344
- let S = e.type ?? "text", w = {
344
+ function q({ field: e, value: n, values: r, error: i, disabled: a, required: m, fieldId: _, onValueChange: v, onError: y, strings: b, className: x }) {
345
+ let S = e.type ?? "text", C = {
345
346
  label: e.label,
346
- required: g,
347
+ required: m,
347
348
  hint: V(e),
348
349
  helperText: e.helperText,
349
350
  error: i,
@@ -351,15 +352,15 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
351
352
  supportingTextId: `${_}-supporting`,
352
353
  className: t("schema-form-field--component", x)
353
354
  }, T = e.controlClassName, E = i || e.helperText || V(e) ? `${_}-supporting` : void 0;
354
- if (S === "custom" && e.type === "custom") return /* @__PURE__ */ C("div", {
355
+ if (S === "custom" && e.type === "custom") return /* @__PURE__ */ w("div", {
355
356
  className: t("schema-form-field--component schema-form-field--custom", x),
356
357
  children: e.render({
357
358
  field: e,
358
359
  value: n,
359
360
  values: r,
360
361
  error: i,
361
- disabled: f,
362
- required: g,
362
+ disabled: a,
363
+ required: m,
363
364
  fieldId: _,
364
365
  onValueChange: v,
365
366
  onError: y
@@ -367,33 +368,33 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
367
368
  });
368
369
  if (S === "switch" && e.type === "switch") {
369
370
  let r = M(n);
370
- return e.switchStyle === "card" ? /* @__PURE__ */ C(p, {
371
+ return e.switchStyle === "card" ? /* @__PURE__ */ w(s, {
371
372
  error: i,
372
373
  supportingTextId: `${_}-supporting`,
373
374
  className: t("schema-form-field--component schema-form-field--switch-card", x),
374
- children: /* @__PURE__ */ C(u, {
375
+ children: /* @__PURE__ */ w(f, {
375
376
  label: e.label,
376
377
  description: e.description,
377
378
  hint: e.hint,
378
379
  name: e.key,
379
380
  value: r,
380
- disabled: f,
381
+ disabled: a,
381
382
  invalid: !!i,
382
383
  className: T,
383
384
  onValueChange: (e) => v(e),
384
385
  ...e.switchCardProps,
385
386
  "aria-describedby": [e.switchCardProps?.["aria-describedby"], i ? `${_}-supporting` : void 0].filter(Boolean).join(" ") || void 0
386
387
  })
387
- }) : /* @__PURE__ */ C(p, {
388
+ }) : /* @__PURE__ */ w(s, {
388
389
  error: i,
389
390
  supportingTextId: `${_}-supporting`,
390
391
  className: t("schema-form-field--component schema-form-field--switch", x),
391
- children: /* @__PURE__ */ C(s, {
392
+ children: /* @__PURE__ */ w(l, {
392
393
  label: e.label,
393
394
  description: e.description ?? e.hint,
394
395
  name: e.key,
395
396
  value: r,
396
- disabled: f,
397
+ disabled: a,
397
398
  invalid: !!i,
398
399
  className: T,
399
400
  onValueChange: (e) => v(e),
@@ -402,13 +403,13 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
402
403
  })
403
404
  });
404
405
  }
405
- if (S === "json") return /* @__PURE__ */ C(q, {
406
+ if (S === "json") return /* @__PURE__ */ w(K, {
406
407
  field: e,
407
408
  value: n,
408
409
  values: r,
409
410
  error: i,
410
- disabled: f,
411
- required: g,
411
+ disabled: a,
412
+ required: m,
412
413
  fieldId: _,
413
414
  onValueChange: v,
414
415
  onError: y,
@@ -416,16 +417,16 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
416
417
  });
417
418
  if (S === "textarea" && e.type === "textarea") {
418
419
  let t = H(e, n, r, y);
419
- return /* @__PURE__ */ C(p, {
420
- ...w,
421
- children: /* @__PURE__ */ C(o, {
420
+ return /* @__PURE__ */ w(s, {
421
+ ...C,
422
+ children: /* @__PURE__ */ w(c, {
422
423
  "aria-describedby": E,
423
424
  id: _,
424
425
  name: e.key,
425
426
  value: t,
426
427
  rows: e.rows,
427
- disabled: f,
428
- required: g,
428
+ disabled: a,
429
+ required: m,
429
430
  invalid: !!i,
430
431
  placeholder: e.placeholder,
431
432
  className: T,
@@ -435,25 +436,25 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
435
436
  });
436
437
  }
437
438
  if ((S === "number" || S === "integer" || S === "decimal") && (e.type === "number" || e.type === "integer" || e.type === "decimal")) {
438
- let t = H(e, n, r, y), a = e.type === "integer", o = a ? 0 : e.decimalPlaces ?? (e.type === "decimal" ? 2 : 4);
439
- return /* @__PURE__ */ C(p, {
440
- ...w,
441
- children: /* @__PURE__ */ C(h, {
439
+ let t = H(e, n, r, y), o = e.type === "integer", c = o ? 0 : e.decimalPlaces ?? (e.type === "decimal" ? 2 : 4);
440
+ return /* @__PURE__ */ w(s, {
441
+ ...C,
442
+ children: /* @__PURE__ */ w(g, {
442
443
  id: _,
443
444
  name: e.key,
444
445
  value: t,
445
446
  min: e.min,
446
447
  max: e.max,
447
448
  step: e.step,
448
- decimalPlaces: o,
449
- disabled: f,
450
- required: g,
449
+ decimalPlaces: c,
450
+ disabled: a,
451
+ required: m,
451
452
  invalid: !!i,
452
453
  placeholder: e.placeholder,
453
454
  className: T,
454
455
  onChange: (t) => {
455
456
  let n = t.target.value;
456
- v(W(e, n, r, a, y));
457
+ v(re(e, n, r, o, y));
457
458
  },
458
459
  ...e.numberProps,
459
460
  "aria-describedby": [e.numberProps?.["aria-describedby"], E].filter(Boolean).join(" ") || void 0
@@ -465,17 +466,17 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
465
466
  value: e.value,
466
467
  label: e.label,
467
468
  disabled: e.disabled,
468
- icon: K(e)
469
+ icon: G(e)
469
470
  }));
470
- return /* @__PURE__ */ C(p, {
471
- ...w,
472
- children: /* @__PURE__ */ C(c, {
471
+ return /* @__PURE__ */ w(s, {
472
+ ...C,
473
+ children: /* @__PURE__ */ w(d, {
473
474
  name: e.key,
474
475
  value: A(n),
475
476
  options: t,
476
477
  allowClear: e.allowClear,
477
- disabled: f,
478
- required: g,
478
+ disabled: a,
479
+ required: m,
479
480
  invalid: !!i,
480
481
  placeholder: e.placeholder,
481
482
  "aria-label": e.label,
@@ -486,14 +487,14 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
486
487
  })
487
488
  });
488
489
  }
489
- if (S === "radio-cards" && e.type === "radio-cards") return /* @__PURE__ */ C(p, {
490
- ...w,
491
- children: /* @__PURE__ */ C(d, {
490
+ if (S === "radio-cards" && e.type === "radio-cards") return /* @__PURE__ */ w(s, {
491
+ ...C,
492
+ children: /* @__PURE__ */ w(p, {
492
493
  name: e.key,
493
494
  value: A(n),
494
495
  options: e.options,
495
496
  columns: e.columns,
496
- disabled: f,
497
+ disabled: a,
497
498
  invalid: !!i,
498
499
  className: T,
499
500
  onValueChange: (e) => v(e),
@@ -501,14 +502,14 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
501
502
  "aria-describedby": [e.radioProps?.["aria-describedby"], E].filter(Boolean).join(" ") || void 0
502
503
  })
503
504
  });
504
- if (S === "checkbox-cards" && e.type === "checkbox-cards") return /* @__PURE__ */ C(p, {
505
- ...w,
506
- children: /* @__PURE__ */ C(l, {
505
+ if (S === "checkbox-cards" && e.type === "checkbox-cards") return /* @__PURE__ */ w(s, {
506
+ ...C,
507
+ children: /* @__PURE__ */ w(u, {
507
508
  name: e.key,
508
509
  value: j(n),
509
510
  options: e.options,
510
511
  columns: e.columns,
511
- disabled: f,
512
+ disabled: a,
512
513
  invalid: !!i,
513
514
  className: T,
514
515
  onValueChange: (e) => v(e),
@@ -516,14 +517,14 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
516
517
  "aria-describedby": [e.checkboxProps?.["aria-describedby"], E].filter(Boolean).join(" ") || void 0
517
518
  })
518
519
  });
519
- if (S === "tags" && e.type === "tags") return /* @__PURE__ */ C(p, {
520
- ...w,
521
- children: /* @__PURE__ */ C(m, {
520
+ if (S === "tags" && e.type === "tags") return /* @__PURE__ */ w(s, {
521
+ ...C,
522
+ children: /* @__PURE__ */ w(h, {
522
523
  id: _,
523
524
  value: j(n),
524
525
  recommendations: e.recommendations,
525
526
  maxTags: e.maxTags,
526
- disabled: f,
527
+ disabled: a,
527
528
  invalid: !!i,
528
529
  placeholder: e.placeholder,
529
530
  className: T,
@@ -532,16 +533,16 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
532
533
  "aria-describedby": [e.tagsProps?.["aria-describedby"], E].filter(Boolean).join(" ") || void 0
533
534
  })
534
535
  });
535
- let D = S === "text" ? "text" : S, O = e.type === void 0 || e.type === "text" || e.type === "email" || e.type === "password" || e.type === "url" || e.type === "tel" || e.type === "search" ? e.inputProps : void 0, k = H(e, n, r, y);
536
- return /* @__PURE__ */ C(p, {
537
- ...w,
538
- children: /* @__PURE__ */ C(a, {
536
+ let D = S === "text" ? "text" : S, O = e.type === void 0 || e.type === "text" || e.type === "email" || e.type === "password" || e.type === "url" || e.type === "tel" || e.type === "search" ? e.inputProps : void 0, ee = H(e, n, r, y);
537
+ return /* @__PURE__ */ w(s, {
538
+ ...C,
539
+ children: /* @__PURE__ */ w(o, {
539
540
  id: _,
540
541
  name: e.key,
541
542
  type: D,
542
- value: k,
543
- disabled: f,
544
- required: g,
543
+ value: ee,
544
+ disabled: a,
545
+ required: m,
545
546
  invalid: !!i,
546
547
  placeholder: e.placeholder,
547
548
  className: T,
@@ -551,10 +552,10 @@ function J({ field: e, value: n, values: r, error: i, disabled: f, required: g,
551
552
  })
552
553
  });
553
554
  }
554
- J.displayName = "SchemaFormFieldRenderer";
555
+ q.displayName = "SchemaFormFieldRenderer";
555
556
  //#endregion
556
557
  //#region src/components/features/schema-form/schema-form.strings.ts
557
- var ne = {
558
+ var J = {
558
559
  submitLabel: "Save changes",
559
560
  resetLabel: "Reset",
560
561
  defaultSectionTitle: "General",
@@ -566,48 +567,48 @@ var ne = {
566
567
  };
567
568
  //#endregion
568
569
  //#region src/components/features/schema-form/schema-form.tsx
569
- function re(e) {
570
+ function ie(e) {
570
571
  return e.replace(/[^a-zA-Z0-9_-]/g, "-");
571
572
  }
572
- function ie({ section: e }) {
573
- return !e.title && !e.description ? null : /* @__PURE__ */ w(i, {
573
+ function ae({ section: e }) {
574
+ return !e.title && !e.description ? null : /* @__PURE__ */ T(i, {
574
575
  gap: "normal",
575
- className: "schema-form--section-heading mb-space-lg",
576
- children: [!!e.title && /* @__PURE__ */ C(n, {
576
+ className: "schema-form--section-heading",
577
+ children: [!!e.title && /* @__PURE__ */ w(r, {
577
578
  weight: "semibold",
578
579
  className: "schema-form--section-title",
579
580
  children: e.title
580
- }), !!e.description && /* @__PURE__ */ C(n, {
581
+ }), !!e.description && /* @__PURE__ */ w(r, {
581
582
  type: "secondary",
582
583
  className: "schema-form--section-description",
583
584
  children: e.description
584
585
  })]
585
586
  });
586
587
  }
587
- function Y({ schema: r, value: a, defaultValue: o, errors: s, disabled: c = !1, layout: l = "form", columns: u = 2, id: d, name: p, title: m, description: h, headerSlot: g, footerSlot: v, actionsSlot: y, emptySlot: S, showActions: D, submitLabel: k, resetLabel: A, submitDisabled: j = !1, resetDisabled: M = !1, submitting: N = !1, onValueChange: P, onFieldChange: F, onSubmit: I, onReset: L, onError: R, renderField: V, renderSection: H, strings: U, className: W, contentClassName: G, sectionClassName: K, fieldClassName: q }) {
588
- let Y = b(), ae = d ?? `schema-form-${Y}`, X = e(ne, U), Z = te({
589
- fields: r.fields,
590
- value: a,
591
- defaultValue: o,
592
- errors: s,
588
+ function Y({ schema: n, value: o, defaultValue: s, errors: c, disabled: l = !1, layout: u = "form", columns: d = 2, id: f, name: p, title: h, description: g, headerSlot: _, footerSlot: y, actionsSlot: b, emptySlot: C, showActions: O, submitLabel: k, resetLabel: A, submitDisabled: j = !1, resetDisabled: M = !1, submitting: N = !1, onValueChange: P, onFieldChange: F, onSubmit: I, onReset: L, onError: R, renderField: V, renderSection: H, strings: U, className: re, contentClassName: W, sectionClassName: G, fieldClassName: K }) {
589
+ let Y = x(), oe = f ?? `schema-form-${Y}`, X = e(J, U), Z = ne({
590
+ fields: n.fields,
591
+ value: o,
592
+ defaultValue: s,
593
+ errors: c,
593
594
  onValueChange: P,
594
595
  onFieldChange: F,
595
596
  formatRequiredError: X.formatRequiredError,
596
597
  validationError: X.validationError,
597
598
  onError: R
598
- }), Q = x(() => ee(r, Z.values, X.defaultSectionTitle, u, R), [
599
- u,
599
+ }), Q = S(() => te(n, Z.values, X.defaultSectionTitle, d, R), [
600
+ d,
600
601
  Z.values,
601
602
  R,
602
- r,
603
+ n,
603
604
  X.defaultSectionTitle
604
- ]), oe = Q.some((e) => e.fields.length > 0), se = {
605
+ ]), se = Q.some((e) => e.fields.length > 0), ce = {
605
606
  setFieldValue: Z.setFieldValue,
606
607
  setValues: Z.setValues,
607
608
  reset: Z.reset,
608
609
  validate: Z.validate
609
- }, ce = D ?? !!(I || L || y), le = k ?? X.submitLabel, ue = A ?? X.resetLabel, de = (e) => {
610
- let n = `${ae}-${re(e.key)}`, r = c || O(e, Z.values, R), i = {
610
+ }, le = O ?? !!(I || L || b), ue = k ?? X.submitLabel, de = A ?? X.resetLabel, fe = (e) => {
611
+ let n = `${oe}-${ie(e.key)}`, r = l || ee(e, Z.values, R), i = {
611
612
  field: e,
612
613
  value: Z.getFieldValue(e.key),
613
614
  values: Z.values,
@@ -617,128 +618,131 @@ function Y({ schema: r, value: a, defaultValue: o, errors: s, disabled: c = !1,
617
618
  fieldId: n,
618
619
  onValueChange: (t) => Z.setFieldValue(e.key, t),
619
620
  onError: R
620
- }, a = /* @__PURE__ */ C(J, {
621
+ }, a = /* @__PURE__ */ w(q, {
621
622
  ...i,
622
623
  strings: X
623
624
  });
624
- return /* @__PURE__ */ C("div", {
625
- className: t("schema-form--field", E[e.width ?? "auto"], e.className, q),
625
+ return /* @__PURE__ */ w("div", {
626
+ className: t("schema-form--field", D[e.width ?? "auto"], e.className, K),
626
627
  children: V?.({
627
628
  ...i,
628
629
  defaultField: a
629
630
  }) ?? a
630
631
  }, e.key);
631
- }, fe = (e) => /* @__PURE__ */ C("div", {
632
- className: t("schema-form--section-fields", T[e.columns]),
633
- children: e.fields.map(de)
634
- }), pe = (e) => {
635
- let n = fe(e), r = H?.({
632
+ }, pe = (e) => /* @__PURE__ */ w("div", {
633
+ className: t("schema-form--section-fields", E[e.columns]),
634
+ children: e.fields.map(fe)
635
+ }), me = (e) => {
636
+ let n = pe(e), r = H?.({
636
637
  section: e,
637
638
  fields: n,
638
639
  values: Z.values
639
640
  });
640
- return r == null ? /* @__PURE__ */ w("section", {
641
- className: t("schema-form--section", e.className, K),
641
+ return r == null ? /* @__PURE__ */ T(i, {
642
+ render: /* @__PURE__ */ w("section", {}),
643
+ gap: "lg",
644
+ className: t("schema-form--section", e.className, G),
642
645
  children: [
643
- /* @__PURE__ */ C(ie, { section: e }),
646
+ /* @__PURE__ */ w(ae, { section: e }),
644
647
  n,
645
- !!e.footerSlot && /* @__PURE__ */ C("div", {
646
- className: "schema-form--section-footer mt-space-lg",
648
+ !!e.footerSlot && /* @__PURE__ */ w("div", {
649
+ className: "schema-form--section-footer",
647
650
  children: e.footerSlot
648
651
  })
649
652
  ]
650
- }, e.id) : /* @__PURE__ */ C(_, { children: r }, e.id);
651
- }, me = (e) => {
652
- let n = fe(e), r = H?.({
653
+ }, e.id) : /* @__PURE__ */ w(v, { children: r }, e.id);
654
+ }, he = (e) => {
655
+ let n = pe(e), r = H?.({
653
656
  section: e,
654
657
  fields: n,
655
658
  values: Z.values
656
659
  });
657
- return r == null ? /* @__PURE__ */ C(f, {
658
- className: t("schema-form--section-card", e.className, K),
660
+ return r == null ? /* @__PURE__ */ w(m, {
661
+ className: t("schema-form--section-card", e.className, G),
659
662
  icon: e.icon,
660
663
  title: e.title,
661
664
  description: e.description,
662
665
  footerSlot: e.footerSlot,
663
- headerDivider: !0,
664
666
  children: n
665
- }, e.id) : /* @__PURE__ */ C(_, { children: r }, e.id);
666
- }, $ = y ?? (ce ? /* @__PURE__ */ C(z, {
667
- submitLabel: le,
668
- resetLabel: ue,
667
+ }, e.id) : /* @__PURE__ */ w(v, { children: r }, e.id);
668
+ }, $ = b ?? (le ? /* @__PURE__ */ w(z, {
669
+ submitLabel: ue,
670
+ resetLabel: de,
669
671
  showReset: !!L,
670
- disabled: c,
672
+ disabled: l,
671
673
  submitDisabled: j,
672
674
  resetDisabled: M,
673
675
  submitting: N,
674
676
  onReset: () => {
675
677
  let e = Z.reset();
676
- L?.(e, se);
678
+ L?.(e, ce);
677
679
  }
678
- }) : null), he = S ?? /* @__PURE__ */ C(B, {
680
+ }) : null), ge = C ?? /* @__PURE__ */ w(B, {
679
681
  title: X.emptyTitle,
680
682
  description: X.emptyDescription
681
683
  });
682
- return /* @__PURE__ */ C("form", {
683
- id: ae,
684
+ return /* @__PURE__ */ w("form", {
685
+ id: oe,
684
686
  name: p,
685
687
  noValidate: !0,
686
- className: t("schema-form--component @container/schema-form", W),
688
+ className: t("schema-form--component @container/schema-form", re),
687
689
  onSubmit: async (e) => {
688
- if (e.preventDefault(), !(c || j || N) && Z.validate()) try {
689
- await I?.(Z.values, se, e);
690
+ if (e.preventDefault(), !(l || j || N) && Z.validate()) try {
691
+ await I?.(Z.values, ce, e);
690
692
  } catch (e) {
691
693
  R?.(e);
692
694
  }
693
695
  },
694
- children: l === "cards" ? /* @__PURE__ */ w(i, {
695
- gap: "xl",
696
- className: t("schema-form--cards", G),
696
+ children: u === "cards" ? /* @__PURE__ */ T(i, {
697
+ gap: "2xl",
698
+ className: t("schema-form--cards", W),
697
699
  children: [
698
- !!(m ?? r.title ?? h ?? r.description ?? g) && /* @__PURE__ */ w(i, {
700
+ !!(h ?? n.title ?? g ?? n.description ?? _) && /* @__PURE__ */ T(i, {
699
701
  direction: "horizontal",
700
702
  align: "start",
701
703
  justify: "between",
702
704
  gap: "xl",
703
705
  className: "schema-form--header",
704
- children: [/* @__PURE__ */ w(i, {
706
+ children: [/* @__PURE__ */ T(i, {
705
707
  gap: "normal",
706
708
  className: "min-w-0",
707
- children: [!!(m ?? r.title) && /* @__PURE__ */ C(n, {
709
+ children: [!!(h ?? n.title) && /* @__PURE__ */ w(r, {
710
+ size: "base",
708
711
  weight: "semibold",
709
712
  className: "schema-form--title",
710
- children: m ?? r.title
711
- }), !!(h ?? r.description) && /* @__PURE__ */ C(n, {
713
+ children: h ?? n.title
714
+ }), !!(g ?? n.description) && /* @__PURE__ */ w(r, {
712
715
  type: "secondary",
713
716
  className: "schema-form--description",
714
- children: h ?? r.description
717
+ children: g ?? n.description
715
718
  })]
716
- }), g]
719
+ }), _]
717
720
  }),
718
- oe ? Q.map(me) : he,
719
- v,
721
+ se ? Q.map(he) : ge,
722
+ y,
720
723
  $
721
724
  ]
722
- }) : /* @__PURE__ */ C(f, {
725
+ }) : /* @__PURE__ */ w(a, {
726
+ surface: "flat",
727
+ padding: "none",
723
728
  className: "schema-form--surface",
729
+ gap: "2xl",
724
730
  contentGap: "2xl",
725
- contentClassName: t("schema-form--content", G),
726
- title: m ?? r.title,
727
- description: h ?? r.description,
728
- headerEnd: g,
729
- footerSlot: v || $ ? /* @__PURE__ */ w(i, {
731
+ contentClassName: t("schema-form--content", W),
732
+ title: h ?? n.title,
733
+ description: g ?? n.description,
734
+ headerEnd: _,
735
+ footerSlot: y || $ ? /* @__PURE__ */ T(i, {
730
736
  gap: "lg",
731
737
  className: "schema-form--footer",
732
- children: [v, $]
738
+ children: [y, $]
733
739
  }) : void 0,
734
- headerDivider: !!(m ?? r.title ?? h ?? r.description ?? g),
735
- footerDivider: !!(v || $),
736
- children: oe ? Q.map(pe) : he
740
+ children: se ? Q.map(me) : ge
737
741
  })
738
742
  });
739
743
  }
740
744
  Y.displayName = "SchemaForm";
741
745
  //#endregion
742
- export { Y as SchemaForm, z as SchemaFormActions, B as SchemaFormEmpty, J as SchemaFormFieldRenderer, ne as defaultSchemaFormStrings, te as useSchemaForm };
746
+ export { Y as SchemaForm, z as SchemaFormActions, B as SchemaFormEmpty, q as SchemaFormFieldRenderer, J as defaultSchemaFormStrings, ne as useSchemaForm };
743
747
 
744
748
  //# sourceMappingURL=schema-form.js.map