@epilot/zenith-react 0.2.0-next.3 → 0.2.0-next.4

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 (269) hide show
  1. package/README.md +25 -0
  2. package/codemods/README.md +168 -0
  3. package/codemods/migrate/base-elements/accordion.ts +132 -0
  4. package/codemods/migrate/base-elements/alert.ts +81 -0
  5. package/codemods/migrate/base-elements/avatar.ts +116 -0
  6. package/codemods/migrate/base-elements/button.ts +188 -0
  7. package/codemods/migrate/base-elements/checkbox.ts +17 -0
  8. package/codemods/migrate/base-elements/chip.ts +87 -0
  9. package/codemods/migrate/base-elements/chip360.ts +162 -0
  10. package/codemods/migrate/base-elements/circular-progress.ts +73 -0
  11. package/codemods/migrate/base-elements/dialog.ts +323 -0
  12. package/codemods/migrate/base-elements/divider.ts +61 -0
  13. package/codemods/migrate/base-elements/feedback-message.ts +95 -0
  14. package/codemods/migrate/base-elements/icon-button.ts +203 -0
  15. package/codemods/migrate/base-elements/index.ts +55 -0
  16. package/codemods/migrate/base-elements/mui-props.ts +29 -0
  17. package/codemods/migrate/base-elements/notification.ts +98 -0
  18. package/codemods/migrate/base-elements/paper.ts +78 -0
  19. package/codemods/migrate/base-elements/select.ts +328 -0
  20. package/codemods/migrate/base-elements/shared.ts +910 -0
  21. package/codemods/migrate/base-elements/skeleton.ts +83 -0
  22. package/codemods/migrate/base-elements/switch.ts +19 -0
  23. package/codemods/migrate/base-elements/tabs.ts +222 -0
  24. package/codemods/migrate/base-elements/text-field.ts +425 -0
  25. package/codemods/migrate/base-elements/toggle-button.ts +185 -0
  26. package/codemods/migrate/base-elements/tooltip.ts +231 -0
  27. package/codemods/migrate/base-elements/typography.ts +247 -0
  28. package/codemods/migrate/base-elements/unsupported.ts +277 -0
  29. package/codemods/migrate/from-base-elements.ts +20 -0
  30. package/codemods/migrate/from-volt.ts +20 -0
  31. package/codemods/migrate/lib/imports.ts +399 -0
  32. package/codemods/migrate/lib/jsx.ts +313 -0
  33. package/codemods/migrate/lib/run-migration.ts +528 -0
  34. package/codemods/migrate/lib/source.ts +6 -0
  35. package/codemods/migrate/lib/todo.ts +107 -0
  36. package/codemods/migrate/lib/types.ts +114 -0
  37. package/codemods/migrate/volt/class-helpers.ts +37 -0
  38. package/codemods/migrate/volt/index.ts +18 -0
  39. package/codemods/migrate/volt/pagination.ts +26 -0
  40. package/codemods/migrate/volt/same-name.ts +293 -0
  41. package/codemods/migrate/volt/stylesheets.ts +18 -0
  42. package/codemods/migrate/volt/tanstack-types.ts +20 -0
  43. package/codemods/radix-to-base-ui.ts +389 -0
  44. package/dist/_virtual/_zenith-runtime-family_accordion.js +7 -0
  45. package/dist/_virtual/_zenith-runtime-family_accordion.js.map +1 -0
  46. package/dist/_virtual/_zenith-runtime-family_alert-dialog.js +7 -0
  47. package/dist/_virtual/_zenith-runtime-family_alert-dialog.js.map +1 -0
  48. package/dist/_virtual/_zenith-runtime-family_avatar.js +7 -0
  49. package/dist/_virtual/_zenith-runtime-family_avatar.js.map +1 -0
  50. package/dist/_virtual/_zenith-runtime-family_button.js +7 -0
  51. package/dist/_virtual/_zenith-runtime-family_button.js.map +1 -0
  52. package/dist/_virtual/_zenith-runtime-family_checkbox.js +7 -0
  53. package/dist/_virtual/_zenith-runtime-family_checkbox.js.map +1 -0
  54. package/dist/_virtual/_zenith-runtime-family_csp-provider.js +7 -0
  55. package/dist/_virtual/_zenith-runtime-family_csp-provider.js.map +1 -0
  56. package/dist/_virtual/_zenith-runtime-family_dialog.js +7 -0
  57. package/dist/_virtual/_zenith-runtime-family_dialog.js.map +1 -0
  58. package/dist/_virtual/_zenith-runtime-family_direction-provider.js +8 -0
  59. package/dist/_virtual/_zenith-runtime-family_direction-provider.js.map +1 -0
  60. package/dist/_virtual/_zenith-runtime-family_menu.js +7 -0
  61. package/dist/_virtual/_zenith-runtime-family_menu.js.map +1 -0
  62. package/dist/_virtual/_zenith-runtime-family_merge-props.js +11 -0
  63. package/dist/_virtual/_zenith-runtime-family_merge-props.js.map +1 -0
  64. package/dist/_virtual/_zenith-runtime-family_popover.js +7 -0
  65. package/dist/_virtual/_zenith-runtime-family_popover.js.map +1 -0
  66. package/dist/_virtual/_zenith-runtime-family_radio-group.js +7 -0
  67. package/dist/_virtual/_zenith-runtime-family_radio-group.js.map +1 -0
  68. package/dist/_virtual/_zenith-runtime-family_radio.js +7 -0
  69. package/dist/_virtual/_zenith-runtime-family_radio.js.map +1 -0
  70. package/dist/_virtual/_zenith-runtime-family_scroll-area.js +7 -0
  71. package/dist/_virtual/_zenith-runtime-family_scroll-area.js.map +1 -0
  72. package/dist/_virtual/_zenith-runtime-family_select.js +7 -0
  73. package/dist/_virtual/_zenith-runtime-family_select.js.map +1 -0
  74. package/dist/_virtual/_zenith-runtime-family_separator.js +7 -0
  75. package/dist/_virtual/_zenith-runtime-family_separator.js.map +1 -0
  76. package/dist/_virtual/_zenith-runtime-family_switch.js +7 -0
  77. package/dist/_virtual/_zenith-runtime-family_switch.js.map +1 -0
  78. package/dist/_virtual/_zenith-runtime-family_tabs.js +7 -0
  79. package/dist/_virtual/_zenith-runtime-family_tabs.js.map +1 -0
  80. package/dist/_virtual/_zenith-runtime-family_toast.js +7 -0
  81. package/dist/_virtual/_zenith-runtime-family_toast.js.map +1 -0
  82. package/dist/_virtual/_zenith-runtime-family_toggle-group.js +7 -0
  83. package/dist/_virtual/_zenith-runtime-family_toggle-group.js.map +1 -0
  84. package/dist/_virtual/_zenith-runtime-family_toggle.js +7 -0
  85. package/dist/_virtual/_zenith-runtime-family_toggle.js.map +1 -0
  86. package/dist/_virtual/_zenith-runtime-family_tooltip.js +7 -0
  87. package/dist/_virtual/_zenith-runtime-family_tooltip.js.map +1 -0
  88. package/dist/_virtual/_zenith-runtime-family_use-render.js +7 -0
  89. package/dist/_virtual/_zenith-runtime-family_use-render.js.map +1 -0
  90. package/dist/components/accordion/accordion.js +179 -96
  91. package/dist/components/accordion/accordion.js.map +1 -1
  92. package/dist/components/alert-dialog/alert-dialog.js +243 -206
  93. package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
  94. package/dist/components/avatar/avatar.js +94 -82
  95. package/dist/components/avatar/avatar.js.map +1 -1
  96. package/dist/components/badge/badge.js +11 -11
  97. package/dist/components/breadcrumb/breadcrumb.js +69 -70
  98. package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
  99. package/dist/components/button/button.js +119 -102
  100. package/dist/components/button/button.js.map +1 -1
  101. package/dist/components/checkbox/checkbox.js +68 -51
  102. package/dist/components/checkbox/checkbox.js.map +1 -1
  103. package/dist/components/date-range-picker/date-range-picker.js +100 -90
  104. package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
  105. package/dist/components/date-time-picker/date-time-picker-input.js +118 -108
  106. package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -1
  107. package/dist/components/date-time-picker/date-time-picker-panel.js +91 -94
  108. package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -1
  109. package/dist/components/dialog/dialog.js +238 -228
  110. package/dist/components/dialog/dialog.js.map +1 -1
  111. package/dist/components/drawer/drawer.js +259 -321
  112. package/dist/components/drawer/drawer.js.map +1 -1
  113. package/dist/components/dropdown-menu/dropdown-menu.js +533 -279
  114. package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -1
  115. package/dist/components/field/field-combobox.js +87 -77
  116. package/dist/components/field/field-combobox.js.map +1 -1
  117. package/dist/components/list/list-sortable.js +104 -0
  118. package/dist/components/list/list-sortable.js.map +1 -0
  119. package/dist/components/list/list.js +246 -324
  120. package/dist/components/list/list.js.map +1 -1
  121. package/dist/components/option-card/option-card.js +121 -117
  122. package/dist/components/option-card/option-card.js.map +1 -1
  123. package/dist/components/pill/pill.js +7 -7
  124. package/dist/components/popover/popover.js +223 -127
  125. package/dist/components/popover/popover.js.map +1 -1
  126. package/dist/components/radio/radio-group-base.js +54 -0
  127. package/dist/components/radio/radio-group-base.js.map +1 -0
  128. package/dist/components/radio/radio.js +71 -60
  129. package/dist/components/radio/radio.js.map +1 -1
  130. package/dist/components/scroll-area/scroll-area.js +142 -108
  131. package/dist/components/scroll-area/scroll-area.js.map +1 -1
  132. package/dist/components/scroll-overflow/scroll-overflow.js +156 -127
  133. package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -1
  134. package/dist/components/segmented-control/segmented-control.js +93 -81
  135. package/dist/components/segmented-control/segmented-control.js.map +1 -1
  136. package/dist/components/select/select.js +485 -310
  137. package/dist/components/select/select.js.map +1 -1
  138. package/dist/components/separator/separator.js.map +1 -1
  139. package/dist/components/slot/compose-as-child.js +15 -12
  140. package/dist/components/slot/compose-as-child.js.map +1 -1
  141. package/dist/components/switch/switch.js +75 -68
  142. package/dist/components/switch/switch.js.map +1 -1
  143. package/dist/components/table/table-pagination.js +212 -175
  144. package/dist/components/table/table-pagination.js.map +1 -1
  145. package/dist/components/tabs/tabs.js +193 -190
  146. package/dist/components/tabs/tabs.js.map +1 -1
  147. package/dist/components/toast/toast.js +610 -148
  148. package/dist/components/toast/toast.js.map +1 -1
  149. package/dist/components/toggle/toggle-group.js +143 -32
  150. package/dist/components/toggle/toggle-group.js.map +1 -1
  151. package/dist/components/toggle/toggle.js +83 -53
  152. package/dist/components/toggle/toggle.js.map +1 -1
  153. package/dist/components/tooltip/tooltip.js +298 -138
  154. package/dist/components/tooltip/tooltip.js.map +1 -1
  155. package/dist/index.d.ts +2335 -2129
  156. package/dist/index.js +24 -23
  157. package/dist/list/sortable/index.d.ts +29 -0
  158. package/dist/list/sortable/index.js +5 -0
  159. package/dist/{_virtual → list/sortable}/index.js.map +1 -1
  160. package/dist/packages/tokens/dist/delivery/index.js +10 -10
  161. package/dist/packages/tokens/dist/delivery/index.js.map +1 -1
  162. package/dist/packages/tokens/dist/generated/core.generated.js +6 -15
  163. package/dist/packages/tokens/dist/generated/core.generated.js.map +1 -1
  164. package/dist/packages/tokens/dist/generated/palette.generated.js +4 -5
  165. package/dist/packages/tokens/dist/generated/palette.generated.js.map +1 -1
  166. package/dist/packages/tokens/dist/generated/palette.meta.generated.js +5 -0
  167. package/dist/packages/tokens/dist/generated/palette.meta.generated.js.map +1 -0
  168. package/dist/packages/tokens/dist/install.js +40 -17
  169. package/dist/packages/tokens/dist/install.js.map +1 -1
  170. package/dist/renderer/runtime-contract.generated.js +8 -0
  171. package/dist/renderer/runtime-contract.generated.js.map +1 -0
  172. package/dist/renderer/served.js +34 -0
  173. package/dist/renderer/served.js.map +1 -0
  174. package/dist/tokens/core.meta.generated.js +2 -2
  175. package/dist/tokens/core.meta.generated.js.map +1 -1
  176. package/dist/tokens/index.d.ts +1028 -1028
  177. package/dist/tokens/index.js +863 -863
  178. package/dist/tokens/index.js.map +1 -1
  179. package/dist/tokens/palette.meta.generated.js +5 -0
  180. package/dist/tokens/palette.meta.generated.js.map +1 -0
  181. package/dist/tokens.json +1 -1
  182. package/dist/vendor/.bun/@radix-ui_react-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-dialog/dist/index.js +57 -62
  183. package/dist/vendor/.bun/@radix-ui_react-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-dialog/dist/index.js.map +1 -1
  184. package/dist/vendor/.bun/@radix-ui_react-slot@1.2.3_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js +32 -38
  185. package/dist/vendor/.bun/@radix-ui_react-slot@1.2.3_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js.map +1 -1
  186. package/package.json +28 -21
  187. package/scripts/migration-diagnostics-core.mjs +18 -10
  188. package/scripts/migration-diagnostics.mjs +31 -8
  189. package/dist/_virtual/index.js +0 -6
  190. package/dist/_virtual/index2.js +0 -5
  191. package/dist/_virtual/index2.js.map +0 -1
  192. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -5
  193. package/dist/_virtual/use-sync-external-store-shim.development.js.map +0 -1
  194. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -5
  195. package/dist/_virtual/use-sync-external-store-shim.production.js.map +0 -1
  196. package/dist/tokens/palette.generated.js +0 -5
  197. package/dist/tokens/palette.generated.js.map +0 -1
  198. package/dist/vendor/.bun/@floating-ui_core@1.8.0/vendor/@floating-ui/core/dist/floating-ui.core.js +0 -512
  199. package/dist/vendor/.bun/@floating-ui_core@1.8.0/vendor/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  200. package/dist/vendor/.bun/@floating-ui_dom@1.8.0/vendor/@floating-ui/dom/dist/floating-ui.dom.js +0 -396
  201. package/dist/vendor/.bun/@floating-ui_dom@1.8.0/vendor/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  202. 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
  203. 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
  204. package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
  205. package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  206. package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  207. package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  208. package/dist/vendor/.bun/@radix-ui_number@1.1.1/vendor/@radix-ui/number/dist/index.js +0 -7
  209. package/dist/vendor/.bun/@radix-ui_number@1.1.1/vendor/@radix-ui/number/dist/index.js.map +0 -1
  210. package/dist/vendor/.bun/@radix-ui_react-accordion@1.2.12_2b23df507bdda662/vendor/@radix-ui/react-accordion/dist/index.js +0 -240
  211. package/dist/vendor/.bun/@radix-ui_react-accordion@1.2.12_2b23df507bdda662/vendor/@radix-ui/react-accordion/dist/index.js.map +0 -1
  212. package/dist/vendor/.bun/@radix-ui_react-alert-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-alert-dialog/dist/index.js +0 -128
  213. 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
  214. package/dist/vendor/.bun/@radix-ui_react-arrow@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-arrow/dist/index.js +0 -25
  215. package/dist/vendor/.bun/@radix-ui_react-arrow@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-arrow/dist/index.js.map +0 -1
  216. package/dist/vendor/.bun/@radix-ui_react-avatar@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-avatar/dist/index.js +0 -76
  217. package/dist/vendor/.bun/@radix-ui_react-avatar@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-avatar/dist/index.js.map +0 -1
  218. package/dist/vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js +0 -252
  219. package/dist/vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js.map +0 -1
  220. package/dist/vendor/.bun/@radix-ui_react-collapsible@1.1.12_2b23df507bdda662/vendor/@radix-ui/react-collapsible/dist/index.js +0 -121
  221. package/dist/vendor/.bun/@radix-ui_react-collapsible@1.1.12_2b23df507bdda662/vendor/@radix-ui/react-collapsible/dist/index.js.map +0 -1
  222. package/dist/vendor/.bun/@radix-ui_react-collection@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-collection/dist/index.js +0 -49
  223. package/dist/vendor/.bun/@radix-ui_react-collection@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-collection/dist/index.js.map +0 -1
  224. package/dist/vendor/.bun/@radix-ui_react-direction@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-direction/dist/index.js +0 -11
  225. package/dist/vendor/.bun/@radix-ui_react-direction@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-direction/dist/index.js.map +0 -1
  226. package/dist/vendor/.bun/@radix-ui_react-dropdown-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-dropdown-menu/dist/index.js +0 -228
  227. 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
  228. package/dist/vendor/.bun/@radix-ui_react-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-menu/dist/index.js +0 -653
  229. package/dist/vendor/.bun/@radix-ui_react-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-menu/dist/index.js.map +0 -1
  230. package/dist/vendor/.bun/@radix-ui_react-popover@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-popover/dist/index.js +0 -244
  231. package/dist/vendor/.bun/@radix-ui_react-popover@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-popover/dist/index.js.map +0 -1
  232. package/dist/vendor/.bun/@radix-ui_react-popper@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-popper/dist/index.js +0 -222
  233. package/dist/vendor/.bun/@radix-ui_react-popper@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-popper/dist/index.js.map +0 -1
  234. package/dist/vendor/.bun/@radix-ui_react-radio-group@1.3.8_2b23df507bdda662/vendor/@radix-ui/react-radio-group/dist/index.js +0 -239
  235. 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
  236. package/dist/vendor/.bun/@radix-ui_react-roving-focus@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-roving-focus/dist/index.js +0 -184
  237. 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
  238. package/dist/vendor/.bun/@radix-ui_react-scroll-area@1.2.10_2b23df507bdda662/vendor/@radix-ui/react-scroll-area/dist/index.js +0 -535
  239. 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
  240. package/dist/vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js +0 -863
  241. package/dist/vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js.map +0 -1
  242. package/dist/vendor/.bun/@radix-ui_react-slot@1.2.4_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js +0 -63
  243. package/dist/vendor/.bun/@radix-ui_react-slot@1.2.4_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js.map +0 -1
  244. package/dist/vendor/.bun/@radix-ui_react-switch@1.2.6_2b23df507bdda662/vendor/@radix-ui/react-switch/dist/index.js +0 -133
  245. package/dist/vendor/.bun/@radix-ui_react-switch@1.2.6_2b23df507bdda662/vendor/@radix-ui/react-switch/dist/index.js.map +0 -1
  246. package/dist/vendor/.bun/@radix-ui_react-tabs@1.1.13_2b23df507bdda662/vendor/@radix-ui/react-tabs/dist/index.js +0 -164
  247. package/dist/vendor/.bun/@radix-ui_react-tabs@1.1.13_2b23df507bdda662/vendor/@radix-ui/react-tabs/dist/index.js.map +0 -1
  248. package/dist/vendor/.bun/@radix-ui_react-toggle-group@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-toggle-group/dist/index.js +0 -138
  249. 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
  250. package/dist/vendor/.bun/@radix-ui_react-toggle@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-toggle/dist/index.js +0 -34
  251. package/dist/vendor/.bun/@radix-ui_react-toggle@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-toggle/dist/index.js.map +0 -1
  252. package/dist/vendor/.bun/@radix-ui_react-tooltip@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-tooltip/dist/index.js +0 -340
  253. package/dist/vendor/.bun/@radix-ui_react-tooltip@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-tooltip/dist/index.js.map +0 -1
  254. 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
  255. 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
  256. package/dist/vendor/.bun/@radix-ui_react-use-previous@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-previous/dist/index.js +0 -9
  257. 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
  258. package/dist/vendor/.bun/@radix-ui_react-use-size@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-size/dist/index.js +0 -28
  259. 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
  260. package/dist/vendor/.bun/@radix-ui_react-visually-hidden@1.2.3_2b23df507bdda662/vendor/@radix-ui/react-visually-hidden/dist/index.js +0 -33
  261. 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
  262. package/dist/vendor/.bun/sonner@2.0.7_6f4b9a1cfb20c0ae/vendor/sonner/dist/index.js +0 -747
  263. package/dist/vendor/.bun/sonner@2.0.7_6f4b9a1cfb20c0ae/vendor/sonner/dist/index.js.map +0 -1
  264. 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
  265. 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
  266. 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
  267. 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
  268. package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/shim/index.js +0 -11
  269. package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/shim/index.js.map +0 -1
