themelia-react-ui 2.0.3 → 2.0.5

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 (648) hide show
  1. package/CHANGELOG.md +185 -0
  2. package/README.md +168 -36
  3. package/dist/{accordion-Cjb6sx0G.js → accordion-B9MHG0cT.js} +11 -11
  4. package/dist/accordion-B9MHG0cT.js.map +1 -0
  5. package/dist/action-menu-Dr8K-ghE.js +284 -0
  6. package/dist/action-menu-Dr8K-ghE.js.map +1 -0
  7. package/dist/{affordance-geometry.generated-tF36bREk.js → affordance-geometry.generated-P-aVJisu.js} +42 -36
  8. package/dist/affordance-geometry.generated-P-aVJisu.js.map +1 -0
  9. package/dist/{ai-artifact-DvTwDVyL.js → ai-artifact-C58tQcBy.js} +387 -350
  10. package/dist/ai-artifact-C58tQcBy.js.map +1 -0
  11. package/dist/app-shell-B_IuNWOo.js +321 -0
  12. package/dist/app-shell-B_IuNWOo.js.map +1 -0
  13. package/dist/{attachment-BxDfL2mw.js → attachment-Dg_69lPS.js} +9 -9
  14. package/dist/{attachment-BxDfL2mw.js.map → attachment-Dg_69lPS.js.map} +1 -1
  15. package/dist/{auth-BGua8ouh.js → auth-DTkkshS8.js} +44 -47
  16. package/dist/auth-DTkkshS8.js.map +1 -0
  17. package/dist/{avatar-DAPlDvhJ.js → avatar-CeZaFmNH.js} +8 -8
  18. package/dist/avatar-CeZaFmNH.js.map +1 -0
  19. package/dist/{badge-HpFqoqSY.js → badge-xIiV_E7f.js} +5 -5
  20. package/dist/{badge-HpFqoqSY.js.map → badge-xIiV_E7f.js.map} +1 -1
  21. package/dist/base/accordion.js +1 -1
  22. package/dist/base/action-menu.js +1 -1
  23. package/dist/base/attachment.js +1 -1
  24. package/dist/base/avatar.js +1 -1
  25. package/dist/base/badge.js +1 -1
  26. package/dist/base/batch-action-bar.js +1 -1
  27. package/dist/base/buttons.js +1 -1
  28. package/dist/base/cards.js +2 -2
  29. package/dist/base/carousel.js +3 -3
  30. package/dist/base/cascader.js +2 -372
  31. package/dist/base/chart.js +1 -1
  32. package/dist/base/choice-inputs.js +2 -2
  33. package/dist/base/code-block.js +1 -1
  34. package/dist/base/combobox.js +2 -2
  35. package/dist/base/command.js +1 -1
  36. package/dist/base/copyable.js +1 -1
  37. package/dist/base/date-pickers.js +2 -2
  38. package/dist/base/display.js +6 -6
  39. package/dist/base/feedback.js +3 -3
  40. package/dist/base/forms-numeric.js +1 -1
  41. package/dist/base/forms.js +3 -3
  42. package/dist/base/inline-edit.js +10 -10
  43. package/dist/base/item.js +1 -1
  44. package/dist/base/media-gallery.js +1 -1
  45. package/dist/base/metadata-list.js +1 -1
  46. package/dist/base/navigation.js +7 -7
  47. package/dist/base/popover-menu.js +1 -1
  48. package/dist/base/popover.js +1 -1
  49. package/dist/base/qr-code.js +1 -1
  50. package/dist/base/repeaters.js +12 -12
  51. package/dist/base/repeaters.js.map +1 -1
  52. package/dist/base/sheet.js +1 -1
  53. package/dist/base/sidebar.js +2 -2
  54. package/dist/base/signature-pad.js +7 -7
  55. package/dist/base/signature-pad.js.map +1 -1
  56. package/dist/base/skeleton.js +1 -1
  57. package/dist/base/spinner.js +4 -4
  58. package/dist/base/structure.js +1 -1
  59. package/dist/base/table.js +1 -1
  60. package/dist/base/text-inputs.js +2 -2
  61. package/dist/base/toaster.js +36 -36
  62. package/dist/base/toaster.js.map +1 -1
  63. package/dist/base/tree.js +1 -1
  64. package/dist/base/upload-queue.js +1 -1
  65. package/dist/base/upload.js +3 -3
  66. package/dist/base/value-inputs.js +1 -1
  67. package/dist/{batch-action-bar-DnUJ21NQ.js → batch-action-bar-Cb8cuvyy.js} +6 -6
  68. package/dist/batch-action-bar-Cb8cuvyy.js.map +1 -0
  69. package/dist/blocks/admin.js +23 -23
  70. package/dist/blocks/admin.js.map +1 -1
  71. package/dist/blocks/ai.js +230 -216
  72. package/dist/blocks/ai.js.map +1 -1
  73. package/dist/blocks/analytics/usage-card.js +1 -1
  74. package/dist/blocks/analytics.js +326 -307
  75. package/dist/blocks/analytics.js.map +1 -1
  76. package/dist/blocks/collaboration.js +1 -1
  77. package/dist/blocks/commerce/receipt.js +1 -1
  78. package/dist/blocks/commerce.js +1247 -1169
  79. package/dist/blocks/commerce.js.map +1 -1
  80. package/dist/blocks/data-display.js +2 -2
  81. package/dist/blocks/onboarding.js +6 -6
  82. package/dist/blocks/onboarding.js.map +1 -1
  83. package/dist/blocks/planning.js +11 -11
  84. package/dist/blocks/timelines.js +1 -1
  85. package/dist/{breadcrumbs-C-oqs1sQ.js → breadcrumbs-J-K2kl4c.js} +6 -6
  86. package/dist/{breadcrumbs-C-oqs1sQ.js.map → breadcrumbs-J-K2kl4c.js.map} +1 -1
  87. package/dist/{button-DVzspB_G.js → button-S2Cubiiz.js} +3 -3
  88. package/dist/button-S2Cubiiz.js.map +1 -0
  89. package/dist/{buttons-DPZekJFu.js → buttons-BedGfygC.js} +16 -16
  90. package/dist/buttons-BedGfygC.js.map +1 -0
  91. package/dist/cards-rNX1M4Xn.js +69 -0
  92. package/dist/cards-rNX1M4Xn.js.map +1 -0
  93. package/dist/cascader-B1MiqkBq.js +439 -0
  94. package/dist/cascader-B1MiqkBq.js.map +1 -0
  95. package/dist/chart-Darg_0Kv.js +162 -0
  96. package/dist/chart-Darg_0Kv.js.map +1 -0
  97. package/dist/{checkbox-AWIhNhmo.js → checkbox-fflqmODR.js} +9 -5
  98. package/dist/checkbox-fflqmODR.js.map +1 -0
  99. package/dist/choice-inputs-zUgBZfE4.js +777 -0
  100. package/dist/choice-inputs-zUgBZfE4.js.map +1 -0
  101. package/dist/{code-block-DeneBJR_.js → code-block-BzmM9Eig.js} +9 -9
  102. package/dist/code-block-BzmM9Eig.js.map +1 -0
  103. package/dist/{collapsible-C-_l4hpy.js → collapsible-BkAI_XD4.js} +5 -5
  104. package/dist/{collapsible-C-_l4hpy.js.map → collapsible-BkAI_XD4.js.map} +1 -1
  105. package/dist/{collection-content-By56pLog.js → collection-content-gDh1v6O4.js} +3 -3
  106. package/dist/{collection-content-By56pLog.js.map → collection-content-gDh1v6O4.js.map} +1 -1
  107. package/dist/combobox-BEx0vJgF.js +362 -0
  108. package/dist/combobox-BEx0vJgF.js.map +1 -0
  109. package/dist/{combobox-Dxo2fAYQ.js → combobox-BwzoXFSG.js} +254 -247
  110. package/dist/combobox-BwzoXFSG.js.map +1 -0
  111. package/dist/{command-C25VMRII.js → command-CrlPIL6m.js} +12 -12
  112. package/dist/command-CrlPIL6m.js.map +1 -0
  113. package/dist/{comments-DD0DUPwJ.js → comments-Dmpp0YIc.js} +380 -379
  114. package/dist/comments-Dmpp0YIc.js.map +1 -0
  115. package/dist/components/base/action-menu/action-menu.d.ts +9 -1
  116. package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
  117. package/dist/components/base/cards/card.recipes.d.ts +16 -7
  118. package/dist/components/base/cards/partials/card-primitives.d.ts +9 -2
  119. package/dist/components/base/cards/partials/smart-card-header-row.d.ts +3 -1
  120. package/dist/components/base/cards/smart-card.types.d.ts +11 -7
  121. package/dist/components/base/cascader/cascader-panel.d.ts +76 -0
  122. package/dist/components/base/chart/chart.d.ts +6 -1
  123. package/dist/components/base/choice-inputs/checkbox.d.ts +7 -2
  124. package/dist/components/base/choice-inputs/choice-types.d.ts +1 -1
  125. package/dist/components/base/choice-inputs/switch-card.d.ts +7 -0
  126. package/dist/components/base/choice-inputs/toggle-field.d.ts +7 -0
  127. package/dist/components/base/combobox/index.d.ts +4 -2
  128. package/dist/components/base/date-pickers/datepicker.types.d.ts +7 -0
  129. package/dist/components/base/feedback/alert.d.ts +1 -1
  130. package/dist/components/base/forms/controlled-form-field.d.ts +6 -6
  131. package/dist/components/base/forms/form-field.d.ts +5 -3
  132. package/dist/components/base/forms/form-sizing.d.ts +7 -7
  133. package/dist/components/base/forms/index.d.ts +1 -0
  134. package/dist/components/base/forms/server-errors.d.ts +16 -0
  135. package/dist/components/base/forms/workflow.d.ts +11 -2
  136. package/dist/components/base/forms-numeric/coordinates-input.d.ts +4 -0
  137. package/dist/components/base/metadata-list/metadata-list.d.ts +3 -1
  138. package/dist/components/base/navigation/dropdown-menu.d.ts +1 -1
  139. package/dist/components/base/navigation/page-header/page-header-commands.d.ts +14 -7
  140. package/dist/components/base/navigation/page-header/page-header.d.ts +13 -4
  141. package/dist/components/base/popover/popover.d.ts +3 -3
  142. package/dist/components/base/popover/popover.recipes.d.ts +10 -6
  143. package/dist/components/base/sheet/sheet.d.ts +2 -0
  144. package/dist/components/base/sidebar/index.d.ts +1 -1
  145. package/dist/components/base/sidebar/sidebar.d.ts +27 -5
  146. package/dist/components/base/structure/composition.recipes.d.ts +17 -0
  147. package/dist/components/base/text-inputs/hooks/use-form-field-state.d.ts +7 -2
  148. package/dist/components/base/text-inputs/input.d.ts +4 -2
  149. package/dist/components/base/text-inputs/textarea.d.ts +4 -2
  150. package/dist/components/base/toaster/index.d.ts +1 -0
  151. package/dist/components/base/value-inputs/date-time-input.d.ts +2 -1
  152. package/dist/components/base/value-inputs/slider.d.ts +5 -1
  153. package/dist/components/base/value-inputs/tags-input.d.ts +5 -1
  154. package/dist/components/blocks/ai/ai-file-tree/types.d.ts +1 -1
  155. package/dist/components/blocks/ai/ai-tool-call/types.d.ts +3 -1
  156. package/dist/components/blocks/ai/ai.strings.d.ts +2 -0
  157. package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +2 -0
  158. package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +2 -0
  159. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +1 -1
  160. package/dist/components/blocks/commerce/cart-summary/types.d.ts +3 -1
  161. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +1 -1
  162. package/dist/components/blocks/commerce/discount-stack/types.d.ts +3 -1
  163. package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +1 -1
  164. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +11 -2
  165. package/dist/components/blocks/commerce/index.d.ts +7 -6
  166. package/dist/components/blocks/commerce/inventory-section/inventory-section.d.ts +1 -1
  167. package/dist/components/blocks/commerce/inventory-section/types.d.ts +7 -2
  168. package/dist/components/blocks/commerce/invoice-header/index.d.ts +2 -1
  169. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
  170. package/dist/components/blocks/commerce/invoice-header/types.d.ts +20 -6
  171. package/dist/components/blocks/commerce/invoice-line-items/invoice-line-items.d.ts +1 -1
  172. package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +24 -7
  173. package/dist/components/blocks/commerce/invoice-mini/index.d.ts +2 -1
  174. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +7 -1
  175. package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +1 -1
  176. package/dist/components/blocks/commerce/order-customer/types.d.ts +9 -1
  177. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +1 -1
  178. package/dist/components/blocks/commerce/refund-status/types.d.ts +3 -1
  179. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
  180. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +3 -1
  181. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
  182. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +3 -1
  183. package/dist/components/features/activities/activities.types.d.ts +8 -2
  184. package/dist/components/features/activities/partials/activity-marker.d.ts +7 -3
  185. package/dist/components/features/activities/partials/activity-row.d.ts +24 -0
  186. package/dist/components/features/event-calendar/colors.d.ts +2 -2
  187. package/dist/components/features/event-calendar/event-calendar.types.d.ts +4 -0
  188. package/dist/components/features/filters/facets/select-facet.d.ts +2 -1
  189. package/dist/components/features/filters/filters.strings.d.ts +4 -0
  190. package/dist/components/features/filters/filters.types.d.ts +3 -0
  191. package/dist/components/features/filters/partials/filter-editor-header.d.ts +16 -0
  192. package/dist/components/features/filters/partials/filter-popover-content.d.ts +1 -1
  193. package/dist/components/features/filters/partials/nested-filter-options.d.ts +21 -0
  194. package/dist/components/features/filters/partials/regular-filter-content.d.ts +2 -1
  195. package/dist/components/features/filters/utils/filter-utils.d.ts +21 -3
  196. package/dist/components/features/global-search/global-search.types.d.ts +2 -0
  197. package/dist/components/features/global-search/partials/global-search-input.d.ts +10 -0
  198. package/dist/components/features/global-search/partials/global-search-result-row.d.ts +7 -1
  199. package/dist/components/features/media-library/media-library.strings.d.ts +2 -0
  200. package/dist/components/features/media-library/media-library.types.d.ts +14 -4
  201. package/dist/components/features/media-library/partials/media-library-partials.d.ts +1 -1
  202. package/dist/components/features/products/components/product-options-matrix.d.ts +1 -1
  203. package/dist/components/features/products/components/product-variant-editor.d.ts +1 -1
  204. package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
  205. package/dist/components/features/products/products.strings.d.ts +9 -1
  206. package/dist/components/features/products/products.types.d.ts +43 -6
  207. package/dist/components/features/resource/resource.d.ts +5 -1
  208. package/dist/components/features/resource/resource.types.d.ts +12 -1
  209. package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +1 -1
  210. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +12 -2
  211. package/dist/components/features/table/partials/resource-cell.d.ts +22 -5
  212. package/dist/components/features/table/table.types.d.ts +1 -1
  213. package/dist/components/layout/app-shell/app-shell.types.d.ts +35 -6
  214. package/dist/components/layout/app-shell/index.d.ts +1 -1
  215. package/dist/components/layout/app-shell/shell-regions.d.ts +27 -0
  216. package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +1 -1
  217. package/dist/components/layout/app-shell/stacked-layout.d.ts +1 -1
  218. package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +1 -1
  219. package/dist/components/layout/containers/two-column-layout.d.ts +2 -0
  220. package/dist/components/layout/header/header.recipes.d.ts +6 -0
  221. package/dist/components/layout/header/header.types.d.ts +6 -6
  222. package/dist/components/layout/navigation/section-nav/section-nav.d.ts +5 -0
  223. package/dist/components/layout/page/index.d.ts +2 -1
  224. package/dist/components/layout/page/page.d.ts +1 -0
  225. package/dist/components/layout/page/page.strings.d.ts +11 -0
  226. package/dist/components/layout/page/page.types.d.ts +69 -17
  227. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  228. package/dist/components/layout/settings/settings.d.ts +9 -2
  229. package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
  230. package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +1 -1
  231. package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +1 -1
  232. package/dist/components/layout/sidebar/index.d.ts +2 -1
  233. package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +36 -0
  234. package/dist/components/layout/sidebar/sidebar.context.d.ts +5 -7
  235. package/dist/components/layout/sidebar/sidebar.types.d.ts +48 -10
  236. package/dist/components/layout/sidebar/sidebar.utils.d.ts +9 -1
  237. package/dist/components/layout/workspace/workspace.types.d.ts +8 -1
  238. package/dist/components/typography/text.styles.d.ts +26 -1
  239. package/dist/components/ui/alert-dialog.d.ts +2 -2
  240. package/dist/components/ui/combobox.d.ts +1 -1
  241. package/dist/components/ui/dialog.d.ts +2 -2
  242. package/dist/components/ui/overlay-layer.d.ts +18 -0
  243. package/dist/components/ui/sheet.d.ts +5 -1
  244. package/dist/components/ui/sidebar-state.d.ts +82 -0
  245. package/dist/components/ui/sidebar.d.ts +5 -17
  246. package/dist/composition.recipes-COdiFhxB.js +19 -0
  247. package/dist/composition.recipes-COdiFhxB.js.map +1 -0
  248. package/dist/containers-CIxwbZt5.js +112 -0
  249. package/dist/containers-CIxwbZt5.js.map +1 -0
  250. package/dist/{control-group-recipes-DBXmfh2E.js → control-group-recipes-fMuFo0H7.js} +6 -6
  251. package/dist/control-group-recipes-fMuFo0H7.js.map +1 -0
  252. package/dist/{copyable-ClBuk_UK.js → copyable-DIznBqiT.js} +7 -7
  253. package/dist/{copyable-ClBuk_UK.js.map → copyable-DIznBqiT.js.map} +1 -1
  254. package/dist/{data-display-DT_khPl_.js → data-display-BdgCAw8T.js} +277 -285
  255. package/dist/data-display-BdgCAw8T.js.map +1 -0
  256. package/dist/{date-DCrsDTZc.js → date-Cq8ioE4o.js} +5 -5
  257. package/dist/{date-DCrsDTZc.js.map → date-Cq8ioE4o.js.map} +1 -1
  258. package/dist/{date-picker-B2K3ucWn.js → date-picker-RlIzKom_.js} +501 -480
  259. package/dist/date-picker-RlIzKom_.js.map +1 -0
  260. package/dist/date-pickers-DY-CpXS1.js +179 -0
  261. package/dist/date-pickers-DY-CpXS1.js.map +1 -0
  262. package/dist/{display-hAc1HjpI.js → display-KsZLw9Ov.js} +9 -9
  263. package/dist/{display-hAc1HjpI.js.map → display-KsZLw9Ov.js.map} +1 -1
  264. package/dist/dropdown-menu-CLs8Lihj.js +194 -0
  265. package/dist/dropdown-menu-CLs8Lihj.js.map +1 -0
  266. package/dist/features/activities.js +302 -253
  267. package/dist/features/activities.js.map +1 -1
  268. package/dist/features/ai-chat.js +15 -14
  269. package/dist/features/ai-chat.js.map +1 -1
  270. package/dist/features/appointment-calendar.js +222 -220
  271. package/dist/features/appointment-calendar.js.map +1 -1
  272. package/dist/features/async-preview.js +11 -10
  273. package/dist/features/async-preview.js.map +1 -1
  274. package/dist/features/combobox.js +1 -1
  275. package/dist/features/comments.js +1 -1
  276. package/dist/features/data-view.js +13 -13
  277. package/dist/features/data-view.js.map +1 -1
  278. package/dist/features/email-composer.js +249 -249
  279. package/dist/features/email-composer.js.map +1 -1
  280. package/dist/features/event-calendar.js +264 -269
  281. package/dist/features/event-calendar.js.map +1 -1
  282. package/dist/features/filters.js +1 -1
  283. package/dist/features/global-search.js +167 -138
  284. package/dist/features/global-search.js.map +1 -1
  285. package/dist/features/kanban.js +6 -7
  286. package/dist/features/kanban.js.map +1 -1
  287. package/dist/features/map.js +269 -260
  288. package/dist/features/map.js.map +1 -1
  289. package/dist/features/media-library.js +827 -777
  290. package/dist/features/media-library.js.map +1 -1
  291. package/dist/features/mentions.js +1 -1
  292. package/dist/features/overlays.js +1 -1
  293. package/dist/features/products.js +1246 -1169
  294. package/dist/features/products.js.map +1 -1
  295. package/dist/features/questionnaire.js +13 -13
  296. package/dist/features/questionnaire.js.map +1 -1
  297. package/dist/features/resource-assignment.js +8 -8
  298. package/dist/features/resource.js +127 -123
  299. package/dist/features/resource.js.map +1 -1
  300. package/dist/features/rich-text-editor.js +2 -2
  301. package/dist/features/schema-form.js +254 -253
  302. package/dist/features/schema-form.js.map +1 -1
  303. package/dist/features/suggestions.js +3 -3
  304. package/dist/features/sync.js +3 -3
  305. package/dist/features/table.js +1 -1
  306. package/dist/features/theme-tweaker.js +95 -96
  307. package/dist/features/theme-tweaker.js.map +1 -1
  308. package/dist/{feedback-BYIhtitP.js → feedback-Dm4izqFn.js} +81 -80
  309. package/dist/feedback-Dm4izqFn.js.map +1 -0
  310. package/dist/{field-affordance-recipes-DZhnIL_Y.js → field-affordance-recipes-DWcNcOjh.js} +4 -4
  311. package/dist/field-affordance-recipes-DWcNcOjh.js.map +1 -0
  312. package/dist/{filters-DJVAveHA.js → filters-DzgSJpMK.js} +693 -645
  313. package/dist/filters-DzgSJpMK.js.map +1 -0
  314. package/dist/{form-field-CwH9y77i.js → form-field-BriWAXyg.js} +14 -8
  315. package/dist/form-field-BriWAXyg.js.map +1 -0
  316. package/dist/{form-sizing-BdP_Mf5p.js → form-sizing-Bs2qFUeE.js} +4 -4
  317. package/dist/form-sizing-Bs2qFUeE.js.map +1 -0
  318. package/dist/forms-C0RGnJTe.js +216 -0
  319. package/dist/forms-C0RGnJTe.js.map +1 -0
  320. package/dist/{forms-numeric-B_jraJaQ.js → forms-numeric-DIhghX1Q.js} +295 -291
  321. package/dist/forms-numeric-DIhghX1Q.js.map +1 -0
  322. package/dist/{header-BSfIEWbI.js → header-DMMxG__r.js} +67 -63
  323. package/dist/header-DMMxG__r.js.map +1 -0
  324. package/dist/header.recipes-BigdJjw1.js +6 -0
  325. package/dist/header.recipes-BigdJjw1.js.map +1 -0
  326. package/dist/hooks/useFormErrors.d.ts +1 -1
  327. package/dist/{hooks-ClH9thn4.js → hooks-DB6CJ4MR.js} +26 -14
  328. package/dist/hooks-DB6CJ4MR.js.map +1 -0
  329. package/dist/{icon-badge-DYKIwvOV.js → icon-badge-DZF-YjQp.js} +4 -4
  330. package/dist/{icon-badge-DYKIwvOV.js.map → icon-badge-DZF-YjQp.js.map} +1 -1
  331. package/dist/index.js +4 -5
  332. package/dist/input-CvyDQlY7.js +289 -0
  333. package/dist/input-CvyDQlY7.js.map +1 -0
  334. package/dist/input-DMBwAZmr.js +21 -0
  335. package/dist/input-DMBwAZmr.js.map +1 -0
  336. package/dist/item-DjCcM18E.js +277 -0
  337. package/dist/item-DjCcM18E.js.map +1 -0
  338. package/dist/layout/app-shell.js +1 -1
  339. package/dist/layout/auth.js +1 -1
  340. package/dist/layout/containers.js +1 -1
  341. package/dist/layout/header.js +1 -1
  342. package/dist/layout/hooks.js +1 -1
  343. package/dist/layout/navigation.js +1 -1
  344. package/dist/layout/page.js +2 -2
  345. package/dist/layout/settings.js +1 -1
  346. package/dist/layout/sidebar.js +3 -3
  347. package/dist/layout/workspace.js +1 -1
  348. package/dist/layout.js +11 -11
  349. package/dist/lib/affordance-geometry.generated.d.ts +41 -35
  350. package/dist/lib/control-group-recipes.d.ts +5 -5
  351. package/dist/lib/field-affordance-recipes.d.ts +2 -2
  352. package/dist/lib/motion-recipes.d.ts +3 -0
  353. package/dist/lib/navigation-row-recipes.d.ts +7 -7
  354. package/dist/lib/overlay-anatomy-recipes.d.ts +3 -3
  355. package/dist/lib/portal-recipes.d.ts +3 -0
  356. package/dist/lib/token-merge.generated.d.ts +13 -10
  357. package/dist/lib/ui-provider/types.d.ts +1 -1
  358. package/dist/lib/utils.js +1 -1
  359. package/dist/map-demo-tile.svg +1 -1
  360. package/dist/{media-gallery-3zIVLMWH.js → media-gallery-C-vChPmE.js} +6 -6
  361. package/dist/{media-gallery-3zIVLMWH.js.map → media-gallery-C-vChPmE.js.map} +1 -1
  362. package/dist/{mentions-CGlEJ15c.js → mentions-0_4nWuI-.js} +10 -10
  363. package/dist/{mentions-CGlEJ15c.js.map → mentions-0_4nWuI-.js.map} +1 -1
  364. package/dist/{message-DZ_ruyUV.js → message-g8p7eVtN.js} +7 -7
  365. package/dist/message-g8p7eVtN.js.map +1 -0
  366. package/dist/metadata-list-C3MkU-Om.js +443 -0
  367. package/dist/metadata-list-C3MkU-Om.js.map +1 -0
  368. package/dist/{motion-recipes-ChBg4HBq.js → motion-recipes-DitYv6P2.js} +10 -2
  369. package/dist/motion-recipes-DitYv6P2.js.map +1 -0
  370. package/dist/navigation-C90-oQFq.js +255 -0
  371. package/dist/navigation-C90-oQFq.js.map +1 -0
  372. package/dist/{navigation-BzhHI3lo.js → navigation-DaRjthVk.js} +101 -82
  373. package/dist/navigation-DaRjthVk.js.map +1 -0
  374. package/dist/{navigation-row-recipes-BFLCk_Aq.js → navigation-row-recipes-BGVLvU_O.js} +9 -9
  375. package/dist/navigation-row-recipes-BGVLvU_O.js.map +1 -0
  376. package/dist/{number-DbV1Dija.js → number-CRU3kGuk.js} +5 -5
  377. package/dist/{number-DbV1Dija.js.map → number-CRU3kGuk.js.map} +1 -1
  378. package/dist/overflow-tab-bar-IVFVQFV6.js +172 -0
  379. package/dist/overflow-tab-bar-IVFVQFV6.js.map +1 -0
  380. package/dist/overlays-BSgCtM2v.js +1013 -0
  381. package/dist/overlays-BSgCtM2v.js.map +1 -0
  382. package/dist/page-DUUKDAjo.js +331 -0
  383. package/dist/page-DUUKDAjo.js.map +1 -0
  384. package/dist/page-header-commands-7P3sfE9u.js +193 -0
  385. package/dist/page-header-commands-7P3sfE9u.js.map +1 -0
  386. package/dist/{pagination-BL25hu2s.js → pagination-CgCjElfu.js} +7 -7
  387. package/dist/{pagination-BL25hu2s.js.map → pagination-CgCjElfu.js.map} +1 -1
  388. package/dist/popover-B85RenIl.js +201 -0
  389. package/dist/popover-B85RenIl.js.map +1 -0
  390. package/dist/{popover-menu-Cn9rUkdc.js → popover-menu-DlnQ2zlR.js} +7 -7
  391. package/dist/{popover-menu-Cn9rUkdc.js.map → popover-menu-DlnQ2zlR.js.map} +1 -1
  392. package/dist/{popover.recipes-D3j8R8Yp.js → popover.recipes-DdiEp0rd.js} +18 -11
  393. package/dist/popover.recipes-DdiEp0rd.js.map +1 -0
  394. package/dist/portal-recipes-BpsV_iRw.js +9 -0
  395. package/dist/portal-recipes-BpsV_iRw.js.map +1 -0
  396. package/dist/{primitives-BFK08r9M.js → primitives-ByWgGUgt.js} +6 -6
  397. package/dist/{primitives-BFK08r9M.js.map → primitives-ByWgGUgt.js.map} +1 -1
  398. package/dist/primitives.js +4 -4
  399. package/dist/{progress-B1VnCT0K.js → progress-BJhQP9WX.js} +9 -9
  400. package/dist/{progress-B1VnCT0K.js.map → progress-BJhQP9WX.js.map} +1 -1
  401. package/dist/{receipt-BVSOH3Xo.js → receipt-tOc7B3hw.js} +7 -7
  402. package/dist/receipt-tOc7B3hw.js.map +1 -0
  403. package/dist/{rich-text-GOUyKQ-s.js → rich-text-Dth5E882.js} +4 -4
  404. package/dist/{rich-text-GOUyKQ-s.js.map → rich-text-Dth5E882.js.map} +1 -1
  405. package/dist/{rich-text-editor-cRLC-eBK.js → rich-text-editor-C1fOjBTd.js} +429 -430
  406. package/dist/rich-text-editor-C1fOjBTd.js.map +1 -0
  407. package/dist/{rich-text-editor-toolbar-DfXg0-VC.js → rich-text-editor-toolbar-laT3tpBT.js} +33 -29
  408. package/dist/rich-text-editor-toolbar-laT3tpBT.js.map +1 -0
  409. package/dist/{scroll-area-DcI-M1UT.js → scroll-area-B0dB2cBi.js} +2 -2
  410. package/dist/{scroll-area-DcI-M1UT.js.map → scroll-area-B0dB2cBi.js.map} +1 -1
  411. package/dist/{separator-Bom7NsGO.js → separator-Bb17I4pu.js} +2 -2
  412. package/dist/{separator-Bom7NsGO.js.map → separator-Bb17I4pu.js.map} +1 -1
  413. package/dist/{separator-BDV-Y648.js → separator-Ct_WSWTJ.js} +3 -3
  414. package/dist/{separator-BDV-Y648.js.map → separator-Ct_WSWTJ.js.map} +1 -1
  415. package/dist/services/actions.js +1 -1
  416. package/dist/settings-Bar5wiSo.js +167 -0
  417. package/dist/settings-Bar5wiSo.js.map +1 -0
  418. package/dist/sheet-BGPERY55.js +250 -0
  419. package/dist/sheet-BGPERY55.js.map +1 -0
  420. package/dist/sidebar-D-JYMMbY.js +686 -0
  421. package/dist/sidebar-D-JYMMbY.js.map +1 -0
  422. package/dist/sidebar-f9gRWXIR.js +1001 -0
  423. package/dist/sidebar-f9gRWXIR.js.map +1 -0
  424. package/dist/skeleton-BapcJd9C.js +265 -0
  425. package/dist/skeleton-BapcJd9C.js.map +1 -0
  426. package/dist/smart-card-CW0hjetE.js +617 -0
  427. package/dist/smart-card-CW0hjetE.js.map +1 -0
  428. package/dist/{structure-BmisBK-3.js → structure-DuxKl954.js} +3 -3
  429. package/dist/{structure-BmisBK-3.js.map → structure-DuxKl954.js.map} +1 -1
  430. package/dist/{structure.recipes-EPz60cU8.js → structure.recipes-BB4-n58V.js} +2 -2
  431. package/dist/{structure.recipes-EPz60cU8.js.map → structure.recipes-BB4-n58V.js.map} +1 -1
  432. package/dist/style.css +1 -1
  433. package/dist/{table-DsfzoUia.js → table-B4TE7iOV.js} +3 -3
  434. package/dist/{table-DsfzoUia.js.map → table-B4TE7iOV.js.map} +1 -1
  435. package/dist/{table-BweFy_P9.js → table-CFOWY9pQ.js} +394 -388
  436. package/dist/table-CFOWY9pQ.js.map +1 -0
  437. package/dist/{tabs-CDocW5D1.js → tabs-e7ko9S2o.js} +11 -11
  438. package/dist/tabs-e7ko9S2o.js.map +1 -0
  439. package/dist/{text-inputs-f9Ia-aCi.js → text-inputs-B1culiSK.js} +107 -104
  440. package/dist/text-inputs-B1culiSK.js.map +1 -0
  441. package/dist/{text.styles-g4He6UIW.js → text.styles-B64My8RZ.js} +25 -10
  442. package/dist/text.styles-B64My8RZ.js.map +1 -0
  443. package/dist/theme.css +192 -149
  444. package/dist/{timelines-CwM_9IhD.js → timelines-D3Sl9ueq.js} +13 -12
  445. package/dist/timelines-D3Sl9ueq.js.map +1 -0
  446. package/dist/tooltip-8wz5S_Zr.js +113 -0
  447. package/dist/tooltip-8wz5S_Zr.js.map +1 -0
  448. package/dist/{tree-WnKQzwbq.js → tree-CzUJHnFs.js} +9 -9
  449. package/dist/{tree-WnKQzwbq.js.map → tree-CzUJHnFs.js.map} +1 -1
  450. package/dist/typography/rich-text.js +1 -1
  451. package/dist/typography-BQnine1k.js +117 -0
  452. package/dist/typography-BQnine1k.js.map +1 -0
  453. package/dist/typography.js +1 -1
  454. package/dist/ui-provider-C-74NVLc.js +178 -0
  455. package/dist/ui-provider-C-74NVLc.js.map +1 -0
  456. package/dist/ui-provider.js +2 -3
  457. package/dist/{upload-CXyxmQBP.js → upload-BOW6U2tI.js} +25 -24
  458. package/dist/upload-BOW6U2tI.js.map +1 -0
  459. package/dist/{upload-queue-Boscubn9.js → upload-queue-qUXn1ykN.js} +16 -14
  460. package/dist/upload-queue-qUXn1ykN.js.map +1 -0
  461. package/dist/{usage-card-BhO5eqkX.js → usage-card-BeSLY0i0.js} +145 -137
  462. package/dist/usage-card-BeSLY0i0.js.map +1 -0
  463. package/dist/{utils-BRhFDwuU.js → utils-B6kKb8jB.js} +303 -144
  464. package/dist/utils-B6kKb8jB.js.map +1 -0
  465. package/dist/value-inputs-skdVB2zh.js +980 -0
  466. package/dist/value-inputs-skdVB2zh.js.map +1 -0
  467. package/dist/{value-typography-BP8OG6h5.js → value-typography-uAmWUAL1.js} +2 -2
  468. package/dist/{value-typography-BP8OG6h5.js.map → value-typography-uAmWUAL1.js.map} +1 -1
  469. package/dist/workspace-DHeHv0qw.js +411 -0
  470. package/dist/workspace-DHeHv0qw.js.map +1 -0
  471. package/docs/consumer-skill/SKILL.md +15 -129
  472. package/docs/consumer-skill/agents/themelia-ui-designer.md +96 -0
  473. package/docs/consumer-skill/examples/app-layout.tsx +74 -13
  474. package/docs/consumer-skill/examples/authentication.tsx +77 -0
  475. package/docs/consumer-skill/examples/commerce-lines.tsx +271 -0
  476. package/docs/consumer-skill/examples/custom-composition.tsx +21 -0
  477. package/docs/consumer-skill/examples/detail.tsx +5 -4
  478. package/docs/consumer-skill/examples/edit.tsx +30 -38
  479. package/docs/consumer-skill/examples/editable-sections.tsx +38 -0
  480. package/docs/consumer-skill/examples/index-table.tsx +4 -4
  481. package/docs/consumer-skill/examples/manifest.json +88 -1
  482. package/docs/consumer-skill/examples/product-media.tsx +41 -0
  483. package/docs/consumer-skill/examples/product-parts.tsx +81 -0
  484. package/docs/consumer-skill/examples/rhf-bindings.tsx +86 -0
  485. package/docs/consumer-skill/examples/rhf-edit-page.tsx +141 -0
  486. package/docs/consumer-skill/examples/rhf-overlay-form.tsx +105 -0
  487. package/docs/consumer-skill/examples/rhf-transport.tsx +28 -0
  488. package/docs/consumer-skill/examples/token-domain-structure.tsx +68 -0
  489. package/docs/consumer-skill/references/agents-md.md +23 -11
  490. package/docs/consumer-skill/references/analytics.md +18 -1
  491. package/docs/consumer-skill/references/authentication.md +42 -0
  492. package/docs/consumer-skill/references/commerce-composition.md +97 -0
  493. package/docs/consumer-skill/references/component-contracts.json +325201 -0
  494. package/docs/consumer-skill/references/composition-mapping.md +106 -0
  495. package/docs/consumer-skill/references/composition.md +198 -46
  496. package/docs/consumer-skill/references/critique-rubric.md +98 -0
  497. package/docs/consumer-skill/references/custom-composition.md +261 -0
  498. package/docs/consumer-skill/references/data-reading.md +79 -0
  499. package/docs/consumer-skill/references/design-contract.md +43 -9
  500. package/docs/consumer-skill/references/discovery.md +109 -8
  501. package/docs/consumer-skill/references/domain-structures.md +124 -0
  502. package/docs/consumer-skill/references/installation.md +51 -36
  503. package/docs/consumer-skill/references/integration.md +41 -2
  504. package/docs/consumer-skill/references/product-composition.md +94 -0
  505. package/docs/consumer-skill/references/public-api.json +4390 -475
  506. package/docs/consumer-skill/references/review.md +47 -5
  507. package/docs/consumer-skill/references/rhf-workflows.md +93 -0
  508. package/docs/consumer-skill/references/screen-archetypes.md +34 -0
  509. package/docs/consumer-skill/references/screen-decisions.md +126 -0
  510. package/docs/consumer-skill/references/theming.md +25 -27
  511. package/docs/consumer-skill/references/tokens.json +20 -11
  512. package/docs/consumer-skill/references/view-craft.md +153 -0
  513. package/docs/consumer-skill/references/view-spec.md +73 -0
  514. package/docs/consumer-skill/references/workflows.md +9 -2
  515. package/docs/consumer-skill/scripts/composition-policy.mjs +39 -3
  516. package/docs/consumer-skill/scripts/composition-schema.d.mts +2 -0
  517. package/docs/consumer-skill/scripts/composition-schema.mjs +32 -0
  518. package/docs/consumer-skill/scripts/composition.mjs +254 -0
  519. package/docs/consumer-skill/scripts/discovery.mjs +96 -10
  520. package/docs/consumer-skill/scripts/inspect-component.mjs +11 -0
  521. package/docs/consumer-skill/scripts/inspect-tokens.mjs +11 -0
  522. package/docs/consumer-skill/scripts/inspection.mjs +193 -0
  523. package/docs/consumer-skill/scripts/map-composition.mjs +12 -0
  524. package/docs/consumer-skill/scripts/setup-skills.mjs +111 -0
  525. package/docs/consumer-skill/scripts/surface-policy.mjs +5 -5
  526. package/docs/consumer-skills/themelia-components/SKILL.md +31 -0
  527. package/docs/consumer-skills/themelia-composition/SKILL.md +34 -0
  528. package/docs/consumer-skills/themelia-design/SKILL.md +55 -0
  529. package/docs/consumer-skills/themelia-forms/SKILL.md +12 -0
  530. package/docs/consumer-skills/themelia-foundation/SKILL.md +15 -0
  531. package/docs/consumer-skills/themelia-tokenization/SKILL.md +42 -0
  532. package/package.json +4 -2
  533. package/templates/README.md +39 -0
  534. package/templates/admin-shell-template.tsx +382 -0
  535. package/templates/analytics-operations-template.tsx +376 -0
  536. package/templates/customers-template.tsx +509 -0
  537. package/templates/index.ts +29 -0
  538. package/templates/orders-template.tsx +1102 -0
  539. package/templates/products-template.tsx +834 -0
  540. package/templates/user-permissions-template.tsx +450 -0
  541. package/dist/accordion-Cjb6sx0G.js.map +0 -1
  542. package/dist/action-menu-CllU52Mm.js +0 -280
  543. package/dist/action-menu-CllU52Mm.js.map +0 -1
  544. package/dist/affordance-geometry.generated-tF36bREk.js.map +0 -1
  545. package/dist/ai-artifact-DvTwDVyL.js.map +0 -1
  546. package/dist/app-shell-C4FhvCqF.js +0 -236
  547. package/dist/app-shell-C4FhvCqF.js.map +0 -1
  548. package/dist/auth-BGua8ouh.js.map +0 -1
  549. package/dist/avatar-DAPlDvhJ.js.map +0 -1
  550. package/dist/base/cascader.js.map +0 -1
  551. package/dist/batch-action-bar-DnUJ21NQ.js.map +0 -1
  552. package/dist/button-DVzspB_G.js.map +0 -1
  553. package/dist/buttons-DPZekJFu.js.map +0 -1
  554. package/dist/cards-BaBZR-AU.js +0 -68
  555. package/dist/cards-BaBZR-AU.js.map +0 -1
  556. package/dist/chart-ZOYyK2xG.js +0 -155
  557. package/dist/chart-ZOYyK2xG.js.map +0 -1
  558. package/dist/checkbox-AWIhNhmo.js.map +0 -1
  559. package/dist/choice-inputs-CNHvARCJ.js +0 -770
  560. package/dist/choice-inputs-CNHvARCJ.js.map +0 -1
  561. package/dist/code-block-DeneBJR_.js.map +0 -1
  562. package/dist/combobox-DaHESuiL.js +0 -355
  563. package/dist/combobox-DaHESuiL.js.map +0 -1
  564. package/dist/combobox-Dxo2fAYQ.js.map +0 -1
  565. package/dist/command-C25VMRII.js.map +0 -1
  566. package/dist/comments-DD0DUPwJ.js.map +0 -1
  567. package/dist/containers-Mu1LMGV1.js +0 -103
  568. package/dist/containers-Mu1LMGV1.js.map +0 -1
  569. package/dist/control-group-recipes-DBXmfh2E.js.map +0 -1
  570. package/dist/data-display-DT_khPl_.js.map +0 -1
  571. package/dist/date-picker-B2K3ucWn.js.map +0 -1
  572. package/dist/date-pickers-Ds8gLaoP.js +0 -175
  573. package/dist/date-pickers-Ds8gLaoP.js.map +0 -1
  574. package/dist/dropdown-menu-Cl4X7L5S.js +0 -193
  575. package/dist/dropdown-menu-Cl4X7L5S.js.map +0 -1
  576. package/dist/feedback-BYIhtitP.js.map +0 -1
  577. package/dist/field-affordance-recipes-DZhnIL_Y.js.map +0 -1
  578. package/dist/filters-DJVAveHA.js.map +0 -1
  579. package/dist/form-field-CwH9y77i.js.map +0 -1
  580. package/dist/form-sizing-BdP_Mf5p.js.map +0 -1
  581. package/dist/forms-B9G_xwzi.js +0 -194
  582. package/dist/forms-B9G_xwzi.js.map +0 -1
  583. package/dist/forms-numeric-B_jraJaQ.js.map +0 -1
  584. package/dist/header-BSfIEWbI.js.map +0 -1
  585. package/dist/hooks-ClH9thn4.js.map +0 -1
  586. package/dist/input-CZw8iU99.js +0 -21
  587. package/dist/input-CZw8iU99.js.map +0 -1
  588. package/dist/input-DQdEd0YD.js +0 -263
  589. package/dist/input-DQdEd0YD.js.map +0 -1
  590. package/dist/item-K5_ghvze.js +0 -275
  591. package/dist/item-K5_ghvze.js.map +0 -1
  592. package/dist/message-DZ_ruyUV.js.map +0 -1
  593. package/dist/metadata-list-8N16ZMW_.js +0 -405
  594. package/dist/metadata-list-8N16ZMW_.js.map +0 -1
  595. package/dist/motion-recipes-ChBg4HBq.js.map +0 -1
  596. package/dist/navigation-Bnotn4AQ.js +0 -145
  597. package/dist/navigation-Bnotn4AQ.js.map +0 -1
  598. package/dist/navigation-BzhHI3lo.js.map +0 -1
  599. package/dist/navigation-row-recipes-BFLCk_Aq.js.map +0 -1
  600. package/dist/overflow-tab-bar-CWY7Nogn.js +0 -282
  601. package/dist/overflow-tab-bar-CWY7Nogn.js.map +0 -1
  602. package/dist/overlays-tMkF-VAN.js +0 -1003
  603. package/dist/overlays-tMkF-VAN.js.map +0 -1
  604. package/dist/page-CL9YeH_V.js +0 -224
  605. package/dist/page-CL9YeH_V.js.map +0 -1
  606. package/dist/page-header-commands-DOb6WsfD.js +0 -126
  607. package/dist/page-header-commands-DOb6WsfD.js.map +0 -1
  608. package/dist/popover-gnTOhbFM.js +0 -198
  609. package/dist/popover-gnTOhbFM.js.map +0 -1
  610. package/dist/popover.recipes-D3j8R8Yp.js.map +0 -1
  611. package/dist/receipt-BVSOH3Xo.js.map +0 -1
  612. package/dist/rich-text-editor-cRLC-eBK.js.map +0 -1
  613. package/dist/rich-text-editor-toolbar-DfXg0-VC.js.map +0 -1
  614. package/dist/settings-ybnjVwbd.js +0 -171
  615. package/dist/settings-ybnjVwbd.js.map +0 -1
  616. package/dist/sheet-ijlsjq-n.js +0 -213
  617. package/dist/sheet-ijlsjq-n.js.map +0 -1
  618. package/dist/sidebar-Db6gkh3U.js +0 -619
  619. package/dist/sidebar-Db6gkh3U.js.map +0 -1
  620. package/dist/sidebar-DkTO4VTO.js +0 -512
  621. package/dist/sidebar-DkTO4VTO.js.map +0 -1
  622. package/dist/skeleton-Byjnt7qr.js +0 -264
  623. package/dist/skeleton-Byjnt7qr.js.map +0 -1
  624. package/dist/smart-card-DiC5aac3.js +0 -604
  625. package/dist/smart-card-DiC5aac3.js.map +0 -1
  626. package/dist/table-BweFy_P9.js.map +0 -1
  627. package/dist/tabs-CDocW5D1.js.map +0 -1
  628. package/dist/text-inputs-f9Ia-aCi.js.map +0 -1
  629. package/dist/text.styles-g4He6UIW.js.map +0 -1
  630. package/dist/theme-scope-BJ6eE2xt.js +0 -50
  631. package/dist/theme-scope-BJ6eE2xt.js.map +0 -1
  632. package/dist/timelines-CwM_9IhD.js.map +0 -1
  633. package/dist/tooltip-yiRJUFjp.js +0 -111
  634. package/dist/tooltip-yiRJUFjp.js.map +0 -1
  635. package/dist/typography-UTnveOEy.js +0 -117
  636. package/dist/typography-UTnveOEy.js.map +0 -1
  637. package/dist/ui-provider-C_U0Xma4.js +0 -136
  638. package/dist/ui-provider-C_U0Xma4.js.map +0 -1
  639. package/dist/upload-CXyxmQBP.js.map +0 -1
  640. package/dist/upload-queue-Boscubn9.js.map +0 -1
  641. package/dist/usage-card-BhO5eqkX.js.map +0 -1
  642. package/dist/use-mobile-vaLKwgyf.js +0 -15
  643. package/dist/use-mobile-vaLKwgyf.js.map +0 -1
  644. package/dist/utils-BRhFDwuU.js.map +0 -1
  645. package/dist/value-inputs-TaX4OjNk.js +0 -963
  646. package/dist/value-inputs-TaX4OjNk.js.map +0 -1
  647. package/dist/workspace-B-OEm3Kf.js +0 -408
  648. package/dist/workspace-B-OEm3Kf.js.map +0 -1
