themelia-react-ui 1.0.1 → 1.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 (488) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/README.md +59 -13
  3. package/dist/{accordion-B-5Focs8.js → accordion-BRTcsp8J.js} +8 -8
  4. package/dist/accordion-BRTcsp8J.js.map +1 -0
  5. package/dist/{action-menu-Cx3SdfbN.js → action-menu-Drxw_vJk.js} +36 -36
  6. package/dist/action-menu-Drxw_vJk.js.map +1 -0
  7. package/dist/affordance-geometry.generated-CL84ZN9A.js +63 -0
  8. package/dist/affordance-geometry.generated-CL84ZN9A.js.map +1 -0
  9. package/dist/{ai-artifact-B5tPpXnS.js → ai-artifact-DLVdK0Py.js} +151 -155
  10. package/dist/ai-artifact-DLVdK0Py.js.map +1 -0
  11. package/dist/{app-shell-at8Kt4l_.js → app-shell-C_fKpljx.js} +11 -10
  12. package/dist/app-shell-C_fKpljx.js.map +1 -0
  13. package/dist/{attachment-BO2R47wn.js → attachment-DbjUWsP0.js} +12 -12
  14. package/dist/{attachment-BO2R47wn.js.map → attachment-DbjUWsP0.js.map} +1 -1
  15. package/dist/auth-CAQcasMV.js +723 -0
  16. package/dist/auth-CAQcasMV.js.map +1 -0
  17. package/dist/{avatar-Bpzty83c.js → avatar-Bu2HhitA.js} +6 -6
  18. package/dist/{avatar-Bpzty83c.js.map → avatar-Bu2HhitA.js.map} +1 -1
  19. package/dist/{badge-BZXZT9wd.js → badge-CzId1Wlm.js} +4 -4
  20. package/dist/{badge-BZXZT9wd.js.map → badge-CzId1Wlm.js.map} +1 -1
  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 +3 -2
  27. package/dist/base/cards.js +3 -3
  28. package/dist/base/carousel.js +25 -27
  29. package/dist/base/carousel.js.map +1 -1
  30. package/dist/base/cascader.js +150 -148
  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 +3 -3
  39. package/dist/base/display.js +7 -7
  40. package/dist/base/feedback.js +4 -4
  41. package/dist/base/forms-numeric.js +1 -1
  42. package/dist/base/forms.js +2 -2
  43. package/dist/base/inline-edit.js +40 -43
  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 +1 -1
  51. package/dist/base/repeaters.js +33 -33
  52. package/dist/base/repeaters.js.map +1 -1
  53. package/dist/base/sheet.js +1 -1
  54. package/dist/base/sidebar.js +1 -1
  55. package/dist/base/signature-pad.js +83 -81
  56. package/dist/base/signature-pad.js.map +1 -1
  57. package/dist/base/skeleton.js +1 -1
  58. package/dist/base/spinner.js +1 -1
  59. package/dist/base/structure.js +1 -1
  60. package/dist/base/table.js +1 -1
  61. package/dist/base/text-inputs.js +2 -2
  62. package/dist/base/toaster.js +6 -6
  63. package/dist/base/toaster.js.map +1 -1
  64. package/dist/base/tree.js +1 -1
  65. package/dist/base/upload-queue.js +1 -1
  66. package/dist/base/upload.js +3 -3
  67. package/dist/base/value-inputs.js +1 -1
  68. package/dist/blocks/admin.js +134 -134
  69. package/dist/blocks/admin.js.map +1 -1
  70. package/dist/blocks/ai.js +120 -117
  71. package/dist/blocks/ai.js.map +1 -1
  72. package/dist/blocks/analytics/usage-card.js +1 -1
  73. package/dist/blocks/analytics.js +510 -472
  74. package/dist/blocks/analytics.js.map +1 -1
  75. package/dist/blocks/collaboration.js +2 -2
  76. package/dist/blocks/commerce/receipt.js +1 -1
  77. package/dist/blocks/commerce.js +395 -383
  78. package/dist/blocks/commerce.js.map +1 -1
  79. package/dist/blocks/data-display.js +1 -1
  80. package/dist/blocks/onboarding.js +6 -6
  81. package/dist/blocks/onboarding.js.map +1 -1
  82. package/dist/blocks/planning.js +36 -36
  83. package/dist/blocks/planning.js.map +1 -1
  84. package/dist/blocks/timelines.js +1 -1
  85. package/dist/{breadcrumbs-DdQ_I5ra.js → breadcrumbs-BuYz5SDU.js} +9 -8
  86. package/dist/breadcrumbs-BuYz5SDU.js.map +1 -0
  87. package/dist/button-BZDasD04.js +651 -0
  88. package/dist/button-BZDasD04.js.map +1 -0
  89. package/dist/{button-BS6l5JUw.js → button-BZyfTvwm.js} +3 -3
  90. package/dist/button-BZyfTvwm.js.map +1 -0
  91. package/dist/buttons-D_6KJvEE.js +99 -0
  92. package/dist/buttons-D_6KJvEE.js.map +1 -0
  93. package/dist/{cards-Cum56XOF.js → cards-qGSErLw_.js} +12 -12
  94. package/dist/{cards-Cum56XOF.js.map → cards-qGSErLw_.js.map} +1 -1
  95. package/dist/chart-Bsc5BICK.js +150 -0
  96. package/dist/chart-Bsc5BICK.js.map +1 -0
  97. package/dist/{checkbox-BavDRjF7.js → checkbox-BQNDjUCh.js} +3 -3
  98. package/dist/checkbox-BQNDjUCh.js.map +1 -0
  99. package/dist/choice-inputs-Mk3iWbhr.js +725 -0
  100. package/dist/choice-inputs-Mk3iWbhr.js.map +1 -0
  101. package/dist/{code-block-xHKbAJDj.js → code-block-DzHKRybS.js} +23 -23
  102. package/dist/code-block-DzHKRybS.js.map +1 -0
  103. package/dist/{collapsible-DsnktFNv.js → collapsible-ClvC7Bj3.js} +3 -3
  104. package/dist/{collapsible-DsnktFNv.js.map → collapsible-ClvC7Bj3.js.map} +1 -1
  105. package/dist/{collection-content-C4fthJV_.js → collection-content-D6S8cv_n.js} +3 -3
  106. package/dist/{collection-content-C4fthJV_.js.map → collection-content-D6S8cv_n.js.map} +1 -1
  107. package/dist/{combobox-DEbdr-3u.js → combobox-BFnbJJp3.js} +18 -18
  108. package/dist/combobox-BFnbJJp3.js.map +1 -0
  109. package/dist/{combobox-xv3yJbzl.js → combobox-hozNwUcc.js} +313 -316
  110. package/dist/combobox-hozNwUcc.js.map +1 -0
  111. package/dist/{command-C0xe7u9B.js → command-BnmSchli.js} +9 -9
  112. package/dist/command-BnmSchli.js.map +1 -0
  113. package/dist/comments-u5L0OGip.js +1156 -0
  114. package/dist/comments-u5L0OGip.js.map +1 -0
  115. package/dist/components/base/buttons/button-group.recipes.d.ts +1 -1
  116. package/dist/components/base/buttons/button.recipes.d.ts +10 -19
  117. package/dist/components/base/buttons/use-pending-button-focus.d.ts +3 -0
  118. package/dist/components/base/cards/card.recipes.d.ts +13 -5
  119. package/dist/components/base/cards/partials/card-primitives.d.ts +9 -4
  120. package/dist/components/base/cards/smart-card.types.d.ts +1 -1
  121. package/dist/components/base/date-pickers/date-picker.recipes.d.ts +5 -18
  122. package/dist/components/base/date-pickers/datepicker.types.d.ts +3 -0
  123. package/dist/components/base/forms/form-field.d.ts +1 -0
  124. package/dist/components/base/forms/form-sizing.d.ts +3 -3
  125. package/dist/components/base/navigation/tabs.d.ts +3 -5
  126. package/dist/components/base/popover/popover.recipes.d.ts +3 -3
  127. package/dist/components/base/table/index.d.ts +1 -1
  128. package/dist/components/base/text-inputs/clear-native-field.d.ts +2 -0
  129. package/dist/components/base/text-inputs/input-trailing-action.d.ts +3 -0
  130. package/dist/components/blocks/analytics/types.d.ts +1 -1
  131. package/dist/components/blocks/collaboration/message/message.recipes.d.ts +12 -0
  132. package/dist/components/blocks/data-display/empty-state/partials/illustrations/document-stack.d.ts +1 -4
  133. package/dist/components/blocks/data-display/empty-state/partials/illustrations/inbox-clean.d.ts +1 -4
  134. package/dist/components/blocks/data-display/empty-state/partials/illustrations/index.d.ts +3 -3
  135. package/dist/components/blocks/data-display/empty-state/partials/illustrations/stacked-cards.d.ts +1 -6
  136. package/dist/components/features/combobox/components/error-message.d.ts +1 -1
  137. package/dist/components/features/comments/hooks/use-attachment-upload.d.ts +5 -0
  138. package/dist/components/features/filters/facets/search-facet.d.ts +0 -12
  139. package/dist/components/features/filters/facets/tags-facet.d.ts +1 -1
  140. package/dist/components/features/media-library/media-library.d.ts +1 -1
  141. package/dist/components/features/media-library/media-library.types.d.ts +9 -1
  142. package/dist/components/features/media-library/partials/media-library-partials.d.ts +1 -1
  143. package/dist/components/features/overlays/hooks/use-pending-overlay-focus.d.ts +2 -0
  144. package/dist/components/features/overlays/overlays.types.d.ts +5 -4
  145. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +2 -1
  146. package/dist/components/features/table/data-table.d.ts +1 -1
  147. package/dist/components/features/table/table.types.d.ts +1 -1
  148. package/dist/components/features/theme-tweaker/theme-provider-settings.d.ts +3 -1
  149. package/dist/components/layout/auth/auth.types.d.ts +1 -0
  150. package/dist/components/layout/page/page.d.ts +0 -1
  151. package/dist/components/layout/page/page.types.d.ts +9 -3
  152. package/dist/components/layout/sidebar/sidebar.context.d.ts +1 -1
  153. package/dist/components/layout/sidebar/sidebar.types.d.ts +4 -0
  154. package/dist/components/layout/workspace/workspace.types.d.ts +3 -0
  155. package/dist/components/typography/heading.d.ts +5 -2
  156. package/dist/components/typography/index.d.ts +1 -1
  157. package/dist/components/typography/text.styles.d.ts +10 -0
  158. package/dist/components/ui/popover.d.ts +1 -1
  159. package/dist/components/ui/sidebar.d.ts +1 -1
  160. package/dist/components/ui/table.d.ts +2 -1
  161. package/dist/container.recipes-D9t8MHR3.js +27 -0
  162. package/dist/container.recipes-D9t8MHR3.js.map +1 -0
  163. package/dist/{containers-6s-ucRQQ.js → containers-DqB-bSYE.js} +33 -56
  164. package/dist/containers-DqB-bSYE.js.map +1 -0
  165. package/dist/control-group-recipes-DBXmfh2E.js +21 -0
  166. package/dist/control-group-recipes-DBXmfh2E.js.map +1 -0
  167. package/dist/{copyable-B7SBXJMr.js → copyable-BTSByfmq.js} +6 -6
  168. package/dist/{copyable-B7SBXJMr.js.map → copyable-BTSByfmq.js.map} +1 -1
  169. package/dist/{data-display-cWIRdeaf.js → data-display-Bihs9Ven.js} +545 -332
  170. package/dist/data-display-Bihs9Ven.js.map +1 -0
  171. package/dist/{date-BFNMnrS5.js → date-DOKhJPu7.js} +4 -4
  172. package/dist/{date-BFNMnrS5.js.map → date-DOKhJPu7.js.map} +1 -1
  173. package/dist/{date-picker-CA6ogMQB.js → date-picker-DzP5HQq7.js} +492 -472
  174. package/dist/date-picker-DzP5HQq7.js.map +1 -0
  175. package/dist/date-pickers-BpgGz7S-.js +196 -0
  176. package/dist/date-pickers-BpgGz7S-.js.map +1 -0
  177. package/dist/{display-CFM5myut.js → display-CS6Hbk18.js} +8 -8
  178. package/dist/{display-CFM5myut.js.map → display-CS6Hbk18.js.map} +1 -1
  179. package/dist/{dropdown-menu-BlnyHr-9.js → dropdown-menu-D-boNgGO.js} +7 -7
  180. package/dist/{dropdown-menu-BlnyHr-9.js.map → dropdown-menu-D-boNgGO.js.map} +1 -1
  181. package/dist/features/activities.js +152 -141
  182. package/dist/features/activities.js.map +1 -1
  183. package/dist/features/ai-chat.js +182 -179
  184. package/dist/features/ai-chat.js.map +1 -1
  185. package/dist/features/async-preview.js +9 -9
  186. package/dist/features/async-preview.js.map +1 -1
  187. package/dist/features/combobox.js +1 -1
  188. package/dist/features/comments.js +1 -1
  189. package/dist/features/data-view.js +25 -23
  190. package/dist/features/data-view.js.map +1 -1
  191. package/dist/features/email-composer/engine.js +1 -1
  192. package/dist/features/email-composer.js +103 -104
  193. package/dist/features/email-composer.js.map +1 -1
  194. package/dist/features/event-calendar.js +375 -373
  195. package/dist/features/event-calendar.js.map +1 -1
  196. package/dist/features/filters.js +1 -1
  197. package/dist/features/global-search.js +222 -224
  198. package/dist/features/global-search.js.map +1 -1
  199. package/dist/features/kanban.js +29 -29
  200. package/dist/features/kanban.js.map +1 -1
  201. package/dist/features/map.js +59 -58
  202. package/dist/features/map.js.map +1 -1
  203. package/dist/features/media-library.js +856 -855
  204. package/dist/features/media-library.js.map +1 -1
  205. package/dist/features/mentions.js +1 -1
  206. package/dist/features/overlays.js +1 -1
  207. package/dist/features/products.js +1209 -1209
  208. package/dist/features/products.js.map +1 -1
  209. package/dist/features/questionnaire.js +52 -52
  210. package/dist/features/questionnaire.js.map +1 -1
  211. package/dist/features/resource-assignment.js +29 -31
  212. package/dist/features/resource-assignment.js.map +1 -1
  213. package/dist/features/resource.js +13 -13
  214. package/dist/features/resource.js.map +1 -1
  215. package/dist/features/rich-text-editor.js +2 -2
  216. package/dist/features/schema-form.js +82 -82
  217. package/dist/features/schema-form.js.map +1 -1
  218. package/dist/features/suggestions.js +3 -3
  219. package/dist/features/sync.js +4 -4
  220. package/dist/features/sync.js.map +1 -1
  221. package/dist/features/table.js +1 -1
  222. package/dist/features/theme-tweaker.js +456 -450
  223. package/dist/features/theme-tweaker.js.map +1 -1
  224. package/dist/{feedback-DWUkgEjR.js → feedback-CJkUAapr.js} +29 -29
  225. package/dist/feedback-CJkUAapr.js.map +1 -0
  226. package/dist/field-affordance-recipes-uKY4MsZ_.js +25 -0
  227. package/dist/field-affordance-recipes-uKY4MsZ_.js.map +1 -0
  228. package/dist/{field-state-recipes-CBTRt9Bt.js → field-state-recipes-DQQpiLWC.js} +3 -3
  229. package/dist/field-state-recipes-DQQpiLWC.js.map +1 -0
  230. package/dist/{filters-BhsUtsxW.js → filters-D6FF8L6s.js} +715 -720
  231. package/dist/filters-D6FF8L6s.js.map +1 -0
  232. package/dist/{form-field-Bn7ZH1rA.js → form-field-CZwrkP7m.js} +17 -9
  233. package/dist/form-field-CZwrkP7m.js.map +1 -0
  234. package/dist/{form-sizing-BWs70_a2.js → form-sizing-QP8aIRaW.js} +8 -5
  235. package/dist/form-sizing-QP8aIRaW.js.map +1 -0
  236. package/dist/{forms-B7pzS25o.js → forms-B5NCbkSC.js} +35 -35
  237. package/dist/{forms-B7pzS25o.js.map → forms-B5NCbkSC.js.map} +1 -1
  238. package/dist/forms-numeric-Crrm80Lm.js +867 -0
  239. package/dist/forms-numeric-Crrm80Lm.js.map +1 -0
  240. package/dist/{header-C59QZyxV.js → header-kxruN3RM.js} +53 -49
  241. package/dist/header-kxruN3RM.js.map +1 -0
  242. package/dist/{hooks-CM1Vp9Pe.js → hooks-BrlnCwQd.js} +2 -2
  243. package/dist/{hooks-CM1Vp9Pe.js.map → hooks-BrlnCwQd.js.map} +1 -1
  244. package/dist/{http-CLTVJc5I.js → http-CdEIHyQf.js} +2 -2
  245. package/dist/http-CdEIHyQf.js.map +1 -0
  246. package/dist/{icon-badge-Dv0RYQwj.js → icon-badge-Btc6pQrp.js} +4 -4
  247. package/dist/{icon-badge-Dv0RYQwj.js.map → icon-badge-Btc6pQrp.js.map} +1 -1
  248. package/dist/index.js +2 -2
  249. package/dist/input-SX9V0AL3.js +255 -0
  250. package/dist/input-SX9V0AL3.js.map +1 -0
  251. package/dist/input-vxcaNCYC.js +20 -0
  252. package/dist/input-vxcaNCYC.js.map +1 -0
  253. package/dist/{item-pJ0GsOiJ.js → item-DE4YnuJx.js} +18 -17
  254. package/dist/item-DE4YnuJx.js.map +1 -0
  255. package/dist/layout/app-shell.js +1 -1
  256. package/dist/layout/auth.js +1 -1
  257. package/dist/layout/containers.js +1 -1
  258. package/dist/layout/header.js +1 -1
  259. package/dist/layout/hooks.js +1 -1
  260. package/dist/layout/navigation.js +1 -1
  261. package/dist/layout/page.js +1 -1
  262. package/dist/layout/settings.js +1 -1
  263. package/dist/layout/sidebar.js +2 -2
  264. package/dist/layout/workspace.js +1 -1
  265. package/dist/layout.js +10 -10
  266. package/dist/lib/affordance-geometry.generated.d.ts +40 -9
  267. package/dist/lib/control-group-recipes.d.ts +22 -0
  268. package/dist/lib/field-affordance-recipes.d.ts +35 -2
  269. package/dist/lib/field-state-recipes.d.ts +2 -2
  270. package/dist/lib/navigation-row-recipes.d.ts +3 -2
  271. package/dist/lib/overlay-anatomy-recipes.d.ts +1 -1
  272. package/dist/lib/surface-recipes.d.ts +5 -2
  273. package/dist/lib/token-merge.generated.d.ts +144 -2
  274. package/dist/lib/ui-provider/types.d.ts +4 -2
  275. package/dist/lib/use-prefers-reduced-motion.d.ts +2 -0
  276. package/dist/lib/utils.js +1 -1
  277. package/dist/{media-gallery-DhDRgnVZ.js → media-gallery-DLp3HAz0.js} +75 -74
  278. package/dist/media-gallery-DLp3HAz0.js.map +1 -0
  279. package/dist/{mentions-B8Ko-fhS.js → mentions-Cl0Kt_Pd.js} +52 -50
  280. package/dist/{mentions-B8Ko-fhS.js.map → mentions-Cl0Kt_Pd.js.map} +1 -1
  281. package/dist/message-SZUNB1eX.js +127 -0
  282. package/dist/message-SZUNB1eX.js.map +1 -0
  283. package/dist/{navigation-DBEu4POU.js → navigation-DnQSNMT0.js} +64 -55
  284. package/dist/navigation-DnQSNMT0.js.map +1 -0
  285. package/dist/{navigation-BUIn2Qxx.js → navigation-DyytsLRB.js} +37 -37
  286. package/dist/navigation-DyytsLRB.js.map +1 -0
  287. package/dist/{navigation-row-recipes-GVh11KiT.js → navigation-row-recipes-DQEXQcqY.js} +3 -3
  288. package/dist/navigation-row-recipes-DQEXQcqY.js.map +1 -0
  289. package/dist/{number-BNT_BIzJ.js → number-DasMFWEG.js} +4 -4
  290. package/dist/{number-BNT_BIzJ.js.map → number-DasMFWEG.js.map} +1 -1
  291. package/dist/overlays-DUbs1KEi.js +1011 -0
  292. package/dist/overlays-DUbs1KEi.js.map +1 -0
  293. package/dist/{page-BV6ioQg3.js → page-hGmT4nWK.js} +75 -64
  294. package/dist/page-hGmT4nWK.js.map +1 -0
  295. package/dist/{page-header-DQRa0jug.js → page-header-D8nERkn5.js} +9 -9
  296. package/dist/page-header-D8nERkn5.js.map +1 -0
  297. package/dist/{pagination-C29vvt3I.js → pagination-NLGqRirf.js} +20 -20
  298. package/dist/pagination-NLGqRirf.js.map +1 -0
  299. package/dist/{popover-CoLDEg19.js → popover-CghIYdQf.js} +23 -22
  300. package/dist/popover-CghIYdQf.js.map +1 -0
  301. package/dist/{popover-menu-GLIQTJTx.js → popover-menu-B4PoWhRl.js} +6 -6
  302. package/dist/{popover-menu-GLIQTJTx.js.map → popover-menu-B4PoWhRl.js.map} +1 -1
  303. package/dist/{popover.recipes-zgBhMlUu.js → popover.recipes-QlD4JenO.js} +5 -5
  304. package/dist/popover.recipes-QlD4JenO.js.map +1 -0
  305. package/dist/{primitives-DKPOGVpj.js → primitives-C7ff0QaI.js} +120 -113
  306. package/dist/primitives-C7ff0QaI.js.map +1 -0
  307. package/dist/primitives.js +3 -3
  308. package/dist/{progress-BOe8l_FZ.js → progress-BroqrAyV.js} +10 -9
  309. package/dist/progress-BroqrAyV.js.map +1 -0
  310. package/dist/{receipt-BM8xsGFy.js → receipt-BuJynLgf.js} +8 -8
  311. package/dist/{receipt-BM8xsGFy.js.map → receipt-BuJynLgf.js.map} +1 -1
  312. package/dist/{rich-text-B7sBAdDG.js → rich-text-DlxDOtf4.js} +4 -4
  313. package/dist/{rich-text-B7sBAdDG.js.map → rich-text-DlxDOtf4.js.map} +1 -1
  314. package/dist/rich-text-editor-BKyG7rWz.js +574 -0
  315. package/dist/rich-text-editor-BKyG7rWz.js.map +1 -0
  316. package/dist/{rich-text-editor.recipes-DxvOE0Lp.js → rich-text-editor.recipes-B72Nfuze.js} +35 -26
  317. package/dist/rich-text-editor.recipes-B72Nfuze.js.map +1 -0
  318. package/dist/{scroll-area-BheMQ270.js → scroll-area-D-pIhEKl.js} +3 -3
  319. package/dist/scroll-area-D-pIhEKl.js.map +1 -0
  320. package/dist/{separator-Gk_WXH-l.js → separator-BNIgG3au.js} +3 -3
  321. package/dist/{separator-Gk_WXH-l.js.map → separator-BNIgG3au.js.map} +1 -1
  322. package/dist/{separator-DO0EbCEm.js → separator-BhtFyo4x.js} +2 -2
  323. package/dist/{separator-DO0EbCEm.js.map → separator-BhtFyo4x.js.map} +1 -1
  324. package/dist/services/actions.js +1 -1
  325. package/dist/{settings-BnCyyPOJ.js → settings-DOTOzeZ2.js} +10 -9
  326. package/dist/{settings-BnCyyPOJ.js.map → settings-DOTOzeZ2.js.map} +1 -1
  327. package/dist/{sheet-B-q914Ad.js → sheet-BFhrNehm.js} +11 -11
  328. package/dist/sheet-BFhrNehm.js.map +1 -0
  329. package/dist/{sidebar-DPR7fmqN.js → sidebar-CyR4XKwR.js} +219 -200
  330. package/dist/sidebar-CyR4XKwR.js.map +1 -0
  331. package/dist/{sidebar-C_2p3Tfj.js → sidebar-SvGJ0Zwi.js} +63 -58
  332. package/dist/sidebar-SvGJ0Zwi.js.map +1 -0
  333. package/dist/{skeleton-CmT1ppqb.js → skeleton-3F0uhYn3.js} +4 -4
  334. package/dist/{skeleton-CmT1ppqb.js.map → skeleton-3F0uhYn3.js.map} +1 -1
  335. package/dist/{smart-card-CYLn46e6.js → smart-card-DjGVV2xr.js} +171 -165
  336. package/dist/smart-card-DjGVV2xr.js.map +1 -0
  337. package/dist/{spinner-BY9HbUEh.js → spinner-Cpf7oRkF.js} +5 -5
  338. package/dist/{spinner-BY9HbUEh.js.map → spinner-Cpf7oRkF.js.map} +1 -1
  339. package/dist/{structure-MvKVq-oL.js → structure-CRdqVawd.js} +2 -2
  340. package/dist/{structure-MvKVq-oL.js.map → structure-CRdqVawd.js.map} +1 -1
  341. package/dist/style.css +1 -1
  342. package/dist/{surface-recipes-CQfRr-VL.js → surface-recipes-Dd__PD-w.js} +4 -3
  343. package/dist/surface-recipes-Dd__PD-w.js.map +1 -0
  344. package/dist/{table-DnlAJ-xR.js → table-CLtJTxoR.js} +17 -16
  345. package/dist/table-CLtJTxoR.js.map +1 -0
  346. package/dist/table-CcRDZiLP.js +1444 -0
  347. package/dist/table-CcRDZiLP.js.map +1 -0
  348. package/dist/tabs-BNgu7g0u.js +188 -0
  349. package/dist/tabs-BNgu7g0u.js.map +1 -0
  350. package/dist/text-inputs-DsR56TR-.js +330 -0
  351. package/dist/text-inputs-DsR56TR-.js.map +1 -0
  352. package/dist/{text.styles-BwB7vAF2.js → text.styles-Q4sGAIgA.js} +18 -10
  353. package/dist/text.styles-Q4sGAIgA.js.map +1 -0
  354. package/dist/theme.css +77 -115
  355. package/dist/{timelines-B9ICkQcV.js → timelines-D1pkt3se.js} +84 -78
  356. package/dist/timelines-D1pkt3se.js.map +1 -0
  357. package/dist/{tree-BdWSaoFT.js → tree-BtmYyMZV.js} +8 -8
  358. package/dist/{tree-BdWSaoFT.js.map → tree-BtmYyMZV.js.map} +1 -1
  359. package/dist/typography/rich-text.js +1 -1
  360. package/dist/typography-BxQgiZyw.js +96 -0
  361. package/dist/typography-BxQgiZyw.js.map +1 -0
  362. package/dist/typography.js +1 -1
  363. package/dist/{ui-provider-CftIB6TY.js → ui-provider-DRPn3qNl.js} +3 -2
  364. package/dist/ui-provider-DRPn3qNl.js.map +1 -0
  365. package/dist/ui-provider.js +1 -1
  366. package/dist/{upload-D8Za5x_c.js → upload-CDbYw1WN.js} +326 -323
  367. package/dist/upload-CDbYw1WN.js.map +1 -0
  368. package/dist/{upload-queue-hIIYBLS7.js → upload-queue-CNd_hH_a.js} +25 -25
  369. package/dist/upload-queue-CNd_hH_a.js.map +1 -0
  370. package/dist/{usage-card-DnmnJ58D.js → usage-card-VyJLUwRr.js} +53 -54
  371. package/dist/usage-card-VyJLUwRr.js.map +1 -0
  372. package/dist/utils-BvH9PSmq.js +4275 -0
  373. package/dist/utils-BvH9PSmq.js.map +1 -0
  374. package/dist/value-inputs-D0KCrfVC.js +840 -0
  375. package/dist/value-inputs-D0KCrfVC.js.map +1 -0
  376. package/dist/{workspace-C1PZmk8L.js → workspace-CcR8r-Nt.js} +115 -122
  377. package/dist/workspace-CcR8r-Nt.js.map +1 -0
  378. package/docs/consumer-skill/SKILL.md +110 -119
  379. package/docs/consumer-skill/examples/analytics.tsx +34 -0
  380. package/docs/consumer-skill/examples/app-layout.tsx +42 -12
  381. package/docs/consumer-skill/examples/detail.tsx +20 -4
  382. package/docs/consumer-skill/examples/manifest.json +13 -1
  383. package/docs/consumer-skill/examples/website.tsx +56 -0
  384. package/docs/consumer-skill/references/analytics.md +70 -0
  385. package/docs/consumer-skill/references/composition.md +116 -2
  386. package/docs/consumer-skill/references/design-contract.md +33 -7
  387. package/docs/consumer-skill/references/discovery.md +76 -5
  388. package/docs/consumer-skill/references/integration.md +14 -0
  389. package/docs/consumer-skill/references/public-api.json +2023 -218
  390. package/docs/consumer-skill/references/review.md +55 -3
  391. package/docs/consumer-skill/references/theming.md +52 -7
  392. package/docs/consumer-skill/references/tokens.json +177 -9
  393. package/docs/consumer-skill/references/workflows.md +32 -0
  394. package/docs/consumer-skill/scripts/check-composition.mjs +1 -1
  395. package/docs/consumer-skill/scripts/composition-policy.mjs +179 -17
  396. package/docs/consumer-skill/scripts/discovery.mjs +61 -9
  397. package/docs/consumer-skill/scripts/surface-policy.mjs +44 -0
  398. package/package.json +7 -4
  399. package/dist/accordion-B-5Focs8.js.map +0 -1
  400. package/dist/action-menu-Cx3SdfbN.js.map +0 -1
  401. package/dist/affordance-geometry.generated-D8Jcfb0G.js +0 -32
  402. package/dist/affordance-geometry.generated-D8Jcfb0G.js.map +0 -1
  403. package/dist/ai-artifact-B5tPpXnS.js.map +0 -1
  404. package/dist/app-shell-at8Kt4l_.js.map +0 -1
  405. package/dist/auth-OFwWSAap.js +0 -704
  406. package/dist/auth-OFwWSAap.js.map +0 -1
  407. package/dist/breadcrumbs-DdQ_I5ra.js.map +0 -1
  408. package/dist/button-BS6l5JUw.js.map +0 -1
  409. package/dist/buttons-Co6GavvM.js +0 -674
  410. package/dist/buttons-Co6GavvM.js.map +0 -1
  411. package/dist/chart-DVfcwQu6.js +0 -149
  412. package/dist/chart-DVfcwQu6.js.map +0 -1
  413. package/dist/checkbox-BavDRjF7.js.map +0 -1
  414. package/dist/choice-inputs-CC7XqPQO.js +0 -619
  415. package/dist/choice-inputs-CC7XqPQO.js.map +0 -1
  416. package/dist/code-block-xHKbAJDj.js.map +0 -1
  417. package/dist/combobox-DEbdr-3u.js.map +0 -1
  418. package/dist/combobox-xv3yJbzl.js.map +0 -1
  419. package/dist/command-C0xe7u9B.js.map +0 -1
  420. package/dist/comments-DviPLnwy.js +0 -1132
  421. package/dist/comments-DviPLnwy.js.map +0 -1
  422. package/dist/containers-6s-ucRQQ.js.map +0 -1
  423. package/dist/data-display-cWIRdeaf.js.map +0 -1
  424. package/dist/date-picker-CA6ogMQB.js.map +0 -1
  425. package/dist/date-pickers-BPIKLdsD.js +0 -224
  426. package/dist/date-pickers-BPIKLdsD.js.map +0 -1
  427. package/dist/feedback-DWUkgEjR.js.map +0 -1
  428. package/dist/field-affordance-recipes-IjzPrCTw.js +0 -17
  429. package/dist/field-affordance-recipes-IjzPrCTw.js.map +0 -1
  430. package/dist/field-state-recipes-CBTRt9Bt.js.map +0 -1
  431. package/dist/filters-BhsUtsxW.js.map +0 -1
  432. package/dist/form-field-Bn7ZH1rA.js.map +0 -1
  433. package/dist/form-sizing-BWs70_a2.js.map +0 -1
  434. package/dist/forms-numeric-BUBxELBv.js +0 -867
  435. package/dist/forms-numeric-BUBxELBv.js.map +0 -1
  436. package/dist/header-C59QZyxV.js.map +0 -1
  437. package/dist/http-CLTVJc5I.js.map +0 -1
  438. package/dist/input-WwYQZJzG.js +0 -202
  439. package/dist/input-WwYQZJzG.js.map +0 -1
  440. package/dist/input-ci9fIgFH.js +0 -20
  441. package/dist/input-ci9fIgFH.js.map +0 -1
  442. package/dist/item-pJ0GsOiJ.js.map +0 -1
  443. package/dist/media-gallery-DhDRgnVZ.js.map +0 -1
  444. package/dist/message-COsdEvXT.js +0 -108
  445. package/dist/message-COsdEvXT.js.map +0 -1
  446. package/dist/navigation-BUIn2Qxx.js.map +0 -1
  447. package/dist/navigation-DBEu4POU.js.map +0 -1
  448. package/dist/navigation-row-recipes-GVh11KiT.js.map +0 -1
  449. package/dist/overlays-B11wZka6.js +0 -982
  450. package/dist/overlays-B11wZka6.js.map +0 -1
  451. package/dist/page-BV6ioQg3.js.map +0 -1
  452. package/dist/page-header-DQRa0jug.js.map +0 -1
  453. package/dist/pagination-C29vvt3I.js.map +0 -1
  454. package/dist/popover-CoLDEg19.js.map +0 -1
  455. package/dist/popover.recipes-zgBhMlUu.js.map +0 -1
  456. package/dist/primitives-DKPOGVpj.js.map +0 -1
  457. package/dist/progress-BOe8l_FZ.js.map +0 -1
  458. package/dist/rich-text-editor-CoVrTiSv.js +0 -575
  459. package/dist/rich-text-editor-CoVrTiSv.js.map +0 -1
  460. package/dist/rich-text-editor.recipes-DxvOE0Lp.js.map +0 -1
  461. package/dist/scroll-area-BheMQ270.js.map +0 -1
  462. package/dist/select-B2mb-qN2.js +0 -108
  463. package/dist/select-B2mb-qN2.js.map +0 -1
  464. package/dist/sheet-B-q914Ad.js.map +0 -1
  465. package/dist/sidebar-C_2p3Tfj.js.map +0 -1
  466. package/dist/sidebar-DPR7fmqN.js.map +0 -1
  467. package/dist/smart-card-CYLn46e6.js.map +0 -1
  468. package/dist/surface-recipes-CQfRr-VL.js.map +0 -1
  469. package/dist/table-BS39xnlq.js +0 -1424
  470. package/dist/table-BS39xnlq.js.map +0 -1
  471. package/dist/table-DnlAJ-xR.js.map +0 -1
  472. package/dist/tabs-B5cNMWiP.js +0 -187
  473. package/dist/tabs-B5cNMWiP.js.map +0 -1
  474. package/dist/text-inputs-Dh9XGyiS.js +0 -331
  475. package/dist/text-inputs-Dh9XGyiS.js.map +0 -1
  476. package/dist/text.styles-BwB7vAF2.js.map +0 -1
  477. package/dist/timelines-B9ICkQcV.js.map +0 -1
  478. package/dist/typography-Cv8MT-82.js +0 -96
  479. package/dist/typography-Cv8MT-82.js.map +0 -1
  480. package/dist/ui-provider-CftIB6TY.js.map +0 -1
  481. package/dist/upload-D8Za5x_c.js.map +0 -1
  482. package/dist/upload-queue-hIIYBLS7.js.map +0 -1
  483. package/dist/usage-card-DnmnJ58D.js.map +0 -1
  484. package/dist/utils-C2EKeIw3.js +0 -72
  485. package/dist/utils-C2EKeIw3.js.map +0 -1
  486. package/dist/value-inputs-DX2dbxjj.js +0 -824
  487. package/dist/value-inputs-DX2dbxjj.js.map +0 -1
  488. package/dist/workspace-C1PZmk8L.js.map +0 -1
