themelia-react-ui 2.0.4 → 2.0.6

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 (715) hide show
  1. package/CHANGELOG.md +211 -0
  2. package/MIGRATION.md +119 -0
  3. package/README.md +122 -20
  4. package/dist/{accordion-96o0pN62.js → accordion-0tQUZ20r.js} +13 -13
  5. package/dist/accordion-0tQUZ20r.js.map +1 -0
  6. package/dist/{action-menu-CHgs8vmj.js → action-menu-C0gjzLyE.js} +48 -45
  7. package/dist/action-menu-C0gjzLyE.js.map +1 -0
  8. package/dist/{affordance-geometry.generated-B8yGOr8-.js → affordance-geometry.generated-P-aVJisu.js} +36 -36
  9. package/dist/affordance-geometry.generated-P-aVJisu.js.map +1 -0
  10. package/dist/{ai-artifact-BZUGwBq6.js → ai-artifact-CGGpQryR.js} +281 -230
  11. package/dist/ai-artifact-CGGpQryR.js.map +1 -0
  12. package/dist/app-shell-EHuuRDGy.js +321 -0
  13. package/dist/app-shell-EHuuRDGy.js.map +1 -0
  14. package/dist/{attachment-DkoqHPPl.js → attachment-BCpA4e7i.js} +10 -10
  15. package/dist/{attachment-DkoqHPPl.js.map → attachment-BCpA4e7i.js.map} +1 -1
  16. package/dist/{auth-D2FVZ1MH.js → auth-B0girIk_.js} +49 -52
  17. package/dist/auth-B0girIk_.js.map +1 -0
  18. package/dist/{avatar-DWO_HHhB.js → avatar-B9Jnp-T-.js} +8 -8
  19. package/dist/avatar-B9Jnp-T-.js.map +1 -0
  20. package/dist/{badge-DErMA7ul.js → badge-wWauMgAt.js} +5 -5
  21. package/dist/{badge-DErMA7ul.js.map → badge-wWauMgAt.js.map} +1 -1
  22. package/dist/base/accordion.js +1 -1
  23. package/dist/base/action-menu.js +1 -1
  24. package/dist/base/attachment.js +1 -1
  25. package/dist/base/avatar.js +1 -1
  26. package/dist/base/badge.js +1 -1
  27. package/dist/base/batch-action-bar.js +1 -1
  28. package/dist/base/buttons.js +1 -1
  29. package/dist/base/cards.js +2 -2
  30. package/dist/base/carousel.js +3 -3
  31. package/dist/base/cascader.js +2 -372
  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 +2 -2
  36. package/dist/base/command.js +1 -1
  37. package/dist/base/copyable.js +1 -1
  38. package/dist/base/date-pickers.js +2 -2
  39. package/dist/base/display.js +6 -6
  40. package/dist/base/feedback.js +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 +10 -10
  44. package/dist/base/item.js +1 -1
  45. package/dist/base/media-gallery.js +1 -1
  46. package/dist/base/metadata-list.js +1 -1
  47. package/dist/base/navigation.js +7 -7
  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 +200 -193
  52. package/dist/base/repeaters.js.map +1 -1
  53. package/dist/base/sheet.js +1 -1
  54. package/dist/base/sidebar.js +2 -2
  55. package/dist/base/signature-pad.js +8 -8
  56. package/dist/base/signature-pad.js.map +1 -1
  57. package/dist/base/skeleton.js +1 -1
  58. package/dist/base/spinner.js +6 -6
  59. package/dist/base/spinner.js.map +1 -1
  60. package/dist/base/structure.js +1 -1
  61. package/dist/base/table.js +1 -1
  62. package/dist/base/text-inputs.js +2 -2
  63. package/dist/base/toaster.js +36 -36
  64. package/dist/base/toaster.js.map +1 -1
  65. package/dist/base/tree.js +1 -1
  66. package/dist/base/upload-queue.js +1 -1
  67. package/dist/base/upload.js +3 -3
  68. package/dist/base/value-inputs.js +1 -1
  69. package/dist/{batch-action-bar-CdfIkCsV.js → batch-action-bar-BoqWIIpV.js} +7 -7
  70. package/dist/batch-action-bar-BoqWIIpV.js.map +1 -0
  71. package/dist/blocks/admin.js +21 -21
  72. package/dist/blocks/admin.js.map +1 -1
  73. package/dist/blocks/ai.js +267 -247
  74. package/dist/blocks/ai.js.map +1 -1
  75. package/dist/blocks/analytics/usage-card.js +1 -1
  76. package/dist/blocks/analytics.js +537 -543
  77. package/dist/blocks/analytics.js.map +1 -1
  78. package/dist/blocks/collaboration.js +1 -1
  79. package/dist/blocks/commerce/receipt.js +1 -1
  80. package/dist/blocks/commerce.js +1330 -1250
  81. package/dist/blocks/commerce.js.map +1 -1
  82. package/dist/blocks/data-display.js +2 -2
  83. package/dist/blocks/onboarding.js +6 -6
  84. package/dist/blocks/onboarding.js.map +1 -1
  85. package/dist/blocks/planning.js +11 -11
  86. package/dist/blocks/timelines.js +1 -1
  87. package/dist/{breadcrumbs-B-WFKecD.js → breadcrumbs-Bp9Ke7kd.js} +7 -7
  88. package/dist/breadcrumbs-Bp9Ke7kd.js.map +1 -0
  89. package/dist/{button-DkmK-z8E.js → button-ChBovTx0.js} +3 -3
  90. package/dist/button-ChBovTx0.js.map +1 -0
  91. package/dist/{buttons-BbfzgczK.js → buttons-DeW0bQeK.js} +16 -16
  92. package/dist/buttons-DeW0bQeK.js.map +1 -0
  93. package/dist/cards-CNXnmvV5.js +69 -0
  94. package/dist/cards-CNXnmvV5.js.map +1 -0
  95. package/dist/cascader-CrAl9zD5.js +439 -0
  96. package/dist/cascader-CrAl9zD5.js.map +1 -0
  97. package/dist/chart-I7ROnsl8.js +162 -0
  98. package/dist/chart-I7ROnsl8.js.map +1 -0
  99. package/dist/{checkbox-CzYUTPeJ.js → checkbox-MoyHIAPs.js} +3 -3
  100. package/dist/{checkbox-CzYUTPeJ.js.map → checkbox-MoyHIAPs.js.map} +1 -1
  101. package/dist/choice-inputs-DHGtx0QV.js +789 -0
  102. package/dist/choice-inputs-DHGtx0QV.js.map +1 -0
  103. package/dist/{code-block-CGNaUtAE.js → code-block-BSJyq9e-.js} +9 -9
  104. package/dist/code-block-BSJyq9e-.js.map +1 -0
  105. package/dist/{collapsible-Do4G0zcC.js → collapsible-BzJ91LUG.js} +5 -5
  106. package/dist/{collapsible-Do4G0zcC.js.map → collapsible-BzJ91LUG.js.map} +1 -1
  107. package/dist/{collection-content-C0e8SsTm.js → collection-content-CSnwtOTH.js} +3 -3
  108. package/dist/{collection-content-C0e8SsTm.js.map → collection-content-CSnwtOTH.js.map} +1 -1
  109. package/dist/combobox-Bcvu5J8O.js +363 -0
  110. package/dist/combobox-Bcvu5J8O.js.map +1 -0
  111. package/dist/combobox-C2JiSQPc.js +915 -0
  112. package/dist/combobox-C2JiSQPc.js.map +1 -0
  113. package/dist/{command-D8NrBj-b.js → command-9e52NPgK.js} +11 -11
  114. package/dist/command-9e52NPgK.js.map +1 -0
  115. package/dist/{comments-Di4w0H_S.js → comments-BsgErEqd.js} +44 -39
  116. package/dist/comments-BsgErEqd.js.map +1 -0
  117. package/dist/components/base/action-menu/action-menu.d.ts +7 -1
  118. package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
  119. package/dist/components/base/cards/card.recipes.d.ts +6 -4
  120. package/dist/components/base/cards/partials/card-primitives.d.ts +9 -2
  121. package/dist/components/base/cards/partials/smart-card-header-row.d.ts +3 -1
  122. package/dist/components/base/cards/smart-card.types.d.ts +3 -4
  123. package/dist/components/base/cascader/cascader-panel.d.ts +76 -0
  124. package/dist/components/base/chart/chart.d.ts +6 -1
  125. package/dist/components/base/choice-inputs/choice-types.d.ts +5 -1
  126. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +7 -6
  127. package/dist/components/base/combobox/combobox-field.d.ts +2 -2
  128. package/dist/components/base/combobox/index.d.ts +4 -2
  129. package/dist/components/base/date-pickers/date-picker-internals.d.ts +3 -1
  130. package/dist/components/base/date-pickers/datepicker.types.d.ts +10 -4
  131. package/dist/components/base/date-pickers/time-picker.d.ts +17 -3
  132. package/dist/components/base/feedback/alert.d.ts +1 -1
  133. package/dist/components/base/feedback/state-display.d.ts +5 -1
  134. package/dist/components/base/feedback/state-display.strings.d.ts +9 -0
  135. package/dist/components/base/forms/form-field.d.ts +7 -2
  136. package/dist/components/base/forms/form-sizing.d.ts +7 -7
  137. package/dist/components/base/forms/workflow.d.ts +7 -1
  138. package/dist/components/base/forms-numeric/coordinates-input.d.ts +8 -1
  139. package/dist/components/base/forms-numeric/decimal-input.d.ts +2 -2
  140. package/dist/components/base/forms-numeric/dimensions-input.d.ts +4 -1
  141. package/dist/components/base/forms-numeric/numeric-composite-field.d.ts +12 -0
  142. package/dist/components/base/forms-numeric/weight-input.d.ts +6 -1
  143. package/dist/components/base/metadata-list/metadata-list.d.ts +1 -1
  144. package/dist/components/base/navigation/dropdown-menu.d.ts +1 -1
  145. package/dist/components/base/navigation/language-switcher.d.ts +12 -4
  146. package/dist/components/base/navigation/page-header/page-header-commands.d.ts +14 -7
  147. package/dist/components/base/navigation/page-header/page-header.d.ts +10 -3
  148. package/dist/components/base/popover/popover.d.ts +3 -3
  149. package/dist/components/base/popover/popover.recipes.d.ts +10 -6
  150. package/dist/components/base/repeaters/key-value-editor.d.ts +2 -1
  151. package/dist/components/base/sheet/sheet.d.ts +2 -0
  152. package/dist/components/base/sidebar/index.d.ts +1 -1
  153. package/dist/components/base/sidebar/sidebar.d.ts +29 -5
  154. package/dist/components/base/toaster/index.d.ts +1 -0
  155. package/dist/components/base/upload/avatar-upload.d.ts +2 -1
  156. package/dist/components/base/upload/image-upload.d.ts +2 -1
  157. package/dist/components/blocks/ai/ai-citation/types.d.ts +2 -0
  158. package/dist/components/blocks/ai/ai-file-tree/types.d.ts +1 -1
  159. package/dist/components/blocks/ai/ai-reasoning/types.d.ts +2 -0
  160. package/dist/components/blocks/ai/ai-sources/types.d.ts +2 -0
  161. package/dist/components/blocks/ai/ai-tool-call/types.d.ts +5 -1
  162. package/dist/components/blocks/ai/ai.strings.d.ts +2 -0
  163. package/dist/components/blocks/analytics/metric/metric.d.ts +4 -0
  164. package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +4 -0
  165. package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +4 -5
  166. package/dist/components/blocks/analytics/types.d.ts +2 -2
  167. package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +2 -0
  168. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +1 -1
  169. package/dist/components/blocks/commerce/cart-summary/types.d.ts +3 -1
  170. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +1 -1
  171. package/dist/components/blocks/commerce/discount-stack/types.d.ts +3 -1
  172. package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +1 -1
  173. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +11 -2
  174. package/dist/components/blocks/commerce/index.d.ts +7 -6
  175. package/dist/components/blocks/commerce/inventory-section/inventory-section.d.ts +1 -1
  176. package/dist/components/blocks/commerce/inventory-section/types.d.ts +7 -2
  177. package/dist/components/blocks/commerce/invoice-header/index.d.ts +2 -1
  178. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
  179. package/dist/components/blocks/commerce/invoice-header/types.d.ts +20 -6
  180. package/dist/components/blocks/commerce/invoice-line-items/invoice-line-items.d.ts +1 -1
  181. package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +24 -7
  182. package/dist/components/blocks/commerce/invoice-mini/index.d.ts +2 -1
  183. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +7 -1
  184. package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +1 -1
  185. package/dist/components/blocks/commerce/order-customer/types.d.ts +9 -1
  186. package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
  187. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +1 -1
  188. package/dist/components/blocks/commerce/refund-status/types.d.ts +3 -1
  189. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
  190. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +3 -1
  191. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
  192. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +3 -1
  193. package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +4 -3
  194. package/dist/components/features/activities/activities.types.d.ts +26 -13
  195. package/dist/components/features/activities/hooks/use-activity-resources.d.ts +2 -1
  196. package/dist/components/features/activities/partials/activity-marker.d.ts +7 -3
  197. package/dist/components/features/activities/partials/activity-row.d.ts +24 -0
  198. package/dist/components/features/ai-chat/hooks/use-ai-chat-scroll.d.ts +1 -1
  199. package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +1 -1
  200. package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +4 -2
  201. package/dist/components/features/combobox/async-resource-combobox.d.ts +2 -2
  202. package/dist/components/features/combobox/combobox.d.ts +2 -2
  203. package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +2 -1
  204. package/dist/components/features/combobox/hooks/use-combobox-state.d.ts +1 -0
  205. package/dist/components/features/combobox/hooks/use-load-more.d.ts +1 -0
  206. package/dist/components/features/combobox/types.d.ts +37 -8
  207. package/dist/components/features/email-composer/types.d.ts +3 -1
  208. package/dist/components/features/event-calendar/colors.d.ts +2 -2
  209. package/dist/components/features/event-calendar/event-calendar.types.d.ts +4 -0
  210. package/dist/components/features/filters/facets/date-facet.d.ts +4 -2
  211. package/dist/components/features/filters/facets/range-facet.d.ts +12 -0
  212. package/dist/components/features/filters/facets/select-facet.d.ts +2 -1
  213. package/dist/components/features/filters/filters.strings.d.ts +4 -0
  214. package/dist/components/features/filters/filters.types.d.ts +6 -3
  215. package/dist/components/features/filters/partials/date-filter-content.d.ts +3 -2
  216. package/dist/components/features/filters/partials/filter-editor-header.d.ts +16 -0
  217. package/dist/components/features/filters/partials/filter-popover-content.d.ts +5 -3
  218. package/dist/components/features/filters/partials/nested-filter-options.d.ts +21 -0
  219. package/dist/components/features/filters/partials/range-filter-content.d.ts +12 -0
  220. package/dist/components/features/filters/partials/regular-filter-content.d.ts +2 -1
  221. package/dist/components/features/filters/utils/filter-utils.d.ts +25 -3
  222. package/dist/components/features/global-search/global-search.types.d.ts +2 -0
  223. package/dist/components/features/global-search/partials/global-search-input.d.ts +10 -0
  224. package/dist/components/features/global-search/partials/global-search-result-row.d.ts +7 -1
  225. package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
  226. package/dist/components/features/media-library/media-library.d.ts +1 -1
  227. package/dist/components/features/media-library/media-library.strings.d.ts +8 -0
  228. package/dist/components/features/media-library/media-library.types.d.ts +50 -12
  229. package/dist/components/features/media-library/partials/media-library-partials.d.ts +4 -4
  230. package/dist/components/features/mentions/hooks/use-mentions.d.ts +16 -1
  231. package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +5 -1
  232. package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +1 -7
  233. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +2 -2
  234. package/dist/components/features/products/components/product-options-matrix.d.ts +1 -1
  235. package/dist/components/features/products/components/product-variant-editor.d.ts +1 -1
  236. package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
  237. package/dist/components/features/products/products.strings.d.ts +9 -1
  238. package/dist/components/features/products/products.types.d.ts +45 -8
  239. package/dist/components/features/questionnaire/questionnaire.types.d.ts +3 -0
  240. package/dist/components/features/resource/resource.d.ts +6 -2
  241. package/dist/components/features/resource/resource.types.d.ts +14 -1
  242. package/dist/components/features/rich-text-editor/form-rich-text-editor.d.ts +1 -1
  243. package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +1 -1
  244. package/dist/components/features/rich-text-editor/partials/editor-field-aria.d.ts +14 -0
  245. package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +1 -1
  246. package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +3 -1
  247. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +12 -2
  248. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +17 -3
  249. package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +5 -1
  250. package/dist/components/features/schema-form/partials/schema-form-field.d.ts +3 -1
  251. package/dist/components/features/schema-form/schema-form.utils.d.ts +1 -1
  252. package/dist/components/features/suggestions/suggestions.types.d.ts +1 -1
  253. package/dist/components/features/table/data-table.d.ts +1 -1
  254. package/dist/components/features/table/index.d.ts +1 -0
  255. package/dist/components/features/table/partials/resource-cell.d.ts +22 -5
  256. package/dist/components/features/table/table-body.d.ts +1 -1
  257. package/dist/components/features/table/table-helpers.d.ts +6 -3
  258. package/dist/components/features/table/table.strings.d.ts +3 -0
  259. package/dist/components/features/table/table.types.d.ts +18 -2
  260. package/dist/components/layout/app-shell/app-shell.types.d.ts +35 -6
  261. package/dist/components/layout/app-shell/index.d.ts +1 -1
  262. package/dist/components/layout/app-shell/shell-regions.d.ts +27 -0
  263. package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +1 -1
  264. package/dist/components/layout/app-shell/stacked-layout.d.ts +1 -1
  265. package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +1 -1
  266. package/dist/components/layout/containers/two-column-layout.d.ts +2 -0
  267. package/dist/components/layout/header/header.recipes.d.ts +6 -0
  268. package/dist/components/layout/header/header.types.d.ts +9 -8
  269. package/dist/components/layout/layout.types.d.ts +5 -3
  270. package/dist/components/layout/navigation/section-nav/section-nav.d.ts +5 -0
  271. package/dist/components/layout/navigation/side-nav.d.ts +3 -2
  272. package/dist/components/layout/normalize-layout-path.d.ts +1 -0
  273. package/dist/components/layout/page/index.d.ts +2 -1
  274. package/dist/components/layout/page/page.d.ts +1 -0
  275. package/dist/components/layout/page/page.strings.d.ts +11 -0
  276. package/dist/components/layout/page/page.types.d.ts +69 -17
  277. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  278. package/dist/components/layout/settings/settings.d.ts +10 -3
  279. package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
  280. package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +1 -1
  281. package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +1 -1
  282. package/dist/components/layout/sidebar/index.d.ts +2 -1
  283. package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +38 -0
  284. package/dist/components/layout/sidebar/sidebar.context.d.ts +6 -7
  285. package/dist/components/layout/sidebar/sidebar.types.d.ts +50 -10
  286. package/dist/components/layout/sidebar/sidebar.utils.d.ts +9 -1
  287. package/dist/components/layout/workspace/workspace.types.d.ts +8 -1
  288. package/dist/components/primitives/link.d.ts +3 -2
  289. package/dist/components/primitives/money.d.ts +1 -1
  290. package/dist/components/primitives/number.d.ts +1 -1
  291. package/dist/components/typography/rich-text/rich-text-tree.d.ts +7 -5
  292. package/dist/components/ui/alert-dialog.d.ts +2 -2
  293. package/dist/components/ui/combobox.d.ts +1 -1
  294. package/dist/components/ui/dialog.d.ts +2 -2
  295. package/dist/components/ui/overlay-layer.d.ts +18 -0
  296. package/dist/components/ui/sheet.d.ts +5 -1
  297. package/dist/components/ui/sidebar-state.d.ts +82 -0
  298. package/dist/components/ui/sidebar.d.ts +5 -17
  299. package/dist/{containers-CRmHf7GP.js → containers-CSdc32h9.js} +26 -18
  300. package/dist/containers-CSdc32h9.js.map +1 -0
  301. package/dist/{control-group-recipes-DBXmfh2E.js → control-group-recipes-fMuFo0H7.js} +6 -6
  302. package/dist/control-group-recipes-fMuFo0H7.js.map +1 -0
  303. package/dist/{copyable-CnGCZdX4.js → copyable-3fdHfMR3.js} +7 -7
  304. package/dist/{copyable-CnGCZdX4.js.map → copyable-3fdHfMR3.js.map} +1 -1
  305. package/dist/{data-display-D4oujtx0.js → data-display-Cmj-xZYl.js} +271 -279
  306. package/dist/data-display-Cmj-xZYl.js.map +1 -0
  307. package/dist/{date-Q7jnXxpk.js → date-Br0FicVv.js} +5 -5
  308. package/dist/{date-Q7jnXxpk.js.map → date-Br0FicVv.js.map} +1 -1
  309. package/dist/date-picker-CyQlFYsP.js +1617 -0
  310. package/dist/date-picker-CyQlFYsP.js.map +1 -0
  311. package/dist/date-pickers-tj2MXmXd.js +185 -0
  312. package/dist/date-pickers-tj2MXmXd.js.map +1 -0
  313. package/dist/{display-BB4BL_-K.js → display-CT_N2a3w.js} +9 -9
  314. package/dist/{display-BB4BL_-K.js.map → display-CT_N2a3w.js.map} +1 -1
  315. package/dist/dropdown-menu-C08iIugv.js +194 -0
  316. package/dist/dropdown-menu-C08iIugv.js.map +1 -0
  317. package/dist/features/activities.js +388 -326
  318. package/dist/features/activities.js.map +1 -1
  319. package/dist/features/ai-chat.js +46 -32
  320. package/dist/features/ai-chat.js.map +1 -1
  321. package/dist/features/appointment-calendar.js +130 -130
  322. package/dist/features/appointment-calendar.js.map +1 -1
  323. package/dist/features/async-preview.js +11 -10
  324. package/dist/features/async-preview.js.map +1 -1
  325. package/dist/features/combobox.js +1 -1
  326. package/dist/features/comments.js +1 -1
  327. package/dist/features/data-view.js +13 -13
  328. package/dist/features/data-view.js.map +1 -1
  329. package/dist/features/email-composer.js +243 -239
  330. package/dist/features/email-composer.js.map +1 -1
  331. package/dist/features/event-calendar.js +197 -199
  332. package/dist/features/event-calendar.js.map +1 -1
  333. package/dist/features/filters.js +2 -2
  334. package/dist/features/global-search.js +168 -143
  335. package/dist/features/global-search.js.map +1 -1
  336. package/dist/features/kanban.js +19 -30
  337. package/dist/features/kanban.js.map +1 -1
  338. package/dist/features/map/style.css +15 -0
  339. package/dist/features/map.js +369 -343
  340. package/dist/features/map.js.map +1 -1
  341. package/dist/features/media-library.js +1202 -975
  342. package/dist/features/media-library.js.map +1 -1
  343. package/dist/features/mentions.js +2 -2
  344. package/dist/features/overlays.js +1 -1
  345. package/dist/features/products.js +1270 -1183
  346. package/dist/features/products.js.map +1 -1
  347. package/dist/features/questionnaire.js +160 -153
  348. package/dist/features/questionnaire.js.map +1 -1
  349. package/dist/features/resource-assignment.js +8 -8
  350. package/dist/features/resource.js +119 -113
  351. package/dist/features/resource.js.map +1 -1
  352. package/dist/features/rich-text-editor.js +28 -19
  353. package/dist/features/rich-text-editor.js.map +1 -1
  354. package/dist/features/schema-form.js +297 -256
  355. package/dist/features/schema-form.js.map +1 -1
  356. package/dist/features/suggestions.js +57 -50
  357. package/dist/features/suggestions.js.map +1 -1
  358. package/dist/features/sync.js +3 -3
  359. package/dist/features/table.js +1 -1
  360. package/dist/features/theme-tweaker.js +470 -470
  361. package/dist/features/theme-tweaker.js.map +1 -1
  362. package/dist/feedback-Dzo1xtAU.js +246 -0
  363. package/dist/feedback-Dzo1xtAU.js.map +1 -0
  364. package/dist/{field-affordance-recipes-DjwGx8eM.js → field-affordance-recipes-D6H7tVJi.js} +5 -5
  365. package/dist/field-affordance-recipes-D6H7tVJi.js.map +1 -0
  366. package/dist/field-control-attributes-B6i335wr.js +18 -0
  367. package/dist/field-control-attributes-B6i335wr.js.map +1 -0
  368. package/dist/{field-state-recipes-BVA2CWHo.js → field-state-recipes-7sza8QbC.js} +4 -2
  369. package/dist/{field-state-recipes-BVA2CWHo.js.map → field-state-recipes-7sza8QbC.js.map} +1 -1
  370. package/dist/filters-Dl80yYtN.js +2415 -0
  371. package/dist/filters-Dl80yYtN.js.map +1 -0
  372. package/dist/form-field-CAPdwdnZ.js +74 -0
  373. package/dist/form-field-CAPdwdnZ.js.map +1 -0
  374. package/dist/{form-sizing-NXgjkmBG.js → form-sizing-CgcrUbLU.js} +5 -5
  375. package/dist/form-sizing-CgcrUbLU.js.map +1 -0
  376. package/dist/{forms-BV5m5aQF.js → forms-B3W8CH7-.js} +17 -13
  377. package/dist/forms-B3W8CH7-.js.map +1 -0
  378. package/dist/forms-numeric-CwjQJe-O.js +991 -0
  379. package/dist/forms-numeric-CwjQJe-O.js.map +1 -0
  380. package/dist/{header-BA697l4a.js → header-ZIIsRKxP.js} +145 -141
  381. package/dist/header-ZIIsRKxP.js.map +1 -0
  382. package/dist/header.recipes-BigdJjw1.js +6 -0
  383. package/dist/header.recipes-BigdJjw1.js.map +1 -0
  384. package/dist/hooks/use-files.d.ts +2 -0
  385. package/dist/{hooks-BQ-L7Uu2.js → hooks-BitHSh-Y.js} +27 -15
  386. package/dist/hooks-BitHSh-Y.js.map +1 -0
  387. package/dist/{icon-badge-COWbCCWu.js → icon-badge-npxF1SLX.js} +4 -4
  388. package/dist/{icon-badge-COWbCCWu.js.map → icon-badge-npxF1SLX.js.map} +1 -1
  389. package/dist/index.js +4 -5
  390. package/dist/{input-Cdw4k0fb.js → input-7KAc7XQL.js} +9 -9
  391. package/dist/{input-Cdw4k0fb.js.map → input-7KAc7XQL.js.map} +1 -1
  392. package/dist/input-DIREVYHs.js +21 -0
  393. package/dist/input-DIREVYHs.js.map +1 -0
  394. package/dist/{interaction-recipes-XR9ZpVYL.js → interaction-recipes-4wZ2tvfb.js} +2 -2
  395. package/dist/{interaction-recipes-XR9ZpVYL.js.map → interaction-recipes-4wZ2tvfb.js.map} +1 -1
  396. package/dist/item-FfWnaYST.js +278 -0
  397. package/dist/item-FfWnaYST.js.map +1 -0
  398. package/dist/layout/app-shell.js +1 -1
  399. package/dist/layout/auth.js +1 -1
  400. package/dist/layout/containers.js +1 -1
  401. package/dist/layout/header.js +1 -1
  402. package/dist/layout/hooks.js +1 -1
  403. package/dist/layout/navigation.js +1 -1
  404. package/dist/layout/page.js +2 -2
  405. package/dist/layout/settings.js +1 -1
  406. package/dist/layout/sidebar.js +3 -3
  407. package/dist/layout/workspace.js +1 -1
  408. package/dist/layout.js +12 -12
  409. package/dist/layout.types-E_GAApzO.js +30 -0
  410. package/dist/layout.types-E_GAApzO.js.map +1 -0
  411. package/dist/lib/affordance-geometry.generated.d.ts +35 -35
  412. package/dist/lib/control-group-recipes.d.ts +5 -5
  413. package/dist/lib/field-affordance-recipes.d.ts +2 -2
  414. package/dist/lib/field-control-attributes.d.ts +11 -0
  415. package/dist/lib/field-state-recipes.d.ts +2 -0
  416. package/dist/lib/format.d.ts +1 -0
  417. package/dist/lib/motion-recipes.d.ts +3 -0
  418. package/dist/lib/navigation-row-recipes.d.ts +7 -7
  419. package/dist/lib/overlay-anatomy-recipes.d.ts +3 -3
  420. package/dist/lib/portal-recipes.d.ts +3 -0
  421. package/dist/lib/surface-recipes.d.ts +1 -1
  422. package/dist/lib/token-merge.generated.d.ts +18 -15
  423. package/dist/lib/utils.js +1 -1
  424. package/dist/map-demo-tile.svg +1 -1
  425. package/dist/{media-gallery-CSl5W1Fy.js → media-gallery-C81DAnKI.js} +6 -6
  426. package/dist/{media-gallery-CSl5W1Fy.js.map → media-gallery-C81DAnKI.js.map} +1 -1
  427. package/dist/{mentions-RKOQaaIB.js → mentions-qOnedSt4.js} +237 -168
  428. package/dist/mentions-qOnedSt4.js.map +1 -0
  429. package/dist/message-BJHnn43M.js +135 -0
  430. package/dist/message-BJHnn43M.js.map +1 -0
  431. package/dist/{metadata-list-qVV7AVxa.js → metadata-list-XkqZ_UXH.js} +64 -64
  432. package/dist/metadata-list-XkqZ_UXH.js.map +1 -0
  433. package/dist/{motion-recipes-ChBg4HBq.js → motion-recipes-DitYv6P2.js} +10 -2
  434. package/dist/motion-recipes-DitYv6P2.js.map +1 -0
  435. package/dist/navigation-BgtPJAhi.js +288 -0
  436. package/dist/navigation-BgtPJAhi.js.map +1 -0
  437. package/dist/navigation-Bt-v7rWP.js +261 -0
  438. package/dist/navigation-Bt-v7rWP.js.map +1 -0
  439. package/dist/{navigation-row-recipes-WZEs-hYo.js → navigation-row-recipes-BGVLvU_O.js} +9 -9
  440. package/dist/navigation-row-recipes-BGVLvU_O.js.map +1 -0
  441. package/dist/normalize-layout-path-BmEgg6fu.js +14 -0
  442. package/dist/normalize-layout-path-BmEgg6fu.js.map +1 -0
  443. package/dist/{number-E_OiIfJz.js → number-CYqBcrSj.js} +79 -87
  444. package/dist/number-CYqBcrSj.js.map +1 -0
  445. package/dist/overflow-tab-bar-BQCA2Zn2.js +172 -0
  446. package/dist/overflow-tab-bar-BQCA2Zn2.js.map +1 -0
  447. package/dist/overlays-CC8zI3Du.js +1017 -0
  448. package/dist/overlays-CC8zI3Du.js.map +1 -0
  449. package/dist/page-BoQ1VaFJ.js +331 -0
  450. package/dist/page-BoQ1VaFJ.js.map +1 -0
  451. package/dist/page-header-commands-DIKspJfx.js +193 -0
  452. package/dist/page-header-commands-DIKspJfx.js.map +1 -0
  453. package/dist/{pagination-Ch8X_47u.js → pagination-Br8TdV9A.js} +7 -7
  454. package/dist/{pagination-Ch8X_47u.js.map → pagination-Br8TdV9A.js.map} +1 -1
  455. package/dist/popover-k8TdUcAt.js +201 -0
  456. package/dist/popover-k8TdUcAt.js.map +1 -0
  457. package/dist/{popover-menu-BYaCdFhf.js → popover-menu-yn-o0kyA.js} +7 -7
  458. package/dist/{popover-menu-BYaCdFhf.js.map → popover-menu-yn-o0kyA.js.map} +1 -1
  459. package/dist/{popover.recipes-D3j8R8Yp.js → popover.recipes-DJ0AkUan.js} +19 -12
  460. package/dist/popover.recipes-DJ0AkUan.js.map +1 -0
  461. package/dist/portal-recipes-DyUXqUtD.js +9 -0
  462. package/dist/portal-recipes-DyUXqUtD.js.map +1 -0
  463. package/dist/{primitives-Du64iDbb.js → primitives-BkkQjYl7.js} +23 -18
  464. package/dist/primitives-BkkQjYl7.js.map +1 -0
  465. package/dist/primitives.js +4 -4
  466. package/dist/{progress-BvF2oCdV.js → progress-DZFXXzPs.js} +9 -9
  467. package/dist/{progress-BvF2oCdV.js.map → progress-DZFXXzPs.js.map} +1 -1
  468. package/dist/{receipt-D789Jwyy.js → receipt-C7LhOg7Q.js} +7 -7
  469. package/dist/receipt-C7LhOg7Q.js.map +1 -0
  470. package/dist/rich-text-BnTzZjIo.js +45 -0
  471. package/dist/rich-text-BnTzZjIo.js.map +1 -0
  472. package/dist/{rich-text-editor-Cm1dpUpQ.js → rich-text-editor-CAurDwT5.js} +501 -424
  473. package/dist/rich-text-editor-CAurDwT5.js.map +1 -0
  474. package/dist/rich-text-editor-toolbar-DbXig7Jk.js +99 -0
  475. package/dist/rich-text-editor-toolbar-DbXig7Jk.js.map +1 -0
  476. package/dist/rich-text-tree-BqyQ_7-R.js +66 -0
  477. package/dist/rich-text-tree-BqyQ_7-R.js.map +1 -0
  478. package/dist/{sanitize-html-DsQmI48u.js → sanitize-html-BWkH4dLM.js} +29 -16
  479. package/dist/sanitize-html-BWkH4dLM.js.map +1 -0
  480. package/dist/{scroll-area-La5RXsEk.js → scroll-area-Bj6CRUif.js} +2 -2
  481. package/dist/{scroll-area-La5RXsEk.js.map → scroll-area-Bj6CRUif.js.map} +1 -1
  482. package/dist/{separator-DAEV0w65.js → separator-B9ewiCGO.js} +2 -2
  483. package/dist/{separator-DAEV0w65.js.map → separator-B9ewiCGO.js.map} +1 -1
  484. package/dist/{separator-GNfPG-90.js → separator-DM6gs2vu.js} +3 -3
  485. package/dist/{separator-GNfPG-90.js.map → separator-DM6gs2vu.js.map} +1 -1
  486. package/dist/services/actions.js +1 -1
  487. package/dist/settings-DZPHgpx4.js +155 -0
  488. package/dist/settings-DZPHgpx4.js.map +1 -0
  489. package/dist/sheet-C4DHsgLk.js +250 -0
  490. package/dist/sheet-C4DHsgLk.js.map +1 -0
  491. package/dist/sidebar-C8BnDwTH.js +709 -0
  492. package/dist/sidebar-C8BnDwTH.js.map +1 -0
  493. package/dist/sidebar-CmD6a-HK.js +1004 -0
  494. package/dist/sidebar-CmD6a-HK.js.map +1 -0
  495. package/dist/skeleton-DDgdhmu9.js +265 -0
  496. package/dist/skeleton-DDgdhmu9.js.map +1 -0
  497. package/dist/smart-card-B6vLxqa_.js +617 -0
  498. package/dist/smart-card-B6vLxqa_.js.map +1 -0
  499. package/dist/{structure-C0V0_Fyf.js → structure-DZJ2wbAU.js} +2 -2
  500. package/dist/{structure-C0V0_Fyf.js.map → structure-DZJ2wbAU.js.map} +1 -1
  501. package/dist/style.css +1 -1
  502. package/dist/{surface-recipes-BKRVW8Os.js → surface-recipes-C8mNycaY.js} +2 -2
  503. package/dist/{surface-recipes-BKRVW8Os.js.map → surface-recipes-C8mNycaY.js.map} +1 -1
  504. package/dist/{table-DH7rozUv.js → table-CBonSdTp.js} +573 -519
  505. package/dist/table-CBonSdTp.js.map +1 -0
  506. package/dist/{table-CpvnzJn9.js → table-CXSPHH25.js} +75 -71
  507. package/dist/table-CXSPHH25.js.map +1 -0
  508. package/dist/tabs-C4Kr_hCr.js +192 -0
  509. package/dist/tabs-C4Kr_hCr.js.map +1 -0
  510. package/dist/{text-inputs-DXItiR0O.js → text-inputs-jdkS3ReG.js} +18 -18
  511. package/dist/text-inputs-jdkS3ReG.js.map +1 -0
  512. package/dist/theme.css +40 -37
  513. package/dist/{timelines-DmtztAY_.js → timelines-CoPwdJP0.js} +13 -12
  514. package/dist/timelines-CoPwdJP0.js.map +1 -0
  515. package/dist/tooltip-31NwIpTo.js +113 -0
  516. package/dist/tooltip-31NwIpTo.js.map +1 -0
  517. package/dist/{tree-CV11PURP.js → tree-CeYVzdFE.js} +9 -9
  518. package/dist/{tree-CV11PURP.js.map → tree-CeYVzdFE.js.map} +1 -1
  519. package/dist/typography/rich-text.js +1 -1
  520. package/dist/{typography-CSyJrh28.js → typography-C7-YMW1S.js} +12 -12
  521. package/dist/{typography-CSyJrh28.js.map → typography-C7-YMW1S.js.map} +1 -1
  522. package/dist/typography.js +1 -1
  523. package/dist/ui-provider-C-74NVLc.js +178 -0
  524. package/dist/ui-provider-C-74NVLc.js.map +1 -0
  525. package/dist/ui-provider.js +2 -3
  526. package/dist/{upload-C9SA0X-8.js → upload-Hdm5gObf.js} +309 -296
  527. package/dist/upload-Hdm5gObf.js.map +1 -0
  528. package/dist/{upload-queue-DhQJiSRc.js → upload-queue-D0sYPuqo.js} +16 -14
  529. package/dist/upload-queue-D0sYPuqo.js.map +1 -0
  530. package/dist/{usage-card-DVTRDmGz.js → usage-card-9s8hLDfn.js} +24 -17
  531. package/dist/usage-card-9s8hLDfn.js.map +1 -0
  532. package/dist/{utils-CF3c95Io.js → utils-DhuoqFy4.js} +255 -165
  533. package/dist/utils-DhuoqFy4.js.map +1 -0
  534. package/dist/value-inputs-D3aPgq9H.js +980 -0
  535. package/dist/value-inputs-D3aPgq9H.js.map +1 -0
  536. package/dist/{value-typography-ClupF0Gz.js → value-typography-uSzzG9Gf.js} +32 -26
  537. package/dist/value-typography-uSzzG9Gf.js.map +1 -0
  538. package/dist/{workspace-9EFVXUyk.js → workspace-CC8Vchiu.js} +51 -50
  539. package/dist/workspace-CC8Vchiu.js.map +1 -0
  540. package/docs/consumer-skill/SKILL.md +4 -3
  541. package/docs/consumer-skill/agents/themelia-ui-designer.md +96 -0
  542. package/docs/consumer-skill/examples/app-layout.tsx +52 -1
  543. package/docs/consumer-skill/examples/commerce-lines.tsx +271 -0
  544. package/docs/consumer-skill/examples/custom-composition.tsx +21 -0
  545. package/docs/consumer-skill/examples/detail.tsx +5 -4
  546. package/docs/consumer-skill/examples/edit.tsx +3 -3
  547. package/docs/consumer-skill/examples/editable-sections.tsx +38 -0
  548. package/docs/consumer-skill/examples/index-table.tsx +4 -4
  549. package/docs/consumer-skill/examples/manifest.json +38 -1
  550. package/docs/consumer-skill/examples/product-media.tsx +41 -0
  551. package/docs/consumer-skill/examples/product-parts.tsx +81 -0
  552. package/docs/consumer-skill/examples/rhf-edit-page.tsx +1 -1
  553. package/docs/consumer-skill/examples/rhf-overlay-form.tsx +24 -11
  554. package/docs/consumer-skill/examples/token-domain-structure.tsx +68 -0
  555. package/docs/consumer-skill/references/agents-md.md +21 -19
  556. package/docs/consumer-skill/references/analytics.md +33 -1
  557. package/docs/consumer-skill/references/commerce-composition.md +97 -0
  558. package/docs/consumer-skill/references/component-contracts.json +21249 -14205
  559. package/docs/consumer-skill/references/composition-mapping.md +17 -3
  560. package/docs/consumer-skill/references/composition.md +177 -32
  561. package/docs/consumer-skill/references/critique-rubric.md +98 -0
  562. package/docs/consumer-skill/references/custom-composition.md +261 -0
  563. package/docs/consumer-skill/references/data-reading.md +79 -0
  564. package/docs/consumer-skill/references/design-contract.md +12 -9
  565. package/docs/consumer-skill/references/discovery.md +27 -3
  566. package/docs/consumer-skill/references/domain-structures.md +124 -0
  567. package/docs/consumer-skill/references/installation.md +62 -8
  568. package/docs/consumer-skill/references/integration.md +59 -1
  569. package/docs/consumer-skill/references/product-composition.md +94 -0
  570. package/docs/consumer-skill/references/public-api.json +3044 -445
  571. package/docs/consumer-skill/references/review.md +87 -10
  572. package/docs/consumer-skill/references/rhf-workflows.md +79 -0
  573. package/docs/consumer-skill/references/screen-archetypes.md +19 -7
  574. package/docs/consumer-skill/references/screen-decisions.md +126 -0
  575. package/docs/consumer-skill/references/theming.md +24 -20
  576. package/docs/consumer-skill/references/tokens.json +9 -9
  577. package/docs/consumer-skill/references/view-craft.md +153 -0
  578. package/docs/consumer-skill/references/view-spec.md +73 -0
  579. package/docs/consumer-skill/references/workflows.md +7 -1
  580. package/docs/consumer-skill/scripts/composition-policy.mjs +176 -26
  581. package/docs/consumer-skill/scripts/composition-schema.mjs +1 -1
  582. package/docs/consumer-skill/scripts/composition.mjs +61 -5
  583. package/docs/consumer-skill/scripts/discovery.mjs +54 -0
  584. package/docs/consumer-skill/scripts/inspect-component.mjs +1 -1
  585. package/docs/consumer-skill/scripts/inspection.mjs +73 -18
  586. package/docs/consumer-skill/scripts/setup-skills.mjs +79 -7
  587. package/docs/consumer-skill/scripts/surface-policy.mjs +5 -5
  588. package/docs/consumer-skills/themelia-components/SKILL.md +14 -13
  589. package/docs/consumer-skills/themelia-composition/SKILL.md +16 -17
  590. package/docs/consumer-skills/themelia-design/SKILL.md +55 -0
  591. package/docs/consumer-skills/themelia-foundation/SKILL.md +2 -1
  592. package/docs/consumer-skills/themelia-tokenization/SKILL.md +24 -17
  593. package/package.json +4 -2
  594. package/templates/admin-shell-template.tsx +1 -2
  595. package/templates/customers-template.tsx +18 -16
  596. package/dist/accordion-96o0pN62.js.map +0 -1
  597. package/dist/action-menu-CHgs8vmj.js.map +0 -1
  598. package/dist/affordance-geometry.generated-B8yGOr8-.js.map +0 -1
  599. package/dist/ai-artifact-BZUGwBq6.js.map +0 -1
  600. package/dist/app-shell-D63ATkIK.js +0 -237
  601. package/dist/app-shell-D63ATkIK.js.map +0 -1
  602. package/dist/auth-D2FVZ1MH.js.map +0 -1
  603. package/dist/avatar-DWO_HHhB.js.map +0 -1
  604. package/dist/base/cascader.js.map +0 -1
  605. package/dist/batch-action-bar-CdfIkCsV.js.map +0 -1
  606. package/dist/breadcrumbs-B-WFKecD.js.map +0 -1
  607. package/dist/button-DkmK-z8E.js.map +0 -1
  608. package/dist/buttons-BbfzgczK.js.map +0 -1
  609. package/dist/cards-4JTWqvVe.js +0 -68
  610. package/dist/cards-4JTWqvVe.js.map +0 -1
  611. package/dist/chart-C19flDQb.js +0 -155
  612. package/dist/chart-C19flDQb.js.map +0 -1
  613. package/dist/choice-inputs-JLtij2y4.js +0 -776
  614. package/dist/choice-inputs-JLtij2y4.js.map +0 -1
  615. package/dist/code-block-CGNaUtAE.js.map +0 -1
  616. package/dist/combobox-CBJDs6w_.js +0 -877
  617. package/dist/combobox-CBJDs6w_.js.map +0 -1
  618. package/dist/combobox-hbhSS18O.js +0 -355
  619. package/dist/combobox-hbhSS18O.js.map +0 -1
  620. package/dist/command-D8NrBj-b.js.map +0 -1
  621. package/dist/comments-Di4w0H_S.js.map +0 -1
  622. package/dist/containers-CRmHf7GP.js.map +0 -1
  623. package/dist/control-group-recipes-DBXmfh2E.js.map +0 -1
  624. package/dist/data-display-D4oujtx0.js.map +0 -1
  625. package/dist/date-picker-zOt1oNss.js +0 -1542
  626. package/dist/date-picker-zOt1oNss.js.map +0 -1
  627. package/dist/date-pickers-cj8IXbDC.js +0 -179
  628. package/dist/date-pickers-cj8IXbDC.js.map +0 -1
  629. package/dist/dropdown-menu-CjY8Vt7W.js +0 -193
  630. package/dist/dropdown-menu-CjY8Vt7W.js.map +0 -1
  631. package/dist/feedback-DZNL5Lg1.js +0 -239
  632. package/dist/feedback-DZNL5Lg1.js.map +0 -1
  633. package/dist/field-affordance-recipes-DjwGx8eM.js.map +0 -1
  634. package/dist/filters-BcT-uoFy.js +0 -2209
  635. package/dist/filters-BcT-uoFy.js.map +0 -1
  636. package/dist/form-field-CsgRmdit.js +0 -63
  637. package/dist/form-field-CsgRmdit.js.map +0 -1
  638. package/dist/form-sizing-NXgjkmBG.js.map +0 -1
  639. package/dist/forms-BV5m5aQF.js.map +0 -1
  640. package/dist/forms-numeric-Cd33AKbD.js +0 -906
  641. package/dist/forms-numeric-Cd33AKbD.js.map +0 -1
  642. package/dist/header-BA697l4a.js.map +0 -1
  643. package/dist/hooks-BQ-L7Uu2.js.map +0 -1
  644. package/dist/input-DOPL5_QE.js +0 -21
  645. package/dist/input-DOPL5_QE.js.map +0 -1
  646. package/dist/item-BvZ2DR_x.js +0 -277
  647. package/dist/item-BvZ2DR_x.js.map +0 -1
  648. package/dist/layout.types-Cn7aUzJp.js +0 -20
  649. package/dist/layout.types-Cn7aUzJp.js.map +0 -1
  650. package/dist/mentions-RKOQaaIB.js.map +0 -1
  651. package/dist/message-INU2xsxu.js +0 -128
  652. package/dist/message-INU2xsxu.js.map +0 -1
  653. package/dist/metadata-list-qVV7AVxa.js.map +0 -1
  654. package/dist/motion-recipes-ChBg4HBq.js.map +0 -1
  655. package/dist/navigation-BQNcg1jT.js +0 -269
  656. package/dist/navigation-BQNcg1jT.js.map +0 -1
  657. package/dist/navigation-DLF3E1IC.js +0 -145
  658. package/dist/navigation-DLF3E1IC.js.map +0 -1
  659. package/dist/navigation-row-recipes-WZEs-hYo.js.map +0 -1
  660. package/dist/number-E_OiIfJz.js.map +0 -1
  661. package/dist/overflow-tab-bar-CrbqMteP.js +0 -284
  662. package/dist/overflow-tab-bar-CrbqMteP.js.map +0 -1
  663. package/dist/overlays-BlKynmde.js +0 -1004
  664. package/dist/overlays-BlKynmde.js.map +0 -1
  665. package/dist/page-CIwNUtGr.js +0 -227
  666. package/dist/page-CIwNUtGr.js.map +0 -1
  667. package/dist/page-header-commands-DFMlNYzN.js +0 -128
  668. package/dist/page-header-commands-DFMlNYzN.js.map +0 -1
  669. package/dist/popover-uwzX2vo7.js +0 -198
  670. package/dist/popover-uwzX2vo7.js.map +0 -1
  671. package/dist/popover.recipes-D3j8R8Yp.js.map +0 -1
  672. package/dist/primitives-Du64iDbb.js.map +0 -1
  673. package/dist/receipt-D789Jwyy.js.map +0 -1
  674. package/dist/rich-text-CLJEf76s.js +0 -78
  675. package/dist/rich-text-CLJEf76s.js.map +0 -1
  676. package/dist/rich-text-editor-Cm1dpUpQ.js.map +0 -1
  677. package/dist/rich-text-editor-toolbar-L__e4x47.js +0 -94
  678. package/dist/rich-text-editor-toolbar-L__e4x47.js.map +0 -1
  679. package/dist/safe-image-src-C6kQSMBZ.js +0 -17
  680. package/dist/safe-image-src-C6kQSMBZ.js.map +0 -1
  681. package/dist/sanitize-html-DsQmI48u.js.map +0 -1
  682. package/dist/settings-BA2iboic.js +0 -174
  683. package/dist/settings-BA2iboic.js.map +0 -1
  684. package/dist/sheet-DoAxTb2J.js +0 -213
  685. package/dist/sheet-DoAxTb2J.js.map +0 -1
  686. package/dist/sidebar-ByqKR_W5.js +0 -512
  687. package/dist/sidebar-ByqKR_W5.js.map +0 -1
  688. package/dist/sidebar-D2iSnGJ7.js +0 -619
  689. package/dist/sidebar-D2iSnGJ7.js.map +0 -1
  690. package/dist/skeleton-CUj8O5Bd.js +0 -264
  691. package/dist/skeleton-CUj8O5Bd.js.map +0 -1
  692. package/dist/smart-card-CqkzQsK-.js +0 -614
  693. package/dist/smart-card-CqkzQsK-.js.map +0 -1
  694. package/dist/table-CpvnzJn9.js.map +0 -1
  695. package/dist/table-DH7rozUv.js.map +0 -1
  696. package/dist/tabs-eqVsJZWO.js +0 -191
  697. package/dist/tabs-eqVsJZWO.js.map +0 -1
  698. package/dist/text-inputs-DXItiR0O.js.map +0 -1
  699. package/dist/theme-scope-BJ6eE2xt.js +0 -50
  700. package/dist/theme-scope-BJ6eE2xt.js.map +0 -1
  701. package/dist/timelines-DmtztAY_.js.map +0 -1
  702. package/dist/tooltip-B4hjKtoV.js +0 -111
  703. package/dist/tooltip-B4hjKtoV.js.map +0 -1
  704. package/dist/ui-provider-CQCuCBcy.js +0 -136
  705. package/dist/ui-provider-CQCuCBcy.js.map +0 -1
  706. package/dist/upload-C9SA0X-8.js.map +0 -1
  707. package/dist/upload-queue-DhQJiSRc.js.map +0 -1
  708. package/dist/usage-card-DVTRDmGz.js.map +0 -1
  709. package/dist/use-mobile-vaLKwgyf.js +0 -15
  710. package/dist/use-mobile-vaLKwgyf.js.map +0 -1
  711. package/dist/utils-CF3c95Io.js.map +0 -1
  712. package/dist/value-inputs-C0o70p-U.js +0 -980
  713. package/dist/value-inputs-C0o70p-U.js.map +0 -1
  714. package/dist/value-typography-ClupF0Gz.js.map +0 -1
  715. package/dist/workspace-9EFVXUyk.js.map +0 -1
