@ultraviolet/ui 3.0.0-beta.25 → 3.0.0-beta.27

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 (368) hide show
  1. package/dist/components/ActionBar/styles.css.js +1 -0
  2. package/dist/components/Avatar/constants.d.ts +5 -5
  3. package/dist/components/Avatar/constants.js +1 -1
  4. package/dist/components/Avatar/styles.css.d.ts +24 -24
  5. package/dist/components/Avatar/styles.css.js +0 -1
  6. package/dist/components/BarChart/Tooltip.d.ts +3 -3
  7. package/dist/components/BarChart/Tooltip.js +2 -2
  8. package/dist/components/BarChart/index.d.ts +1 -1
  9. package/dist/components/BarChart/index.js +2 -2
  10. package/dist/components/Button/constants.d.ts +1 -0
  11. package/dist/components/Button/index.d.ts +0 -4
  12. package/dist/components/ExpandableCard/constants.d.ts +1 -0
  13. package/dist/components/ExpandableCard/index.d.ts +1 -1
  14. package/dist/components/ExpandableCard/styles.css.d.ts +1 -1
  15. package/dist/components/ExpandableCard/styles.css.js +2 -2
  16. package/dist/components/Key/constants.d.ts +8 -0
  17. package/dist/components/Key/constants.js +11 -0
  18. package/dist/components/Key/index.d.ts +0 -8
  19. package/dist/components/Key/index.js +1 -9
  20. package/dist/components/LineChart/helpers.js +2 -2
  21. package/dist/components/List/Row.js +1 -1
  22. package/dist/components/Loader/constants.d.ts +8 -0
  23. package/dist/components/Loader/constants.js +11 -0
  24. package/dist/components/Loader/index.d.ts +1 -8
  25. package/dist/components/Loader/index.js +5 -24
  26. package/dist/components/Loader/styles.css.d.ts +1 -0
  27. package/dist/components/Loader/styles.css.js +3 -1
  28. package/dist/components/Menu/MenuContent.js +7 -1
  29. package/dist/components/Menu/components/Item.d.ts +2 -2
  30. package/dist/components/Menu/components/Item.js +1 -1
  31. package/dist/components/Menu/index.js +1 -1
  32. package/dist/components/Notification/Notification.d.ts +10 -0
  33. package/dist/components/Notification/{index.js → Notification.js} +2 -14
  34. package/dist/components/Notification/NotificationContainer.d.ts +30 -0
  35. package/dist/components/Notification/NotificationContainer.js +17 -0
  36. package/dist/components/Notification/index.d.ts +2 -37
  37. package/dist/components/PieChart/Legends.d.ts +2 -2
  38. package/dist/components/PieChart/Legends.js +2 -2
  39. package/dist/components/PieChart/Tooltip.d.ts +2 -2
  40. package/dist/components/PieChart/Tooltip.js +1 -1
  41. package/dist/components/PieChart/index.js +1 -1
  42. package/dist/components/Popup/index.js +8 -0
  43. package/dist/components/ProgressBar/styles.css.js +0 -1
  44. package/dist/components/ProgressBar/variables.css.js +1 -0
  45. package/dist/components/SelectInput/components/SearchBarDropdown.d.ts +1 -3
  46. package/dist/components/SelectInput/components/SearchBarDropdown.js +7 -4
  47. package/dist/components/SelectableCard/styles.css.js +0 -1
  48. package/dist/components/SelectableCard/variables.css.js +1 -0
  49. package/dist/components/Stepper/index.js +1 -1
  50. package/dist/components/TagList/index.js +1 -1
  51. package/dist/components/Text/constants.d.ts +9 -0
  52. package/dist/components/Text/index.d.ts +1 -4
  53. package/dist/components/Text/style.css.js +1 -0
  54. package/dist/components/Text/variables.css.js +0 -1
  55. package/dist/components/Toaster/Toaster.d.ts +7 -0
  56. package/dist/components/Toaster/Toaster.js +25 -0
  57. package/dist/components/Toaster/ToasterContainer.d.ts +38 -0
  58. package/dist/components/Toaster/ToasterContainer.js +18 -0
  59. package/dist/components/Toaster/components/CloseButton.d.ts +8 -0
  60. package/dist/components/Toaster/components/CloseButton.js +12 -0
  61. package/dist/components/Toaster/components/Content.d.ts +6 -0
  62. package/dist/components/Toaster/components/Content.js +10 -0
  63. package/dist/components/Toaster/constants.d.ts +1 -0
  64. package/dist/components/Toaster/constants.js +4 -0
  65. package/dist/components/Toaster/index.d.ts +3 -45
  66. package/dist/components/TreeMapChart/Tooltip.d.ts +6 -0
  67. package/dist/components/TreeMapChart/Tooltip.js +15 -0
  68. package/dist/components/TreeMapChart/index.d.ts +18 -0
  69. package/dist/components/TreeMapChart/index.js +68 -0
  70. package/dist/components/TreeMapChart/styles.css.d.ts +2 -0
  71. package/dist/components/TreeMapChart/styles.css.js +7 -0
  72. package/dist/components/TreeMapChart/types.d.ts +7 -0
  73. package/dist/components/VerificationCode/constants.d.ts +1 -0
  74. package/dist/components/VerificationCode/index.d.ts +0 -2
  75. package/dist/components/index.d.ts +1 -0
  76. package/dist/helpers/legend.d.ts +2 -2
  77. package/dist/helpers/legend.js +1 -1
  78. package/dist/helpers/nivoTheme.d.ts +1 -1
  79. package/dist/helpers/treeMap.d.ts +90 -0
  80. package/dist/helpers/treeMap.js +42 -0
  81. package/dist/hooks/useIsOverflowing.js +2 -1
  82. package/dist/index.d.ts +2 -1
  83. package/dist/index.js +37 -9
  84. package/dist/ui.css +1 -1
  85. package/dist/utils/animations/animations.d.ts +27 -0
  86. package/dist/utils/animations/animations.js +271 -0
  87. package/dist/utils/animations/animationsVE.css.d.ts +27 -0
  88. package/dist/utils/animations/animationsVE.css.js +57 -0
  89. package/dist/utils/index.d.ts +2 -2
  90. package/package.json +6 -4
  91. package/dist/components/ActionBar/index.cjs +0 -22
  92. package/dist/components/ActionBar/styles.css.cjs +0 -10
  93. package/dist/components/Alert/index.cjs +0 -55
  94. package/dist/components/Alert/styles.css.cjs +0 -14
  95. package/dist/components/Avatar/constants.cjs +0 -19
  96. package/dist/components/Avatar/index.cjs +0 -66
  97. package/dist/components/Avatar/styles.css.cjs +0 -18
  98. package/dist/components/Avatar/variables.css.cjs +0 -8
  99. package/dist/components/Badge/constant.cjs +0 -8
  100. package/dist/components/Badge/index.cjs +0 -27
  101. package/dist/components/Badge/styles.css.cjs +0 -6
  102. package/dist/components/Banner/assets/default-image-small.svg.cjs +0 -3
  103. package/dist/components/Banner/assets/default-image.svg.cjs +0 -3
  104. package/dist/components/Banner/index.cjs +0 -74
  105. package/dist/components/Banner/styles.css.cjs +0 -10
  106. package/dist/components/BarChart/Tooltip.cjs +0 -22
  107. package/dist/components/BarChart/index.cjs +0 -60
  108. package/dist/components/BarChart/styles.css.cjs +0 -9
  109. package/dist/components/BarStack/index.cjs +0 -35
  110. package/dist/components/BarStack/styles.css.cjs +0 -11
  111. package/dist/components/Breadcrumbs/components/Item.cjs +0 -41
  112. package/dist/components/Breadcrumbs/components/styles.css.cjs +0 -18
  113. package/dist/components/Breadcrumbs/index.cjs +0 -14
  114. package/dist/components/Breadcrumbs/styles.css.cjs +0 -5
  115. package/dist/components/Bullet/index.cjs +0 -24
  116. package/dist/components/Bullet/styles.css.cjs +0 -6
  117. package/dist/components/Button/constants.cjs +0 -6
  118. package/dist/components/Button/index.cjs +0 -84
  119. package/dist/components/Button/styles.css.cjs +0 -6
  120. package/dist/components/Card/index.cjs +0 -28
  121. package/dist/components/Card/styles.css.cjs +0 -7
  122. package/dist/components/Carousel/index.cjs +0 -74
  123. package/dist/components/Carousel/styles.css.cjs +0 -15
  124. package/dist/components/Checkbox/index.cjs +0 -58
  125. package/dist/components/Checkbox/styles.css.cjs +0 -17
  126. package/dist/components/CheckboxGroup/index.cjs +0 -78
  127. package/dist/components/CheckboxGroup/styles.css.cjs +0 -7
  128. package/dist/components/Chip/ChipContext.cjs +0 -6
  129. package/dist/components/Chip/ChipIcon.cjs +0 -52
  130. package/dist/components/Chip/index.cjs +0 -60
  131. package/dist/components/Chip/styles.css.cjs +0 -7
  132. package/dist/components/CopyButton/index.cjs +0 -35
  133. package/dist/components/DateInput/Context.cjs +0 -23
  134. package/dist/components/DateInput/components/CalendarContent.cjs +0 -61
  135. package/dist/components/DateInput/components/CalendarDaily.cjs +0 -169
  136. package/dist/components/DateInput/components/CalendarMonthly.cjs +0 -105
  137. package/dist/components/DateInput/components/Popup.cjs +0 -28
  138. package/dist/components/DateInput/components/styles.css.cjs +0 -12
  139. package/dist/components/DateInput/constants.cjs +0 -6
  140. package/dist/components/DateInput/helpers.cjs +0 -69
  141. package/dist/components/DateInput/helpersLocale.cjs +0 -64
  142. package/dist/components/DateInput/index.cjs +0 -192
  143. package/dist/components/DateInput/styles.css.cjs +0 -8
  144. package/dist/components/Dialog/Context.cjs +0 -14
  145. package/dist/components/Dialog/components/Button.cjs +0 -17
  146. package/dist/components/Dialog/components/Buttons.cjs +0 -13
  147. package/dist/components/Dialog/components/CancelButton.cjs +0 -12
  148. package/dist/components/Dialog/components/Stack.cjs +0 -10
  149. package/dist/components/Dialog/components/Text.cjs +0 -10
  150. package/dist/components/Dialog/index.cjs +0 -60
  151. package/dist/components/Dialog/styles.css.cjs +0 -7
  152. package/dist/components/Drawer/index.cjs +0 -56
  153. package/dist/components/Drawer/styles.css.cjs +0 -17
  154. package/dist/components/EmptyState/index.cjs +0 -42
  155. package/dist/components/EmptyState/styles.css.cjs +0 -10
  156. package/dist/components/Expandable/index.cjs +0 -108
  157. package/dist/components/Expandable/styles.css.cjs +0 -7
  158. package/dist/components/ExpandableCard/components/Title.cjs +0 -13
  159. package/dist/components/ExpandableCard/index.cjs +0 -114
  160. package/dist/components/ExpandableCard/styles.css.cjs +0 -17
  161. package/dist/components/GlobalAlert/GlobalAlertLink.cjs +0 -25
  162. package/dist/components/GlobalAlert/index.cjs +0 -39
  163. package/dist/components/GlobalAlert/styles.css.cjs +0 -7
  164. package/dist/components/InfiniteScroll/index.cjs +0 -91
  165. package/dist/components/Key/index.cjs +0 -45
  166. package/dist/components/Key/styles.css.cjs +0 -6
  167. package/dist/components/Label/index.cjs +0 -52
  168. package/dist/components/Label/styles.css.cjs +0 -5
  169. package/dist/components/LineChart/CustomLegend.cjs +0 -64
  170. package/dist/components/LineChart/Tooltip.cjs +0 -19
  171. package/dist/components/LineChart/helpers.cjs +0 -57
  172. package/dist/components/LineChart/index.cjs +0 -92
  173. package/dist/components/LineChart/styles.css.cjs +0 -27
  174. package/dist/components/Link/index.cjs +0 -69
  175. package/dist/components/Link/styles.css.cjs +0 -14
  176. package/dist/components/List/Cell.cjs +0 -31
  177. package/dist/components/List/ColumnProvider.cjs +0 -28
  178. package/dist/components/List/HeaderCell.cjs +0 -49
  179. package/dist/components/List/HeaderRow.cjs +0 -26
  180. package/dist/components/List/ListContext.cjs +0 -210
  181. package/dist/components/List/Row.cjs +0 -107
  182. package/dist/components/List/SelectBar.cjs +0 -28
  183. package/dist/components/List/SkeletonRows.cjs +0 -31
  184. package/dist/components/List/index.cjs +0 -49
  185. package/dist/components/List/styles.css.cjs +0 -35
  186. package/dist/components/List/variables.css.cjs +0 -16
  187. package/dist/components/Loader/index.cjs +0 -66
  188. package/dist/components/Loader/styles.css.cjs +0 -7
  189. package/dist/components/Menu/MenuContent.cjs +0 -177
  190. package/dist/components/Menu/MenuProvider.cjs +0 -44
  191. package/dist/components/Menu/components/Group.cjs +0 -25
  192. package/dist/components/Menu/components/Item.cjs +0 -97
  193. package/dist/components/Menu/helpers.cjs +0 -48
  194. package/dist/components/Menu/index.cjs +0 -20
  195. package/dist/components/Menu/styles.css.cjs +0 -24
  196. package/dist/components/Meter/index.cjs +0 -34
  197. package/dist/components/Meter/styles.css.cjs +0 -11
  198. package/dist/components/Modal/ModalContent.cjs +0 -39
  199. package/dist/components/Modal/ModalProvider.cjs +0 -41
  200. package/dist/components/Modal/components/Dialog.cjs +0 -148
  201. package/dist/components/Modal/components/Disclosure.cjs +0 -42
  202. package/dist/components/Modal/index.cjs +0 -58
  203. package/dist/components/Modal/styles.css.cjs +0 -21
  204. package/dist/components/Notice/index.cjs +0 -17
  205. package/dist/components/Notice/styles.css.cjs +0 -5
  206. package/dist/components/Notification/index.cjs +0 -35
  207. package/dist/components/Notification/styles.css.cjs +0 -5
  208. package/dist/components/NumberInput/index.cjs +0 -145
  209. package/dist/components/NumberInput/styles.css.cjs +0 -14
  210. package/dist/components/Pagination/PaginationButtons.cjs +0 -49
  211. package/dist/components/Pagination/PerPage.cjs +0 -49
  212. package/dist/components/Pagination/getPageNumbers.cjs +0 -23
  213. package/dist/components/Pagination/index.cjs +0 -43
  214. package/dist/components/Pagination/styles.css.cjs +0 -9
  215. package/dist/components/PasswordCheck/index.cjs +0 -18
  216. package/dist/components/PasswordCheck/styles.css.cjs +0 -5
  217. package/dist/components/PieChart/Legends.cjs +0 -36
  218. package/dist/components/PieChart/Tooltip.cjs +0 -18
  219. package/dist/components/PieChart/index.cjs +0 -71
  220. package/dist/components/PieChart/styles.css.cjs +0 -36
  221. package/dist/components/Popover/index.cjs +0 -67
  222. package/dist/components/Popover/styles.css.cjs +0 -8
  223. package/dist/components/Popup/helpers.cjs +0 -264
  224. package/dist/components/Popup/index.cjs +0 -283
  225. package/dist/components/Popup/styles.css.cjs +0 -13
  226. package/dist/components/Popup/variables.css.cjs +0 -18
  227. package/dist/components/ProgressBar/index.cjs +0 -46
  228. package/dist/components/ProgressBar/styles.css.cjs +0 -12
  229. package/dist/components/ProgressBar/variables.css.cjs +0 -4
  230. package/dist/components/Radio/index.cjs +0 -69
  231. package/dist/components/Radio/styles.css.cjs +0 -21
  232. package/dist/components/RadioGroup/index.cjs +0 -73
  233. package/dist/components/RadioGroup/styles.css.cjs +0 -5
  234. package/dist/components/Row/index.cjs +0 -46
  235. package/dist/components/Row/styles.css.cjs +0 -17
  236. package/dist/components/Row/variables.css.cjs +0 -7
  237. package/dist/components/SearchInput/KeyGroup.cjs +0 -13
  238. package/dist/components/SearchInput/index.cjs +0 -186
  239. package/dist/components/SearchInput/styles.css.cjs +0 -10
  240. package/dist/components/SelectInput/SelectInputProvider.cjs +0 -203
  241. package/dist/components/SelectInput/components/Dropdown.cjs +0 -341
  242. package/dist/components/SelectInput/components/DropdownOption.cjs +0 -47
  243. package/dist/components/SelectInput/components/SearchBarDropdown.cjs +0 -117
  244. package/dist/components/SelectInput/components/SelectBar.cjs +0 -237
  245. package/dist/components/SelectInput/components/dropdown.css.cjs +0 -34
  246. package/dist/components/SelectInput/components/selectBar.css.cjs +0 -22
  247. package/dist/components/SelectInput/findOptionInOptions.cjs +0 -12
  248. package/dist/components/SelectInput/index.cjs +0 -68
  249. package/dist/components/SelectInput/styles.css.cjs +0 -7
  250. package/dist/components/SelectInput/types.cjs +0 -9
  251. package/dist/components/SelectableCard/index.cjs +0 -149
  252. package/dist/components/SelectableCard/styles.css.cjs +0 -21
  253. package/dist/components/SelectableCard/variables.css.cjs +0 -8
  254. package/dist/components/SelectableCardGroup/index.cjs +0 -75
  255. package/dist/components/SelectableCardGroup/styles.css.cjs +0 -5
  256. package/dist/components/SelectableCardOptionGroup/Provider.cjs +0 -24
  257. package/dist/components/SelectableCardOptionGroup/components/Image.cjs +0 -17
  258. package/dist/components/SelectableCardOptionGroup/components/Option.cjs +0 -60
  259. package/dist/components/SelectableCardOptionGroup/index.cjs +0 -51
  260. package/dist/components/SelectableCardOptionGroup/styles.css.cjs +0 -21
  261. package/dist/components/Separator/index.cjs +0 -40
  262. package/dist/components/Separator/styles.css.cjs +0 -10
  263. package/dist/components/Skeleton/Block.cjs +0 -17
  264. package/dist/components/Skeleton/Blocks.cjs +0 -20
  265. package/dist/components/Skeleton/BoxWithIcon.cjs +0 -20
  266. package/dist/components/Skeleton/Donut.cjs +0 -16
  267. package/dist/components/Skeleton/IconSkeleton.cjs +0 -7
  268. package/dist/components/Skeleton/Line.cjs +0 -12
  269. package/dist/components/Skeleton/List.cjs +0 -18
  270. package/dist/components/Skeleton/Slider.cjs +0 -14
  271. package/dist/components/Skeleton/Square.cjs +0 -7
  272. package/dist/components/Skeleton/index.cjs +0 -39
  273. package/dist/components/Skeleton/styles.css.cjs +0 -7
  274. package/dist/components/Skeleton/stylesVariants.css.cjs +0 -47
  275. package/dist/components/Slider/components/DoubleSlider.cjs +0 -236
  276. package/dist/components/Slider/components/Options.cjs +0 -35
  277. package/dist/components/Slider/components/SingleSlider.cjs +0 -153
  278. package/dist/components/Slider/constant.cjs +0 -4
  279. package/dist/components/Slider/index.cjs +0 -61
  280. package/dist/components/Slider/styles.css.cjs +0 -36
  281. package/dist/components/Snippet/index.cjs +0 -64
  282. package/dist/components/Snippet/styles.css.cjs +0 -26
  283. package/dist/components/Stack/index.cjs +0 -85
  284. package/dist/components/Stack/styles.css.cjs +0 -19
  285. package/dist/components/Stack/variables.css.cjs +0 -11
  286. package/dist/components/Status/index.cjs +0 -25
  287. package/dist/components/Status/styles.css.cjs +0 -11
  288. package/dist/components/StepList/index.cjs +0 -32
  289. package/dist/components/StepList/styles.css.cjs +0 -10
  290. package/dist/components/Stepper/Step.cjs +0 -72
  291. package/dist/components/Stepper/StepperProvider.cjs +0 -41
  292. package/dist/components/Stepper/index.cjs +0 -49
  293. package/dist/components/Stepper/styles.css.cjs +0 -20
  294. package/dist/components/SwitchButton/FocusOverlay.cjs +0 -16
  295. package/dist/components/SwitchButton/Option.cjs +0 -40
  296. package/dist/components/SwitchButton/SwitchButtonContext.cjs +0 -13
  297. package/dist/components/SwitchButton/constant.cjs +0 -4
  298. package/dist/components/SwitchButton/index.cjs +0 -110
  299. package/dist/components/SwitchButton/styles.css.cjs +0 -9
  300. package/dist/components/Table/Body.cjs +0 -8
  301. package/dist/components/Table/Cell.cjs +0 -35
  302. package/dist/components/Table/Header.cjs +0 -9
  303. package/dist/components/Table/HeaderCell.cjs +0 -55
  304. package/dist/components/Table/HeaderRow.cjs +0 -28
  305. package/dist/components/Table/Row.cjs +0 -88
  306. package/dist/components/Table/SelectBar.cjs +0 -28
  307. package/dist/components/Table/SkeletonRows.cjs +0 -24
  308. package/dist/components/Table/TableContext.cjs +0 -43
  309. package/dist/components/Table/constants.cjs +0 -4
  310. package/dist/components/Table/index.cjs +0 -56
  311. package/dist/components/Table/styles.css.cjs +0 -29
  312. package/dist/components/Table/variables.css.cjs +0 -14
  313. package/dist/components/Tabs/Tab.cjs +0 -52
  314. package/dist/components/Tabs/TabMenu.cjs +0 -32
  315. package/dist/components/Tabs/TabMenuItem.cjs +0 -27
  316. package/dist/components/Tabs/TabsContext.cjs +0 -7
  317. package/dist/components/Tabs/index.cjs +0 -74
  318. package/dist/components/Tabs/styles.css.cjs +0 -21
  319. package/dist/components/Tag/index.cjs +0 -63
  320. package/dist/components/Tag/styles.css.cjs +0 -10
  321. package/dist/components/TagInput/index.cjs +0 -163
  322. package/dist/components/TagInput/styles.css.cjs +0 -12
  323. package/dist/components/TagList/constant.cjs +0 -5
  324. package/dist/components/TagList/index.cjs +0 -163
  325. package/dist/components/TagList/styles.css.cjs +0 -14
  326. package/dist/components/Text/constant.d.ts +0 -6
  327. package/dist/components/Text/index.cjs +0 -53
  328. package/dist/components/Text/style.css.cjs +0 -6
  329. package/dist/components/Text/variables.css.cjs +0 -7
  330. package/dist/components/TextArea/index.cjs +0 -123
  331. package/dist/components/TextArea/styles.css.cjs +0 -12
  332. package/dist/components/TextInput/index.cjs +0 -119
  333. package/dist/components/TextInput/styles.css.cjs +0 -17
  334. package/dist/components/TimeInput/constants.cjs +0 -13
  335. package/dist/components/TimeInput/helpers.cjs +0 -66
  336. package/dist/components/TimeInput/index.cjs +0 -273
  337. package/dist/components/TimeInput/styles.css.cjs +0 -10
  338. package/dist/components/Toaster/index.cjs +0 -47
  339. package/dist/components/Toaster/index.js +0 -47
  340. package/dist/components/Toaster/styles.css.cjs +0 -7
  341. package/dist/components/Toggle/index.cjs +0 -50
  342. package/dist/components/Toggle/styles.css.cjs +0 -10
  343. package/dist/components/ToggleGroup/index.cjs +0 -72
  344. package/dist/components/ToggleGroup/styles.css.cjs +0 -5
  345. package/dist/components/Tooltip/index.cjs +0 -26
  346. package/dist/components/Tooltip/styles.css.cjs +0 -5
  347. package/dist/components/UnitInput/index.cjs +0 -111
  348. package/dist/components/UnitInput/styles.css.cjs +0 -18
  349. package/dist/components/VerificationCode/index.cjs +0 -148
  350. package/dist/components/VerificationCode/styles.css.cjs +0 -9
  351. package/dist/helpers/isClientSide.cjs +0 -4
  352. package/dist/helpers/legend.cjs +0 -14
  353. package/dist/helpers/nivoTheme.cjs +0 -22
  354. package/dist/helpers/recursivelyGetChildrenString.cjs +0 -17
  355. package/dist/hooks/useIsOverflowing.cjs +0 -23
  356. package/dist/index.cjs +0 -214
  357. package/dist/theme/ThemeProvider.cjs +0 -16
  358. package/dist/theme/index.cjs +0 -38
  359. package/dist/utils/animationVanillaExtract.css.cjs +0 -11
  360. package/dist/utils/animationVanillaExtract.css.d.ts +0 -4
  361. package/dist/utils/animationVanillaExtract.css.js +0 -11
  362. package/dist/utils/animations.cjs +0 -276
  363. package/dist/utils/animations.d.ts +0 -162
  364. package/dist/utils/animations.js +0 -276
  365. package/dist/utils/ids.cjs +0 -8
  366. package/dist/utils/normalize.cjs +0 -35
  367. package/dist/utils/responsive/Breakpoint.cjs +0 -15
  368. package/dist/utils/responsive/utilities.cjs +0 -17