@@ -1,30 +1,30 @@
1
1
  "use client";
2
- import { u as e } from "../ui-provider-CftIB6TY.js";
2
+ import { u as e } from "../ui-provider-DRPn3qNl.js";
3
3
  import { mergeStrings as t, useStrings as n } from "../lib/strings.js";
4
- import { t as r } from "../utils-C2EKeIw3.js";
5
- import { n as i } from "../buttons-Co6GavvM.js";
6
- import { a, i as o, r as s, t as c } from "../typography-Cv8MT-82.js";
7
- import { r as l, t as u } from "../structure-MvKVq-oL.js";
8
- import { t as d, u as f } from "../smart-card-CYLn46e6.js";
9
- import { t as p } from "../progress-BOe8l_FZ.js";
10
- import { n as m } from "../cards-Cum56XOF.js";
11
- import { _ as h, c as g, g as _, m as v, u as y } from "../primitives-DKPOGVpj.js";
12
- import { n as b, r as x, t as S } from "../number-BNT_BIzJ.js";
13
- import { t as C } from "../icon-badge-Dv0RYQwj.js";
14
- import { i as w, n as T, s as E } from "../avatar-Bpzty83c.js";
15
- import { t as D } from "../badge-BZXZT9wd.js";
16
- import { t as O } from "../separator-Gk_WXH-l.js";
17
- import { t as k } from "../input-WwYQZJzG.js";
18
- import { i as A, n as j } from "../display-CFM5myut.js";
19
- import { t as M } from "../form-field-Bn7ZH1rA.js";
20
- import { a as N, c as ee, r as te } from "../choice-inputs-CC7XqPQO.js";
21
- import { u as ne } from "../value-inputs-DX2dbxjj.js";
22
- import { d as P, n as re } from "../forms-numeric-BUBxELBv.js";
23
- import { a as ie, c as F, i as I, n as L, o as R, r as z, t as B, u as V } from "../item-pJ0GsOiJ.js";
24
- import { i as ae, n as oe, r as se, t as ce } from "../tabs-B5cNMWiP.js";
25
- import { g as H, n as U } from "../data-display-cWIRdeaf.js";
26
- import { n as le, t as ue } from "../receipt-BM8xsGFy.js";
27
- import { s as de } from "../timelines-B9ICkQcV.js";
4
+ import { t as r } from "../utils-BvH9PSmq.js";
5
+ import { a as i, i as a, r as o, t as s } from "../typography-BxQgiZyw.js";
6
+ import { t as c } from "../button-BZDasD04.js";
7
+ import { r as l, t as u } from "../structure-CRdqVawd.js";
8
+ import { d, t as f } from "../smart-card-DjGVV2xr.js";
9
+ import { t as p } from "../progress-BroqrAyV.js";
10
+ import { n as m } from "../cards-qGSErLw_.js";
11
+ import { _ as h, c as g, g as _, m as v, u as y } from "../primitives-C7ff0QaI.js";
12
+ import { n as b, r as x, t as S } from "../number-DasMFWEG.js";
13
+ import { t as C } from "../icon-badge-Btc6pQrp.js";
14
+ import { i as w, n as T, s as E } from "../avatar-Bu2HhitA.js";
15
+ import { t as D } from "../badge-CzId1Wlm.js";
16
+ import { t as O } from "../separator-BNIgG3au.js";
17
+ import { t as k } from "../input-SX9V0AL3.js";
18
+ import { a as A, c as ee, r as te } from "../choice-inputs-Mk3iWbhr.js";
19
+ import { i as j, n as M } from "../display-CS6Hbk18.js";
20
+ import { t as N } from "../form-field-CZwrkP7m.js";
21
+ import { u as ne } from "../value-inputs-D0KCrfVC.js";
22
+ import { d as P, n as re } from "../forms-numeric-Crrm80Lm.js";
23
+ import { a as ie, c as F, i as I, n as L, o as R, r as z, t as B, u as V } from "../item-DE4YnuJx.js";
24
+ import { i as ae, n as oe, r as se, t as ce } from "../tabs-BNgu7g0u.js";
25
+ import { g as H, n as U } from "../data-display-Bihs9Ven.js";
26
+ import { n as le, t as ue } from "../receipt-BuJynLgf.js";
27
+ import { s as de } from "../timelines-D1pkt3se.js";
28
28
  import { forwardRef as fe, useEffect as pe, useId as me, useRef as he, useState as ge } from "react";
29
29
  import { Fragment as W, jsx as G, jsxs as K } from "react/jsx-runtime";
