@orfium/ictinus 4.35.0 → 4.36.0-alpha.10

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 (328) hide show
  1. package/dist/index.d.ts +1330 -59
  2. package/dist/index.js +14 -211
  3. package/package.json +20 -12
  4. package/dist/components/Avatar/Avatar.js +0 -60
  5. package/dist/components/Avatar/Avatar.style.js +0 -60
  6. package/dist/components/Avatar/Avatar.types.js +0 -3
  7. package/dist/components/Avatar/AvatarStack/AvatarStack.js +0 -76
  8. package/dist/components/Avatar/AvatarStack/AvatarStack.style.js +0 -43
  9. package/dist/components/Avatar/AvatarStack/AvatarStack.types.js +0 -3
  10. package/dist/components/Avatar/AvatarStack/index.js +0 -10
  11. package/dist/components/Avatar/AvatarStack/utils.js +0 -16
  12. package/dist/components/Avatar/index.js +0 -10
  13. package/dist/components/Avatar/utils.js +0 -22
  14. package/dist/components/Breadcrumb/Breadcrumb.js +0 -65
  15. package/dist/components/Breadcrumb/Breadcrumb.style.js +0 -34
  16. package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +0 -30
  17. package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.js +0 -22
  18. package/dist/components/Breadcrumb/Separator/Separator.js +0 -35
  19. package/dist/components/Breadcrumb/Separator/Separator.style.js +0 -19
  20. package/dist/components/Breadcrumb/index.js +0 -10
  21. package/dist/components/Breadcrumb/types.js +0 -3
  22. package/dist/components/Button/Button.js +0 -87
  23. package/dist/components/Button/Button.style.js +0 -42
  24. package/dist/components/Button/ButtonLoader/ButtonLoader.js +0 -43
  25. package/dist/components/Button/ButtonLoader/ButtonLoader.style.js +0 -21
  26. package/dist/components/Button/ButtonLoader/index.js +0 -10
  27. package/dist/components/Button/index.js +0 -10
  28. package/dist/components/Button/utils.js +0 -58
  29. package/dist/components/ButtonBase/ButtonBase.js +0 -86
  30. package/dist/components/ButtonBase/ButtonBase.style.js +0 -120
  31. package/dist/components/ButtonBase/config.js +0 -38
  32. package/dist/components/ButtonBase/index.js +0 -10
  33. package/dist/components/ButtonBase/utils.js +0 -63
  34. package/dist/components/Card/Card.js +0 -30
  35. package/dist/components/Card/Card.style.js +0 -33
  36. package/dist/components/Card/index.js +0 -10
  37. package/dist/components/Chart/BarChart/BarChart.js +0 -185
  38. package/dist/components/Chart/BarChart/components/CustomLabel/CustomLabel.js +0 -40
  39. package/dist/components/Chart/BarChart/components/CustomLabel/index.js +0 -10
  40. package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js +0 -51
  41. package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.js +0 -47
  42. package/dist/components/Chart/BarChart/components/CustomTooltip/index.js +0 -10
  43. package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js +0 -36
  44. package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js +0 -71
  45. package/dist/components/Chart/BarChart/components/CustomTooltipContent/index.js +0 -10
  46. package/dist/components/Chart/BarChart/index.js +0 -10
  47. package/dist/components/Chart/BarChart/utils.js +0 -39
  48. package/dist/components/Chart/DonutChart/DonutChart.js +0 -57
  49. package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js +0 -48
  50. package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.js +0 -39
  51. package/dist/components/Chart/DonutChart/components/CustomLabel/index.js +0 -10
  52. package/dist/components/Chart/DonutChart/index.js +0 -10
  53. package/dist/components/Chart/LineChart/LineChart.js +0 -131
  54. package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js +0 -40
  55. package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js +0 -64
  56. package/dist/components/Chart/LineChart/components/CustomTooltip/index.js +0 -10
  57. package/dist/components/Chart/LineChart/components/GradientLine/GradientLine.js +0 -34
  58. package/dist/components/Chart/LineChart/components/GradientLine/index.js +0 -10
  59. package/dist/components/Chart/LineChart/index.js +0 -10
  60. package/dist/components/Chart/LineChart/mockedData.js +0 -40
  61. package/dist/components/Chart/LineChart/story.utils.js +0 -22
  62. package/dist/components/Chart/LineChart/utils.js +0 -30
  63. package/dist/components/Chart/Wrapper.js +0 -41
  64. package/dist/components/CheckBox/CheckBox.js +0 -121
  65. package/dist/components/CheckBox/CheckBox.style.js +0 -89
  66. package/dist/components/CheckBox/index.js +0 -10
  67. package/dist/components/Chip/Chip.js +0 -99
  68. package/dist/components/Chip/Chip.style.js +0 -59
  69. package/dist/components/Chip/Chip.types.js +0 -10
  70. package/dist/components/Chip/components/Badge/Badge.js +0 -31
  71. package/dist/components/Chip/components/Badge/Badge.style.js +0 -24
  72. package/dist/components/Chip/components/Badge/index.js +0 -10
  73. package/dist/components/Chip/index.js +0 -10
  74. package/dist/components/Chip/utils.js +0 -34
  75. package/dist/components/DatePicker/DatePickInput/DatePickInput.js +0 -102
  76. package/dist/components/DatePicker/DatePickInput/DatePickInput.style.js +0 -21
  77. package/dist/components/DatePicker/DatePickInput/index.js +0 -10
  78. package/dist/components/DatePicker/DatePicker.js +0 -239
  79. package/dist/components/DatePicker/DatePicker.style.js +0 -19
  80. package/dist/components/DatePicker/Day/Day.js +0 -93
  81. package/dist/components/DatePicker/Day/Day.style.js +0 -68
  82. package/dist/components/DatePicker/Day/index.js +0 -10
  83. package/dist/components/DatePicker/Month/Month.js +0 -102
  84. package/dist/components/DatePicker/Month/Month.style.js +0 -47
  85. package/dist/components/DatePicker/Month/Month.utils.js +0 -79
  86. package/dist/components/DatePicker/Month/index.js +0 -10
  87. package/dist/components/DatePicker/OverlayComponent/OverlayComponent.js +0 -117
  88. package/dist/components/DatePicker/OverlayComponent/OverlayComponent.style.js +0 -89
  89. package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js +0 -133
  90. package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js +0 -89
  91. package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/index.d.ts +0 -0
  92. package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/index.js +0 -1
  93. package/dist/components/DatePicker/OverlayComponent/index.js +0 -10
  94. package/dist/components/DatePicker/index.js +0 -10
  95. package/dist/components/DatePicker/utils.js +0 -25
  96. package/dist/components/Drawer/Drawer.js +0 -35
  97. package/dist/components/Drawer/Drawer.style.js +0 -23
  98. package/dist/components/Drawer/Navigation/MenuItem/MenuItem.js +0 -119
  99. package/dist/components/Drawer/Navigation/Navigation.js +0 -54
  100. package/dist/components/Drawer/Navigation/Navigation.style.js +0 -149
  101. package/dist/components/Drawer/index.js +0 -10
  102. package/dist/components/Drawer/types.js +0 -3
  103. package/dist/components/ExpandCollapse/ExpandCollapse.js +0 -71
  104. package/dist/components/ExpandCollapse/ExpandCollapse.style.js +0 -19
  105. package/dist/components/ExpandCollapse/ExpandCollapse.types.js +0 -3
  106. package/dist/components/ExpandCollapse/index.js +0 -10
  107. package/dist/components/ExpandCollapse/useManageContentRef.js +0 -56
  108. package/dist/components/ExpandCollapse/utils.js +0 -23
  109. package/dist/components/Filter/Filter.js +0 -152
  110. package/dist/components/Filter/Filter.style.js +0 -295
  111. package/dist/components/Filter/components/FilterBase/FilterBase.js +0 -125
  112. package/dist/components/Filter/components/FilterBase/index.js +0 -10
  113. package/dist/components/Filter/components/Options/Options.js +0 -49
  114. package/dist/components/Filter/components/Options/Options.style.js +0 -23
  115. package/dist/components/Filter/components/SearchInput/SearchInput.js +0 -58
  116. package/dist/components/Filter/components/SearchInput/SearchInput.style.js +0 -34
  117. package/dist/components/Filter/index.js +0 -10
  118. package/dist/components/Filter/types.js +0 -3
  119. package/dist/components/Filter/utils.js +0 -116
  120. package/dist/components/Icon/Icon.js +0 -46
  121. package/dist/components/Icon/Icon.style.js +0 -37
  122. package/dist/components/Icon/assets/iconSelector.js +0 -2471
  123. package/dist/components/Icon/index.js +0 -10
  124. package/dist/components/Icon/types.js +0 -3
  125. package/dist/components/IconButton/IconButton.js +0 -53
  126. package/dist/components/IconButton/IconButton.style.js +0 -22
  127. package/dist/components/IconButton/index.js +0 -10
  128. package/dist/components/Label/Label.js +0 -40
  129. package/dist/components/Label/Label.style.js +0 -29
  130. package/dist/components/Label/index.js +0 -10
  131. package/dist/components/List/List.js +0 -72
  132. package/dist/components/List/List.style.js +0 -39
  133. package/dist/components/List/ListItem/ListItem.js +0 -60
  134. package/dist/components/List/ListItem/ListItem.style.js +0 -44
  135. package/dist/components/List/ListItem/index.js +0 -10
  136. package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.js +0 -35
  137. package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.style.js +0 -41
  138. package/dist/components/List/ListItemGroup/ListGroupTitle/index.js +0 -10
  139. package/dist/components/List/ListItemGroup/ListItemGroup.js +0 -63
  140. package/dist/components/List/ListItemGroup/index.js +0 -10
  141. package/dist/components/List/NormalList/NormalList.js +0 -80
  142. package/dist/components/List/NormalList/NormalList.style.d.ts +0 -0
  143. package/dist/components/List/NormalList/NormalList.style.js +0 -1
  144. package/dist/components/List/NormalList/index.js +0 -10
  145. package/dist/components/List/VirtualizedList/VirtualizedList.js +0 -114
  146. package/dist/components/List/VirtualizedList/VirtualizedList.style.d.ts +0 -0
  147. package/dist/components/List/VirtualizedList/VirtualizedList.style.js +0 -1
  148. package/dist/components/List/VirtualizedList/index.js +0 -10
  149. package/dist/components/List/index.js +0 -10
  150. package/dist/components/List/types.js +0 -3
  151. package/dist/components/List/utils.js +0 -72
  152. package/dist/components/Loader/Loader.js +0 -27
  153. package/dist/components/Loader/Loader.style.js +0 -26
  154. package/dist/components/Loader/Loader.utils.js +0 -46
  155. package/dist/components/Loader/components/DotsLoader/DotsLoader.js +0 -28
  156. package/dist/components/Loader/components/DotsLoader/DotsLoader.style.js +0 -50
  157. package/dist/components/Loader/components/DotsLoader/index.js +0 -10
  158. package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.js +0 -32
  159. package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.style.js +0 -73
  160. package/dist/components/Loader/components/IndeterminateLoader/index.js +0 -10
  161. package/dist/components/Loader/components/Spinner/Spinner.js +0 -26
  162. package/dist/components/Loader/components/Spinner/Spinner.style.js +0 -27
  163. package/dist/components/Loader/components/Spinner/index.js +0 -10
  164. package/dist/components/Loader/index.js +0 -10
  165. package/dist/components/Menu/Menu.js +0 -119
  166. package/dist/components/Menu/Menu.style.js +0 -46
  167. package/dist/components/Menu/index.js +0 -10
  168. package/dist/components/Modal/Modal.js +0 -80
  169. package/dist/components/Modal/Modal.style.js +0 -49
  170. package/dist/components/Modal/ModalContent/ModalContent.js +0 -59
  171. package/dist/components/Modal/ModalContent/ModalContent.style.js +0 -63
  172. package/dist/components/Modal/ModalContent/index.js +0 -10
  173. package/dist/components/Modal/index.js +0 -10
  174. package/dist/components/Notification/Banner/Banner.js +0 -47
  175. package/dist/components/Notification/Banner/index.js +0 -10
  176. package/dist/components/Notification/InlineNotification/InlineNotification.js +0 -45
  177. package/dist/components/Notification/InlineNotification/index.js +0 -10
  178. package/dist/components/Notification/Notification.js +0 -3
  179. package/dist/components/Notification/Notification.style.js +0 -93
  180. package/dist/components/Notification/NotificationVisual/NotificationVisual.js +0 -62
  181. package/dist/components/Notification/NotificationVisual/NotificationVisual.style.js +0 -34
  182. package/dist/components/Notification/NotificationVisual/index.js +0 -10
  183. package/dist/components/Notification/NotificationsContainer/NotificationsContainer.js +0 -25
  184. package/dist/components/Notification/NotificationsContainer/NotificationsContainer.style.js +0 -37
  185. package/dist/components/Notification/NotificationsContainer/index.js +0 -10
  186. package/dist/components/Notification/Snackbar/Snackbar.js +0 -95
  187. package/dist/components/Notification/Snackbar/Snackbar.style.js +0 -73
  188. package/dist/components/Notification/Snackbar/index.js +0 -10
  189. package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.js +0 -89
  190. package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js +0 -95
  191. package/dist/components/Notification/subcomponents/CompactNotification/index.js +0 -10
  192. package/dist/components/Overlay/Overlay.js +0 -84
  193. package/dist/components/Overlay/Overlay.style.js +0 -138
  194. package/dist/components/Overlay/index.js +0 -10
  195. package/dist/components/Pagination/Pagination.js +0 -94
  196. package/dist/components/Pagination/index.js +0 -10
  197. package/dist/components/Radio/Radio.js +0 -111
  198. package/dist/components/Radio/Radio.style.js +0 -102
  199. package/dist/components/Radio/index.js +0 -10
  200. package/dist/components/RadioGroup/RadioGroup.js +0 -56
  201. package/dist/components/RadioGroup/RadioGroupContext.js +0 -14
  202. package/dist/components/RadioGroup/index.js +0 -10
  203. package/dist/components/RadioGroup/useRadioGroup.js +0 -18
  204. package/dist/components/SearchField/SearchField.js +0 -99
  205. package/dist/components/SearchField/SearchField.style.d.ts +0 -0
  206. package/dist/components/SearchField/SearchField.style.js +0 -1
  207. package/dist/components/SearchField/SearchFieldShowcase.js +0 -55
  208. package/dist/components/SearchField/index.js +0 -10
  209. package/dist/components/Select/Select.js +0 -246
  210. package/dist/components/Select/Select.style.js +0 -37
  211. package/dist/components/Select/components/SelectMenu/SelectMenu.js +0 -76
  212. package/dist/components/Select/components/SelectMenu/SelectMenu.style.js +0 -47
  213. package/dist/components/Select/components/SelectMenu/index.js +0 -10
  214. package/dist/components/Select/index.js +0 -10
  215. package/dist/components/Table/Table.js +0 -270
  216. package/dist/components/Table/Table.style.js +0 -76
  217. package/dist/components/Table/TableRowContext.js +0 -28
  218. package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.js +0 -115
  219. package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.js +0 -36
  220. package/dist/components/Table/components/ExtendedColumnItem/index.js +0 -10
  221. package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.js +0 -182
  222. package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.js +0 -57
  223. package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.js +0 -60
  224. package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.js +0 -24
  225. package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/index.js +0 -10
  226. package/dist/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js +0 -64
  227. package/dist/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.js +0 -10
  228. package/dist/components/Table/components/RenderRowOrNestedRow/index.js +0 -10
  229. package/dist/components/Table/components/TableCell/TableCell.js +0 -99
  230. package/dist/components/Table/components/TableCell/TableCell.style.js +0 -38
  231. package/dist/components/Table/components/TableCell/index.js +0 -10
  232. package/dist/components/Table/components/TableRow/TableRow.js +0 -53
  233. package/dist/components/Table/components/TableRow/index.js +0 -10
  234. package/dist/components/Table/components/TableRowWrapper/TableRowWrapper.js +0 -60
  235. package/dist/components/Table/components/TableRowWrapper/index.js +0 -10
  236. package/dist/components/Table/index.js +0 -10
  237. package/dist/components/Table/types.js +0 -3
  238. package/dist/components/Table/utils/index.js +0 -11
  239. package/dist/components/Table/utils/utils.js +0 -16
  240. package/dist/components/TextArea/TextArea.js +0 -72
  241. package/dist/components/TextArea/TextArea.style.js +0 -30
  242. package/dist/components/TextArea/index.js +0 -10
  243. package/dist/components/TextField/TextField.js +0 -119
  244. package/dist/components/TextField/TextField.style.js +0 -23
  245. package/dist/components/TextField/components/commons.js +0 -27
  246. package/dist/components/TextField/index.js +0 -10
  247. package/dist/components/TextInputBase/TextInputBase.js +0 -78
  248. package/dist/components/TextInputBase/TextInputBase.style.js +0 -138
  249. package/dist/components/TextInputBase/config.js +0 -42
  250. package/dist/components/TextInputBase/index.js +0 -19
  251. package/dist/components/ThemeProvider/ThemeProvider.js +0 -62
  252. package/dist/components/ThemeProvider/index.js +0 -10
  253. package/dist/components/Toast/Toast.js +0 -91
  254. package/dist/components/Toast/Toast.style.js +0 -112
  255. package/dist/components/Toast/index.js +0 -10
  256. package/dist/components/Tooltip/Tooltip.js +0 -44
  257. package/dist/components/Tooltip/Tooltip.style.js +0 -39
  258. package/dist/components/Tooltip/index.js +0 -10
  259. package/dist/components/TopAppBar/TopAppBar.js +0 -65
  260. package/dist/components/TopAppBar/TopAppBar.style.js +0 -57
  261. package/dist/components/TopAppBar/TopAppBar.types.js +0 -3
  262. package/dist/components/TopAppBar/components/Logo/Logo.style.js +0 -37
  263. package/dist/components/TopAppBar/components/Logo/Logo.wrapper.js +0 -28
  264. package/dist/components/TopAppBar/components/Logo/index.js +0 -10
  265. package/dist/components/TopAppBar/components/Search/Search.js +0 -57
  266. package/dist/components/TopAppBar/components/Search/Search.style.js +0 -51
  267. package/dist/components/TopAppBar/components/Search/index.js +0 -10
  268. package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js +0 -30
  269. package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.js +0 -20
  270. package/dist/components/TopAppBar/components/SidebarMenuIcon/index.js +0 -10
  271. package/dist/components/TopAppBar/components/UserMenu/UserMenu.js +0 -39
  272. package/dist/components/TopAppBar/components/UserMenu/UserMenu.style.js +0 -20
  273. package/dist/components/TopAppBar/components/UserMenu/index.js +0 -10
  274. package/dist/components/TopAppBar/components/index.js +0 -18
  275. package/dist/components/TopAppBar/index.js +0 -10
  276. package/dist/components/TruncatedContent/TruncatedContent.js +0 -69
  277. package/dist/components/TruncatedContent/TruncatedContent.style.js +0 -26
  278. package/dist/components/TruncatedContent/index.js +0 -10
  279. package/dist/components/storyUtils/Stack/Stack.d.ts +0 -6
  280. package/dist/components/storyUtils/Stack/index.d.ts +0 -1
  281. package/dist/components/utils/ClickAwayListener/ClickAwayListener.js +0 -52
  282. package/dist/components/utils/ClickAwayListener/index.js +0 -10
  283. package/dist/components/utils/DropdownOptions/index.js +0 -22
  284. package/dist/components/utils/PositionInScreen/PositionInScreen.js +0 -98
  285. package/dist/components/utils/PositionInScreen/PositionInScreen.style.js +0 -32
  286. package/dist/components/utils/PositionInScreen/index.js +0 -10
  287. package/dist/components/utils/handleSearch.js +0 -33
  288. package/dist/hooks/useBreakpoints.js +0 -38
  289. package/dist/hooks/useCheck.js +0 -31
  290. package/dist/hooks/useCombinedRefs.js +0 -35
  291. package/dist/hooks/useEscape.js +0 -24
  292. package/dist/hooks/useLoading.js +0 -31
  293. package/dist/hooks/useLocationToGetCurrentMenuItem.js +0 -36
  294. package/dist/hooks/usePagination.js +0 -71
  295. package/dist/hooks/useTheme.js +0 -13
  296. package/dist/hooks/useThemeSwitch.js +0 -49
  297. package/dist/hooks/useToggle.js +0 -30
  298. package/dist/hooks/useTypeColorToColorMatch.js +0 -95
  299. package/dist/test/index.js +0 -11
  300. package/dist/test/setup.js +0 -43
  301. package/dist/test/utils.js +0 -78
  302. package/dist/theme/elevation.js +0 -12
  303. package/dist/theme/emotion.d.js +0 -3
  304. package/dist/theme/functions.js +0 -103
  305. package/dist/theme/index.js +0 -46
  306. package/dist/theme/overrides.js +0 -7
  307. package/dist/theme/palette.config.js +0 -86
  308. package/dist/theme/palette.js +0 -91
  309. package/dist/theme/spacing.js +0 -24
  310. package/dist/theme/states/disabled.js +0 -25
  311. package/dist/theme/states/focus.js +0 -31
  312. package/dist/theme/states/hover.js +0 -31
  313. package/dist/theme/states/index.js +0 -19
  314. package/dist/theme/states/pressed.js +0 -31
  315. package/dist/theme/states/statesConfig.js +0 -36
  316. package/dist/theme/states/utils.js +0 -24
  317. package/dist/theme/tests/const.d.ts +0 -21
  318. package/dist/theme/types.js +0 -3
  319. package/dist/theme/typography.js +0 -40
  320. package/dist/theme/utils.js +0 -91
  321. package/dist/utils/common.js +0 -3
  322. package/dist/utils/errors.js +0 -50
  323. package/dist/utils/helpers.js +0 -75
  324. package/dist/utils/initLocaleFormat.js +0 -22
  325. package/dist/utils/size-utils.js +0 -58
  326. package/dist/utils/storyshots.js +0 -60
  327. package/dist/utils/themeFunctions.js +0 -133
  328. package/dist/utils/types.js +0 -3
