@epilot/zenith-react 0.2.0-next.3 → 0.2.0-next.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 (274) hide show
  1. package/README.md +37 -1
  2. package/codemods/README.md +182 -0
  3. package/codemods/format.ts +86 -0
  4. package/codemods/migrate/base-elements/accordion.ts +132 -0
  5. package/codemods/migrate/base-elements/alert.ts +81 -0
  6. package/codemods/migrate/base-elements/avatar.ts +116 -0
  7. package/codemods/migrate/base-elements/button.ts +188 -0
  8. package/codemods/migrate/base-elements/checkbox.ts +17 -0
  9. package/codemods/migrate/base-elements/chip.ts +87 -0
  10. package/codemods/migrate/base-elements/chip360.ts +162 -0
  11. package/codemods/migrate/base-elements/circular-progress.ts +73 -0
  12. package/codemods/migrate/base-elements/dialog.ts +323 -0
  13. package/codemods/migrate/base-elements/divider.ts +61 -0
  14. package/codemods/migrate/base-elements/feedback-message.ts +95 -0
  15. package/codemods/migrate/base-elements/icon-button.ts +203 -0
  16. package/codemods/migrate/base-elements/index.ts +55 -0
  17. package/codemods/migrate/base-elements/mui-props.ts +29 -0
  18. package/codemods/migrate/base-elements/notification.ts +98 -0
  19. package/codemods/migrate/base-elements/paper.ts +78 -0
  20. package/codemods/migrate/base-elements/select.ts +328 -0
  21. package/codemods/migrate/base-elements/shared.ts +910 -0
  22. package/codemods/migrate/base-elements/skeleton.ts +83 -0
  23. package/codemods/migrate/base-elements/switch.ts +19 -0
  24. package/codemods/migrate/base-elements/tabs.ts +222 -0
  25. package/codemods/migrate/base-elements/text-field.ts +425 -0
  26. package/codemods/migrate/base-elements/toggle-button.ts +185 -0
  27. package/codemods/migrate/base-elements/tooltip.ts +231 -0
  28. package/codemods/migrate/base-elements/typography.ts +247 -0
  29. package/codemods/migrate/base-elements/unsupported.ts +277 -0
  30. package/codemods/migrate/from-base-elements.ts +26 -0
  31. package/codemods/migrate/from-volt.ts +26 -0
  32. package/codemods/migrate/lib/imports.ts +399 -0
  33. package/codemods/migrate/lib/jsx.ts +313 -0
  34. package/codemods/migrate/lib/run-migration.ts +528 -0
  35. package/codemods/migrate/lib/source.ts +6 -0
  36. package/codemods/migrate/lib/todo.ts +107 -0
  37. package/codemods/migrate/lib/types.ts +114 -0
  38. package/codemods/migrate/volt/class-helpers.ts +37 -0
  39. package/codemods/migrate/volt/index.ts +18 -0
  40. package/codemods/migrate/volt/pagination.ts +26 -0
  41. package/codemods/migrate/volt/same-name.ts +293 -0
  42. package/codemods/migrate/volt/stylesheets.ts +18 -0
  43. package/codemods/migrate/volt/tanstack-types.ts +20 -0
  44. package/codemods/radix-to-base-ui.ts +677 -0
  45. package/dist/_virtual/_zenith-runtime-family_accordion.js +7 -0
  46. package/dist/_virtual/_zenith-runtime-family_accordion.js.map +1 -0
  47. package/dist/_virtual/_zenith-runtime-family_alert-dialog.js +7 -0
  48. package/dist/_virtual/_zenith-runtime-family_alert-dialog.js.map +1 -0
  49. package/dist/_virtual/_zenith-runtime-family_avatar.js +7 -0
  50. package/dist/_virtual/_zenith-runtime-family_avatar.js.map +1 -0
  51. package/dist/_virtual/_zenith-runtime-family_button.js +7 -0
  52. package/dist/_virtual/_zenith-runtime-family_button.js.map +1 -0
  53. package/dist/_virtual/_zenith-runtime-family_checkbox.js +7 -0
  54. package/dist/_virtual/_zenith-runtime-family_checkbox.js.map +1 -0
  55. package/dist/_virtual/_zenith-runtime-family_csp-provider.js +7 -0
  56. package/dist/_virtual/_zenith-runtime-family_csp-provider.js.map +1 -0
  57. package/dist/_virtual/_zenith-runtime-family_dialog.js +7 -0
  58. package/dist/_virtual/_zenith-runtime-family_dialog.js.map +1 -0
  59. package/dist/_virtual/_zenith-runtime-family_direction-provider.js +8 -0
  60. package/dist/_virtual/_zenith-runtime-family_direction-provider.js.map +1 -0
  61. package/dist/_virtual/_zenith-runtime-family_menu.js +7 -0
  62. package/dist/_virtual/_zenith-runtime-family_menu.js.map +1 -0
  63. package/dist/_virtual/_zenith-runtime-family_merge-props.js +11 -0
  64. package/dist/_virtual/_zenith-runtime-family_merge-props.js.map +1 -0
  65. package/dist/_virtual/_zenith-runtime-family_popover.js +7 -0
  66. package/dist/_virtual/_zenith-runtime-family_popover.js.map +1 -0
  67. package/dist/_virtual/_zenith-runtime-family_radio-group.js +7 -0
  68. package/dist/_virtual/_zenith-runtime-family_radio-group.js.map +1 -0
  69. package/dist/_virtual/_zenith-runtime-family_radio.js +7 -0
  70. package/dist/_virtual/_zenith-runtime-family_radio.js.map +1 -0
  71. package/dist/_virtual/_zenith-runtime-family_scroll-area.js +7 -0
  72. package/dist/_virtual/_zenith-runtime-family_scroll-area.js.map +1 -0
  73. package/dist/_virtual/_zenith-runtime-family_select.js +7 -0
  74. package/dist/_virtual/_zenith-runtime-family_select.js.map +1 -0
  75. package/dist/_virtual/_zenith-runtime-family_separator.js +7 -0
  76. package/dist/_virtual/_zenith-runtime-family_separator.js.map +1 -0
  77. package/dist/_virtual/_zenith-runtime-family_switch.js +7 -0
  78. package/dist/_virtual/_zenith-runtime-family_switch.js.map +1 -0
  79. package/dist/_virtual/_zenith-runtime-family_tabs.js +7 -0
  80. package/dist/_virtual/_zenith-runtime-family_tabs.js.map +1 -0
  81. package/dist/_virtual/_zenith-runtime-family_toast.js +7 -0
  82. package/dist/_virtual/_zenith-runtime-family_toast.js.map +1 -0
  83. package/dist/_virtual/_zenith-runtime-family_toggle-group.js +7 -0
  84. package/dist/_virtual/_zenith-runtime-family_toggle-group.js.map +1 -0
  85. package/dist/_virtual/_zenith-runtime-family_toggle.js +7 -0
  86. package/dist/_virtual/_zenith-runtime-family_toggle.js.map +1 -0
  87. package/dist/_virtual/_zenith-runtime-family_tooltip.js +7 -0
  88. package/dist/_virtual/_zenith-runtime-family_tooltip.js.map +1 -0
  89. package/dist/_virtual/_zenith-runtime-family_use-render.js +7 -0
  90. package/dist/_virtual/_zenith-runtime-family_use-render.js.map +1 -0
  91. package/dist/components/accordion/accordion.js +179 -96
  92. package/dist/components/accordion/accordion.js.map +1 -1
  93. package/dist/components/alert-dialog/alert-dialog.js +243 -206
  94. package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
  95. package/dist/components/avatar/avatar.js +94 -82
  96. package/dist/components/avatar/avatar.js.map +1 -1
  97. package/dist/components/badge/badge.js +11 -11
  98. package/dist/components/breadcrumb/breadcrumb.js +69 -70
  99. package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
  100. package/dist/components/button/button.js +119 -102
  101. package/dist/components/button/button.js.map +1 -1
  102. package/dist/components/checkbox/checkbox.js +68 -51
  103. package/dist/components/checkbox/checkbox.js.map +1 -1
  104. package/dist/components/date-range-picker/date-range-picker.js +100 -90
  105. package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
  106. package/dist/components/date-time-picker/date-time-picker-input.js +118 -108
  107. package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -1
  108. package/dist/components/date-time-picker/date-time-picker-panel.js +91 -94
  109. package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -1
  110. package/dist/components/dialog/dialog.js +238 -228
  111. package/dist/components/dialog/dialog.js.map +1 -1
  112. package/dist/components/drawer/drawer.js +259 -321
  113. package/dist/components/drawer/drawer.js.map +1 -1
  114. package/dist/components/dropdown-menu/dropdown-menu.js +533 -279
  115. package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -1
  116. package/dist/components/field/field-combobox.js +205 -186
  117. package/dist/components/field/field-combobox.js.map +1 -1
  118. package/dist/components/field/field-select.js +37 -22
  119. package/dist/components/field/field-select.js.map +1 -1
  120. package/dist/components/list/list-sortable.js +104 -0
  121. package/dist/components/list/list-sortable.js.map +1 -0
  122. package/dist/components/list/list.js +246 -324
  123. package/dist/components/list/list.js.map +1 -1
  124. package/dist/components/option-card/option-card.js +121 -117
  125. package/dist/components/option-card/option-card.js.map +1 -1
  126. package/dist/components/pill/pill.js +7 -7
  127. package/dist/components/popover/popover.js +223 -127
  128. package/dist/components/popover/popover.js.map +1 -1
  129. package/dist/components/radio/radio-group-base.js +54 -0
  130. package/dist/components/radio/radio-group-base.js.map +1 -0
  131. package/dist/components/radio/radio.js +71 -60
  132. package/dist/components/radio/radio.js.map +1 -1
  133. package/dist/components/scroll-area/scroll-area.js +142 -108
  134. package/dist/components/scroll-area/scroll-area.js.map +1 -1
  135. package/dist/components/scroll-overflow/scroll-overflow.js +156 -127
  136. package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -1
  137. package/dist/components/segmented-control/segmented-control.js +93 -81
  138. package/dist/components/segmented-control/segmented-control.js.map +1 -1
  139. package/dist/components/select/select.js +485 -310
  140. package/dist/components/select/select.js.map +1 -1
  141. package/dist/components/separator/separator.js.map +1 -1
  142. package/dist/components/slot/compose-as-child.js +15 -12
  143. package/dist/components/slot/compose-as-child.js.map +1 -1
  144. package/dist/components/switch/switch.js +75 -68
  145. package/dist/components/switch/switch.js.map +1 -1
  146. package/dist/components/table/table-pagination.js +212 -175
  147. package/dist/components/table/table-pagination.js.map +1 -1
  148. package/dist/components/tabs/tabs.js +193 -190
  149. package/dist/components/tabs/tabs.js.map +1 -1
  150. package/dist/components/toast/toast.js +610 -148
  151. package/dist/components/toast/toast.js.map +1 -1
  152. package/dist/components/toggle/toggle-group.js +143 -32
  153. package/dist/components/toggle/toggle-group.js.map +1 -1
  154. package/dist/components/toggle/toggle.js +82 -49
  155. package/dist/components/toggle/toggle.js.map +1 -1
  156. package/dist/components/tooltip/tooltip.js +298 -138
  157. package/dist/components/tooltip/tooltip.js.map +1 -1
  158. package/dist/index.d.ts +2336 -2130
  159. package/dist/index.js +24 -23
  160. package/dist/list/sortable/index.d.ts +29 -0
  161. package/dist/list/sortable/index.js +5 -0
  162. package/dist/{_virtual → list/sortable}/index.js.map +1 -1
  163. package/dist/packages/tokens/dist/delivery/index.js +10 -10
  164. package/dist/packages/tokens/dist/delivery/index.js.map +1 -1
  165. package/dist/packages/tokens/dist/generated/core.generated.js +6 -15
  166. package/dist/packages/tokens/dist/generated/core.generated.js.map +1 -1
  167. package/dist/packages/tokens/dist/generated/palette.generated.js +4 -5
  168. package/dist/packages/tokens/dist/generated/palette.generated.js.map +1 -1
  169. package/dist/packages/tokens/dist/generated/palette.meta.generated.js +5 -0
  170. package/dist/packages/tokens/dist/generated/palette.meta.generated.js.map +1 -0
  171. package/dist/packages/tokens/dist/install.js +40 -17
  172. package/dist/packages/tokens/dist/install.js.map +1 -1
  173. package/dist/renderer/runtime-contract.generated.js +8 -0
  174. package/dist/renderer/runtime-contract.generated.js.map +1 -0
  175. package/dist/renderer/served.js +39 -0
  176. package/dist/renderer/served.js.map +1 -0
  177. package/dist/tokens/core.meta.generated.js +2 -2
  178. package/dist/tokens/core.meta.generated.js.map +1 -1
  179. package/dist/tokens/index.d.ts +1028 -1028
  180. package/dist/tokens/index.js +863 -863
  181. package/dist/tokens/index.js.map +1 -1
  182. package/dist/tokens/palette.meta.generated.js +5 -0
  183. package/dist/tokens/palette.meta.generated.js.map +1 -0
  184. package/dist/tokens.json +1 -1
  185. package/dist/vendor/.bun/@radix-ui_react-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-dialog/dist/index.js +57 -62
  186. package/dist/vendor/.bun/@radix-ui_react-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-dialog/dist/index.js.map +1 -1
  187. package/dist/vendor/.bun/@radix-ui_react-slot@1.2.3_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js +32 -38
  188. package/dist/vendor/.bun/@radix-ui_react-slot@1.2.3_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js.map +1 -1
  189. package/package.json +29 -21
  190. package/scripts/migration-diagnostics-core.mjs +302 -10
  191. package/scripts/migration-diagnostics.mjs +31 -8
  192. package/scripts/migration-sweep.mjs +10 -10
  193. package/testing/setup.cjs +87 -0
  194. package/dist/_virtual/index.js +0 -6
  195. package/dist/_virtual/index2.js +0 -5
  196. package/dist/_virtual/index2.js.map +0 -1
  197. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -5
  198. package/dist/_virtual/use-sync-external-store-shim.development.js.map +0 -1
  199. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -5
  200. package/dist/_virtual/use-sync-external-store-shim.production.js.map +0 -1
  201. package/dist/tokens/palette.generated.js +0 -5
  202. package/dist/tokens/palette.generated.js.map +0 -1
  203. package/dist/vendor/.bun/@floating-ui_core@1.8.0/vendor/@floating-ui/core/dist/floating-ui.core.js +0 -512
  204. package/dist/vendor/.bun/@floating-ui_core@1.8.0/vendor/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  205. package/dist/vendor/.bun/@floating-ui_dom@1.8.0/vendor/@floating-ui/dom/dist/floating-ui.dom.js +0 -396
  206. package/dist/vendor/.bun/@floating-ui_dom@1.8.0/vendor/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  207. package/dist/vendor/.bun/@floating-ui_react-dom@2.1.9_6f4b9a1cfb20c0ae/vendor/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -233
  208. package/dist/vendor/.bun/@floating-ui_react-dom@2.1.9_6f4b9a1cfb20c0ae/vendor/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  209. package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
  210. package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  211. package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  212. package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  213. package/dist/vendor/.bun/@radix-ui_number@1.1.1/vendor/@radix-ui/number/dist/index.js +0 -7
  214. package/dist/vendor/.bun/@radix-ui_number@1.1.1/vendor/@radix-ui/number/dist/index.js.map +0 -1
  215. package/dist/vendor/.bun/@radix-ui_react-accordion@1.2.12_2b23df507bdda662/vendor/@radix-ui/react-accordion/dist/index.js +0 -240
  216. package/dist/vendor/.bun/@radix-ui_react-accordion@1.2.12_2b23df507bdda662/vendor/@radix-ui/react-accordion/dist/index.js.map +0 -1
  217. package/dist/vendor/.bun/@radix-ui_react-alert-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-alert-dialog/dist/index.js +0 -128
  218. package/dist/vendor/.bun/@radix-ui_react-alert-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-alert-dialog/dist/index.js.map +0 -1
  219. package/dist/vendor/.bun/@radix-ui_react-arrow@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-arrow/dist/index.js +0 -25
  220. package/dist/vendor/.bun/@radix-ui_react-arrow@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-arrow/dist/index.js.map +0 -1
  221. package/dist/vendor/.bun/@radix-ui_react-avatar@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-avatar/dist/index.js +0 -76
  222. package/dist/vendor/.bun/@radix-ui_react-avatar@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-avatar/dist/index.js.map +0 -1
  223. package/dist/vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js +0 -252
  224. package/dist/vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js.map +0 -1
  225. package/dist/vendor/.bun/@radix-ui_react-collapsible@1.1.12_2b23df507bdda662/vendor/@radix-ui/react-collapsible/dist/index.js +0 -121
  226. package/dist/vendor/.bun/@radix-ui_react-collapsible@1.1.12_2b23df507bdda662/vendor/@radix-ui/react-collapsible/dist/index.js.map +0 -1
  227. package/dist/vendor/.bun/@radix-ui_react-collection@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-collection/dist/index.js +0 -49
  228. package/dist/vendor/.bun/@radix-ui_react-collection@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-collection/dist/index.js.map +0 -1
  229. package/dist/vendor/.bun/@radix-ui_react-direction@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-direction/dist/index.js +0 -11
  230. package/dist/vendor/.bun/@radix-ui_react-direction@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-direction/dist/index.js.map +0 -1
  231. package/dist/vendor/.bun/@radix-ui_react-dropdown-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-dropdown-menu/dist/index.js +0 -228
  232. package/dist/vendor/.bun/@radix-ui_react-dropdown-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -1
  233. package/dist/vendor/.bun/@radix-ui_react-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-menu/dist/index.js +0 -653
  234. package/dist/vendor/.bun/@radix-ui_react-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-menu/dist/index.js.map +0 -1
  235. package/dist/vendor/.bun/@radix-ui_react-popover@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-popover/dist/index.js +0 -244
  236. package/dist/vendor/.bun/@radix-ui_react-popover@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-popover/dist/index.js.map +0 -1
  237. package/dist/vendor/.bun/@radix-ui_react-popper@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-popper/dist/index.js +0 -222
  238. package/dist/vendor/.bun/@radix-ui_react-popper@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-popper/dist/index.js.map +0 -1
  239. package/dist/vendor/.bun/@radix-ui_react-radio-group@1.3.8_2b23df507bdda662/vendor/@radix-ui/react-radio-group/dist/index.js +0 -239
  240. package/dist/vendor/.bun/@radix-ui_react-radio-group@1.3.8_2b23df507bdda662/vendor/@radix-ui/react-radio-group/dist/index.js.map +0 -1
  241. package/dist/vendor/.bun/@radix-ui_react-roving-focus@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-roving-focus/dist/index.js +0 -184
  242. package/dist/vendor/.bun/@radix-ui_react-roving-focus@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
  243. package/dist/vendor/.bun/@radix-ui_react-scroll-area@1.2.10_2b23df507bdda662/vendor/@radix-ui/react-scroll-area/dist/index.js +0 -535
  244. package/dist/vendor/.bun/@radix-ui_react-scroll-area@1.2.10_2b23df507bdda662/vendor/@radix-ui/react-scroll-area/dist/index.js.map +0 -1
  245. package/dist/vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js +0 -863
  246. package/dist/vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js.map +0 -1
  247. package/dist/vendor/.bun/@radix-ui_react-slot@1.2.4_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js +0 -63
  248. package/dist/vendor/.bun/@radix-ui_react-slot@1.2.4_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js.map +0 -1
  249. package/dist/vendor/.bun/@radix-ui_react-switch@1.2.6_2b23df507bdda662/vendor/@radix-ui/react-switch/dist/index.js +0 -133
  250. package/dist/vendor/.bun/@radix-ui_react-switch@1.2.6_2b23df507bdda662/vendor/@radix-ui/react-switch/dist/index.js.map +0 -1
  251. package/dist/vendor/.bun/@radix-ui_react-tabs@1.1.13_2b23df507bdda662/vendor/@radix-ui/react-tabs/dist/index.js +0 -164
  252. package/dist/vendor/.bun/@radix-ui_react-tabs@1.1.13_2b23df507bdda662/vendor/@radix-ui/react-tabs/dist/index.js.map +0 -1
  253. package/dist/vendor/.bun/@radix-ui_react-toggle-group@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-toggle-group/dist/index.js +0 -138
  254. package/dist/vendor/.bun/@radix-ui_react-toggle-group@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-toggle-group/dist/index.js.map +0 -1
  255. package/dist/vendor/.bun/@radix-ui_react-toggle@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-toggle/dist/index.js +0 -34
  256. package/dist/vendor/.bun/@radix-ui_react-toggle@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-toggle/dist/index.js.map +0 -1
  257. package/dist/vendor/.bun/@radix-ui_react-tooltip@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-tooltip/dist/index.js +0 -340
  258. package/dist/vendor/.bun/@radix-ui_react-tooltip@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-tooltip/dist/index.js.map +0 -1
  259. package/dist/vendor/.bun/@radix-ui_react-use-is-hydrated@0.1.0_0ac650c021fb1b59/vendor/@radix-ui/react-use-is-hydrated/dist/index.js +0 -16
  260. package/dist/vendor/.bun/@radix-ui_react-use-is-hydrated@0.1.0_0ac650c021fb1b59/vendor/@radix-ui/react-use-is-hydrated/dist/index.js.map +0 -1
  261. package/dist/vendor/.bun/@radix-ui_react-use-previous@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-previous/dist/index.js +0 -9
  262. package/dist/vendor/.bun/@radix-ui_react-use-previous@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-previous/dist/index.js.map +0 -1
  263. package/dist/vendor/.bun/@radix-ui_react-use-size@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-size/dist/index.js +0 -28
  264. package/dist/vendor/.bun/@radix-ui_react-use-size@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-size/dist/index.js.map +0 -1
  265. package/dist/vendor/.bun/@radix-ui_react-visually-hidden@1.2.3_2b23df507bdda662/vendor/@radix-ui/react-visually-hidden/dist/index.js +0 -33
  266. package/dist/vendor/.bun/@radix-ui_react-visually-hidden@1.2.3_2b23df507bdda662/vendor/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
  267. package/dist/vendor/.bun/sonner@2.0.7_6f4b9a1cfb20c0ae/vendor/sonner/dist/index.js +0 -747
  268. package/dist/vendor/.bun/sonner@2.0.7_6f4b9a1cfb20c0ae/vendor/sonner/dist/index.js.map +0 -1
  269. package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -68
  270. package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  271. package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -56
  272. package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  273. package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/shim/index.js +0 -11
  274. package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/shim/index.js.map +0 -1
