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,2 +1,2 @@
1
1
  import type { PageHeaderProps } from '../page.types';
2
- export declare function PageHeader({ title, description, textGap, headingTag, titleIcon: TitleIcon, titleIconHref, onTitleIconClick, titleIconLabel, backHref, onBack, backLabel, titleBadges, actions, slots, renderLink, className, contentClassName, actionsClassName, titleClassName, titleIconClassName, descriptionClassName, }: PageHeaderProps): import("react").JSX.Element;
2
+ export declare function PageHeader({ title, description, textGap, headingTag, titleIcon: TitleIcon, titleIconHref, onTitleIconClick, titleIconLabel, backHref, onBack, backLabel, titleBadges, primaryAction, secondaryActions, moreActionsLabel, tabs, actions, slots, renderLink, className, contentClassName, actionsClassName, titleClassName, titleIconClassName, descriptionClassName, }: PageHeaderProps): import("react").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import type { ComponentType, ReactNode } from 'react';
2
+ import { type PageHeaderAction } from '../../base/navigation/page-header/page-header-commands';
2
3
  import { type StringsProp } from '../../../lib/strings';
3
4
  import { type LayoutNavigationAdapter } from '../layout.types';
4
5
  export interface AsideNavShellStrings {
@@ -45,8 +46,21 @@ export interface AsideNavShellProps extends LayoutNavigationAdapter {
45
46
  children?: ReactNode;
46
47
  /** Content beside the main settings panel. */
47
48
  aside?: ReactNode;
48
- /** Controls offered on the surface. */
49
+ /**
50
+ * Non-command controls beside the title, such as a scope select. They
51
+ * render before the role-based commands.
52
+ */
49
53
  actions?: ReactNode;
54
+ /** The page's one main command: a solid primary button, visible at every width. */
55
+ primaryAction?: PageHeaderAction;
56
+ /**
57
+ * Supporting commands in priority order, as in Page headers: the first two
58
+ * render as outline buttons before the primary command; the rest, and every
59
+ * destructive command, move into the More actions menu, which closes the row.
60
+ */
61
+ secondaryActions?: readonly PageHeaderAction[];
62
+ /** Accessible name of the More actions menu trigger. Default: `'More actions'`. */
63
+ moreActionsLabel?: string;
50
64
  /** Content below the body. */
51
65
  footer?: ReactNode;
52
66
  className?: string;
@@ -58,7 +72,7 @@ export interface AsideNavShellProps extends LayoutNavigationAdapter {
58
72
  strings?: StringsProp<AsideNavShellStrings>;
59
73
  }
60
74
  export type SettingsShellProps = AsideNavShellProps;
61
- export declare function AsideNavShell({ title, description, groups, currentId, currentPath, children, aside, actions, footer, className, navClassName, contentClassName, renderLink, strings: stringsProp, }: AsideNavShellProps): import("react").JSX.Element;
75
+ export declare function AsideNavShell({ title, description, groups, currentId, currentPath, children, aside, actions, primaryAction, secondaryActions, moreActionsLabel, footer, className, navClassName, contentClassName, renderLink, strings: stringsProp, }: AsideNavShellProps): import("react").JSX.Element;
62
76
  export declare namespace AsideNavShell {
63
77
  var displayName: string;
64
78
  }
@@ -2,6 +2,7 @@ import type { CSSProperties, HTMLAttributes, MouseEvent, ReactNode } from 'react
2
2
  import type { LayoutIconComponent, LayoutNavigationAdapter } from '../layout.types';
3
3
  import type { StringsProp } from '../../../lib/strings';
4
4
  import type { TextGap } from '../../base/structure';
5
+ import type { PageHeaderAction } from '../../base/navigation/page-header';
5
6
  import type { WorkspaceLocaleStripStrings, WorkspaceNavStrings, WorkspaceRecordHeaderStrings } from './workspace.strings';
6
7
  export type WorkspaceContentWidth = 'default' | 'wide' | 'full';
7
8
  export interface WorkspaceLayoutStyle extends CSSProperties {
@@ -42,7 +43,7 @@ export interface WorkspaceRecordHeaderMetadataItem {
42
43
  /** Current value. Controlled. */
43
44
  value: ReactNode;
44
45
  }
45
- export interface WorkspaceRecordHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
46
+ export interface WorkspaceRecordHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'>, LayoutNavigationAdapter {
46
47
  /** Title/supporting-copy rhythm. Defaults to dense. */
47
48
  textGap?: TextGap;
48
49
  /** Surface title. */
@@ -53,10 +54,26 @@ export interface WorkspaceRecordHeaderProps extends Omit<HTMLAttributes<HTMLDivE
53
54
  badges?: ReactNode;
54
55
  /** Label/value facts under the record title. */
55
56
  metadata?: WorkspaceRecordHeaderMetadataItem[];
56
- /** Controls offered on the surface. */
57
+ /**
58
+ * Non-command controls, such as a locale or period select. They render
59
+ * before the role-based commands.
60
+ */
57
61
  actions?: ReactNode;
58
- /** Lower-emphasis controls beside the primary action. */
59
- secondaryActions?: ReactNode;
62
+ /**
63
+ * The record's one main command: a solid primary button after the secondary
64
+ * commands, visible at every width.
65
+ */
66
+ primaryAction?: PageHeaderAction;
67
+ /**
68
+ * Supporting commands in priority order, as in Page headers: the first two
69
+ * render as outline buttons before the primary command; the rest, and every
70
+ * destructive command, move into the More actions menu, which closes the
71
+ * row. Rendered elements are still accepted for existing headers; pass
72
+ * command objects instead.
73
+ */
74
+ secondaryActions?: ReactNode | readonly PageHeaderAction[];
75
+ /** Accessible name of the More actions menu trigger. Default: `'More actions'`. */
76
+ moreActionsLabel?: string;
60
77
  /** Current state, shown as a chip. */
61
78
  status?: ReactNode;
62
79
  /** Illustration or imagery beside the form. */
@@ -7,14 +7,22 @@ export type DateInput = NativeDate | string | number | null | undefined;
7
7
  type SpanProps = Omit<ComponentPropsWithoutRef<'span'>, 'children' | 'color'>;
8
8
  export type DatePreset = 'compact' | 'short' | 'medium' | 'long';
9
9
  export interface DateProps extends SpanProps {
10
+ /** A native Date, ISO string or millisecond timestamp. Unparseable input renders the empty label. */
10
11
  value?: DateInput;
12
+ /** date-fns pattern; prefer `preset` so a screen stays consistent. */
11
13
  format?: string;
14
+ /** Library preset. Defaults to the provider `dates.format`, then `medium`. */
12
15
  preset?: DatePreset;
16
+ /** date-fns locale. Defaults to the provider `dates.locale`. */
13
17
  locale?: Locale;
18
+ /** Rendered with the shared empty treatment when the value is absent or invalid. Defaults to an em dash. */
14
19
  emptyLabel?: ReactNode;
20
+ /** Text size. Defaults to the provider text size; inside running text, the surrounding size. */
15
21
  size?: TextSize;
16
22
  align?: TextProps['align'];
23
+ /** Font weight. Defaults to `regular`; inside running text, the surrounding weight. */
17
24
  weight?: TextProps['weight'];
25
+ /** Colour role. Defaults to `main`; inside running text, the surrounding colour. */
18
26
  type?: TextProps['type'];
19
27
  ref?: Ref<HTMLSpanElement>;
20
28
  }
@@ -40,24 +48,29 @@ export interface DateRangeProps extends Omit<DateProps, 'value'>, DateRangeValue
40
48
  export interface RelativeTimeProps extends SpanProps {
41
49
  value?: DateInput;
42
50
  locale?: Locale;
51
+ /** Adds "ago"/"in". Defaults to `true`. */
43
52
  addSuffix?: boolean;
44
53
  includeSeconds?: boolean;
54
+ /** Rendered with the shared empty treatment when the value is absent or invalid. Defaults to an em dash. */
45
55
  emptyLabel?: ReactNode;
56
+ /** Text size. Defaults to the provider text size; inside running text, the surrounding size. */
46
57
  size?: TextSize;
47
58
  align?: TextProps['align'];
59
+ /** Font weight. Defaults to `regular`; inside running text, the surrounding weight. */
48
60
  weight?: TextProps['weight'];
61
+ /** Colour role. Defaults to `secondary` for feeds; inside running text, the surrounding colour. */
49
62
  type?: TextProps['type'];
50
63
  formatRelativeTime?: (iso: string) => string;
51
64
  ref?: Ref<HTMLSpanElement>;
52
65
  }
53
66
  export declare function parseDateInput(value: DateInput): NativeDate | null;
54
67
  export declare function formatDateRange({ from, to }: DateRangeValue, { format, preset, locale, separator, }?: FormatDateRangeOptions): string | null;
55
- export declare function DatePrimitive({ value, format, preset, locale, emptyLabel, size, align, weight, type, className, ref, ...props }: DateProps): import("react").JSX.Element;
68
+ export declare function DatePrimitive({ value, format, preset, locale, emptyLabel, ...props }: DateProps): import("react").JSX.Element;
56
69
  export declare namespace DatePrimitive {
57
70
  var displayName: string;
58
71
  }
59
- export declare function Time({ value, format, preset, locale, emptyLabel, size, align, weight, type, className, ref, ...props }: TimeProps): import("react").JSX.Element;
60
- export declare function DateTime({ value, format, timeFormat, preset, locale, emptyLabel, size, align, weight, type, className, ref, ...props }: DateTimeProps): import("react").JSX.Element;
72
+ export declare function Time({ value, format, preset, locale, emptyLabel, ...props }: TimeProps): import("react").JSX.Element;
73
+ export declare function DateTime({ value, format, timeFormat, preset, locale, emptyLabel, ...props }: DateTimeProps): import("react").JSX.Element;
61
74
  export declare function DateRange({ from, to, format, preset, locale, separator, emptyLabel, size, align, weight, type, className, ref, ...props }: DateRangeProps): import("react").JSX.Element;
62
75
  export declare function RelativeTime({ value, locale, addSuffix, includeSeconds, emptyLabel, size, align, weight, type, formatRelativeTime, className, ref, ...props }: RelativeTimeProps): import("react").JSX.Element;
63
76
  export {};
@@ -18,13 +18,19 @@ export interface DimensionsProps extends SpanProps {
18
18
  separator?: ReactNode;
19
19
  locale?: string;
20
20
  options?: Intl.NumberFormatOptions;
21
+ /** Rendered with the shared empty treatment when width or height is missing. Defaults to an em dash. */
21
22
  emptyLabel?: ReactNode;
23
+ /** Text size. Defaults to the provider text size; inside running text, the surrounding size. */
22
24
  size?: TextSize;
25
+ /** Text alignment. Defaults to `right` so columns of readings line up. */
23
26
  align?: TextProps['align'];
27
+ /** Font weight. Defaults to `regular`; inside running text, the surrounding weight. */
24
28
  weight?: TextProps['weight'];
29
+ /** Colour role. Defaults to `main`; inside running text, the surrounding colour. */
25
30
  type?: TextProps['type'];
26
31
  ref?: Ref<HTMLSpanElement>;
27
32
  }
28
33
  export declare function formatDimensions(width: DimensionPart, height: DimensionPart, { depth, unit, separator, locale, options, }?: FormatDimensionsOptions): string | null;
34
+ /** A width × height (× depth) reading with localized numbers, sans UI font with tabular figures. */
29
35
  export declare function Dimensions({ width, height, depth, unit, separator, locale, options, emptyLabel, size, align, weight, type, className, ref, ...props }: DimensionsProps): import("react").JSX.Element;
30
36
  export {};
@@ -11,13 +11,19 @@ export interface DurationProps extends SpanProps {
11
11
  unitDisplay?: DurationUnitDisplay;
12
12
  minimumFractionDigits?: number;
13
13
  maximumFractionDigits?: number;
14
+ /** Rendered with the shared empty treatment when the value is absent. Defaults to an em dash. */
14
15
  emptyLabel?: ReactNode;
16
+ /** Text size. Defaults to the provider text size; inside running text, the surrounding size. */
15
17
  size?: TextSize;
18
+ /** Text alignment. Defaults to `right` so columns of durations line up. */
16
19
  align?: TextProps['align'];
20
+ /** Font weight. Defaults to `regular`; inside running text, the surrounding weight. */
17
21
  weight?: TextProps['weight'];
22
+ /** Colour role. Defaults to `main`; inside running text, the surrounding colour. */
18
23
  type?: TextProps['type'];
19
24
  ref?: Ref<HTMLSpanElement>;
20
25
  }
26
+ /** An elapsed span in localized units, sans UI font with tabular figures. */
21
27
  export declare function Duration({ value, from, locale, maxParts, unitDisplay, minimumFractionDigits, maximumFractionDigits, emptyLabel, size, align, weight, type, className, ref, ...props }: DurationProps): import("react").JSX.Element;
22
28
  export { formatDuration } from '../../lib/format';
23
29
  export type { DurationUnit, DurationUnitDisplay, FormatDurationOptions } from '../../lib/format';
@@ -7,10 +7,15 @@ export interface FileSizeProps extends SpanProps {
7
7
  value?: number | null;
8
8
  from?: FileSizeUnit;
9
9
  locale?: string;
10
+ /** Rendered with the shared empty treatment when the value is absent or not positive. Defaults to an em dash. */
10
11
  emptyLabel?: ReactNode;
12
+ /** Text size. Defaults to the provider text size; inside running text, the surrounding size. */
11
13
  size?: TextSize;
14
+ /** Text alignment. Defaults to `right` so columns of sizes line up. */
12
15
  align?: TextProps['align'];
16
+ /** Font weight. Defaults to `regular`; inside running text, the surrounding weight. */
13
17
  weight?: TextProps['weight'];
18
+ /** Colour role. Defaults to `main`; inside running text, the surrounding colour. */
14
19
  type?: TextProps['type'];
15
20
  ref?: Ref<HTMLSpanElement>;
16
21
  }
@@ -19,5 +24,6 @@ export interface FileSizeFormatOptions {
19
24
  locale?: string;
20
25
  }
21
26
  export declare function formatFileSize(value?: number | null, options?: FileSizeFormatOptions | string): string | null;
27
+ /** A byte count in the largest readable unit, sans UI font with tabular figures. */
22
28
  export declare function FileSize({ value, from, locale, emptyLabel, size, align, weight, type, className, ref, ...props }: FileSizeProps): import("react").JSX.Element;
23
29
  export {};
@@ -3,7 +3,7 @@ export { Name, formatName, type NameProps, type NameFormatOptions, } from './nam
3
3
  export { Initials, type InitialsProps, } from './initials';
4
4
  export { formatInitials, type InitialsFormatOptions, type InitialsStrategy, type InitialsMaxCharacters, } from './initials-format';
5
5
  export { Link, Email, Phone, Url, type LinkProps, type EmailProps, type PhoneProps, type UrlProps, } from './link';
6
- export { Money, type MoneyProps, type MoneyValue, type MoneyUnit, type MoneyLayout, type MoneySecondaryEmphasis, } from './money';
6
+ export { Money, useMoneyFormatter, type MoneyFormatter, type MoneyFormatterOptions, type MoneyProps, type MoneyValue, type MoneyUnit, type MoneyLayout, type MoneySecondaryEmphasis, } from './money';
7
7
  export { DatePrimitive as Date, Time, DateTime, DateRange, RelativeTime, formatDateRange, parseDateInput, type DateProps, type TimeProps, type DateTimeProps, type DateRangeProps, type DateRangeValue, type FormatDateRangeOptions, type RelativeTimeProps, type DatePreset, type DateInput, } from './date';
8
8
  export { Number, Percent, type NumberProps, type PercentProps, } from './number';
9
9
  export { FileSize, formatFileSize, type FileSizeProps, type FileSizeUnit, } from './file-size';
@@ -11,6 +11,15 @@ export interface InitialsProps extends Omit<ValueProps, 'children'> {
11
11
  locale?: string;
12
12
  /** Returned when no usable letter or number exists. Defaults to an empty string. */
13
13
  fallback?: string;
14
+ /** Defaults to `inherit`: the avatar or chip that hosts the initials owns their size. */
15
+ size?: ValueProps['size'];
16
+ /** Defaults to `inherit`: the host owns the colour, such as an avatar fallback tone. */
17
+ type?: ValueProps['type'];
18
+ /** Defaults to `inherit`: the host owns the weight. */
19
+ weight?: ValueProps['weight'];
14
20
  }
15
- /** Semantic displayed initials for identities and avatar fallbacks. */
16
- export declare function Initials({ value, strategy, maxCharacters, locale, fallback, size, className, ref, ...props }: InitialsProps): import("react").JSX.Element;
21
+ /**
22
+ * Semantic displayed initials for identities and avatar fallbacks. They take the
23
+ * size, colour and weight of the avatar or chip that hosts them.
24
+ */
25
+ export declare function Initials({ value, strategy, maxCharacters, locale, fallback, size, type, weight, className, ref, ...props }: InitialsProps): import("react").JSX.Element;
@@ -1,9 +1,16 @@
1
1
  import { type AnchorHTMLAttributes, type ReactNode, type Ref } from 'react';
2
2
  export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
3
3
  children?: ReactNode;
4
+ /** Rendered instead of a dead link when there is nothing to show. Defaults to an em dash. */
4
5
  emptyLabel?: ReactNode;
5
6
  ref?: Ref<HTMLAnchorElement>;
6
7
  }
8
+ /**
9
+ * Link-coloured inline value. Standalone it uses the provider text size with an
10
+ * underline on hover. Inside running text it takes the sentence's size, weight
11
+ * and leading and stays underlined, because colour alone does not set a link
12
+ * apart from the words around it.
13
+ */
7
14
  export declare function Link({ children, emptyLabel, className, ref, ...props }: LinkProps): import("react").JSX.Element;
8
15
  export interface EmailProps extends Omit<LinkProps, 'href' | 'children' | 'ref'> {
9
16
  value?: string | null;
@@ -32,21 +32,27 @@ export interface MoneyProps extends SpanProps, MoneyValue {
32
32
  ref?: Ref<HTMLElement>;
33
33
  /** BCP-47 locale override. Falls back to `UIProvider.formatting.locale`. */
34
34
  locale?: string;
35
- /** Content rendered when the amount is absent or cannot be parsed. */
35
+ /** Content rendered, with the shared empty treatment, when the amount is absent or cannot be parsed. */
36
36
  emptyLabel?: ReactNode;
37
- /** Typography size for both primary and secondary monetary values. */
37
+ /**
38
+ * Typography size for the primary value (and a `match` secondary). Defaults to
39
+ * the provider text size; inside running text, the surrounding size.
40
+ */
38
41
  size?: TextSize;
39
42
  /** Inline text alignment. Defaults to right alignment for numeric scanning. */
40
43
  align?: TextProps['align'];
41
- /** Typography weight for the primary value. */
44
+ /** Weight of the primary value. Defaults to `medium`; inside running text, the surrounding weight. */
42
45
  weight?: TextProps['weight'];
43
- /** Primary or secondary semantic text tone. */
46
+ /** Colour role. Defaults to `main`; inside running text, the surrounding colour. */
44
47
  type?: TextProps['type'];
45
48
  /** Semantic root element used by the typography primitive. */
46
49
  tag?: TextProps['tag'];
47
- /** Line-height preset applied to the root value. */
50
+ /** Line-height preset applied to the root value. Defaults to `normal`; inside running text, the surrounding leading. */
48
51
  lineHeight?: TextProps['lineHeight'];
49
- /** Applies the typography primitive's monospace numeric treatment. */
52
+ /**
53
+ * Opt-in monospace figures. Amounts already render in the sans UI font with
54
+ * tabular figures; reserve this for code-like ledgers. Defaults to `false`.
55
+ */
50
56
  numeric?: TextProps['numeric'];
51
57
  /**
52
58
  * Optional converted/display value. Passing it is an explicit request to
@@ -67,6 +73,22 @@ export interface MoneyProps extends SpanProps, MoneyValue {
67
73
  /** Inline separator. Defaults to a quiet middle dot; pass an arrow for conversion flows. */
68
74
  separator?: ReactNode;
69
75
  }
76
+ /** Options for formatting money as text; they mirror the Money primitive's value props. */
77
+ export type MoneyFormatterOptions = Omit<MoneyValue, 'amount'> & {
78
+ /** BCP-47 locale override. Falls back to `UIProvider.formatting.locale`. */
79
+ locale?: string;
80
+ /** Text returned when the amount is absent or cannot be parsed. */
81
+ emptyLabel?: string;
82
+ };
83
+ /** Formats an amount as text; per-call options win over the hook's defaults. */
84
+ export type MoneyFormatter = (amount: MoneyValue['amount'], options?: MoneyFormatterOptions) => string;
85
+ /**
86
+ * Text formatting with the Money primitive's rules and UIProvider defaults, for
87
+ * places that need a string: button labels, toasts, activity text, aria labels.
88
+ * Pass defaults such as `{ currency: 'USD' }` once for a screen whose amounts
89
+ * share a currency.
90
+ */
91
+ export declare function useMoneyFormatter(defaults?: MoneyFormatterOptions): MoneyFormatter;
70
92
  /**
71
93
  * Canonical monetary display primitive.
72
94
  *
@@ -75,5 +97,5 @@ export interface MoneyProps extends SpanProps, MoneyValue {
75
97
  * this component instead of composing separate money-display or currency-pair
76
98
  * wrappers.
77
99
  */
78
- export declare function Money({ amount, currency, unit, minorUnitScale, symbol, locale, currencyDisplay, minimumFractionDigits, maximumFractionDigits, formatMode, emptyLabel, size, align, weight, type, tag, lineHeight, numeric, secondary, displayMode, layout, secondaryEmphasis, separator, className, ref, ...props }: MoneyProps): import("react").JSX.Element;
100
+ export declare function Money({ amount, currency, unit, minorUnitScale, symbol, locale, currencyDisplay, minimumFractionDigits, maximumFractionDigits, formatMode, emptyLabel, size: sizeProp, align, weight: weightProp, type: typeProp, tag, lineHeight: lineHeightProp, numeric, secondary, displayMode, layout, secondaryEmphasis, separator, className, ref, ...props }: MoneyProps): import("react").JSX.Element;
79
101
  export {};
@@ -4,20 +4,37 @@ import type { TextSize } from '../../lib/ui-provider';
4
4
  type SpanProps = Omit<ComponentPropsWithoutRef<'span'>, 'children' | 'color'>;
5
5
  export interface NumberProps extends SpanProps {
6
6
  value?: number | string | null;
7
+ /** BCP-47 locale override. Falls back to `UIProvider.formatting.locale`. */
7
8
  locale?: string;
9
+ /** Passed to `Intl.NumberFormat`; for example `signDisplay: 'exceptZero'` for deltas. */
8
10
  options?: Intl.NumberFormatOptions;
11
+ /** Rendered with the shared empty treatment when the value is absent or unparsable. Defaults to an em dash. */
9
12
  emptyLabel?: ReactNode;
13
+ /** Text size. Defaults to the provider text size; inside running text, the surrounding size. */
10
14
  size?: TextSize;
15
+ /** Text alignment. Defaults to `right` so columns of figures line up. */
11
16
  align?: TextProps['align'];
17
+ /** Font weight. Defaults to `regular`; inside running text, the surrounding weight. */
12
18
  weight?: TextProps['weight'];
19
+ /** Colour role. Defaults to `main`; inside running text, the surrounding colour. */
13
20
  type?: TextProps['type'];
14
21
  ref?: Ref<HTMLSpanElement>;
15
22
  }
16
23
  export interface PercentProps extends Omit<NumberProps, 'options'> {
24
+ /** The value is already 0–100 rather than a 0–1 ratio. Defaults to `false`. */
17
25
  scaled?: boolean;
26
+ /** Passed to `Intl.NumberFormat` after the percent style and one-decimal default. */
18
27
  options?: Intl.NumberFormatOptions;
19
28
  ref?: Ref<HTMLSpanElement>;
20
29
  }
30
+ /**
31
+ * A locale-formatted count or quantity in the sans UI font with tabular figures.
32
+ * Negative values use the typographic minus sign (U+2212).
33
+ */
21
34
  export declare function Number({ value, locale, options, emptyLabel, size, align, weight, type, className, ref, ...props }: NumberProps): import("react").JSX.Element;
35
+ /**
36
+ * A percentage in the sans UI font with tabular figures. Expects a 0–1 ratio
37
+ * unless `scaled`; one decimal place by default; negative values use U+2212.
38
+ */
22
39
  export declare function Percent({ value, locale, scaled, options, emptyLabel, size, align, weight, type, className, ref, ...props }: PercentProps): import("react").JSX.Element;
23
40
  export {};
@@ -0,0 +1,54 @@
1
+ import type { TextSize } from '../../lib/ui-provider';
2
+ import type { TextProps } from '../typography/text';
3
+ type TextType = NonNullable<TextProps['type']>;
4
+ type TextWeight = NonNullable<TextProps['weight']>;
5
+ type TextLineHeight = NonNullable<TextProps['lineHeight']>;
6
+ /** Typography props a value primitive accepts and passes to `Text`. */
7
+ export interface ValueTypographyProps {
8
+ size?: TextSize;
9
+ type?: TextProps['type'];
10
+ weight?: TextProps['weight'];
11
+ lineHeight?: TextProps['lineHeight'];
12
+ }
13
+ /** Resolved typography; `undefined` size means the provider default. */
14
+ export interface ValueTypography {
15
+ size: TextSize | undefined;
16
+ type: TextType;
17
+ weight: TextWeight;
18
+ lineHeight: TextLineHeight | undefined;
19
+ }
20
+ /** Standalone role of a value primitive. */
21
+ export interface ValueTypographyRole {
22
+ /** Colour role outside running text. */
23
+ type: TextType;
24
+ /** Weight outside running text. */
25
+ weight: TextWeight;
26
+ /** Size outside running text; the provider default when omitted. */
27
+ size?: TextSize;
28
+ /**
29
+ * Keep the colour role inside running text. Secondary, muted and empty values
30
+ * stay recessive in a sentence; ordinary values take the sentence colour.
31
+ */
32
+ keepType?: boolean;
33
+ /**
34
+ * Leading inside running text. Defaults to the surrounding leading. A span in
35
+ * another font family (monospace) uses `none` so its own ascent and descent
36
+ * never grow the sentence's line box; the line keeps the sentence leading.
37
+ */
38
+ inTextLineHeight?: TextLineHeight;
39
+ }
40
+ /**
41
+ * Resolves what a value primitive passes to `Text`. Explicit props always win.
42
+ * Inside running text (a `Text`, `Heading`, label, link or value parent) unset
43
+ * size, colour, weight and leading inherit the surrounding text, so an SKU or an
44
+ * amount in a sentence matches the words around it. A standalone value keeps
45
+ * its role defaults and the provider text size.
46
+ */
47
+ export declare function useValueTypography(props: ValueTypographyProps, role: ValueTypographyRole): ValueTypography;
48
+ /**
49
+ * The shared missing-value treatment (`EmptyValue`): secondary colour and a
50
+ * regular weight at the value's size. An explicit weight is kept; inside
51
+ * running text the weight follows the sentence.
52
+ */
53
+ export declare function emptyValueTypography(resolved: ValueTypography, explicitWeight: TextProps['weight']): ValueTypography;
54
+ export {};
@@ -2,22 +2,47 @@ import { type ComponentPropsWithoutRef, type ReactNode, type Ref } from 'react';
2
2
  import { type TextProps } from '../typography';
3
3
  import type { TextSize } from '../../lib/ui-provider';
4
4
  type SpanProps = Omit<ComponentPropsWithoutRef<'span'>, 'children' | 'color'>;
5
- export type ValueType = Extract<TextProps['type'], 'main' | 'secondary'>;
5
+ /** Value colour roles: foreground, secondary, or the surrounding text colour. */
6
+ export type ValueType = Extract<TextProps['type'], 'main' | 'secondary' | 'inherit'>;
6
7
  export interface ValueProps extends SpanProps {
7
8
  children?: ReactNode;
9
+ /** Rendered with the shared empty treatment when children are absent. Defaults to an em dash. */
8
10
  emptyLabel?: ReactNode;
11
+ /**
12
+ * Text size. A standalone value uses the provider text size; inside running
13
+ * text (`Text`, `Heading`, labels, links, other values) it inherits the size.
14
+ */
9
15
  size?: TextSize;
10
16
  align?: TextProps['align'];
17
+ /** Font weight. Defaults to the component's role weight; inside running text, the surrounding weight. */
11
18
  weight?: TextProps['weight'];
19
+ /** Colour role. Defaults to the component's role; inside running text `Value` and `MonoValue` take the surrounding colour. */
12
20
  type?: ValueType;
13
21
  ref?: Ref<HTMLSpanElement>;
14
22
  }
15
- export declare function Value({ children, emptyLabel, size, align, weight, type, className, ref, ...props }: ValueProps): import("react").JSX.Element;
16
- export declare function SecondaryValue({ children, emptyLabel, size, align, weight, type, className, ref, ...props }: ValueProps): import("react").JSX.Element;
17
- export declare function MutedValue({ children, emptyLabel, size, align, weight, type, className, ref, ...props }: ValueProps): import("react").JSX.Element;
18
- export declare function MonoValue({ children, emptyLabel, size, align, weight, type, className, ref, ...props }: ValueProps): import("react").JSX.Element;
23
+ /**
24
+ * An ordinary displayed fact: foreground, regular weight. Inside running text it
25
+ * takes the sentence's size, colour and weight.
26
+ */
27
+ export declare function Value(props: ValueProps): import("react").JSX.Element;
28
+ /** Supporting detail in the secondary colour. Inside running text it keeps the colour and takes the size and weight. */
29
+ export declare function SecondaryValue(props: ValueProps): import("react").JSX.Element;
30
+ /** A note that recedes further than secondary text. */
31
+ export declare function MutedValue(props: ValueProps): import("react").JSX.Element;
32
+ /**
33
+ * An identifier or code (SKU, reference, tracking number, key) in the monospace
34
+ * family. Standalone it is foreground medium at the provider size; inside running
35
+ * text only the family changes, so an SKU in a description matches the words
36
+ * around it. Amounts and dates belong to the number primitives, which keep the
37
+ * sans font with tabular figures.
38
+ */
39
+ export declare function MonoValue(props: ValueProps): import("react").JSX.Element;
19
40
  export interface EmptyValueProps extends Omit<ValueProps, 'emptyLabel'> {
20
41
  ref?: Ref<HTMLSpanElement>;
21
42
  }
22
- export declare function EmptyValue({ children, size, align, weight, type, className, ref, ...props }: EmptyValueProps): import("react").JSX.Element;
43
+ /**
44
+ * An intentionally absent value: secondary colour, regular weight. Every value
45
+ * primitive renders its missing state with this treatment.
46
+ */
47
+ export declare function EmptyValue({ children, ...props }: EmptyValueProps): import("react").JSX.Element;
23
48
  export {};
@@ -5,14 +5,22 @@ export type HeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
5
5
  export type HeadingSize = keyof typeof headingSizes;
6
6
  export interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
7
7
  ref?: Ref<HTMLHeadingElement>;
8
+ /** Semantic outline level. Defaults to `h3`; it never changes the visual size. */
8
9
  tag?: HeadingTag;
9
- /** Visual emphasis; semantic tag and the default admin size remain independent. */
10
+ /**
11
+ * Visual emphasis, independent of `tag`. Defaults to the compact admin `base`.
12
+ * `xl` and larger tighten tracking; `2xl` and larger also tighten leading.
13
+ */
10
14
  size?: HeadingSize;
15
+ /** Secondary line under the title, rendered as secondary `Text`. */
11
16
  subHeading?: ReactNode;
12
17
  subHeadingClassName?: string;
18
+ /** Text size of `subHeading`; defaults to the provider text size. */
13
19
  subHeadingSize?: TextSize;
14
20
  containerClassName?: string;
21
+ /** Text alignment for the title and sub-heading. Defaults to `left`. */
15
22
  align?: keyof typeof textAlignments;
23
+ /** Adds a bottom rule under the title. Defaults to `false`. */
16
24
  divider?: boolean;
17
25
  }
18
26
  /** Semantic heading levels share Themelia's restrained admin heading scale. */
@@ -1,8 +1,11 @@
1
1
  import type { LabelHTMLAttributes, ReactNode, Ref } from 'react';
2
2
  import type { ComponentScale } from '../../lib/component-vocabulary';
3
3
  export interface LabelProps extends Omit<LabelHTMLAttributes<HTMLLabelElement>, 'content'> {
4
+ /** Fallback content; children take precedence. */
4
5
  content?: ReactNode;
6
+ /** Control scale the caption belongs to (`sm` → xs, `md` → sm, `lg` → base). Defaults to the provider density scale. */
5
7
  size?: ComponentScale;
6
8
  ref?: Ref<HTMLLabelElement>;
7
9
  }
10
+ /** Form caption for a control; medium weight, foreground, no incidental margins. */
8
11
  export declare function Label({ content, children, size, className, ref, ...props }: LabelProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export { RichText } from './rich-text';
2
- export type { RichTextProps } from './rich-text';
2
+ export type { RichTextProps, RichTextImageRendering, RichTextImageAttributes, RenderRichTextImage } from './rich-text';
@@ -0,0 +1,19 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { Root } from 'hast';
3
+ /** An image in sanitized rich text, as handed to `renderImage`. */
4
+ export interface RichTextImageAttributes {
5
+ /** Source that passed the package image policy (http, https, blob or relative). */
6
+ src: string;
7
+ /** Text alternative; empty for a decorative image. */
8
+ alt: string;
9
+ title?: string;
10
+ width?: number;
11
+ height?: number;
12
+ }
13
+ export type RenderRichTextImage = (image: RichTextImageAttributes) => ReactNode;
14
+ /**
15
+ * Renders an already sanitized tree as React elements, so each image can be
16
+ * the consumer's own component (a framework image, a lightbox trigger) while
17
+ * the surrounding markup keeps its structure. Server and client output match.
18
+ */
19
+ export declare function renderRichTextTree(tree: Root, renderImage: RenderRichTextImage): ReactNode;
@@ -1,6 +1,22 @@
1
1
  import type { TextProps } from '../text';
2
+ import { type RenderRichTextImage } from './rich-text-tree';
3
+ export type { RenderRichTextImage, RichTextImageAttributes } from './rich-text-tree';
4
+ /** Image rendering for read-only rich text. */
5
+ export interface RichTextImageRendering {
6
+ /**
7
+ * Renders each image, for example with a framework image component. It
8
+ * receives only sources that passed the package image policy.
9
+ */
10
+ renderImage?: RenderRichTextImage;
11
+ }
2
12
  export interface RichTextProps extends Omit<TextProps, 'children' | 'content' | 'dangerouslySetInnerHTML'> {
3
13
  /** HTML sanitized through the package allowlist before rendering. */
4
14
  html?: string | null;
15
+ /**
16
+ * Keeps images whose source is a web URL, a `blob:` preview or a relative
17
+ * path (script and `data:` sources are removed). Pass `renderImage` to draw
18
+ * each image with your own component. Default: images are removed.
19
+ */
20
+ images?: boolean | RichTextImageRendering;
5
21
  }
6
22
  export declare const RichText: import("react").ForwardRefExoticComponent<RichTextProps & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * True below an element that renders running text: `Text`, `Heading`,
3
+ * `DisplayLabel`, `Label`, `TextLink` and the inline value primitives.
4
+ *
5
+ * Inline value primitives read it to tell a value inside a sentence from a
6
+ * standalone value. Inside running text their unset size, colour, weight and
7
+ * leading inherit from the surrounding text; standalone values keep their role
8
+ * defaults. Explicit props always win.
9
+ */
10
+ export declare const RunningTextContext: import("react").Context<boolean>;
11
+ /** Whether the caller renders inside running text owned by a typography role. */
12
+ export declare function useInRunningText(): boolean;
@@ -1,7 +1,30 @@
1
1
  import type { AnchorHTMLAttributes, Ref } from 'react';
2
2
  import type { TextProps } from './text';
3
+ /**
4
+ * Inline-link mechanics shared by `TextLink` and the link primitives. As a flex
5
+ * or grid item the link hugs its text, so neither the hit area nor the focus
6
+ * ring stretches across the row. The shared focus edge sits just outside the
7
+ * glyphs inside the soft halo, uses the small radius role and follows every line
8
+ * of a wrapped link. Links keep one colour whether
9
+ * or not they were visited: the role colour is explicit.
10
+ */
11
+ export declare const inlineLinkClassName: string;
12
+ /** Underline geometry shared with content links: proportional to the text size. */
13
+ export declare const linkUnderlineClassName = "underline decoration-current underline-offset-[0.2em]";
3
14
  export interface TextLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'type'>, Pick<TextProps, 'type' | 'size' | 'weight' | 'align' | 'lineHeight'> {
15
+ /** Text size. Defaults to the provider text size; inside running text, the surrounding size. */
16
+ size?: TextProps['size'];
17
+ /**
18
+ * Underlined at rest, clearing on hover. Defaults to `true`; keep it for links
19
+ * whose colour matches the surrounding text. `false` renders no underline and
20
+ * leaves the hover treatment to the composition (a row, chip or menu).
21
+ */
4
22
  underline?: boolean;
5
23
  ref?: Ref<HTMLAnchorElement>;
6
24
  }
7
- export declare function TextLink({ type, size, weight, align, lineHeight, underline, className, ref, ...props }: TextLinkProps): import("react").JSX.Element;
25
+ /**
26
+ * Native anchor sibling of `Text`: the same roles plus link focus and hover
27
+ * states. Inside running text an unset size, weight and leading follow the
28
+ * sentence; the colour role stays, so the link still reads as a link.
29
+ */
30
+ export declare function TextLink({ type, size, weight, align, lineHeight, underline, className, ref, children, ...props }: TextLinkProps): import("react").JSX.Element;