@povio/ui 6.0.0-rc.11 → 6.0.0-rc.13

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 (495) hide show
  1. package/README.md +470 -43
  2. package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
  3. package/dist/{Accordion-ORBin0EZ.js → Accordion-gUW7u1Zn.js} +41 -41
  4. package/dist/Alert-DwnALnFY.d.ts +36 -0
  5. package/dist/AlertDialog-BcRiqY_n.d.ts +70 -0
  6. package/dist/Autocomplete-CV4Aa1Ok.js +319 -0
  7. package/dist/Autocomplete-DRwQxx0U.d.ts +123 -0
  8. package/dist/Badge-CO-ZsmbR.d.ts +67 -0
  9. package/dist/{BottomSheet-CGipksM_.js → BottomSheet-APVu5TUd.js} +8 -8
  10. package/dist/BottomSheet-Be0HtQzP.d.ts +65 -0
  11. package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-NNB7ivkW.d.ts} +1 -1
  12. package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-Bn3fqVYx.d.ts} +6 -3
  13. package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-Cd75RPbS.js} +33 -17
  14. package/dist/{Button-C1YB5dOw.js → Button-BJJkLVNj.js} +1 -5
  15. package/dist/{Button-BaODzvZd.js → Button-CzEs3tcV.js} +1 -1
  16. package/dist/{Button-0SswSdDg.d.ts → Button-Hk8zm9q_.d.ts} +2 -2
  17. package/dist/ButtonBase-Cp1w00t2.d.ts +47 -0
  18. package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-aGz6DYum.js} +10 -18
  19. package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
  20. package/dist/{Calendar-DX0dVo6z.js → Calendar-DN-i_b-_.js} +19 -17
  21. package/dist/{Calendar.lazy-W51M56GQ.js → Calendar.lazy-CqmyDSND.js} +4 -4
  22. package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-CzKXZw_w.js} +35 -9
  23. package/dist/Checkbox-D32MOIhF.d.ts +49 -0
  24. package/dist/CheckboxCheckmark-DDU_Ie7-.js +42 -0
  25. package/dist/CheckboxGroup-B5Mn1G3u.d.ts +52 -0
  26. package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-BqWt09kZ.js} +75 -35
  27. package/dist/DatePicker-CmoVbapu.d.ts +80 -0
  28. package/dist/{DatePicker-CqNS7lgR.js → DatePicker-DQewd1By.js} +80 -41
  29. package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-B9VnExeA.d.ts} +3 -3
  30. package/dist/{DatePickerInput-B2Pc_aJr.js → DatePickerInput-Bp9ZIN5E.js} +37 -26
  31. package/dist/{DateRangePicker-C3ClfSfj.js → DateRangePicker-DRZ1hLlR.js} +93 -169
  32. package/dist/DateRangePicker-LX1VJlnD.d.ts +102 -0
  33. package/dist/DateTimePicker-D9pODhAj.d.ts +83 -0
  34. package/dist/{DateTimePicker-CYa2J-1r.js → DateTimePicker-DWtKPaE6.js} +70 -35
  35. package/dist/{Dialog-C9H9_BmK.js → Dialog-BJ13KRQo.js} +1 -1
  36. package/dist/{Dialog-96c4Pzfm.js → Dialog-BzQYDPJ9.js} +23 -19
  37. package/dist/Dialog-D0SeePPz.d.ts +66 -0
  38. package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-Bjm5IOpg.js} +1 -1
  39. package/dist/Drawer-o018RqIt.d.ts +42 -0
  40. package/dist/DropdownMenu-DTr7b-XO.d.ts +51 -0
  41. package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-DrshB60h.js} +33 -21
  42. package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-DxGA0yvx.js} +14 -8
  43. package/dist/FileInput-Bokcp9nH.d.ts +61 -0
  44. package/dist/{FileInput-IRM0C9W6.js → FileInput-LMhFxlqB.js} +75 -80
  45. package/dist/FileUpload-BqXd4_nz.d.ts +181 -0
  46. package/dist/FileUpload-CJZrkr_U.js +679 -0
  47. package/dist/{FormField-dduTMkNH.js → FormField-TI8Vx5aC.js} +10 -10
  48. package/dist/FormField-XQbjfGSv.d.ts +70 -0
  49. package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
  50. package/dist/FormFieldHeaderTooltip-DB7KrrcD.js +22 -0
  51. package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
  52. package/dist/IconButton-CQLHX8-Y.d.ts +24 -0
  53. package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
  54. package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CjDUsi2I.js} +1 -1
  55. package/dist/{Input-UbFhc_J2.js → Input-CeRJeAoR.js} +94 -59
  56. package/dist/Input-onUj0DKg.d.ts +56 -0
  57. package/dist/{InputContent-D7lnNLWk.js → InputContent-B8OCdbVP.js} +15 -13
  58. package/dist/InputContent-D5ZkB9hO.d.ts +39 -0
  59. package/dist/Link-BdnWVYL9.d.ts +15 -0
  60. package/dist/{ListBox-DhR5kojP.js → ListBox-gR4iSV7N.js} +3 -3
  61. package/dist/{Modal-DcLWF9cB.js → Modal-DAMsCwzb.js} +1 -1
  62. package/dist/{NumberField-twW8zuJ9.js → NumberField-6Q9LHGSo.js} +91 -62
  63. package/dist/NumberField-Sb30Qao3.d.ts +41 -0
  64. package/dist/{NumberRangeInput-gT6gEJIz.js → NumberRangeInput-BDSkcHVJ.js} +152 -101
  65. package/dist/NumberRangeInput-Dvq8mOUY.d.ts +89 -0
  66. package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-eJk6GNK6.d.ts} +6 -5
  67. package/dist/{PasswordInput.bound-CXtbMCD6.js → PasswordInput-BcHpV0Ie.js} +6 -6
  68. package/dist/PasswordInput-VHzP4VPU.d.ts +16 -0
  69. package/dist/Popover-qplPGDnR.d.ts +51 -0
  70. package/dist/Progress-DH-w99MU.d.ts +26 -0
  71. package/dist/Progress-WzWvbvtp.js +180 -0
  72. package/dist/ProgressBar-BsSimmJF.js +46 -0
  73. package/dist/RadioGroup-CC8bKtBN.d.ts +52 -0
  74. package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-PKqFHoKP.js} +66 -26
  75. package/dist/{RangeCalendar-0W1YFZqn.js → RangeCalendar-DqCTlIuy.js} +42 -13
  76. package/dist/Select-CSyfDyxG.d.ts +248 -0
  77. package/dist/{Select-B-TuE_Fh.js → Select-D3fuXwVt.js} +435 -184
  78. package/dist/{SelectListBox-Dlonoc5z.js → SelectListBox-DqAxkT1f.js} +46 -37
  79. package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-BGl_PIsH.js} +280 -363
  80. package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-CdtK2M-C.d.ts} +31 -17
  81. package/dist/{Slider-DCsCCPFx.js → Slider-BCUiALjE.js} +69 -12
  82. package/dist/Slider-DxalZD3o.d.ts +57 -0
  83. package/dist/Spinner-BTrEbNFy.d.ts +13 -0
  84. package/dist/SplitButton-Dv5l8p5t.d.ts +25 -0
  85. package/dist/Stepper-B1IOUcSI.d.ts +49 -0
  86. package/dist/{Stepper-Dyhxp0Tl.js → Stepper-DA2G546I.js} +116 -88
  87. package/dist/{Switch-BfpSMMpv.js → Switch-Ce-bJOVw.js} +54 -12
  88. package/dist/Switch-urNrop0P.d.ts +42 -0
  89. package/dist/{TabsFilters-CWUNeqYa.js → TabsFilters-Cweij8He.js} +44 -33
  90. package/dist/TabsFilters-M5Ld7eb8.d.ts +59 -0
  91. package/dist/Tag-BKR1AZFa.d.ts +26 -0
  92. package/dist/TextArea-D7YVclaz.d.ts +33 -0
  93. package/dist/{TextArea-DakA3nzZ.js → TextArea-P8F0oD_A.js} +59 -32
  94. package/dist/TimePicker-Ai1M2TGW.d.ts +63 -0
  95. package/dist/{TimePicker-RFzfDezn.js → TimePicker-l4Ysk2AX.js} +99 -50
  96. package/dist/{TimePickerForm-DohOZViU.js → TimePickerForm-BMqNpDPT.js} +5 -5
  97. package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-BeklfvlK.js} +4 -4
  98. package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-DWw53pTt.d.ts} +2 -2
  99. package/dist/ToggleGroup-BQk3k0at.d.ts +95 -0
  100. package/dist/ToggleGroup-BdIgqoqA.js +500 -0
  101. package/dist/{Tooltip-DRB6lo0U.js → Tooltip-BkXPEBqw.js} +2 -2
  102. package/dist/Tooltip-H8OB7CqY.d.ts +33 -0
  103. package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
  104. package/dist/{TooltipWrapper-DLBksJsF.js → TooltipWrapper-ubbBHHVD.js} +6 -6
  105. package/dist/{Typography-DJojwiXV.d.ts → Typography-Cx1oRGxd.d.ts} +5 -1
  106. package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-BpoxNggB.js} +20 -22
  107. package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
  108. package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-Dyy_RUZU.d.ts} +1 -1
  109. package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
  110. package/dist/components/accordion.d.ts +1 -1
  111. package/dist/components/accordion.js +1 -1
  112. package/dist/components/alert-dialog.d.ts +2 -2
  113. package/dist/components/alert-dialog.js +174 -128
  114. package/dist/components/alert.d.ts +1 -1
  115. package/dist/components/alert.js +17 -15
  116. package/dist/components/autocomplete.d.ts +2 -2
  117. package/dist/components/autocomplete.js +1 -1
  118. package/dist/components/badge.d.ts +2 -2
  119. package/dist/components/badge.js +159 -81
  120. package/dist/components/bottom-sheet-header.d.ts +1 -1
  121. package/dist/components/bottom-sheet-header.js +4 -4
  122. package/dist/components/bottom-sheet.d.ts +2 -2
  123. package/dist/components/bottom-sheet.js +2 -2
  124. package/dist/components/breadcrumbs.d.ts +1 -1
  125. package/dist/components/breadcrumbs.js +1 -1
  126. package/dist/components/button.d.ts +2 -2
  127. package/dist/components/button.js +1 -1
  128. package/dist/components/checkbox-group.d.ts +2 -2
  129. package/dist/components/checkbox-group.js +1 -1
  130. package/dist/components/checkbox.d.ts +2 -2
  131. package/dist/components/checkbox.js +1 -1
  132. package/dist/components/date-picker.d.ts +2 -2
  133. package/dist/components/date-picker.js +1 -1
  134. package/dist/components/date-range-picker.d.ts +4 -41
  135. package/dist/components/date-range-picker.js +4 -2
  136. package/dist/components/date-range-presets.d.ts +2 -0
  137. package/dist/components/date-range-presets.js +3 -0
  138. package/dist/components/date-time-picker.d.ts +2 -2
  139. package/dist/components/date-time-picker.js +1 -1
  140. package/dist/components/dialog.d.ts +1 -1
  141. package/dist/components/dialog.js +1 -1
  142. package/dist/components/drawer.d.ts +1 -1
  143. package/dist/components/drawer.js +16 -80
  144. package/dist/components/dropdown-menu.d.ts +2 -3
  145. package/dist/components/dropdown-menu.js +2 -3
  146. package/dist/components/file-input.d.ts +2 -2
  147. package/dist/components/file-input.js +1 -1
  148. package/dist/components/file-upload.d.ts +2 -3
  149. package/dist/components/file-upload.js +1 -1
  150. package/dist/components/form-field.d.ts +3 -2
  151. package/dist/components/form-field.js +1 -1
  152. package/dist/components/icon-button.d.ts +1 -1
  153. package/dist/components/icon-button.js +22 -25
  154. package/dist/components/icon-slot.d.ts +1 -2
  155. package/dist/components/icon-slot.js +2 -2
  156. package/dist/components/input-frame.d.ts +6 -10
  157. package/dist/components/input-frame.js +29 -26
  158. package/dist/components/input.d.ts +2 -2
  159. package/dist/components/input.js +2 -2
  160. package/dist/components/link.d.ts +1 -1
  161. package/dist/components/link.js +1 -1
  162. package/dist/components/number-field.d.ts +2 -2
  163. package/dist/components/number-field.js +2 -2
  164. package/dist/components/number-range-input.d.ts +2 -2
  165. package/dist/components/number-range-input.js +1 -1
  166. package/dist/components/page-header.d.ts +1 -1
  167. package/dist/components/page-header.js +5 -5
  168. package/dist/components/password-input.d.ts +2 -2
  169. package/dist/components/password-input.js +1 -22
  170. package/dist/components/popover.d.ts +1 -1
  171. package/dist/components/popover.js +105 -87
  172. package/dist/components/progress.d.ts +2 -2
  173. package/dist/components/progress.js +1 -1
  174. package/dist/components/radio-group.d.ts +2 -2
  175. package/dist/components/radio-group.js +1 -1
  176. package/dist/components/select.d.ts +2 -2
  177. package/dist/components/select.js +1 -1
  178. package/dist/components/sidebar.d.ts +1 -1
  179. package/dist/components/sidebar.js +1 -1
  180. package/dist/components/slider.d.ts +2 -2
  181. package/dist/components/slider.js +1 -1
  182. package/dist/components/spinner.d.ts +1 -1
  183. package/dist/components/spinner.js +71 -1
  184. package/dist/components/split-button.d.ts +1 -1
  185. package/dist/components/split-button.js +15 -4
  186. package/dist/components/stepper.d.ts +1 -1
  187. package/dist/components/stepper.js +1 -1
  188. package/dist/components/style-definitions.d.ts +2 -2
  189. package/dist/components/style-definitions.js +33 -18
  190. package/dist/components/switch.d.ts +2 -2
  191. package/dist/components/switch.js +1 -1
  192. package/dist/components/tabs-filters.d.ts +1 -1
  193. package/dist/components/tabs-filters.js +1 -1
  194. package/dist/components/tag.d.ts +1 -1
  195. package/dist/components/tag.js +50 -64
  196. package/dist/components/text-area.d.ts +2 -2
  197. package/dist/components/text-area.js +1 -1
  198. package/dist/components/time-picker.d.ts +2 -2
  199. package/dist/components/time-picker.js +1 -1
  200. package/dist/components/toast.d.ts +3 -3
  201. package/dist/components/toast.js +4 -3
  202. package/dist/components/toggle-button.d.ts +1 -1
  203. package/dist/components/toggle-button.js +1 -1
  204. package/dist/components/toggle-group.d.ts +2 -2
  205. package/dist/components/toggle-group.js +1 -1
  206. package/dist/components/tooltip-ellipsis.d.ts +1 -1
  207. package/dist/components/tooltip-ellipsis.js +1 -1
  208. package/dist/components/tooltip.d.ts +1 -1
  209. package/dist/components/tooltip.js +1 -1
  210. package/dist/components/typography.d.ts +2 -2
  211. package/dist/components/use-toast.d.ts +2 -2
  212. package/dist/components/use-toast.js +1 -41
  213. package/dist/config/component-configuration.d.ts +1 -1
  214. package/dist/config/component-configuration.js +53 -2
  215. package/dist/config/confirmation.d.ts +1 -1
  216. package/dist/config/confirmation.js +1 -1
  217. package/dist/config/link-context.d.ts +3 -3
  218. package/dist/config/link-context.js +1 -1
  219. package/dist/config/resources.d.ts +1 -1
  220. package/dist/config/resources.js +1 -1
  221. package/dist/config/ui-config.d.ts +2 -2
  222. package/dist/config/ui-config.js +1 -1
  223. package/dist/config/ui-router.d.ts +1 -1
  224. package/dist/config/ui-router.js +1 -1
  225. package/dist/confirmation.context-BflM4Vxg.js +93 -0
  226. package/dist/confirmation.context-C_js9qNv.d.ts +32 -0
  227. package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
  228. package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
  229. package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
  230. package/dist/{dist-DEZzXa0W.js → dist-DZOoWaZz.js} +63 -38
  231. package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
  232. package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
  233. package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
  234. package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
  235. package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
  236. package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-MH5ziWUe.js} +2 -2
  237. package/dist/form-field-Bw7U_ZPI.d.ts +1 -0
  238. package/dist/form.binding-Brdjq2yr.js +161 -0
  239. package/dist/form.binding-DSXB2AOD.d.ts +127 -0
  240. package/dist/form.types-a2WVJDQX.d.ts +43 -0
  241. package/dist/formReset-CnZl_yze.js +35 -0
  242. package/dist/hints-B09_WDhL.d.ts +17 -0
  243. package/dist/hooks/use-async-list.d.ts +1 -1
  244. package/dist/hooks/use-async-list.js +1 -1
  245. package/dist/hooks/use-breakpoint.d.ts +3 -0
  246. package/dist/hooks/use-breakpoint.js +2 -0
  247. package/dist/hooks/use-filters.d.ts +2 -2
  248. package/dist/hooks/use-filters.js +1 -1
  249. package/dist/{i18n-EDC8xyfH.d.ts → i18n-B3PeqBM7.d.ts} +100 -20
  250. package/dist/{i18n-BE9Wvs9L.js → i18n-DQs7jPjv.js} +99 -25
  251. package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
  252. package/dist/{import-Dkfk7PHt.js → import-C73fI3WD.js} +2 -2
  253. package/dist/index.d.ts +64 -85
  254. package/dist/index.js +55 -92
  255. package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
  256. package/dist/inputLayout-CIVpuUBq.js +7 -0
  257. package/dist/inputRow.clsx-BbcaXVta.js +6 -0
  258. package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
  259. package/dist/link.context-BcBuP9ZT.d.ts +20 -0
  260. package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
  261. package/dist/link.cva-D6L1c2wq.d.ts +2157 -0
  262. package/dist/{logger-CqZjM-sn.js → logger-CW24po62.js} +10 -1
  263. package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
  264. package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
  265. package/dist/rich-text-editor.d.ts +44 -2
  266. package/dist/rich-text-editor.js +733 -1
  267. package/dist/router.context-B6j_M4cN.js +151 -0
  268. package/dist/router.context-CSd9JYQ4.d.ts +33 -0
  269. package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
  270. package/dist/sidebar.cva-BgxTCejU.js +150 -0
  271. package/dist/spinner.cva-j4kGmIWC.js +17 -0
  272. package/dist/{staticDateTimeSegments-4tIzPL8l.js → staticDateTimeSegments-BYk1tcxs.js} +43 -13
  273. package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
  274. package/dist/styles/input.d.ts +1 -1
  275. package/dist/tanstack/form.d.ts +3 -3
  276. package/dist/tanstack/form.js +3 -3
  277. package/dist/tanstack/table.d.ts +5 -3
  278. package/dist/tanstack/table.js +2 -2
  279. package/dist/tanstack-ABeiJISz.js +10 -0
  280. package/dist/tanstack-bLXoUPDY.d.ts +165 -0
  281. package/dist/tanstack.d.ts +64 -85
  282. package/dist/tanstack.js +55 -92
  283. package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-C3oA7He3.js} +8 -8
  284. package/dist/toast.runtime-BHXdSTXV.js +25 -0
  285. package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
  286. package/dist/uiConfig.context-CN_QgxGO.d.ts +19 -0
  287. package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-CjnLnQOo.js} +5 -7
  288. package/dist/{uiConfig.context-BnCORTNm.d.ts → uiConfig.types-B0sPL7nN.d.ts} +34 -34
  289. package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-CQgkDfjW.js} +140 -35
  290. package/dist/useAsyncList-F-328rtE.d.ts +25 -0
  291. package/dist/useAutoFocus-K-bfNxa2.js +16 -0
  292. package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-BrJrvp9_.js} +5 -1
  293. package/dist/useBreakpoint-D-SVcBeQ.d.ts +9 -0
  294. package/dist/useDebounceCallback-BjePw6y4.js +90 -0
  295. package/dist/useFilters-CybBXUAA.js +217 -0
  296. package/dist/useFilters-DrfBFNLw.d.ts +57 -0
  297. package/dist/useFormAutosave-BN-zueci.js +419 -0
  298. package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
  299. package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
  300. package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-B7qGzySj.js} +103 -2
  301. package/dist/useRemoveButton-B6-IGvpY.js +98 -0
  302. package/dist/useResolveDateRangePreset-C_L-doA6.js +26 -0
  303. package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
  304. package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-C8chM7c-.js} +1 -1
  305. package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
  306. package/dist/{useTableColumnConfig-D3KH4Rpo.js → useTableColumnConfig-B9cYBKo3.js} +956 -689
  307. package/dist/useTableNav-rP1wDkhV.d.ts +372 -0
  308. package/dist/useToast-D2C9pROU.d.ts +78 -0
  309. package/dist/useToast-DSoOiSw0.js +63 -0
  310. package/dist/utils/file.d.ts +1 -1
  311. package/dist/utils/file.js +1 -1
  312. package/dist/utils/logger.js +1 -1
  313. package/llms.txt +3116 -0
  314. package/package.json +13 -131
  315. package/MIGRATION.md +0 -673
  316. package/dist/Alert-D4X7OWiv.d.ts +0 -34
  317. package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
  318. package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
  319. package/dist/Autocomplete-BxRjxjtp.js +0 -145
  320. package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
  321. package/dist/Autocomplete.bound-DweyHUI5.js +0 -28
  322. package/dist/Badge-Db1ndK67.d.ts +0 -30
  323. package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
  324. package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
  325. package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
  326. package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
  327. package/dist/Checkbox.bound-D2nBglJz.js +0 -33
  328. package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
  329. package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
  330. package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
  331. package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
  332. package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
  333. package/dist/ComboBox-ChsdI0lt.js +0 -212
  334. package/dist/DatePicker-QzfQf21b.d.ts +0 -56
  335. package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
  336. package/dist/DatePicker.bound-Dxg2LM89.js +0 -36
  337. package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
  338. package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
  339. package/dist/DateRangePicker.bound-PR9rBoXc.js +0 -35
  340. package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
  341. package/dist/DateTimePicker.bound-CQxnRveH.js +0 -32
  342. package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
  343. package/dist/Dialog-CO9xljD3.d.ts +0 -21
  344. package/dist/Drawer-D1cHiBFO.d.ts +0 -18
  345. package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
  346. package/dist/FileInput-BEaECoBS.d.ts +0 -75
  347. package/dist/FileInput.bound-CctyulN9.js +0 -30
  348. package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
  349. package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
  350. package/dist/FileUpload-Dfs3FvJ7.js +0 -749
  351. package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
  352. package/dist/FileUpload.bound-vik_sTkm.js +0 -30
  353. package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
  354. package/dist/FormField-DGyCDxOp.d.ts +0 -42
  355. package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
  356. package/dist/IconButton-shH_9wcl.d.ts +0 -25
  357. package/dist/Input-CTp_9mS9.d.ts +0 -34
  358. package/dist/Input.bound-0iJO2-ia.js +0 -31
  359. package/dist/Input.bound-B9a62ylL.d.ts +0 -9
  360. package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
  361. package/dist/Link-PvYB_M-j.d.ts +0 -30
  362. package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
  363. package/dist/NumberField-WXebfxjK.d.ts +0 -34
  364. package/dist/NumberField.bound-DHDsBNvI.js +0 -32
  365. package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
  366. package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
  367. package/dist/NumberRangeInput.bound-5Yv3Og73.js +0 -32
  368. package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
  369. package/dist/Pagination-BCGUVYOF.d.ts +0 -12
  370. package/dist/PaginationList-CvlSkJGn.d.ts +0 -18
  371. package/dist/PaginationList-D7SRwySe.js +0 -220
  372. package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
  373. package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
  374. package/dist/Popover-D_t1XDPA.d.ts +0 -20
  375. package/dist/Progress-Ckfpi_-M.d.ts +0 -45
  376. package/dist/Progress-RiEGGxNG.js +0 -119
  377. package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
  378. package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
  379. package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
  380. package/dist/RichTextEditor-BuqZth3X.js +0 -651
  381. package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
  382. package/dist/Select-C34ENdjq.d.ts +0 -119
  383. package/dist/Select.bound-CNCChZww.js +0 -34
  384. package/dist/Select.bound-qOihchei.d.ts +0 -17
  385. package/dist/Slider-DRg8zKRM.d.ts +0 -23
  386. package/dist/Slider.bound-CByTXPTr.js +0 -31
  387. package/dist/Slider.bound-CaEF19um.d.ts +0 -9
  388. package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
  389. package/dist/Spinner-DqjP06T1.js +0 -101
  390. package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
  391. package/dist/Stepper-k91x_m-E.d.ts +0 -114
  392. package/dist/Switch-ELVPkPx0.d.ts +0 -24
  393. package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
  394. package/dist/Switch.bound-Dv0cHsMM.js +0 -33
  395. package/dist/TableDnd-CuHxANWh.js +0 -133
  396. package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
  397. package/dist/TabsFilters-DePddjCk.d.ts +0 -30
  398. package/dist/Tag-B2_ZiSE-.d.ts +0 -44
  399. package/dist/TextArea-iqUeB2QY.d.ts +0 -26
  400. package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
  401. package/dist/TextArea.bound-CDVPP_qb.js +0 -28
  402. package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
  403. package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
  404. package/dist/TimePicker.bound-DPia51Qs.js +0 -32
  405. package/dist/Toast-D9pdadZ4.d.ts +0 -16
  406. package/dist/ToggleGroup-CrDoeLN0.js +0 -333
  407. package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
  408. package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
  409. package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
  410. package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
  411. package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
  412. package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
  413. package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
  414. package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
  415. package/dist/components/badge-button.d.ts +0 -2
  416. package/dist/components/badge-button.js +0 -74
  417. package/dist/components/file-upload-container.d.ts +0 -3
  418. package/dist/components/file-upload-container.js +0 -15
  419. package/dist/components/pagination-list.d.ts +0 -2
  420. package/dist/components/pagination-list.js +0 -2
  421. package/dist/components/pagination.d.ts +0 -2
  422. package/dist/components/pagination.js +0 -138
  423. package/dist/confirmation.context-BwlIEVeF.js +0 -114
  424. package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
  425. package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
  426. package/dist/form.binding-DOR5gIQf.js +0 -49
  427. package/dist/form.types-C8P4sznq.d.ts +0 -22
  428. package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
  429. package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
  430. package/dist/icons.d.ts +0 -4
  431. package/dist/icons.js +0 -3
  432. package/dist/input.cva-BjuHsDGy.d.ts +0 -80
  433. package/dist/inputLayout-KdAtunGk.js +0 -5
  434. package/dist/link.context-BCHn7NSy.d.ts +0 -12
  435. package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
  436. package/dist/router.context-CtafjXV7.d.ts +0 -16
  437. package/dist/router.context-MckTbHw9.js +0 -63
  438. package/dist/routing.utils-DfxEt0_Y.js +0 -30
  439. package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
  440. package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
  441. package/dist/tanstack/autocomplete.d.ts +0 -3
  442. package/dist/tanstack/autocomplete.js +0 -2
  443. package/dist/tanstack/checkbox-group.d.ts +0 -3
  444. package/dist/tanstack/checkbox-group.js +0 -2
  445. package/dist/tanstack/checkbox.d.ts +0 -3
  446. package/dist/tanstack/checkbox.js +0 -2
  447. package/dist/tanstack/date-picker.d.ts +0 -3
  448. package/dist/tanstack/date-picker.js +0 -2
  449. package/dist/tanstack/date-range-picker.d.ts +0 -3
  450. package/dist/tanstack/date-range-picker.js +0 -2
  451. package/dist/tanstack/date-time-picker.d.ts +0 -3
  452. package/dist/tanstack/date-time-picker.js +0 -2
  453. package/dist/tanstack/file-input.d.ts +0 -3
  454. package/dist/tanstack/file-input.js +0 -2
  455. package/dist/tanstack/file-upload.d.ts +0 -4
  456. package/dist/tanstack/file-upload.js +0 -2
  457. package/dist/tanstack/input.d.ts +0 -3
  458. package/dist/tanstack/input.js +0 -2
  459. package/dist/tanstack/number-field.d.ts +0 -3
  460. package/dist/tanstack/number-field.js +0 -2
  461. package/dist/tanstack/number-range-input.d.ts +0 -3
  462. package/dist/tanstack/number-range-input.js +0 -2
  463. package/dist/tanstack/password-input.d.ts +0 -2
  464. package/dist/tanstack/password-input.js +0 -2
  465. package/dist/tanstack/radio-group.d.ts +0 -3
  466. package/dist/tanstack/radio-group.js +0 -2
  467. package/dist/tanstack/rich-text-editor.d.ts +0 -9
  468. package/dist/tanstack/rich-text-editor.js +0 -28
  469. package/dist/tanstack/select.d.ts +0 -3
  470. package/dist/tanstack/select.js +0 -2
  471. package/dist/tanstack/slider.d.ts +0 -3
  472. package/dist/tanstack/slider.js +0 -2
  473. package/dist/tanstack/switch.d.ts +0 -3
  474. package/dist/tanstack/switch.js +0 -2
  475. package/dist/tanstack/text-area.d.ts +0 -3
  476. package/dist/tanstack/text-area.js +0 -2
  477. package/dist/tanstack/time-picker.d.ts +0 -3
  478. package/dist/tanstack/time-picker.js +0 -2
  479. package/dist/tanstack/toggle-group.d.ts +0 -3
  480. package/dist/tanstack/toggle-group.js +0 -2
  481. package/dist/tanstack-Bgdv0qU1.js +0 -19
  482. package/dist/tanstack-CtuKX9Ss.d.ts +0 -568
  483. package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
  484. package/dist/toast.runtime-Drd2IJ_j.js +0 -17
  485. package/dist/toastActivation.store-BELtcr76.js +0 -16
  486. package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
  487. package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
  488. package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
  489. package/dist/useFilters-BxRScJdn.d.ts +0 -11
  490. package/dist/useFilters-DMi94RZK.js +0 -190
  491. package/dist/useForm-Cb7KWLds.js +0 -217
  492. package/dist/useForm-I6z23FXf.d.ts +0 -51
  493. package/dist/useFormAutosave-BPGlChiY.js +0 -216
  494. package/dist/useTableNav-H5DrogZU.d.ts +0 -215
  495. package/dist/useToast-DsA8CVoY.d.ts +0 -16