@@ -1,14 +1,14 @@
1
- import { jsx as n, jsxs as I } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as L } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import { SLOT_ATTR as u, mergeClasses as c, shorthands as m } from "@epilot/zenith-runtime/v1";
4
- import { makeZenithStyles as L } from "../../styles/make-styles.js";
3
+ import { SLOT_ATTR as d, mergeClasses as b, shorthands as c } from "@epilot/zenith-runtime/v1";
4
+ import { makeZenithStyles as N } from "../../styles/make-styles.js";
5
5
  import { boxModel as l, nativeControl as F } from "../../styles/host-reset.js";
6
- import { grayA8 as N, focusRing as v, accentA11 as q, spacingElement2 as p, spacingGroup1 as f, grayA11 as h, spacingElement1 as R, graySoft as P, leadingXs as T, textXs as V, fontWeightSemibold as D, leadingSm as C, textSm as w, grayA12 as g, radiusMd as B, radiusLg as G } from "../../tokens/index.js";
7
- import { Command as k, CommandEmpty as A, CommandGroup as E, CommandInput as j, CommandItem as H, CommandList as W, CommandLoading as z, CommandSeparator as M } from "../command/command.js";
8
- import { Label as O } from "../label/label.js";
9
- import { Popover as Z, PopoverPortal as X, PopoverContent as _, PopoverTrigger as $ } from "../popover/popover.js";
10
- import { useOptionalFieldContext as J } from "./field.js";
11
- const K = (a) => /* @__PURE__ */ n(
6
+ import { grayA8 as q, focusRing as v, accentA11 as T, spacingElement2 as u, spacingGroup1 as f, grayA11 as h, spacingElement1 as S, graySoft as P, leadingXs as V, textXs as D, fontWeightSemibold as B, leadingSm as C, textSm as w, grayA12 as g, radiusMd as G, radiusLg as k } from "../../tokens/index.js";
7
+ import { Command as A, CommandEmpty as E, CommandGroup as j, CommandInput as z, CommandItem as H, CommandList as W, CommandLoading as M, CommandSeparator as O } from "../command/command.js";
8
+ import { Label as Z } from "../label/label.js";
9
+ import { Popover as X, PopoverPortal as $, PopoverContent as _, PopoverTrigger as J } from "../popover/popover.js";
10
+ import { useOptionalFieldContext as K } from "./field.js";
11
+ const Q = (a) => /* @__PURE__ */ r(
12
12
  "svg",
13
13
  {
14
14
  xmlns: "http://www.w3.org/2000/svg",
@@ -17,9 +17,9 @@ const K = (a) => /* @__PURE__ */ n(
17
17
  width: "24px",
18
18
  fill: "currentColor",
19
19
  ...a,
20
- children: /* @__PURE__ */ n("path", { d: "m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z" })
20
+ children: /* @__PURE__ */ r("path", { d: "m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z" })
21
21
  }
22
- ), Q = (a) => /* @__PURE__ */ n(
22
+ ), U = (a) => /* @__PURE__ */ r(
23
23
  "svg",
24
24
  {
25
25
  xmlns: "http://www.w3.org/2000/svg",
@@ -28,9 +28,9 @@ const K = (a) => /* @__PURE__ */ n(
28
28
  width: "24px",
29
29
  fill: "currentColor",
30
30
  ...a,
31
- children: /* @__PURE__ */ n("path", { d: "M459-381 314-526q-3-3-4.5-6.5T308-540q0-8 5.5-14t14.5-6h304q9 0 14.5 6t5.5 14q0 2-6 14L501-381q-5 5-10 7t-11 2q-6 0-11-2t-10-7Z" })
31
+ children: /* @__PURE__ */ r("path", { d: "M459-381 314-526q-3-3-4.5-6.5T308-540q0-8 5.5-14t14.5-6h304q9 0 14.5 6t5.5 14q0 2-6 14L501-381q-5 5-10 7t-11 2q-6 0-11-2t-10-7Z" })
32
32
  }
33
- ), S = (a) => /* @__PURE__ */ n(
33
+ ), R = (a) => /* @__PURE__ */ r(
34
34
  "svg",
35
35
  {
36
36
  xmlns: "http://www.w3.org/2000/svg",
@@ -39,24 +39,24 @@ const K = (a) => /* @__PURE__ */ n(
39
39
  width: "24px",
40
40
  fill: "currentColor",
41
41
  ...a,
42
- children: /* @__PURE__ */ n("path", { d: "M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z" })
42
+ children: /* @__PURE__ */ r("path", { d: "M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z" })
43
43
  }
44
- ), d = L({
44
+ ), p = N({
45
45
  trigger: {
46
46
  ...F,
47
47
  width: "100%",
48
48
  display: "flex",
49
49
  alignItems: "center",
50
50
  justifyContent: "space-between",
51
- ...m.gap(p),
52
- ...m.borderRadius(G),
51
+ ...c.gap(u),
52
+ ...c.borderRadius(k),
53
53
  backgroundColor: "transparent",
54
54
  fontSize: w,
55
55
  lineHeight: C,
56
56
  whiteSpace: "nowrap",
57
57
  outlineStyle: "none",
58
- ...m.border("0"),
59
- ...m.padding(0),
58
+ ...c.border("0"),
59
+ ...c.padding(0),
60
60
  ":focus-visible": {
61
61
  outlineWidth: "2px",
62
62
  outlineStyle: "solid",
@@ -66,6 +66,17 @@ const K = (a) => /* @__PURE__ */ n(
66
66
  ":disabled": {
67
67
  cursor: "not-allowed",
68
68
  opacity: 0.5
69
+ },
70
+ // The open-state chevron rotation is declared HERE, on the trigger that carries the state
71
+ // attribute, reaching the chevron by SLOT_ATTR.
72
+ [`&[data-popup-open] [${d}="combobox-icon"]`]: {
73
+ transform: "rotate(180deg)"
74
+ }
75
+ },
76
+ triggerInField: {
77
+ outlineStyle: "none",
78
+ ":focus-visible": {
79
+ outlineStyle: "none"
69
80
  }
70
81
  },
71
82
  triggerChevron: {
@@ -75,13 +86,11 @@ const K = (a) => /* @__PURE__ */ n(
75
86
  flexShrink: 0,
76
87
  transitionProperty: "transform",
77
88
  transitionDuration: "150ms",
89
+ transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
78
90
  "@media (prefers-reduced-motion: reduce)": {
79
91
  transitionDuration: "0.01ms"
80
92
  },
81
- color: h,
82
- "&[data-popup-open], &[data-open]": {
83
- transform: "rotate(180deg)"
84
- }
93
+ color: h
85
94
  },
86
95
  value: {
87
96
  ...l,
@@ -90,19 +99,19 @@ const K = (a) => /* @__PURE__ */ n(
90
99
  textAlign: "left",
91
100
  flexWrap: "wrap",
92
101
  display: "flex",
93
- ...m.gap(p),
102
+ ...c.gap(u),
94
103
  position: "relative",
95
104
  whiteSpace: "normal",
96
105
  marginRight: "1.25rem"
97
106
  },
98
107
  content: {
99
108
  ...l,
100
- ...m.padding(0)
109
+ ...c.padding(0)
101
110
  },
102
111
  command: {
103
112
  ...l,
104
113
  width: "100%",
105
- ...m.borderRadius(0)
114
+ ...c.borderRadius(0)
106
115
  },
107
116
  input: {
108
117
  ...F,
@@ -110,7 +119,7 @@ const K = (a) => /* @__PURE__ */ n(
110
119
  },
111
120
  list: {
112
121
  ...l,
113
- ...m.padding(p)
122
+ ...c.padding(u)
114
123
  },
115
124
  item: {
116
125
  ...l,
@@ -124,8 +133,8 @@ const K = (a) => /* @__PURE__ */ n(
124
133
  width: "100%",
125
134
  cursor: "default",
126
135
  alignItems: "center",
127
- ...m.gap(p),
128
- ...m.borderRadius(B),
136
+ ...c.gap(u),
137
+ ...c.borderRadius(G),
129
138
  fontSize: w,
130
139
  lineHeight: C,
131
140
  outlineStyle: "none",
@@ -134,7 +143,7 @@ const K = (a) => /* @__PURE__ */ n(
134
143
  itemCheckIcon: {
135
144
  ...l,
136
145
  position: "absolute",
137
- right: p,
146
+ right: u,
138
147
  display: "flex",
139
148
  width: "1rem",
140
149
  height: "1rem",
@@ -158,27 +167,27 @@ const K = (a) => /* @__PURE__ */ n(
158
167
  },
159
168
  group: {
160
169
  ...l,
161
- ...m.padding(0)
170
+ ...c.padding(0)
162
171
  },
163
172
  groupLabel: {
164
173
  ...l,
165
174
  color: h,
166
- fontWeight: D,
167
- paddingLeft: p,
168
- paddingRight: p,
169
- paddingTop: p,
170
- paddingBottom: p,
171
- fontSize: V,
172
- lineHeight: T
175
+ fontWeight: B,
176
+ paddingLeft: u,
177
+ paddingRight: u,
178
+ paddingTop: u,
179
+ paddingBottom: u,
180
+ fontSize: D,
181
+ lineHeight: V
173
182
  },
174
183
  separator: {
175
184
  ...l,
176
185
  backgroundColor: P,
177
186
  pointerEvents: "none",
178
- marginLeft: `calc(-1 * ${R})`,
179
- marginRight: `calc(-1 * ${R})`,
180
- marginTop: p,
181
- marginBottom: p,
187
+ marginLeft: `calc(-1 * ${S})`,
188
+ marginRight: `calc(-1 * ${S})`,
189
+ marginTop: u,
190
+ marginBottom: u,
182
191
  height: "1px"
183
192
  },
184
193
  loading: {
@@ -186,8 +195,8 @@ const K = (a) => /* @__PURE__ */ n(
186
195
  color: h,
187
196
  paddingLeft: f,
188
197
  paddingRight: f,
189
- paddingTop: p,
190
- paddingBottom: p
198
+ paddingTop: u,
199
+ paddingBottom: u
191
200
  },
192
201
  clear: {
193
202
  ...l,
@@ -195,14 +204,14 @@ const K = (a) => /* @__PURE__ */ n(
195
204
  right: "2.75rem",
196
205
  cursor: "pointer",
197
206
  minHeight: "auto",
198
- ...m.padding("0.125rem"),
207
+ ...c.padding("0.125rem"),
199
208
  display: "inline-flex",
200
209
  alignItems: "center",
201
210
  justifyContent: "center",
202
- ...m.borderRadius("9999px"),
211
+ ...c.borderRadius("9999px"),
203
212
  backgroundColor: "transparent",
204
- ...m.border("0"),
205
- color: q,
213
+ ...c.border("0"),
214
+ color: T,
206
215
  ":focus-visible": {
207
216
  outlineWidth: "2px",
208
217
  outlineStyle: "solid",
@@ -222,7 +231,7 @@ const K = (a) => /* @__PURE__ */ n(
222
231
  opacity: 0.7
223
232
  },
224
233
  color: "currentColor",
225
- ...m.borderRadius("9999px"),
234
+ ...c.borderRadius("9999px"),
226
235
  display: "inline-flex",
227
236
  alignItems: "center",
228
237
  justifyContent: "center"
@@ -234,261 +243,271 @@ const K = (a) => /* @__PURE__ */ n(
234
243
  color: "currentColor"
235
244
  },
236
245
  placeholder: {
237
- color: N
246
+ color: q
238
247
  }
239
- }), so = s.forwardRef(
248
+ }), mo = s.forwardRef(
240
249
  function(t, o) {
241
- return /* @__PURE__ */ n(
242
- Z,
250
+ return /* @__PURE__ */ r(
251
+ X,
243
252
  {
244
253
  "data-slot": "combobox",
245
- [u]: "combobox",
254
+ [d]: "combobox",
246
255
  ...t
247
256
  }
248
257
  );
249
258
  }
250
- ), mo = s.forwardRef(function({ className: t, children: o, ...r }, e) {
251
- var y;
252
- const b = d(), i = ((y = J()) == null ? void 0 : y.inputRef) ?? null;
253
- return /* @__PURE__ */ I(
254
- $,
259
+ ), co = s.forwardRef(function({ className: t, children: o, ...n }, e) {
260
+ const m = p(), i = K(), I = i !== null, y = (i == null ? void 0 : i.inputRef) ?? null;
261
+ return /* @__PURE__ */ L(
262
+ J,
255
263
  {
256
264
  ref: (x) => {
257
- i && (i.current = x), typeof e == "function" ? e(x) : e && (e.current = x);
265
+ y && (y.current = x), typeof e == "function" ? e(x) : e && (e.current = x);
258
266
  },
259
267
  "data-slot": "select-trigger",
260
- [u]: "select-trigger",
261
- className: c(b.trigger, t),
262
- ...r,
268
+ [d]: "select-trigger",
269
+ className: b(
270
+ m.trigger,
271
+ I && m.triggerInField,
272
+ t
273
+ ),
274
+ ...n,
263
275
  children: [
264
276
  o,
265
- /* @__PURE__ */ n(Q, { className: b.triggerChevron })
277
+ /* @__PURE__ */ r(
278
+ U,
279
+ {
280
+ "data-slot": "combobox-icon",
281
+ [d]: "combobox-icon",
282
+ className: m.triggerChevron
283
+ }
284
+ )
266
285
  ]
267
286
  }
268
287
  );
269
- }), co = s.forwardRef(function({ className: t, children: o, container: r, ...e }, b) {
270
- const i = d();
271
- return /* @__PURE__ */ n(X, { container: r, children: /* @__PURE__ */ n(
288
+ }), bo = s.forwardRef(function({ className: t, children: o, container: n, ...e }, m) {
289
+ const i = p();
290
+ return /* @__PURE__ */ r($, { container: n, children: /* @__PURE__ */ r(
272
291
  _,
273
292
  {
274
- ref: b,
293
+ ref: m,
275
294
  "data-slot": "combobox-content",
276
- [u]: "combobox-content",
277
- className: c(i.content, t),
295
+ [d]: "combobox-content",
296
+ className: b(i.content, t),
278
297
  ...e,
279
- children: /* @__PURE__ */ n(
280
- k,
298
+ children: /* @__PURE__ */ r(
299
+ A,
281
300
  {
282
301
  "data-slot": "combobox-command",
283
- [u]: "combobox-command",
302
+ [d]: "combobox-command",
284
303
  className: i.command,
285
304
  children: o
286
305
  }
287
306
  )
288
307
  }
289
308
  ) });
290
- }), bo = s.forwardRef(function({ className: t, children: o, ...r }, e) {
291
- const b = d();
292
- return /* @__PURE__ */ n(
309
+ }), po = s.forwardRef(function({ className: t, children: o, ...n }, e) {
310
+ const m = p();
311
+ return /* @__PURE__ */ r(
293
312
  "div",
294
313
  {
295
314
  ref: e,
296
315
  "data-slot": "combobox-value",
297
- [u]: "combobox-value",
298
- className: c(b.value, t),
299
- ...r,
316
+ [d]: "combobox-value",
317
+ className: b(m.value, t),
318
+ ...n,
300
319
  children: o
301
320
  }
302
321
  );
303
- }), po = s.forwardRef(function({ className: t, ...o }, r) {
304
- const e = d();
305
- return /* @__PURE__ */ n(
306
- j,
322
+ }), uo = s.forwardRef(function({ className: t, ...o }, n) {
323
+ const e = p();
324
+ return /* @__PURE__ */ r(
325
+ z,
307
326
  {
308
- ref: r,
327
+ ref: n,
309
328
  "data-slot": "combobox-command-input",
310
- [u]: "combobox-command-input",
311
- className: c(e.input, t),
329
+ [d]: "combobox-command-input",
330
+ className: b(e.input, t),
312
331
  ...o
313
332
  }
314
333
  );
315
- }), uo = s.forwardRef(function({ className: t, ...o }, r) {
316
- const e = d();
317
- return /* @__PURE__ */ n(
334
+ }), go = s.forwardRef(function({ className: t, ...o }, n) {
335
+ const e = p();
336
+ return /* @__PURE__ */ r(
318
337
  W,
319
338
  {
320
- ref: r,
339
+ ref: n,
321
340
  "data-slot": "combobox-command-list",
322
- [u]: "combobox-command-list",
323
- className: c(e.list, t),
341
+ [d]: "combobox-command-list",
342
+ className: b(e.list, t),
324
343
  ...o
325
344
  }
326
345
  );
327
- }), go = s.forwardRef(function({ className: t, children: o, ...r }, e) {
328
- const b = d();
329
- return /* @__PURE__ */ n(
346
+ }), xo = s.forwardRef(function({ className: t, children: o, ...n }, e) {
347
+ const m = p();
348
+ return /* @__PURE__ */ r(
330
349
  H,
331
350
  {
332
351
  ref: e,
333
352
  "data-slot": "combobox-item",
334
- [u]: "combobox-item",
335
- className: c(b.item, t),
336
- ...r,
353
+ [d]: "combobox-item",
354
+ className: b(m.item, t),
355
+ ...n,
337
356
  children: o
338
357
  }
339
358
  );
340
- }), xo = s.forwardRef(function({ className: t, ...o }, r) {
341
- const e = d();
342
- return /* @__PURE__ */ n(
359
+ }), fo = s.forwardRef(function({ className: t, ...o }, n) {
360
+ const e = p();
361
+ return /* @__PURE__ */ r(
343
362
  "span",
344
363
  {
345
- ref: r,
346
- className: c(e.itemCheckIcon, t),
364
+ ref: n,
365
+ className: b(e.itemCheckIcon, t),
347
366
  ...o,
348
- children: /* @__PURE__ */ n(K, { className: e.checkSvg })
367
+ children: /* @__PURE__ */ r(Q, { className: e.checkSvg })
349
368
  }
350
369
  );
351
- }), fo = s.forwardRef(function({ className: t, ...o }, r) {
352
- const e = d();
353
- return /* @__PURE__ */ n(
354
- A,
370
+ }), ho = s.forwardRef(function({ className: t, ...o }, n) {
371
+ const e = p();
372
+ return /* @__PURE__ */ r(
373
+ E,
355
374
  {
356
- ref: r,
375
+ ref: n,
357
376
  "data-slot": "combobox-empty",
358
- [u]: "combobox-empty",
359
- className: c(e.empty, t),
377
+ [d]: "combobox-empty",
378
+ className: b(e.empty, t),
360
379
  ...o
361
380
  }
362
381
  );
363
- }), ho = s.forwardRef(function({ className: t, ...o }, r) {
364
- const e = d();
365
- return /* @__PURE__ */ n(
366
- E,
382
+ }), Co = s.forwardRef(function({ className: t, ...o }, n) {
383
+ const e = p();
384
+ return /* @__PURE__ */ r(
385
+ j,
367
386
  {
368
- ref: r,
387
+ ref: n,
369
388
  "data-slot": "combobox-group",
370
- [u]: "combobox-group",
371
- className: c(e.group, t),
389
+ [d]: "combobox-group",
390
+ className: b(e.group, t),
372
391
  ...o
373
392
  }
374
393
  );
375
- }), Co = s.forwardRef(function({ className: t, ...o }, r) {
376
- const e = d();
377
- return /* @__PURE__ */ n(
378
- O,
394
+ }), wo = s.forwardRef(function({ className: t, ...o }, n) {
395
+ const e = p();
396
+ return /* @__PURE__ */ r(
397
+ Z,
379
398
  {
380
- ref: r,
399
+ ref: n,
381
400
  "data-slot": "combobox-group-label",
382
- [u]: "combobox-group-label",
383
- className: c(e.groupLabel, t),
401
+ [d]: "combobox-group-label",
402
+ className: b(e.groupLabel, t),
384
403
  ...o
385
404
  }
386
405
  );
387
- }), wo = s.forwardRef(function({ className: t, ...o }, r) {
388
- const e = d();
389
- return /* @__PURE__ */ n(
390
- M,
406
+ }), yo = s.forwardRef(function({ className: t, ...o }, n) {
407
+ const e = p();
408
+ return /* @__PURE__ */ r(
409
+ O,
391
410
  {
392
- ref: r,
411
+ ref: n,
393
412
  "data-slot": "select-separator",
394
- [u]: "select-separator",
395
- className: c(e.separator, t),
413
+ [d]: "select-separator",
414
+ className: b(e.separator, t),
396
415
  ...o
397
416
  }
398
417
  );
399
- }), yo = s.forwardRef(function({ className: t, ...o }, r) {
400
- const e = d();
401
- return /* @__PURE__ */ n(
402
- z,
418
+ }), Fo = s.forwardRef(function({ className: t, ...o }, n) {
419
+ const e = p();
420
+ return /* @__PURE__ */ r(
421
+ M,
403
422
  {
404
- ref: r,
423
+ ref: n,
405
424
  "data-slot": "combobox-command-loading",
406
- [u]: "combobox-command-loading",
407
- className: c(e.loading, t),
425
+ [d]: "combobox-command-loading",
426
+ className: b(e.loading, t),
408
427
  ...o
409
428
  }
410
429
  );
411
- }), Fo = s.forwardRef(function({ className: t, onClick: o, ...r }, e) {
412
- const b = d();
413
- return /* @__PURE__ */ n(
430
+ }), vo = s.forwardRef(function({ className: t, onClick: o, ...n }, e) {
431
+ const m = p();
432
+ return /* @__PURE__ */ r(
414
433
  "span",
415
434
  {
416
435
  ref: e,
417
436
  role: "button",
418
437
  tabIndex: 0,
419
- className: c(b.clear, t),
438
+ className: b(m.clear, t),
420
439
  onPointerDown: (i) => {
421
440
  i.preventDefault(), i.stopPropagation();
422
441
  },
423
442
  onClick: (i) => {
424
443
  i.preventDefault(), i.stopPropagation(), o == null || o(i);
425
444
  },
426
- ...r,
427
- children: /* @__PURE__ */ n(S, { className: b.clearSvg })
445
+ ...n,
446
+ children: /* @__PURE__ */ r(R, { className: m.clearSvg })
428
447
  }
429
448
  );
430
- }), vo = s.forwardRef(function({ className: t, ...o }, r) {
431
- const e = d();
432
- return /* @__PURE__ */ n(
449
+ }), So = s.forwardRef(function({ className: t, ...o }, n) {
450
+ const e = p();
451
+ return /* @__PURE__ */ r(
433
452
  "span",
434
453
  {
435
- ref: r,
436
- className: c(e.placeholder, t),
454
+ ref: n,
455
+ className: b(e.placeholder, t),
437
456
  ...o
438
457
  }
439
458
  );
440
- }), Ro = s.forwardRef(function({ className: t, onClick: o, ...r }, e) {
441
- const b = d();
442
- return /* @__PURE__ */ n(
459
+ }), Ro = s.forwardRef(function({ className: t, onClick: o, ...n }, e) {
460
+ const m = p();
461
+ return /* @__PURE__ */ r(
443
462
  "span",
444
463
  {
445
464
  ref: e,
446
465
  role: "button",
447
466
  tabIndex: 0,
448
- className: c(b.clearValue, t),
467
+ className: b(m.clearValue, t),
449
468
  onPointerDown: (i) => {
450
469
  i.preventDefault(), i.stopPropagation();
451
470
  },
452
471
  onClick: (i) => {
453
472
  i.preventDefault(), i.stopPropagation(), o == null || o(i);
454
473
  },
455
- ...r,
456
- children: /* @__PURE__ */ n(S, { className: b.clearValueSvg })
474
+ ...n,
475
+ children: /* @__PURE__ */ r(R, { className: m.clearValueSvg })
457
476
  }
458
477
  );
459
478
  });
460
479
  export {
461
- so as Combobox,
462
- Fo as ComboboxClear,
480
+ mo as Combobox,
481
+ vo as ComboboxClear,
463
482
  Ro as ComboboxClearValue,
464
- co as ComboboxContent,
465
- fo as ComboboxEmpty,
466
- ho as ComboboxGroup,
467
- Co as ComboboxGroupLabel,
468
- po as ComboboxInput,
469
- go as ComboboxItem,
470
- xo as ComboboxItemCheckIcon,
471
- uo as ComboboxList,
472
- yo as ComboboxLoading,
473
- vo as ComboboxPlaceholder,
474
- wo as ComboboxSeparator,
475
- mo as ComboboxTrigger,
476
- bo as ComboboxValue,
477
- so as FieldCombobox,
478
- Fo as FieldComboboxClear,
483
+ bo as ComboboxContent,
484
+ ho as ComboboxEmpty,
485
+ Co as ComboboxGroup,
486
+ wo as ComboboxGroupLabel,
487
+ uo as ComboboxInput,
488
+ xo as ComboboxItem,
489
+ fo as ComboboxItemCheckIcon,
490
+ go as ComboboxList,
491
+ Fo as ComboboxLoading,
492
+ So as ComboboxPlaceholder,
493
+ yo as ComboboxSeparator,
494
+ co as ComboboxTrigger,
495
+ po as ComboboxValue,
496
+ mo as FieldCombobox,
497
+ vo as FieldComboboxClear,
479
498
  Ro as FieldComboboxClearValue,
480
- co as FieldComboboxContent,
481
- fo as FieldComboboxEmpty,
482
- ho as FieldComboboxGroup,
483
- Co as FieldComboboxGroupLabel,
484
- po as FieldComboboxInput,
485
- go as FieldComboboxItem,
486
- xo as FieldComboboxItemCheckIcon,
487
- uo as FieldComboboxList,
488
- yo as FieldComboboxLoading,
489
- vo as FieldComboboxPlaceholder,
490
- wo as FieldComboboxSeparator,
491
- mo as FieldComboboxTrigger,
492
- bo as FieldComboboxValue
499
+ bo as FieldComboboxContent,
500
+ ho as FieldComboboxEmpty,
501
+ Co as FieldComboboxGroup,
502
+ wo as FieldComboboxGroupLabel,
503
+ uo as FieldComboboxInput,
504
+ xo as FieldComboboxItem,
505
+ fo as FieldComboboxItemCheckIcon,
506
+ go as FieldComboboxList,
507
+ Fo as FieldComboboxLoading,
508
+ So as FieldComboboxPlaceholder,
509
+ yo as FieldComboboxSeparator,
510
+ co as FieldComboboxTrigger,
511
+ po as FieldComboboxValue
493
512
  };
494
513
  //# sourceMappingURL=field-combobox.js.map