themelia-react-ui 2.0.0 → 2.0.2

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 (707) hide show
  1. package/CHANGELOG.md +527 -0
  2. package/README.md +47 -14
  3. package/THIRD_PARTY_NOTICES.md +13 -0
  4. package/dist/accordion-Cjb6sx0G.js +208 -0
  5. package/dist/accordion-Cjb6sx0G.js.map +1 -0
  6. package/dist/action-menu-CllU52Mm.js +280 -0
  7. package/dist/action-menu-CllU52Mm.js.map +1 -0
  8. package/dist/affordance-geometry.generated-tF36bREk.js +140 -0
  9. package/dist/affordance-geometry.generated-tF36bREk.js.map +1 -0
  10. package/dist/ai-artifact-DvTwDVyL.js +1148 -0
  11. package/dist/ai-artifact-DvTwDVyL.js.map +1 -0
  12. package/dist/{app-shell-BE_j8-AT.js → app-shell-C4FhvCqF.js} +5 -5
  13. package/dist/{app-shell-BE_j8-AT.js.map → app-shell-C4FhvCqF.js.map} +1 -1
  14. package/dist/attachment-BxDfL2mw.js +246 -0
  15. package/dist/attachment-BxDfL2mw.js.map +1 -0
  16. package/dist/{auth-M3vGMgDR.js → auth-ax2BqjrI.js} +241 -235
  17. package/dist/auth-ax2BqjrI.js.map +1 -0
  18. package/dist/{avatar-djdaaQ_s.js → avatar-DAPlDvhJ.js} +67 -66
  19. package/dist/avatar-DAPlDvhJ.js.map +1 -0
  20. package/dist/badge-HpFqoqSY.js +93 -0
  21. package/dist/badge-HpFqoqSY.js.map +1 -0
  22. package/dist/base/accordion.js +1 -1
  23. package/dist/base/action-menu.js +1 -1
  24. package/dist/base/attachment.js +1 -1
  25. package/dist/base/avatar.js +1 -1
  26. package/dist/base/badge.js +1 -1
  27. package/dist/base/batch-action-bar.js +3 -0
  28. package/dist/base/buttons.js +2 -3
  29. package/dist/base/cards.js +2 -2
  30. package/dist/base/carousel.js +50 -46
  31. package/dist/base/carousel.js.map +1 -1
  32. package/dist/base/cascader.js +69 -81
  33. package/dist/base/cascader.js.map +1 -1
  34. package/dist/base/chart.js +1 -1
  35. package/dist/base/choice-inputs.js +3 -3
  36. package/dist/base/code-block.js +1 -1
  37. package/dist/base/combobox.js +2 -2
  38. package/dist/base/command.js +1 -1
  39. package/dist/base/copyable.js +1 -1
  40. package/dist/base/date-pickers.js +2 -2
  41. package/dist/base/display.js +7 -7
  42. package/dist/base/feedback.js +3 -3
  43. package/dist/base/forms-numeric.js +1 -1
  44. package/dist/base/forms.js +2 -2
  45. package/dist/base/inline-edit.js +20 -20
  46. package/dist/base/inline-edit.js.map +1 -1
  47. package/dist/base/item.js +1 -1
  48. package/dist/base/media-gallery.js +1 -1
  49. package/dist/base/metadata-list.js +3 -0
  50. package/dist/base/navigation.js +7 -7
  51. package/dist/base/popover-menu.js +1 -1
  52. package/dist/base/popover.js +1 -1
  53. package/dist/base/qr-code.js +1 -1
  54. package/dist/base/repeaters.js +216 -220
  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 +147 -137
  59. package/dist/base/signature-pad.js.map +1 -1
  60. package/dist/base/skeleton.js +1 -1
  61. package/dist/base/spinner.js +79 -2
  62. package/dist/base/spinner.js.map +1 -0
  63. package/dist/base/structure.js +1 -1
  64. package/dist/base/table.js +1 -1
  65. package/dist/base/text-inputs.js +2 -2
  66. package/dist/base/toaster.js +46 -45
  67. package/dist/base/toaster.js.map +1 -1
  68. package/dist/base/tree.js +1 -1
  69. package/dist/base/upload-queue.js +1 -1
  70. package/dist/base/upload.js +3 -3
  71. package/dist/base/value-inputs.js +2 -2
  72. package/dist/batch-action-bar-DnUJ21NQ.js +105 -0
  73. package/dist/batch-action-bar-DnUJ21NQ.js.map +1 -0
  74. package/dist/blocks/admin.js +171 -169
  75. package/dist/blocks/admin.js.map +1 -1
  76. package/dist/blocks/ai.js +308 -285
  77. package/dist/blocks/ai.js.map +1 -1
  78. package/dist/blocks/analytics/usage-card.js +1 -1
  79. package/dist/blocks/analytics.js +626 -589
  80. package/dist/blocks/analytics.js.map +1 -1
  81. package/dist/blocks/collaboration.js +1 -1
  82. package/dist/blocks/commerce/receipt.js +1 -1
  83. package/dist/blocks/commerce.js +2051 -1329
  84. package/dist/blocks/commerce.js.map +1 -1
  85. package/dist/blocks/data-display.js +3 -2
  86. package/dist/blocks/onboarding.js +68 -58
  87. package/dist/blocks/onboarding.js.map +1 -1
  88. package/dist/blocks/planning.js +27 -26
  89. package/dist/blocks/planning.js.map +1 -1
  90. package/dist/blocks/timelines.js +1 -1
  91. package/dist/breadcrumbs-C-oqs1sQ.js +129 -0
  92. package/dist/breadcrumbs-C-oqs1sQ.js.map +1 -0
  93. package/dist/{button-R9CCoH7A.js → button-DVzspB_G.js} +15 -14
  94. package/dist/button-DVzspB_G.js.map +1 -0
  95. package/dist/{button-BS3KDg00.js → buttons-DPZekJFu.js} +208 -216
  96. package/dist/buttons-DPZekJFu.js.map +1 -0
  97. package/dist/cards-BaBZR-AU.js +68 -0
  98. package/dist/cards-BaBZR-AU.js.map +1 -0
  99. package/dist/{chart-DwYRKKc-.js → chart-ZOYyK2xG.js} +58 -55
  100. package/dist/chart-ZOYyK2xG.js.map +1 -0
  101. package/dist/checkbox-AWIhNhmo.js +36 -0
  102. package/dist/checkbox-AWIhNhmo.js.map +1 -0
  103. package/dist/choice-inputs-CNHvARCJ.js +770 -0
  104. package/dist/choice-inputs-CNHvARCJ.js.map +1 -0
  105. package/dist/code-block-DeneBJR_.js +185 -0
  106. package/dist/code-block-DeneBJR_.js.map +1 -0
  107. package/dist/{collapsible-oMUGM4tr.js → collapsible-C-_l4hpy.js} +4 -4
  108. package/dist/{collapsible-oMUGM4tr.js.map → collapsible-C-_l4hpy.js.map} +1 -1
  109. package/dist/{collection-content-Ys-OZOkY.js → collection-content-By56pLog.js} +3 -3
  110. package/dist/{collection-content-Ys-OZOkY.js.map → collection-content-By56pLog.js.map} +1 -1
  111. package/dist/combobox-C0EQW6dr.js +875 -0
  112. package/dist/combobox-C0EQW6dr.js.map +1 -0
  113. package/dist/combobox-xCQ2RMNE.js +309 -0
  114. package/dist/combobox-xCQ2RMNE.js.map +1 -0
  115. package/dist/{command-kPMPjIxJ.js → command-C25VMRII.js} +7 -7
  116. package/dist/{command-kPMPjIxJ.js.map → command-C25VMRII.js.map} +1 -1
  117. package/dist/{comments-You0Bzbr.js → comments-BYYlTA8E.js} +390 -379
  118. package/dist/comments-BYYlTA8E.js.map +1 -0
  119. package/dist/components/base/action-menu/action-menu.d.ts +21 -4
  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/badge/badge.recipes.d.ts +5 -5
  123. package/dist/components/base/batch-action-bar/batch-action-bar.d.ts +50 -0
  124. package/dist/components/base/batch-action-bar/batch-action-bar.strings.d.ts +20 -0
  125. package/dist/components/base/batch-action-bar/index.d.ts +8 -0
  126. package/dist/components/base/buttons/button-group.recipes.d.ts +1 -1
  127. package/dist/components/base/buttons/button.recipes.d.ts +2 -2
  128. package/dist/components/base/buttons/loader-button.d.ts +2 -1
  129. package/dist/components/base/cards/card.recipes.d.ts +2 -3
  130. package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +3 -13
  131. package/dist/components/base/cards/smart-card.types.d.ts +11 -4
  132. package/dist/components/base/chart/chart.d.ts +2 -5
  133. package/dist/components/base/choice-inputs/checkbox.d.ts +2 -2
  134. package/dist/components/base/choice-inputs/choice-types.d.ts +18 -6
  135. package/dist/components/base/combobox/combobox.strings.d.ts +7 -0
  136. package/dist/components/base/combobox/index.d.ts +30 -4
  137. package/dist/components/base/display/alert-dialog.d.ts +6 -5
  138. package/dist/components/base/display/dialog.d.ts +4 -8
  139. package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
  140. package/dist/components/base/forms/form-sizing.d.ts +26 -15
  141. package/dist/components/base/metadata-list/index.d.ts +12 -0
  142. package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.d.ts +28 -25
  143. package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-value.d.ts +2 -2
  144. package/dist/components/base/navigation/index.d.ts +1 -1
  145. package/dist/components/base/navigation/page-header/index.d.ts +1 -0
  146. package/dist/components/base/navigation/page-header/page-header-commands.d.ts +73 -0
  147. package/dist/components/base/navigation/page-header/page-header.d.ts +26 -3
  148. package/dist/components/base/navigation/pagination.d.ts +5 -2
  149. package/dist/components/base/popover/popover.recipes.d.ts +15 -1
  150. package/dist/components/base/sheet/sheet.d.ts +4 -8
  151. package/dist/components/base/signature-pad/signature-pad.types.d.ts +5 -1
  152. package/dist/components/base/signature-pad/signature-pad.utils.d.ts +11 -3
  153. package/dist/components/base/table/index.d.ts +9 -2
  154. package/dist/components/base/text-inputs/field-clear-button.d.ts +6 -0
  155. package/dist/components/base/text-inputs/input-group.d.ts +2 -2
  156. package/dist/components/base/upload/upload.recipes.d.ts +25 -3
  157. package/dist/components/base/value-inputs/index.d.ts +5 -5
  158. package/dist/components/base/value-inputs/tags-input.d.ts +36 -12
  159. package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +1 -1
  160. package/dist/components/blocks/ai/ai-shimmer/types.d.ts +3 -0
  161. package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
  162. package/dist/components/blocks/commerce/address-card/types.d.ts +2 -1
  163. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +3 -1
  164. package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
  165. package/dist/components/blocks/commerce/cart-summary/types.d.ts +6 -1
  166. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +3 -1
  167. package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
  168. package/dist/components/blocks/commerce/discount-stack/types.d.ts +16 -4
  169. package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +5 -0
  170. package/dist/components/blocks/commerce/fulfillment-group/index.d.ts +2 -0
  171. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +45 -0
  172. package/dist/components/blocks/commerce/index.d.ts +13 -5
  173. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
  174. package/dist/components/blocks/commerce/invoice-header/types.d.ts +4 -2
  175. package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +1 -1
  176. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +2 -1
  177. package/dist/components/blocks/commerce/order-customer/index.d.ts +2 -0
  178. package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +5 -0
  179. package/dist/components/blocks/commerce/order-customer/types.d.ts +48 -0
  180. package/dist/components/blocks/commerce/order-header/index.d.ts +2 -0
  181. package/dist/components/blocks/commerce/order-header/order-header.d.ts +5 -0
  182. package/dist/components/blocks/commerce/order-header/types.d.ts +37 -0
  183. package/dist/components/blocks/commerce/order-line-item/index.d.ts +2 -0
  184. package/dist/components/blocks/commerce/order-line-item/order-line-item.d.ts +5 -0
  185. package/dist/components/blocks/commerce/order-line-item/types.d.ts +46 -0
  186. package/dist/components/blocks/commerce/order-summary/index.d.ts +2 -0
  187. package/dist/components/blocks/commerce/order-summary/order-summary.d.ts +5 -0
  188. package/dist/components/blocks/commerce/order-summary/types.d.ts +42 -0
  189. package/dist/components/blocks/commerce/order-transactions/index.d.ts +2 -0
  190. package/dist/components/blocks/commerce/order-transactions/order-transactions.d.ts +5 -0
  191. package/dist/components/blocks/commerce/order-transactions/types.d.ts +46 -0
  192. package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
  193. package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +9 -1
  194. package/dist/components/blocks/commerce/payment-method/types.d.ts +12 -1
  195. package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
  196. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +3 -1
  197. package/dist/components/blocks/commerce/refund-status/types.d.ts +6 -3
  198. package/dist/components/blocks/commerce/shared/address-lines.d.ts +21 -0
  199. package/dist/components/blocks/commerce/shared/line-thumbnail.d.ts +9 -0
  200. package/dist/components/blocks/commerce/shared/order-status.d.ts +51 -0
  201. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
  202. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +27 -6
  203. package/dist/components/blocks/commerce/summary-panel/amount-row.d.ts +2 -0
  204. package/dist/components/blocks/commerce/summary-panel/index.d.ts +3 -0
  205. package/dist/components/blocks/commerce/summary-panel/summary-panel.d.ts +2 -0
  206. package/dist/components/blocks/commerce/summary-panel/types.d.ts +26 -0
  207. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
  208. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +2 -1
  209. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +16 -8
  210. package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
  211. package/dist/components/features/activities/partials/activity-marker.d.ts +6 -3
  212. package/dist/components/features/activities/partials/activity-row.d.ts +6 -2
  213. package/dist/components/features/activities/partials/tone-tokens.d.ts +0 -6
  214. package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +5 -0
  215. package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +220 -0
  216. package/dist/components/features/appointment-calendar/appointment-calendar.utils.d.ts +41 -0
  217. package/dist/components/features/appointment-calendar/index.d.ts +3 -0
  218. package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +32 -0
  219. package/dist/components/features/appointment-calendar/partials/appointment-month.d.ts +13 -0
  220. package/dist/components/features/combobox/combobox.strings.d.ts +15 -1
  221. package/dist/components/features/combobox/types.d.ts +4 -0
  222. package/dist/components/features/global-search/partials/global-search-group-heading.d.ts +15 -0
  223. package/dist/components/features/global-search/partials/tone-palettes.d.ts +0 -5
  224. package/dist/components/features/kanban/kanban.d.ts +1 -1
  225. package/dist/components/features/kanban/kanban.strings.d.ts +1 -1
  226. package/dist/components/features/kanban/kanban.types.d.ts +2 -2
  227. package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
  228. package/dist/components/features/media-library/index.d.ts +1 -1
  229. package/dist/components/features/media-library/media-library.d.ts +1 -1
  230. package/dist/components/features/media-library/media-library.strings.d.ts +6 -0
  231. package/dist/components/features/media-library/media-library.types.d.ts +74 -1
  232. package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
  233. package/dist/components/features/mentions/partials/mention-kind-toggles.d.ts +16 -0
  234. package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
  235. package/dist/components/features/overlays/dialog.d.ts +1 -1
  236. package/dist/components/features/overlays/index.d.ts +1 -1
  237. package/dist/components/features/overlays/overlay-tone-icon.d.ts +3 -3
  238. package/dist/components/features/overlays/overlays.types.d.ts +20 -0
  239. package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
  240. package/dist/components/features/products/components/product-details-card.d.ts +5 -0
  241. package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
  242. package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
  243. package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
  244. package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
  245. package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
  246. package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
  247. package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
  248. package/dist/components/features/products/components/product-variant-action-menu.d.ts +23 -1
  249. package/dist/components/features/products/products.types.d.ts +9 -2
  250. package/dist/components/features/resource/index.d.ts +1 -1
  251. package/dist/components/features/resource/resource.d.ts +1 -1
  252. package/dist/components/features/resource/resource.types.d.ts +34 -6
  253. package/dist/components/features/rich-text-editor/index.d.ts +2 -1
  254. package/dist/components/features/rich-text-editor/partials/image-nodes.d.ts +13 -0
  255. package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +66 -0
  256. package/dist/components/features/rich-text-editor/partials/inline-reference-node.d.ts +19 -0
  257. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +7 -1
  258. package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +14 -0
  259. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +54 -1
  260. package/dist/components/features/rich-text-editor/use-rich-text-images.d.ts +18 -0
  261. package/dist/components/features/sync/index.d.ts +26 -3
  262. package/dist/components/features/table/data-table.d.ts +1 -1
  263. package/dist/components/features/table/table-header.d.ts +1 -1
  264. package/dist/components/features/table/table.strings.d.ts +55 -1
  265. package/dist/components/features/table/table.types.d.ts +49 -11
  266. package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +5 -0
  267. package/dist/components/layout/page/index.d.ts +1 -1
  268. package/dist/components/layout/page/page.types.d.ts +33 -36
  269. package/dist/components/layout/page/partials/page-actions.d.ts +1 -0
  270. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  271. package/dist/components/layout/settings/settings.d.ts +16 -2
  272. package/dist/components/layout/workspace/workspace.types.d.ts +21 -4
  273. package/dist/components/primitives/number.d.ts +4 -2
  274. package/dist/components/primitives/value.d.ts +3 -1
  275. package/dist/components/typography/rich-text/index.d.ts +1 -1
  276. package/dist/components/typography/rich-text/rich-text-tree.d.ts +19 -0
  277. package/dist/components/typography/rich-text/rich-text.d.ts +16 -0
  278. package/dist/components/typography/text-link.d.ts +8 -3
  279. package/dist/components/ui/checkbox.d.ts +4 -3
  280. package/dist/components/ui/combobox.d.ts +6 -2
  281. package/dist/components/ui/item.d.ts +8 -8
  282. package/dist/components/ui/overlay.recipes.d.ts +0 -9
  283. package/dist/components/ui/switch.d.ts +2 -2
  284. package/dist/components/ui/tabs.d.ts +1 -1
  285. package/dist/{containers-D_L4mTVb.js → containers-Mu1LMGV1.js} +36 -35
  286. package/dist/containers-Mu1LMGV1.js.map +1 -0
  287. package/dist/{copyable-DDjTeW_j.js → copyable-ClBuk_UK.js} +6 -6
  288. package/dist/{copyable-DDjTeW_j.js.map → copyable-ClBuk_UK.js.map} +1 -1
  289. package/dist/data-display-DT_khPl_.js +971 -0
  290. package/dist/data-display-DT_khPl_.js.map +1 -0
  291. package/dist/{date-uf3z37Nm.js → date-DCrsDTZc.js} +5 -5
  292. package/dist/{date-uf3z37Nm.js.map → date-DCrsDTZc.js.map} +1 -1
  293. package/dist/date-picker-ay0Pha_a.js +1530 -0
  294. package/dist/date-picker-ay0Pha_a.js.map +1 -0
  295. package/dist/date-pickers-Ccw8DL2b.js +175 -0
  296. package/dist/date-pickers-Ccw8DL2b.js.map +1 -0
  297. package/dist/display-hAc1HjpI.js +344 -0
  298. package/dist/display-hAc1HjpI.js.map +1 -0
  299. package/dist/dropdown-menu-Cl4X7L5S.js +193 -0
  300. package/dist/dropdown-menu-Cl4X7L5S.js.map +1 -0
  301. package/dist/editable-text-recipe-Cn61kEcv.js +10 -0
  302. package/dist/editable-text-recipe-Cn61kEcv.js.map +1 -0
  303. package/dist/features/activities.js +478 -542
  304. package/dist/features/activities.js.map +1 -1
  305. package/dist/features/ai-chat.js +209 -199
  306. package/dist/features/ai-chat.js.map +1 -1
  307. package/dist/features/appointment-calendar.js +683 -0
  308. package/dist/features/appointment-calendar.js.map +1 -0
  309. package/dist/features/async-preview.js +109 -107
  310. package/dist/features/async-preview.js.map +1 -1
  311. package/dist/features/combobox.js +1 -1
  312. package/dist/features/comments.js +1 -1
  313. package/dist/features/data-view.js +30 -29
  314. package/dist/features/data-view.js.map +1 -1
  315. package/dist/features/email-composer/engine.js +1 -1
  316. package/dist/features/email-composer.js +285 -283
  317. package/dist/features/email-composer.js.map +1 -1
  318. package/dist/features/event-calendar.js +282 -273
  319. package/dist/features/event-calendar.js.map +1 -1
  320. package/dist/features/filters.js +1 -1
  321. package/dist/features/global-search.js +318 -318
  322. package/dist/features/global-search.js.map +1 -1
  323. package/dist/features/kanban.js +146 -147
  324. package/dist/features/kanban.js.map +1 -1
  325. package/dist/features/map.js +269 -268
  326. package/dist/features/map.js.map +1 -1
  327. package/dist/features/media-library.js +970 -863
  328. package/dist/features/media-library.js.map +1 -1
  329. package/dist/features/mentions.js +1 -1
  330. package/dist/features/overlays.js +1 -1
  331. package/dist/features/products.js +1137 -1124
  332. package/dist/features/products.js.map +1 -1
  333. package/dist/features/questionnaire.js +206 -194
  334. package/dist/features/questionnaire.js.map +1 -1
  335. package/dist/features/resource-assignment.js +24 -21
  336. package/dist/features/resource-assignment.js.map +1 -1
  337. package/dist/features/resource.js +77 -69
  338. package/dist/features/resource.js.map +1 -1
  339. package/dist/features/rich-text-editor.js +30 -11
  340. package/dist/features/rich-text-editor.js.map +1 -1
  341. package/dist/features/schema-form.js +35 -33
  342. package/dist/features/schema-form.js.map +1 -1
  343. package/dist/features/suggestions.js +3 -3
  344. package/dist/features/sync.js +11 -5
  345. package/dist/features/sync.js.map +1 -1
  346. package/dist/features/table.js +1 -1
  347. package/dist/features/theme-tweaker.js +501 -496
  348. package/dist/features/theme-tweaker.js.map +1 -1
  349. package/dist/feedback-BYIhtitP.js +239 -0
  350. package/dist/feedback-BYIhtitP.js.map +1 -0
  351. package/dist/field-affordance-recipes-DZhnIL_Y.js +41 -0
  352. package/dist/field-affordance-recipes-DZhnIL_Y.js.map +1 -0
  353. package/dist/field-state-recipes-BVA2CWHo.js +12 -0
  354. package/dist/field-state-recipes-BVA2CWHo.js.map +1 -0
  355. package/dist/{filters-Da-gNPsE.js → filters-BGfvjP4d.js} +483 -472
  356. package/dist/filters-BGfvjP4d.js.map +1 -0
  357. package/dist/focus-recipes-B653VaLq.js +12 -0
  358. package/dist/focus-recipes-B653VaLq.js.map +1 -0
  359. package/dist/{form-field-VZRULhUK.js → form-field-CwH9y77i.js} +6 -5
  360. package/dist/form-field-CwH9y77i.js.map +1 -0
  361. package/dist/{form-sizing-uWP4lzVh.js → form-sizing-BdP_Mf5p.js} +45 -46
  362. package/dist/form-sizing-BdP_Mf5p.js.map +1 -0
  363. package/dist/{forms-DDeEnXSY.js → forms-B9G_xwzi.js} +22 -22
  364. package/dist/{forms-DDeEnXSY.js.map → forms-B9G_xwzi.js.map} +1 -1
  365. package/dist/forms-numeric-B_jraJaQ.js +906 -0
  366. package/dist/forms-numeric-B_jraJaQ.js.map +1 -0
  367. package/dist/{header-2ycNqGOR.js → header-CGXuhcRm.js} +164 -161
  368. package/dist/header-CGXuhcRm.js.map +1 -0
  369. package/dist/{hooks-DQ5SPwZw.js → hooks-Dkz0K2WT.js} +2 -2
  370. package/dist/{hooks-DQ5SPwZw.js.map → hooks-Dkz0K2WT.js.map} +1 -1
  371. package/dist/{http-CdEIHyQf.js → http-D_6rOnzU.js} +2 -2
  372. package/dist/{http-CdEIHyQf.js.map → http-D_6rOnzU.js.map} +1 -1
  373. package/dist/icon-badge-DYKIwvOV.js +55 -0
  374. package/dist/icon-badge-DYKIwvOV.js.map +1 -0
  375. package/dist/index.js +7 -7
  376. package/dist/input-CZw8iU99.js +21 -0
  377. package/dist/input-CZw8iU99.js.map +1 -0
  378. package/dist/input-DQdEd0YD.js +263 -0
  379. package/dist/input-DQdEd0YD.js.map +1 -0
  380. package/dist/interaction-recipes-XR9ZpVYL.js +25 -0
  381. package/dist/interaction-recipes-XR9ZpVYL.js.map +1 -0
  382. package/dist/item-K5_ghvze.js +275 -0
  383. package/dist/item-K5_ghvze.js.map +1 -0
  384. package/dist/layer-recipes-CCpklYME.js +13 -0
  385. package/dist/layer-recipes-CCpklYME.js.map +1 -0
  386. package/dist/layout/app-shell.js +1 -1
  387. package/dist/layout/auth.js +1 -1
  388. package/dist/layout/containers.js +1 -1
  389. package/dist/layout/header.js +1 -1
  390. package/dist/layout/hooks.js +1 -1
  391. package/dist/layout/navigation.js +1 -1
  392. package/dist/layout/page.js +1 -1
  393. package/dist/layout/settings.js +1 -1
  394. package/dist/layout/sidebar.js +2 -2
  395. package/dist/layout/workspace.js +1 -1
  396. package/dist/layout.js +10 -10
  397. package/dist/lib/affordance-geometry.generated.d.ts +72 -0
  398. package/dist/lib/editable-text-recipe.d.ts +4 -4
  399. package/dist/lib/field-affordance-recipes.d.ts +8 -3
  400. package/dist/lib/field-state-recipes.d.ts +9 -8
  401. package/dist/lib/focus-recipes.d.ts +24 -0
  402. package/dist/lib/interaction-recipes.d.ts +40 -0
  403. package/dist/lib/layer-recipes.d.ts +19 -0
  404. package/dist/lib/motion-recipes.d.ts +1 -0
  405. package/dist/lib/overlay-anatomy-recipes.d.ts +1 -0
  406. package/dist/lib/safe-image-src.d.ts +10 -0
  407. package/dist/lib/sanitize-html.d.ts +15 -3
  408. package/dist/lib/surface-recipes.d.ts +47 -7
  409. package/dist/lib/theme-mode-css.d.ts +7 -0
  410. package/dist/lib/token-merge.generated.d.ts +9 -6
  411. package/dist/lib/tone-recipes.d.ts +87 -0
  412. package/dist/lib/ui-provider/hooks.d.ts +2 -1
  413. package/dist/lib/ui-provider/index.d.ts +2 -2
  414. package/dist/lib/ui-provider/types.d.ts +11 -2
  415. package/dist/lib/utils.js +1 -1
  416. package/dist/media-gallery-3zIVLMWH.js +203 -0
  417. package/dist/media-gallery-3zIVLMWH.js.map +1 -0
  418. package/dist/mentions-utuUvH1K.js +570 -0
  419. package/dist/mentions-utuUvH1K.js.map +1 -0
  420. package/dist/{message-YfFmbXNP.js → message-DZ_ruyUV.js} +7 -6
  421. package/dist/message-DZ_ruyUV.js.map +1 -0
  422. package/dist/metadata-list-8N16ZMW_.js +405 -0
  423. package/dist/metadata-list-8N16ZMW_.js.map +1 -0
  424. package/dist/{motion-recipes-B6jKXEcN.js → motion-recipes-ChBg4HBq.js} +3 -2
  425. package/dist/{motion-recipes-B6jKXEcN.js.map → motion-recipes-ChBg4HBq.js.map} +1 -1
  426. package/dist/navigation-Bnotn4AQ.js +145 -0
  427. package/dist/navigation-Bnotn4AQ.js.map +1 -0
  428. package/dist/navigation-BzhHI3lo.js +269 -0
  429. package/dist/navigation-BzhHI3lo.js.map +1 -0
  430. package/dist/{navigation-row-recipes-DlU-4QYO.js → navigation-row-recipes-BFLCk_Aq.js} +2 -2
  431. package/dist/{navigation-row-recipes-DlU-4QYO.js.map → navigation-row-recipes-BFLCk_Aq.js.map} +1 -1
  432. package/dist/{number-CKRBYmZK.js → number-DbV1Dija.js} +36 -34
  433. package/dist/{number-CKRBYmZK.js.map → number-DbV1Dija.js.map} +1 -1
  434. package/dist/overflow-tab-bar-CWY7Nogn.js +282 -0
  435. package/dist/overflow-tab-bar-CWY7Nogn.js.map +1 -0
  436. package/dist/overlay.recipes-8GHqmlb4.js +6 -0
  437. package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
  438. package/dist/overlays-DNWmZrJ4.js +1001 -0
  439. package/dist/overlays-DNWmZrJ4.js.map +1 -0
  440. package/dist/page-Bgl1F560.js +224 -0
  441. package/dist/page-Bgl1F560.js.map +1 -0
  442. package/dist/page-header-commands-DOb6WsfD.js +126 -0
  443. package/dist/page-header-commands-DOb6WsfD.js.map +1 -0
  444. package/dist/pagination-BL25hu2s.js +158 -0
  445. package/dist/pagination-BL25hu2s.js.map +1 -0
  446. package/dist/{popover-Dcv_9jxr.js → popover-7_m66eYW.js} +11 -10
  447. package/dist/popover-7_m66eYW.js.map +1 -0
  448. package/dist/popover-menu-B9WWygpa.js +100 -0
  449. package/dist/popover-menu-B9WWygpa.js.map +1 -0
  450. package/dist/{popover.recipes-wmbvL8Ah.js → popover.recipes-D3j8R8Yp.js} +18 -11
  451. package/dist/popover.recipes-D3j8R8Yp.js.map +1 -0
  452. package/dist/{primitives-BHrwQXFC.js → primitives-BFK08r9M.js} +45 -44
  453. package/dist/primitives-BFK08r9M.js.map +1 -0
  454. package/dist/primitives.js +4 -4
  455. package/dist/{progress-Br9WTFya.js → progress-B1VnCT0K.js} +9 -9
  456. package/dist/{progress-Br9WTFya.js.map → progress-B1VnCT0K.js.map} +1 -1
  457. package/dist/{receipt-CV89q1fs.js → receipt-BVSOH3Xo.js} +9 -6
  458. package/dist/{receipt-CV89q1fs.js.map → receipt-BVSOH3Xo.js.map} +1 -1
  459. package/dist/rich-text-GOUyKQ-s.js +78 -0
  460. package/dist/rich-text-GOUyKQ-s.js.map +1 -0
  461. package/dist/rich-text-editor-cRLC-eBK.js +1196 -0
  462. package/dist/rich-text-editor-cRLC-eBK.js.map +1 -0
  463. package/dist/rich-text-editor-toolbar-DfXg0-VC.js +94 -0
  464. package/dist/rich-text-editor-toolbar-DfXg0-VC.js.map +1 -0
  465. package/dist/rich-text-editor.strings-CB59ekH2.js +38 -0
  466. package/dist/rich-text-editor.strings-CB59ekH2.js.map +1 -0
  467. package/dist/safe-image-src-C6kQSMBZ.js +17 -0
  468. package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
  469. package/dist/sanitize-html-DsQmI48u.js +92 -0
  470. package/dist/sanitize-html-DsQmI48u.js.map +1 -0
  471. package/dist/scroll-area-DcI-M1UT.js +48 -0
  472. package/dist/scroll-area-DcI-M1UT.js.map +1 -0
  473. package/dist/{separator-Do5GWDYi.js → separator-BDV-Y648.js} +3 -3
  474. package/dist/{separator-Do5GWDYi.js.map → separator-BDV-Y648.js.map} +1 -1
  475. package/dist/{separator-BMEvwnSX.js → separator-Bom7NsGO.js} +2 -2
  476. package/dist/{separator-BMEvwnSX.js.map → separator-Bom7NsGO.js.map} +1 -1
  477. package/dist/services/actions/action-adapters.d.ts +18 -0
  478. package/dist/services/actions/index.d.ts +1 -1
  479. package/dist/services/actions.js +16 -4
  480. package/dist/services/actions.js.map +1 -1
  481. package/dist/settings-ybnjVwbd.js +171 -0
  482. package/dist/settings-ybnjVwbd.js.map +1 -0
  483. package/dist/sheet-CGpB3omz.js +211 -0
  484. package/dist/sheet-CGpB3omz.js.map +1 -0
  485. package/dist/{sidebar-Cb8WzOvE.js → sidebar-A0ElHINE.js} +17 -16
  486. package/dist/sidebar-A0ElHINE.js.map +1 -0
  487. package/dist/{sidebar-Crc9M9JV.js → sidebar-CPx_7YBa.js} +205 -203
  488. package/dist/sidebar-CPx_7YBa.js.map +1 -0
  489. package/dist/{skeleton-DVMXr15h.js → skeleton-Byjnt7qr.js} +9 -9
  490. package/dist/{skeleton-DVMXr15h.js.map → skeleton-Byjnt7qr.js.map} +1 -1
  491. package/dist/smart-card-DiC5aac3.js +604 -0
  492. package/dist/smart-card-DiC5aac3.js.map +1 -0
  493. package/dist/{structure-hzCW-XsV.js → structure-BmisBK-3.js} +2 -2
  494. package/dist/{structure-hzCW-XsV.js.map → structure-BmisBK-3.js.map} +1 -1
  495. package/dist/style.css +1 -1
  496. package/dist/surface-recipes-BKRVW8Os.js +43 -0
  497. package/dist/surface-recipes-BKRVW8Os.js.map +1 -0
  498. package/dist/table-BweFy_P9.js +1530 -0
  499. package/dist/table-BweFy_P9.js.map +1 -0
  500. package/dist/table-DsfzoUia.js +175 -0
  501. package/dist/table-DsfzoUia.js.map +1 -0
  502. package/dist/tabs-CDocW5D1.js +191 -0
  503. package/dist/tabs-CDocW5D1.js.map +1 -0
  504. package/dist/text-inputs-f9Ia-aCi.js +353 -0
  505. package/dist/text-inputs-f9Ia-aCi.js.map +1 -0
  506. package/dist/theme-mode-css-BB-_RYab.js +14 -0
  507. package/dist/theme-mode-css-BB-_RYab.js.map +1 -0
  508. package/dist/theme-scope-BJ6eE2xt.js +50 -0
  509. package/dist/theme-scope-BJ6eE2xt.js.map +1 -0
  510. package/dist/theme.css +285 -228
  511. package/dist/themes/green.css +16 -12
  512. package/dist/timelines-CwM_9IhD.js +457 -0
  513. package/dist/timelines-CwM_9IhD.js.map +1 -0
  514. package/dist/tone-recipes-BPsRAvhu.js +73 -0
  515. package/dist/tone-recipes-BPsRAvhu.js.map +1 -0
  516. package/dist/tooltip-yiRJUFjp.js +111 -0
  517. package/dist/tooltip-yiRJUFjp.js.map +1 -0
  518. package/dist/{tree-BotPlyiD.js → tree-WnKQzwbq.js} +69 -67
  519. package/dist/tree-WnKQzwbq.js.map +1 -0
  520. package/dist/typography/rich-text.js +1 -1
  521. package/dist/typography-UTnveOEy.js +117 -0
  522. package/dist/typography-UTnveOEy.js.map +1 -0
  523. package/dist/typography.js +2 -2
  524. package/dist/{ui-provider-D2_TeLqw.js → ui-provider-C_U0Xma4.js} +13 -5
  525. package/dist/ui-provider-C_U0Xma4.js.map +1 -0
  526. package/dist/ui-provider.js +3 -3
  527. package/dist/{upload-B0WHW7ak.js → upload-CXyxmQBP.js} +210 -209
  528. package/dist/upload-CXyxmQBP.js.map +1 -0
  529. package/dist/{upload-queue-BHZ_wBfd.js → upload-queue-Boscubn9.js} +111 -111
  530. package/dist/upload-queue-Boscubn9.js.map +1 -0
  531. package/dist/upload.recipes-BbxTqrCT.js +61 -0
  532. package/dist/upload.recipes-BbxTqrCT.js.map +1 -0
  533. package/dist/{usage-card-U0YBLTNT.js → usage-card-BhO5eqkX.js} +45 -29
  534. package/dist/usage-card-BhO5eqkX.js.map +1 -0
  535. package/dist/{utils-Cospvlj1.js → utils-BRhFDwuU.js} +114 -67
  536. package/dist/utils-BRhFDwuU.js.map +1 -0
  537. package/dist/value-inputs-DXPDjvBU.js +963 -0
  538. package/dist/value-inputs-DXPDjvBU.js.map +1 -0
  539. package/dist/{value-typography-Deb3yQZg.js → value-typography-BP8OG6h5.js} +2 -2
  540. package/dist/{value-typography-Deb3yQZg.js.map → value-typography-BP8OG6h5.js.map} +1 -1
  541. package/dist/workspace-Cdrg7k9f.js +408 -0
  542. package/dist/workspace-Cdrg7k9f.js.map +1 -0
  543. package/docs/consumer-skill/SKILL.md +21 -22
  544. package/docs/consumer-skill/examples/app-layout.tsx +1 -1
  545. package/docs/consumer-skill/examples/composition.tsx +3 -3
  546. package/docs/consumer-skill/examples/detail.tsx +59 -12
  547. package/docs/consumer-skill/examples/edit.tsx +1 -1
  548. package/docs/consumer-skill/examples/receipt.tsx +2 -2
  549. package/docs/consumer-skill/examples/scoped-directory.tsx +1 -1
  550. package/docs/consumer-skill/examples/website.tsx +1 -1
  551. package/docs/consumer-skill/references/agents-md.md +33 -0
  552. package/docs/consumer-skill/references/analytics.md +1 -1
  553. package/docs/consumer-skill/references/composition.md +58 -13
  554. package/docs/consumer-skill/references/design-contract.md +12 -3
  555. package/docs/consumer-skill/references/installation.md +11 -1
  556. package/docs/consumer-skill/references/integration.md +4 -3
  557. package/docs/consumer-skill/references/public-api.json +956 -453
  558. package/docs/consumer-skill/references/review.md +32 -5
  559. package/docs/consumer-skill/references/theming.md +78 -9
  560. package/docs/consumer-skill/references/tokens.json +1 -1
  561. package/docs/consumer-skill/references/workflows.md +54 -10
  562. package/docs/consumer-skill/scripts/composition-policy.mjs +42 -11
  563. package/docs/consumer-skill/scripts/surface-policy.mjs +150 -5
  564. package/package.json +17 -5
  565. package/dist/accordion-CQXVcd7Q.js +0 -205
  566. package/dist/accordion-CQXVcd7Q.js.map +0 -1
  567. package/dist/action-menu-BTpyPWJ2.js +0 -264
  568. package/dist/action-menu-BTpyPWJ2.js.map +0 -1
  569. package/dist/affordance-geometry.generated-CCIXb2A1.js +0 -68
  570. package/dist/affordance-geometry.generated-CCIXb2A1.js.map +0 -1
  571. package/dist/ai-artifact-2PQ2fItc.js +0 -1112
  572. package/dist/ai-artifact-2PQ2fItc.js.map +0 -1
  573. package/dist/attachment-q69dlt5Y.js +0 -244
  574. package/dist/attachment-q69dlt5Y.js.map +0 -1
  575. package/dist/auth-M3vGMgDR.js.map +0 -1
  576. package/dist/avatar-djdaaQ_s.js.map +0 -1
  577. package/dist/badge-0tATj-tW.js +0 -92
  578. package/dist/badge-0tATj-tW.js.map +0 -1
  579. package/dist/breadcrumbs-BG_FfMK4.js +0 -128
  580. package/dist/breadcrumbs-BG_FfMK4.js.map +0 -1
  581. package/dist/button-BS3KDg00.js.map +0 -1
  582. package/dist/button-R9CCoH7A.js.map +0 -1
  583. package/dist/buttons-DS0ZIwJ_.js +0 -99
  584. package/dist/buttons-DS0ZIwJ_.js.map +0 -1
  585. package/dist/cards-QoJ4syG9.js +0 -66
  586. package/dist/cards-QoJ4syG9.js.map +0 -1
  587. package/dist/chart-DwYRKKc-.js.map +0 -1
  588. package/dist/checkbox-B7ygNTYp.js +0 -35
  589. package/dist/checkbox-B7ygNTYp.js.map +0 -1
  590. package/dist/choice-inputs-DrJ17tpL.js +0 -752
  591. package/dist/choice-inputs-DrJ17tpL.js.map +0 -1
  592. package/dist/code-block-CD0B7M93.js +0 -183
  593. package/dist/code-block-CD0B7M93.js.map +0 -1
  594. package/dist/combobox-6dvVny2q.js +0 -272
  595. package/dist/combobox-6dvVny2q.js.map +0 -1
  596. package/dist/combobox-CB7039j7.js +0 -865
  597. package/dist/combobox-CB7039j7.js.map +0 -1
  598. package/dist/comments-You0Bzbr.js.map +0 -1
  599. package/dist/components/layout/page/partials/page-header-commands.d.ts +0 -13
  600. package/dist/containers-D_L4mTVb.js.map +0 -1
  601. package/dist/data-display-3xWQUnMA.js +0 -1335
  602. package/dist/data-display-3xWQUnMA.js.map +0 -1
  603. package/dist/date-picker-DrDFj8Lo.js +0 -1527
  604. package/dist/date-picker-DrDFj8Lo.js.map +0 -1
  605. package/dist/date-pickers-CnFCb0n2.js +0 -174
  606. package/dist/date-pickers-CnFCb0n2.js.map +0 -1
  607. package/dist/display-DrdvPwF0.js +0 -343
  608. package/dist/display-DrdvPwF0.js.map +0 -1
  609. package/dist/dropdown-menu-CURh59jb.js +0 -193
  610. package/dist/dropdown-menu-CURh59jb.js.map +0 -1
  611. package/dist/editable-text-recipe-Bkm6wKHp.js +0 -10
  612. package/dist/editable-text-recipe-Bkm6wKHp.js.map +0 -1
  613. package/dist/feedback-C7nR0UtT.js +0 -232
  614. package/dist/feedback-C7nR0UtT.js.map +0 -1
  615. package/dist/field-affordance-recipes-CkOCdE2y.js +0 -46
  616. package/dist/field-affordance-recipes-CkOCdE2y.js.map +0 -1
  617. package/dist/field-state-recipes-C-MFBX_8.js +0 -11
  618. package/dist/field-state-recipes-C-MFBX_8.js.map +0 -1
  619. package/dist/filters-Da-gNPsE.js.map +0 -1
  620. package/dist/form-field-VZRULhUK.js.map +0 -1
  621. package/dist/form-sizing-uWP4lzVh.js.map +0 -1
  622. package/dist/forms-numeric-D3CO60IF.js +0 -905
  623. package/dist/forms-numeric-D3CO60IF.js.map +0 -1
  624. package/dist/header-2ycNqGOR.js.map +0 -1
  625. package/dist/icon-badge-DKlaKXoo.js +0 -53
  626. package/dist/icon-badge-DKlaKXoo.js.map +0 -1
  627. package/dist/input-BoLm9Hks.js +0 -20
  628. package/dist/input-BoLm9Hks.js.map +0 -1
  629. package/dist/input-DhQdBnV3.js +0 -255
  630. package/dist/input-DhQdBnV3.js.map +0 -1
  631. package/dist/item-xzh8Df65.js +0 -264
  632. package/dist/item-xzh8Df65.js.map +0 -1
  633. package/dist/media-gallery-DQUQ0m3O.js +0 -201
  634. package/dist/media-gallery-DQUQ0m3O.js.map +0 -1
  635. package/dist/mentions-DwnO1hh4.js +0 -564
  636. package/dist/mentions-DwnO1hh4.js.map +0 -1
  637. package/dist/message-YfFmbXNP.js.map +0 -1
  638. package/dist/navigation-Cbp5V8gG.js +0 -264
  639. package/dist/navigation-Cbp5V8gG.js.map +0 -1
  640. package/dist/navigation-Cs1npsPm.js +0 -300
  641. package/dist/navigation-Cs1npsPm.js.map +0 -1
  642. package/dist/overlay.recipes-CNO2S9V6.js +0 -34
  643. package/dist/overlay.recipes-CNO2S9V6.js.map +0 -1
  644. package/dist/overlays-DhZO7N-I.js +0 -994
  645. package/dist/overlays-DhZO7N-I.js.map +0 -1
  646. package/dist/page-C6R_8jFt.js +0 -325
  647. package/dist/page-C6R_8jFt.js.map +0 -1
  648. package/dist/page-header-hUTzcRZX.js +0 -112
  649. package/dist/page-header-hUTzcRZX.js.map +0 -1
  650. package/dist/pagination-Cm0jqa3I.js +0 -149
  651. package/dist/pagination-Cm0jqa3I.js.map +0 -1
  652. package/dist/popover-Dcv_9jxr.js.map +0 -1
  653. package/dist/popover-menu-DnRFKnHP.js +0 -99
  654. package/dist/popover-menu-DnRFKnHP.js.map +0 -1
  655. package/dist/popover.recipes-wmbvL8Ah.js.map +0 -1
  656. package/dist/primitives-BHrwQXFC.js.map +0 -1
  657. package/dist/rich-text-editor-CF8QYt5p.js +0 -574
  658. package/dist/rich-text-editor-CF8QYt5p.js.map +0 -1
  659. package/dist/rich-text-editor.recipes-CnrbmTS1.js +0 -81
  660. package/dist/rich-text-editor.recipes-CnrbmTS1.js.map +0 -1
  661. package/dist/rich-text-editor.strings-BpnIQgMl.js +0 -25
  662. package/dist/rich-text-editor.strings-BpnIQgMl.js.map +0 -1
  663. package/dist/rich-text-j-FGAeZW.js +0 -32
  664. package/dist/rich-text-j-FGAeZW.js.map +0 -1
  665. package/dist/sanitize-html-BG9FGe-j.js +0 -64
  666. package/dist/sanitize-html-BG9FGe-j.js.map +0 -1
  667. package/dist/scroll-area-DRdr16Pt.js +0 -47
  668. package/dist/scroll-area-DRdr16Pt.js.map +0 -1
  669. package/dist/settings-DHk0L2MF.js +0 -161
  670. package/dist/settings-DHk0L2MF.js.map +0 -1
  671. package/dist/sheet-DRFNY1_D.js +0 -207
  672. package/dist/sheet-DRFNY1_D.js.map +0 -1
  673. package/dist/sidebar-Cb8WzOvE.js.map +0 -1
  674. package/dist/sidebar-Crc9M9JV.js.map +0 -1
  675. package/dist/smart-card-Bek-TwUp.js +0 -599
  676. package/dist/smart-card-Bek-TwUp.js.map +0 -1
  677. package/dist/spinner-CmTAbEp0.js +0 -80
  678. package/dist/spinner-CmTAbEp0.js.map +0 -1
  679. package/dist/surface-recipes-DOdoBXGm.js +0 -28
  680. package/dist/surface-recipes-DOdoBXGm.js.map +0 -1
  681. package/dist/table-D6zKeYQX.js +0 -162
  682. package/dist/table-D6zKeYQX.js.map +0 -1
  683. package/dist/table-Dn4XSrSB.js +0 -1444
  684. package/dist/table-Dn4XSrSB.js.map +0 -1
  685. package/dist/tabs-Dk8E_knt.js +0 -189
  686. package/dist/tabs-Dk8E_knt.js.map +0 -1
  687. package/dist/text-inputs-BFpku0Qd.js +0 -331
  688. package/dist/text-inputs-BFpku0Qd.js.map +0 -1
  689. package/dist/theme-scope-kStaAer0.js +0 -39
  690. package/dist/theme-scope-kStaAer0.js.map +0 -1
  691. package/dist/timelines-CxuAFIc2.js +0 -439
  692. package/dist/timelines-CxuAFIc2.js.map +0 -1
  693. package/dist/tree-BotPlyiD.js.map +0 -1
  694. package/dist/typography-CAr3dQhX.js +0 -116
  695. package/dist/typography-CAr3dQhX.js.map +0 -1
  696. package/dist/ui-provider-D2_TeLqw.js.map +0 -1
  697. package/dist/upload-B0WHW7ak.js.map +0 -1
  698. package/dist/upload-queue-BHZ_wBfd.js.map +0 -1
  699. package/dist/usage-card-U0YBLTNT.js.map +0 -1
  700. package/dist/use-file-drop-target-BX7GnhoQ.js +0 -39
  701. package/dist/use-file-drop-target-BX7GnhoQ.js.map +0 -1
  702. package/dist/utils-Cospvlj1.js.map +0 -1
  703. package/dist/value-inputs-CjfzGMsN.js +0 -854
  704. package/dist/value-inputs-CjfzGMsN.js.map +0 -1
  705. package/dist/workspace-YoFjXi6i.js +0 -394
  706. package/dist/workspace-YoFjXi6i.js.map +0 -1
  707. /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
