@konstructio/ui 0.1.2-alpha.77 → 0.1.2-alpha.78

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 (329) hide show
  1. package/dist/AdditionalOptions-C2FDVZhu.js +45 -0
  2. package/dist/Modal-DAWdufZ_.js +120 -0
  3. package/dist/assets/icons/components/Accounts.js +35 -23
  4. package/dist/assets/icons/components/AddChart.js +26 -20
  5. package/dist/assets/icons/components/AlertOutline.js +26 -20
  6. package/dist/assets/icons/components/AppRepo.js +26 -20
  7. package/dist/assets/icons/components/Apps.js +26 -20
  8. package/dist/assets/icons/components/Archives.js +26 -20
  9. package/dist/assets/icons/components/ArrowDown.js +26 -20
  10. package/dist/assets/icons/components/ArrowLeft.js +26 -20
  11. package/dist/assets/icons/components/ArrowRight.js +26 -20
  12. package/dist/assets/icons/components/ArrowUp.js +25 -19
  13. package/dist/assets/icons/components/BarChart.js +36 -24
  14. package/dist/assets/icons/components/BookOpen.js +30 -20
  15. package/dist/assets/icons/components/CalendarMonth.js +26 -20
  16. package/dist/assets/icons/components/Check.js +26 -20
  17. package/dist/assets/icons/components/CheckCircleFilled.js +29 -25
  18. package/dist/assets/icons/components/CheckCircleOutline.js +26 -20
  19. package/dist/assets/icons/components/CheckboxMarkedCircleOutline.js +24 -20
  20. package/dist/assets/icons/components/ClockAlert.js +26 -20
  21. package/dist/assets/icons/components/ClockOutline.js +26 -20
  22. package/dist/assets/icons/components/Close.js +26 -20
  23. package/dist/assets/icons/components/Cloud.js +20 -20
  24. package/dist/assets/icons/components/CloudLockOutline.js +26 -20
  25. package/dist/assets/icons/components/Clusters.js +42 -24
  26. package/dist/assets/icons/components/CogOutline.js +26 -20
  27. package/dist/assets/icons/components/Copy.js +26 -20
  28. package/dist/assets/icons/components/Cpu.js +39 -23
  29. package/dist/assets/icons/components/Cube.js +26 -20
  30. package/dist/assets/icons/components/Datacenter.js +26 -20
  31. package/dist/assets/icons/components/Delete.js +26 -20
  32. package/dist/assets/icons/components/DollarSign.js +28 -20
  33. package/dist/assets/icons/components/Download.js +26 -20
  34. package/dist/assets/icons/components/Edit.js +26 -20
  35. package/dist/assets/icons/components/Ellipses.js +26 -20
  36. package/dist/assets/icons/components/Environments.js +28 -20
  37. package/dist/assets/icons/components/Error.js +26 -20
  38. package/dist/assets/icons/components/ErrorOutline.js +26 -20
  39. package/dist/assets/icons/components/Exclamation.js +26 -20
  40. package/dist/assets/icons/components/Git.js +26 -20
  41. package/dist/assets/icons/components/GitOpsCatalog.js +39 -23
  42. package/dist/assets/icons/components/GridView.js +20 -20
  43. package/dist/assets/icons/components/Help.js +23 -25
  44. package/dist/assets/icons/components/HideOutline.js +35 -23
  45. package/dist/assets/icons/components/Home.js +26 -20
  46. package/dist/assets/icons/components/Home2.js +26 -20
  47. package/dist/assets/icons/components/Id.js +25 -19
  48. package/dist/assets/icons/components/InfoCircle.js +29 -25
  49. package/dist/assets/icons/components/InformationOutline.js +26 -20
  50. package/dist/assets/icons/components/InvoiceList.js +26 -20
  51. package/dist/assets/icons/components/Key.js +26 -20
  52. package/dist/assets/icons/components/LightBulb.js +41 -23
  53. package/dist/assets/icons/components/Loader.js +26 -20
  54. package/dist/assets/icons/components/Network.js +26 -20
  55. package/dist/assets/icons/components/PagesStack.js +23 -25
  56. package/dist/assets/icons/components/Pageview.js +26 -20
  57. package/dist/assets/icons/components/People.js +26 -20
  58. package/dist/assets/icons/components/PhotoLibrary.js +25 -19
  59. package/dist/assets/icons/components/Pipeline.js +28 -20
  60. package/dist/assets/icons/components/Plus.js +26 -20
  61. package/dist/assets/icons/components/PowerSettings.js +26 -20
  62. package/dist/assets/icons/components/Preview.js +26 -20
  63. package/dist/assets/icons/components/ReceiptLong.js +20 -20
  64. package/dist/assets/icons/components/Refresh.js +26 -20
  65. package/dist/assets/icons/components/ScatterPlot.js +20 -20
  66. package/dist/assets/icons/components/Search.js +30 -25
  67. package/dist/assets/icons/components/Server.js +26 -20
  68. package/dist/assets/icons/components/Start.js +26 -20
  69. package/dist/assets/icons/components/TabNew.js +48 -24
  70. package/dist/assets/icons/components/Teams.js +26 -20
  71. package/dist/assets/icons/components/Upload.js +25 -19
  72. package/dist/assets/icons/components/Warning.js +26 -20
  73. package/dist/assets/icons/components/WarningTriangle.js +26 -20
  74. package/dist/assets/icons/components/X.js +26 -20
  75. package/dist/components/Alert/Alert.js +61 -78
  76. package/dist/components/Alert/Alert.variants.js +85 -30
  77. package/dist/components/AlertDialog/AlertDialog.js +128 -102
  78. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +2 -3
  79. package/dist/components/AlertDialog/components/index.js +1 -1
  80. package/dist/components/AlertDialog/hooks/useAlertDialog.js +7 -25
  81. package/dist/components/Autocomplete/Autocomplete.js +83 -55
  82. package/dist/components/Autocomplete/Autocomplete.variants.js +21 -1
  83. package/dist/components/Autocomplete/components/List/List.js +45 -48
  84. package/dist/components/Autocomplete/components/List/List.variants.js +29 -1
  85. package/dist/components/Autocomplete/hooks/useAutocomplete.js +58 -74
  86. package/dist/components/Autocomplete/hooks/useNavigationList.js +62 -68
  87. package/dist/components/Badge/Badge.js +77 -66
  88. package/dist/components/Badge/Badge.variants.js +96 -33
  89. package/dist/components/Breadcrumb/Breadcrumb.js +70 -78
  90. package/dist/components/Breadcrumb/Breadcrumb.variants.js +7 -1
  91. package/dist/components/Breadcrumb/components/Item/Item.js +47 -33
  92. package/dist/components/Breadcrumb/components/Item/Item.variants.js +63 -26
  93. package/dist/components/Button/Button.js +40 -37
  94. package/dist/components/Button/Button.variants.js +292 -96
  95. package/dist/components/ButtonGroup/ButtonGroup.js +138 -101
  96. package/dist/components/ButtonGroup/ButtonGroup.variants.js +31 -9
  97. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +113 -105
  98. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.js +94 -48
  99. package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +43 -26
  100. package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +35 -28
  101. package/dist/components/ButtonGroup/hooks/useButtonGroup.js +61 -63
  102. package/dist/components/Card/Card.js +35 -35
  103. package/dist/components/Card/Card.variants.js +37 -25
  104. package/dist/components/Checkbox/Checkbox.js +268 -247
  105. package/dist/components/Checkbox/Checkbox.variants.js +65 -18
  106. package/dist/components/Command/Command.js +38 -46
  107. package/dist/components/Command/Command.variants.js +44 -1
  108. package/dist/components/Command/components/Command.js +6 -19
  109. package/dist/components/Command/components/CommandEmpty.js +13 -11
  110. package/dist/components/Command/components/CommandGroup.js +17 -19
  111. package/dist/components/Command/components/CommandInput.js +52 -60
  112. package/dist/components/Command/components/CommandItem.js +26 -28
  113. package/dist/components/Command/components/CommandList.js +14 -19
  114. package/dist/components/Command/components/CommandSeparator.js +14 -19
  115. package/dist/components/Command/components/CommandShortcut.js +16 -16
  116. package/dist/components/Command/components/DialogContent.js +29 -35
  117. package/dist/components/Command/components/DialogOverlay.js +16 -18
  118. package/dist/components/Command/contexts/Command.provider.js +21 -23
  119. package/dist/components/Counter/Counter.js +154 -151
  120. package/dist/components/Counter/Counter.variants.js +53 -6
  121. package/dist/components/DateRangePicker/DateRangePicker.js +162 -93
  122. package/dist/components/DateRangePicker/DateRangePicker.variants.js +20 -1
  123. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.js +115 -81
  124. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.js +45 -1
  125. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +20 -14
  126. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +57 -50
  127. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +250 -55
  128. package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +37 -33
  129. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +94 -29
  130. package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +126 -10
  131. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +113 -138
  132. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +16 -2
  133. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +102 -68
  134. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.variants.js +22 -1
  135. package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +90 -55
  136. package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +90 -55
  137. package/dist/components/DateRangePicker/components/DateTimeInputs/hooks/useDateTimeInputs.js +177 -204
  138. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +63 -58
  139. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.variants.js +19 -1
  140. package/dist/components/DateRangePicker/constants/presets.js +7 -16
  141. package/dist/components/DateRangePicker/contexts/date-range-picker.hook.js +3 -1
  142. package/dist/components/DateRangePicker/contexts/date-range-picker.provider.js +171 -187
  143. package/dist/components/DateRangePicker/utils/disabled-dates.js +22 -16
  144. package/dist/components/DateRangePicker/utils/validation.js +17 -2
  145. package/dist/components/Datepicker/DatePicker.js +135 -80
  146. package/dist/components/Divider/Divider.js +7 -18
  147. package/dist/components/Drawer/Drawer.js +130 -108
  148. package/dist/components/Drawer/Drawer.variants.js +81 -17
  149. package/dist/components/Drawer/components/Body/Body.js +21 -18
  150. package/dist/components/Drawer/components/Footer/Footer.js +23 -18
  151. package/dist/components/Drawer/components/Header/Header.js +24 -20
  152. package/dist/components/Drawer/contexts/Drawer.context.js +2 -2
  153. package/dist/components/Drawer/hooks/useDrawer.js +57 -81
  154. package/dist/components/DropdownButton/DropdownButton.js +114 -99
  155. package/dist/components/Filter/Filter.js +29 -40
  156. package/dist/components/Filter/Filter.variants.js +17 -1
  157. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +94 -128
  158. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +144 -83
  159. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +81 -87
  160. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +120 -66
  161. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +34 -22
  162. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +117 -74
  163. package/dist/components/Filter/components/ResetButton/ResetButton.js +29 -24
  164. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +135 -83
  165. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.js +69 -83
  166. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +151 -80
  167. package/dist/components/Filter/contexts/filter.provider.js +4 -16
  168. package/dist/components/Filter/events/index.js +3 -3
  169. package/dist/components/ImageUpload/ImageUpload.js +150 -48
  170. package/dist/components/ImageUpload/ImageUpload.variants.js +93 -41
  171. package/dist/components/Input/Input.js +168 -43
  172. package/dist/components/Input/Input.variants.js +51 -9
  173. package/dist/components/LineChart/LineChart.js +120 -83
  174. package/dist/components/Loading/Loading.js +18 -22
  175. package/dist/components/Loading/Loading.variants.js +8 -1
  176. package/dist/components/Modal/Modal.js +2 -3
  177. package/dist/components/Modal/components/Body/Body.js +5 -16
  178. package/dist/components/Modal/components/Footer/Footer.js +11 -16
  179. package/dist/components/Modal/components/Header/Header.js +11 -16
  180. package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -4
  181. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +28 -1
  182. package/dist/components/Modal/components/index.js +1 -1
  183. package/dist/components/Modal/contexts/Modal.context.js +3 -1
  184. package/dist/components/Modal/contexts/Modal.provider.js +23 -33
  185. package/dist/components/Modal/hooks/useModal.js +18 -29
  186. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +32 -26
  187. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +25 -1
  188. package/dist/components/MultiSelectDropdown/components/Item/Item.js +27 -32
  189. package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +32 -13
  190. package/dist/components/MultiSelectDropdown/components/List/List.js +27 -26
  191. package/dist/components/MultiSelectDropdown/components/List/List.variants.js +21 -1
  192. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +123 -73
  193. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js +3 -1
  194. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +131 -128
  195. package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +26 -30
  196. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +6 -19
  197. package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +39 -9
  198. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +33 -28
  199. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +79 -21
  200. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +41 -7
  201. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +36 -47
  202. package/dist/components/PhoneNumberInput/components/Wrapper.js +503 -465
  203. package/dist/components/PhoneNumberInput/contexts/phone-number.hook.js +3 -1
  204. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1135 -1163
  205. package/dist/components/PieChart/PieChart.js +72 -82
  206. package/dist/components/ProgressBar/ProgressBar.js +38 -47
  207. package/dist/components/ProgressBar/ProgressBar.variants.js +28 -11
  208. package/dist/components/Radio/Radio.js +95 -71
  209. package/dist/components/Radio/Radio.variants.js +85 -33
  210. package/dist/components/RadioCard/RadioCard.js +36 -32
  211. package/dist/components/RadioCardGroup/RadioCardGroup.js +43 -42
  212. package/dist/components/RadioGroup/RadioGroup.js +48 -48
  213. package/dist/components/Range/Range.js +61 -83
  214. package/dist/components/Range/Range.variants.js +49 -19
  215. package/dist/components/Select/Select.js +65 -52
  216. package/dist/components/Select/Select.variants.js +66 -13
  217. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +2 -3
  218. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +22 -1
  219. package/dist/components/Select/components/EmptyList.js +3 -8
  220. package/dist/components/Select/components/List/List.js +168 -89
  221. package/dist/components/Select/components/List/List.variants.js +41 -1
  222. package/dist/components/Select/components/ListItem/ListItem.js +96 -41
  223. package/dist/components/Select/components/ListItem/ListItem.variants.js +19 -1
  224. package/dist/components/Select/components/Wrapper.js +233 -110
  225. package/dist/components/Select/components/index.js +1 -1
  226. package/dist/components/Select/contexts/select.provider.js +41 -34
  227. package/dist/components/Select/hooks/useNavigationList.js +44 -50
  228. package/dist/components/Select/hooks/useSelect.js +94 -104
  229. package/dist/components/Sidebar/Sidebar.js +21 -26
  230. package/dist/components/Sidebar/Sidebar.variants.js +27 -1
  231. package/dist/components/Sidebar/components/Footer/Footer.js +6 -18
  232. package/dist/components/Sidebar/components/Footer/Footer.variants.js +8 -1
  233. package/dist/components/Sidebar/components/Logo/Logo.js +6 -18
  234. package/dist/components/Sidebar/components/Logo/Logo.variants.js +19 -1
  235. package/dist/components/Sidebar/components/Navigation/Navigation.js +17 -26
  236. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +24 -33
  237. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +24 -24
  238. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +39 -12
  239. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +6 -17
  240. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +5 -1
  241. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +5 -20
  242. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +10 -1
  243. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +60 -21
  244. package/dist/components/Slider/Slider.js +56 -70
  245. package/dist/components/Slider/Slider.variants.js +41 -19
  246. package/dist/components/Spinner/Spinner.js +55 -56
  247. package/dist/components/Spinner/Spinner.variants.js +45 -19
  248. package/dist/components/Stepper/Stepper.js +72 -56
  249. package/dist/components/Stepper/Stepper.variants.js +188 -132
  250. package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +197 -151
  251. package/dist/components/Stepper/components/StepConnector/StepConnector.js +27 -24
  252. package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +20 -39
  253. package/dist/components/Stepper/components/StepItem/StepItem.js +6 -15
  254. package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +111 -93
  255. package/dist/components/Stepper/hooks/useStepItemLogic.js +6 -3
  256. package/dist/components/Switch/Switch.js +178 -135
  257. package/dist/components/Switch/Switch.variants.js +40 -1
  258. package/dist/components/Table/Table.js +25 -29
  259. package/dist/components/Table/Table.variants.js +30 -6
  260. package/dist/components/Table/components/Body.js +16 -20
  261. package/dist/components/Table/components/Filter.js +7 -21
  262. package/dist/components/Table/components/Head.js +16 -20
  263. package/dist/components/Table/components/Row.js +26 -28
  264. package/dist/components/Tabs/Tabs.js +26 -34
  265. package/dist/components/Tabs/Tabs.variants.js +39 -10
  266. package/dist/components/Tabs/components/Content.js +14 -23
  267. package/dist/components/Tabs/components/List.js +19 -28
  268. package/dist/components/Tabs/components/Trigger.js +21 -25
  269. package/dist/components/Tag/Tag.js +17 -33
  270. package/dist/components/Tag/Tag.variants.js +36 -23
  271. package/dist/components/TagSelect/TagSelect.js +8 -19
  272. package/dist/components/TagSelect/TagSelect.variants.js +22 -1
  273. package/dist/components/TagSelect/components/Item/Item.js +18 -24
  274. package/dist/components/TagSelect/components/Item/Item.variants.js +26 -13
  275. package/dist/components/TagSelect/components/List/List.js +9 -22
  276. package/dist/components/TagSelect/components/List/List.variants.js +19 -1
  277. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +84 -68
  278. package/dist/components/TagSelect/contexts/TagSelect.provider.js +65 -75
  279. package/dist/components/TagSelect/hooks/useTagSelect.js +26 -30
  280. package/dist/components/TextArea/TextArea.js +34 -35
  281. package/dist/components/TextArea/TextArea.variants.js +16 -1
  282. package/dist/components/TimePicker/TimePicker.js +11 -21
  283. package/dist/components/TimePicker/TimePicker.variants.js +64 -1
  284. package/dist/components/TimePicker/components/HoursList/HoursList.js +116 -77
  285. package/dist/components/TimePicker/components/MeridianList/MeridianList.js +88 -79
  286. package/dist/components/TimePicker/components/MinutesList/MinutesList.js +89 -66
  287. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +228 -144
  288. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +75 -44
  289. package/dist/components/TimePicker/contexts/time-picker.hook.js +3 -1
  290. package/dist/components/TimePicker/contexts/time-picker.provider.js +58 -76
  291. package/dist/components/Toast/Toast.js +338 -374
  292. package/dist/components/Toast/Toast.variants.js +43 -10
  293. package/dist/components/Tooltip/Tooltip.js +35 -36
  294. package/dist/components/Typography/Typography.js +23 -26
  295. package/dist/components/Typography/Typography.variants.js +59 -24
  296. package/dist/components/VirtualizedTable/VirtualizedTable.js +91 -9
  297. package/dist/components/VirtualizedTable/assets/chevron-down.js +23 -13
  298. package/dist/components/VirtualizedTable/assets/chevron-up.js +22 -12
  299. package/dist/components/VirtualizedTable/components/Actions/Actions.js +115 -62
  300. package/dist/components/VirtualizedTable/components/Body/Body.js +83 -29
  301. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +165 -104
  302. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +19 -13
  303. package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +49 -43
  304. package/dist/components/VirtualizedTable/components/Filter/Filter.js +174 -116
  305. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +57 -32
  306. package/dist/components/VirtualizedTable/components/Header/Header.js +98 -61
  307. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +63 -65
  308. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +102 -32
  309. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +58 -51
  310. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +24 -20
  311. package/dist/components/VirtualizedTable/contexts/table.provider.js +158 -129
  312. package/dist/components/VirtualizedTable/events/index.js +18 -18
  313. package/dist/components/index.js +1 -1
  314. package/dist/contexts/theme.provider.js +49 -61
  315. package/dist/hooks/useToggle.js +8 -10
  316. package/dist/index-C7zAY3xv.js +139 -0
  317. package/dist/{index-kTGTSLpq.js → index-Cmf-IG4l.js} +1 -1
  318. package/dist/{index-Dy4FVowi.js → index-CrCTywU1.js} +1 -1
  319. package/dist/{index-C6mt--X_.js → index-DWyM654o.js} +5 -5
  320. package/dist/{index-B9v5VxE2.js → index-Jr0cra7i.js} +6 -6
  321. package/dist/{index-CiACf4ao.js → index-mPinF0Ho.js} +3 -3
  322. package/dist/index.js +1 -1
  323. package/dist/package.json +1 -2
  324. package/dist/utils/index.js +3 -1
  325. package/package.json +1 -2
  326. package/dist/AdditionalOptions-DiXvUzhu.js +0 -42
  327. package/dist/Modal-h5H4yxYg.js +0 -128
  328. package/dist/compiler-runtime-DA41awpA.js +0 -36
  329. package/dist/index-0g-eSmV1.js +0 -142
