@vlrc-fe/components 3.0.5 → 3.1.0

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 (482) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +6 -2
  3. package/dist/ConfirmModal.cjs +49 -18
  4. package/dist/ConfirmModal.d.ts +14 -2
  5. package/dist/ConfirmModal.d.ts.map +1 -1
  6. package/dist/ConfirmModal.js +49 -18
  7. package/dist/DataTable/components/DataTableFacetedFilter.cjs +0 -2
  8. package/dist/DataTable/components/DataTableFacetedFilter.js +0 -2
  9. package/dist/DataTable/components/DataTablePagination.cjs +0 -1
  10. package/dist/DataTable/components/DataTablePagination.js +0 -1
  11. package/dist/DataTable/components/DataTableRowActions.cjs +1 -1
  12. package/dist/DataTable/components/DataTableRowActions.js +1 -1
  13. package/dist/DataTable/components/DataTableTable.cjs +3 -2
  14. package/dist/DataTable/components/DataTableTable.d.ts.map +1 -1
  15. package/dist/DataTable/components/DataTableTable.js +3 -2
  16. package/dist/DataTable/render/createColumns.cjs +1 -1
  17. package/dist/DataTable/render/createColumns.js +1 -1
  18. package/dist/Dropdown/Dropdown.cjs +14 -12
  19. package/dist/Dropdown/Dropdown.js +14 -12
  20. package/dist/Form/Form.cjs +3 -4
  21. package/dist/Form/Form.js +2 -3
  22. package/dist/Form/FormDatePicker/DatePickerTrigger.cjs +263 -0
  23. package/dist/Form/FormDatePicker/DatePickerTrigger.d.ts +111 -0
  24. package/dist/Form/FormDatePicker/DatePickerTrigger.d.ts.map +1 -0
  25. package/dist/Form/FormDatePicker/DatePickerTrigger.js +259 -0
  26. package/dist/Form/FormDatePicker/FormDatePicker.cjs +65 -66
  27. package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
  28. package/dist/Form/FormDatePicker/FormDatePicker.js +66 -65
  29. package/dist/Form/FormDatePicker/RangeDatePicker.cjs +25 -68
  30. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +5 -2
  31. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
  32. package/dist/Form/FormDatePicker/RangeDatePicker.js +26 -69
  33. package/dist/Form/FormDatePicker/SingleDatePicker.cjs +43 -66
  34. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -2
  35. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
  36. package/dist/Form/FormDatePicker/SingleDatePicker.js +44 -67
  37. package/dist/Form/FormDatePicker/TimeInput.cjs +44 -59
  38. package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
  39. package/dist/Form/FormDatePicker/TimeInput.js +44 -59
  40. package/dist/Form/FormDatePicker/TimePicker.cjs +39 -17
  41. package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
  42. package/dist/Form/FormDatePicker/TimePicker.js +39 -17
  43. package/dist/Form/FormDatePicker/types.d.ts +5 -0
  44. package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
  45. package/dist/Form/FormDatePicker/useFormDatePicker.cjs +3 -4
  46. package/dist/Form/FormDatePicker/useFormDatePicker.js +1 -2
  47. package/dist/Form/FormFileUpload/FileUpload.cjs +24 -29
  48. package/dist/Form/FormFileUpload/FileUpload.js +24 -29
  49. package/dist/Form/FormFileUpload/index.cjs +2 -2
  50. package/dist/Form/FormFileUpload/index.js +1 -1
  51. package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts +6 -1
  52. package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts.map +1 -1
  53. package/dist/Form/FormNumberInput/FormNumberInput.cjs +21 -11
  54. package/dist/Form/FormNumberInput/FormNumberInput.d.ts.map +1 -1
  55. package/dist/Form/FormNumberInput/FormNumberInput.js +20 -10
  56. package/dist/Form/FormSelect/FormSelect.cjs +45 -18
  57. package/dist/Form/FormSelect/FormSelect.js +45 -18
  58. package/dist/Form/FormSelect/types.d.ts +2 -0
  59. package/dist/Form/FormSelect/types.d.ts.map +1 -1
  60. package/dist/Icons/Icons.cjs +47 -0
  61. package/dist/Icons/Icons.d.ts +46 -0
  62. package/dist/Icons/Icons.d.ts.map +1 -1
  63. package/dist/Icons/Icons.js +48 -1
  64. package/dist/Icons/JiraIcons.cjs +251 -0
  65. package/dist/Icons/JiraIcons.d.ts +25 -0
  66. package/dist/Icons/JiraIcons.d.ts.map +1 -0
  67. package/dist/Icons/JiraIcons.js +248 -0
  68. package/dist/Icons/index.d.ts +1 -0
  69. package/dist/Icons/index.d.ts.map +1 -1
  70. package/dist/Modal.cjs +12 -9
  71. package/dist/Modal.d.ts +11 -1
  72. package/dist/Modal.d.ts.map +1 -1
  73. package/dist/Modal.js +12 -9
  74. package/dist/MultiSelect/MultiSelect.cjs +20 -9
  75. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
  76. package/dist/MultiSelect/MultiSelect.js +20 -9
  77. package/dist/MultiSelect/renderers.cjs +95 -52
  78. package/dist/MultiSelect/renderers.d.ts.map +1 -1
  79. package/dist/MultiSelect/renderers.js +95 -52
  80. package/dist/Select/BaseSelect.cjs +68 -21
  81. package/dist/Select/BaseSelect.d.ts.map +1 -1
  82. package/dist/Select/BaseSelect.js +69 -22
  83. package/dist/Select/MultiSelectTags.cjs +0 -1
  84. package/dist/Select/MultiSelectTags.d.ts.map +1 -1
  85. package/dist/Select/MultiSelectTags.js +0 -1
  86. package/dist/Tag/Tag.cjs +154 -0
  87. package/dist/Tag/Tag.d.ts +19 -0
  88. package/dist/Tag/Tag.d.ts.map +1 -0
  89. package/dist/Tag/Tag.js +151 -0
  90. package/dist/Tag/index.d.ts +3 -0
  91. package/dist/Tag/index.d.ts.map +1 -0
  92. package/dist/Typography/Blockquote.cjs +2 -1
  93. package/dist/Typography/Blockquote.d.ts +1 -1
  94. package/dist/Typography/Blockquote.d.ts.map +1 -1
  95. package/dist/Typography/Blockquote.js +2 -1
  96. package/dist/Typography/Code.cjs +2 -2
  97. package/dist/Typography/Code.d.ts +1 -1
  98. package/dist/Typography/Code.d.ts.map +1 -1
  99. package/dist/Typography/Code.js +2 -2
  100. package/dist/Typography/Link.cjs +2 -1
  101. package/dist/Typography/Link.d.ts +1 -1
  102. package/dist/Typography/Link.d.ts.map +1 -1
  103. package/dist/Typography/Link.js +2 -1
  104. package/dist/Typography/Paragraph.cjs +2 -1
  105. package/dist/Typography/Paragraph.d.ts +1 -1
  106. package/dist/Typography/Paragraph.d.ts.map +1 -1
  107. package/dist/Typography/Paragraph.js +2 -1
  108. package/dist/Typography/Text.cjs +2 -1
  109. package/dist/Typography/Text.d.ts +1 -1
  110. package/dist/Typography/Text.d.ts.map +1 -1
  111. package/dist/Typography/Text.js +2 -1
  112. package/dist/Typography/types.d.ts +2 -0
  113. package/dist/Typography/types.d.ts.map +1 -1
  114. package/dist/assets/stylex.css +139 -31
  115. package/dist/index.cjs +27 -7
  116. package/dist/index.d.ts +5 -2
  117. package/dist/index.d.ts.map +1 -1
  118. package/dist/index.js +15 -12
  119. package/dist/layout/index.js +2 -2
  120. package/dist/theme/index.cjs +4 -0
  121. package/dist/theme/index.js +4 -2
  122. package/dist/theme/tokens.stylex.cjs +33 -0
  123. package/dist/theme/tokens.stylex.d.ts +53 -0
  124. package/dist/theme/tokens.stylex.d.ts.map +1 -1
  125. package/dist/theme/tokens.stylex.js +32 -1
  126. package/dist/theme.css +160 -37
  127. package/dist/ui/accordion.cjs +0 -1
  128. package/dist/ui/accordion.d.ts.map +1 -1
  129. package/dist/ui/accordion.js +0 -1
  130. package/dist/ui/alert-dialog.cjs +11 -11
  131. package/dist/ui/alert-dialog.js +9 -9
  132. package/dist/ui/aspect-ratio.cjs +2 -2
  133. package/dist/ui/aspect-ratio.js +1 -1
  134. package/dist/ui/avatar.cjs +110 -41
  135. package/dist/ui/avatar.d.ts +7 -1
  136. package/dist/ui/avatar.d.ts.map +1 -1
  137. package/dist/ui/avatar.js +110 -41
  138. package/dist/ui/badge-overflow.cjs +33 -8
  139. package/dist/ui/badge-overflow.d.ts.map +1 -1
  140. package/dist/ui/badge-overflow.js +33 -8
  141. package/dist/ui/breadcrumb.cjs +18 -8
  142. package/dist/ui/breadcrumb.d.ts.map +1 -1
  143. package/dist/ui/breadcrumb.js +18 -8
  144. package/dist/ui/card.cjs +23 -88
  145. package/dist/ui/card.d.ts +11 -4
  146. package/dist/ui/card.d.ts.map +1 -1
  147. package/dist/ui/card.js +23 -88
  148. package/dist/ui/carousel.cjs +27 -8
  149. package/dist/ui/carousel.d.ts.map +1 -1
  150. package/dist/ui/carousel.js +25 -7
  151. package/dist/ui/code-block.cjs +6 -12
  152. package/dist/ui/code-block.js +6 -12
  153. package/dist/ui/collapsible.cjs +4 -4
  154. package/dist/ui/collapsible.js +6 -6
  155. package/dist/ui/command.cjs +1 -2
  156. package/dist/ui/command.d.ts.map +1 -1
  157. package/dist/ui/command.js +1 -2
  158. package/dist/ui/context-menu.cjs +42 -48
  159. package/dist/ui/context-menu.d.ts.map +1 -1
  160. package/dist/ui/context-menu.js +41 -47
  161. package/dist/ui/copy-button.cjs +0 -1
  162. package/dist/ui/copy-button.js +0 -1
  163. package/dist/ui/dialog.cjs +3 -3
  164. package/dist/ui/dialog.js +3 -3
  165. package/dist/ui/drawer.cjs +9 -9
  166. package/dist/ui/drawer.js +11 -11
  167. package/dist/ui/dropdown-menu.cjs +4 -4
  168. package/dist/ui/dropdown-menu.d.ts +3 -1
  169. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  170. package/dist/ui/dropdown-menu.js +4 -4
  171. package/dist/ui/editable.cjs +0 -1
  172. package/dist/ui/editable.d.ts.map +1 -1
  173. package/dist/ui/editable.js +0 -1
  174. package/dist/ui/empty.cjs +6 -5
  175. package/dist/ui/empty.d.ts +2 -0
  176. package/dist/ui/empty.d.ts.map +1 -1
  177. package/dist/ui/empty.js +6 -6
  178. package/dist/ui/field.cjs +0 -2
  179. package/dist/ui/field.d.ts.map +1 -1
  180. package/dist/ui/field.js +0 -2
  181. package/dist/ui/file-upload.cjs +88 -85
  182. package/dist/ui/file-upload.d.ts +1 -0
  183. package/dist/ui/file-upload.d.ts.map +1 -1
  184. package/dist/ui/file-upload.js +88 -86
  185. package/dist/ui/form.cjs +54 -66
  186. package/dist/ui/form.d.ts.map +1 -1
  187. package/dist/ui/form.js +50 -62
  188. package/dist/ui/hover-card.cjs +5 -5
  189. package/dist/ui/hover-card.js +3 -3
  190. package/dist/ui/input-group.cjs +0 -1
  191. package/dist/ui/input-group.d.ts.map +1 -1
  192. package/dist/ui/input-group.js +0 -1
  193. package/dist/ui/input-otp.cjs +3 -3
  194. package/dist/ui/input-otp.js +3 -3
  195. package/dist/ui/input.cjs +69 -7
  196. package/dist/ui/input.d.ts +3 -1
  197. package/dist/ui/input.d.ts.map +1 -1
  198. package/dist/ui/input.js +69 -7
  199. package/dist/ui/kbd.cjs +22 -16
  200. package/dist/ui/kbd.d.ts.map +1 -1
  201. package/dist/ui/kbd.js +22 -16
  202. package/dist/ui/menubar.cjs +42 -48
  203. package/dist/ui/menubar.d.ts.map +1 -1
  204. package/dist/ui/menubar.js +40 -46
  205. package/dist/ui/navigation-menu.cjs +9 -9
  206. package/dist/ui/navigation-menu.js +4 -4
  207. package/dist/ui/pagination.cjs +7 -7
  208. package/dist/ui/pagination.d.ts.map +1 -1
  209. package/dist/ui/pagination.js +7 -7
  210. package/dist/ui/progress.cjs +27 -12
  211. package/dist/ui/progress.d.ts +3 -1
  212. package/dist/ui/progress.d.ts.map +1 -1
  213. package/dist/ui/progress.js +27 -12
  214. package/dist/ui/resizable.cjs +4 -4
  215. package/dist/ui/resizable.js +1 -1
  216. package/dist/ui/responsive-dialog.cjs +1 -1
  217. package/dist/ui/responsive-dialog.js +1 -1
  218. package/dist/ui/segmented.cjs +19 -10
  219. package/dist/ui/segmented.d.ts.map +1 -1
  220. package/dist/ui/segmented.js +20 -11
  221. package/dist/ui/sheet.cjs +1 -1
  222. package/dist/ui/sheet.js +1 -1
  223. package/dist/ui/sidebar.cjs +9 -5
  224. package/dist/ui/sidebar.d.ts.map +1 -1
  225. package/dist/ui/sidebar.js +9 -5
  226. package/dist/ui/signature-pad.cjs +3 -0
  227. package/dist/ui/signature-pad.d.ts.map +1 -1
  228. package/dist/ui/signature-pad.js +3 -0
  229. package/dist/ui/slider.cjs +7 -8
  230. package/dist/ui/slider.js +7 -8
  231. package/dist/ui/sonner.cjs +6 -0
  232. package/dist/ui/sonner.d.ts +1 -0
  233. package/dist/ui/sonner.d.ts.map +1 -1
  234. package/dist/ui/sonner.js +2 -2
  235. package/dist/ui/stat.cjs +2 -3
  236. package/dist/ui/stat.d.ts.map +1 -1
  237. package/dist/ui/stat.js +2 -3
  238. package/dist/ui/stepper.cjs +107 -70
  239. package/dist/ui/stepper.d.ts +2 -2
  240. package/dist/ui/stepper.d.ts.map +1 -1
  241. package/dist/ui/stepper.js +108 -71
  242. package/dist/ui/switch.cjs +3 -3
  243. package/dist/ui/switch.js +3 -3
  244. package/dist/ui/tabs.cjs +150 -64
  245. package/dist/ui/tabs.d.ts +34 -5
  246. package/dist/ui/tabs.d.ts.map +1 -1
  247. package/dist/ui/tabs.js +148 -62
  248. package/dist/ui/timeline.cjs +2 -3
  249. package/dist/ui/timeline.d.ts.map +1 -1
  250. package/dist/ui/timeline.js +2 -3
  251. package/dist/ui/toggle-group.cjs +3 -3
  252. package/dist/ui/toggle-group.js +3 -3
  253. package/dist/ui/toggle.cjs +2 -2
  254. package/dist/ui/toggle.js +1 -1
  255. package/dist/ui/tooltip.cjs +61 -11
  256. package/dist/ui/tooltip.d.ts +10 -2
  257. package/dist/ui/tooltip.d.ts.map +1 -1
  258. package/dist/ui/tooltip.js +61 -11
  259. package/dist/utils.cjs +72 -0
  260. package/dist/utils.d.ts +63 -1
  261. package/dist/utils.d.ts.map +1 -1
  262. package/dist/utils.js +68 -1
  263. package/dist/vlrc-theme.css +21 -1
  264. package/package.json +16 -3
  265. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +0 -551
  266. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -542
  267. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +0 -546
  268. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -537
  269. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +0 -330
  270. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -319
  271. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +0 -150
  272. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +0 -132
  273. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -113
  274. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  275. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +0 -11
  276. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +0 -11
  277. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +0 -48
  278. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +0 -43
  279. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +0 -145
  280. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +0 -125
  281. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +0 -38
  282. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +0 -34
  283. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +0 -126
  284. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +0 -118
  285. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +0 -134
  286. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -128
  287. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +0 -541
  288. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +0 -537
  289. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -39
  290. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -35
  291. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +0 -304
  292. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +0 -272
  293. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +0 -108
  294. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +0 -104
  295. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +0 -19
  296. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +0 -16
  297. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -275
  298. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -271
  299. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +0 -53
  300. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -48
  301. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +0 -215
  302. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -212
  303. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +0 -219
  304. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +0 -209
  305. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +0 -22
  306. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +0 -19
  307. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +0 -802
  308. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +0 -769
  309. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +0 -410
  310. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +0 -376
  311. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +0 -741
  312. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +0 -722
  313. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -246
  314. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +0 -237
  315. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -27
  316. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +0 -23
  317. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -148
  318. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +0 -145
  319. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -55
  320. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +0 -50
  321. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +0 -223
  322. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -216
  323. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +0 -576
  324. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +0 -560
  325. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +0 -202
  326. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +0 -190
  327. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +0 -159
  328. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +0 -149
  329. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +0 -158
  330. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +0 -152
  331. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +0 -39
  332. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +0 -35
  333. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -19
  334. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -16
  335. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -109
  336. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -105
  337. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +0 -28
  338. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +0 -25
  339. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +0 -33
  340. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +0 -30
  341. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -7
  342. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -4
  343. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +0 -25
  344. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -22
  345. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +0 -47
  346. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +0 -44
  347. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +0 -38
  348. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -33
  349. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +0 -106
  350. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -106
  351. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +0 -5
  352. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +0 -5
  353. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +0 -6
  354. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +0 -6
  355. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +0 -423
  356. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +0 -423
  357. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +0 -45
  358. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +0 -45
  359. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +0 -42
  360. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +0 -42
  361. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +0 -20
  362. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -20
  363. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +0 -7
  364. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +0 -7
  365. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +0 -27
  366. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +0 -25
  367. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +0 -45
  368. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +0 -42
  369. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +0 -45
  370. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +0 -44
  371. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +0 -49
  372. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +0 -48
  373. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +0 -358
  374. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +0 -354
  375. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +0 -31
  376. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +0 -30
  377. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +0 -35
  378. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +0 -34
  379. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +0 -44
  380. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +0 -43
  381. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +0 -49
  382. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +0 -48
  383. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +0 -61
  384. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +0 -60
  385. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +0 -38
  386. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +0 -37
  387. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +0 -39
  388. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +0 -38
  389. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +0 -8
  390. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -8
  391. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +0 -50
  392. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -50
  393. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +0 -27
  394. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -27
  395. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +0 -18
  396. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -18
  397. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +0 -77
  398. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -77
  399. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +0 -31
  400. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -31
  401. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +0 -11
  402. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  403. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +0 -210
  404. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -210
  405. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +0 -122
  406. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +0 -123
  407. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +0 -28
  408. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +0 -27
  409. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +0 -34
  410. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +0 -33
  411. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +0 -37
  412. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +0 -36
  413. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +0 -41
  414. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +0 -40
  415. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +0 -45
  416. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +0 -44
  417. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +0 -56
  418. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +0 -55
  419. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +0 -35
  420. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +0 -34
  421. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +0 -45
  422. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +0 -44
  423. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +0 -34
  424. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +0 -34
  425. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +0 -39
  426. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -36
  427. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1391
  428. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1391
  429. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +0 -7
  430. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -4
  431. package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +0 -387
  432. package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js +0 -383
  433. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +0 -625
  434. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +0 -616
  435. package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +0 -1033
  436. package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js +0 -1026
  437. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +0 -47
  438. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -43
  439. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +0 -13
  440. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -10
  441. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +0 -4
  442. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.js +0 -3
  443. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +0 -36
  444. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -35
  445. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +0 -15
  446. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -13
  447. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +0 -167
  448. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -163
  449. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +0 -63
  450. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -61
  451. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +0 -14
  452. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -14
  453. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +0 -84
  454. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -83
  455. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +0 -3
  456. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -4
  457. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +0 -6
  458. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -6
  459. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +0 -1617
  460. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js +0 -1600
  461. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +0 -18
  462. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +0 -18
  463. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +0 -26
  464. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +0 -24
  465. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +0 -4
  466. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.js +0 -3
  467. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +0 -40
  468. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -40
  469. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +0 -36
  470. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -29
  471. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +0 -20
  472. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -20
  473. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +0 -46
  474. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -44
  475. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs +0 -39
  476. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -39
  477. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +0 -18
  478. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +0 -16
  479. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +0 -81
  480. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +0 -81
  481. package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +0 -1252
  482. package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js +0 -1243
