themelia-react-ui 1.0.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (542) hide show
  1. package/CHANGELOG.md +281 -1
  2. package/README.md +10 -5
  3. package/dist/{accordion-BRTcsp8J.js → accordion-CQXVcd7Q.js} +13 -13
  4. package/dist/accordion-CQXVcd7Q.js.map +1 -0
  5. package/dist/action-menu-BTpyPWJ2.js +264 -0
  6. package/dist/action-menu-BTpyPWJ2.js.map +1 -0
  7. package/dist/{affordance-geometry.generated-CL84ZN9A.js → affordance-geometry.generated-CCIXb2A1.js} +7 -2
  8. package/dist/affordance-geometry.generated-CCIXb2A1.js.map +1 -0
  9. package/dist/{ai-artifact-DLVdK0Py.js → ai-artifact-2PQ2fItc.js} +171 -176
  10. package/dist/ai-artifact-2PQ2fItc.js.map +1 -0
  11. package/dist/{app-shell-C_fKpljx.js → app-shell-BE_j8-AT.js} +4 -4
  12. package/dist/{app-shell-C_fKpljx.js.map → app-shell-BE_j8-AT.js.map} +1 -1
  13. package/dist/{attachment-DbjUWsP0.js → attachment-q69dlt5Y.js} +9 -9
  14. package/dist/{attachment-DbjUWsP0.js.map → attachment-q69dlt5Y.js.map} +1 -1
  15. package/dist/{auth-CAQcasMV.js → auth-M3vGMgDR.js} +42 -42
  16. package/dist/{auth-CAQcasMV.js.map → auth-M3vGMgDR.js.map} +1 -1
  17. package/dist/{avatar-Bu2HhitA.js → avatar-djdaaQ_s.js} +14 -12
  18. package/dist/avatar-djdaaQ_s.js.map +1 -0
  19. package/dist/{badge-CzId1Wlm.js → badge-0tATj-tW.js} +9 -9
  20. package/dist/badge-0tATj-tW.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/buttons.js +2 -2
  27. package/dist/base/cards.js +2 -2
  28. package/dist/base/carousel.js +11 -11
  29. package/dist/base/carousel.js.map +1 -1
  30. package/dist/base/cascader.js +244 -222
  31. package/dist/base/cascader.js.map +1 -1
  32. package/dist/base/chart.js +1 -1
  33. package/dist/base/choice-inputs.js +2 -2
  34. package/dist/base/code-block.js +1 -1
  35. package/dist/base/combobox.js +1 -1
  36. package/dist/base/command.js +1 -1
  37. package/dist/base/copyable.js +1 -1
  38. package/dist/base/date-pickers.js +2 -2
  39. package/dist/base/display.js +6 -6
  40. package/dist/base/feedback.js +3 -3
  41. package/dist/base/forms-numeric.js +1 -1
  42. package/dist/base/forms.js +2 -2
  43. package/dist/base/inline-edit.js +81 -76
  44. package/dist/base/inline-edit.js.map +1 -1
  45. package/dist/base/item.js +1 -1
  46. package/dist/base/media-gallery.js +1 -1
  47. package/dist/base/navigation.js +6 -6
  48. package/dist/base/popover-menu.js +1 -1
  49. package/dist/base/popover.js +1 -1
  50. package/dist/base/qr-code.js +7 -4
  51. package/dist/base/qr-code.js.map +1 -1
  52. package/dist/base/repeaters.js +42 -42
  53. package/dist/base/repeaters.js.map +1 -1
  54. package/dist/base/sheet.js +1 -1
  55. package/dist/base/sidebar.js +1 -1
  56. package/dist/base/signature-pad.js +9 -9
  57. package/dist/base/signature-pad.js.map +1 -1
  58. package/dist/base/skeleton.js +1 -1
  59. package/dist/base/spinner.js +1 -1
  60. package/dist/base/structure.js +1 -1
  61. package/dist/base/table.js +1 -1
  62. package/dist/base/text-inputs.js +2 -2
  63. package/dist/base/toaster.js +4 -4
  64. package/dist/base/toaster.js.map +1 -1
  65. package/dist/base/tree.js +1 -1
  66. package/dist/base/upload-queue.js +1 -1
  67. package/dist/base/upload.js +3 -3
  68. package/dist/base/value-inputs.js +1 -1
  69. package/dist/blocks/admin.js +229 -220
  70. package/dist/blocks/admin.js.map +1 -1
  71. package/dist/blocks/ai.js +147 -180
  72. package/dist/blocks/ai.js.map +1 -1
  73. package/dist/blocks/analytics/usage-card.js +1 -1
  74. package/dist/blocks/analytics.js +530 -523
  75. package/dist/blocks/analytics.js.map +1 -1
  76. package/dist/blocks/collaboration.js +1 -1
  77. package/dist/blocks/commerce/receipt.js +1 -1
  78. package/dist/blocks/commerce.js +1390 -1516
  79. package/dist/blocks/commerce.js.map +1 -1
  80. package/dist/blocks/data-display.js +1 -1
  81. package/dist/blocks/onboarding.js +5 -5
  82. package/dist/blocks/planning.js +82 -91
  83. package/dist/blocks/planning.js.map +1 -1
  84. package/dist/blocks/timelines.js +1 -1
  85. package/dist/{breadcrumbs-BuYz5SDU.js → breadcrumbs-BG_FfMK4.js} +5 -5
  86. package/dist/{breadcrumbs-BuYz5SDU.js.map → breadcrumbs-BG_FfMK4.js.map} +1 -1
  87. package/dist/{button-BZDasD04.js → button-BS3KDg00.js} +185 -162
  88. package/dist/button-BS3KDg00.js.map +1 -0
  89. package/dist/{button-BZyfTvwm.js → button-R9CCoH7A.js} +2 -2
  90. package/dist/{button-BZyfTvwm.js.map → button-R9CCoH7A.js.map} +1 -1
  91. package/dist/{buttons-D_6KJvEE.js → buttons-DS0ZIwJ_.js} +11 -11
  92. package/dist/buttons-DS0ZIwJ_.js.map +1 -0
  93. package/dist/{cards-qGSErLw_.js → cards-QoJ4syG9.js} +7 -7
  94. package/dist/{cards-qGSErLw_.js.map → cards-QoJ4syG9.js.map} +1 -1
  95. package/dist/{chart-Bsc5BICK.js → chart-DwYRKKc-.js} +17 -15
  96. package/dist/chart-DwYRKKc-.js.map +1 -0
  97. package/dist/checkbox-B7ygNTYp.js +35 -0
  98. package/dist/checkbox-B7ygNTYp.js.map +1 -0
  99. package/dist/choice-inputs-DrJ17tpL.js +752 -0
  100. package/dist/choice-inputs-DrJ17tpL.js.map +1 -0
  101. package/dist/{code-block-DzHKRybS.js → code-block-CD0B7M93.js} +19 -19
  102. package/dist/{code-block-DzHKRybS.js.map → code-block-CD0B7M93.js.map} +1 -1
  103. package/dist/{collapsible-ClvC7Bj3.js → collapsible-oMUGM4tr.js} +3 -3
  104. package/dist/{collapsible-ClvC7Bj3.js.map → collapsible-oMUGM4tr.js.map} +1 -1
  105. package/dist/{collection-content-D6S8cv_n.js → collection-content-Ys-OZOkY.js} +3 -3
  106. package/dist/{collection-content-D6S8cv_n.js.map → collection-content-Ys-OZOkY.js.map} +1 -1
  107. package/dist/{combobox-BFnbJJp3.js → combobox-6dvVny2q.js} +96 -97
  108. package/dist/combobox-6dvVny2q.js.map +1 -0
  109. package/dist/{combobox-hozNwUcc.js → combobox-CB7039j7.js} +326 -308
  110. package/dist/combobox-CB7039j7.js.map +1 -0
  111. package/dist/{command-BnmSchli.js → command-kPMPjIxJ.js} +34 -30
  112. package/dist/command-kPMPjIxJ.js.map +1 -0
  113. package/dist/{comments-u5L0OGip.js → comments-You0Bzbr.js} +349 -348
  114. package/dist/comments-You0Bzbr.js.map +1 -0
  115. package/dist/components/base/accordion/accordion-variants.d.ts +3 -3
  116. package/dist/components/base/action-menu/action-menu.d.ts +7 -2
  117. package/dist/components/base/avatar/stacked-avatars.d.ts +5 -4
  118. package/dist/components/base/badge/badge.d.ts +1 -1
  119. package/dist/components/base/badge/badge.recipes.d.ts +4 -4
  120. package/dist/components/base/buttons/base-button.d.ts +7 -0
  121. package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
  122. package/dist/components/base/buttons/button.variants.d.ts +1 -0
  123. package/dist/components/base/buttons/loader-button.d.ts +3 -1
  124. package/dist/components/base/buttons/text-button.d.ts +2 -2
  125. package/dist/components/base/carousel/carousel.d.ts +3 -1
  126. package/dist/components/base/chart/chart.d.ts +7 -7
  127. package/dist/components/base/choice-inputs/checkbox.d.ts +6 -7
  128. package/dist/components/base/choice-inputs/choice-types.d.ts +10 -1
  129. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +9 -0
  130. package/dist/components/base/choice-inputs/select-popup.d.ts +9 -1
  131. package/dist/components/base/choice-inputs/switch-card.d.ts +1 -1
  132. package/dist/components/base/date-pickers/date-picker-field.d.ts +23 -0
  133. package/dist/components/base/date-pickers/datepicker.types.d.ts +13 -3
  134. package/dist/components/base/display/alert-dialog.d.ts +8 -2
  135. package/dist/components/base/display/content-block.d.ts +4 -2
  136. package/dist/components/base/display/date-block.d.ts +1 -1
  137. package/dist/components/base/display/dialog.d.ts +12 -5
  138. package/dist/components/base/display/surface-title.d.ts +6 -1
  139. package/dist/components/base/feedback/alert.d.ts +1 -1
  140. package/dist/components/base/feedback/state-display.d.ts +5 -4
  141. package/dist/components/base/forms/form-sizing.d.ts +32 -0
  142. package/dist/components/base/forms/workflow.d.ts +2 -0
  143. package/dist/components/base/forms-numeric/coordinates-input.d.ts +3 -0
  144. package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +4 -1
  145. package/dist/components/base/navigation/dropdown-menu.d.ts +2 -2
  146. package/dist/components/base/navigation/language-switcher.d.ts +4 -1
  147. package/dist/components/base/navigation/overflow-tab-bar.d.ts +7 -0
  148. package/dist/components/base/navigation/page-header/page-header.d.ts +4 -1
  149. package/dist/components/base/qr-code/qr-code.d.ts +2 -0
  150. package/dist/components/base/sheet/index.d.ts +29 -1
  151. package/dist/components/base/sheet/sheet.d.ts +14 -5
  152. package/dist/components/base/spinner/spinner.d.ts +3 -2
  153. package/dist/components/base/structure/structure.types.d.ts +1 -1
  154. package/dist/components/base/text-inputs/input-group.d.ts +2 -2
  155. package/dist/components/base/upload/upload.recipes.d.ts +11 -0
  156. package/dist/components/base/value-inputs/date-time-input.d.ts +4 -2
  157. package/dist/components/base/value-inputs/tags-input.d.ts +2 -0
  158. package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +1 -1
  159. package/dist/components/blocks/analytics/format-metric-value.d.ts +11 -1
  160. package/dist/components/blocks/analytics/index.d.ts +1 -1
  161. package/dist/components/blocks/analytics/use-metric-format-options.d.ts +3 -0
  162. package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
  163. package/dist/components/blocks/commerce/address-card/types.d.ts +3 -1
  164. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +4 -0
  165. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +2 -2
  166. package/dist/components/blocks/commerce/discount-stack/types.d.ts +1 -1
  167. package/dist/components/blocks/commerce/inventory-section/types.d.ts +4 -1
  168. package/dist/components/blocks/commerce/loyalty-points/types.d.ts +1 -1
  169. package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
  170. package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +1 -1
  171. package/dist/components/blocks/commerce/payment-method/types.d.ts +3 -1
  172. package/dist/components/blocks/commerce/seo-listing/seo-listing-card.d.ts +1 -1
  173. package/dist/components/blocks/commerce/seo-listing/types.d.ts +3 -1
  174. package/dist/components/blocks/commerce/vendor-profile/types.d.ts +4 -1
  175. package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +4 -1
  176. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +4 -1
  177. package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +1 -1
  178. package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
  179. package/dist/components/features/overlays/drawer.d.ts +1 -1
  180. package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +2 -2
  181. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +11 -4
  182. package/dist/components/features/overlays/overlay-tone-icon.d.ts +37 -0
  183. package/dist/components/features/overlays/overlays.types.d.ts +42 -19
  184. package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
  185. package/dist/components/features/products/partials/index.d.ts +1 -1
  186. package/dist/components/features/products/partials/product-metric-tile.d.ts +6 -0
  187. package/dist/components/features/products/partials/product-tone.d.ts +11 -1
  188. package/dist/components/features/products/products.types.d.ts +2 -1
  189. package/dist/components/features/table/partials/cell-renderers.d.ts +1 -1
  190. package/dist/components/layout/page/index.d.ts +1 -1
  191. package/dist/components/layout/page/page.types.d.ts +53 -3
  192. package/dist/components/layout/page/partials/page-header-commands.d.ts +13 -0
  193. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  194. package/dist/components/primitives/date.d.ts +16 -3
  195. package/dist/components/primitives/dimensions.d.ts +6 -0
  196. package/dist/components/primitives/duration.d.ts +6 -0
  197. package/dist/components/primitives/file-size.d.ts +6 -0
  198. package/dist/components/primitives/index.d.ts +1 -1
  199. package/dist/components/primitives/initials.d.ts +11 -2
  200. package/dist/components/primitives/link.d.ts +7 -0
  201. package/dist/components/primitives/money.d.ts +29 -7
  202. package/dist/components/primitives/number.d.ts +17 -0
  203. package/dist/components/primitives/value-typography.d.ts +54 -0
  204. package/dist/components/primitives/value.d.ts +31 -6
  205. package/dist/components/typography/heading.d.ts +9 -1
  206. package/dist/components/typography/label.d.ts +3 -0
  207. package/dist/components/typography/running-text.d.ts +12 -0
  208. package/dist/components/typography/text-link.d.ts +23 -1
  209. package/dist/components/typography/text.d.ts +12 -0
  210. package/dist/components/typography/text.styles.d.ts +35 -13
  211. package/dist/components/ui/button.d.ts +1 -1
  212. package/dist/components/ui/checkbox.d.ts +5 -0
  213. package/dist/components/ui/overlay.recipes.d.ts +15 -2
  214. package/dist/components/ui/select.d.ts +3 -1
  215. package/dist/components/ui/switch.d.ts +5 -0
  216. package/dist/{containers-DqB-bSYE.js → containers-D_L4mTVb.js} +3 -3
  217. package/dist/{containers-DqB-bSYE.js.map → containers-D_L4mTVb.js.map} +1 -1
  218. package/dist/{copyable-BTSByfmq.js → copyable-DDjTeW_j.js} +4 -4
  219. package/dist/{copyable-BTSByfmq.js.map → copyable-DDjTeW_j.js.map} +1 -1
  220. package/dist/{data-display-Bihs9Ven.js → data-display-3xWQUnMA.js} +471 -478
  221. package/dist/data-display-3xWQUnMA.js.map +1 -0
  222. package/dist/date-picker-DrDFj8Lo.js +1527 -0
  223. package/dist/date-picker-DrDFj8Lo.js.map +1 -0
  224. package/dist/date-pickers-CnFCb0n2.js +174 -0
  225. package/dist/date-pickers-CnFCb0n2.js.map +1 -0
  226. package/dist/date-uf3z37Nm.js +144 -0
  227. package/dist/date-uf3z37Nm.js.map +1 -0
  228. package/dist/{display-CS6Hbk18.js → display-DrdvPwF0.js} +25 -25
  229. package/dist/display-DrdvPwF0.js.map +1 -0
  230. package/dist/{dropdown-menu-D-boNgGO.js → dropdown-menu-CURh59jb.js} +22 -15
  231. package/dist/dropdown-menu-CURh59jb.js.map +1 -0
  232. package/dist/features/activities.js +38 -35
  233. package/dist/features/activities.js.map +1 -1
  234. package/dist/features/ai-chat.js +36 -35
  235. package/dist/features/ai-chat.js.map +1 -1
  236. package/dist/features/async-preview.js +8 -8
  237. package/dist/features/combobox.js +1 -1
  238. package/dist/features/comments.js +1 -1
  239. package/dist/features/data-view.js +10 -10
  240. package/dist/features/email-composer.js +325 -326
  241. package/dist/features/email-composer.js.map +1 -1
  242. package/dist/features/event-calendar.js +190 -200
  243. package/dist/features/event-calendar.js.map +1 -1
  244. package/dist/features/filters.js +1 -1
  245. package/dist/features/global-search.js +77 -77
  246. package/dist/features/global-search.js.map +1 -1
  247. package/dist/features/kanban.js +4 -4
  248. package/dist/features/map.js +8 -8
  249. package/dist/features/media-library.js +499 -502
  250. package/dist/features/media-library.js.map +1 -1
  251. package/dist/features/mentions.js +1 -1
  252. package/dist/features/overlays.js +1 -1
  253. package/dist/features/products.js +1216 -1248
  254. package/dist/features/products.js.map +1 -1
  255. package/dist/features/questionnaire.js +46 -44
  256. package/dist/features/questionnaire.js.map +1 -1
  257. package/dist/features/resource-assignment.js +96 -88
  258. package/dist/features/resource-assignment.js.map +1 -1
  259. package/dist/features/resource.js +11 -11
  260. package/dist/features/rich-text-editor.js +2 -2
  261. package/dist/features/schema-form.js +188 -184
  262. package/dist/features/schema-form.js.map +1 -1
  263. package/dist/features/suggestions.js +3 -3
  264. package/dist/features/sync.js +7 -7
  265. package/dist/features/sync.js.map +1 -1
  266. package/dist/features/table.js +1 -1
  267. package/dist/features/theme-tweaker.js +469 -470
  268. package/dist/features/theme-tweaker.js.map +1 -1
  269. package/dist/{feedback-CJkUAapr.js → feedback-C7nR0UtT.js} +9 -10
  270. package/dist/feedback-C7nR0UtT.js.map +1 -0
  271. package/dist/field-affordance-recipes-CkOCdE2y.js +46 -0
  272. package/dist/field-affordance-recipes-CkOCdE2y.js.map +1 -0
  273. package/dist/{field-state-recipes-DQQpiLWC.js → field-state-recipes-C-MFBX_8.js} +3 -3
  274. package/dist/field-state-recipes-C-MFBX_8.js.map +1 -0
  275. package/dist/{filters-D6FF8L6s.js → filters-Da-gNPsE.js} +467 -467
  276. package/dist/filters-Da-gNPsE.js.map +1 -0
  277. package/dist/{form-field-CZwrkP7m.js → form-field-VZRULhUK.js} +7 -7
  278. package/dist/{form-field-CZwrkP7m.js.map → form-field-VZRULhUK.js.map} +1 -1
  279. package/dist/form-sizing-uWP4lzVh.js +126 -0
  280. package/dist/form-sizing-uWP4lzVh.js.map +1 -0
  281. package/dist/{forms-B5NCbkSC.js → forms-DDeEnXSY.js} +11 -11
  282. package/dist/forms-DDeEnXSY.js.map +1 -0
  283. package/dist/forms-numeric-D3CO60IF.js +905 -0
  284. package/dist/forms-numeric-D3CO60IF.js.map +1 -0
  285. package/dist/{header-kxruN3RM.js → header-2ycNqGOR.js} +43 -42
  286. package/dist/header-2ycNqGOR.js.map +1 -0
  287. package/dist/{hooks-BrlnCwQd.js → hooks-DQ5SPwZw.js} +2 -2
  288. package/dist/{hooks-BrlnCwQd.js.map → hooks-DQ5SPwZw.js.map} +1 -1
  289. package/dist/{icon-badge-Btc6pQrp.js → icon-badge-DKlaKXoo.js} +3 -3
  290. package/dist/{icon-badge-Btc6pQrp.js.map → icon-badge-DKlaKXoo.js.map} +1 -1
  291. package/dist/index.js +2 -2
  292. package/dist/{input-vxcaNCYC.js → input-BoLm9Hks.js} +3 -3
  293. package/dist/{input-vxcaNCYC.js.map → input-BoLm9Hks.js.map} +1 -1
  294. package/dist/input-DhQdBnV3.js +255 -0
  295. package/dist/{input-SX9V0AL3.js.map → input-DhQdBnV3.js.map} +1 -1
  296. package/dist/item-xzh8Df65.js +264 -0
  297. package/dist/item-xzh8Df65.js.map +1 -0
  298. package/dist/layout/app-shell.js +1 -1
  299. package/dist/layout/auth.js +1 -1
  300. package/dist/layout/containers.js +1 -1
  301. package/dist/layout/header.js +1 -1
  302. package/dist/layout/hooks.js +1 -1
  303. package/dist/layout/navigation.js +1 -1
  304. package/dist/layout/page.js +1 -1
  305. package/dist/layout/settings.js +1 -1
  306. package/dist/layout/sidebar.js +2 -2
  307. package/dist/layout/workspace.js +1 -1
  308. package/dist/layout.js +10 -10
  309. package/dist/lib/affordance-geometry.generated.d.ts +6 -1
  310. package/dist/lib/field-affordance-recipes.d.ts +35 -0
  311. package/dist/lib/field-state-recipes.d.ts +4 -2
  312. package/dist/lib/format.d.ts +9 -0
  313. package/dist/lib/money-format.d.ts +30 -0
  314. package/dist/lib/overlay-anatomy-recipes.d.ts +1 -1
  315. package/dist/lib/surface-recipes.d.ts +8 -6
  316. package/dist/lib/token-merge.generated.d.ts +11 -11
  317. package/dist/lib/track-recipes.d.ts +1 -1
  318. package/dist/lib/ui-provider/provider.d.ts +7 -2
  319. package/dist/lib/ui-provider/store.d.ts +6 -2
  320. package/dist/lib/ui-provider/types.d.ts +5 -2
  321. package/dist/lib/utils.js +1 -1
  322. package/dist/{media-gallery-DLp3HAz0.js → media-gallery-DQUQ0m3O.js} +8 -8
  323. package/dist/media-gallery-DQUQ0m3O.js.map +1 -0
  324. package/dist/{mentions-Cl0Kt_Pd.js → mentions-DwnO1hh4.js} +34 -35
  325. package/dist/{mentions-Cl0Kt_Pd.js.map → mentions-DwnO1hh4.js.map} +1 -1
  326. package/dist/{message-SZUNB1eX.js → message-YfFmbXNP.js} +5 -5
  327. package/dist/{message-SZUNB1eX.js.map → message-YfFmbXNP.js.map} +1 -1
  328. package/dist/{navigation-DyytsLRB.js → navigation-Cbp5V8gG.js} +33 -34
  329. package/dist/navigation-Cbp5V8gG.js.map +1 -0
  330. package/dist/{navigation-DnQSNMT0.js → navigation-Cs1npsPm.js} +111 -87
  331. package/dist/navigation-Cs1npsPm.js.map +1 -0
  332. package/dist/{navigation-row-recipes-DQEXQcqY.js → navigation-row-recipes-DlU-4QYO.js} +2 -2
  333. package/dist/{navigation-row-recipes-DQEXQcqY.js.map → navigation-row-recipes-DlU-4QYO.js.map} +1 -1
  334. package/dist/number-CKRBYmZK.js +352 -0
  335. package/dist/number-CKRBYmZK.js.map +1 -0
  336. package/dist/overlay.recipes-CNO2S9V6.js +34 -0
  337. package/dist/overlay.recipes-CNO2S9V6.js.map +1 -0
  338. package/dist/overlays-DhZO7N-I.js +994 -0
  339. package/dist/overlays-DhZO7N-I.js.map +1 -0
  340. package/dist/page-C6R_8jFt.js +325 -0
  341. package/dist/page-C6R_8jFt.js.map +1 -0
  342. package/dist/{page-header-D8nERkn5.js → page-header-hUTzcRZX.js} +9 -9
  343. package/dist/page-header-hUTzcRZX.js.map +1 -0
  344. package/dist/{pagination-NLGqRirf.js → pagination-Cm0jqa3I.js} +8 -8
  345. package/dist/{pagination-NLGqRirf.js.map → pagination-Cm0jqa3I.js.map} +1 -1
  346. package/dist/{popover-CghIYdQf.js → popover-Dcv_9jxr.js} +6 -6
  347. package/dist/{popover-CghIYdQf.js.map → popover-Dcv_9jxr.js.map} +1 -1
  348. package/dist/{popover-menu-B4PoWhRl.js → popover-menu-DnRFKnHP.js} +6 -6
  349. package/dist/{popover-menu-B4PoWhRl.js.map → popover-menu-DnRFKnHP.js.map} +1 -1
  350. package/dist/{popover.recipes-QlD4JenO.js → popover.recipes-wmbvL8Ah.js} +2 -2
  351. package/dist/{popover.recipes-QlD4JenO.js.map → popover.recipes-wmbvL8Ah.js.map} +1 -1
  352. package/dist/primitives-BHrwQXFC.js +379 -0
  353. package/dist/primitives-BHrwQXFC.js.map +1 -0
  354. package/dist/primitives.js +5 -5
  355. package/dist/{progress-BroqrAyV.js → progress-Br9WTFya.js} +7 -7
  356. package/dist/progress-Br9WTFya.js.map +1 -0
  357. package/dist/{receipt-BuJynLgf.js → receipt-CV89q1fs.js} +6 -6
  358. package/dist/{receipt-BuJynLgf.js.map → receipt-CV89q1fs.js.map} +1 -1
  359. package/dist/{rich-text-editor-BKyG7rWz.js → rich-text-editor-CF8QYt5p.js} +6 -6
  360. package/dist/{rich-text-editor-BKyG7rWz.js.map → rich-text-editor-CF8QYt5p.js.map} +1 -1
  361. package/dist/{rich-text-editor.recipes-B72Nfuze.js → rich-text-editor.recipes-CnrbmTS1.js} +4 -4
  362. package/dist/{rich-text-editor.recipes-B72Nfuze.js.map → rich-text-editor.recipes-CnrbmTS1.js.map} +1 -1
  363. package/dist/{rich-text-DlxDOtf4.js → rich-text-j-FGAeZW.js} +4 -4
  364. package/dist/{rich-text-DlxDOtf4.js.map → rich-text-j-FGAeZW.js.map} +1 -1
  365. package/dist/{scroll-area-D-pIhEKl.js → scroll-area-DRdr16Pt.js} +3 -3
  366. package/dist/scroll-area-DRdr16Pt.js.map +1 -0
  367. package/dist/{separator-BhtFyo4x.js → separator-BMEvwnSX.js} +2 -2
  368. package/dist/{separator-BhtFyo4x.js.map → separator-BMEvwnSX.js.map} +1 -1
  369. package/dist/{separator-BNIgG3au.js → separator-Do5GWDYi.js} +4 -4
  370. package/dist/separator-Do5GWDYi.js.map +1 -0
  371. package/dist/services/actions/action-adapters.d.ts +4 -0
  372. package/dist/services/actions.js +8 -3
  373. package/dist/services/actions.js.map +1 -1
  374. package/dist/{settings-DOTOzeZ2.js → settings-DHk0L2MF.js} +17 -17
  375. package/dist/settings-DHk0L2MF.js.map +1 -0
  376. package/dist/sheet-DRFNY1_D.js +207 -0
  377. package/dist/sheet-DRFNY1_D.js.map +1 -0
  378. package/dist/sidebar-Cb8WzOvE.js +511 -0
  379. package/dist/sidebar-Cb8WzOvE.js.map +1 -0
  380. package/dist/{sidebar-CyR4XKwR.js → sidebar-Crc9M9JV.js} +18 -18
  381. package/dist/sidebar-Crc9M9JV.js.map +1 -0
  382. package/dist/{skeleton-3F0uhYn3.js → skeleton-DVMXr15h.js} +4 -4
  383. package/dist/{skeleton-3F0uhYn3.js.map → skeleton-DVMXr15h.js.map} +1 -1
  384. package/dist/{smart-card-DjGVV2xr.js → smart-card-Bek-TwUp.js} +222 -207
  385. package/dist/smart-card-Bek-TwUp.js.map +1 -0
  386. package/dist/{spinner-Cpf7oRkF.js → spinner-CmTAbEp0.js} +8 -6
  387. package/dist/spinner-CmTAbEp0.js.map +1 -0
  388. package/dist/{structure-CRdqVawd.js → structure-hzCW-XsV.js} +3 -3
  389. package/dist/{structure-CRdqVawd.js.map → structure-hzCW-XsV.js.map} +1 -1
  390. package/dist/{structure.recipes-Bqhf9oIh.js → structure.recipes-EPz60cU8.js} +37 -19
  391. package/dist/structure.recipes-EPz60cU8.js.map +1 -0
  392. package/dist/style.css +1 -1
  393. package/dist/surface-recipes-DOdoBXGm.js +28 -0
  394. package/dist/surface-recipes-DOdoBXGm.js.map +1 -0
  395. package/dist/table-D6zKeYQX.js +162 -0
  396. package/dist/table-D6zKeYQX.js.map +1 -0
  397. package/dist/{table-CcRDZiLP.js → table-Dn4XSrSB.js} +348 -348
  398. package/dist/table-Dn4XSrSB.js.map +1 -0
  399. package/dist/{tabs-BNgu7g0u.js → tabs-Dk8E_knt.js} +14 -13
  400. package/dist/tabs-Dk8E_knt.js.map +1 -0
  401. package/dist/{text-inputs-DsR56TR-.js → text-inputs-BFpku0Qd.js} +150 -149
  402. package/dist/text-inputs-BFpku0Qd.js.map +1 -0
  403. package/dist/{text.styles-Q4sGAIgA.js → text.styles-g4He6UIW.js} +17 -14
  404. package/dist/text.styles-g4He6UIW.js.map +1 -0
  405. package/dist/theme.css +16 -12
  406. package/dist/themes/green.css +24 -0
  407. package/dist/{timelines-D1pkt3se.js → timelines-CxuAFIc2.js} +25 -38
  408. package/dist/timelines-CxuAFIc2.js.map +1 -0
  409. package/dist/track-recipes-CDcKmndW.js +10 -0
  410. package/dist/track-recipes-CDcKmndW.js.map +1 -0
  411. package/dist/{tree-BtmYyMZV.js → tree-BotPlyiD.js} +13 -13
  412. package/dist/{tree-BtmYyMZV.js.map → tree-BotPlyiD.js.map} +1 -1
  413. package/dist/typography/rich-text.js +1 -1
  414. package/dist/typography-CAr3dQhX.js +116 -0
  415. package/dist/typography-CAr3dQhX.js.map +1 -0
  416. package/dist/typography.js +2 -2
  417. package/dist/{ui-provider-DRPn3qNl.js → ui-provider-D2_TeLqw.js} +20 -21
  418. package/dist/ui-provider-D2_TeLqw.js.map +1 -0
  419. package/dist/ui-provider.js +1 -1
  420. package/dist/{upload-CDbYw1WN.js → upload-B0WHW7ak.js} +221 -220
  421. package/dist/upload-B0WHW7ak.js.map +1 -0
  422. package/dist/{upload-queue-CNd_hH_a.js → upload-queue-BHZ_wBfd.js} +59 -62
  423. package/dist/upload-queue-BHZ_wBfd.js.map +1 -0
  424. package/dist/{usage-card-VyJLUwRr.js → usage-card-U0YBLTNT.js} +42 -43
  425. package/dist/{usage-card-VyJLUwRr.js.map → usage-card-U0YBLTNT.js.map} +1 -1
  426. package/dist/{utils-BvH9PSmq.js → utils-Cospvlj1.js} +221 -51
  427. package/dist/utils-Cospvlj1.js.map +1 -0
  428. package/dist/value-inputs-CjfzGMsN.js +854 -0
  429. package/dist/value-inputs-CjfzGMsN.js.map +1 -0
  430. package/dist/value-typography-Deb3yQZg.js +116 -0
  431. package/dist/value-typography-Deb3yQZg.js.map +1 -0
  432. package/dist/{workspace-CcR8r-Nt.js → workspace-YoFjXi6i.js} +44 -45
  433. package/dist/workspace-YoFjXi6i.js.map +1 -0
  434. package/docs/consumer-skill/SKILL.md +51 -38
  435. package/docs/consumer-skill/examples/app-layout.tsx +2 -4
  436. package/docs/consumer-skill/examples/detail.tsx +3 -4
  437. package/docs/consumer-skill/examples/edit.tsx +1 -1
  438. package/docs/consumer-skill/examples/layout-blocks.tsx +20 -0
  439. package/docs/consumer-skill/examples/manifest.json +28 -6
  440. package/docs/consumer-skill/examples/scoped-directory.tsx +2 -2
  441. package/docs/consumer-skill/references/composition.md +89 -17
  442. package/docs/consumer-skill/references/discovery.md +4 -0
  443. package/docs/consumer-skill/references/installation.md +22 -0
  444. package/docs/consumer-skill/references/integration.md +32 -1
  445. package/docs/consumer-skill/references/public-api.json +111 -70
  446. package/docs/consumer-skill/references/review.md +20 -4
  447. package/docs/consumer-skill/references/theming.md +7 -1
  448. package/docs/consumer-skill/references/tokens.json +5 -2
  449. package/docs/consumer-skill/references/workflows.md +4 -2
  450. package/docs/consumer-skill/scripts/composition-policy.mjs +93 -2
  451. package/docs/consumer-skill/scripts/discovery.mjs +11 -3
  452. package/docs/consumer-skill/scripts/pin-button-defaults.mjs +95 -0
  453. package/package.json +5 -3
  454. package/dist/accordion-BRTcsp8J.js.map +0 -1
  455. package/dist/action-menu-Drxw_vJk.js +0 -265
  456. package/dist/action-menu-Drxw_vJk.js.map +0 -1
  457. package/dist/affordance-geometry.generated-CL84ZN9A.js.map +0 -1
  458. package/dist/ai-artifact-DLVdK0Py.js.map +0 -1
  459. package/dist/avatar-Bu2HhitA.js.map +0 -1
  460. package/dist/badge-CzId1Wlm.js.map +0 -1
  461. package/dist/button-BZDasD04.js.map +0 -1
  462. package/dist/buttons-D_6KJvEE.js.map +0 -1
  463. package/dist/chart-Bsc5BICK.js.map +0 -1
  464. package/dist/checkbox-BQNDjUCh.js +0 -34
  465. package/dist/checkbox-BQNDjUCh.js.map +0 -1
  466. package/dist/choice-inputs-Mk3iWbhr.js +0 -725
  467. package/dist/choice-inputs-Mk3iWbhr.js.map +0 -1
  468. package/dist/combobox-BFnbJJp3.js.map +0 -1
  469. package/dist/combobox-hozNwUcc.js.map +0 -1
  470. package/dist/command-BnmSchli.js.map +0 -1
  471. package/dist/comments-u5L0OGip.js.map +0 -1
  472. package/dist/data-display-Bihs9Ven.js.map +0 -1
  473. package/dist/date-DOKhJPu7.js +0 -140
  474. package/dist/date-DOKhJPu7.js.map +0 -1
  475. package/dist/date-picker-DzP5HQq7.js +0 -1541
  476. package/dist/date-picker-DzP5HQq7.js.map +0 -1
  477. package/dist/date-pickers-BpgGz7S-.js +0 -196
  478. package/dist/date-pickers-BpgGz7S-.js.map +0 -1
  479. package/dist/display-CS6Hbk18.js.map +0 -1
  480. package/dist/dropdown-menu-D-boNgGO.js.map +0 -1
  481. package/dist/feedback-CJkUAapr.js.map +0 -1
  482. package/dist/field-affordance-recipes-uKY4MsZ_.js +0 -25
  483. package/dist/field-affordance-recipes-uKY4MsZ_.js.map +0 -1
  484. package/dist/field-state-recipes-DQQpiLWC.js.map +0 -1
  485. package/dist/filters-D6FF8L6s.js.map +0 -1
  486. package/dist/form-sizing-QP8aIRaW.js +0 -103
  487. package/dist/form-sizing-QP8aIRaW.js.map +0 -1
  488. package/dist/format-iamDSqs2.js +0 -110
  489. package/dist/format-iamDSqs2.js.map +0 -1
  490. package/dist/forms-B5NCbkSC.js.map +0 -1
  491. package/dist/forms-numeric-Crrm80Lm.js +0 -867
  492. package/dist/forms-numeric-Crrm80Lm.js.map +0 -1
  493. package/dist/header-kxruN3RM.js.map +0 -1
  494. package/dist/input-SX9V0AL3.js +0 -255
  495. package/dist/item-DE4YnuJx.js +0 -258
  496. package/dist/item-DE4YnuJx.js.map +0 -1
  497. package/dist/media-gallery-DLp3HAz0.js.map +0 -1
  498. package/dist/navigation-DnQSNMT0.js.map +0 -1
  499. package/dist/navigation-DyytsLRB.js.map +0 -1
  500. package/dist/number-DasMFWEG.js +0 -269
  501. package/dist/number-DasMFWEG.js.map +0 -1
  502. package/dist/overlay.recipes-BxW5FIfK.js +0 -6
  503. package/dist/overlay.recipes-BxW5FIfK.js.map +0 -1
  504. package/dist/overlays-DUbs1KEi.js +0 -1011
  505. package/dist/overlays-DUbs1KEi.js.map +0 -1
  506. package/dist/page-hGmT4nWK.js +0 -213
  507. package/dist/page-hGmT4nWK.js.map +0 -1
  508. package/dist/page-header-D8nERkn5.js.map +0 -1
  509. package/dist/primitives-C7ff0QaI.js +0 -337
  510. package/dist/primitives-C7ff0QaI.js.map +0 -1
  511. package/dist/progress-BroqrAyV.js.map +0 -1
  512. package/dist/scroll-area-D-pIhEKl.js.map +0 -1
  513. package/dist/separator-BNIgG3au.js.map +0 -1
  514. package/dist/settings-DOTOzeZ2.js.map +0 -1
  515. package/dist/sheet-BFhrNehm.js +0 -205
  516. package/dist/sheet-BFhrNehm.js.map +0 -1
  517. package/dist/sidebar-CyR4XKwR.js.map +0 -1
  518. package/dist/sidebar-SvGJ0Zwi.js +0 -506
  519. package/dist/sidebar-SvGJ0Zwi.js.map +0 -1
  520. package/dist/smart-card-DjGVV2xr.js.map +0 -1
  521. package/dist/spinner-Cpf7oRkF.js.map +0 -1
  522. package/dist/structure.recipes-Bqhf9oIh.js.map +0 -1
  523. package/dist/surface-recipes-Dd__PD-w.js +0 -28
  524. package/dist/surface-recipes-Dd__PD-w.js.map +0 -1
  525. package/dist/table-CLtJTxoR.js +0 -147
  526. package/dist/table-CLtJTxoR.js.map +0 -1
  527. package/dist/table-CcRDZiLP.js.map +0 -1
  528. package/dist/tabs-BNgu7g0u.js.map +0 -1
  529. package/dist/text-inputs-DsR56TR-.js.map +0 -1
  530. package/dist/text.styles-Q4sGAIgA.js.map +0 -1
  531. package/dist/timelines-D1pkt3se.js.map +0 -1
  532. package/dist/track-recipes-LLPNVwFg.js +0 -10
  533. package/dist/track-recipes-LLPNVwFg.js.map +0 -1
  534. package/dist/typography-BxQgiZyw.js +0 -96
  535. package/dist/typography-BxQgiZyw.js.map +0 -1
  536. package/dist/ui-provider-DRPn3qNl.js.map +0 -1
  537. package/dist/upload-CDbYw1WN.js.map +0 -1
  538. package/dist/upload-queue-CNd_hH_a.js.map +0 -1
  539. package/dist/utils-BvH9PSmq.js.map +0 -1
  540. package/dist/value-inputs-D0KCrfVC.js +0 -840
  541. package/dist/value-inputs-D0KCrfVC.js.map +0 -1
  542. package/dist/workspace-CcR8r-Nt.js.map +0 -1