@@ -1,213 +1,186 @@
1
- import { c as gt } from "../../../../../compiler-runtime-DA41awpA.js";
2
- import { useRef as ut, useState as z, useEffect as Dt } from "react";
3
- import { useDateRangePicker as Et } from "../../../contexts/date-range-picker.hook.js";
4
- import { combineDateAndTime as pt, formatDateToDisplayString as E, formatDateToString as G, parseDateString as d, parseDisplayDateString as S, autoFormatDateInput as vt } from "../../../utils/validation.js";
5
- import { isDateSelectable as J } from "../../../utils/disabled-dates.js";
6
- const Rt = (Tt) => {
7
- const t = gt.c(81), {
8
- errorInvalidDate: D,
9
- errorDateNotAvailable: p,
10
- errorStartAfterEnd: K,
11
- errorEndBeforeStart: L
12
- } = Tt, {
13
- range: e,
14
- time: i,
15
- timeFormat: O,
16
- showTime: Q,
17
- name: U,
18
- disabled: W,
19
- blockedDays: X,
20
- blockedMonths: Y,
21
- minDate: Z,
22
- maxDate: tt,
23
- setRange: s,
24
- setTime: v
25
- } = Et();
26
- let b;
27
- t[0] !== X || t[1] !== Y || t[2] !== tt || t[3] !== Z ? (b = {
28
- blockedDays: X,
29
- blockedMonths: Y,
30
- minDate: Z,
31
- maxDate: tt
32
- }, t[0] = X, t[1] = Y, t[2] = tt, t[3] = Z, t[4] = b) : b = t[4];
33
- const f = b, h = ut(!1), V = ut(!1);
34
- let R;
35
- t[5] !== e.from ? (R = () => E(e.from), t[5] = e.from, t[6] = R) : R = t[6];
36
- const [r, T] = z(R);
37
- let y;
38
- t[7] !== e.to ? (y = () => E(e.to), t[7] = e.to, t[8] = y) : y = t[8];
39
- const [o, g] = z(y), [et, m] = z(), [rt, u] = z();
40
- let P, C;
41
- t[9] !== e.from ? (P = () => {
42
- h.current || T(E(e.from));
43
- }, C = [e.from], t[9] = e.from, t[10] = P, t[11] = C) : (P = t[10], C = t[11]), Dt(P, C);
44
- let F, k;
45
- t[12] !== e.to ? (F = () => {
46
- V.current || g(E(e.to));
47
- }, k = [e.to], t[12] = e.to, t[13] = F, t[14] = k) : (F = t[13], k = t[14]), Dt(F, k);
48
- let w;
49
- t[15] !== e.from || t[16] !== r ? (w = () => {
50
- if (h.current = !0, m(void 0), e.from)
51
- T(G(e.from));
1
+ import { useMemo as k, useRef as B, useState as C, useEffect as j, useCallback as f } from "react";
2
+ import { useDateRangePicker as tt } from "../../../contexts/date-range-picker.hook.js";
3
+ import { formatDateToDisplayString as T, formatDateToString as P, parseDateString as i, parseDisplayDateString as g, autoFormatDateInput as q, combineDateAndTime as z } from "../../../utils/validation.js";
4
+ import { isDateSelectable as R } from "../../../utils/disabled-dates.js";
5
+ const at = ({
6
+ errorInvalidDate: E,
7
+ errorDateNotAvailable: V,
8
+ errorStartAfterEnd: F,
9
+ errorEndBeforeStart: b
10
+ }) => {
11
+ const {
12
+ range: t,
13
+ time: c,
14
+ timeFormat: G,
15
+ showTime: J,
16
+ name: K,
17
+ disabled: L,
18
+ blockedDays: w,
19
+ blockedMonths: x,
20
+ minDate: H,
21
+ maxDate: M,
22
+ setRange: o,
23
+ setTime: y
24
+ } = tt(), d = k(
25
+ () => ({ blockedDays: w, blockedMonths: x, minDate: H, maxDate: M }),
26
+ [w, x, H, M]
27
+ ), h = B(!1), v = B(!1), [a, D] = C(
28
+ () => T(t.from)
29
+ ), [s, p] = C(
30
+ () => T(t.to)
31
+ ), [O, m] = C(), [Q, l] = C();
32
+ j(() => {
33
+ h.current || D(T(t.from));
34
+ }, [t.from]), j(() => {
35
+ v.current || p(T(t.to));
36
+ }, [t.to]);
37
+ const U = f(() => {
38
+ if (h.current = !0, m(void 0), t.from)
39
+ D(P(t.from));
52
40
  else {
53
- const a = d(r) || S(r);
54
- a && T(G(a));
41
+ const e = i(a) || g(a);
42
+ e && D(P(e));
55
43
  }
56
- }, t[15] = e.from, t[16] = r, t[17] = w) : w = t[17];
57
- const ot = w;
58
- let x;
59
- t[18] !== o || t[19] !== e || t[20] !== f || t[21] !== s || t[22] !== r ? (x = (a) => {
60
- const c = a.target.value, n = vt(c, r);
61
- T(n), m(void 0);
62
- const l = d(n);
63
- if (l && J(l, f)) {
64
- const _ = e.to || d(o) || S(o);
65
- if (_ && l > _)
44
+ }, [t.from, a]), W = f(
45
+ (e) => {
46
+ const u = e.target.value, r = q(u, a);
47
+ D(r), m(void 0);
48
+ const n = i(r);
49
+ if (n && R(n, d)) {
50
+ const S = t.to || i(s) || g(s);
51
+ if (S && n > S)
52
+ return;
53
+ o({ ...t, from: n });
54
+ }
55
+ },
56
+ [a, s, t, o, d]
57
+ ), X = f(
58
+ (e) => {
59
+ const u = e.currentTarget.value.trim();
60
+ if (u === "") {
61
+ h.current = !1, m(void 0), D(""), o({ ...t, from: void 0 });
66
62
  return;
67
- s({
68
- ...e,
69
- from: l
70
- });
71
- }
72
- }, t[18] = o, t[19] = e, t[20] = f, t[21] = s, t[22] = r, t[23] = x) : x = t[23];
73
- const at = x;
74
- let A;
75
- t[24] !== o || t[25] !== p || t[26] !== D || t[27] !== K || t[28] !== e || t[29] !== f || t[30] !== s ? (A = (a) => {
76
- const c = a.currentTarget.value.trim();
77
- if (c === "") {
78
- h.current = !1, m(void 0), T(""), s({
79
- ...e,
80
- from: void 0
81
- });
82
- return;
83
- }
84
- const n = d(c);
85
- if (!n) {
86
- m(D);
87
- return;
88
- }
89
- if (!J(n, f)) {
90
- m(p);
91
- return;
92
- }
93
- const l = d(o) || S(o);
94
- if (l && n > l) {
95
- m(K), V.current = !0, s({
96
- from: void 0,
97
- to: void 0
98
- });
99
- return;
100
- }
101
- h.current = !1, m(void 0), s({
102
- ...e,
103
- from: n
104
- }), T(E(n));
105
- }, t[24] = o, t[25] = p, t[26] = D, t[27] = K, t[28] = e, t[29] = f, t[30] = s, t[31] = A) : A = t[31];
106
- const nt = A;
107
- let B;
108
- t[32] !== o || t[33] !== e.to ? (B = () => {
109
- if (V.current = !0, u(void 0), e.to)
110
- g(G(e.to));
63
+ }
64
+ const r = i(u);
65
+ if (!r) {
66
+ m(E);
67
+ return;
68
+ }
69
+ if (!R(r, d)) {
70
+ m(V);
71
+ return;
72
+ }
73
+ const n = i(s) || g(s);
74
+ if (n && r > n) {
75
+ m(F), v.current = !0, o({ from: void 0, to: void 0 });
76
+ return;
77
+ }
78
+ h.current = !1, m(void 0), o({ ...t, from: r }), D(T(r));
79
+ },
80
+ [
81
+ t,
82
+ o,
83
+ d,
84
+ E,
85
+ V,
86
+ F,
87
+ s
88
+ ]
89
+ ), Y = f(() => {
90
+ if (v.current = !0, l(void 0), t.to)
91
+ p(P(t.to));
111
92
  else {
112
- const a = d(o) || S(o);
113
- a && g(G(a));
93
+ const e = i(s) || g(s);
94
+ e && p(P(e));
114
95
  }
115
- }, t[32] = o, t[33] = e.to, t[34] = B) : B = t[34];
116
- const st = B;
117
- let I;
118
- t[35] !== o || t[36] !== e || t[37] !== f || t[38] !== s || t[39] !== r ? (I = (a) => {
119
- const c = a.target.value, n = vt(c, o);
120
- g(n), u(void 0);
121
- const l = d(n);
122
- if (l && J(l, f)) {
123
- const _ = e.from || d(r) || S(r);
124
- if (_ && l < _)
96
+ }, [t.to, s]), Z = f(
97
+ (e) => {
98
+ const u = e.target.value, r = q(u, s);
99
+ p(r), l(void 0);
100
+ const n = i(r);
101
+ if (n && R(n, d)) {
102
+ const S = t.from || i(a) || g(a);
103
+ if (S && n < S)
104
+ return;
105
+ o({ ...t, to: n });
106
+ }
107
+ },
108
+ [s, a, t, o, d]
109
+ ), _ = f(
110
+ (e) => {
111
+ const u = e.currentTarget.value.trim();
112
+ if (u === "") {
113
+ v.current = !1, l(void 0), p(""), o({ ...t, to: void 0 });
125
114
  return;
126
- s({
127
- ...e,
128
- to: l
129
- });
130
- }
131
- }, t[35] = o, t[36] = e, t[37] = f, t[38] = s, t[39] = r, t[40] = I) : I = t[40];
132
- const it = I;
133
- let H;
134
- t[41] !== p || t[42] !== L || t[43] !== D || t[44] !== e || t[45] !== f || t[46] !== s || t[47] !== r ? (H = (a) => {
135
- const c = a.currentTarget.value.trim();
136
- if (c === "") {
137
- V.current = !1, u(void 0), g(""), s({
138
- ...e,
139
- to: void 0
140
- });
141
- return;
142
- }
143
- const n = d(c);
144
- if (!n) {
145
- u(D);
146
- return;
147
- }
148
- if (!J(n, f)) {
149
- u(p);
150
- return;
151
- }
152
- const l = d(r) || S(r);
153
- if (l && n < l) {
154
- u(L), h.current = !0, s({
155
- from: void 0,
156
- to: void 0
157
- });
158
- return;
159
- }
160
- V.current = !1, u(void 0), s({
161
- ...e,
162
- to: n
163
- }), g(E(n));
164
- }, t[41] = p, t[42] = L, t[43] = D, t[44] = e, t[45] = f, t[46] = s, t[47] = r, t[48] = H) : H = t[48];
165
- const lt = H;
166
- let M;
167
- t[49] !== v || t[50] !== i ? (M = (a) => {
168
- v({
169
- ...i,
170
- startTime: a
171
- });
172
- }, t[49] = v, t[50] = i, t[51] = M) : M = t[51];
173
- const ft = M;
174
- let N;
175
- t[52] !== v || t[53] !== i ? (N = (a) => {
176
- v({
177
- ...i,
178
- endTime: a
179
- });
180
- }, t[52] = v, t[53] = i, t[54] = N) : N = t[54];
181
- const dt = N;
182
- let $;
183
- t[55] !== e.from || t[56] !== i.startTime ? ($ = pt(e.from, i.startTime), t[55] = e.from, t[56] = i.startTime, t[57] = $) : $ = t[57];
184
- const ct = $;
185
- let j;
186
- t[58] !== e.to || t[59] !== i.endTime ? (j = pt(e.to, i.endTime), t[58] = e.to, t[59] = i.endTime, t[60] = j) : j = t[60];
187
- const mt = j;
188
- let q;
189
- return t[61] !== W || t[62] !== rt || t[63] !== o || t[64] !== mt || t[65] !== lt || t[66] !== it || t[67] !== st || t[68] !== dt || t[69] !== nt || t[70] !== at || t[71] !== ot || t[72] !== ft || t[73] !== U || t[74] !== Q || t[75] !== et || t[76] !== r || t[77] !== ct || t[78] !== i || t[79] !== O ? (q = {
190
- timeFormat: O,
191
- showTime: Q,
192
- name: U,
193
- disabled: W,
194
- time: i,
195
- startDateValue: r,
196
- startDateError: et,
197
- handleStartDateFocus: ot,
198
- handleStartDateChange: at,
199
- handleStartDateBlur: nt,
200
- handleStartTimeChange: ft,
201
- endDateValue: o,
202
- endDateError: rt,
203
- handleEndDateFocus: st,
204
- handleEndDateChange: it,
205
- handleEndDateBlur: lt,
206
- handleEndTimeChange: dt,
207
- startHiddenValue: ct,
208
- endHiddenValue: mt
209
- }, t[61] = W, t[62] = rt, t[63] = o, t[64] = mt, t[65] = lt, t[66] = it, t[67] = st, t[68] = dt, t[69] = nt, t[70] = at, t[71] = ot, t[72] = ft, t[73] = U, t[74] = Q, t[75] = et, t[76] = r, t[77] = ct, t[78] = i, t[79] = O, t[80] = q) : q = t[80], q;
115
+ }
116
+ const r = i(u);
117
+ if (!r) {
118
+ l(E);
119
+ return;
120
+ }
121
+ if (!R(r, d)) {
122
+ l(V);
123
+ return;
124
+ }
125
+ const n = i(a) || g(a);
126
+ if (n && r < n) {
127
+ l(b), h.current = !0, o({ from: void 0, to: void 0 });
128
+ return;
129
+ }
130
+ v.current = !1, l(void 0), o({ ...t, to: r }), p(T(r));
131
+ },
132
+ [
133
+ t,
134
+ o,
135
+ d,
136
+ E,
137
+ V,
138
+ b,
139
+ a
140
+ ]
141
+ ), $ = f(
142
+ (e) => {
143
+ y({ ...c, startTime: e });
144
+ },
145
+ [c, y]
146
+ ), I = f(
147
+ (e) => {
148
+ y({ ...c, endTime: e });
149
+ },
150
+ [c, y]
151
+ ), A = k(
152
+ () => z(t.from, c.startTime),
153
+ [t.from, c.startTime]
154
+ ), N = k(
155
+ () => z(t.to, c.endTime),
156
+ [t.to, c.endTime]
157
+ );
158
+ return {
159
+ // Context values
160
+ timeFormat: G,
161
+ showTime: J,
162
+ name: K,
163
+ disabled: L,
164
+ time: c,
165
+ // Start date state and handlers
166
+ startDateValue: a,
167
+ startDateError: O,
168
+ handleStartDateFocus: U,
169
+ handleStartDateChange: W,
170
+ handleStartDateBlur: X,
171
+ handleStartTimeChange: $,
172
+ // End date state and handlers
173
+ endDateValue: s,
174
+ endDateError: Q,
175
+ handleEndDateFocus: Y,
176
+ handleEndDateChange: Z,
177
+ handleEndDateBlur: _,
178
+ handleEndTimeChange: I,
179
+ // Hidden input values
180
+ startHiddenValue: A,
181
+ endHiddenValue: N
182
+ };
210
183
  };
211
184
  export {
212
- Rt as useDateTimeInputs
185
+ at as useDateTimeInputs
213
186
  };
@@ -1,66 +1,71 @@
1
- import { jsx as E, jsxs as z } from "react/jsx-runtime";
2
- import { c as S } from "../../../../compiler-runtime-DA41awpA.js";
3
- import { cn as d } from "../../../../utils/index.js";
4
- import { RadioGroup as C } from "../../../RadioGroup/RadioGroup.js";
5
- import { Typography as D } from "../../../Typography/Typography.js";
6
- import { presetPanelVariants as O, presetTitleVariants as V } from "./PresetPanel.variants.js";
7
- import { useDateRangePicker as j } from "../../contexts/date-range-picker.hook.js";
8
- import { PRESET_OPTIONS as w } from "../../constants/presets.js";
9
- const A = {
1
+ import { jsxs as f, jsx as i } from "react/jsx-runtime";
2
+ import { useCallback as h, useMemo as x } from "react";
3
+ import { cn as t } from "../../../../utils/index.js";
4
+ import { RadioGroup as y } from "../../../RadioGroup/RadioGroup.js";
5
+ import { Typography as g } from "../../../Typography/Typography.js";
6
+ import { presetTitleVariants as k, presetPanelVariants as T } from "./PresetPanel.variants.js";
7
+ import { useDateRangePicker as b } from "../../contexts/date-range-picker.hook.js";
8
+ import { PRESET_OPTIONS as v } from "../../constants/presets.js";
9
+ const E = {
10
10
  today: "today",
11
11
  "current-month": "currentMonth",
12
12
  custom: "custom",
13
13
  "last-7-days": "last7Days",
14
14
  "last-2-weeks": "last2Weeks"
15
- }, G = (L) => {
16
- const e = S.c(26), {
17
- className: f,
18
- labelTimePeriod: v,
19
- ariaLabelTimePeriod: _,
20
- presetLabels: P,
21
- classNames: t
22
- } = L, u = v === void 0 ? "Time period" : v, b = _ === void 0 ? "Time period options" : _, {
23
- preset: T,
24
- setPreset: h,
25
- disabled: x
26
- } = j();
27
- let n;
28
- e[0] !== h ? (n = (i) => {
29
- h(i);
30
- }, e[0] = h, e[1] = n) : n = e[1];
31
- const y = n;
32
- let m;
33
- e[2] !== x || e[3] !== P ? (m = w.map((i) => {
34
- const k = A[i.value], R = k && P?.[k];
35
- return {
36
- value: i.value,
37
- label: R || i.label,
38
- disabled: x
39
- };
40
- }), e[2] = x, e[3] = P, e[4] = m) : m = e[4];
41
- const N = m;
42
- let a;
43
- e[5] !== f || e[6] !== t?.root ? (a = d(O({
44
- className: f
45
- }), t?.root), e[5] = f, e[6] = t?.root, e[7] = a) : a = e[7];
46
- let s;
47
- e[8] !== t?.title ? (s = d(V(), t?.title), e[8] = t?.title, e[9] = s) : s = e[9];
48
- let o;
49
- e[10] !== b || e[11] !== u || e[12] !== s ? (o = /* @__PURE__ */ E(D, { component: "span", className: s, "aria-label": b, children: u }), e[10] = b, e[11] = u, e[12] = s, e[13] = o) : o = e[13];
50
- const g = t?.radioGroup;
51
- let r;
52
- e[14] !== g ? (r = d("gap-4 pl-2", g), e[14] = g, e[15] = r) : r = e[15];
53
- let c;
54
- e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = d("text-sm", "text-zinc-700", "dark:text-zinc-300", "[&_span]:text-zinc-700", "dark:[&_span]:text-zinc-300"), e[16] = c) : c = e[16];
55
- let l;
56
- e[17] !== y || e[18] !== T || e[19] !== N || e[20] !== r ? (l = /* @__PURE__ */ E(C, { name: "date-range-preset", options: N, value: T, onValueChange: y, direction: "col", wrapperClassName: r, className: c }), e[17] = y, e[18] = T, e[19] = N, e[20] = r, e[21] = l) : l = e[21];
57
- let p;
58
- return e[22] !== l || e[23] !== a || e[24] !== o ? (p = /* @__PURE__ */ z("div", { className: a, children: [
59
- o,
60
- l
61
- ] }), e[22] = l, e[23] = a, e[24] = o, e[25] = p) : p = e[25], p;
15
+ }, R = ({
16
+ className: l,
17
+ labelTimePeriod: m = "Time period",
18
+ ariaLabelTimePeriod: p = "Time period options",
19
+ presetLabels: r,
20
+ classNames: a
21
+ }) => {
22
+ const { preset: c, setPreset: o, disabled: s } = b(), d = h(
23
+ (e) => {
24
+ o(e);
25
+ },
26
+ [o]
27
+ ), u = x(
28
+ () => v.map((e) => {
29
+ const n = E[e.value], P = n && r?.[n];
30
+ return {
31
+ value: e.value,
32
+ label: P || e.label,
33
+ disabled: s
34
+ };
35
+ }),
36
+ [s, r]
37
+ );
38
+ return /* @__PURE__ */ f("div", { className: t(T({ className: l }), a?.root), children: [
39
+ /* @__PURE__ */ i(
40
+ g,
41
+ {
42
+ component: "span",
43
+ className: t(k(), a?.title),
44
+ "aria-label": p,
45
+ children: m
46
+ }
47
+ ),
48
+ /* @__PURE__ */ i(
49
+ y,
50
+ {
51
+ name: "date-range-preset",
52
+ options: u,
53
+ value: c,
54
+ onValueChange: d,
55
+ direction: "col",
56
+ wrapperClassName: t("gap-4 pl-2", a?.radioGroup),
57
+ className: t(
58
+ "text-sm",
59
+ "text-zinc-700",
60
+ "dark:text-zinc-300",
61
+ "[&_span]:text-zinc-700",
62
+ "dark:[&_span]:text-zinc-300"
63
+ )
64
+ }
65
+ )
66
+ ] });
62
67
  };
63
- G.displayName = "DateRangePickerPresetPanel";
68
+ R.displayName = "DateRangePickerPresetPanel";
64
69
  export {
65
- G as PresetPanel
70
+ R as PresetPanel
66
71
  };
@@ -1,5 +1,23 @@
1
1
  import { c as e } from "../../../../index-D29mdTf5.js";
2
- const a = e(["flex", "flex-col", "gap-6", "p-4", "pr-8", "bg-slate-100", "rounded-lg", "dark:bg-metal-600/25", "min-w-40"]), r = e(["text-xs", "font-medium", "uppercase", "text-slate-700", "dark:text-metal-300", "tracking-[0.25px]", "leading-4"]);
2
+ const a = e([
3
+ "flex",
4
+ "flex-col",
5
+ "gap-6",
6
+ "p-4",
7
+ "pr-8",
8
+ "bg-slate-100",
9
+ "rounded-lg",
10
+ "dark:bg-metal-600/25",
11
+ "min-w-40"
12
+ ]), r = e([
13
+ "text-xs",
14
+ "font-medium",
15
+ "uppercase",
16
+ "text-slate-700",
17
+ "dark:text-metal-300",
18
+ "tracking-[0.25px]",
19
+ "leading-4"
20
+ ]);
3
21
  export {
4
22
  a as presetPanelVariants,
5
23
  r as presetTitleVariants
@@ -1,19 +1,10 @@
1
- const a = [{
2
- value: "today",
3
- label: "Today"
4
- }, {
5
- value: "current-month",
6
- label: "Current month"
7
- }, {
8
- value: "custom",
9
- label: "Custom"
10
- }, {
11
- value: "last-7-days",
12
- label: "Last 7 days"
13
- }, {
14
- value: "last-2-weeks",
15
- label: "Last 2 weeks"
16
- }];
1
+ const a = [
2
+ { value: "today", label: "Today" },
3
+ { value: "current-month", label: "Current month" },
4
+ { value: "custom", label: "Custom" },
5
+ { value: "last-7-days", label: "Last 7 days" },
6
+ { value: "last-2-weeks", label: "Last 2 weeks" }
7
+ ];
17
8
  export {
18
9
  a as PRESET_OPTIONS
19
10
  };
@@ -3,7 +3,9 @@ import { DateRangePickerContext as r } from "./date-range-picker.context.js";
3
3
  const i = () => {
4
4
  const e = t(r);
5
5
  if (!e)
6
- throw new Error("useDateRangePicker must be used within a DateRangePickerProvider");
6
+ throw new Error(
7
+ "useDateRangePicker must be used within a DateRangePickerProvider"
8
+ );
7
9
  return e;
8
10
  };
9
11
  export {