@@ -1,36 +1,36 @@
1
1
  "use client";
2
- import { g as e, h as t } from "../ui-provider-CQCuCBcy.js";
3
- import { COMPONENT_SCALES as n, SEMANTIC_TONES as r } from "../component-vocabulary.js";
4
- import { t as i } from "../theme-scope-BJ6eE2xt.js";
2
+ import { b as e, n as t, y as n } from "../ui-provider-C-74NVLc.js";
3
+ import { COMPONENT_SCALES as r, SEMANTIC_TONES as i } from "../component-vocabulary.js";
5
4
  import { interpolateString as a, useStrings as o } from "../lib/strings.js";
6
- import { t as s } from "../utils-CF3c95Io.js";
7
- import { n as c } from "../buttons-BbfzgczK.js";
8
- import { c as l, s as u } from "../typography-CSyJrh28.js";
5
+ import { t as s } from "../utils-DhuoqFy4.js";
6
+ import { n as c } from "../buttons-DeW0bQeK.js";
7
+ import { c as l, s as u } from "../typography-C7-YMW1S.js";
9
8
  import { t as d } from "../focus-recipes-B653VaLq.js";
10
- import { r as f, t as p } from "../structure-C0V0_Fyf.js";
11
- import { _ as m, g as ee, h, p as te, t as ne, v as g } from "../smart-card-CqkzQsK-.js";
12
- import { i as re, r as ie } from "../overlays-BlKynmde.js";
13
- import { m as ae } from "../primitives-Du64iDbb.js";
14
- import { t as oe } from "../accordion-96o0pN62.js";
15
- import { t as _ } from "../badge-DErMA7ul.js";
16
- import { t as se } from "../theme-mode-css-BB-_RYab.js";
17
- import { t as v } from "../input-Cdw4k0fb.js";
18
- import { t as y } from "../form-field-CsgRmdit.js";
19
- import { d as ce } from "../text-inputs-DXItiR0O.js";
20
- import { a as b, l as x } from "../choice-inputs-JLtij2y4.js";
21
- import { i as le, n as S } from "../value-inputs-C0o70p-U.js";
22
- import { d as ue } from "../forms-numeric-Cd33AKbD.js";
23
- import { t as de } from "../item-BvZ2DR_x.js";
24
- import { i as fe, r as pe, t as me } from "../tabs-eqVsJZWO.js";
25
- import { forwardRef as C, useEffect as he, useId as w, useImperativeHandle as ge, useMemo as T, useRef as _e, useState as E } from "react";
26
- import { jsx as D, jsxs as O } from "react/jsx-runtime";
27
- import { CheckCircle2 as ve, Copy as ye, Download as be, Info as xe, LayoutGrid as Se, Moon as Ce, Palette as k, RotateCcw as we, Search as Te, Settings2 as Ee, Shapes as De, ShieldCheck as A, Sun as Oe, Type as ke } from "lucide-react";
9
+ import { r as f, t as p } from "../structure-DZJ2wbAU.js";
10
+ import { _ as m, g as ee, h, p as te, t as ne, v as g } from "../smart-card-B6vLxqa_.js";
11
+ import { n as re } from "../composition.recipes-COdiFhxB.js";
12
+ import { i as ie, r as ae } from "../overlays-CC8zI3Du.js";
13
+ import { m as oe } from "../primitives-BkkQjYl7.js";
14
+ import { t as se } from "../accordion-0tQUZ20r.js";
15
+ import { t as _ } from "../badge-wWauMgAt.js";
16
+ import { t as ce } from "../theme-mode-css-BB-_RYab.js";
17
+ import { t as v } from "../input-7KAc7XQL.js";
18
+ import { t as y } from "../form-field-CAPdwdnZ.js";
19
+ import { d as le } from "../text-inputs-jdkS3ReG.js";
20
+ import { a as b, l as x } from "../choice-inputs-DHGtx0QV.js";
21
+ import { i as ue, n as de } from "../value-inputs-D3aPgq9H.js";
22
+ import { d as fe } from "../forms-numeric-CwjQJe-O.js";
23
+ import { t as pe } from "../item-FfWnaYST.js";
24
+ import { i as me, r as he, t as ge } from "../tabs-C4Kr_hCr.js";
25
+ import { forwardRef as S, useEffect as _e, useId as C, useImperativeHandle as ve, useMemo as w, useRef as ye, useState as T } from "react";
26
+ import { jsx as E, jsxs as D } from "react/jsx-runtime";
27
+ import { CheckCircle2 as be, Copy as xe, Download as Se, Info as Ce, LayoutGrid as we, Moon as Te, Palette as O, RotateCcw as Ee, Search as De, Settings2 as Oe, Shapes as ke, ShieldCheck as k, Sun as Ae, Type as je } from "lucide-react";
28
28
  //#region src/components/features/theme-tweaker/theme-tweaker.utils.ts