@@ -1,25 +1,25 @@
1
1
  "use client";
2
- import { _ as e, i as t, s as n } from "./ui-provider-DRPn3qNl.js";
2
+ import { _ as e, i as t, s as n } from "./ui-provider-D2_TeLqw.js";
3
3
  import { useStrings as r } from "./lib/strings.js";
4
- import { t as i } from "./utils-BvH9PSmq.js";
5
- import { a } from "./typography-BxQgiZyw.js";
6
- import { a as o, c as s, o as c, t as l } from "./button-BZDasD04.js";
7
- import { n as u } from "./structure.recipes-Bqhf9oIh.js";
8
- import { t as d } from "./structure-CRdqVawd.js";
9
- import { t as f } from "./icon-size-B6PVwjbC.js";
10
- import { n as p } from "./surface-recipes-Dd__PD-w.js";
11
- import { n as m } from "./action-menu-Drxw_vJk.js";
12
- import { Fragment as h, forwardRef as g, isValidElement as _, useCallback as v, useState as ee } from "react";
13
- import { jsx as y, jsxs as b } from "react/jsx-runtime";
14
- import { ChevronDown as te, Info as x, MoreHorizontal as S } from "lucide-react";
15
- import { cva as C } from "class-variance-authority";
4
+ import { t as i } from "./utils-Cospvlj1.js";
5
+ import { c as a, s as o } from "./typography-CAr3dQhX.js";
6
+ import { a as s, c, o as l, t as u } from "./button-BS3KDg00.js";
7
+ import { n as d } from "./structure.recipes-EPz60cU8.js";
8
+ import { t as f } from "./structure-hzCW-XsV.js";
9
+ import { t as p } from "./icon-size-B6PVwjbC.js";
10
+ import { n as m } from "./surface-recipes-DOdoBXGm.js";
11
+ import { n as ee } from "./action-menu-BTpyPWJ2.js";
12
+ import { Fragment as h, forwardRef as g, isValidElement as _, useCallback as te, useState as ne } from "react";
13
+ import { jsx as v, jsxs as y } from "react/jsx-runtime";
14
+ import { ChevronDown as re, Info as b, MoreHorizontal as x } from "lucide-react";
15
+ import { cva as S } from "class-variance-authority";
16
16
  //#region src/components/base/feedback/alert.tsx
