themelia-react-ui 1.0.2 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (748) hide show
  1. package/CHANGELOG.md +632 -1
  2. package/README.md +31 -13
  3. package/dist/accordion-B6a3vVgA.js +207 -0
  4. package/dist/accordion-B6a3vVgA.js.map +1 -0
  5. package/dist/action-menu-TzCoSlwL.js +280 -0
  6. package/dist/action-menu-TzCoSlwL.js.map +1 -0
  7. package/dist/{affordance-geometry.generated-CL84ZN9A.js → affordance-geometry.generated-B5iu-Mkr.js} +9 -3
  8. package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +1 -0
  9. package/dist/{ai-artifact-DLVdK0Py.js → ai-artifact-BMJdv-6q.js} +389 -391
  10. package/dist/ai-artifact-BMJdv-6q.js.map +1 -0
  11. package/dist/{app-shell-C_fKpljx.js → app-shell-ZK5RWdo6.js} +4 -4
  12. package/dist/{app-shell-C_fKpljx.js.map → app-shell-ZK5RWdo6.js.map} +1 -1
  13. package/dist/attachment-BtfhGm8i.js +245 -0
  14. package/dist/attachment-BtfhGm8i.js.map +1 -0
  15. package/dist/{auth-CAQcasMV.js → auth-CYxKfo69.js} +239 -237
  16. package/dist/auth-CYxKfo69.js.map +1 -0
  17. package/dist/{avatar-Bu2HhitA.js → avatar-BBnEJIx8.js} +71 -68
  18. package/dist/avatar-BBnEJIx8.js.map +1 -0
  19. package/dist/badge-MrKVNzW9.js +93 -0
  20. package/dist/badge-MrKVNzW9.js.map +1 -0
  21. package/dist/base/accordion.js +1 -1
  22. package/dist/base/action-menu.js +1 -1
  23. package/dist/base/attachment.js +1 -1
  24. package/dist/base/avatar.js +1 -1
  25. package/dist/base/badge.js +1 -1
  26. package/dist/base/batch-action-bar.js +3 -0
  27. package/dist/base/buttons.js +2 -3
  28. package/dist/base/cards.js +2 -2
  29. package/dist/base/carousel.js +19 -19
  30. package/dist/base/carousel.js.map +1 -1
  31. package/dist/base/cascader.js +234 -224
  32. package/dist/base/cascader.js.map +1 -1
  33. package/dist/base/chart.js +1 -1
  34. package/dist/base/choice-inputs.js +3 -3
  35. package/dist/base/code-block.js +1 -1
  36. package/dist/base/combobox.js +1 -1
  37. package/dist/base/command.js +1 -1
  38. package/dist/base/copyable.js +1 -1
  39. package/dist/base/date-pickers.js +2 -2
  40. package/dist/base/display.js +7 -7
  41. package/dist/base/feedback.js +3 -3
  42. package/dist/base/forms-numeric.js +1 -1
  43. package/dist/base/forms.js +2 -2
  44. package/dist/base/inline-edit.js +81 -76
  45. package/dist/base/inline-edit.js.map +1 -1
  46. package/dist/base/item.js +1 -1
  47. package/dist/base/media-gallery.js +1 -1
  48. package/dist/base/metadata-list.js +3 -0
  49. package/dist/base/navigation.js +7 -7
  50. package/dist/base/popover-menu.js +1 -1
  51. package/dist/base/popover.js +1 -1
  52. package/dist/base/qr-code.js +7 -4
  53. package/dist/base/qr-code.js.map +1 -1
  54. package/dist/base/repeaters.js +175 -174
  55. package/dist/base/repeaters.js.map +1 -1
  56. package/dist/base/sheet.js +1 -1
  57. package/dist/base/sidebar.js +1 -1
  58. package/dist/base/signature-pad.js +148 -138
  59. package/dist/base/signature-pad.js.map +1 -1
  60. package/dist/base/skeleton.js +1 -1
  61. package/dist/base/spinner.js +1 -1
  62. package/dist/base/structure.js +1 -1
  63. package/dist/base/table.js +1 -1
  64. package/dist/base/text-inputs.js +2 -2
  65. package/dist/base/toaster.js +4 -4
  66. package/dist/base/toaster.js.map +1 -1
  67. package/dist/base/tree.js +1 -1
  68. package/dist/base/upload-queue.js +1 -1
  69. package/dist/base/upload.js +3 -3
  70. package/dist/base/value-inputs.js +2 -2
  71. package/dist/batch-action-bar-BZGDG-Si.js +104 -0
  72. package/dist/batch-action-bar-BZGDG-Si.js.map +1 -0
  73. package/dist/blocks/admin.js +264 -253
  74. package/dist/blocks/admin.js.map +1 -1
  75. package/dist/blocks/ai.js +293 -323
  76. package/dist/blocks/ai.js.map +1 -1
  77. package/dist/blocks/analytics/usage-card.js +1 -1
  78. package/dist/blocks/analytics.js +596 -587
  79. package/dist/blocks/analytics.js.map +1 -1
  80. package/dist/blocks/collaboration.js +1 -1
  81. package/dist/blocks/commerce/receipt.js +1 -1
  82. package/dist/blocks/commerce.js +2246 -1693
  83. package/dist/blocks/commerce.js.map +1 -1
  84. package/dist/blocks/data-display.js +3 -2
  85. package/dist/blocks/onboarding.js +50 -49
  86. package/dist/blocks/onboarding.js.map +1 -1
  87. package/dist/blocks/planning.js +82 -91
  88. package/dist/blocks/planning.js.map +1 -1
  89. package/dist/blocks/timelines.js +1 -1
  90. package/dist/breadcrumbs-D5t7I023.js +129 -0
  91. package/dist/breadcrumbs-D5t7I023.js.map +1 -0
  92. package/dist/{button-BZyfTvwm.js → button-QYwiyhD2.js} +15 -14
  93. package/dist/button-QYwiyhD2.js.map +1 -0
  94. package/dist/buttons-SbIcm1HJ.js +661 -0
  95. package/dist/buttons-SbIcm1HJ.js.map +1 -0
  96. package/dist/{cards-qGSErLw_.js → cards-CiiHpKYd.js} +8 -8
  97. package/dist/cards-CiiHpKYd.js.map +1 -0
  98. package/dist/{chart-Bsc5BICK.js → chart-QfrARkXl.js} +17 -15
  99. package/dist/chart-QfrARkXl.js.map +1 -0
  100. package/dist/checkbox-DhB6K0bK.js +36 -0
  101. package/dist/checkbox-DhB6K0bK.js.map +1 -0
  102. package/dist/choice-inputs-t6w3ATNz.js +766 -0
  103. package/dist/choice-inputs-t6w3ATNz.js.map +1 -0
  104. package/dist/code-block-Dgbu-CU3.js +185 -0
  105. package/dist/code-block-Dgbu-CU3.js.map +1 -0
  106. package/dist/{collapsible-ClvC7Bj3.js → collapsible-D8AEGU1-.js} +4 -4
  107. package/dist/{collapsible-ClvC7Bj3.js.map → collapsible-D8AEGU1-.js.map} +1 -1
  108. package/dist/{collection-content-D6S8cv_n.js → collection-content-uK16Grv0.js} +3 -3
  109. package/dist/{collection-content-D6S8cv_n.js.map → collection-content-uK16Grv0.js.map} +1 -1
  110. package/dist/{combobox-BFnbJJp3.js → combobox-2Ic8N9bL.js} +103 -98
  111. package/dist/combobox-2Ic8N9bL.js.map +1 -0
  112. package/dist/combobox-DLl0bfiq.js +867 -0
  113. package/dist/combobox-DLl0bfiq.js.map +1 -0
  114. package/dist/{command-BnmSchli.js → command-kNR20o7x.js} +34 -30
  115. package/dist/command-kNR20o7x.js.map +1 -0
  116. package/dist/{comments-u5L0OGip.js → comments-BpDuCUUu.js} +304 -301
  117. package/dist/comments-BpDuCUUu.js.map +1 -0
  118. package/dist/components/base/accordion/accordion-variants.d.ts +3 -3
  119. package/dist/components/base/action-menu/action-menu.d.ts +27 -5
  120. package/dist/components/base/action-menu/action-menu.recipes.d.ts +21 -0
  121. package/dist/components/base/action-menu/index.d.ts +1 -0
  122. package/dist/components/base/avatar/stacked-avatars.d.ts +5 -4
  123. package/dist/components/base/badge/badge.d.ts +1 -1
  124. package/dist/components/base/badge/badge.recipes.d.ts +6 -6
  125. package/dist/components/base/batch-action-bar/batch-action-bar.d.ts +50 -0
  126. package/dist/components/base/batch-action-bar/batch-action-bar.strings.d.ts +20 -0
  127. package/dist/components/base/batch-action-bar/index.d.ts +8 -0
  128. package/dist/components/base/buttons/base-button.d.ts +7 -0
  129. package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
  130. package/dist/components/base/buttons/button.recipes.d.ts +2 -2
  131. package/dist/components/base/buttons/button.variants.d.ts +1 -0
  132. package/dist/components/base/buttons/loader-button.d.ts +3 -1
  133. package/dist/components/base/buttons/text-button.d.ts +2 -2
  134. package/dist/components/base/carousel/carousel.d.ts +3 -1
  135. package/dist/components/base/chart/chart.d.ts +7 -7
  136. package/dist/components/base/choice-inputs/checkbox.d.ts +6 -7
  137. package/dist/components/base/choice-inputs/choice-types.d.ts +24 -3
  138. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +9 -0
  139. package/dist/components/base/choice-inputs/select-popup.d.ts +9 -1
  140. package/dist/components/base/choice-inputs/switch-card.d.ts +1 -1
  141. package/dist/components/base/date-pickers/date-picker-field.d.ts +23 -0
  142. package/dist/components/base/date-pickers/datepicker.types.d.ts +13 -3
  143. package/dist/components/base/display/alert-dialog.d.ts +10 -3
  144. package/dist/components/base/display/content-block.d.ts +4 -2
  145. package/dist/components/base/display/date-block.d.ts +1 -1
  146. package/dist/components/base/display/dialog.d.ts +8 -5
  147. package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
  148. package/dist/components/base/display/surface-title.d.ts +6 -1
  149. package/dist/components/base/feedback/alert.d.ts +1 -1
  150. package/dist/components/base/feedback/state-display.d.ts +5 -4
  151. package/dist/components/base/forms/form-sizing.d.ts +43 -8
  152. package/dist/components/base/forms/workflow.d.ts +2 -0
  153. package/dist/components/base/forms-numeric/coordinates-input.d.ts +3 -0
  154. package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +4 -1
  155. package/dist/components/base/metadata-list/index.d.ts +12 -0
  156. package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.d.ts +28 -25
  157. package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-value.d.ts +2 -2
  158. package/dist/components/base/navigation/dropdown-menu.d.ts +2 -2
  159. package/dist/components/base/navigation/index.d.ts +1 -1
  160. package/dist/components/base/navigation/language-switcher.d.ts +4 -1
  161. package/dist/components/base/navigation/overflow-tab-bar.d.ts +7 -0
  162. package/dist/components/base/navigation/page-header/index.d.ts +1 -0
  163. package/dist/components/base/navigation/page-header/page-header-commands.d.ts +73 -0
  164. package/dist/components/base/navigation/page-header/page-header.d.ts +30 -4
  165. package/dist/components/base/qr-code/qr-code.d.ts +2 -0
  166. package/dist/components/base/sheet/index.d.ts +29 -1
  167. package/dist/components/base/sheet/sheet.d.ts +10 -5
  168. package/dist/components/base/signature-pad/signature-pad.types.d.ts +5 -1
  169. package/dist/components/base/signature-pad/signature-pad.utils.d.ts +11 -3
  170. package/dist/components/base/spinner/spinner.d.ts +3 -2
  171. package/dist/components/base/structure/structure.types.d.ts +1 -1
  172. package/dist/components/base/text-inputs/field-clear-button.d.ts +6 -0
  173. package/dist/components/base/text-inputs/input-group.d.ts +2 -2
  174. package/dist/components/base/upload/upload.recipes.d.ts +33 -0
  175. package/dist/components/base/value-inputs/date-time-input.d.ts +4 -2
  176. package/dist/components/base/value-inputs/index.d.ts +5 -5
  177. package/dist/components/base/value-inputs/tags-input.d.ts +38 -12
  178. package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +1 -1
  179. package/dist/components/blocks/analytics/format-metric-value.d.ts +11 -1
  180. package/dist/components/blocks/analytics/index.d.ts +1 -1
  181. package/dist/components/blocks/analytics/use-metric-format-options.d.ts +3 -0
  182. package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
  183. package/dist/components/blocks/commerce/address-card/types.d.ts +4 -1
  184. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +4 -0
  185. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +2 -2
  186. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +3 -1
  187. package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
  188. package/dist/components/blocks/commerce/cart-summary/types.d.ts +6 -1
  189. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +3 -1
  190. package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
  191. package/dist/components/blocks/commerce/discount-stack/types.d.ts +16 -4
  192. package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +5 -0
  193. package/dist/components/blocks/commerce/fulfillment-group/index.d.ts +2 -0
  194. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +43 -0
  195. package/dist/components/blocks/commerce/index.d.ts +13 -5
  196. package/dist/components/blocks/commerce/inventory-section/types.d.ts +4 -1
  197. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
  198. package/dist/components/blocks/commerce/invoice-header/types.d.ts +4 -2
  199. package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +1 -1
  200. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +2 -1
  201. package/dist/components/blocks/commerce/loyalty-points/types.d.ts +1 -1
  202. package/dist/components/blocks/commerce/order-customer/index.d.ts +2 -0
  203. package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +5 -0
  204. package/dist/components/blocks/commerce/order-customer/types.d.ts +48 -0
  205. package/dist/components/blocks/commerce/order-header/index.d.ts +2 -0
  206. package/dist/components/blocks/commerce/order-header/order-header.d.ts +5 -0
  207. package/dist/components/blocks/commerce/order-header/types.d.ts +37 -0
  208. package/dist/components/blocks/commerce/order-line-item/index.d.ts +2 -0
  209. package/dist/components/blocks/commerce/order-line-item/order-line-item.d.ts +5 -0
  210. package/dist/components/blocks/commerce/order-line-item/types.d.ts +46 -0
  211. package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
  212. package/dist/components/blocks/commerce/order-summary/index.d.ts +2 -0
  213. package/dist/components/blocks/commerce/order-summary/order-summary.d.ts +5 -0
  214. package/dist/components/blocks/commerce/order-summary/types.d.ts +42 -0
  215. package/dist/components/blocks/commerce/order-transactions/index.d.ts +2 -0
  216. package/dist/components/blocks/commerce/order-transactions/order-transactions.d.ts +5 -0
  217. package/dist/components/blocks/commerce/order-transactions/types.d.ts +46 -0
  218. package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
  219. package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +9 -1
  220. package/dist/components/blocks/commerce/payment-method/types.d.ts +14 -1
  221. package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
  222. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +3 -1
  223. package/dist/components/blocks/commerce/refund-status/types.d.ts +6 -3
  224. package/dist/components/blocks/commerce/seo-listing/seo-listing-card.d.ts +1 -1
  225. package/dist/components/blocks/commerce/seo-listing/types.d.ts +3 -1
  226. package/dist/components/blocks/commerce/shared/address-lines.d.ts +21 -0
  227. package/dist/components/blocks/commerce/shared/line-thumbnail.d.ts +9 -0
  228. package/dist/components/blocks/commerce/shared/order-status.d.ts +51 -0
  229. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
  230. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +27 -6
  231. package/dist/components/blocks/commerce/summary-panel/amount-row.d.ts +2 -0
  232. package/dist/components/blocks/commerce/summary-panel/index.d.ts +3 -0
  233. package/dist/components/blocks/commerce/summary-panel/summary-panel.d.ts +2 -0
  234. package/dist/components/blocks/commerce/summary-panel/types.d.ts +26 -0
  235. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
  236. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +2 -1
  237. package/dist/components/blocks/commerce/vendor-profile/types.d.ts +4 -1
  238. package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +4 -1
  239. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +4 -1
  240. package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
  241. package/dist/components/features/activities/partials/activity-row.d.ts +6 -2
  242. package/dist/components/features/activities/partials/tone-tokens.d.ts +0 -6
  243. package/dist/components/features/global-search/partials/global-search-group-heading.d.ts +15 -0
  244. package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +1 -1
  245. package/dist/components/features/global-search/partials/tone-palettes.d.ts +0 -5
  246. package/dist/components/features/kanban/kanban.d.ts +1 -1
  247. package/dist/components/features/kanban/kanban.strings.d.ts +1 -1
  248. package/dist/components/features/kanban/kanban.types.d.ts +2 -2
  249. package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
  250. package/dist/components/features/media-library/index.d.ts +1 -1
  251. package/dist/components/features/media-library/media-library.d.ts +1 -1
  252. package/dist/components/features/media-library/media-library.strings.d.ts +4 -0
  253. package/dist/components/features/media-library/media-library.types.d.ts +74 -1
  254. package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
  255. package/dist/components/features/mentions/partials/mention-kind-toggles.d.ts +16 -0
  256. package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
  257. package/dist/components/features/overlays/dialog.d.ts +1 -1
  258. package/dist/components/features/overlays/drawer.d.ts +1 -1
  259. package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +2 -2
  260. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +11 -4
  261. package/dist/components/features/overlays/index.d.ts +1 -1
  262. package/dist/components/features/overlays/overlay-tone-icon.d.ts +37 -0
  263. package/dist/components/features/overlays/overlays.types.d.ts +62 -19
  264. package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
  265. package/dist/components/features/products/components/product-details-card.d.ts +5 -0
  266. package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
  267. package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
  268. package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
  269. package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
  270. package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
  271. package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
  272. package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
  273. package/dist/components/features/products/components/product-variant-action-menu.d.ts +23 -1
  274. package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
  275. package/dist/components/features/products/partials/index.d.ts +1 -1
  276. package/dist/components/features/products/partials/product-metric-tile.d.ts +6 -0
  277. package/dist/components/features/products/partials/product-tone.d.ts +11 -1
  278. package/dist/components/features/products/products.types.d.ts +11 -3
  279. package/dist/components/features/resource/index.d.ts +1 -1
  280. package/dist/components/features/resource/resource.d.ts +1 -1
  281. package/dist/components/features/resource/resource.types.d.ts +34 -6
  282. package/dist/components/features/rich-text-editor/index.d.ts +2 -1
  283. package/dist/components/features/rich-text-editor/partials/image-nodes.d.ts +13 -0
  284. package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +66 -0
  285. package/dist/components/features/rich-text-editor/partials/inline-reference-node.d.ts +19 -0
  286. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +1 -1
  287. package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +14 -0
  288. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +45 -0
  289. package/dist/components/features/rich-text-editor/use-rich-text-images.d.ts +18 -0
  290. package/dist/components/features/sync/index.d.ts +26 -3
  291. package/dist/components/features/table/data-table.d.ts +1 -1
  292. package/dist/components/features/table/partials/cell-renderers.d.ts +1 -1
  293. package/dist/components/features/table/table.types.d.ts +32 -7
  294. package/dist/components/layout/page/index.d.ts +1 -1
  295. package/dist/components/layout/page/page.types.d.ts +51 -4
  296. package/dist/components/layout/page/partials/page-actions.d.ts +1 -0
  297. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  298. package/dist/components/layout/settings/settings.d.ts +16 -2
  299. package/dist/components/layout/workspace/workspace.types.d.ts +21 -4
  300. package/dist/components/primitives/date.d.ts +16 -3
  301. package/dist/components/primitives/dimensions.d.ts +6 -0
  302. package/dist/components/primitives/duration.d.ts +6 -0
  303. package/dist/components/primitives/file-size.d.ts +6 -0
  304. package/dist/components/primitives/index.d.ts +1 -1
  305. package/dist/components/primitives/initials.d.ts +11 -2
  306. package/dist/components/primitives/link.d.ts +7 -0
  307. package/dist/components/primitives/money.d.ts +29 -7
  308. package/dist/components/primitives/number.d.ts +17 -0
  309. package/dist/components/primitives/value-typography.d.ts +54 -0
  310. package/dist/components/primitives/value.d.ts +31 -6
  311. package/dist/components/typography/heading.d.ts +9 -1
  312. package/dist/components/typography/label.d.ts +3 -0
  313. package/dist/components/typography/rich-text/index.d.ts +1 -1
  314. package/dist/components/typography/rich-text/rich-text-tree.d.ts +19 -0
  315. package/dist/components/typography/rich-text/rich-text.d.ts +16 -0
  316. package/dist/components/typography/running-text.d.ts +12 -0
  317. package/dist/components/typography/text-link.d.ts +24 -1
  318. package/dist/components/typography/text.d.ts +12 -0
  319. package/dist/components/typography/text.styles.d.ts +35 -13
  320. package/dist/components/ui/button.d.ts +1 -1
  321. package/dist/components/ui/checkbox.d.ts +6 -0
  322. package/dist/components/ui/overlay.recipes.d.ts +6 -2
  323. package/dist/components/ui/select.d.ts +3 -1
  324. package/dist/components/ui/switch.d.ts +5 -0
  325. package/dist/{containers-DqB-bSYE.js → containers-DmWiJa2I.js} +36 -35
  326. package/dist/containers-DmWiJa2I.js.map +1 -0
  327. package/dist/{copyable-BTSByfmq.js → copyable-B3Gwgdqc.js} +6 -6
  328. package/dist/{copyable-BTSByfmq.js.map → copyable-B3Gwgdqc.js.map} +1 -1
  329. package/dist/data-display-DafIvCl5.js +960 -0
  330. package/dist/data-display-DafIvCl5.js.map +1 -0
  331. package/dist/date-BgK3bTdo.js +144 -0
  332. package/dist/date-BgK3bTdo.js.map +1 -0
  333. package/dist/date-picker-CF-DtUpF.js +1529 -0
  334. package/dist/date-picker-CF-DtUpF.js.map +1 -0
  335. package/dist/date-pickers-BmzxJl5l.js +174 -0
  336. package/dist/date-pickers-BmzxJl5l.js.map +1 -0
  337. package/dist/{display-CS6Hbk18.js → display-DsQTVzMz.js} +88 -87
  338. package/dist/display-DsQTVzMz.js.map +1 -0
  339. package/dist/{dropdown-menu-D-boNgGO.js → dropdown-menu-E2qmdC7o.js} +23 -16
  340. package/dist/dropdown-menu-E2qmdC7o.js.map +1 -0
  341. package/dist/features/activities.js +437 -521
  342. package/dist/features/activities.js.map +1 -1
  343. package/dist/features/ai-chat.js +174 -172
  344. package/dist/features/ai-chat.js.map +1 -1
  345. package/dist/features/async-preview.js +8 -8
  346. package/dist/features/async-preview.js.map +1 -1
  347. package/dist/features/combobox.js +1 -1
  348. package/dist/features/comments.js +1 -1
  349. package/dist/features/data-view.js +139 -138
  350. package/dist/features/data-view.js.map +1 -1
  351. package/dist/features/email-composer/engine.js +1 -1
  352. package/dist/features/email-composer.js +353 -352
  353. package/dist/features/email-composer.js.map +1 -1
  354. package/dist/features/event-calendar.js +262 -269
  355. package/dist/features/event-calendar.js.map +1 -1
  356. package/dist/features/filters.js +1 -1
  357. package/dist/features/global-search.js +307 -310
  358. package/dist/features/global-search.js.map +1 -1
  359. package/dist/features/kanban.js +95 -97
  360. package/dist/features/kanban.js.map +1 -1
  361. package/dist/features/map.js +56 -57
  362. package/dist/features/map.js.map +1 -1
  363. package/dist/features/media-library.js +914 -824
  364. package/dist/features/media-library.js.map +1 -1
  365. package/dist/features/mentions.js +1 -1
  366. package/dist/features/overlays.js +1 -1
  367. package/dist/features/products.js +1272 -1311
  368. package/dist/features/products.js.map +1 -1
  369. package/dist/features/questionnaire.js +204 -194
  370. package/dist/features/questionnaire.js.map +1 -1
  371. package/dist/features/resource-assignment.js +103 -95
  372. package/dist/features/resource-assignment.js.map +1 -1
  373. package/dist/features/resource.js +77 -69
  374. package/dist/features/resource.js.map +1 -1
  375. package/dist/features/rich-text-editor.js +30 -11
  376. package/dist/features/rich-text-editor.js.map +1 -1
  377. package/dist/features/schema-form.js +193 -189
  378. package/dist/features/schema-form.js.map +1 -1
  379. package/dist/features/suggestions.js +3 -3
  380. package/dist/features/sync.js +7 -7
  381. package/dist/features/sync.js.map +1 -1
  382. package/dist/features/table.js +1 -1
  383. package/dist/features/theme-tweaker.js +455 -455
  384. package/dist/features/theme-tweaker.js.map +1 -1
  385. package/dist/feedback-qNuMBtRH.js +233 -0
  386. package/dist/feedback-qNuMBtRH.js.map +1 -0
  387. package/dist/field-affordance-recipes-qQeIf4lG.js +48 -0
  388. package/dist/field-affordance-recipes-qQeIf4lG.js.map +1 -0
  389. package/dist/field-state-recipes-BVA2CWHo.js +12 -0
  390. package/dist/field-state-recipes-BVA2CWHo.js.map +1 -0
  391. package/dist/{filters-D6FF8L6s.js → filters-BkHH53uv.js} +414 -412
  392. package/dist/filters-BkHH53uv.js.map +1 -0
  393. package/dist/focus-recipes-B653VaLq.js +12 -0
  394. package/dist/focus-recipes-B653VaLq.js.map +1 -0
  395. package/dist/{form-field-CZwrkP7m.js → form-field-DUt4UxSV.js} +7 -7
  396. package/dist/{form-field-CZwrkP7m.js.map → form-field-DUt4UxSV.js.map} +1 -1
  397. package/dist/form-sizing-By94KzXE.js +130 -0
  398. package/dist/form-sizing-By94KzXE.js.map +1 -0
  399. package/dist/{forms-B5NCbkSC.js → forms-Bzha-Y3B.js} +25 -25
  400. package/dist/forms-Bzha-Y3B.js.map +1 -0
  401. package/dist/forms-numeric-C0bvjRPZ.js +906 -0
  402. package/dist/forms-numeric-C0bvjRPZ.js.map +1 -0
  403. package/dist/{header-kxruN3RM.js → header-BOefOKd1.js} +38 -41
  404. package/dist/header-BOefOKd1.js.map +1 -0
  405. package/dist/{hooks-BrlnCwQd.js → hooks-9k_TtmKh.js} +2 -2
  406. package/dist/{hooks-BrlnCwQd.js.map → hooks-9k_TtmKh.js.map} +1 -1
  407. package/dist/{http-CdEIHyQf.js → http-D_6rOnzU.js} +2 -2
  408. package/dist/{http-CdEIHyQf.js.map → http-D_6rOnzU.js.map} +1 -1
  409. package/dist/icon-badge-CAuKupo9.js +55 -0
  410. package/dist/icon-badge-CAuKupo9.js.map +1 -0
  411. package/dist/index.js +7 -7
  412. package/dist/input-DWhBBBww.js +262 -0
  413. package/dist/input-DWhBBBww.js.map +1 -0
  414. package/dist/{input-vxcaNCYC.js → input-Ddi_LSYv.js} +3 -3
  415. package/dist/{input-vxcaNCYC.js.map → input-Ddi_LSYv.js.map} +1 -1
  416. package/dist/interaction-recipes-CHr0dJUs.js +24 -0
  417. package/dist/interaction-recipes-CHr0dJUs.js.map +1 -0
  418. package/dist/item-DEmDiTlD.js +265 -0
  419. package/dist/item-DEmDiTlD.js.map +1 -0
  420. package/dist/layer-recipes-CCpklYME.js +13 -0
  421. package/dist/layer-recipes-CCpklYME.js.map +1 -0
  422. package/dist/layout/app-shell.js +1 -1
  423. package/dist/layout/auth.js +1 -1
  424. package/dist/layout/containers.js +1 -1
  425. package/dist/layout/header.js +1 -1
  426. package/dist/layout/hooks.js +1 -1
  427. package/dist/layout/navigation.js +1 -1
  428. package/dist/layout/page.js +1 -1
  429. package/dist/layout/settings.js +1 -1
  430. package/dist/layout/sidebar.js +2 -2
  431. package/dist/layout/workspace.js +1 -1
  432. package/dist/layout.js +10 -10
  433. package/dist/lib/affordance-geometry.generated.d.ts +7 -1
  434. package/dist/lib/field-affordance-recipes.d.ts +41 -1
  435. package/dist/lib/field-state-recipes.d.ts +9 -6
  436. package/dist/lib/focus-recipes.d.ts +24 -0
  437. package/dist/lib/format.d.ts +9 -0
  438. package/dist/lib/interaction-recipes.d.ts +35 -0
  439. package/dist/lib/layer-recipes.d.ts +19 -0
  440. package/dist/lib/money-format.d.ts +30 -0
  441. package/dist/lib/motion-recipes.d.ts +1 -0
  442. package/dist/lib/overlay-anatomy-recipes.d.ts +2 -1
  443. package/dist/lib/safe-image-src.d.ts +10 -0
  444. package/dist/lib/sanitize-html.d.ts +15 -3
  445. package/dist/lib/surface-recipes.d.ts +48 -6
  446. package/dist/lib/token-merge.generated.d.ts +17 -14
  447. package/dist/lib/tone-recipes.d.ts +79 -0
  448. package/dist/lib/track-recipes.d.ts +1 -1
  449. package/dist/lib/ui-provider/hooks.d.ts +2 -1
  450. package/dist/lib/ui-provider/index.d.ts +2 -2
  451. package/dist/lib/ui-provider/provider.d.ts +7 -2
  452. package/dist/lib/ui-provider/store.d.ts +6 -2
  453. package/dist/lib/ui-provider/types.d.ts +14 -2
  454. package/dist/lib/utils.js +1 -1
  455. package/dist/media-gallery-DcTtAaeC.js +203 -0
  456. package/dist/media-gallery-DcTtAaeC.js.map +1 -0
  457. package/dist/mentions-D-uyCh01.js +568 -0
  458. package/dist/mentions-D-uyCh01.js.map +1 -0
  459. package/dist/{message-SZUNB1eX.js → message-CdHgIWKf.js} +5 -5
  460. package/dist/{message-SZUNB1eX.js.map → message-CdHgIWKf.js.map} +1 -1
  461. package/dist/metadata-list-X5rYAKSB.js +394 -0
  462. package/dist/metadata-list-X5rYAKSB.js.map +1 -0
  463. package/dist/{motion-recipes-B6jKXEcN.js → motion-recipes-ChBg4HBq.js} +3 -2
  464. package/dist/{motion-recipes-B6jKXEcN.js.map → motion-recipes-ChBg4HBq.js.map} +1 -1
  465. package/dist/navigation-D3KwXmaq.js +145 -0
  466. package/dist/navigation-D3KwXmaq.js.map +1 -0
  467. package/dist/navigation-HJf5zxlH.js +268 -0
  468. package/dist/navigation-HJf5zxlH.js.map +1 -0
  469. package/dist/{navigation-row-recipes-DQEXQcqY.js → navigation-row-recipes-BVowojQw.js} +2 -2
  470. package/dist/{navigation-row-recipes-DQEXQcqY.js.map → navigation-row-recipes-BVowojQw.js.map} +1 -1
  471. package/dist/number-DMhe-Vsk.js +352 -0
  472. package/dist/number-DMhe-Vsk.js.map +1 -0
  473. package/dist/overflow-tab-bar-sQHXLlwQ.js +280 -0
  474. package/dist/overflow-tab-bar-sQHXLlwQ.js.map +1 -0
  475. package/dist/overlay.recipes-8GHqmlb4.js +6 -0
  476. package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
  477. package/dist/overlays-I0axtYA6.js +999 -0
  478. package/dist/overlays-I0axtYA6.js.map +1 -0
  479. package/dist/{page-hGmT4nWK.js → page-B5dTH9gE.js} +79 -68
  480. package/dist/page-B5dTH9gE.js.map +1 -0
  481. package/dist/page-header-commands-DjzFEq3E.js +126 -0
  482. package/dist/page-header-commands-DjzFEq3E.js.map +1 -0
  483. package/dist/{pagination-NLGqRirf.js → pagination-3bPA_a6K.js} +19 -19
  484. package/dist/{pagination-NLGqRirf.js.map → pagination-3bPA_a6K.js.map} +1 -1
  485. package/dist/{popover-CghIYdQf.js → popover-Di55PyAI.js} +8 -8
  486. package/dist/popover-Di55PyAI.js.map +1 -0
  487. package/dist/{popover-menu-B4PoWhRl.js → popover-menu-B71Tn2Qz.js} +6 -6
  488. package/dist/{popover-menu-B4PoWhRl.js.map → popover-menu-B71Tn2Qz.js.map} +1 -1
  489. package/dist/{popover.recipes-QlD4JenO.js → popover.recipes-Bdyhj2db.js} +2 -2
  490. package/dist/{popover.recipes-QlD4JenO.js.map → popover.recipes-Bdyhj2db.js.map} +1 -1
  491. package/dist/primitives-B-CkiEMU.js +379 -0
  492. package/dist/primitives-B-CkiEMU.js.map +1 -0
  493. package/dist/primitives.js +5 -5
  494. package/dist/{progress-BroqrAyV.js → progress-rnS8-uAW.js} +11 -11
  495. package/dist/progress-rnS8-uAW.js.map +1 -0
  496. package/dist/{receipt-BuJynLgf.js → receipt-D0oswZ0p.js} +6 -6
  497. package/dist/{receipt-BuJynLgf.js.map → receipt-D0oswZ0p.js.map} +1 -1
  498. package/dist/rich-text-DvGulsNJ.js +78 -0
  499. package/dist/rich-text-DvGulsNJ.js.map +1 -0
  500. package/dist/rich-text-editor-sMU_Scqm.js +1204 -0
  501. package/dist/rich-text-editor-sMU_Scqm.js.map +1 -0
  502. package/dist/rich-text-editor.recipes-CadiF_Uu.js +88 -0
  503. package/dist/rich-text-editor.recipes-CadiF_Uu.js.map +1 -0
  504. package/dist/rich-text-editor.strings-CB59ekH2.js +38 -0
  505. package/dist/rich-text-editor.strings-CB59ekH2.js.map +1 -0
  506. package/dist/safe-image-src-C6kQSMBZ.js +17 -0
  507. package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
  508. package/dist/sanitize-html-DsQmI48u.js +92 -0
  509. package/dist/sanitize-html-DsQmI48u.js.map +1 -0
  510. package/dist/scroll-area-Bt_vXY2b.js +48 -0
  511. package/dist/scroll-area-Bt_vXY2b.js.map +1 -0
  512. package/dist/{separator-BNIgG3au.js → separator-C8DlRGwF.js} +4 -4
  513. package/dist/separator-C8DlRGwF.js.map +1 -0
  514. package/dist/{separator-BhtFyo4x.js → separator-CYHnjsAb.js} +2 -2
  515. package/dist/{separator-BhtFyo4x.js.map → separator-CYHnjsAb.js.map} +1 -1
  516. package/dist/services/actions/action-adapters.d.ts +22 -0
  517. package/dist/services/actions/index.d.ts +1 -1
  518. package/dist/services/actions.js +23 -6
  519. package/dist/services/actions.js.map +1 -1
  520. package/dist/settings-CQW3b-Cu.js +170 -0
  521. package/dist/settings-CQW3b-Cu.js.map +1 -0
  522. package/dist/sheet-4SEvVYzA.js +210 -0
  523. package/dist/sheet-4SEvVYzA.js.map +1 -0
  524. package/dist/{sidebar-CyR4XKwR.js → sidebar-C7WWR29L.js} +181 -180
  525. package/dist/sidebar-C7WWR29L.js.map +1 -0
  526. package/dist/sidebar-d7Dg80ln.js +511 -0
  527. package/dist/sidebar-d7Dg80ln.js.map +1 -0
  528. package/dist/{skeleton-3F0uhYn3.js → skeleton-Cz890JZF.js} +10 -10
  529. package/dist/skeleton-Cz890JZF.js.map +1 -0
  530. package/dist/smart-card-lFKxn5Hu.js +595 -0
  531. package/dist/smart-card-lFKxn5Hu.js.map +1 -0
  532. package/dist/{spinner-Cpf7oRkF.js → spinner-fa3h1Aif.js} +10 -8
  533. package/dist/spinner-fa3h1Aif.js.map +1 -0
  534. package/dist/{structure-CRdqVawd.js → structure-DC2dygdA.js} +3 -3
  535. package/dist/{structure-CRdqVawd.js.map → structure-DC2dygdA.js.map} +1 -1
  536. package/dist/{structure.recipes-Bqhf9oIh.js → structure.recipes-EPz60cU8.js} +37 -19
  537. package/dist/structure.recipes-EPz60cU8.js.map +1 -0
  538. package/dist/style.css +1 -1
  539. package/dist/surface-recipes-BKRVW8Os.js +43 -0
  540. package/dist/surface-recipes-BKRVW8Os.js.map +1 -0
  541. package/dist/table-CIKyLUsy.js +163 -0
  542. package/dist/table-CIKyLUsy.js.map +1 -0
  543. package/dist/{table-CcRDZiLP.js → table-CrcLN9Io.js} +544 -530
  544. package/dist/table-CrcLN9Io.js.map +1 -0
  545. package/dist/tabs-DwBJfjxX.js +190 -0
  546. package/dist/tabs-DwBJfjxX.js.map +1 -0
  547. package/dist/{text-inputs-DsR56TR-.js → text-inputs-aaK9wcDT.js} +151 -155
  548. package/dist/text-inputs-aaK9wcDT.js.map +1 -0
  549. package/dist/{text.styles-Q4sGAIgA.js → text.styles-g4He6UIW.js} +17 -14
  550. package/dist/text.styles-g4He6UIW.js.map +1 -0
  551. package/dist/theme.css +16 -12
  552. package/dist/themes/green.css +24 -0
  553. package/dist/{timelines-D1pkt3se.js → timelines-C_SBwHNP.js} +154 -164
  554. package/dist/timelines-C_SBwHNP.js.map +1 -0
  555. package/dist/tone-recipes-CPoExcTE.js +70 -0
  556. package/dist/tone-recipes-CPoExcTE.js.map +1 -0
  557. package/dist/tooltip-CsfgrfS7.js +111 -0
  558. package/dist/tooltip-CsfgrfS7.js.map +1 -0
  559. package/dist/track-recipes-CDcKmndW.js +10 -0
  560. package/dist/track-recipes-CDcKmndW.js.map +1 -0
  561. package/dist/{tree-BtmYyMZV.js → tree-BiKhg8AY.js} +72 -70
  562. package/dist/tree-BiKhg8AY.js.map +1 -0
  563. package/dist/typography/rich-text.js +1 -1
  564. package/dist/typography-DTRkE9zL.js +117 -0
  565. package/dist/typography-DTRkE9zL.js.map +1 -0
  566. package/dist/typography.js +2 -2
  567. package/dist/{ui-provider-DRPn3qNl.js → ui-provider-1D_NSYzO.js} +30 -23
  568. package/dist/ui-provider-1D_NSYzO.js.map +1 -0
  569. package/dist/ui-provider.js +3 -3
  570. package/dist/{upload-CDbYw1WN.js → upload-BO8-CLN6.js} +294 -293
  571. package/dist/upload-BO8-CLN6.js.map +1 -0
  572. package/dist/{upload-queue-CNd_hH_a.js → upload-queue-EOC8g1gf.js} +133 -138
  573. package/dist/upload-queue-EOC8g1gf.js.map +1 -0
  574. package/dist/upload.recipes-BbxTqrCT.js +61 -0
  575. package/dist/upload.recipes-BbxTqrCT.js.map +1 -0
  576. package/dist/{usage-card-VyJLUwRr.js → usage-card-obRaBskq.js} +42 -43
  577. package/dist/{usage-card-VyJLUwRr.js.map → usage-card-obRaBskq.js.map} +1 -1
  578. package/dist/{utils-BvH9PSmq.js → utils-l5LpDw2z.js} +264 -62
  579. package/dist/utils-l5LpDw2z.js.map +1 -0
  580. package/dist/value-inputs-TAYMX111.js +947 -0
  581. package/dist/value-inputs-TAYMX111.js.map +1 -0
  582. package/dist/value-typography-b8wpz1eX.js +116 -0
  583. package/dist/value-typography-b8wpz1eX.js.map +1 -0
  584. package/dist/workspace-DH0v0KcB.js +407 -0
  585. package/dist/workspace-DH0v0KcB.js.map +1 -0
  586. package/docs/consumer-skill/SKILL.md +62 -50
  587. package/docs/consumer-skill/examples/app-layout.tsx +3 -5
  588. package/docs/consumer-skill/examples/composition.tsx +3 -3
  589. package/docs/consumer-skill/examples/detail.tsx +59 -13
  590. package/docs/consumer-skill/examples/edit.tsx +2 -2
  591. package/docs/consumer-skill/examples/layout-blocks.tsx +20 -0
  592. package/docs/consumer-skill/examples/manifest.json +28 -6
  593. package/docs/consumer-skill/examples/receipt.tsx +2 -2
  594. package/docs/consumer-skill/examples/scoped-directory.tsx +3 -3
  595. package/docs/consumer-skill/examples/website.tsx +1 -1
  596. package/docs/consumer-skill/references/agents-md.md +33 -0
  597. package/docs/consumer-skill/references/analytics.md +1 -1
  598. package/docs/consumer-skill/references/composition.md +139 -24
  599. package/docs/consumer-skill/references/design-contract.md +12 -3
  600. package/docs/consumer-skill/references/discovery.md +4 -0
  601. package/docs/consumer-skill/references/installation.md +33 -1
  602. package/docs/consumer-skill/references/integration.md +32 -1
  603. package/docs/consumer-skill/references/public-api.json +1051 -610
  604. package/docs/consumer-skill/references/review.md +44 -8
  605. package/docs/consumer-skill/references/theming.md +14 -4
  606. package/docs/consumer-skill/references/tokens.json +5 -2
  607. package/docs/consumer-skill/references/workflows.md +30 -9
  608. package/docs/consumer-skill/scripts/composition-policy.mjs +127 -6
  609. package/docs/consumer-skill/scripts/discovery.mjs +11 -3
  610. package/docs/consumer-skill/scripts/pin-button-defaults.mjs +95 -0
  611. package/docs/consumer-skill/scripts/surface-policy.mjs +139 -5
  612. package/package.json +13 -3
  613. package/dist/accordion-BRTcsp8J.js +0 -205
  614. package/dist/accordion-BRTcsp8J.js.map +0 -1
  615. package/dist/action-menu-Drxw_vJk.js +0 -265
  616. package/dist/action-menu-Drxw_vJk.js.map +0 -1
  617. package/dist/affordance-geometry.generated-CL84ZN9A.js.map +0 -1
  618. package/dist/ai-artifact-DLVdK0Py.js.map +0 -1
  619. package/dist/attachment-DbjUWsP0.js +0 -244
  620. package/dist/attachment-DbjUWsP0.js.map +0 -1
  621. package/dist/auth-CAQcasMV.js.map +0 -1
  622. package/dist/avatar-Bu2HhitA.js.map +0 -1
  623. package/dist/badge-CzId1Wlm.js +0 -92
  624. package/dist/badge-CzId1Wlm.js.map +0 -1
  625. package/dist/breadcrumbs-BuYz5SDU.js +0 -128
  626. package/dist/breadcrumbs-BuYz5SDU.js.map +0 -1
  627. package/dist/button-BZDasD04.js +0 -651
  628. package/dist/button-BZDasD04.js.map +0 -1
  629. package/dist/button-BZyfTvwm.js.map +0 -1
  630. package/dist/buttons-D_6KJvEE.js +0 -99
  631. package/dist/buttons-D_6KJvEE.js.map +0 -1
  632. package/dist/cards-qGSErLw_.js.map +0 -1
  633. package/dist/chart-Bsc5BICK.js.map +0 -1
  634. package/dist/checkbox-BQNDjUCh.js +0 -34
  635. package/dist/checkbox-BQNDjUCh.js.map +0 -1
  636. package/dist/choice-inputs-Mk3iWbhr.js +0 -725
  637. package/dist/choice-inputs-Mk3iWbhr.js.map +0 -1
  638. package/dist/code-block-DzHKRybS.js +0 -183
  639. package/dist/code-block-DzHKRybS.js.map +0 -1
  640. package/dist/combobox-BFnbJJp3.js.map +0 -1
  641. package/dist/combobox-hozNwUcc.js +0 -847
  642. package/dist/combobox-hozNwUcc.js.map +0 -1
  643. package/dist/command-BnmSchli.js.map +0 -1
  644. package/dist/comments-u5L0OGip.js.map +0 -1
  645. package/dist/containers-DqB-bSYE.js.map +0 -1
  646. package/dist/data-display-Bihs9Ven.js +0 -1342
  647. package/dist/data-display-Bihs9Ven.js.map +0 -1
  648. package/dist/date-DOKhJPu7.js +0 -140
  649. package/dist/date-DOKhJPu7.js.map +0 -1
  650. package/dist/date-picker-DzP5HQq7.js +0 -1541
  651. package/dist/date-picker-DzP5HQq7.js.map +0 -1
  652. package/dist/date-pickers-BpgGz7S-.js +0 -196
  653. package/dist/date-pickers-BpgGz7S-.js.map +0 -1
  654. package/dist/display-CS6Hbk18.js.map +0 -1
  655. package/dist/dropdown-menu-D-boNgGO.js.map +0 -1
  656. package/dist/feedback-CJkUAapr.js +0 -233
  657. package/dist/feedback-CJkUAapr.js.map +0 -1
  658. package/dist/field-affordance-recipes-uKY4MsZ_.js +0 -25
  659. package/dist/field-affordance-recipes-uKY4MsZ_.js.map +0 -1
  660. package/dist/field-state-recipes-DQQpiLWC.js +0 -11
  661. package/dist/field-state-recipes-DQQpiLWC.js.map +0 -1
  662. package/dist/filters-D6FF8L6s.js.map +0 -1
  663. package/dist/form-sizing-QP8aIRaW.js +0 -103
  664. package/dist/form-sizing-QP8aIRaW.js.map +0 -1
  665. package/dist/format-iamDSqs2.js +0 -110
  666. package/dist/format-iamDSqs2.js.map +0 -1
  667. package/dist/forms-B5NCbkSC.js.map +0 -1
  668. package/dist/forms-numeric-Crrm80Lm.js +0 -867
  669. package/dist/forms-numeric-Crrm80Lm.js.map +0 -1
  670. package/dist/header-kxruN3RM.js.map +0 -1
  671. package/dist/icon-badge-Btc6pQrp.js +0 -53
  672. package/dist/icon-badge-Btc6pQrp.js.map +0 -1
  673. package/dist/input-SX9V0AL3.js +0 -255
  674. package/dist/input-SX9V0AL3.js.map +0 -1
  675. package/dist/item-DE4YnuJx.js +0 -258
  676. package/dist/item-DE4YnuJx.js.map +0 -1
  677. package/dist/media-gallery-DLp3HAz0.js +0 -201
  678. package/dist/media-gallery-DLp3HAz0.js.map +0 -1
  679. package/dist/mentions-Cl0Kt_Pd.js +0 -565
  680. package/dist/mentions-Cl0Kt_Pd.js.map +0 -1
  681. package/dist/navigation-DnQSNMT0.js +0 -276
  682. package/dist/navigation-DnQSNMT0.js.map +0 -1
  683. package/dist/navigation-DyytsLRB.js +0 -265
  684. package/dist/navigation-DyytsLRB.js.map +0 -1
  685. package/dist/number-DasMFWEG.js +0 -269
  686. package/dist/number-DasMFWEG.js.map +0 -1
  687. package/dist/overlay.recipes-BxW5FIfK.js +0 -6
  688. package/dist/overlay.recipes-BxW5FIfK.js.map +0 -1
  689. package/dist/overlays-DUbs1KEi.js +0 -1011
  690. package/dist/overlays-DUbs1KEi.js.map +0 -1
  691. package/dist/page-hGmT4nWK.js.map +0 -1
  692. package/dist/page-header-D8nERkn5.js +0 -112
  693. package/dist/page-header-D8nERkn5.js.map +0 -1
  694. package/dist/popover-CghIYdQf.js.map +0 -1
  695. package/dist/primitives-C7ff0QaI.js +0 -337
  696. package/dist/primitives-C7ff0QaI.js.map +0 -1
  697. package/dist/progress-BroqrAyV.js.map +0 -1
  698. package/dist/rich-text-DlxDOtf4.js +0 -32
  699. package/dist/rich-text-DlxDOtf4.js.map +0 -1
  700. package/dist/rich-text-editor-BKyG7rWz.js +0 -574
  701. package/dist/rich-text-editor-BKyG7rWz.js.map +0 -1
  702. package/dist/rich-text-editor.recipes-B72Nfuze.js +0 -81
  703. package/dist/rich-text-editor.recipes-B72Nfuze.js.map +0 -1
  704. package/dist/rich-text-editor.strings-BpnIQgMl.js +0 -25
  705. package/dist/rich-text-editor.strings-BpnIQgMl.js.map +0 -1
  706. package/dist/sanitize-html-BG9FGe-j.js +0 -64
  707. package/dist/sanitize-html-BG9FGe-j.js.map +0 -1
  708. package/dist/scroll-area-D-pIhEKl.js +0 -47
  709. package/dist/scroll-area-D-pIhEKl.js.map +0 -1
  710. package/dist/separator-BNIgG3au.js.map +0 -1
  711. package/dist/settings-DOTOzeZ2.js +0 -161
  712. package/dist/settings-DOTOzeZ2.js.map +0 -1
  713. package/dist/sheet-BFhrNehm.js +0 -205
  714. package/dist/sheet-BFhrNehm.js.map +0 -1
  715. package/dist/sidebar-CyR4XKwR.js.map +0 -1
  716. package/dist/sidebar-SvGJ0Zwi.js +0 -506
  717. package/dist/sidebar-SvGJ0Zwi.js.map +0 -1
  718. package/dist/skeleton-3F0uhYn3.js.map +0 -1
  719. package/dist/smart-card-DjGVV2xr.js +0 -584
  720. package/dist/smart-card-DjGVV2xr.js.map +0 -1
  721. package/dist/spinner-Cpf7oRkF.js.map +0 -1
  722. package/dist/structure.recipes-Bqhf9oIh.js.map +0 -1
  723. package/dist/surface-recipes-Dd__PD-w.js +0 -28
  724. package/dist/surface-recipes-Dd__PD-w.js.map +0 -1
  725. package/dist/table-CLtJTxoR.js +0 -147
  726. package/dist/table-CLtJTxoR.js.map +0 -1
  727. package/dist/table-CcRDZiLP.js.map +0 -1
  728. package/dist/tabs-BNgu7g0u.js +0 -188
  729. package/dist/tabs-BNgu7g0u.js.map +0 -1
  730. package/dist/text-inputs-DsR56TR-.js.map +0 -1
  731. package/dist/text.styles-Q4sGAIgA.js.map +0 -1
  732. package/dist/timelines-D1pkt3se.js.map +0 -1
  733. package/dist/track-recipes-LLPNVwFg.js +0 -10
  734. package/dist/track-recipes-LLPNVwFg.js.map +0 -1
  735. package/dist/tree-BtmYyMZV.js.map +0 -1
  736. package/dist/typography-BxQgiZyw.js +0 -96
  737. package/dist/typography-BxQgiZyw.js.map +0 -1
  738. package/dist/ui-provider-DRPn3qNl.js.map +0 -1
  739. package/dist/upload-CDbYw1WN.js.map +0 -1
  740. package/dist/upload-queue-CNd_hH_a.js.map +0 -1
  741. package/dist/use-file-drop-target-BX7GnhoQ.js +0 -39
  742. package/dist/use-file-drop-target-BX7GnhoQ.js.map +0 -1
  743. package/dist/utils-BvH9PSmq.js.map +0 -1
  744. package/dist/value-inputs-D0KCrfVC.js +0 -840
  745. package/dist/value-inputs-D0KCrfVC.js.map +0 -1
  746. package/dist/workspace-CcR8r-Nt.js +0 -395
  747. package/dist/workspace-CcR8r-Nt.js.map +0 -1
  748. /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