30
30
  import { ArrowRight as _e, Barcode as ve, Calendar as ye, CalendarClock as be, Check as q, CheckCircle2 as xe, ChevronRight as Se, Circle as Ce, CircleAlert as we, Copy as Te, CreditCard as Ee, Edit2 as De, ExternalLink as Oe, Eye as ke, Gauge as Ae, Gift as J, Loader2 as je, MapPin as Me, MessageSquare as Ne, Package as Pe, PackageCheck as Fe, Pencil as Ie, Receipt as Le, RefreshCw as Re, Repeat as ze, RotateCcw as Be, Search as Ve, ShoppingBag as He, Sparkles as Ue, Star as We, TicketPercent as Ge, Trash2 as Ke, TriangleAlert as qe, Trophy as Je, X as Ye } from "lucide-react";
@@ -35,7 +35,7 @@ function Xe({ bookings: e, className: t, locale: n, dateTone: i = "neutral", dat
35
35
  children: e.map((e, t) => /* @__PURE__ */ K(B, {
36
36
  className: "items-center",
37
37
  children: [
38
- /* @__PURE__ */ G(F, { children: /* @__PURE__ */ G(A, {
38
+ /* @__PURE__ */ G(F, { children: /* @__PURE__ */ G(j, {
39
39
  date: e.date,
40
40
  time: o === "below" ? e.time : void 0,
41
41
  tone: i,
@@ -73,8 +73,8 @@ Xe.displayName = "UpcomingBookingRow";
73
73
  function Ze(e) {
74
74
  return typeof e == "string" || typeof e == "number" || typeof e == "bigint" ? /* @__PURE__ */ G(h, { children: String(e) }) : e;
75
75
  }
76
- function Qe({ title: e, description: t, status: n, items: i, actionLabel: a, onAction: o, className: c, contentClassName: l }) {
77
- return /* @__PURE__ */ K(j, {
76
+ function Qe({ title: e, description: t, status: n, items: i, actionLabel: a, onAction: s, className: c, contentClassName: l }) {
77
+ return /* @__PURE__ */ K(M, {
78
78
  title: e,
79
79
  description: t,
80
80
  headerEnd: n,
@@ -85,7 +85,7 @@ function Qe({ title: e, description: t, status: n, items: i, actionLabel: a, onA
85
85
  className: "booking-calendar-event-card--details grid gap-space-lg @md/booking-calendar-event-card:grid-cols-2",
86
86
  children: i.map((e) => /* @__PURE__ */ K("div", {
87
87
  className: r("grid min-w-0 gap-space-sm", e.fullWidth === !0 && "@md/booking-calendar-event-card:col-span-2 rounded-radius bg-muted/45 p-surface-xs"),
88
- children: [/* @__PURE__ */ G("dt", { children: /* @__PURE__ */ G(s, { children: e.label }) }), /* @__PURE__ */ G("dd", {
88
+ children: [/* @__PURE__ */ G("dt", { children: /* @__PURE__ */ G(o, { children: e.label }) }), /* @__PURE__ */ G("dd", {
89
89
  className: "min-w-0",
90
90
  children: Ze(e.value)
91
91
  })]
@@ -95,7 +95,7 @@ function Qe({ title: e, description: t, status: n, items: i, actionLabel: a, onA
95
95
  children: /* @__PURE__ */ G(m, {
96
96
  fullWidth: !1,
97
97
  className: "w-full @md/booking-calendar-event-card:w-auto",
98
- onClick: o,
98
+ onClick: s,
99
99
  children: a
100
100
  })
101
101
  })]
@@ -112,19 +112,19 @@ var $e = {
112
112
  };
113
113
  //#endregion
114
114
  //#region src/components/blocks/commerce/loyalty-points/loyalty-points.tsx
115
- function et({ balance: e, tier: t, tierTone: s = "warning", history: c = [], onRedeem: l, className: u, strings: d }) {
115
+ function et({ balance: e, tier: t, tierTone: o = "warning", history: s = [], onRedeem: l, className: u, strings: d }) {
116
116
  let f = n($e, d);
117
- return /* @__PURE__ */ K(j, {
117
+ return /* @__PURE__ */ K(M, {
118
118
  className: r("loyalty-points--component w-full", u),
119
119
  children: [
120
120
  /* @__PURE__ */ G(H, {
121
121
  label: f.balanceLabel,
122
122
  value: /* @__PURE__ */ K(D, {
123
- tone: s,
123
+ tone: o,
124
124
  children: [/* @__PURE__ */ G(Je, { className: "mr-1 inline size-icon-sm" }), t ?? f.tier]
125
125
  })
126
126
  }),
127
- /* @__PURE__ */ G(o, {
127
+ /* @__PURE__ */ G(a, {
128
128
  tag: "h3",
129
129
  className: "text-base tabular-nums tracking-tight",
130
130
  children: typeof e == "number" ? /* @__PURE__ */ G(S, {
@@ -134,13 +134,13 @@ function et({ balance: e, tier: t, tierTone: s = "warning", history: c = [], onR
134
134
  align: "left"
135
135
  }) : e
136
136
  }),
137
- /* @__PURE__ */ G(a, {
137
+ /* @__PURE__ */ G(i, {
138
138
  size: "xs",
139
139
  type: "secondary",
140
140
  children: f.pointsAvailable
141
141
  }),
142
142
  /* @__PURE__ */ G(O, { className: "my-space-xl" }),
143
- /* @__PURE__ */ G(R, { children: c.map((e) => /* @__PURE__ */ K(B, {
143
+ /* @__PURE__ */ G(R, { children: s.map((e) => /* @__PURE__ */ K(B, {
144
144
  size: "sm",
145
145
  children: [/* @__PURE__ */ K(z, { children: [/* @__PURE__ */ G(V, {
146
146
  bold: !1,
@@ -148,13 +148,13 @@ function et({ balance: e, tier: t, tierTone: s = "warning", history: c = [], onR
148
148
  }), /* @__PURE__ */ G(I, {
149
149
  clamp: 1,
150
150
  children: e.date
151
- })] }), /* @__PURE__ */ G(L, { children: /* @__PURE__ */ G(a, {
151
+ })] }), /* @__PURE__ */ G(L, { children: /* @__PURE__ */ G(i, {
152
152
  weight: "semibold",
153
153
  className: r("tabular-nums", e.positive ? "text-success" : "text-destructive"),
154
154
  children: e.points
155
155
  }) })]
156
156
  }, e.date + e.label)) }),
157
- /* @__PURE__ */ G(i, {
157
+ /* @__PURE__ */ G(c, {
158
158
  icon: J,
159
159
  fullWidth: !0,
160
160
  className: "mt-space-xl",
@@ -179,11 +179,11 @@ var rt = {
179
179
  };
180
180
  //#endregion
181
181
  //#region src/components/blocks/commerce/discount-stack/discount-stack.tsx
182
- function it({ discounts: e, totalSavings: t, className: i, strings: s }) {
182
+ function it({ discounts: e, totalSavings: t, className: o, strings: s }) {
183
183
  let c = n(rt, s);
184
- return /* @__PURE__ */ K(j, {
184
+ return /* @__PURE__ */ K(M, {
185
185
  title: c.title,
186
- className: r("discount-stack--component w-full", i),
186
+ className: r("discount-stack--component w-full", o),
187
187
  children: [
188
188
  /* @__PURE__ */ G(R, {
189
189
  className: "mt-space-xl",
@@ -209,13 +209,13 @@ function it({ discounts: e, totalSavings: t, className: i, strings: s }) {
209
209
  }),
210
210
  /* @__PURE__ */ G(O, { className: "my-space-xl" }),
211
211
  /* @__PURE__ */ G(H, {
212
- label: /* @__PURE__ */ G(a, {
212
+ label: /* @__PURE__ */ G(i, {
213
213
  tag: "span",
214
214
  weight: "semibold",
215
215
  lineHeight: "tight",
216
216
  children: c.totalSavings
217
217
  }),
218
- value: /* @__PURE__ */ G(o, {
218
+ value: /* @__PURE__ */ G(a, {
219
219
  tag: "h4",
220
220
  className: "text-base tabular-nums tracking-tight text-success border-none pb-0",
221
221
  children: nt(t)
@@ -241,9 +241,9 @@ var at = {
241
241
  };
242
242
  //#endregion
243
243
  //#region src/components/blocks/commerce/shipment-tracking/shipment-tracking.tsx
244
- function st({ trackingNumber: e, carrier: t, status: i, steps: o, details: s = [], className: c, strings: l }) {
244
+ function st({ trackingNumber: e, carrier: t, status: a, steps: o, details: s = [], className: c, strings: l }) {
245
245
  let u = n(ot, l);
246
- return /* @__PURE__ */ K(j, {
246
+ return /* @__PURE__ */ K(M, {
247
247
  "aria-label": u.title,
248
248
  className: r("shipment-tracking--component w-full", c),
249
249
  children: [
@@ -261,20 +261,20 @@ function st({ trackingNumber: e, carrier: t, status: i, steps: o, details: s = [
261
261
  className: "shipment-tracking--status mt-space-xl flex items-center gap-space-sm",
262
262
  children: [/* @__PURE__ */ G("span", {
263
263
  "aria-hidden": "true",
264
- className: r("shipment-tracking--status-dot h-2 w-2 rounded-full", at[i])
265
- }), /* @__PURE__ */ G(a, {
264
+ className: r("shipment-tracking--status-dot h-2 w-2 rounded-full", at[a])
265
+ }), /* @__PURE__ */ G(i, {
266
266
  weight: "semibold",
267
- children: u[i]
267
+ children: u[a]
268
268
  })]
269
269
  }),
270
270
  /* @__PURE__ */ G("div", {
271
- className: "mt-5 flex items-center justify-between",
271
+ className: "mt-space-xl flex items-center justify-between",
272
272
  children: o.map((e, t) => /* @__PURE__ */ K("div", {
273
273
  className: "flex flex-1 flex-col items-start gap-space-md",
274
274
  children: [/* @__PURE__ */ K("div", {
275
275
  className: "flex w-full items-center",
276
276
  children: [/* @__PURE__ */ G("div", { className: r("size-icon-sm shrink-0 rounded-full", e.done ? "bg-success" : "bg-muted") }), t < o.length - 1 && /* @__PURE__ */ G("div", { className: r("h-0.5 flex-1", e.done ? "bg-success" : "bg-muted") })]
277
- }), /* @__PURE__ */ G(a, {
277
+ }), /* @__PURE__ */ G(i, {
278
278
  size: "xs",
279
279
  type: "secondary",
280
280
  className: "text-left leading-tight",
@@ -363,7 +363,7 @@ function mt({ code: e, amount: t, remainingAmount: i, status: a, recipientName:
363
363
  size: "sm",
364
364
  variant: "outline",
365
365
  padding: "default",
366
- className: r("giftcard-card--component giftcard-compact--component flex-nowrap gap-x-2.5 shadow-sm transition-colors duration-150 hover:border-border", c),
366
+ className: r("giftcard-card--component giftcard-compact--component flex-nowrap shadow-sm transition-colors duration-150 hover:border-border", c),
367
367
  children: [
368
368
  /* @__PURE__ */ G(F, {
369
369
  variant: "image",
@@ -415,8 +415,8 @@ function mt({ code: e, amount: t, remainingAmount: i, status: a, recipientName:
415
415
  mt.displayName = "GiftcardCompact";
416
416
  //#endregion
417
417
  //#region src/components/blocks/commerce/giftcard-card/partials/giftcard-copy-button.tsx
418
- function ht({ code: e, strings: t, inverse: o = !1, className: s }) {
419
- let c = n(Y, t), l = he(0), [u, d] = ge({
418
+ function ht({ code: e, strings: t, inverse: a = !1, className: o }) {
419
+ let s = n(Y, t), l = he(0), [u, d] = ge({
420
420
  code: e,
421
421
  state: "idle"
422
422
  }), f = u.code === e ? u.state : "idle";
@@ -426,7 +426,7 @@ function ht({ code: e, strings: t, inverse: o = !1, className: s }) {
426
426
  }), () => {
427
427
  l.current++;
428
428
  }), [e]);
429
- let p = f === "copied" ? c.copiedCode : f === "failed" ? c.copyFailed : f === "pending" ? c.copyingCode : c.copyCode, m = f === "copied" ? q : f === "failed" ? Ye : f === "pending" ? je : Te, h = async () => {
429
+ let p = f === "copied" ? s.copiedCode : f === "failed" ? s.copyFailed : f === "pending" ? s.copyingCode : s.copyCode, m = f === "copied" ? q : f === "failed" ? Ye : f === "pending" ? je : Te, h = async () => {
430
430
  if (!e || f === "pending") return;
431
431
  let t = l.current;
432
432
  d({
@@ -445,7 +445,7 @@ function ht({ code: e, strings: t, inverse: o = !1, className: s }) {
445
445
  });
446
446
  }
447
447
  };
448
- return /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(i, {
448
+ return /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(c, {
449
449
  type: "button",
450
450
  tone: "secondary",
451
451
  buttonStyle: "ghost",
@@ -455,13 +455,13 @@ function ht({ code: e, strings: t, inverse: o = !1, className: s }) {
455
455
  "aria-busy": f === "pending",
456
456
  "aria-label": p,
457
457
  withTooltip: p,
458
- className: r("giftcard-copy--component", s, o && "text-inverse-foreground [&:not([aria-disabled=true]):not(:disabled)]:hover:bg-inverse-surface [&:not([aria-disabled=true]):not(:disabled)]:hover:text-inverse-foreground focus-visible:bg-inverse-surface focus-visible:ring-offset-inverse-background"),
458
+ className: r("giftcard-copy--component", o, a && "text-inverse-foreground [&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-inverse-surface [&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:text-inverse-foreground [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-inverse-surface-strong focus-visible:bg-inverse-surface focus-visible:ring-offset-inverse-background"),
459
459
  onClick: () => void h(),
460
460
  children: /* @__PURE__ */ G(m, {
461
461
  "aria-hidden": !0,
462
462
  className: r("size-icon-sm", f === "pending" && "animate-spin")
463
463
  })
464
- }), (f === "copied" || f === "failed") && /* @__PURE__ */ G(a, {
464
+ }), (f === "copied" || f === "failed") && /* @__PURE__ */ G(i, {
465
465
  tag: "span",
466
466
  role: "status",
467
467
  className: "sr-only",
@@ -470,8 +470,8 @@ function ht({ code: e, strings: t, inverse: o = !1, className: s }) {
470
470
  }
471
471
  //#endregion
472
472
  //#region src/components/blocks/commerce/giftcard-card/partials/giftcard-dark.tsx
473
- function gt({ code: e, amount: t, remainingAmount: s, status: c, recipientName: l, expiresAt: d, onView: f, className: p, strings: m }) {
474
- let g = n(Y, m), _ = g.status[c], y = ct[c], b = !!s && s !== t, x = b ? s : t, S = [...l ? [{
473
+ function gt({ code: e, amount: t, remainingAmount: o, status: s, recipientName: l, expiresAt: d, onView: f, className: p, strings: m }) {
474
+ let g = n(Y, m), _ = g.status[s], y = ct[s], b = !!o && o !== t, x = b ? o : t, S = [...l ? [{
475
475
  label: g.recipient,
476
476
  value: l
477
477
  }] : [], ...d ? [{
@@ -487,11 +487,11 @@ function gt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
487
487
  children: [
488
488
  /* @__PURE__ */ G(F, { children: /* @__PURE__ */ G("div", {
489
489
  className: "flex h-8 w-8 items-center justify-center rounded-full bg-warning/15",
490
- children: /* @__PURE__ */ G(J, { className: "h-4 w-4 text-warning" })
490
+ children: /* @__PURE__ */ G(J, { className: "h-4 w-4 text-warning-accent" })
491
491
  }) }),
492
492
  /* @__PURE__ */ G(z, { children: /* @__PURE__ */ G(V, {
493
493
  bold: !1,
494
- children: /* @__PURE__ */ G(a, {
494
+ children: /* @__PURE__ */ G(i, {
495
495
  tag: "span",
496
496
  size: "inherit",
497
497
  className: "text-inverse-muted",
@@ -508,9 +508,10 @@ function gt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
508
508
  className: "px-surface pb-surface-xs pt-space-sm",
509
509
  children: /* @__PURE__ */ K("div", {
510
510
  className: "flex items-baseline gap-space-md",
511
- children: [/* @__PURE__ */ G(o, {
511
+ children: [/* @__PURE__ */ G(a, {
512
512
  tag: "h2",
513
- className: "border-none pb-0 text-base tabular-nums text-inverse-foreground",
513
+ size: "2xl",
514
+ className: "border-none pb-0 tabular-nums text-inverse-foreground",
514
515
  children: x
515
516
  }), !!b && /* @__PURE__ */ G(h, {
516
517
  className: "line-through tabular-nums text-inverse-disabled",
@@ -519,7 +520,7 @@ function gt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
519
520
  })
520
521
  }),
521
522
  /* @__PURE__ */ G("div", {
522
- className: "mx-space-xl rounded-radius-md border border-inverse-border bg-inverse-surface p-surface-xs",
523
+ className: "mx-space-xl rounded-inner border border-inverse-border bg-inverse-surface p-surface-xs",
523
524
  children: /* @__PURE__ */ K(u, {
524
525
  direction: "horizontal",
525
526
  align: "center",
@@ -541,7 +542,7 @@ function gt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
541
542
  }),
542
543
  !!f && /* @__PURE__ */ G("div", {
543
544
  className: "px-surface pb-surface pt-space-sm",
544
- children: /* @__PURE__ */ G(i, {
545
+ children: /* @__PURE__ */ G(c, {
545
546
  tone: "neutral",
546
547
  buttonStyle: "solid",
547
548
  icon: ke,
@@ -556,8 +557,8 @@ function gt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
556
557
  gt.displayName = "GiftcardCardDark";
557
558
  //#endregion
558
559
  //#region src/components/blocks/commerce/giftcard-card/partials/giftcard-full.tsx
559
- function _t({ code: e, amount: t, remainingAmount: c, status: l, recipientName: d, senderName: f, message: p, expiresAt: m, createdAt: g, template: _, onView: y, gradient: b = "purple", pattern: x = "none", className: S, strings: C }) {
560
- let w = n(Y, C), T = w.status[l], E = ct[l], O = !!c && c !== t, k = O ? c : t, A = [
560
+ function _t({ code: e, amount: t, remainingAmount: s, status: l, recipientName: d, senderName: f, message: p, expiresAt: m, createdAt: g, template: _, onView: y, gradient: b = "purple", pattern: x = "none", className: S, strings: C }) {
561
+ let w = n(Y, C), T = w.status[l], E = ct[l], O = !!s && s !== t, k = O ? s : t, A = [
561
562
  ...d ? [{
562
563
  label: w.to,
563
564
  value: d
@@ -578,7 +579,7 @@ function _t({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
578
579
  children: [
579
580
  /* @__PURE__ */ G("div", {
580
581
  "aria-hidden": !0,
581
- className: r("absolute inset-x-0 top-0 h-1 bg-gradient-to-r", ut[b].strip)
582
+ className: r("absolute inset-x-0 top-0 z-10 h-1 bg-gradient-to-r", ut[b].strip)
582
583
  }),
583
584
  x === "circles" && /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G("div", {
584
585
  className: "absolute -top-8 -right-8 h-32 w-32 rounded-full bg-inverse-decoration",
@@ -611,27 +612,31 @@ function _t({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
611
612
  children: T
612
613
  })
613
614
  }),
614
- /* @__PURE__ */ K("div", {
615
+ /* @__PURE__ */ K(u, {
616
+ gap: "xl",
615
617
  className: "relative z-10",
616
618
  children: [
617
619
  /* @__PURE__ */ K("div", {
618
620
  className: "flex items-center gap-space-md",
619
- children: [/* @__PURE__ */ G(J, { className: "h-5 w-5 text-inverse-muted" }), /* @__PURE__ */ G(a, {
621
+ children: [/* @__PURE__ */ G(J, { className: "h-5 w-5 text-inverse-muted" }), /* @__PURE__ */ G(i, {
620
622
  weight: "medium",
621
623
  className: "text-inverse-muted",
622
624
  children: w.giftCard
623
625
  })]
624
626
  }),
625
- /* @__PURE__ */ K("div", {
626
- className: "mt-8 mb-5",
627
- children: [/* @__PURE__ */ G(s, {
627
+ /* @__PURE__ */ K(u, {
628
+ gap: "dense",
629
+ children: [/* @__PURE__ */ G(o, {
628
630
  tone: "inverse",
629
631
  children: w.balance
630
- }), /* @__PURE__ */ K("div", {
631
- className: "flex items-baseline gap-2.5 mt-1",
632
- children: [/* @__PURE__ */ G(o, {
632
+ }), /* @__PURE__ */ K(u, {
633
+ direction: "horizontal",
634
+ align: "baseline",
635
+ gap: "lg",
636
+ children: [/* @__PURE__ */ G(a, {
633
637
  tag: "h2",
634
- className: "text-base border-none pb-0 text-inverse-foreground tabular-nums drop-shadow-sm",
638
+ size: "2xl",
639
+ className: "border-none pb-0 text-inverse-foreground tabular-nums drop-shadow-sm",
635
640
  children: k
636
641
  }), !!O && /* @__PURE__ */ G(h, {
637
642
  className: "line-through tabular-nums text-inverse-disabled",
@@ -664,12 +669,10 @@ function _t({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
664
669
  children: /* @__PURE__ */ K(u, {
665
670
  gap: "xl",
666
671
  children: [
667
- !!p && /* @__PURE__ */ K("div", {
672
+ !!p && /* @__PURE__ */ K(u, {
673
+ gap: "normal",
668
674
  className: "giftcard-full--message rounded-radius bg-muted/50 p-surface-xs border border-border/30",
669
- children: [/* @__PURE__ */ G(s, {
670
- className: "mb-1",
671
- children: w.personalMessage
672
- }), /* @__PURE__ */ K(a, {
675
+ children: [/* @__PURE__ */ G(o, { children: w.personalMessage }), /* @__PURE__ */ K(i, {
673
676
  type: "secondary",
674
677
  className: "italic leading-relaxed",
675
678
  children: [
@@ -686,7 +689,7 @@ function _t({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
686
689
  sm: 2
687
690
  }
688
691
  }),
689
- !!y && /* @__PURE__ */ G(i, {
692
+ !!y && /* @__PURE__ */ G(c, {
690
693
  tone: "secondary",
691
694
  buttonStyle: "outline",
692
695
  icon: ke,
@@ -702,8 +705,8 @@ function _t({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
702
705
  _t.displayName = "GiftcardFull";
703
706
  //#endregion
704
707
  //#region src/components/blocks/commerce/giftcard-card/partials/giftcard-illustrated.tsx
705
- function vt({ code: e, amount: t, remainingAmount: c, status: l, recipientName: d, expiresAt: f, onView: p, headerColor: m = "green", className: g, strings: _ }) {
706
- let y = n(Y, _), b = y.status[l], x = ct[l], S = !!c && c !== t, w = S ? c : t, T = [...d ? [{
708
+ function vt({ code: e, amount: t, remainingAmount: s, status: l, recipientName: d, expiresAt: f, onView: p, headerColor: m = "green", className: g, strings: _ }) {
709
+ let y = n(Y, _), b = y.status[l], x = ct[l], S = !!s && s !== t, w = S ? s : t, T = [...d ? [{
707
710
  label: y.recipient,
708
711
  value: d
709
712
  }] : [], ...f ? [{
@@ -728,9 +731,9 @@ function vt({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
728
731
  icon: J,
729
732
  size: "md",
730
733
  shape: "square",
731
- className: r("relative rounded-radius-md bg-inverse-surface text-inverse-foreground ring-1 ring-inverse-border")
734
+ className: r("relative rounded-inner bg-inverse-surface text-inverse-foreground ring-1 ring-inverse-border")
732
735
  }),
733
- /* @__PURE__ */ G(s, {
736
+ /* @__PURE__ */ G(o, {
734
737
  tone: "inverse",
735
738
  className: "relative",
736
739
  children: y.giftCard
@@ -743,28 +746,31 @@ function vt({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
743
746
  children: [
744
747
  /* @__PURE__ */ K("div", {
745
748
  className: "flex items-start justify-between",
746
- children: [/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ K("div", {
747
- className: "flex items-baseline gap-space-md",
748
- children: [/* @__PURE__ */ G(o, {
749
- tag: "h2",
750
- className: "border-none pb-0 text-base tabular-nums",
751
- children: w
752
- }), !!S && /* @__PURE__ */ G(h, {
753
- className: "line-through tabular-nums text-muted-foreground",
754
- children: t
749
+ children: [/* @__PURE__ */ K(u, {
750
+ gap: "dense",
751
+ children: [/* @__PURE__ */ K("div", {
752
+ className: "flex items-baseline gap-space-md",
753
+ children: [/* @__PURE__ */ G(a, {
754
+ tag: "h2",
755
+ size: "2xl",
756
+ className: "border-none pb-0 tabular-nums",
757
+ children: w
758
+ }), !!S && /* @__PURE__ */ G(h, {
759
+ className: "line-through tabular-nums text-muted-foreground",
760
+ children: t
761
+ })]
762
+ }), /* @__PURE__ */ G(i, {
763
+ size: "xs",
764
+ type: "secondary",
765
+ children: y.balance
755
766
  })]
756
- }), /* @__PURE__ */ G(a, {
757
- size: "xs",
758
- type: "secondary",
759
- className: "mt-0.5",
760
- children: y.balance
761
- })] }), /* @__PURE__ */ G(D, {
767
+ }), /* @__PURE__ */ G(D, {
762
768
  tone: x,
763
769
  children: b
764
770
  })]
765
771
  }),
766
772
  /* @__PURE__ */ G("div", {
767
- className: "giftcard-illustrated--code rounded-radius-md border border-border/50 bg-muted/40 p-surface-xs",
773
+ className: "giftcard-illustrated--code rounded-inner border border-border/50 bg-muted/40 p-surface-xs",
768
774
  children: /* @__PURE__ */ K(u, {
769
775
  direction: "horizontal",
770
776
  align: "center",
@@ -782,7 +788,7 @@ function vt({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
782
788
  items: T,
783
789
  columns: 2
784
790
  }),
785
- !!p && /* @__PURE__ */ G(i, {
791
+ !!p && /* @__PURE__ */ G(c, {
786
792
  tone: "secondary",
787
793
  buttonStyle: "outline",
788
794
  icon: ke,
@@ -798,8 +804,8 @@ function vt({ code: e, amount: t, remainingAmount: c, status: l, recipientName:
798
804
  vt.displayName = "GiftcardCardIllustrated";
799
805
  //#endregion
800
806
  //#region src/components/blocks/commerce/giftcard-card/partials/giftcard-minimal.tsx
801
- function yt({ code: e, amount: t, remainingAmount: s, status: c, recipientName: l, expiresAt: d, onView: f, color: p = "green", className: m, strings: g }) {
802
- let _ = n(Y, g), y = _.status[c], b = ct[c], x = !!s && s !== t, S = x ? s : t, C = ft[p], w = [...l ? [{
807
+ function yt({ code: e, amount: t, remainingAmount: o, status: s, recipientName: l, expiresAt: d, onView: f, color: p = "green", className: m, strings: g }) {
808
+ let _ = n(Y, g), y = _.status[s], b = ct[s], x = !!o && o !== t, S = x ? o : t, C = ft[p], w = [...l ? [{
803
809
  label: _.recipient,
804
810
  value: l
805
811
  }] : [], ...d ? [{
@@ -820,7 +826,7 @@ function yt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
820
826
  }) }),
821
827
  /* @__PURE__ */ G(z, { children: /* @__PURE__ */ G(V, {
822
828
  bold: !1,
823
- children: /* @__PURE__ */ G(a, {
829
+ children: /* @__PURE__ */ G(i, {
824
830
  tag: "span",
825
831
  size: "inherit",
826
832
  type: "secondary",
@@ -841,9 +847,10 @@ function yt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
841
847
  className: "px-surface pb-surface-xs pt-0",
842
848
  children: /* @__PURE__ */ K("div", {
843
849
  className: "flex items-baseline gap-space-md",
844
- children: [/* @__PURE__ */ G(o, {
850
+ children: [/* @__PURE__ */ G(a, {
845
851
  tag: "h2",
846
- className: "border-none pb-0 text-base tabular-nums",
852
+ size: "2xl",
853
+ className: "border-none pb-0 tabular-nums",
847
854
  children: S
848
855
  }), !!x && /* @__PURE__ */ G(h, {
849
856
  className: "line-through tabular-nums text-muted-foreground",
@@ -852,7 +859,7 @@ function yt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
852
859
  })
853
860
  }),
854
861
  /* @__PURE__ */ G("div", {
855
- className: "giftcard-minimal--code mx-space-xl rounded-radius-md border border-border/30 bg-muted/50 p-surface-xs",
862
+ className: "giftcard-minimal--code mx-space-xl rounded-inner border border-border/30 bg-muted/50 p-surface-xs",
856
863
  children: /* @__PURE__ */ K(u, {
857
864
  direction: "horizontal",
858
865
  align: "center",
@@ -875,7 +882,7 @@ function yt({ code: e, amount: t, remainingAmount: s, status: c, recipientName:
875
882
  }),
876
883
  !!f && /* @__PURE__ */ G("div", {
877
884
  className: "mt-1 border-t border-border/30 p-surface-xs",
878
- children: /* @__PURE__ */ K(i, {
885
+ children: /* @__PURE__ */ K(c, {
879
886
  tone: "secondary",
880
887
  buttonStyle: "ghost",
881
888
  onClick: f,
@@ -931,21 +938,21 @@ var xt = {
931
938
  destructive: "destructive"
932
939
  };
933
940
  function Ct({ children: e, tone: t }) {
934
- return f(e) ? /* @__PURE__ */ G(D, {
941
+ return d(e) ? /* @__PURE__ */ G(D, {
935
942
  tone: St[t ?? "secondary"],
936
943
  className: "vendor-profile--change shrink-0 tabular-nums",
937
944
  children: e
938
945
  }) : null;
939
946
  }
940
- var wt = fe(function({ name: e, initials: t, avatarUrl: a, role: o, verified: c = !1, earnings: p, earningsChange: m, earningsChangeTone: g, metrics: _ = [], stats: v = [], view: b, defaultView: x = "overview", onViewChange: S, onMessage: C, onHire: O, surface: k, className: A, strings: j }, M) {
941
- let N = n(xt, j), [ee, te] = ge(x), ne = b !== void 0, P = f(p), re = P || _.length > 0, ie = v.length > 0, R = [...re ? ["overview"] : [], ...ie ? ["stats"] : []], U = ne ? b : ee, le = R.includes(U) ? U : R[0] ?? "overview", ue = R.length > 0, de = !!(C || O), fe = (e) => {
942
- (e === "overview" || e === "stats") && R.includes(e) && (ne || te(e), S?.(e));
947
+ var wt = fe(function({ name: e, initials: t, avatarUrl: i, role: a, verified: s = !1, earnings: p, earningsChange: m, earningsChangeTone: g, metrics: _ = [], stats: v = [], view: b, defaultView: x = "overview", onViewChange: S, onMessage: C, onHire: O, surface: k, className: A, strings: ee }, te) {
948
+ let j = n(xt, ee), [M, N] = ge(x), ne = b !== void 0, P = d(p), re = P || _.length > 0, ie = v.length > 0, R = [...re ? ["overview"] : [], ...ie ? ["stats"] : []], U = ne ? b : M, le = R.includes(U) ? U : R[0] ?? "overview", ue = R.length > 0, de = !!(C || O), fe = (e) => {
949
+ (e === "overview" || e === "stats") && R.includes(e) && (ne || N(e), S?.(e));
943
950
  }, pe = /* @__PURE__ */ K(u, {
944
951
  gap: "lg",
945
952
  className: "vendor-profile--overview",
946
953
  children: [P && /* @__PURE__ */ K("div", {
947
954
  className: "vendor-profile--earnings rounded-radius bg-muted/45 p-surface-xs",
948
- children: [/* @__PURE__ */ G(s, { children: N.totalEarnings }), /* @__PURE__ */ K(u, {
955
+ children: [/* @__PURE__ */ G(o, { children: j.totalEarnings }), /* @__PURE__ */ K(u, {
949
956
  direction: "horizontal",
950
957
  gap: "md",
951
958
  align: "baseline",
@@ -981,7 +988,7 @@ var wt = fe(function({ name: e, initials: t, avatarUrl: a, role: o, verified: c
981
988
  className: "vendor-profile--stat rounded-radius bg-muted/45 p-surface-xs",
982
989
  children: /* @__PURE__ */ K(u, {
983
990
  gap: "sm",
984
- children: [/* @__PURE__ */ G(s, {
991
+ children: [/* @__PURE__ */ G(o, {
985
992
  className: "truncate",
986
993
  children: e.label
987
994
  }), /* @__PURE__ */ K(u, {
@@ -1006,15 +1013,15 @@ var wt = fe(function({ name: e, initials: t, avatarUrl: a, role: o, verified: c
1006
1013
  className: "vendor-profile--tabs gap-space-lg",
1007
1014
  children: [
1008
1015
  /* @__PURE__ */ K(se, {
1009
- className: "grid h-auto w-full grid-cols-2 rounded-radius p-space-xs",
1016
+ className: "grid h-auto w-full grid-cols-2 rounded-inner p-space-xs",
1010
1017
  children: [/* @__PURE__ */ G(ae, {
1011
1018
  value: "overview",
1012
- className: "h-action-sm rounded-radius-sm px-control-sm text-pxs",
1013
- children: N.tabOverview
1019
+ className: "h-action-sm rounded-inner px-control-sm text-pxs",
1020
+ children: j.tabOverview
1014
1021
  }), /* @__PURE__ */ G(ae, {
1015
1022
  value: "stats",
1016
- className: "h-action-sm rounded-radius-sm px-control-sm text-pxs",
1017
- children: N.tabStats
1023
+ className: "h-action-sm rounded-inner px-control-sm text-pxs",
1024
+ children: j.tabStats
1018
1025
  })]
1019
1026
  }),
1020
1027
  /* @__PURE__ */ G(oe, {
@@ -1029,16 +1036,16 @@ var wt = fe(function({ name: e, initials: t, avatarUrl: a, role: o, verified: c
1029
1036
  })
1030
1037
  ]
1031
1038
  }) : le === "stats" ? me : pe;
1032
- return /* @__PURE__ */ G(d, {
1033
- ref: M,
1039
+ return /* @__PURE__ */ G(f, {
1040
+ ref: te,
1034
1041
  surface: k,
1035
1042
  headerStart: /* @__PURE__ */ K(B, {
1036
1043
  className: "vendor-profile--identity flex-nowrap py-0",
1037
1044
  children: [
1038
1045
  /* @__PURE__ */ G(F, {
1039
1046
  variant: "avatar",
1040
- children: /* @__PURE__ */ K(T, { children: [!!a && /* @__PURE__ */ G(E, {
1041
- src: a,
1047
+ children: /* @__PURE__ */ K(T, { children: [!!i && /* @__PURE__ */ G(E, {
1048
+ src: i,
1042
1049
  alt: e
1043
1050
  }), /* @__PURE__ */ G(w, {
1044
1051
  className: "bg-primary/12 text-primary-accent",
@@ -1048,17 +1055,17 @@ var wt = fe(function({ name: e, initials: t, avatarUrl: a, role: o, verified: c
1048
1055
  })
1049
1056
  })] })
1050
1057
  }),
1051
- /* @__PURE__ */ K(z, { children: [/* @__PURE__ */ G(V, { children: e }), !!o && /* @__PURE__ */ G(I, {
1058
+ /* @__PURE__ */ K(z, { children: [/* @__PURE__ */ G(V, { children: e }), !!a && /* @__PURE__ */ G(I, {
1052
1059
  clamp: 2,
1053
- children: o
1060
+ children: a
1054
1061
  })] }),
1055
- !!c && /* @__PURE__ */ G(L, { children: /* @__PURE__ */ K(D, {
1062
+ !!s && /* @__PURE__ */ G(L, { children: /* @__PURE__ */ K(D, {
1056
1063
  tone: "success",
1057
- "aria-label": N.verifiedAriaLabel,
1064
+ "aria-label": j.verifiedAriaLabel,
1058
1065
  children: [/* @__PURE__ */ G(q, {
1059
1066
  className: "size-icon-sm",
1060
1067
  "aria-hidden": "true"
1061
- }), N.verifiedAriaLabel]
1068
+ }), j.verifiedAriaLabel]
1062
1069
  }) })
1063
1070
  ]
1064
1071
  }),
@@ -1066,7 +1073,7 @@ var wt = fe(function({ name: e, initials: t, avatarUrl: a, role: o, verified: c
1066
1073
  footerDivider: de,
1067
1074
  footerSlot: de ? /* @__PURE__ */ K("div", {
1068
1075
  className: "vendor-profile--actions flex flex-wrap gap-space-sm",
1069
- children: [!!C && /* @__PURE__ */ K(i, {
1076
+ children: [!!C && /* @__PURE__ */ K(c, {
1070
1077
  type: "button",
1071
1078
  tone: "secondary",
1072
1079
  buttonStyle: "outline",
@@ -1075,13 +1082,13 @@ var wt = fe(function({ name: e, initials: t, avatarUrl: a, role: o, verified: c
1075
1082
  children: [/* @__PURE__ */ G(Ne, {
1076
1083
  className: "size-icon-sm",
1077
1084
  "aria-hidden": "true"
1078
- }), N.message]
1079
- }), !!O && /* @__PURE__ */ K(i, {
1085
+ }), j.message]
1086
+ }), !!O && /* @__PURE__ */ K(c, {
1080
1087
  type: "button",
1081
1088
  tone: "primary",
1082
1089
  className: "min-w-0 flex-1",
1083
1090
  onClick: O,
1084
- children: [N.hire, /* @__PURE__ */ G(Se, {
1091
+ children: [j.hire, /* @__PURE__ */ G(Se, {
1085
1092
  className: "size-icon-sm",
1086
1093
  "aria-hidden": "true"
1087
1094
  })]
@@ -1106,8 +1113,8 @@ var Tt = {
1106
1113
  };
1107
1114
  //#endregion
1108
1115
  //#region src/components/blocks/commerce/inventory-level/inventory-level.tsx
1109
- function Et({ productName: e, variant: t, stock: i, reorderLevel: o, maxStock: s, lastRestocked: c, className: l, strings: d }) {
1110
- let f = n(Tt, d), p = Math.round(i / s * 100), m = i <= o, h = i <= o * .5, g = h ? "destructive" : m ? "warning" : "success", v = h ? f.statusCritical : m ? f.statusLowStock : f.statusInStock;
1116
+ function Et({ productName: e, variant: t, stock: a, reorderLevel: o, maxStock: s, lastRestocked: c, className: l, strings: d }) {
1117
+ let f = n(Tt, d), p = Math.round(a / s * 100), m = a <= o, h = a <= o * .5, g = h ? "destructive" : m ? "warning" : "success", v = h ? f.statusCritical : m ? f.statusLowStock : f.statusInStock;
1111
1118
  return /* @__PURE__ */ K(u, {
1112
1119
  "data-component": "inventory-level",
1113
1120
  "data-slot": "inventory-level",
@@ -1125,12 +1132,12 @@ function Et({ productName: e, variant: t, stock: i, reorderLevel: o, maxStock: s
1125
1132
  })
1126
1133
  }),
1127
1134
  /* @__PURE__ */ G(S, {
1128
- value: i,
1135
+ value: a,
1129
1136
  weight: "semibold",
1130
1137
  align: "left",
1131
1138
  className: "tracking-tight"
1132
1139
  }),
1133
- /* @__PURE__ */ G(a, {
1140
+ /* @__PURE__ */ G(i, {
1134
1141
  size: "xs",
1135
1142
  type: "secondary",
1136
1143
  children: f.unitsAvailable
@@ -1146,7 +1153,7 @@ function Et({ productName: e, variant: t, stock: i, reorderLevel: o, maxStock: s
1146
1153
  })
1147
1154
  }), /* @__PURE__ */ K("div", {
1148
1155
  className: "flex items-center justify-between",
1149
- children: [/* @__PURE__ */ K(a, {
1156
+ children: [/* @__PURE__ */ K(i, {
1150
1157
  size: "xs",
1151
1158
  type: "secondary",
1152
1159
  children: [
@@ -1159,7 +1166,7 @@ function Et({ productName: e, variant: t, stock: i, reorderLevel: o, maxStock: s
1159
1166
  align: "left"
1160
1167
  })
1161
1168
  ]
1162
- }), !!c && /* @__PURE__ */ K(a, {
1169
+ }), !!c && /* @__PURE__ */ K(i, {
1163
1170
  size: "xs",
1164
1171
  type: "secondary",
1165
1172
  children: [
@@ -1187,9 +1194,9 @@ var Dt = {
1187
1194
  };
1188
1195
  //#endregion
1189
1196
  //#region src/components/blocks/commerce/tax-breakdown/tax-breakdown.tsx
1190
- function Ot({ subtotal: e, taxes: t, totalTax: i, total: o, className: s, strings: c }) {
1197
+ function Ot({ subtotal: e, taxes: t, totalTax: a, total: o, className: s, strings: c }) {
1191
1198
  let l = n(Dt, c);
1192
- return /* @__PURE__ */ K(j, {
1199
+ return /* @__PURE__ */ K(M, {
1193
1200
  icon: /* @__PURE__ */ G(Le, { className: "size-icon" }),
1194
1201
  title: l.title,
1195
1202
  className: r("tax-breakdown--component w-full", s),
@@ -1214,10 +1221,10 @@ function Ot({ subtotal: e, taxes: t, totalTax: i, total: o, className: s, string
1214
1221
  align: "baseline",
1215
1222
  gap: "sm",
1216
1223
  className: "min-w-0",
1217
- children: [/* @__PURE__ */ G(a, {
1224
+ children: [/* @__PURE__ */ G(i, {
1218
1225
  className: "truncate",
1219
1226
  children: e.label
1220
- }), !!e.rate && /* @__PURE__ */ G(a, {
1227
+ }), !!e.rate && /* @__PURE__ */ G(i, {
1221
1228
  tag: "span",
1222
1229
  size: "xs",
1223
1230
  type: "discrete",
@@ -1229,18 +1236,18 @@ function Ot({ subtotal: e, taxes: t, totalTax: i, total: o, className: s, string
1229
1236
  className: "shrink-0 tabular-nums",
1230
1237
  children: e.amount
1231
1238
  })]
1232
- }, e.id ?? `${e.label}-${t}`)), !!i && t.length > 1 && /* @__PURE__ */ G(H, {
1239
+ }, e.id ?? `${e.label}-${t}`)), !!a && t.length > 1 && /* @__PURE__ */ G(H, {
1233
1240
  label: l.totalTax,
1234
- value: i,
1241
+ value: a,
1235
1242
  mono: !0,
1236
- className: "border-t border-border/50 pt-1.5 mt-0.5",
1243
+ className: "border-t border-border/50 pt-space-sm mt-space-2xs",
1237
1244
  valueClassName: "text-sm font-semibold"
1238
1245
  })]
1239
1246
  })
1240
1247
  }),
1241
1248
  /* @__PURE__ */ G(O, { className: "my-space-lg" }),
1242
1249
  /* @__PURE__ */ G(H, {
1243
- label: /* @__PURE__ */ G(a, {
1250
+ label: /* @__PURE__ */ G(i, {
1244
1251
  tag: "span",
1245
1252
  weight: "semibold",
1246
1253
  lineHeight: "tight",
@@ -1266,9 +1273,9 @@ var kt = {
1266
1273
  };
1267
1274
  //#endregion
1268
1275
  //#region src/components/blocks/commerce/subscription-summary/subscription-summary.tsx
1269
- function At({ planName: e, priceLabel: t, cycleLabel: c, nextBillingDate: l, statusLabel: d, perks: f = [], onManage: p, onUpgrade: m, className: g, strings: _ }) {
1276
+ function At({ planName: e, priceLabel: t, cycleLabel: s, nextBillingDate: l, statusLabel: d, perks: f = [], onManage: p, onUpgrade: m, className: g, strings: _ }) {
1270
1277
  let v = n(kt, _);
1271
- return /* @__PURE__ */ K(j, {
1278
+ return /* @__PURE__ */ K(M, {
1272
1279
  icon: /* @__PURE__ */ G(ze, { className: "size-icon" }),
1273
1280
  title: v.title,
1274
1281
  headerEnd: d ? /* @__PURE__ */ G(D, {
@@ -1285,11 +1292,11 @@ function At({ planName: e, priceLabel: t, cycleLabel: c, nextBillingDate: l, sta
1285
1292
  align: "start",
1286
1293
  gap: "lg",
1287
1294
  children: [/* @__PURE__ */ K(u, {
1288
- gap: "none",
1295
+ gap: "dense",
1289
1296
  className: "min-w-0",
1290
- children: [/* @__PURE__ */ G(s, { children: v.plan }), /* @__PURE__ */ G(o, {
1297
+ children: [/* @__PURE__ */ G(o, { children: v.plan }), /* @__PURE__ */ G(a, {
1291
1298
  tag: "h3",
1292
- className: "mt-1 text-base font-semibold tracking-tight border-none pb-0",
1299
+ className: "text-base font-semibold tracking-tight border-none pb-0",
1293
1300
  children: e
1294
1301
  })]
1295
1302
  }), /* @__PURE__ */ K(u, {
@@ -1301,18 +1308,18 @@ function At({ planName: e, priceLabel: t, cycleLabel: c, nextBillingDate: l, sta
1301
1308
  weight: "bold",
1302
1309
  className: "tabular-nums",
1303
1310
  children: t
1304
- }), /* @__PURE__ */ G(a, {
1311
+ }), /* @__PURE__ */ G(i, {
1305
1312
  type: "secondary",
1306
- children: c
1313
+ children: s
1307
1314
  })]
1308
1315
  })]
1309
1316
  })
1310
1317
  }),
1311
1318
  /* @__PURE__ */ K("div", {
1312
- className: "mt-space-lg flex items-center justify-between rounded-radius-md bg-card px-space-xs",
1319
+ className: "mt-space-lg flex items-center justify-between rounded-radius bg-card px-space-xs",
1313
1320
  children: [/* @__PURE__ */ K("div", {
1314
1321
  className: "flex items-center gap-space-md",
1315
- children: [/* @__PURE__ */ G(ye, { className: "size-icon-md text-muted-foreground" }), /* @__PURE__ */ G(a, {
1322
+ children: [/* @__PURE__ */ G(ye, { className: "size-icon-md text-muted-foreground" }), /* @__PURE__ */ G(i, {
1316
1323
  size: "xs",
1317
1324
  type: "secondary",
1318
1325
  children: v.nextBilling
@@ -1326,7 +1333,7 @@ function At({ planName: e, priceLabel: t, cycleLabel: c, nextBillingDate: l, sta
1326
1333
  f.length > 0 && /* @__PURE__ */ K(u, {
1327
1334
  gap: "md",
1328
1335
  className: "mt-space-xl",
1329
- children: [/* @__PURE__ */ G(s, { children: v.perks }), /* @__PURE__ */ G(R, { children: f.map((e, t) => {
1336
+ children: [/* @__PURE__ */ G(o, { children: v.perks }), /* @__PURE__ */ G(R, { children: f.map((e, t) => {
1330
1337
  let n = e.icon ?? q;
1331
1338
  return /* @__PURE__ */ K(B, {
1332
1339
  size: "sm",
@@ -1343,13 +1350,13 @@ function At({ planName: e, priceLabel: t, cycleLabel: c, nextBillingDate: l, sta
1343
1350
  }),
1344
1351
  (p || m) && /* @__PURE__ */ K("div", {
1345
1352
  className: "mt-space-xl flex items-center gap-space-md",
1346
- children: [!!p && /* @__PURE__ */ G(i, {
1353
+ children: [!!p && /* @__PURE__ */ G(c, {
1347
1354
  tone: "secondary",
1348
1355
  buttonStyle: "outline",
1349
1356
  onClick: p,
1350
1357
  className: "flex-1",
1351
1358
  children: v.manage
1352
- }), !!m && /* @__PURE__ */ K(i, {
1359
+ }), !!m && /* @__PURE__ */ K(c, {
1353
1360
  tone: "primary",
1354
1361
  onClick: m,
1355
1362
  className: "flex-1",
@@ -1378,30 +1385,30 @@ var jt = {
1378
1385
  "processing",
1379
1386
  "completed"
1380
1387
  ];
1381
- function Nt({ stage: e, amount: t, reason: i, method: o, eta: c, requestedAt: l, className: d, strings: f }) {
1388
+ function Nt({ stage: e, amount: t, reason: a, method: s, eta: c, requestedAt: l, className: d, strings: f }) {
1382
1389
  let p = n(jt, f), m = Mt.indexOf(e);
1383
- return /* @__PURE__ */ K(j, {
1390
+ return /* @__PURE__ */ K(M, {
1384
1391
  icon: /* @__PURE__ */ G(Be, { className: "size-icon" }),
1385
1392
  title: p.title,
1386
1393
  className: r("refund-status--component w-full", d),
1387
1394
  children: [
1388
- /* @__PURE__ */ K("div", {
1395
+ /* @__PURE__ */ K(u, {
1396
+ gap: "dense",
1389
1397
  className: "rounded-radius bg-muted/40 p-surface",
1390
1398
  children: [/* @__PURE__ */ K(u, {
1391
1399
  direction: "horizontal",
1392
1400
  justify: "between",
1393
1401
  align: "baseline",
1394
1402
  gap: "lg",
1395
- children: [/* @__PURE__ */ G(s, { children: p.amount }), /* @__PURE__ */ G(h, {
1403
+ children: [/* @__PURE__ */ G(o, { children: p.amount }), /* @__PURE__ */ G(h, {
1396
1404
  size: "base",
1397
1405
  weight: "bold",
1398
1406
  className: "tabular-nums tracking-tight",
1399
1407
  children: t
1400
1408
  })]
1401
- }), !!l && /* @__PURE__ */ K(a, {
1409
+ }), !!l && /* @__PURE__ */ K(i, {
1402
1410
  size: "xs",
1403
1411
  type: "secondary",
1404
- className: "mt-0.5",
1405
1412
  children: [
1406
1413
  p.requested,
1407
1414
  ": ",
@@ -1415,13 +1422,13 @@ function Nt({ stage: e, amount: t, reason: i, method: o, eta: c, requestedAt: l,
1415
1422
  /* @__PURE__ */ G("div", {
1416
1423
  className: "mt-space-xl flex items-center justify-between",
1417
1424
  children: Mt.map((e, t) => {
1418
- let n = t <= m, i = t === m;
1425
+ let n = t <= m, a = t === m;
1419
1426
  return /* @__PURE__ */ K("div", {
1420
1427
  className: "flex flex-1 flex-col items-start gap-space-sm",
1421
1428
  children: [/* @__PURE__ */ K("div", {
1422
1429
  className: "flex w-full items-center",
1423
1430
  children: [/* @__PURE__ */ G("div", {
1424
- className: r("relative flex size-icon-lg shrink-0 items-center justify-center rounded-full", n ? "bg-success text-success-foreground" : "border border-border bg-card text-muted-foreground", i && "ring-2 ring-success/30 ring-offset-2 ring-offset-background"),
1431
+ className: r("relative flex size-icon-lg shrink-0 items-center justify-center rounded-full", n ? "bg-success text-success-foreground" : "border border-border bg-card text-muted-foreground", a && "ring-2 ring-success/30 ring-offset-2 ring-offset-background"),
1425
1432
  children: n ? /* @__PURE__ */ G(q, { className: "size-icon-sm" }) : /* @__PURE__ */ G(S, {
1426
1433
  value: t + 1,
1427
1434
  size: "xs",
@@ -1429,9 +1436,9 @@ function Nt({ stage: e, amount: t, reason: i, method: o, eta: c, requestedAt: l,
1429
1436
  align: "center"
1430
1437
  })
1431
1438
  }), t < Mt.length - 1 && /* @__PURE__ */ G("div", { className: r("h-0.5 flex-1", t < m ? "bg-success" : "bg-border") })]
1432
- }), /* @__PURE__ */ G(a, {
1439
+ }), /* @__PURE__ */ G(i, {
1433
1440
  size: "xs",
1434
- weight: i ? "semibold" : "medium",
1441
+ weight: a ? "semibold" : "medium",
1435
1442
  type: n ? "main" : "secondary",
1436
1443
  className: "text-left leading-tight",
1437
1444
  children: p[e]
@@ -1439,18 +1446,18 @@ function Nt({ stage: e, amount: t, reason: i, method: o, eta: c, requestedAt: l,
1439
1446
  }, e);
1440
1447
  })
1441
1448
  }),
1442
- (i || o || c) && /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(O, { className: "my-space-xl" }), /* @__PURE__ */ K("div", {
1449
+ (a || s || c) && /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(O, { className: "my-space-xl" }), /* @__PURE__ */ K("div", {
1443
1450
  className: "space-y-space-md",
1444
1451
  children: [
1445
- !!i && /* @__PURE__ */ G(H, {
1452
+ !!a && /* @__PURE__ */ G(H, {
1446
1453
  label: p.reason,
1447
- value: i,
1454
+ value: a,
1448
1455
  className: "items-start",
1449
1456
  valueClassName: "text-sm font-medium text-right"
1450
1457
  }),
1451
- !!o && /* @__PURE__ */ G(H, {
1458
+ !!s && /* @__PURE__ */ G(H, {
1452
1459
  label: p.method,
1453
- value: o,
1460
+ value: s,
1454
1461
  valueClassName: "text-sm font-medium"
1455
1462
  }),
1456
1463
  !!c && /* @__PURE__ */ G(H, {
@@ -1478,7 +1485,7 @@ var Pt = {
1478
1485
  };
1479
1486
  //#endregion
1480
1487
  //#region src/components/blocks/commerce/address-card/address-card.tsx
1481
- function Ft({ kind: e = "shipping", name: t, line1: i, line2: o, city: s, region: c, postalCode: l, country: d, phone: f, default: p = !1, onEdit: m, onRemove: h, onMakeDefault: _, className: v, strings: y }) {
1488
+ function Ft({ kind: e = "shipping", name: t, line1: a, line2: o, city: s, region: c, postalCode: l, country: d, phone: f, default: p = !1, onEdit: m, onRemove: h, onMakeDefault: _, className: v, strings: y }) {
1482
1489
  let b = n(Pt, y), x = {
1483
1490
  shipping: b.shipping,
1484
1491
  billing: b.billing,
@@ -1503,7 +1510,7 @@ function Ft({ kind: e = "shipping", name: t, line1: i, line2: o, city: s, region
1503
1510
  label: b.remove,
1504
1511
  icon: /* @__PURE__ */ G(Ke, { className: "size-icon-md" }),
1505
1512
  onClick: h
1506
- }), /* @__PURE__ */ G(j, {
1513
+ }), /* @__PURE__ */ G(M, {
1507
1514
  icon: /* @__PURE__ */ G(Me, { className: "size-icon" }),
1508
1515
  title: x[e],
1509
1516
  titleSuffix: p ? /* @__PURE__ */ G(D, {
@@ -1515,20 +1522,20 @@ function Ft({ kind: e = "shipping", name: t, line1: i, line2: o, city: s, region
1515
1522
  children: /* @__PURE__ */ K(u, {
1516
1523
  gap: "2xs",
1517
1524
  children: [
1518
- /* @__PURE__ */ G(a, {
1525
+ /* @__PURE__ */ G(i, {
1519
1526
  weight: "semibold",
1520
1527
  children: t
1521
1528
  }),
1522
- /* @__PURE__ */ G(a, { children: i }),
1523
- !!o && /* @__PURE__ */ G(a, { children: o }),
1524
- !!S && /* @__PURE__ */ G(a, { children: S }),
1525
- /* @__PURE__ */ G(a, {
1529
+ /* @__PURE__ */ G(i, { children: a }),
1530
+ !!o && /* @__PURE__ */ G(i, { children: o }),
1531
+ !!S && /* @__PURE__ */ G(i, { children: S }),
1532
+ /* @__PURE__ */ G(i, {
1526
1533
  type: "secondary",
1527
1534
  children: d
1528
1535
  }),
1529
1536
  !!f && /* @__PURE__ */ G(g, {
1530
1537
  value: f,
1531
- display: /* @__PURE__ */ G(a, {
1538
+ display: /* @__PURE__ */ G(i, {
1532
1539
  tag: "span",
1533
1540
  size: "xs",
1534
1541
  children: f
@@ -1553,16 +1560,16 @@ var It = {
1553
1560
  applied: "Applied",
1554
1561
  notFound: "That gift card code is not valid."
1555
1562
  }, Lt = (e) => e.toUpperCase();
1556
- function Rt({ appliedCode: e, balance: t, error: a, loading: o, onCheck: s, onRemove: c, className: l, strings: d }) {
1563
+ function Rt({ appliedCode: e, balance: t, error: i, loading: a, onCheck: o, onRemove: s, className: l, strings: d }) {
1557
1564
  let f = n(It, d), p = me(), [m, g] = ge(""), _ = m.trim();
1558
- return e ? /* @__PURE__ */ G(j, {
1565
+ return e ? /* @__PURE__ */ G(M, {
1559
1566
  icon: /* @__PURE__ */ G(J, { className: "size-icon" }),
1560
1567
  title: f.title,
1561
1568
  className: r("voucher-entry--component w-full", l),
1562
1569
  children: /* @__PURE__ */ K(B, {
1563
1570
  size: "sm",
1564
1571
  variant: "outline",
1565
- className: "items-center gap-x-2.5 gap-y-space-sm border-success/30 bg-success/5",
1572
+ className: "items-center gap-y-space-sm border-success/30 bg-success/5",
1566
1573
  children: [
1567
1574
  /* @__PURE__ */ G(F, { children: /* @__PURE__ */ G(C, {
1568
1575
  icon: q,
@@ -1594,20 +1601,20 @@ function Rt({ appliedCode: e, balance: t, error: a, loading: o, onCheck: s, onRe
1594
1601
  })]
1595
1602
  }),
1596
1603
  /* @__PURE__ */ K(ie, {
1597
- className: "border-t border-success/15 pt-1",
1604
+ className: "border-t border-success/15 pt-space-xs",
1598
1605
  children: [/* @__PURE__ */ G("span", {}), /* @__PURE__ */ K(L, {
1599
1606
  className: "shrink-0 gap-space-sm",
1600
1607
  children: [!!t && /* @__PURE__ */ G(h, {
1601
1608
  weight: "semibold",
1602
1609
  className: "shrink-0 tabular-nums text-success",
1603
1610
  children: t
1604
- }), !!c && /* @__PURE__ */ G(i, {
1611
+ }), !!s && /* @__PURE__ */ G(c, {
1605
1612
  type: "button",
1606
1613
  tone: "destructive",
1607
1614
  buttonStyle: "ghost",
1608
1615
  size: "sm",
1609
1616
  iconOnly: !0,
1610
- onClick: c,
1617
+ onClick: s,
1611
1618
  "aria-label": f.remove,
1612
1619
  className: "size-action-xs shrink-0 text-muted-foreground hover:text-destructive",
1613
1620
  children: /* @__PURE__ */ G(Ye, { className: "size-icon-sm" })
@@ -1616,19 +1623,19 @@ function Rt({ appliedCode: e, balance: t, error: a, loading: o, onCheck: s, onRe
1616
1623
  })
1617
1624
  ]
1618
1625
  })
1619
- }) : /* @__PURE__ */ G(j, {
1626
+ }) : /* @__PURE__ */ G(M, {
1620
1627
  icon: /* @__PURE__ */ G(J, { className: "size-icon" }),
1621
1628
  title: f.title,
1622
1629
  className: r("voucher-entry--component w-full", l),
1623
1630
  children: /* @__PURE__ */ G("form", {
1624
1631
  onSubmit: (e) => {
1625
- e.preventDefault(), _ && s?.(_);
1632
+ e.preventDefault(), _ && o?.(_);
1626
1633
  },
1627
- children: /* @__PURE__ */ G(M, {
1634
+ children: /* @__PURE__ */ G(N, {
1628
1635
  label: f.inputLabel,
1629
1636
  htmlFor: p,
1630
- error: a,
1631
- hint: a ? void 0 : f.helperText,
1637
+ error: i,
1638
+ hint: i ? void 0 : f.helperText,
1632
1639
  children: /* @__PURE__ */ K("div", {
1633
1640
  className: "flex flex-wrap gap-space-md",
1634
1641
  children: [/* @__PURE__ */ G("div", {
@@ -1642,11 +1649,11 @@ function Rt({ appliedCode: e, balance: t, error: a, loading: o, onCheck: s, onRe
1642
1649
  autoCapitalize: "characters",
1643
1650
  spellCheck: !1,
1644
1651
  className: "font-mono",
1645
- invalid: !!a
1652
+ invalid: !!i
1646
1653
  })
1647
- }), /* @__PURE__ */ G(i, {
1654
+ }), /* @__PURE__ */ G(c, {
1648
1655
  type: "submit",
1649
- loading: o,
1656
+ loading: a,
1650
1657
  disabled: !_,
1651
1658
  className: "shrink-0",
1652
1659
  children: f.check
@@ -1691,9 +1698,9 @@ function Ht({ title: e }) {
1691
1698
  })
1692
1699
  });
1693
1700
  }
1694
- function Ut({ items: e, subtotal: t, tax: o, shipping: s, discount: c, total: l, onCheckout: d, className: f, strings: p }) {
1695
- let m = n(zt, p), g = !!(t || o || s || c);
1696
- return /* @__PURE__ */ K(j, {
1701
+ function Ut({ items: e, subtotal: t, tax: a, shipping: o, discount: s, total: l, onCheckout: d, className: f, strings: p }) {
1702
+ let m = n(zt, p), g = !!(t || a || o || s);
1703
+ return /* @__PURE__ */ K(M, {
1697
1704
  icon: /* @__PURE__ */ G(He, { className: "size-icon" }),
1698
1705
  title: m.title,
1699
1706
  className: r("cart-summary--component w-full", f),
@@ -1724,7 +1731,7 @@ function Ut({ items: e, subtotal: t, tax: o, shipping: s, discount: c, total: l,
1724
1731
  gap: "2xs",
1725
1732
  align: "end",
1726
1733
  className: "shrink-0",
1727
- children: [/* @__PURE__ */ K(a, {
1734
+ children: [/* @__PURE__ */ K(i, {
1728
1735
  tag: "span",
1729
1736
  size: "xs",
1730
1737
  type: "secondary",
@@ -1755,21 +1762,21 @@ function Ut({ items: e, subtotal: t, tax: o, shipping: s, discount: c, total: l,
1755
1762
  mono: !0,
1756
1763
  valueClassName: "font-medium"
1757
1764
  }),
1758
- !!o && /* @__PURE__ */ G(H, {
1765
+ !!a && /* @__PURE__ */ G(H, {
1759
1766
  label: m.tax,
1760
- value: o,
1767
+ value: a,
1761
1768
  mono: !0,
1762
1769
  valueClassName: "font-medium"
1763
1770
  }),
1764
- !!s && /* @__PURE__ */ G(H, {
1771
+ !!o && /* @__PURE__ */ G(H, {
1765
1772
  label: m.shipping,
1766
- value: s,
1773
+ value: o,
1767
1774
  mono: !0,
1768
1775
  valueClassName: "font-medium"
1769
1776
  }),
1770
- !!c && /* @__PURE__ */ G(H, {
1777
+ !!s && /* @__PURE__ */ G(H, {
1771
1778
  label: m.discount,
1772
- value: nt(c),
1779
+ value: nt(s),
1773
1780
  mono: !0,
1774
1781
  valueClassName: "font-semibold text-success"
1775
1782
  })
@@ -1778,7 +1785,7 @@ function Ut({ items: e, subtotal: t, tax: o, shipping: s, discount: c, total: l,
1778
1785
  }),
1779
1786
  /* @__PURE__ */ G(O, { className: "my-space-lg" }),
1780
1787
  /* @__PURE__ */ G(H, {
1781
- label: /* @__PURE__ */ G(a, {
1788
+ label: /* @__PURE__ */ G(i, {
1782
1789
  tag: "span",
1783
1790
  weight: "semibold",
1784
1791
  lineHeight: "tight",
@@ -1788,7 +1795,7 @@ function Ut({ items: e, subtotal: t, tax: o, shipping: s, discount: c, total: l,
1788
1795
  mono: !0,
1789
1796
  valueClassName: "text-base font-bold"
1790
1797
  }),
1791
- !!d && /* @__PURE__ */ G(i, {
1798
+ !!d && /* @__PURE__ */ G(c, {
1792
1799
  onClick: d,
1793
1800
  fullWidth: !0,
1794
1801
  className: "mt-space-xl",
@@ -1809,16 +1816,16 @@ var Wt = {
1809
1816
  applied: "Applied",
1810
1817
  invalid: "That code is not valid"
1811
1818
  }, Gt = (e) => e.toUpperCase();
1812
- function Kt({ appliedCode: e, appliedDiscount: t, error: o, onApply: c, onRemove: l, loading: d, className: f, strings: p }) {
1819
+ function Kt({ appliedCode: e, appliedDiscount: t, error: a, onApply: s, onRemove: l, loading: d, className: f, strings: p }) {
1813
1820
  let m = n(Wt, p), [h, g] = ge(""), _ = h.trim();
1814
- return e ? /* @__PURE__ */ G(j, {
1821
+ return e ? /* @__PURE__ */ G(M, {
1815
1822
  icon: /* @__PURE__ */ G(Ge, { className: "size-icon" }),
1816
1823
  title: m.title,
1817
1824
  className: r("coupon-input--component w-full", f),
1818
1825
  children: /* @__PURE__ */ K(B, {
1819
1826
  size: "sm",
1820
1827
  variant: "muted",
1821
- className: "items-center gap-x-2.5 gap-y-space-sm border border-success/30 bg-success/8",
1828
+ className: "items-center gap-y-space-sm border border-success/30 bg-success/8",
1822
1829
  children: [
1823
1830
  /* @__PURE__ */ G(F, { children: /* @__PURE__ */ G(C, {
1824
1831
  icon: q,
@@ -1837,7 +1844,7 @@ function Kt({ appliedCode: e, appliedDiscount: t, error: o, onApply: c, onRemove
1837
1844
  children: [/* @__PURE__ */ G(V, {
1838
1845
  className: "min-w-0 truncate font-mono tracking-wider",
1839
1846
  children: e
1840
- }), /* @__PURE__ */ G(s, {
1847
+ }), /* @__PURE__ */ G(o, {
1841
1848
  className: "shrink-0",
1842
1849
  children: m.applied
1843
1850
  })]
@@ -1845,14 +1852,14 @@ function Kt({ appliedCode: e, appliedDiscount: t, error: o, onApply: c, onRemove
1845
1852
  }),
1846
1853
  /* @__PURE__ */ K(L, {
1847
1854
  className: "ml-auto shrink-0 gap-space-sm",
1848
- children: [!!t && /* @__PURE__ */ G(a, {
1855
+ children: [!!t && /* @__PURE__ */ G(i, {
1849
1856
  tag: "span",
1850
1857
  size: "xs",
1851
1858
  weight: "semibold",
1852
1859
  type: "success",
1853
1860
  className: "tabular-nums shrink-0",
1854
1861
  children: nt(t)
1855
- }), !!l && /* @__PURE__ */ G(i, {
1862
+ }), !!l && /* @__PURE__ */ G(c, {
1856
1863
  type: "button",
1857
1864
  tone: "destructive",
1858
1865
  buttonStyle: "ghost",
@@ -1866,7 +1873,7 @@ function Kt({ appliedCode: e, appliedDiscount: t, error: o, onApply: c, onRemove
1866
1873
  })
1867
1874
  ]
1868
1875
  })
1869
- }) : /* @__PURE__ */ G(j, {
1876
+ }) : /* @__PURE__ */ G(M, {
1870
1877
  icon: /* @__PURE__ */ G(Ge, { className: "size-icon" }),
1871
1878
  title: m.title,
1872
1879
  className: r("coupon-input--component w-full", f),
@@ -1885,20 +1892,20 @@ function Kt({ appliedCode: e, appliedDiscount: t, error: o, onApply: c, onRemove
1885
1892
  autoCapitalize: "characters",
1886
1893
  spellCheck: !1,
1887
1894
  className: "font-mono",
1888
- invalid: !!o
1895
+ invalid: !!a
1889
1896
  })
1890
- }), /* @__PURE__ */ G(i, {
1897
+ }), /* @__PURE__ */ G(c, {
1891
1898
  size: "md",
1892
- onClick: () => c?.(_),
1899
+ onClick: () => s?.(_),
1893
1900
  loading: d,
1894
1901
  disabled: !_,
1895
1902
  className: "shrink-0",
1896
1903
  children: m.apply
1897
1904
  })]
1898
- }), !!o && /* @__PURE__ */ G(a, {
1905
+ }), !!a && /* @__PURE__ */ G(i, {
1899
1906
  size: "xs",
1900
1907
  type: "error",
1901
- children: o || m.invalid
1908
+ children: a || m.invalid
1902
1909
  })]
1903
1910
  })
1904
1911
  });
@@ -1920,18 +1927,18 @@ var qt = {
1920
1927
  delivered: "success",
1921
1928
  cancelled: "destructive"
1922
1929
  };
1923
- function Yt({ orderNumber: e, status: t, statusTone: i, events: o, currentEta: c, className: u, strings: d }) {
1924
- let f = n(qt, d), p = i ?? Jt[t], m = o.reduce((e, t, n) => t.complete ? n : e, -1), g = o[m] ?? o[0], v = o.find((e) => !e.complete);
1925
- return /* @__PURE__ */ K(j, {
1930
+ function Yt({ orderNumber: e, status: t, statusTone: a, events: s, currentEta: c, className: d, strings: f }) {
1931
+ let p = n(qt, f), m = a ?? Jt[t], g = s.reduce((e, t, n) => t.complete ? n : e, -1), v = s[g] ?? s[0], y = s.find((e) => !e.complete);
1932
+ return /* @__PURE__ */ K(M, {
1926
1933
  icon: /* @__PURE__ */ G(Pe, { className: "size-icon" }),
1927
- title: f.title,
1934
+ title: p.title,
1928
1935
  titleSuffix: /* @__PURE__ */ G(D, {
1929
- tone: p,
1936
+ tone: m,
1930
1937
  className: "capitalize",
1931
1938
  children: t
1932
1939
  }),
1933
1940
  description: `#${e}`,
1934
- className: r("order-status--component w-full", u),
1941
+ className: r("order-status--component w-full", d),
1935
1942
  children: [/* @__PURE__ */ G("div", {
1936
1943
  className: "rounded-radius border border-border bg-muted/20 p-surface",
1937
1944
  children: /* @__PURE__ */ K(l, {
@@ -1941,46 +1948,51 @@ function Yt({ orderNumber: e, status: t, statusTone: i, events: o, currentEta: c
1941
1948
  },
1942
1949
  gap: "lg",
1943
1950
  children: [
1944
- /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G(s, { children: f.statusLabel }), /* @__PURE__ */ G(a, {
1945
- weight: "semibold",
1946
- className: "mt-0.5 capitalize",
1947
- children: t
1948
- })] }),
1949
- !!g && /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G(s, { children: g.complete ? f.latestEvent : f.currentStep }), /* @__PURE__ */ G(a, {
1950
- weight: "semibold",
1951
- className: "mt-0.5",
1952
- children: g.label
1953
- })] }),
1954
- !!c && /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G(s, { children: f.eta }), /* @__PURE__ */ G(h, {
1951
+ /* @__PURE__ */ K(u, {
1952
+ gap: "dense",
1953
+ children: [/* @__PURE__ */ G(o, { children: p.statusLabel }), /* @__PURE__ */ G(i, {
1954
+ weight: "semibold",
1955
+ className: "capitalize",
1956
+ children: t
1957
+ })]
1958
+ }),
1959
+ !!v && /* @__PURE__ */ K(u, {
1960
+ gap: "dense",
1961
+ children: [/* @__PURE__ */ G(o, { children: v.complete ? p.latestEvent : p.currentStep }), /* @__PURE__ */ G(i, {
1962
+ weight: "semibold",
1963
+ children: v.label
1964
+ })]
1965
+ }),
1966
+ !!c && /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G(o, { children: p.eta }), /* @__PURE__ */ G(h, {
1955
1967
  weight: "semibold",
1956
1968
  className: "mt-0.5 block tabular-nums",
1957
1969
  children: c
1958
1970
  })] })
1959
1971
  ]
1960
1972
  })
1961
- }), o.length > 0 && /* @__PURE__ */ G("ol", {
1962
- className: "mt-space-xl",
1963
- children: o.map((e, t) => {
1964
- let n = t === o.length - 1, i = v ? e === v : t === m;
1973
+ }), s.length > 0 && /* @__PURE__ */ G("ol", {
1974
+ className: "m-0 p-0 list-none mt-space-xl",
1975
+ children: s.map((e, t) => {
1976
+ let n = t === s.length - 1, a = y ? e === y : t === g;
1965
1977
  return /* @__PURE__ */ K("li", {
1966
1978
  className: "relative flex gap-space-lg",
1967
1979
  children: [/* @__PURE__ */ K("div", {
1968
1980
  className: "flex flex-col items-center",
1969
1981
  children: [/* @__PURE__ */ G("span", {
1970
- className: r("flex size-6 shrink-0 items-center justify-center rounded-full border", e.complete ? "border-success bg-success text-success-foreground" : "border-border bg-card text-muted-foreground", i && !e.complete && "border-2 border-primary-accent bg-primary/10 text-primary-accent ring-4 ring-primary/30"),
1982
+ className: r("flex size-6 shrink-0 items-center justify-center rounded-full border", e.complete ? "border-success bg-success text-success-foreground" : "border-border bg-card text-muted-foreground", a && !e.complete && "border-2 border-primary-accent bg-primary/10 text-primary-accent ring-4 ring-primary/30"),
1971
1983
  children: e.complete ? /* @__PURE__ */ G(q, {
1972
1984
  className: "size-icon-md",
1973
1985
  strokeWidth: 2.5
1974
- }) : i ? /* @__PURE__ */ G(be, { className: "size-icon-md" }) : /* @__PURE__ */ G(Ce, { className: "size-icon-sm" })
1986
+ }) : a ? /* @__PURE__ */ G(be, { className: "size-icon-md" }) : /* @__PURE__ */ G(Ce, { className: "size-icon-sm" })
1975
1987
  }), !n && /* @__PURE__ */ G("span", {
1976
1988
  "aria-hidden": "true",
1977
- className: r("min-h-6 w-px flex-1", t < m ? "bg-success" : "bg-border")
1989
+ className: r("min-h-6 w-px flex-1", t < g ? "bg-success" : "bg-border")
1978
1990
  })]
1979
1991
  }), /* @__PURE__ */ K("div", {
1980
1992
  className: r("min-w-0 flex-1 pb-space-xl", n && "pb-0"),
1981
- children: [/* @__PURE__ */ G(a, {
1982
- weight: e.complete || i ? "semibold" : "medium",
1983
- className: r(!e.complete && !i && "text-muted-foreground"),
1993
+ children: [/* @__PURE__ */ G(i, {
1994
+ weight: e.complete || a ? "semibold" : "medium",
1995
+ className: r(!e.complete && !a && "text-muted-foreground"),
1984
1996
  children: e.label
1985
1997
  }), !!e.timestamp && /* @__PURE__ */ G(_, {
1986
1998
  size: "xs",
@@ -2019,16 +2031,16 @@ var Xt = {
2019
2031
  googlepay: X,
2020
2032
  unknown: X
2021
2033
  };
2022
- function $t({ brand: e, last4: t, expiry: o, holderName: c, default: l = !1, onChange: d, className: f, strings: p }) {
2034
+ function $t({ brand: e, last4: t, expiry: a, holderName: s, default: l = !1, onChange: d, className: f, strings: p }) {
2023
2035
  let m = n(Xt, p), g = Zt[e], _ = Qt[e];
2024
- return /* @__PURE__ */ G(j, {
2036
+ return /* @__PURE__ */ G(M, {
2025
2037
  icon: /* @__PURE__ */ G(Ee, { className: "size-icon" }),
2026
2038
  title: m.title,
2027
2039
  titleSuffix: l ? /* @__PURE__ */ G(D, {
2028
2040
  tone: "primary",
2029
2041
  children: m.default
2030
2042
  }) : null,
2031
- headerAction: d ? /* @__PURE__ */ G(i, {
2043
+ headerAction: d ? /* @__PURE__ */ G(c, {
2032
2044
  buttonStyle: "ghost",
2033
2045
  tone: "secondary",
2034
2046
  onClick: d,
@@ -2043,16 +2055,16 @@ function $t({ brand: e, last4: t, expiry: o, holderName: c, default: l = !1, onC
2043
2055
  children: [/* @__PURE__ */ G("div", {
2044
2056
  className: "flex size-7 items-center justify-center rounded-radius-md bg-gradient-to-br from-muted to-muted-foreground/60 shadow-sm",
2045
2057
  children: /* @__PURE__ */ G("div", { className: "size-icon rounded-radius-sm border border-warning-foreground/25 bg-warning-foreground/15" })
2046
- }), /* @__PURE__ */ G(a, {
2058
+ }), /* @__PURE__ */ G(i, {
2047
2059
  tag: "span",
2048
2060
  weight: "bold",
2049
- className: "rounded bg-inverse-surface px-2 py-0.5 tracking-[0.15em] text-inverse-foreground backdrop-blur-sm",
2061
+ className: "rounded bg-inverse-surface px-space-md py-space-2xs tracking-[0.15em] text-inverse-foreground backdrop-blur-sm",
2050
2062
  children: g
2051
2063
  })]
2052
2064
  }),
2053
2065
  /* @__PURE__ */ G("div", {
2054
2066
  className: "relative",
2055
- children: /* @__PURE__ */ K(a, {
2067
+ children: /* @__PURE__ */ K(i, {
2056
2068
  tag: "span",
2057
2069
  size: "base",
2058
2070
  weight: "semibold",
@@ -2068,25 +2080,25 @@ function $t({ brand: e, last4: t, expiry: o, holderName: c, default: l = !1, onC
2068
2080
  className: "relative",
2069
2081
  children: [/* @__PURE__ */ G("div", {
2070
2082
  className: "min-w-0",
2071
- children: !!c && /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(s, {
2083
+ children: !!s && /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(o, {
2072
2084
  tone: "inverse",
2073
2085
  className: "block",
2074
2086
  children: m.cardHolder
2075
- }), /* @__PURE__ */ G(a, {
2087
+ }), /* @__PURE__ */ G(i, {
2076
2088
  weight: "semibold",
2077
2089
  className: "truncate text-inverse-foreground",
2078
- children: c
2090
+ children: s
2079
2091
  })] })
2080
- }), !!o && /* @__PURE__ */ K("div", {
2092
+ }), !!a && /* @__PURE__ */ K("div", {
2081
2093
  className: "text-right shrink-0",
2082
- children: [/* @__PURE__ */ G(s, {
2094
+ children: [/* @__PURE__ */ G(o, {
2083
2095
  tone: "inverse",
2084
2096
  className: "block",
2085
2097
  children: m.expires
2086
2098
  }), /* @__PURE__ */ G(h, {
2087
2099
  weight: "semibold",
2088
2100
  className: "tabular-nums text-inverse-foreground",
2089
- children: o
2101
+ children: a
2090
2102
  })]
2091
2103
  })]
2092
2104
  })
@@ -2274,17 +2286,17 @@ function Cn(e, t) {
2274
2286
  return e.id === "title" || e.id === "description" ? `${e.actual}/${e.max} ${t.characters} · ${t.targetLabel} ${e.min}-${e.max}` : e.id === "permalink" ? `${e.actual}/${e.max} ${t.characters} ${t.maxLabel}` : t.checkHints[e.id];
2275
2287
  }
2276
2288
  function wn({ check: e, detail: t, strings: n }) {
2277
- let i = _n[e.status];
2289
+ let a = _n[e.status];
2278
2290
  return /* @__PURE__ */ G("div", {
2279
- className: r("seo-listing-card--check min-w-0 rounded-radius-sm border px-space-lg py-space-md", yn[e.status]),
2291
+ className: r("seo-listing-card--check min-w-0 rounded-radius border px-space-lg py-space-md", yn[e.status]),
2280
2292
  children: /* @__PURE__ */ K(u, {
2281
2293
  direction: "horizontal",
2282
2294
  gap: "lg",
2283
2295
  align: "start",
2284
2296
  wrap: !1,
2285
2297
  children: [/* @__PURE__ */ G("span", {
2286
- className: r("seo-listing-card--check-icon inline-flex size-icon-lg shrink-0 items-center justify-center rounded-radius-sm", vn[e.status]),
2287
- children: /* @__PURE__ */ G(i, {
2298
+ className: r("seo-listing-card--check-icon inline-flex size-icon-lg shrink-0 items-center justify-center rounded-inner", vn[e.status]),
2299
+ children: /* @__PURE__ */ G(a, {
2288
2300
  className: "size-icon-sm",
2289
2301
  "aria-hidden": "true"
2290
2302
  })
@@ -2296,7 +2308,7 @@ function wn({ check: e, detail: t, strings: n }) {
2296
2308
  gap: "sm",
2297
2309
  justify: "between",
2298
2310
  wrap: !1,
2299
- children: [/* @__PURE__ */ G(a, {
2311
+ children: [/* @__PURE__ */ G(i, {
2300
2312
  tag: "span",
2301
2313
  weight: "medium",
2302
2314
  className: "truncate",
@@ -2308,7 +2320,7 @@ function wn({ check: e, detail: t, strings: n }) {
2308
2320
  className: "shrink-0",
2309
2321
  children: n.status[e.status]
2310
2322
  })]
2311
- }), /* @__PURE__ */ G(a, {
2323
+ }), /* @__PURE__ */ G(i, {
2312
2324
  size: "xs",
2313
2325
  type: "secondary",
2314
2326
  lineHeight: "snug",
@@ -2318,20 +2330,20 @@ function wn({ check: e, detail: t, strings: n }) {
2318
2330
  })
2319
2331
  });
2320
2332
  }
2321
- function Tn({ siteName: e, baseUrl: t, pathSegments: o = [], permalink: s, title: l, description: d, price: f, keyword: m, score: g, limits: v, showChecks: y = !0, onEdit: b, className: x, strings: C }) {
2333
+ function Tn({ siteName: e, baseUrl: t, pathSegments: a = [], permalink: o, title: l, description: d, price: f, keyword: m, score: g, limits: v, showChecks: y = !0, onEdit: b, className: x, strings: C }) {
2322
2334
  let w = n(fn, C), T = t?.trim() || w.urlFallback, E = e?.trim() || w.siteFallback, O = l?.trim() || w.titleFallback, k = d?.trim() || w.descriptionFallback, A = g ?? dn({
2323
2335
  title: l,
2324
2336
  description: d,
2325
- permalink: s,
2337
+ permalink: o,
2326
2338
  baseUrl: t,
2327
2339
  keyword: m,
2328
2340
  limits: v
2329
- }), M = Sn(T, o, s), N = xn(T, o, s), ee = pn[A.status];
2330
- return /* @__PURE__ */ K(j, {
2341
+ }), ee = Sn(T, a, o), te = xn(T, a, o), j = pn[A.status];
2342
+ return /* @__PURE__ */ K(M, {
2331
2343
  icon: /* @__PURE__ */ G(Ve, { className: "size-icon" }),
2332
2344
  title: w.title,
2333
2345
  titleSuffix: /* @__PURE__ */ K(D, {
2334
- tone: ee,
2346
+ tone: j,
2335
2347
  size: "sm",
2336
2348
  inline: !0,
2337
2349
  className: "shrink-0",
@@ -2343,7 +2355,7 @@ function Tn({ siteName: e, baseUrl: t, pathSegments: o = [], permalink: s, title
2343
2355
  }),
2344
2356
  className: r("seo-listing-card--component @container/seo-listing-card w-full", x),
2345
2357
  contentGap: "xl",
2346
- headerAction: b ? /* @__PURE__ */ G(i, {
2358
+ headerAction: b ? /* @__PURE__ */ G(c, {
2347
2359
  type: "button",
2348
2360
  tone: "secondary",
2349
2361
  buttonStyle: "ghost",
@@ -2355,7 +2367,7 @@ function Tn({ siteName: e, baseUrl: t, pathSegments: o = [], permalink: s, title
2355
2367
  }) : void 0,
2356
2368
  children: [/* @__PURE__ */ G("div", {
2357
2369
  "data-artwork": "serp",
2358
- className: "seo-listing-card--preview min-w-0 rounded-radius border border-border/60 bg-background px-control py-space-xl shadow-xs",
2370
+ className: "seo-listing-card--preview min-w-0 rounded-radius border border-border/60 bg-background p-surface shadow-xs",
2359
2371
  children: /* @__PURE__ */ K(u, {
2360
2372
  gap: "sm",
2361
2373
  className: "min-w-0",
@@ -2364,26 +2376,26 @@ function Tn({ siteName: e, baseUrl: t, pathSegments: o = [], permalink: s, title
2364
2376
  direction: "horizontal",
2365
2377
  gap: "sm",
2366
2378
  wrap: !1,
2367
- children: [/* @__PURE__ */ G(a, {
2379
+ children: [/* @__PURE__ */ G(i, {
2368
2380
  weight: "medium",
2369
2381
  className: "truncate",
2370
2382
  children: E
2371
- }), !!M && /* @__PURE__ */ G(Oe, {
2383
+ }), !!ee && /* @__PURE__ */ G(Oe, {
2372
2384
  className: "size-icon-sm shrink-0 text-muted-foreground",
2373
2385
  "aria-hidden": "true"
2374
2386
  })]
2375
2387
  }),
2376
2388
  /* @__PURE__ */ G("div", {
2377
2389
  className: "seo-listing-card--url flex min-w-0 flex-wrap items-center gap-x-space-sm gap-y-space-2xs",
2378
- children: N.map((e, t) => /* @__PURE__ */ K("span", {
2390
+ children: te.map((e, t) => /* @__PURE__ */ K("span", {
2379
2391
  className: "inline-flex min-w-0 items-center gap-space-sm",
2380
- children: [/* @__PURE__ */ G(a, {
2392
+ children: [/* @__PURE__ */ G(i, {
2381
2393
  tag: "span",
2382
2394
  size: "xs",
2383
2395
  type: "secondary",
2384
2396
  className: "truncate",
2385
2397
  children: e
2386
- }), t < N.length - 1 && /* @__PURE__ */ G(a, {
2398
+ }), t < te.length - 1 && /* @__PURE__ */ G(i, {
2387
2399
  tag: "span",
2388
2400
  size: "xs",
2389
2401
  type: "secondary",
@@ -2392,20 +2404,20 @@ function Tn({ siteName: e, baseUrl: t, pathSegments: o = [], permalink: s, title
2392
2404
  })]
2393
2405
  }, `${e}-${t}`))
2394
2406
  }),
2395
- M ? /* @__PURE__ */ G(c, {
2396
- href: M,
2407
+ ee ? /* @__PURE__ */ G(s, {
2408
+ href: ee,
2397
2409
  size: "base",
2398
2410
  lineHeight: "snug",
2399
2411
  underline: !1,
2400
2412
  className: "seo-listing-card--snippet-title block text-[#1a0dab] dark:text-[#8ab4f8]",
2401
2413
  children: O
2402
- }) : /* @__PURE__ */ G(a, {
2414
+ }) : /* @__PURE__ */ G(i, {
2403
2415
  size: "base",
2404
2416
  lineHeight: "snug",
2405
2417
  className: "seo-listing-card--snippet-title text-[#1a0dab] dark:text-[#8ab4f8]",
2406
2418
  children: O
2407
2419
  }),
2408
- /* @__PURE__ */ G(a, {
2420
+ /* @__PURE__ */ G(i, {
2409
2421
  type: "secondary",
2410
2422
  lineHeight: "relaxed",
2411
2423
  className: "seo-listing-card--description max-w-4xl",
@@ -2425,20 +2437,20 @@ function Tn({ siteName: e, baseUrl: t, pathSegments: o = [], permalink: s, title
2425
2437
  gap: "lg",
2426
2438
  justify: "between",
2427
2439
  wrap: !1,
2428
- className: "border-b border-border/60 px-control py-space-lg",
2440
+ className: "border-b border-border/60 p-surface-xs",
2429
2441
  children: [/* @__PURE__ */ K(u, {
2430
2442
  direction: "horizontal",
2431
2443
  gap: "sm",
2432
2444
  wrap: !1,
2433
2445
  children: [/* @__PURE__ */ G("span", {
2434
- className: r("seo-listing-card--score-icon inline-flex size-icon-lg shrink-0 items-center justify-center rounded-radius-sm", gn[A.status]),
2446
+ className: r("seo-listing-card--score-icon inline-flex size-icon-lg shrink-0 items-center justify-center rounded-inner", gn[A.status]),
2435
2447
  children: /* @__PURE__ */ G(Ae, {
2436
2448
  className: "size-icon-sm",
2437
2449
  "aria-hidden": "true"
2438
2450
  })
2439
2451
  }), /* @__PURE__ */ K("div", {
2440
2452
  className: "min-w-0",
2441
- children: [/* @__PURE__ */ G(a, {
2453
+ children: [/* @__PURE__ */ G(i, {
2442
2454
  weight: "semibold",
2443
2455
  children: w.scoreLabel
2444
2456
  }), /* @__PURE__ */ K(_, {
@@ -2466,7 +2478,7 @@ function Tn({ siteName: e, baseUrl: t, pathSegments: o = [], permalink: s, title
2466
2478
  className: "tabular-nums",
2467
2479
  children: [A.score, "/100"]
2468
2480
  }), /* @__PURE__ */ G(D, {
2469
- tone: ee,
2481
+ tone: j,
2470
2482
  size: "sm",
2471
2483
  inline: !0,
2472
2484
  children: w.status[A.status]
@@ -2474,7 +2486,7 @@ function Tn({ siteName: e, baseUrl: t, pathSegments: o = [], permalink: s, title
2474
2486
  })]
2475
2487
  }), /* @__PURE__ */ K(u, {
2476
2488
  gap: "lg",
2477
- className: "px-control py-space-lg",
2489
+ className: "p-surface-xs",
2478
2490
  children: [/* @__PURE__ */ G(p, {
2479
2491
  value: A.score,
2480
2492
  "aria-label": w.scoreLabel,
@@ -2507,8 +2519,8 @@ var En = {
2507
2519
  };
2508
2520
  //#endregion
2509
2521
  //#region src/components/blocks/commerce/invoice-mini/invoice-mini.tsx
2510
- function On({ invoice: e, className: n, strings: i }) {
2511
- let o = t(En, i), s = {
2522
+ function On({ invoice: e, className: n, strings: a }) {
2523
+ let o = t(En, a), s = {
2512
2524
  paid: o.paid,
2513
2525
  pending: o.pending,
2514
2526
  overdue: o.overdue
@@ -2535,7 +2547,7 @@ function On({ invoice: e, className: n, strings: i }) {
2535
2547
  children: s[e.status]
2536
2548
  })]
2537
2549
  }),
2538
- /* @__PURE__ */ G(a, {
2550
+ /* @__PURE__ */ G(i, {
2539
2551
  type: "secondary",
2540
2552
  className: "truncate",
2541
2553
  children: e.customerName
@@ -2549,7 +2561,7 @@ function On({ invoice: e, className: n, strings: i }) {
2549
2561
  children: [/* @__PURE__ */ K(u, {
2550
2562
  gap: "2xs",
2551
2563
  className: "min-w-0",
2552
- children: [/* @__PURE__ */ G(a, {
2564
+ children: [/* @__PURE__ */ G(i, {
2553
2565
  size: "xs",
2554
2566
  type: "secondary",
2555
2567
  children: o.items(e.lineItemsCount)
@@ -2593,13 +2605,13 @@ function An({ eyebrow: e, name: t, location: n }) {
2593
2605
  gap: "xs",
2594
2606
  className: "invoice-header--party",
2595
2607
  children: [
2596
- /* @__PURE__ */ G(s, { children: e }),
2597
- /* @__PURE__ */ G(a, {
2608
+ /* @__PURE__ */ G(o, { children: e }),
2609
+ /* @__PURE__ */ G(i, {
2598
2610
  weight: "semibold",
2599
2611
  className: "leading-snug",
2600
2612
  children: t
2601
2613
  }),
2602
- !!n && /* @__PURE__ */ G(a, {
2614
+ !!n && /* @__PURE__ */ G(i, {
2603
2615
  size: "xs",
2604
2616
  type: "secondary",
2605
2617
  className: "leading-snug",
@@ -2608,12 +2620,12 @@ function An({ eyebrow: e, name: t, location: n }) {
2608
2620
  ]
2609
2621
  });
2610
2622
  }
2611
- function jn({ invoiceNumber: e, status: t, statusTone: i, from: c, to: d, issuedDate: f, dueDate: p, amount: m, className: h, strings: g }) {
2623
+ function jn({ invoiceNumber: e, status: t, statusTone: s, from: c, to: d, issuedDate: f, dueDate: p, amount: m, className: h, strings: g }) {
2612
2624
  let _ = n(kn, g), v = {
2613
2625
  paid: _.paid,
2614
2626
  pending: _.pending,
2615
2627
  overdue: _.overdue
2616
- }, y = i ?? Dn[t];
2628
+ }, y = s ?? Dn[t];
2617
2629
  return /* @__PURE__ */ K(u, {
2618
2630
  gap: "2xl",
2619
2631
  "data-component": "invoice-header",
@@ -2626,7 +2638,7 @@ function jn({ invoiceNumber: e, status: t, statusTone: i, from: c, to: d, issued
2626
2638
  align: "center",
2627
2639
  justify: "between",
2628
2640
  gap: "lg",
2629
- children: [/* @__PURE__ */ G(a, {
2641
+ children: [/* @__PURE__ */ G(i, {
2630
2642
  weight: "bold",
2631
2643
  className: "font-mono tracking-wide",
2632
2644
  children: e
@@ -2675,11 +2687,12 @@ function jn({ invoiceNumber: e, status: t, statusTone: i, from: c, to: d, issued
2675
2687
  mono: !0,
2676
2688
  valueClassName: "font-medium"
2677
2689
  })]
2678
- }), /* @__PURE__ */ K("div", {
2690
+ }), /* @__PURE__ */ K(u, {
2691
+ gap: "dense",
2679
2692
  className: "text-right",
2680
- children: [/* @__PURE__ */ G(s, { children: _.amountDue }), /* @__PURE__ */ G(o, {
2693
+ children: [/* @__PURE__ */ G(o, { children: _.amountDue }), /* @__PURE__ */ G(a, {
2681
2694
  tag: "h3",
2682
- className: r("mt-1 text-base tabular-nums leading-none tracking-tight border-none pb-0"),
2695
+ className: r("text-base tabular-nums leading-none tracking-tight border-none pb-0"),
2683
2696
  children: m
2684
2697
  })]
2685
2698
  })]
@@ -2717,7 +2730,7 @@ function In(e, t) {
2717
2730
  id: "description",
2718
2731
  header: t.item,
2719
2732
  width: "minmax(0,1fr)",
2720
- cell: (e) => /* @__PURE__ */ G(a, {
2733
+ cell: (e) => /* @__PURE__ */ G(i, {
2721
2734
  className: "break-words",
2722
2735
  children: e.description
2723
2736
  })
@@ -2787,29 +2800,29 @@ function Ln(e, t, n, r) {
2787
2800
  }
2788
2801
  ];
2789
2802
  }
2790
- function Rn({ items: t, columns: i, footerRows: o, taxRate: c = .2, currency: l, className: d, strings: f }) {
2791
- let p = n(Mn, f), { defaultCurrency: m } = e(), g = l ?? m ?? "€", _ = i ?? In(g, p), v = o ?? (i ? [] : Ln(t, c, g, p)), y = i ? _.map((e) => e.width ?? "1fr").join(" ") : void 0, b = "grid-cols-3 @lg/invoice-line-items:grid-cols-[minmax(0,1fr)_36px_82px_82px]";
2803
+ function Rn({ items: t, columns: a, footerRows: s, taxRate: c = .2, currency: l, className: d, strings: f }) {
2804
+ let p = n(Mn, f), { defaultCurrency: m } = e(), g = l ?? m ?? "€", _ = a ?? In(g, p), v = s ?? (a ? [] : Ln(t, c, g, p)), y = a ? _.map((e) => e.width ?? "1fr").join(" ") : void 0, b = "grid-cols-3 @lg/invoice-line-items:grid-cols-[minmax(0,1fr)_36px_82px_82px]";
2792
2805
  return /* @__PURE__ */ K("div", {
2793
2806
  className: r("invoice-line-items--component", "@container/invoice-line-items w-full min-w-0 max-w-full overflow-hidden rounded-radius bg-card", Nn, d),
2794
2807
  children: [
2795
2808
  /* @__PURE__ */ G("div", {
2796
- className: r("invoice-line-items--header min-w-0 gap-space-md bg-muted/40 px-row-x py-row-y", i ? "grid" : ["hidden @lg/invoice-line-items:grid", b]),
2809
+ className: r("invoice-line-items--header min-w-0 gap-space-md bg-muted/40 px-row-x py-row-y", a ? "grid" : ["hidden @lg/invoice-line-items:grid", b]),
2797
2810
  style: { gridTemplateColumns: y },
2798
2811
  children: _.map((e) => /* @__PURE__ */ G("div", {
2799
2812
  className: r("flex min-w-0", Pn[e.align ?? "left"], e.headerClassName),
2800
- children: /* @__PURE__ */ G(s, {
2813
+ children: /* @__PURE__ */ G(o, {
2801
2814
  className: "min-w-0 truncate",
2802
2815
  children: e.header
2803
2816
  })
2804
2817
  }, e.id))
2805
2818
  }),
2806
2819
  t.map((e, t) => /* @__PURE__ */ G("div", {
2807
- className: r("invoice-line-items--row grid min-w-0 gap-space-md px-row-x py-row-y", !i && b, t % 2 == 1 && "bg-muted/20"),
2820
+ className: r("invoice-line-items--row grid min-w-0 gap-space-md px-row-x py-row-y", !a && b, t % 2 == 1 && "bg-muted/20"),
2808
2821
  style: { gridTemplateColumns: y },
2809
2822
  children: _.map((n) => /* @__PURE__ */ K("div", {
2810
2823
  "data-column": n.id,
2811
- className: r("min-w-0", i ? ["flex items-center", Pn[n.align ?? "left"]] : n.id === "description" ? "col-span-full @lg/invoice-line-items:col-span-1" : ["grid gap-space-xs", n.align === "center" ? "text-center justify-items-center" : "text-right justify-items-end"], n.cellClassName),
2812
- children: [!i && n.id !== "description" && /* @__PURE__ */ G(s, {
2824
+ className: r("min-w-0", a ? ["flex items-center", Pn[n.align ?? "left"]] : n.id === "description" ? "col-span-full @lg/invoice-line-items:col-span-1" : ["grid gap-space-xs", n.align === "center" ? "text-center justify-items-center" : "text-right justify-items-end"], n.cellClassName),
2825
+ children: [!a && n.id !== "description" && /* @__PURE__ */ G(o, {
2813
2826
  className: "@lg/invoice-line-items:hidden",
2814
2827
  children: n.header
2815
2828
  }), n.cell(e, t)]
@@ -2825,7 +2838,7 @@ function Rn({ items: t, columns: i, footerRows: o, taxRate: c = .2, currency: l,
2825
2838
  justify: "between",
2826
2839
  align: "baseline",
2827
2840
  className: r(e.emphasis === "total" && "pt-space-md"),
2828
- children: [/* @__PURE__ */ G(a, {
2841
+ children: [/* @__PURE__ */ G(i, {
2829
2842
  type: e.emphasis === "total" ? void 0 : "secondary",
2830
2843
  weight: e.emphasis === "total" ? "bold" : "regular",
2831
2844
  children: e.label
@@ -2856,7 +2869,7 @@ function Bn({ title: e, description: t, events: n, footerText: i, className: a }
2856
2869
  timestamp: e.timestamp,
2857
2870
  status: e.status
2858
2871
  }));
2859
- return /* @__PURE__ */ G(j, {
2872
+ return /* @__PURE__ */ G(M, {
2860
2873
  "data-component": "order-timeline",
2861
2874
  "data-slot": "order-timeline",
2862
2875
  title: e,
@@ -3014,7 +3027,7 @@ function qn(e, t) {
3014
3027
  return e === "available" ? t === "in_stock" ? "success" : t === "low_stock" ? "warning" : t === "out_of_stock" ? "error" : "default" : "default";
3015
3028
  }
3016
3029
  function $({ children: e, className: t }) {
3017
- return /* @__PURE__ */ G(a, {
3030
+ return /* @__PURE__ */ G(i, {
3018
3031
  weight: "semibold",
3019
3032
  className: r("inventory-section-card--section-title", t),
3020
3033
  children: e
@@ -3022,9 +3035,9 @@ function $({ children: e, className: t }) {
3022
3035
  }
3023
3036
  function Jn({ metric: e }) {
3024
3037
  return /* @__PURE__ */ K("div", {
3025
- className: r("inventory-section-card--metric min-w-0 rounded-radius-sm border px-space-lg py-space-md", Wn[e.tone ?? "default"]),
3038
+ className: r("inventory-section-card--metric min-w-0 rounded-radius border px-space-lg py-space-md", Wn[e.tone ?? "default"]),
3026
3039
  children: [
3027
- /* @__PURE__ */ G(a, {
3040
+ /* @__PURE__ */ G(i, {
3028
3041
  size: "xs",
3029
3042
  type: "secondary",
3030
3043
  children: e.label
@@ -3034,7 +3047,7 @@ function Jn({ metric: e }) {
3034
3047
  className: "tabular-nums",
3035
3048
  children: e.value
3036
3049
  }),
3037
- !!e.description && /* @__PURE__ */ G(a, {
3050
+ !!e.description && /* @__PURE__ */ G(i, {
3038
3051
  size: "xs",
3039
3052
  type: "secondary",
3040
3053
  lineHeight: "snug",
@@ -3043,8 +3056,8 @@ function Jn({ metric: e }) {
3043
3056
  ]
3044
3057
  });
3045
3058
  }
3046
- function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly: s = !1, visibleSections: c, visibleFields: d, locationOptions: f = [], countryOptions: p = [], tagRecommendations: m, maxTags: h, onGenerateSku: g, onRestock: _, className: v, strings: y }) {
3047
- let b = n(Hn, y), x = Kn(e), S = o || s, C = e.trackQuantity ?? !0, w = e.requiresShipping ?? !0, T = S || !w, E = (e) => c?.[e] !== !1, O = (e) => d?.[e] !== !1, A = (n, r) => {
3059
+ function Yn({ value: e, onValueChange: t, errors: i, disabled: a = !1, readOnly: o = !1, visibleSections: s, visibleFields: d, locationOptions: f = [], countryOptions: p = [], tagRecommendations: m, maxTags: h, onGenerateSku: g, onRestock: _, className: v, strings: y }) {
3060
+ let b = n(Hn, y), x = Kn(e), S = a || o, C = e.trackQuantity ?? !0, w = e.requiresShipping ?? !0, T = S || !w, E = (e) => s?.[e] !== !1, O = (e) => d?.[e] !== !1, j = (n, r) => {
3048
3061
  let i = e[n], a = {
3049
3062
  ...e,
3050
3063
  [n]: r
@@ -3057,7 +3070,7 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3057
3070
  }, ie = () => {
3058
3071
  if (!g || S) return;
3059
3072
  let t = g(e);
3060
- typeof t == "string" && A("sku", t);
3073
+ typeof t == "string" && j("sku", t);
3061
3074
  }, F = [
3062
3075
  {
3063
3076
  id: "available",
@@ -3085,7 +3098,7 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3085
3098
  tone: qn("threshold", x)
3086
3099
  }
3087
3100
  ];
3088
- return /* @__PURE__ */ K(j, {
3101
+ return /* @__PURE__ */ K(M, {
3089
3102
  icon: /* @__PURE__ */ G(Fe, { className: "size-icon" }),
3090
3103
  title: b.title,
3091
3104
  description: b.description,
@@ -3097,7 +3110,7 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3097
3110
  direction: "horizontal",
3098
3111
  gap: "sm",
3099
3112
  className: "w-full @md/inventory-section-card:w-auto @md/inventory-section-card:justify-end",
3100
- children: [!!g && /* @__PURE__ */ K(i, {
3113
+ children: [!!g && /* @__PURE__ */ K(c, {
3101
3114
  type: "button",
3102
3115
  tone: "secondary",
3103
3116
  buttonStyle: "outline",
@@ -3108,7 +3121,7 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3108
3121
  className: "size-icon-sm",
3109
3122
  "aria-hidden": "true"
3110
3123
  }), b.actions.generateSku]
3111
- }), !!_ && /* @__PURE__ */ K(i, {
3124
+ }), !!_ && /* @__PURE__ */ K(c, {
3112
3125
  type: "button",
3113
3126
  tone: "secondary",
3114
3127
  buttonStyle: "ghost",
@@ -3123,7 +3136,6 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3123
3136
  }),
3124
3137
  headerDivider: !0,
3125
3138
  className: r("inventory-section-card--component @container/inventory-section-card w-full", v),
3126
- headerClassName: "@max-md/inventory-section-card:flex-col @max-md/inventory-section-card:items-stretch",
3127
3139
  contentGap: "xl",
3128
3140
  children: [
3129
3141
  !!E("summary") && /* @__PURE__ */ G("div", {
@@ -3134,29 +3146,29 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3134
3146
  render: /* @__PURE__ */ G("section", {}),
3135
3147
  gap: "md",
3136
3148
  className: "inventory-section-card--identity",
3137
- children: [/* @__PURE__ */ G($, { children: b.sections.identity }), /* @__PURE__ */ K(l, { children: [!!O("sku") && /* @__PURE__ */ G(M, {
3149
+ children: [/* @__PURE__ */ G($, { children: b.sections.identity }), /* @__PURE__ */ K(l, { children: [!!O("sku") && /* @__PURE__ */ G(N, {
3138
3150
  label: b.fields.sku,
3139
- error: a?.sku,
3151
+ error: i?.sku,
3140
3152
  hint: b.hints.sku,
3141
3153
  children: /* @__PURE__ */ G(k, {
3142
3154
  value: e.sku ?? "",
3143
- onChange: (e) => A("sku", e.target.value),
3155
+ onChange: (e) => j("sku", e.target.value),
3144
3156
  placeholder: b.placeholders.sku,
3145
3157
  startIcon: Fe,
3146
3158
  disabled: S,
3147
- invalid: !!a?.sku
3159
+ invalid: !!i?.sku
3148
3160
  })
3149
- }), !!O("barcode") && /* @__PURE__ */ G(M, {
3161
+ }), !!O("barcode") && /* @__PURE__ */ G(N, {
3150
3162
  label: b.fields.barcode,
3151
- error: a?.barcode,
3163
+ error: i?.barcode,
3152
3164
  hint: b.hints.barcode,
3153
3165
  children: /* @__PURE__ */ G(k, {
3154
3166
  value: e.barcode ?? "",
3155
- onChange: (e) => A("barcode", e.target.value),
3167
+ onChange: (e) => j("barcode", e.target.value),
3156
3168
  placeholder: b.placeholders.barcode,
3157
3169
  startIcon: ve,
3158
3170
  disabled: S,
3159
- invalid: !!a?.barcode
3171
+ invalid: !!i?.barcode
3160
3172
  })
3161
3173
  })] })]
3162
3174
  }),
@@ -3166,88 +3178,88 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3166
3178
  className: "inventory-section-card--tracking border-t border-border/60 pt-space-xl",
3167
3179
  children: [
3168
3180
  /* @__PURE__ */ G($, { children: b.sections.tracking }),
3169
- !!O("trackQuantity") && /* @__PURE__ */ G(N, {
3181
+ !!O("trackQuantity") && /* @__PURE__ */ G(A, {
3170
3182
  label: b.fields.trackQuantity,
3171
3183
  description: b.hints.available,
3172
3184
  value: C,
3173
- onValueChange: (e) => A("trackQuantity", e),
3185
+ onValueChange: (e) => j("trackQuantity", e),
3174
3186
  disabled: S
3175
3187
  }),
3176
3188
  /* @__PURE__ */ K("div", {
3177
3189
  className: "inventory-section-card--tracking-grid grid min-w-0 grid-cols-1 gap-space-xl @md/inventory-section-card:grid-cols-2 @3xl/inventory-section-card:grid-cols-4",
3178
3190
  children: [
3179
- !!O("available") && /* @__PURE__ */ G(M, {
3191
+ !!O("available") && /* @__PURE__ */ G(N, {
3180
3192
  label: b.fields.available,
3181
- error: a?.available,
3193
+ error: i?.available,
3182
3194
  hint: b.hints.available,
3183
3195
  children: /* @__PURE__ */ G(P, {
3184
3196
  value: e.available ?? "",
3185
- onChange: (e) => A("available", e.target.value),
3197
+ onChange: (e) => j("available", e.target.value),
3186
3198
  placeholder: b.placeholders.available,
3187
3199
  min: 0,
3188
3200
  decimalPlaces: 0,
3189
3201
  step: 1,
3190
3202
  disabled: S || !C,
3191
- invalid: !!a?.available
3203
+ invalid: !!i?.available
3192
3204
  })
3193
3205
  }),
3194
- !!O("committed") && /* @__PURE__ */ G(M, {
3206
+ !!O("committed") && /* @__PURE__ */ G(N, {
3195
3207
  label: b.fields.committed,
3196
- error: a?.committed,
3208
+ error: i?.committed,
3197
3209
  hint: b.hints.committed,
3198
3210
  children: /* @__PURE__ */ G(P, {
3199
3211
  value: e.committed ?? "",
3200
- onChange: (e) => A("committed", e.target.value),
3212
+ onChange: (e) => j("committed", e.target.value),
3201
3213
  placeholder: b.placeholders.committed,
3202
3214
  min: 0,
3203
3215
  decimalPlaces: 0,
3204
3216
  step: 1,
3205
3217
  disabled: S || !C,
3206
- invalid: !!a?.committed
3218
+ invalid: !!i?.committed
3207
3219
  })
3208
3220
  }),
3209
- !!O("incoming") && /* @__PURE__ */ G(M, {
3221
+ !!O("incoming") && /* @__PURE__ */ G(N, {
3210
3222
  label: b.fields.incoming,
3211
- error: a?.incoming,
3223
+ error: i?.incoming,
3212
3224
  hint: b.hints.incoming,
3213
3225
  children: /* @__PURE__ */ G(P, {
3214
3226
  value: e.incoming ?? "",
3215
- onChange: (e) => A("incoming", e.target.value),
3227
+ onChange: (e) => j("incoming", e.target.value),
3216
3228
  placeholder: b.placeholders.incoming,
3217
3229
  min: 0,
3218
3230
  decimalPlaces: 0,
3219
3231
  step: 1,
3220
3232
  disabled: S || !C,
3221
- invalid: !!a?.incoming
3233
+ invalid: !!i?.incoming
3222
3234
  })
3223
3235
  }),
3224
- !!O("lowStockThreshold") && /* @__PURE__ */ G(M, {
3236
+ !!O("lowStockThreshold") && /* @__PURE__ */ G(N, {
3225
3237
  label: b.fields.lowStockThreshold,
3226
- error: a?.lowStockThreshold,
3238
+ error: i?.lowStockThreshold,
3227
3239
  hint: b.hints.lowStockThreshold,
3228
3240
  children: /* @__PURE__ */ G(P, {
3229
3241
  value: e.lowStockThreshold ?? "",
3230
- onChange: (e) => A("lowStockThreshold", e.target.value),
3242
+ onChange: (e) => j("lowStockThreshold", e.target.value),
3231
3243
  placeholder: b.placeholders.lowStockThreshold,
3232
3244
  min: 0,
3233
3245
  decimalPlaces: 0,
3234
3246
  step: 1,
3235
3247
  disabled: S || !C,
3236
- invalid: !!a?.lowStockThreshold
3248
+ invalid: !!i?.lowStockThreshold
3237
3249
  })
3238
3250
  })
3239
3251
  ]
3240
3252
  }),
3241
- !!O("inventoryPolicy") && /* @__PURE__ */ G(M, {
3253
+ !!O("inventoryPolicy") && /* @__PURE__ */ G(N, {
3242
3254
  label: b.fields.inventoryPolicy,
3243
- error: a?.inventoryPolicy,
3255
+ error: i?.inventoryPolicy,
3244
3256
  hint: b.hints.inventoryPolicy,
3245
3257
  children: /* @__PURE__ */ G(te, {
3246
3258
  columns: 2,
3247
3259
  value: e.inventoryPolicy ?? "deny",
3248
- onValueChange: (e) => A("inventoryPolicy", e),
3260
+ onValueChange: (e) => j("inventoryPolicy", e),
3249
3261
  disabled: S || !C,
3250
- invalid: !!a?.inventoryPolicy,
3262
+ invalid: !!i?.inventoryPolicy,
3251
3263
  options: [{
3252
3264
  value: "deny",
3253
3265
  label: b.policyOptions.deny.label,
@@ -3265,35 +3277,35 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3265
3277
  render: /* @__PURE__ */ G("section", {}),
3266
3278
  gap: "md",
3267
3279
  className: "inventory-section-card--location border-t border-border/60 pt-space-xl",
3268
- children: [/* @__PURE__ */ G($, { children: b.sections.location }), /* @__PURE__ */ K(l, { children: [!!O("locationId") && /* @__PURE__ */ G(M, {
3280
+ children: [/* @__PURE__ */ G($, { children: b.sections.location }), /* @__PURE__ */ K(l, { children: [!!O("locationId") && /* @__PURE__ */ G(N, {
3269
3281
  label: b.fields.locationId,
3270
- error: a?.locationId,
3282
+ error: i?.locationId,
3271
3283
  hint: b.hints.locationId,
3272
3284
  children: f.length > 0 ? /* @__PURE__ */ G(ee, {
3273
3285
  value: e.locationId ?? null,
3274
- onValueChange: (e) => A("locationId", e),
3286
+ onValueChange: (e) => j("locationId", e),
3275
3287
  options: f,
3276
3288
  placeholder: b.placeholders.locationId,
3277
3289
  disabled: S,
3278
- invalid: !!a?.locationId,
3290
+ invalid: !!i?.locationId,
3279
3291
  allowClear: !0
3280
3292
  }) : /* @__PURE__ */ G(k, {
3281
3293
  value: e.locationId ?? "",
3282
- onChange: (e) => A("locationId", e.target.value),
3294
+ onChange: (e) => j("locationId", e.target.value),
3283
3295
  placeholder: b.placeholders.locationId,
3284
3296
  disabled: S,
3285
- invalid: !!a?.locationId
3297
+ invalid: !!i?.locationId
3286
3298
  })
3287
- }), !!O("binLocation") && /* @__PURE__ */ G(M, {
3299
+ }), !!O("binLocation") && /* @__PURE__ */ G(N, {
3288
3300
  label: b.fields.binLocation,
3289
- error: a?.binLocation,
3301
+ error: i?.binLocation,
3290
3302
  hint: b.hints.binLocation,
3291
3303
  children: /* @__PURE__ */ G(k, {
3292
3304
  value: e.binLocation ?? "",
3293
- onChange: (e) => A("binLocation", e.target.value),
3305
+ onChange: (e) => j("binLocation", e.target.value),
3294
3306
  placeholder: b.placeholders.binLocation,
3295
3307
  disabled: S,
3296
- invalid: !!a?.binLocation
3308
+ invalid: !!i?.binLocation
3297
3309
  })
3298
3310
  })] })]
3299
3311
  }),
@@ -3303,24 +3315,24 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3303
3315
  className: "inventory-section-card--shipping border-t border-border/60 pt-space-xl",
3304
3316
  children: [
3305
3317
  /* @__PURE__ */ G($, { children: b.sections.shipping }),
3306
- !!O("requiresShipping") && /* @__PURE__ */ G(N, {
3318
+ !!O("requiresShipping") && /* @__PURE__ */ G(A, {
3307
3319
  label: b.fields.requiresShipping,
3308
3320
  description: b.hints.weight,
3309
3321
  value: w,
3310
- onValueChange: (e) => A("requiresShipping", e),
3322
+ onValueChange: (e) => j("requiresShipping", e),
3311
3323
  disabled: S
3312
3324
  }),
3313
- !!O("weight") && /* @__PURE__ */ G(M, {
3325
+ !!O("weight") && /* @__PURE__ */ G(N, {
3314
3326
  label: b.fields.weight,
3315
- error: a?.weight ?? a?.weightUnit,
3327
+ error: i?.weight ?? i?.weightUnit,
3316
3328
  hint: b.hints.weight,
3317
3329
  children: /* @__PURE__ */ G(re, {
3318
3330
  value: e.weight ?? "",
3319
3331
  unit: e.weightUnit ?? "kg",
3320
- onChange: (e) => A("weight", e.target.value),
3321
- onUnitChange: (e) => A("weightUnit", e),
3332
+ onChange: (e) => j("weight", e.target.value),
3333
+ onUnitChange: (e) => j("weightUnit", e),
3322
3334
  disabled: T,
3323
- invalid: !!a?.weight || !!a?.weightUnit,
3335
+ invalid: !!i?.weight || !!i?.weightUnit,
3324
3336
  decimalPlaces: 2,
3325
3337
  min: 0
3326
3338
  })
@@ -3331,35 +3343,35 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3331
3343
  render: /* @__PURE__ */ G("section", {}),
3332
3344
  gap: "md",
3333
3345
  className: "inventory-section-card--customs border-t border-border/60 pt-space-xl",
3334
- children: [/* @__PURE__ */ G($, { children: b.sections.customs }), /* @__PURE__ */ K(l, { children: [!!O("countryOfOrigin") && /* @__PURE__ */ G(M, {
3346
+ children: [/* @__PURE__ */ G($, { children: b.sections.customs }), /* @__PURE__ */ K(l, { children: [!!O("countryOfOrigin") && /* @__PURE__ */ G(N, {
3335
3347
  label: b.fields.countryOfOrigin,
3336
- error: a?.countryOfOrigin,
3348
+ error: i?.countryOfOrigin,
3337
3349
  hint: b.hints.countryOfOrigin,
3338
3350
  children: p.length > 0 ? /* @__PURE__ */ G(ee, {
3339
3351
  value: e.countryOfOrigin ?? null,
3340
- onValueChange: (e) => A("countryOfOrigin", e),
3352
+ onValueChange: (e) => j("countryOfOrigin", e),
3341
3353
  options: p,
3342
3354
  placeholder: b.placeholders.countryOfOrigin,
3343
3355
  disabled: T,
3344
- invalid: !!a?.countryOfOrigin,
3356
+ invalid: !!i?.countryOfOrigin,
3345
3357
  allowClear: !0
3346
3358
  }) : /* @__PURE__ */ G(k, {
3347
3359
  value: e.countryOfOrigin ?? "",
3348
- onChange: (e) => A("countryOfOrigin", e.target.value),
3360
+ onChange: (e) => j("countryOfOrigin", e.target.value),
3349
3361
  placeholder: b.placeholders.countryOfOrigin,
3350
3362
  disabled: T,
3351
- invalid: !!a?.countryOfOrigin
3363
+ invalid: !!i?.countryOfOrigin
3352
3364
  })
3353
- }), !!O("hsCode") && /* @__PURE__ */ G(M, {
3365
+ }), !!O("hsCode") && /* @__PURE__ */ G(N, {
3354
3366
  label: b.fields.hsCode,
3355
- error: a?.hsCode,
3367
+ error: i?.hsCode,
3356
3368
  hint: b.hints.hsCode,
3357
3369
  children: /* @__PURE__ */ G(k, {
3358
3370
  value: e.hsCode ?? "",
3359
- onChange: (e) => A("hsCode", e.target.value),
3371
+ onChange: (e) => j("hsCode", e.target.value),
3360
3372
  placeholder: b.placeholders.hsCode,
3361
3373
  disabled: T,
3362
- invalid: !!a?.hsCode
3374
+ invalid: !!i?.hsCode
3363
3375
  })
3364
3376
  })] })]
3365
3377
  }),
@@ -3367,18 +3379,18 @@ function Yn({ value: e, onValueChange: t, errors: a, disabled: o = !1, readOnly:
3367
3379
  render: /* @__PURE__ */ G("section", {}),
3368
3380
  gap: "md",
3369
3381
  className: "inventory-section-card--tags border-t border-border/60 pt-space-xl",
3370
- children: [/* @__PURE__ */ G($, { children: b.sections.tags }), /* @__PURE__ */ G(M, {
3382
+ children: [/* @__PURE__ */ G($, { children: b.sections.tags }), /* @__PURE__ */ G(N, {
3371
3383
  label: b.fields.tags,
3372
- error: a?.tags,
3384
+ error: i?.tags,
3373
3385
  hint: b.hints.tags,
3374
3386
  children: /* @__PURE__ */ G(ne, {
3375
3387
  value: e.tags ?? [],
3376
- onValueChange: (e) => A("tags", e),
3388
+ onValueChange: (e) => j("tags", e),
3377
3389
  recommendations: m,
3378
3390
  maxTags: h,
3379
3391
  showMaxTags: h !== void 0,
3380
3392
  disabled: S,
3381
- invalid: !!a?.tags,
3393
+ invalid: !!i?.tags,
3382
3394
  strings: b.tagInput
3383
3395
  })
3384
3396
  })]