17
- var w = C([
18
- "alert--component relative grid w-full grid-cols-[0_1fr] items-start gap-y-normal rounded-radius border p-surface text-left",
17
+ var C = S([
18
+ "alert--component relative grid w-full grid-cols-[0_1fr] items-start gap-y-normal rounded-radius border p-surface text-start",
19
19
  "has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-space-sm",
20
20
  "has-[>[data-slot=alert-action]]:sm:grid-cols-[0_minmax(0,1fr)_auto] has-[>svg]:has-[>[data-slot=alert-action]]:sm:grid-cols-[auto_minmax(0,1fr)_auto] has-[>[data-slot=alert-action]]:gap-x-space-sm",
21
- "[&>svg]:row-span-2 [&>svg]:mt-[calc((1em*1.375-var(--spacing-icon))/2)] [&>svg]:shrink-0",
22
- f.md
21
+ "[&>svg]:row-span-2 [&>svg]:mt-[calc((1em*1.375-var(--icon))/2)] [&>svg]:shrink-0",
22
+ p.md
23
23
  ], {
24
24
  variants: {
25
25
  tone: {
@@ -50,31 +50,31 @@ var w = C([
50
50
  variant: "default"
51
51
  }
52
52
  });
53
- function T(e) {
53
+ function w(e) {
54
54
  return typeof e == "string" || typeof e == "number" || typeof e == "bigint";
55
55
  }
56
- var E = g(function({ className: e, tone: t, variant: n, role: r = "alert", ...a }, o) {
57
- return /* @__PURE__ */ y("div", {
56
+ var T = g(function({ className: e, tone: t, variant: n, role: r = "alert", ...a }, o) {
57
+ return /* @__PURE__ */ v("div", {
58
58
  ref: o,
59
59
  "data-slot": "alert",
60
60
  "data-tone": t ?? "neutral",
61
61
  "data-variant": n ?? "default",
62
62
  role: r,
63
- className: i(w({
63
+ className: i(C({
64
64
  tone: t,
65
65
  variant: n
66
66
  }), e),
67
67
  ...a
68
68
  });
69
69
  });
70
- E.displayName = "Alert";
71
- var D = g(function({ className: e, children: t, ...n }, r) {
72
- return /* @__PURE__ */ y("div", {
70
+ T.displayName = "Alert";
71
+ var E = g(function({ className: e, children: t, ...n }, r) {
72
+ return /* @__PURE__ */ v("div", {
73
73
  ref: r,
74
74
  "data-slot": "alert-title",
75
75
  className: i("alert--title col-start-2 min-h-icon leading-snug [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:opacity-80", e),
76
76
  ...n,
77
- children: T(t) ? /* @__PURE__ */ y(a, {
77
+ children: w(t) ? /* @__PURE__ */ v(o, {
78
78
  tag: "span",
79
79
  weight: "semibold",
80
80
  lineHeight: "snug",
@@ -82,44 +82,44 @@ var D = g(function({ className: e, children: t, ...n }, r) {
82
82
  }) : t
83
83
  });
84
84
  });
85
- D.displayName = "AlertTitle";
86
- var O = g(function({ className: e, children: t, ...n }, r) {
87
- return /* @__PURE__ */ y(d, {
85
+ E.displayName = "AlertTitle";
86
+ var D = g(function({ className: e, children: t, ...n }, r) {
87
+ return /* @__PURE__ */ v(f, {
88
88
  ref: r,
89
89
  "data-slot": "alert-description",
90
90
  gap: "xs",
91
91
  align: "start",
92
92
  className: i("alert--description col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:opacity-80 [&_p]:leading-relaxed", e),
93
93
  ...n,
94
- children: T(t) ? /* @__PURE__ */ y(a, {
94
+ children: w(t) ? /* @__PURE__ */ v(o, {
95
95
  tag: "span",
96
96
  type: "secondary",
97
97
  children: t
98
98
  }) : t
99
99
  });
100
100
  });
101
- O.displayName = "AlertDescription";
102
- var k = g(function({ className: e, ...t }, n) {
103
- return /* @__PURE__ */ y("dl", {
101
+ D.displayName = "AlertDescription";
102
+ var ie = g(function({ className: e, ...t }, n) {
103
+ return /* @__PURE__ */ v("dl", {
104
104
  ref: n,
105
105
  "data-slot": "alert-metadata",
106
106
  className: i("alert-metadata--component alert--metadata col-start-2 mt-space-xs flex min-w-0 flex-wrap items-center gap-x-space-md gap-y-space-xs", e),
107
107
  ...t
108
108
  });
109
109
  });
110
- k.displayName = "AlertMetadata";
111
- var A = g(function({ className: e, icon: t, label: n, value: r, numeric: o = !1, ...s }, c) {
112
- return /* @__PURE__ */ b("div", {
110
+ ie.displayName = "AlertMetadata";
111
+ var O = g(function({ className: e, icon: t, label: n, value: r, numeric: a = !1, ...s }, c) {
112
+ return /* @__PURE__ */ y("div", {
113
113
  ref: c,
114
114
  "data-slot": "alert-metadata-item",
115
115
  className: i("alert-metadata-item--component alert--metadata-item inline-flex max-w-full min-w-0 items-center gap-space-sm rounded-radius-sm bg-muted/60 px-control-xs py-space-xs", "[&>svg]:size-icon-sm [&>svg]:shrink-0 [&>svg]:text-muted-foreground", e),
116
116
  ...s,
117
117
  children: [
118
118
  t,
119
- /* @__PURE__ */ y("dt", {
119
+ /* @__PURE__ */ v("dt", {
120
120
  "data-slot": "alert-metadata-label",
121
121
  className: "alert--metadata-label shrink-0",
122
- children: T(n) ? /* @__PURE__ */ y(a, {
122
+ children: w(n) ? /* @__PURE__ */ v(o, {
123
123
  tag: "span",
124
124
  size: "xs",
125
125
  type: "secondary",
@@ -127,24 +127,23 @@ var A = g(function({ className: e, icon: t, label: n, value: r, numeric: o = !1,
127
127
  children: n
128
128
  }) : n
129
129
  }),
130
- /* @__PURE__ */ y("dd", {
130
+ /* @__PURE__ */ v("dd", {
131
131
  "data-slot": "alert-metadata-value",
132
132
  className: "alert--metadata-value m-0 min-w-0",
133
- children: T(r) ? /* @__PURE__ */ y(a, {
133
+ children: w(r) ? /* @__PURE__ */ v(o, {
134
134
  tag: "span",
135
135
  size: "xs",
136
136
  weight: "semibold",
137
- numeric: o,
138
- className: "break-words leading-none",
137
+ className: i("break-words leading-none", a && "tabular-nums"),
139
138
  children: r
140
139
  }) : r
141
140
  })
142
141
  ]
143
142
  });
144
143
  });
145
- A.displayName = "AlertMetadataItem";
146
- var j = g(function({ className: e, ...t }, n) {
147
- return /* @__PURE__ */ y(d, {
144
+ O.displayName = "AlertMetadataItem";
145
+ var k = g(function({ className: e, ...t }, n) {
146
+ return /* @__PURE__ */ v(f, {
148
147
  ref: n,
149
148
  direction: "horizontal",
150
149
  align: "center",
@@ -159,47 +158,47 @@ var j = g(function({ className: e, ...t }, n) {
159
158
  ...t
160
159
  });
161
160
  });
162
- j.displayName = "AlertAction";
161
+ k.displayName = "AlertAction";
163
162
  //#endregion
164
163
  //#region src/components/ui/card.tsx
165
- function M({ className: e, size: t = "default", ...n }) {
166
- return /* @__PURE__ */ y("div", {
164
+ function A({ className: e, size: t = "default", ...n }) {
165
+ return /* @__PURE__ */ v("div", {
167
166
  "data-slot": "card",
168
167
  "data-size": t,
169
168
  className: i("card--primitive", e),
170
169
  ...n
171
170
  });
172
171
  }
173
- function ne({ className: e, ...t }) {
174
- return /* @__PURE__ */ y("div", {
172
+ function j({ className: e, ...t }) {
173
+ return /* @__PURE__ */ v("div", {
175
174
  "data-slot": "card-header",
176
175
  className: i("card-header--primitive", e),
177
176
  ...t
178
177
  });
179
178
  }
180
- function re({ className: e, ...t }) {
181
- return /* @__PURE__ */ y("div", {
179
+ function M({ className: e, ...t }) {
180
+ return /* @__PURE__ */ v("div", {
182
181
  "data-slot": "card-title",
183
182
  className: i("card-title--primitive", e),
184
183
  ...t
185
184
  });
186
185
  }
187
- function N({ className: e, ...t }) {
188
- return /* @__PURE__ */ y("div", {
186
+ function ae({ className: e, ...t }) {
187
+ return /* @__PURE__ */ v("div", {
189
188
  "data-slot": "card-description",
190
189
  className: i("card-description--primitive", e),
191
190
  ...t
192
191
  });
193
192
  }
194
- function P({ className: e, ...t }) {
195
- return /* @__PURE__ */ y("div", {
193
+ function oe({ className: e, ...t }) {
194
+ return /* @__PURE__ */ v("div", {
196
195
  "data-slot": "card-content",
197
196
  className: i("card-content--primitive", e),
198
197
  ...t
199
198
  });
200
199
  }
201
- function ie({ className: e, ...t }) {
202
- return /* @__PURE__ */ y("div", {
200
+ function se({ className: e, ...t }) {
201
+ return /* @__PURE__ */ v("div", {
203
202
  "data-slot": "card-footer",
204
203
  className: i("card-footer--primitive", e),
205
204
  ...t
@@ -207,27 +206,27 @@ function ie({ className: e, ...t }) {
207
206
  }
208
207
  //#endregion
209
208
  //#region src/components/base/cards/card.recipes.ts
210
- var F = {
209
+ var N = {
211
210
  none: "p-0",
212
211
  sm: "p-surface-xs",
213
212
  md: "p-surface",
214
213
  lg: "p-surface-lg"
215
- }, I = {
214
+ }, P = {
216
215
  root: "flex flex-col w-full font-sans rounded-radius box-border overflow-hidden py-surface gap-space-xl transition-[background-color,border-color,box-shadow] duration-150",
217
216
  shell: "@container/card flex flex-col w-full font-sans rounded-radius box-border overflow-hidden py-surface gap-space-xl transition-[background-color,border-color,box-shadow] duration-150",
218
- surfaceCard: `bg-card ${p.frame.shell} shadow-sm text-card-foreground`,
219
- surfaceDefault: `bg-card ${p.frame.shell} shadow-sm text-card-foreground`,
217
+ surfaceCard: `bg-card ${m.frame.shell} shadow-sm text-card-foreground`,
218
+ surfaceDefault: `bg-card ${m.frame.shell} shadow-sm text-card-foreground`,
220
219
  surfaceFlat: "bg-transparent border-0 shadow-none text-foreground",
221
- surfaceFramed: `bg-card ${p.frame.shell} shadow-sm ring-4 ring-border/30 text-card-foreground`,
222
- surfaceRaised: `bg-card ${p.frame.shell} shadow-md text-card-foreground`,
223
- surfaceSunken: `bg-muted ${p.frame.shell} text-foreground`,
220
+ surfaceFramed: `bg-card ${m.frame.shell} shadow-sm ring-4 ring-border/30 text-card-foreground`,
221
+ surfaceRaised: `bg-card ${m.frame.shell} shadow-md text-card-foreground`,
222
+ surfaceSunken: `bg-muted ${m.frame.shell} text-foreground`,
224
223
  header: "flex flex-col gap-normal px-surface box-border",
225
224
  headerRow: "flex-row flex-wrap items-start justify-between gap-space-lg pb-0",
226
225
  headerRowSingle: "items-center",
227
226
  headerLeading: "min-w-0 max-w-full flex-1 basis-64",
228
227
  headerLeadingSingle: "basis-36",
229
228
  headerTrailing: "flex max-w-full flex-wrap shrink-0 items-center gap-space-md",
230
- headerDivider: `${p.frame.header} [&.border-b]:!pb-surface`,
229
+ headerDivider: `${m.frame.header} [&.border-b]:!pb-surface`,
231
230
  title: "min-w-0 leading-tight text-card-foreground",
232
231
  titleSm: "text-sm",
233
232
  titleMd: "text-base",
@@ -235,11 +234,11 @@ var F = {
235
234
  description: "text-sm text-muted-foreground leading-normal",
236
235
  content: "px-surface box-border min-w-0",
237
236
  footer: "flex items-center px-surface box-border",
238
- footerDivider: `${p.frame.footer} [&.border-t]:!pt-surface`,
237
+ footerDivider: `${m.frame.footer} [&.border-t]:!pt-surface`,
239
238
  alert: "px-surface",
240
239
  alertWithHeader: "-mt-space-xs",
241
240
  expandToggle: "flex justify-center pb-surface -mt-space-md"
242
- }, L = {
241
+ }, F = {
243
242
  root: "card--component",
244
243
  header: "card--header",
245
244
  title: "card--title",
@@ -250,134 +249,142 @@ var F = {
250
249
  collapseFade: "card--collapse-fade",
251
250
  expandToggle: "card--expand-toggle",
252
251
  expandToggleButton: "card--expand-toggle-button"
253
- }, R = {
254
- shell: I.shell,
252
+ }, I = {
253
+ shell: P.shell,
255
254
  headerX: "px-surface",
256
- headerDividerY: I.headerDivider,
257
- contentX: I.content,
255
+ headerDividerY: P.headerDivider,
256
+ contentX: P.content,
258
257
  contentY: "",
259
- footerX: I.footer,
260
- footerDividerY: I.footerDivider,
261
- alertX: I.alert,
258
+ footerX: P.footer,
259
+ footerDividerY: P.footerDivider,
260
+ alertX: P.alert,
262
261
  expandableBottom: "pb-surface",
263
- alertOffsetWithHeader: I.alertWithHeader,
262
+ alertOffsetWithHeader: P.alertWithHeader,
264
263
  alertOffsetStandalone: ""
265
- }, ae = {
266
- card: I.surfaceCard,
267
- flat: I.surfaceFlat,
268
- framed: I.surfaceFramed
264
+ }, ce = {
265
+ card: P.surfaceCard,
266
+ flat: P.surfaceFlat,
267
+ framed: P.surfaceFramed
269
268
  };
270
269
  //#endregion
271
270
  //#region src/components/base/cards/partials/has-renderable-content.ts
272
- function z(e) {
273
- return e == null || typeof e == "boolean" ? !1 : typeof e == "string" ? e.trim().length > 0 : typeof e == "number" || typeof e == "bigint" ? !0 : Array.isArray(e) ? e.some(z) : !_(e) || e.type !== h || z(e.props.children);
271
+ function L(e) {
272
+ return e == null || typeof e == "boolean" ? !1 : typeof e == "string" ? e.trim().length > 0 : typeof e == "number" || typeof e == "bigint" ? !0 : Array.isArray(e) ? e.some(L) : !_(e) || e.type !== h || L(e.props.children);
274
273
  }
275
274
  //#endregion
276
275
  //#region src/components/base/cards/partials/card-primitives.tsx
277
- var oe = {
278
- sm: I.titleSm,
279
- md: I.titleMd,
280
- lg: I.titleLg
281
- }, se = {
276
+ var R = {
277
+ sm: P.titleSm,
278
+ md: P.titleMd,
279
+ lg: P.titleLg
280
+ }, z = {
282
281
  sm: "sm",
283
282
  md: "base",
284
283
  lg: "lg"
285
284
  };
286
- function ce({ className: e, ...t }) {
287
- return /* @__PURE__ */ y(M, {
288
- className: i(L.root, I.shell, e),
285
+ function le({ className: e, ...t }) {
286
+ return /* @__PURE__ */ v(A, {
287
+ className: i(F.root, P.shell, e),
289
288
  ...t
290
289
  });
291
290
  }
292
291
  function B({ className: e, textGap: t = "normal", padding: n, ...r }) {
293
- return /* @__PURE__ */ y(ne, {
294
- className: i(L.header, I.header, n !== void 0 && F[n], t === "dense" ? "gap-dense" : "gap-normal", e),
292
+ return /* @__PURE__ */ v(j, {
293
+ className: i(F.header, P.header, n !== void 0 && N[n], t === "dense" ? "gap-dense" : "gap-normal", e),
295
294
  ...r
296
295
  });
297
296
  }
298
- function V({ className: t, children: r, size: o, ...s }) {
299
- let { defaultScale: c } = n(), l = e(o, c);
300
- return z(r) ? typeof r != "string" && typeof r != "number" && typeof r != "bigint" ? /* @__PURE__ */ y(re, {
301
- className: i(L.title, I.title, "font-medium", oe[l], t),
297
+ function ue({ className: t, children: r, size: a, ...s }) {
298
+ let { defaultScale: c } = n(), l = e(a, c);
299
+ return L(r) ? typeof r != "string" && typeof r != "number" && typeof r != "bigint" ? /* @__PURE__ */ v(M, {
300
+ className: i(F.title, P.title, "font-medium", R[l], t),
302
301
  ...s,
303
302
  children: r
304
- }) : /* @__PURE__ */ y(a, {
303
+ }) : /* @__PURE__ */ v(o, {
305
304
  "data-slot": "card-title",
306
305
  tag: "div",
307
- size: se[l],
306
+ size: z[l],
308
307
  weight: "semibold",
309
308
  lineHeight: "tight",
310
- className: i(L.title, I.title, t),
309
+ className: i(F.title, P.title, t),
311
310
  ...s,
312
311
  children: r
313
312
  }) : null;
314
313
  }
315
- function le({ className: e, children: t, ...n }) {
316
- return z(t) ? typeof t != "string" && typeof t != "number" && typeof t != "bigint" ? /* @__PURE__ */ y(N, {
317
- className: i(L.description, I.description, e),
314
+ function V({ className: e, children: t, ...n }) {
315
+ return L(t) ? typeof t != "string" && typeof t != "number" && typeof t != "bigint" ? /* @__PURE__ */ v(ae, {
316
+ className: i(F.description, P.description, e),
318
317
  ...n,
319
- children: t
320
- }) : /* @__PURE__ */ y(a, {
318
+ children: /* @__PURE__ */ v(a.Provider, {
319
+ value: !0,
320
+ children: t
321
+ })
322
+ }) : /* @__PURE__ */ v(o, {
321
323
  "data-slot": "card-description",
322
324
  tag: "div",
323
325
  type: "secondary",
324
- className: i(L.description, e),
326
+ className: i(F.description, e),
325
327
  ...n,
326
328
  children: t
327
329
  }) : null;
328
330
  }
329
- function ue({ className: e, padding: t, ...n }) {
330
- return /* @__PURE__ */ y(P, {
331
- className: i(L.content, I.content, t !== void 0 && F[t], e),
331
+ function de({ className: e, padding: t, ...n }) {
332
+ return /* @__PURE__ */ v(oe, {
333
+ className: i(F.content, P.content, t !== void 0 && N[t], e),
332
334
  ...n
333
335
  });
334
336
  }
335
- function de({ className: e, padding: t, ...n }) {
336
- return /* @__PURE__ */ y(ie, {
337
- className: i(L.footer, I.footer, t !== void 0 && F[t], e),
337
+ function fe({ className: e, padding: t, ...n }) {
338
+ return /* @__PURE__ */ v(se, {
339
+ className: i(F.footer, P.footer, t !== void 0 && N[t], e),
338
340
  ...n
339
341
  });
340
342
  }
341
343
  //#endregion
342
344
  //#region src/components/base/cards/partials/smart-card-alert.tsx
343
- function fe({ alert: e, alertTone: t, hasHeader: n, className: r }) {
344
- return /* @__PURE__ */ y("div", {
345
- className: i(L.alert, R.alertX, r, n ? R.alertOffsetWithHeader : R.alertOffsetStandalone),
346
- children: /* @__PURE__ */ y(E, {
345
+ function pe({ alert: e, alertTone: t, hasHeader: n, className: r }) {
346
+ return /* @__PURE__ */ v("div", {
347
+ className: i(F.alert, I.alertX, r, n ? I.alertOffsetWithHeader : I.alertOffsetStandalone),
348
+ children: /* @__PURE__ */ v(T, {
347
349
  tone: t,
348
- children: /* @__PURE__ */ y(O, { children: e })
350
+ children: /* @__PURE__ */ v(D, { children: e })
349
351
  })
350
352
  });
351
353
  }
352
354
  //#endregion
353
355
  //#region src/components/base/display/surface-title.tsx
354
- function H({ title: e, suffix: t, size: n = "base", className: r, suffixClassName: o, dataSlot: s }) {
355
- return /* @__PURE__ */ b(a, {
356
+ function H({ title: e, suffix: t, size: n = "base", className: r, suffixClassName: a, dataSlot: s }) {
357
+ let c = typeof e == "string" || typeof e == "number" || typeof e == "bigint";
358
+ return /* @__PURE__ */ y(o, {
356
359
  tag: "div",
357
360
  size: n,
358
- weight: typeof e == "string" || typeof e == "number" || typeof e == "bigint" ? "semibold" : "medium",
361
+ weight: c ? "semibold" : "medium",
359
362
  lineHeight: "tight",
360
363
  "data-slot": s,
361
364
  className: i("surface-title--component flex min-w-0 flex-wrap items-center gap-space-md break-words leading-tight", r),
362
- children: [e != null && /* @__PURE__ */ y("span", {
365
+ children: [e != null && /* @__PURE__ */ v("span", {
363
366
  className: "min-w-0 max-w-full",
367
+ ...c ? {
368
+ role: "heading",
369
+ "aria-level": 2
370
+ } : {},
364
371
  children: e
365
- }), t != null && /* @__PURE__ */ y("div", {
366
- className: i("surface-title--suffix inline-flex max-w-full flex-wrap items-center gap-space-md", o),
372
+ }), t != null && /* @__PURE__ */ v("div", {
373
+ className: i("surface-title--suffix inline-flex max-w-full flex-wrap items-center gap-space-md", a),
367
374
  children: t
368
375
  })]
369
376
  });
370
377
  }
371
378
  //#endregion
372
379
  //#region src/components/base/cards/partials/smart-card-actions-menu.tsx
373
- function pe({ actions: e, actionsLabel: t }) {
380
+ function me({ actions: e, actionsLabel: t }) {
374
381
  let n = e.map((e, t) => ({
375
382
  ...e,
376
383
  id: e.id ?? `card-action-${t}`
377
384
  }));
378
- return /* @__PURE__ */ y(m, {
385
+ return /* @__PURE__ */ v(ee, {
379
386
  actions: n,
380
- icon: S,
387
+ icon: x,
381
388
  srText: t,
382
389
  align: "end",
383
390
  closeOnSelect: !0,
@@ -392,10 +399,10 @@ function pe({ actions: e, actionsLabel: t }) {
392
399
  }
393
400
  //#endregion
394
401
  //#region src/components/base/cards/partials/smart-card-header-row.tsx
395
- function me({ tooltipLabel: e }) {
396
- return /* @__PURE__ */ y(s, { render: (t) => {
402
+ function he({ tooltipLabel: e }) {
403
+ return /* @__PURE__ */ v(c, { render: (t) => {
397
404
  let n = t;
398
- return /* @__PURE__ */ y(l, {
405
+ return /* @__PURE__ */ v(u, {
399
406
  ...n,
400
407
  type: "button",
401
408
  tone: "secondary",
@@ -404,50 +411,50 @@ function me({ tooltipLabel: e }) {
404
411
  iconOnly: !0,
405
412
  className: i("card--tooltip-trigger", "text-muted-foreground", n.className),
406
413
  "aria-label": e,
407
- children: /* @__PURE__ */ y(x, { className: "size-icon-md" })
414
+ children: /* @__PURE__ */ v(b, { className: "size-icon-md" })
408
415
  });
409
416
  } });
410
417
  }
411
- function he({ icon: e, title: t, titleSuffix: n, description: r, textGap: a = "normal", tooltip: s, tooltipLabel: l, headerStart: u, headerEnd: f, headerAction: p, actions: m, actionsLabel: h, titleSize: g, className: _ }) {
412
- let v = Array.isArray(m) ? m : [], ee = v.length > 0, te = z(e), x = z(t), S = z(n), C = z(r), w = z(s), T = z(u), E = z(f), D = z(p), O = te || x || S || w, k = E || D || ee;
413
- return /* @__PURE__ */ b(B, {
414
- className: i(I.headerRow, !C && !T && I.headerRowSingle, R.headerX, _),
415
- children: [/* @__PURE__ */ b(d, {
418
+ function ge({ icon: e, title: t, titleSuffix: n, description: r, textGap: a = "normal", tooltip: o, tooltipLabel: c, headerStart: u, headerEnd: d, headerAction: p, actions: m, actionsLabel: ee, titleSize: h, className: g }) {
419
+ let _ = Array.isArray(m) ? m : [], te = _.length > 0, ne = L(e), re = L(t), b = L(n), x = L(r), S = L(o), C = L(u), w = L(d), T = L(p), E = ne || re || b || S, D = w || T || te;
420
+ return /* @__PURE__ */ y(B, {
421
+ className: i(P.headerRow, !x && !C && P.headerRowSingle, I.headerX, g),
422
+ children: [/* @__PURE__ */ y(f, {
416
423
  gap: a,
417
- className: i("card--header-start", I.headerLeading, !C && !T && I.headerLeadingSingle),
424
+ className: i("card--header-start", P.headerLeading, !x && !C && P.headerLeadingSingle),
418
425
  children: [
419
- !!T && u,
420
- !!O && /* @__PURE__ */ b("div", {
426
+ !!C && u,
427
+ !!E && /* @__PURE__ */ y("div", {
421
428
  className: "card--title-row flex min-w-0 items-start gap-space-sm",
422
429
  children: [
423
- !!te && /* @__PURE__ */ y("span", {
430
+ !!ne && /* @__PURE__ */ v("span", {
424
431
  className: "card--icon flex shrink-0 items-center pt-space-2xs text-muted-foreground [&_svg]:size-icon",
425
432
  children: e
426
433
  }),
427
- /* @__PURE__ */ y(H, {
434
+ /* @__PURE__ */ v(H, {
428
435
  dataSlot: "card-title",
429
436
  title: t,
430
- suffix: S ? n : void 0,
431
- size: g === "md" ? "base" : g === "lg" ? "lg" : "sm",
437
+ suffix: b ? n : void 0,
438
+ size: h === "md" ? "base" : h === "lg" ? "lg" : "sm",
432
439
  className: "card--title flex-1",
433
440
  suffixClassName: "card--title-suffix"
434
441
  }),
435
- !!w && /* @__PURE__ */ b(o, { children: [/* @__PURE__ */ y(me, { tooltipLabel: l }), /* @__PURE__ */ y(c, { children: s })] })
442
+ !!S && /* @__PURE__ */ y(s, { children: [/* @__PURE__ */ v(he, { tooltipLabel: c }), /* @__PURE__ */ v(l, { children: o })] })
436
443
  ]
437
444
  }),
438
- !!C && /* @__PURE__ */ y(le, {
439
- className: "text-left",
445
+ !!x && /* @__PURE__ */ v(V, {
446
+ className: "text-start",
440
447
  children: r
441
448
  })
442
449
  ]
443
- }), !!k && /* @__PURE__ */ b("div", {
444
- className: i("card--header-end", I.headerTrailing),
450
+ }), !!D && /* @__PURE__ */ y("div", {
451
+ className: i("card--header-end", P.headerTrailing),
445
452
  children: [
446
- !!E && f,
447
- !!D && p,
448
- !!ee && /* @__PURE__ */ y(pe, {
449
- actions: v,
450
- actionsLabel: h
453
+ !!w && d,
454
+ !!T && p,
455
+ !!te && /* @__PURE__ */ v(me, {
456
+ actions: _,
457
+ actionsLabel: ee
451
458
  })
452
459
  ]
453
460
  })]
@@ -455,24 +462,24 @@ function he({ icon: e, title: t, titleSuffix: n, description: r, textGap: a = "n
455
462
  }
456
463
  //#endregion
457
464
  //#region src/components/base/cards/smart-card.strings.ts
458
- var ge = {
465
+ var _e = {
459
466
  actionsLabel: "Card actions",
460
467
  tooltipLabel: "Card info",
461
468
  expandLabel: "Expand card",
462
469
  collapseLabel: "Collapse card"
463
- }, U = g(function({ icon: o, title: s, titleSuffix: c, description: f, textGap: m = "normal", tooltip: h, tooltipAriaLabel: g, footerText: _, alert: x, alertTone: S = "neutral", surface: C, padding: w = "md", headerPlacement: T = "inside", gap: E, contentGap: D, titleSize: O, actions: k, actionsLabel: A, headerAction: j, headerStart: M, headerEnd: ne, contentTop: re, contentBottom: N, footerSlot: P, headerDivider: ie, footerDivider: F, expandable: I = !1, defaultExpanded: oe = !1, expanded: se, onExpandedChange: B, children: V, className: le, headerClassName: H, contentClassName: pe, footerClassName: me, strings: U, ..._e }, ve) {
464
- let { defaultSurface: ye, defaultHeaderDivider: be, defaultFooterDivider: xe } = t(), Se = F ?? xe ?? !1, { defaultScale: Ce } = n(), we = e(O, Ce), W = {
470
+ }, U = g(function({ icon: a, title: s, titleSuffix: c, description: l, textGap: p = "normal", tooltip: ee, tooltipAriaLabel: h, footerText: g, alert: _, alertTone: b = "neutral", surface: x, padding: S = "md", headerPlacement: C = "inside", gap: w, contentGap: T, titleSize: E, actions: D, actionsLabel: ie, headerAction: O, headerStart: k, headerEnd: A, contentTop: j, contentBottom: M, footerSlot: ae, headerDivider: oe, footerDivider: se, expandable: N = !1, defaultExpanded: P = !1, expanded: R, onExpandedChange: z, children: B, className: ue, headerClassName: V, contentClassName: H, footerClassName: me, strings: he, ...U }, ve) {
471
+ let { defaultSurface: ye, defaultHeaderDivider: be, defaultFooterDivider: xe } = t(), Se = se ?? xe ?? !1, { defaultScale: Ce } = n(), we = e(E, Ce), W = {
465
472
  none: "px-0",
466
473
  sm: "px-surface-xs",
467
474
  md: "px-surface",
468
475
  lg: "px-surface-lg"
469
- }[w], Te = {
476
+ }[S], Te = {
470
477
  none: "py-0",
471
478
  sm: "py-surface-xs",
472
479
  md: "py-surface",
473
480
  lg: "py-surface-lg"
474
- }[w], G = {
475
- ...R,
481
+ }[S], G = {
482
+ ...I,
476
483
  headerX: W,
477
484
  contentX: W,
478
485
  footerX: W,
@@ -481,83 +488,91 @@ var ge = {
481
488
  sm: "!pb-surface-xs",
482
489
  md: "!pb-surface",
483
490
  lg: "!pb-surface-lg"
484
- }[w],
491
+ }[S],
485
492
  footerDividerY: {
486
493
  none: "!pt-0",
487
494
  sm: "!pt-surface-xs",
488
495
  md: "!pt-surface",
489
496
  lg: "!pt-surface-lg"
490
- }[w]
491
- }, K = T === "frame", Ee = Array.isArray(k) ? k : [], q = r(ge, U), De = A ?? q.actionsLabel, J = I !== !1 && I !== void 0, Oe = typeof I == "object" && I?.collapsedMaxHeight !== void 0 ? I.collapsedMaxHeight : "12rem", ke = typeof Oe == "number" ? `${Oe}px` : Oe, Ae = se !== void 0, [je, Me] = ee(oe), Y = Ae ? se : je, Ne = v(() => {
497
+ }[S]
498
+ }, K = C === "frame", Ee = Array.isArray(D) ? D : [], q = r(_e, he), De = ie ?? q.actionsLabel, J = N !== !1 && N !== void 0, Oe = typeof N == "object" && N?.collapsedMaxHeight !== void 0 ? N.collapsedMaxHeight : "12rem", ke = typeof Oe == "number" ? `${Oe}px` : Oe, Ae = R !== void 0, [je, Me] = ne(P), Y = Ae ? R : je, Ne = te(() => {
492
499
  let e = !Y;
493
- Ae || Me(e), B?.(e);
500
+ Ae || Me(e), z?.(e);
494
501
  }, [
495
502
  Y,
496
503
  Ae,
497
- B
498
- ]), X = z(o) || z(s) || z(f) || Ee.length > 0 || z(j) || z(M) || z(ne), Pe = z(x), Fe = z(_), Z = z(P), Ie = z(re), Le = z(N), Re = Ie || Le || z(V) || J, ze = X && (Fe || Z) && !Pe && !Re && !K, Be = g && g.trim().length > 0 ? g : q.tooltipLabel, Ve = J ? { maxHeight: Y ? "" : ke } : void 0, Q = C ?? ye ?? "framed", He = ie ?? be ?? !1, $ = ze && (He || Se);
499
- return /* @__PURE__ */ b(ce, {
500
- ..._e,
501
- "data-header-placement": T,
504
+ z
505
+ ]), X = L(a) || L(s) || L(l) || Ee.length > 0 || L(O) || L(k) || L(A), Pe = L(_), Fe = L(g), Z = L(ae), Ie = L(j), Le = L(M), Re = Ie || Le || L(B) || J, ze = X && (Fe || Z) && !Pe && !Re && !K, Be = h && h.trim().length > 0 ? h : q.tooltipLabel, Ve = J ? { maxHeight: Y ? "" : ke } : void 0, Q = x ?? ye ?? "framed", He = oe ?? be ?? !1, $ = ze && (He || Se);
506
+ return /* @__PURE__ */ y(le, {
507
+ ...U,
508
+ "data-header-placement": C,
502
509
  ref: ve,
503
510
  "data-surface": Q,
504
- className: i(ae[Q], G.shell, Te, u({ gap: E ?? (w === "none" ? "md" : "xl") }), $ && "gap-0", K && "rounded-radius bg-muted p-surface-xs pt-0 gap-0 ring-0", Q === "flat" && !K && "overflow-visible", J && i("relative mb-space-xl !overflow-visible", G.expandableBottom), le),
511
+ className: i(ce[Q], G.shell, Te, d({ gap: w ?? "xl" }), $ && "gap-0", K && "rounded-radius bg-muted p-surface-xs pt-0 gap-0 ring-0", Q === "flat" && !K && "overflow-visible", J && i("relative mb-space-xl !overflow-visible", G.expandableBottom), ue),
505
512
  children: [
506
- !!X && /* @__PURE__ */ y(he, {
507
- icon: o,
513
+ !!X && /* @__PURE__ */ v(ge, {
514
+ icon: a,
508
515
  title: s,
509
516
  titleSuffix: c,
510
- description: f,
511
- textGap: m,
512
- tooltip: h,
517
+ description: l,
518
+ textGap: p,
519
+ tooltip: ee,
513
520
  tooltipLabel: Be,
514
- headerStart: M,
515
- headerEnd: ne,
516
- headerAction: j,
521
+ headerStart: k,
522
+ headerEnd: A,
523
+ headerAction: O,
517
524
  actions: Ee,
518
525
  actionsLabel: De,
519
526
  titleSize: we,
520
- className: i(He && !$ && i(p.frame.header, G.headerDividerY), $ && G.headerDividerY, G.headerX, K && "flex-row items-center min-h-action px-surface-xs py-space-2xs [&_.card--title-row]:items-center [&_.card--icon]:pt-0", H)
527
+ className: i(He && !$ && i(m.frame.header, G.headerDividerY), $ && G.headerDividerY, G.headerX, K && "flex-row items-center min-h-action px-surface-xs py-space-2xs [&_.card--title-row]:items-center [&_.card--icon]:pt-0", V)
521
528
  }),
522
- /* @__PURE__ */ b("div", {
523
- className: K ? i("card--body-surface flex min-w-0 flex-col rounded-inner bg-card text-card-foreground", u({ gap: E ?? "xl" }), p.frame.shell, Te) : "contents",
529
+ /* @__PURE__ */ y("div", {
530
+ className: K ? i("card--body-surface flex min-w-0 flex-col rounded-inner bg-card text-card-foreground", d({ gap: w ?? "xl" }), m.frame.shell, Te) : "contents",
524
531
  children: [
525
- !!Pe && /* @__PURE__ */ y(fe, {
526
- alert: x,
527
- alertTone: S,
532
+ !!Pe && /* @__PURE__ */ v(pe, {
533
+ alert: _,
534
+ alertTone: b,
528
535
  hasHeader: X,
529
536
  className: W
530
537
  }),
531
- !!Re && /* @__PURE__ */ b(ue, {
532
- className: i(G.contentX, G.contentY, J && "relative overflow-hidden transition-[max-height] duration-500 ease-in-out", pe),
538
+ !!Re && /* @__PURE__ */ y(de, {
539
+ className: i(G.contentX, G.contentY, J && "relative overflow-hidden transition-[max-height] duration-500 ease-in-out", H),
533
540
  style: Ve,
534
- children: [
535
- !!Ie && re,
536
- D ? /* @__PURE__ */ y(d, {
537
- gap: D,
538
- children: V
539
- }) : V,
540
- !!Le && N,
541
- !!J && !Y && /* @__PURE__ */ y("div", {
542
- "aria-hidden": "true",
543
- className: i(L.collapseFade, "pointer-events-none absolute inset-x-0 bottom-0 h-20 rounded-b-radius bg-linear-to-t to-transparent", Q === "flat" ? "from-background" : "from-card")
544
- })
545
- ]
541
+ children: [Ie || Le ? /* @__PURE__ */ y(f, {
542
+ gap: T ?? "lg",
543
+ children: [
544
+ !!Ie && j,
545
+ T ? /* @__PURE__ */ v(f, {
546
+ gap: T,
547
+ children: B
548
+ }) : /* @__PURE__ */ v("div", {
549
+ className: "min-w-0",
550
+ children: B
551
+ }),
552
+ !!Le && M
553
+ ]
554
+ }) : T ? /* @__PURE__ */ v(f, {
555
+ gap: T,
556
+ children: B
557
+ }) : B, !!J && !Y && /* @__PURE__ */ v("div", {
558
+ "aria-hidden": "true",
559
+ className: i(F.collapseFade, "pointer-events-none absolute inset-x-0 bottom-0 h-20 rounded-b-radius bg-linear-to-t to-transparent", Q === "flat" ? "from-background" : "from-card")
560
+ })]
546
561
  }),
547
- (Fe || Z) && /* @__PURE__ */ b(de, {
548
- className: i(G.footerX, Z ? "flex-col items-stretch gap-space-md" : "justify-end", (Se || $) && i(p.frame.footer, G.footerDividerY), me),
549
- children: [Fe && (typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ? /* @__PURE__ */ y(a, {
562
+ (Fe || Z) && /* @__PURE__ */ y(fe, {
563
+ className: i(G.footerX, Z ? "flex-col items-stretch gap-space-md" : "justify-end", (Se || $) && i(m.frame.footer, G.footerDividerY), me),
564
+ children: [Fe && (typeof g == "string" || typeof g == "number" || typeof g == "bigint" ? /* @__PURE__ */ v(o, {
550
565
  tag: "span",
551
566
  size: "xs",
552
567
  type: "secondary",
553
- children: _
554
- }) : _), Z && P]
568
+ children: g
569
+ }) : g), Z && ae]
555
570
  })
556
571
  ]
557
572
  }),
558
- !!J && /* @__PURE__ */ y("div", {
559
- className: i(L.expandToggle, "absolute bottom-0 left-1/2 z-10 -translate-x-1/2 translate-y-1/2"),
560
- children: /* @__PURE__ */ y(l, {
573
+ !!J && /* @__PURE__ */ v("div", {
574
+ className: i(F.expandToggle, "absolute bottom-0 left-1/2 z-10 -translate-x-1/2 translate-y-1/2"),
575
+ children: /* @__PURE__ */ v(u, {
561
576
  type: "button",
562
577
  tone: "secondary",
563
578
  buttonStyle: "outline",
@@ -566,8 +581,8 @@ var ge = {
566
581
  onClick: Ne,
567
582
  "aria-expanded": Y,
568
583
  "aria-label": Y ? q.collapseLabel : q.expandLabel,
569
- className: i(L.expandToggleButton, i(p.frame.shell, "bg-background text-foreground shadow-sm"), "hover:bg-muted/40 transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"),
570
- children: /* @__PURE__ */ y(te, {
584
+ className: i(F.expandToggleButton, i(m.frame.shell, "bg-background text-foreground shadow-sm"), "hover:bg-muted/40 transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"),
585
+ children: /* @__PURE__ */ v(re, {
571
586
  "aria-hidden": "true",
572
587
  className: i("size-icon transition-transform duration-300", Y && "rotate-180")
573
588
  })
@@ -577,8 +592,8 @@ var ge = {
577
592
  });
578
593
  });
579
594
  U.displayName = "Card";
580
- var _e = U;
595
+ var ve = U;
581
596
  //#endregion
582
- export { A as _, ue as a, B as c, z as d, ae as f, k as g, O as h, H as i, ce as l, j as m, _e as n, le as o, E as p, ge as r, de as s, U as t, V as u, D as v };
597
+ export { O as _, de as a, B as c, L as d, ce as f, ie as g, D as h, H as i, le as l, k as m, ve as n, V as o, T as p, _e as r, fe as s, U as t, ue as u, E as v };
583
598
 
584
- //# sourceMappingURL=smart-card-DjGVV2xr.js.map
599
+ //# sourceMappingURL=smart-card-Bek-TwUp.js.map