package/dist/index.d.ts CHANGED
@@ -1,59 +1,1330 @@
1
- import { queriesSizes } from './hooks/useBreakpoints';
2
- import * as elevation from './theme/elevation';
3
- import * as themeFunctions from './theme/functions';
4
- import * as overrides from './theme/overrides';
5
- import * as palette from './theme/palette';
6
- import * as spacing from './theme/spacing';
7
- import * as typography from './theme/typography';
8
- export type { Elevation } from './theme/elevation';
9
- export type { Overrides } from './theme/overrides';
10
- export type { Palette } from './theme/palette';
11
- export type { Spacing } from './theme/spacing';
12
- export type { Typography } from './theme/typography';
13
- export type { AcceptedColorComponentTypes } from './utils/themeFunctions';
14
- export type { Theme } from './theme';
15
- export { default as Avatar } from './components/Avatar';
16
- export { default as AvatarStack } from './components/Avatar/AvatarStack';
17
- export { default as Breadcrumb } from './components/Breadcrumb';
18
- export { default as Button } from './components/Button';
19
- export { default as Card } from './components/Card';
20
- export { default as LineChart } from './components/Chart/LineChart';
21
- export { default as BarChart } from './components/Chart/BarChart';
22
- export { default as DonutChart } from './components/Chart/DonutChart';
23
- export { default as CheckBox } from './components/CheckBox';
24
- export { default as Chip } from './components/Chip';
25
- export { default as DatePicker } from './components/DatePicker';
26
- export { default as Drawer } from './components/Drawer';
27
- export { default as ExpandCollapse } from './components/ExpandCollapse';
28
- export { default as Icon } from './components/Icon';
29
- export { default as IconButton } from './components/IconButton';
30
- export { default as Label } from './components/Label';
31
- export { default as List } from './components/List';
32
- export { default as Loader } from './components/Loader';
33
- export { default as Menu } from './components/Menu';
34
- export { default as Modal } from './components/Modal';
35
- export { default as InlineNotification } from './components/Notification/InlineNotification';
36
- export { default as NotificationsContainer } from './components/Notification/NotificationsContainer';
37
- export { default as NotificationVisual } from './components/Notification/NotificationVisual';
38
- export { default as Banner } from './components/Notification/Banner';
39
- export { default as Snackbar } from './components/Notification/Snackbar';
40
- export { default as Overlay } from './components/Overlay';
41
- export { default as Pagination } from './components/Pagination';
42
- export { default as Radio } from './components/Radio';
43
- export { default as RadioGroup } from './components/RadioGroup';
44
- export { default as Select } from './components/Select';
45
- export { default as Table } from './components/Table';
46
- export { default as TextField } from './components/TextField';
47
- export { default as SearchField } from './components/SearchField';
48
- export { default as TextArea } from './components/TextArea';
49
- export { default as ThemeProvider } from './components/ThemeProvider';
50
- export { default as Toast } from './components/Toast';
51
- export { default as Tooltip } from './components/Tooltip';
52
- export { default as TopNavBar } from './components/TopAppBar';
53
- export { default as useTheme } from './hooks/useTheme';
54
- export { default as useBreakpoints } from './hooks/useBreakpoints';
55
- export { default as useEscape } from './hooks/useEscape';
56
- export { default as Filter } from './components/Filter';
57
- export { default as TruncatedContent } from './components/TruncatedContent';
58
- export { default as themeConfig } from './theme';
59
- export { themeFunctions, palette, spacing, typography, elevation, overrides, queriesSizes, };
1
+ import * as react_media from 'react-media';
2
+ import * as _emotion_react from '@emotion/react';
3
+ import * as React from 'react';
4
+ import React__default, { MouseEvent, ChangeEvent, FC } from 'react';
5
+ import { DivProps as DivProps$1, EventProps as EventProps$1 } from 'utils/common';
6
+ import { TestProps as TestProps$2, TestId as TestId$1 } from 'utils/types';
7
+ import { ClickHandler } from 'hooks/useLoading';
8
+ import { Elevation as Elevation$1, Spacing as Spacing$1 } from 'index';
9
+ import * as components_TextInputBase from 'components/TextInputBase';
10
+ import { Props as Props$A } from 'components/TextInputBase';
11
+ import { Dayjs } from 'dayjs';
12
+ import { LocationState, Location } from 'history';
13
+ import { match } from 'react-router';
14
+ import { AcceptedIconNames as AcceptedIconNames$1 } from 'components/Icon/types';
15
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
16
+ import { ReactComponentLike } from 'prop-types';
17
+ import { Props as Props$B } from 'components/ButtonBase/ButtonBase';
18
+ import { FilterOption as FilterOption$1 } from 'components/Filter/types';
19
+ import { SelectOption as SelectOption$1 } from 'components/Select/Select';
20
+ import { AcceptedColorComponentTypes as AcceptedColorComponentTypes$1 } from 'utils/themeFunctions';
21
+ import { formFieldStyles as formFieldStyles$1 } from 'theme/palette';
22
+ import { ThemeConfig } from 'theme';
23
+
24
+ declare const queriesKeys: readonly ["des1920", "des1440", "des1366", "des1200", "tab1024", "tab970", "tab750", "mob480", "mob320"];
25
+ declare const queriesSizes: Record<typeof queriesKeys[number], string>;
26
+ declare const useBreakpoints: () => react_media.QueryResults<Record<"des1920" | "des1440" | "des1366" | "des1200" | "tab1024" | "tab970" | "tab750" | "mob480" | "mob320", string>>;
27
+
28
+ declare type Elevation = {
29
+ '01': string;
30
+ '02': string;
31
+ '03': string;
32
+ '04': string;
33
+ };
34
+ declare const elevation: Elevation;
35
+
36
+ type elevation_d_Elevation = Elevation;
37
+ declare namespace elevation_d {
38
+ export {
39
+ elevation as default,
40
+ elevation_d_Elevation as Elevation,
41
+ };
42
+ }
43
+
44
+ declare const grid: _emotion_react.SerializedStyles;
45
+ declare const well: _emotion_react.SerializedStyles;
46
+ declare const centerAbsoluteVertical: _emotion_react.SerializedStyles;
47
+ declare const transition: (s: number, type?: string) => _emotion_react.SerializedStyles;
48
+ declare const lineEllipsis: _emotion_react.SerializedStyles;
49
+ declare const flex: _emotion_react.SerializedStyles;
50
+ declare const flexCenter: _emotion_react.SerializedStyles;
51
+ declare const flexCenterVertical: _emotion_react.SerializedStyles;
52
+ declare const plainTextButton: _emotion_react.SerializedStyles;
53
+
54
+ declare const functions_d_grid: typeof grid;
55
+ declare const functions_d_well: typeof well;
56
+ declare const functions_d_centerAbsoluteVertical: typeof centerAbsoluteVertical;
57
+ declare const functions_d_transition: typeof transition;
58
+ declare const functions_d_lineEllipsis: typeof lineEllipsis;
59
+ declare const functions_d_flex: typeof flex;
60
+ declare const functions_d_flexCenter: typeof flexCenter;
61
+ declare const functions_d_flexCenterVertical: typeof flexCenterVertical;
62
+ declare const functions_d_plainTextButton: typeof plainTextButton;
63
+ declare namespace functions_d {
64
+ export {
65
+ functions_d_grid as grid,
66
+ functions_d_well as well,
67
+ functions_d_centerAbsoluteVertical as centerAbsoluteVertical,
68
+ functions_d_transition as transition,
69
+ functions_d_lineEllipsis as lineEllipsis,
70
+ functions_d_flex as flex,
71
+ functions_d_flexCenter as flexCenter,
72
+ functions_d_flexCenterVertical as flexCenterVertical,
73
+ functions_d_plainTextButton as plainTextButton,
74
+ };
75
+ }
76
+
77
+ declare type Overrides = Record<string, any>;
78
+ declare const overrides: Overrides;
79
+
80
+ type overrides_d_Overrides = Overrides;
81
+ declare namespace overrides_d {
82
+ export {
83
+ overrides as default,
84
+ overrides_d_Overrides as Overrides,
85
+ };
86
+ }
87
+
88
+ declare const spaces: {
89
+ readonly xsm: "4";
90
+ readonly sm: "8";
91
+ readonly md: "16";
92
+ readonly lg: "24";
93
+ readonly xl: "32";
94
+ };
95
+ declare const spacing: Spacing;
96
+ declare type Spacing = {
97
+ xsm: typeof spaces.xsm;
98
+ sm: typeof spaces.sm;
99
+ md: typeof spaces.md;
100
+ lg: typeof spaces.lg;
101
+ xl: typeof spaces.xl;
102
+ };
103
+
104
+ declare const spacing_d_spaces: typeof spaces;
105
+ type spacing_d_Spacing = Spacing;
106
+ declare namespace spacing_d {
107
+ export {
108
+ spacing as default,
109
+ spacing_d_spaces as spaces,
110
+ spacing_d_Spacing as Spacing,
111
+ };
112
+ }
113
+
114
+ declare const weights: {
115
+ readonly light: 300;
116
+ readonly regular: 400;
117
+ readonly medium: 500;
118
+ readonly bold: 700;
119
+ readonly black: 900;
120
+ };
121
+ declare type Typography = {
122
+ globalFontSize: number;
123
+ fontSizes: {
124
+ 8: string;
125
+ 10: string;
126
+ 11: string;
127
+ 12: string;
128
+ 13: string;
129
+ 14: string;
130
+ 15: string;
131
+ 16: string;
132
+ 18: string;
133
+ 20: string;
134
+ 22: string;
135
+ 24: string;
136
+ 26: string;
137
+ 28: string;
138
+ 32: string;
139
+ };
140
+ weights: typeof weights;
141
+ fontFamily: string;
142
+ };
143
+ declare const typography: Typography;
144
+
145
+ type typography_d_Typography = Typography;
146
+ declare namespace typography_d {
147
+ export {
148
+ typography as default,
149
+ typography_d_Typography as Typography,
150
+ };
151
+ }
152
+
153
+ declare type TextColorTypes = 'primary' | 'secondary' | 'light';
154
+ declare type Theme = {
155
+ palette: Palette;
156
+ typography: Typography;
157
+ spacing: Spacing;
158
+ elevation: Elevation;
159
+ isDark: boolean;
160
+ overrides: Overrides;
161
+ utils: {
162
+ getColor: GetColor;
163
+ getAAColorFromSwatches: GetAAColorFromSwatches;
164
+ getAAColor: GetAAColor;
165
+ };
166
+ };
167
+
168
+ declare const defaultTheme: (theming: 'dark' | 'light') => Theme;
169
+
170
+ declare const neutralColors: readonly ["neutralWhite", "neutralBlack"];
171
+ /**
172
+ * Here are listed all the colors available for our project
173
+ * Flat colors are the actual colors of the system
174
+ **/
175
+ declare const flatColors: readonly ["greyScale", "darkGrey", "lightGrey", "red", "magenta", "purple", "darkBlue", "blue", "lightBlue", "teal", "green", "yellow", "orange", "darkOrange", "neutralWhite", "neutralBlack"];
176
+ /**
177
+ * Here are listed all the colors available for our project
178
+ * Pale colors are just colors without shades
179
+ **/
180
+ declare const paleColors: readonly ["greyScale", "darkGrey", "lightGrey", "red", "magenta", "purple", "darkBlue", "blue", "lightBlue", "teal", "green", "yellow", "orange"];
181
+ /**
182
+ * Here are listed all the color shades
183
+ * Each colors of the flat palette is generated with these variations
184
+ * E.g red.100 = color or yellow.500 = color
185
+ * so there is no yellow but variations of yellow
186
+ * default variation: 500
187
+ **/
188
+ declare const colorShades: readonly [50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900, 950];
189
+ declare const MIN_SHADE = 50;
190
+ declare const BASE_SHADE = 500;
191
+ declare const MAX_SHADE = 950;
192
+ /**
193
+ * mainTypes are not colors per se but a type of color
194
+ * for example error is red but also defines a state that's why is listed here and not in flat colors
195
+ * Each color has again the above variations (shades)
196
+ **/
197
+ declare const mainTypes: readonly ["primary", "secondary", "success", "error", "warning", "info", "light", "link"];
198
+ declare type flatPalette = Record<typeof flatColors[number], generatedColorShades>;
199
+ declare type palePalette = Record<typeof paleColors[number], string>;
200
+ declare type generatedColorShades = Record<typeof colorShades[number], string>;
201
+ /**
202
+ * Palette is end output of what is produced and exported to the client projects
203
+ **/
204
+ declare type Palette = {
205
+ text: {
206
+ primary: generatedColorShades;
207
+ secondary: generatedColorShades;
208
+ light: generatedColorShades;
209
+ };
210
+ flat: flatPalette;
211
+ pale: palePalette;
212
+ white: string;
213
+ black: string;
214
+ } & Record<typeof mainTypes[number], generatedColorShades>;
215
+ declare type formFieldStyles = 'filled' | 'outlined' | 'elevated';
216
+ declare type GetColor = {
217
+ (color: typeof flatColors[number], variant: typeof colorShades[number]): string;
218
+ (color: typeof flatColors[number], variant: typeof colorShades[number], scope: 'flat'): string;
219
+ (color: TextColorTypes, variant: typeof colorShades[number], scope: 'text'): string;
220
+ (color: typeof mainTypes[number], variant: typeof colorShades[number], scope: 'normal'): string;
221
+ (color: typeof paleColors[number], variant: null, scope: 'pale'): string;
222
+ };
223
+ declare const getColor: (palette: Palette) => GetColor;
224
+ /**
225
+ * this function picks either white or black color based on the background that is passed
226
+ * swatches are calculated based on accessibility by getAAColor function and splited to those two colors
227
+ **/
228
+ declare type GetAAColorFromSwatches = {
229
+ (color: typeof flatColors[number], variant: typeof colorShades[number]): string;
230
+ };
231
+ declare const getAAColorFromSwatches: (palette: Palette) => GetAAColorFromSwatches;
232
+ declare type GetAAColor = {
233
+ (color: string): string;
234
+ };
235
+ declare const getAAColor: (palette: Palette) => GetAAColor;
236
+
237
+ declare const palette_d_neutralColors: typeof neutralColors;
238
+ declare const palette_d_flatColors: typeof flatColors;
239
+ declare const palette_d_paleColors: typeof paleColors;
240
+ declare const palette_d_colorShades: typeof colorShades;
241
+ declare const palette_d_MIN_SHADE: typeof MIN_SHADE;
242
+ declare const palette_d_BASE_SHADE: typeof BASE_SHADE;
243
+ declare const palette_d_MAX_SHADE: typeof MAX_SHADE;
244
+ declare const palette_d_mainTypes: typeof mainTypes;
245
+ type palette_d_flatPalette = flatPalette;
246
+ type palette_d_palePalette = palePalette;
247
+ type palette_d_generatedColorShades = generatedColorShades;
248
+ type palette_d_Palette = Palette;
249
+ type palette_d_formFieldStyles = formFieldStyles;
250
+ type palette_d_GetColor = GetColor;
251
+ declare const palette_d_getColor: typeof getColor;
252
+ type palette_d_GetAAColorFromSwatches = GetAAColorFromSwatches;
253
+ declare const palette_d_getAAColorFromSwatches: typeof getAAColorFromSwatches;
254
+ type palette_d_GetAAColor = GetAAColor;
255
+ declare const palette_d_getAAColor: typeof getAAColor;
256
+ declare namespace palette_d {
257
+ export {
258
+ palette_d_neutralColors as neutralColors,
259
+ palette_d_flatColors as flatColors,
260
+ palette_d_paleColors as paleColors,
261
+ palette_d_colorShades as colorShades,
262
+ palette_d_MIN_SHADE as MIN_SHADE,
263
+ palette_d_BASE_SHADE as BASE_SHADE,
264
+ palette_d_MAX_SHADE as MAX_SHADE,
265
+ palette_d_mainTypes as mainTypes,
266
+ palette_d_flatPalette as flatPalette,
267
+ palette_d_palePalette as palePalette,
268
+ palette_d_generatedColorShades as generatedColorShades,
269
+ palette_d_Palette as Palette,
270
+ palette_d_formFieldStyles as formFieldStyles,
271
+ palette_d_GetColor as GetColor,
272
+ palette_d_getColor as getColor,
273
+ palette_d_GetAAColorFromSwatches as GetAAColorFromSwatches,
274
+ palette_d_getAAColorFromSwatches as getAAColorFromSwatches,
275
+ palette_d_GetAAColor as GetAAColor,
276
+ palette_d_getAAColor as getAAColor,
277
+ };
278
+ }
279
+
280
+ declare type AcceptedColorComponentTypes = typeof mainTypes[number];
281
+
282
+ /** A generic type for native events */
283
+ declare type EventProps = {
284
+ onClick?: () => void;
285
+ onBlur?: () => void;
286
+ };
287
+ declare type DivProps = Omit<React.HTMLProps<HTMLDivElement>, 'size' | 'css'>;
288
+
289
+ declare type AcceptedIconNames = 'account' | 'actions' | 'add' | 'alert' | 'analytics' | 'analyticsVideos' | 'ancient' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowToLeft' | 'arrowToRight' | 'artist' | 'asset' | 'assetMatching' | 'auto' | 'broadcast' | 'calendarEmpty' | 'calendarFilled' | 'catalog' | 'catalogOverview' | 'catalogFiles' | 'chatBubble' | 'check' | 'checkedList' | 'checkmark' | 'chevronExtraSmallDown' | 'chevronExtraSmallLeft' | 'chevronExtraSmallRight' | 'chevronExtraSmallUp' | 'chevronLargeDown' | 'chevronLargeLeft' | 'chevronLargeRight' | 'chevronLargeUp' | 'chevronSmallDown' | 'chevronSmallLeft' | 'chevronSmallRight' | 'chevronSmallUp' | 'claimList' | 'clock' | 'close' | 'closeTag' | 'cmsProcess' | 'composition' | 'compositionV2' | 'confirmedMatches' | 'conflicts' | 'concert' | 'dashboard' | 'dataset' | 'delete' | 'delivery' | 'details' | 'digitalUse' | 'distribution' | 'dotsVertical' | 'download' | 'duplicate' | 'duplicate2' | 'earnings' | 'earnings2' | 'edit' | 'entities' | 'error' | 'expenses' | 'externalLink' | 'externalLinkV2' | 'fatArrowDown' | 'fatArrowLeft' | 'fatArrowRight' | 'fatArrowUp' | 'file' | 'financialChart' | 'generatedReports' | 'genericFile' | 'genericOrdering' | 'globalItem' | 'heartFill' | 'heartStroke' | 'help' | 'hourglass' | 'income' | 'infoFilled' | 'info' | 'issues' | 'keyword' | 'legalFiles' | 'linked' | 'lock' | 'mail' | 'manual' | 'menu' | 'microphone' | 'minus' | 'moreOptionsHorizontal' | 'moreOptionsVertical' | 'musicNote' | 'myEarnings' | 'notifications' | 'notifications2' | 'oneWay' | 'others' | 'ownershipValidation' | 'pageFirst' | 'pageLast' | 'percentage' | 'plus' | 'policies' | 'process' | 'processManagement' | 'publicPerformance' | 'publisher' | 'recording' | 'recordLabel' | 'recordLabelV2' | 'referenceFile' | 'relations' | 'restore' | 'result' | 'royaltyShares' | 'search' | 'searchMusic' | 'searchThunder' | 'settings' | 'sight' | 'sortAscending' | 'sortDescending' | 'stamp' | 'statements' | 'success' | 'television' | 'thunder' | 'ticTacToeArrow' | 'timeOut' | 'training' | 'triangleDown' | 'triangleLeft' | 'triangleRight' | 'triangleUp' | 'trophy' | 'TVCinema' | 'TVRadio' | 'update' | 'upload' | 'user' | 'userAvatar' | 'users' | 'users2' | 'videoConfirmation' | 'view' | 'warning' | 'works' | 'writer' | 'youtube' | 'refresh' | 'star' | 'pause' | 'resume' | 'restart' | 'entity' | 'playCount' | 'processedLogs' | 'proposed' | 'unpaired' | 'unpairedV2' | 'clockOutlined' | 'userCheck';
290
+
291
+ declare type Props$z = {
292
+ /** the src of the image to show **/
293
+ src?: string;
294
+ /** The icon name to pick from our library of icons
295
+ * @default 'user'
296
+ * */
297
+ iconName?: AcceptedIconNames;
298
+ /** The size of the avatar
299
+ * @default 'md'
300
+ * */
301
+ size?: AvatarSizes;
302
+ /** the color of the button based on our colors eg. red-500
303
+ * @default 'darkGrey-500'
304
+ * */
305
+ color?: string;
306
+ /** The class name of the avatar component if its styled **/
307
+ className?: string;
308
+ };
309
+ declare type AvatarSizes = 'xs' | 'sm' | 'md' | 'lg';
310
+
311
+ declare const Avatar: React__default.ForwardRefExoticComponent<Pick<Props$z & DivProps, "children" | "onChange" | "onBlur" | "onClick" | "type" | "autoFocus" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "download" | "encType" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "span" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "width" | "wmode" | "wrap" | "key" | keyof Props$z> & React__default.RefAttributes<HTMLDivElement>>;
312
+
313
+ declare type Props$y = {
314
+ /** the maximum number of avatars to be displayed **/
315
+ maxAvatars?: number;
316
+ /** The size of the extra avatar, if any **/
317
+ size?: AvatarSizes;
318
+ /** the color of the extra avatar based on our colors eg. red-500 **/
319
+ color?: string;
320
+ };
321
+
322
+ declare const AvatarStack: React__default.ForwardRefExoticComponent<Pick<Props$y & TestProps$2 & DivProps$1, "children" | "onChange" | "onBlur" | "onClick" | "type" | "autoFocus" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "download" | "encType" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "width" | "wmode" | "wrap" | "key" | "dataTestId" | keyof Props$y> & React__default.RefAttributes<HTMLDivElement>>;
323
+
324
+ declare type BreadcrumbItemData = {
325
+ /** Defines the path used for a link breadcrumb item*/
326
+ to?: string;
327
+ /** Defines the label used for a link breadcrumb item */
328
+ label: string;
329
+ };
330
+
331
+ declare type Props$x = {
332
+ /** Defines the data for constructing the related breadcrumb items */
333
+ data?: BreadcrumbItemData[];
334
+ };
335
+ declare const Breadcrumb: React.FC<Props$x>;
336
+
337
+ declare type ClickEvent = MouseEvent<HTMLButtonElement> | undefined;
338
+
339
+ declare type DeepPartial<T> = T extends {
340
+ [key: string]: unknown;
341
+ } ? {
342
+ [P in keyof T]?: DeepPartial<T[P]>;
343
+ } : T;
344
+ declare type TestId = string;
345
+ declare type TestProps$1 = {
346
+ dataTestId?: TestId;
347
+ };
348
+
349
+ declare const buttonSizes: readonly ["lg", "md", "sm"];
350
+
351
+ declare type Props$w = {
352
+ /** Type indicating the type of the button */
353
+ type?: AcceptedColorComponentTypes;
354
+ /** the color of the button based on our colors eg. red-500 */
355
+ color?: string;
356
+ /** This property define the size of the button. Defaults to 'md' */
357
+ size?: typeof buttonSizes[number];
358
+ /** This property will make the button fit to its parent width. Defaults to false */
359
+ block?: boolean;
360
+ /** Property indicating if the component is filled with a color based on the type */
361
+ filled?: boolean;
362
+ /** Property indicating if the component is async and loading */
363
+ loading?: boolean;
364
+ /** Property indicating if the component is transparent with a color based on the type */
365
+ transparent?: boolean;
366
+ /** An optional boolean to show if the button is icon */
367
+ isIconButton?: boolean;
368
+ /** An optional icon to put on the right of the button */
369
+ iconRight?: React__default.Component | JSX.Element | null;
370
+ /** An optional icon to put on the left of the button */
371
+ iconLeft?: React__default.Component | JSX.Element | null;
372
+ /** Define if the button is in disabled state */
373
+ disabled?: boolean;
374
+ /** Defines the button type */
375
+ buttonType?: 'submit' | 'reset' | 'button';
376
+ };
377
+
378
+ declare type onClickProp = {
379
+ onClick: ClickHandler;
380
+ };
381
+ declare const Button: React__default.ForwardRefExoticComponent<Props$w & TestProps$2 & onClickProp & Partial<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "size" | "css" | "onBlur" | "onClick" | "type">> & React__default.RefAttributes<HTMLButtonElement>>;
382
+
383
+ declare type Props$v = {
384
+ /** Elevation of Card */
385
+ elevated?: keyof Elevation$1;
386
+ /** Transparency of Card: if false the Card's background is white, otherwise it's transparent */
387
+ transparent?: boolean;
388
+ /** Border radius of Card: if not provided it defaults to 0 */
389
+ radius?: keyof Spacing$1;
390
+ };
391
+ declare const Card: React__default.FC<Props$v>;
392
+
393
+ declare type Data$2 = {
394
+ name: string;
395
+ [prop: string]: number | string | undefined;
396
+ };
397
+
398
+ declare type Props$u = {
399
+ /** This property defines the data to be shown in the Line Chart */
400
+ data: Data$2[];
401
+ /** Property indicating the label name to be displayed for X axis */
402
+ labelX?: string;
403
+ /** Property indicating the label name to be displayed for Y axis */
404
+ labelY?: string;
405
+ /** Define if the legend will be displayed */
406
+ showLegend?: boolean;
407
+ /** Function passed as property, so that the user can select colors for each line. If no function is passed or no color is picked for one or more lines, color will be selected randomly */
408
+ color?: (dataLabel: string) => string;
409
+ };
410
+ declare const LineChart: React__default.FC<Props$u>;
411
+
412
+ declare type HoverInfo = {
413
+ name: string;
414
+ value?: string | number;
415
+ percentage?: string;
416
+ [prop: string]: number | string | undefined;
417
+ };
418
+ declare type Option = {
419
+ color?: string;
420
+ coloringOption?: 'all' | 'bar';
421
+ hoverInfo?: HoverInfo[];
422
+ };
423
+ declare type Data$1 = {
424
+ name: string;
425
+ subcategory?: string;
426
+ value?: number;
427
+ barLabel?: string;
428
+ options?: Option;
429
+ };
430
+ declare type Props$t = {
431
+ /** This property defines the data to be shown in the Line Chart */
432
+ data: Data$1[];
433
+ };
434
+ declare const BarChart: React__default.FC<Props$t>;
435
+
436
+ declare type Data = {
437
+ name: string;
438
+ value: number;
439
+ color?: string;
440
+ };
441
+ declare type Props$s = {
442
+ /** This property defines the data to be shown in the Donut Chart */
443
+ data: Data[];
444
+ /** This property defines the value to be shown in the Donut Chart label */
445
+ value?: string | number;
446
+ /** This property defines the units to be shown in the Donut Chart label*/
447
+ units?: string;
448
+ };
449
+ declare const DonutChart: React__default.FC<Props$s>;
450
+
451
+ declare type Props$r = {
452
+ /** The label of the checkbox. */
453
+ label?: string;
454
+ /** Boolean defining if the checkbox is checked. */
455
+ checked?: boolean;
456
+ /** Callback function for onClick. Returns the new value and the change event. */
457
+ onClick?(val: boolean, e: ChangeEvent): void;
458
+ /** Boolean defining if the checkbox is disabled. Defaults to false */
459
+ disabled?: boolean;
460
+ /** Boolean defining if the checkbox is in intermediate state when checked ( - instead of ✓ ). Defaults to false */
461
+ intermediate?: boolean;
462
+ /** Whether the radio input is filled or outlined
463
+ *
464
+ * @default true
465
+ * */
466
+ filled?: boolean;
467
+ /** The data test id if needed */
468
+ dataTestIdSuffix?: TestId;
469
+ /** Disables auto generated id for snapshots*/
470
+ id?: string;
471
+ };
472
+ declare const CheckBox: React.ForwardRefExoticComponent<Props$r & React.RefAttributes<HTMLSpanElement>>;
473
+
474
+ declare const styleType: readonly ["read-only", "interactive"];
475
+ declare type Props$q = {
476
+ /**
477
+ * Determines whether the chip should be read-only or interactive.
478
+ * @default read-only
479
+ */
480
+ styleType?: typeof styleType[number];
481
+ /** Defines the fill color of the component, if filled. */
482
+ fill?: typeof flatColors[number];
483
+ /** An optional thumbnail to show to the left. */
484
+ thumbnail?: {
485
+ src?: string;
486
+ name?: string;
487
+ };
488
+ /** Boolean defining if the chip is selected. */
489
+ isSelected?: boolean;
490
+ /** Boolean defining if the check icon is shown. */
491
+ isChecked?: boolean;
492
+ /** Defines the number value of the badge */
493
+ badgeNumber?: number;
494
+ /** Callback function for onClick. */
495
+ onClick?: (event: ClickEvent) => void;
496
+ /** A callback that is being triggered when type is interactive and you press the X icon. */
497
+ onClear?: () => void;
498
+ /** Boolean defining if the chip is disabled. Interactive only. */
499
+ disabled?: boolean;
500
+ };
501
+
502
+ declare const Chip: React__default.ForwardRefExoticComponent<Props$q & TestProps$1 & Partial<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "size" | "css" | "onBlur" | "onClick" | "type">> & React__default.RefAttributes<HTMLButtonElement>>;
503
+
504
+ declare type FilterOption = {
505
+ value: string | number;
506
+ label: string;
507
+ };
508
+ declare type StyleType = 'filled' | 'transparent';
509
+ declare type FilterType = 'preset' | 'added';
510
+ declare type Props$p = {
511
+ /** The type of the button - defaults to "primary" */
512
+ buttonType?: 'primary' | 'secondary';
513
+ /** Items that are being declared as menu options */
514
+ items: FilterOption[];
515
+ /** The default value. The default value is not an item of the items, is a kind of extra item that
516
+ * on top of the items and is displayed always first */
517
+ defaultValue: FilterOption;
518
+ /** A callback that is being triggered when an items has been clicked */
519
+ onSelect: (option: FilterOption) => void;
520
+ /** A callback that is being triggered when type is added and you press the X icon */
521
+ onClear?: () => void;
522
+ /** The text of the button to show */
523
+ label: React.ReactNode;
524
+ /** Defines the style type of the button */
525
+ styleType: StyleType;
526
+ /** Defines the filter type */
527
+ filterType?: FilterType;
528
+ /** The selected item of the menu. This is an item of the the items list */
529
+ selectedItem?: FilterOption;
530
+ /** Defines if the button is in disabled state */
531
+ disabled?: boolean;
532
+ /** if the options are searchable */
533
+ isSearchable?: boolean;
534
+ /** the function to fetch new options */
535
+ onAsyncSearch?: (term: string) => void;
536
+ /** after how many characters to start searching (default = 0) */
537
+ minCharactersToSearch?: number;
538
+ /** if the search request is loading */
539
+ isLoading?: boolean;
540
+ /** Whether the Options List is Virtualized or not */
541
+ isVirtualized?: boolean;
542
+ /** data-testid suffix */
543
+ dataTestId?: string;
544
+ };
545
+
546
+ declare type Props$o = {
547
+ /** The id of the text field that will be used as for in label too */
548
+ id?: string;
549
+ /** Callback fired when the `input` is blurred. */
550
+ onBlur?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
551
+ /** Callback fired when the `input` is changed. */
552
+ onChange?: React__default.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
553
+ /** Callback fired when the `input` is focused. */
554
+ onFocus?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
555
+ /** Callback fired when the `input` has a key down event. */
556
+ onKeyDown?: React__default.KeyboardEventHandler<HTMLTextAreaElement | HTMLInputElement>;
557
+ /** Callback fired when the `input` value typed is changed */
558
+ onInput?: React__default.EventHandler<any>;
559
+ } & Props$A;
560
+ declare const TextField: React__default.ForwardRefExoticComponent<{
561
+ /** The id of the text field that will be used as for in label too */
562
+ id?: string | undefined;
563
+ /** Callback fired when the `input` is blurred. */
564
+ onBlur?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
565
+ /** Callback fired when the `input` is changed. */
566
+ onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
567
+ /** Callback fired when the `input` is focused. */
568
+ onFocus?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
569
+ /** Callback fired when the `input` has a key down event. */
570
+ onKeyDown?: React__default.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
571
+ /** Callback fired when the `input` value typed is changed */
572
+ onInput?: ((event: any) => void) | undefined;
573
+ } & Props$A & Partial<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size">> & TestProps$1 & React__default.RefAttributes<HTMLInputElement>>;
574
+
575
+ declare type Range = {
576
+ from?: Dayjs;
577
+ to?: Dayjs;
578
+ };
579
+
580
+ declare type DisabledDates = {
581
+ daysOfWeek?: number[];
582
+ days?: Date[];
583
+ after?: Date;
584
+ before?: Date;
585
+ };
586
+ declare type Props$n = {
587
+ /** This property is to define if this is a day picker or a day range picker */
588
+ isRangePicker?: boolean;
589
+ /** A callback to return user selection */
590
+ onChange?: (range: Range) => void;
591
+ /** Option to disable some dates */
592
+ disableDates?: DisabledDates;
593
+ /** Value to define if needed an initial state or to handle it externally */
594
+ value?: {
595
+ from?: Date;
596
+ to?: Date;
597
+ };
598
+ /** Props of the TextField input */
599
+ inputProps?: Props$o;
600
+ /** The format of the date displayed in the input field */
601
+ dateFormatOverride?: DateFormatType;
602
+ /** if the datepicker can be clear with backspace */
603
+ isClearable?: boolean;
604
+ /** if the datepicker's default date is today instead of placeholder text */
605
+ isDefaultNow?: boolean;
606
+ /** Style properties for the DatePicker with a filter base */
607
+ filterConfig?: {
608
+ /** The type of the filter button's palette - defaults to "primary" */
609
+ buttonType?: 'primary' | 'secondary';
610
+ /** Defines the style type of the filter button */
611
+ styleType?: StyleType;
612
+ /** This property defines the Filter's type */
613
+ filterType?: FilterType;
614
+ };
615
+ };
616
+ declare type DateFormatType = 'MM/DD/YYYY' | 'DD/MM/YYYY' | 'MMMM D, YYYY' | 'dddd, MMMM D, YYYY' | 'M/D/YYYY' | 'MMM D, YYYY' | 'ddd, MMM D, YYYY';
617
+ declare const DatePicker: React__default.FC<Props$n & TestProps$1>;
618
+
619
+ declare type MenuItem = {
620
+ name: string;
621
+ url: string;
622
+ state?: Record<string, any> | null;
623
+ visible: boolean;
624
+ iconName: AcceptedIconNames$1;
625
+ isActive?<Params extends {
626
+ [K in keyof Params]?: string;
627
+ }, S = LocationState>(match: match<Params> | null, location: Location<S>): boolean;
628
+ options: MenuItem[];
629
+ };
630
+
631
+ declare type Props$m = {
632
+ /** Defines if the drawer is expanded */
633
+ expanded: boolean;
634
+ /** Changes if the drawer is expanded */
635
+ setExpanded: (v: boolean) => void;
636
+ /** The menu items to be displayed in the drawer */
637
+ menuItems: MenuItem[];
638
+ /** Render prop function to display something over the Navigation */
639
+ renderHeader?: () => React__default.ReactNode;
640
+ };
641
+ declare const Drawer: React__default.FC<Props$m>;
642
+
643
+ declare type SharedProps = {
644
+ /**
645
+ * A function accepting a click handler and a boolean representing the current expansion state. Returns the elements containing the text and the
646
+ * expand/collapse button
647
+ * */
648
+ textAndControl: (x: React.ReactEventHandler, y: boolean) => React.ReactElement;
649
+ /**
650
+ * The type of the component that wraps the action and content. Must be able to hold a
651
+ * `data-testid` prop
652
+ *
653
+ * @default div
654
+ */
655
+ component?: ReactComponentLike;
656
+ /**
657
+ * Initial expansion state.
658
+ *
659
+ * @default false
660
+ */
661
+ initiallyExpanded?: boolean;
662
+ /**
663
+ * The duration for the appear transition
664
+ *
665
+ * @default 200
666
+ */
667
+ transitionDuration?: number;
668
+ /**
669
+ * A function accepting a boolean representing the current expansion state. Returns the
670
+ * collapsible/expandable content. Mutually exclusive with children.
671
+ */
672
+ content?: (x: boolean) => React.ReactNode;
673
+ /**
674
+ * A function accepting a boolean representing the current expansion state. Returns the
675
+ * collapsible/expandable content. Mutually exclusive with content.
676
+ */
677
+ children?: (x: boolean) => React.ReactNode;
678
+ } & TestProps$1;
679
+ declare type ExternalProps = {
680
+ /**
681
+ * Defining this prop means that the component is controlled
682
+ *
683
+ * @default false
684
+ */
685
+ expanded: boolean;
686
+ /**
687
+ * Change handler for the case when the component is controlled
688
+ */
689
+ onChange: React.ReactEventHandler;
690
+ };
691
+ declare type InternalProps = {
692
+ /**
693
+ * Defining this prop means that the component is controlled
694
+ *
695
+ * @default false
696
+ */
697
+ expanded: undefined;
698
+ /**
699
+ * Change handler for the case when the component is controlled
700
+ */
701
+ onChange: undefined;
702
+ };
703
+ declare type Props$l = SharedProps & (InternalProps | ExternalProps);
704
+
705
+ declare const ExpandCollapse: (props: Props$l) => _emotion_react_jsx_runtime.JSX.Element;
706
+
707
+ declare type OwnProps = {
708
+ /** This property defines witch icon to use */
709
+ name: AcceptedIconNames;
710
+ /** Property indicating the color of the icon. Defaults to primary */
711
+ color?: AcceptedColorComponentTypes | string;
712
+ /** Property indicating the size of the icon. Defaults to 16 */
713
+ size?: number;
714
+ /** Callback fired when the `span` is clicked. */
715
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
716
+ /** Property indicating the color's variant of the icon. */
717
+ variant?: typeof colorShades[number];
718
+ };
719
+ declare const Icon: React.ForwardRefExoticComponent<OwnProps & TestProps$1 & React.RefAttributes<HTMLSpanElement>>;
720
+
721
+ declare const IconButton: React__default.ForwardRefExoticComponent<Omit<Props$B, "isIconButton" | "iconRight" | "iconLeft"> & {
722
+ /** Property indicating the size of the icon. Defaults to 16 */
723
+ iconSize?: number | undefined;
724
+ /** This property defines witch icon to use */
725
+ name: AcceptedIconNames;
726
+ } & TestProps$1 & EventProps & React__default.RefAttributes<HTMLButtonElement>>;
727
+
728
+ declare type Props$k = {
729
+ /** If the label has error */
730
+ error?: boolean;
731
+ /** The label that is going to be displayed */
732
+ label: string;
733
+ /** If the label value is required */
734
+ required: boolean;
735
+ /** If the label must be moved to the top */
736
+ animateToTop?: boolean;
737
+ htmlFor?: string;
738
+ size?: string;
739
+ };
740
+ declare const Label: React.FC<Props$k>;
741
+
742
+ declare type ListItemType = string | number | SelectOption$1 | FilterOption$1 | React__default.ReactNode;
743
+ declare type ListRowSize = 'small' | 'normal';
744
+ declare type SelectHandlerType = ((option: string) => void) | ((option: number) => void) | ((option: SelectOption$1) => void) | ((option: FilterOption$1) => void);
745
+
746
+ declare const _default$1: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
747
+ /** Data for the list */
748
+ data: ListItemType[];
749
+ /** Size of the list's row (height of ListItem Component) */
750
+ rowSize: ListRowSize;
751
+ /** Width of the list */
752
+ width?: number | undefined;
753
+ /** Height of the list */
754
+ height?: number | undefined;
755
+ /** Virtualized list option */
756
+ isVirtualized?: boolean | undefined;
757
+ /** Selected Item */
758
+ selectedItem?: ListItemType;
759
+ /** Default option. Renders on top of the list, highlighted - for Filter component */
760
+ defaultOption?: ListItemType;
761
+ /** Search Term to be highlighted in list items */
762
+ searchTerm?: string | undefined;
763
+ /** Option Click handler for SelectOption[] data case */
764
+ handleOptionClick?: SelectHandlerType | undefined;
765
+ /** Defines if this is searchable list or not **/
766
+ isSearchable?: boolean | undefined;
767
+ } & TestProps$2 & React__default.RefAttributes<HTMLDivElement>>>;
768
+
769
+ declare const loaderTypes: readonly ["dots", "indeterminate", "spinner"];
770
+
771
+ declare type LoaderType = typeof loaderTypes[number];
772
+ declare type Props$j = {
773
+ /** Loader type. Defaults to dots **/
774
+ type?: LoaderType;
775
+ /** The data test id if needed */
776
+ dataTestId?: string;
777
+ /** Color of the loader. Define AA color otherwise it gets Primary be default */
778
+ color?: string;
779
+ };
780
+ declare const Loader: React__default.FC<Props$j>;
781
+
782
+ declare type MenuPositionAllowed = 'left' | 'right';
783
+
784
+ declare type Props$i = {
785
+ /** the color of the button based on our colors eg. red-500 */
786
+ color?: string;
787
+ /** Items that are being declared as menu options */
788
+ items?: string[];
789
+ /** This property define the size of the button. Defaults to 'md' */
790
+ size?: 'lg' | 'md' | 'sm';
791
+ /** Property indicating if the component is filled with a color based on the type */
792
+ filled?: boolean;
793
+ /** Returns the items selected on the menu */
794
+ selectedItem?: string | null;
795
+ /** A callback that is being triggered when an items has been clicked */
796
+ onSelect: (option: string) => void;
797
+ /** The text of the button to show - defaults to "More" */
798
+ buttonText: React.ReactNode;
799
+ /** Define if the button is in disabled state */
800
+ disabled?: boolean;
801
+ /** Menu position when open */
802
+ menuPosition?: MenuPositionAllowed;
803
+ /** The type of the button - defaults to "primary" */
804
+ buttonType?: AcceptedColorComponentTypes$1;
805
+ /** The name of the icon on the right area of menu button */
806
+ rightIconName?: AcceptedIconNames;
807
+ /** The name of the icon on the left area of menu button */
808
+ leftIconName?: AcceptedIconNames;
809
+ /** The size of the icon on the menu button */
810
+ iconSize?: number;
811
+ /** You can define the avatar properties here for src or letter if none then the user icon will be displayed if the object is not empty */
812
+ avatar?: {
813
+ src: string;
814
+ letter: string;
815
+ color?: string;
816
+ };
817
+ };
818
+ declare type TestProps = {
819
+ dataTestId?: string;
820
+ };
821
+ declare const Menu: React.FC<Props$i & TestProps & EventProps$1>;
822
+
823
+ declare type Props$h = {
824
+ /** The label of the modal. */
825
+ label?: string;
826
+ /** The heading of the modal. */
827
+ heading: string;
828
+ /** The main messager of the modal. */
829
+ message: string;
830
+ /** The primary call-to-action label of the Modal */
831
+ primaryCTALabel?: string;
832
+ /** The primary call-to-action of the Modal */
833
+ primaryCTA?: () => void;
834
+ /** The secondary call-to-action label of the Modal */
835
+ secondaryCTALabel?: string;
836
+ /** The secondary call-to-action of the Modal */
837
+ secondaryCTA?: () => void;
838
+ /** The data test id if needed */
839
+ dataTestId?: TestId;
840
+ };
841
+
842
+ declare type Props$g = {
843
+ /** If true, the modal is open. Defaults to false. */
844
+ open: boolean;
845
+ /** Callback fired when the component requests to be closed. */
846
+ onClose: () => void;
847
+ /** If contentProps are defined then ModalContent will be used instead of children. Otherwise, you can use the Modal as a wrapper */
848
+ contentProps?: Props$h;
849
+ /** The data test id if needed */
850
+ dataTestId?: TestId;
851
+ /** If true, the modal will close also with esc button. Defaults to true. */
852
+ closeOnEsc?: boolean;
853
+ };
854
+ declare const Modal: React__default.FC<Props$g>;
855
+
856
+ declare type NotificationTypes = 'success' | 'error' | 'info' | 'warning';
857
+ declare type NotificationStyleType = 'elevated' | 'outlined';
858
+
859
+ declare type Props$f = {
860
+ /** Show notification icon based on the type */
861
+ withIcon?: boolean;
862
+ /** The informative message of the Notification */
863
+ message: string | React.ReactNode;
864
+ /** The type of the Notification */
865
+ type: NotificationTypes;
866
+ /** The style type of the Notification. Defaults to elevated */
867
+ styleType?: NotificationStyleType;
868
+ /** The primary call-to-action label of the Notification */
869
+ primaryCTALabel?: string;
870
+ /** The primary call-to-action of the Notification */
871
+ primaryCTA?: () => void;
872
+ /** The closing call-to-action of the Notification */
873
+ closeCTA?: () => void;
874
+ /** The data test id if needed */
875
+ dataTestId?: TestId;
876
+ };
877
+ declare const InlineNotification: React.FC<Props$f>;
878
+
879
+ declare type Positions = 'top-right' | 'top-left' | 'bottom-left' | 'bottom-right';
880
+ declare type Props$e = {
881
+ /** Notifications Container position */
882
+ position: Positions;
883
+ };
884
+ declare const NotificationsContainer: React.FC<Props$e>;
885
+
886
+ declare type Props$d = {
887
+ /** The message heading of the Notification */
888
+ title: string | undefined;
889
+ /** The primary call-to-action label of the Notification */
890
+ primaryCTALabel: string | undefined;
891
+ /** The primary call-to-action of the Notification */
892
+ primaryCTA: (() => void) | undefined;
893
+ /** The secondary call-to-action label of the Notification */
894
+ secondaryCTALabel: string | undefined;
895
+ /** The secondary call-to-action of the Notification */
896
+ secondaryCTA: (() => void) | undefined;
897
+ /** The description of the Notification (only for toast) */
898
+ description: string | undefined;
899
+ /** The data test id if needed */
900
+ dataTestId?: TestId;
901
+ };
902
+ declare const NotificationVisual: React.FC<Props$d>;
903
+
904
+ declare type Props$c = {
905
+ /** Show notification icon based on the type */
906
+ withIcon?: boolean;
907
+ /** The title (message heading) of the Notification */
908
+ title: string;
909
+ /** The informative message of the Notification */
910
+ message: string | React.ReactNode;
911
+ /** The type of the Notification */
912
+ type: NotificationTypes;
913
+ /** The style type of the Notification. Defaults to elevated */
914
+ styleType?: NotificationStyleType;
915
+ /** The primary call-to-action label of the Notification */
916
+ primaryCTALabel?: string;
917
+ /** The primary call-to-action of the Notification */
918
+ primaryCTA?: () => void;
919
+ /** The closing call-to-action of the Notification */
920
+ closeCTA?: () => void;
921
+ /** The data test id if needed */
922
+ dataTestId?: TestId;
923
+ };
924
+ declare const Banner: React.FC<Props$c>;
925
+
926
+ declare type Props$b = {
927
+ /** The informative message of the Toast */
928
+ message: string;
929
+ /** The type of the Notification */
930
+ type: NotificationTypes;
931
+ /** The style type of the Notification. Defaults to elevated */
932
+ styleType?: NotificationStyleType;
933
+ /** The primary call-to-action label of the Notification */
934
+ primaryCTALabel: string | undefined;
935
+ /** The primary call-to-action of the Notification */
936
+ primaryCTA: (() => void) | undefined;
937
+ /** The secondary call-to-action label of the Notification */
938
+ secondaryCTALabel: string | undefined;
939
+ /** The secondary call-to-action of the Notification */
940
+ secondaryCTA: (() => void) | undefined;
941
+ /** The description of the Notification (only for toast) */
942
+ description: string | undefined;
943
+ /** The closing call-to-action of the Toast */
944
+ closeCTA: (() => void) | undefined;
945
+ /** The data test id if needed */
946
+ dataTestId?: TestId;
947
+ };
948
+ declare const Snackbar: React.FC<Props$b>;
949
+
950
+ declare type AnchorType = 'bottom' | 'left' | 'right' | 'top';
951
+ declare type Props$a = {
952
+ /** If true, the overlay is open.*/
953
+ open: boolean;
954
+ /** Callback fired when the component requests to be closed. */
955
+ onClose: () => void;
956
+ /** Side from which the overlay will appear. */
957
+ anchor?: AnchorType;
958
+ /**Based on the anchor, defines the size of the overlay. */
959
+ size: string;
960
+ /** The data test id if needed */
961
+ dataTestId?: TestId$1;
962
+ };
963
+ declare const Overlay: React__default.ForwardRefExoticComponent<Pick<Props$a & DivProps$1, "children" | "onChange" | "color" | "onBlur" | "onClick" | "type" | "autoFocus" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "download" | "encType" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "width" | "wmode" | "wrap" | "key" | keyof Props$a> & React__default.RefAttributes<HTMLDivElement>>;
964
+
965
+ declare type Props$9 = {
966
+ /** The current page you are on if you need to control it, defaults to 1 **/
967
+ page: number;
968
+ /** The total pages **/
969
+ count: number;
970
+ /** An onChange callback that will return the page on navigation **/
971
+ onChange?: (page: number) => void;
972
+ /** Hide the enhanced button functionality, this way the jump to first and last page will be hidden **/
973
+ hideEnhancedPaginationButtons?: boolean;
974
+ /** Manually disable next page buttons **/
975
+ nextPageDisabled?: boolean;
976
+ /** Manually disable previous page buttons **/
977
+ prevPageDisabled?: boolean;
978
+ };
979
+ declare const Pagination: ({ page, count, onChange, hideEnhancedPaginationButtons, nextPageDisabled, prevPageDisabled, }: Props$9) => _emotion_react_jsx_runtime.JSX.Element;
980
+
981
+ declare type Props$8 = {
982
+ /** The value of the radio input. If no value is passed the default value, according to spec, is "on"
983
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#value
984
+ *
985
+ * @default on
986
+ * */
987
+ value?: string | number;
988
+ /** Whether the radio input is selected or not. Defining this prop means the radio input is controlled */
989
+ checked?: boolean;
990
+ /** The onChange event handler for the radio input */
991
+ onChange?: React.ReactEventHandler;
992
+ /** The name of the radio input, in case you want to manually form a radio group */
993
+ name?: string;
994
+ /** Whether the radio input is disabled
995
+ *
996
+ * @default false
997
+ * */
998
+ disabled?: boolean;
999
+ /** ID property of the radio input */
1000
+ id?: string;
1001
+ /** Whether the radio input is required to be selected in the context of a form
1002
+ *
1003
+ * @default false
1004
+ * */
1005
+ required?: boolean;
1006
+ /** Whether the radio input is filled or outlined
1007
+ *
1008
+ * @default true
1009
+ * */
1010
+ filled?: boolean;
1011
+ dataTestId?: TestId;
1012
+ };
1013
+ declare const Radio: React.ForwardRefExoticComponent<Props$8 & React.RefAttributes<HTMLInputElement>>;
1014
+
1015
+ declare type RadioGroupProps = {
1016
+ /** A list of Radio elements */
1017
+ children: React.ReactNode;
1018
+ /** The onChange event handler for the radio group */
1019
+ onChange?: React.ReactEventHandler;
1020
+ /** The current value of the radio group. Defining this prop means the radio group is controlled */
1021
+ value?: string | number;
1022
+ /** A default value for the radio group. Defining this prop means the radio group is not controlled */
1023
+ defaultValue?: string | number;
1024
+ /** A name value for all the radio inputs of the radio group */
1025
+ name?: string;
1026
+ };
1027
+ declare function RadioGroup(props: RadioGroupProps): _emotion_react_jsx_runtime.JSX.Element;
1028
+
1029
+ declare const textInputSizes: readonly ["md", "sm"];
1030
+
1031
+ declare type Props$7 = {
1032
+ /** The label of the text field that will be used as a placeholder and a label */
1033
+ label?: string;
1034
+ /** The placeholder of the input that will be used. This is shown if no label exists */
1035
+ placeholder?: string;
1036
+ /** An optional icon to show to the left */
1037
+ leftIcon?: AcceptedIconNames$1 | JSX.Element | null;
1038
+ /** An optional icon to show to the right */
1039
+ rightIcon?: AcceptedIconNames$1 | JSX.Element | null;
1040
+ /** If the text field value is required */
1041
+ required?: boolean;
1042
+ /** If the text field is disabled */
1043
+ disabled?: boolean;
1044
+ /** If the text field is locked. Locked state is unique to this and the system */
1045
+ locked?: boolean;
1046
+ /** dark mode of the text field */
1047
+ dark?: boolean;
1048
+ /** Error message */
1049
+ hintMsg?: React__default.ReactNode | string;
1050
+ /** value of the input */
1051
+ value?: string | number;
1052
+ /** if the input will be without default style for use inside the library */
1053
+ lean?: boolean;
1054
+ /** Style of input field */
1055
+ styleType?: formFieldStyles$1;
1056
+ /** Sets the size of the textField */
1057
+ size?: typeof textInputSizes[number];
1058
+ /** The status of the button regarding the status which is in - default normal */
1059
+ status?: 'success' | 'normal' | 'hint' | 'error';
1060
+ /** If the field is used as a Search component */
1061
+ isSearch?: boolean;
1062
+ /** If the field is used as a TextArea component */
1063
+ isTextArea?: boolean;
1064
+ };
1065
+
1066
+ declare type SelectOption = {
1067
+ value: string | number;
1068
+ label: string;
1069
+ isDisabled?: boolean;
1070
+ tooltipInfo?: string;
1071
+ options?: SelectOption[];
1072
+ };
1073
+ declare const Select: React__default.ForwardRefExoticComponent<{
1074
+ /** The function that is used to return the selected options */
1075
+ handleSelectedOption?: ((selectedOption: SelectOption) => void) | undefined;
1076
+ /** the default value of the select if needed */
1077
+ /** TODO: defaultValue is duplication of selectedOption*/
1078
+ defaultValue?: SelectOption | undefined;
1079
+ /** the value of the select if select is controlled */
1080
+ selectedOption?: SelectOption | undefined;
1081
+ /** if the select has tags */
1082
+ multi?: boolean | undefined;
1083
+ /** Options for the select dropdown */
1084
+ options: SelectOption[];
1085
+ /** if the component is used asynchronously */
1086
+ isAsync?: boolean | undefined;
1087
+ /** the function to fetch new options */
1088
+ asyncSearch?: ((term: string) => void) | undefined;
1089
+ /** after how many characters to start searching (default = 0) */
1090
+ minCharactersToSearch?: number | undefined;
1091
+ /** if searched text should be highlighted in available options */
1092
+ highlightSearch?: boolean | undefined;
1093
+ /** if the options are searchable */
1094
+ isSearchable?: boolean | undefined;
1095
+ /** data-testid suffix */
1096
+ dataTestId?: string | undefined;
1097
+ /** if component is loading */
1098
+ isLoading?: boolean | undefined;
1099
+ /** if options list is virtualized */
1100
+ isVirtualized?: boolean | undefined;
1101
+ } & {
1102
+ id?: string | undefined;
1103
+ onBlur?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1104
+ onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1105
+ onFocus?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1106
+ onKeyDown?: React__default.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1107
+ onInput?: ((event: any) => void) | undefined;
1108
+ } & Props$7 & Partial<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size">> & TestProps$1 & React__default.RefAttributes<HTMLInputElement>>;
1109
+
1110
+ declare type TooltipSize = 'large' | 'medium' | 'small';
1111
+ declare type TooltipPlacement = 'top' | 'right' | 'bottom' | 'left';
1112
+ declare type Props$6 = {
1113
+ /** The plain text to show inside the tooltip */
1114
+ content: React__default.ReactNode;
1115
+ /** The placement where the tooltip will show */
1116
+ /** @default top */
1117
+ placement?: TooltipPlacement;
1118
+ /** Whether the tooltip is transparent or not - for cases
1119
+ * where the content is a custom component
1120
+ */
1121
+ /** @default false */
1122
+ isTransparent?: boolean;
1123
+ /** The unique id in order to link content and tooltip */
1124
+ /** @default uuid */
1125
+ id?: string;
1126
+ /** The size of the tooltip to define different style */
1127
+ /** @default medium */
1128
+ size?: TooltipSize;
1129
+ /** Determines if the tooltip is interactive, i.e. it can be
1130
+ * hovered over or clicked without hiding */
1131
+ /** @default false */
1132
+ interactive?: boolean;
1133
+ /** Number in ms to debounce the internal onMouseMove handler
1134
+ * which determines when an interactive tooltip should hide. */
1135
+ /** @default 100 */
1136
+ delay?: number;
1137
+ children: React__default.ReactElement;
1138
+ };
1139
+ declare const Tooltip: React__default.FC<Props$6>;
1140
+
1141
+ declare type SortingOrder = 'asc' | 'desc';
1142
+ declare type ExtendedColumn = {
1143
+ content: {
1144
+ label: string;
1145
+ sortingKey: string;
1146
+ };
1147
+ tooltip?: {
1148
+ content: string;
1149
+ placement?: TooltipPlacement;
1150
+ };
1151
+ isSortable?: boolean;
1152
+ };
1153
+ declare type Sort = {
1154
+ column: string;
1155
+ order: SortingOrder;
1156
+ };
1157
+
1158
+ declare type ContentComponent<T> = (data: Cell<T>) => React__default.Component | JSX.Element;
1159
+ declare type Cell<T> = {
1160
+ content: number | string | ContentComponent<T>;
1161
+ tooltipContent?: string;
1162
+ hasTruncatedTooltip?: boolean;
1163
+ colSpan?: number;
1164
+ type?: 'financial' | 'normal';
1165
+ align?: 'left' | 'right';
1166
+ widthPercentage?: number;
1167
+ };
1168
+ declare type Row<T> = {
1169
+ id: string | number;
1170
+ cells: Cell<T>[];
1171
+ expanded?: ({ row, selected, expanded, }: {
1172
+ row: Row<T>;
1173
+ selected: boolean;
1174
+ expanded: boolean;
1175
+ }) => React__default.Component | JSX.Element;
1176
+ rowSpan?: number;
1177
+ };
1178
+ declare type Selection = string | number;
1179
+ declare type TableType = 'normal' | 'nested-header';
1180
+ declare type Props$5<T> = {
1181
+ /** The data for the table that needs to display. */
1182
+ data: Row<T>[];
1183
+ /** An array of titles or objects to define columns. */
1184
+ columns: (string | ExtendedColumn)[];
1185
+ /** Boolean defining if the header is fixed or not. */
1186
+ fixedHeader?: boolean;
1187
+ /** Boolean defining if the CTA's container is fixed or not. */
1188
+ fixedCTA?: boolean;
1189
+ /** Type of the table which determine the headers display. */
1190
+ type?: TableType;
1191
+ /** Boolean defining the padding all over the table cells and rows. */
1192
+ padded?: boolean;
1193
+ /** Function that once provided on each check will return the selection. */
1194
+ onCheck?: (data: Selection[]) => void;
1195
+ /** Function that once provided will provide the currently selected sorting configuration */
1196
+ onSort?: (column: string, order: SortingOrder) => void;
1197
+ /** Initial sorting column and order. Should be provided along with onSort */
1198
+ initialSort?: Sort;
1199
+ /** If provided sort will only work with this option (asc or desc only). By default supports bidirectional sort*/
1200
+ sortDir?: SortingOrder;
1201
+ /** Top left text on the table - showing a counter, text etc. */
1202
+ topLeftText?: string | JSX.Element;
1203
+ /** Top right area to define a custom component for buttons or other usage. */
1204
+ topRightArea?: (data: Row<T>[], selectionData?: Selection[]) => React__default.Component | JSX.Element;
1205
+ /** Action cell width for Table with Expandable Rows (in %)*/
1206
+ actionWidth?: number;
1207
+ /** Data test id prefix for all th/td elements */
1208
+ dataTestIdPrefix?: string;
1209
+ };
1210
+ declare function Table<T>({ data, columns, type, fixedHeader, fixedCTA, onCheck, padded, onSort, initialSort, sortDir, topLeftText, topRightArea, actionWidth, dataTestIdPrefix, }: Props$5<T>): _emotion_react_jsx_runtime.JSX.Element;
1211
+ declare const _default: React__default.MemoExoticComponent<typeof Table>;
1212
+
1213
+ declare type Props$4 = {
1214
+ /** A callback that's called when the user clicks the 'clear' icon */
1215
+ onClear: () => void;
1216
+ };
1217
+ declare const SearchField: React__default.ForwardRefExoticComponent<Props$4 & {
1218
+ id?: string | undefined;
1219
+ onBlur?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1220
+ onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1221
+ onFocus?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1222
+ onKeyDown?: React__default.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1223
+ onInput?: ((event: any) => void) | undefined;
1224
+ } & components_TextInputBase.Props & TestProps$1 & React__default.RefAttributes<HTMLInputElement>>;
1225
+
1226
+ declare type Props$3 = {
1227
+ /** The id of the text field that will be used as for in label too */
1228
+ id?: string;
1229
+ /** The placeholder of the input that will be used. This is shown if no label exists */
1230
+ placeholder?: string;
1231
+ /** If the text field value is required */
1232
+ required?: boolean;
1233
+ /** If the text field is disabled */
1234
+ disabled?: boolean;
1235
+ /** If the text area can be resized */
1236
+ resizeEnabled?: boolean;
1237
+ /** Style of input field */
1238
+ styleType?: formFieldStyles;
1239
+ /** Error message */
1240
+ hintMsg?: React.ReactNode | string;
1241
+ /** The status of the button regarding the status which is in - default normal */
1242
+ status?: 'success' | 'normal' | 'hint' | 'error';
1243
+ /** Callback fired when the `input` is blurred. */
1244
+ onBlur?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
1245
+ /** Callback fired when the `input` is changed. */
1246
+ onChange?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
1247
+ /** Callback fired when the `input` is focused. */
1248
+ onFocus?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
1249
+ /** Callback fired when the `input` has a key down event. */
1250
+ onKeyDown?: React.KeyboardEventHandler<HTMLTextAreaElement | HTMLInputElement>;
1251
+ /** Callback fired when the `input` value typed is changed */
1252
+ onInput?: React.EventHandler<any>;
1253
+ };
1254
+ declare const TextArea: React.ForwardRefExoticComponent<Props$3 & TestProps$1 & React.RefAttributes<HTMLTextAreaElement>>;
1255
+
1256
+ declare type Props$2 = {
1257
+ /** Theme properties to override or pass theming down to library */
1258
+ theme?: DeepPartial<ThemeConfig>;
1259
+ };
1260
+ declare const ThemeProvider: React__default.FC<Props$2>;
1261
+
1262
+ declare type Props$1 = {
1263
+ /** The informative message of the Toast */
1264
+ message: string;
1265
+ /** The type of the Toast, will determine the color and the icon */
1266
+ type?: AcceptedColorComponentTypes;
1267
+ /** The style type of the Notification. Defaults to elevated */
1268
+ styleType?: NotificationStyleType;
1269
+ /** The closing call-to-action of the Toast */
1270
+ closeCTA: (() => void) | undefined;
1271
+ /** Initialize toast as expanded */
1272
+ expanded?: boolean;
1273
+ /** The data test id if needed */
1274
+ dataTestId?: TestId;
1275
+ };
1276
+ declare const Toast: React.FC<Props$1>;
1277
+
1278
+ declare type UserMenuProps = {
1279
+ items: string[];
1280
+ userName: string;
1281
+ userAvatar: {
1282
+ src: string;
1283
+ letter: string;
1284
+ color?: string;
1285
+ };
1286
+ onSelect: (selectedItem: string) => void;
1287
+ };
1288
+
1289
+ interface TopAppBarProps {
1290
+ /** The placeholder of the search component */
1291
+ searchPlaceholder?: string;
1292
+ /** The defaultValue of the search component */
1293
+ searchDefaultValue?: string;
1294
+ /** Flag indicating that the search is disabled */
1295
+ isSearchDisabled?: boolean;
1296
+ /** Callback to be triggered on onChange event of search component */
1297
+ onSearchHandler?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
1298
+ /** Callback to be triggered on onKeyPress event of search component */
1299
+ onKeyPressHandler?: (event: React__default.KeyboardEvent<HTMLInputElement>) => void;
1300
+ /** Custom product logo */
1301
+ logoIcon?: JSX.Element;
1302
+ /** Handler for opening end closing the Drawer. Burger menu only visible from breakpoint [tab-1024] */
1303
+ onMenuIconClick: () => void;
1304
+ /** Whatever is needed can be placed here. It will be placed on the left side of the user menu */
1305
+ additionalTools?: JSX.Element | JSX.Element[];
1306
+ /** User menu props */
1307
+ userMenu: UserMenuProps;
1308
+ /** Flag indicating the theme mode */
1309
+ dark?: boolean;
1310
+ }
1311
+
1312
+ declare const TopAppBar: FC<TopAppBarProps>;
1313
+
1314
+ declare const useTheme: () => _emotion_react.Theme;
1315
+
1316
+ declare const useEscape: (onEscape: () => void) => void;
1317
+
1318
+ declare const Filter: React__default.ForwardRefExoticComponent<Props$p & React__default.RefAttributes<HTMLButtonElement>>;
1319
+
1320
+ declare type Props = {
1321
+ /** The content of the tooltip */
1322
+ tooltipContent: string | undefined;
1323
+ /** Flag for overriding other settings to always show the tooltip */
1324
+ shouldAlwaysShow?: boolean;
1325
+ /** The placement of the tooltip */
1326
+ placement?: 'top' | 'bottom' | 'right' | 'left';
1327
+ };
1328
+ declare const TruncatedContent: React__default.FC<Props>;
1329
+
1330
+ export { AcceptedColorComponentTypes, Avatar, AvatarStack, Banner, BarChart, Breadcrumb, Button, Card, CheckBox, Chip, DatePicker, DonutChart, Drawer, Elevation, ExpandCollapse, Filter, Icon, IconButton, InlineNotification, Label, LineChart, _default$1 as List, Loader, Menu, Modal, NotificationVisual, NotificationsContainer, Overlay, Overrides, Pagination, Palette, Radio, RadioGroup, SearchField, Select, Snackbar, Spacing, _default as Table, TextArea, TextField, Theme, ThemeProvider, Toast, Tooltip, TopAppBar as TopNavBar, TruncatedContent, Typography, elevation_d as elevation, overrides_d as overrides, palette_d as palette, queriesSizes, spacing_d as spacing, defaultTheme as themeConfig, functions_d as themeFunctions, typography_d as typography, useBreakpoints, useEscape, useTheme };