@konstructio/ui 0.1.2-alpha.112 → 0.1.2-alpha.114

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 (297) hide show
  1. package/dist/{AdditionalOptions-D3SZ2WFJ.js → AdditionalOptions-ClcR_Kf7.js} +1 -1
  2. package/dist/{AlertDialogTrigger-Cdw3C2Tv.js → AlertDialogTrigger-C9xoCZrZ.js} +33 -33
  3. package/dist/Breadcrumb-CpXRb08J.js +93 -0
  4. package/dist/Checkbox-DRdyrKjk.js +252 -0
  5. package/dist/CollapsedSteps-CR7oCTRC.js +112 -0
  6. package/dist/{CommandInput-DiRv6fEA.js → CommandInput-Du2o616y.js} +1 -1
  7. package/dist/Counter-DMkXIsOO.js +229 -0
  8. package/dist/DropdownButton-JilCRLJY.js +92 -0
  9. package/dist/FlagSelectorList-iZ3gUVpf.js +954 -0
  10. package/dist/{HamburgerTrigger-DjHmNEJD.js → HamburgerTrigger-BgeS_nBA.js} +15 -15
  11. package/dist/Modal-CysTe3zL.js +83 -0
  12. package/dist/Spinner-CTonkSzG.js +47 -0
  13. package/dist/Switch-5cdUxbhX.js +215 -0
  14. package/dist/{Wrapper-MmlrJppS.js → Wrapper-BCi_pLOr.js} +38 -38
  15. package/dist/{Wrapper-BxfB3BDa.js → Wrapper-ThpRi_Gg.js} +9 -9
  16. package/dist/components/Alert/Alert.js +45 -41
  17. package/dist/components/AlertDialog/AlertDialog.js +42 -42
  18. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  19. package/dist/components/AlertDialog/components/index.js +1 -1
  20. package/dist/components/Avatar/Avatar.js +37 -0
  21. package/dist/components/Avatar/Avatar.variants.js +25 -0
  22. package/dist/components/Avatar/hooks/index.js +5 -0
  23. package/dist/components/Avatar/hooks/use-gravatar-url.js +25 -0
  24. package/dist/components/AvatarGroup/AvatarGroup.js +40 -0
  25. package/dist/components/Badge/Badge.js +1 -1
  26. package/dist/components/BadgeGroup/BadgeGroup.js +62 -0
  27. package/dist/components/BadgeGroup/hooks/index.js +4 -0
  28. package/dist/components/BadgeGroup/hooks/use-visible-badge-count/use-visible-badge-count.js +50 -0
  29. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  30. package/dist/components/Breadcrumb/components/CollapsedSteps/CollapsedSteps.js +4 -0
  31. package/dist/components/Breadcrumb/components/index.js +6 -4
  32. package/dist/components/Button/Button.js +25 -19
  33. package/dist/components/Button/Button.variants.js +4 -1
  34. package/dist/components/ButtonGroup/ButtonGroup.js +16 -16
  35. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +8 -8
  36. package/dist/components/Checkbox/Checkbox.js +1 -1
  37. package/dist/components/CheckboxCard/CheckboxCard.js +52 -0
  38. package/dist/components/Collapse/Collapse.js +63 -0
  39. package/dist/components/Command/Command.js +5 -5
  40. package/dist/components/Command/components/Command.js +1 -1
  41. package/dist/components/Command/components/CommandEmpty.js +1 -1
  42. package/dist/components/Command/components/CommandGroup.js +1 -1
  43. package/dist/components/Command/components/CommandInput.js +1 -1
  44. package/dist/components/Command/components/CommandItem.js +1 -1
  45. package/dist/components/Command/components/CommandList.js +1 -1
  46. package/dist/components/Command/components/CommandSeparator.js +1 -1
  47. package/dist/components/Command/components/DialogContent.js +1 -1
  48. package/dist/components/Command/components/DialogOverlay.js +1 -1
  49. package/dist/components/Command/components/index.js +1 -1
  50. package/dist/components/ConfirmDialog/ConfirmDialog.js +110 -0
  51. package/dist/components/CopyButton/CopyButton.js +29 -29
  52. package/dist/components/Counter/Counter.js +1 -1
  53. package/dist/components/Counter/Counter.variants.js +73 -16
  54. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.js +1 -1
  55. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +23 -31
  56. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/components/CalendarMonthContent/CalendarMonthContent.js +26 -0
  57. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +8 -8
  58. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +13 -13
  59. package/dist/components/DateRangePicker/components/RightPanel/RightPanel.js +15 -16
  60. package/dist/components/Datepicker/DatePicker.js +14 -49
  61. package/dist/components/Datepicker/components/DatePickerContent/DatePickerContent.js +51 -0
  62. package/dist/components/Drawer/Drawer.js +18 -18
  63. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  64. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
  65. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Actions/Actions.js +10 -11
  66. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useFormattedDateRange/useFormattedDateRange.js +25 -22
  67. package/dist/components/Filter/components/DateFilterDropdown/hooks/useDateFilterDropdown/useDateFilterDropdown.js +16 -16
  68. package/dist/components/Filter/components/DateRangeFilterDropdown/hooks/useDateRangeFilterDropdown/useDateRangeFilterDropdown.js +29 -29
  69. package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +10 -10
  70. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +1 -1
  71. package/dist/components/Filter/hooks/index.js +3 -1
  72. package/dist/components/Filter/hooks/useLocale.js +16 -0
  73. package/dist/components/Filter/utils/index.js +6 -2
  74. package/dist/components/LineChart/LineChart.js +18 -125
  75. package/dist/components/LineChart/components/LineChartContent/LineChartContent.js +127 -0
  76. package/dist/components/Modal/Modal.js +1 -1
  77. package/dist/components/Modal/components/Body/Body.js +1 -1
  78. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  79. package/dist/components/Modal/components/Header/Header.js +1 -1
  80. package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
  81. package/dist/components/Modal/components/index.js +1 -1
  82. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
  83. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +22 -3
  84. package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
  85. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
  86. package/dist/components/MultiSelectDropdown/components/index.js +1 -1
  87. package/dist/components/OtpInput/OtpInput.js +103 -0
  88. package/dist/components/PasswordRules/PasswordRules.js +51 -0
  89. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +39 -10
  90. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
  91. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +4 -4
  92. package/dist/components/PhoneNumberInput/components/PhoneNumberInputContent.js +15 -0
  93. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +15 -15
  94. package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
  95. package/dist/components/PhoneNumberInput/components/index.js +2 -2
  96. package/dist/components/PhoneNumberInput/contexts/index.js +4 -4
  97. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
  98. package/dist/components/PieChart/PieChart.js +10 -53
  99. package/dist/components/PieChart/components/PieChartContent/PieChartContent.js +56 -0
  100. package/dist/components/ProgressBar/ProgressBar.js +10 -10
  101. package/dist/components/Radio/Radio.js +16 -16
  102. package/dist/components/Radio/Radio.variants.js +4 -1
  103. package/dist/components/RadioCard/RadioCard.js +36 -18
  104. package/dist/components/RadioCard/RadioCard.variants.js +9 -3
  105. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  106. package/dist/components/Range/Range.js +1 -1
  107. package/dist/components/Select/Select.js +2 -2
  108. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
  109. package/dist/components/Select/components/List/List.js +10 -10
  110. package/dist/components/Select/components/Wrapper.js +1 -1
  111. package/dist/components/Select/components/index.js +2 -2
  112. package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +15 -15
  113. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
  114. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +66 -42
  115. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +10 -4
  116. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +91 -86
  117. package/dist/components/Sidebar/components/index.js +1 -1
  118. package/dist/components/Skeleton/Skeleton.js +18 -0
  119. package/dist/components/Skeleton/Skeleton.variants.js +25 -0
  120. package/dist/components/Slider/Slider.js +1 -1
  121. package/dist/components/Spinner/Spinner.js +1 -1
  122. package/dist/components/Stepper/Stepper.js +38 -29
  123. package/dist/components/Stepper/Stepper.variants.js +55 -19
  124. package/dist/components/Stepper/hooks/useStepItemLogic.js +1 -1
  125. package/dist/components/Switch/Switch.js +1 -1
  126. package/dist/components/Tabs/Tabs.js +52 -24
  127. package/dist/components/Tabs/Tabs.variants.js +15 -6
  128. package/dist/components/Tabs/components/Content.js +6 -6
  129. package/dist/components/Tabs/components/List.js +10 -10
  130. package/dist/components/Tabs/components/Trigger.js +11 -10
  131. package/dist/components/Tag/Tag.js +1 -1
  132. package/dist/components/TagsInput/TagsInput.js +159 -0
  133. package/dist/components/Toast/Toast.js +68 -2
  134. package/dist/components/Toast/components/ToastCard/ToastCard.js +32 -32
  135. package/dist/components/Tooltip/Tooltip.js +32 -16
  136. package/dist/components/VirtualizedTable/VirtualizedTable.js +32 -101
  137. package/dist/components/VirtualizedTable/components/Actions/Actions.variants.js +18 -5
  138. package/dist/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.js +29 -19
  139. package/dist/components/VirtualizedTable/components/Actions/components/InlineActions/InlineActions.js +66 -33
  140. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/PortalActions.js +31 -29
  141. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-actions-menu/use-actions-menu.js +23 -20
  142. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.js +51 -45
  143. package/dist/components/VirtualizedTable/components/Body/Body.js +6 -6
  144. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +22 -22
  145. package/dist/components/VirtualizedTable/components/EmptyResults/EmptyResults.js +30 -0
  146. package/dist/components/VirtualizedTable/components/EmptyState/EmptyState.js +32 -0
  147. package/dist/components/VirtualizedTable/components/ErrorState/ErrorState.js +35 -0
  148. package/dist/components/VirtualizedTable/components/Filter/Filter.js +5 -5
  149. package/dist/components/VirtualizedTable/components/Header/Header.js +4 -4
  150. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +46 -39
  151. package/dist/components/VirtualizedTable/components/VirtualizedTableContent/VirtualizedTableContent.js +91 -0
  152. package/dist/components/VirtualizedTable/components/index.js +18 -12
  153. package/dist/components/VirtualizedTable/contexts/index.js +6 -6
  154. package/dist/components/VirtualizedTable/contexts/table.context.js +1 -0
  155. package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
  156. package/dist/components/VirtualizedTable/utils/index.js +4 -4
  157. package/dist/components/index.js +181 -155
  158. package/dist/components-B_SWqhCL.js +147 -0
  159. package/dist/{utils-DVYdP0CJ.js → country-locale-map-DbrJ3bEE.js} +373 -373
  160. package/dist/{debounce-BdyZeJQk.js → debounce-dMRJxNsT.js} +3 -3
  161. package/dist/{dist-DcFwF4XM.js → dist-1AtWkIZ4.js} +268 -260
  162. package/dist/{dist-CgzF5_J6.js → dist-4IVGO6ZT.js} +4 -4
  163. package/dist/dist-BCoDIdCt.js +429 -0
  164. package/dist/{dist-Bi8Y5nEx.js → dist-BXv-jY2v.js} +60 -55
  165. package/dist/{dist-C4j75TwZ.js → dist-BbJP2Efh.js} +2 -2
  166. package/dist/dist-Bh7M0KDN.js +367 -0
  167. package/dist/dist-BqDJX7m1.js +209 -0
  168. package/dist/dist-C0OhTLFV.js +31 -0
  169. package/dist/dist-C1a-68Kb.js +120 -0
  170. package/dist/dist-CK8FUUUn.js +125 -0
  171. package/dist/dist-CQSCPpFc.js +196 -0
  172. package/dist/{dist-CCdbu9GU.js → dist-CYuWoi9I.js} +1 -1
  173. package/dist/{dist-DX0sBG3Q.js → dist-C_jtUTU9.js} +5 -6
  174. package/dist/{dist-D-yS0HN8.js → dist-DbeY0Pzx.js} +6 -6
  175. package/dist/dist-fPYIsxyx.js +465 -0
  176. package/dist/dist-rsFD9q_X.js +484 -0
  177. package/dist/{dist-BUocnzkM.js → dist-uuWgjOcO.js} +1 -1
  178. package/dist/dist-vDSmnSS_.js +41 -0
  179. package/dist/dist-vUCyiTQy.js +365 -0
  180. package/dist/es2015-ChhQTsb4.js +74 -0
  181. package/dist/index.js +194 -168
  182. package/dist/{isObject-pLoSfdr0.js → isSymbol-BG9higgO.js} +14 -14
  183. package/dist/lib/components/Alert/Alert.types.d.ts +4 -0
  184. package/dist/lib/components/Avatar/Avatar.d.ts +14 -0
  185. package/dist/lib/components/Avatar/Avatar.types.d.ts +21 -0
  186. package/dist/lib/components/Avatar/Avatar.variants.d.ts +3 -0
  187. package/dist/lib/components/Avatar/hooks/index.d.ts +1 -0
  188. package/dist/lib/components/Avatar/hooks/use-gravatar-url.d.ts +2 -0
  189. package/dist/lib/components/AvatarGroup/AvatarGroup.d.ts +16 -0
  190. package/dist/lib/components/AvatarGroup/AvatarGroup.types.d.ts +19 -0
  191. package/dist/lib/components/BadgeGroup/BadgeGroup.d.ts +15 -0
  192. package/dist/lib/components/BadgeGroup/BadgeGroup.types.d.ts +25 -0
  193. package/dist/lib/components/BadgeGroup/hooks/index.d.ts +1 -0
  194. package/dist/lib/components/BadgeGroup/hooks/use-visible-badge-count/use-visible-badge-count.d.ts +2 -0
  195. package/dist/lib/components/BadgeGroup/hooks/use-visible-badge-count/use-visible-badge-count.types.d.ts +10 -0
  196. package/dist/lib/components/Breadcrumb/Breadcrumb.types.d.ts +4 -0
  197. package/dist/lib/components/Breadcrumb/components/CollapsedSteps/CollapsedSteps.d.ts +3 -0
  198. package/dist/lib/components/Breadcrumb/components/CollapsedSteps/CollapsedSteps.types.d.ts +5 -0
  199. package/dist/lib/components/Breadcrumb/components/index.d.ts +1 -0
  200. package/dist/lib/components/Button/Button.variants.d.ts +1 -1
  201. package/dist/lib/components/CheckboxCard/CheckboxCard.d.ts +20 -0
  202. package/dist/lib/components/CheckboxCard/CheckboxCard.types.d.ts +13 -0
  203. package/dist/lib/components/Collapse/Collapse.d.ts +19 -0
  204. package/dist/lib/components/Collapse/Collapse.types.d.ts +17 -0
  205. package/dist/lib/components/ConfirmDialog/ConfirmDialog.d.ts +23 -0
  206. package/dist/lib/components/ConfirmDialog/ConfirmDialog.types.d.ts +46 -0
  207. package/dist/lib/components/Counter/Counter.d.ts +7 -4
  208. package/dist/lib/components/Counter/Counter.types.d.ts +23 -0
  209. package/dist/lib/components/Counter/Counter.variants.d.ts +10 -1
  210. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/components/CalendarMonthContent/CalendarMonthContent.d.ts +3 -0
  211. package/dist/lib/components/Datepicker/components/DatePickerContent/DatePickerContent.d.ts +3 -0
  212. package/dist/lib/components/DropdownButton/DropdownButton.types.d.ts +11 -0
  213. package/dist/lib/components/Filter/hooks/index.d.ts +1 -0
  214. package/dist/lib/components/Filter/hooks/useLocale.d.ts +1 -0
  215. package/dist/lib/components/Filter/utils/index.d.ts +1 -0
  216. package/dist/lib/components/LineChart/components/LineChartContent/LineChartContent.d.ts +3 -0
  217. package/dist/lib/components/Modal/Modal.types.d.ts +2 -0
  218. package/dist/lib/components/Modal/components/Wrapper/Wrapper.types.d.ts +2 -0
  219. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.types.d.ts +10 -0
  220. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.variants.d.ts +4 -1
  221. package/dist/lib/components/OtpInput/OtpInput.d.ts +19 -0
  222. package/dist/lib/components/OtpInput/OtpInput.types.d.ts +32 -0
  223. package/dist/lib/components/PasswordRules/PasswordRules.d.ts +20 -0
  224. package/dist/lib/components/PasswordRules/PasswordRules.types.d.ts +24 -0
  225. package/dist/lib/components/PhoneNumberInput/components/PhoneNumberInputContent.d.ts +18 -0
  226. package/dist/lib/components/PieChart/components/PieChartContent/PieChartContent.d.ts +3 -0
  227. package/dist/lib/components/RadioCard/RadioCard.d.ts +11 -0
  228. package/dist/lib/components/RadioCard/RadioCard.types.d.ts +10 -1
  229. package/dist/lib/components/RadioCard/RadioCard.variants.d.ts +3 -1
  230. package/dist/lib/components/Sidebar/Sidebar.types.d.ts +4 -0
  231. package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.types.d.ts +2 -0
  232. package/dist/lib/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +6 -0
  233. package/dist/lib/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +1 -0
  234. package/dist/lib/components/Skeleton/Skeleton.d.ts +14 -0
  235. package/dist/lib/components/Skeleton/Skeleton.types.d.ts +16 -0
  236. package/dist/lib/components/Skeleton/Skeleton.variants.d.ts +3 -0
  237. package/dist/lib/components/Stepper/Stepper.types.d.ts +2 -0
  238. package/dist/lib/components/Stepper/Stepper.variants.d.ts +7 -4
  239. package/dist/lib/components/Switch/Switch.types.d.ts +7 -0
  240. package/dist/lib/components/Tabs/Tabs.d.ts +13 -13
  241. package/dist/lib/components/Tabs/Tabs.types.d.ts +14 -3
  242. package/dist/lib/components/Tabs/Tabs.variants.d.ts +1 -1
  243. package/dist/lib/components/TagsInput/TagsInput.d.ts +20 -0
  244. package/dist/lib/components/TagsInput/TagsInput.types.d.ts +37 -0
  245. package/dist/lib/components/Tooltip/Tooltip.d.ts +4 -0
  246. package/dist/lib/components/Tooltip/Tooltip.types.d.ts +10 -0
  247. package/dist/lib/components/VirtualizedTable/VirtualizedTable.d.ts +8 -2
  248. package/dist/lib/components/VirtualizedTable/components/Actions/Actions.types.d.ts +6 -0
  249. package/dist/lib/components/VirtualizedTable/components/Actions/Actions.variants.d.ts +3 -1
  250. package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.d.ts +1 -1
  251. package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.types.d.ts +2 -0
  252. package/dist/lib/components/VirtualizedTable/components/Actions/components/InlineActions/InlineActions.d.ts +1 -1
  253. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/PortalActions.d.ts +1 -1
  254. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-actions-menu/use-actions-menu.d.ts +4 -1
  255. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-actions-menu/use-actions-menu.types.d.ts +3 -0
  256. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.d.ts +3 -1
  257. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.types.d.ts +1 -0
  258. package/dist/lib/components/VirtualizedTable/components/EmptyResults/EmptyResults.d.ts +3 -0
  259. package/dist/lib/components/VirtualizedTable/components/EmptyResults/EmptyResults.types.d.ts +9 -0
  260. package/dist/lib/components/VirtualizedTable/components/EmptyState/EmptyState.d.ts +3 -0
  261. package/dist/lib/components/VirtualizedTable/components/EmptyState/EmptyState.types.d.ts +8 -0
  262. package/dist/lib/components/VirtualizedTable/components/ErrorState/ErrorState.d.ts +3 -0
  263. package/dist/lib/components/VirtualizedTable/components/ErrorState/ErrorState.types.d.ts +9 -0
  264. package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.d.ts +2 -1
  265. package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.types.d.ts +8 -3
  266. package/dist/lib/components/VirtualizedTable/components/VirtualizedTableContent/VirtualizedTableContent.d.ts +3 -0
  267. package/dist/lib/components/VirtualizedTable/components/index.d.ts +3 -0
  268. package/dist/lib/components/VirtualizedTable/contexts/table.context.d.ts +1 -0
  269. package/dist/lib/components/index.d.ts +10 -0
  270. package/dist/package.json +31 -30
  271. package/dist/{phone-number.provider-BASl9fGG.js → phone-number.provider-DnuL-yYF.js} +4 -4
  272. package/dist/styles.css +1 -1
  273. package/dist/{table.provider-MQ4T5Xb5.js → table.provider-CW1fpZcF.js} +80 -79
  274. package/package.json +31 -30
  275. package/dist/AnimatePresence-BsUYG9bm.js +0 -186
  276. package/dist/Breadcrumb-CHi5-wVa.js +0 -81
  277. package/dist/Checkbox-CrNxsm3G.js +0 -247
  278. package/dist/Counter-DN50BVq6.js +0 -194
  279. package/dist/DropdownButton-Blhkj-Oi.js +0 -490
  280. package/dist/FlagSelectorList-ClKGwDpS.js +0 -918
  281. package/dist/Modal-Bk1I_NCC.js +0 -81
  282. package/dist/Spinner-smR3esbL.js +0 -47
  283. package/dist/Switch-CPE8v6Zh.js +0 -199
  284. package/dist/Toast-CRPLONv9.js +0 -77
  285. package/dist/components-z-LYRWfq.js +0 -124
  286. package/dist/dist-CNui_Egg.js +0 -451
  287. package/dist/dist-CR3FMRzF.js +0 -118
  288. package/dist/dist-D5Q2IYuC.js +0 -358
  289. package/dist/dist-D70ZJkHf.js +0 -29
  290. package/dist/dist-DZ_SU77k.js +0 -437
  291. package/dist/dist-LRkZdylX.js +0 -174
  292. package/dist/dist-f8EwfITY.js +0 -194
  293. package/dist/dist-pWlMx4Fi.js +0 -36
  294. package/dist/dist-uerXivvM.js +0 -178
  295. package/dist/dist-xCbHbMLA.js +0 -116
  296. package/dist/es2015-Hhb87ipX.js +0 -231
  297. package/dist/react-C685EsYG.js +0 -4730