@@ -1,33 +1,33 @@
1
1
  "use client";
2
- import { s as e, v as t } from "./ui-provider-C_U0Xma4.js";
2
+ import { S as e, d as t } from "./ui-provider-C-74NVLc.js";
3
3
  import { useStrings as n } from "./lib/strings.js";
4
- import { t as r } from "./utils-BRhFDwuU.js";
5
- import { n as i } from "./buttons-DPZekJFu.js";
6
- import { c as a, o } from "./typography-UTnveOEy.js";
7
- import { t as s } from "./structure-BmisBK-3.js";
8
- import { n as c } from "./tone-recipes-BPsRAvhu.js";
9
- import { t as l } from "./feedback-BYIhtitP.js";
10
- import { t as u } from "./layer-recipes-CCpklYME.js";
11
- import { n as d, r as f } from "./field-affordance-recipes-DZhnIL_Y.js";
12
- import { C as p, S as m, _ as h, a as g, b as _, g as v, h as y, m as b, o as x, p as S, t as C, u as w, v as T, w as E, x as D } from "./combobox-DaHESuiL.js";
13
- import { l as O, u as k } from "./form-sizing-BdP_Mf5p.js";
14
- import { t as A } from "./input-DQdEd0YD.js";
15
- import { t as ee } from "./scroll-area-DcI-M1UT.js";
4
+ import { t as r } from "./utils-B6kKb8jB.js";
5
+ import { n as i } from "./buttons-BedGfygC.js";
6
+ import { c as a } from "./typography-BQnine1k.js";
7
+ import { t as o } from "./structure-DuxKl954.js";
8
+ import { n as s } from "./tone-recipes-BPsRAvhu.js";
9
+ import { t as c } from "./feedback-Dm4izqFn.js";
10
+ import { t as l } from "./layer-recipes-CCpklYME.js";
11
+ import { n as u, r as d } from "./field-affordance-recipes-DWcNcOjh.js";
12
+ import { C as f, S as p, _ as m, a as h, d as g, g as _, h as v, m as y, o as b, s as x, t as S, v as C, w, x as T, y as E } from "./combobox-BEx0vJgF.js";
13
+ import { l as D, u as O } from "./form-sizing-Bs2qFUeE.js";
14
+ import { t as k } from "./input-CvyDQlY7.js";
15
+ import { t as A } from "./scroll-area-B0dB2cBi.js";
16
16
  import { t as j } from "./use-debounced-callback-Cx1h-hdv.js";