@@ -1,250 +1,113 @@
1
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
2
2
  import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
3
- import { t as IconSlot } from "./IconSlot-CqNuZl0E.js";
4
- import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-C9H9_BmK.js";
3
+ import { t as IconSlot } from "./IconSlot-TAWTJ6iK.js";
4
+ import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-BJ13KRQo.js";
5
5
  import { t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "./Link-Chux-Clm.js";
6
- import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
6
+ import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-BJJkLVNj.js";
7
7
  import { t as $2ec61d1d4f780267$export$a8a3e93435678ff9 } from "./Heading-D4XFYv__.js";
8
- import { r as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "./Disclosure-BRSkMbZQ.js";
9
- import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-DcLWF9cB.js";
8
+ import { r as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "./Disclosure-Bjm5IOpg.js";
9
+ import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-DAMsCwzb.js";
10
10
  import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-P1z1pxzT.js";
11
- import { t as Tooltip } from "./Tooltip-DRB6lo0U.js";
11
+ import { t as Tooltip } from "./Tooltip-BkXPEBqw.js";
12
12
  import { t as Typography } from "./Typography-DCLnPa3P.js";
13
- import { t as LinkContext } from "./link.context-TPjDtjw3.js";
13
+ import "./i18n-DQs7jPjv.js";
14
+ import { t as LinkContext } from "./link.context-CD5h_b5O.js";
14
15
  import { IconButton } from "./components/icon-button.js";
15
- import { t as useBreakpoint } from "./useBreakpoint-CJ3mx7UF.js";
16
- import { r as dialogOverlay } from "./dialog.cva-BIpz6HcA.js";
17
- import { ChevronDown, ChevronsLeft, ChevronsRight, Menu, Plus } from "lucide-react";
16
+ import { t as useBreakpoint } from "./useBreakpoint-BrJrvp9_.js";
17
+ import { a as sidebarGroupChevronDefinition, c as sidebarHeaderDefinition, d as sidebarWorkspaceTileDefinition, f as sidebarWorkspacesDefinition, i as sidebarFooterDefinition, l as sidebarItemDefinition, n as sidebarContentDefinition, o as sidebarGroupDefinition, r as sidebarDefinition, s as sidebarGroupHeadingDefinition, t as sidebarAvatarDefinition, u as sidebarWorkspaceRowDefinition } from "./sidebar.cva-BgxTCejU.js";
18
+ import { r as dialogOverlay } from "./dialog.cva-BjVggO5l.js";
18
19
  import { c } from "react/compiler-runtime";
19
20
  import { createContext, use, useId, useState } from "react";
20
21
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
21
- //#region src/components/navigation/Sidebar/sidebar.cva.ts
22
- const sidebarDefinition = UIOverrides.defineConfig({
23
- base: ["flex h-full w-70 flex-col overflow-hidden", "border-r border-border bg-card"],
24
- config: {
25
- variants: { isMobile: {
26
- true: "min-w-0 shrink",
27
- false: "shrink-0"
28
- } },
29
- defaultVariants: { isMobile: false }
30
- }
31
- });
32
- const sidebarHeaderDefinition = UIOverrides.defineConfig({
33
- base: ["flex shrink-0 items-center gap-2 px-2 pt-6 pb-2"],
34
- config: {
35
- variants: {},
36
- defaultVariants: {}
37
- }
38
- });
39
- const sidebarContentDefinition = UIOverrides.defineConfig({
40
- base: ["flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto px-2 py-2"],
41
- config: {
42
- variants: {},
43
- defaultVariants: {}
44
- }
45
- });
46
- const sidebarFooterDefinition = UIOverrides.defineConfig({
47
- base: ["flex shrink-0 items-center gap-2 border-t border-border", "px-2 py-3"],
48
- config: {
49
- variants: {},
50
- defaultVariants: {}
51
- }
52
- });
53
- const sidebarGroupDefinition = UIOverrides.defineConfig({
54
- base: ["flex flex-col"],
55
- config: {
56
- variants: {},
57
- defaultVariants: {}
58
- }
59
- });
60
- const sidebarGroupHeadingDefinition = UIOverrides.defineConfig({
61
- base: ["flex min-w-0 flex-1 items-center gap-4 rounded-md", "px-3 py-2 text-left text-foreground outline-none"],
62
- config: {
63
- variants: { isCollapsible: {
64
- true: ["cursor-pointer pointer-coarse:min-h-11 hover:bg-accent", "focus-visible:ring-2 focus-visible:ring-ring"],
65
- false: ""
66
- } },
67
- defaultVariants: { isCollapsible: true }
68
- }
69
- });
70
- const sidebarGroupChevronDefinition = UIOverrides.defineConfig({
71
- base: ["size-icons-size shrink-0 transition-transform duration-200 motion-reduce:transition-none"],
72
- config: {
73
- variants: { isExpanded: {
74
- true: "rotate-0",
75
- false: "-rotate-90"
76
- } },
77
- defaultVariants: { isExpanded: true }
78
- }
79
- });
80
- const sidebarItemDefinition = UIOverrides.defineConfig({
81
- base: [
82
- "flex w-full min-w-0 cursor-pointer items-center gap-4 rounded-md",
83
- "px-3 py-2 text-left no-underline! outline-none",
84
- "transition-colors duration-150 motion-reduce:transition-none",
85
- "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",
86
- "disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50",
87
- "pointer-coarse:min-h-11"
88
- ],
89
- config: {
90
- variants: {
91
- variant: {
92
- default: "",
93
- search: "bg-muted ring-1 ring-border ring-inset"
94
- },
95
- isActive: {
96
- true: ["relative bg-muted font-medium text-card-foreground", "before:absolute before:inset-y-2 before:left-0 before:w-0.5 before:rounded-full before:bg-foreground"],
97
- false: "text-foreground"
98
- }
99
- },
100
- defaultVariants: {
101
- variant: "default",
102
- isActive: false
103
- },
104
- compoundVariants: [{
105
- isActive: false,
106
- className: "hover:bg-accent hover:text-card-foreground"
107
- }]
108
- }
109
- });
110
- const sidebarAvatarDefinition = UIOverrides.defineConfig({
111
- base: ["relative flex size-7 shrink-0 items-center justify-center font-sans font-semibold text-xs"],
112
- config: {
113
- variants: { shape: {
114
- square: "rounded-sm bg-foreground text-background",
115
- circle: "rounded-full bg-foreground text-background"
116
- } },
117
- defaultVariants: { shape: "circle" }
118
- }
119
- });
120
- const sidebarWorkspacesDefinition = UIOverrides.defineConfig({
121
- base: ["flex h-full shrink-0 flex-col overflow-hidden border-r border-border bg-card", "px-3 py-3 transition-[width] duration-200 ease-out motion-reduce:transition-none"],
122
- config: {
123
- variants: { isExpanded: {
124
- true: "w-56",
125
- false: "w-[calc(--spacing(9)+2*calc(var(--spacing)*3)+1px)]"
126
- } },
127
- defaultVariants: { isExpanded: false }
128
- }
129
- });
130
- const sidebarWorkspaceRowDefinition = UIOverrides.defineConfig({
131
- base: [
132
- "group/workspace flex w-full min-w-0 cursor-pointer items-center gap-4 rounded-md text-left outline-none",
133
- "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card",
134
- "pointer-coarse:min-h-11"
135
- ],
136
- config: {
137
- variants: { isSelected: {
138
- true: "text-card-foreground",
139
- false: "text-foreground hover:text-card-foreground"
140
- } },
141
- defaultVariants: { isSelected: false }
142
- }
143
- });
144
- const sidebarWorkspaceTileDefinition = UIOverrides.defineConfig({
145
- base: ["flex size-9 shrink-0 items-center justify-center rounded-md font-sans font-semibold text-sm", "transition-colors duration-150 motion-reduce:transition-none"],
146
- config: {
147
- variants: {
148
- variant: {
149
- workspace: "",
150
- add: "border border-dashed border-foreground text-foreground group-hover/workspace:bg-accent"
151
- },
152
- isSelected: {
153
- true: "bg-foreground text-background",
154
- false: ""
155
- }
156
- },
157
- defaultVariants: {
158
- variant: "workspace",
159
- isSelected: false
160
- },
161
- compoundVariants: [{
162
- variant: "workspace",
163
- isSelected: false,
164
- className: "bg-card text-card-foreground group-hover/workspace:bg-accent"
165
- }]
166
- }
167
- });
168
- //#endregion
22
+ import { ChevronDown, ChevronsLeft, ChevronsRight, Menu, Plus } from "lucide-react";
23
+ import { useTranslation } from "react-i18next";
169
24
  //#region src/components/navigation/Sidebar/SidebarLayout.tsx
170
25
  const SidebarLayoutContext = createContext(null);
171
26
  const useSidebarLayout = () => use(SidebarLayoutContext);
172
27
  const SidebarLayout = (t0) => {
173
- const $ = c(42);
174
- const { navigation, children, mobileTitle, menuLabel: t1, breakpoint: t2, className } = t0;
175
- const menuLabel = t1 === void 0 ? "Open navigation" : t1;
176
- const isDesktop = useBreakpoint(t2 === void 0 ? "md" : t2);
28
+ const $ = c(48);
29
+ const { navigation, children, mobileTitle, menuLabel, breakpoint: t1, className } = t0;
30
+ const breakpoint = t1 === void 0 ? "md" : t1;
31
+ const { t } = useTranslation("ui");
32
+ const isDesktop = useBreakpoint(breakpoint);
177
33
  const [isOpen, setIsOpen] = useState(false);
178
- const t3 = !isDesktop;
179
- let t4;
34
+ const t2 = !isDesktop;
35
+ let t3;
180
36
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
181
- t4 = () => setIsOpen(false);
182
- $[0] = t4;
183
- } else t4 = $[0];
184
- let t5;
185
- if ($[1] !== t3) {
186
- t5 = {
187
- isMobile: t3,
188
- closeNavigation: t4
37
+ t3 = () => setIsOpen(false);
38
+ $[0] = t3;
39
+ } else t3 = $[0];
40
+ let t4;
41
+ if ($[1] !== t2) {
42
+ t4 = {
43
+ isMobile: t2,
44
+ closeNavigation: t3
189
45
  };
190
- $[1] = t3;
191
- $[2] = t5;
192
- } else t5 = $[2];
193
- const context = t5;
46
+ $[1] = t2;
47
+ $[2] = t4;
48
+ } else t4 = $[2];
49
+ const context = t4;
194
50
  if (isDesktop) {
195
- let t6;
51
+ let t5;
196
52
  if ($[3] !== className) {
197
- t6 = clsx("flex min-h-0", className);
53
+ t5 = clsx("flex min-h-0", className);
198
54
  $[3] = className;
199
- $[4] = t6;
200
- } else t6 = $[4];
201
- let t7;
55
+ $[4] = t5;
56
+ } else t5 = $[4];
57
+ let t6;
202
58
  if ($[5] !== children) {
203
- t7 = /* @__PURE__ */ jsx("div", {
59
+ t6 = /* @__PURE__ */ jsx("div", {
204
60
  className: "flex min-w-0 flex-1 flex-col",
205
61
  children
206
62
  });
207
63
  $[5] = children;
208
- $[6] = t7;
209
- } else t7 = $[6];
210
- let t8;
211
- if ($[7] !== navigation || $[8] !== t6 || $[9] !== t7) {
212
- t8 = /* @__PURE__ */ jsxs("div", {
213
- className: t6,
214
- children: [navigation, t7]
64
+ $[6] = t6;
65
+ } else t6 = $[6];
66
+ let t7;
67
+ if ($[7] !== navigation || $[8] !== t5 || $[9] !== t6) {
68
+ t7 = /* @__PURE__ */ jsxs("div", {
69
+ className: t5,
70
+ children: [navigation, t6]
215
71
  });
216
72
  $[7] = navigation;
217
- $[8] = t6;
218
- $[9] = t7;
219
- $[10] = t8;
220
- } else t8 = $[10];
221
- let t9;
222
- if ($[11] !== context || $[12] !== t8) {
223
- t9 = /* @__PURE__ */ jsx(SidebarLayoutContext, {
73
+ $[8] = t5;
74
+ $[9] = t6;
75
+ $[10] = t7;
76
+ } else t7 = $[10];
77
+ let t8;
78
+ if ($[11] !== context || $[12] !== t7) {
79
+ t8 = /* @__PURE__ */ jsx(SidebarLayoutContext, {
224
80
  value: context,
225
- children: t8
81
+ children: t7
226
82
  });
227
83
  $[11] = context;
228
- $[12] = t8;
229
- $[13] = t9;
230
- } else t9 = $[13];
231
- return t9;
84
+ $[12] = t7;
85
+ $[13] = t8;
86
+ } else t8 = $[13];
87
+ return t8;
232
88
  }
233
- let t6;
89
+ let t5;
234
90
  if ($[14] !== className) {
235
- t6 = clsx("flex min-h-0 flex-col", className);
91
+ t5 = clsx("flex min-h-0 flex-col", className);
236
92
  $[14] = className;
237
- $[15] = t6;
238
- } else t6 = $[15];
93
+ $[15] = t5;
94
+ } else t5 = $[15];
95
+ let t6;
96
+ if ($[16] !== menuLabel || $[17] !== t) {
97
+ t6 = menuLabel ?? t(_temp$1);
98
+ $[16] = menuLabel;
99
+ $[17] = t;
100
+ $[18] = t6;
101
+ } else t6 = $[18];
239
102
  let t7;
240
- if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
103
+ if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
241
104
  t7 = () => setIsOpen(true);
242
- $[16] = t7;
243
- } else t7 = $[16];
105
+ $[19] = t7;
106
+ } else t7 = $[19];
244
107
  let t8;
245
- if ($[17] !== isOpen || $[18] !== menuLabel) {
108
+ if ($[20] !== isOpen || $[21] !== t6) {
246
109
  t8 = /* @__PURE__ */ jsx(IconButton, {
247
- label: menuLabel,
110
+ label: t6,
248
111
  disableTooltip: true,
249
112
  icon: Menu,
250
113
  variant: "ghost",
@@ -253,96 +116,109 @@ const SidebarLayout = (t0) => {
253
116
  onPress: t7,
254
117
  className: "pointer-coarse:size-11"
255
118
  });
256
- $[17] = isOpen;
257
- $[18] = menuLabel;
258
- $[19] = t8;
259
- } else t8 = $[19];
119
+ $[20] = isOpen;
120
+ $[21] = t6;
121
+ $[22] = t8;
122
+ } else t8 = $[22];
260
123
  let t9;
261
- if ($[20] !== mobileTitle) {
124
+ if ($[23] !== mobileTitle) {
262
125
  t9 = mobileTitle && /* @__PURE__ */ jsx(Typography, {
263
126
  size: "large",
264
127
  as: "span",
265
128
  className: "min-w-0 truncate font-semibold text-card-foreground",
266
129
  children: mobileTitle
267
130
  });
268
- $[20] = mobileTitle;
269
- $[21] = t9;
270
- } else t9 = $[21];
131
+ $[23] = mobileTitle;
132
+ $[24] = t9;
133
+ } else t9 = $[24];
271
134
  let t10;
272
- if ($[22] !== t8 || $[23] !== t9) {
135
+ if ($[25] !== t8 || $[26] !== t9) {
273
136
  t10 = /* @__PURE__ */ jsxs("div", {
274
137
  className: "sticky top-0 z-sticky flex items-center gap-2 border-b border-border bg-card px-2 py-2",
275
138
  children: [t8, t9]
276
139
  });
277
- $[22] = t8;
278
- $[23] = t9;
279
- $[24] = t10;
280
- } else t10 = $[24];
140
+ $[25] = t8;
141
+ $[26] = t9;
142
+ $[27] = t10;
143
+ } else t10 = $[27];
281
144
  let t11;
282
- if ($[25] !== children) {
145
+ if ($[28] !== children) {
283
146
  t11 = /* @__PURE__ */ jsx("div", {
284
147
  className: "flex min-w-0 flex-1 flex-col",
285
148
  children
286
149
  });
287
- $[25] = children;
288
- $[26] = t11;
289
- } else t11 = $[26];
150
+ $[28] = children;
151
+ $[29] = t11;
152
+ } else t11 = $[29];
290
153
  let t12;
291
- if ($[27] !== t10 || $[28] !== t11 || $[29] !== t6) {
154
+ if ($[30] !== t10 || $[31] !== t11 || $[32] !== t5) {
292
155
  t12 = /* @__PURE__ */ jsxs("div", {
293
- className: t6,
156
+ className: t5,
294
157
  children: [t10, t11]
295
158
  });
296
- $[27] = t10;
297
- $[28] = t11;
298
- $[29] = t6;
299
- $[30] = t12;
300
- } else t12 = $[30];
159
+ $[30] = t10;
160
+ $[31] = t11;
161
+ $[32] = t5;
162
+ $[33] = t12;
163
+ } else t12 = $[33];
301
164
  let t13;
302
- if ($[31] === Symbol.for("react.memo_cache_sentinel")) {
165
+ if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
303
166
  t13 = clsx(dialogOverlay({ aside: "left" }), "z-drawer");
304
- $[31] = t13;
305
- } else t13 = $[31];
167
+ $[34] = t13;
168
+ } else t13 = $[34];
306
169
  let t14;
307
- if ($[32] !== navigation) {
308
- t14 = /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$2b77a92f1a5ad772, {
170
+ if ($[35] !== t) {
171
+ t14 = t(_temp2$1);
172
+ $[35] = t;
173
+ $[36] = t14;
174
+ } else t14 = $[36];
175
+ let t15;
176
+ if ($[37] !== navigation || $[38] !== t14) {
177
+ t15 = /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$2b77a92f1a5ad772, {
309
178
  className: "fixed inset-y-0 left-0 z-drawer flex max-w-[calc(100%-(--spacing(12)))] entering:animate-drawer-enter-left exiting:animate-drawer-exit-left bg-card",
310
179
  children: /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
311
- "aria-label": "Navigation",
180
+ "aria-label": t14,
312
181
  className: "flex h-full min-w-0 outline-none",
313
182
  children: navigation
314
183
  })
315
184
  });
316
- $[32] = navigation;
317
- $[33] = t14;
318
- } else t14 = $[33];
319
- let t15;
320
- if ($[34] !== isOpen || $[35] !== t13 || $[36] !== t14) {
321
- t15 = /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$8948f78d83984c69, {
185
+ $[37] = navigation;
186
+ $[38] = t14;
187
+ $[39] = t15;
188
+ } else t15 = $[39];
189
+ let t16;
190
+ if ($[40] !== isOpen || $[41] !== t13 || $[42] !== t15) {
191
+ t16 = /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$8948f78d83984c69, {
322
192
  isOpen,
323
193
  onOpenChange: setIsOpen,
324
194
  isDismissable: true,
325
195
  className: t13,
326
- children: t14
196
+ children: t15
327
197
  });
328
- $[34] = isOpen;
329
- $[35] = t13;
330
- $[36] = t14;
331
- $[37] = t15;
332
- } else t15 = $[37];
333
- let t16;
334
- if ($[38] !== context || $[39] !== t12 || $[40] !== t15) {
335
- t16 = /* @__PURE__ */ jsxs(SidebarLayoutContext, {
198
+ $[40] = isOpen;
199
+ $[41] = t13;
200
+ $[42] = t15;
201
+ $[43] = t16;
202
+ } else t16 = $[43];
203
+ let t17;
204
+ if ($[44] !== context || $[45] !== t12 || $[46] !== t16) {
205
+ t17 = /* @__PURE__ */ jsxs(SidebarLayoutContext, {
336
206
  value: context,
337
- children: [t12, t15]
207
+ children: [t12, t16]
338
208
  });
339
- $[38] = context;
340
- $[39] = t12;
341
- $[40] = t15;
342
- $[41] = t16;
343
- } else t16 = $[41];
344
- return t16;
209
+ $[44] = context;
210
+ $[45] = t12;
211
+ $[46] = t16;
212
+ $[47] = t17;
213
+ } else t17 = $[47];
214
+ return t17;
345
215
  };
216
+ function _temp$1($) {
217
+ return $.ui.sidebar.openNavigation;
218
+ }
219
+ function _temp2$1($_0) {
220
+ return $_0.ui.sidebar.navigation;
221
+ }
346
222
  //#endregion
347
223
  //#region src/components/navigation/Sidebar/Sidebar.tsx
348
224
  const Sidebar = (t0) => {
@@ -879,7 +755,7 @@ const SidebarGroup = (t0) => {
879
755
  //#region src/components/navigation/Sidebar/SidebarItem.tsx
880
756
  const isLinkItem = (props) => Boolean(props.href) || Boolean(props.to);
881
757
  const SidebarItem = (props) => {
882
- const $ = c(48);
758
+ const $ = c(50);
883
759
  const linkContext = LinkContext.useLinkContext();
884
760
  const layout = useSidebarLayout();
885
761
  const itemCva = UIOverrides.useCva("sidebar.itemCva", sidebarItemDefinition);
@@ -1034,18 +910,25 @@ const SidebarItem = (props) => {
1034
910
  return t14;
1035
911
  }
1036
912
  const t12 = rest;
913
+ let buttonProps;
914
+ if ($[44] !== t12) {
915
+ const { isPending: _isPending, ...t13 } = t12;
916
+ buttonProps = t13;
917
+ $[44] = t12;
918
+ $[45] = buttonProps;
919
+ } else buttonProps = $[45];
1037
920
  let t13;
1038
- if ($[44] !== content || $[45] !== shared || $[46] !== t12) {
921
+ if ($[46] !== buttonProps || $[47] !== content || $[48] !== shared) {
1039
922
  t13 = /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
1040
- ...t12,
923
+ ...buttonProps,
1041
924
  ...shared,
1042
925
  children: content
1043
926
  });
1044
- $[44] = content;
1045
- $[45] = shared;
1046
- $[46] = t12;
1047
- $[47] = t13;
1048
- } else t13 = $[47];
927
+ $[46] = buttonProps;
928
+ $[47] = content;
929
+ $[48] = shared;
930
+ $[49] = t13;
931
+ } else t13 = $[49];
1049
932
  return t13;
1050
933
  };
1051
934
  //#endregion
@@ -1072,67 +955,82 @@ const RowLabel = (t0) => {
1072
955
  return t3;
1073
956
  };
1074
957
  const SidebarWorkspaces = (t0) => {
1075
- const $ = c(52);
1076
- const { items, selectedKey, defaultSelectedKey, onSelectionChange, onAdd, addLabel: t1, isExpanded: isExpandedProp, defaultExpanded: t2, onExpandedChange, user, "aria-label": t3, className } = t0;
1077
- const addLabel = t1 === void 0 ? "Add workspace" : t1;
1078
- const defaultExpanded = t2 === void 0 ? false : t2;
1079
- const ariaLabel = t3 === void 0 ? "Workspaces" : t3;
958
+ const $ = c(59);
959
+ const { items, value, defaultValue, onChange, onAdd, addLabel: addLabelProp, isExpanded: isExpandedProp, defaultExpanded: t1, onExpandedChange, user, "aria-label": ariaLabelProp, className } = t0;
960
+ const defaultExpanded = t1 === void 0 ? false : t1;
1080
961
  const railCva = UIOverrides.useCva("sidebar.workspacesCva", sidebarWorkspacesDefinition);
1081
962
  const rowCva = UIOverrides.useCva("sidebar.workspaceRowCva", sidebarWorkspaceRowDefinition);
1082
963
  const tileCva = UIOverrides.useCva("sidebar.workspaceTileCva", sidebarWorkspaceTileDefinition);
964
+ const { t } = useTranslation("ui");
965
+ let t2;
966
+ if ($[0] !== addLabelProp || $[1] !== t) {
967
+ t2 = addLabelProp ?? t(_temp);
968
+ $[0] = addLabelProp;
969
+ $[1] = t;
970
+ $[2] = t2;
971
+ } else t2 = $[2];
972
+ const addLabel = t2;
973
+ let t3;
974
+ if ($[3] !== ariaLabelProp || $[4] !== t) {
975
+ t3 = ariaLabelProp ?? t(_temp2);
976
+ $[3] = ariaLabelProp;
977
+ $[4] = t;
978
+ $[5] = t3;
979
+ } else t3 = $[5];
980
+ const ariaLabel = t3;
1083
981
  const layout = useSidebarLayout();
1084
982
  const railId = useId();
1085
983
  const [isExpandedState, setIsExpandedState] = useState(defaultExpanded);
1086
984
  const isExpanded = !layout?.isMobile && (isExpandedProp ?? isExpandedState);
1087
985
  let t4;
1088
- if ($[0] !== isExpanded || $[1] !== onExpandedChange) {
986
+ if ($[6] !== isExpanded || $[7] !== onExpandedChange) {
1089
987
  t4 = () => {
1090
988
  setIsExpandedState(!isExpanded);
1091
989
  onExpandedChange?.(!isExpanded);
1092
990
  };
1093
- $[0] = isExpanded;
1094
- $[1] = onExpandedChange;
1095
- $[2] = t4;
1096
- } else t4 = $[2];
991
+ $[6] = isExpanded;
992
+ $[7] = onExpandedChange;
993
+ $[8] = t4;
994
+ } else t4 = $[8];
1097
995
  const toggleExpanded = t4;
1098
996
  let t5;
1099
- if ($[3] !== className || $[4] !== isExpanded || $[5] !== railCva) {
997
+ if ($[9] !== className || $[10] !== isExpanded || $[11] !== railCva) {
1100
998
  t5 = railCva({
1101
999
  isExpanded,
1102
1000
  className
1103
1001
  });
1104
- $[3] = className;
1105
- $[4] = isExpanded;
1106
- $[5] = railCva;
1107
- $[6] = t5;
1108
- } else t5 = $[6];
1002
+ $[9] = className;
1003
+ $[10] = isExpanded;
1004
+ $[11] = railCva;
1005
+ $[12] = t5;
1006
+ } else t5 = $[12];
1109
1007
  let t6;
1110
- if ($[7] !== selectedKey) {
1111
- t6 = selectedKey === void 0 ? void 0 : [selectedKey];
1112
- $[7] = selectedKey;
1113
- $[8] = t6;
1114
- } else t6 = $[8];
1008
+ if ($[13] !== value) {
1009
+ t6 = value === void 0 ? void 0 : value === null ? [] : [value];
1010
+ $[13] = value;
1011
+ $[14] = t6;
1012
+ } else t6 = $[14];
1115
1013
  let t7;
1116
- if ($[9] !== defaultSelectedKey) {
1117
- t7 = defaultSelectedKey === void 0 ? void 0 : [defaultSelectedKey];
1118
- $[9] = defaultSelectedKey;
1119
- $[10] = t7;
1120
- } else t7 = $[10];
1014
+ if ($[15] !== defaultValue) {
1015
+ t7 = defaultValue == null ? void 0 : [defaultValue];
1016
+ $[15] = defaultValue;
1017
+ $[16] = t7;
1018
+ } else t7 = $[16];
1121
1019
  let t8;
1122
- if ($[11] !== onSelectionChange) {
1020
+ if ($[17] !== onChange) {
1123
1021
  t8 = (keys) => {
1124
1022
  const [key] = keys;
1125
- if (key !== void 0) onSelectionChange?.(key);
1023
+ if (key !== void 0) onChange?.(key);
1126
1024
  };
1127
- $[11] = onSelectionChange;
1128
- $[12] = t8;
1129
- } else t8 = $[12];
1025
+ $[17] = onChange;
1026
+ $[18] = t8;
1027
+ } else t8 = $[18];
1130
1028
  let t9;
1131
- if ($[13] !== isExpanded || $[14] !== items || $[15] !== rowCva || $[16] !== tileCva) {
1029
+ if ($[19] !== isExpanded || $[20] !== items || $[21] !== rowCva || $[22] !== tileCva) {
1132
1030
  let t10;
1133
- if ($[18] !== isExpanded || $[19] !== rowCva || $[20] !== tileCva) {
1031
+ if ($[24] !== isExpanded || $[25] !== rowCva || $[26] !== tileCva) {
1134
1032
  t10 = (item) => /* @__PURE__ */ jsx(Tooltip, {
1135
- text: item.name,
1033
+ text: item.label,
1136
1034
  placement: "right",
1137
1035
  isDisabled: isExpanded,
1138
1036
  children: /* @__PURE__ */ jsx($75afe627ae0cc0fa$export$d2b052e7b4be1756, {
@@ -1146,28 +1044,28 @@ const SidebarWorkspaces = (t0) => {
1146
1044
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
1147
1045
  "aria-hidden": true,
1148
1046
  className: tileCva({ isSelected: isSelected_0 }),
1149
- children: item.logo ?? item.name.charAt(0).toUpperCase()
1047
+ children: item.logo ?? item.label.charAt(0).toUpperCase()
1150
1048
  }), /* @__PURE__ */ jsx(RowLabel, {
1151
1049
  isExpanded,
1152
- children: item.name
1050
+ children: item.label
1153
1051
  })] });
1154
1052
  }
1155
1053
  })
1156
1054
  }, item.id);
1157
- $[18] = isExpanded;
1158
- $[19] = rowCva;
1159
- $[20] = tileCva;
1160
- $[21] = t10;
1161
- } else t10 = $[21];
1055
+ $[24] = isExpanded;
1056
+ $[25] = rowCva;
1057
+ $[26] = tileCva;
1058
+ $[27] = t10;
1059
+ } else t10 = $[27];
1162
1060
  t9 = items.map(t10);
1163
- $[13] = isExpanded;
1164
- $[14] = items;
1165
- $[15] = rowCva;
1166
- $[16] = tileCva;
1167
- $[17] = t9;
1168
- } else t9 = $[17];
1061
+ $[19] = isExpanded;
1062
+ $[20] = items;
1063
+ $[21] = rowCva;
1064
+ $[22] = tileCva;
1065
+ $[23] = t9;
1066
+ } else t9 = $[23];
1169
1067
  let t10;