@@ -0,0 +1,963 @@
1
+ "use client";
2
+ import { m as e, s as t } from "./ui-provider-C_U0Xma4.js";
3
+ import { useStrings as n } from "./lib/strings.js";
4
+ import { t as r } from "./utils-BRhFDwuU.js";
5
+ import { t as i } from "./buttons-DPZekJFu.js";
6
+ import { c as a } from "./typography-UTnveOEy.js";
7
+ import { a as o } from "./text.styles-g4He6UIW.js";
8
+ import { t as s } from "./focus-recipes-B653VaLq.js";
9
+ import { t as c } from "./structure-BmisBK-3.js";
10
+ import { t as l } from "./track-recipes-CDcKmndW.js";
11
+ import { n as u, t as d } from "./popover.recipes-D3j8R8Yp.js";
12
+ import { n as f } from "./collection-content-By56pLog.js";
13
+ import { t as p } from "./badge-HpFqoqSY.js";
14
+ import { t as ee } from "./field-state-recipes-BVA2CWHo.js";
15
+ import { n as m, r as h, t as te } from "./field-affordance-recipes-DZhnIL_Y.js";
16
+ import { t as ne } from "./editable-text-recipe-Cn61kEcv.js";
17
+ import { d as re, l as g, o as ie, p as ae, y as oe } from "./form-sizing-BdP_Mf5p.js";
18
+ import { t as se } from "./input-DQdEd0YD.js";
19
+ import { t as _ } from "./date-picker-ay0Pha_a.js";
20
+ import { o as v, t as y } from "./popover-7_m66eYW.js";
21
+ import { _ as ce, d as b, f as x, g as le, p as S, v as C } from "./choice-inputs-CNHvARCJ.js";
22
+ import * as w from "react";
23
+ import { forwardRef as T, memo as E, useCallback as D, useId as O, useMemo as k, useRef as ue, useState as A } from "react";
24
+ import { jsx as j, jsxs as M } from "react/jsx-runtime";
25
+ import { Check as de } from "lucide-react";
26
+ import { Slider as N } from "@base-ui/react/slider";
27
+ //#region src/components/base/value-inputs/tags-input.tsx
28
+ var P = {
29
+ placeholder: "Add a tag…",
30
+ emptyRecommendations: "No recommendations found.",
31
+ clearAll: "Clear all",
32
+ summary: (e, t) => `${e} / ${t} tags`,
33
+ removeTag: (e) => `Remove ${e}`,
34
+ notAdded: (e) => `Not added: ${e}.`,
35
+ recommendationsLabel: "Suggested tags"
36
+ };
37
+ function F(e) {
38
+ return e === !0 || e === "true";
39
+ }
40
+ function fe({ id: l, "aria-label": ee, "aria-labelledby": h, "aria-describedby": re, "aria-invalid": ae, "aria-required": se, value: _, defaultValue: ce, onValueChange: b, name: x, placeholder: le, recommendations: S, maxTags: C, showMaxTags: T = !1, allowDuplicates: E = !1, validate: O, disabled: N = !1, showClearAll: fe = !1, renderTag: pe, delimiter: I = /[\n,]/, addOnBlur: me = !0, minLength: L = 1, maxLength: he, sortTags: ge = !1, caseSensitive: _e = !1, field: R, invalid: ve, className: ye, strings: be }) {
41
+ let { defaultTextSize: xe } = e(), { defaultScale: z } = t(), B = oe(void 0, z), V = n(P, le === void 0 ? void 0 : { placeholder: le }), H = n(V, be), Se = _ !== void 0, [Ce, we] = A(() => ce ?? []), U = _ ?? Ce, [W, Te] = A(""), [Ee, De] = A(null), [Oe, ke] = A(""), [Ae, G] = A(!1), [je, K] = A(-1), [Me, Ne] = A(null), Pe = ue(null), Fe = ue(null), Ie = w.useId(), Le = w.useId(), Re = C !== void 0 && U.length >= C, ze = !!S?.length, q = D((e) => {
42
+ if (typeof e == "string") return e;
43
+ if (R && typeof e == "object" && e) {
44
+ let t = e[R];
45
+ return typeof t == "string" ? t : t == null ? "" : String(t);
46
+ }
47
+ return String(e);
48
+ }, [R]), Be = D((e) => R ? { [R]: e } : e, [R]), J = D((e) => _e ? e : e.toLowerCase(), [_e]), Ve = D((e, t) => {
49
+ let n = J(e);
50
+ return t.some((e) => J(q(e)) === n);
51
+ }, [J, q]), He = k(() => S ? S.map((e, t) => {
52
+ if (e && typeof e == "object" && "value" in e && "label" in e) {
53
+ let n = e;
54
+ return {
55
+ key: `${t}:${n.label}`,
56
+ value: n.value,
57
+ label: n.label
58
+ };
59
+ }
60
+ let n = q(e);
61
+ return {
62
+ key: `${t}:${n}`,
63
+ value: e,
64
+ label: n
65
+ };
66
+ }) : [], [S, q]), Y = k(() => {
67
+ if (!He.length) return He;
68
+ let e = J(W.trim()), t = new Set(U.map((e) => J(q(e))));
69
+ return He.filter((n) => {
70
+ let r = J(q(n.value));
71
+ return !E && t.has(r) ? !1 : !e || J(n.label).includes(e) || r.includes(e);
72
+ });
73
+ }, [
74
+ He,
75
+ W,
76
+ U,
77
+ E,
78
+ J,
79
+ q
80
+ ]), X = Ae && !N && ze && !Re, Z = X && je >= 0 && je < Y.length ? je : -1, Ue = D((e) => [...e].sort((e, t) => q(e).localeCompare(q(t))), [q]), We = D((e) => {
81
+ Se || we(e), b?.(e);
82
+ }, [Se, b]), Ge = D((e) => {
83
+ let t = [...U], n = [];
84
+ for (let r of e) {
85
+ let e = typeof r == "string", i = (e ? r : q(r)).trim();
86
+ if (!i) continue;
87
+ let a = e ? Be(i) : r;
88
+ if (i.length < L || he !== void 0 && i.length > he || C !== void 0 && t.length >= C || !E && Ve(i, t) || O && !O(a)) {
89
+ n.push(i);
90
+ continue;
91
+ }
92
+ t.push(a);
93
+ }
94
+ return t.length !== U.length && (ge && (t = Ue(t)), We(t)), n;
95
+ }, [
96
+ U,
97
+ q,
98
+ Be,
99
+ L,
100
+ he,
101
+ C,
102
+ E,
103
+ Ve,
104
+ O,
105
+ ge,
106
+ Ue,
107
+ We
108
+ ]), Q = D((e) => {
109
+ let t = Ge(e), n = t.join(typeof I == "string" ? I : ", ");
110
+ Te(n), De(n || null), ke(t.length ? (H.notAdded ?? P.notAdded)(t.join(", ")) : ""), G(!1), K(-1);
111
+ }, [
112
+ Ge,
113
+ I,
114
+ H
115
+ ]), Ke = k(() => {
116
+ let e = /* @__PURE__ */ new Map();
117
+ return U.map((t, n) => {
118
+ let r = q(t), i = e.get(r) ?? 0;
119
+ return e.set(r, i + 1), {
120
+ tag: t,
121
+ index: n,
122
+ display: r,
123
+ key: `${r}::${i}`
124
+ };
125
+ });
126
+ }, [U, q]), $ = k(() => ge ? [...Ke].sort((e, t) => e.display.localeCompare(t.display)) : Ke, [Ke, ge]), qe = D((e) => {
127
+ We(U.filter((t, n) => n !== e));
128
+ }, [U, We]), Je = D((e) => {
129
+ Ne(Math.max(0, $.findIndex((t) => t.index === e))), qe(e);
130
+ }, [$, qe]);
131
+ w.useLayoutEffect(() => {
132
+ if (Me === null) return;
133
+ Ne(null);
134
+ let e = Fe.current?.querySelectorAll("[data-tag-remove]:not(:disabled)");
135
+ ((e && e.length > 0 ? e[Math.min(Me, e.length - 1)] : void 0) ?? Pe.current)?.focus();
136
+ }, [Me]);
137
+ let Ye = D((e) => {
138
+ let t = e.target.value;
139
+ if (t.split(I).length > 1) {
140
+ Q(t.split(I));
141
+ return;
142
+ }
143
+ Te(t), De(null), K(-1), ze && G(!0);
144
+ }, [
145
+ I,
146
+ Q,
147
+ ze
148
+ ]), Xe = D((e) => {
149
+ N || e.nativeEvent.isComposing || e.keyCode === 229 || (e.key === "Enter" ? (e.preventDefault(), Z >= 0 ? Q([Y[Z].value]) : W.trim() && Q(W.split(I))) : e.key === "ArrowDown" ? X ? (e.preventDefault(), K((e) => e < Y.length - 1 ? e + 1 : e)) : ze && !Re && Y.length > 0 && G(!0) : e.key === "ArrowUp" ? X && (e.preventDefault(), K((e) => e > 0 ? e - 1 : 0)) : e.key === "Escape" ? (G(!1), K(-1)) : e.key === "Backspace" && W === "" && $.length > 0 && (e.preventDefault(), qe($[$.length - 1].index)));
150
+ }, [
151
+ N,
152
+ Z,
153
+ Y,
154
+ Q,
155
+ W,
156
+ I,
157
+ X,
158
+ ze,
159
+ Re,
160
+ $,
161
+ qe
162
+ ]), Ze = D((e) => {
163
+ if (N) return;
164
+ let t = e.clipboardData.getData("text");
165
+ if (!t) return;
166
+ let n = e.currentTarget.selectionStart ?? W.length, r = e.currentTarget.selectionEnd ?? n, i = `${W.slice(0, n)}${t}${W.slice(r)}`.split(I);
167
+ i.length <= 1 || (e.preventDefault(), Q(i));
168
+ }, [
169
+ N,
170
+ W,
171
+ I,
172
+ Q
173
+ ]), Qe = D(() => {
174
+ G(!1), K(-1), me && !N && W.trim() && W !== Ee && Q(W.split(I));
175
+ }, [
176
+ me,
177
+ N,
178
+ W,
179
+ Ee,
180
+ I,
181
+ Q
182
+ ]), $e = D(() => {
183
+ We([]), Te(""), De(null), ke(""), Pe.current?.focus();
184
+ }, [We]), et = H.removeTag ?? P.removeTag, tt = B === "sm" ? "sm" : "md", nt = (e, t, n) => {
185
+ let i = q(e);
186
+ return /* @__PURE__ */ M(p, {
187
+ tone: "secondary",
188
+ size: tt,
189
+ className: r("tags-input--component tags-input--tag", "max-w-full gap-space-xs pe-space-xs"),
190
+ children: [/* @__PURE__ */ j(a, {
191
+ tag: "span",
192
+ size: "inherit",
193
+ weight: "normal",
194
+ lineHeight: "none",
195
+ className: "min-w-0 truncate text-inherit",
196
+ children: i
197
+ }), /* @__PURE__ */ j("button", {
198
+ type: "button",
199
+ "data-tag-remove": "",
200
+ "aria-label": et(i),
201
+ className: r("tags-input--tag-remove relative after:absolute after:-inset-space-xs", m.inline, s.edge, m.clear, "disabled:pointer-events-none disabled:cursor-not-allowed"),
202
+ onClick: () => n(t),
203
+ disabled: N,
204
+ children: /* @__PURE__ */ j(te, {
205
+ className: m.icon,
206
+ "aria-hidden": "true"
207
+ })
208
+ })]
209
+ });
210
+ }, rt = !!ve || F(ae) || Ee !== null, it = C !== void 0 && U.length > C, at = T ? C : void 0, ot = at !== void 0, st = fe && U.length > 0, ct = [re, ot ? Le : void 0].filter(Boolean).join(" ") || void 0;
211
+ return /* @__PURE__ */ M(c, {
212
+ gap: "xs",
213
+ className: r("tags-input--root w-full relative", ye),
214
+ children: [
215
+ /* @__PURE__ */ j("span", {
216
+ role: "status",
217
+ "aria-live": "polite",
218
+ "aria-atomic": "true",
219
+ className: "tags-input--status sr-only",
220
+ children: Oe
221
+ }),
222
+ !!x && Ke.map((e) => /* @__PURE__ */ j("input", {
223
+ type: "hidden",
224
+ name: `${x}[]`,
225
+ value: e.display,
226
+ disabled: N
227
+ }, e.key)),
228
+ /* @__PURE__ */ M(v, {
229
+ open: X,
230
+ onOpenChange: (e, t) => {
231
+ !e && t.reason === "outside-press" && t.event.target instanceof Node && Fe.current?.contains(t.event.target) || (G(e), e || K(-1));
232
+ },
233
+ children: [/* @__PURE__ */ M("div", {
234
+ ref: Fe,
235
+ "data-slot": "tags-input-field",
236
+ "data-disabled": N || void 0,
237
+ "aria-invalid": rt || void 0,
238
+ onClick: (e) => {
239
+ e.target instanceof Element && e.target.closest("button, a, input") || Pe.current?.focus();
240
+ },
241
+ className: r("tags-input--field", "box-border flex w-full min-w-0 cursor-text flex-wrap items-center rounded-inner border border-input bg-transparent font-sans text-foreground shadow-none outline-none transition-[color,box-shadow]", g[B], ie[B], B === "lg" ? "gap-space-sm" : "gap-space-xs", "py-[calc(0.25rem*var(--density-scale))]", "has-[input:focus-visible]:border-ring has-[input:focus-visible]:ring-3 has-[input:focus-visible]:ring-ring/50", "aria-invalid:border-destructive aria-invalid:has-[input:focus-visible]:border-destructive aria-invalid:has-[input:focus-visible]:ring-destructive/30 dark:aria-invalid:has-[input:focus-visible]:ring-destructive/50", "data-disabled:cursor-not-allowed data-disabled:opacity-50"),
242
+ children: [$.map((e) => /* @__PURE__ */ j(w.Fragment, { children: pe ? pe(e.tag, e.index, Je) : nt(e.tag, e.index, Je) }, e.key)), /* @__PURE__ */ j("input", {
243
+ ref: Pe,
244
+ id: l,
245
+ type: "text",
246
+ "data-slot": "tags-input-control",
247
+ "aria-label": ee,
248
+ "aria-labelledby": h,
249
+ "aria-describedby": ct,
250
+ "aria-invalid": rt || void 0,
251
+ "aria-required": se,
252
+ role: S ? "combobox" : void 0,
253
+ "aria-autocomplete": S ? "list" : void 0,
254
+ "aria-expanded": S ? X : void 0,
255
+ "aria-controls": X ? Ie : void 0,
256
+ "aria-activedescendant": Z >= 0 ? `${Ie}-${Z}` : void 0,
257
+ placeholder: U.length === 0 ? H.placeholder : void 0,
258
+ value: W,
259
+ onChange: Ye,
260
+ onKeyDown: Xe,
261
+ onPaste: Ze,
262
+ onBlur: Qe,
263
+ onFocus: () => {
264
+ ze && !Re && Y.length > 0 && G(!0);
265
+ },
266
+ disabled: N,
267
+ autoComplete: "off",
268
+ className: r("tags-input--input", "box-border min-w-20 flex-1 border-0 bg-transparent p-0 font-sans text-foreground outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed", ne[B])
269
+ })]
270
+ }), !!S && /* @__PURE__ */ j(y, {
271
+ anchor: Fe,
272
+ align: "start",
273
+ type: "menu",
274
+ initialFocus: !1,
275
+ finalFocus: !1,
276
+ role: "listbox",
277
+ id: Ie,
278
+ "aria-label": H.recommendationsLabel ?? P.recommendationsLabel,
279
+ className: "tags-input--recommendations w-(--anchor-width) max-h-[200px]",
280
+ children: /* @__PURE__ */ j("div", { children: Y.length > 0 ? Y.map((e, t) => {
281
+ let n = U.some((t) => q(t) === q(e.value));
282
+ return /* @__PURE__ */ M("button", {
283
+ id: `${Ie}-${t}`,
284
+ role: "option",
285
+ "aria-selected": Z === t,
286
+ tabIndex: -1,
287
+ type: "button",
288
+ onPointerDown: (e) => e.preventDefault(),
289
+ onClick: () => {
290
+ Q([e.value]), Pe.current?.focus();
291
+ },
292
+ onMouseEnter: () => K(t),
293
+ className: r(d.interactive, u(), o[xe ?? "sm"], "box-border w-full cursor-pointer justify-between border-0 bg-transparent font-sans text-foreground", "hover:bg-accent hover:text-accent-foreground", "focus-visible:outline-none", Z === t && "bg-accent text-accent-foreground"),
294
+ children: [/* @__PURE__ */ j(f, { children: e.label }), /* @__PURE__ */ j(de, { className: r("ml-auto size-icon-sm", n ? "opacity-100" : "opacity-0") })]
295
+ }, e.key);
296
+ }) : /* @__PURE__ */ j(a, {
297
+ tag: "div",
298
+ size: "xs",
299
+ type: "secondary",
300
+ className: "px-row-x py-row-y",
301
+ children: H.emptyRecommendations
302
+ }) })
303
+ })]
304
+ }),
305
+ (ot || st) && /* @__PURE__ */ M("div", {
306
+ className: "tags-input--footer flex items-center justify-between gap-space-sm",
307
+ children: [at !== void 0 && /* @__PURE__ */ j(a, {
308
+ id: Le,
309
+ tag: "span",
310
+ size: "xs",
311
+ type: it ? "error" : "secondary",
312
+ className: "tags-input--count tabular-nums",
313
+ children: H.summary(U.length, at)
314
+ }), !!st && /* @__PURE__ */ j(i, {
315
+ type: "button",
316
+ size: "sm",
317
+ onClick: $e,
318
+ disabled: N,
319
+ className: "tags-input--clear ms-auto",
320
+ children: H.clearAll
321
+ })]
322
+ })
323
+ ]
324
+ });
325
+ }
326
+ fe.displayName = "TagsInput";
327
+ //#endregion
328
+ //#region src/components/base/value-inputs/phone-input.tsx
329
+ var pe = {
330
+ prefixPlaceholder: "Prefix",
331
+ prefixAriaLabel: "Country prefix"
332
+ }, I = {
333
+ US: {
334
+ value: "+1",
335
+ label: "United States",
336
+ iso: "US"
337
+ },
338
+ CA: {
339
+ value: "+1",
340
+ label: "Canada",
341
+ iso: "CA"
342
+ },
343
+ AU: {
344
+ value: "+61",
345
+ label: "Australia",
346
+ iso: "AU"
347
+ },
348
+ BG: {
349
+ value: "+359",
350
+ label: "Bulgaria",
351
+ iso: "BG"
352
+ },
353
+ GR: {
354
+ value: "+30",
355
+ label: "Greece",
356
+ iso: "GR"
357
+ },
358
+ GB: {
359
+ value: "+44",
360
+ label: "United Kingdom",
361
+ iso: "GB"
362
+ },
363
+ DE: {
364
+ value: "+49",
365
+ label: "Germany",
366
+ iso: "DE"
367
+ },
368
+ FR: {
369
+ value: "+33",
370
+ label: "France",
371
+ iso: "FR"
372
+ },
373
+ IT: {
374
+ value: "+39",
375
+ label: "Italy",
376
+ iso: "IT"
377
+ },
378
+ ES: {
379
+ value: "+34",
380
+ label: "Spain",
381
+ iso: "ES"
382
+ },
383
+ NL: {
384
+ value: "+31",
385
+ label: "Netherlands",
386
+ iso: "NL"
387
+ },
388
+ BE: {
389
+ value: "+32",
390
+ label: "Belgium",
391
+ iso: "BE"
392
+ },
393
+ AT: {
394
+ value: "+43",
395
+ label: "Austria",
396
+ iso: "AT"
397
+ },
398
+ CH: {
399
+ value: "+41",
400
+ label: "Switzerland",
401
+ iso: "CH"
402
+ },
403
+ PL: {
404
+ value: "+48",
405
+ label: "Poland",
406
+ iso: "PL"
407
+ },
408
+ RO: {
409
+ value: "+40",
410
+ label: "Romania",
411
+ iso: "RO"
412
+ },
413
+ RS: {
414
+ value: "+381",
415
+ label: "Serbia",
416
+ iso: "RS"
417
+ },
418
+ HR: {
419
+ value: "+385",
420
+ label: "Croatia",
421
+ iso: "HR"
422
+ },
423
+ SI: {
424
+ value: "+386",
425
+ label: "Slovenia",
426
+ iso: "SI"
427
+ },
428
+ MK: {
429
+ value: "+389",
430
+ label: "North Macedonia",
431
+ iso: "MK"
432
+ },
433
+ TR: {
434
+ value: "+90",
435
+ label: "Turkey",
436
+ iso: "TR"
437
+ },
438
+ RU: {
439
+ value: "+7",
440
+ label: "Russia",
441
+ iso: "RU"
442
+ },
443
+ UA: {
444
+ value: "+380",
445
+ label: "Ukraine",
446
+ iso: "UA"
447
+ },
448
+ SK: {
449
+ value: "+421",
450
+ label: "Slovakia",
451
+ iso: "SK"
452
+ },
453
+ CZ: {
454
+ value: "+420",
455
+ label: "Czech Republic",
456
+ iso: "CZ"
457
+ },
458
+ HU: {
459
+ value: "+36",
460
+ label: "Hungary",
461
+ iso: "HU"
462
+ },
463
+ PT: {
464
+ value: "+351",
465
+ label: "Portugal",
466
+ iso: "PT"
467
+ },
468
+ IE: {
469
+ value: "+353",
470
+ label: "Ireland",
471
+ iso: "IE"
472
+ },
473
+ SE: {
474
+ value: "+46",
475
+ label: "Sweden",
476
+ iso: "SE"
477
+ },
478
+ NO: {
479
+ value: "+47",
480
+ label: "Norway",
481
+ iso: "NO"
482
+ },
483
+ DK: {
484
+ value: "+45",
485
+ label: "Denmark",
486
+ iso: "DK"
487
+ },
488
+ FI: {
489
+ value: "+358",
490
+ label: "Finland",
491
+ iso: "FI"
492
+ },
493
+ CY: {
494
+ value: "+357",
495
+ label: "Cyprus",
496
+ iso: "CY"
497
+ },
498
+ AL: {
499
+ value: "+355",
500
+ label: "Albania",
501
+ iso: "AL"
502
+ },
503
+ ME: {
504
+ value: "+382",
505
+ label: "Montenegro",
506
+ iso: "ME"
507
+ },
508
+ BA: {
509
+ value: "+387",
510
+ label: "Bosnia and Herzegovina",
511
+ iso: "BA"
512
+ },
513
+ XK: {
514
+ value: "+383",
515
+ label: "Kosovo",
516
+ iso: "XK"
517
+ },
518
+ MD: {
519
+ value: "+373",
520
+ label: "Moldova",
521
+ iso: "MD"
522
+ },
523
+ BY: {
524
+ value: "+375",
525
+ label: "Belarus",
526
+ iso: "BY"
527
+ },
528
+ LT: {
529
+ value: "+370",
530
+ label: "Lithuania",
531
+ iso: "LT"
532
+ },
533
+ LV: {
534
+ value: "+371",
535
+ label: "Latvia",
536
+ iso: "LV"
537
+ },
538
+ EE: {
539
+ value: "+372",
540
+ label: "Estonia",
541
+ iso: "EE"
542
+ }
543
+ }, me = [
544
+ "US",
545
+ "CA",
546
+ "GB",
547
+ "DE",
548
+ "FR",
549
+ "IT",
550
+ "ES",
551
+ "AU"
552
+ ], L = (e) => typeof e == "string" ? I[e.toUpperCase()] ?? null : e, he = (e) => e.map(L).filter((e) => e !== null), ge = (e, t) => {
553
+ let n = e.trim().replace(/\s+/g, " ").replace(/[^\d ()+-]/g, "");
554
+ return t && n.startsWith(t) && (n = n.slice(t.length).replace(/^[\s-]+/, "")), t && n.startsWith("0") && (n = n.slice(1)), n;
555
+ }, _e = (e, t) => e ? e.startsWith("+") ? e : I[e.toUpperCase()]?.value ?? e : t[0]?.value ?? "";
556
+ function R({ normalizeOnBlur: e = !0, onBlur: i, onChange: o, prefix: s, defaultPrefix: c, prefixes: l = me, onPrefixChange: u, disablePrefixSelector: d = !1, prefixPlaceholder: f, prefixWidth: p = "w-30", showCountryName: m = !0, showPrefixInDropdown: te = !0, invalid: g, disabled: _, readOnly: v, loading: y, className: w, size: T, strings: E, ...O }, ue) {
557
+ let { defaultScale: de } = t(), N = oe(T, de), P = _ || y, F = P || v, fe = n(pe, E), L = k(() => he(l), [l]), R = k(() => _e(c, L), [c, L]), [ve, ye] = A(R), [be, xe] = A(() => {
558
+ let e = s ?? c;
559
+ return e && !e.startsWith("+") ? e.toUpperCase() : L.find((e) => e.value === R)?.iso;
560
+ }), z = s !== void 0, B = z ? _e(s, L) : ve, V = k(() => {
561
+ if (!B || L.some((e) => e.value === B)) return L;
562
+ let e = Object.values(I).find((e) => e.value === B);
563
+ return e ? [e, ...L] : L;
564
+ }, [L, B]), H = k(() => V.find((e) => e.iso === (s && !s.startsWith("+") ? s.toUpperCase() : be) && e.value === B) ?? V.find((e) => e.value === B), [
565
+ V,
566
+ B,
567
+ be,
568
+ s
569
+ ]), Se = D((e) => {
570
+ if (e === null || F) return;
571
+ let t = V.find((t) => t.iso === e);
572
+ t && (xe(t.iso), z || ye(t.value), u?.(t.value));
573
+ }, [
574
+ z,
575
+ u,
576
+ V,
577
+ F
578
+ ]), Ce = D((e) => {
579
+ if (F || !o) return;
580
+ let t = e.target.value;
581
+ if (B && t.startsWith(B)) {
582
+ let n = t.slice(B.length).replace(/^[\s-]+/, ""), r = n.startsWith("0") ? n.slice(1) : n;
583
+ if (r !== t) {
584
+ o({
585
+ ...e,
586
+ target: {
587
+ ...e.target,
588
+ value: r
589
+ },
590
+ currentTarget: {
591
+ ...e.currentTarget,
592
+ value: r
593
+ }
594
+ });
595
+ return;
596
+ }
597
+ }
598
+ o(e);
599
+ }, [
600
+ F,
601
+ o,
602
+ B
603
+ ]), we = D((t) => {
604
+ if (!F && e && typeof o == "function") {
605
+ let e = ge(t.target.value, B);
606
+ e !== t.target.value && o({
607
+ ...t,
608
+ target: {
609
+ ...t.target,
610
+ value: e
611
+ },
612
+ currentTarget: {
613
+ ...t.currentTarget,
614
+ value: e
615
+ }
616
+ });
617
+ }
618
+ i?.(t);
619
+ }, [
620
+ F,
621
+ e,
622
+ o,
623
+ i,
624
+ B
625
+ ]);
626
+ if (V.length === 0 || d) {
627
+ let e = B || c;
628
+ return e ? /* @__PURE__ */ M("div", {
629
+ className: "flex items-start gap-space-md",
630
+ children: [/* @__PURE__ */ j("div", {
631
+ "aria-invalid": g || void 0,
632
+ className: r("phone-input--prefix flex shrink-0 items-center justify-center rounded-inner border border-input bg-muted", re[N], ne[N], ie[N], P && "opacity-50", ee.invalid),
633
+ children: /* @__PURE__ */ j(a, {
634
+ tag: "span",
635
+ size: "inherit",
636
+ type: "secondary",
637
+ lineHeight: "tight",
638
+ children: e
639
+ })
640
+ }), /* @__PURE__ */ j("div", {
641
+ className: "flex-1",
642
+ children: /* @__PURE__ */ j(se, {
643
+ ref: ue,
644
+ size: N,
645
+ type: "tel",
646
+ autoComplete: "tel",
647
+ inputMode: "tel",
648
+ onChange: Ce,
649
+ onBlur: we,
650
+ invalid: g,
651
+ disabled: P,
652
+ readOnly: v,
653
+ loading: y,
654
+ className: w,
655
+ ...O
656
+ })
657
+ })]
658
+ }) : /* @__PURE__ */ j(se, {
659
+ ref: ue,
660
+ size: N,
661
+ type: "tel",
662
+ autoComplete: "tel",
663
+ inputMode: "tel",
664
+ onChange: Ce,
665
+ onBlur: we,
666
+ invalid: g,
667
+ disabled: P,
668
+ readOnly: v,
669
+ loading: y,
670
+ className: r("phone-input--component", w),
671
+ ...O
672
+ });
673
+ }
674
+ return /* @__PURE__ */ M("div", {
675
+ className: "flex items-start gap-space-md",
676
+ children: [/* @__PURE__ */ M(le, {
677
+ value: H?.iso ?? null,
678
+ onValueChange: (e) => Se(e),
679
+ disabled: F,
680
+ children: [/* @__PURE__ */ j(ce, {
681
+ "aria-label": fe.prefixAriaLabel,
682
+ "aria-invalid": g || void 0,
683
+ iconClassName: h.icon[N],
684
+ className: r("phone-input--prefix-trigger", ae(N), "shrink-0", p),
685
+ children: /* @__PURE__ */ j(C, {
686
+ placeholder: /* @__PURE__ */ j(a, {
687
+ tag: "span",
688
+ size: "inherit",
689
+ type: "secondary",
690
+ lineHeight: "tight",
691
+ className: "text-inherit",
692
+ children: f ?? fe.prefixPlaceholder
693
+ }),
694
+ children: !!H && /* @__PURE__ */ j(a, {
695
+ tag: "span",
696
+ size: "inherit",
697
+ lineHeight: "tight",
698
+ className: "text-inherit",
699
+ children: H.value
700
+ })
701
+ })
702
+ }), /* @__PURE__ */ j(b, { children: /* @__PURE__ */ j(x, { children: V.map((e) => /* @__PURE__ */ j(S, {
703
+ value: e.iso,
704
+ size: N,
705
+ children: /* @__PURE__ */ M("div", {
706
+ className: "flex items-center gap-space-md",
707
+ children: [!!te && /* @__PURE__ */ j(a, {
708
+ tag: "span",
709
+ size: "inherit",
710
+ weight: "medium",
711
+ lineHeight: "tight",
712
+ className: "min-w-13 tabular-nums text-inherit",
713
+ children: e.value
714
+ }), !!m && /* @__PURE__ */ j(a, {
715
+ tag: "span",
716
+ size: "inherit",
717
+ lineHeight: "tight",
718
+ className: "text-inherit",
719
+ children: e.label
720
+ })]
721
+ })
722
+ }, e.iso)) }) })]
723
+ }), /* @__PURE__ */ j("div", {
724
+ className: "flex-1",
725
+ children: /* @__PURE__ */ j(se, {
726
+ ref: ue,
727
+ size: N,
728
+ type: "tel",
729
+ autoComplete: "tel",
730
+ inputMode: "tel",
731
+ onChange: Ce,
732
+ onBlur: we,
733
+ invalid: g,
734
+ disabled: P,
735
+ readOnly: v,
736
+ loading: y,
737
+ className: w,
738
+ ...O
739
+ })
740
+ })]
741
+ });
742
+ }
743
+ var ve = E(w.forwardRef(R));
744
+ ve.displayName = "PhoneInput";
745
+ //#endregion
746
+ //#region src/components/base/value-inputs/color-input.tsx
747
+ var ye = { chooseColor: "Choose color" }, be = {
748
+ sm: "size-control-sm",
749
+ md: "size-control",
750
+ lg: "size-control-lg"
751
+ };
752
+ function xe(e) {
753
+ let t = e.trim().toLowerCase();
754
+ return /^#[0-9a-f]{6}$/.test(t) ? t : /^#[0-9a-f]{3}$/.test(t) ? `#${t.slice(1).split("").map((e) => `${e}${e}`).join("")}` : null;
755
+ }
756
+ function z(e, t) {
757
+ let n = Number(e.toFixed(t));
758
+ return Object.is(n, -0) ? 0 : n;
759
+ }
760
+ function B(e) {
761
+ let t = xe(e);
762
+ if (!t) return e;
763
+ let [n, r, i] = [
764
+ 1,
765
+ 3,
766
+ 5
767
+ ].map((e) => Number.parseInt(t.slice(e, e + 2), 16) / 255).map((e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4), a = Math.cbrt(.4122214708 * n + .5363325363 * r + .0514459929 * i), o = Math.cbrt(.2119034982 * n + .6806995451 * r + .1073969566 * i), s = Math.cbrt(.0883024619 * n + .2817188376 * r + .6299787005 * i), c = .2104542553 * a + .793617785 * o - .0040720468 * s, l = 1.9779984951 * a - 2.428592205 * o + .4505937099 * s, u = .0259040371 * a + .7827717662 * o - .808675766 * s, d = Math.hypot(l, u), f = d < 5e-5 ? 0 : Math.atan2(u, l) * 180 / Math.PI + (u < 0 ? 360 : 0);
768
+ return `oklch(${z(c, 4)} ${z(d, 4)} ${z(f, 2)})`;
769
+ }
770
+ function V(e, t) {
771
+ let n = window.getComputedStyle(e).backgroundColor, r = xe(n);
772
+ if (r) return r;
773
+ if (typeof CanvasRenderingContext2D > "u") return t;
774
+ try {
775
+ let e = document.createElement("canvas");
776
+ e.width = 1, e.height = 1;
777
+ let r = e.getContext("2d", { willReadFrequently: !0 });
778
+ if (!r) return t;
779
+ r.clearRect(0, 0, 1, 1), r.fillStyle = n, r.fillRect(0, 0, 1, 1);
780
+ let [i, a, o, s] = r.getImageData(0, 0, 1, 1).data;
781
+ return s === 0 ? t : `#${[
782
+ i,
783
+ a,
784
+ o
785
+ ].map((e) => e.toString(16).padStart(2, "0")).join("")}`;
786
+ } catch {
787
+ return t;
788
+ }
789
+ }
790
+ var H = w.forwardRef(function({ className: e, value: i, defaultValue: a, onChange: o, onValueChange: s, previewValue: l, pickerAriaLabel: u, size: d, disabled: f, readOnly: p, loading: m, invalid: h, strings: te, inputStrings: ne, ...re }, g) {
791
+ let ie = n(ye, te), { defaultScale: ae } = t(), _ = oe(d, ae), v = f || p || m, [y, ce] = w.useState(a ?? ""), b = i ?? y, x = l ?? b, le = xe(b) ?? "#000000", [S, C] = w.useState(le), T = w.useRef(null);
792
+ w.useLayoutEffect(() => {
793
+ let e = xe(x);
794
+ if (e) {
795
+ C(e);
796
+ return;
797
+ }
798
+ T.current && typeof window < "u" && C((e) => V(T.current, e));
799
+ }, [x]);
800
+ let E = (e) => {
801
+ i === void 0 && ce(e.target.value), o?.(e), s?.(e.target.value);
802
+ };
803
+ return /* @__PURE__ */ M(c, {
804
+ direction: "horizontal",
805
+ gap: "sm",
806
+ align: "center",
807
+ wrap: !1,
808
+ className: r("color-input--component min-w-0 [&>.input--component]:min-w-0 [&>.input--component]:flex-1", e),
809
+ children: [/* @__PURE__ */ M("label", {
810
+ "aria-invalid": h || void 0,
811
+ className: r("color-input--picker box-border relative shrink-0 cursor-pointer overflow-hidden rounded-inner border border-input bg-background shadow-none outline-none transition-[color,box-shadow]", "has-[input:focus-visible]:border-ring has-[input:focus-visible]:ring-3 has-[input:focus-visible]:ring-ring/50", ee.invalid, "aria-invalid:has-[input:focus-visible]:border-destructive aria-invalid:has-[input:focus-visible]:ring-destructive/30 dark:aria-invalid:has-[input:focus-visible]:ring-destructive/50", "data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50", be[_]),
812
+ "data-disabled": v || void 0,
813
+ children: [/* @__PURE__ */ j("span", {
814
+ ref: T,
815
+ "aria-hidden": "true",
816
+ "data-user-color": !0,
817
+ className: "color-input--swatch absolute inset-1 rounded-radius-xs",
818
+ style: { background: x || "transparent" }
819
+ }), /* @__PURE__ */ j("input", {
820
+ type: "color",
821
+ value: S,
822
+ disabled: v,
823
+ "aria-label": u ?? ie.chooseColor,
824
+ onInput: (e) => {
825
+ if (v) return;
826
+ let t = B(e.currentTarget.value);
827
+ i === void 0 && ce(t), o && o({
828
+ ...e,
829
+ target: {
830
+ ...e.currentTarget,
831
+ value: t
832
+ },
833
+ currentTarget: {
834
+ ...e.currentTarget,
835
+ value: t
836
+ }
837
+ }), s?.(t);
838
+ },
839
+ className: "color-input--native absolute inset-0 size-full cursor-pointer opacity-0"
840
+ })]
841
+ }), /* @__PURE__ */ j(se, {
842
+ ...re,
843
+ ref: g,
844
+ size: _,
845
+ value: b,
846
+ disabled: f,
847
+ readOnly: p,
848
+ loading: m,
849
+ invalid: h,
850
+ onChange: E,
851
+ strings: ne,
852
+ className: "min-w-0 flex-1 font-mono"
853
+ })]
854
+ });
855
+ });
856
+ H.displayName = "ColorInput";
857
+ //#endregion
858
+ //#region src/components/base/value-inputs/slider.tsx
859
+ var Se = { ariaLabel: "Value" };
860
+ function Ce({ name: e, id: t, "aria-label": i, "aria-labelledby": o, "aria-describedby": s, strings: c, value: u, defaultValue: d, min: f = 0, max: p = 100, step: ee = 1, disabled: m = !1, invalid: h = !1, onChange: te, onValueChange: ne, onValueCommitted: re, showValue: g = !1, formatValue: ie, unit: ae, className: oe, orientation: se = "horizontal" }, _) {
861
+ let v = O(), y = n(Se, c), ce = t ?? `slider-${v}`, b = e ?? ce, x = i ?? y.ariaLabel, le = u !== void 0, [S, C] = A(() => d ?? f), w = D((e) => {
862
+ let t = Array.isArray(e) ? e[0] : e;
863
+ le || C(t), ne?.(t), te?.({ target: {
864
+ name: b,
865
+ value: t
866
+ } });
867
+ }, [
868
+ le,
869
+ b,
870
+ te,
871
+ ne
872
+ ]), T = D((e) => {
873
+ let t = Array.isArray(e) ? e[0] : e;
874
+ re?.(t);
875
+ }, [re]), E = k(() => {
876
+ if (!g) return null;
877
+ let e = Math.min(p, Math.max(f, u ?? S));
878
+ return ie ? ie(e) : ae ? `${e}${ae}` : String(e);
879
+ }, [
880
+ g,
881
+ u,
882
+ S,
883
+ f,
884
+ p,
885
+ ie,
886
+ ae
887
+ ]), ue = u === void 0 ? void 0 : [u], de = d === void 0 ? [f] : [d];
888
+ return /* @__PURE__ */ M("div", {
889
+ className: r("slider--component", "flex items-center gap-space-lg", oe),
890
+ children: [/* @__PURE__ */ j(N.Root, {
891
+ ref: _,
892
+ "data-slot": "slider",
893
+ id: ce,
894
+ "aria-label": x,
895
+ "aria-labelledby": o,
896
+ "aria-describedby": s,
897
+ value: ue,
898
+ defaultValue: de,
899
+ min: f,
900
+ max: p,
901
+ step: ee,
902
+ disabled: m,
903
+ orientation: se,
904
+ onValueChange: w,
905
+ onValueCommitted: T,
906
+ "aria-invalid": h || void 0,
907
+ className: r("box-border data-[orientation=horizontal]:w-full data-[orientation=horizontal]:px-[calc(var(--icon)/2)] data-[orientation=vertical]:h-full", "min-w-0 flex-1", h && "[&_[data-slot=slider-range]]:bg-destructive"),
908
+ children: /* @__PURE__ */ M(N.Control, {
909
+ className: "relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-[orientation=horizontal]:min-h-control data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-40 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
910
+ children: [/* @__PURE__ */ j(N.Track, {
911
+ "data-slot": "slider-track",
912
+ className: r("relative grow overflow-hidden rounded-full bg-muted select-none data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full", l),
913
+ children: /* @__PURE__ */ j(N.Indicator, {
914
+ "data-slot": "slider-range",
915
+ className: "absolute bg-primary select-none data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
916
+ })
917
+ }), /* @__PURE__ */ j(N.Thumb, {
918
+ index: 0,
919
+ "data-slot": "slider-thumb",
920
+ getAriaLabel: () => x,
921
+ className: r("block size-icon shrink-0 rounded-full border border-primary bg-background shadow-sm transition-[color,box-shadow] select-none", "has-[:focus-visible]:outline-hidden has-[:focus-visible]:ring-3 has-[:focus-visible]:ring-ring/50 data-disabled:pointer-events-none", h && "border-destructive has-[:focus-visible]:ring-destructive/30 dark:has-[:focus-visible]:ring-destructive/50")
922
+ })]
923
+ })
924
+ }), !!g && E !== null && /* @__PURE__ */ j(a, {
925
+ tag: "span",
926
+ type: h ? "error" : "secondary",
927
+ className: "min-w-8 shrink-0 text-right tabular-nums",
928
+ children: E
929
+ })]
930
+ });
931
+ }
932
+ var we = w.forwardRef(Ce);
933
+ we.displayName = "SliderField";
934
+ //#endregion
935
+ //#region src/components/base/value-inputs/date-time-input.tsx
936
+ var U = T(function({ value: e, onValueChange: t, placeholder: n, readableFormat: r = "dd-MM-yyyy HH:mm", stepMinutes: i = 30, modal: a = !0, invalid: o, disabled: s, id: c }, l) {
937
+ let u = e ? new Date(e) : void 0, d = D((e) => {
938
+ t?.(e.date ? e.date.toISOString() : void 0);
939
+ }, [t]);
940
+ return /* @__PURE__ */ j(_, {
941
+ ref: l,
942
+ className: "date-time-input--component",
943
+ id: c,
944
+ mode: "single",
945
+ disabled: s,
946
+ invalid: o,
947
+ placeholder: n,
948
+ value: u,
949
+ onValueChange: d,
950
+ readableFormat: r,
951
+ withTime: {
952
+ enabled: !0,
953
+ format: "24",
954
+ step: i * 60
955
+ },
956
+ modal: a
957
+ });
958
+ });
959
+ U.displayName = "DateTimeInput";
960
+ //#endregion
961
+ export { ye as a, ve as c, P as d, H as i, pe as l, we as n, I as o, Se as r, me as s, U as t, fe as u };
962
+
963
+ //# sourceMappingURL=value-inputs-DXPDjvBU.js.map