@@ -1,6 +1,7 @@
1
1
  import { Text } from "../Typography/Text.js";
2
+ import { Button } from "../ui/button.js";
3
+ import { cn, unstyledButtonStyles } from "../utils.js";
2
4
  import { Badge } from "../ui/badge.js";
3
- import { cn } from "../utils.js";
4
5
  import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from "../ui/command.js";
5
6
  import { Separator } from "../ui/separator.js";
6
7
  import { isGroupedOptions } from "./utils.js";
@@ -11,6 +12,22 @@ import "react";
11
12
  import { c } from "react/compiler-runtime";
12
13
  // src/MultiSelect/renderers.tsx
13
14
  var styles = {
15
+ badgeRemoveButton: {
16
+ koQZXg: "x13zjp5t",
17
+ kZKoxP: "x1l36t39",
18
+ kzqmXN: "xcdlrvm",
19
+ kkrTdU: "x1ypdohk",
20
+ kaIpWk: "xqfady0",
21
+ kmVPX3: "x1ngqb6p",
22
+ kMzoRj: "xc342km",
23
+ kWkggS: "xjbqb8w",
24
+ k1xSpc: "x78zum5",
25
+ kGNEyG: "x6s0dn4",
26
+ kjj79g: "xl56j7k",
27
+ kI3sdo: "x1a2a7pz",
28
+ kGzVvX: "x17iuh41",
29
+ $$css: true
30
+ },
14
31
  badgeLabel: {
15
32
  ks0D6T: "x1s8ub08",
16
33
  k7Eaqz: "xeuugli",
@@ -35,6 +52,20 @@ var styles = {
35
52
  kGzVvX: "x1n5bzlp",
36
53
  $$css: true
37
54
  },
55
+ clearAllButton: {
56
+ k1xSpc: "x78zum5",
57
+ kGNEyG: "x6s0dn4",
58
+ kjj79g: "xl56j7k",
59
+ kZKoxP: "x1l36t39",
60
+ kzqmXN: "xcdlrvm",
61
+ kUOVxO: "x1wboj75",
62
+ kkrTdU: "x1ypdohk",
63
+ kMwMTN: "xw3nh4a",
64
+ kaIpWk: "xqfady0",
65
+ kI3sdo: "x1a2a7pz",
66
+ kDPRdz: "x8aud5w",
67
+ $$css: true
68
+ },
38
69
  separator: {
39
70
  k1xSpc: "x78zum5",
40
71
  kAzted: "x1rqwxy8",
@@ -82,7 +113,7 @@ var LiveRegion = (t0) => {
82
113
  let t3;
83
114
  if ($[4] !== t1 || $[5] !== t2) {
84
115
  t3 = /* @__PURE__ */ jsxs("div", {
85
- className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
116
+ className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr x1hyvwdk xuxw1ft xc342km",
86
117
  children: [t1, t2]
87
118
  });
88
119
  $[4] = t1;
@@ -92,7 +123,7 @@ var LiveRegion = (t0) => {
92
123
  return t3;
93
124
  };
94
125
  var SelectedValuesContent = (t0) => {
95
- const $ = c(51);
126
+ const $ = c(52);
96
127
  const { selectedValues, responsiveSettings, singleLine, animation, animationConfig, badgeAnimationClass, variant, getOptionByValue, toggleOption, clearExtraOptions, handleClear } = t0;
97
128
  let t1;
98
129
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
@@ -144,8 +175,10 @@ var SelectedValuesContent = (t0) => {
144
175
  sx: styles.badgeLabel,
145
176
  children: option.label
146
177
  }),
147
- /* @__PURE__ */ jsx("button", {
178
+ /* @__PURE__ */ jsx(Button, {
148
179
  type: "button",
180
+ variant: "ghost",
181
+ size: "icon-xs",
149
182
  onClick: (event) => {
150
183
  event.stopPropagation();
151
184
  toggleOption(value);
@@ -158,7 +191,7 @@ var SelectedValuesContent = (t0) => {
158
191
  }
159
192
  },
160
193
  "aria-label": `Remove ${option.label} from selection`,
161
- className: "x13zjp5t x1l36t39 xcdlrvm x1ypdohk xqfady0 x1ngqb6p xc342km xjbqb8w x78zum5 x6s0dn4 xl56j7k x1a2a7pz x17iuh41",
194
+ sx: [unstyledButtonStyles.reset, styles.badgeRemoveButton],
162
195
  children: /* @__PURE__ */ jsx(XCircle, { ...{
163
196
  0: { className: "xvle69y x1jw3ynk" },
164
197
  1: { className: "x1qa65zt x1e7hgle" }
@@ -201,15 +234,20 @@ var SelectedValuesContent = (t0) => {
201
234
  animationDuration: `${animationConfig?.duration || animation}s`,
202
235
  animationDelay: `${animationConfig?.delay || 0}s`
203
236
  },
204
- children: [`+ ${selectedValues.length - responsiveSettings.maxCount} more`, /* @__PURE__ */ jsx(XCircle, {
205
- ...{
206
- 0: { className: "x13zjp5t x1l36t39 xcdlrvm x1ypdohk" },
207
- 1: { className: "x4aigyd xvle69y x1jw3ynk" }
208
- }[!!responsiveSettings.compactMode << 0],
237
+ children: [`+ ${selectedValues.length - responsiveSettings.maxCount} more`, /* @__PURE__ */ jsx(Button, {
238
+ type: "button",
239
+ variant: "ghost",
240
+ size: "icon-xs",
209
241
  onClick: (event_1) => {
210
242
  event_1.stopPropagation();
211
243
  clearExtraOptions();
212
- }
244
+ },
245
+ "aria-label": "Clear extra options",
246
+ sx: [unstyledButtonStyles.reset, styles.badgeRemoveButton],
247
+ children: /* @__PURE__ */ jsx(XCircle, { ...{
248
+ 0: { className: "x13zjp5t x1l36t39 xcdlrvm x1ypdohk" },
249
+ 1: { className: "x4aigyd xvle69y x1jw3ynk" }
250
+ }[!!responsiveSettings.compactMode << 0] })
213
251
  })]
214
252
  });
215
253
  $[23] = animation;
@@ -255,68 +293,75 @@ var SelectedValuesContent = (t0) => {
255
293
  t7 = $[38];
256
294
  }
257
295
  const t8 = `Clear all ${selectedValues.length} selected options`;
296
+ let t10;
258
297
  let t9;
259
298
  if ($[39] === Symbol.for("react.memo_cache_sentinel")) {
260
- t9 = /* @__PURE__ */ jsx(XIcon, { className: "x1l36t39 xcdlrvm" });
261
- $[39] = t9;
262
- } else t9 = $[39];
263
- let t10;
264
- if ($[40] !== t6 || $[41] !== t7 || $[42] !== t8) {
265
- t10 = /* @__PURE__ */ jsx("div", {
266
- role: "button",
267
- tabIndex: 0,
299
+ t9 = [unstyledButtonStyles.reset, styles.clearAllButton];
300
+ t10 = /* @__PURE__ */ jsx(XIcon, { className: "x1l36t39 xcdlrvm" });
301
+ $[39] = t10;
302
+ $[40] = t9;
303
+ } else {
304
+ t10 = $[39];
305
+ t9 = $[40];
306
+ }
307
+ let t11;
308
+ if ($[41] !== t6 || $[42] !== t7 || $[43] !== t8) {
309
+ t11 = /* @__PURE__ */ jsx(Button, {
310
+ type: "button",
311
+ variant: "ghost",
312
+ size: "icon-xs",
268
313
  onClick: t6,
269
314
  onKeyDown: t7,
270
315
  "aria-label": t8,
271
- className: "x78zum5 x6s0dn4 xl56j7k x1l36t39 xcdlrvm x1wboj75 x1ypdohk xw3nh4a xqfady0 x1a2a7pz x8aud5w",
272
- children: t9
316
+ sx: t9,
317
+ children: t10
273
318
  });
274
- $[40] = t6;
275
- $[41] = t7;
276
- $[42] = t8;
277
- $[43] = t10;
278
- } else t10 = $[43];
279
- let t11;
319
+ $[41] = t6;
320
+ $[42] = t7;
321
+ $[43] = t8;
322
+ $[44] = t11;
323
+ } else t11 = $[44];
280
324
  let t12;
281
- if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
282
- t11 = /* @__PURE__ */ jsx(Separator, {
325
+ let t13;
326
+ if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
327
+ t12 = /* @__PURE__ */ jsx(Separator, {
283
328
  orientation: "vertical",
284
329
  sx: styles.separator
285
330
  });
286
- t12 = /* @__PURE__ */ jsx(ChevronDown, {
331
+ t13 = /* @__PURE__ */ jsx(ChevronDown, {
287
332
  className: "x1l36t39 xcdlrvm x1wboj75 x1ypdohk xw3nh4a",
288
333
  "aria-hidden": "true"
289
334
  });
290
- $[44] = t11;
291
335
  $[45] = t12;
336
+ $[46] = t13;
292
337
  } else {
293
- t11 = $[44];
294
338
  t12 = $[45];
339
+ t13 = $[46];
295
340
  }
296
- let t13;
297
- if ($[46] !== t10) {
298
- t13 = /* @__PURE__ */ jsxs("div", {
341
+ let t14;
342
+ if ($[47] !== t11) {
343
+ t14 = /* @__PURE__ */ jsxs("div", {
299
344
  className: "x78zum5 x6s0dn4 x1qughib",
300
345
  children: [
301
- t10,
302
346
  t11,
303
- t12
347
+ t12,
348
+ t13
304
349
  ]
305
350
  });
306
- $[46] = t10;
307
- $[47] = t13;
308
- } else t13 = $[47];
309
- let t14;
310
- if ($[48] !== t13 || $[49] !== t5) {
311
- t14 = /* @__PURE__ */ jsxs("div", {
351
+ $[47] = t11;
352
+ $[48] = t14;
353
+ } else t14 = $[48];
354
+ let t15;
355
+ if ($[49] !== t14 || $[50] !== t5) {
356
+ t15 = /* @__PURE__ */ jsxs("div", {
312
357
  className: "x78zum5 x1qughib x6s0dn4 xh8yej3",
313
- children: [t5, t13]
358
+ children: [t5, t14]
314
359
  });
315
- $[48] = t13;
316
- $[49] = t5;
317
- $[50] = t14;
318
- } else t14 = $[50];
319
- return t14;
360
+ $[49] = t14;
361
+ $[50] = t5;
362
+ $[51] = t15;
363
+ } else t15 = $[51];
364
+ return t15;
320
365
  };
321
366
  var PlaceholderContent = (t0) => {
322
367
  const $ = c(5);
@@ -324,7 +369,6 @@ var PlaceholderContent = (t0) => {
324
369
  let t1;
325
370
  if ($[0] !== placeholder) {
326
371
  t1 = /* @__PURE__ */ jsx(Text, {
327
- as: "span",
328
372
  type: "secondary",
329
373
  sx: styles.placeholderText,
330
374
  children: placeholder
@@ -372,7 +416,7 @@ var OptionsContent = (t0) => {
372
416
  if ($[6] !== multiSelectId || $[7] !== searchable) {
373
417
  t2 = searchable && /* @__PURE__ */ jsx("div", {
374
418
  id: `${multiSelectId}-search-help`,
375
- className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
419
+ className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr x1hyvwdk xuxw1ft xc342km",
376
420
  children: "Type to filter options. Use arrow keys to navigate results."
377
421
  });
378
422
  $[6] = multiSelectId;
@@ -401,7 +445,6 @@ var OptionsContent = (t0) => {
401
445
  "aria-hidden": "true",
402
446
  children: /* @__PURE__ */ jsx(CheckIcon, { className: "x1l36t39 xcdlrvm" })
403
447
  }), /* @__PURE__ */ jsxs(Text, {
404
- as: "span",
405
448
  type: "inherit",
406
449
  children: [
407
450
  "(Select All",
@@ -2,6 +2,7 @@ const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
2
2
  const require_Icons = require("../Icons/Icons.cjs");
3
3
  const require_Text = require("../Typography/Text.cjs");
4
4
  const require_width = require("../theme/width.cjs");
5
+ const require_utils = require("../utils.cjs");
5
6
  const require_popover = require("../ui/popover.cjs");
6
7
  const require_MultiSelectTags = require("./MultiSelectTags.cjs");
7
8
  let _stylexjs_stylex = require("@stylexjs/stylex");
@@ -47,17 +48,26 @@ var styles = {
47
48
  $$css: true
48
49
  }
49
50
  };
51
+ var EMPTY_INJECT_OPTIONS = [];
50
52
  function isMultiProps(props) {
51
53
  return props.isMulti === true;
52
54
  }
53
55
  function BaseSelect(props) {
54
- const { options, injectOptions = [], placeholder = "Select...", isClearable = true, isSearchable = true, isLoading = false, className = "", disabled = false, onSearchTextChange, hasNextPage = false, isFetchingNextPage = false, fetchNextPage, maxTagCount = "responsive", tagRender, showSelectAll = false, width } = props;
56
+ const { options, injectOptions = EMPTY_INJECT_OPTIONS, placeholder = "Select...", isClearable = true, isSearchable = true, isLoading = false, className = "", disabled = false, onSearchTextChange, hasNextPage = false, isFetchingNextPage = false, fetchNextPage, maxTagCount = "responsive", tagRender, showSelectAll = false, width } = props;
55
57
  const isMulti = isMultiProps(props);
56
58
  const { value } = props;
57
59
  const resolvedWidth = require_width.resolveWidth(width);
58
60
  const [open, setOpen] = (0, react.useState)(false);
59
61
  const [search, setSearch] = (0, react.useState)("");
62
+ const [focusedIndex, setFocusedIndex] = (0, react.useState)(0);
60
63
  const inputRef = (0, react.useRef)(null);
64
+ const optionsListRef = (0, react.useRef)(null);
65
+ (0, react.useEffect)(() => {
66
+ if (!open) {
67
+ setSearch("");
68
+ onSearchTextChange?.("");
69
+ }
70
+ }, [open, onSearchTextChange]);
61
71
  const allOptions = (0, react.useMemo)(() => {
62
72
  const map = /* @__PURE__ */ new Map();
63
73
  for (const opt of injectOptions) map.set(opt.value, opt);
@@ -73,8 +83,14 @@ function BaseSelect(props) {
73
83
  if (isMulti) return Array.isArray(value) ? value : [];
74
84
  return [value];
75
85
  }, [value, isMulti]);
86
+ (0, react.useEffect)(() => {
87
+ if (open) {
88
+ const selectedIdx = filteredOptions.findIndex((opt_2) => selectedValues.includes(opt_2.value));
89
+ setFocusedIndex(selectedIdx >= 0 ? selectedIdx : 0);
90
+ }
91
+ }, [open, search]);
76
92
  const selectedOptions = (0, react.useMemo)(() => {
77
- return allOptions.filter((opt_2) => selectedValues.includes(opt_2.value));
93
+ return allOptions.filter((opt_3) => selectedValues.includes(opt_3.value));
78
94
  }, [allOptions, selectedValues]);
79
95
  const handleSelect = (val) => {
80
96
  if (disabled) return;
@@ -104,7 +120,7 @@ function BaseSelect(props) {
104
120
  };
105
121
  const displayLabel = (0, react.useMemo)(() => {
106
122
  if (isMulti) return "";
107
- return allOptions.find((opt_3) => opt_3.value === selectedValues[0])?.label || "";
123
+ return allOptions.find((opt_4) => opt_4.value === selectedValues[0])?.label || "";
108
124
  }, [
109
125
  selectedValues,
110
126
  allOptions,
@@ -120,15 +136,39 @@ function BaseSelect(props) {
120
136
  if (selectedValues.length === filteredOptions.length) {
121
137
  if (props.onChange) props.onChange([]);
122
138
  } else {
123
- const allValues = filteredOptions.map((opt_4) => opt_4.value);
139
+ const allValues = filteredOptions.map((opt_5) => opt_5.value);
124
140
  if (props.onChange) props.onChange(allValues);
125
141
  }
126
142
  };
143
+ const handleSearchKeyDown = (e_2) => {
144
+ if (e_2.key === "ArrowDown") {
145
+ e_2.preventDefault();
146
+ const targetIdx = focusedIndex >= 0 && focusedIndex < filteredOptions.length ? focusedIndex : 0;
147
+ setFocusedIndex(targetIdx);
148
+ (optionsListRef.current?.querySelectorAll("[role=\"option\"]"))?.[targetIdx]?.focus();
149
+ }
150
+ };
151
+ const handleOptionKeyDown = (e_3, index, optValue) => {
152
+ if (e_3.key === "Enter" || e_3.key === " ") {
153
+ e_3.preventDefault();
154
+ handleSelect(optValue);
155
+ return;
156
+ }
157
+ const nextIdx = require_utils.getNextRovingIndex(e_3.key, index, filteredOptions.length, {
158
+ orientation: "vertical",
159
+ loop: true
160
+ });
161
+ if (nextIdx !== null) {
162
+ e_3.preventDefault();
163
+ setFocusedIndex(nextIdx);
164
+ (optionsListRef.current?.querySelectorAll("[role=\"option\"]"))?.[nextIdx]?.focus();
165
+ }
166
+ };
127
167
  const triggerProps = {
128
- 0: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk" },
129
- 2: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz x16mfhj0 xx6bhzk x1puiyjm xf0oo4t" },
130
- 1: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk x1qry0bl x1h6gzvc x197sbye" },
131
- 3: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz x16mfhj0 xx6bhzk x1puiyjm xf0oo4t x1qry0bl x1h6gzvc x197sbye" }
168
+ 0: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk x156qtes xik21o4" },
169
+ 2: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz x16mfhj0 xx6bhzk x156qtes xik21o4 x1puiyjm xf0oo4t" },
170
+ 1: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk x156qtes xik21o4 x1qry0bl x1h6gzvc x197sbye" },
171
+ 3: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz x16mfhj0 xx6bhzk x156qtes xik21o4 x1puiyjm xf0oo4t x1qry0bl x1h6gzvc x197sbye" }
132
172
  }[!!open << 1 | !!disabled << 0];
133
173
  const mergedTriggerClassName = className ? `${triggerProps.className || ""} ${className}`.trim() : triggerProps.className;
134
174
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_popover.Popover, {
@@ -186,6 +226,7 @@ function BaseSelect(props) {
186
226
  placeholder: "Search...",
187
227
  value: search,
188
228
  onChange: handleSearchChange,
229
+ onKeyDown: handleSearchKeyDown,
189
230
  autoFocus: true,
190
231
  disabled
191
232
  })]
@@ -194,12 +235,10 @@ function BaseSelect(props) {
194
235
  className: "x78zum5 x6s0dn4 x1ryrjj2 x18g2hj5 xso031l x1q0q8m5 x1c03eaz x1ypdohk xboafo0 xk50ysn x9p52ec",
195
236
  onClick: handleSelectAll,
196
237
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
197
- as: "span",
198
238
  size: "sm",
199
239
  sx: styles.selectAllText,
200
240
  children: selectedValues.length === filteredOptions.length ? "Deselect all" : "Select all"
201
241
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Text.Text, {
202
- as: "span",
203
242
  size: "sm",
204
243
  type: "secondary",
205
244
  sx: styles.placeholder,
@@ -213,6 +252,9 @@ function BaseSelect(props) {
213
252
  })]
214
253
  }),
215
254
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
255
+ ref: optionsListRef,
256
+ role: "listbox",
257
+ "aria-multiselectable": isMulti,
216
258
  className: "x17l2srq x1odjw0f x6ikm8r",
217
259
  onScroll: handleScroll,
218
260
  children: isLoading && allOptions.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -221,26 +263,31 @@ function BaseSelect(props) {
221
263
  }) : filteredOptions.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
222
264
  className: "x79iv2k x2b8uid xw3nh4a xboafo0",
223
265
  children: "No data"
224
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [filteredOptions.map((opt_5) => {
225
- const isSelected = selectedValues.includes(opt_5.value);
266
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [filteredOptions.map((opt_6, index_0) => {
267
+ const isSelected = selectedValues.includes(opt_6.value);
226
268
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
269
+ role: "option",
270
+ "aria-selected": isSelected,
271
+ tabIndex: !disabled && (index_0 === focusedIndex || focusedIndex < 0 && index_0 === 0) ? 0 : -1,
227
272
  ...{
228
- 0: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec" },
229
- 2: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x1xke173" },
230
- 1: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x47corl x197sbye" },
231
- 3: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x1xke173 x47corl x197sbye" }
273
+ 0: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x1a2a7pz x9p52ec x16yrc4t x13nj1q9" },
274
+ 2: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x1a2a7pz x9p52ec x16yrc4t x13nj1q9 x1xke173" },
275
+ 1: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x1a2a7pz x9p52ec x16yrc4t x13nj1q9 x47corl x197sbye" },
276
+ 3: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x1a2a7pz x9p52ec x16yrc4t x13nj1q9 x1xke173 x47corl x197sbye" }
232
277
  }[!!isSelected << 1 | !!disabled << 0],
233
- onClick: () => handleSelect(opt_5.value),
278
+ onClick: () => handleSelect(opt_6.value),
279
+ onFocus: () => setFocusedIndex(index_0),
280
+ onKeyDown: (e_4) => handleOptionKeyDown(e_4, index_0, opt_6.value),
234
281
  children: [
235
- opt_5.icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
282
+ opt_6.icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
236
283
  className: "xpoiemb x2lah0s",
237
- children: opt_5.icon
284
+ children: opt_6.icon
238
285
  }),
239
286
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
240
287
  ellipsis: true,
241
288
  tooltip: true,
242
289
  sx: styles.optionLabel,
243
- children: opt_5.label
290
+ children: opt_6.label
244
291
  }),
245
292
  isMulti && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
246
293
  ...{
@@ -251,7 +298,7 @@ function BaseSelect(props) {
251
298
  }),
252
299
  !isMulti && isSelected && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icons.Icons.CheckIcon, { className: "x1jw3ynk xvle69y x6gpbkk" })
253
300
  ]
254
- }, String(opt_5.value));
301
+ }, String(opt_6.value));
255
302
  }), (isFetchingNextPage || hasNextPage && filteredOptions.length > 0) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
256
303
  className: "x79iv2k x2b8uid xw3nh4a xboafo0",
257
304
  children: isFetchingNextPage ? "Loading more..." : ""
@@ -1 +1 @@
1
- {"version":3,"file":"BaseSelect.d.ts","sourceRoot":"","sources":["../../src/Select/BaseSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAUzD,OAAO,KAAK,EACV,oBAAoB,EAGpB,qBAAqB,EACrB,WAAW,EACZ,MAAM,QAAQ,CAAC;AA0LhB,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAC7B,KAAK,CAAC,YAAY,CAAC;AACtB,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAC9B,KAAK,CAAC,YAAY,CAAC;eA6PP,UAAU"}
1
+ {"version":3,"file":"BaseSelect.d.ts","sourceRoot":"","sources":["../../src/Select/BaseSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAWpE,OAAO,KAAK,EACV,oBAAoB,EAGpB,qBAAqB,EACrB,WAAW,EACZ,MAAM,QAAQ,CAAC;AAqMhB,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAC7B,KAAK,CAAC,YAAY,CAAC;AACtB,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAC9B,KAAK,CAAC,YAAY,CAAC;eA8TP,UAAU"}
@@ -1,11 +1,12 @@
1
1
  import { Icons } from "../Icons/Icons.js";
2
2
  import { Text } from "../Typography/Text.js";
3
3
  import { resolveWidth } from "../theme/width.js";
4
+ import { getNextRovingIndex } from "../utils.js";
4
5
  import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover.js";
5
6
  import { MultiSelectTags } from "./MultiSelectTags.js";
6
7
  import "@stylexjs/stylex";
7
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
- import { useMemo, useRef, useState } from "react";
9
+ import { useEffect, useMemo, useRef, useState } from "react";
9
10
  import { isNil } from "lodash-es";
10
11
  // src/Select/BaseSelect.tsx
11
12
  var styles = {
@@ -44,17 +45,26 @@ var styles = {
44
45
  $$css: true
45
46
  }
46
47
  };
48
+ var EMPTY_INJECT_OPTIONS = [];
47
49
  function isMultiProps(props) {
48
50
  return props.isMulti === true;
49
51
  }
50
52
  function BaseSelect(props) {
51
- const { options, injectOptions = [], placeholder = "Select...", isClearable = true, isSearchable = true, isLoading = false, className = "", disabled = false, onSearchTextChange, hasNextPage = false, isFetchingNextPage = false, fetchNextPage, maxTagCount = "responsive", tagRender, showSelectAll = false, width } = props;
53
+ const { options, injectOptions = EMPTY_INJECT_OPTIONS, placeholder = "Select...", isClearable = true, isSearchable = true, isLoading = false, className = "", disabled = false, onSearchTextChange, hasNextPage = false, isFetchingNextPage = false, fetchNextPage, maxTagCount = "responsive", tagRender, showSelectAll = false, width } = props;
52
54
  const isMulti = isMultiProps(props);
53
55
  const { value } = props;
54
56
  const resolvedWidth = resolveWidth(width);
55
57
  const [open, setOpen] = useState(false);
56
58
  const [search, setSearch] = useState("");
59
+ const [focusedIndex, setFocusedIndex] = useState(0);
57
60
  const inputRef = useRef(null);
61
+ const optionsListRef = useRef(null);
62
+ useEffect(() => {
63
+ if (!open) {
64
+ setSearch("");
65
+ onSearchTextChange?.("");
66
+ }
67
+ }, [open, onSearchTextChange]);
58
68
  const allOptions = useMemo(() => {
59
69
  const map = /* @__PURE__ */ new Map();
60
70
  for (const opt of injectOptions) map.set(opt.value, opt);
@@ -70,8 +80,14 @@ function BaseSelect(props) {
70
80
  if (isMulti) return Array.isArray(value) ? value : [];
71
81
  return [value];
72
82
  }, [value, isMulti]);
83
+ useEffect(() => {
84
+ if (open) {
85
+ const selectedIdx = filteredOptions.findIndex((opt_2) => selectedValues.includes(opt_2.value));
86
+ setFocusedIndex(selectedIdx >= 0 ? selectedIdx : 0);
87
+ }
88
+ }, [open, search]);
73
89
  const selectedOptions = useMemo(() => {
74
- return allOptions.filter((opt_2) => selectedValues.includes(opt_2.value));
90
+ return allOptions.filter((opt_3) => selectedValues.includes(opt_3.value));
75
91
  }, [allOptions, selectedValues]);
76
92
  const handleSelect = (val) => {
77
93
  if (disabled) return;
@@ -101,7 +117,7 @@ function BaseSelect(props) {
101
117
  };
102
118
  const displayLabel = useMemo(() => {
103
119
  if (isMulti) return "";
104
- return allOptions.find((opt_3) => opt_3.value === selectedValues[0])?.label || "";
120
+ return allOptions.find((opt_4) => opt_4.value === selectedValues[0])?.label || "";
105
121
  }, [
106
122
  selectedValues,
107
123
  allOptions,
@@ -117,15 +133,39 @@ function BaseSelect(props) {
117
133
  if (selectedValues.length === filteredOptions.length) {
118
134
  if (props.onChange) props.onChange([]);
119
135
  } else {
120
- const allValues = filteredOptions.map((opt_4) => opt_4.value);
136
+ const allValues = filteredOptions.map((opt_5) => opt_5.value);
121
137
  if (props.onChange) props.onChange(allValues);
122
138
  }
123
139
  };
140
+ const handleSearchKeyDown = (e_2) => {
141
+ if (e_2.key === "ArrowDown") {
142
+ e_2.preventDefault();
143
+ const targetIdx = focusedIndex >= 0 && focusedIndex < filteredOptions.length ? focusedIndex : 0;
144
+ setFocusedIndex(targetIdx);
145
+ (optionsListRef.current?.querySelectorAll("[role=\"option\"]"))?.[targetIdx]?.focus();
146
+ }
147
+ };
148
+ const handleOptionKeyDown = (e_3, index, optValue) => {
149
+ if (e_3.key === "Enter" || e_3.key === " ") {
150
+ e_3.preventDefault();
151
+ handleSelect(optValue);
152
+ return;
153
+ }
154
+ const nextIdx = getNextRovingIndex(e_3.key, index, filteredOptions.length, {
155
+ orientation: "vertical",
156
+ loop: true
157
+ });
158
+ if (nextIdx !== null) {
159
+ e_3.preventDefault();
160
+ setFocusedIndex(nextIdx);
161
+ (optionsListRef.current?.querySelectorAll("[role=\"option\"]"))?.[nextIdx]?.focus();
162
+ }
163
+ };
124
164
  const triggerProps = {
125
- 0: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk" },
126
- 2: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz x16mfhj0 xx6bhzk x1puiyjm xf0oo4t" },
127
- 1: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk x1qry0bl x1h6gzvc x197sbye" },
128
- 3: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz x16mfhj0 xx6bhzk x1puiyjm xf0oo4t x1qry0bl x1h6gzvc x197sbye" }
165
+ 0: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk x156qtes xik21o4" },
166
+ 2: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz x16mfhj0 xx6bhzk x156qtes xik21o4 x1puiyjm xf0oo4t" },
167
+ 1: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk x156qtes xik21o4 x1qry0bl x1h6gzvc x197sbye" },
168
+ 3: { className: "x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz x16mfhj0 xx6bhzk x156qtes xik21o4 x1puiyjm xf0oo4t x1qry0bl x1h6gzvc x197sbye" }
129
169
  }[!!open << 1 | !!disabled << 0];
130
170
  const mergedTriggerClassName = className ? `${triggerProps.className || ""} ${className}`.trim() : triggerProps.className;
131
171
  return /* @__PURE__ */ jsxs(Popover, {
@@ -183,6 +223,7 @@ function BaseSelect(props) {
183
223
  placeholder: "Search...",
184
224
  value: search,
185
225
  onChange: handleSearchChange,
226
+ onKeyDown: handleSearchKeyDown,
186
227
  autoFocus: true,
187
228
  disabled
188
229
  })]
@@ -191,12 +232,10 @@ function BaseSelect(props) {
191
232
  className: "x78zum5 x6s0dn4 x1ryrjj2 x18g2hj5 xso031l x1q0q8m5 x1c03eaz x1ypdohk xboafo0 xk50ysn x9p52ec",
192
233
  onClick: handleSelectAll,
193
234
  children: [/* @__PURE__ */ jsx(Text, {
194
- as: "span",
195
235
  size: "sm",
196
236
  sx: styles.selectAllText,
197
237
  children: selectedValues.length === filteredOptions.length ? "Deselect all" : "Select all"
198
238
  }), /* @__PURE__ */ jsxs(Text, {
199
- as: "span",
200
239
  size: "sm",
201
240
  type: "secondary",
202
241
  sx: styles.placeholder,
@@ -210,6 +249,9 @@ function BaseSelect(props) {
210
249
  })]
211
250
  }),
212
251
  /* @__PURE__ */ jsx("div", {
252
+ ref: optionsListRef,
253
+ role: "listbox",
254
+ "aria-multiselectable": isMulti,
213
255
  className: "x17l2srq x1odjw0f x6ikm8r",
214
256
  onScroll: handleScroll,
215
257
  children: isLoading && allOptions.length === 0 ? /* @__PURE__ */ jsx("div", {
@@ -218,26 +260,31 @@ function BaseSelect(props) {
218
260
  }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx("div", {
219
261
  className: "x79iv2k x2b8uid xw3nh4a xboafo0",
220
262
  children: "No data"
221
- }) : /* @__PURE__ */ jsxs(Fragment, { children: [filteredOptions.map((opt_5) => {
222
- const isSelected = selectedValues.includes(opt_5.value);
263
+ }) : /* @__PURE__ */ jsxs(Fragment, { children: [filteredOptions.map((opt_6, index_0) => {
264
+ const isSelected = selectedValues.includes(opt_6.value);
223
265
  return /* @__PURE__ */ jsxs("div", {
266
+ role: "option",
267
+ "aria-selected": isSelected,
268
+ tabIndex: !disabled && (index_0 === focusedIndex || focusedIndex < 0 && index_0 === 0) ? 0 : -1,
224
269
  ...{
225
- 0: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec" },
226
- 2: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x1xke173" },
227
- 1: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x47corl x197sbye" },
228
- 3: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x1xke173 x47corl x197sbye" }
270
+ 0: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x1a2a7pz x9p52ec x16yrc4t x13nj1q9" },
271
+ 2: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x1a2a7pz x9p52ec x16yrc4t x13nj1q9 x1xke173" },
272
+ 1: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x1a2a7pz x9p52ec x16yrc4t x13nj1q9 x47corl x197sbye" },
273
+ 3: { className: "x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x1a2a7pz x9p52ec x16yrc4t x13nj1q9 x1xke173 x47corl x197sbye" }
229
274
  }[!!isSelected << 1 | !!disabled << 0],
230
- onClick: () => handleSelect(opt_5.value),
275
+ onClick: () => handleSelect(opt_6.value),
276
+ onFocus: () => setFocusedIndex(index_0),
277
+ onKeyDown: (e_4) => handleOptionKeyDown(e_4, index_0, opt_6.value),
231
278
  children: [
232
- opt_5.icon && /* @__PURE__ */ jsx("span", {
279
+ opt_6.icon && /* @__PURE__ */ jsx("span", {
233
280
  className: "xpoiemb x2lah0s",
234
- children: opt_5.icon
281
+ children: opt_6.icon
235
282
  }),
236
283
  /* @__PURE__ */ jsx(Text, {
237
284
  ellipsis: true,
238
285
  tooltip: true,
239
286
  sx: styles.optionLabel,
240
- children: opt_5.label
287
+ children: opt_6.label
241
288
  }),
242
289
  isMulti && /* @__PURE__ */ jsx("span", {
243
290
  ...{
@@ -248,7 +295,7 @@ function BaseSelect(props) {
248
295
  }),
249
296
  !isMulti && isSelected && /* @__PURE__ */ jsx(Icons.CheckIcon, { className: "x1jw3ynk xvle69y x6gpbkk" })
250
297
  ]
251
- }, String(opt_5.value));
298
+ }, String(opt_6.value));
252
299
  }), (isFetchingNextPage || hasNextPage && filteredOptions.length > 0) && /* @__PURE__ */ jsx("div", {
253
300
  className: "x79iv2k x2b8uid xw3nh4a xboafo0",
254
301
  children: isFetchingNextPage ? "Loading more..." : ""
@@ -90,7 +90,6 @@ function MultiSelectTags({ selectedOptions, maxTagCount = "responsive", onRemove
90
90
  sx: styles.tag,
91
91
  children: [
92
92
  opt.icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
93
- as: "span",
94
93
  type: "inherit",
95
94
  children: opt.icon
96
95
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"MultiSelectTags.d.ts","sourceRoot":"","sources":["../../src/Select/MultiSelectTags.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAiD5D;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,EACnE,eAAe,EACf,WAA0B,EAC1B,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,EAAE;IACD,eAAe,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;CAC9E,+BAwGA"}
1
+ {"version":3,"file":"MultiSelectTags.d.ts","sourceRoot":"","sources":["../../src/Select/MultiSelectTags.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAiD5D;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,EACnE,eAAe,EACf,WAA0B,EAC1B,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,EAAE;IACD,eAAe,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;CAC9E,+BAoGA"}
@@ -88,7 +88,6 @@ function MultiSelectTags({ selectedOptions, maxTagCount = "responsive", onRemove
88
88
  sx: styles.tag,
89
89
  children: [
90
90
  opt.icon && /* @__PURE__ */ jsx(Text, {
91
- as: "span",
92
91
  type: "inherit",
93
92
  children: opt.icon
94
93
  }),