@@ -1,17 +1,17 @@
1
- import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
- import * as Z from "react";
3
- import { Root as U, Trigger as J, Value as Y, Icon as q, Portal as K, Content as Q, Viewport as ee, Group as te, Label as oe, Item as ne, ItemIndicator as re, ItemText as ie } from "../../vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js";
4
- import { mergeClasses as ae, SLOT_ATTR as se, shorthands as i } from "@epilot/zenith-runtime/v1";
5
- import { makeZenithStyles as ce } from "../../styles/make-styles.js";
6
- import { boxModel as c, nativeControl as le } from "../../styles/host-reset.js";
7
- import { OVERLAY_Z_INDEX as ge } from "../../styles/overlay-layer.js";
8
- import { accentA3 as E, leadingSm as u, textSm as v, grayA11 as x, fontWeightSemibold as de, leadingXs as pe, textXs as he, body as me, accent8 as ue, grayA4 as C, grayA3 as d, spacingElement1 as ve, spacingGroup1 as R, accent11 as P, trackingNormal as fe, accentA8 as we, spacingElement2 as ke, radiusMd as xe, grayA6 as Ce, radiusLg as W, spacingElement3 as Pe } from "../../tokens/index.js";
9
- import { useAppearanceAttributes as ye } from "../appearance-boundary/appearance-boundary.js";
10
- import { useDensity as Ie } from "../density-provider/density-provider.js";
11
- import { calculatePagination as Ne, getPageNumbers as Le, clampPage as Se } from "../../lib/pagination.js";
12
- import { TooltipProvider as Te, Tooltip as Be, TooltipTrigger as be, TooltipContent as Ae } from "../tooltip/tooltip.js";
13
- import { Button as g } from "../button/button.js";
14
- const je = (o) => /* @__PURE__ */ a(
1
+ import { jsx as t, jsxs as s } from "react/jsx-runtime";
2
+ import * as Y from "react";
3
+ import { Select as i } from "../../_virtual/_zenith-runtime-family_select.js";
4
+ import { mergeClasses as J, SLOT_ATTR as q, shorthands as a } from "@epilot/zenith-runtime/v1";
5
+ import { makeZenithStyles as K } from "../../styles/make-styles.js";
6
+ import { boxModel as c, nativeControl as Q } from "../../styles/host-reset.js";
7
+ import { OVERLAY_Z_INDEX as R } from "../../styles/overlay-layer.js";
8
+ import { accentA3 as $, leadingSm as f, textSm as v, grayA11 as P, fontWeightSemibold as ee, leadingXs as te, textXs as oe, body as ne, accent8 as re, grayA4 as y, grayA3 as h, spacingElement1 as ie, spacingGroup1 as D, accent11 as C, trackingNormal as ae, accentA8 as se, spacingElement2 as le, radiusMd as ce, grayA6 as de, radiusLg as _, spacingElement3 as ge } from "../../tokens/index.js";
9
+ import { useAppearanceAttributes as pe } from "../appearance-boundary/appearance-boundary.js";
10
+ import { useDensity as he } from "../density-provider/density-provider.js";
11
+ import { calculatePagination as me, getPageNumbers as ue, clampPage as fe } from "../../lib/pagination.js";
12
+ import { TooltipProvider as ve, Tooltip as we, TooltipTrigger as ke, TooltipContent as xe } from "../tooltip/tooltip.js";
13
+ import { Button as p } from "../button/button.js";
14
+ const Pe = (r) => /* @__PURE__ */ s(
15
15
  "svg",
16
16
  {
17
17
  xmlns: "http://www.w3.org/2000/svg",
@@ -23,13 +23,13 @@ const je = (o) => /* @__PURE__ */ a(
23
23
  strokeWidth: "2",
24
24
  strokeLinecap: "round",
25
25
  strokeLinejoin: "round",
26
- ...o,
26
+ ...r,
27
27
  children: [
28
28
  /* @__PURE__ */ t("path", { d: "M6 6v12" }),
29
29
  /* @__PURE__ */ t("path", { d: "m15 18-6-6 6-6" })
30
30
  ]
31
31
  }
32
- ), ze = (o) => /* @__PURE__ */ t(
32
+ ), ye = (r) => /* @__PURE__ */ t(
33
33
  "svg",
34
34
  {
35
35
  xmlns: "http://www.w3.org/2000/svg",
@@ -41,10 +41,10 @@ const je = (o) => /* @__PURE__ */ a(
41
41
  strokeWidth: "2",
42
42
  strokeLinecap: "round",
43
43
  strokeLinejoin: "round",
44
- ...o,
44
+ ...r,
45
45
  children: /* @__PURE__ */ t("path", { d: "m15 18-6-6 6-6" })
46
46
  }
47
- ), Ee = (o) => /* @__PURE__ */ t(
47
+ ), Ce = (r) => /* @__PURE__ */ t(
48
48
  "svg",
49
49
  {
50
50
  xmlns: "http://www.w3.org/2000/svg",
@@ -56,10 +56,10 @@ const je = (o) => /* @__PURE__ */ a(
56
56
  strokeWidth: "2",
57
57
  strokeLinecap: "round",
58
58
  strokeLinejoin: "round",
59
- ...o,
59
+ ...r,
60
60
  children: /* @__PURE__ */ t("path", { d: "m9 18 6-6-6-6" })
61
61
  }
62
- ), Re = (o) => /* @__PURE__ */ a(
62
+ ), Ie = (r) => /* @__PURE__ */ s(
63
63
  "svg",
64
64
  {
65
65
  xmlns: "http://www.w3.org/2000/svg",
@@ -71,13 +71,13 @@ const je = (o) => /* @__PURE__ */ a(
71
71
  strokeWidth: "2",
72
72
  strokeLinecap: "round",
73
73
  strokeLinejoin: "round",
74
- ...o,
74
+ ...r,
75
75
  children: [
76
76
  /* @__PURE__ */ t("path", { d: "m9 18 6-6-6-6" }),
77
77
  /* @__PURE__ */ t("path", { d: "M18 6v12" })
78
78
  ]
79
79
  }
80
- ), We = (o) => /* @__PURE__ */ t(
80
+ ), Ne = (r) => /* @__PURE__ */ t(
81
81
  "svg",
82
82
  {
83
83
  xmlns: "http://www.w3.org/2000/svg",
@@ -89,10 +89,10 @@ const je = (o) => /* @__PURE__ */ a(
89
89
  strokeWidth: "2",
90
90
  strokeLinecap: "round",
91
91
  strokeLinejoin: "round",
92
- ...o,
92
+ ...r,
93
93
  children: /* @__PURE__ */ t("path", { d: "m6 9 6 6 6-6" })
94
94
  }
95
- ), $e = (o) => /* @__PURE__ */ t(
95
+ ), Le = (r) => /* @__PURE__ */ t(
96
96
  "svg",
97
97
  {
98
98
  xmlns: "http://www.w3.org/2000/svg",
@@ -104,34 +104,34 @@ const je = (o) => /* @__PURE__ */ a(
104
104
  strokeWidth: "2",
105
105
  strokeLinecap: "round",
106
106
  strokeLinejoin: "round",
107
- ...o,
107
+ ...r,
108
108
  children: /* @__PURE__ */ t("path", { d: "M20 6 9 17l-5-5" })
109
109
  }
110
- ), Oe = [10, 25, 50, 100], _e = ce({
110
+ ), Se = [10, 25, 50, 100], Te = K({
111
111
  root: {
112
112
  ...c,
113
113
  display: "flex",
114
114
  alignItems: "center",
115
115
  justifyContent: "space-between",
116
- gap: R,
117
- ...i.paddingBlock(Pe),
116
+ gap: D,
117
+ ...a.paddingBlock(ge),
118
118
  fontSize: v,
119
- lineHeight: u
119
+ lineHeight: f
120
120
  },
121
121
  left: {
122
122
  display: "flex",
123
123
  alignItems: "center",
124
- gap: ke
124
+ gap: le
125
125
  },
126
126
  navButton: {
127
- backgroundColor: d,
128
- color: P,
127
+ backgroundColor: h,
128
+ color: C,
129
129
  ":hover": {
130
- backgroundColor: C
130
+ backgroundColor: y
131
131
  },
132
132
  ":disabled": {
133
- backgroundColor: d,
134
- color: we,
133
+ backgroundColor: h,
134
+ color: se,
135
135
  pointerEvents: "none"
136
136
  }
137
137
  },
@@ -140,58 +140,58 @@ const je = (o) => /* @__PURE__ */ a(
140
140
  },
141
141
  pageButtonInactive: {
142
142
  backgroundColor: "transparent",
143
- color: P,
143
+ color: C,
144
144
  ":hover": {
145
- backgroundColor: d
145
+ backgroundColor: h
146
146
  },
147
147
  ":active": {
148
- backgroundColor: C
148
+ backgroundColor: y
149
149
  }
150
150
  },
151
151
  ellipsisButton: {
152
- letterSpacing: fe,
152
+ letterSpacing: ae,
153
153
  backgroundColor: "transparent",
154
- color: P,
154
+ color: C,
155
155
  ":hover": {
156
- backgroundColor: d
156
+ backgroundColor: h
157
157
  }
158
158
  },
159
159
  right: {
160
160
  ...c,
161
161
  display: "flex",
162
162
  alignItems: "center",
163
- gap: R,
163
+ gap: D,
164
164
  paddingRight: "0.125rem"
165
165
  },
166
166
  range: {
167
167
  fontSize: v,
168
- lineHeight: u,
169
- color: x,
168
+ lineHeight: f,
169
+ color: P,
170
170
  fontVariantNumeric: "tabular-nums"
171
171
  },
172
172
  selectTrigger: {
173
- ...le,
173
+ ...Q,
174
174
  display: "flex",
175
175
  height: "2rem",
176
176
  width: "auto",
177
177
  minWidth: "4rem",
178
178
  alignItems: "center",
179
179
  justifyContent: "space-between",
180
- gap: ve,
181
- ...i.borderRadius(W),
182
- backgroundColor: d,
183
- ...i.paddingInline("0.75rem"),
180
+ gap: ie,
181
+ ...a.borderRadius(_),
182
+ backgroundColor: h,
183
+ ...a.paddingInline("0.75rem"),
184
184
  fontSize: v,
185
- lineHeight: u,
185
+ lineHeight: f,
186
186
  cursor: "pointer",
187
- ...i.borderWidth(0),
187
+ ...a.borderWidth(0),
188
188
  ":hover": {
189
- backgroundColor: C
189
+ backgroundColor: y
190
190
  },
191
191
  ":focus": {
192
192
  outlineWidth: "2px",
193
193
  outlineStyle: "solid",
194
- outlineColor: ue,
194
+ outlineColor: re,
195
195
  outlineOffset: "2px"
196
196
  },
197
197
  ":disabled": {
@@ -202,29 +202,49 @@ const je = (o) => /* @__PURE__ */ a(
202
202
  selectIcon: {
203
203
  display: "flex",
204
204
  alignItems: "center",
205
- color: x
205
+ color: P
206
+ },
207
+ // The positioner is what stacks against other layers, as Radix's popper wrapper did, keeping
208
+ // that wrapper's `max-content` floor.
209
+ selectPositioner: {
210
+ zIndex: R,
211
+ minWidth: "max-content"
206
212
  },
207
213
  selectContent: {
208
214
  ...c,
215
+ // Radix laid its content out as a column around the viewport.
216
+ display: "flex",
217
+ flexDirection: "column",
209
218
  position: "relative",
210
- zIndex: ge,
211
- ...i.overflow("hidden"),
212
- ...i.borderRadius(W),
213
- ...i.border("1px", "solid", Ce),
214
- backgroundColor: me,
219
+ zIndex: R,
220
+ ...a.overflow("hidden"),
221
+ ...a.borderRadius(_),
222
+ ...a.border("1px", "solid", de),
223
+ backgroundColor: ne,
215
224
  boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"
216
225
  },
217
226
  selectViewport: {
218
227
  ...c,
219
- ...i.padding("0.25rem")
228
+ // Radix's viewport: the scroller, its scrollbar hidden.
229
+ position: "relative",
230
+ flexGrow: 1,
231
+ flexShrink: 1,
232
+ flexBasis: "0%",
233
+ overflowX: "hidden",
234
+ overflowY: "auto",
235
+ scrollbarWidth: "none",
236
+ "&::-webkit-scrollbar": {
237
+ display: "none"
238
+ },
239
+ ...a.padding("0.25rem")
220
240
  },
221
241
  selectLabel: {
222
242
  ...c,
223
- ...i.padding("0.375rem", "0.5rem"),
224
- fontSize: he,
225
- lineHeight: pe,
226
- fontWeight: de,
227
- color: x
243
+ ...a.padding("0.375rem", "0.5rem"),
244
+ fontSize: oe,
245
+ lineHeight: te,
246
+ fontWeight: ee,
247
+ color: P
228
248
  },
229
249
  selectItem: {
230
250
  ...c,
@@ -233,16 +253,17 @@ const je = (o) => /* @__PURE__ */ a(
233
253
  cursor: "pointer",
234
254
  userSelect: "none",
235
255
  alignItems: "center",
236
- ...i.borderRadius(xe),
237
- ...i.padding("0.375rem", "0.5rem", "0.375rem", "2rem"),
256
+ ...a.borderRadius(ce),
257
+ ...a.padding("0.375rem", "0.5rem", "0.375rem", "2rem"),
238
258
  fontSize: v,
239
- lineHeight: u,
259
+ lineHeight: f,
240
260
  outlineStyle: "none",
241
- ":focus": {
242
- backgroundColor: E
261
+ // Base UI highlights the active item without moving focus to it, as Radix did.
262
+ "&[data-highlighted]": {
263
+ backgroundColor: $
243
264
  },
244
- "&[data-state='checked']": {
245
- backgroundColor: E
265
+ "&[data-selected]": {
266
+ backgroundColor: $
246
267
  }
247
268
  },
248
269
  selectItemIndicator: {
@@ -255,191 +276,207 @@ const je = (o) => /* @__PURE__ */ a(
255
276
  alignItems: "center",
256
277
  justifyContent: "center"
257
278
  }
258
- }), De = {
279
+ }), be = {
259
280
  navigation: "Pagination",
260
281
  firstPage: "First page",
261
282
  previousPage: "Previous page",
262
283
  nextPage: "Next page",
263
284
  lastPage: "Last page",
264
- goToPage: (o) => `Page ${o}`,
265
- jumpToPage: (o) => `Jump to page ${o}`,
266
- pageSizeSelector: (o) => `Rows per page: ${o}`
267
- }, Qe = Z.forwardRef(function({
268
- page: y,
269
- totalItems: p,
270
- pageSize: f,
271
- onPageChange: l,
272
- onPageSizeChange: $,
273
- pageSizeOptions: O = Oe,
274
- siblingCount: _ = 2,
275
- disabled: s = !1,
276
- labels: D,
277
- className: V,
278
- ...F
279
- }, H) {
280
- var B;
281
- const e = { ...De, ...D }, n = _e(), I = Ie(), M = ye(), { totalPages: w, start: N, end: L, isFirstPage: S, isLastPage: T } = Ne({
282
- page: y,
283
- pageSize: f,
284
- totalItems: p
285
- }), h = Se(y, w), G = Le(h, w, _), X = (r) => {
286
- const m = parseInt(r, 10);
287
- isNaN(m) || $(m);
285
+ goToPage: (r) => `Page ${r}`,
286
+ jumpToPage: (r) => `Jump to page ${r}`,
287
+ pageSizeSelector: (r) => `Rows per page: ${r}`
288
+ }, Ve = Y.forwardRef(function({
289
+ page: I,
290
+ totalItems: m,
291
+ pageSize: w,
292
+ onPageChange: d,
293
+ onPageSizeChange: O,
294
+ pageSizeOptions: N = Se,
295
+ siblingCount: G = 2,
296
+ disabled: l = !1,
297
+ labels: V,
298
+ className: F,
299
+ ...H
300
+ }, M) {
301
+ var A;
302
+ const e = { ...be, ...V }, n = Te(), L = he(), X = pe(), { totalPages: k, start: S, end: T, isFirstPage: b, isLastPage: B } = me({
303
+ page: I,
304
+ pageSize: w,
305
+ totalItems: m
306
+ }), u = fe(I, k), Z = ue(u, k, G), U = (o) => {
307
+ const g = parseInt(o, 10);
308
+ isNaN(g) || O(g);
288
309
  };
289
- return p === 0 ? null : /* @__PURE__ */ t(Te, { children: /* @__PURE__ */ a(
310
+ return m === 0 ? null : /* @__PURE__ */ t(ve, { children: /* @__PURE__ */ s(
290
311
  "div",
291
312
  {
292
- ref: H,
313
+ ref: M,
293
314
  "data-slot": "table-pagination",
294
- [se]: "table-pagination",
315
+ [q]: "table-pagination",
295
316
  "data-fs-element": "TablePagination",
296
317
  role: "navigation",
297
318
  "aria-label": e == null ? void 0 : e.navigation,
298
- className: ae(n.root, V),
299
- ...F,
319
+ className: J(n.root, F),
320
+ ...H,
300
321
  children: [
301
- /* @__PURE__ */ a("div", { className: n.left, children: [
322
+ /* @__PURE__ */ s("div", { className: n.left, children: [
302
323
  /* @__PURE__ */ t(
303
- g,
324
+ p,
304
325
  {
305
326
  variant: "secondary",
306
327
  size: "icon-sm",
307
328
  shape: "normal",
308
- disabled: s || S,
309
- onClick: () => l(1),
329
+ disabled: l || b,
330
+ onClick: () => d(1),
310
331
  "aria-label": e == null ? void 0 : e.firstPage,
311
332
  className: n.navButton,
312
- children: /* @__PURE__ */ t(je, {})
333
+ children: /* @__PURE__ */ t(Pe, {})
313
334
  }
314
335
  ),
315
336
  /* @__PURE__ */ t(
316
- g,
337
+ p,
317
338
  {
318
339
  variant: "secondary",
319
340
  size: "icon-sm",
320
341
  shape: "normal",
321
- disabled: s || S,
322
- onClick: () => l(h - 1),
342
+ disabled: l || b,
343
+ onClick: () => d(u - 1),
323
344
  "aria-label": e == null ? void 0 : e.previousPage,
324
345
  className: n.navButton,
325
- children: /* @__PURE__ */ t(ze, {})
346
+ children: /* @__PURE__ */ t(ye, {})
326
347
  }
327
348
  ),
328
- G.map((r, m) => {
329
- var A, j, z;
330
- const b = r.type === "ellipsis" ? `ellipsis-${m}-${r.targetPage}` : `page-${r.page}`;
331
- if (r.type === "ellipsis")
332
- return /* @__PURE__ */ a(Be, { children: [
333
- /* @__PURE__ */ t(be, { asChild: !0, children: /* @__PURE__ */ t(
334
- g,
349
+ Z.map((o, g) => {
350
+ var z, W, E;
351
+ const j = o.type === "ellipsis" ? `ellipsis-${g}-${o.targetPage}` : `page-${o.page}`;
352
+ if (o.type === "ellipsis")
353
+ return /* @__PURE__ */ s(we, { children: [
354
+ /* @__PURE__ */ t(ke, { asChild: !0, children: /* @__PURE__ */ t(
355
+ p,
335
356
  {
336
357
  variant: "tertiary",
337
358
  size: "icon-sm",
338
359
  shape: "normal",
339
- disabled: s,
340
- onClick: () => l(r.targetPage),
341
- "aria-label": (A = e == null ? void 0 : e.jumpToPage) == null ? void 0 : A.call(e, r.targetPage),
360
+ disabled: l,
361
+ onClick: () => d(o.targetPage),
362
+ "aria-label": (z = e == null ? void 0 : e.jumpToPage) == null ? void 0 : z.call(e, o.targetPage),
342
363
  className: n.ellipsisButton,
343
364
  children: "..."
344
365
  }
345
366
  ) }),
346
- /* @__PURE__ */ t(Ae, { children: (j = e == null ? void 0 : e.jumpToPage) == null ? void 0 : j.call(e, r.targetPage) })
347
- ] }, b);
348
- const k = r.page === h;
367
+ /* @__PURE__ */ t(xe, { children: (W = e == null ? void 0 : e.jumpToPage) == null ? void 0 : W.call(e, o.targetPage) })
368
+ ] }, j);
369
+ const x = o.page === u;
349
370
  return /* @__PURE__ */ t(
350
- g,
371
+ p,
351
372
  {
352
- variant: k ? "secondary" : "tertiary",
373
+ variant: x ? "secondary" : "tertiary",
353
374
  size: "icon-sm",
354
375
  shape: "normal",
355
- disabled: s,
356
- onClick: () => l(r.page),
357
- "aria-label": (z = e == null ? void 0 : e.goToPage) == null ? void 0 : z.call(e, r.page),
358
- "aria-current": k ? "page" : void 0,
359
- className: k ? n.pageButtonActive : n.pageButtonInactive,
360
- children: r.page
376
+ disabled: l,
377
+ onClick: () => d(o.page),
378
+ "aria-label": (E = e == null ? void 0 : e.goToPage) == null ? void 0 : E.call(e, o.page),
379
+ "aria-current": x ? "page" : void 0,
380
+ className: x ? n.pageButtonActive : n.pageButtonInactive,
381
+ children: o.page
361
382
  },
362
- b
383
+ j
363
384
  );
364
385
  }),
365
386
  /* @__PURE__ */ t(
366
- g,
387
+ p,
367
388
  {
368
389
  variant: "secondary",
369
390
  size: "icon-sm",
370
391
  shape: "normal",
371
- disabled: s || T,
372
- onClick: () => l(h + 1),
392
+ disabled: l || B,
393
+ onClick: () => d(u + 1),
373
394
  "aria-label": e == null ? void 0 : e.nextPage,
374
395
  className: n.navButton,
375
- children: /* @__PURE__ */ t(Ee, {})
396
+ children: /* @__PURE__ */ t(Ce, {})
376
397
  }
377
398
  ),
378
399
  /* @__PURE__ */ t(
379
- g,
400
+ p,
380
401
  {
381
402
  variant: "secondary",
382
403
  size: "icon-sm",
383
404
  shape: "normal",
384
- disabled: s || T,
385
- onClick: () => l(w),
405
+ disabled: l || B,
406
+ onClick: () => d(k),
386
407
  "aria-label": e == null ? void 0 : e.lastPage,
387
408
  className: n.navButton,
388
- children: /* @__PURE__ */ t(Re, {})
409
+ children: /* @__PURE__ */ t(Ie, {})
389
410
  }
390
411
  )
391
412
  ] }),
392
- /* @__PURE__ */ a("div", { className: n.right, children: [
413
+ /* @__PURE__ */ s("div", { className: n.right, children: [
393
414
  /* @__PURE__ */ t(
394
415
  "span",
395
416
  {
396
417
  "data-slot": "table-pagination-range",
397
418
  className: n.range,
398
419
  "aria-live": "polite",
399
- children: e != null && e.rangeDisplay ? e.rangeDisplay(N, L, p) : `${N}-${L} / ${p}`
420
+ children: e != null && e.rangeDisplay ? e.rangeDisplay(S, T, m) : `${S}-${T} / ${m}`
400
421
  }
401
422
  ),
402
- /* @__PURE__ */ a(
403
- U,
423
+ /* @__PURE__ */ s(
424
+ i.Root,
404
425
  {
405
- value: String(f),
406
- onValueChange: X,
407
- disabled: s,
426
+ value: String(w),
427
+ onValueChange: (o) => {
428
+ o !== null && U(o);
429
+ },
430
+ disabled: l,
408
431
  children: [
409
- /* @__PURE__ */ a(
410
- J,
432
+ /* @__PURE__ */ s(
433
+ i.Trigger,
411
434
  {
412
435
  className: n.selectTrigger,
413
- "aria-label": (B = e == null ? void 0 : e.pageSizeSelector) == null ? void 0 : B.call(e, f),
436
+ "aria-label": (A = e == null ? void 0 : e.pageSizeSelector) == null ? void 0 : A.call(e, w),
414
437
  children: [
415
- /* @__PURE__ */ t(Y, {}),
416
- /* @__PURE__ */ t(q, { className: n.selectIcon, children: /* @__PURE__ */ t(We, {}) })
438
+ /* @__PURE__ */ t(i.Value, { children: (o) => N.some((g) => String(g) === o) ? o : null }),
439
+ /* @__PURE__ */ t(i.Icon, { className: n.selectIcon, children: /* @__PURE__ */ t(Ne, {}) })
417
440
  ]
418
441
  }
419
442
  ),
420
- /* @__PURE__ */ t(K, { children: /* @__PURE__ */ t(
421
- Q,
443
+ /* @__PURE__ */ t(i.Portal, { children: /* @__PURE__ */ t(
444
+ i.Positioner,
422
445
  {
423
- className: n.selectContent,
424
- ...I !== void 0 ? { "data-density": I } : {},
425
- ...M,
426
- position: "popper",
446
+ className: n.selectPositioner,
447
+ alignItemWithTrigger: !1,
448
+ align: "start",
427
449
  sideOffset: 4,
428
- children: /* @__PURE__ */ t(ee, { className: n.selectViewport, children: /* @__PURE__ */ a(te, { children: [
429
- (e == null ? void 0 : e.resultsPerPage) && /* @__PURE__ */ t(oe, { className: n.selectLabel, children: e.resultsPerPage }),
430
- O.map((r) => /* @__PURE__ */ a(
431
- ne,
432
- {
433
- value: String(r),
434
- className: n.selectItem,
435
- children: [
436
- /* @__PURE__ */ t("span", { className: n.selectItemIndicator, children: /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t($e, { style: { width: 16, height: 16 } }) }) }),
437
- /* @__PURE__ */ t(ie, { children: r })
438
- ]
439
- },
440
- r
441
- ))
442
- ] }) })
450
+ collisionPadding: 10,
451
+ children: /* @__PURE__ */ t(
452
+ i.Popup,
453
+ {
454
+ className: n.selectContent,
455
+ ...L !== void 0 ? { "data-density": L } : {},
456
+ ...X,
457
+ children: /* @__PURE__ */ t(i.List, { className: n.selectViewport, children: /* @__PURE__ */ s(i.Group, { children: [
458
+ (e == null ? void 0 : e.resultsPerPage) && /* @__PURE__ */ t(
459
+ i.GroupLabel,
460
+ {
461
+ className: n.selectLabel,
462
+ children: e.resultsPerPage
463
+ }
464
+ ),
465
+ N.map((o) => /* @__PURE__ */ s(
466
+ i.Item,
467
+ {
468
+ value: String(o),
469
+ className: n.selectItem,
470
+ children: [
471
+ /* @__PURE__ */ t("span", { className: n.selectItemIndicator, children: /* @__PURE__ */ t(i.ItemIndicator, { children: /* @__PURE__ */ t(Le, { style: { width: 16, height: 16 } }) }) }),
472
+ /* @__PURE__ */ t(i.ItemText, { render: /* @__PURE__ */ t("span", {}), children: o })
473
+ ]
474
+ },
475
+ o
476
+ ))
477
+ ] }) })
478
+ }
479
+ )
443
480
  }
444
481
  ) })
445
482
  ]
@@ -451,6 +488,6 @@ const je = (o) => /* @__PURE__ */ a(
451
488
  ) });
452
489
  });
453
490
  export {
454
- Qe as TablePagination
491
+ Ve as TablePagination
455
492
  };
456
493
  //# sourceMappingURL=table-pagination.js.map