17
- import * as M from "react";
18
- import { useCallback as N, useEffect as P, useMemo as F, useRef as I, useState as L } from "react";
19
- import { Fragment as te, jsx as R, jsxs as z } from "react/jsx-runtime";
20
- import { ChevronDownIcon as B, Loader2 as ne, PlusIcon as V, XIcon as H } from "lucide-react";
21
- import { Combobox as U } from "@base-ui/react/combobox";
17
+ import * as ee from "react";
18
+ import { useCallback as M, useEffect as N, useMemo as P, useRef as F, useState as I } from "react";
19
+ import { Fragment as L, jsx as R, jsxs as z } from "react/jsx-runtime";
20
+ import { ChevronDownIcon as te, Loader2 as B, PlusIcon as ne, XIcon as V } from "lucide-react";
21
+ import { Combobox as H } from "@base-ui/react/combobox";
22
22
  //#region src/components/base/combobox/combobox-field.tsx
23
- function re({ placeholder: e, clearLabel: t, toggleLabel: n, size: a, error: o, required: s, disabled: c, clearable: l = !0, className: u, onBlur: p }) {
23
+ function re({ placeholder: e, clearLabel: t, toggleLabel: n, size: a, error: o, required: s, disabled: c, clearable: l = !0, className: f, onBlur: p }) {
24
24
  return /* @__PURE__ */ z("div", {
25
25
  className: "relative",
26
- children: [/* @__PURE__ */ R(D, {
27
- render: /* @__PURE__ */ R(A, {
26
+ children: [/* @__PURE__ */ R(T, {
27
+ render: /* @__PURE__ */ R(k, {
28
28
  size: a,
29
29
  invalid: o,
30
- className: r(l ? f.clearPadding[a] : f.padding[a], u)
30
+ className: r(l ? d.clearPadding[a] : d.padding[a], f)
31
31
  }),
32
32
  placeholder: e,
33
33
  "aria-invalid": o || void 0,
@@ -35,29 +35,29 @@ function re({ placeholder: e, clearLabel: t, toggleLabel: n, size: a, error: o,
35
35
  disabled: c,
36
36
  onBlur: p
37
37
  }), /* @__PURE__ */ z("div", {
38
- className: r("absolute inset-y-0 flex items-center gap-space-xs text-muted-foreground", f.track[a]),
39
- children: [l ? /* @__PURE__ */ R(U.Clear, { render: /* @__PURE__ */ R(i, {
38
+ className: r("absolute inset-y-0 flex items-center gap-space-xs text-muted-foreground", d.track[a]),
39
+ children: [l ? /* @__PURE__ */ R(H.Clear, { render: /* @__PURE__ */ R(i, {
40
40
  type: "button",
41
41
  tone: "secondary",
42
42
  buttonStyle: "ghost",
43
43
  size: "sm",
44
44
  iconOnly: !0,
45
- className: r(d.target, d.focus, d.clear),
45
+ className: r(u.target, u.focus, u.clear),
46
46
  "aria-label": t,
47
- children: /* @__PURE__ */ R(H, {
48
- className: d.icon,
47
+ children: /* @__PURE__ */ R(V, {
48
+ className: u.icon,
49
49
  "aria-hidden": "true"
50
50
  })
51
- }) }) : null, /* @__PURE__ */ R(U.Trigger, { render: /* @__PURE__ */ R(i, {
51
+ }) }) : null, /* @__PURE__ */ R(H.Trigger, { render: /* @__PURE__ */ R(i, {
52
52
  type: "button",
53
53
  tone: "secondary",
54
54
  buttonStyle: "ghost",
55
55
  size: "sm",
56
56
  iconOnly: !0,
57
- className: r(d.target, d.focus, d.toggle),
57
+ className: r(u.target, u.focus, u.toggle),
58
58
  "aria-label": n,
59
- children: /* @__PURE__ */ R(B, {
60
- className: r("shrink-0", f.icon[a]),
59
+ children: /* @__PURE__ */ R(te, {
60
+ className: r("shrink-0", d.icon[a]),
61
61
  "aria-hidden": "true"
62
62
  })
63
63
  }) })]
@@ -66,7 +66,7 @@ function re({ placeholder: e, clearLabel: t, toggleLabel: n, size: a, error: o,
66
66
  }
67
67
  //#endregion
68
68
  //#region src/components/features/combobox/combobox.strings.ts
69
- var W = {
69
+ var U = {
70
70
  placeholder: "Search...",
71
71
  clear: "Clear selection",
72
72
  toggle: "Open options",
@@ -80,21 +80,21 @@ var W = {
80
80
  loadingMore: "Loading...",
81
81
  apply: "Apply",
82
82
  cancel: "Cancel"
83
- }, G = Symbol("combobox-create-option");
84
- function K(e) {
85
- return typeof e == "object" && !!e && G in e;
83
+ }, W = Symbol("combobox-create-option");
84
+ function G(e) {
85
+ return typeof e == "object" && !!e && W in e;
86
86
  }
87
- function q(e) {
88
- if (!K(e)) throw Error("Item is not a create option");
89
- return e[G];
87
+ function K(e) {
88
+ if (!G(e)) throw Error("Item is not a create option");
89
+ return e[W];
90
90
  }
91
- function J(e) {
92
- return { [G]: e };
91
+ function ie(e) {
92
+ return { [W]: e };
93
93
  }
94
94
  //#endregion
95
95
  //#region src/components/features/combobox/components/loading-more.tsx
96
- function Y({ loading: e, text: t, className: n }) {
97
- return e ? /* @__PURE__ */ z(s, {
96
+ function q({ loading: e, text: t, className: n }) {
97
+ return e ? /* @__PURE__ */ z(o, {
98
98
  direction: "horizontal",
99
99
  gap: "sm",
100
100
  justify: "center",
@@ -102,7 +102,7 @@ function Y({ loading: e, text: t, className: n }) {
102
102
  className: r("loading-more--component", "px-control py-space-xs text-xs text-muted-foreground", n),
103
103
  role: "status",
104
104
  "aria-live": "polite",
105
- children: [/* @__PURE__ */ R(ne, {
105
+ children: [/* @__PURE__ */ R(B, {
106
106
  className: "size-icon-sm animate-spin",
107
107
  "aria-hidden": "true"
108
108
  }), /* @__PURE__ */ R(a, {
@@ -114,10 +114,10 @@ function Y({ loading: e, text: t, className: n }) {
114
114
  })]
115
115
  }) : null;
116
116
  }
117
- Y.displayName = "LoadingMore";
117
+ q.displayName = "LoadingMore";
118
118
  //#endregion
119
119
  //#region src/components/features/combobox/components/status-content.tsx
120
- function X({ children: e }) {
120
+ function J({ children: e }) {
121
121
  return /* @__PURE__ */ R(a, {
122
122
  tag: "span",
123
123
  size: "inherit",
@@ -126,17 +126,17 @@ function X({ children: e }) {
126
126
  children: e
127
127
  });
128
128
  }
129
- function ie({ loading: e, searchValue: t, minSearchLength: n, itemCount: r, strings: i }) {
129
+ function Y({ loading: e, searchValue: t, minSearchLength: n, itemCount: r, strings: i }) {
130
130
  let a = t.trim();
131
- if (e) return /* @__PURE__ */ z(te, { children: [/* @__PURE__ */ R(ne, { className: "size-icon-sm animate-spin" }), /* @__PURE__ */ R(X, { children: i.searching })] });
132
- if (a === "") return i.typeToSearch.includes("{min}") ? /* @__PURE__ */ R(X, { children: i.typeToSearch.replace("{min}", String(n)) }) : /* @__PURE__ */ R(X, { children: i.typeToSearch });
131
+ if (e) return /* @__PURE__ */ z(L, { children: [/* @__PURE__ */ R(B, { className: "size-icon-sm animate-spin" }), /* @__PURE__ */ R(J, { children: i.searching })] });
132
+ if (a === "") return i.typeToSearch.includes("{min}") ? /* @__PURE__ */ R(J, { children: i.typeToSearch.replace("{min}", String(n)) }) : /* @__PURE__ */ R(J, { children: i.typeToSearch });
133
133
  if (a.length < n) {
134
134
  let e = n - a.length;
135
- return i.typeMore.includes("{remaining}") || i.typeMore.includes("{s}") ? /* @__PURE__ */ R(X, { children: i.typeMore.replace("{remaining}", String(e)).replace("{s}", e === 1 ? "" : "s") }) : /* @__PURE__ */ R(X, { children: i.typeMore });
135
+ return i.typeMore.includes("{remaining}") || i.typeMore.includes("{s}") ? /* @__PURE__ */ R(J, { children: i.typeMore.replace("{remaining}", String(e)).replace("{s}", e === 1 ? "" : "s") }) : /* @__PURE__ */ R(J, { children: i.typeMore });
136
136
  }
137
137
  return null;
138
138
  }
139
- ie.displayName = "StatusContent";
139
+ Y.displayName = "StatusContent";
140
140
  //#endregion
141
141
  //#region src/components/features/combobox/components/combobox-dropdown.tsx
142
142
  var ae = {
@@ -148,70 +148,77 @@ var ae = {
148
148
  md: "flex min-h-control items-center justify-center px-row-x py-row-y text-center text-sm leading-tight text-muted-foreground",
149
149
  lg: "flex min-h-control-lg items-center justify-center px-row-x py-row-y-lg text-center text-sm leading-tight text-muted-foreground"
150
150
  };
151
- function se({ loading: e, showStatus: t, showEmpty: n, searchValue: c, minSearchLength: l, items: d, groupedItems: f, createOptionItem: b, renderItemContent: S, getItemReactKey: C, getItemDisabled: w, renderGroupLabel: D, loadingMore: O, strings: k, size: A = "md", portalContainer: j, listRef: M, anchor: N, applyFooter: P }) {
152
- let F = j == null ? void 0 : u.nestedOverlay, I = ae[A];
153
- if (!(t || n || d.length > 0 || O || P)) return null;
154
- let L = /* @__PURE__ */ R(p, {
155
- anchor: N,
156
- className: F,
151
+ function se({ loading: e, showStatus: t, showEmpty: n, searchValue: s, minSearchLength: c, items: u, groupedItems: d, createOptionItem: g, renderItemContent: v, getItemReactKey: y, getItemDisabled: S, renderGroupLabel: T, loadingMore: D, strings: O, size: k = "md", portalContainer: j, listRef: ee, anchor: M, applyFooter: N }) {
152
+ let P = j == null ? void 0 : l.nestedOverlay, F = ae[k];
153
+ if (!(t || n || u.length > 0 || D || N)) return null;
154
+ let I = /* @__PURE__ */ R(f, {
155
+ anchor: M,
156
+ className: P,
157
157
  children: /* @__PURE__ */ z(x, {
158
158
  "aria-busy": e || void 0,
159
159
  className: r("combobox-dropdown--popup"),
160
160
  children: [
161
- !!t && /* @__PURE__ */ R(E, {
161
+ !!t && /* @__PURE__ */ R(w, {
162
162
  className: "gap-space-sm px-control py-space-xs text-xs text-muted-foreground",
163
- children: /* @__PURE__ */ R(ie, {
163
+ children: /* @__PURE__ */ R(Y, {
164
164
  loading: e,
165
- searchValue: c,
166
- minSearchLength: l,
167
- itemCount: d.length,
168
- strings: k
165
+ searchValue: s,
166
+ minSearchLength: c,
167
+ itemCount: u.length,
168
+ strings: O
169
169
  })
170
170
  }),
171
- !!n && /* @__PURE__ */ R(v, {
172
- className: oe[A],
171
+ !!n && /* @__PURE__ */ R(m, {
172
+ className: oe[k],
173
173
  children: /* @__PURE__ */ R(a, {
174
174
  tag: "span",
175
175
  size: "inherit",
176
176
  type: "secondary",
177
177
  className: "text-inherit",
178
- children: k.noResults
178
+ children: O.noResults
179
179
  })
180
180
  }),
181
- /* @__PURE__ */ R(ee, {
182
- viewportRef: M,
181
+ /* @__PURE__ */ R(A, {
182
+ viewportRef: ee,
183
183
  className: "max-h-[min(20rem,var(--available-height))]",
184
- children: /* @__PURE__ */ R(_, {
184
+ children: /* @__PURE__ */ R(b, {
185
185
  className: "combobox-dropdown--list max-h-none overflow-visible",
186
- children: f ? /* @__PURE__ */ z(te, { children: [Array.from(f.entries()).map(([e, t]) => {
187
- let n = typeof D == "function" ? D(e) : e;
188
- return /* @__PURE__ */ z(h, {
186
+ children: d ? /* @__PURE__ */ z(L, { children: [Array.from(d.entries()).map(([e, t]) => {
187
+ let n = typeof T == "function" ? T(e) : e;
188
+ return /* @__PURE__ */ z(C, {
189
189
  className: "combobox-dropdown--group p-0",
190
190
  items: t,
191
- children: [/* @__PURE__ */ R(T, { children: typeof n == "string" || typeof n == "number" || typeof n == "bigint" ? /* @__PURE__ */ R(o, { children: n }) : n }), /* @__PURE__ */ R(y, { children: (e) => /* @__PURE__ */ R(g, {
191
+ children: [/* @__PURE__ */ R(E, { children: typeof n == "string" || typeof n == "number" || typeof n == "bigint" ? /* @__PURE__ */ R(a, {
192
+ tag: "span",
193
+ size: "xs",
194
+ type: "secondary",
195
+ weight: "medium",
196
+ lineHeight: "tight",
197
+ children: n
198
+ }) : n }), /* @__PURE__ */ R(_, { children: (e) => /* @__PURE__ */ R(h, {
192
199
  value: e,
193
- size: I,
194
- disabled: w?.(e),
195
- children: S(e)
196
- }, C(e)) })]
200
+ size: F,
201
+ disabled: S?.(e),
202
+ children: v(e)
203
+ }, y(e)) })]
197
204
  }, e);
198
- }), b != null && /* @__PURE__ */ R(g, {
199
- value: b,
200
- size: I,
201
- children: S(b)
202
- }, C(b))] }) : /* @__PURE__ */ R(y, { children: (e) => /* @__PURE__ */ R(g, {
205
+ }), g != null && /* @__PURE__ */ R(h, {
206
+ value: g,
207
+ size: F,
208
+ children: v(g)
209
+ }, y(g))] }) : /* @__PURE__ */ R(_, { children: (e) => /* @__PURE__ */ R(h, {
203
210
  value: e,
204
- size: I,
205
- disabled: w?.(e),
206
- children: S(e)
207
- }, C(e)) })
211
+ size: F,
212
+ disabled: S?.(e),
213
+ children: v(e)
214
+ }, y(e)) })
208
215
  })
209
216
  }),
210
- /* @__PURE__ */ R(Y, {
211
- loading: !!O,
212
- text: k.loadingMore
217
+ /* @__PURE__ */ R(q, {
218
+ loading: !!D,
219
+ text: O.loadingMore
213
220
  }),
214
- !!P && /* @__PURE__ */ z(s, {
221
+ !!N && /* @__PURE__ */ z(o, {
215
222
  direction: "horizontal",
216
223
  gap: "md",
217
224
  justify: "end",
@@ -222,25 +229,25 @@ function se({ loading: e, showStatus: t, showEmpty: n, searchValue: c, minSearch
222
229
  tone: "secondary",
223
230
  buttonStyle: "ghost",
224
231
  onClick: (e) => {
225
- e.preventDefault(), e.stopPropagation(), P.onCancel();
232
+ e.preventDefault(), e.stopPropagation(), N.onCancel();
226
233
  },
227
- children: P.cancelLabel
234
+ children: N.cancelLabel
228
235
  }), /* @__PURE__ */ R(i, {
229
236
  type: "button",
230
237
  tone: "primary",
231
238
  onClick: (e) => {
232
- e.preventDefault(), e.stopPropagation(), P.onApply();
239
+ e.preventDefault(), e.stopPropagation(), N.onApply();
233
240
  },
234
- children: P.applyLabel
241
+ children: N.applyLabel
235
242
  })]
236
243
  })
237
244
  ]
238
245
  })
239
246
  });
240
- return j ? /* @__PURE__ */ R(m, {
247
+ return j ? /* @__PURE__ */ R(p, {
241
248
  container: j,
242
- children: L
243
- }) : /* @__PURE__ */ R(m, { children: L });
249
+ children: I
250
+ }) : /* @__PURE__ */ R(p, { children: I });
244
251
  }
245
252
  se.displayName = "ComboboxDropdown";
246
253
  //#endregion
@@ -262,7 +269,7 @@ ce.displayName = "ErrorMessage";
262
269
  function le(e) {
263
270
  return e.replace(/[$()*+.?[\\\]^{|}]/g, "\\$&");
264
271
  }
265
- function ue({ text: e, highlight: t, highlightClassName: n = c.match }) {
272
+ function X({ text: e, highlight: t, highlightClassName: n = s.match }) {
266
273
  if (!t.trim()) return /* @__PURE__ */ R(a, {
267
274
  tag: "span",
268
275
  size: "inherit",
@@ -281,18 +288,18 @@ function ue({ text: e, highlight: t, highlightClassName: n = c.match }) {
281
288
  return o += e.length, r ? /* @__PURE__ */ R("mark", {
282
289
  className: n,
283
290
  children: e
284
- }, i) : /* @__PURE__ */ R(M.Fragment, { children: e }, i);
291
+ }, i) : /* @__PURE__ */ R(ee.Fragment, { children: e }, i);
285
292
  })
286
293
  });
287
294
  }
288
- ue.displayName = "HighlightedText";
295
+ X.displayName = "HighlightedText";
289
296
  //#endregion
290
297
  //#region src/components/features/combobox/hooks/use-debounced-search.ts
291
- function de({ searchValue: e, onSearch: t, debounceMs: n = 300, minSearchLength: r = 3 }) {
298
+ function ue({ searchValue: e, onSearch: t, debounceMs: n = 300, minSearchLength: r = 3 }) {
292
299
  let i = j((e) => {
293
300
  t?.(e);
294
301
  }, n);
295
- P(() => {
302
+ N(() => {
296
303
  let t = e.trim();
297
304
  if (!(t.length < r)) return i(t), i.cancel;
298
305
  }, [
@@ -303,8 +310,8 @@ function de({ searchValue: e, onSearch: t, debounceMs: n = 300, minSearchLength:
303
310
  }
304
311
  //#endregion
305
312
  //#region src/components/features/combobox/hooks/use-grouped-items.ts
306
- function fe({ items: e, getItemGroup: t }) {
307
- return F(() => {
313
+ function de({ items: e, getItemGroup: t }) {
314
+ return P(() => {
308
315
  if (!t) return null;
309
316
  let n = /* @__PURE__ */ new Map();
310
317
  for (let r of e) {
@@ -316,15 +323,15 @@ function fe({ items: e, getItemGroup: t }) {
316
323
  }
317
324
  //#endregion
318
325
  //#region src/components/features/combobox/hooks/use-load-more.ts
319
- function pe({ hasMore: e, onLoadMore: t, loadingMore: n }) {
320
- let r = I(!1), i = I(null), a = j(() => {
326
+ function fe({ hasMore: e, onLoadMore: t, loadingMore: n }) {
327
+ let r = F(!1), i = F(null), a = j(() => {
321
328
  r.current = !0, t?.(), i.current && clearTimeout(i.current), i.current = setTimeout(() => {
322
329
  r.current = !1, i.current = null;
323
330
  }, 500);
324
331
  }, 100);
325
- return P(() => () => {
332
+ return N(() => () => {
326
333
  i.current && clearTimeout(i.current);
327
- }, []), { handleScroll: N((i) => {
334
+ }, []), { handleScroll: M((i) => {
328
335
  if (!e || !t || n || r.current) return;
329
336
  let { scrollHeight: o, scrollTop: s, clientHeight: c } = i.target;
330
337
  (s + c) / o >= .8 && a();
@@ -337,27 +344,27 @@ function pe({ hasMore: e, onLoadMore: t, loadingMore: n }) {
337
344
  }
338
345
  //#endregion
339
346
  //#region src/components/features/combobox/hooks/use-combobox-core.tsx
340
- function me(e) {
341
- return n(W, e);
347
+ function pe(e) {
348
+ return n(U, e);
342
349
  }
343
- function he(e, t, n) {
350
+ function me(e, t, n) {
344
351
  let r = t.toLowerCase();
345
352
  return e.some((e) => n(e).toLowerCase() === r);
346
353
  }
347
- function ge({ items: e, searchValue: t, getItemLabel: n, getItemKey: i, loading: o = !1, showListContent: s = !0, minSearchLength: c = 3, strings: l, renderItem: u, onSearch: d, debounceMs: f = 300, creatable: p, onCreate: m, getItemGroup: h, hasMore: g, onLoadMore: _, loadingMore: v, highlightMatch: y, ensuredItems: b = [] }) {
348
- let x = me(l), S = i ?? n, C = I(null), w = t.trim(), T = s && (o || w.length < c);
349
- de({
354
+ function he({ items: e, searchValue: t, getItemLabel: n, getItemKey: i, loading: o = !1, showListContent: s = !0, minSearchLength: c = 3, strings: l, renderItem: u, onSearch: d, debounceMs: f = 300, creatable: p, onCreate: m, getItemGroup: h, hasMore: g, onLoadMore: _, loadingMore: v, highlightMatch: y, ensuredItems: b = [] }) {
355
+ let x = pe(l), S = i ?? n, C = F(null), w = t.trim(), T = s && (o || w.length < c);
356
+ ue({
350
357
  searchValue: t,
351
358
  onSearch: d,
352
359
  debounceMs: f,
353
360
  minSearchLength: c
354
361
  });
355
- let { handleScroll: E } = pe({
362
+ let { handleScroll: E } = fe({
356
363
  hasMore: s && !T ? g : !1,
357
364
  onLoadMore: _,
358
365
  loadingMore: v
359
366
  });
360
- P(() => {
367
+ N(() => {
361
368
  let e = C.current;
362
369
  if (s && !T && e && g && _) return e.addEventListener("scroll", E), () => e.removeEventListener("scroll", E);
363
370
  }, [
@@ -367,7 +374,7 @@ function ge({ items: e, searchValue: t, getItemLabel: n, getItemKey: i, loading:
367
374
  s,
368
375
  T
369
376
  ]);
370
- let D = F(() => {
377
+ let D = P(() => {
371
378
  if (!s || T) return [];
372
379
  if (b.length === 0) return e;
373
380
  let t = [...b];
@@ -381,10 +388,10 @@ function ge({ items: e, searchValue: t, getItemLabel: n, getItemKey: i, loading:
381
388
  S,
382
389
  s,
383
390
  T
384
- ]), O = fe({
391
+ ]), O = de({
385
392
  items: D,
386
393
  getItemGroup: h
387
- }), k = F(() => !s || T || !p || !m || w.length < c ? !1 : !he(D, w, n), [
394
+ }), k = P(() => !s || T || !p || !m || w.length < c ? !1 : !me(D, w, n), [
388
395
  p,
389
396
  m,
390
397
  w,
@@ -393,25 +400,25 @@ function ge({ items: e, searchValue: t, getItemLabel: n, getItemKey: i, loading:
393
400
  n,
394
401
  s,
395
402
  T
396
- ]), A = F(() => k ? J(w) : null, [k, w]);
403
+ ]), A = P(() => k ? ie(w) : null, [k, w]);
397
404
  return {
398
405
  strings: x,
399
406
  getKey: S,
400
407
  trimmedSearch: w,
401
408
  listRef: C,
402
409
  baseItems: D,
403
- allItems: F(() => A ? [...D, A] : D, [D, A]),
410
+ allItems: P(() => A ? [...D, A] : D, [D, A]),
404
411
  groupedItems: O,
405
412
  createOptionItem: A,
406
413
  showStatus: T,
407
414
  showEmpty: s && !o && w.length >= c && e.length === 0 && !k,
408
415
  showCreateOption: k,
409
- renderItemContent: N((e) => {
410
- if (K(e)) {
411
- let t = q(e);
416
+ renderItemContent: M((e) => {
417
+ if (G(e)) {
418
+ let t = K(e);
412
419
  return /* @__PURE__ */ z("span", {
413
420
  className: r("combobox-core--component", "flex items-center gap-space-sm"),
414
- children: [/* @__PURE__ */ R(V, { className: "size-icon-sm" }), x.createNew.includes("{value}") ? /* @__PURE__ */ R(a, {
421
+ children: [/* @__PURE__ */ R(ne, { className: "size-icon-sm" }), x.createNew.includes("{value}") ? /* @__PURE__ */ R(a, {
415
422
  tag: "span",
416
423
  size: "inherit",
417
424
  weight: "medium",
@@ -440,7 +447,7 @@ function ge({ items: e, searchValue: t, getItemLabel: n, getItemKey: i, loading:
440
447
  }
441
448
  if (u) return u(e);
442
449
  let t = n(e);
443
- return y && w ? /* @__PURE__ */ R(ue, {
450
+ return y && w ? /* @__PURE__ */ R(X, {
444
451
  text: t,
445
452
  highlight: w
446
453
  }) : /* @__PURE__ */ R(a, {
@@ -458,65 +465,65 @@ function ge({ items: e, searchValue: t, getItemLabel: n, getItemKey: i, loading:
458
465
  y,
459
466
  w
460
467
  ]),
461
- itemToStringLabel: N((e) => K(e) ? q(e) : n(e), [n]),
462
- getItemReactKey: N((e) => K(e) ? `__create__:${q(e)}` : String(S(e)), [S]),
468
+ itemToStringLabel: M((e) => G(e) ? K(e) : n(e), [n]),
469
+ getItemReactKey: M((e) => G(e) ? `__create__:${K(e)}` : String(S(e)), [S]),
463
470
  handleScroll: E
464
471
  };
465
472
  }
466
473
  //#endregion
467
474
  //#region src/components/features/combobox/combobox.tsx
468
- function _e(e, n) {
469
- return t(e, n, "md");
475
+ function ge(t, n) {
476
+ return e(t, n, "md");
470
477
  }
471
- var ve = {
478
+ var _e = {
472
479
  sm: "sm",
473
480
  md: "md",
474
481
  lg: "lg"
475
482
  };
476
- function ye(e) {
483
+ function ve(e) {
477
484
  return e;
478
485
  }
479
- function Z({ items: t, selectedValue: n, onSelectedValueChange: r, clearSearchOnClose: i = !0, searchValue: a, onSearchValueChange: o, getItemLabel: c, getItemKey: l, loading: u = !1, showListContent: d = !0, minSearchLength: f = 3, strings: p, disabled: m = !1, className: h, clearable: g = !0, renderItem: _, portalContainer: v, name: y, invalid: b, error: x, required: S, onBlur: C, onSearch: T, debounceMs: E, creatable: D, onCreate: O, getItemGroup: k, renderGroupLabel: A, hasMore: ee, onLoadMore: j, loadingMore: M, getItemDisabled: P, highlightMatch: F, size: I, open: te, onOpenChange: B }) {
480
- let { defaultScale: ne } = e(), V = _e(I, ne), H = ye(V), U = b || !!x, W = ge({
481
- items: t,
486
+ function Z({ items: e, selectedValue: n, onSelectedValueChange: r, clearSearchOnClose: i = !0, searchValue: a, onSearchValueChange: s, getItemLabel: c, getItemKey: l, loading: u = !1, showListContent: d = !0, minSearchLength: f = 3, strings: p, disabled: m = !1, className: h, clearable: _ = !0, renderItem: v, portalContainer: y, name: b, invalid: x, error: S, required: C, onBlur: w, onSearch: T, debounceMs: E, creatable: D, onCreate: O, getItemGroup: k, renderGroupLabel: A, hasMore: j, onLoadMore: ee, loadingMore: N, getItemDisabled: P, highlightMatch: F, size: L, open: te, onOpenChange: B }) {
487
+ let { defaultScale: ne } = t(), V = ge(L, ne), H = ve(V), U = x || !!S, W = he({
488
+ items: e,
482
489
  searchValue: a,
483
- onSearchValueChange: o,
490
+ onSearchValueChange: s,
484
491
  getItemLabel: c,
485
492
  getItemKey: l,
486
493
  loading: u,
487
494
  showListContent: d,
488
495
  minSearchLength: f,
489
496
  strings: p,
490
- renderItem: _,
497
+ renderItem: v,
491
498
  onSearch: T,
492
499
  debounceMs: E,
493
500
  creatable: D,
494
501
  onCreate: O,
495
502
  getItemGroup: k,
496
- hasMore: ee,
497
- onLoadMore: j,
498
- loadingMore: M,
503
+ hasMore: j,
504
+ onLoadMore: ee,
505
+ loadingMore: N,
499
506
  highlightMatch: F,
500
507
  size: V,
501
508
  ensuredItems: n ? [n] : []
502
- }), [G, J] = L(!1), Y = N((e) => {
503
- J(e), !e && i && o(""), B?.(e);
509
+ }), [ie, q] = I(!1), J = M((e) => {
510
+ q(e), !e && i && s(""), B?.(e);
504
511
  }, [
505
512
  i,
506
513
  B,
507
- o
508
- ]), X = G ? a : n ? W.itemToStringLabel(n) : "", ie = N((e) => {
509
- if (e && K(e)) {
510
- let t = q(e);
514
+ s
515
+ ]), Y = ie ? a : n ? W.itemToStringLabel(n) : "", ae = M((e) => {
516
+ if (e && G(e)) {
517
+ let t = K(e);
511
518
  O?.(t);
512
519
  return;
513
520
  }
514
521
  r(e);
515
522
  }, [r, O]);
516
- return /* @__PURE__ */ z(s, {
523
+ return /* @__PURE__ */ z(o, {
517
524
  gap: "dense",
518
525
  className: "combobox--component",
519
- children: [/* @__PURE__ */ z(w, {
526
+ children: [/* @__PURE__ */ z(g, {
520
527
  dismissLabel: W.strings.dismiss,
521
528
  items: W.allItems,
522
529
  value: n,
@@ -525,9 +532,9 @@ function Z({ items: t, selectedValue: n, onSelectedValueChange: r, clearSearchOn
525
532
  t.allowPropagation();
526
533
  return;
527
534
  }
528
- ie(e);
535
+ ae(e);
529
536
  },
530
- inputValue: X,
537
+ inputValue: Y,
531
538
  onInputValueChange: (e, t) => {
532
539
  let { reason: n } = t;
533
540
  if (n === "escape-key") {
@@ -535,18 +542,18 @@ function Z({ items: t, selectedValue: n, onSelectedValueChange: r, clearSearchOn
535
542
  return;
536
543
  }
537
544
  if (n === "item-press") {
538
- o("");
545
+ s("");
539
546
  return;
540
547
  }
541
- o(e);
548
+ s(e);
542
549
  },
543
550
  itemToStringLabel: W.itemToStringLabel,
544
551
  disabled: m,
545
552
  filter: null,
546
- name: y,
547
- required: S,
553
+ name: b,
554
+ required: C,
548
555
  open: te,
549
- onOpenChange: Y,
556
+ onOpenChange: J,
550
557
  children: [/* @__PURE__ */ R(re, {
551
558
  placeholder: W.strings.placeholder,
552
559
  clearLabel: W.strings.clear,
@@ -554,10 +561,10 @@ function Z({ items: t, selectedValue: n, onSelectedValueChange: r, clearSearchOn
554
561
  className: h,
555
562
  size: H,
556
563
  error: U,
557
- required: S,
564
+ required: C,
558
565
  disabled: m,
559
- clearable: g,
560
- onBlur: C
566
+ clearable: _,
567
+ onBlur: w
561
568
  }), /* @__PURE__ */ R(se, {
562
569
  loading: u,
563
570
  showStatus: W.showStatus,
@@ -571,28 +578,28 @@ function Z({ items: t, selectedValue: n, onSelectedValueChange: r, clearSearchOn
571
578
  getItemReactKey: W.getItemReactKey,
572
579
  getItemDisabled: P,
573
580
  renderGroupLabel: A,
574
- loadingMore: d && !W.showStatus ? M : !1,
581
+ loadingMore: d && !W.showStatus ? N : !1,
575
582
  strings: W.strings,
576
583
  size: V,
577
- portalContainer: v,
584
+ portalContainer: y,
578
585
  listRef: W.listRef
579
586
  })]
580
587
  }), /* @__PURE__ */ R(ce, {
581
- error: x,
588
+ error: S,
582
589
  size: V
583
590
  })]
584
591
  });
585
592
  }
586
- function be({ items: t, selectedValues: n, onSelectedValuesChange: i, searchValue: o, onSearchValueChange: c, getItemLabel: l, getItemKey: u, loading: d = !1, showListContent: f = !0, minSearchLength: p = 3, strings: m, disabled: h = !1, className: g, renderItem: _, portalContainer: v, name: y, invalid: x, error: T, required: E, onBlur: D, onSearch: A, debounceMs: ee, creatable: j, onCreate: M, getItemGroup: F, renderGroupLabel: te, hasMore: B, onLoadMore: ne, loadingMore: V, getItemDisabled: H, highlightMatch: U, size: re, open: G, onOpenChange: J, closeOnSelect: Y = !1, applyButton: X = !1, onApply: ie, onCancel: ae }) {
587
- let { defaultScale: oe } = e(), le = _e(re, oe), ue = ye(le), de = ve[le], fe = x || !!T, pe = I(null), me = u ?? l, [he, Z] = L(n), [be, xe] = L(!1), Se = G !== void 0, Ce = Se ? G : be;
588
- P(() => {
589
- X && Z(n);
590
- }, [X, n]);
591
- let Q = N((e) => {
592
- Se || xe(e), J?.(e);
593
- }, [Se, J]), $ = ge({
594
- items: t,
595
- searchValue: o,
593
+ function ye({ items: e, selectedValues: n, onSelectedValuesChange: i, searchValue: s, onSearchValueChange: c, getItemLabel: l, getItemKey: u, loading: d = !1, showListContent: f = !0, minSearchLength: p = 3, strings: m, disabled: h = !1, className: _, renderItem: b, portalContainer: x, name: C, invalid: w, error: T, required: E, onBlur: k, onSearch: A, debounceMs: j, creatable: ee, onCreate: P, getItemGroup: L, renderGroupLabel: te, hasMore: B, onLoadMore: ne, loadingMore: V, getItemDisabled: H, highlightMatch: re, size: W, open: ie, onOpenChange: q, closeOnSelect: J = !1, applyButton: Y = !1, onApply: ae, onCancel: oe }) {
594
+ let { defaultScale: le } = t(), X = ge(W, le), ue = ve(X), de = _e[X], fe = w || !!T, pe = F(null), me = u ?? l, [Z, ye] = I(n), [be, xe] = I(!1), Se = ie !== void 0, Ce = Se ? ie : be;
595
+ N(() => {
596
+ Y && ye(n);
597
+ }, [Y, n]);
598
+ let Q = M((e) => {
599
+ Se || xe(e), q?.(e);
600
+ }, [Se, q]), $ = he({
601
+ items: e,
602
+ searchValue: s,
596
603
  onSearchValueChange: c,
597
604
  getItemLabel: l,
598
605
  getItemKey: u,
@@ -600,50 +607,50 @@ function be({ items: t, selectedValues: n, onSelectedValuesChange: i, searchValu
600
607
  showListContent: f,
601
608
  minSearchLength: p,
602
609
  strings: m,
603
- renderItem: _,
610
+ renderItem: b,
604
611
  onSearch: A,
605
- debounceMs: ee,
606
- creatable: j,
607
- onCreate: M,
608
- getItemGroup: F,
612
+ debounceMs: j,
613
+ creatable: ee,
614
+ onCreate: P,
615
+ getItemGroup: L,
609
616
  hasMore: B,
610
617
  onLoadMore: ne,
611
618
  loadingMore: V,
612
- highlightMatch: U,
613
- size: le,
619
+ highlightMatch: re,
620
+ size: X,
614
621
  ensuredItems: n
615
- }), we = N((e) => {
622
+ }), we = M((e) => {
616
623
  let t = [], n = null;
617
- for (let r of e) K(r) ? n = q(r) : t.push(r);
618
- n && M?.(n);
624
+ for (let r of e) G(r) ? n = K(r) : t.push(r);
625
+ n && P?.(n);
619
626
  let r = t.length !== e.length || !n ? t : null;
620
- r && (X ? Z(r) : i(r)), Y && Q(!1);
627
+ r && (Y ? ye(r) : i(r)), J && Q(!1);
621
628
  }, [
622
629
  i,
623
- M,
624
- X,
630
+ P,
625
631
  Y,
632
+ J,
626
633
  Q
627
- ]), Te = N(() => {
628
- X && i(he), ie?.(), Q(!1);
634
+ ]), Te = M(() => {
635
+ Y && i(Z), ae?.(), Q(!1);
629
636
  }, [
630
- X,
631
- he,
632
- ie,
637
+ Y,
638
+ Z,
639
+ ae,
633
640
  i,
634
641
  Q
635
- ]), Ee = N(() => {
636
- X && Z(n), ae?.(), Q(!1);
642
+ ]), Ee = M(() => {
643
+ Y && ye(n), oe?.(), Q(!1);
637
644
  }, [
638
- X,
645
+ Y,
639
646
  n,
640
- ae,
647
+ oe,
641
648
  Q
642
- ]), De = X ? he : n, Oe = De.length > 0 ? void 0 : $.strings.placeholder;
643
- return /* @__PURE__ */ z(s, {
649
+ ]), De = Y ? Z : n, Oe = De.length > 0 ? void 0 : $.strings.placeholder;
650
+ return /* @__PURE__ */ z(o, {
644
651
  gap: "dense",
645
652
  className: "combobox--component",
646
- children: [/* @__PURE__ */ z(w, {
653
+ children: [/* @__PURE__ */ z(g, {
647
654
  dismissLabel: $.strings.dismiss,
648
655
  items: $.allItems,
649
656
  multiple: !0,
@@ -655,7 +662,7 @@ function be({ items: t, selectedValues: n, onSelectedValuesChange: i, searchValu
655
662
  }
656
663
  we(e);
657
664
  },
658
- inputValue: o,
665
+ inputValue: s,
659
666
  onInputValueChange: (e, t) => {
660
667
  let { reason: n } = t;
661
668
  if (n === "escape-key") {
@@ -671,19 +678,19 @@ function be({ items: t, selectedValues: n, onSelectedValuesChange: i, searchValu
671
678
  itemToStringLabel: $.itemToStringLabel,
672
679
  disabled: h,
673
680
  filter: null,
674
- name: y,
681
+ name: C,
675
682
  required: E,
676
683
  open: Ce,
677
684
  onOpenChange: (e) => {
678
- !e && X && Z(n), Q(e);
685
+ !e && Y && ye(n), Q(e);
679
686
  },
680
- children: [/* @__PURE__ */ z(S, {
687
+ children: [/* @__PURE__ */ z(y, {
681
688
  ref: pe,
682
- className: r(O[ue], k[ue], ue === "sm" ? "text-pxs" : "text-sm", "bg-transparent !shadow-none", g),
689
+ className: r(D[ue], O[ue], ue === "sm" ? "text-pxs" : "text-sm", "bg-transparent !shadow-none", _),
683
690
  size: de,
684
691
  error: fe,
685
- children: [De.map((e) => /* @__PURE__ */ R(C, {
686
- strings: { remove: ($.strings.removeSelection ?? W.removeSelection)(l(e)) },
692
+ children: [De.map((e) => /* @__PURE__ */ R(S, {
693
+ strings: { remove: ($.strings.removeSelection ?? U.removeSelection)(l(e)) },
687
694
  children: /* @__PURE__ */ R(a, {
688
695
  tag: "span",
689
696
  size: "inherit",
@@ -692,17 +699,17 @@ function be({ items: t, selectedValues: n, onSelectedValuesChange: i, searchValu
692
699
  className: "combobox--chip-label text-inherit",
693
700
  children: l(e)
694
701
  })
695
- }, me(e))), /* @__PURE__ */ R(b, {
702
+ }, me(e))), /* @__PURE__ */ R(v, {
696
703
  placeholder: Oe,
697
704
  "aria-invalid": fe || void 0,
698
705
  "aria-required": E,
699
- onBlur: D
706
+ onBlur: k
700
707
  })]
701
708
  }), /* @__PURE__ */ R(se, {
702
709
  loading: d,
703
710
  showStatus: $.showStatus,
704
711
  showEmpty: $.showEmpty,
705
- searchValue: o,
712
+ searchValue: s,
706
713
  minSearchLength: p,
707
714
  items: $.allItems,
708
715
  groupedItems: $.groupedItems,
@@ -713,11 +720,11 @@ function be({ items: t, selectedValues: n, onSelectedValuesChange: i, searchValu
713
720
  renderGroupLabel: te,
714
721
  loadingMore: f && !$.showStatus ? V : !1,
715
722
  strings: $.strings,
716
- size: le,
717
- portalContainer: v,
723
+ size: X,
724
+ portalContainer: x,
718
725
  listRef: $.listRef,
719
726
  anchor: pe,
720
- applyFooter: f && X ? {
727
+ applyFooter: f && Y ? {
721
728
  applyLabel: $.strings.apply,
722
729
  cancelLabel: $.strings.cancel,
723
730
  onApply: Te,
@@ -726,29 +733,29 @@ function be({ items: t, selectedValues: n, onSelectedValuesChange: i, searchValu
726
733
  })]
727
734
  }), /* @__PURE__ */ R(ce, {
728
735
  error: T,
729
- size: le
736
+ size: X
730
737
  })]
731
738
  });
732
739
  }
733
- Z.displayName = "Combobox", be.displayName = "MultiCombobox";
740
+ Z.displayName = "Combobox", ye.displayName = "MultiCombobox";
734
741
  //#endregion
735
742
  //#region src/components/features/combobox/async-resource-combobox.tsx
736
- var xe = {
737
- ...W,
743
+ var be = {
744
+ ...U,
738
745
  error: "Unable to load options.",
739
746
  retry: "Retry"
740
747
  };
741
- function Se(e) {
748
+ function xe(e) {
742
749
  return typeof e == "string" || typeof e == "number" || typeof e == "bigint";
743
750
  }
744
- function Ce({ fetcher: e, value: t, defaultValue: i = null, onValueChange: o, onAfterFetch: c, onError: u, getKey: d, getLabel: f, getDescription: p, getMeta: m, renderOption: h, limit: g = 10, debounceMs: _ = 300, preload: v = !0, minSearchLength: y = 0, errorMessage: b, renderError: x, strings: S, disabled: C, size: w, ...T }) {
745
- let E = n(xe, S), D = t !== void 0, [O, k] = L(i), A = D ? t : O, [ee, M] = L(""), [te, B] = L([]), [ne, V] = L(!1), [H, U] = L(null), [re, W] = L(0), G = I(0), K = ee.trim(), q = N((e) => {
746
- D || k(e), o?.(e);
747
- }, [D, o]), J = j((t, n) => {
748
- V(!0), U(null), e(n).then((e) => {
749
- n.signal?.aborted || G.current !== t || (B(e), c?.(e, n));
751
+ function Se({ fetcher: e, value: t, defaultValue: i = null, onValueChange: s, onAfterFetch: l, onError: u, getKey: d, getLabel: f, getDescription: p, getMeta: m, renderOption: h, limit: g = 10, debounceMs: _ = 300, preload: v = !0, minSearchLength: y = 0, errorMessage: b, renderError: x, strings: S, disabled: C, size: w, ...T }) {
752
+ let E = n(be, S), D = t !== void 0, [O, k] = I(i), A = D ? t : O, [ee, L] = I(""), [te, B] = I([]), [ne, V] = I(!1), [H, re] = I(null), [U, W] = I(0), G = F(0), K = ee.trim(), ie = M((e) => {
753
+ D || k(e), s?.(e);
754
+ }, [D, s]), q = j((t, n) => {
755
+ V(!0), re(null), e(n).then((e) => {
756
+ n.signal?.aborted || G.current !== t || (B(e), l?.(e, n));
750
757
  }).catch((e) => {
751
- n.signal?.aborted || G.current !== t || (B([]), U({
758
+ n.signal?.aborted || G.current !== t || (B([]), re({
752
759
  error: e,
753
760
  query: n.query
754
761
  }), u?.(e, n));
@@ -756,40 +763,40 @@ function Ce({ fetcher: e, value: t, defaultValue: i = null, onValueChange: o, on
756
763
  !n.signal?.aborted && G.current === t && V(!1);
757
764
  });
758
765
  }, _);
759
- P(() => {
766
+ N(() => {
760
767
  if (C) return;
761
768
  if (!(K.length > 0 ? K.length >= y : v)) {
762
- B([]), V(!1), U(null);
769
+ B([]), V(!1), re(null);
763
770
  return;
764
771
  }
765
772
  let e = G.current + 1;
766
773
  G.current = e;
767
774
  let t = new AbortController();
768
- return J(e, {
775
+ return q(e, {
769
776
  query: K,
770
777
  limit: g,
771
778
  signal: t.signal
772
779
  }), () => {
773
- J.cancel(), t.abort();
780
+ q.cancel(), t.abort();
774
781
  };
775
782
  }, [
776
783
  C,
777
784
  g,
778
785
  y,
779
786
  v,
780
- re,
781
- J,
787
+ U,
788
+ q,
782
789
  K
783
790
  ]);
784
- let Y = N(() => {
785
- H && (M(H.query), W((e) => e + 1));
786
- }, [H]), X = N((e) => {
791
+ let J = M(() => {
792
+ H && (L(H.query), W((e) => e + 1));
793
+ }, [H]), Y = M((e) => {
787
794
  if (h) return h(e, {
788
795
  query: K,
789
796
  isSelected: A ? d(A) === d(e) : !1
790
797
  });
791
798
  let t = p?.(e), n = m?.(e);
792
- return /* @__PURE__ */ z(s, {
799
+ return /* @__PURE__ */ z(o, {
793
800
  render: /* @__PURE__ */ R("span", {}),
794
801
  direction: "horizontal",
795
802
  gap: "md",
@@ -804,13 +811,13 @@ function Ce({ fetcher: e, value: t, defaultValue: i = null, onValueChange: o, on
804
811
  children: f(e)
805
812
  }), (!!t || !!n) && /* @__PURE__ */ z("span", {
806
813
  className: "inline-flex min-w-0 flex-1 items-center gap-space-sm overflow-hidden text-muted-foreground",
807
- children: [!!t && (Se(t) ? /* @__PURE__ */ R(a, {
814
+ children: [!!t && (xe(t) ? /* @__PURE__ */ R(a, {
808
815
  tag: "span",
809
816
  size: "xs",
810
817
  type: "secondary",
811
818
  className: "min-w-0 truncate",
812
819
  children: t
813
- }) : t), !!n && (Se(n) ? /* @__PURE__ */ R(a, {
820
+ }) : t), !!n && (xe(n) ? /* @__PURE__ */ R(a, {
814
821
  tag: "span",
815
822
  size: "xs",
816
823
  type: "secondary",
@@ -828,20 +835,20 @@ function Ce({ fetcher: e, value: t, defaultValue: i = null, onValueChange: o, on
828
835
  A,
829
836
  w,
830
837
  K
831
- ]), ie = F(() => {
838
+ ]), ae = P(() => {
832
839
  if (H) return b ?? E.error;
833
840
  }, [
834
841
  b,
835
842
  H,
836
843
  E.error
837
- ]), ae = H !== null, oe = H ? x?.({
844
+ ]), oe = H !== null, se = H ? x?.({
838
845
  error: H.error,
839
846
  query: H.query,
840
- retry: Y
841
- }) ?? /* @__PURE__ */ R(l, {
847
+ retry: J
848
+ }) ?? /* @__PURE__ */ R(c, {
842
849
  variant: "inline",
843
- title: ie,
844
- onRetry: Y,
850
+ title: ae,
851
+ onRetry: J,
845
852
  retryLabel: E.retry,
846
853
  className: "async-resource-combobox--error mt-space-sm"
847
854
  }) : null;
@@ -856,22 +863,22 @@ function Ce({ fetcher: e, value: t, defaultValue: i = null, onValueChange: o, on
856
863
  size: w,
857
864
  items: te,
858
865
  selectedValue: A ?? null,
859
- onSelectedValueChange: q,
866
+ onSelectedValueChange: ie,
860
867
  clearSearchOnClose: !1,
861
868
  searchValue: ee,
862
- onSearchValueChange: M,
869
+ onSearchValueChange: L,
863
870
  getItemLabel: f,
864
871
  getItemKey: d,
865
- loading: !ae && ne,
866
- showListContent: !ae,
872
+ loading: !oe && ne,
873
+ showListContent: !oe,
867
874
  minSearchLength: y,
868
875
  strings: E,
869
- renderItem: X
870
- }), oe]
876
+ renderItem: Y
877
+ }), se]
871
878
  });
872
879
  }
873
- Ce.displayName = "AsyncResourceCombobox";
880
+ Se.displayName = "AsyncResourceCombobox";
874
881
  //#endregion
875
- export { ge as a, be as i, xe as n, W as o, Z as r, Ce as t };
882
+ export { he as a, ye as i, be as n, U as o, Z as r, Se as t };
876
883
 
877
- //# sourceMappingURL=combobox-Dxo2fAYQ.js.map
884
+ //# sourceMappingURL=combobox-BwzoXFSG.js.map