@@ -1,35 +1,36 @@
1
1
  "use client";
2
- import { h as e, m as t } from "../ui-provider-DRPn3qNl.js";
2
+ import { g as e, h as t } from "../ui-provider-1D_NSYzO.js";
3
3
  import { COMPONENT_SCALES as n, SEMANTIC_TONES as r } from "../component-vocabulary.js";
4
4
  import { t as i } from "../theme-scope-kStaAer0.js";
5
5
  import { interpolateString as a, useStrings as o } from "../lib/strings.js";
6
- import { t as s } from "../utils-BvH9PSmq.js";
7
- import { a as c, i as l } from "../typography-BxQgiZyw.js";
8
- import { t as u } from "../button-BZDasD04.js";
9
- import { r as d, t as f } from "../structure-CRdqVawd.js";
10
- import { _ as p, g as m, h as ee, p as te, t as ne, v as re } from "../smart-card-DjGVV2xr.js";
11
- import { i as ie, l as ae, r as oe } from "../overlays-DUbs1KEi.js";
12
- import { m as se } from "../primitives-C7ff0QaI.js";
13
- import { t as ce } from "../accordion-BRTcsp8J.js";
14
- import { t as h } from "../badge-CzId1Wlm.js";
15
- import { t as g } from "../input-SX9V0AL3.js";
16
- import { d as le } from "../text-inputs-DsR56TR-.js";
17
- import { a as _, c as v } from "../choice-inputs-Mk3iWbhr.js";
18
- import { t as y } from "../form-field-CZwrkP7m.js";
19
- import { i as ue, n as de } from "../value-inputs-D0KCrfVC.js";
20
- import { d as fe } from "../forms-numeric-Crrm80Lm.js";
21
- import { t as pe } from "../item-DE4YnuJx.js";
22
- import { i as me, r as he, t as ge } from "../tabs-BNgu7g0u.js";
23
- import { forwardRef as b, useEffect as _e, useId as x, useImperativeHandle as ve, useMemo as S, useRef as ye, useState as C } from "react";
24
- import { jsx as w, jsxs as T } from "react/jsx-runtime";
25
- import { CheckCircle2 as be, Copy as E, Download as xe, Info as Se, LayoutGrid as Ce, Moon as we, Palette as D, RotateCcw as Te, Search as Ee, Settings2 as De, Shapes as Oe, ShieldCheck as O, Sun as ke, Type as Ae } from "lucide-react";
6
+ import { t as s } from "../utils-l5LpDw2z.js";
7
+ import { n as c } from "../buttons-SbIcm1HJ.js";
8
+ import { o as l, s as u } from "../typography-DTRkE9zL.js";
9
+ import { t as d } from "../focus-recipes-B653VaLq.js";
10
+ import { r as f, t as p } from "../structure-DC2dygdA.js";
11
+ import { _ as m, g as ee, h, p as te, t as ne, v as g } from "../smart-card-lFKxn5Hu.js";
12
+ import { i as re, r as ie } from "../overlays-I0axtYA6.js";
13
+ import { m as ae } from "../primitives-B-CkiEMU.js";
14
+ import { t as oe } from "../accordion-B6a3vVgA.js";
15
+ import { t as _ } from "../badge-MrKVNzW9.js";
16
+ import { t as v } from "../input-DWhBBBww.js";
17
+ import { t as y } from "../form-field-DUt4UxSV.js";
18
+ import { d as se } from "../text-inputs-aaK9wcDT.js";
19
+ import { a as b, l as x } from "../choice-inputs-t6w3ATNz.js";
20
+ import { i as ce, n as S } from "../value-inputs-TAYMX111.js";
21
+ import { d as le } from "../forms-numeric-C0bvjRPZ.js";
22
+ import { t as ue } from "../item-DEmDiTlD.js";
23
+ import { i as de, r as fe, t as pe } from "../tabs-DwBJfjxX.js";
24
+ import { forwardRef as C, useEffect as me, useId as he, useImperativeHandle as ge, useMemo as w, useRef as _e, useState as T } from "react";
25
+ import { jsx as E, jsxs as D } from "react/jsx-runtime";
26
+ import { CheckCircle2 as ve, Copy as ye, Download as be, Info as xe, LayoutGrid as Se, Moon as Ce, Palette as we, RotateCcw as Te, Search as Ee, Settings2 as O, Shapes as De, ShieldCheck as Oe, Sun as ke, Type as k } from "lucide-react";
26
27
  //#region src/components/features/theme-tweaker/theme-tweaker.utils.ts