1170
- if ($[22] !== ariaLabel || $[23] !== t6 || $[24] !== t7 || $[25] !== t8 || $[26] !== t9) {
1068
+ if ($[28] !== ariaLabel || $[29] !== t6 || $[30] !== t7 || $[31] !== t8 || $[32] !== t9) {
1171
1069
  t10 = /* @__PURE__ */ jsx($bc25b811ec97a172$export$40258cc1d95ff477, {
1172
1070
  "aria-label": ariaLabel,
1173
1071
  orientation: "vertical",
@@ -1179,15 +1077,15 @@ const SidebarWorkspaces = (t0) => {
1179
1077
  className: "flex flex-col gap-1",
1180
1078
  children: t9
1181
1079
  });
1182
- $[22] = ariaLabel;
1183
- $[23] = t6;
1184
- $[24] = t7;
1185
- $[25] = t8;
1186
- $[26] = t9;
1187
- $[27] = t10;
1188
- } else t10 = $[27];
1080
+ $[28] = ariaLabel;
1081
+ $[29] = t6;
1082
+ $[30] = t7;
1083
+ $[31] = t8;
1084
+ $[32] = t9;
1085
+ $[33] = t10;
1086
+ } else t10 = $[33];
1189
1087
  let t11;
1190
- if ($[28] !== addLabel || $[29] !== isExpanded || $[30] !== onAdd || $[31] !== rowCva || $[32] !== tileCva) {
1088
+ if ($[34] !== addLabel || $[35] !== isExpanded || $[36] !== onAdd || $[37] !== rowCva || $[38] !== tileCva) {
1191
1089
  t11 = onAdd && /* @__PURE__ */ jsx(Tooltip, {
1192
1090
  text: addLabel,
1193
1091
  placement: "right",
@@ -1205,24 +1103,24 @@ const SidebarWorkspaces = (t0) => {
1205
1103
  })]
1206
1104
  })
1207
1105
  });