@@ -1,11 +1,10 @@
1
1
  import { t as D } from "../../../../../../utils-DnIJruo0.js";
2
2
  import { Button as s } from "../../../../../Button/Button.js";
3
- import { t as r } from "../../../../../../react-C685EsYG.js";
4
- import { t as c } from "../../../../../../AnimatePresence-BsUYG9bm.js";
5
3
  import { useCustomDateRangeFilterDropdown as O } from "../../contexts/custom-date-range-filter-dropdown/custom-date-range-filter-dropdown.hook.js";
6
4
  import { jsx as a, jsxs as I } from "react/jsx-runtime";
7
- var i = 0.15, F = () => {
8
- const { animationDuration: l, appliedRangeLabel: p, hasPendingSelection: e, isCollapsed: d, labelApply: m, labelReset: h, revealCalendarOnCustom: u, showsCalendar: y, onApply: f, onReset: g } = O(), n = u && !y, o = n && e && !d, v = n && (o || !!p), t = l / 1e3, A = {
5
+ import { AnimatePresence as r, motion as c } from "motion/react";
6
+ var i = 0.15, B = () => {
7
+ const { animationDuration: l, appliedRangeLabel: p, hasPendingSelection: e, isCollapsed: d, labelApply: h, labelReset: m, revealCalendarOnCustom: u, showsCalendar: y, onApply: f, onReset: g } = O(), n = u && !y, o = n && e && !d, v = n && (o || !!p), t = l / 1e3, A = {
9
8
  opacity: 1,
10
9
  transition: {
11
10
  duration: i,
@@ -38,9 +37,9 @@ var i = 0.15, F = () => {
38
37
  opacity: { duration: i }
39
38
  }
40
39
  };
41
- return /* @__PURE__ */ a(c, {
40
+ return /* @__PURE__ */ a(r, {
42
41
  initial: !1,
43
- children: v && /* @__PURE__ */ a(r.div, {
42
+ children: v && /* @__PURE__ */ a(c.div, {
44
43
  className: "overflow-hidden",
45
44
  initial: {
46
45
  height: 0,
@@ -54,10 +53,10 @@ var i = 0.15, F = () => {
54
53
  variant: "secondary",
55
54
  appearance: "compact",
56
55
  onClick: g,
57
- children: h
58
- }), /* @__PURE__ */ a(c, {
56
+ children: m
57
+ }), /* @__PURE__ */ a(r, {
59
58
  initial: !1,
60
- children: o && /* @__PURE__ */ a(r.div, {
59
+ children: o && /* @__PURE__ */ a(c.div, {
61
60
  initial: { opacity: 0 },
62
61
  animate: A,
63
62
  exit: C,
@@ -65,7 +64,7 @@ var i = 0.15, F = () => {
65
64
  appearance: "compact",
66
65
  disabled: !e,
67
66
  onClick: f,
68
- children: m
67
+ children: h
69
68
  })
70
69
  }, "apply")
71
70
  })]
@@ -74,5 +73,5 @@ var i = 0.15, F = () => {
74
73
  });
75
74
  };
76
75
  export {
77
- F as Actions
76
+ B as Actions
78
77
  };
@@ -1,25 +1,28 @@
1
- import { t as n } from "../../../../../../utils-DVYdP0CJ.js";
1
+ import { useLocale as n } from "../../../../hooks/useLocale.js";
2
2
  import { useMemo as i } from "react";
3
- var f = ({ range: t, countryCode: r = "US" }) => i(() => {
4
- if (!t?.from) return {
5
- appliedRangeLabel: void 0,
6
- appliedRangeEnds: void 0
7
- };
8
- const m = n(r), e = (o) => o.toLocaleDateString(m, {
9
- day: "numeric",
10
- month: "short"
11
- }), a = (o) => {
12
- const l = o.toLocaleDateString(m, { month: "short" });
13
- return `${o.getDate()} ${l} ${o.getFullYear()}`;
14
- };
15
- return {
16
- appliedRangeLabel: t.to ? `${e(t.from)} - ${e(t.to)}` : e(t.from),
17
- appliedRangeEnds: {
18
- from: a(t.from),
19
- to: t.to && a(t.to)
20
- }
21
- };
22
- }, [t, r]);
3
+ var u = ({ range: o, countryCode: a = "US" }) => {
4
+ const e = n(a);
5
+ return i(() => {
6
+ if (!o?.from) return {
7
+ appliedRangeLabel: void 0,
8
+ appliedRangeEnds: void 0
9
+ };
10
+ const r = (t) => t.toLocaleDateString(e, {
11
+ day: "numeric",
12
+ month: "short"
13
+ }), m = (t) => {
14
+ const l = t.toLocaleDateString(e, { month: "short" });
15
+ return `${t.getDate()} ${l} ${t.getFullYear()}`;
16
+ };
17
+ return {
18
+ appliedRangeLabel: o.to ? `${r(o.from)} - ${r(o.to)}` : r(o.from),
19
+ appliedRangeEnds: {
20
+ from: m(o.from),
21
+ to: o.to && m(o.to)
22
+ }
23
+ };
24
+ }, [o, e]);
25
+ };
23
26
  export {
24
- f as useFormattedDateRange
27
+ u as useFormattedDateRange
25
28
  };
@@ -1,37 +1,37 @@
1
1
  import { useFilterContext as O } from "../../../../contexts/filter.hook.js";
2
2
  import { sendOpenFilterEvent as v } from "../../../../events/index.js";
3
- import { useFilterDropdownSync as C } from "../../../../hooks/useFilterDropdownSync.js";
4
- import { t as g } from "../../../../../../utils-DVYdP0CJ.js";
5
- import { useCallback as a, useId as w, useMemo as x, useState as l } from "react";
6
- var A = ({ onApply: o, countryCode: r = "US" }) => {
7
- const { closeOnApply: i } = O(), s = w(), [f, e] = l(!1), [n, c] = l(), [d, p] = l(), D = x(() => d?.toLocaleDateString(g(r), {
3
+ import { useFilterDropdownSync as g } from "../../../../hooks/useFilterDropdownSync.js";
4
+ import { useLocale as w } from "../../../../hooks/useLocale.js";
5
+ import { useCallback as a, useId as x, useMemo as I, useState as l } from "react";
6
+ var E = ({ onApply: o, countryCode: f = "US" }) => {
7
+ const { closeOnApply: r } = O(), s = x(), [u, e] = l(!1), [n, c] = l(), [i, d] = l(), p = w(f), D = I(() => i?.toLocaleDateString(p, {
8
8
  day: "numeric",
9
9
  month: "short",
10
10
  year: "numeric"
11
- }), [d, r]), u = (t) => {
11
+ }), [i, p]), y = (t) => {
12
12
  t && v(s), e(t);
13
13
  }, h = () => {
14
- p(n), o?.(n), i && e(!1);
15
- }, y = a((t) => c(t), []), S = a(() => e(!1), []), m = a(() => {
16
- c(void 0), p(void 0), o?.();
14
+ d(n), o?.(n), r && e(!1);
15
+ }, S = a((t) => c(t), []), C = a(() => e(!1), []), m = a(() => {
16
+ c(void 0), d(void 0), o?.();
17
17
  }, [o]), F = () => {
18
- m(), i && e(!1);
18
+ m(), r && e(!1);
19
19
  };
20
- return C({
20
+ return g({
21
21
  id: s,
22
- onClose: S,
22
+ onClose: C,
23
23
  onReset: m
24
24
  }), {
25
25
  id: s,
26
26
  appliedDay: D,
27
- isOpen: f,
27
+ isOpen: u,
28
28
  selectedDay: n,
29
29
  handleApply: h,
30
- handleOpenChange: u,
31
- handleSelect: y,
30
+ handleOpenChange: y,
31
+ handleSelect: S,
32
32
  handleReset: F
33
33
  };
34
34
  };
35
35
  export {
36
- A as useDateFilterDropdown
36
+ E as useDateFilterDropdown
37
37
  };
@@ -1,49 +1,49 @@
1
- import { useFilterContext as O } from "../../../../contexts/filter.hook.js";
2
- import { sendOpenFilterEvent as v } from "../../../../events/index.js";
3
- import { useFilterDropdownSync as w } from "../../../../hooks/useFilterDropdownSync.js";
4
- import { t as x } from "../../../../../../utils-DVYdP0CJ.js";
5
- import { useCallback as a, useId as y, useMemo as I, useState as l } from "react";
6
- var E = ({ defaultRange: d, onApply: n, countryCode: p = "US" }) => {
7
- const { closeOnApply: i } = O(), r = y(), [g, o] = l(!1), [s, c] = l(d), [t, m] = l(), u = I(() => {
1
+ import { useFilterContext as v } from "../../../../contexts/filter.hook.js";
2
+ import { sendOpenFilterEvent as w } from "../../../../events/index.js";
3
+ import { useFilterDropdownSync as x } from "../../../../hooks/useFilterDropdownSync.js";
4
+ import { useLocale as y } from "../../../../hooks/useLocale.js";
5
+ import { useCallback as a, useId as I, useMemo as L, useState as l } from "react";
6
+ var M = ({ defaultRange: p, onApply: n, countryCode: u = "US" }) => {
7
+ const { closeOnApply: i } = v(), s = I(), [g, o] = l(!1), [r, c] = l(p), [t, m] = l(), f = y(u), h = L(() => {
8
8
  if (!t?.from) return;
9
- const e = (F) => F.toLocaleDateString(x(p), {
9
+ const e = (O) => O.toLocaleDateString(f, {
10
10
  day: "numeric",
11
11
  month: "short"
12
12
  });
13
13
  return t.to ? `${e(t.from)} - ${e(t.to)}` : e(t.from);
14
- }, [t]), h = (e) => {
15
- e && v(r), o(e);
16
- }, R = () => {
14
+ }, [t, f]), R = (e) => {
15
+ e && w(s), o(e);
16
+ }, C = () => {
17
17
  const e = {
18
- from: s?.from,
19
- to: s?.to
18
+ from: r?.from,
19
+ to: r?.to
20
20
  };
21
21
  m(e), n?.(e), i && o(!1);
22
- }, C = a((e) => {
22
+ }, S = a((e) => {
23
23
  c({
24
24
  from: e.from,
25
25
  to: e.to
26
26
  });
27
- }, []), S = a(() => o(!1), []), f = a(() => {
27
+ }, []), D = a(() => o(!1), []), d = a(() => {
28
28
  c(void 0), m(void 0), n?.();
29
- }, [n]), D = () => {
30
- f(), i && o(!1);
29
+ }, [n]), F = () => {
30
+ d(), i && o(!1);
31
31
  };
32
- return w({
33
- id: r,
34
- onClose: S,
35
- onReset: f
32
+ return x({
33
+ id: s,
34
+ onClose: D,
35
+ onReset: d
36
36
  }), {
37
- id: r,
38
- appliedRange: u,
37
+ id: s,
38
+ appliedRange: h,
39
39
  isOpen: g,
40
- selectedRange: s,
41
- handleApply: R,
42
- handleOpenChange: h,
43
- handleRangeChange: C,
44
- handleReset: D
40
+ selectedRange: r,
41
+ handleApply: C,
42
+ handleOpenChange: R,
43
+ handleRangeChange: S,
44
+ handleReset: F
45
45
  };
46
46
  };
47
47
  export {
48
- E as useDateRangeFilterDropdown
48
+ M as useDateRangeFilterDropdown
49
49
  };
@@ -1,16 +1,16 @@
1
1
  import { t as l } from "../../../../utils-DnIJruo0.js";
2
- import { useFilterContext as f } from "../../contexts/filter.hook.js";
3
- import { a as p, i as c, n as h, r as g } from "../../../../dist-LRkZdylX.js";
2
+ import { useFilterContext as p } from "../../contexts/filter.hook.js";
3
+ import { a as f, i as c, r as h, t as g } from "../../../../dist-CQSCPpFc.js";
4
4
  import { jsx as e, jsxs as u } from "react/jsx-runtime";
5
- var j = ({ isOpen: t, trigger: r, triggerClassName: o, position: a = "left", contentClassName: n, children: s, onOpenChange: i }) => {
6
- const { theme: m } = f();
7
- return /* @__PURE__ */ u(c, {
8
- open: t,
5
+ var w = ({ isOpen: r, trigger: t, triggerClassName: o, position: a = "left", contentClassName: n, children: s, onOpenChange: i }) => {
6
+ const { theme: m } = p();
7
+ return /* @__PURE__ */ u(g, {
8
+ open: r,
9
9
  onOpenChange: i,
10
- children: [/* @__PURE__ */ e(p, {
10
+ children: [/* @__PURE__ */ e(f, {
11
11
  className: o,
12
- children: r
13
- }), /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(h, {
12
+ children: t
13
+ }), /* @__PURE__ */ e(c, { children: /* @__PURE__ */ e(h, {
14
14
  "data-theme": m,
15
15
  side: "bottom",
16
16
  sideOffset: 4,
@@ -24,5 +24,5 @@ var j = ({ isOpen: t, trigger: r, triggerClassName: o, position: a = "left", con
24
24
  });
25
25
  };
26
26
  export {
27
- j as FilterDropdown
27
+ w as FilterDropdown
28
28
  };
@@ -1,4 +1,4 @@
1
- import { t as d } from "../../../../Checkbox-CrNxsm3G.js";
1
+ import { t as d } from "../../../../Checkbox-DRdyrKjk.js";
2
2
  import { t as s } from "../../../../utils-DnIJruo0.js";
3
3
  import { Button as m } from "../../../Button/Button.js";
4
4
  import { t as y } from "../../../../chevron-down-BODx0Q7h.js";
@@ -1,4 +1,6 @@
1
1
  import { useFilterDropdownSync as r } from "./useFilterDropdownSync.js";
2
+ import { useLocale as m } from "./useLocale.js";
2
3
  export {
3
- r as useFilterDropdownSync
4
+ r as useFilterDropdownSync,
5
+ m as useLocale
4
6
  };
@@ -0,0 +1,16 @@
1
+ import { getLocale as o, loadLocaleMap as r } from "../utils/index.js";
2
+ import { useEffect as s, useState as l } from "react";
3
+ var u = (t) => {
4
+ const [, a] = l(!1);
5
+ return s(() => {
6
+ let e = !0;
7
+ return r().then(() => {
8
+ e && a(!0);
9
+ }), () => {
10
+ e = !1;
11
+ };
12
+ }, []), o(t);
13
+ };
14
+ export {
15
+ u as useLocale
16
+ };
@@ -1,4 +1,8 @@
1
- import { t } from "../../../utils-DVYdP0CJ.js";
1
+ import { o as t } from "../../../rolldown-runtime-Dw9YIBcH.js";
2
+ var l = "en-US", r, e, p = () => (e || (e = import("../../../country-locale-map-DbrJ3bEE.js").then((a) => /* @__PURE__ */ t(a.default, 1)).then((a) => {
3
+ r = a.default;
4
+ })), e), u = (a = "US") => r?.getCountryByAlpha2(a)?.default_locale?.replace("_", "-") ?? l;
2
5
  export {
3
- t as getLocale
6
+ u as getLocale,
7
+ p as loadLocaleMap
4
8
  };
@@ -1,127 +1,20 @@
1
- import { a as l, t as _ } from "../../utils-DnIJruo0.js";
2
- import { Typography as z } from "../Typography/Typography.js";
3
- import { a as P, c as j, d as D, i as E, l as F, n as H, o as N, s as O, u as M } from "../../dist-Dg3vyTx9.js";
4
- import { useMemo as h } from "react";
5
- import { jsx as p, jsxs as V } from "react/jsx-runtime";
6
- P.register(E, F, M, O, N, j, D);
7
- var a = [
8
- "--color-aurora-500",
9
- "--color-rose-500",
10
- "--color-violet-500",
11
- "--color-emerald-500",
12
- "--color-sky-500",
13
- "--color-teal-500",
14
- "--color-amber-500",
15
- "--color-fuchsia-500",
16
- "--color-indigo-500",
17
- "--color-cyan-500"
18
- ], J = ({ title: n, titleProps: k, labels: u, datasets: i, yAxisFormatter: t, showLegend: b, height: C = 300, smooth: m = !0, axisColor: c = "#9F9FA9", gridColor: e = "#45556C", showGrid: g = !0, lineWidth: f = 2, showAxisBorder: s = !1, tooltipTextColor: d = l("--color-metal-100"), className: S }) => {
19
- const v = b !== void 0 ? b : i.length > 1, L = h(() => ({
20
- labels: u,
21
- datasets: i.map((o, r) => ({
22
- label: o.label,
23
- data: o.data,
24
- borderColor: o.color ?? l(a[r % a.length]),
25
- backgroundColor: o.color ?? l(a[r % a.length]),
26
- borderDash: o.borderDash,
27
- borderWidth: f,
28
- pointRadius: 0,
29
- pointHoverRadius: 4,
30
- tension: m ? 0.3 : 0,
31
- fill: !1
32
- }))
33
- }), [
34
- u,
35
- i,
36
- m,
37
- f
38
- ]), R = h(() => ({
39
- responsive: !0,
40
- maintainAspectRatio: !1,
41
- onHover: (o, r) => {
42
- const y = o.native?.target;
43
- y && (y.style.cursor = r.length > 0 ? "pointer" : "default");
44
- },
45
- interaction: {
46
- mode: "index",
47
- intersect: !1
48
- },
49
- plugins: {
50
- legend: {
51
- display: v,
52
- position: "top",
53
- align: "end",
54
- labels: {
55
- color: "#9FAFBC",
56
- font: {
57
- size: 12,
58
- weight: 500
59
- },
60
- usePointStyle: !0,
61
- pointStyle: "line",
62
- boxWidth: 24,
63
- padding: 16
64
- }
65
- },
66
- tooltip: {
67
- enabled: !0,
68
- backgroundColor: l("--color-metal-700"),
69
- titleColor: d,
70
- bodyColor: d,
71
- boxPadding: 6,
72
- callbacks: { labelTextColor: () => d }
73
- }
74
- },
75
- scales: {
76
- x: {
77
- grid: { color: "transparent" },
78
- ticks: {
79
- color: c,
80
- font: { size: 12 }
81
- },
82
- border: {
83
- display: s,
84
- color: e
85
- }
86
- },
87
- y: {
88
- grid: { color: g ? e : "transparent" },
89
- ticks: {
90
- color: c,
91
- font: { size: 12 },
92
- callback: t ? (o) => t(o) : void 0
93
- },
94
- border: {
95
- display: s,
96
- color: e
97
- }
98
- }
99
- }
100
- }), [
101
- v,
102
- t,
103
- c,
104
- e,
105
- g,
106
- s
107
- ]);
108
- return /* @__PURE__ */ V("div", {
109
- className: _("w-full", S),
110
- children: [n && /* @__PURE__ */ p(z, {
111
- variant: "subtitle2",
112
- className: "mb-6",
113
- ...k,
114
- children: n
115
- }), /* @__PURE__ */ p("div", {
116
- style: { height: C },
117
- children: /* @__PURE__ */ p(H, {
118
- "aria-label": n ?? "Line chart",
119
- data: L,
120
- options: R
121
- })
122
- })]
123
- });
124
- };
1
+ import { t as n } from "../../utils-DnIJruo0.js";
2
+ import { Typography as l } from "../Typography/Typography.js";
3
+ import { Suspense as m, lazy as o } from "react";
4
+ import { jsx as r, jsxs as s } from "react/jsx-runtime";
5
+ var h = o(() => import("./components/LineChartContent/LineChartContent.js").then((a) => ({ default: a.LineChartContent }))), c = ({ className: a, height: e = 300, title: t, titleProps: i }) => /* @__PURE__ */ s("div", {
6
+ className: n("w-full", a),
7
+ "aria-busy": "true",
8
+ children: [t && /* @__PURE__ */ r(l, {
9
+ variant: "subtitle2",
10
+ className: "mb-6",
11
+ ...i,
12
+ children: t
13
+ }), /* @__PURE__ */ r("div", { style: { height: e } })]
14
+ }), v = (a) => /* @__PURE__ */ r(m, {
15
+ fallback: /* @__PURE__ */ r(c, { ...a }),
16
+ children: /* @__PURE__ */ r(h, { ...a })
17
+ });
125
18
  export {
126
- J as LineChart
19
+ v as LineChart
127
20
  };
@@ -0,0 +1,127 @@
1
+ import { a as l, t as _ } from "../../../../utils-DnIJruo0.js";
2
+ import { Typography as z } from "../../../Typography/Typography.js";
3
+ import { a as P, c as j, d as D, i as E, l as F, n as H, o as N, s as O, u as M } from "../../../../dist-Dg3vyTx9.js";
4
+ import { useMemo as h } from "react";
5
+ import { jsx as p, jsxs as V } from "react/jsx-runtime";
6
+ P.register(E, F, M, O, N, j, D);
7
+ var a = [
8
+ "--color-aurora-500",
9
+ "--color-rose-500",
10
+ "--color-violet-500",
11
+ "--color-emerald-500",
12
+ "--color-sky-500",
13
+ "--color-teal-500",
14
+ "--color-amber-500",
15
+ "--color-fuchsia-500",
16
+ "--color-indigo-500",
17
+ "--color-cyan-500"
18
+ ], J = ({ title: n, titleProps: C, labels: u, datasets: t, yAxisFormatter: i, showLegend: b, height: k = 300, smooth: m = !0, axisColor: c = "#9F9FA9", gridColor: e = "#45556C", showGrid: g = !0, lineWidth: f = 2, showAxisBorder: s = !1, tooltipTextColor: d = l("--color-metal-100"), className: S }) => {
19
+ const v = b !== void 0 ? b : t.length > 1, L = h(() => ({
20
+ labels: u,
21
+ datasets: t.map((o, r) => ({
22
+ label: o.label,
23
+ data: o.data,
24
+ borderColor: o.color ?? l(a[r % a.length]),
25
+ backgroundColor: o.color ?? l(a[r % a.length]),
26
+ borderDash: o.borderDash,
27
+ borderWidth: f,
28
+ pointRadius: 0,
29
+ pointHoverRadius: 4,
30
+ tension: m ? 0.3 : 0,
31
+ fill: !1
32
+ }))
33
+ }), [
34
+ u,
35
+ t,
36
+ m,
37
+ f
38
+ ]), R = h(() => ({
39
+ responsive: !0,
40
+ maintainAspectRatio: !1,
41
+ onHover: (o, r) => {
42
+ const y = o.native?.target;
43
+ y && (y.style.cursor = r.length > 0 ? "pointer" : "default");
44
+ },
45
+ interaction: {
46
+ mode: "index",
47
+ intersect: !1
48
+ },
49
+ plugins: {
50
+ legend: {
51
+ display: v,
52
+ position: "top",
53
+ align: "end",
54
+ labels: {
55
+ color: "#9FAFBC",
56
+ font: {
57
+ size: 12,
58
+ weight: 500
59
+ },
60
+ usePointStyle: !0,
61
+ pointStyle: "line",
62
+ boxWidth: 24,
63
+ padding: 16
64
+ }
65
+ },
66
+ tooltip: {
67
+ enabled: !0,
68
+ backgroundColor: l("--color-metal-700"),
69
+ titleColor: d,
70
+ bodyColor: d,
71
+ boxPadding: 6,
72
+ callbacks: { labelTextColor: () => d }
73
+ }
74
+ },
75
+ scales: {
76
+ x: {
77
+ grid: { color: "transparent" },
78
+ ticks: {
79
+ color: c,
80
+ font: { size: 12 }
81
+ },
82
+ border: {
83
+ display: s,
84
+ color: e
85
+ }
86
+ },
87
+ y: {
88
+ grid: { color: g ? e : "transparent" },
89
+ ticks: {
90
+ color: c,
91
+ font: { size: 12 },
92
+ callback: i ? (o) => i(o) : void 0
93
+ },
94
+ border: {
95
+ display: s,
96
+ color: e
97
+ }
98
+ }
99
+ }
100
+ }), [
101
+ v,
102
+ i,
103
+ c,
104
+ e,
105
+ g,
106
+ s
107
+ ]);
108
+ return /* @__PURE__ */ V("div", {
109
+ className: _("w-full", S),
110
+ children: [n && /* @__PURE__ */ p(z, {
111
+ variant: "subtitle2",
112
+ className: "mb-6",
113
+ ...C,
114
+ children: n
115
+ }), /* @__PURE__ */ p("div", {
116
+ style: { height: k },
117
+ children: /* @__PURE__ */ p(H, {
118
+ "aria-label": n ?? "Line chart",
119
+ data: L,
120
+ options: R
121
+ })
122
+ })]
123
+ });
124
+ };
125
+ export {
126
+ J as LineChartContent
127
+ };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t } from "../../Modal-Bk1I_NCC.js";
2
+ import { t } from "../../Modal-CysTe3zL.js";
3
3
  export {
4
4
  t as Modal
5
5
  };
@@ -1,4 +1,4 @@
1
- import { t as m } from "../../../../dist-xCbHbMLA.js";
1
+ import { t as m } from "../../../../dist-CK8FUUUn.js";
2
2
  import { t as a } from "../../../../utils-DnIJruo0.js";
3
3
  import { jsx as s } from "react/jsx-runtime";
4
4
  var p = ({ children: r, asChild: o, className: t }) => /* @__PURE__ */ s(o ? m : "div", {
@@ -1,4 +1,4 @@
1
- import { t as m } from "../../../../dist-xCbHbMLA.js";
1
+ import { t as m } from "../../../../dist-CK8FUUUn.js";
2
2
  import { t as a } from "../../../../utils-DnIJruo0.js";
3
3
  import { jsx as e } from "react/jsx-runtime";
4
4
  var p = ({ children: r, asChild: o, className: t }) => /* @__PURE__ */ e(o ? m : "div", {
@@ -1,4 +1,4 @@
1
- import { t as a } from "../../../../dist-xCbHbMLA.js";
1
+ import { t as a } from "../../../../dist-CK8FUUUn.js";
2
2
  import { t as e } from "../../../../utils-DnIJruo0.js";
3
3
  import { jsx as m } from "react/jsx-runtime";
4
4
  var p = ({ children: r, asChild: o, className: t }) => /* @__PURE__ */ m(o ? a : "div", {
@@ -1,4 +1,4 @@
1
- import { n as p } from "../../../../Modal-Bk1I_NCC.js";
1
+ import { n as p } from "../../../../Modal-CysTe3zL.js";
2
2
  export {
3
3
  p as Wrapper
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { Body as o } from "./Body/Body.js";
2
2
  import { Footer as p } from "./Footer/Footer.js";
3
3
  import { Header as e } from "./Header/Header.js";
4
- import { n as i } from "../../../Modal-Bk1I_NCC.js";
4
+ import { n as i } from "../../../Modal-CysTe3zL.js";
5
5
  export {
6
6
  o as Body,
7
7
  p as Footer,
@@ -1,4 +1,4 @@
1
- import { t } from "../../components-z-LYRWfq.js";
1
+ import { t } from "../../components-B_SWqhCL.js";
2
2
  export {
3
3
  t as MultiSelectDropdown
4
4
  };