@@ -1,3 +1,4 @@
1
+ /* empty css */
1
2
  /* empty css */
2
3
  /* empty css */
3
4
  var rankActionBar = "var(--uv_1p607tg0)";
@@ -1,15 +1,15 @@
1
- import type { Theme } from '@emotion/react';
1
+ import type { theme as UVTheme } from '@ultraviolet/themes';
2
2
  export declare const TEXT_VARIANT_BY_SIZE: {
3
3
  readonly large: "headingLarge";
4
4
  readonly medium: "headingSmall";
5
5
  readonly small: "bodySmall";
6
6
  readonly xsmall: "captionSmall";
7
7
  };
8
- export declare const sizes: (theme: Theme) => {
8
+ export declare const sizes: (theme: typeof UVTheme) => {
9
9
  readonly large: "7rem";
10
- readonly medium: string;
11
- readonly small: string;
12
- readonly xsmall: string;
10
+ readonly medium: `var(--${string})`;
11
+ readonly small: `var(--${string})`;
12
+ readonly xsmall: `var(--${string})`;
13
13
  };
14
14
  export declare const RADIUS_SIZES: {
15
15
  readonly large: "xxlarge";
@@ -6,7 +6,7 @@ const TEXT_VARIANT_BY_SIZE = {
6
6
  };
7
7
  const sizes = (theme) => ({
8
8
  large: "7rem",
9
- // TODO: add this value to tokens
9
+ // Note: add this value to tokens
10
10
  medium: theme.sizing["800"],
11
11
  small: theme.sizing["400"],
12
12
  xsmall: theme.sizing["250"]
@@ -7,20 +7,20 @@ export declare const containerAvatar: import("@vanilla-extract/recipes").Runtime
7
7
  };
8
8
  size: {
9
9
  large: {
10
- width: string;
11
- height: string;
10
+ width: `var(--${string})` | "7rem";
11
+ height: `var(--${string})` | "7rem";
12
12
  };
13
13
  medium: {
14
- width: string;
15
- height: string;
14
+ width: `var(--${string})` | "7rem";
15
+ height: `var(--${string})` | "7rem";
16
16
  };
17
17
  small: {
18
- width: string;
19
- height: string;
18
+ width: `var(--${string})` | "7rem";
19
+ height: `var(--${string})` | "7rem";
20
20
  };
21
21
  xsmall: {
22
- width: string;
23
- height: string;
22
+ width: `var(--${string})` | "7rem";
23
+ height: `var(--${string})` | "7rem";
24
24
  };
25
25
  };
26
26
  sentiment: {
@@ -65,20 +65,20 @@ export declare const productIconContainer: import("@vanilla-extract/recipes").Ru
65
65
  };
66
66
  size: {
67
67
  large: {
68
- width: string;
69
- height: string;
68
+ width: `var(--${string})` | "7rem";
69
+ height: `var(--${string})` | "7rem";
70
70
  };
71
71
  medium: {
72
- width: string;
73
- height: string;
72
+ width: `var(--${string})` | "7rem";
73
+ height: `var(--${string})` | "7rem";
74
74
  };
75
75
  small: {
76
- width: string;
77
- height: string;
76
+ width: `var(--${string})` | "7rem";
77
+ height: `var(--${string})` | "7rem";
78
78
  };
79
79
  xsmall: {
80
- width: string;
81
- height: string;
80
+ width: `var(--${string})` | "7rem";
81
+ height: `var(--${string})` | "7rem";
82
82
  };
83
83
  };
84
84
  }>;
@@ -95,20 +95,20 @@ export declare const elementContainer: import("@vanilla-extract/recipes").Runtim
95
95
  export declare const colorsAvatar: import("@vanilla-extract/recipes").RuntimeFn<{
96
96
  size: {
97
97
  large: {
98
- width: string;
99
- height: string;
98
+ width: `var(--${string})` | "7rem";
99
+ height: `var(--${string})` | "7rem";
100
100
  };
101
101
  medium: {
102
- width: string;
103
- height: string;
102
+ width: `var(--${string})` | "7rem";
103
+ height: `var(--${string})` | "7rem";
104
104
  };
105
105
  small: {
106
- width: string;
107
- height: string;
106
+ width: `var(--${string})` | "7rem";
107
+ height: `var(--${string})` | "7rem";
108
108
  };
109
109
  xsmall: {
110
- width: string;
111
- height: string;
110
+ width: `var(--${string})` | "7rem";
111
+ height: `var(--${string})` | "7rem";
112
112
  };
113
113
  };
114
114
  shape: {
@@ -1,4 +1,3 @@
1
- /* empty css */
2
1
  /* empty css */
3
2
  /* empty css */
4
3
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
@@ -1,9 +1,9 @@
1
- type BarChartToolTipProps = {
1
+ type BarChartTooltipProps = {
2
2
  color: string;
3
3
  indexValue: string;
4
4
  formattedValue: string;
5
5
  className?: string;
6
6
  'data-testid'?: string;
7
7
  };
8
- declare const BarChartToolTip: ({ formattedValue, indexValue, color, className, "data-testid": dataTestId, }: BarChartToolTipProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
- export default BarChartToolTip;
8
+ export declare const BarChartTooltip: ({ formattedValue, indexValue, color, className, "data-testid": dataTestId, }: BarChartTooltipProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -3,7 +3,7 @@ import { jsxs, jsx } from "@emotion/react/jsx-runtime";
3
3
  import { assignInlineVars } from "@vanilla-extract/dynamic";
4
4
  import { Text } from "../Text/index.js";
5
5
  import { barTooltipContainer, barColorSquare, colorBar } from "./styles.css.js";
6
- const BarChartToolTip = ({
6
+ const BarChartTooltip = ({
7
7
  formattedValue,
8
8
  indexValue,
9
9
  color,
@@ -19,5 +19,5 @@ const BarChartToolTip = ({
19
19
  ] })
20
20
  ] });
21
21
  export {
22
- BarChartToolTip as default
22
+ BarChartTooltip
23
23
  };
@@ -2,7 +2,7 @@ import type { BarDatum, BarSvgProps, BarTooltipProps } from '@nivo/bar';
2
2
  import { ResponsiveBar } from '@nivo/bar';
3
3
  import type { Box, DatumValue, ValueFormat } from '@nivo/core';
4
4
  import type { ComponentProps, CSSProperties } from 'react';
5
- import BarChartTooltip from './Tooltip';
5
+ import { BarChartTooltip } from './Tooltip';
6
6
  type Formatter = ValueFormat<DatumValue>;
7
7
  type TickSpec = NonNullable<ComponentProps<typeof ResponsiveBar>['axisBottom']>['tickValues'];
8
8
  type BarChartProps = {
@@ -5,7 +5,7 @@ import { useTheme } from "@ultraviolet/themes";
5
5
  import { useCallback } from "react";
6
6
  import { getLegendColor } from "../../helpers/legend.js";
7
7
  import { getNivoTheme } from "../../helpers/nivoTheme.js";
8
- import BarChartToolTip from "./Tooltip.js";
8
+ import { BarChartTooltip } from "./Tooltip.js";
9
9
  const DEFAULT_MARGIN = {
10
10
  bottom: 50,
11
11
  left: 60,
@@ -36,7 +36,7 @@ const BarChart = ({
36
36
  formattedValue,
37
37
  color
38
38
  } = tooltipFunction ? tooltipFunction(props) : props;
39
- return /* @__PURE__ */ jsx(BarChartToolTip, { color, formattedValue, indexValue: indexValue.toString() });
39
+ return /* @__PURE__ */ jsx(BarChartTooltip, { color, formattedValue, indexValue: indexValue.toString() });
40
40
  }, [tooltipFunction]);
41
41
  return /* @__PURE__ */ jsx("div", { className, "data-testid": dataTestId, style: {
42
42
  height,
@@ -1,3 +1,4 @@
1
+ export declare const SIZE_KEY: readonly ["large", "medium", "small", "xsmall"];
1
2
  export declare const SIZE_HEIGHT: {
2
3
  readonly large: "600";
3
4
  readonly medium: "500";
@@ -1,7 +1,4 @@
1
1
  import type { AriaRole, ButtonHTMLAttributes, CSSProperties, MouseEventHandler, ReactNode } from 'react';
2
- import { SIZE_HEIGHT } from './constants';
3
- type ButtonSize = keyof typeof SIZE_HEIGHT;
4
- export declare const buttonSizes: ButtonSize[];
5
2
  /**
6
3
  * Button component is used to trigger an action or event, such as submitting a form, opening a dialog,
7
4
  * canceling an action, or performing a delete operation.
@@ -48,4 +45,3 @@ export declare const Button: import("react").ForwardRefExoticComponent<{
48
45
  target?: string;
49
46
  download?: string;
50
47
  } & import("react").RefAttributes<Element>>;
51
- export {};
@@ -0,0 +1 @@
1
+ export declare const EXPANDABLE_CARD_SIZE: readonly ["medium", "large"];
@@ -1,5 +1,5 @@
1
1
  import type { CSSProperties, DetailsHTMLAttributes, KeyboardEvent, ReactNode } from 'react';
2
- export declare const EXPANDABLE_CARD_SIZE: readonly ["medium", "large"];
2
+ import type { EXPANDABLE_CARD_SIZE } from './constants';
3
3
  type ExpandableCardSize = (typeof EXPANDABLE_CARD_SIZE)[number];
4
4
  type DraggableProps = {
5
5
  draggable: true;
@@ -1,7 +1,7 @@
1
1
  export declare const arrowIcon: string;
2
2
  export declare const dropableArea: string;
3
3
  export declare const summaryClass: string;
4
- export declare const content: string;
5
4
  export declare const detailsClass: string;
5
+ export declare const content: string;
6
6
  export declare const stackClass: string;
7
7
  export declare const dragIconContainer: string;
@@ -2,8 +2,8 @@
2
2
  var arrowIcon = "uv_jd0jfn0";
3
3
  var dropableArea = "uv_jd0jfn1";
4
4
  var summaryClass = "uv_jd0jfn2";
5
- var content = "uv_jd0jfn3";
6
- var detailsClass = "uv_jd0jfn4";
5
+ var detailsClass = "uv_jd0jfn3";
6
+ var content = "uv_jd0jfn4";
7
7
  var stackClass = "uv_jd0jfn5";
8
8
  var dragIconContainer = "uv_jd0jfn6";
9
9
  export {
@@ -0,0 +1,8 @@
1
+ export declare const KEYS_MATCH: {
2
+ readonly backspace: "⌫";
3
+ readonly command: "⌘";
4
+ readonly control: "⌃";
5
+ readonly enter: "↵";
6
+ readonly option: "⌥";
7
+ readonly shift: "⇧";
8
+ };
@@ -0,0 +1,11 @@
1
+ const KEYS_MATCH = {
2
+ backspace: "⌫",
3
+ command: "⌘",
4
+ control: "⌃",
5
+ enter: "↵",
6
+ option: "⌥",
7
+ shift: "⇧"
8
+ };
9
+ export {
10
+ KEYS_MATCH
11
+ };
@@ -1,12 +1,4 @@
1
1
  import type { CSSProperties } from 'react';
2
- export declare const KEYS_MATCH: {
3
- readonly backspace: "⌫";
4
- readonly command: "⌘";
5
- readonly control: "⌃";
6
- readonly enter: "↵";
7
- readonly option: "⌥";
8
- readonly shift: "⇧";
9
- };
10
2
  type KeyProps = {
11
3
  children: string;
12
4
  prominence?: 'strong' | 'default';
@@ -2,15 +2,8 @@
2
2
  import { jsx } from "@emotion/react/jsx-runtime";
3
3
  import { useMemo } from "react";
4
4
  import { Text } from "../Text/index.js";
5
+ import { KEYS_MATCH } from "./constants.js";
5
6
  import { key } from "./styles.css.js";
6
- const KEYS_MATCH = {
7
- backspace: "⌫",
8
- command: "⌘",
9
- control: "⌃",
10
- enter: "↵",
11
- option: "⌥",
12
- shift: "⇧"
13
- };
14
7
  const Key = ({
15
8
  children,
16
9
  prominence = "default",
@@ -40,6 +33,5 @@ const Key = ({
40
33
  })}`, "data-disabled": disabled, "data-prominence": prominence, "data-sentiment": sentiment, "data-size": size, "data-testid": dataTestId, id, style, children: /* @__PURE__ */ jsx(Text, { as: "span", disabled, prominence: textProminence, sentiment, variant: size === "medium" ? "caption" : "captionSmall", children: specialKey ? KEYS_MATCH[specialKey] : children }) });
41
34
  };
42
35
  export {
43
- KEYS_MATCH,
44
36
  Key
45
37
  };
@@ -10,8 +10,8 @@ const parse = (data) => {
10
10
  }
11
11
  return 0;
12
12
  };
13
- const getMin = (values = []) => values.length > 0 ? Math.min(...values.map(parse)) : 0;
14
- const getMax = (values = []) => values.length > 0 ? Math.max(...values.map(parse)) : 0;
13
+ const getMin = (values = []) => values.length > 0 ? Math.min(...values.map((data) => parse(data))) : 0;
14
+ const getMax = (values = []) => values.length > 0 ? Math.max(...values.map((data) => parse(data))) : 0;
15
15
  const getAverage = (values = []) => values.length > 0 ? Math.round(values.reduce((sum, curr) => sum + parse(curr), 0) / values.length * 100) / 100 : 0;
16
16
  const getMaxChartValue = (preppedData) => {
17
17
  if (!preppedData?.length) {
@@ -87,7 +87,7 @@ const Row = forwardRef(({
87
87
  }
88
88
  } : void 0, onMouseEnter, onMouseLeave, ref: forwardedRef, role: canClickRowToExpand ? "button row" : void 0, style, tabIndex: canClickRowToExpand ? 0 : -1, children: [
89
89
  selectable ? /* @__PURE__ */ jsx(ColumnProvider, { width: theme.sizing[300], children: /* @__PURE__ */ jsx(Cell, { className: listNoPaddingCell, children: /* @__PURE__ */ jsx("div", { className: listCheckboxContainer, children: /* @__PURE__ */ jsx(Tooltip, { text: typeof selectDisabled === "string" ? selectDisabled : void 0, children: /* @__PURE__ */ jsx(Checkbox, { "aria-label": "select", checked: selectedRowIds[id], className: inRange?.includes(id) ? listCheckboxInRange : "", disabled: isSelectDisabled, name: "list-select-checkbox", onChange: () => handleOnChange(id, selectedRowIds[id]), ref: checkboxRef, value: id }) }) }) }) }) : null,
90
- expandButton ? /* @__PURE__ */ jsx(ColumnProvider, { width: theme.sizing[300], children: /* @__PURE__ */ jsx(Cell, { className: listNoPaddingCell, children: /* @__PURE__ */ jsx(Button, { "aria-label": "expand", "data-testid": "list-expand-button", disabled: disabled || !expandable, onClick: toggleRowExpand, sentiment, size: "small", variant: "ghost", children: expandedRowIds[id] ? /* @__PURE__ */ jsx(ArrowUpIcon, {}) : /* @__PURE__ */ jsx(ArrowDownIcon, {}) }) }) }) : null,
90
+ expandButton ? /* @__PURE__ */ jsx(ColumnProvider, { width: theme.sizing[400], children: /* @__PURE__ */ jsx(Cell, { className: listNoPaddingCell, children: /* @__PURE__ */ jsx(Button, { "aria-label": "expand", "data-testid": "list-expand-button", disabled: disabled || !expandable, onClick: toggleRowExpand, sentiment, size: "small", variant: "ghost", children: expandedRowIds[id] ? /* @__PURE__ */ jsx(ArrowUpIcon, {}) : /* @__PURE__ */ jsx(ArrowDownIcon, {}) }) }) }) : null,
91
91
  Children.map(children, (child, index) => {
92
92
  const column = columns[index];
93
93
  return /* @__PURE__ */ jsx(ColumnProvider, { maxWidth: column?.maxWidth, minWidth: column?.minWidth, width: column?.width, children: child });
@@ -0,0 +1,8 @@
1
+ export declare const SIZES: {
2
+ readonly large: "300";
3
+ readonly medium: "250";
4
+ readonly small: "200";
5
+ readonly xlarge: "400";
6
+ readonly xsmall: "150";
7
+ readonly xxlarge: "700";
8
+ };
@@ -0,0 +1,11 @@
1
+ const SIZES = {
2
+ large: "300",
3
+ medium: "250",
4
+ small: "200",
5
+ xlarge: "400",
6
+ xsmall: "150",
7
+ xxlarge: "700"
8
+ };
9
+ export {
10
+ SIZES
11
+ };
@@ -1,13 +1,6 @@
1
1
  import type { CSSProperties } from 'react';
2
2
  import type { ExtendedColor } from '../../theme';
3
- export declare const SIZES: {
4
- readonly large: "300";
5
- readonly medium: "250";
6
- readonly small: "200";
7
- readonly xlarge: "400";
8
- readonly xsmall: "150";
9
- readonly xxlarge: "700";
10
- };
3
+ import { SIZES } from './constants';
11
4
  type LoaderProps = {
12
5
  active?: boolean;
13
6
  sentiment?: ExtendedColor;
@@ -1,30 +1,12 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "@emotion/react/jsx-runtime";
3
- import { useTheme } from "@emotion/react";
4
- import { loader, circle } from "./styles.css.js";
5
- function _EMOTION_STRINGIFIED_CSS_ERROR__() {
6
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
7
- }
3
+ import { useTheme } from "@ultraviolet/themes";
4
+ import { SIZES } from "./constants.js";
5
+ import { loader, circle, loaderCircleAnimation } from "./styles.css.js";
8
6
  const VIEWBOX_WIDTH = 100;
9
7
  const VIEWBOX_HEIGHT = 100;
10
8
  const HALF_VIEWBOX_WIDTH = VIEWBOX_WIDTH / 2;
11
9
  const HALF_VIEWBOX_HEIGHT = VIEWBOX_HEIGHT / 2;
12
- const SIZES = {
13
- large: "300",
14
- medium: "250",
15
- small: "200",
16
- xlarge: "400",
17
- xsmall: "150",
18
- xxlarge: "700"
19
- };
20
- var _ref = process.env.NODE_ENV === "production" ? {
21
- name: "si0mpz",
22
- styles: "transition:stroke-dashoffset 0.5s ease 0s"
23
- } : {
24
- name: "11f05l0-Loader",
25
- styles: "transition:stroke-dashoffset 0.5s ease 0s;label:Loader;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL0xvYWRlci9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwa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bWUuY29sb3JzW3NlbnRpbWVudF0/LmJhY2tncm91bmRTdHJvbmdcbiAgICAgICAgfVxuICAgICAgICBzdHJva2VEYXNoYXJyYXk9e2NpcmNsZURpYW1ldGVyfVxuICAgICAgICBzdHJva2VEYXNob2Zmc2V0PXsoMSAtIGJvdW5kZWRQZXJjZW50YWdlKSAqIGNpcmNsZURpYW1ldGVyfVxuICAgICAgICBzdHJva2VMaW5lY2FwPVwicm91bmRcIlxuICAgICAgICBzdHJva2VXaWR0aD17MTZ9XG4gICAgICAvPlxuICAgIDwvc3ZnPlxuICApXG59XG4iXX0= */",
26
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
27
- };
28
10
  const Loader = ({
29
11
  percentage = 20,
30
12
  size = "xlarge",
@@ -46,7 +28,7 @@ const Loader = ({
46
28
  /* @__PURE__ */ jsx(
47
29
  "circle",
48
30
  {
49
- css: _ref,
31
+ className: loaderCircleAnimation,
50
32
  cx: HALF_VIEWBOX_WIDTH,
51
33
  cy: HALF_VIEWBOX_HEIGHT,
52
34
  fill: "none",
@@ -61,6 +43,5 @@ const Loader = ({
61
43
  ] });
62
44
  };
63
45
  export {
64
- Loader,
65
- SIZES
46
+ Loader
66
47
  };
@@ -1,2 +1,3 @@
1
1
  export declare const circle: string;
2
2
  export declare const loader: string;
3
+ export declare const loaderCircleAnimation: string;
@@ -1,7 +1,9 @@
1
1
  /* empty css */
2
2
  var circle = "uv_tkulld1";
3
3
  var loader = "uv_tkulld2";
4
+ var loaderCircleAnimation = "uv_tkulld3";
4
5
  export {
5
6
  circle,
6
- loader
7
+ loader,
8
+ loaderCircleAnimation
7
9
  };
@@ -64,11 +64,17 @@ const Menu = forwardRef(({
64
64
  }
65
65
  }, [children]);
66
66
  useEffect(() => {
67
+ let timeout;
67
68
  if (isVisible && searchable) {
68
- setTimeout(() => {
69
+ timeout = setTimeout(() => {
69
70
  searchInputRef.current?.focus();
70
71
  }, 50);
71
72
  }
73
+ return () => {
74
+ if (timeout) {
75
+ clearTimeout(timeout);
76
+ }
77
+ };
72
78
  }, [isVisible, searchable]);
73
79
  useEffect(() => {
74
80
  if (disclosureRef.current && triggerMethod === "hover") {
@@ -19,5 +19,5 @@ type ItemProps = {
19
19
  searchText?: string;
20
20
  style?: CSSProperties;
21
21
  };
22
- declare const Item: import("react").ForwardRefExoticComponent<ItemProps & import("react").RefAttributes<HTMLElement>>;
23
- export default Item;
22
+ export declare const Item: import("react").ForwardRefExoticComponent<ItemProps & import("react").RefAttributes<HTMLElement>>;
23
+ export {};
@@ -94,5 +94,5 @@ const Item = forwardRef(({
94
94
  ] }) : children }) }) });
95
95
  });
96
96
  export {
97
- Item as default
97
+ Item
98
98
  };
@@ -2,7 +2,7 @@
2
2
  import { jsx } from "@emotion/react/jsx-runtime";
3
3
  import { forwardRef } from "react";
4
4
  import { Group } from "./components/Group.js";
5
- import Item from "./components/Item.js";
5
+ import { Item } from "./components/Item.js";
6
6
  import { Menu as Menu$1 } from "./MenuContent.js";
7
7
  import { MenuProvider } from "./MenuProvider.js";
8
8
  const Component = forwardRef(({
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { Theme as ThemeToastify, ToastOptions, TypeOptions } from 'react-toastify';
3
+ type CloseButtonProps = {
4
+ closeToast: (event: React.MouseEvent<HTMLElement>) => void;
5
+ type: TypeOptions;
6
+ ariaLabel?: string;
7
+ theme: ThemeToastify;
8
+ };
9
+ export declare const notification: (children: ((props: CloseButtonProps) => ReactNode) | ReactNode, title: string, icon?: ReactNode, isClosable?: boolean, containerId?: string, options?: ToastOptions) => import("react-toastify").Id;
10
+ export {};
@@ -1,11 +1,10 @@
1
1
  "use client";
2
- import { jsx, jsxs } from "@emotion/react/jsx-runtime";
2
+ import { jsxs, jsx } from "@emotion/react/jsx-runtime";
3
3
  import { CloseIcon } from "@ultraviolet/icons";
4
- import { toast, ToastContainer, Slide } from "react-toastify";
4
+ import { toast } from "react-toastify";
5
5
  import { Button } from "../Button/index.js";
6
6
  import { Stack } from "../Stack/index.js";
7
7
  import { Text } from "../Text/index.js";
8
- import { notification as notification$1 } from "./styles.css.js";
9
8
  const closeButton = (props) => /* @__PURE__ */ jsx(Button, { "aria-label": "close", onClick: props.closeToast, sentiment: "neutral", size: "xsmall", variant: "ghost", children: /* @__PURE__ */ jsx(CloseIcon, {}) });
10
9
  const notification = (children, title, icon, isClosable, containerId, options) => toast("", {
11
10
  ...options,
@@ -19,17 +18,6 @@ const notification = (children, title, icon, isClosable, containerId, options) =
19
18
  ] }),
20
19
  containerId: containerId ?? "notification"
21
20
  });
22
- const NotificationContainer = ({
23
- newestOnTop,
24
- limit,
25
- autoClose = false,
26
- position = "top-right",
27
- "data-testid": dataTestId,
28
- className,
29
- style,
30
- containerId = "notification"
31
- }) => /* @__PURE__ */ jsx(ToastContainer, { autoClose, className: `${className ? `${className} ` : ""}${notification$1}`, containerId, "data-testid": dataTestId, draggable: false, hideProgressBar: true, icon: false, limit, newestOnTop, position, style, transition: Slide });
32
21
  export {
33
- NotificationContainer,
34
22
  notification
35
23
  };
@@ -0,0 +1,30 @@
1
+ import type { CSSProperties } from 'react';
2
+ import type { ToastOptions } from 'react-toastify';
3
+ type NotificationContainerProps = {
4
+ /**
5
+ * Delay (in ms) before the notification autocloses. To disable autoclose, set to false
6
+ */
7
+ autoClose?: false | number;
8
+ /**
9
+ * Whether to display the newest toast on top.
10
+ * `Default: false`
11
+ */
12
+ newestOnTop?: boolean;
13
+ /**
14
+ * Limit the number of toast displayed at the same time
15
+ */
16
+ limit?: number;
17
+ /**
18
+ * Position on the notification container
19
+ */
20
+ position?: ToastOptions['position'];
21
+ 'data-testid'?: string;
22
+ className?: string;
23
+ /**
24
+ * Give a personalized containerId in case there are multiple notifications with different styled to display
25
+ */
26
+ containerId?: string;
27
+ style?: CSSProperties;
28
+ };
29
+ export declare const NotificationContainer: ({ newestOnTop, limit, autoClose, position, "data-testid": dataTestId, className, style, containerId, }: NotificationContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
30
+ export {};
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ import { jsx } from "@emotion/react/jsx-runtime";
3
+ import { ToastContainer, Slide } from "react-toastify";
4
+ import { notification } from "./styles.css.js";
5
+ const NotificationContainer = ({
6
+ newestOnTop,
7
+ limit,
8
+ autoClose = false,
9
+ position = "top-right",
10
+ "data-testid": dataTestId,
11
+ className,
12
+ style,
13
+ containerId = "notification"
14
+ }) => /* @__PURE__ */ jsx(ToastContainer, { autoClose, className: `${className ? `${className} ` : ""}${notification}`, containerId, "data-testid": dataTestId, draggable: false, hideProgressBar: true, icon: false, limit, newestOnTop, position, style, transition: Slide });
15
+ export {
16
+ NotificationContainer
17
+ };
@@ -1,37 +1,2 @@
1
- import type { CSSProperties, ReactNode } from 'react';
2
- import type { Theme as ThemeToastify, ToastOptions, TypeOptions } from 'react-toastify';
3
- type CloseButtonProps = {
4
- closeToast: (event: React.MouseEvent<HTMLElement>) => void;
5
- type: TypeOptions;
6
- ariaLabel?: string;
7
- theme: ThemeToastify;
8
- };
9
- export declare const notification: (children: ((props: CloseButtonProps) => ReactNode) | ReactNode, title: string, icon?: ReactNode, isClosable?: boolean, containerId?: string, options?: ToastOptions) => import("react-toastify").Id;
10
- type NotificationContainerProps = {
11
- /**
12
- * Delay (in ms) before the notification autocloses. To disable autoclose, set to false
13
- */
14
- autoClose?: false | number;
15
- /**
16
- * Whether to display the newest toast on top.
17
- * `Default: false`
18
- */
19
- newestOnTop?: boolean;
20
- /**
21
- * Limit the number of toast displayed at the same time
22
- */
23
- limit?: number;
24
- /**
25
- * Position on the notification container
26
- */
27
- position?: ToastOptions['position'];
28
- 'data-testid'?: string;
29
- className?: string;
30
- /**
31
- * Give a personalized containerId in case there are multiple notifications with different styled to display
32
- */
33
- containerId?: string;
34
- style?: CSSProperties;
35
- };
36
- export declare const NotificationContainer: ({ newestOnTop, limit, autoClose, position, "data-testid": dataTestId, className, style, containerId, }: NotificationContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
37
- export {};
1
+ export { notification } from './Notification';
2
+ export { NotificationContainer } from './NotificationContainer';
@@ -5,5 +5,5 @@ type LegendsProps = {
5
5
  onFocusChange: (index?: string) => void;
6
6
  colors: string[];
7
7
  };
8
- declare const Legends: ({ focused, data, onFocusChange, colors }: LegendsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
- export default Legends;
8
+ export declare const Legends: ({ focused, data, onFocusChange, colors, }: LegendsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export {};