29
- var Ae = {
29
+ var Me = {
30
30
  shared: ":root",
31
31
  light: ":root,\n.light",
32
32
  dark: ".dark"
33
- }, je = /^--[a-z][a-z0-9-]*$/i, j = /[;{}]/, Me = /[;{}]/;
33
+ }, A = /^--[a-z][a-z0-9-]*$/i, j = /[;{}]/, Ne = /[;{}]/;
34
34
  function M(e = {}) {
35
35
  return {
36
36
  mode: e.mode ?? "light",
@@ -40,7 +40,7 @@ function M(e = {}) {
40
40
  };
41
41
  }
42
42
  function N(e) {
43
- return je.test(e);
43
+ return A.test(e);
44
44
  }
45
45
  function P(e, t = !0) {
46
46
  return Object.entries(e).filter((e) => typeof e[1] == "string" && e[1].trim().length > 0).flatMap(([e, n]) => {
@@ -61,7 +61,7 @@ function P(e, t = !0) {
61
61
  }
62
62
  function F(e, t) {
63
63
  let n = e.trim();
64
- if (n.length === 0 || Me.test(n)) throw TypeError(`Invalid ${t} theme selector.`);
64
+ if (n.length === 0 || Ne.test(n)) throw TypeError(`Invalid ${t} theme selector.`);
65
65
  return n;
66
66
  }
67
67
  function I(e, t) {
@@ -73,7 +73,7 @@ function I(e, t) {
73
73
  ].join("\n");
74
74
  }
75
75
  function L(e, t = {}) {
76
- let n = t.selectors ?? Ae, r = F(n.shared, "shared"), i = F(n.light, "light"), a = F(n.dark, "dark"), o = n.modeScope === void 0 ? void 0 : F(n.modeScope, "modeScope"), s = [I(r, e.shared), ...o === void 0 ? [I(i, e.light), I(a, e.dark)] : [se(o, {
76
+ let n = t.selectors ?? Me, r = F(n.shared, "shared"), i = F(n.light, "light"), a = F(n.dark, "dark"), o = n.modeScope === void 0 ? void 0 : F(n.modeScope, "modeScope"), s = [I(r, e.shared), ...o === void 0 ? [I(i, e.light), I(a, e.dark)] : [ce(o, {
77
77
  light: P(e.light).map(([e, t]) => `${e}: ${t};`),
78
78
  dark: P(e.dark).map(([e, t]) => `${e}: ${t};`)
79
79
  })]].filter((e) => e !== null && e.length > 0), c = t.banner === !1 ? null : `/* ${t.banner ?? "themelia-react-ui theme overrides"} */`;
@@ -86,7 +86,7 @@ function R(t = {}) {
86
86
  dates: a
87
87
  };
88
88
  }
89
- function Ne(e = {}) {
89
+ function Pe(e = {}) {
90
90
  let t = R(e);
91
91
  return `import type { UIConfig } from 'themelia-react-ui/ui-provider';\n\nexport const adminUIConfig = ${JSON.stringify(t, null, " ")} satisfies UIConfig;\n`;
92
92
  }
@@ -99,10 +99,10 @@ function z(e, t = e.mode) {
99
99
  function B(e, t = e.mode) {
100
100
  return Object.fromEntries(P(z(e, t), !1));
101
101
  }
102
- function Pe(e) {
102
+ function Fe(e) {
103
103
  return P(e.shared, !1).length + P(e.light, !1).length + P(e.dark, !1).length;
104
104
  }
105
- function Fe(e) {
105
+ function Ie(e) {
106
106
  let t = F(e, "shared");
107
107
  return {
108
108
  shared: t,
@@ -111,7 +111,7 @@ function Fe(e) {
111
111
  modeScope: t
112
112
  };
113
113
  }
114
- function Ie(e, t = "admin-ui-theme.css", n = {}, r = {}) {
114
+ function Le(e, t = "admin-ui-theme.css", n = {}, r = {}) {
115
115
  let i = M(r.resolvedTheme ?? e), a = R(r.providerConfig);
116
116
  return {
117
117
  fileName: t,
@@ -122,35 +122,35 @@ function Ie(e, t = "admin-ui-theme.css", n = {}, r = {}) {
122
122
  overrideCssText: L(e, n),
123
123
  theme: M(e),
124
124
  resolvedTheme: i,
125
- overrideCount: Pe(e),
125
+ overrideCount: Fe(e),
126
126
  providerFileName: r.providerFileName ?? "admin-ui.config.ts",
127
127
  providerConfig: a,
128
- providerConfigText: Ne(a)
128
+ providerConfigText: Pe(a)
129
129
  };
130
130
  }
131
- function Le(e) {
132
- Re({
131
+ function Re(e) {
132
+ ze({
133
133
  fileName: e.fileName,
134
134
  text: e.cssText,
135
135
  mimeType: "text/css;charset=utf-8"
136
136
  });
137
137
  }
138
- function Re({ fileName: e, text: t, mimeType: n = "text/plain;charset=utf-8" }) {
138
+ function ze({ fileName: e, text: t, mimeType: n = "text/plain;charset=utf-8" }) {
139
139
  if (typeof document > "u" || typeof URL > "u") throw Error("File download requires a browser document. Provide onExport in non-browser environments.");
140
140
  let r = new Blob([t], { type: n }), i = URL.createObjectURL(r), a = document.createElement("a");
141
141
  a.href = i, a.download = e, a.hidden = !0, document.body.append(a), a.click(), a.remove(), URL.revokeObjectURL(i);
142
142
  }
143
143
  //#endregion
144
144
  //#region src/components/features/theme-tweaker/theme-scope.tsx
145
- var V = C(function({ theme: e, mode: t = e.mode, className: n, style: r, children: a, ...o }, c) {
146
- return /* @__PURE__ */ D(i, {
145
+ var V = S(function({ theme: e, mode: n = e.mode, className: r, style: i, children: a, ...o }, c) {
146
+ return /* @__PURE__ */ E(t, {
147
147
  ...o,
148
148
  ref: c,
149
- "data-theme-mode": t,
150
- className: s("theme-scope--component", t, n),
149
+ "data-theme-mode": n,
150
+ className: s("theme-scope--component", n, r),
151
151
  style: {
152
- ...B(e, t),
153
- ...r
152
+ ...B(e, n),
153
+ ...i
154
154
  },
155
155
  children: a
156
156
  });
@@ -158,13 +158,13 @@ var V = C(function({ theme: e, mode: t = e.mode, className: n, style: r, childre
158
158
  V.displayName = "ThemeScope";
159
159
  //#endregion
160
160
  //#region src/components/features/theme-tweaker/use-applied-theme.ts
161
- function ze(e, t) {
161
+ function Be(e, t) {
162
162
  return e === null ? null : e === "self" ? t.current : e === "document" ? typeof document > "u" ? null : document.documentElement : typeof e == "function" ? e() : e;
163
163
  }
164
- function Be({ apply: e, manageModeClass: t, selfRef: n, target: r, theme: i }) {
165
- he(() => {
164
+ function Ve({ apply: e, manageModeClass: t, selfRef: n, target: r, theme: i }) {
165
+ _e(() => {
166
166
  if (!e || r === "self") return;
167
- let a = ze(r, n);
167
+ let a = Be(r, n);
168
168
  if (!a) return;
169
169
  let o = B(i), s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
170
170
  for (let [e, t] of Object.entries(o)) typeof t == "string" && (s.set(e, {
@@ -190,22 +190,22 @@ function Be({ apply: e, manageModeClass: t, selfRef: n, target: r, theme: i }) {
190
190
  }
191
191
  //#endregion
192
192
  //#region src/components/features/theme-tweaker/admin-ui-theme-provider.tsx
193
- var Ve = C(function({ config: e, theme: n, mode: r = n.mode, target: i = "document", manageModeClass: a = !0, className: o, children: c, ...l }, u) {
194
- let d = _e(null);
195
- ge(u, () => d.current);
196
- let f = T(() => M({
197
- ...n,
193
+ var He = S(function({ config: e, theme: t, mode: r = t.mode, target: i = "document", manageModeClass: a = !0, className: o, children: c, ...l }, u) {
194
+ let d = ye(null);
195
+ ve(u, () => d.current);
196
+ let f = w(() => M({
197
+ ...t,
198
198
  mode: r
199
- }), [r, n]);
200
- return Be({
199
+ }), [r, t]);
200
+ return Ve({
201
201
  apply: i === "document",
202
202
  manageModeClass: a,
203
203
  selfRef: d,
204
204
  target: i,
205
205
  theme: f
206
- }), /* @__PURE__ */ D(t, {
206
+ }), /* @__PURE__ */ E(n, {
207
207
  config: e,
208
- children: /* @__PURE__ */ D(V, {
208
+ children: /* @__PURE__ */ E(V, {
209
209
  ...l,
210
210
  ref: d,
211
211
  theme: f,
@@ -215,7 +215,7 @@ var Ve = C(function({ config: e, theme: n, mode: r = n.mode, target: i = "docume
215
215
  })
216
216
  });
217
217
  });
218
- Ve.displayName = "AdminUIThemeProvider";
218
+ He.displayName = "AdminUIThemeProvider";
219
219
  //#endregion
220
220
  //#region src/components/features/theme-tweaker/theme-tweaker.fields.ts
221
221
  var H = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--popover.--popover-foreground.--primary.--primary-foreground.--secondary.--secondary-foreground.--muted.--muted-foreground.--accent.--accent-foreground.--destructive.--destructive-foreground.--border.--input.--ring.--chart-1.--chart-2.--chart-3.--chart-4.--chart-5.--sidebar.--sidebar-foreground.--sidebar-primary.--sidebar-primary-foreground.--sidebar-accent.--sidebar-accent-foreground.--sidebar-border.--sidebar-ring".split("."), U = [
@@ -237,12 +237,12 @@ var H = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
237
237
  "--inverse-surface-strong",
238
238
  "--inverse-border",
239
239
  "--inverse-decoration"
240
- ], W = ["--overlay-backdrop"], He = [
240
+ ], W = ["--overlay-backdrop"], Ue = [
241
241
  "--font-heading",
242
242
  "--font-sans",
243
243
  "--font-serif",
244
244
  "--font-mono"
245
- ], Ue = [
245
+ ], We = [
246
246
  "xxs",
247
247
  "xs",
248
248
  "pxs",
@@ -281,7 +281,7 @@ var H = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
281
281
  "--avatar",
282
282
  "--shell-header-height",
283
283
  "--shell-sidebar-width"
284
- ], We = [
284
+ ], Ge = [
285
285
  "--content-width-sm",
286
286
  "--content-width-md",
287
287
  "--content-width-lg",
@@ -290,12 +290,12 @@ var H = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
290
290
  "--adaptive-grid-min-sm",
291
291
  "--adaptive-grid-min-md",
292
292
  "--adaptive-grid-min-lg"
293
- ], Ge = {
293
+ ], Ke = {
294
294
  "--background": "Application canvas and default page background.",
295
295
  "--foreground": "Primary text and icon color on the application canvas.",
296
296
  "--primary": "Brand and primary-action color.",
297
297
  "--primary-foreground": "Text and icons on solid primary fills.",
298
- "--muted": "Subdued backgrounds for passive regions and skeletons.",
298
+ "--muted": "Subdued backgrounds for passive regions and tracks.",
299
299
  "--muted-foreground": "Secondary text, metadata, and passive icons.",
300
300
  "--border": "Default divider, outline, and surface-border color.",
301
301
  "--ring": "Focus-visible ring and outline color.",
@@ -327,7 +327,7 @@ var H = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
327
327
  "--adaptive-grid-min-sm": "Compact minimum peer width used by AdaptiveGrid.",
328
328
  "--adaptive-grid-min-md": "Default minimum peer width used by AdaptiveGrid.",
329
329
  "--adaptive-grid-min-lg": "Spacious minimum peer width used by AdaptiveGrid."
330
- }, Ke = {
330
+ }, qe = {
331
331
  "--space-scale": "Spacing scale",
332
332
  "--density-scale": "Density scale",
333
333
  "--height-action": "Action height",
@@ -546,14 +546,14 @@ var H = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
546
546
  function J(e) {
547
547
  return e.replace(/^--/, "").replace(/--/g, " · ").split("-").map((e) => e.length <= 3 ? e.toUpperCase() : `${e[0].toUpperCase()}${e.slice(1)}`).join(" ");
548
548
  }
549
- function qe(e, t) {
549
+ function Je(e, t) {
550
550
  return e.startsWith("--chart-") ? "Categorical chart-series color; keep status meaning separate." : e.startsWith("--sidebar-") ? "Sidebar-specific theme color." : e.startsWith("--inverse-") ? "Explicitly inverse surface and content color." : e.endsWith("-foreground") ? "Foreground color paired with the matching solid or surface token." : e.endsWith("--line-height") ? "Line height paired with the matching typography step." : e.startsWith("--text-") ? "Font size for the matching typography step." : e.startsWith("--font-") ? "Font family stack for the matching content role." : e.startsWith("--shadow") ? "Elevation shadow used by package surfaces and overlays." : t === "states" ? "Semantic state color shared by package status surfaces." : "Public theme variable used across package components.";
551
551
  }
552
552
  function Y(e, t, n, r, i) {
553
553
  return e.map((e) => ({
554
554
  name: e,
555
- label: Ke[e] ?? J(e),
556
- description: Ge[e] ?? qe(e, t),
555
+ label: qe[e] ?? J(e),
556
+ description: Ke[e] ?? Je(e, t),
557
557
  group: t,
558
558
  section: n,
559
559
  scope: r,
@@ -561,7 +561,7 @@ function Y(e, t, n, r, i) {
561
561
  control: q[e]
562
562
  }));
563
563
  }
564
- var Je = [
564
+ var Ye = [
565
565
  ...Y(H.slice(0, 6), "colors", "surfaces-content", "mode", "color"),
566
566
  ...Y(W, "colors", "surfaces-content", "shared", "color"),
567
567
  ...Y(H.slice(6, 19), "colors", "brand-actions", "mode", "color"),
@@ -569,8 +569,8 @@ var Je = [
569
569
  ...Y(H.slice(24), "colors", "sidebar", "mode", "color"),
570
570
  ...Y(U.slice(0, 7), "states", "semantic-feedback", "mode", "color"),
571
571
  ...Y(U.slice(7), "states", "inverse-surfaces", "mode", "color"),
572
- ...Y(He, "typography", "font-families", "shared", "font"),
573
- ...Y(Ue, "typography", "type-scale", "shared", "length"),
572
+ ...Y(Ue, "typography", "font-families", "shared", "font"),
573
+ ...Y(We, "typography", "type-scale", "shared", "length"),
574
574
  ...Y(["--radius"], "shape", "radius", "shared", "length"),
575
575
  ...Y(G, "shape", "elevation", "mode", "shadow"),
576
576
  ...Y(K.slice(0, 2), "structure", "global-scales", "shared", "length"),
@@ -579,8 +579,8 @@ var Je = [
579
579
  ...Y(K.slice(5, 9), "structure", "rows-surfaces", "shared", "length"),
580
580
  ...Y(K.slice(9, 11), "structure", "media", "shared", "length"),
581
581
  ...Y(K.slice(11), "structure", "application-shell", "shared", "length"),
582
- ...Y(We.slice(0, 5), "structure", "content-widths", "shared", "length"),
583
- ...Y(We.slice(5), "structure", "adaptive-layout", "shared", "length")
582
+ ...Y(Ge.slice(0, 5), "structure", "content-widths", "shared", "length"),
583
+ ...Y(Ge.slice(5), "structure", "adaptive-layout", "shared", "length")
584
584
  ].map((e) => e.name === "--space-scale" || e.name === "--density-scale" ? {
585
585
  ...e,
586
586
  kind: "number"
@@ -703,8 +703,8 @@ function Z(e, t) {
703
703
  label: t.options[e] ?? e.replaceAll("_", " ").replace(/\b\w/g, (e) => e.toUpperCase())
704
704
  }));
705
705
  }
706
- function Ye({ config: e, onChange: t, strings: i = X }) {
707
- let a = R(e), o = Z(n, i), s = [
706
+ function Xe({ config: e, onChange: t, strings: n = X }) {
707
+ let a = R(e), o = Z(r, n), s = [
708
708
  "sunday",
709
709
  "monday",
710
710
  "tuesday",
@@ -714,7 +714,7 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
714
714
  "saturday"
715
715
  ].map((e, t) => ({
716
716
  value: String(t),
717
- label: i.options[e]
717
+ label: n.options[e]
718
718
  })), c = (e, n, r) => {
719
719
  t({
720
720
  ...a,
@@ -724,51 +724,51 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
724
724
  }
725
725
  });
726
726
  };
727
- return /* @__PURE__ */ O(p, {
727
+ return /* @__PURE__ */ D(p, {
728
728
  gap: "lg",
729
729
  className: "theme-tweaker--provider-settings",
730
730
  children: [
731
- /* @__PURE__ */ O(p, {
731
+ /* @__PURE__ */ D(p, {
732
732
  gap: "normal",
733
- children: [/* @__PURE__ */ D(l, {
733
+ children: [/* @__PURE__ */ E(l, {
734
734
  type: "inherit",
735
735
  weight: "semibold",
736
- children: i.title
737
- }), /* @__PURE__ */ D(l, {
736
+ children: n.title
737
+ }), /* @__PURE__ */ E(l, {
738
738
  size: "xs",
739
739
  type: "secondary",
740
- children: i.description
740
+ children: n.description
741
741
  })]
742
742
  }),
743
- /* @__PURE__ */ O(te, {
743
+ /* @__PURE__ */ D(te, {
744
744
  tone: "info",
745
745
  role: "note",
746
746
  className: "theme-tweaker--provider-boundary",
747
747
  children: [
748
- /* @__PURE__ */ D(xe, { "aria-hidden": "true" }),
749
- /* @__PURE__ */ D(g, { children: i.boundaryTitle }),
750
- /* @__PURE__ */ D(h, { children: i.boundaryDescription }),
751
- /* @__PURE__ */ O(ee, { children: [
752
- /* @__PURE__ */ D(m, {
753
- label: i.summary.locale,
754
- value: a.formatting?.locale ?? i.options.default
748
+ /* @__PURE__ */ E(Ce, { "aria-hidden": "true" }),
749
+ /* @__PURE__ */ E(g, { children: n.boundaryTitle }),
750
+ /* @__PURE__ */ E(h, { children: n.boundaryDescription }),
751
+ /* @__PURE__ */ D(ee, { children: [
752
+ /* @__PURE__ */ E(m, {
753
+ label: n.summary.locale,
754
+ value: a.formatting?.locale ?? n.options.default
755
755
  }),
756
- /* @__PURE__ */ D(m, {
757
- label: i.summary.currency,
758
- value: a.money?.defaultCurrency ?? i.options.default
756
+ /* @__PURE__ */ E(m, {
757
+ label: n.summary.currency,
758
+ value: a.money?.defaultCurrency ?? n.options.default
759
759
  }),
760
- /* @__PURE__ */ D(m, {
761
- label: i.summary.controls,
762
- value: i.options[a.density?.defaultScale ?? "md"] ?? a.density?.defaultScale ?? i.options.md
760
+ /* @__PURE__ */ E(m, {
761
+ label: n.summary.controls,
762
+ value: n.options[a.density?.defaultScale ?? "md"] ?? a.density?.defaultScale ?? n.options.md
763
763
  }),
764
- /* @__PURE__ */ D(m, {
765
- label: i.summary.cards,
766
- value: i.options[a.card?.defaultSurface ?? "card"] ?? a.card?.defaultSurface ?? i.options.default
764
+ /* @__PURE__ */ E(m, {
765
+ label: n.summary.cards,
766
+ value: n.options[a.card?.defaultSurface ?? "card"] ?? a.card?.defaultSurface ?? n.options.default
767
767
  })
768
768
  ] })
769
769
  ]
770
770
  }),
771
- /* @__PURE__ */ D(oe, {
771
+ /* @__PURE__ */ E(se, {
772
772
  multiple: !0,
773
773
  defaultValue: ["regional"],
774
774
  variant: "bordered",
@@ -777,57 +777,57 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
777
777
  items: [
778
778
  {
779
779
  value: "regional",
780
- title: i.sections.regional.title,
781
- description: i.sections.regional.description,
782
- content: /* @__PURE__ */ O("div", {
780
+ title: n.sections.regional.title,
781
+ description: n.sections.regional.description,
782
+ content: /* @__PURE__ */ D("div", {
783
783
  className: "grid min-w-0 grid-cols-1 gap-space-md @2xl/theme-tweaker-controls:grid-cols-2",
784
784
  children: [
785
- /* @__PURE__ */ D(y, {
786
- label: i.labels.locale,
787
- children: /* @__PURE__ */ D(v, {
785
+ /* @__PURE__ */ E(y, {
786
+ label: n.labels.locale,
787
+ children: /* @__PURE__ */ E(v, {
788
788
  value: a.formatting?.locale ?? "",
789
789
  onChange: (e) => c("formatting", "locale", e.target.value)
790
790
  })
791
791
  }),
792
- /* @__PURE__ */ D(y, {
793
- label: i.labels.defaultCurrency,
794
- children: /* @__PURE__ */ D(v, {
792
+ /* @__PURE__ */ E(y, {
793
+ label: n.labels.defaultCurrency,
794
+ children: /* @__PURE__ */ E(v, {
795
795
  value: a.money?.defaultCurrency ?? "",
796
796
  onChange: (e) => c("money", "defaultCurrency", e.target.value.toUpperCase())
797
797
  })
798
798
  }),
799
- /* @__PURE__ */ D(y, {
800
- label: i.labels.displayCurrency,
801
- children: /* @__PURE__ */ D(v, {
799
+ /* @__PURE__ */ E(y, {
800
+ label: n.labels.displayCurrency,
801
+ children: /* @__PURE__ */ E(v, {
802
802
  value: a.money?.displayCurrency ?? "",
803
- placeholder: i.displayCurrencyPlaceholder,
803
+ placeholder: n.displayCurrencyPlaceholder,
804
804
  onChange: (e) => c("money", "displayCurrency", e.target.value.toUpperCase() || void 0)
805
805
  })
806
806
  }),
807
- /* @__PURE__ */ D(y, {
808
- label: i.labels.moneyFormat,
809
- children: /* @__PURE__ */ D(x, {
807
+ /* @__PURE__ */ E(y, {
808
+ label: n.labels.moneyFormat,
809
+ children: /* @__PURE__ */ E(x, {
810
810
  value: a.money?.formatMode,
811
811
  options: Z([
812
812
  "decimal",
813
813
  "with_code",
814
814
  "with_symbol",
815
815
  "locale_aware"
816
- ], i),
816
+ ], n),
817
817
  onValueChange: (e) => c("money", "formatMode", e)
818
818
  })
819
819
  }),
820
- /* @__PURE__ */ D(y, {
821
- label: i.labels.firstDay,
822
- children: /* @__PURE__ */ D(x, {
820
+ /* @__PURE__ */ E(y, {
821
+ label: n.labels.firstDay,
822
+ children: /* @__PURE__ */ E(x, {
823
823
  value: String(a.dates?.weekStartsOn ?? 1),
824
824
  options: s,
825
825
  onValueChange: (e) => c("dates", "weekStartsOn", Number(e))
826
826
  })
827
827
  }),
828
- /* @__PURE__ */ D(y, {
829
- label: i.labels.dateFormat,
830
- children: /* @__PURE__ */ D(v, {
828
+ /* @__PURE__ */ E(y, {
829
+ label: n.labels.dateFormat,
830
+ children: /* @__PURE__ */ E(v, {
831
831
  value: a.dates?.format ?? "",
832
832
  onChange: (e) => c("dates", "format", e.target.value)
833
833
  })
@@ -837,14 +837,14 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
837
837
  },
838
838
  {
839
839
  value: "content",
840
- title: i.sections.content.title,
841
- description: i.sections.content.description,
842
- content: /* @__PURE__ */ O("div", {
840
+ title: n.sections.content.title,
841
+ description: n.sections.content.description,
842
+ content: /* @__PURE__ */ D("div", {
843
843
  className: "grid min-w-0 grid-cols-1 gap-space-md @2xl/theme-tweaker-controls:grid-cols-2",
844
844
  children: [
845
- /* @__PURE__ */ D(y, {
846
- label: i.labels.textSize,
847
- children: /* @__PURE__ */ D(x, {
845
+ /* @__PURE__ */ E(y, {
846
+ label: n.labels.textSize,
847
+ children: /* @__PURE__ */ E(x, {
848
848
  value: a.typography?.defaultTextSize,
849
849
  options: Z([
850
850
  "xxs",
@@ -854,41 +854,41 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
854
854
  "base",
855
855
  "lg",
856
856
  "xl"
857
- ], i),
857
+ ], n),
858
858
  onValueChange: (e) => c("typography", "defaultTextSize", e)
859
859
  })
860
860
  }),
861
- /* @__PURE__ */ D(y, {
862
- label: i.labels.commentComposer,
863
- children: /* @__PURE__ */ D(x, {
861
+ /* @__PURE__ */ E(y, {
862
+ label: n.labels.commentComposer,
863
+ children: /* @__PURE__ */ E(x, {
864
864
  value: a.comments?.composerPosition,
865
- options: Z(["top", "bottom"], i),
865
+ options: Z(["top", "bottom"], n),
866
866
  onValueChange: (e) => c("comments", "composerPosition", e)
867
867
  })
868
868
  }),
869
- /* @__PURE__ */ D(b, {
870
- label: i.labels.dualPricing,
871
- description: i.dualPricingDescription,
869
+ /* @__PURE__ */ E(b, {
870
+ label: n.labels.dualPricing,
871
+ description: n.dualPricingDescription,
872
872
  value: a.money?.dualPricingEnabled ?? !1,
873
873
  onValueChange: (e) => c("money", "dualPricingEnabled", e)
874
874
  }),
875
- /* @__PURE__ */ D(y, {
876
- label: i.labels.dualPricingMode,
877
- children: /* @__PURE__ */ D(x, {
875
+ /* @__PURE__ */ E(y, {
876
+ label: n.labels.dualPricingMode,
877
+ children: /* @__PURE__ */ E(x, {
878
878
  value: a.money?.displayMode,
879
879
  options: Z([
880
880
  "default_only",
881
881
  "dual",
882
882
  "dynamic"
883
- ], i),
883
+ ], n),
884
884
  onValueChange: (e) => c("money", "displayMode", e)
885
885
  })
886
886
  }),
887
- /* @__PURE__ */ D(y, {
888
- label: i.labels.dualPricingLayout,
889
- children: /* @__PURE__ */ D(x, {
887
+ /* @__PURE__ */ E(y, {
888
+ label: n.labels.dualPricingLayout,
889
+ children: /* @__PURE__ */ E(x, {
890
890
  value: a.money?.dualPricingDisplay,
891
- options: Z(["inline", "lines"], i),
891
+ options: Z(["inline", "lines"], n),
892
892
  onValueChange: (e) => c("money", "dualPricingDisplay", e)
893
893
  })
894
894
  })
@@ -897,90 +897,90 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
897
897
  },
898
898
  {
899
899
  value: "components",
900
- title: i.sections.components.title,
901
- description: i.sections.components.description,
902
- content: /* @__PURE__ */ O("div", {
900
+ title: n.sections.components.title,
901
+ description: n.sections.components.description,
902
+ content: /* @__PURE__ */ D("div", {
903
903
  className: "grid min-w-0 grid-cols-1 gap-space-md @2xl/theme-tweaker-controls:grid-cols-2",
904
904
  children: [
905
- /* @__PURE__ */ D(y, {
906
- label: i.labels.componentScale,
907
- children: /* @__PURE__ */ D(x, {
905
+ /* @__PURE__ */ E(y, {
906
+ label: n.labels.componentScale,
907
+ children: /* @__PURE__ */ E(x, {
908
908
  value: a.density?.defaultScale,
909
909
  options: o,
910
910
  onValueChange: (e) => c("density", "defaultScale", e)
911
911
  })
912
912
  }),
913
- /* @__PURE__ */ D(y, {
914
- label: i.labels.itemVariant,
915
- children: /* @__PURE__ */ D(x, {
913
+ /* @__PURE__ */ E(y, {
914
+ label: n.labels.itemVariant,
915
+ children: /* @__PURE__ */ E(x, {
916
916
  value: a.item?.defaultVariant,
917
917
  options: Z([
918
918
  "default",
919
919
  "outline",
920
920
  "muted"
921
- ], i),
921
+ ], n),
922
922
  onValueChange: (e) => c("item", "defaultVariant", e)
923
923
  })
924
924
  }),
925
- /* @__PURE__ */ D(y, {
926
- label: i.labels.buttonTone,
927
- children: /* @__PURE__ */ D(x, {
925
+ /* @__PURE__ */ E(y, {
926
+ label: n.labels.buttonTone,
927
+ children: /* @__PURE__ */ E(x, {
928
928
  value: a.button?.defaultTone,
929
- options: Z(r, i),
929
+ options: Z(i, n),
930
930
  onValueChange: (e) => c("button", "defaultTone", e)
931
931
  })
932
932
  }),
933
- /* @__PURE__ */ D(y, {
934
- label: i.labels.buttonStyle,
935
- children: /* @__PURE__ */ D(x, {
933
+ /* @__PURE__ */ E(y, {
934
+ label: n.labels.buttonStyle,
935
+ children: /* @__PURE__ */ E(x, {
936
936
  value: a.button?.defaultButtonStyle,
937
937
  options: Z([
938
938
  "solid",
939
939
  "outline",
940
940
  "ghost"
941
- ], i),
941
+ ], n),
942
942
  onValueChange: (e) => c("button", "defaultButtonStyle", e)
943
943
  })
944
944
  }),
945
- /* @__PURE__ */ D(y, {
946
- label: i.labels.badgeTone,
947
- children: /* @__PURE__ */ D(x, {
945
+ /* @__PURE__ */ E(y, {
946
+ label: n.labels.badgeTone,
947
+ children: /* @__PURE__ */ E(x, {
948
948
  value: a.badge?.defaultTone,
949
- options: Z(r, i),
949
+ options: Z(i, n),
950
950
  onValueChange: (e) => c("badge", "defaultTone", e)
951
951
  })
952
952
  }),
953
- /* @__PURE__ */ D(y, {
954
- label: i.labels.cardSurface,
955
- children: /* @__PURE__ */ D(x, {
953
+ /* @__PURE__ */ E(y, {
954
+ label: n.labels.cardSurface,
955
+ children: /* @__PURE__ */ E(x, {
956
956
  value: a.card?.defaultSurface,
957
957
  options: Z([
958
958
  "card",
959
959
  "flat",
960
960
  "framed"
961
- ], i),
961
+ ], n),
962
962
  onValueChange: (e) => c("card", "defaultSurface", e)
963
963
  })
964
964
  }),
965
- /* @__PURE__ */ D(y, {
966
- label: i.labels.spinner,
967
- children: /* @__PURE__ */ D(x, {
965
+ /* @__PURE__ */ E(y, {
966
+ label: n.labels.spinner,
967
+ children: /* @__PURE__ */ E(x, {
968
968
  value: a.spinner?.defaultVariant,
969
969
  options: Z([
970
970
  "default",
971
971
  "shimmer",
972
972
  "progress"
973
- ], i),
973
+ ], n),
974
974
  onValueChange: (e) => c("spinner", "defaultVariant", e)
975
975
  })
976
976
  }),
977
- /* @__PURE__ */ D(b, {
978
- label: i.labels.cardDivider,
977
+ /* @__PURE__ */ E(b, {
978
+ label: n.labels.cardDivider,
979
979
  value: a.card?.defaultHeaderDivider ?? !1,
980
980
  onValueChange: (e) => c("card", "defaultHeaderDivider", e)
981
981
  }),
982
- /* @__PURE__ */ D(b, {
983
- label: i.labels.cardFooterDivider ?? X.labels.cardFooterDivider,
982
+ /* @__PURE__ */ E(b, {
983
+ label: n.labels.cardFooterDivider ?? X.labels.cardFooterDivider,
984
984
  value: a.card?.defaultFooterDivider ?? !0,
985
985
  onValueChange: (e) => c("card", "defaultFooterDivider", e)
986
986
  })
@@ -989,14 +989,14 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
989
989
  },
990
990
  {
991
991
  value: "toasts",
992
- title: i.sections.toasts.title,
993
- description: i.sections.toasts.description,
994
- content: /* @__PURE__ */ O("div", {
992
+ title: n.sections.toasts.title,
993
+ description: n.sections.toasts.description,
994
+ content: /* @__PURE__ */ D("div", {
995
995
  className: "grid min-w-0 grid-cols-1 gap-space-md @2xl/theme-tweaker-controls:grid-cols-2",
996
996
  children: [
997
- /* @__PURE__ */ D(y, {
998
- label: i.labels.toastPosition,
999
- children: /* @__PURE__ */ D(x, {
997
+ /* @__PURE__ */ E(y, {
998
+ label: n.labels.toastPosition,
999
+ children: /* @__PURE__ */ E(x, {
1000
1000
  value: a.toast?.position,
1001
1001
  options: Z([
1002
1002
  "top-right",
@@ -1005,25 +1005,25 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
1005
1005
  "bottom-right",
1006
1006
  "bottom-left",
1007
1007
  "bottom-center"
1008
- ], i),
1008
+ ], n),
1009
1009
  onValueChange: (e) => c("toast", "position", e)
1010
1010
  })
1011
1011
  }),
1012
- /* @__PURE__ */ D(y, {
1013
- label: i.labels.toastTheme,
1014
- children: /* @__PURE__ */ D(x, {
1012
+ /* @__PURE__ */ E(y, {
1013
+ label: n.labels.toastTheme,
1014
+ children: /* @__PURE__ */ E(x, {
1015
1015
  value: a.toast?.theme,
1016
1016
  options: Z([
1017
1017
  "light",
1018
1018
  "dark",
1019
1019
  "system"
1020
- ], i),
1020
+ ], n),
1021
1021
  onValueChange: (e) => c("toast", "theme", e)
1022
1022
  })
1023
1023
  }),
1024
- /* @__PURE__ */ D(y, {
1025
- label: i.labels.toastDuration,
1026
- children: /* @__PURE__ */ D(v, {
1024
+ /* @__PURE__ */ E(y, {
1025
+ label: n.labels.toastDuration,
1026
+ children: /* @__PURE__ */ E(v, {
1027
1027
  type: "number",
1028
1028
  min: 1e3,
1029
1029
  step: 500,
@@ -1031,9 +1031,9 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
1031
1031
  onChange: (e) => c("toast", "duration", Number(e.target.value))
1032
1032
  })
1033
1033
  }),
1034
- /* @__PURE__ */ D(y, {
1035
- label: i.labels.visibleToasts,
1036
- children: /* @__PURE__ */ D(v, {
1034
+ /* @__PURE__ */ E(y, {
1035
+ label: n.labels.visibleToasts,
1036
+ children: /* @__PURE__ */ E(v, {
1037
1037
  type: "number",
1038
1038
  min: 1,
1039
1039
  max: 10,
@@ -1041,13 +1041,13 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
1041
1041
  onChange: (e) => c("toast", "visibleToasts", Number(e.target.value))
1042
1042
  })
1043
1043
  }),
1044
- /* @__PURE__ */ D(b, {
1045
- label: i.labels.closeButton,
1044
+ /* @__PURE__ */ E(b, {
1045
+ label: n.labels.closeButton,
1046
1046
  value: a.toast?.closeButton ?? !0,
1047
1047
  onValueChange: (e) => c("toast", "closeButton", e)
1048
1048
  }),
1049
- /* @__PURE__ */ D(b, {
1050
- label: i.labels.richColors,
1049
+ /* @__PURE__ */ E(b, {
1050
+ label: n.labels.richColors,
1051
1051
  value: a.toast?.richColors ?? !1,
1052
1052
  onValueChange: (e) => c("toast", "richColors", e)
1053
1053
  })
@@ -1061,7 +1061,7 @@ function Ye({ config: e, onChange: t, strings: i = X }) {
1061
1061
  }
1062
1062
  //#endregion
1063
1063
  //#region src/components/features/theme-tweaker/theme-tweaker.strings.ts
1064
- var Xe = {
1064
+ var Ze = {
1065
1065
  title: "Theme tweaker",
1066
1066
  description: "Edit the public theme contract, calculate coherent recipes, and export complete CSS plus root display defaults.",
1067
1067
  searchLabel: "Search variables",
@@ -1183,7 +1183,7 @@ function $(e, t) {
1183
1183
  let i = e.match(/oklch\(\s*([\d.]+)(%)?/i), a = Number.parseFloat(i?.[1] ?? "NaN") / (i?.[2] ? 100 : 1);
1184
1184
  return Number.isFinite(a) ? a > .67 ? "oklch(0.18 0.01 260)" : "oklch(0.985 0 0)" : t === "dark" ? "oklch(0.18 0.01 260)" : "oklch(0.985 0 0)";
1185
1185
  }
1186
- function Ze({ primary: e, mode: t = "light" }) {
1186
+ function Qe({ primary: e, mode: t = "light" }) {
1187
1187
  let n = t === "dark", r = (e, t) => `color-mix(in oklab, ${n ? t : e} 94%, var(--primary))`;
1188
1188
  return {
1189
1189
  "--primary": e,
@@ -1219,13 +1219,13 @@ function Ze({ primary: e, mode: t = "light" }) {
1219
1219
  "--sidebar-ring": "var(--ring)"
1220
1220
  };
1221
1221
  }
1222
- var Qe = {
1222
+ var $e = {
1223
1223
  xxs: .75,
1224
1224
  xs: .75,
1225
1225
  pxs: .8125,
1226
1226
  sm: .875,
1227
1227
  base: 1
1228
- }, $e = [
1228
+ }, et = [
1229
1229
  "lg",
1230
1230
  "xl",
1231
1231
  "2xl",
@@ -1237,18 +1237,18 @@ var Qe = {
1237
1237
  "8xl",
1238
1238
  "9xl"
1239
1239
  ];
1240
- function et({ baseSize: e, ratio: t = 1.2 }) {
1240
+ function tt({ baseSize: e, ratio: t = 1.2 }) {
1241
1241
  let n = Q(e, 14, 20), r = Q(t, 1.125, 1.333), i = {};
1242
- for (let [e, t] of Object.entries(Qe)) {
1242
+ for (let [e, t] of Object.entries($e)) {
1243
1243
  let r = Math.max(12, n * t);
1244
1244
  i[`--text-${e}`] = `${Number((r / 16).toFixed(4))}rem`, i[`--text-${e}--line-height`] = `${Number((Math.max(r + 6, r * 1.45) / r).toFixed(4))}`;
1245
1245
  }
1246
- return $e.forEach((e, t) => {
1246
+ return et.forEach((e, t) => {
1247
1247
  let a = n * r ** (t + 1);
1248
1248
  i[`--text-${e}`] = `${Number((a / 16).toFixed(4))}rem`, i[`--text-${e}--line-height`] = `${Number(Q(1.55 - t * .065, 1, 1.5).toFixed(4))}`;
1249
1249
  }), i;
1250
1250
  }
1251
- function tt({ intensity: e }) {
1251
+ function nt({ intensity: e }) {
1252
1252
  let t = Q(e, 0, 1), n = (e) => Number((t * e).toFixed(3));
1253
1253
  return {
1254
1254
  "--shadow-2xs": `0 1px 2px 0 oklch(0 0 0 / ${n(.06)})`,
@@ -1263,28 +1263,28 @@ function tt({ intensity: e }) {
1263
1263
  }
1264
1264
  //#endregion
1265
1265
  //#region src/components/features/theme-tweaker/theme-tweaker.tsx
1266
- var nt = [
1266
+ var rt = [
1267
1267
  "colors",
1268
1268
  "states",
1269
1269
  "typography",
1270
1270
  "shape",
1271
1271
  "structure",
1272
1272
  "defaults"
1273
- ], rt = {
1274
- colors: k,
1275
- states: A,
1276
- typography: ke,
1277
- shape: De,
1278
- structure: Se,
1279
- defaults: Ee
1273
+ ], it = {
1274
+ colors: O,
1275
+ states: k,
1276
+ typography: je,
1277
+ shape: ke,
1278
+ structure: we,
1279
+ defaults: Oe
1280
1280
  };
1281
- function it({ title: e, description: t, code: n, copyLabel: r, downloadLabel: i, onCopy: a, onDownload: o, downloading: s = !1 }) {
1282
- let f = w();
1283
- return /* @__PURE__ */ O(p, {
1284
- render: /* @__PURE__ */ D("section", { "aria-labelledby": f }),
1281
+ function at({ title: e, description: t, code: n, copyLabel: r, downloadLabel: i, onCopy: a, onDownload: o, downloading: s = !1 }) {
1282
+ let f = C();
1283
+ return /* @__PURE__ */ D(p, {
1284
+ render: /* @__PURE__ */ E("section", { "aria-labelledby": f }),
1285
1285
  gap: "md",
1286
1286
  className: "theme-tweaker--export-artifact min-w-0",
1287
- children: [/* @__PURE__ */ O(p, {
1287
+ children: [/* @__PURE__ */ D(p, {
1288
1288
  direction: {
1289
1289
  base: "vertical",
1290
1290
  sm: "horizontal"
@@ -1296,63 +1296,63 @@ function it({ title: e, description: t, code: n, copyLabel: r, downloadLabel: i,
1296
1296
  justify: { sm: "between" },
1297
1297
  gap: "md",
1298
1298
  className: "theme-tweaker--export-artifact-header",
1299
- children: [/* @__PURE__ */ O(p, {
1299
+ children: [/* @__PURE__ */ D(p, {
1300
1300
  gap: "dense",
1301
1301
  className: "min-w-0",
1302
- children: [/* @__PURE__ */ D(u, {
1302
+ children: [/* @__PURE__ */ E(u, {
1303
1303
  className: "text-inherit",
1304
1304
  id: f,
1305
1305
  tag: "h3",
1306
1306
  children: e
1307
- }), /* @__PURE__ */ D(l, {
1307
+ }), /* @__PURE__ */ E(l, {
1308
1308
  size: "xs",
1309
1309
  type: "secondary",
1310
1310
  children: t
1311
1311
  })]
1312
- }), /* @__PURE__ */ O(p, {
1312
+ }), /* @__PURE__ */ D(p, {
1313
1313
  direction: "horizontal",
1314
1314
  gap: "xs",
1315
1315
  align: "center",
1316
1316
  wrap: !0,
1317
1317
  className: "theme-tweaker--export-artifact-actions sm:shrink-0",
1318
- children: [/* @__PURE__ */ D(c, {
1318
+ children: [/* @__PURE__ */ E(c, {
1319
1319
  type: "button",
1320
1320
  size: "sm",
1321
1321
  tone: "secondary",
1322
1322
  buttonStyle: "outline",
1323
- icon: ye,
1323
+ icon: xe,
1324
1324
  onClick: a,
1325
1325
  children: r
1326
- }), /* @__PURE__ */ D(c, {
1326
+ }), /* @__PURE__ */ E(c, {
1327
1327
  tone: "primary",
1328
1328
  type: "button",
1329
1329
  size: "sm",
1330
- icon: be,
1330
+ icon: Se,
1331
1331
  loading: s,
1332
1332
  onClick: o,
1333
1333
  children: i
1334
1334
  })]
1335
1335
  })]
1336
- }), /* @__PURE__ */ D("pre", {
1336
+ }), /* @__PURE__ */ E("pre", {
1337
1337
  tabIndex: 0,
1338
1338
  "aria-label": e,
1339
1339
  className: `theme-tweaker--export-code max-h-48 min-w-0 overflow-auto rounded-radius border border-border bg-muted/30 p-surface-xs font-mono text-xs leading-relaxed text-foreground outline-none ${d.frame} sm:max-h-72`,
1340
- children: /* @__PURE__ */ D("code", { children: n })
1340
+ children: /* @__PURE__ */ E("code", { children: n })
1341
1341
  })]
1342
1342
  });
1343
1343
  }
1344
- function at(e, t) {
1344
+ function ot(e, t) {
1345
1345
  let n = Number.parseFloat(e);
1346
1346
  return Number.isFinite(n) ? Math.min(t.max, Math.max(t.min, n)) : t.min;
1347
1347
  }
1348
- function ot(e, t) {
1348
+ function st(e, t) {
1349
1349
  let n = t.decimalPlaces ?? 3;
1350
1350
  return `${Number(e.toFixed(n))}${t.unit ?? ""}`;
1351
1351
  }
1352
- function st(e, t) {
1352
+ function ct(e, t) {
1353
1353
  return e === "document" ? document.documentElement : e === "self" || e === null ? t : typeof e == "function" ? e() : e ?? t;
1354
1354
  }
1355
- function ct(e, t) {
1355
+ function lt(e, t) {
1356
1356
  if (typeof document > "u" || typeof window > "u") return M(e);
1357
1357
  let n = document.documentElement, r = [...new Set(t.map((e) => e.name))], i = n.classList.contains("light"), a = n.classList.contains("dark"), o = new Map(r.map((e) => [e, {
1358
1358
  value: n.style.getPropertyValue(e),
@@ -1380,30 +1380,30 @@ function ct(e, t) {
1380
1380
  n.classList.toggle("light", i), n.classList.toggle("dark", a);
1381
1381
  }
1382
1382
  }
1383
- function lt({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, strings: o }) {
1384
- let s = `theme-variable-${w().replace(/:/g, "")}`, u = /* @__PURE__ */ D(c, {
1383
+ function ut({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, strings: o }) {
1384
+ let s = `theme-variable-${C().replace(/:/g, "")}`, u = /* @__PURE__ */ E(c, {
1385
1385
  type: "button",
1386
1386
  iconOnly: !0,
1387
1387
  tone: "secondary",
1388
1388
  buttonStyle: "ghost",
1389
- icon: we,
1389
+ icon: Ee,
1390
1390
  withTooltip: o.resetVariable,
1391
1391
  "aria-label": `${o.resetVariable}: ${e.label}`,
1392
1392
  disabled: !t,
1393
1393
  onClick: i,
1394
- children: /* @__PURE__ */ D(l, {
1394
+ children: /* @__PURE__ */ E(l, {
1395
1395
  tag: "span",
1396
1396
  size: "inherit",
1397
1397
  className: "sr-only",
1398
1398
  children: o.resetVariable
1399
1399
  })
1400
1400
  }), d = e.placeholder ?? n ?? o.inheritValue, f;
1401
- if (e.kind === "color") f = /* @__PURE__ */ O(p, {
1401
+ if (e.kind === "color") f = /* @__PURE__ */ D(p, {
1402
1402
  direction: "horizontal",
1403
1403
  gap: "xs",
1404
1404
  align: "center",
1405
1405
  wrap: !1,
1406
- children: [/* @__PURE__ */ D(le, {
1406
+ children: [/* @__PURE__ */ E(ue, {
1407
1407
  id: s,
1408
1408
  "aria-label": e.label,
1409
1409
  "aria-description": e.description,
@@ -1416,26 +1416,26 @@ function lt({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1416
1416
  }), u]
1417
1417
  });
1418
1418
  else if (e.control?.type === "range") {
1419
- let i = at(t || n, e.control);
1420
- f = /* @__PURE__ */ O(p, {
1419
+ let i = ot(t || n, e.control);
1420
+ f = /* @__PURE__ */ D(p, {
1421
1421
  gap: "sm",
1422
- children: [/* @__PURE__ */ D(S, {
1422
+ children: [/* @__PURE__ */ E(de, {
1423
1423
  id: `${s}-slider`,
1424
1424
  "aria-label": a(o.adjustVariable, { label: e.label }),
1425
1425
  value: i,
1426
1426
  min: e.control.min,
1427
1427
  max: e.control.max,
1428
1428
  step: e.control.step,
1429
- onValueChange: (t) => r(ot(t, e.control))
1430
- }), /* @__PURE__ */ O(p, {
1429
+ onValueChange: (t) => r(st(t, e.control))
1430
+ }), /* @__PURE__ */ D(p, {
1431
1431
  direction: "horizontal",
1432
1432
  gap: "xs",
1433
1433
  align: "center",
1434
1434
  wrap: !1,
1435
- children: [/* @__PURE__ */ D(p, {
1435
+ children: [/* @__PURE__ */ E(p, {
1436
1436
  gap: "none",
1437
1437
  className: "w-28 max-w-full shrink-0",
1438
- children: /* @__PURE__ */ D(ue, {
1438
+ children: /* @__PURE__ */ E(fe, {
1439
1439
  id: s,
1440
1440
  "aria-label": e.label,
1441
1441
  "aria-description": e.description,
@@ -1455,14 +1455,14 @@ function lt({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1455
1455
  }), u]
1456
1456
  })]
1457
1457
  });
1458
- } else f = e.kind === "font" || e.kind === "shadow" ? /* @__PURE__ */ O(p, {
1458
+ } else f = e.kind === "font" || e.kind === "shadow" ? /* @__PURE__ */ D(p, {
1459
1459
  direction: "horizontal",
1460
1460
  gap: "xs",
1461
1461
  align: "start",
1462
1462
  wrap: !1,
1463
- children: [/* @__PURE__ */ D(p, {
1463
+ children: [/* @__PURE__ */ E(p, {
1464
1464
  className: "min-w-0 flex-1",
1465
- children: /* @__PURE__ */ D(ce, {
1465
+ children: /* @__PURE__ */ E(le, {
1466
1466
  id: s,
1467
1467
  "aria-label": e.label,
1468
1468
  "aria-description": e.description,
@@ -1474,12 +1474,12 @@ function lt({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1474
1474
  className: "font-mono"
1475
1475
  })
1476
1476
  }), u]
1477
- }) : /* @__PURE__ */ O(p, {
1477
+ }) : /* @__PURE__ */ D(p, {
1478
1478
  direction: "horizontal",
1479
1479
  gap: "xs",
1480
1480
  align: "center",
1481
1481
  wrap: !1,
1482
- children: [/* @__PURE__ */ D(v, {
1482
+ children: [/* @__PURE__ */ E(v, {
1483
1483
  id: s,
1484
1484
  "aria-label": e.label,
1485
1485
  "aria-description": e.description,
@@ -1489,23 +1489,23 @@ function lt({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1489
1489
  className: "min-w-0 flex-1 font-mono"
1490
1490
  }), u]
1491
1491
  });
1492
- return /* @__PURE__ */ D(y, {
1493
- label: /* @__PURE__ */ O(p, {
1494
- render: /* @__PURE__ */ D("span", {}),
1492
+ return /* @__PURE__ */ E(y, {
1493
+ label: /* @__PURE__ */ D(p, {
1494
+ render: /* @__PURE__ */ E("span", {}),
1495
1495
  direction: "horizontal",
1496
1496
  gap: "sm",
1497
1497
  align: "baseline",
1498
1498
  justify: "between",
1499
1499
  wrap: !0,
1500
1500
  className: "min-w-0 flex-1",
1501
- children: [/* @__PURE__ */ D(l, {
1501
+ children: [/* @__PURE__ */ E(l, {
1502
1502
  type: "inherit",
1503
1503
  tag: "span",
1504
1504
  size: "inherit",
1505
1505
  weight: "medium",
1506
1506
  className: "min-w-0",
1507
1507
  children: e.label
1508
- }), /* @__PURE__ */ D(ae, {
1508
+ }), /* @__PURE__ */ E(oe, {
1509
1509
  size: "xs",
1510
1510
  type: "secondary",
1511
1511
  weight: "regular",
@@ -1518,47 +1518,47 @@ function lt({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1518
1518
  children: f
1519
1519
  });
1520
1520
  }
1521
- function ut({ strings: e }) {
1522
- return /* @__PURE__ */ D(ne, {
1521
+ function dt({ strings: e }) {
1522
+ return /* @__PURE__ */ E(ne, {
1523
1523
  title: e.previewTitle,
1524
1524
  description: e.previewDescription,
1525
1525
  className: "theme-tweaker--preview-card",
1526
- children: /* @__PURE__ */ O(p, {
1526
+ children: /* @__PURE__ */ D(p, {
1527
1527
  gap: "lg",
1528
1528
  children: [
1529
- /* @__PURE__ */ O(p, {
1529
+ /* @__PURE__ */ D(p, {
1530
1530
  direction: "horizontal",
1531
1531
  gap: "sm",
1532
1532
  wrap: !0,
1533
1533
  children: [
1534
- /* @__PURE__ */ D(_, {
1534
+ /* @__PURE__ */ E(_, {
1535
1535
  tone: "success",
1536
1536
  children: e.previewSuccess
1537
1537
  }),
1538
- /* @__PURE__ */ D(_, {
1538
+ /* @__PURE__ */ E(_, {
1539
1539
  tone: "warning",
1540
1540
  children: e.previewWarning
1541
1541
  }),
1542
- /* @__PURE__ */ D(_, {
1542
+ /* @__PURE__ */ E(_, {
1543
1543
  tone: "secondary",
1544
1544
  children: e.previewContract
1545
1545
  })
1546
1546
  ]
1547
1547
  }),
1548
- /* @__PURE__ */ D(de, {
1548
+ /* @__PURE__ */ E(pe, {
1549
1549
  variant: "muted",
1550
1550
  padding: "default",
1551
- media: /* @__PURE__ */ D(k, {}),
1551
+ media: /* @__PURE__ */ E(O, {}),
1552
1552
  mediaVariant: "icon",
1553
1553
  title: e.previewItemTitle,
1554
1554
  description: e.previewItemDescription,
1555
- trailing: /* @__PURE__ */ D(ve, { className: "size-icon text-success" })
1555
+ trailing: /* @__PURE__ */ E(be, { className: "size-icon text-success" })
1556
1556
  }),
1557
- /* @__PURE__ */ D(y, {
1557
+ /* @__PURE__ */ E(y, {
1558
1558
  label: e.previewFieldLabel,
1559
- children: /* @__PURE__ */ D(v, { placeholder: e.previewFieldPlaceholder })
1559
+ children: /* @__PURE__ */ E(v, { placeholder: e.previewFieldPlaceholder })
1560
1560
  }),
1561
- /* @__PURE__ */ D(c, {
1561
+ /* @__PURE__ */ E(c, {
1562
1562
  tone: "primary",
1563
1563
  type: "button",
1564
1564
  children: e.previewAction
@@ -1567,60 +1567,60 @@ function ut({ strings: e }) {
1567
1567
  })
1568
1568
  });
1569
1569
  }
1570
- function dt(e, t, n) {
1570
+ function ft(e, t, n) {
1571
1571
  let r = t.scope === "shared" ? "shared" : e.mode, i = { ...e[r] };
1572
1572
  return n.trim().length === 0 ? delete i[t.name] : i[t.name] = n, {
1573
1573
  ...e,
1574
1574
  [r]: i
1575
1575
  };
1576
1576
  }
1577
- var ft = C(function({ value: e, defaultValue: t, onValueChange: n, onModeChange: r, fields: i = Je, target: d = "self", apply: m = !0, manageModeClass: ee = !0, preview: h, fileName: te = "admin-ui-theme.css", config: g, defaultConfig: ae, onConfigChange: se, providerFileName: ce = "admin-ui.config.ts", showIntro: x = !0, selectors: le, onExport: ue, onCopy: de, onReset: C, onError: w, actionsSlot: ve, strings: ye, className: be, ...xe }, Se) {
1578
- let k = o(Xe, ye), [Ee, De] = E(() => M(t)), A = T(() => e ? M(e) : Ee, [Ee, e]), [ke, Ae] = E(() => R(ae)), je = T(() => R(g ?? ke), [g, ke]), [j, Me] = E("colors"), [N, P] = E(""), [F, I] = E(!0), [L, Ne] = E(16), [z, Fe] = E(1.2), [ze, Ve] = E(.8), [H, U] = E("idle"), W = re(), [He, Ue] = E(!1), G = _e(null);
1579
- ge(Se, () => G.current), Be({
1577
+ var pt = S(function({ value: e, defaultValue: t, onValueChange: n, onModeChange: r, fields: i = Ye, target: d = "self", apply: m = !0, manageModeClass: ee = !0, preview: h, fileName: te = "admin-ui-theme.css", config: g, defaultConfig: oe, onConfigChange: ce, providerFileName: le = "admin-ui.config.ts", showIntro: x = !0, selectors: ue, onExport: fe, onCopy: pe, onReset: S, onError: C, actionsSlot: be, strings: xe, className: Se, ...Ce }, we) {
1578
+ let O = o(Ze, xe), [Oe, ke] = T(() => M(t)), k = w(() => e ? M(e) : Oe, [Oe, e]), [je, Me] = T(() => R(oe)), A = w(() => R(g ?? je), [g, je]), [j, Ne] = T("colors"), [N, P] = T(""), [F, I] = T(!0), [L, Pe] = T(16), [z, Ie] = T(1.2), [Be, He] = T(.8), [H, U] = T("idle"), W = ie(), [Ue, We] = T(!1), G = ye(null);
1579
+ ve(we, () => G.current), Ve({
1580
1580
  apply: m,
1581
1581
  manageModeClass: ee,
1582
1582
  selfRef: G,
1583
1583
  target: d,
1584
- theme: A
1584
+ theme: k
1585
1585
  });
1586
- let [K, We] = E(() => M(A)), [Ge, Ke] = E({});
1587
- he(() => {
1586
+ let [K, Ge] = T(() => M(k)), [Ke, qe] = T({});
1587
+ _e(() => {
1588
1588
  if (typeof window > "u") return;
1589
1589
  let e = window.setTimeout(() => {
1590
- let e = st(d, G.current);
1590
+ let e = ct(d, G.current);
1591
1591
  if (!e) return;
1592
1592
  let t = window.getComputedStyle(e);
1593
- Ke(Object.fromEntries(i.map((e) => [e.name, t.getPropertyValue(e.name).trim()]))), We(ct(A, i));
1593
+ qe(Object.fromEntries(i.map((e) => [e.name, t.getPropertyValue(e.name).trim()]))), Ge(lt(k, i));
1594
1594
  }, 0);
1595
1595
  return () => window.clearTimeout(e);
1596
1596
  }, [
1597
1597
  m,
1598
1598
  i,
1599
1599
  d,
1600
- A
1600
+ k
1601
1601
  ]);
1602
- let { artifact: q, error: J } = T(() => {
1602
+ let { artifact: q, error: J } = w(() => {
1603
1603
  try {
1604
1604
  let e = M({
1605
- mode: A.mode,
1605
+ mode: k.mode,
1606
1606
  shared: {
1607
1607
  ...K.shared,
1608
- ...A.shared
1608
+ ...k.shared
1609
1609
  },
1610
1610
  light: {
1611
1611
  ...K.light,
1612
- ...A.light
1612
+ ...k.light
1613
1613
  },
1614
1614
  dark: {
1615
1615
  ...K.dark,
1616
- ...A.dark
1616
+ ...k.dark
1617
1617
  }
1618
1618
  });
1619
1619
  return {
1620
- artifact: Ie(A, te, { selectors: le }, {
1620
+ artifact: Le(k, te, { selectors: ue }, {
1621
1621
  resolvedTheme: e,
1622
- providerConfig: je,
1623
- providerFileName: ce
1622
+ providerConfig: A,
1623
+ providerFileName: le
1624
1624
  }),
1625
1625
  error: null
1626
1626
  };
@@ -1632,12 +1632,12 @@ var ft = C(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1632
1632
  }
1633
1633
  }, [
1634
1634
  te,
1635
- je,
1636
- ce,
1637
- K,
1635
+ A,
1638
1636
  le,
1639
- A
1640
- ]), qe = q?.cssText ?? `/* ${k.invalidTheme} */\n`, Y = T(() => Pe(A), [A]), X = N.trim().toLowerCase(), Z = T(() => i.filter((e) => !X && e.group !== j ? !1 : !X || [
1637
+ K,
1638
+ ue,
1639
+ k
1640
+ ]), Je = q?.cssText ?? `/* ${O.invalidTheme} */\n`, Y = w(() => Fe(k), [k]), X = N.trim().toLowerCase(), Z = w(() => i.filter((e) => !X && e.group !== j ? !1 : !X || [
1641
1641
  e.name,
1642
1642
  e.label,
1643
1643
  e.description
@@ -1645,7 +1645,7 @@ var ft = C(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1645
1645
  i,
1646
1646
  j,
1647
1647
  X
1648
- ]), Q = T(() => {
1648
+ ]), Q = w(() => {
1649
1649
  let e = /* @__PURE__ */ new Map();
1650
1650
  for (let t of Z) {
1651
1651
  let n = `${t.group}:${t.section}`, r = e.get(n);
@@ -1657,104 +1657,104 @@ var ft = C(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1657
1657
  }
1658
1658
  return [...e.values()].sort((e, t) => Number(t.section === "brand-actions") - Number(e.section === "brand-actions"));
1659
1659
  }, [Z]), $ = (t) => {
1660
- e === void 0 && De(t), n?.(t), U("idle");
1661
- }, Qe = (e) => {
1662
- g === void 0 && Ae(e), se?.(e), U("idle");
1660
+ e === void 0 && ke(t), n?.(t), U("idle");
1663
1661
  }, $e = (e) => {
1662
+ g === void 0 && Me(e), ce?.(e), U("idle");
1663
+ }, et = (e) => {
1664
1664
  $({
1665
- ...A,
1666
- [A.mode]: {
1667
- ...A[A.mode],
1665
+ ...k,
1666
+ [k.mode]: {
1667
+ ...k[k.mode],
1668
1668
  ...e
1669
1669
  }
1670
1670
  });
1671
- }, at = (e) => {
1671
+ }, ot = (e) => {
1672
1672
  $({
1673
- ...A,
1673
+ ...k,
1674
1674
  shared: {
1675
- ...A.shared,
1675
+ ...k.shared,
1676
1676
  ...e
1677
1677
  }
1678
1678
  });
1679
- }, ot = (e) => {
1680
- e !== A.mode && ($({
1681
- ...A,
1679
+ }, st = (e) => {
1680
+ e !== k.mode && ($({
1681
+ ...k,
1682
1682
  mode: e
1683
1683
  }), r?.(e));
1684
- }, ft = async () => {
1684
+ }, pt = async () => {
1685
1685
  try {
1686
1686
  if (J) throw J;
1687
- if (Ue(!0), !q) throw Error(k.invalidTheme);
1688
- ue ? await ue(q) : Le(q), U("exported");
1687
+ if (We(!0), !q) throw Error(O.invalidTheme);
1688
+ fe ? await fe(q) : Re(q), U("exported");
1689
1689
  } catch (e) {
1690
- w?.(e);
1690
+ C?.(e);
1691
1691
  } finally {
1692
- Ue(!1);
1692
+ We(!1);
1693
1693
  }
1694
- }, pt = async (e) => {
1694
+ }, mt = async (e) => {
1695
1695
  try {
1696
- if (de) await de(e);
1696
+ if (pe) await pe(e);
1697
1697
  else if (typeof navigator < "u" && navigator.clipboard) await navigator.clipboard.writeText(e);
1698
1698
  else throw Error("Clipboard access is unavailable. Provide onCopy for this environment.");
1699
1699
  U("copied");
1700
1700
  } catch (e) {
1701
- w?.(e);
1701
+ C?.(e);
1702
1702
  }
1703
- }, mt = () => {
1703
+ }, ht = () => {
1704
1704
  try {
1705
- if (!q) throw J ?? Error(k.invalidTheme);
1706
- Re({
1705
+ if (!q) throw J ?? Error(O.invalidTheme);
1706
+ ze({
1707
1707
  fileName: q.providerFileName,
1708
1708
  text: q.providerConfigText,
1709
1709
  mimeType: "text/typescript;charset=utf-8"
1710
1710
  }), U("exported");
1711
1711
  } catch (e) {
1712
- w?.(e);
1712
+ C?.(e);
1713
1713
  }
1714
- }, ht = () => {
1715
- let e = A, t = M({ mode: A.mode });
1716
- $(t), C?.(e), U("idle");
1717
- }, gt = J ? k.invalidTheme : H === "copied" ? k.copiedStatus : H === "exported" ? k.exportedStatus : null, _t = j === "colors" ? /* @__PURE__ */ D(b, {
1714
+ }, gt = () => {
1715
+ let e = k, t = M({ mode: k.mode });
1716
+ $(t), S?.(e), U("idle");
1717
+ }, _t = J ? O.invalidTheme : H === "copied" ? O.copiedStatus : H === "exported" ? O.exportedStatus : null, vt = j === "colors" ? /* @__PURE__ */ E(b, {
1718
1718
  className: "theme-tweaker--recipe",
1719
- label: k.autoPalette,
1720
- description: k.autoPaletteDescription,
1719
+ label: O.autoPalette,
1720
+ description: O.autoPaletteDescription,
1721
1721
  value: F,
1722
1722
  onValueChange: I
1723
- }) : j === "typography" ? /* @__PURE__ */ D(ne, {
1724
- title: k.typeRecipeTitle,
1725
- description: k.typeRecipeDescription,
1723
+ }) : j === "typography" ? /* @__PURE__ */ E(ne, {
1724
+ title: O.typeRecipeTitle,
1725
+ description: O.typeRecipeDescription,
1726
1726
  surface: "flat",
1727
1727
  padding: "none",
1728
1728
  className: "theme-tweaker--recipe",
1729
- children: /* @__PURE__ */ O(f, {
1729
+ children: /* @__PURE__ */ D(f, {
1730
1730
  columns: 1,
1731
- gap: "md",
1731
+ gap: re.related,
1732
1732
  className: "@2xl/theme-tweaker-controls:grid-cols-2",
1733
- children: [/* @__PURE__ */ D(y, {
1734
- label: k.baseTypeSize,
1735
- children: /* @__PURE__ */ D(S, {
1736
- "aria-label": k.baseTypeSize,
1733
+ children: [/* @__PURE__ */ E(y, {
1734
+ label: O.baseTypeSize,
1735
+ children: /* @__PURE__ */ E(de, {
1736
+ "aria-label": O.baseTypeSize,
1737
1737
  value: L,
1738
1738
  min: 14,
1739
1739
  max: 20,
1740
1740
  step: 1,
1741
1741
  onValueChange: (e) => {
1742
- Ne(e), at(et({
1742
+ Pe(e), ot(tt({
1743
1743
  baseSize: e,
1744
1744
  ratio: z
1745
1745
  }));
1746
1746
  }
1747
1747
  })
1748
- }), /* @__PURE__ */ D(y, {
1749
- label: k.typeRatio,
1750
- children: /* @__PURE__ */ D(S, {
1751
- "aria-label": k.typeRatio,
1748
+ }), /* @__PURE__ */ E(y, {
1749
+ label: O.typeRatio,
1750
+ children: /* @__PURE__ */ E(de, {
1751
+ "aria-label": O.typeRatio,
1752
1752
  value: z,
1753
1753
  min: 1.125,
1754
1754
  max: 1.333,
1755
1755
  step: .01,
1756
1756
  onValueChange: (e) => {
1757
- Fe(e), at(et({
1757
+ Ie(e), ot(tt({
1758
1758
  baseSize: L,
1759
1759
  ratio: e
1760
1760
  }));
@@ -1762,195 +1762,195 @@ var ft = C(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1762
1762
  })
1763
1763
  })]
1764
1764
  })
1765
- }) : j === "shape" ? /* @__PURE__ */ D(ne, {
1766
- title: k.elevationRecipeTitle,
1767
- description: k.elevationRecipeDescription,
1765
+ }) : j === "shape" ? /* @__PURE__ */ E(ne, {
1766
+ title: O.elevationRecipeTitle,
1767
+ description: O.elevationRecipeDescription,
1768
1768
  surface: "flat",
1769
1769
  padding: "none",
1770
1770
  className: "theme-tweaker--recipe",
1771
- children: /* @__PURE__ */ D(y, {
1772
- label: k.elevationIntensity,
1773
- children: /* @__PURE__ */ D(S, {
1774
- "aria-label": k.elevationIntensity,
1775
- value: ze,
1771
+ children: /* @__PURE__ */ E(y, {
1772
+ label: O.elevationIntensity,
1773
+ children: /* @__PURE__ */ E(de, {
1774
+ "aria-label": O.elevationIntensity,
1775
+ value: Be,
1776
1776
  min: 0,
1777
1777
  max: 1,
1778
1778
  step: .05,
1779
1779
  onValueChange: (e) => {
1780
- Ve(e), $e(tt({ intensity: e }));
1780
+ He(e), et(nt({ intensity: e }));
1781
1781
  }
1782
1782
  })
1783
1783
  })
1784
- }) : null, vt = /* @__PURE__ */ O("div", {
1784
+ }) : null, yt = /* @__PURE__ */ D("div", {
1785
1785
  className: s("grid min-w-0 grid-cols-1 gap-space-xl theme-tweaker--layout", h !== !1 && "@3xl/theme-tweaker:grid-cols-2"),
1786
1786
  children: [
1787
- /* @__PURE__ */ O(p, {
1787
+ /* @__PURE__ */ D(p, {
1788
1788
  gap: "lg",
1789
1789
  className: "theme-tweaker--controls @container/theme-tweaker-controls min-w-0",
1790
- children: [/* @__PURE__ */ O(p, {
1790
+ children: [/* @__PURE__ */ D(p, {
1791
1791
  gap: "lg",
1792
1792
  className: "theme-tweaker--header shrink-0",
1793
1793
  children: [
1794
- x ? /* @__PURE__ */ O(p, {
1794
+ x ? /* @__PURE__ */ D(p, {
1795
1795
  gap: "normal",
1796
1796
  className: "theme-tweaker--intro",
1797
- children: [/* @__PURE__ */ O(p, {
1797
+ children: [/* @__PURE__ */ D(p, {
1798
1798
  direction: "horizontal",
1799
1799
  gap: "sm",
1800
1800
  align: "center",
1801
1801
  wrap: !0,
1802
- children: [/* @__PURE__ */ D(u, {
1802
+ children: [/* @__PURE__ */ E(u, {
1803
1803
  tag: "h2",
1804
1804
  className: "theme-tweaker--title text-inherit",
1805
- children: k.title
1806
- }), /* @__PURE__ */ D(_, {
1805
+ children: O.title
1806
+ }), /* @__PURE__ */ E(_, {
1807
1807
  tone: "secondary",
1808
- children: a(k.changedCount, { count: Y })
1808
+ children: a(O.changedCount, { count: Y })
1809
1809
  })]
1810
- }), /* @__PURE__ */ D(l, {
1810
+ }), /* @__PURE__ */ E(l, {
1811
1811
  type: "secondary",
1812
1812
  className: "theme-tweaker--description",
1813
- children: k.description
1813
+ children: O.description
1814
1814
  })]
1815
1815
  }) : null,
1816
- /* @__PURE__ */ O(p, {
1816
+ /* @__PURE__ */ D(p, {
1817
1817
  direction: "horizontal",
1818
1818
  justify: "between",
1819
1819
  align: "center",
1820
1820
  wrap: !0,
1821
1821
  gap: "sm",
1822
1822
  className: "theme-tweaker--toolbar",
1823
- children: [/* @__PURE__ */ D(p, {
1823
+ children: [/* @__PURE__ */ E(p, {
1824
1824
  direction: "horizontal",
1825
1825
  gap: "sm",
1826
1826
  align: "center",
1827
1827
  wrap: !0,
1828
- children: /* @__PURE__ */ D(me, {
1829
- value: A.mode,
1830
- onValueChange: (e) => ot(e),
1831
- children: /* @__PURE__ */ O(pe, { children: [/* @__PURE__ */ O(fe, {
1828
+ children: /* @__PURE__ */ E(ge, {
1829
+ value: k.mode,
1830
+ onValueChange: (e) => st(e),
1831
+ children: /* @__PURE__ */ D(he, { children: [/* @__PURE__ */ D(me, {
1832
1832
  value: "light",
1833
- children: [/* @__PURE__ */ D(Oe, { className: "size-icon-sm" }), k.lightMode]
1834
- }), /* @__PURE__ */ O(fe, {
1833
+ children: [/* @__PURE__ */ E(Ae, { className: "size-icon-sm" }), O.lightMode]
1834
+ }), /* @__PURE__ */ D(me, {
1835
1835
  value: "dark",
1836
- children: [/* @__PURE__ */ D(Ce, { className: "size-icon-sm" }), k.darkMode]
1836
+ children: [/* @__PURE__ */ E(Te, { className: "size-icon-sm" }), O.darkMode]
1837
1837
  })] })
1838
1838
  })
1839
- }), /* @__PURE__ */ O(p, {
1839
+ }), /* @__PURE__ */ D(p, {
1840
1840
  direction: "horizontal",
1841
1841
  gap: "xs",
1842
1842
  align: "center",
1843
1843
  justify: "end",
1844
1844
  wrap: !1,
1845
1845
  className: "theme-tweaker--actions",
1846
- children: [/* @__PURE__ */ D(c, {
1846
+ children: [/* @__PURE__ */ E(c, {
1847
1847
  tone: "primary",
1848
1848
  type: "button",
1849
1849
  disabled: !!J,
1850
1850
  onClick: () => {
1851
1851
  U("idle"), W.show();
1852
1852
  },
1853
- children: k.export
1854
- }), ve]
1853
+ children: O.export
1854
+ }), be]
1855
1855
  })]
1856
1856
  }),
1857
- /* @__PURE__ */ D(y, {
1858
- label: /* @__PURE__ */ D(l, {
1857
+ /* @__PURE__ */ E(y, {
1858
+ label: /* @__PURE__ */ E(l, {
1859
1859
  tag: "span",
1860
1860
  size: "inherit",
1861
1861
  className: "sr-only",
1862
- children: k.searchLabel
1862
+ children: O.searchLabel
1863
1863
  }),
1864
1864
  className: "theme-tweaker--search",
1865
- children: /* @__PURE__ */ D(v, {
1865
+ children: /* @__PURE__ */ E(v, {
1866
1866
  value: N,
1867
1867
  onChange: (e) => P(e.target.value),
1868
- placeholder: k.searchPlaceholder,
1869
- startIcon: Te,
1868
+ placeholder: O.searchPlaceholder,
1869
+ startIcon: De,
1870
1870
  clearable: !0,
1871
1871
  onClear: () => P(""),
1872
- "aria-description": k.searchHint
1872
+ "aria-description": O.searchHint
1873
1873
  })
1874
1874
  })
1875
1875
  ]
1876
- }), /* @__PURE__ */ O(p, {
1876
+ }), /* @__PURE__ */ D(p, {
1877
1877
  gap: "lg",
1878
1878
  className: "theme-tweaker--workspace min-h-0",
1879
- children: [/* @__PURE__ */ D("nav", {
1880
- "aria-label": k.groupNavigationLabel,
1879
+ children: [/* @__PURE__ */ E("nav", {
1880
+ "aria-label": O.groupNavigationLabel,
1881
1881
  className: "theme-tweaker--navigation min-w-0",
1882
- children: /* @__PURE__ */ D(me, {
1882
+ children: /* @__PURE__ */ E(ge, {
1883
1883
  value: j,
1884
1884
  onValueChange: (e) => {
1885
- P(""), Me(e);
1885
+ P(""), Ne(e);
1886
1886
  },
1887
1887
  className: "w-full",
1888
- children: /* @__PURE__ */ D(pe, {
1888
+ children: /* @__PURE__ */ E(he, {
1889
1889
  scrollable: !0,
1890
1890
  scrollStrings: {
1891
- previous: k.previousGroup,
1892
- next: k.nextGroup
1891
+ previous: O.previousGroup,
1892
+ next: O.nextGroup
1893
1893
  },
1894
1894
  className: "theme-tweaker--group-list",
1895
- children: nt.map((e) => {
1896
- let t = rt[e];
1897
- return /* @__PURE__ */ O(fe, {
1895
+ children: rt.map((e) => {
1896
+ let t = it[e];
1897
+ return /* @__PURE__ */ D(me, {
1898
1898
  value: e,
1899
1899
  onClick: () => P(""),
1900
1900
  className: "theme-tweaker--group-trigger",
1901
- children: [/* @__PURE__ */ D(t, { "aria-hidden": "true" }), /* @__PURE__ */ D(l, {
1901
+ children: [/* @__PURE__ */ E(t, { "aria-hidden": "true" }), /* @__PURE__ */ E(l, {
1902
1902
  type: "inherit",
1903
1903
  tag: "span",
1904
1904
  size: "inherit",
1905
1905
  weight: "medium",
1906
1906
  className: "min-w-0 flex-1 truncate text-left",
1907
- children: k.groups[e]
1907
+ children: O.groups[e]
1908
1908
  })]
1909
1909
  }, e);
1910
1910
  })
1911
1911
  })
1912
1912
  })
1913
- }), /* @__PURE__ */ O(p, {
1913
+ }), /* @__PURE__ */ D(p, {
1914
1914
  gap: "lg",
1915
1915
  className: "theme-tweaker--body theme-tweaker--editor min-h-0 min-w-0",
1916
1916
  children: [
1917
- /* @__PURE__ */ O(p, {
1917
+ /* @__PURE__ */ D(p, {
1918
1918
  gap: "normal",
1919
1919
  className: "theme-tweaker--editor-heading",
1920
- children: [/* @__PURE__ */ O(p, {
1920
+ children: [/* @__PURE__ */ D(p, {
1921
1921
  direction: "horizontal",
1922
1922
  gap: "sm",
1923
1923
  align: "center",
1924
1924
  wrap: !0,
1925
1925
  children: [
1926
- /* @__PURE__ */ D(u, {
1926
+ /* @__PURE__ */ E(u, {
1927
1927
  className: "text-inherit",
1928
1928
  tag: "h3",
1929
- children: X ? k.allGroups : k.groups[j]
1929
+ children: X ? O.allGroups : O.groups[j]
1930
1930
  }),
1931
- x ? null : /* @__PURE__ */ D(_, {
1931
+ x ? null : /* @__PURE__ */ E(_, {
1932
1932
  tone: "secondary",
1933
- children: a(k.changedCount, { count: Y })
1933
+ children: a(O.changedCount, { count: Y })
1934
1934
  }),
1935
- X ? /* @__PURE__ */ D(_, {
1935
+ X ? /* @__PURE__ */ E(_, {
1936
1936
  tone: "secondary",
1937
1937
  role: "status",
1938
1938
  "aria-live": "polite",
1939
- children: a(k.searchResults, { count: Z.length })
1939
+ children: a(O.searchResults, { count: Z.length })
1940
1940
  }) : null
1941
1941
  ]
1942
- }), /* @__PURE__ */ D(l, {
1942
+ }), /* @__PURE__ */ E(l, {
1943
1943
  size: "xs",
1944
1944
  type: "secondary",
1945
- children: X ? k.searchHint : k.groupDescriptions[j]
1945
+ children: X ? O.searchHint : O.groupDescriptions[j]
1946
1946
  })]
1947
1947
  }),
1948
- X ? null : _t,
1949
- j === "defaults" && !X ? /* @__PURE__ */ D(Ye, {
1950
- config: je,
1951
- onChange: Qe,
1952
- strings: k.providerSettings
1953
- }) : Q.length > 0 ? /* @__PURE__ */ D(oe, {
1948
+ X ? null : vt,
1949
+ j === "defaults" && !X ? /* @__PURE__ */ E(Xe, {
1950
+ config: A,
1951
+ onChange: $e,
1952
+ strings: O.providerSettings
1953
+ }) : Q.length > 0 ? /* @__PURE__ */ E(se, {
1954
1954
  multiple: !0,
1955
1955
  defaultValue: [`${Q[0].group}:${Q[0].section}`],
1956
1956
  variant: "bordered",
@@ -1958,136 +1958,136 @@ var ft = C(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1958
1958
  className: "theme-tweaker--sections shrink-0",
1959
1959
  itemClassName: "theme-tweaker--section",
1960
1960
  items: Q.map((e) => {
1961
- let t = new Set(e.fields.map((e) => e.scope)), n = t.size > 1 ? k.mixedScope : t.has("shared") ? k.sharedScope : A.mode === "light" ? k.lightMode : k.darkMode, r = X ? a(k.groupSectionLabel, {
1962
- group: k.groups[e.group],
1963
- section: k.sections[e.section]
1964
- }) : k.sections[e.section];
1961
+ let t = new Set(e.fields.map((e) => e.scope)), n = t.size > 1 ? O.mixedScope : t.has("shared") ? O.sharedScope : k.mode === "light" ? O.lightMode : O.darkMode, r = X ? a(O.groupSectionLabel, {
1962
+ group: O.groups[e.group],
1963
+ section: O.sections[e.section]
1964
+ }) : O.sections[e.section];
1965
1965
  return {
1966
1966
  value: `${e.group}:${e.section}`,
1967
1967
  title: r,
1968
- description: a(k.variableCount, { count: e.fields.length }),
1969
- badge: /* @__PURE__ */ D(_, {
1968
+ description: a(O.variableCount, { count: e.fields.length }),
1969
+ badge: /* @__PURE__ */ E(_, {
1970
1970
  tone: "secondary",
1971
1971
  children: n
1972
1972
  }),
1973
- content: /* @__PURE__ */ D(p, {
1973
+ content: /* @__PURE__ */ E(p, {
1974
1974
  gap: "none",
1975
1975
  className: "theme-tweaker--fields",
1976
1976
  children: e.fields.map((e) => {
1977
- let t = e.scope === "shared" ? "shared" : A.mode, n = A[t][e.name] ?? "";
1978
- return /* @__PURE__ */ D(lt, {
1977
+ let t = e.scope === "shared" ? "shared" : k.mode, n = k[t][e.name] ?? "";
1978
+ return /* @__PURE__ */ E(ut, {
1979
1979
  field: e,
1980
1980
  value: n,
1981
- effectiveValue: Ge[e.name] ?? "",
1982
- strings: k,
1981
+ effectiveValue: Ke[e.name] ?? "",
1982
+ strings: O,
1983
1983
  onChange: (t) => {
1984
1984
  if (e.name === "--primary" && F && t.trim()) {
1985
- $e(Ze({
1985
+ et(Qe({
1986
1986
  primary: t,
1987
- mode: A.mode
1987
+ mode: k.mode
1988
1988
  }));
1989
1989
  return;
1990
1990
  }
1991
- $(dt(A, e, t));
1991
+ $(ft(k, e, t));
1992
1992
  },
1993
- onReset: () => $(dt(A, e, ""))
1993
+ onReset: () => $(ft(k, e, ""))
1994
1994
  }, e.name);
1995
1995
  })
1996
1996
  })
1997
1997
  };
1998
1998
  })
1999
- }, `${j}:${X}`) : /* @__PURE__ */ D(l, {
1999
+ }, `${j}:${X}`) : /* @__PURE__ */ E(l, {
2000
2000
  type: "secondary",
2001
2001
  className: "theme-tweaker--empty rounded-radius border border-dashed border-border p-surface",
2002
- children: k.emptySearch
2002
+ children: O.emptySearch
2003
2003
  })
2004
2004
  ]
2005
2005
  })]
2006
2006
  })]
2007
2007
  }),
2008
- h === !1 ? null : /* @__PURE__ */ D(p, {
2008
+ h === !1 ? null : /* @__PURE__ */ E(p, {
2009
2009
  className: "theme-tweaker--preview min-w-0 self-start",
2010
- children: h ?? /* @__PURE__ */ D(ut, { strings: k })
2010
+ children: h ?? /* @__PURE__ */ E(dt, { strings: O })
2011
2011
  }),
2012
- /* @__PURE__ */ D(ie, {
2012
+ /* @__PURE__ */ E(ae, {
2013
2013
  ...W.overlayProps,
2014
- title: k.exportDialogTitle,
2015
- description: k.exportDialogDescription,
2014
+ title: O.exportDialogTitle,
2015
+ description: O.exportDialogDescription,
2016
2016
  showCloseButton: !1,
2017
2017
  showCancel: !1,
2018
2018
  showConfirm: !1,
2019
- surfaceStyle: B(A),
2020
- className: s("theme-tweaker--export-dialog sm:max-w-4xl", A.mode),
2021
- footer: /* @__PURE__ */ O(p, {
2019
+ surfaceStyle: B(k),
2020
+ className: s("theme-tweaker--export-dialog sm:max-w-4xl", k.mode),
2021
+ footer: /* @__PURE__ */ D(p, {
2022
2022
  direction: "horizontal",
2023
2023
  align: "center",
2024
2024
  justify: "between",
2025
2025
  className: "theme-tweaker--export-footer w-full",
2026
- children: [/* @__PURE__ */ D(c, {
2026
+ children: [/* @__PURE__ */ E(c, {
2027
2027
  type: "button",
2028
2028
  tone: "secondary",
2029
2029
  buttonStyle: "ghost",
2030
- icon: we,
2030
+ icon: Ee,
2031
2031
  disabled: Y === 0,
2032
- onClick: ht,
2033
- children: k.reset
2034
- }), /* @__PURE__ */ D(c, {
2032
+ onClick: gt,
2033
+ children: O.reset
2034
+ }), /* @__PURE__ */ E(c, {
2035
2035
  onClick: W.hide,
2036
- children: k.close
2036
+ children: O.close
2037
2037
  })]
2038
2038
  }),
2039
- children: /* @__PURE__ */ O(p, {
2039
+ children: /* @__PURE__ */ D(p, {
2040
2040
  gap: "xl",
2041
2041
  className: "theme-tweaker--export-body",
2042
2042
  children: [
2043
- /* @__PURE__ */ D(it, {
2044
- title: k.cssOutputLabel,
2045
- description: k.cssOutputDescription,
2046
- code: qe,
2047
- copyLabel: k.copy,
2048
- downloadLabel: He ? k.exportPending : k.downloadCss,
2049
- downloading: He,
2050
- onCopy: () => void pt(qe),
2051
- onDownload: () => void ft()
2043
+ /* @__PURE__ */ E(at, {
2044
+ title: O.cssOutputLabel,
2045
+ description: O.cssOutputDescription,
2046
+ code: Je,
2047
+ copyLabel: O.copy,
2048
+ downloadLabel: Ue ? O.exportPending : O.downloadCss,
2049
+ downloading: Ue,
2050
+ onCopy: () => void mt(Je),
2051
+ onDownload: () => void pt()
2052
2052
  }),
2053
- /* @__PURE__ */ D(it, {
2054
- title: k.providerOutputLabel,
2055
- description: k.providerOutputDescription,
2053
+ /* @__PURE__ */ E(at, {
2054
+ title: O.providerOutputLabel,
2055
+ description: O.providerOutputDescription,
2056
2056
  code: q?.providerConfigText ?? "",
2057
- copyLabel: k.copyProvider,
2058
- downloadLabel: k.downloadProvider,
2059
- onCopy: () => void pt(q?.providerConfigText ?? ""),
2060
- onDownload: mt
2057
+ copyLabel: O.copyProvider,
2058
+ downloadLabel: O.downloadProvider,
2059
+ onCopy: () => void mt(q?.providerConfigText ?? ""),
2060
+ onDownload: ht
2061
2061
  }),
2062
- gt ? /* @__PURE__ */ D(l, {
2062
+ _t ? /* @__PURE__ */ E(l, {
2063
2063
  tag: "div",
2064
2064
  size: "xs",
2065
2065
  type: J ? "error" : "secondary",
2066
2066
  role: "status",
2067
2067
  "aria-live": "polite",
2068
2068
  className: "theme-tweaker--status",
2069
- children: gt
2069
+ children: _t
2070
2070
  }) : null
2071
2071
  ]
2072
2072
  })
2073
2073
  })
2074
2074
  ]
2075
2075
  });
2076
- return d === "self" ? /* @__PURE__ */ D(V, {
2077
- ...xe,
2076
+ return d === "self" ? /* @__PURE__ */ E(V, {
2077
+ ...Ce,
2078
2078
  ref: G,
2079
- theme: m ? A : M({ mode: A.mode }),
2080
- className: s("theme-tweaker--component @container/theme-tweaker bg-background text-foreground", be),
2081
- children: vt
2082
- }) : /* @__PURE__ */ D("div", {
2083
- ...xe,
2079
+ theme: m ? k : M({ mode: k.mode }),
2080
+ className: s("theme-tweaker--component @container/theme-tweaker bg-background text-foreground", Se),
2081
+ children: yt
2082
+ }) : /* @__PURE__ */ E("div", {
2083
+ ...Ce,
2084
2084
  ref: G,
2085
- className: s("theme-tweaker--component @container/theme-tweaker", be),
2086
- children: vt
2085
+ className: s("theme-tweaker--component @container/theme-tweaker", Se),
2086
+ children: yt
2087
2087
  });
2088
2088
  });
2089
- ft.displayName = "ThemeTweaker";
2089
+ pt.displayName = "ThemeTweaker";
2090
2090
  //#endregion
2091
- export { Ve as AdminUIThemeProvider, V as ThemeScope, ft as ThemeTweaker, B as adminUIThemeToStyle, Pe as countAdminUIThemeOverrides, M as createAdminUITheme, Fe as createScopedAdminUIThemeSelectors, R as createSerializableUIConfig, Ie as createThemeTweakerExportArtifact, Ae as defaultAdminUIThemeSelectors, X as defaultThemeProviderSettingsStrings, Je as defaultThemeTweakerFields, Xe as defaultThemeTweakerStrings, tt as deriveAdminUIElevation, Ze as deriveAdminUIPalette, et as deriveAdminUITypeScale, Le as downloadAdminUITheme, z as getActiveAdminUIThemeOverrides, N as isAdminUIThemeVariableName, L as serializeAdminUITheme, Ne as serializeUIProviderConfig };
2091
+ export { He as AdminUIThemeProvider, V as ThemeScope, pt as ThemeTweaker, B as adminUIThemeToStyle, Fe as countAdminUIThemeOverrides, M as createAdminUITheme, Ie as createScopedAdminUIThemeSelectors, R as createSerializableUIConfig, Le as createThemeTweakerExportArtifact, Me as defaultAdminUIThemeSelectors, X as defaultThemeProviderSettingsStrings, Ye as defaultThemeTweakerFields, Ze as defaultThemeTweakerStrings, nt as deriveAdminUIElevation, Qe as deriveAdminUIPalette, tt as deriveAdminUITypeScale, Re as downloadAdminUITheme, z as getActiveAdminUIThemeOverrides, N as isAdminUIThemeVariableName, L as serializeAdminUITheme, Pe as serializeUIProviderConfig };
2092
2092
 
2093
2093
  //# sourceMappingURL=theme-tweaker.js.map