@konstructio/ui 0.1.2-alpha.84 → 0.1.2-alpha.85

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 (318) hide show
  1. package/dist/{AdditionalOptions-Cx9wU01w.js → AdditionalOptions-UEegkZqG.js} +2 -2
  2. package/dist/{AlertDialogTrigger-C-NMEoDd.js → AlertDialogTrigger-C2GlLI2j.js} +4 -4
  3. package/dist/{Breadcrumb-C95aOsYk.js → Breadcrumb-BYO5PNVF.js} +3 -3
  4. package/dist/{Checkbox-Cn0UWlk8.js → Checkbox-BvRmHWxk.js} +8 -8
  5. package/dist/{CommandInput-BKv-EZ7T.js → CommandInput-C45ylYPm.js} +4 -4
  6. package/dist/{Counter-DtQu_T-D.js → Counter-Qqu8PU85.js} +4 -4
  7. package/dist/{DayPicker-CrrmX-H8.js → DayPicker-BQlzb5kH.js} +1 -1
  8. package/dist/{DropdownButton-B2XkEqPt.js → DropdownButton-CWwjA3zI.js} +3 -3
  9. package/dist/{FlagSelectorList-C17nmEBM.js → FlagSelectorList-NMlHNF7N.js} +122 -118
  10. package/dist/HamburgerTrigger-BzCfBWzH.js +85 -0
  11. package/dist/{ImageUpload-BzXjGZ2w.js → ImageUpload-DebL0hwF.js} +2 -2
  12. package/dist/{Input-GBMxM3Z7.js → Input-BZG7N8m1.js} +3 -3
  13. package/dist/{Loading-DKqxR-oV.js → Loading-DNlO4qxs.js} +2 -2
  14. package/dist/{Modal-DbTe8PVX.js → Modal-IyDr5vIx.js} +5 -5
  15. package/dist/{Spinner-CyuXAaC8.js → Spinner-BB1muhcJ.js} +2 -2
  16. package/dist/{StepIndicatorContent-D5z1Ziqg.js → StepIndicatorContent-87ASgJsX.js} +2 -2
  17. package/dist/{Switch-DjbC0A8y.js → Switch-CT2R9JgM.js} +5 -5
  18. package/dist/{Toast-D7GhS4fm.js → Toast-CWyLcmNX.js} +10 -10
  19. package/dist/{Wrapper-DEJ-hyar.js → Wrapper-DimnwFZe.js} +3 -3
  20. package/dist/{Wrapper-CjUokv72.js → Wrapper-F9NmImqw.js} +4 -4
  21. package/dist/{Wrapper-BYC8shQP.js → Wrapper-TuoyTFqo.js} +3 -3
  22. package/dist/{chevron-down-DgssmYWu.js → chevron-down-T3Rx8Nc7.js} +1 -1
  23. package/dist/{chevron-left-DRJXef9g.js → chevron-left-CeJrJR0U.js} +1 -1
  24. package/dist/{chevron-right-BooB_b7g.js → chevron-right-BFOnP164.js} +1 -1
  25. package/dist/{chevron-up-DuS9MUNr.js → chevron-up-BKlxfVX9.js} +1 -1
  26. package/dist/{chunk-D1xtDmiO.js → chunk-cI0lbGMq.js} +7 -7
  27. package/dist/components/Alert/Alert.js +3 -3
  28. package/dist/components/Alert/Alert.variants.js +1 -1
  29. package/dist/components/AlertDialog/AlertDialog.js +2 -2
  30. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  31. package/dist/components/AlertDialog/components/index.js +1 -1
  32. package/dist/components/Autocomplete/Autocomplete.js +1 -1
  33. package/dist/components/Autocomplete/Autocomplete.variants.js +1 -1
  34. package/dist/components/Autocomplete/components/List/List.js +1 -1
  35. package/dist/components/Autocomplete/components/List/List.variants.js +1 -1
  36. package/dist/components/Autocomplete/hooks/useAutocomplete.js +1 -1
  37. package/dist/components/Badge/Badge.js +3 -3
  38. package/dist/components/Badge/Badge.variants.js +1 -1
  39. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  40. package/dist/components/Breadcrumb/Breadcrumb.variants.js +1 -1
  41. package/dist/components/Breadcrumb/components/Item/Item.js +2 -2
  42. package/dist/components/Breadcrumb/components/Item/Item.variants.js +1 -1
  43. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
  44. package/dist/components/Button/Button.js +2 -2
  45. package/dist/components/Button/Button.variants.js +1 -1
  46. package/dist/components/ButtonGroup/ButtonGroup.js +2 -2
  47. package/dist/components/ButtonGroup/ButtonGroup.variants.js +1 -1
  48. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +2 -2
  49. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.js +1 -1
  50. package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +1 -1
  51. package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +1 -1
  52. package/dist/components/Card/Card.js +1 -1
  53. package/dist/components/Card/Card.variants.js +1 -1
  54. package/dist/components/Checkbox/Checkbox.js +1 -1
  55. package/dist/components/Checkbox/Checkbox.variants.js +1 -1
  56. package/dist/components/Command/Command.js +3 -3
  57. package/dist/components/Command/Command.variants.js +1 -1
  58. package/dist/components/Command/components/Command.js +1 -1
  59. package/dist/components/Command/components/CommandEmpty.js +1 -1
  60. package/dist/components/Command/components/CommandGroup.js +2 -2
  61. package/dist/components/Command/components/CommandInput.js +1 -1
  62. package/dist/components/Command/components/CommandItem.js +2 -2
  63. package/dist/components/Command/components/CommandList.js +2 -2
  64. package/dist/components/Command/components/CommandSeparator.js +2 -2
  65. package/dist/components/Command/components/CommandShortcut.js +1 -1
  66. package/dist/components/Command/components/DialogContent.js +3 -3
  67. package/dist/components/Command/components/DialogOverlay.js +2 -2
  68. package/dist/components/Command/components/index.js +1 -1
  69. package/dist/components/Counter/Counter.js +1 -1
  70. package/dist/components/Counter/Counter.variants.js +1 -1
  71. package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
  72. package/dist/components/DateRangePicker/DateRangePicker.variants.js +1 -1
  73. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.js +1 -1
  74. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +1 -1
  75. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +3 -3
  76. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +3 -3
  77. package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +3 -3
  78. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +2 -2
  79. package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +1 -1
  80. package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +1 -1
  81. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +1 -1
  82. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +1 -1
  83. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +1 -1
  84. package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +1 -1
  85. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +1 -1
  86. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.variants.js +1 -1
  87. package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +2 -2
  88. package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +2 -2
  89. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +1 -1
  90. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.variants.js +1 -1
  91. package/dist/components/Datepicker/DatePicker.js +4 -4
  92. package/dist/components/Datepicker/DatePicker.variants.js +1 -1
  93. package/dist/components/Divider/Divider.js +1 -1
  94. package/dist/components/Divider/Divider.variants.js +1 -1
  95. package/dist/components/Drawer/Drawer.js +4 -4
  96. package/dist/components/Drawer/Drawer.variants.js +1 -1
  97. package/dist/components/Drawer/components/Body/Body.js +1 -1
  98. package/dist/components/Drawer/components/Footer/Footer.js +1 -1
  99. package/dist/components/Drawer/components/Header/Header.js +1 -1
  100. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  101. package/dist/components/Filter/Filter.js +1 -1
  102. package/dist/components/Filter/Filter.variants.js +1 -1
  103. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +3 -3
  104. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +1 -1
  105. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +2 -2
  106. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +1 -1
  107. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +2 -2
  108. package/dist/components/Filter/components/ResetButton/ResetButton.js +1 -1
  109. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +3 -3
  110. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +2 -2
  111. package/dist/components/Filter/utils/index.js +1 -1
  112. package/dist/components/ImageUpload/ImageUpload.js +1 -1
  113. package/dist/components/ImageUpload/ImageUpload.variants.js +1 -1
  114. package/dist/components/Input/Input.js +1 -1
  115. package/dist/components/Input/Input.variants.js +1 -1
  116. package/dist/components/LineChart/LineChart.js +2 -2
  117. package/dist/components/Loading/Loading.js +1 -1
  118. package/dist/components/Loading/Loading.variants.js +1 -1
  119. package/dist/components/Modal/Modal.js +1 -1
  120. package/dist/components/Modal/components/Body/Body.js +2 -2
  121. package/dist/components/Modal/components/Footer/Footer.js +2 -2
  122. package/dist/components/Modal/components/Header/Header.js +2 -2
  123. package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
  124. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +1 -1
  125. package/dist/components/Modal/components/index.js +1 -1
  126. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
  127. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +1 -1
  128. package/dist/components/MultiSelectDropdown/components/Item/Item.js +1 -1
  129. package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +1 -1
  130. package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
  131. package/dist/components/MultiSelectDropdown/components/List/List.variants.js +1 -1
  132. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
  133. package/dist/components/MultiSelectDropdown/components/index.js +1 -1
  134. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +2 -2
  135. package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +1 -1
  136. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +2 -2
  137. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
  138. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +3 -3
  139. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +3 -3
  140. package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
  141. package/dist/components/PhoneNumberInput/components/index.js +2 -2
  142. package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
  143. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
  144. package/dist/components/PhoneNumberInput/utils/index.js +1 -1
  145. package/dist/components/PieChart/PieChart.js +1 -1
  146. package/dist/components/ProgressBar/ProgressBar.js +1 -1
  147. package/dist/components/ProgressBar/ProgressBar.variants.js +1 -1
  148. package/dist/components/Radio/Radio.js +1 -1
  149. package/dist/components/Radio/Radio.variants.js +1 -1
  150. package/dist/components/RadioCard/RadioCard.js +1 -1
  151. package/dist/components/RadioCard/RadioCard.variants.js +1 -1
  152. package/dist/components/RadioCardGroup/RadioCardGroup.js +1 -1
  153. package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +1 -1
  154. package/dist/components/RadioGroup/RadioGroup.js +2 -2
  155. package/dist/components/RadioGroup/RadioGroup.variants.js +1 -1
  156. package/dist/components/Range/Range.js +2 -2
  157. package/dist/components/Range/Range.variants.js +1 -1
  158. package/dist/components/Select/Select.js +3 -3
  159. package/dist/components/Select/Select.variants.js +1 -1
  160. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
  161. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +1 -1
  162. package/dist/components/Select/components/List/List.js +5 -5
  163. package/dist/components/Select/components/List/List.variants.js +1 -1
  164. package/dist/components/Select/components/ListItem/ListItem.js +1 -1
  165. package/dist/components/Select/components/ListItem/ListItem.variants.js +1 -1
  166. package/dist/components/Select/components/Wrapper.js +1 -1
  167. package/dist/components/Select/components/index.js +2 -2
  168. package/dist/components/Sidebar/Sidebar.js +15 -12
  169. package/dist/components/Sidebar/Sidebar.variants.js +12 -8
  170. package/dist/components/Sidebar/components/Footer/Footer.js +1 -1
  171. package/dist/components/Sidebar/components/Footer/Footer.variants.js +1 -1
  172. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +4 -0
  173. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.js +22 -0
  174. package/dist/components/Sidebar/components/Label/Label.js +20 -0
  175. package/dist/components/Sidebar/components/Logo/Logo.js +1 -1
  176. package/dist/components/Sidebar/components/Logo/Logo.variants.js +5 -5
  177. package/dist/components/Sidebar/components/Navigation/Navigation.js +29 -16
  178. package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +1 -1
  179. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +15 -11
  180. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +1 -1
  181. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +24 -14
  182. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +4 -4
  183. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +1 -1
  184. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +7 -6
  185. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +1 -1
  186. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +1 -1
  187. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +99 -33
  188. package/dist/components/Sidebar/components/index.js +18 -14
  189. package/dist/components/Sidebar/contexts/SidebarContext.js +11 -0
  190. package/dist/components/Sidebar/contexts/index.js +5 -0
  191. package/dist/components/Sidebar/hooks/index.js +6 -0
  192. package/dist/components/Sidebar/hooks/useSidebarMode.js +10 -0
  193. package/dist/components/Slider/Slider.js +2 -2
  194. package/dist/components/Slider/Slider.variants.js +1 -1
  195. package/dist/components/Spinner/Spinner.js +1 -1
  196. package/dist/components/Spinner/Spinner.variants.js +1 -1
  197. package/dist/components/Stepper/Stepper.js +1 -1
  198. package/dist/components/Stepper/Stepper.variants.js +1 -1
  199. package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +2 -2
  200. package/dist/components/Stepper/components/StepConnector/StepConnector.js +1 -1
  201. package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +1 -1
  202. package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +2 -2
  203. package/dist/components/Stepper/hooks/useStepItemLogic.js +1 -1
  204. package/dist/components/Switch/Switch.js +1 -1
  205. package/dist/components/Switch/Switch.variants.js +1 -1
  206. package/dist/components/Table/Table.js +1 -1
  207. package/dist/components/Table/Table.variants.js +1 -1
  208. package/dist/components/Table/components/Body.js +1 -1
  209. package/dist/components/Table/components/Filter.js +1 -1
  210. package/dist/components/Table/components/Head.js +1 -1
  211. package/dist/components/Table/components/Row.js +1 -1
  212. package/dist/components/Tabs/Tabs.js +2 -2
  213. package/dist/components/Tabs/Tabs.variants.js +1 -1
  214. package/dist/components/Tabs/components/Content.js +2 -2
  215. package/dist/components/Tabs/components/List.js +2 -2
  216. package/dist/components/Tabs/components/Trigger.js +2 -2
  217. package/dist/components/Tag/Tag.js +2 -2
  218. package/dist/components/Tag/Tag.variants.js +1 -1
  219. package/dist/components/TagSelect/TagSelect.js +1 -1
  220. package/dist/components/TagSelect/TagSelect.variants.js +1 -1
  221. package/dist/components/TagSelect/components/Item/Item.js +1 -1
  222. package/dist/components/TagSelect/components/Item/Item.variants.js +1 -1
  223. package/dist/components/TagSelect/components/List/List.js +1 -1
  224. package/dist/components/TagSelect/components/List/List.variants.js +1 -1
  225. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
  226. package/dist/components/TagSelect/components/index.js +1 -1
  227. package/dist/components/TextArea/TextArea.js +1 -1
  228. package/dist/components/TextArea/TextArea.variants.js +1 -1
  229. package/dist/components/TimePicker/TimePicker.variants.js +1 -1
  230. package/dist/components/TimePicker/components/HoursList/HoursList.js +1 -1
  231. package/dist/components/TimePicker/components/MeridianList/MeridianList.js +1 -1
  232. package/dist/components/TimePicker/components/MinutesList/MinutesList.js +1 -1
  233. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +2 -2
  234. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +1 -1
  235. package/dist/components/Toast/Toast.js +1 -1
  236. package/dist/components/Toast/Toast.variants.js +1 -1
  237. package/dist/components/Tooltip/Tooltip.js +2 -2
  238. package/dist/components/Typography/Typography.js +1 -1
  239. package/dist/components/Typography/Typography.variants.js +1 -1
  240. package/dist/components/VirtualizedTable/VirtualizedTable.js +2 -2
  241. package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +1 -1
  242. package/dist/components/VirtualizedTable/components/Actions/Actions.js +2 -2
  243. package/dist/components/VirtualizedTable/components/Body/Body.js +2 -2
  244. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +3 -3
  245. package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +1 -1
  246. package/dist/components/VirtualizedTable/components/Filter/Filter.js +4 -4
  247. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
  248. package/dist/components/VirtualizedTable/components/Header/Header.js +2 -2
  249. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +1 -1
  250. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +2 -2
  251. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +3 -3
  252. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +1 -1
  253. package/dist/components/VirtualizedTable/contexts/index.js +1 -1
  254. package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
  255. package/dist/components/index.js +80 -78
  256. package/dist/{components-DNFycJGm.js → components-C_LekSz_.js} +3 -3
  257. package/dist/{constants-D96yCePL.js → constants-CLe3ZLC_.js} +1 -1
  258. package/dist/contexts/index.js +1 -1
  259. package/dist/contexts/theme.provider.js +1 -1
  260. package/dist/{debounce-CzFlgg9h.js → debounce-B55BpO1u.js} +2 -2
  261. package/dist/{dist-DXXHfL7M.js → dist-AZfrfAUz.js} +3 -3
  262. package/dist/{dist-COY3FRYC.js → dist-B5WmTRxj.js} +7 -7
  263. package/dist/{dist-DtEbXv47.js → dist-Bcn6lMQe.js} +1 -1
  264. package/dist/{dist-CSP6X06u.js → dist-BeLV4B_x.js} +7 -7
  265. package/dist/{dist-BL8l9uRy.js → dist-BfrkYZKI.js} +6 -6
  266. package/dist/{dist-B5SlrgYz.js → dist-Br5jSLr2.js} +7 -7
  267. package/dist/{dist-DXJSck4j.js → dist-CMPkuWNy.js} +1 -1
  268. package/dist/{dist-DNSmoWJp.js → dist-CPK4FXV9.js} +4 -4
  269. package/dist/{dist-DZcOdXgW.js → dist-CQfmhKEs.js} +1 -1
  270. package/dist/{dist-DZNdbzbm.js → dist-CZChgJLY.js} +2 -2
  271. package/dist/{dist-DpqiA4Yn.js → dist-DF7Yi2EK.js} +2 -2
  272. package/dist/{dist-uVUx9i0a.js → dist-D_9sBzad.js} +1 -1
  273. package/dist/{dist-CBnErrr1.js → dist-EV-1XXQr.js} +1 -1
  274. package/dist/{dist-DeVdyMHW2.js → dist-X40eHC8j2.js} +1 -1
  275. package/dist/{ellipsis-vertical-My0S9QY5.js → ellipsis-vertical-Cm9A6Zu8.js} +1 -1
  276. package/dist/hooks/index.js +4 -2
  277. package/dist/hooks/useMediaQuery.js +17 -0
  278. package/dist/index.js +139 -135
  279. package/dist/{isObject--aYwGuhx.js → isObject-CGNJbB5a.js} +1 -1
  280. package/dist/lib/components/Sidebar/Sidebar.d.ts +2 -2
  281. package/dist/lib/components/Sidebar/Sidebar.types.d.ts +46 -5
  282. package/dist/lib/components/Sidebar/Sidebar.variants.d.ts +3 -1
  283. package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.d.ts +4 -0
  284. package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.types.d.ts +7 -0
  285. package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.d.ts +1 -0
  286. package/dist/lib/components/Sidebar/components/Label/Label.d.ts +4 -0
  287. package/dist/lib/components/Sidebar/components/Label/Label.types.d.ts +9 -0
  288. package/dist/lib/components/Sidebar/components/Wrapper/Wrapper.d.ts +2 -2
  289. package/dist/lib/components/Sidebar/components/index.d.ts +4 -0
  290. package/dist/lib/components/Sidebar/contexts/SidebarContext.d.ts +10 -0
  291. package/dist/lib/components/Sidebar/contexts/index.d.ts +1 -0
  292. package/dist/lib/components/Sidebar/hooks/index.d.ts +1 -0
  293. package/dist/lib/components/Sidebar/hooks/useSidebarMode.d.ts +5 -0
  294. package/dist/lib/hooks/index.d.ts +1 -0
  295. package/dist/lib/hooks/useMediaQuery.d.ts +1 -0
  296. package/dist/{libphonenumber-7uXgv7U8.js → libphonenumber-Dy3Kac9j.js} +1 -1
  297. package/dist/package.json +19 -18
  298. package/dist/{phone-number.provider-B9BWYAqH.js → phone-number.provider-CdPQAKnl.js} +584 -560
  299. package/dist/{prop-types-DTnODft1.js → prop-types-CE0Kfmwk.js} +1 -1
  300. package/dist/{proxy-uLtw-ZML.js → proxy-Cx8v8fok.js} +85 -85
  301. package/dist/styles.css +1 -1
  302. package/dist/{table.provider-4OQNqxH3.js → table.provider-BBlJgEJf.js} +3 -3
  303. package/dist/{theme.provider-BgxXUOMP.js → theme.provider-ps3SkwAo.js} +1 -1
  304. package/dist/{useBreadcrumb-nYudTOOA.js → useBreadcrumb-mrkCWjS0.js} +292 -292
  305. package/dist/utils/index.js +1 -1
  306. package/dist/{utils-DHuiYnx1.js → utils-COaoD3PI.js} +1 -1
  307. package/dist/{utils-2zv-ysvP.js → utils-Cc9GhtYC.js} +4 -3
  308. package/dist/{x-a0ouxoIM.js → x-DBIZFfaM.js} +1 -1
  309. package/dist/{x-BwIi6Wii.js → x-KjMYhcCb.js} +2 -2
  310. package/package.json +19 -18
  311. /package/dist/{Combination-DUTBK_qM.js → Combination-DFcElBFt.js} +0 -0
  312. /package/dist/{clsx-kDhLfUq2.js → clsx-Dzz4NoNN.js} +0 -0
  313. /package/dist/{createLucideIcon-BVGkzDZC.js → createLucideIcon-CL4htJAF.js} +0 -0
  314. /package/dist/{dist-DRmqW28Z2.js → dist-BHslNQd82.js} +0 -0
  315. /package/dist/{dist-ByyYBtbL.js → dist-C4El7dZ5.js} +0 -0
  316. /package/dist/{dist-DstQl8xY.js → dist-Cf-pDuuw.js} +0 -0
  317. /package/dist/{dist-C8r5DW7s.js → dist-D6dB-_Oy.js} +0 -0
  318. /package/dist/{dist-BL-H4bEw2.js → dist-DxDE5irg2.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { t as i } from "./dist-DXJSck4j.js";
2
- import { t as p } from "./utils-DHuiYnx1.js";
1
+ import { t as i } from "./dist-CMPkuWNy.js";
2
+ import { t as p } from "./utils-COaoD3PI.js";
3
3
  import { useSelectContext as s } from "./components/Select/contexts/select.hook.js";
4
4
  import { listGroupLabelVariants as m } from "./components/Select/components/List/List.variants.js";
5
5
  import { additionalOptionSlotClassName as l } from "./components/Select/components/AdditionalOptions/AdditionalOptions.variants.js";
@@ -1,7 +1,7 @@
1
- import { n as u } from "./dist-ByyYBtbL.js";
2
- import { t as O } from "./utils-DHuiYnx1.js";
3
- import { a as w, s as I } from "./dist-uVUx9i0a.js";
4
- import { c as x, d as M, f as A, l as $, n as F, o as L, r as B, s as G, t as f, u as j } from "./dist-COY3FRYC.js";
1
+ import { n as u } from "./dist-C4El7dZ5.js";
2
+ import { t as O } from "./utils-COaoD3PI.js";
3
+ import { a as w, s as I } from "./dist-D_9sBzad.js";
4
+ import { c as x, d as M, f as A, l as $, n as F, o as L, r as B, s as G, t as f, u as j } from "./dist-B5WmTRxj.js";
5
5
  import { Button as W } from "./components/Button/Button.js";
6
6
  import * as i from "react";
7
7
  import { forwardRef as Y } from "react";
@@ -1,6 +1,6 @@
1
- import { o as g } from "./chunk-D1xtDmiO.js";
2
- import { t as v } from "./prop-types-DTnODft1.js";
3
- import { t as u } from "./utils-DHuiYnx1.js";
1
+ import { o as g } from "./chunk-cI0lbGMq.js";
2
+ import { t as v } from "./prop-types-CE0Kfmwk.js";
3
+ import { t as u } from "./utils-COaoD3PI.js";
4
4
  import { breadcrumbVariants as b, breadcrumbWrapperVariants as y } from "./components/Breadcrumb/Breadcrumb.variants.js";
5
5
  import { Item as O } from "./components/Breadcrumb/components/Item/Item.js";
6
6
  import d, { Fragment as j, forwardRef as w, useId as _ } from "react";
@@ -1,11 +1,11 @@
1
- import { o as G } from "./chunk-D1xtDmiO.js";
2
- import { t as U } from "./prop-types-DTnODft1.js";
3
- import { n as B } from "./dist-ByyYBtbL.js";
4
- import { t as w } from "./utils-DHuiYnx1.js";
5
- import { a as S, r as V, s as X, t as I } from "./dist-uVUx9i0a.js";
6
- import { t as J } from "./dist-DpqiA4Yn.js";
7
- import { t as Q } from "./dist-BL-H4bEw2.js";
8
- import { t as Y } from "./dist-DeVdyMHW2.js";
1
+ import { o as G } from "./chunk-cI0lbGMq.js";
2
+ import { t as U } from "./prop-types-CE0Kfmwk.js";
3
+ import { n as B } from "./dist-C4El7dZ5.js";
4
+ import { t as w } from "./utils-COaoD3PI.js";
5
+ import { a as S, r as V, s as X, t as I } from "./dist-D_9sBzad.js";
6
+ import { t as J } from "./dist-DF7Yi2EK.js";
7
+ import { t as Q } from "./dist-DxDE5irg2.js";
8
+ import { t as Y } from "./dist-X40eHC8j2.js";
9
9
  import { useToggle as Z } from "./hooks/useToggle.js";
10
10
  import { checkboxVariants as ee, labelVariants as te } from "./components/Checkbox/Checkbox.variants.js";
11
11
  import * as p from "react";
@@ -1,8 +1,8 @@
1
- import { o as v } from "./chunk-D1xtDmiO.js";
2
- import { t as y } from "./prop-types-DTnODft1.js";
3
- import { t as c } from "./utils-DHuiYnx1.js";
1
+ import { o as v } from "./chunk-cI0lbGMq.js";
2
+ import { t as y } from "./prop-types-CE0Kfmwk.js";
3
+ import { t as c } from "./utils-COaoD3PI.js";
4
4
  import { inputVariants as g, searchInconInputVariants as h } from "./components/Command/Command.variants.js";
5
- import { t as m } from "./dist-DNSmoWJp.js";
5
+ import { t as m } from "./dist-CPK4FXV9.js";
6
6
  import p, { forwardRef as u } from "react";
7
7
  import { jsx as f, jsxs as b } from "react/jsx-runtime";
8
8
  var a = /* @__PURE__ */ v(y());
@@ -1,7 +1,7 @@
1
- import { o as W } from "./chunk-D1xtDmiO.js";
2
- import { t as M } from "./prop-types-DTnODft1.js";
3
- import { t as j } from "./dist-CBnErrr1.js";
4
- import { t as f } from "./utils-DHuiYnx1.js";
1
+ import { o as W } from "./chunk-cI0lbGMq.js";
2
+ import { t as M } from "./prop-types-CE0Kfmwk.js";
3
+ import { t as j } from "./dist-EV-1XXQr.js";
4
+ import { t as f } from "./utils-COaoD3PI.js";
5
5
  import { Typography as T } from "./components/Typography/Typography.js";
6
6
  import { buttonVariants as N, counterVariants as V, labelVariants as C } from "./components/Counter/Counter.variants.js";
7
7
  import m, { forwardRef as g, useCallback as k, useId as R } from "react";
@@ -1,4 +1,4 @@
1
- import { r as Qe } from "./chunk-D1xtDmiO.js";
1
+ import { r as Qe } from "./chunk-cI0lbGMq.js";
2
2
  import d, { createContext as Nn, useCallback as $, useContext as Cn, useEffect as Yn, useLayoutEffect as Tn, useMemo as Se, useRef as Ne, useState as Ze } from "react";
3
3
  function xn(e, t, n = "long") {
4
4
  return new Intl.DateTimeFormat("en-US", {
@@ -1,6 +1,6 @@
1
- import { o as x } from "./chunk-D1xtDmiO.js";
2
- import { t as C } from "./prop-types-DTnODft1.js";
3
- import { t as l } from "./utils-DHuiYnx1.js";
1
+ import { o as x } from "./chunk-cI0lbGMq.js";
2
+ import { t as C } from "./prop-types-CE0Kfmwk.js";
3
+ import { t as l } from "./utils-COaoD3PI.js";
4
4
  import { Button as E } from "./components/Button/Button.js";
5
5
  import v, { forwardRef as _, useCallback as h, useEffect as z, useRef as w, useState as L } from "react";
6
6
  import { jsx as d, jsxs as b } from "react/jsx-runtime";
@@ -1,30 +1,30 @@
1
- import { t as y } from "./utils-DHuiYnx1.js";
2
- import { Typography as M } from "./components/Typography/Typography.js";
3
- import { usePhoneNumberContext as _ } from "./components/PhoneNumberInput/contexts/phone-number.hook.js";
4
- import { TruncateText as T } from "./components/PhoneNumberInput/components/TruncateText/TruncateText.js";
5
- import * as E from "react";
6
- import { useEffect as N, useMemo as k, useRef as D } from "react";
7
- import { flushSync as W } from "react-dom";
8
- import { jsx as m, jsxs as L } from "react/jsx-runtime";
9
- function b(r, t, e) {
1
+ import { t as M } from "./utils-COaoD3PI.js";
2
+ import { Typography as I } from "./components/Typography/Typography.js";
3
+ import { usePhoneNumberContext as N } from "./components/PhoneNumberInput/contexts/phone-number.hook.js";
4
+ import { TruncateText as k } from "./components/PhoneNumberInput/components/TruncateText/TruncateText.js";
5
+ import * as w from "react";
6
+ import { useEffect as D, useMemo as L, useRef as W } from "react";
7
+ import { flushSync as V } from "react-dom";
8
+ import { jsx as m, jsxs as j } from "react/jsx-runtime";
9
+ function x(r, t, e) {
10
10
  let s = e.initialDeps ?? [], n, l = !0;
11
11
  function i() {
12
- var o, h, c;
13
- let u;
14
- e.key && ((o = e.debug) != null && o.call(e)) && (u = Date.now());
15
- const a = r();
16
- if (!(a.length !== s.length || a.some((v, f) => s[f] !== v))) return n;
17
- s = a;
18
- let d;
19
- if (e.key && ((h = e.debug) != null && h.call(e)) && (d = Date.now()), n = t(...a), e.key && ((c = e.debug) != null && c.call(e))) {
20
- const v = Math.round((Date.now() - u) * 100) / 100, f = Math.round((Date.now() - d) * 100) / 100, S = f / 16, x = (g, w) => {
21
- for (g = String(g); g.length < w; ) g = " " + g;
22
- return g;
12
+ var o, h, u;
13
+ let c;
14
+ e.key && ((o = e.debug) != null && o.call(e)) && (c = Date.now());
15
+ const d = r();
16
+ if (!(d.length !== s.length || d.some((f, v) => s[v] !== f))) return n;
17
+ s = d;
18
+ let a;
19
+ if (e.key && ((h = e.debug) != null && h.call(e)) && (a = Date.now()), n = t(...d), e.key && ((u = e.debug) != null && u.call(e))) {
20
+ const f = Math.round((Date.now() - c) * 100) / 100, v = Math.round((Date.now() - a) * 100) / 100, g = v / 16, S = (p, E) => {
21
+ for (p = String(p); p.length < E; ) p = " " + p;
22
+ return p;
23
23
  };
24
- console.info(`%c⏱ ${x(f, 5)} /${x(v, 5)} ms`, `
24
+ console.info(`%c⏱ ${S(v, 5)} /${S(f, 5)} ms`, `
25
25
  font-size: .6rem;
26
26
  font-weight: bold;
27
- color: hsl(${Math.max(0, Math.min(120 - 120 * S, 120))}deg 100% 31%);`, e?.key);
27
+ color: hsl(${Math.max(0, Math.min(120 - 120 * g, 120))}deg 100% 31%);`, e?.key);
28
28
  }
29
29
  return e?.onChange && !(l && e.skipInitialOnChange) && e.onChange(n), l = !1, n;
30
30
  }
@@ -32,26 +32,26 @@ function b(r, t, e) {
32
32
  s = o;
33
33
  }, i;
34
34
  }
35
- function I(r, t) {
35
+ function z(r, t) {
36
36
  if (r === void 0) throw new Error(`Unexpected undefined${t ? `: ${t}` : ""}`);
37
37
  return r;
38
38
  }
39
- var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
39
+ var P = (r, t) => Math.abs(r - t) < 1.01, B = (r, t, e) => {
40
40
  let s;
41
41
  return function(...n) {
42
42
  r.clearTimeout(s), s = r.setTimeout(() => t.apply(this, n), e);
43
43
  };
44
- }, z = (r) => {
44
+ }, C = (r) => {
45
45
  const { offsetWidth: t, offsetHeight: e } = r;
46
46
  return {
47
47
  width: t,
48
48
  height: e
49
49
  };
50
- }, P = (r) => r, B = (r) => {
50
+ }, H = (r) => r, $ = (r) => {
51
51
  const t = Math.max(r.startIndex - r.overscan, 0), e = Math.min(r.endIndex + r.overscan, r.count - 1), s = [];
52
52
  for (let n = t; n <= e; n++) s.push(n);
53
53
  return s;
54
- }, H = (r, t) => {
54
+ }, q = (r, t) => {
55
55
  const e = r.scrollElement;
56
56
  if (!e) return;
57
57
  const s = r.targetWindow;
@@ -63,60 +63,60 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
63
63
  height: Math.round(h)
64
64
  });
65
65
  };
66
- if (n(z(e)), !s.ResizeObserver) return () => {
66
+ if (n(C(e)), !s.ResizeObserver) return () => {
67
67
  };
68
68
  const l = new s.ResizeObserver((i) => {
69
69
  const o = () => {
70
70
  const h = i[0];
71
71
  if (h?.borderBoxSize) {
72
- const c = h.borderBoxSize[0];
73
- if (c) {
72
+ const u = h.borderBoxSize[0];
73
+ if (u) {
74
74
  n({
75
- width: c.inlineSize,
76
- height: c.blockSize
75
+ width: u.inlineSize,
76
+ height: u.blockSize
77
77
  });
78
78
  return;
79
79
  }
80
80
  }
81
- n(z(e));
81
+ n(C(e));
82
82
  };
83
83
  r.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(o) : o();
84
84
  });
85
85
  return l.observe(e, { box: "border-box" }), () => {
86
86
  l.unobserve(e);
87
87
  };
88
- }, C = { passive: !0 }, A = typeof window > "u" ? !0 : "onscrollend" in window, $ = (r, t) => {
88
+ }, A = { passive: !0 }, F = typeof window > "u" ? !0 : "onscrollend" in window, K = (r, t) => {
89
89
  const e = r.scrollElement;
90
90
  if (!e) return;
91
91
  const s = r.targetWindow;
92
92
  if (!s) return;
93
93
  let n = 0;
94
- const l = r.options.useScrollendEvent && A ? () => {
95
- } : j(s, () => {
94
+ const l = r.options.useScrollendEvent && F ? () => {
95
+ } : B(s, () => {
96
96
  t(n, !1);
97
- }, r.options.isScrollingResetDelay), i = (u) => () => {
98
- const { horizontal: a, isRtl: d } = r.options;
99
- n = a ? e.scrollLeft * (d && -1 || 1) : e.scrollTop, l(), t(n, u);
97
+ }, r.options.isScrollingResetDelay), i = (c) => () => {
98
+ const { horizontal: d, isRtl: a } = r.options;
99
+ n = d ? e.scrollLeft * (a && -1 || 1) : e.scrollTop, l(), t(n, c);
100
100
  }, o = i(!0), h = i(!1);
101
- e.addEventListener("scroll", o, C);
102
- const c = r.options.useScrollendEvent && A;
103
- return c && e.addEventListener("scrollend", h, C), () => {
104
- e.removeEventListener("scroll", o), c && e.removeEventListener("scrollend", h);
101
+ e.addEventListener("scroll", o, A);
102
+ const u = r.options.useScrollendEvent && F;
103
+ return u && e.addEventListener("scrollend", h, A), () => {
104
+ e.removeEventListener("scroll", o), u && e.removeEventListener("scrollend", h);
105
105
  };
106
- }, q = (r, t, e) => {
106
+ }, U = (r, t, e) => {
107
107
  if (t?.borderBoxSize) {
108
108
  const s = t.borderBoxSize[0];
109
109
  if (s) return Math.round(s[e.options.horizontal ? "inlineSize" : "blockSize"]);
110
110
  }
111
111
  return r[e.options.horizontal ? "offsetWidth" : "offsetHeight"];
112
- }, K = (r, { adjustments: t = 0, behavior: e }, s) => {
112
+ }, G = (r, { adjustments: t = 0, behavior: e }, s) => {
113
113
  var n, l;
114
114
  const i = r + t;
115
115
  (l = (n = s.scrollElement) == null ? void 0 : n.scrollTo) == null || l.call(n, {
116
116
  [s.options.horizontal ? "left" : "top"]: i,
117
117
  behavior: e
118
118
  });
119
- }, U = class {
119
+ }, J = class {
120
120
  constructor(r) {
121
121
  this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this.itemSizeCache = /* @__PURE__ */ new Map(), this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMeasuredCacheIndexes = [], this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
122
122
  var t, e, s;
@@ -162,11 +162,11 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
162
162
  scrollPaddingStart: 0,
163
163
  scrollPaddingEnd: 0,
164
164
  horizontal: !1,
165
- getItemKey: P,
166
- rangeExtractor: B,
165
+ getItemKey: H,
166
+ rangeExtractor: $,
167
167
  onChange: () => {
168
168
  },
169
- measureElement: q,
169
+ measureElement: U,
170
170
  initialRect: {
171
171
  width: 0,
172
172
  height: 0
@@ -181,12 +181,13 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
181
181
  isRtl: !1,
182
182
  useScrollendEvent: !1,
183
183
  useAnimationFrameWithResizeObserver: !1,
184
+ laneAssignmentMode: "estimate",
184
185
  ...t
185
186
  };
186
187
  }, this.notify = (t) => {
187
188
  var e, s;
188
189
  (s = (e = this.options).onChange) == null || s.call(e, this, t);
189
- }, this.maybeNotify = b(() => (this.calculateRange(), [
190
+ }, this.maybeNotify = x(() => (this.calculateRange(), [
190
191
  this.isScrolling,
191
192
  this.range ? this.range.startIndex : null,
192
193
  this.range ? this.range.endIndex : null
@@ -232,21 +233,23 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
232
233
  if (o == null || i.end > o.end ? n.set(i.lane, i) : i.end < o.end && s.set(i.lane, !0), s.size === this.options.lanes) break;
233
234
  }
234
235
  return n.size === this.options.lanes ? Array.from(n.values()).sort((l, i) => l.end === i.end ? l.index - i.index : l.end - i.end)[0] : void 0;
235
- }, this.getMeasurementOptions = b(() => [
236
+ }, this.getMeasurementOptions = x(() => [
236
237
  this.options.count,
237
238
  this.options.paddingStart,
238
239
  this.options.scrollMargin,
239
240
  this.options.getItemKey,
240
241
  this.options.enabled,
241
- this.options.lanes
242
- ], (t, e, s, n, l, i) => (this.prevLanes !== void 0 && this.prevLanes !== i && (this.lanesChangedFlag = !0), this.prevLanes = i, this.pendingMeasuredCacheIndexes = [], {
242
+ this.options.lanes,
243
+ this.options.laneAssignmentMode
244
+ ], (t, e, s, n, l, i, o) => (this.prevLanes !== void 0 && this.prevLanes !== i && (this.lanesChangedFlag = !0), this.prevLanes = i, this.pendingMeasuredCacheIndexes = [], {
243
245
  count: t,
244
246
  paddingStart: e,
245
247
  scrollMargin: s,
246
248
  getItemKey: n,
247
249
  enabled: l,
248
- lanes: i
249
- }), { key: !1 }), this.getMeasurements = b(() => [this.getMeasurementOptions(), this.itemSizeCache], ({ count: t, paddingStart: e, scrollMargin: s, getItemKey: n, enabled: l, lanes: i }, o) => {
250
+ lanes: i,
251
+ laneAssignmentMode: o
252
+ }), { key: !1 }), this.getMeasurements = x(() => [this.getMeasurementOptions(), this.itemSizeCache], ({ count: t, paddingStart: e, scrollMargin: s, getItemKey: n, enabled: l, lanes: i, laneAssignmentMode: o }, h) => {
250
253
  if (!l)
251
254
  return this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
252
255
  if (this.laneAssignments.size > t)
@@ -254,44 +257,45 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
254
257
  this.lanesChangedFlag && (this.lanesChangedFlag = !1, this.lanesSettling = !0, this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), this.pendingMeasuredCacheIndexes = []), this.measurementsCache.length === 0 && !this.lanesSettling && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((a) => {
255
258
  this.itemSizeCache.set(a.key, a.size);
256
259
  }));
257
- const h = this.lanesSettling ? 0 : this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
260
+ const u = this.lanesSettling ? 0 : this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
258
261
  this.pendingMeasuredCacheIndexes = [], this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = !1);
259
- const c = this.measurementsCache.slice(0, h), u = new Array(i).fill(void 0);
260
- for (let a = 0; a < h; a++) {
261
- const d = c[a];
262
- d && (u[d.lane] = a);
262
+ const c = this.measurementsCache.slice(0, u), d = new Array(i).fill(void 0);
263
+ for (let a = 0; a < u; a++) {
264
+ const f = c[a];
265
+ f && (d[f.lane] = a);
263
266
  }
264
- for (let a = h; a < t; a++) {
265
- const d = n(a), v = this.laneAssignments.get(a);
266
- let f, S;
267
+ for (let a = u; a < t; a++) {
268
+ const f = n(a), v = this.laneAssignments.get(a);
269
+ let g, S;
270
+ const p = o === "estimate" || h.has(f);
267
271
  if (v !== void 0 && this.options.lanes > 1) {
268
- f = v;
269
- const p = u[f], O = p !== void 0 ? c[p] : void 0;
270
- S = O ? O.end + this.options.gap : e + s;
272
+ g = v;
273
+ const b = d[g], y = b !== void 0 ? c[b] : void 0;
274
+ S = y ? y.end + this.options.gap : e + s;
271
275
  } else {
272
- const p = this.options.lanes === 1 ? c[a - 1] : this.getFurthestMeasurement(c, a);
273
- S = p ? p.end + this.options.gap : e + s, f = p ? p.lane : a % this.options.lanes, this.options.lanes > 1 && this.laneAssignments.set(a, f);
276
+ const b = this.options.lanes === 1 ? c[a - 1] : this.getFurthestMeasurement(c, a);
277
+ S = b ? b.end + this.options.gap : e + s, g = b ? b.lane : a % this.options.lanes, this.options.lanes > 1 && p && this.laneAssignments.set(a, g);
274
278
  }
275
- const x = o.get(d), g = typeof x == "number" ? x : this.options.estimateSize(a), w = S + g;
279
+ const E = h.get(f), O = typeof E == "number" ? E : this.options.estimateSize(a), T = S + O;
276
280
  c[a] = {
277
281
  index: a,
278
282
  start: S,
279
- size: g,
280
- end: w,
281
- key: d,
282
- lane: f
283
- }, u[f] = a;
283
+ size: O,
284
+ end: T,
285
+ key: f,
286
+ lane: g
287
+ }, d[g] = a;
284
288
  }
285
289
  return this.measurementsCache = c, c;
286
290
  }, {
287
291
  key: process.env.NODE_ENV !== "production" && "getMeasurements",
288
292
  debug: () => this.options.debug
289
- }), this.calculateRange = b(() => [
293
+ }), this.calculateRange = x(() => [
290
294
  this.getMeasurements(),
291
295
  this.getSize(),
292
296
  this.getScrollOffset(),
293
297
  this.options.lanes
294
- ], (t, e, s, n) => this.range = t.length > 0 && e > 0 ? G({
298
+ ], (t, e, s, n) => this.range = t.length > 0 && e > 0 ? Q({
295
299
  measurements: t,
296
300
  outerSize: e,
297
301
  scrollOffset: s,
@@ -299,7 +303,7 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
299
303
  }) : null, {
300
304
  key: process.env.NODE_ENV !== "production" && "calculateRange",
301
305
  debug: () => this.options.debug
302
- }), this.getVirtualIndexes = b(() => {
306
+ }), this.getVirtualIndexes = x(() => {
303
307
  let t = null, e = null;
304
308
  const s = this.calculateRange();
305
309
  return s && (t = s.startIndex, e = s.endIndex), this.maybeNotify.updateDeps([
@@ -351,7 +355,7 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
351
355
  adjustments: this.scrollAdjustments += l,
352
356
  behavior: void 0
353
357
  })), this.pendingMeasuredCacheIndexes.push(n.index), this.itemSizeCache = new Map(this.itemSizeCache.set(n.key, e)), this.notify(!1));
354
- }, this.getVirtualItems = b(() => [this.getVirtualIndexes(), this.getMeasurements()], (t, e) => {
358
+ }, this.getVirtualItems = x(() => [this.getVirtualIndexes(), this.getMeasurements()], (t, e) => {
355
359
  const s = [];
356
360
  for (let n = 0, l = t.length; n < l; n++) {
357
361
  const i = e[t[n]];
@@ -364,7 +368,7 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
364
368
  }), this.getVirtualItemForOffset = (t) => {
365
369
  const e = this.getMeasurements();
366
370
  if (e.length !== 0)
367
- return I(e[R(0, e.length - 1, (s) => I(e[s]).start, t)]);
371
+ return z(e[_(0, e.length - 1, (s) => z(e[s]).start, t)]);
368
372
  }, this.getMaxScrollOffset = () => {
369
373
  if (!this.scrollElement) return 0;
370
374
  if ("scrollHeight" in this.scrollElement) return this.options.horizontal ? this.scrollElement.scrollWidth - this.scrollElement.clientWidth : this.scrollElement.scrollHeight - this.scrollElement.clientHeight;
@@ -389,12 +393,12 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
389
393
  const i = e === "end" ? l.end + this.options.scrollPaddingEnd : l.start - this.options.scrollPaddingStart;
390
394
  return [this.getOffsetForAlignment(i, e, l.size), e];
391
395
  }, this.scrollToOffset = (t, { align: e = "start", behavior: s = "auto" } = {}) => {
392
- const n = this.getOffsetForAlignment(t, e);
396
+ const n = this.getOffsetForAlignment(t, e), l = this.now();
393
397
  this.scrollState = {
394
398
  index: null,
395
399
  align: e,
396
400
  behavior: s,
397
- startedAt: this.now(),
401
+ startedAt: l,
398
402
  lastTargetOffset: n,
399
403
  stableFrames: 0
400
404
  }, this._scrollToOffset(n, {
@@ -418,12 +422,12 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
418
422
  behavior: s
419
423
  }), this.scheduleScrollReconcile();
420
424
  }, this.scrollBy = (t, { behavior: e = "auto" } = {}) => {
421
- const s = this.getScrollOffset() + t;
425
+ const s = this.getScrollOffset() + t, n = this.now();
422
426
  this.scrollState = {
423
427
  index: null,
424
428
  align: "start",
425
429
  behavior: e,
426
- startedAt: this.now(),
430
+ startedAt: n,
427
431
  lastTargetOffset: s,
428
432
  stableFrames: 0
429
433
  }, this._scrollToOffset(s, {
@@ -471,7 +475,7 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
471
475
  return;
472
476
  }
473
477
  const r = this.scrollState.index != null ? this.getOffsetForIndex(this.scrollState.index, this.scrollState.align) : void 0, t = r ? r[0] : this.scrollState.lastTargetOffset, e = 1, s = t !== this.scrollState.lastTargetOffset;
474
- if (!s && V(t, this.getScrollOffset())) {
478
+ if (!s && P(t, this.getScrollOffset())) {
475
479
  if (this.scrollState.stableFrames++, this.scrollState.stableFrames >= e) {
476
480
  this.scrollState = null;
477
481
  return;
@@ -483,7 +487,7 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
483
487
  }));
484
488
  this.scheduleScrollReconcile();
485
489
  }
486
- }, R = (r, t, e, s) => {
490
+ }, _ = (r, t, e, s) => {
487
491
  for (; r <= t; ) {
488
492
  const n = (r + t) / 2 | 0, l = e(n);
489
493
  if (l < s) r = n + 1;
@@ -492,24 +496,24 @@ var V = (r, t) => Math.abs(r - t) < 1.01, j = (r, t, e) => {
492
496
  }
493
497
  return r > 0 ? r - 1 : 0;
494
498
  };
495
- function G({ measurements: r, outerSize: t, scrollOffset: e, lanes: s }) {
499
+ function Q({ measurements: r, outerSize: t, scrollOffset: e, lanes: s }) {
496
500
  const n = r.length - 1, l = (h) => r[h].start;
497
501
  if (r.length <= s) return {
498
502
  startIndex: 0,
499
503
  endIndex: n
500
504
  };
501
- let i = R(0, n, l, e), o = i;
505
+ let i = _(0, n, l, e), o = i;
502
506
  if (s === 1) for (; o < n && r[o].end < e + t; ) o++;
503
507
  else if (s > 1) {
504
508
  const h = Array(s).fill(0);
505
- for (; o < n && h.some((u) => u < e + t); ) {
506
- const u = r[o];
507
- h[u.lane] = u.end, o++;
509
+ for (; o < n && h.some((c) => c < e + t); ) {
510
+ const c = r[o];
511
+ h[c.lane] = c.end, o++;
508
512
  }
509
- const c = Array(s).fill(e + t);
510
- for (; i >= 0 && c.some((u) => u >= e); ) {
511
- const u = r[i];
512
- c[u.lane] = u.start, i--;
513
+ const u = Array(s).fill(e + t);
514
+ for (; i >= 0 && u.some((c) => c >= e); ) {
515
+ const c = r[i];
516
+ u[c.lane] = c.start, i--;
513
517
  }
514
518
  i = Math.max(0, i - i % s), o = Math.min(n, o + (s - 1 - o % s));
515
519
  }
@@ -518,33 +522,33 @@ function G({ measurements: r, outerSize: t, scrollOffset: e, lanes: s }) {
518
522
  endIndex: o
519
523
  };
520
524
  }
521
- var F = typeof document < "u" ? E.useLayoutEffect : E.useEffect;
522
- function J({ useFlushSync: r = !0, ...t }) {
523
- const e = E.useReducer(() => ({}), {})[1], s = {
525
+ var R = typeof document < "u" ? w.useLayoutEffect : w.useEffect;
526
+ function X({ useFlushSync: r = !0, ...t }) {
527
+ const e = w.useReducer(() => ({}), {})[1], s = {
524
528
  ...t,
525
529
  onChange: (l, i) => {
526
530
  var o;
527
- r && i ? W(e) : e(), (o = t.onChange) == null || o.call(t, l, i);
531
+ r && i ? V(e) : e(), (o = t.onChange) == null || o.call(t, l, i);
528
532
  }
529
- }, [n] = E.useState(() => new U(s));
530
- return n.setOptions(s), F(() => n._didMount(), []), F(() => n._willUpdate()), n;
533
+ }, [n] = w.useState(() => new J(s));
534
+ return n.setOptions(s), R(() => n._didMount(), []), R(() => n._willUpdate()), n;
531
535
  }
532
- function Q(r) {
533
- return J({
534
- observeElementRect: H,
535
- observeElementOffset: $,
536
- scrollToFn: K,
536
+ function Y(r) {
537
+ return X({
538
+ observeElementRect: q,
539
+ observeElementOffset: K,
540
+ scrollToFn: G,
537
541
  ...r
538
542
  });
539
543
  }
540
- var ie = ({ showFlagOnSearch: r, showNameOnSearch: t }) => {
541
- const e = D(null), { termOfSearch: s, countries: n, handleSelectCountry: l } = _(), i = k(() => n.filter((h) => h.name.toLocaleLowerCase().includes(s.toLowerCase())), [s]), o = Q({
544
+ var re = ({ showFlagOnSearch: r, showNameOnSearch: t }) => {
545
+ const e = W(null), { termOfSearch: s, countries: n, handleSelectCountry: l } = N(), i = L(() => n.filter((h) => h.name.toLocaleLowerCase().includes(s.toLowerCase())), [s]), o = Y({
542
546
  count: i.length,
543
547
  overscan: 5,
544
548
  getScrollElement: () => e.current,
545
549
  estimateSize: () => 40
546
550
  });
547
- return N(() => {
551
+ return D(() => {
548
552
  i.length > 0 && o.scrollToIndex(0);
549
553
  }, [s, o]), i.length === 0 ? /* @__PURE__ */ m("div", {
550
554
  className: "overflow-y-auto max-h-60 snap-y snap-mandatory",
@@ -552,7 +556,7 @@ var ie = ({ showFlagOnSearch: r, showNameOnSearch: t }) => {
552
556
  className: "relative",
553
557
  children: /* @__PURE__ */ m("li", {
554
558
  className: "w-full flex items-center h-10 select-none px-6",
555
- children: /* @__PURE__ */ m(M, {
559
+ children: /* @__PURE__ */ m(I, {
556
560
  variant: "body2",
557
561
  component: "span",
558
562
  className: "flex gap-2 items-center text-left",
@@ -567,23 +571,23 @@ var ie = ({ showFlagOnSearch: r, showNameOnSearch: t }) => {
567
571
  className: "relative",
568
572
  style: { height: o.getTotalSize() },
569
573
  children: o.getVirtualItems().map((h) => {
570
- const c = i[h.index], { flag: u, name: a, prefix: d } = c;
574
+ const u = i[h.index], { flag: c, name: d, prefix: a } = u;
571
575
  return /* @__PURE__ */ m("li", {
572
- className: y("absolute", "w-full", "snap-start", "snap-always", "scroll-m-0", "flex", "items-center", "h-10"),
576
+ className: M("absolute", "w-full", "snap-start", "snap-always", "scroll-m-0", "flex", "items-center", "h-10"),
573
577
  style: {
574
578
  top: h.start,
575
579
  height: h.size
576
580
  },
577
581
  children: /* @__PURE__ */ m("button", {
578
- className: y("w-full", "h-full", "cursor-pointer", "px-6", "hover:bg-gray-50", "transition-colors", "duration-150", "focus-visible:outline-0", "hover:outline-gray-100", "focus:bg-gray-50", "dark:hover:bg-metal-700"),
579
- onClick: () => l(c),
580
- children: /* @__PURE__ */ L(M, {
582
+ className: M("w-full", "h-full", "cursor-pointer", "px-6", "hover:bg-gray-50", "transition-colors", "duration-150", "focus-visible:outline-0", "hover:outline-gray-100", "focus:bg-gray-50", "dark:hover:bg-metal-700"),
583
+ onClick: () => l(u),
584
+ children: /* @__PURE__ */ j(I, {
581
585
  variant: "body2",
582
586
  component: "span",
583
587
  className: "flex gap-2 items-center text-left",
584
- children: [r && /* @__PURE__ */ m(u, {}), t && /* @__PURE__ */ m(T, {
585
- text: a,
586
- prefix: d
588
+ children: [r && /* @__PURE__ */ m(c, {}), t && /* @__PURE__ */ m(k, {
589
+ text: d,
590
+ prefix: a
587
591
  })]
588
592
  })
589
593
  })
@@ -593,5 +597,5 @@ var ie = ({ showFlagOnSearch: r, showNameOnSearch: t }) => {
593
597
  });
594
598
  };
595
599
  export {
596
- ie as t
600
+ re as t
597
601
  };