1208
- $[28] = addLabel;
1209
- $[29] = isExpanded;
1210
- $[30] = onAdd;
1211
- $[31] = rowCva;
1212
- $[32] = tileCva;
1213
- $[33] = t11;
1214
- } else t11 = $[33];
1106
+ $[34] = addLabel;
1107
+ $[35] = isExpanded;
1108
+ $[36] = onAdd;
1109
+ $[37] = rowCva;
1110
+ $[38] = tileCva;
1111
+ $[39] = t11;
1112
+ } else t11 = $[39];
1215
1113
  let t12;
1216
- if ($[34] !== isExpanded || $[35] !== layout?.isMobile || $[36] !== railId || $[37] !== rowCva || $[38] !== toggleExpanded) {
1114
+ if ($[40] !== isExpanded || $[41] !== layout?.isMobile || $[42] !== railId || $[43] !== rowCva || $[44] !== t || $[45] !== toggleExpanded) {
1217
1115
  t12 = !layout?.isMobile && /* @__PURE__ */ jsx(Tooltip, {
1218
- text: "Expand workspaces",
1116
+ text: t(_temp3),
1219
1117
  placement: "right",
1220
1118
  isDisabled: isExpanded,
1221
1119
  children: /* @__PURE__ */ jsxs($7705c033048f6da7$export$353f5b6fc5456de1, {
1222
1120
  onPress: toggleExpanded,
1223
1121
  "aria-expanded": isExpanded,
1224
1122
  "aria-controls": railId,
1225
- "aria-label": isExpanded ? "Collapse workspaces" : "Expand workspaces",
1123
+ "aria-label": isExpanded ? t(_temp4) : t(_temp5),
1226
1124
  className: clsx(rowCva({ isSelected: false }), "h-9"),
1227
1125
  children: [/* @__PURE__ */ jsx("span", {
1228
1126
  "aria-hidden": true,
@@ -1230,19 +1128,20 @@ const SidebarWorkspaces = (t0) => {
1230
1128
  children: /* @__PURE__ */ jsx(IconSlot, { icon: isExpanded ? ChevronsLeft : ChevronsRight })
1231
1129
  }), isExpanded && /* @__PURE__ */ jsx(RowLabel, {
1232
1130
  isExpanded: true,
1233
- children: "Collapse"
1131
+ children: t(_temp6)
1234
1132
  })]
1235
1133
  })
1236
1134
  });
1237
- $[34] = isExpanded;
1238
- $[35] = layout?.isMobile;
1239
- $[36] = railId;
1240
- $[37] = rowCva;
1241
- $[38] = toggleExpanded;
1242
- $[39] = t12;
1243
- } else t12 = $[39];
1135
+ $[40] = isExpanded;
1136
+ $[41] = layout?.isMobile;
1137
+ $[42] = railId;
1138
+ $[43] = rowCva;
1139
+ $[44] = t;
1140
+ $[45] = toggleExpanded;
1141
+ $[46] = t12;
1142
+ } else t12 = $[46];
1244
1143
  let t13;
1245
- if ($[40] !== isExpanded || $[41] !== user) {
1144
+ if ($[47] !== isExpanded || $[48] !== user) {
1246
1145
  t13 = user && /* @__PURE__ */ jsxs("div", {
1247
1146
  className: "flex min-w-0 items-center gap-4",
1248
1147
  children: [/* @__PURE__ */ jsx("span", {
@@ -1260,22 +1159,22 @@ const SidebarWorkspaces = (t0) => {
1260
1159
  children: user.name
1261
1160
  })]
1262
1161
  });
1263
- $[40] = isExpanded;
1264
- $[41] = user;
1265
- $[42] = t13;
1266
- } else t13 = $[42];
1162
+ $[47] = isExpanded;
1163
+ $[48] = user;
1164
+ $[49] = t13;
1165
+ } else t13 = $[49];
1267
1166
  let t14;
1268
- if ($[43] !== t12 || $[44] !== t13) {
1167
+ if ($[50] !== t12 || $[51] !== t13) {
1269
1168
  t14 = /* @__PURE__ */ jsxs("div", {
1270
1169
  className: "mt-auto flex flex-col gap-2",
1271
1170
  children: [t12, t13]
1272
1171
  });
1273
- $[43] = t12;
1274
- $[44] = t13;
1275
- $[45] = t14;
1276
- } else t14 = $[45];
1172
+ $[50] = t12;
1173
+ $[51] = t13;
1174
+ $[52] = t14;
1175
+ } else t14 = $[52];
1277
1176
  let t15;
1278
- if ($[46] !== railId || $[47] !== t10 || $[48] !== t11 || $[49] !== t14 || $[50] !== t5) {
1177
+ if ($[53] !== railId || $[54] !== t10 || $[55] !== t11 || $[56] !== t14 || $[57] !== t5) {
1279
1178
  t15 = /* @__PURE__ */ jsxs("div", {
1280
1179
  id: railId,
1281
1180
  className: t5,
@@ -1285,14 +1184,32 @@ const SidebarWorkspaces = (t0) => {
1285
1184
  t14
1286
1185
  ]
1287
1186
  });
1288
- $[46] = railId;
1289
- $[47] = t10;
1290
- $[48] = t11;
1291
- $[49] = t14;
1292
- $[50] = t5;
1293
- $[51] = t15;
1294
- } else t15 = $[51];
1187
+ $[53] = railId;
1188
+ $[54] = t10;
1189
+ $[55] = t11;
1190
+ $[56] = t14;
1191
+ $[57] = t5;
1192
+ $[58] = t15;
1193
+ } else t15 = $[58];
1295
1194
  return t15;
1296
1195
  };
1196
+ function _temp($) {
1197
+ return $.ui.sidebar.addWorkspace;
1198
+ }
1199
+ function _temp2($_0) {
1200
+ return $_0.ui.sidebar.workspaces;
1201
+ }
1202
+ function _temp3($_1) {
1203
+ return $_1.ui.sidebar.expandWorkspaces;
1204
+ }
1205
+ function _temp4($_2) {
1206
+ return $_2.ui.sidebar.collapseWorkspaces;
1207
+ }
1208
+ function _temp5($_3) {
1209
+ return $_3.ui.sidebar.expandWorkspaces;
1210
+ }
1211
+ function _temp6($_4) {
1212
+ return $_4.ui.sidebar.collapse;
1213
+ }
1297
1214
  //#endregion
1298
- export { sidebarWorkspaceTileDefinition as C, sidebarWorkspaceRowDefinition as S, sidebarGroupChevronDefinition as _, SidebarAvatar as a, sidebarHeaderDefinition as b, SidebarHeader as c, SidebarLayout as d, useSidebarLayout as f, sidebarFooterDefinition as g, sidebarDefinition as h, Sidebar as i, SidebarUser as l, sidebarContentDefinition as m, SidebarItem as n, SidebarContent as o, sidebarAvatarDefinition as p, SidebarGroup as r, SidebarFooter as s, SidebarWorkspaces as t, SidebarWorkspace as u, sidebarGroupDefinition as v, sidebarWorkspacesDefinition as w, sidebarItemDefinition as x, sidebarGroupHeadingDefinition as y };
1215
+ export { SidebarAvatar as a, SidebarHeader as c, SidebarLayout as d, useSidebarLayout as f, Sidebar as i, SidebarUser as l, SidebarItem as n, SidebarContent as o, SidebarGroup as r, SidebarFooter as s, SidebarWorkspaces as t, SidebarWorkspace as u };