27
- var je = {
28
+ var Ae = {
28
29
  shared: ":root",
29
30
  light: ":root,\n.light",
30
31
  dark: ".dark"
31
- }, k = /^--[a-z][a-z0-9-]*$/i, Me = /[;{}]/, Ne = /[;{}]/;
32
- function A(e = {}) {
32
+ }, je = /^--[a-z][a-z0-9-]*$/i, Me = /[;{}]/, A = /[;{}]/;
33
+ function j(e = {}) {
33
34
  return {
34
35
  mode: e.mode ?? "light",
35
36
  shared: { ...e.shared },
@@ -37,12 +38,12 @@ function A(e = {}) {
37
38
  dark: { ...e.dark }
38
39
  };
39
40
  }
40
- function j(e) {
41
- return k.test(e);
41
+ function Ne(e) {
42
+ return je.test(e);
42
43
  }
43
44
  function M(e, t = !0) {
44
45
  return Object.entries(e).filter((e) => typeof e[1] == "string" && e[1].trim().length > 0).flatMap(([e, n]) => {
45
- if (!j(e)) {
46
+ if (!Ne(e)) {
46
47
  if (!t) return [];
47
48
  throw TypeError(`Invalid CSS variable name: ${e}`);
48
49
  }
@@ -59,7 +60,7 @@ function M(e, t = !0) {
59
60
  }
60
61
  function N(e, t) {
61
62
  let n = e.trim();
62
- if (n.length === 0 || Ne.test(n)) throw TypeError(`Invalid ${t} theme selector.`);
63
+ if (n.length === 0 || A.test(n)) throw TypeError(`Invalid ${t} theme selector.`);
63
64
  return n;
64
65
  }
65
66
  function P(e, t) {
@@ -71,7 +72,7 @@ function P(e, t) {
71
72
  ].join("\n");
72
73
  }
73
74
  function F(e, t = {}) {
74
- let n = t.selectors ?? je, r = [
75
+ let n = t.selectors ?? Ae, r = [
75
76
  P(N(n.shared, "shared"), e.shared),
76
77
  P(N(n.light, "light"), e.light),
77
78
  P(N(n.dark, "dark"), e.dark)
@@ -110,7 +111,7 @@ function Ie(e) {
110
111
  };
111
112
  }
112
113
  function Le(e, t = "admin-ui-theme.css", n = {}, r = {}) {
113
- let i = A(r.resolvedTheme ?? e), a = I(r.providerConfig);
114
+ let i = j(r.resolvedTheme ?? e), a = I(r.providerConfig);
114
115
  return {
115
116
  fileName: t,
116
117
  cssText: F(i, {
@@ -118,7 +119,7 @@ function Le(e, t = "admin-ui-theme.css", n = {}, r = {}) {
118
119
  banner: n.banner ?? "themelia-react-ui complete theme"
119
120
  }),
120
121
  overrideCssText: F(e, n),
121
- theme: A(e),
122
+ theme: j(e),
122
123
  resolvedTheme: i,
123
124
  overrideCount: Fe(e),
124
125
  providerFileName: r.providerFileName ?? "admin-ui.config.ts",
@@ -140,8 +141,8 @@ function ze({ fileName: e, text: t, mimeType: n = "text/plain;charset=utf-8" })
140
141
  }
141
142
  //#endregion
142
143
  //#region src/components/features/theme-tweaker/theme-scope.tsx
143
- var z = b(function({ theme: e, mode: t = e.mode, className: n, style: r, children: a, ...o }, c) {
144
- return /* @__PURE__ */ w(i, {
144
+ var z = C(function({ theme: e, mode: t = e.mode, className: n, style: r, children: a, ...o }, c) {
145
+ return /* @__PURE__ */ E(i, {
145
146
  ...o,
146
147
  ref: c,
147
148
  "data-theme-mode": t,
@@ -160,7 +161,7 @@ function Be(e, t) {
160
161
  return e === null ? null : e === "self" ? t.current : e === "document" ? typeof document > "u" ? null : document.documentElement : typeof e == "function" ? e() : e;
161
162
  }
162
163
  function Ve({ apply: e, manageModeClass: t, selfRef: n, target: r, theme: i }) {
163
- _e(() => {
164
+ me(() => {
164
165
  if (!e || r === "self") return;
165
166
  let a = Be(r, n);
166
167
  if (!a) return;
@@ -188,35 +189,35 @@ function Ve({ apply: e, manageModeClass: t, selfRef: n, target: r, theme: i }) {
188
189
  }
189
190
  //#endregion
190
191
  //#region src/components/features/theme-tweaker/admin-ui-theme-provider.tsx
191
- var B = b(function({ config: n, theme: r, mode: i = r.mode, target: a = "document", manageModeClass: o = !0, className: c, children: l, ...u }, d) {
192
- let f = ye(null);
193
- ve(d, () => f.current);
194
- let p = S(() => A({
195
- ...r,
196
- mode: i
197
- }), [i, r]), m = S(() => e(n), [n]);
192
+ var He = C(function({ config: e, theme: n, mode: r = n.mode, target: i = "document", manageModeClass: a = !0, className: o, children: c, ...l }, u) {
193
+ let d = _e(null);
194
+ ge(u, () => d.current);
195
+ let f = w(() => j({
196
+ ...n,
197
+ mode: r
198
+ }), [r, n]);
198
199
  return Ve({
199
- apply: a === "document",
200
- manageModeClass: o,
201
- selfRef: f,
202
- target: a,
203
- theme: p
204
- }), /* @__PURE__ */ w(t, {
205
- config: m,
206
- children: /* @__PURE__ */ w(z, {
207
- ...u,
208
- ref: f,
209
- theme: p,
210
- mode: i,
211
- className: s("admin-ui-theme-provider--component bg-background text-foreground", c),
212
- children: l
200
+ apply: i === "document",
201
+ manageModeClass: a,
202
+ selfRef: d,
203
+ target: i,
204
+ theme: f
205
+ }), /* @__PURE__ */ E(t, {
206
+ config: e,
207
+ children: /* @__PURE__ */ E(z, {
208
+ ...l,
209
+ ref: d,
210
+ theme: f,
211
+ mode: r,
212
+ className: s("admin-ui-theme-provider--component bg-background text-foreground", o),
213
+ children: c
213
214
  })
214
215
  });
215
216
  });
216
- B.displayName = "AdminUIThemeProvider";
217
+ He.displayName = "AdminUIThemeProvider";
217
218
  //#endregion
218
219
  //#region src/components/features/theme-tweaker/theme-tweaker.fields.ts
219
- var V = /* @__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("."), He = [
220
+ var B = /* @__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("."), V = [
220
221
  "--success",
221
222
  "--success-foreground",
222
223
  "--info",
@@ -235,12 +236,12 @@ var V = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
235
236
  "--inverse-surface-strong",
236
237
  "--inverse-border",
237
238
  "--inverse-decoration"
238
- ], Ue = ["--overlay-backdrop"], We = [
239
+ ], H = ["--overlay-backdrop"], U = [
239
240
  "--font-heading",
240
241
  "--font-sans",
241
242
  "--font-serif",
242
243
  "--font-mono"
243
- ], H = [
244
+ ], Ue = [
244
245
  "xxs",
245
246
  "xs",
246
247
  "pxs",
@@ -256,7 +257,7 @@ var V = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
256
257
  "7xl",
257
258
  "8xl",
258
259
  "9xl"
259
- ].flatMap((e) => [`--text-${e}`, `--text-${e}--line-height`]), Ge = [
260
+ ].flatMap((e) => [`--text-${e}`, `--text-${e}--line-height`]), We = [
260
261
  "--shadow-2xs",
261
262
  "--shadow-xs",
262
263
  "--shadow-sm",
@@ -265,7 +266,7 @@ var V = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
265
266
  "--shadow-lg",
266
267
  "--shadow-xl",
267
268
  "--shadow-2xl"
268
- ], U = [
269
+ ], W = [
269
270
  "--space-scale",
270
271
  "--density-scale",
271
272
  "--height-action",
@@ -279,7 +280,7 @@ var V = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
279
280
  "--avatar",
280
281
  "--shell-header-height",
281
282
  "--shell-sidebar-width"
282
- ], W = [
283
+ ], G = [
283
284
  "--content-width-sm",
284
285
  "--content-width-md",
285
286
  "--content-width-lg",
@@ -288,7 +289,7 @@ var V = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
288
289
  "--adaptive-grid-min-sm",
289
290
  "--adaptive-grid-min-md",
290
291
  "--adaptive-grid-min-lg"
291
- ], G = {
292
+ ], Ge = {
292
293
  "--background": "Application canvas and default page background.",
293
294
  "--foreground": "Primary text and icon color on the application canvas.",
294
295
  "--primary": "Brand and primary-action color.",
@@ -325,7 +326,7 @@ var V = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
325
326
  "--adaptive-grid-min-sm": "Compact minimum peer width used by AdaptiveGrid.",
326
327
  "--adaptive-grid-min-md": "Default minimum peer width used by AdaptiveGrid.",
327
328
  "--adaptive-grid-min-lg": "Spacious minimum peer width used by AdaptiveGrid."
328
- }, K = {
329
+ }, Ke = {
329
330
  "--space-scale": "Spacing scale",
330
331
  "--density-scale": "Density scale",
331
332
  "--height-action": "Action height",
@@ -349,7 +350,7 @@ var V = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
349
350
  "--adaptive-grid-min-sm": "Compact adaptive column",
350
351
  "--adaptive-grid-min-md": "Default adaptive column",
351
352
  "--adaptive-grid-min-lg": "Spacious adaptive column"
352
- }, Ke = {
353
+ }, qe = {
353
354
  "--radius": {
354
355
  type: "range",
355
356
  min: 0,
@@ -541,48 +542,48 @@ var V = /* @__PURE__ */ "--background.--foreground.--card.--card-foreground.--po
541
542
  decimalPlaces: 1
542
543
  }
543
544
  };
544
- function qe(e) {
545
+ function K(e) {
545
546
  return e.replace(/^--/, "").replace(/--/g, " · ").split("-").map((e) => e.length <= 3 ? e.toUpperCase() : `${e[0].toUpperCase()}${e.slice(1)}`).join(" ");
546
547
  }
547
- function Je(e, t) {
548
+ function q(e, t) {
548
549
  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.";
549
550
  }
550
- function q(e, t, n, r, i) {
551
+ function J(e, t, n, r, i) {
551
552
  return e.map((e) => ({
552
553
  name: e,
553
- label: K[e] ?? qe(e),
554
- description: G[e] ?? Je(e, t),
554
+ label: Ke[e] ?? K(e),
555
+ description: Ge[e] ?? q(e, t),
555
556
  group: t,
556
557
  section: n,
557
558
  scope: r,
558
559
  kind: i,
559
- control: Ke[e]
560
+ control: qe[e]
560
561
  }));
561
562
  }
562
- var Ye = [
563
- ...q(V.slice(0, 6), "colors", "surfaces-content", "mode", "color"),
564
- ...q(Ue, "colors", "surfaces-content", "shared", "color"),
565
- ...q(V.slice(6, 19), "colors", "brand-actions", "mode", "color"),
566
- ...q(V.slice(19, 24), "colors", "charts", "mode", "color"),
567
- ...q(V.slice(24), "colors", "sidebar", "mode", "color"),
568
- ...q(He.slice(0, 7), "states", "semantic-feedback", "mode", "color"),
569
- ...q(He.slice(7), "states", "inverse-surfaces", "mode", "color"),
570
- ...q(We, "typography", "font-families", "shared", "font"),
571
- ...q(H, "typography", "type-scale", "shared", "length"),
572
- ...q(["--radius"], "shape", "radius", "shared", "length"),
573
- ...q(Ge, "shape", "elevation", "mode", "shadow"),
574
- ...q(U.slice(0, 2), "structure", "global-scales", "shared", "length"),
575
- ...q(U.slice(2, 5), "structure", "actions-controls", "shared", "length"),
576
- ...q(["--gap-normal", "--gap-dense"], "structure", "rows-surfaces", "shared", "length"),
577
- ...q(U.slice(5, 9), "structure", "rows-surfaces", "shared", "length"),
578
- ...q(U.slice(9, 11), "structure", "media", "shared", "length"),
579
- ...q(U.slice(11), "structure", "application-shell", "shared", "length"),
580
- ...q(W.slice(0, 5), "structure", "content-widths", "shared", "length"),
581
- ...q(W.slice(5), "structure", "adaptive-layout", "shared", "length")
563
+ var Je = [
564
+ ...J(B.slice(0, 6), "colors", "surfaces-content", "mode", "color"),
565
+ ...J(H, "colors", "surfaces-content", "shared", "color"),
566
+ ...J(B.slice(6, 19), "colors", "brand-actions", "mode", "color"),
567
+ ...J(B.slice(19, 24), "colors", "charts", "mode", "color"),
568
+ ...J(B.slice(24), "colors", "sidebar", "mode", "color"),
569
+ ...J(V.slice(0, 7), "states", "semantic-feedback", "mode", "color"),
570
+ ...J(V.slice(7), "states", "inverse-surfaces", "mode", "color"),
571
+ ...J(U, "typography", "font-families", "shared", "font"),
572
+ ...J(Ue, "typography", "type-scale", "shared", "length"),
573
+ ...J(["--radius"], "shape", "radius", "shared", "length"),
574
+ ...J(We, "shape", "elevation", "mode", "shadow"),
575
+ ...J(W.slice(0, 2), "structure", "global-scales", "shared", "length"),
576
+ ...J(W.slice(2, 5), "structure", "actions-controls", "shared", "length"),
577
+ ...J(["--gap-normal", "--gap-dense"], "structure", "rows-surfaces", "shared", "length"),
578
+ ...J(W.slice(5, 9), "structure", "rows-surfaces", "shared", "length"),
579
+ ...J(W.slice(9, 11), "structure", "media", "shared", "length"),
580
+ ...J(W.slice(11), "structure", "application-shell", "shared", "length"),
581
+ ...J(G.slice(0, 5), "structure", "content-widths", "shared", "length"),
582
+ ...J(G.slice(5), "structure", "adaptive-layout", "shared", "length")
582
583
  ].map((e) => e.name === "--space-scale" || e.name === "--density-scale" ? {
583
584
  ...e,
584
585
  kind: "number"
585
- } : e), J = {
586
+ } : e), Y = {
586
587
  title: "Application defaults",
587
588
  description: "Configure the stable display behavior that accompanies the exported CSS theme.",
588
589
  boundaryTitle: "Root provider recipe",
@@ -695,14 +696,14 @@ var Ye = [
695
696
  xl: "XL"
696
697
  }
697
698
  };
698
- function Y(e, t) {
699
+ function X(e, t) {
699
700
  return e.map((e) => ({
700
701
  value: e,
701
702
  label: t.options[e] ?? e.replaceAll("_", " ").replace(/\b\w/g, (e) => e.toUpperCase())
702
703
  }));
703
704
  }
704
- function Xe({ config: e, onChange: t, strings: i = J }) {
705
- let a = I(e), o = Y(n, i), s = [
705
+ function Ye({ config: e, onChange: t, strings: i = Y }) {
706
+ let a = I(e), o = X(n, i), s = [
706
707
  "sunday",
707
708
  "monday",
708
709
  "tuesday",
@@ -713,7 +714,7 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
713
714
  ].map((e, t) => ({
714
715
  value: String(t),
715
716
  label: i.options[e]
716
- })), l = (e, n, r) => {
717
+ })), c = (e, n, r) => {
717
718
  t({
718
719
  ...a,
719
720
  [e]: {
@@ -722,50 +723,50 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
722
723
  }
723
724
  });
724
725
  };
725
- return /* @__PURE__ */ T(f, {
726
+ return /* @__PURE__ */ D(p, {
726
727
  gap: "lg",
727
728
  className: "theme-tweaker--provider-settings",
728
729
  children: [
729
- /* @__PURE__ */ T(f, {
730
+ /* @__PURE__ */ D(p, {
730
731
  gap: "normal",
731
- children: [/* @__PURE__ */ w(c, {
732
+ children: [/* @__PURE__ */ E(u, {
732
733
  weight: "semibold",
733
734
  children: i.title
734
- }), /* @__PURE__ */ w(c, {
735
+ }), /* @__PURE__ */ E(u, {
735
736
  size: "xs",
736
737
  type: "secondary",
737
738
  children: i.description
738
739
  })]
739
740
  }),
740
- /* @__PURE__ */ T(te, {
741
+ /* @__PURE__ */ D(te, {
741
742
  tone: "info",
742
743
  role: "note",
743
744
  className: "theme-tweaker--provider-boundary",
744
745
  children: [
745
- /* @__PURE__ */ w(Se, { "aria-hidden": "true" }),
746
- /* @__PURE__ */ w(re, { children: i.boundaryTitle }),
747
- /* @__PURE__ */ w(ee, { children: i.boundaryDescription }),
748
- /* @__PURE__ */ T(m, { children: [
749
- /* @__PURE__ */ w(p, {
746
+ /* @__PURE__ */ E(xe, { "aria-hidden": "true" }),
747
+ /* @__PURE__ */ E(g, { children: i.boundaryTitle }),
748
+ /* @__PURE__ */ E(h, { children: i.boundaryDescription }),
749
+ /* @__PURE__ */ D(ee, { children: [
750
+ /* @__PURE__ */ E(m, {
750
751
  label: i.summary.locale,
751
752
  value: a.formatting?.locale ?? i.options.default
752
753
  }),
753
- /* @__PURE__ */ w(p, {
754
+ /* @__PURE__ */ E(m, {
754
755
  label: i.summary.currency,
755
756
  value: a.money?.defaultCurrency ?? i.options.default
756
757
  }),
757
- /* @__PURE__ */ w(p, {
758
+ /* @__PURE__ */ E(m, {
758
759
  label: i.summary.controls,
759
760
  value: i.options[a.density?.defaultScale ?? "md"] ?? a.density?.defaultScale ?? i.options.md
760
761
  }),
761
- /* @__PURE__ */ w(p, {
762
+ /* @__PURE__ */ E(m, {
762
763
  label: i.summary.cards,
763
764
  value: i.options[a.card?.defaultSurface ?? "card"] ?? a.card?.defaultSurface ?? i.options.default
764
765
  })
765
766
  ] })
766
767
  ]
767
768
  }),
768
- /* @__PURE__ */ w(ce, {
769
+ /* @__PURE__ */ E(oe, {
769
770
  multiple: !0,
770
771
  defaultValue: ["regional"],
771
772
  variant: "bordered",
@@ -776,57 +777,57 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
776
777
  value: "regional",
777
778
  title: i.sections.regional.title,
778
779
  description: i.sections.regional.description,
779
- content: /* @__PURE__ */ T("div", {
780
+ content: /* @__PURE__ */ D("div", {
780
781
  className: "grid min-w-0 grid-cols-1 gap-space-md @2xl/theme-tweaker-controls:grid-cols-2",
781
782
  children: [
782
- /* @__PURE__ */ w(y, {
783
+ /* @__PURE__ */ E(y, {
783
784
  label: i.labels.locale,
784
- children: /* @__PURE__ */ w(g, {
785
+ children: /* @__PURE__ */ E(v, {
785
786
  value: a.formatting?.locale ?? "",
786
- onChange: (e) => l("formatting", "locale", e.target.value)
787
+ onChange: (e) => c("formatting", "locale", e.target.value)
787
788
  })
788
789
  }),
789
- /* @__PURE__ */ w(y, {
790
+ /* @__PURE__ */ E(y, {
790
791
  label: i.labels.defaultCurrency,
791
- children: /* @__PURE__ */ w(g, {
792
+ children: /* @__PURE__ */ E(v, {
792
793
  value: a.money?.defaultCurrency ?? "",
793
- onChange: (e) => l("money", "defaultCurrency", e.target.value.toUpperCase())
794
+ onChange: (e) => c("money", "defaultCurrency", e.target.value.toUpperCase())
794
795
  })
795
796
  }),
796
- /* @__PURE__ */ w(y, {
797
+ /* @__PURE__ */ E(y, {
797
798
  label: i.labels.displayCurrency,
798
- children: /* @__PURE__ */ w(g, {
799
+ children: /* @__PURE__ */ E(v, {
799
800
  value: a.money?.displayCurrency ?? "",
800
801
  placeholder: i.displayCurrencyPlaceholder,
801
- onChange: (e) => l("money", "displayCurrency", e.target.value.toUpperCase() || void 0)
802
+ onChange: (e) => c("money", "displayCurrency", e.target.value.toUpperCase() || void 0)
802
803
  })
803
804
  }),
804
- /* @__PURE__ */ w(y, {
805
+ /* @__PURE__ */ E(y, {
805
806
  label: i.labels.moneyFormat,
806
- children: /* @__PURE__ */ w(v, {
807
+ children: /* @__PURE__ */ E(x, {
807
808
  value: a.money?.formatMode,
808
- options: Y([
809
+ options: X([
809
810
  "decimal",
810
811
  "with_code",
811
812
  "with_symbol",
812
813
  "locale_aware"
813
814
  ], i),
814
- onValueChange: (e) => l("money", "formatMode", e)
815
+ onValueChange: (e) => c("money", "formatMode", e)
815
816
  })
816
817
  }),
817
- /* @__PURE__ */ w(y, {
818
+ /* @__PURE__ */ E(y, {
818
819
  label: i.labels.firstDay,
819
- children: /* @__PURE__ */ w(v, {
820
+ children: /* @__PURE__ */ E(x, {
820
821
  value: String(a.dates?.weekStartsOn ?? 1),
821
822
  options: s,
822
- onValueChange: (e) => l("dates", "weekStartsOn", Number(e))
823
+ onValueChange: (e) => c("dates", "weekStartsOn", Number(e))
823
824
  })
824
825
  }),
825
- /* @__PURE__ */ w(y, {
826
+ /* @__PURE__ */ E(y, {
826
827
  label: i.labels.dateFormat,
827
- children: /* @__PURE__ */ w(g, {
828
+ children: /* @__PURE__ */ E(v, {
828
829
  value: a.dates?.format ?? "",
829
- onChange: (e) => l("dates", "format", e.target.value)
830
+ onChange: (e) => c("dates", "format", e.target.value)
830
831
  })
831
832
  })
832
833
  ]
@@ -836,14 +837,14 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
836
837
  value: "content",
837
838
  title: i.sections.content.title,
838
839
  description: i.sections.content.description,
839
- content: /* @__PURE__ */ T("div", {
840
+ content: /* @__PURE__ */ D("div", {
840
841
  className: "grid min-w-0 grid-cols-1 gap-space-md @2xl/theme-tweaker-controls:grid-cols-2",
841
842
  children: [
842
- /* @__PURE__ */ w(y, {
843
+ /* @__PURE__ */ E(y, {
843
844
  label: i.labels.textSize,
844
- children: /* @__PURE__ */ w(v, {
845
+ children: /* @__PURE__ */ E(x, {
845
846
  value: a.typography?.defaultTextSize,
846
- options: Y([
847
+ options: X([
847
848
  "xxs",
848
849
  "xs",
849
850
  "pxs",
@@ -852,41 +853,41 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
852
853
  "lg",
853
854
  "xl"
854
855
  ], i),
855
- onValueChange: (e) => l("typography", "defaultTextSize", e)
856
+ onValueChange: (e) => c("typography", "defaultTextSize", e)
856
857
  })
857
858
  }),
858
- /* @__PURE__ */ w(y, {
859
+ /* @__PURE__ */ E(y, {
859
860
  label: i.labels.commentComposer,
860
- children: /* @__PURE__ */ w(v, {
861
+ children: /* @__PURE__ */ E(x, {
861
862
  value: a.comments?.composerPosition,
862
- options: Y(["top", "bottom"], i),
863
- onValueChange: (e) => l("comments", "composerPosition", e)
863
+ options: X(["top", "bottom"], i),
864
+ onValueChange: (e) => c("comments", "composerPosition", e)
864
865
  })
865
866
  }),
866
- /* @__PURE__ */ w(_, {
867
+ /* @__PURE__ */ E(b, {
867
868
  label: i.labels.dualPricing,
868
869
  description: i.dualPricingDescription,
869
870
  value: a.money?.dualPricingEnabled ?? !1,
870
- onValueChange: (e) => l("money", "dualPricingEnabled", e)
871
+ onValueChange: (e) => c("money", "dualPricingEnabled", e)
871
872
  }),
872
- /* @__PURE__ */ w(y, {
873
+ /* @__PURE__ */ E(y, {
873
874
  label: i.labels.dualPricingMode,
874
- children: /* @__PURE__ */ w(v, {
875
+ children: /* @__PURE__ */ E(x, {
875
876
  value: a.money?.displayMode,
876
- options: Y([
877
+ options: X([
877
878
  "default_only",
878
879
  "dual",
879
880
  "dynamic"
880
881
  ], i),
881
- onValueChange: (e) => l("money", "displayMode", e)
882
+ onValueChange: (e) => c("money", "displayMode", e)
882
883
  })
883
884
  }),
884
- /* @__PURE__ */ w(y, {
885
+ /* @__PURE__ */ E(y, {
885
886
  label: i.labels.dualPricingLayout,
886
- children: /* @__PURE__ */ w(v, {
887
+ children: /* @__PURE__ */ E(x, {
887
888
  value: a.money?.dualPricingDisplay,
888
- options: Y(["inline", "lines"], i),
889
- onValueChange: (e) => l("money", "dualPricingDisplay", e)
889
+ options: X(["inline", "lines"], i),
890
+ onValueChange: (e) => c("money", "dualPricingDisplay", e)
890
891
  })
891
892
  })
892
893
  ]
@@ -896,90 +897,90 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
896
897
  value: "components",
897
898
  title: i.sections.components.title,
898
899
  description: i.sections.components.description,
899
- content: /* @__PURE__ */ T("div", {
900
+ content: /* @__PURE__ */ D("div", {
900
901
  className: "grid min-w-0 grid-cols-1 gap-space-md @2xl/theme-tweaker-controls:grid-cols-2",
901
902
  children: [
902
- /* @__PURE__ */ w(y, {
903
+ /* @__PURE__ */ E(y, {
903
904
  label: i.labels.componentScale,
904
- children: /* @__PURE__ */ w(v, {
905
+ children: /* @__PURE__ */ E(x, {
905
906
  value: a.density?.defaultScale,
906
907
  options: o,
907
- onValueChange: (e) => l("density", "defaultScale", e)
908
+ onValueChange: (e) => c("density", "defaultScale", e)
908
909
  })
909
910
  }),
910
- /* @__PURE__ */ w(y, {
911
+ /* @__PURE__ */ E(y, {
911
912
  label: i.labels.itemVariant,
912
- children: /* @__PURE__ */ w(v, {
913
+ children: /* @__PURE__ */ E(x, {
913
914
  value: a.item?.defaultVariant,
914
- options: Y([
915
+ options: X([
915
916
  "default",
916
917
  "outline",
917
918
  "muted"
918
919
  ], i),
919
- onValueChange: (e) => l("item", "defaultVariant", e)
920
+ onValueChange: (e) => c("item", "defaultVariant", e)
920
921
  })
921
922
  }),
922
- /* @__PURE__ */ w(y, {
923
+ /* @__PURE__ */ E(y, {
923
924
  label: i.labels.buttonTone,
924
- children: /* @__PURE__ */ w(v, {
925
+ children: /* @__PURE__ */ E(x, {
925
926
  value: a.button?.defaultTone,
926
- options: Y(r, i),
927
- onValueChange: (e) => l("button", "defaultTone", e)
927
+ options: X(r, i),
928
+ onValueChange: (e) => c("button", "defaultTone", e)
928
929
  })
929
930
  }),
930
- /* @__PURE__ */ w(y, {
931
+ /* @__PURE__ */ E(y, {
931
932
  label: i.labels.buttonStyle,
932
- children: /* @__PURE__ */ w(v, {
933
+ children: /* @__PURE__ */ E(x, {
933
934
  value: a.button?.defaultButtonStyle,
934
- options: Y([
935
+ options: X([
935
936
  "solid",
936
937
  "outline",
937
938
  "ghost"
938
939
  ], i),
939
- onValueChange: (e) => l("button", "defaultButtonStyle", e)
940
+ onValueChange: (e) => c("button", "defaultButtonStyle", e)
940
941
  })
941
942
  }),
942
- /* @__PURE__ */ w(y, {
943
+ /* @__PURE__ */ E(y, {
943
944
  label: i.labels.badgeTone,
944
- children: /* @__PURE__ */ w(v, {
945
+ children: /* @__PURE__ */ E(x, {
945
946
  value: a.badge?.defaultTone,
946
- options: Y(r, i),
947
- onValueChange: (e) => l("badge", "defaultTone", e)
947
+ options: X(r, i),
948
+ onValueChange: (e) => c("badge", "defaultTone", e)
948
949
  })
949
950
  }),
950
- /* @__PURE__ */ w(y, {
951
+ /* @__PURE__ */ E(y, {
951
952
  label: i.labels.cardSurface,
952
- children: /* @__PURE__ */ w(v, {
953
+ children: /* @__PURE__ */ E(x, {
953
954
  value: a.card?.defaultSurface,
954
- options: Y([
955
+ options: X([
955
956
  "card",
956
957
  "flat",
957
958
  "framed"
958
959
  ], i),
959
- onValueChange: (e) => l("card", "defaultSurface", e)
960
+ onValueChange: (e) => c("card", "defaultSurface", e)
960
961
  })
961
962
  }),
962
- /* @__PURE__ */ w(y, {
963
+ /* @__PURE__ */ E(y, {
963
964
  label: i.labels.spinner,
964
- children: /* @__PURE__ */ w(v, {
965
+ children: /* @__PURE__ */ E(x, {
965
966
  value: a.spinner?.defaultVariant,
966
- options: Y([
967
+ options: X([
967
968
  "default",
968
969
  "shimmer",
969
970
  "progress"
970
971
  ], i),
971
- onValueChange: (e) => l("spinner", "defaultVariant", e)
972
+ onValueChange: (e) => c("spinner", "defaultVariant", e)
972
973
  })
973
974
  }),
974
- /* @__PURE__ */ w(_, {
975
+ /* @__PURE__ */ E(b, {
975
976
  label: i.labels.cardDivider,
976
977
  value: a.card?.defaultHeaderDivider ?? !1,
977
- onValueChange: (e) => l("card", "defaultHeaderDivider", e)
978
+ onValueChange: (e) => c("card", "defaultHeaderDivider", e)
978
979
  }),
979
- /* @__PURE__ */ w(_, {
980
- label: i.labels.cardFooterDivider ?? J.labels.cardFooterDivider,
980
+ /* @__PURE__ */ E(b, {
981
+ label: i.labels.cardFooterDivider ?? Y.labels.cardFooterDivider,
981
982
  value: a.card?.defaultFooterDivider ?? !1,
982
- onValueChange: (e) => l("card", "defaultFooterDivider", e)
983
+ onValueChange: (e) => c("card", "defaultFooterDivider", e)
983
984
  })
984
985
  ]
985
986
  })
@@ -988,14 +989,14 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
988
989
  value: "toasts",
989
990
  title: i.sections.toasts.title,
990
991
  description: i.sections.toasts.description,
991
- content: /* @__PURE__ */ T("div", {
992
+ content: /* @__PURE__ */ D("div", {
992
993
  className: "grid min-w-0 grid-cols-1 gap-space-md @2xl/theme-tweaker-controls:grid-cols-2",
993
994
  children: [
994
- /* @__PURE__ */ w(y, {
995
+ /* @__PURE__ */ E(y, {
995
996
  label: i.labels.toastPosition,
996
- children: /* @__PURE__ */ w(v, {
997
+ children: /* @__PURE__ */ E(x, {
997
998
  value: a.toast?.position,
998
- options: Y([
999
+ options: X([
999
1000
  "top-right",
1000
1001
  "top-left",
1001
1002
  "top-center",
@@ -1003,50 +1004,50 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
1003
1004
  "bottom-left",
1004
1005
  "bottom-center"
1005
1006
  ], i),
1006
- onValueChange: (e) => l("toast", "position", e)
1007
+ onValueChange: (e) => c("toast", "position", e)
1007
1008
  })
1008
1009
  }),
1009
- /* @__PURE__ */ w(y, {
1010
+ /* @__PURE__ */ E(y, {
1010
1011
  label: i.labels.toastTheme,
1011
- children: /* @__PURE__ */ w(v, {
1012
+ children: /* @__PURE__ */ E(x, {
1012
1013
  value: a.toast?.theme,
1013
- options: Y([
1014
+ options: X([
1014
1015
  "light",
1015
1016
  "dark",
1016
1017
  "system"
1017
1018
  ], i),
1018
- onValueChange: (e) => l("toast", "theme", e)
1019
+ onValueChange: (e) => c("toast", "theme", e)
1019
1020
  })
1020
1021
  }),
1021
- /* @__PURE__ */ w(y, {
1022
+ /* @__PURE__ */ E(y, {
1022
1023
  label: i.labels.toastDuration,
1023
- children: /* @__PURE__ */ w(g, {
1024
+ children: /* @__PURE__ */ E(v, {
1024
1025
  type: "number",
1025
1026
  min: 1e3,
1026
1027
  step: 500,
1027
1028
  value: String(a.toast?.duration ?? 5e3),
1028
- onChange: (e) => l("toast", "duration", Number(e.target.value))
1029
+ onChange: (e) => c("toast", "duration", Number(e.target.value))
1029
1030
  })
1030
1031
  }),
1031
- /* @__PURE__ */ w(y, {
1032
+ /* @__PURE__ */ E(y, {
1032
1033
  label: i.labels.visibleToasts,
1033
- children: /* @__PURE__ */ w(g, {
1034
+ children: /* @__PURE__ */ E(v, {
1034
1035
  type: "number",
1035
1036
  min: 1,
1036
1037
  max: 10,
1037
1038
  value: String(a.toast?.visibleToasts ?? 4),
1038
- onChange: (e) => l("toast", "visibleToasts", Number(e.target.value))
1039
+ onChange: (e) => c("toast", "visibleToasts", Number(e.target.value))
1039
1040
  })
1040
1041
  }),
1041
- /* @__PURE__ */ w(_, {
1042
+ /* @__PURE__ */ E(b, {
1042
1043
  label: i.labels.closeButton,
1043
1044
  value: a.toast?.closeButton ?? !0,
1044
- onValueChange: (e) => l("toast", "closeButton", e)
1045
+ onValueChange: (e) => c("toast", "closeButton", e)
1045
1046
  }),
1046
- /* @__PURE__ */ w(_, {
1047
+ /* @__PURE__ */ E(b, {
1047
1048
  label: i.labels.richColors,
1048
1049
  value: a.toast?.richColors ?? !1,
1049
- onValueChange: (e) => l("toast", "richColors", e)
1050
+ onValueChange: (e) => c("toast", "richColors", e)
1050
1051
  })
1051
1052
  ]
1052
1053
  })
@@ -1058,7 +1059,7 @@ function Xe({ config: e, onChange: t, strings: i = J }) {
1058
1059
  }
1059
1060
  //#endregion
1060
1061
  //#region src/components/features/theme-tweaker/theme-tweaker.strings.ts
1061
- var Ze = {
1062
+ var Xe = {
1062
1063
  title: "Theme tweaker",
1063
1064
  description: "Edit the public theme contract, calculate coherent recipes, and export complete CSS plus root display defaults.",
1064
1065
  searchLabel: "Search variables",
@@ -1124,7 +1125,7 @@ var Ze = {
1124
1125
  previewSuccess: "Healthy",
1125
1126
  previewWarning: "Review",
1126
1127
  previewContract: "CSS variables",
1127
- providerSettings: J,
1128
+ providerSettings: Y,
1128
1129
  groups: {
1129
1130
  colors: "Colors",
1130
1131
  states: "States",
@@ -1163,10 +1164,10 @@ var Ze = {
1163
1164
  };
1164
1165
  //#endregion
1165
1166
  //#region src/components/features/theme-tweaker/theme-tweaker.recipes.ts
1166
- function X(e, t, n) {
1167
+ function Z(e, t, n) {
1167
1168
  return Math.min(n, Math.max(t, e));
1168
1169
  }
1169
- function Z(e, t) {
1170
+ function Q(e, t) {
1170
1171
  let n = e.trim().match(/^#([\da-f]{3}|[\da-f]{6})$/i)?.[1], r = n?.length === 3 ? [...n].map((e) => e + e).join("") : n;
1171
1172
  if (r) return [
1172
1173
  0,
@@ -1180,7 +1181,7 @@ function Z(e, t) {
1180
1181
  let i = e.match(/oklch\(\s*([\d.]+)(%)?/i), a = Number.parseFloat(i?.[1] ?? "NaN") / (i?.[2] ? 100 : 1);
1181
1182
  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)";
1182
1183
  }
1183
- function Qe({ primary: e, mode: t = "light" }) {
1184
+ function Ze({ primary: e, mode: t = "light" }) {
1184
1185
  let n = t === "dark", r = (e, t) => `color-mix(in oklab, ${n ? t : e} 94%, var(--primary))`;
1185
1186
  return {
1186
1187
  "--primary": e,
@@ -1194,7 +1195,7 @@ function Qe({ primary: e, mode: t = "light" }) {
1194
1195
  "--warning-accent": r("oklch(0.54 0.11 65)", "oklch(0.81 0.12 75)"),
1195
1196
  "--destructive": r("oklch(0.55 0.17 25)", "oklch(0.74 0.14 25)"),
1196
1197
  "--destructive-foreground": n ? "oklch(0.23 0.035 25)" : "oklch(0.985 0 0)",
1197
- "--primary-foreground": Z(e, t),
1198
+ "--primary-foreground": Q(e, t),
1198
1199
  "--secondary": "color-mix(in oklab, var(--primary) 10%, var(--background))",
1199
1200
  "--secondary-foreground": "var(--foreground)",
1200
1201
  "--muted": "color-mix(in oklab, var(--primary) 7%, var(--background))",
@@ -1218,13 +1219,13 @@ function Qe({ primary: e, mode: t = "light" }) {
1218
1219
  "--sidebar-ring": "var(--ring)"
1219
1220
  };
1220
1221
  }
1221
- var $e = {
1222
+ var $ = {
1222
1223
  xxs: .75,
1223
1224
  xs: .75,
1224
1225
  pxs: .8125,
1225
1226
  sm: .875,
1226
1227
  base: 1
1227
- }, Q = [
1228
+ }, Qe = [
1228
1229
  "lg",
1229
1230
  "xl",
1230
1231
  "2xl",
@@ -1236,19 +1237,19 @@ var $e = {
1236
1237
  "8xl",
1237
1238
  "9xl"
1238
1239
  ];
1239
- function et({ baseSize: e, ratio: t = 1.2 }) {
1240
- let n = X(e, 14, 20), r = X(t, 1.125, 1.333), i = {};
1241
- for (let [e, t] of Object.entries($e)) {
1240
+ function $e({ baseSize: e, ratio: t = 1.2 }) {
1241
+ let n = Z(e, 14, 20), r = Z(t, 1.125, 1.333), i = {};
1242
+ for (let [e, t] of Object.entries($)) {
1242
1243
  let r = Math.max(12, n * t);
1243
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))}`;
1244
1245
  }
1245
- return Q.forEach((e, t) => {
1246
+ return Qe.forEach((e, t) => {
1246
1247
  let a = n * r ** (t + 1);
1247
- i[`--text-${e}`] = `${Number((a / 16).toFixed(4))}rem`, i[`--text-${e}--line-height`] = `${Number(X(1.55 - t * .065, 1, 1.5).toFixed(4))}`;
1248
+ i[`--text-${e}`] = `${Number((a / 16).toFixed(4))}rem`, i[`--text-${e}--line-height`] = `${Number(Z(1.55 - t * .065, 1, 1.5).toFixed(4))}`;
1248
1249
  }), i;
1249
1250
  }
1250
- function tt({ intensity: e }) {
1251
- let t = X(e, 0, 1), n = (e) => Number((t * e).toFixed(3));
1251
+ function et({ intensity: e }) {
1252
+ let t = Z(e, 0, 1), n = (e) => Number((t * e).toFixed(3));
1252
1253
  return {
1253
1254
  "--shadow-2xs": `0 1px 2px 0 oklch(0 0 0 / ${n(.06)})`,
1254
1255
  "--shadow-xs": `0 1px 3px 0 oklch(0 0 0 / ${n(.07)})`,
@@ -1262,28 +1263,28 @@ function tt({ intensity: e }) {
1262
1263
  }
1263
1264
  //#endregion
1264
1265
  //#region src/components/features/theme-tweaker/theme-tweaker.tsx
1265
- var nt = [
1266
+ var tt = [
1266
1267
  "colors",
1267
1268
  "states",
1268
1269
  "typography",
1269
1270
  "shape",
1270
1271
  "structure",
1271
1272
  "defaults"
1272
- ], rt = {
1273
- colors: D,
1274
- states: O,
1275
- typography: Ae,
1276
- shape: Oe,
1277
- structure: Ce,
1278
- defaults: De
1273
+ ], nt = {
1274
+ colors: we,
1275
+ states: Oe,
1276
+ typography: k,
1277
+ shape: De,
1278
+ structure: Se,
1279
+ defaults: O
1279
1280
  };
1280
- function it({ title: e, description: t, code: n, copyLabel: r, downloadLabel: i, onCopy: a, onDownload: o, downloading: s = !1 }) {
1281
- let d = x();
1282
- return /* @__PURE__ */ T(f, {
1283
- render: /* @__PURE__ */ w("section", { "aria-labelledby": d }),
1281
+ function rt({ title: e, description: t, code: n, copyLabel: r, downloadLabel: i, onCopy: a, onDownload: o, downloading: s = !1 }) {
1282
+ let f = he();
1283
+ return /* @__PURE__ */ D(p, {
1284
+ render: /* @__PURE__ */ E("section", { "aria-labelledby": f }),
1284
1285
  gap: "md",
1285
1286
  className: "theme-tweaker--export-artifact min-w-0",
1286
- children: [/* @__PURE__ */ T(f, {
1287
+ children: [/* @__PURE__ */ D(p, {
1287
1288
  direction: {
1288
1289
  base: "vertical",
1289
1290
  sm: "horizontal"
@@ -1295,50 +1296,51 @@ function it({ title: e, description: t, code: n, copyLabel: r, downloadLabel: i,
1295
1296
  justify: { sm: "between" },
1296
1297
  gap: "md",
1297
1298
  className: "theme-tweaker--export-artifact-header",
1298
- children: [/* @__PURE__ */ T(f, {
1299
+ children: [/* @__PURE__ */ D(p, {
1299
1300
  gap: "dense",
1300
1301
  className: "min-w-0",
1301
- children: [/* @__PURE__ */ w(l, {
1302
- id: d,
1302
+ children: [/* @__PURE__ */ E(l, {
1303
+ id: f,
1303
1304
  tag: "h3",
1304
1305
  children: e
1305
- }), /* @__PURE__ */ w(c, {
1306
+ }), /* @__PURE__ */ E(u, {
1306
1307
  size: "xs",
1307
1308
  type: "secondary",
1308
1309
  children: t
1309
1310
  })]
1310
- }), /* @__PURE__ */ T(f, {
1311
+ }), /* @__PURE__ */ D(p, {
1311
1312
  direction: "horizontal",
1312
1313
  gap: "xs",
1313
1314
  align: "center",
1314
1315
  wrap: !0,
1315
1316
  className: "theme-tweaker--export-artifact-actions sm:shrink-0",
1316
- children: [/* @__PURE__ */ w(u, {
1317
+ children: [/* @__PURE__ */ E(c, {
1317
1318
  type: "button",
1318
1319
  size: "sm",
1319
1320
  tone: "secondary",
1320
1321
  buttonStyle: "outline",
1321
- icon: E,
1322
+ icon: ye,
1322
1323
  onClick: a,
1323
1324
  children: r
1324
- }), /* @__PURE__ */ w(u, {
1325
+ }), /* @__PURE__ */ E(c, {
1326
+ tone: "primary",
1325
1327
  type: "button",
1326
1328
  size: "sm",
1327
- icon: xe,
1329
+ icon: be,
1328
1330
  loading: s,
1329
1331
  onClick: o,
1330
1332
  children: i
1331
1333
  })]
1332
1334
  })]
1333
- }), /* @__PURE__ */ w("pre", {
1335
+ }), /* @__PURE__ */ E("pre", {
1334
1336
  tabIndex: 0,
1335
1337
  "aria-label": e,
1336
- 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 focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring sm:max-h-72",
1337
- children: /* @__PURE__ */ w("code", { children: n })
1338
+ 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`,
1339
+ children: /* @__PURE__ */ E("code", { children: n })
1338
1340
  })]
1339
1341
  });
1340
1342
  }
1341
- function $(e, t) {
1343
+ function it(e, t) {
1342
1344
  let n = Number.parseFloat(e);
1343
1345
  return Number.isFinite(n) ? Math.min(t.max, Math.max(t.min, n)) : t.min;
1344
1346
  }
@@ -1350,7 +1352,7 @@ function ot(e, t) {
1350
1352
  return e === "document" ? document.documentElement : e === "self" || e === null ? t : typeof e == "function" ? e() : e ?? t;
1351
1353
  }
1352
1354
  function st(e, t) {
1353
- if (typeof document > "u" || typeof window > "u") return A(e);
1355
+ if (typeof document > "u" || typeof window > "u") return j(e);
1354
1356
  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, {
1355
1357
  value: n.style.getPropertyValue(e),
1356
1358
  priority: n.style.getPropertyPriority(e)
@@ -1363,7 +1365,7 @@ function st(e, t) {
1363
1365
  };
1364
1366
  try {
1365
1367
  let n = s("light"), r = s("dark"), i = new Set(t.filter((e) => e.scope === "shared").map((e) => e.name));
1366
- return A({
1368
+ return j({
1367
1369
  mode: e.mode,
1368
1370
  shared: Object.fromEntries(Object.entries(n).filter(([e]) => i.has(e))),
1369
1371
  light: Object.fromEntries(Object.entries(n).filter(([e]) => !i.has(e))),
@@ -1378,7 +1380,7 @@ function st(e, t) {
1378
1380
  }
1379
1381
  }
1380
1382
  function ct({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, strings: o }) {
1381
- let s = `theme-variable-${x().replace(/:/g, "")}`, l = /* @__PURE__ */ w(u, {
1383
+ let s = `theme-variable-${he().replace(/:/g, "")}`, l = /* @__PURE__ */ E(c, {
1382
1384
  type: "button",
1383
1385
  iconOnly: !0,
1384
1386
  tone: "secondary",
@@ -1388,19 +1390,19 @@ function ct({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1388
1390
  "aria-label": `${o.resetVariable}: ${e.label}`,
1389
1391
  disabled: !t,
1390
1392
  onClick: i,
1391
- children: /* @__PURE__ */ w(c, {
1393
+ children: /* @__PURE__ */ E(u, {
1392
1394
  tag: "span",
1393
1395
  size: "inherit",
1394
1396
  className: "sr-only",
1395
1397
  children: o.resetVariable
1396
1398
  })
1397
- }), d = e.placeholder ?? n ?? o.inheritValue, p;
1398
- if (e.kind === "color") p = /* @__PURE__ */ T(f, {
1399
+ }), d = e.placeholder ?? n ?? o.inheritValue, f;
1400
+ if (e.kind === "color") f = /* @__PURE__ */ D(p, {
1399
1401
  direction: "horizontal",
1400
1402
  gap: "xs",
1401
1403
  align: "center",
1402
1404
  wrap: !1,
1403
- children: [/* @__PURE__ */ w(ue, {
1405
+ children: [/* @__PURE__ */ E(ce, {
1404
1406
  id: s,
1405
1407
  "aria-label": e.label,
1406
1408
  "aria-description": e.description,
@@ -1413,10 +1415,10 @@ function ct({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1413
1415
  }), l]
1414
1416
  });
1415
1417
  else if (e.control?.type === "range") {
1416
- let i = $(t || n, e.control);
1417
- p = /* @__PURE__ */ T(f, {
1418
+ let i = it(t || n, e.control);
1419
+ f = /* @__PURE__ */ D(p, {
1418
1420
  gap: "sm",
1419
- children: [/* @__PURE__ */ w(de, {
1421
+ children: [/* @__PURE__ */ E(S, {
1420
1422
  id: `${s}-slider`,
1421
1423
  "aria-label": a(o.adjustVariable, { label: e.label }),
1422
1424
  value: i,
@@ -1424,15 +1426,15 @@ function ct({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1424
1426
  max: e.control.max,
1425
1427
  step: e.control.step,
1426
1428
  onValueChange: (t) => r(at(t, e.control))
1427
- }), /* @__PURE__ */ T(f, {
1429
+ }), /* @__PURE__ */ D(p, {
1428
1430
  direction: "horizontal",
1429
1431
  gap: "xs",
1430
1432
  align: "center",
1431
1433
  wrap: !1,
1432
- children: [/* @__PURE__ */ w(f, {
1434
+ children: [/* @__PURE__ */ E(p, {
1433
1435
  gap: "none",
1434
1436
  className: "w-28 max-w-full shrink-0",
1435
- children: /* @__PURE__ */ w(fe, {
1437
+ children: /* @__PURE__ */ E(le, {
1436
1438
  id: s,
1437
1439
  "aria-label": e.label,
1438
1440
  "aria-description": e.description,
@@ -1452,14 +1454,14 @@ function ct({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1452
1454
  }), l]
1453
1455
  })]
1454
1456
  });
1455
- } else p = e.kind === "font" || e.kind === "shadow" ? /* @__PURE__ */ T(f, {
1457
+ } else f = e.kind === "font" || e.kind === "shadow" ? /* @__PURE__ */ D(p, {
1456
1458
  direction: "horizontal",
1457
1459
  gap: "xs",
1458
1460
  align: "start",
1459
1461
  wrap: !1,
1460
- children: [/* @__PURE__ */ w(f, {
1462
+ children: [/* @__PURE__ */ E(p, {
1461
1463
  className: "min-w-0 flex-1",
1462
- children: /* @__PURE__ */ w(le, {
1464
+ children: /* @__PURE__ */ E(se, {
1463
1465
  id: s,
1464
1466
  "aria-label": e.label,
1465
1467
  "aria-description": e.description,
@@ -1471,12 +1473,12 @@ function ct({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1471
1473
  className: "font-mono"
1472
1474
  })
1473
1475
  }), l]
1474
- }) : /* @__PURE__ */ T(f, {
1476
+ }) : /* @__PURE__ */ D(p, {
1475
1477
  direction: "horizontal",
1476
1478
  gap: "xs",
1477
1479
  align: "center",
1478
1480
  wrap: !1,
1479
- children: [/* @__PURE__ */ w(g, {
1481
+ children: [/* @__PURE__ */ E(v, {
1480
1482
  id: s,
1481
1483
  "aria-label": e.label,
1482
1484
  "aria-description": e.description,
@@ -1486,22 +1488,22 @@ function ct({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1486
1488
  className: "min-w-0 flex-1 font-mono"
1487
1489
  }), l]
1488
1490
  });
1489
- return /* @__PURE__ */ w(y, {
1490
- label: /* @__PURE__ */ T(f, {
1491
- render: /* @__PURE__ */ w("span", {}),
1491
+ return /* @__PURE__ */ E(y, {
1492
+ label: /* @__PURE__ */ D(p, {
1493
+ render: /* @__PURE__ */ E("span", {}),
1492
1494
  direction: "horizontal",
1493
1495
  gap: "sm",
1494
1496
  align: "baseline",
1495
1497
  justify: "between",
1496
1498
  wrap: !0,
1497
1499
  className: "min-w-0 flex-1",
1498
- children: [/* @__PURE__ */ w(c, {
1500
+ children: [/* @__PURE__ */ E(u, {
1499
1501
  tag: "span",
1500
1502
  size: "inherit",
1501
1503
  weight: "medium",
1502
1504
  className: "min-w-0",
1503
1505
  children: e.label
1504
- }), /* @__PURE__ */ w(se, {
1506
+ }), /* @__PURE__ */ E(ae, {
1505
1507
  size: "xs",
1506
1508
  type: "secondary",
1507
1509
  weight: "regular",
@@ -1511,52 +1513,51 @@ function ct({ field: e, value: t, effectiveValue: n, onChange: r, onReset: i, st
1511
1513
  }),
1512
1514
  htmlFor: s,
1513
1515
  className: "theme-tweaker--field min-w-0 border-t border-border/60 py-row-y first:border-t-0",
1514
- children: p
1516
+ children: f
1515
1517
  });
1516
1518
  }
1517
1519
  function lt({ strings: e }) {
1518
- return /* @__PURE__ */ w(ne, {
1520
+ return /* @__PURE__ */ E(ne, {
1519
1521
  title: e.previewTitle,
1520
1522
  description: e.previewDescription,
1521
- icon: /* @__PURE__ */ w(D, {}),
1522
- headerDivider: !0,
1523
1523
  className: "theme-tweaker--preview-card",
1524
- children: /* @__PURE__ */ T(f, {
1524
+ children: /* @__PURE__ */ D(p, {
1525
1525
  gap: "lg",
1526
1526
  children: [
1527
- /* @__PURE__ */ T(f, {
1527
+ /* @__PURE__ */ D(p, {
1528
1528
  direction: "horizontal",
1529
1529
  gap: "sm",
1530
1530
  wrap: !0,
1531
1531
  children: [
1532
- /* @__PURE__ */ w(h, {
1532
+ /* @__PURE__ */ E(_, {
1533
1533
  tone: "success",
1534
1534
  children: e.previewSuccess
1535
1535
  }),
1536
- /* @__PURE__ */ w(h, {
1536
+ /* @__PURE__ */ E(_, {
1537
1537
  tone: "warning",
1538
1538
  children: e.previewWarning
1539
1539
  }),
1540
- /* @__PURE__ */ w(h, {
1540
+ /* @__PURE__ */ E(_, {
1541
1541
  tone: "secondary",
1542
1542
  children: e.previewContract
1543
1543
  })
1544
1544
  ]
1545
1545
  }),
1546
- /* @__PURE__ */ w(pe, {
1546
+ /* @__PURE__ */ E(ue, {
1547
1547
  variant: "muted",
1548
1548
  padding: "default",
1549
- media: /* @__PURE__ */ w(D, {}),
1549
+ media: /* @__PURE__ */ E(we, {}),
1550
1550
  mediaVariant: "icon",
1551
1551
  title: e.previewItemTitle,
1552
1552
  description: e.previewItemDescription,
1553
- trailing: /* @__PURE__ */ w(be, { className: "size-icon text-success" })
1553
+ trailing: /* @__PURE__ */ E(ve, { className: "size-icon text-success" })
1554
1554
  }),
1555
- /* @__PURE__ */ w(y, {
1555
+ /* @__PURE__ */ E(y, {
1556
1556
  label: e.previewFieldLabel,
1557
- children: /* @__PURE__ */ w(g, { placeholder: e.previewFieldPlaceholder })
1557
+ children: /* @__PURE__ */ E(v, { placeholder: e.previewFieldPlaceholder })
1558
1558
  }),
1559
- /* @__PURE__ */ w(u, {
1559
+ /* @__PURE__ */ E(c, {
1560
+ tone: "primary",
1560
1561
  type: "button",
1561
1562
  children: e.previewAction
1562
1563
  })
@@ -1571,53 +1572,53 @@ function ut(e, t, n) {
1571
1572
  [r]: i
1572
1573
  };
1573
1574
  }
1574
- var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange: r, fields: i = Ye, target: p = "self", apply: m = !0, manageModeClass: ee = !0, preview: te, fileName: re = "admin-ui-theme.css", config: se, defaultConfig: le, onConfigChange: v, providerFileName: ue = "admin-ui.config.ts", showIntro: fe = !0, selectors: pe, onExport: b, onCopy: x, onReset: be, onError: E, actionsSlot: Se, strings: Ce, className: D, ...De }, Oe) {
1575
- let O = o(Ze, Ce), [Ae, je] = C(() => A(t)), k = S(() => e ? A(e) : Ae, [Ae, e]), [Me, Ne] = C(() => I(le)), j = S(() => I(se ?? Me), [se, Me]), [M, N] = C("colors"), [P, F] = C(""), [L, Pe] = C(!0), [Ie, Be] = C(16), [B, V] = C(1.2), [He, Ue] = C(.8), [We, H] = C("idle"), Ge = ie(), [U, W] = C(!1), G = ye(null);
1576
- ve(Oe, () => G.current), Ve({
1575
+ var dt = 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: x = "admin-ui.config.ts", showIntro: ce = !0, selectors: le, onExport: ue, onCopy: C, onReset: he, onError: ve, actionsSlot: ye, strings: be, className: xe, ...Se }, we) {
1576
+ let O = o(Xe, be), [De, Oe] = T(() => j(t)), k = w(() => e ? j(e) : De, [De, e]), [Ae, je] = T(() => I(ae)), Me = w(() => I(g ?? Ae), [g, Ae]), [A, Ne] = T("colors"), [M, N] = T(""), [P, F] = T(!0), [L, Pe] = T(16), [Ie, Be] = T(1.2), [He, B] = T(.8), [V, H] = T("idle"), U = re(), [Ue, We] = T(!1), W = _e(null);
1577
+ ge(we, () => W.current), Ve({
1577
1578
  apply: m,
1578
1579
  manageModeClass: ee,
1579
- selfRef: G,
1580
- target: p,
1580
+ selfRef: W,
1581
+ target: d,
1581
1582
  theme: k
1582
1583
  });
1583
- let [K, Ke] = C(() => A(k)), [qe, Je] = C({});
1584
- _e(() => {
1584
+ let [G, Ge] = T(() => j(k)), [Ke, qe] = T({});
1585
+ me(() => {
1585
1586
  if (typeof window > "u") return;
1586
1587
  let e = window.setTimeout(() => {
1587
- let e = ot(p, G.current);
1588
+ let e = ot(d, W.current);
1588
1589
  if (!e) return;
1589
1590
  let t = window.getComputedStyle(e);
1590
- Je(Object.fromEntries(i.map((e) => [e.name, t.getPropertyValue(e.name).trim()]))), Ke(st(k, i));
1591
+ qe(Object.fromEntries(i.map((e) => [e.name, t.getPropertyValue(e.name).trim()]))), Ge(st(k, i));
1591
1592
  }, 0);
1592
1593
  return () => window.clearTimeout(e);
1593
1594
  }, [
1594
1595
  m,
1595
1596
  i,
1596
- p,
1597
+ d,
1597
1598
  k
1598
1599
  ]);
1599
- let { artifact: q, error: J } = S(() => {
1600
+ let { artifact: K, error: q } = w(() => {
1600
1601
  try {
1601
- let e = A({
1602
+ let e = j({
1602
1603
  mode: k.mode,
1603
1604
  shared: {
1604
- ...K.shared,
1605
+ ...G.shared,
1605
1606
  ...k.shared
1606
1607
  },
1607
1608
  light: {
1608
- ...K.light,
1609
+ ...G.light,
1609
1610
  ...k.light
1610
1611
  },
1611
1612
  dark: {
1612
- ...K.dark,
1613
+ ...G.dark,
1613
1614
  ...k.dark
1614
1615
  }
1615
1616
  });
1616
1617
  return {
1617
- artifact: Le(k, re, { selectors: pe }, {
1618
+ artifact: Le(k, te, { selectors: le }, {
1618
1619
  resolvedTheme: e,
1619
- providerConfig: j,
1620
- providerFileName: ue
1620
+ providerConfig: Me,
1621
+ providerFileName: x
1621
1622
  }),
1622
1623
  error: null
1623
1624
  };
@@ -1628,23 +1629,23 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1628
1629
  };
1629
1630
  }
1630
1631
  }, [
1631
- re,
1632
- j,
1633
- ue,
1634
- K,
1635
- pe,
1632
+ te,
1633
+ Me,
1634
+ x,
1635
+ G,
1636
+ le,
1636
1637
  k
1637
- ]), Y = q?.cssText ?? `/* ${O.invalidTheme} */\n`, X = S(() => Fe(k), [k]), Z = P.trim().toLowerCase(), $e = S(() => i.filter((e) => !Z && e.group !== M ? !1 : !Z || [
1638
+ ]), J = K?.cssText ?? `/* ${O.invalidTheme} */\n`, Y = w(() => Fe(k), [k]), X = M.trim().toLowerCase(), Z = w(() => i.filter((e) => !X && e.group !== A ? !1 : !X || [
1638
1639
  e.name,
1639
1640
  e.label,
1640
1641
  e.description
1641
- ].filter(Boolean).some((e) => e?.toLowerCase().includes(Z))), [
1642
+ ].filter(Boolean).some((e) => e?.toLowerCase().includes(X))), [
1642
1643
  i,
1643
- M,
1644
- Z
1645
- ]), Q = S(() => {
1644
+ A,
1645
+ X
1646
+ ]), Q = w(() => {
1646
1647
  let e = /* @__PURE__ */ new Map();
1647
- for (let t of $e) {
1648
+ for (let t of Z) {
1648
1649
  let n = `${t.group}:${t.section}`, r = e.get(n);
1649
1650
  r ? r.fields.push(t) : e.set(n, {
1650
1651
  group: t.group,
@@ -1653,11 +1654,11 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1653
1654
  });
1654
1655
  }
1655
1656
  return [...e.values()].sort((e, t) => Number(t.section === "brand-actions") - Number(e.section === "brand-actions"));
1656
- }, [$e]), $ = (t) => {
1657
- e === void 0 && je(t), n?.(t), H("idle");
1658
- }, at = (e) => {
1659
- se === void 0 && Ne(e), v?.(e), H("idle");
1660
- }, dt = (e) => {
1657
+ }, [Z]), $ = (t) => {
1658
+ e === void 0 && Oe(t), n?.(t), H("idle");
1659
+ }, Qe = (e) => {
1660
+ g === void 0 && je(e), se?.(e), H("idle");
1661
+ }, it = (e) => {
1661
1662
  $({
1662
1663
  ...k,
1663
1664
  [k.mode]: {
@@ -1665,7 +1666,7 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1665
1666
  ...e
1666
1667
  }
1667
1668
  });
1668
- }, ft = (e) => {
1669
+ }, at = (e) => {
1669
1670
  $({
1670
1671
  ...k,
1671
1672
  shared: {
@@ -1673,229 +1674,229 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1673
1674
  ...e
1674
1675
  }
1675
1676
  });
1676
- }, pt = (e) => {
1677
+ }, dt = (e) => {
1677
1678
  e !== k.mode && ($({
1678
1679
  ...k,
1679
1680
  mode: e
1680
1681
  }), r?.(e));
1681
- }, mt = async () => {
1682
+ }, ft = async () => {
1682
1683
  try {
1683
- if (J) throw J;
1684
- if (W(!0), !q) throw Error(O.invalidTheme);
1685
- b ? await b(q) : Re(q), H("exported");
1684
+ if (q) throw q;
1685
+ if (We(!0), !K) throw Error(O.invalidTheme);
1686
+ ue ? await ue(K) : Re(K), H("exported");
1686
1687
  } catch (e) {
1687
- E?.(e);
1688
+ ve?.(e);
1688
1689
  } finally {
1689
- W(!1);
1690
+ We(!1);
1690
1691
  }
1691
- }, ht = async (e) => {
1692
+ }, pt = async (e) => {
1692
1693
  try {
1693
- if (x) await x(e);
1694
+ if (C) await C(e);
1694
1695
  else if (typeof navigator < "u" && navigator.clipboard) await navigator.clipboard.writeText(e);
1695
1696
  else throw Error("Clipboard access is unavailable. Provide onCopy for this environment.");
1696
1697
  H("copied");
1697
1698
  } catch (e) {
1698
- E?.(e);
1699
+ ve?.(e);
1699
1700
  }
1700
- }, gt = () => {
1701
+ }, mt = () => {
1701
1702
  try {
1702
- if (!q) throw J ?? Error(O.invalidTheme);
1703
+ if (!K) throw q ?? Error(O.invalidTheme);
1703
1704
  ze({
1704
- fileName: q.providerFileName,
1705
- text: q.providerConfigText,
1705
+ fileName: K.providerFileName,
1706
+ text: K.providerConfigText,
1706
1707
  mimeType: "text/typescript;charset=utf-8"
1707
1708
  }), H("exported");
1708
1709
  } catch (e) {
1709
- E?.(e);
1710
+ ve?.(e);
1710
1711
  }
1711
- }, _t = () => {
1712
- let e = k, t = A({ mode: k.mode });
1713
- $(t), be?.(e), H("idle");
1714
- }, vt = J ? O.invalidTheme : We === "copied" ? O.copiedStatus : We === "exported" ? O.exportedStatus : null, yt = M === "colors" ? /* @__PURE__ */ w(_, {
1712
+ }, ht = () => {
1713
+ let e = k, t = j({ mode: k.mode });
1714
+ $(t), he?.(e), H("idle");
1715
+ }, gt = q ? O.invalidTheme : V === "copied" ? O.copiedStatus : V === "exported" ? O.exportedStatus : null, _t = A === "colors" ? /* @__PURE__ */ E(b, {
1715
1716
  className: "theme-tweaker--recipe",
1716
1717
  label: O.autoPalette,
1717
1718
  description: O.autoPaletteDescription,
1718
- value: L,
1719
- onValueChange: Pe
1720
- }) : M === "typography" ? /* @__PURE__ */ w(ne, {
1719
+ value: P,
1720
+ onValueChange: F
1721
+ }) : A === "typography" ? /* @__PURE__ */ E(ne, {
1721
1722
  title: O.typeRecipeTitle,
1722
1723
  description: O.typeRecipeDescription,
1723
1724
  surface: "flat",
1724
1725
  padding: "none",
1725
1726
  className: "theme-tweaker--recipe",
1726
- children: /* @__PURE__ */ T(d, {
1727
+ children: /* @__PURE__ */ D(f, {
1727
1728
  columns: 1,
1728
1729
  gap: "md",
1729
1730
  className: "@2xl/theme-tweaker-controls:grid-cols-2",
1730
- children: [/* @__PURE__ */ w(y, {
1731
+ children: [/* @__PURE__ */ E(y, {
1731
1732
  label: O.baseTypeSize,
1732
- children: /* @__PURE__ */ w(de, {
1733
+ children: /* @__PURE__ */ E(S, {
1733
1734
  "aria-label": O.baseTypeSize,
1734
- value: Ie,
1735
+ value: L,
1735
1736
  min: 14,
1736
1737
  max: 20,
1737
1738
  step: 1,
1738
1739
  onValueChange: (e) => {
1739
- Be(e), ft(et({
1740
+ Pe(e), at($e({
1740
1741
  baseSize: e,
1741
- ratio: B
1742
+ ratio: Ie
1742
1743
  }));
1743
1744
  }
1744
1745
  })
1745
- }), /* @__PURE__ */ w(y, {
1746
+ }), /* @__PURE__ */ E(y, {
1746
1747
  label: O.typeRatio,
1747
- children: /* @__PURE__ */ w(de, {
1748
+ children: /* @__PURE__ */ E(S, {
1748
1749
  "aria-label": O.typeRatio,
1749
- value: B,
1750
+ value: Ie,
1750
1751
  min: 1.125,
1751
1752
  max: 1.333,
1752
1753
  step: .01,
1753
1754
  onValueChange: (e) => {
1754
- V(e), ft(et({
1755
- baseSize: Ie,
1755
+ Be(e), at($e({
1756
+ baseSize: L,
1756
1757
  ratio: e
1757
1758
  }));
1758
1759
  }
1759
1760
  })
1760
1761
  })]
1761
1762
  })
1762
- }) : M === "shape" ? /* @__PURE__ */ w(ne, {
1763
+ }) : A === "shape" ? /* @__PURE__ */ E(ne, {
1763
1764
  title: O.elevationRecipeTitle,
1764
1765
  description: O.elevationRecipeDescription,
1765
1766
  surface: "flat",
1766
1767
  padding: "none",
1767
1768
  className: "theme-tweaker--recipe",
1768
- children: /* @__PURE__ */ w(y, {
1769
+ children: /* @__PURE__ */ E(y, {
1769
1770
  label: O.elevationIntensity,
1770
- children: /* @__PURE__ */ w(de, {
1771
+ children: /* @__PURE__ */ E(S, {
1771
1772
  "aria-label": O.elevationIntensity,
1772
1773
  value: He,
1773
1774
  min: 0,
1774
1775
  max: 1,
1775
1776
  step: .05,
1776
1777
  onValueChange: (e) => {
1777
- Ue(e), dt(tt({ intensity: e }));
1778
+ B(e), it(et({ intensity: e }));
1778
1779
  }
1779
1780
  })
1780
1781
  })
1781
- }) : null, bt = /* @__PURE__ */ T("div", {
1782
- className: s("grid min-w-0 grid-cols-1 gap-space-xl theme-tweaker--layout", te !== !1 && "@3xl/theme-tweaker:grid-cols-2"),
1782
+ }) : null, vt = /* @__PURE__ */ D("div", {
1783
+ className: s("grid min-w-0 grid-cols-1 gap-space-xl theme-tweaker--layout", h !== !1 && "@3xl/theme-tweaker:grid-cols-2"),
1783
1784
  children: [
1784
- /* @__PURE__ */ T(f, {
1785
+ /* @__PURE__ */ D(p, {
1785
1786
  gap: "lg",
1786
1787
  className: "theme-tweaker--controls @container/theme-tweaker-controls min-w-0",
1787
- children: [/* @__PURE__ */ T(f, {
1788
+ children: [/* @__PURE__ */ D(p, {
1788
1789
  gap: "lg",
1789
1790
  className: "theme-tweaker--header shrink-0",
1790
1791
  children: [
1791
- fe ? /* @__PURE__ */ T(f, {
1792
+ ce ? /* @__PURE__ */ D(p, {
1792
1793
  gap: "normal",
1793
1794
  className: "theme-tweaker--intro",
1794
- children: [/* @__PURE__ */ T(f, {
1795
+ children: [/* @__PURE__ */ D(p, {
1795
1796
  direction: "horizontal",
1796
1797
  gap: "sm",
1797
1798
  align: "center",
1798
1799
  wrap: !0,
1799
- children: [/* @__PURE__ */ w(l, {
1800
+ children: [/* @__PURE__ */ E(l, {
1800
1801
  tag: "h2",
1801
1802
  className: "theme-tweaker--title",
1802
1803
  children: O.title
1803
- }), /* @__PURE__ */ w(h, {
1804
+ }), /* @__PURE__ */ E(_, {
1804
1805
  tone: "secondary",
1805
- children: a(O.changedCount, { count: X })
1806
+ children: a(O.changedCount, { count: Y })
1806
1807
  })]
1807
- }), /* @__PURE__ */ w(c, {
1808
+ }), /* @__PURE__ */ E(u, {
1808
1809
  type: "secondary",
1809
1810
  className: "theme-tweaker--description",
1810
1811
  children: O.description
1811
1812
  })]
1812
1813
  }) : null,
1813
- /* @__PURE__ */ T(f, {
1814
+ /* @__PURE__ */ D(p, {
1814
1815
  direction: "horizontal",
1815
1816
  justify: "between",
1816
1817
  align: "center",
1817
1818
  wrap: !0,
1818
1819
  gap: "sm",
1819
1820
  className: "theme-tweaker--toolbar",
1820
- children: [/* @__PURE__ */ w(f, {
1821
+ children: [/* @__PURE__ */ E(p, {
1821
1822
  direction: "horizontal",
1822
1823
  gap: "sm",
1823
1824
  align: "center",
1824
1825
  wrap: !0,
1825
- children: /* @__PURE__ */ w(ge, {
1826
+ children: /* @__PURE__ */ E(pe, {
1826
1827
  value: k.mode,
1827
- onValueChange: (e) => pt(e),
1828
- children: /* @__PURE__ */ T(he, { children: [/* @__PURE__ */ T(me, {
1828
+ onValueChange: (e) => dt(e),
1829
+ children: /* @__PURE__ */ D(fe, { children: [/* @__PURE__ */ D(de, {
1829
1830
  value: "light",
1830
- children: [/* @__PURE__ */ w(ke, { className: "size-icon-sm" }), O.lightMode]
1831
- }), /* @__PURE__ */ T(me, {
1831
+ children: [/* @__PURE__ */ E(ke, { className: "size-icon-sm" }), O.lightMode]
1832
+ }), /* @__PURE__ */ D(de, {
1832
1833
  value: "dark",
1833
- children: [/* @__PURE__ */ w(we, { className: "size-icon-sm" }), O.darkMode]
1834
+ children: [/* @__PURE__ */ E(Ce, { className: "size-icon-sm" }), O.darkMode]
1834
1835
  })] })
1835
1836
  })
1836
- }), /* @__PURE__ */ T(f, {
1837
+ }), /* @__PURE__ */ D(p, {
1837
1838
  direction: "horizontal",
1838
1839
  gap: "xs",
1839
1840
  align: "center",
1840
1841
  justify: "end",
1841
1842
  wrap: !1,
1842
1843
  className: "theme-tweaker--actions",
1843
- children: [/* @__PURE__ */ w(u, {
1844
+ children: [/* @__PURE__ */ E(c, {
1845
+ tone: "primary",
1844
1846
  type: "button",
1845
- icon: xe,
1846
- disabled: !!J,
1847
+ disabled: !!q,
1847
1848
  onClick: () => {
1848
- H("idle"), Ge.show();
1849
+ H("idle"), U.show();
1849
1850
  },
1850
1851
  children: O.export
1851
- }), Se]
1852
+ }), ye]
1852
1853
  })]
1853
1854
  }),
1854
- /* @__PURE__ */ w(y, {
1855
- label: /* @__PURE__ */ w(c, {
1855
+ /* @__PURE__ */ E(y, {
1856
+ label: /* @__PURE__ */ E(u, {
1856
1857
  tag: "span",
1857
1858
  size: "inherit",
1858
1859
  className: "sr-only",
1859
1860
  children: O.searchLabel
1860
1861
  }),
1861
1862
  className: "theme-tweaker--search",
1862
- children: /* @__PURE__ */ w(g, {
1863
- value: P,
1864
- onChange: (e) => F(e.target.value),
1863
+ children: /* @__PURE__ */ E(v, {
1864
+ value: M,
1865
+ onChange: (e) => N(e.target.value),
1865
1866
  placeholder: O.searchPlaceholder,
1866
1867
  startIcon: Ee,
1867
1868
  clearable: !0,
1868
- onClear: () => F(""),
1869
+ onClear: () => N(""),
1869
1870
  "aria-description": O.searchHint
1870
1871
  })
1871
1872
  })
1872
1873
  ]
1873
- }), /* @__PURE__ */ T(f, {
1874
+ }), /* @__PURE__ */ D(p, {
1874
1875
  gap: "lg",
1875
1876
  className: "theme-tweaker--workspace min-h-0",
1876
- children: [/* @__PURE__ */ w("nav", {
1877
+ children: [/* @__PURE__ */ E("nav", {
1877
1878
  "aria-label": O.groupNavigationLabel,
1878
1879
  className: "theme-tweaker--navigation min-w-0",
1879
- children: /* @__PURE__ */ w(ge, {
1880
- value: M,
1880
+ children: /* @__PURE__ */ E(pe, {
1881
+ value: A,
1881
1882
  onValueChange: (e) => {
1882
- F(""), N(e);
1883
+ N(""), Ne(e);
1883
1884
  },
1884
1885
  className: "w-full",
1885
- children: /* @__PURE__ */ w(he, {
1886
+ children: /* @__PURE__ */ E(fe, {
1886
1887
  scrollable: !0,
1887
1888
  scrollStrings: {
1888
1889
  previous: O.previousGroup,
1889
1890
  next: O.nextGroup
1890
1891
  },
1891
1892
  className: "theme-tweaker--group-list",
1892
- children: nt.map((e) => {
1893
- let t = rt[e];
1894
- return /* @__PURE__ */ T(me, {
1893
+ children: tt.map((e) => {
1894
+ let t = nt[e];
1895
+ return /* @__PURE__ */ D(de, {
1895
1896
  value: e,
1896
- onClick: () => F(""),
1897
+ onClick: () => N(""),
1897
1898
  className: "theme-tweaker--group-trigger",
1898
- children: [/* @__PURE__ */ w(t, { "aria-hidden": "true" }), /* @__PURE__ */ w(c, {
1899
+ children: [/* @__PURE__ */ E(t, { "aria-hidden": "true" }), /* @__PURE__ */ E(u, {
1899
1900
  tag: "span",
1900
1901
  size: "inherit",
1901
1902
  weight: "medium",
@@ -1906,46 +1907,46 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1906
1907
  })
1907
1908
  })
1908
1909
  })
1909
- }), /* @__PURE__ */ T(f, {
1910
+ }), /* @__PURE__ */ D(p, {
1910
1911
  gap: "lg",
1911
1912
  className: "theme-tweaker--body theme-tweaker--editor min-h-0 min-w-0",
1912
1913
  children: [
1913
- /* @__PURE__ */ T(f, {
1914
+ /* @__PURE__ */ D(p, {
1914
1915
  gap: "normal",
1915
1916
  className: "theme-tweaker--editor-heading",
1916
- children: [/* @__PURE__ */ T(f, {
1917
+ children: [/* @__PURE__ */ D(p, {
1917
1918
  direction: "horizontal",
1918
1919
  gap: "sm",
1919
1920
  align: "center",
1920
1921
  wrap: !0,
1921
1922
  children: [
1922
- /* @__PURE__ */ w(l, {
1923
+ /* @__PURE__ */ E(l, {
1923
1924
  tag: "h3",
1924
- children: Z ? O.allGroups : O.groups[M]
1925
+ children: X ? O.allGroups : O.groups[A]
1925
1926
  }),
1926
- fe ? null : /* @__PURE__ */ w(h, {
1927
+ ce ? null : /* @__PURE__ */ E(_, {
1927
1928
  tone: "secondary",
1928
- children: a(O.changedCount, { count: X })
1929
+ children: a(O.changedCount, { count: Y })
1929
1930
  }),
1930
- Z ? /* @__PURE__ */ w(h, {
1931
+ X ? /* @__PURE__ */ E(_, {
1931
1932
  tone: "secondary",
1932
1933
  role: "status",
1933
1934
  "aria-live": "polite",
1934
- children: a(O.searchResults, { count: $e.length })
1935
+ children: a(O.searchResults, { count: Z.length })
1935
1936
  }) : null
1936
1937
  ]
1937
- }), /* @__PURE__ */ w(c, {
1938
+ }), /* @__PURE__ */ E(u, {
1938
1939
  size: "xs",
1939
1940
  type: "secondary",
1940
- children: Z ? O.searchHint : O.groupDescriptions[M]
1941
+ children: X ? O.searchHint : O.groupDescriptions[A]
1941
1942
  })]
1942
1943
  }),
1943
- Z ? null : yt,
1944
- M === "defaults" && !Z ? /* @__PURE__ */ w(Xe, {
1945
- config: j,
1946
- onChange: at,
1944
+ X ? null : _t,
1945
+ A === "defaults" && !X ? /* @__PURE__ */ E(Ye, {
1946
+ config: Me,
1947
+ onChange: Qe,
1947
1948
  strings: O.providerSettings
1948
- }) : Q.length > 0 ? /* @__PURE__ */ w(ce, {
1949
+ }) : Q.length > 0 ? /* @__PURE__ */ E(oe, {
1949
1950
  multiple: !0,
1950
1951
  defaultValue: [`${Q[0].group}:${Q[0].section}`],
1951
1952
  variant: "bordered",
@@ -1953,7 +1954,7 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1953
1954
  className: "theme-tweaker--sections shrink-0",
1954
1955
  itemClassName: "theme-tweaker--section",
1955
1956
  items: Q.map((e) => {
1956
- 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 = Z ? a(O.groupSectionLabel, {
1957
+ 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, {
1957
1958
  group: O.groups[e.group],
1958
1959
  section: O.sections[e.section]
1959
1960
  }) : O.sections[e.section];
@@ -1961,23 +1962,23 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1961
1962
  value: `${e.group}:${e.section}`,
1962
1963
  title: r,
1963
1964
  description: a(O.variableCount, { count: e.fields.length }),
1964
- badge: /* @__PURE__ */ w(h, {
1965
+ badge: /* @__PURE__ */ E(_, {
1965
1966
  tone: "secondary",
1966
1967
  children: n
1967
1968
  }),
1968
- content: /* @__PURE__ */ w(f, {
1969
+ content: /* @__PURE__ */ E(p, {
1969
1970
  gap: "none",
1970
1971
  className: "theme-tweaker--fields",
1971
1972
  children: e.fields.map((e) => {
1972
1973
  let t = e.scope === "shared" ? "shared" : k.mode, n = k[t][e.name] ?? "";
1973
- return /* @__PURE__ */ w(ct, {
1974
+ return /* @__PURE__ */ E(ct, {
1974
1975
  field: e,
1975
1976
  value: n,
1976
- effectiveValue: qe[e.name] ?? "",
1977
+ effectiveValue: Ke[e.name] ?? "",
1977
1978
  strings: O,
1978
1979
  onChange: (t) => {
1979
- if (e.name === "--primary" && L && t.trim()) {
1980
- dt(Qe({
1980
+ if (e.name === "--primary" && P && t.trim()) {
1981
+ it(Ze({
1981
1982
  primary: t,
1982
1983
  mode: k.mode
1983
1984
  }));
@@ -1991,7 +1992,7 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
1991
1992
  })
1992
1993
  };
1993
1994
  })
1994
- }, `${M}:${Z}`) : /* @__PURE__ */ w(c, {
1995
+ }, `${A}:${X}`) : /* @__PURE__ */ E(u, {
1995
1996
  type: "secondary",
1996
1997
  className: "theme-tweaker--empty rounded-radius border border-dashed border-border p-surface",
1997
1998
  children: O.emptySearch
@@ -2000,12 +2001,12 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
2000
2001
  })]
2001
2002
  })]
2002
2003
  }),
2003
- te === !1 ? null : /* @__PURE__ */ w(f, {
2004
+ h === !1 ? null : /* @__PURE__ */ E(p, {
2004
2005
  className: "theme-tweaker--preview min-w-0 self-start",
2005
- children: te ?? /* @__PURE__ */ w(lt, { strings: O })
2006
+ children: h ?? /* @__PURE__ */ E(lt, { strings: O })
2006
2007
  }),
2007
- /* @__PURE__ */ w(oe, {
2008
- ...Ge.overlayProps,
2008
+ /* @__PURE__ */ E(ie, {
2009
+ ...U.overlayProps,
2009
2010
  title: O.exportDialogTitle,
2010
2011
  description: O.exportDialogDescription,
2011
2012
  showCloseButton: !1,
@@ -2013,77 +2014,76 @@ var dt = b(function({ value: e, defaultValue: t, onValueChange: n, onModeChange:
2013
2014
  showConfirm: !1,
2014
2015
  surfaceStyle: R(k),
2015
2016
  className: s("theme-tweaker--export-dialog sm:max-w-4xl", k.mode),
2016
- footer: /* @__PURE__ */ T(f, {
2017
+ footer: /* @__PURE__ */ D(p, {
2017
2018
  direction: "horizontal",
2018
2019
  align: "center",
2019
2020
  justify: "between",
2020
2021
  className: "theme-tweaker--export-footer w-full",
2021
- children: [/* @__PURE__ */ w(u, {
2022
+ children: [/* @__PURE__ */ E(c, {
2022
2023
  type: "button",
2023
2024
  tone: "secondary",
2024
2025
  buttonStyle: "ghost",
2025
2026
  icon: Te,
2026
- disabled: X === 0,
2027
- onClick: _t,
2027
+ disabled: Y === 0,
2028
+ onClick: ht,
2028
2029
  children: O.reset
2029
- }), /* @__PURE__ */ w(ae, { render: /* @__PURE__ */ w(u, {
2030
- tone: "secondary",
2031
- buttonStyle: "outline",
2030
+ }), /* @__PURE__ */ E(c, {
2031
+ onClick: U.hide,
2032
2032
  children: O.close
2033
- }) })]
2033
+ })]
2034
2034
  }),
2035
- children: /* @__PURE__ */ T(f, {
2035
+ children: /* @__PURE__ */ D(p, {
2036
2036
  gap: "xl",
2037
2037
  className: "theme-tweaker--export-body",
2038
2038
  children: [
2039
- /* @__PURE__ */ w(it, {
2039
+ /* @__PURE__ */ E(rt, {
2040
2040
  title: O.cssOutputLabel,
2041
2041
  description: O.cssOutputDescription,
2042
- code: Y,
2042
+ code: J,
2043
2043
  copyLabel: O.copy,
2044
- downloadLabel: U ? O.exportPending : O.downloadCss,
2045
- downloading: U,
2046
- onCopy: () => void ht(Y),
2047
- onDownload: () => void mt()
2044
+ downloadLabel: Ue ? O.exportPending : O.downloadCss,
2045
+ downloading: Ue,
2046
+ onCopy: () => void pt(J),
2047
+ onDownload: () => void ft()
2048
2048
  }),
2049
- /* @__PURE__ */ w(it, {
2049
+ /* @__PURE__ */ E(rt, {
2050
2050
  title: O.providerOutputLabel,
2051
2051
  description: O.providerOutputDescription,
2052
- code: q?.providerConfigText ?? "",
2052
+ code: K?.providerConfigText ?? "",
2053
2053
  copyLabel: O.copyProvider,
2054
2054
  downloadLabel: O.downloadProvider,
2055
- onCopy: () => void ht(q?.providerConfigText ?? ""),
2056
- onDownload: gt
2055
+ onCopy: () => void pt(K?.providerConfigText ?? ""),
2056
+ onDownload: mt
2057
2057
  }),
2058
- vt ? /* @__PURE__ */ w(c, {
2058
+ gt ? /* @__PURE__ */ E(u, {
2059
2059
  tag: "div",
2060
2060
  size: "xs",
2061
- type: J ? "error" : "secondary",
2061
+ type: q ? "error" : "secondary",
2062
2062
  role: "status",
2063
2063
  "aria-live": "polite",
2064
2064
  className: "theme-tweaker--status",
2065
- children: vt
2065
+ children: gt
2066
2066
  }) : null
2067
2067
  ]
2068
2068
  })
2069
2069
  })
2070
2070
  ]
2071
2071
  });
2072
- return p === "self" ? /* @__PURE__ */ w(z, {
2073
- ...De,
2074
- ref: G,
2075
- theme: m ? k : A({ mode: k.mode }),
2076
- className: s("theme-tweaker--component @container/theme-tweaker bg-background text-foreground", D),
2077
- children: bt
2078
- }) : /* @__PURE__ */ w("div", {
2079
- ...De,
2080
- ref: G,
2081
- className: s("theme-tweaker--component @container/theme-tweaker", D),
2082
- children: bt
2072
+ return d === "self" ? /* @__PURE__ */ E(z, {
2073
+ ...Se,
2074
+ ref: W,
2075
+ theme: m ? k : j({ mode: k.mode }),
2076
+ className: s("theme-tweaker--component @container/theme-tweaker bg-background text-foreground", xe),
2077
+ children: vt
2078
+ }) : /* @__PURE__ */ E("div", {
2079
+ ...Se,
2080
+ ref: W,
2081
+ className: s("theme-tweaker--component @container/theme-tweaker", xe),
2082
+ children: vt
2083
2083
  });
2084
2084
  });
2085
2085
  dt.displayName = "ThemeTweaker";
2086
2086
  //#endregion
2087
- export { B as AdminUIThemeProvider, z as ThemeScope, dt as ThemeTweaker, R as adminUIThemeToStyle, Fe as countAdminUIThemeOverrides, A as createAdminUITheme, Ie as createScopedAdminUIThemeSelectors, I as createSerializableUIConfig, Le as createThemeTweakerExportArtifact, je as defaultAdminUIThemeSelectors, J as defaultThemeProviderSettingsStrings, Ye as defaultThemeTweakerFields, Ze as defaultThemeTweakerStrings, tt as deriveAdminUIElevation, Qe as deriveAdminUIPalette, et as deriveAdminUITypeScale, Re as downloadAdminUITheme, Pe as getActiveAdminUIThemeOverrides, j as isAdminUIThemeVariableName, F as serializeAdminUITheme, L as serializeUIProviderConfig };
2087
+ export { He as AdminUIThemeProvider, z as ThemeScope, dt as ThemeTweaker, R as adminUIThemeToStyle, Fe as countAdminUIThemeOverrides, j as createAdminUITheme, Ie as createScopedAdminUIThemeSelectors, I as createSerializableUIConfig, Le as createThemeTweakerExportArtifact, Ae as defaultAdminUIThemeSelectors, Y as defaultThemeProviderSettingsStrings, Je as defaultThemeTweakerFields, Xe as defaultThemeTweakerStrings, et as deriveAdminUIElevation, Ze as deriveAdminUIPalette, $e as deriveAdminUITypeScale, Re as downloadAdminUITheme, Pe as getActiveAdminUIThemeOverrides, Ne as isAdminUIThemeVariableName, F as serializeAdminUITheme, L as serializeUIProviderConfig };
2088
2088
 
2089
2089
  //# sourceMappingURL=theme-tweaker.js.map