@orfium/ictinus 4.55.0-next.3 → 4.55.0-next.30

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 (427) hide show
  1. package/dist/index.d.ts +2040 -751
  2. package/dist/index.js +26614 -1
  3. package/dist/index.umd.cjs +150 -0
  4. package/dist/{bundle.css → style.css} +1 -1
  5. package/package.json +104 -101
  6. package/dist/components/Avatar/Avatar.js +0 -1
  7. package/dist/components/Avatar/Avatar.style.js +0 -25
  8. package/dist/components/Avatar/Avatar.tokens.js +0 -1
  9. package/dist/components/Avatar/AvatarStack/AvatarStack.js +0 -1
  10. package/dist/components/Avatar/AvatarStack/AvatarStack.style.js +0 -10
  11. package/dist/components/Avatar/AvatarStack/utils.js +0 -1
  12. package/dist/components/Breadcrumb/Breadcrumb.js +0 -1
  13. package/dist/components/Breadcrumb/Breadcrumb.style.js +0 -13
  14. package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +0 -1
  15. package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.js +0 -7
  16. package/dist/components/Breadcrumb/Separator/Separator.js +0 -1
  17. package/dist/components/Breadcrumb/Separator/Separator.style.js +0 -4
  18. package/dist/components/Button/Button.js +0 -1
  19. package/dist/components/Button/Button.style.js +0 -1
  20. package/dist/components/Button/ButtonLoader/ButtonLoader.js +0 -1
  21. package/dist/components/Button/ButtonLoader/ButtonLoader.style.js +0 -5
  22. package/dist/components/Button/utils.js +0 -1
  23. package/dist/components/ButtonBase/ButtonBase.js +0 -1
  24. package/dist/components/ButtonBase/ButtonBase.style.js +0 -1
  25. package/dist/components/ButtonBase/config.js +0 -1
  26. package/dist/components/ButtonBase/utils.js +0 -1
  27. package/dist/components/Card/Card.js +0 -1
  28. package/dist/components/Card/Card.style.js +0 -7
  29. package/dist/components/Chart/BarChart/BarChart.js +0 -1
  30. package/dist/components/Chart/BarChart/components/CustomLabel/CustomLabel.js +0 -1
  31. package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js +0 -1
  32. package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.js +0 -28
  33. package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js +0 -1
  34. package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js +0 -1
  35. package/dist/components/Chart/BarChart/utils.js +0 -1
  36. package/dist/components/Chart/DonutChart/DonutChart.js +0 -1
  37. package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js +0 -1
  38. package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.js +0 -10
  39. package/dist/components/Chart/LineChart/LineChart.js +0 -1
  40. package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js +0 -1
  41. package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js +0 -1
  42. package/dist/components/Chart/LineChart/components/GradientLine/GradientLine.js +0 -1
  43. package/dist/components/Chart/LineChart/utils.js +0 -1
  44. package/dist/components/Chart/Wrapper.js +0 -1
  45. package/dist/components/CheckBox/CheckBox.js +0 -1
  46. package/dist/components/CheckBox/CheckBox.style.js +0 -73
  47. package/dist/components/Chip/Chip.js +0 -1
  48. package/dist/components/Chip/Chip.style.js +0 -38
  49. package/dist/components/Chip/Chip.types.js +0 -1
  50. package/dist/components/Chip/components/Badge/Badge.js +0 -1
  51. package/dist/components/Chip/components/Badge/Badge.style.js +0 -14
  52. package/dist/components/Chip/utils.js +0 -1
  53. package/dist/components/DatePicker/DatePickInput/DatePickInput.js +0 -1
  54. package/dist/components/DatePicker/DatePickInput/DatePickInput.style.js +0 -3
  55. package/dist/components/DatePicker/DatePicker.js +0 -1
  56. package/dist/components/DatePicker/DatePicker.style.js +0 -7
  57. package/dist/components/DatePicker/Day/Day.js +0 -1
  58. package/dist/components/DatePicker/Day/Day.style.js +0 -35
  59. package/dist/components/DatePicker/Month/Month.js +0 -1
  60. package/dist/components/DatePicker/Month/Month.style.js +0 -17
  61. package/dist/components/DatePicker/Month/Month.utils.js +0 -1
  62. package/dist/components/DatePicker/OverlayComponent/OverlayComponent.js +0 -1
  63. package/dist/components/DatePicker/OverlayComponent/OverlayComponent.style.js +0 -47
  64. package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js +0 -1
  65. package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js +0 -36
  66. package/dist/components/DatePicker/utils.js +0 -1
  67. package/dist/components/Drawer/Drawer.js +0 -1
  68. package/dist/components/Drawer/Drawer.style.js +0 -13
  69. package/dist/components/Drawer/Navigation/MenuItem/MenuItem.js +0 -1
  70. package/dist/components/Drawer/Navigation/Navigation.js +0 -1
  71. package/dist/components/Drawer/Navigation/Navigation.style.js +0 -99
  72. package/dist/components/ExpandCollapse/ExpandCollapse.js +0 -1
  73. package/dist/components/ExpandCollapse/ExpandCollapse.style.js +0 -6
  74. package/dist/components/ExpandCollapse/useManageContentRef.js +0 -1
  75. package/dist/components/ExpandCollapse/utils.js +0 -1
  76. package/dist/components/Filter/Filter.js +0 -1
  77. package/dist/components/Filter/Filter.style.js +0 -19
  78. package/dist/components/Filter/components/FilterBase/FilterBase.js +0 -1
  79. package/dist/components/Filter/components/Options/Options.js +0 -1
  80. package/dist/components/Filter/components/Options/Options.style.js +0 -7
  81. package/dist/components/Filter/components/SearchInput/SearchInput.js +0 -1
  82. package/dist/components/Filter/components/SearchInput/SearchInput.style.js +0 -23
  83. package/dist/components/Filter/utils.js +0 -1
  84. package/dist/components/Icon/Icon.js +0 -1
  85. package/dist/components/Icon/Icon.style.js +0 -1
  86. package/dist/components/Icon/assets/TVCinema.svg.js +0 -1
  87. package/dist/components/Icon/assets/TVRadio.svg.js +0 -1
  88. package/dist/components/Icon/assets/account.svg.js +0 -1
  89. package/dist/components/Icon/assets/actions.svg.js +0 -1
  90. package/dist/components/Icon/assets/add.svg.js +0 -1
  91. package/dist/components/Icon/assets/alert.svg.js +0 -1
  92. package/dist/components/Icon/assets/analytics.svg.js +0 -1
  93. package/dist/components/Icon/assets/analyticsVideos.svg.js +0 -1
  94. package/dist/components/Icon/assets/ancient-building.svg.js +0 -1
  95. package/dist/components/Icon/assets/arrow-left.svg.js +0 -1
  96. package/dist/components/Icon/assets/arrow-right.svg.js +0 -1
  97. package/dist/components/Icon/assets/artist.svg.js +0 -1
  98. package/dist/components/Icon/assets/asset-matching.svg.js +0 -1
  99. package/dist/components/Icon/assets/asset.svg.js +0 -1
  100. package/dist/components/Icon/assets/auto.svg.js +0 -1
  101. package/dist/components/Icon/assets/broadcast.svg.js +0 -1
  102. package/dist/components/Icon/assets/calendar-empty.svg.js +0 -1
  103. package/dist/components/Icon/assets/calendar-filled.svg.js +0 -1
  104. package/dist/components/Icon/assets/catalog-files.svg.js +0 -1
  105. package/dist/components/Icon/assets/catalog-overview.svg.js +0 -1
  106. package/dist/components/Icon/assets/catalog.svg.js +0 -1
  107. package/dist/components/Icon/assets/chat-bubble.svg.js +0 -1
  108. package/dist/components/Icon/assets/check.svg.js +0 -1
  109. package/dist/components/Icon/assets/checked-list.svg.js +0 -1
  110. package/dist/components/Icon/assets/checkmark.svg.js +0 -1
  111. package/dist/components/Icon/assets/chevron-extra-small-down.svg.js +0 -1
  112. package/dist/components/Icon/assets/chevron-extra-small-left.svg.js +0 -1
  113. package/dist/components/Icon/assets/chevron-extra-small-right.svg.js +0 -1
  114. package/dist/components/Icon/assets/chevron-extra-small-up.svg.js +0 -1
  115. package/dist/components/Icon/assets/chevron-large-down.svg.js +0 -1
  116. package/dist/components/Icon/assets/chevron-large-left.svg.js +0 -1
  117. package/dist/components/Icon/assets/chevron-large-right.svg.js +0 -1
  118. package/dist/components/Icon/assets/chevron-large-up.svg.js +0 -1
  119. package/dist/components/Icon/assets/chevron-small-down.svg.js +0 -1
  120. package/dist/components/Icon/assets/chevron-small-left.svg.js +0 -1
  121. package/dist/components/Icon/assets/chevron-small-right.svg.js +0 -1
  122. package/dist/components/Icon/assets/chevron-small-up.svg.js +0 -1
  123. package/dist/components/Icon/assets/claimList.svg.js +0 -1
  124. package/dist/components/Icon/assets/clock-outlined.svg.js +0 -1
  125. package/dist/components/Icon/assets/clock.svg.js +0 -1
  126. package/dist/components/Icon/assets/close-tag.svg.js +0 -1
  127. package/dist/components/Icon/assets/close.svg.js +0 -1
  128. package/dist/components/Icon/assets/cms-process.svg.js +0 -1
  129. package/dist/components/Icon/assets/composition-v2.svg.js +0 -1
  130. package/dist/components/Icon/assets/composition.svg.js +0 -1
  131. package/dist/components/Icon/assets/concert.svg.js +0 -1
  132. package/dist/components/Icon/assets/confirmed-matches.svg.js +0 -1
  133. package/dist/components/Icon/assets/conflicts.svg.js +0 -1
  134. package/dist/components/Icon/assets/dashboard.svg.js +0 -1
  135. package/dist/components/Icon/assets/dataset.svg.js +0 -1
  136. package/dist/components/Icon/assets/dd-arrow.svg.js +0 -1
  137. package/dist/components/Icon/assets/delete.svg.js +0 -1
  138. package/dist/components/Icon/assets/delivery.svg.js +0 -1
  139. package/dist/components/Icon/assets/details.svg.js +0 -1
  140. package/dist/components/Icon/assets/digitalUse.svg.js +0 -1
  141. package/dist/components/Icon/assets/distribution.svg.js +0 -1
  142. package/dist/components/Icon/assets/dots-vertical.svg.js +0 -1
  143. package/dist/components/Icon/assets/download.svg.js +0 -1
  144. package/dist/components/Icon/assets/duplicate.svg.js +0 -1
  145. package/dist/components/Icon/assets/duplicate2.svg.js +0 -1
  146. package/dist/components/Icon/assets/earnings.svg.js +0 -1
  147. package/dist/components/Icon/assets/earnings2.svg.js +0 -1
  148. package/dist/components/Icon/assets/edit.svg.js +0 -1
  149. package/dist/components/Icon/assets/entities.svg.js +0 -1
  150. package/dist/components/Icon/assets/entity.svg.js +0 -1
  151. package/dist/components/Icon/assets/error.svg.js +0 -1
  152. package/dist/components/Icon/assets/expenses.svg.js +0 -1
  153. package/dist/components/Icon/assets/external-link-v2.svg.js +0 -1
  154. package/dist/components/Icon/assets/external-link.svg.js +0 -1
  155. package/dist/components/Icon/assets/fat-arrow-down.svg.js +0 -1
  156. package/dist/components/Icon/assets/fat-arrow-left.svg.js +0 -1
  157. package/dist/components/Icon/assets/fat-arrow-right.svg.js +0 -1
  158. package/dist/components/Icon/assets/fat-arrow-up.svg.js +0 -1
  159. package/dist/components/Icon/assets/file.svg.js +0 -1
  160. package/dist/components/Icon/assets/financial-chart.svg.js +0 -1
  161. package/dist/components/Icon/assets/generatedReports.svg.js +0 -1
  162. package/dist/components/Icon/assets/generic-file.svg.js +0 -1
  163. package/dist/components/Icon/assets/generic-ordering.svg.js +0 -1
  164. package/dist/components/Icon/assets/global-item.svg.js +0 -1
  165. package/dist/components/Icon/assets/heart-fill.svg.js +0 -1
  166. package/dist/components/Icon/assets/heart-stroke.svg.js +0 -1
  167. package/dist/components/Icon/assets/help.svg.js +0 -1
  168. package/dist/components/Icon/assets/hourglass.svg.js +0 -1
  169. package/dist/components/Icon/assets/iconSelector.js +0 -1
  170. package/dist/components/Icon/assets/income.svg.js +0 -1
  171. package/dist/components/Icon/assets/info-filled.svg.js +0 -1
  172. package/dist/components/Icon/assets/info.svg.js +0 -1
  173. package/dist/components/Icon/assets/issues.svg.js +0 -1
  174. package/dist/components/Icon/assets/keyword.svg.js +0 -1
  175. package/dist/components/Icon/assets/legal-files.svg.js +0 -1
  176. package/dist/components/Icon/assets/linked.svg.js +0 -1
  177. package/dist/components/Icon/assets/lock.svg.js +0 -1
  178. package/dist/components/Icon/assets/mail.svg.js +0 -1
  179. package/dist/components/Icon/assets/manual.svg.js +0 -1
  180. package/dist/components/Icon/assets/menu.svg.js +0 -1
  181. package/dist/components/Icon/assets/microphone.svg.js +0 -1
  182. package/dist/components/Icon/assets/minus.svg.js +0 -1
  183. package/dist/components/Icon/assets/more-options-horizontal.svg.js +0 -1
  184. package/dist/components/Icon/assets/more-options-vertical.svg.js +0 -1
  185. package/dist/components/Icon/assets/music-note.svg.js +0 -1
  186. package/dist/components/Icon/assets/myEarnings.svg.js +0 -1
  187. package/dist/components/Icon/assets/notifications.svg.js +0 -1
  188. package/dist/components/Icon/assets/notifications2.svg.js +0 -1
  189. package/dist/components/Icon/assets/one-way.svg.js +0 -1
  190. package/dist/components/Icon/assets/others.svg.js +0 -1
  191. package/dist/components/Icon/assets/ownership-validation.svg.js +0 -1
  192. package/dist/components/Icon/assets/page-first.svg.js +0 -1
  193. package/dist/components/Icon/assets/page-last.svg.js +0 -1
  194. package/dist/components/Icon/assets/pagination-end.svg.js +0 -1
  195. package/dist/components/Icon/assets/pagination-start.svg.js +0 -1
  196. package/dist/components/Icon/assets/pause.svg.js +0 -1
  197. package/dist/components/Icon/assets/percentage.svg.js +0 -1
  198. package/dist/components/Icon/assets/play-count.svg.js +0 -1
  199. package/dist/components/Icon/assets/plus.svg.js +0 -1
  200. package/dist/components/Icon/assets/policies.svg.js +0 -1
  201. package/dist/components/Icon/assets/process-management.svg.js +0 -1
  202. package/dist/components/Icon/assets/process.svg.js +0 -1
  203. package/dist/components/Icon/assets/processed-logs.svg.js +0 -1
  204. package/dist/components/Icon/assets/proposed.svg.js +0 -1
  205. package/dist/components/Icon/assets/publicPerformance.svg.js +0 -1
  206. package/dist/components/Icon/assets/publisher.svg.js +0 -1
  207. package/dist/components/Icon/assets/record-label-v2.svg.js +0 -1
  208. package/dist/components/Icon/assets/record-label.svg.js +0 -1
  209. package/dist/components/Icon/assets/recording.svg.js +0 -1
  210. package/dist/components/Icon/assets/reference-file.svg.js +0 -1
  211. package/dist/components/Icon/assets/refresh.svg.js +0 -1
  212. package/dist/components/Icon/assets/relations.svg.js +0 -1
  213. package/dist/components/Icon/assets/restart.svg.js +0 -1
  214. package/dist/components/Icon/assets/restore.svg.js +0 -1
  215. package/dist/components/Icon/assets/result.svg.js +0 -1
  216. package/dist/components/Icon/assets/resume.svg.js +0 -1
  217. package/dist/components/Icon/assets/royaltyShares.svg.js +0 -1
  218. package/dist/components/Icon/assets/search-music.svg.js +0 -1
  219. package/dist/components/Icon/assets/search-thunder.svg.js +0 -1
  220. package/dist/components/Icon/assets/search.svg.js +0 -1
  221. package/dist/components/Icon/assets/settings.svg.js +0 -1
  222. package/dist/components/Icon/assets/sight.svg.js +0 -1
  223. package/dist/components/Icon/assets/sort-ascending.svg.js +0 -1
  224. package/dist/components/Icon/assets/sort-descending.svg.js +0 -1
  225. package/dist/components/Icon/assets/stamp.svg.js +0 -1
  226. package/dist/components/Icon/assets/star.svg.js +0 -1
  227. package/dist/components/Icon/assets/statements.svg.js +0 -1
  228. package/dist/components/Icon/assets/success.svg.js +0 -1
  229. package/dist/components/Icon/assets/television.svg.js +0 -1
  230. package/dist/components/Icon/assets/thunder.svg.js +0 -1
  231. package/dist/components/Icon/assets/tic-tac-toe-arrow.svg.js +0 -1
  232. package/dist/components/Icon/assets/time-out.svg.js +0 -1
  233. package/dist/components/Icon/assets/training.svg.js +0 -1
  234. package/dist/components/Icon/assets/triangle-down.svg.js +0 -1
  235. package/dist/components/Icon/assets/triangle-left.svg.js +0 -1
  236. package/dist/components/Icon/assets/triangle-right.svg.js +0 -1
  237. package/dist/components/Icon/assets/triangle-up.svg.js +0 -1
  238. package/dist/components/Icon/assets/trophy.svg.js +0 -1
  239. package/dist/components/Icon/assets/unpaired-v2.svg.js +0 -1
  240. package/dist/components/Icon/assets/unpaired.svg.js +0 -1
  241. package/dist/components/Icon/assets/update.svg.js +0 -1
  242. package/dist/components/Icon/assets/upload.svg.js +0 -1
  243. package/dist/components/Icon/assets/user-avatar.svg.js +0 -1
  244. package/dist/components/Icon/assets/user.svg.js +0 -1
  245. package/dist/components/Icon/assets/userCheck.svg.js +0 -1
  246. package/dist/components/Icon/assets/users.svg.js +0 -1
  247. package/dist/components/Icon/assets/users2.svg.js +0 -1
  248. package/dist/components/Icon/assets/videoConfirmation.svg.js +0 -1
  249. package/dist/components/Icon/assets/view.svg.js +0 -1
  250. package/dist/components/Icon/assets/warning.svg.js +0 -1
  251. package/dist/components/Icon/assets/works.svg.js +0 -1
  252. package/dist/components/Icon/assets/writer.svg.js +0 -1
  253. package/dist/components/Icon/assets/youtube.svg.js +0 -1
  254. package/dist/components/IconButton/IconButton.js +0 -1
  255. package/dist/components/IconButton/IconButton.style.js +0 -1
  256. package/dist/components/Label/Label.js +0 -1
  257. package/dist/components/Label/Label.style.js +0 -17
  258. package/dist/components/List/List.js +0 -1
  259. package/dist/components/List/List.style.js +0 -14
  260. package/dist/components/List/ListItem/ListItem.js +0 -1
  261. package/dist/components/List/ListItem/ListItem.style.js +0 -30
  262. package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.js +0 -1
  263. package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.style.js +0 -16
  264. package/dist/components/List/ListItemGroup/ListItemGroup.js +0 -1
  265. package/dist/components/List/NormalList/NormalList.js +0 -1
  266. package/dist/components/List/VirtualizedList/VirtualizedList.js +0 -1
  267. package/dist/components/List/utils.js +0 -1
  268. package/dist/components/Loader/Loader.js +0 -1
  269. package/dist/components/Loader/Loader.style.js +0 -3
  270. package/dist/components/Loader/Loader.utils.js +0 -1
  271. package/dist/components/Loader/components/DotsLoader/DotsLoader.js +0 -1
  272. package/dist/components/Loader/components/DotsLoader/DotsLoader.style.js +0 -46
  273. package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.js +0 -1
  274. package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.style.js +0 -45
  275. package/dist/components/Loader/components/Spinner/Spinner.js +0 -1
  276. package/dist/components/Loader/components/Spinner/Spinner.style.js +0 -23
  277. package/dist/components/Menu/Menu.js +0 -1
  278. package/dist/components/Menu/Menu.style.js +0 -4
  279. package/dist/components/Modal/Modal.js +0 -1
  280. package/dist/components/Modal/Modal.style.js +0 -32
  281. package/dist/components/Modal/ModalContent/ModalContent.js +0 -1
  282. package/dist/components/Modal/ModalContent/ModalContent.style.js +0 -35
  283. package/dist/components/Notification/Banner/Banner.js +0 -1
  284. package/dist/components/Notification/InlineNotification/InlineNotification.js +0 -1
  285. package/dist/components/Notification/Notification.style.js +0 -24
  286. package/dist/components/Notification/NotificationVisual/NotificationVisual.js +0 -1
  287. package/dist/components/Notification/NotificationVisual/NotificationVisual.style.js +0 -8
  288. package/dist/components/Notification/NotificationsContainer/NotificationsContainer.js +0 -1
  289. package/dist/components/Notification/NotificationsContainer/NotificationsContainer.style.js +0 -36
  290. package/dist/components/Notification/Snackbar/Snackbar.js +0 -1
  291. package/dist/components/Notification/Snackbar/Snackbar.style.js +0 -26
  292. package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.js +0 -1
  293. package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js +0 -28
  294. package/dist/components/Overlay/Overlay.js +0 -1
  295. package/dist/components/Overlay/Overlay.style.js +0 -37
  296. package/dist/components/Pagination/Pagination.js +0 -1
  297. package/dist/components/Radio/Radio.js +0 -1
  298. package/dist/components/Radio/Radio.style.js +0 -88
  299. package/dist/components/RadioGroup/RadioGroup.js +0 -1
  300. package/dist/components/RadioGroup/RadioGroupContext.js +0 -1
  301. package/dist/components/RadioGroup/useRadioGroup.js +0 -1
  302. package/dist/components/SearchField/SearchField.js +0 -1
  303. package/dist/components/Select/Select.js +0 -1
  304. package/dist/components/Select/Select.style.js +0 -13
  305. package/dist/components/Select/components/SelectMenu/SelectMenu.js +0 -1
  306. package/dist/components/Select/components/SelectMenu/SelectMenu.style.js +0 -27
  307. package/dist/components/Slider/Slider.js +0 -1
  308. package/dist/components/Slider/Slider.style.js +0 -14
  309. package/dist/components/Slider/components/SliderMark/SliderMark.js +0 -1
  310. package/dist/components/Slider/components/SliderMark/SliderMark.style.js +0 -62
  311. package/dist/components/Slider/components/SliderThumb/SliderThumb.js +0 -1
  312. package/dist/components/Slider/components/SliderThumb/SliderThumb.style.js +0 -33
  313. package/dist/components/Slider/components/SliderTrack/SliderTrack.js +0 -1
  314. package/dist/components/Slider/components/SliderTrack/SliderTrack.style.js +0 -6
  315. package/dist/components/Switch/Switch.js +0 -1
  316. package/dist/components/Switch/Switch.style.js +0 -34
  317. package/dist/components/Table/Table.js +0 -1
  318. package/dist/components/Table/Table.style.js +0 -1
  319. package/dist/components/Table/TableRowContext.js +0 -1
  320. package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.js +0 -1
  321. package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.js +0 -8
  322. package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.js +0 -1
  323. package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.js +0 -1
  324. package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.js +0 -1
  325. package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.js +0 -1
  326. package/dist/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js +0 -1
  327. package/dist/components/Table/components/TableCell/TableCell.js +0 -1
  328. package/dist/components/Table/components/TableCell/TableCell.style.js +0 -17
  329. package/dist/components/Table/components/TableCell/utils.js +0 -1
  330. package/dist/components/Table/components/TableRow/TableRow.js +0 -1
  331. package/dist/components/Table/components/TableRowWrapper/TableRowWrapper.js +0 -1
  332. package/dist/components/Table/utils/utils.js +0 -1
  333. package/dist/components/TextArea/TextArea.js +0 -1
  334. package/dist/components/TextArea/TextArea.style.js +0 -1
  335. package/dist/components/TextField/TextField.js +0 -1
  336. package/dist/components/TextField/TextField.style.js +0 -9
  337. package/dist/components/TextField/components/commons.js +0 -1
  338. package/dist/components/TextInputBase/TextInputBase.js +0 -1
  339. package/dist/components/TextInputBase/TextInputBase.style.js +0 -1
  340. package/dist/components/TextInputBase/config.js +0 -1
  341. package/dist/components/ThemeProvider/ThemeProvider.js +0 -21
  342. package/dist/components/Toast/Toast.js +0 -1
  343. package/dist/components/Toast/Toast.style.js +0 -35
  344. package/dist/components/Tooltip/Tooltip.js +0 -1
  345. package/dist/components/Tooltip/Tooltip.style.js +0 -21
  346. package/dist/components/TopAppBar/TopAppBar.js +0 -1
  347. package/dist/components/TopAppBar/TopAppBar.style.js +0 -23
  348. package/dist/components/TopAppBar/components/Logo/Logo.style.js +0 -15
  349. package/dist/components/TopAppBar/components/Logo/Logo.wrapper.js +0 -1
  350. package/dist/components/TopAppBar/components/Search/Search.js +0 -1
  351. package/dist/components/TopAppBar/components/Search/Search.style.js +0 -26
  352. package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js +0 -1
  353. package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.js +0 -4
  354. package/dist/components/TopAppBar/components/UserMenu/UserMenu.js +0 -1
  355. package/dist/components/TopAppBar/components/UserMenu/UserMenu.style.js +0 -3
  356. package/dist/components/TruncatedContent/TruncatedContent.js +0 -1
  357. package/dist/components/TruncatedContent/TruncatedContent.style.js +0 -5
  358. package/dist/components/utils/ClickAwayListener/ClickAwayListener.js +0 -1
  359. package/dist/components/utils/DropdownOptions/index.js +0 -15
  360. package/dist/components/utils/PositionInScreen/PositionInScreen.js +0 -1
  361. package/dist/components/utils/PositionInScreen/PositionInScreen.style.js +0 -18
  362. package/dist/components/utils/handleSearch.js +0 -1
  363. package/dist/hooks/useBreakpoints.js +0 -1
  364. package/dist/hooks/useCombinedRefs.js +0 -1
  365. package/dist/hooks/useEscape.js +0 -1
  366. package/dist/hooks/useLoading.js +0 -1
  367. package/dist/hooks/useLocationToGetCurrentMenuItem.js +0 -1
  368. package/dist/hooks/usePagination.js +0 -1
  369. package/dist/hooks/useTheme.js +0 -1
  370. package/dist/hooks/useThemeSwitch.js +0 -1
  371. package/dist/hooks/useToggle.js +0 -1
  372. package/dist/hooks/useTypeColorToColorMatch.js +0 -1
  373. package/dist/theme/functions.js +0 -52
  374. package/dist/theme/globals/borderRadius.js +0 -1
  375. package/dist/theme/globals/borderWidth.js +0 -1
  376. package/dist/theme/globals/boxShadow.js +0 -1
  377. package/dist/theme/globals/colors.js +0 -1
  378. package/dist/theme/globals/constants/borderRadius.js +0 -1
  379. package/dist/theme/globals/constants/borderWidth.js +0 -1
  380. package/dist/theme/globals/constants/boxShadow.js +0 -1
  381. package/dist/theme/globals/constants/fontFamily.js +0 -1
  382. package/dist/theme/globals/constants/fontSize.js +0 -1
  383. package/dist/theme/globals/constants/fontWeight.js +0 -1
  384. package/dist/theme/globals/constants/letterSpacing.js +0 -1
  385. package/dist/theme/globals/constants/lineHeight.js +0 -1
  386. package/dist/theme/globals/constants/opacity.js +0 -1
  387. package/dist/theme/globals/constants/sizing.js +0 -1
  388. package/dist/theme/globals/constants/spacing.js +0 -1
  389. package/dist/theme/globals/constants/textCase.js +0 -1
  390. package/dist/theme/globals/constants/textDecoration.js +0 -1
  391. package/dist/theme/globals/elevation.js +0 -1
  392. package/dist/theme/globals/index.js +0 -1
  393. package/dist/theme/globals/opacity.js +0 -1
  394. package/dist/theme/globals/sizing.js +0 -1
  395. package/dist/theme/globals/spacing.js +0 -1
  396. package/dist/theme/globals/typography.js +0 -1
  397. package/dist/theme/index.js +0 -1
  398. package/dist/theme/overrides.js +0 -1
  399. package/dist/theme/palette.config.js +0 -1
  400. package/dist/theme/palette.js +0 -1
  401. package/dist/theme/states/disabled.js +0 -1
  402. package/dist/theme/states/focus.js +0 -1
  403. package/dist/theme/states/hover.js +0 -1
  404. package/dist/theme/states/pressed.js +0 -1
  405. package/dist/theme/states/statesConfig.js +0 -1
  406. package/dist/theme/states/utils.js +0 -1
  407. package/dist/theme/tokens/index.js +0 -1
  408. package/dist/theme/tokens/semantic/backdrop.js +0 -1
  409. package/dist/theme/tokens/semantic/backgroundColor.js +0 -1
  410. package/dist/theme/tokens/semantic/borderColor.js +0 -1
  411. package/dist/theme/tokens/semantic/disabledState.js +0 -1
  412. package/dist/theme/tokens/semantic/index.js +0 -1
  413. package/dist/theme/tokens/semantic/palette.js +0 -1
  414. package/dist/theme/tokens/semantic/textColor.js +0 -1
  415. package/dist/theme/tokens/semantic/variables/backdrop.js +0 -1
  416. package/dist/theme/tokens/semantic/variables/backgroundColor.js +0 -1
  417. package/dist/theme/tokens/semantic/variables/borderColor.js +0 -1
  418. package/dist/theme/tokens/semantic/variables/disabledState.js +0 -1
  419. package/dist/theme/tokens/semantic/variables/palette.js +0 -1
  420. package/dist/theme/tokens/semantic/variables/textColor.js +0 -1
  421. package/dist/theme/tokens/utils.js +0 -1
  422. package/dist/theme/utils.js +0 -1
  423. package/dist/utils/date.js +0 -1
  424. package/dist/utils/errors.js +0 -1
  425. package/dist/utils/helpers.js +0 -1
  426. package/dist/utils/size-utils.js +0 -1
  427. package/dist/utils/themeFunctions.js +0 -1
package/dist/index.d.ts CHANGED
@@ -1,43 +1,56 @@
1
+ /// <reference types="react" />
1
2
  export { rem } from 'polished';
2
3
  import * as react_media from 'react-media';
3
- import * as _emotion_react from '@emotion/react';
4
- import * as React from 'react';
5
- import React__default, { ButtonHTMLAttributes, MouseEvent as MouseEvent$1, ChangeEvent, InputHTMLAttributes, ReactNode, FC } from 'react';
4
+ import * as _emotion_utils from '@emotion/utils';
5
+ import * as React$1 from 'react';
6
+ import React__default, { ButtonHTMLAttributes, MouseEvent, ChangeEvent, InputHTMLAttributes, Key, FC, FCC, ReactNode } from 'react';
7
+ import * as utils_types from 'utils/types';
6
8
  import { TestProps as TestProps$1, TestId as TestId$1 } from 'utils/types';
7
- import { ClickHandler } from 'hooks/useLoading';
8
- import { CommonButtonProps as CommonButtonProps$1, EventProps as EventProps$1 } from 'utils/common';
9
+ import { LinkProps } from 'components/Link/Link.types';
9
10
  import * as _emotion_serialize from '@emotion/serialize';
10
11
  import { CSSObject } from '@emotion/serialize';
12
+ import { ButtonTypes as ButtonTypes$1, PrimitiveButtonTypes } from 'components/Button/Button.types';
13
+ import { IconButtonShape as IconButtonShape$1 } from 'components/IconButton';
14
+ import { ButtonBaseProps as ButtonBaseProps$1 } from 'components/ButtonBase/ButtonBase';
15
+ import { CommonButtonProps as CommonButtonProps$1, EventProps } from 'utils/common';
16
+ import { AvatarProps as AvatarProps$1, AvatarColors as AvatarColors$1 } from 'components/Avatar';
17
+ import * as components_Icon from 'components/Icon';
18
+ import { AcceptedIconNames as AcceptedIconNames$1 } from 'components/Icon';
11
19
  import { Elevation as Elevation$1 } from 'index';
12
20
  import { SpacingKey as SpacingKey$1 } from 'theme/globals/spacing';
13
21
  import { Dayjs } from 'utils/date';
14
- import { AcceptedIconNames as AcceptedIconNames$1 } from 'components/Icon/types';
15
- import { TextInputBaseProps } from 'components/TextInputBase';
22
+ import { TextInputBaseProps as TextInputBaseProps$1 } from 'components/TextInputBase';
16
23
  import { LocationState, Location } from 'history';
17
24
  import { match } from 'react-router';
25
+ import { AcceptedIconNames as AcceptedIconNames$2 } from 'components/Icon/types';
18
26
  import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
27
+ import * as prop_types from 'prop-types';
19
28
  import { ReactComponentLike } from 'prop-types';
20
- import { ButtonBaseProps as ButtonBaseProps$1 } from 'components/ButtonBase/ButtonBase';
21
- import { FilterOption as FilterOption$1 } from 'components/Filter/types';
22
- import { SelectOption as SelectOption$1 } from 'components/Select/Select';
23
- import { AcceptedColorComponentTypes as AcceptedColorComponentTypes$1 } from 'utils/themeFunctions';
24
- import { AvatarColors as AvatarColors$1 } from 'components/Avatar';
29
+ import { ComponentSizes as ComponentSizes$1 } from 'types';
30
+ import { AriaListBoxProps, RadioAria, SwitchAria } from 'react-aria';
31
+ import { SelectOption as SelectOption$1 } from 'components/Select';
32
+ import { SectionProps } from '@react-types/shared';
33
+ import * as _emotion_react from '@emotion/react';
34
+ import { CSSObject as CSSObject$1 } from '@emotion/react';
35
+ import { RadioGroupState } from 'react-stately';
36
+ import { LabelConfig as LabelConfig$1 } from 'components/Controls/Controls.types';
37
+ import { TooltipPlacement as TooltipPlacement$1 } from 'components/Tooltip/Tooltip.types';
25
38
  import { TextFieldProps as TextFieldProps$1 } from 'components/TextField/TextField';
26
- import { ThemeConfig, Theme as Theme$1 } from 'theme';
39
+ import { ThemeConfig } from 'theme';
27
40
 
28
41
  declare const queriesKeys: readonly ["des1920", "des1440", "des1366", "des1200", "tab1024", "tab970", "tab750", "mob480", "mob320"];
29
42
  declare const queriesSizes: Record<typeof queriesKeys[number], string>;
30
43
  declare const useBreakpoints: () => react_media.QueryResults<Record<"des1920" | "des1440" | "des1366" | "des1200" | "tab1024" | "tab970" | "tab750" | "mob480" | "mob320", string>>;
31
44
 
32
- declare const grid: _emotion_react.SerializedStyles;
33
- declare const well: _emotion_react.SerializedStyles;
34
- declare const centerAbsoluteVertical: _emotion_react.SerializedStyles;
35
- declare const transition: (s: number, type?: string) => _emotion_react.SerializedStyles;
36
- declare const lineEllipsis: _emotion_react.SerializedStyles;
37
- declare const flex: _emotion_react.SerializedStyles;
38
- declare const flexCenter: _emotion_react.SerializedStyles;
39
- declare const flexCenterVertical: _emotion_react.SerializedStyles;
40
- declare const plainTextButton: _emotion_react.SerializedStyles;
45
+ declare const grid: _emotion_utils.SerializedStyles;
46
+ declare const well: _emotion_utils.SerializedStyles;
47
+ declare const centerAbsoluteVertical: _emotion_utils.SerializedStyles;
48
+ declare const transition: (s: number, type?: string) => _emotion_utils.SerializedStyles;
49
+ declare const lineEllipsis: _emotion_utils.SerializedStyles;
50
+ declare const flex: _emotion_utils.SerializedStyles;
51
+ declare const flexCenter: _emotion_utils.SerializedStyles;
52
+ declare const flexCenterVertical: _emotion_utils.SerializedStyles;
53
+ declare const plainTextButton: _emotion_utils.SerializedStyles;
41
54
 
42
55
  declare const functions_d_centerAbsoluteVertical: typeof centerAbsoluteVertical;
43
56
  declare const functions_d_flex: typeof flex;
@@ -62,7 +75,7 @@ declare namespace functions_d {
62
75
  };
63
76
  }
64
77
 
65
- declare type Elevation = {
78
+ type Elevation = {
66
79
  '01': string;
67
80
  '02': string;
68
81
  '03': string;
@@ -80,61 +93,61 @@ declare namespace elevation_d {
80
93
 
81
94
  declare const spacing$1: {
82
95
  readonly '0': {
83
- readonly value: "0";
96
+ readonly value: "0px";
84
97
  readonly type: "spacing";
85
98
  };
86
99
  readonly '1': {
87
- readonly value: "1";
100
+ readonly value: "1px";
88
101
  readonly type: "spacing";
89
102
  };
90
103
  readonly '2': {
91
- readonly value: "2";
104
+ readonly value: "2px";
92
105
  readonly type: "spacing";
93
106
  };
94
107
  readonly '3': {
95
- readonly value: "4";
108
+ readonly value: "4px";
96
109
  readonly type: "spacing";
97
110
  };
98
111
  readonly '4': {
99
- readonly value: "8";
112
+ readonly value: "8px";
100
113
  readonly type: "spacing";
101
114
  };
102
115
  readonly '5': {
103
- readonly value: "12";
116
+ readonly value: "12px";
104
117
  readonly type: "spacing";
105
118
  };
106
119
  readonly '6': {
107
- readonly value: "16";
120
+ readonly value: "16px";
108
121
  readonly type: "spacing";
109
122
  };
110
123
  readonly '7': {
111
- readonly value: "20";
124
+ readonly value: "20px";
112
125
  readonly type: "spacing";
113
126
  };
114
127
  readonly '8': {
115
- readonly value: "24";
128
+ readonly value: "24px";
116
129
  readonly type: "spacing";
117
130
  };
118
131
  readonly '9': {
119
- readonly value: "32";
132
+ readonly value: "32px";
120
133
  readonly type: "spacing";
121
134
  };
122
135
  readonly '10': {
123
- readonly value: "36";
136
+ readonly value: "36px";
124
137
  readonly type: "spacing";
125
138
  };
126
139
  readonly '11': {
127
- readonly value: "40";
140
+ readonly value: "40px";
128
141
  readonly type: "spacing";
129
142
  };
130
143
  readonly '12': {
131
- readonly value: "44";
144
+ readonly value: "44px";
132
145
  readonly type: "spacing";
133
146
  };
134
147
  };
135
148
 
136
- declare type SpacingKey = keyof typeof spacing$1;
137
- declare type Spacing = {
149
+ type SpacingKey = keyof typeof spacing$1;
150
+ type Spacing = {
138
151
  get: (val: SpacingKey, fn?: (val: string) => unknown) => string;
139
152
  };
140
153
  declare const spacing: Spacing;
@@ -154,48 +167,53 @@ declare const fontFamily: {
154
167
  readonly value: "Roboto";
155
168
  readonly type: "fontFamilies";
156
169
  };
170
+ readonly robotoMono: {
171
+ readonly value: "Roboto Mono";
172
+ readonly type: "fontFamilies";
173
+ readonly description: "alternative font family used for numerical table cells";
174
+ };
157
175
  };
158
176
 
159
177
  declare const fontSize: {
160
178
  readonly '1': {
161
- readonly value: "10";
179
+ readonly value: "10px";
162
180
  readonly type: "fontSizes";
163
181
  readonly description: "smallest possible body size. Used only for avatar initials";
164
182
  };
165
183
  readonly '2': {
166
- readonly value: "12";
184
+ readonly value: "12px";
167
185
  readonly type: "fontSizes";
168
186
  };
169
187
  readonly '3': {
170
- readonly value: "14";
188
+ readonly value: "14px";
171
189
  readonly type: "fontSizes";
172
190
  };
173
191
  readonly '4': {
174
- readonly value: "16";
192
+ readonly value: "16px";
175
193
  readonly type: "fontSizes";
176
194
  };
177
195
  readonly '5': {
178
- readonly value: "18";
196
+ readonly value: "18px";
179
197
  readonly type: "fontSizes";
180
198
  };
181
199
  readonly '6': {
182
- readonly value: "20";
200
+ readonly value: "20px";
183
201
  readonly type: "fontSizes";
184
202
  };
185
203
  readonly '7': {
186
- readonly value: "22";
204
+ readonly value: "22px";
187
205
  readonly type: "fontSizes";
188
206
  };
189
207
  readonly '8': {
190
- readonly value: "24";
208
+ readonly value: "24px";
191
209
  readonly type: "fontSizes";
192
210
  };
193
211
  readonly '9': {
194
- readonly value: "28";
212
+ readonly value: "28px";
195
213
  readonly type: "fontSizes";
196
214
  };
197
215
  readonly '10': {
198
- readonly value: "32";
216
+ readonly value: "32px";
199
217
  readonly type: "fontSizes";
200
218
  };
201
219
  };
@@ -204,85 +222,83 @@ declare const fontWeight: {
204
222
  readonly regular: {
205
223
  readonly value: "400";
206
224
  readonly type: "fontWeights";
225
+ readonly description: "fontWeight=Regular";
207
226
  };
208
227
  readonly medium: {
209
228
  readonly value: "500";
210
229
  readonly type: "fontWeights";
211
- };
212
- readonly semiBold: {
213
- readonly value: "600";
214
- readonly type: "fontWeights";
230
+ readonly description: "FontWeight=Medium";
215
231
  };
216
232
  readonly bold: {
217
233
  readonly value: "700";
218
234
  readonly type: "fontWeights";
235
+ readonly description: "FontWeight=Bold";
219
236
  };
220
237
  };
221
238
 
222
239
  declare const letterSpacing: {
223
240
  readonly '0': {
224
- readonly value: "0";
241
+ readonly value: "0px";
225
242
  readonly type: "letterSpacing";
226
243
  };
227
244
  readonly '1': {
228
- readonly value: "0.1";
245
+ readonly value: "0.1px";
229
246
  readonly type: "letterSpacing";
230
247
  };
231
248
  readonly '2': {
232
- readonly value: ".25";
249
+ readonly value: "0.25px";
233
250
  readonly type: "letterSpacing";
234
251
  };
235
252
  readonly '3': {
236
- readonly value: ".5";
253
+ readonly value: "0.5px";
237
254
  readonly type: "letterSpacing";
238
255
  };
239
256
  };
240
257
 
241
258
  declare const lineHeight: {
242
259
  readonly '1': {
243
- readonly value: "14";
260
+ readonly value: "14px";
244
261
  readonly type: "lineHeights";
245
262
  readonly description: "For form field labels only";
246
263
  };
247
264
  readonly '2': {
248
- readonly value: "16";
265
+ readonly value: "16px";
249
266
  readonly type: "lineHeights";
250
- readonly description: "For input fields only (Form Fields & Tables)";
251
267
  };
252
268
  readonly '3': {
253
269
  readonly value: "18px";
254
270
  readonly type: "lineHeights";
255
271
  };
256
272
  readonly '4': {
257
- readonly value: "20";
273
+ readonly value: "20px";
258
274
  readonly type: "lineHeights";
259
275
  };
260
276
  readonly '5': {
261
- readonly value: "22";
277
+ readonly value: "22px";
262
278
  readonly type: "lineHeights";
263
279
  };
264
280
  readonly '6': {
265
- readonly value: "24";
281
+ readonly value: "24px";
266
282
  readonly type: "lineHeights";
267
283
  };
268
284
  readonly '7': {
269
- readonly value: "28";
285
+ readonly value: "28px";
270
286
  readonly type: "lineHeights";
271
287
  };
272
288
  readonly '8': {
273
- readonly value: "32";
289
+ readonly value: "32px";
274
290
  readonly type: "lineHeights";
275
291
  };
276
292
  readonly '9': {
277
- readonly value: "36";
293
+ readonly value: "36px";
278
294
  readonly type: "lineHeights";
279
295
  };
280
296
  readonly '10': {
281
- readonly value: "40";
297
+ readonly value: "40px";
282
298
  readonly type: "lineHeights";
283
299
  };
284
300
  readonly '11': {
285
- readonly value: "48";
301
+ readonly value: "48px";
286
302
  readonly type: "lineHeights";
287
303
  };
288
304
  };
@@ -310,14 +326,14 @@ declare const textDecoration: {
310
326
  };
311
327
  };
312
328
 
313
- declare type FontSizeKey = keyof typeof fontSize;
314
- declare type FontWeightKey = keyof typeof fontWeight;
315
- declare type FontFamilyKey = keyof typeof fontFamily;
316
- declare type LineHeightKey = keyof typeof lineHeight;
317
- declare type LetterSpacingKey = keyof typeof letterSpacing;
318
- declare type TextCaseKey = keyof typeof textCase;
319
- declare type TextDecorationKey = keyof typeof textDecoration;
320
- declare type FontSize = {
329
+ type FontSizeKey = keyof typeof fontSize;
330
+ type FontWeightKey = keyof typeof fontWeight;
331
+ type FontFamilyKey = keyof typeof fontFamily;
332
+ type LineHeightKey = keyof typeof lineHeight;
333
+ type LetterSpacingKey = keyof typeof letterSpacing;
334
+ type TextCaseKey = keyof typeof textCase;
335
+ type TextDecorationKey = keyof typeof textDecoration;
336
+ type FontSize = {
321
337
  get: (val: FontSizeKey, fn?: (val: string) => unknown) => string;
322
338
  /** @TODO remove this custom font-sizes*/
323
339
  '8': string;
@@ -325,36 +341,36 @@ declare type FontSize = {
325
341
  '13': string;
326
342
  '15': string;
327
343
  };
328
- declare type FontWeight = {
344
+ type FontWeight = {
329
345
  get: (val: FontWeightKey, fn?: (val: string) => unknown) => number;
330
346
  };
331
- declare type FontFamily = {
347
+ type FontFamily = {
332
348
  get: (val: FontFamilyKey, fn?: (val: string) => unknown) => string;
333
349
  };
334
- declare type LineHeight = {
350
+ type LineHeight = {
335
351
  get: (val: LineHeightKey, fn?: (val: string) => unknown) => string;
336
352
  };
337
- declare type LetterSpacing = {
353
+ type LetterSpacing = {
338
354
  get: (val: LetterSpacingKey, fn?: (val: string) => unknown) => string;
339
355
  };
340
- declare type TextCase = {
356
+ type TextCase = {
341
357
  get: (val: TextCaseKey, fn?: (val: string) => unknown) => string;
342
358
  };
343
- declare type TextDecoration = {
359
+ type TextDecoration = {
344
360
  get: (val: TextDecorationKey, fn?: (val: string) => unknown) => string;
345
361
  };
346
- declare type Typography = {
362
+ type Typography = {
347
363
  globalFontSize: number;
348
- fontSizes: FontSize;
349
- weights: FontWeight;
350
- fontFamilies: FontFamily;
351
- fontFamily: string;
352
- lineHeights: LineHeight;
353
- letterSpacings: LetterSpacing;
354
- textCases: TextCase;
355
- textDecorations: TextDecoration;
364
+ fontSize: FontSize;
365
+ fontWeight: FontWeight;
366
+ fontFamily: FontFamily;
367
+ defaultFontFamily: string;
368
+ lineHeight: LineHeight;
369
+ letterSpacing: LetterSpacing;
370
+ textCase: TextCase;
371
+ textDecoration: TextDecoration;
356
372
  };
357
- declare const typography: Typography;
373
+ declare const typography$1: Typography;
358
374
 
359
375
  type typography_d_FontFamily = FontFamily;
360
376
  type typography_d_FontFamilyKey = FontFamilyKey;
@@ -388,11 +404,11 @@ declare namespace typography_d {
388
404
  typography_d_TextDecoration as TextDecoration,
389
405
  typography_d_TextDecorationKey as TextDecorationKey,
390
406
  typography_d_Typography as Typography,
391
- typography as default,
407
+ typography$1 as default,
392
408
  };
393
409
  }
394
410
 
395
- declare type Overrides = Record<string, any>;
411
+ type Overrides = Record<string, any>;
396
412
  declare const overrides: Overrides;
397
413
 
398
414
  type overrides_d_Overrides = Overrides;
@@ -405,7 +421,7 @@ declare namespace overrides_d {
405
421
 
406
422
  declare const borderRadius: {
407
423
  readonly '0': {
408
- readonly value: "0px";
424
+ readonly value: "0 px";
409
425
  readonly type: "borderRadius";
410
426
  readonly description: "Corner radius = 0px";
411
427
  };
@@ -446,8 +462,8 @@ declare const borderRadius: {
446
462
  };
447
463
  };
448
464
 
449
- declare type BorderRadiusKey = keyof typeof borderRadius;
450
- declare type BorderRadius = {
465
+ type BorderRadiusKey = keyof typeof borderRadius;
466
+ type BorderRadius = {
451
467
  get: (val: BorderRadiusKey, fn?: (val: string) => unknown) => string;
452
468
  };
453
469
 
@@ -460,21 +476,26 @@ declare const borderWidth: {
460
476
  readonly '2': {
461
477
  readonly value: "2px";
462
478
  readonly type: "borderWidth";
479
+ readonly description: "Default 2pxs stroke";
480
+ };
481
+ readonly '3': {
482
+ readonly value: "4px";
483
+ readonly type: "borderWidth";
463
484
  };
464
485
  };
465
486
 
466
- declare type BorderWidthKey = keyof typeof borderWidth;
467
- declare type BorderWidth = {
487
+ type BorderWidthKey = keyof typeof borderWidth;
488
+ type BorderWidth = {
468
489
  get: (val: BorderWidthKey, fn?: (val: string) => unknown) => string;
469
490
  };
470
491
 
471
492
  declare const boxShadow: {
472
493
  readonly '0': {
473
494
  readonly value: {
474
- readonly x: "0";
475
- readonly y: "0";
476
- readonly blur: "0";
477
- readonly spread: "0";
495
+ readonly x: "0px";
496
+ readonly y: "0px";
497
+ readonly blur: "0px";
498
+ readonly spread: "0px";
478
499
  readonly color: "#";
479
500
  readonly type: "innerShadow";
480
501
  };
@@ -482,10 +503,10 @@ declare const boxShadow: {
482
503
  };
483
504
  readonly '1': {
484
505
  readonly value: {
485
- readonly x: "0";
486
- readonly y: "2";
487
- readonly blur: "5";
488
- readonly spread: "0";
506
+ readonly x: "0px";
507
+ readonly y: "2px";
508
+ readonly blur: "5px";
509
+ readonly spread: "0px";
489
510
  readonly color: "#10306612";
490
511
  readonly type: "dropShadow";
491
512
  };
@@ -504,33 +525,321 @@ declare const boxShadow: {
504
525
  };
505
526
  readonly '3': {
506
527
  readonly value: {
528
+ readonly x: "0px";
529
+ readonly y: "8px";
530
+ readonly blur: "16px";
531
+ readonly spread: "0px";
507
532
  readonly color: "#10306612";
508
533
  readonly type: "dropShadow";
509
- readonly x: "0";
510
- readonly y: "8";
511
- readonly blur: "16";
512
- readonly spread: "0";
513
534
  };
514
535
  readonly type: "boxShadow";
515
536
  };
516
537
  readonly '4': {
517
538
  readonly value: {
539
+ readonly x: "0px";
540
+ readonly y: "16px";
541
+ readonly blur: "24px";
542
+ readonly spread: "0px";
518
543
  readonly color: "#10306612";
519
544
  readonly type: "dropShadow";
520
- readonly x: "0";
521
- readonly y: "16";
522
- readonly blur: "24";
523
- readonly spread: "0";
524
545
  };
525
546
  readonly type: "boxShadow";
526
547
  };
548
+ readonly '5': {
549
+ readonly value: {
550
+ readonly x: "0px";
551
+ readonly y: "-2px";
552
+ readonly blur: "5px";
553
+ readonly spread: "0px";
554
+ readonly color: "#10306612";
555
+ readonly type: "dropShadow";
556
+ };
557
+ readonly type: "boxShadow";
558
+ readonly description: "boxShadow used for sticky/fixed components (only token where y is negative)";
559
+ };
527
560
  };
528
561
 
529
- declare type BoxShadowKey = keyof typeof boxShadow;
530
- declare type BoxShadow = {
562
+ type BoxShadowKey = keyof typeof boxShadow;
563
+ type BoxShadow = {
531
564
  get: (val: BoxShadowKey, fn?: (val: string) => unknown) => string;
532
565
  };
533
566
 
567
+ declare const colors$1: {
568
+ readonly gradient: {
569
+ readonly '1': {
570
+ readonly value: "linear-gradient(-90deg, #F814A1 0%, #4945EE 100%)";
571
+ readonly type: "color";
572
+ };
573
+ readonly '2': {
574
+ readonly value: "linear-gradient(90deg, #B9CDFC 0%, #B9C0FF 100%)";
575
+ readonly type: "color";
576
+ };
577
+ readonly '3': {
578
+ readonly value: "linear-gradient(-90deg, #1B214F 0%, #020D25 100%)";
579
+ readonly type: "color";
580
+ };
581
+ };
582
+ readonly orange: {
583
+ readonly '1': {
584
+ readonly value: "#FFE6CF";
585
+ readonly type: "color";
586
+ };
587
+ readonly '2': {
588
+ readonly value: "#FFC187";
589
+ readonly type: "color";
590
+ };
591
+ readonly '3': {
592
+ readonly value: "#FCA144";
593
+ readonly type: "color";
594
+ };
595
+ readonly '4': {
596
+ readonly value: "#FA8002";
597
+ readonly type: "color";
598
+ };
599
+ readonly '5': {
600
+ readonly value: "#E37400";
601
+ readonly type: "color";
602
+ };
603
+ };
604
+ readonly red: {
605
+ readonly '1': {
606
+ readonly value: "#FFE7F0";
607
+ readonly type: "color";
608
+ };
609
+ readonly '2': {
610
+ readonly value: "#FFB8D1";
611
+ readonly type: "color";
612
+ };
613
+ readonly '3': {
614
+ readonly value: "#F882AC";
615
+ readonly type: "color";
616
+ };
617
+ readonly '4': {
618
+ readonly value: "#FF176B";
619
+ readonly type: "color";
620
+ readonly description: "AA compliant against white and red.1";
621
+ };
622
+ readonly '5': {
623
+ readonly value: "#CB205D";
624
+ readonly type: "color";
625
+ readonly description: "AA compliant against white and red.1";
626
+ };
627
+ };
628
+ readonly tinted: {
629
+ readonly '1': {
630
+ readonly value: "#ffffff";
631
+ readonly type: "color";
632
+ };
633
+ readonly '2': {
634
+ readonly value: "#F5F5FF";
635
+ readonly type: "color";
636
+ };
637
+ readonly '3': {
638
+ readonly value: "#E7E8FF";
639
+ readonly type: "color";
640
+ };
641
+ readonly '4': {
642
+ readonly value: "#D6D8FF";
643
+ readonly type: "color";
644
+ };
645
+ readonly '5': {
646
+ readonly value: "#B9C0FF";
647
+ readonly type: "color";
648
+ readonly description: "AA compliant against white and tinted.1";
649
+ };
650
+ };
651
+ readonly blue: {
652
+ readonly '1': {
653
+ readonly value: "#e7eefe";
654
+ readonly type: "color";
655
+ };
656
+ readonly '2': {
657
+ readonly value: "#b9cdfc";
658
+ readonly type: "color";
659
+ };
660
+ readonly '3': {
661
+ readonly value: "#175bf5";
662
+ readonly type: "color";
663
+ readonly description: "AA compliant against white and blue.1";
664
+ };
665
+ readonly '4': {
666
+ readonly value: "#1552DD";
667
+ readonly type: "color";
668
+ readonly description: "AA compliant against white and blue.1";
669
+ };
670
+ readonly '5': {
671
+ readonly value: "#1249C4";
672
+ readonly type: "color";
673
+ readonly description: "AA compliant against white and blue.1";
674
+ };
675
+ };
676
+ readonly teal: {
677
+ readonly '1': {
678
+ readonly value: "#d1faf0";
679
+ readonly type: "color";
680
+ };
681
+ readonly '2': {
682
+ readonly value: "#8ef4da";
683
+ readonly type: "color";
684
+ };
685
+ readonly '3': {
686
+ readonly value: "#1de9b6";
687
+ readonly type: "color";
688
+ };
689
+ readonly '4': {
690
+ readonly value: "#00C6A2";
691
+ readonly type: "color";
692
+ };
693
+ readonly '5': {
694
+ readonly value: "#0C7D61";
695
+ readonly type: "color";
696
+ readonly description: "AA compliant against white and teal.1";
697
+ };
698
+ };
699
+ readonly purple: {
700
+ readonly '1': {
701
+ readonly value: "#f3eaff";
702
+ readonly type: "color";
703
+ };
704
+ readonly '2': {
705
+ readonly value: "#dbc1ff";
706
+ readonly type: "color";
707
+ };
708
+ readonly '3': {
709
+ readonly value: "#b784ff";
710
+ readonly type: "color";
711
+ };
712
+ readonly '4': {
713
+ readonly value: "#9347ff";
714
+ readonly type: "color";
715
+ };
716
+ readonly '5': {
717
+ readonly value: "#6c28cc";
718
+ readonly type: "color";
719
+ readonly description: "AA compliant against white and purple.1";
720
+ };
721
+ };
722
+ readonly neutral: {
723
+ readonly '1': {
724
+ readonly value: "#ffffff";
725
+ readonly type: "color";
726
+ };
727
+ readonly '2': {
728
+ readonly value: "#F4F8FF";
729
+ readonly type: "color";
730
+ };
731
+ readonly '3': {
732
+ readonly value: "#686BB3";
733
+ readonly type: "color";
734
+ readonly description: "AA compliant against white";
735
+ };
736
+ readonly '4': {
737
+ readonly value: "#1B214F";
738
+ readonly type: "color";
739
+ };
740
+ readonly '5': {
741
+ readonly value: "#111530";
742
+ readonly type: "color";
743
+ readonly description: "AA compliant against white";
744
+ };
745
+ };
746
+ readonly transparent: {
747
+ readonly default: {
748
+ readonly '1': {
749
+ readonly value: "rgba(84,94,255,0)";
750
+ readonly type: "color";
751
+ };
752
+ readonly '2': {
753
+ readonly value: "rgba(84,94,255,0.06)";
754
+ readonly type: "color";
755
+ };
756
+ readonly '3': {
757
+ readonly value: "rgba(84,94,255,0.14)";
758
+ readonly type: "color";
759
+ };
760
+ readonly '4': {
761
+ readonly value: "rgba(84,94,255,0.24)";
762
+ readonly type: "color";
763
+ };
764
+ readonly '5': {
765
+ readonly value: "rgba(26,30,95,0.40)";
766
+ readonly type: "color";
767
+ readonly description: "AA compliant against white";
768
+ };
769
+ };
770
+ readonly alt: {
771
+ readonly '1': {
772
+ readonly value: "rgba(255,255,255,0)";
773
+ readonly type: "color";
774
+ };
775
+ readonly '2': {
776
+ readonly value: "rgba(255,255,255,0.06)";
777
+ readonly type: "color";
778
+ };
779
+ readonly '3': {
780
+ readonly value: "rgba(255,255,255,0.14)";
781
+ readonly type: "color";
782
+ };
783
+ readonly '4': {
784
+ readonly value: "rgba(255,255,255,0.24)";
785
+ readonly type: "color";
786
+ };
787
+ readonly '5': {
788
+ readonly value: "rgba(255,255,255,0.40)";
789
+ readonly type: "color";
790
+ readonly description: "AA compliant against white";
791
+ };
792
+ };
793
+ };
794
+ };
795
+
796
+ /**
797
+ * This generic type to convert an object to a dot notation string deeply while ignoring `value` properties at the end
798
+ * Key paths of figma tokens objects usually used are declared in the following directories:
799
+ *
800
+ * src/theme/globals/constants/*
801
+ * src/theme/tokens/<theme>/variables/*
802
+ * src/theme/tokens/components/variables/*
803
+ *
804
+ * This is needed for all the getToken callbacks to make sure that
805
+ * all the requested paths return a Token (with value/type/description)
806
+ *
807
+ * @example
808
+ * ```
809
+ * const avatar = {
810
+ * color: {
811
+ * red: {
812
+ * backgroundColor: {
813
+ * value: 'test'
814
+ * }
815
+ * }
816
+ * },
817
+ * size: {
818
+ * 1: {
819
+ * value: 'test'
820
+ * }
821
+ * }
822
+ * } as const;
823
+ *
824
+ * type AvatarKeys = DotKeys<typeof avatar>;
825
+ * ```
826
+ *
827
+ * the above produces
828
+ * ```
829
+ * type AvatarKeys = "color.red.backgroundColor" | "size.1"
830
+ * ```
831
+ */
832
+ type DotKeys<T> = T extends Record<string, unknown> ? {
833
+ [K in keyof T & string]: T[K] extends {
834
+ value: unknown;
835
+ } ? `${K}` : `${K}${DotKeys<T[K]> extends infer S ? (S extends string ? `.${S}` : '') : ''}`;
836
+ }[keyof T & string] | (keyof T extends number ? `${keyof T}` : never) : never;
837
+
838
+ type ColorsKey = DotKeys<typeof colors$1>;
839
+ type Colors = {
840
+ get: (val: ColorsKey, fn?: (val: string) => unknown) => string;
841
+ };
842
+
534
843
  declare const opacity: {
535
844
  readonly '0': {
536
845
  readonly value: "0";
@@ -560,106 +869,118 @@ declare const opacity: {
560
869
  };
561
870
  };
562
871
 
563
- declare type OpacityKey = keyof typeof opacity;
564
- declare type Opacity = {
872
+ type OpacityKey = keyof typeof opacity;
873
+ type Opacity = {
565
874
  get: (val: OpacityKey, fn?: (val: string) => unknown) => string;
566
875
  };
567
876
 
568
877
  declare const sizing: {
569
878
  readonly '0': {
570
- readonly value: "0";
879
+ readonly value: "0px";
571
880
  readonly type: "sizing";
572
881
  };
573
882
  readonly '1': {
574
- readonly value: "4";
883
+ readonly value: "4px";
575
884
  readonly type: "sizing";
576
885
  };
577
886
  readonly '2': {
578
- readonly value: "8";
887
+ readonly value: "8px";
579
888
  readonly type: "sizing";
580
889
  };
581
890
  readonly '3': {
582
- readonly value: "12";
891
+ readonly value: "12px";
583
892
  readonly type: "sizing";
584
893
  };
585
894
  readonly '4': {
586
- readonly value: "16";
895
+ readonly value: "16px";
587
896
  readonly type: "sizing";
588
897
  };
589
898
  readonly '5': {
590
- readonly value: "20";
899
+ readonly value: "20px";
591
900
  readonly type: "sizing";
592
901
  };
593
902
  readonly '6': {
594
- readonly value: "24";
903
+ readonly value: "24px";
595
904
  readonly type: "sizing";
596
905
  };
597
906
  readonly '7': {
598
- readonly value: "28";
907
+ readonly value: "28px";
599
908
  readonly type: "sizing";
600
909
  };
601
910
  readonly '8': {
602
- readonly value: "32";
911
+ readonly value: "32px";
603
912
  readonly type: "sizing";
604
913
  };
605
914
  readonly '9': {
606
- readonly value: "36";
915
+ readonly value: "36px";
607
916
  readonly type: "sizing";
608
917
  };
609
918
  readonly '10': {
610
- readonly value: "40";
919
+ readonly value: "40px";
611
920
  readonly type: "sizing";
612
921
  };
613
922
  readonly '11': {
614
- readonly value: "44";
923
+ readonly value: "44px";
615
924
  readonly type: "sizing";
616
925
  };
617
926
  readonly '12': {
618
- readonly value: "48";
927
+ readonly value: "48px";
619
928
  readonly type: "sizing";
620
929
  };
621
930
  readonly '13': {
622
- readonly value: "52";
931
+ readonly value: "52px";
623
932
  readonly type: "sizing";
624
933
  };
625
934
  readonly '14': {
626
- readonly value: "56";
935
+ readonly value: "56px";
627
936
  readonly type: "sizing";
628
937
  };
629
938
  readonly '15': {
630
- readonly value: "64";
939
+ readonly value: "64px";
631
940
  readonly type: "sizing";
632
941
  };
633
942
  readonly '16': {
634
- readonly value: "72";
943
+ readonly value: "72px";
635
944
  readonly type: "sizing";
636
945
  };
637
946
  readonly '17': {
638
- readonly value: "80";
947
+ readonly value: "80px";
639
948
  readonly type: "sizing";
640
949
  };
641
950
  readonly '18': {
642
- readonly value: "88";
951
+ readonly value: "88px";
643
952
  readonly type: "sizing";
644
953
  };
645
954
  readonly '19': {
646
- readonly value: "92";
955
+ readonly value: "92px";
956
+ readonly type: "sizing";
957
+ };
958
+ readonly '20': {
959
+ readonly value: "100px";
960
+ readonly type: "sizing";
961
+ };
962
+ readonly '21': {
963
+ readonly value: "120px";
964
+ readonly type: "sizing";
965
+ };
966
+ readonly '22': {
967
+ readonly value: "140px";
647
968
  readonly type: "sizing";
648
969
  };
649
970
  };
650
971
 
651
- declare type SizingKey = keyof typeof sizing;
652
- declare type Sizing = {
972
+ type SizingKey = keyof typeof sizing;
973
+ type Sizing = {
653
974
  get: (val: SizingKey, fn?: (val: string) => unknown) => string;
654
975
  };
655
976
 
656
- declare type NeutralPaletteConfig = {
977
+ type NeutralPaletteConfig = {
657
978
  light?: string;
658
979
  dark?: string;
659
980
  grey?: string;
660
981
  transparent?: string;
661
982
  };
662
- declare type GradientPaletteConfig = {
983
+ type GradientPaletteConfig = {
663
984
  primary?: string;
664
985
  secondary?: string;
665
986
  tertiary?: string;
@@ -667,45 +988,1025 @@ declare type GradientPaletteConfig = {
667
988
  inverted?: string;
668
989
  };
669
990
 
670
- declare type SemanticBackDrop = {
671
- get: (val: string) => string;
991
+ declare const colors: {
992
+ readonly backgroundColor: {
993
+ readonly default: {
994
+ readonly value: "{colors.neutral.1}";
995
+ readonly type: "color";
996
+ readonly description: "light backgroundColor variant";
997
+ };
998
+ readonly transparent: {
999
+ readonly value: "{colors.transparent.default.1}";
1000
+ readonly type: "color";
1001
+ readonly description: "transparent backgroundColor variant";
1002
+ };
1003
+ readonly tinted: {
1004
+ readonly value: "{colors.neutral.2}";
1005
+ readonly type: "color";
1006
+ readonly description: "tinted backgroundColor. Use as backgroundColor in pages";
1007
+ };
1008
+ readonly inverted: {
1009
+ readonly value: "{colors.neutral.4}";
1010
+ readonly type: "color";
1011
+ readonly description: "invertedBackgroundColor variant";
1012
+ };
1013
+ readonly invertedAlt: {
1014
+ readonly value: "{colors.neutral.5}";
1015
+ readonly type: "color";
1016
+ readonly description: "invertedBackgroundColor, dark variant";
1017
+ };
1018
+ };
1019
+ readonly backdrop: {
1020
+ readonly transparent: {
1021
+ readonly value: "{colors.transparent.default.1}";
1022
+ readonly type: "color";
1023
+ readonly description: "backdrop shade, transparent variant";
1024
+ };
1025
+ readonly dark: {
1026
+ readonly value: "{colors.transparent.default.5}";
1027
+ readonly type: "color";
1028
+ readonly description: "backdrop shade, dark variant";
1029
+ };
1030
+ };
1031
+ readonly palette: {
1032
+ readonly error: {
1033
+ readonly lightest: {
1034
+ readonly type: "color";
1035
+ readonly value: "{colors.red.1}";
1036
+ };
1037
+ readonly light: {
1038
+ readonly type: "color";
1039
+ readonly value: "{colors.red.2}";
1040
+ };
1041
+ readonly main: {
1042
+ readonly type: "color";
1043
+ readonly value: "{colors.red.3}";
1044
+ };
1045
+ readonly dark: {
1046
+ readonly type: "color";
1047
+ readonly value: "{colors.red.4}";
1048
+ };
1049
+ readonly darkest: {
1050
+ readonly type: "color";
1051
+ readonly value: "{colors.red.5}";
1052
+ };
1053
+ };
1054
+ readonly warning: {
1055
+ readonly lightest: {
1056
+ readonly type: "color";
1057
+ readonly value: "{colors.orange.1}";
1058
+ };
1059
+ readonly light: {
1060
+ readonly type: "color";
1061
+ readonly value: "{colors.orange.2}";
1062
+ };
1063
+ readonly main: {
1064
+ readonly type: "color";
1065
+ readonly value: "{colors.orange.3}";
1066
+ };
1067
+ readonly dark: {
1068
+ readonly type: "color";
1069
+ readonly value: "{colors.orange.4}";
1070
+ };
1071
+ readonly darkest: {
1072
+ readonly type: "color";
1073
+ readonly value: "{colors.orange.5}";
1074
+ };
1075
+ };
1076
+ readonly primary: {
1077
+ readonly lightest: {
1078
+ readonly type: "color";
1079
+ readonly value: "{colors.blue.1}";
1080
+ };
1081
+ readonly light: {
1082
+ readonly type: "color";
1083
+ readonly value: "{colors.blue.2}";
1084
+ };
1085
+ readonly main: {
1086
+ readonly type: "color";
1087
+ readonly value: "{colors.blue.3}";
1088
+ };
1089
+ readonly dark: {
1090
+ readonly type: "color";
1091
+ readonly value: "{colors.blue.4}";
1092
+ };
1093
+ readonly darkest: {
1094
+ readonly type: "color";
1095
+ readonly value: "{colors.blue.5}";
1096
+ readonly description: "Used to indicate active state";
1097
+ };
1098
+ };
1099
+ readonly secondary: {
1100
+ readonly lightest: {
1101
+ readonly type: "color";
1102
+ readonly value: "{colors.tinted.1}";
1103
+ };
1104
+ readonly light: {
1105
+ readonly type: "color";
1106
+ readonly value: "{colors.tinted.2}";
1107
+ };
1108
+ readonly main: {
1109
+ readonly type: "color";
1110
+ readonly value: "{colors.tinted.3}";
1111
+ };
1112
+ readonly dark: {
1113
+ readonly type: "color";
1114
+ readonly value: "{colors.tinted.4}";
1115
+ };
1116
+ readonly darkest: {
1117
+ readonly type: "color";
1118
+ readonly value: "{colors.tinted.5}";
1119
+ };
1120
+ };
1121
+ readonly inverted: {
1122
+ readonly lightest: {
1123
+ readonly type: "color";
1124
+ readonly value: "{colors.teal.1}";
1125
+ };
1126
+ readonly light: {
1127
+ readonly type: "color";
1128
+ readonly value: "{colors.teal.2}";
1129
+ };
1130
+ readonly main: {
1131
+ readonly type: "color";
1132
+ readonly value: "{colors.teal.3}";
1133
+ };
1134
+ readonly dark: {
1135
+ readonly type: "color";
1136
+ readonly value: "{colors.teal.4}";
1137
+ };
1138
+ readonly darkest: {
1139
+ readonly type: "color";
1140
+ readonly value: "{colors.teal.5}";
1141
+ };
1142
+ };
1143
+ readonly tertiary: {
1144
+ readonly lightest: {
1145
+ readonly value: "{colors.transparent.default.1}";
1146
+ readonly type: "color";
1147
+ };
1148
+ readonly light: {
1149
+ readonly value: "{colors.transparent.default.2}";
1150
+ readonly type: "color";
1151
+ };
1152
+ readonly main: {
1153
+ readonly value: "{colors.transparent.default.3}";
1154
+ readonly type: "color";
1155
+ };
1156
+ readonly dark: {
1157
+ readonly type: "color";
1158
+ readonly value: "{colors.transparent.default.4}";
1159
+ };
1160
+ readonly darkest: {
1161
+ readonly type: "color";
1162
+ readonly value: "{colors.transparent.default.5}";
1163
+ };
1164
+ };
1165
+ readonly tertiaryAlt: {
1166
+ readonly lightest: {
1167
+ readonly value: "{colors.transparent.alt.1}";
1168
+ readonly type: "color";
1169
+ };
1170
+ readonly light: {
1171
+ readonly value: "{colors.transparent.alt.2}";
1172
+ readonly type: "color";
1173
+ };
1174
+ readonly main: {
1175
+ readonly value: "{colors.transparent.alt.3}";
1176
+ readonly type: "color";
1177
+ };
1178
+ readonly dark: {
1179
+ readonly type: "color";
1180
+ readonly value: "{colors.transparent.alt.4}";
1181
+ };
1182
+ readonly darkest: {
1183
+ readonly type: "color";
1184
+ readonly value: "{colors.transparent.alt.5}";
1185
+ };
1186
+ };
1187
+ readonly upsell: {
1188
+ readonly lightest: {
1189
+ readonly value: "{colors.purple.1}";
1190
+ readonly type: "color";
1191
+ };
1192
+ readonly light: {
1193
+ readonly value: "{colors.purple.2}";
1194
+ readonly type: "color";
1195
+ };
1196
+ readonly main: {
1197
+ readonly value: "{colors.purple.3}";
1198
+ readonly type: "color";
1199
+ };
1200
+ readonly dark: {
1201
+ readonly type: "color";
1202
+ readonly value: "{colors.purple.4}";
1203
+ };
1204
+ readonly darkest: {
1205
+ readonly type: "color";
1206
+ readonly value: "{colors.purple.5}";
1207
+ };
1208
+ };
1209
+ };
1210
+ readonly textColor: {
1211
+ readonly default: {
1212
+ readonly primary: {
1213
+ readonly value: "{colors.neutral.4}";
1214
+ readonly type: "color";
1215
+ readonly description: "Sets color for primary text";
1216
+ };
1217
+ readonly secondary: {
1218
+ readonly value: "{colors.neutral.3}";
1219
+ readonly type: "color";
1220
+ readonly description: "Sets color for secondary text";
1221
+ };
1222
+ readonly error: {
1223
+ readonly value: "{colors.red.5}";
1224
+ readonly type: "color";
1225
+ readonly description: "Sets color for error text. AA compliant against white and error.lightest";
1226
+ };
1227
+ readonly active: {
1228
+ readonly value: "{colors.blue.4}";
1229
+ readonly type: "color";
1230
+ readonly description: "Sets color for active text";
1231
+ };
1232
+ readonly visited: {
1233
+ readonly value: "{colors.purple.5}";
1234
+ readonly type: "color";
1235
+ readonly description: "Sets color for visited text (link)";
1236
+ };
1237
+ };
1238
+ readonly inverted: {
1239
+ readonly visited: {
1240
+ readonly value: "{colors.purple.2}";
1241
+ readonly type: "color";
1242
+ readonly description: "Sets color for visited text (link)";
1243
+ };
1244
+ readonly primary: {
1245
+ readonly value: "{colors.neutral.1}";
1246
+ readonly type: "color";
1247
+ readonly description: "Sets color for primary text";
1248
+ };
1249
+ readonly secondary: {
1250
+ readonly value: "{colors.blue.2}";
1251
+ readonly type: "color";
1252
+ readonly description: "Sets color for secondary text";
1253
+ };
1254
+ readonly error: {
1255
+ readonly value: "{colors.red.2}";
1256
+ readonly type: "color";
1257
+ readonly description: "Sets color for error text";
1258
+ };
1259
+ readonly active: {
1260
+ readonly value: "{colors.teal.3}";
1261
+ readonly type: "color";
1262
+ readonly description: "Sets color for active text";
1263
+ };
1264
+ };
1265
+ };
1266
+ readonly borderColor: {
1267
+ readonly decorative: {
1268
+ readonly transparent: {
1269
+ readonly value: "{colors.transparent.default.1}";
1270
+ readonly type: "color";
1271
+ readonly description: "transparent borderColor variant";
1272
+ };
1273
+ readonly muted: {
1274
+ readonly value: "{colors.tinted.3}";
1275
+ readonly type: "color";
1276
+ readonly description: "Default decorative borderColor";
1277
+ };
1278
+ };
1279
+ readonly interactive: {
1280
+ readonly default: {
1281
+ readonly value: "{colors.blue.2}";
1282
+ readonly type: "color";
1283
+ readonly description: "Used in default component state";
1284
+ };
1285
+ readonly active: {
1286
+ readonly value: "{colors.blue.3}";
1287
+ readonly type: "color";
1288
+ readonly description: "Used in active component state";
1289
+ };
1290
+ readonly error: {
1291
+ readonly value: "{colors.red.3}";
1292
+ readonly type: "color";
1293
+ readonly description: "Used in error component state";
1294
+ };
1295
+ readonly focused: {
1296
+ readonly value: "{colors.purple.4}";
1297
+ readonly type: "color";
1298
+ readonly description: "Used in focused component state";
1299
+ };
1300
+ };
1301
+ };
1302
+ };
1303
+
1304
+ type SemanticColorsKey = DotKeys<typeof colors>;
1305
+ type SemanticColors = {
1306
+ get: (val: SemanticColorsKey) => string;
1307
+ };
1308
+
1309
+ declare const disabledState: {
1310
+ readonly default: {
1311
+ readonly value: "{opacity.4}";
1312
+ readonly type: "opacity";
1313
+ };
672
1314
  };
673
1315
 
674
- declare type SemanticBackgroundColor = {
675
- get: (val: string) => string;
1316
+ type SemanticDisabledState = {
1317
+ get: (val: DotKeys<typeof disabledState>) => string;
676
1318
  };
677
1319
 
678
- declare type SemanticBorderColor = {
679
- get: (val: string) => string;
1320
+ declare const icon: {
1321
+ readonly size: {
1322
+ readonly '1': {
1323
+ readonly value: "{sizing.3}";
1324
+ readonly type: "sizing";
1325
+ readonly description: "Sets extra small icon size";
1326
+ };
1327
+ readonly '2': {
1328
+ readonly value: "{sizing.4}";
1329
+ readonly type: "sizing";
1330
+ readonly description: "Sets small icon size";
1331
+ };
1332
+ readonly '3': {
1333
+ readonly value: "{sizing.5}";
1334
+ readonly type: "sizing";
1335
+ readonly description: "Sets medium icon size";
1336
+ };
1337
+ readonly '4': {
1338
+ readonly value: "{sizing.6}";
1339
+ readonly type: "sizing";
1340
+ readonly description: "Sets lage icon size";
1341
+ };
1342
+ };
680
1343
  };
681
1344
 
682
- declare type SemanticDisabledState = {
683
- get: (val: string) => string;
1345
+ type SemanticIcon = {
1346
+ get: (val: DotKeys<typeof icon>) => string;
1347
+ };
1348
+
1349
+ declare const palette: {
1350
+ readonly systemic: {
1351
+ readonly error: {
1352
+ readonly light: {
1353
+ readonly type: "color";
1354
+ readonly value: "{colors.red.50}";
1355
+ readonly description: "Used to indicate hover state";
1356
+ };
1357
+ readonly main: {
1358
+ readonly type: "color";
1359
+ readonly value: "{colors.red.100}";
1360
+ readonly description: "Used to indicate inactive state";
1361
+ };
1362
+ readonly dark: {
1363
+ readonly type: "color";
1364
+ readonly value: "{colors.red.550}";
1365
+ readonly description: "Used to indicate active state";
1366
+ };
1367
+ };
1368
+ readonly success: {
1369
+ readonly light: {
1370
+ readonly type: "color";
1371
+ readonly value: "{colors.teal.50}";
1372
+ readonly description: "Used to indicate hover state";
1373
+ };
1374
+ readonly main: {
1375
+ readonly type: "color";
1376
+ readonly value: "{colors.teal.100}";
1377
+ readonly description: "Used to indicate inactive state";
1378
+ };
1379
+ readonly dark: {
1380
+ readonly type: "color";
1381
+ readonly value: "{colors.teal.650}";
1382
+ readonly description: "Used to indicate active state";
1383
+ };
1384
+ };
1385
+ readonly warning: {
1386
+ readonly light: {
1387
+ readonly type: "color";
1388
+ readonly value: "{colors.orange.50}";
1389
+ readonly description: "Used to indicate hover state";
1390
+ };
1391
+ readonly main: {
1392
+ readonly type: "color";
1393
+ readonly value: "{colors.orange.100}";
1394
+ readonly description: "Used to indicate inactive state";
1395
+ };
1396
+ readonly dark: {
1397
+ readonly type: "color";
1398
+ readonly value: "{colors.orange.650}";
1399
+ readonly description: "Used to indicate active state";
1400
+ };
1401
+ };
1402
+ readonly transparent: {
1403
+ readonly light: {
1404
+ readonly value: "rgba(23,91,245,0)";
1405
+ readonly type: "color";
1406
+ readonly description: "Used to indicate inactive state";
1407
+ };
1408
+ readonly main: {
1409
+ readonly type: "color";
1410
+ readonly value: "#175bf517";
1411
+ readonly description: "Used to indicate hover state";
1412
+ };
1413
+ readonly dark: {
1414
+ readonly type: "color";
1415
+ readonly value: "rgba(23, 91, 245, 0.18)";
1416
+ readonly description: "Used to indicate active state";
1417
+ };
1418
+ };
1419
+ readonly primary: {
1420
+ readonly light: {
1421
+ readonly type: "color";
1422
+ readonly value: "{colors.blue.400}";
1423
+ readonly description: "used to indicate hover state";
1424
+ };
1425
+ readonly main: {
1426
+ readonly type: "color";
1427
+ readonly value: "{colors.blue.500}";
1428
+ readonly description: "Used to indicate inactive state";
1429
+ };
1430
+ readonly dark: {
1431
+ readonly type: "color";
1432
+ readonly value: "{colors.blue.550}";
1433
+ readonly description: "Used to indicate active state";
1434
+ };
1435
+ };
1436
+ readonly secondary: {
1437
+ readonly light: {
1438
+ readonly type: "color";
1439
+ readonly value: "{colors.lightPurple.100}";
1440
+ readonly description: "Used to indicate hover state";
1441
+ };
1442
+ readonly main: {
1443
+ readonly type: "color";
1444
+ readonly value: "{colors.lightPurple.200}";
1445
+ readonly description: "Used to indicate inactive state";
1446
+ };
1447
+ readonly dark: {
1448
+ readonly type: "color";
1449
+ readonly value: "{colors.lightPurple.300}";
1450
+ readonly description: "Used to indicate active state";
1451
+ };
1452
+ };
1453
+ readonly inverted: {
1454
+ readonly light: {
1455
+ readonly type: "color";
1456
+ readonly value: "{colors.teal.400}";
1457
+ readonly description: "Used to indicate inactive";
1458
+ };
1459
+ readonly main: {
1460
+ readonly type: "color";
1461
+ readonly value: "{colors.teal.300}";
1462
+ readonly description: "Used to indicate hover state";
1463
+ };
1464
+ readonly dark: {
1465
+ readonly type: "color";
1466
+ readonly value: "{colors.teal.500}";
1467
+ readonly description: "Used to indicate active state";
1468
+ };
1469
+ };
1470
+ readonly tertiary: {
1471
+ readonly light: {
1472
+ readonly value: "{colors.neutral.light}";
1473
+ readonly type: "color";
1474
+ readonly description: "Used to indicate inactive state";
1475
+ };
1476
+ readonly main: {
1477
+ readonly type: "color";
1478
+ readonly value: "{colors.blue.50}";
1479
+ readonly description: "Used to indicate hover state";
1480
+ };
1481
+ readonly dark: {
1482
+ readonly type: "color";
1483
+ readonly value: "{colors.blue.100}";
1484
+ readonly description: "Used to indicate active state";
1485
+ };
1486
+ };
1487
+ };
1488
+ readonly accents: {
1489
+ readonly blue: {
1490
+ readonly main: {
1491
+ readonly value: "{colors.blue.100}";
1492
+ readonly type: "color";
1493
+ };
1494
+ readonly contrast: {
1495
+ readonly value: "{colors.blue.550}";
1496
+ readonly type: "color";
1497
+ readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
1498
+ };
1499
+ };
1500
+ readonly darkBlue: {
1501
+ readonly main: {
1502
+ readonly value: "{colors.darkBlue.100}";
1503
+ readonly type: "color";
1504
+ };
1505
+ readonly contrast: {
1506
+ readonly value: "{colors.darkBlue.550}";
1507
+ readonly type: "color";
1508
+ readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
1509
+ };
1510
+ };
1511
+ readonly purple: {
1512
+ readonly main: {
1513
+ readonly value: "{colors.purple.100}";
1514
+ readonly type: "color";
1515
+ };
1516
+ readonly contrast: {
1517
+ readonly value: "{colors.purple.550}";
1518
+ readonly type: "color";
1519
+ readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
1520
+ };
1521
+ };
1522
+ readonly magenta: {
1523
+ readonly main: {
1524
+ readonly value: "{colors.magenta.100}";
1525
+ readonly type: "color";
1526
+ };
1527
+ readonly contrast: {
1528
+ readonly value: "{colors.magenta.650}";
1529
+ readonly type: "color";
1530
+ readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
1531
+ };
1532
+ };
1533
+ readonly orange: {
1534
+ readonly main: {
1535
+ readonly value: "{colors.orange.100}";
1536
+ readonly type: "color";
1537
+ };
1538
+ readonly contrast: {
1539
+ readonly value: "{colors.orange.700}";
1540
+ readonly type: "color";
1541
+ readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
1542
+ };
1543
+ };
1544
+ readonly teal: {
1545
+ readonly main: {
1546
+ readonly value: "{colors.teal.150}";
1547
+ readonly type: "color";
1548
+ };
1549
+ readonly contrast: {
1550
+ readonly value: "{colors.teal.750}";
1551
+ readonly type: "color";
1552
+ readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
1553
+ };
1554
+ };
1555
+ readonly red: {
1556
+ readonly main: {
1557
+ readonly value: "{colors.red.100}";
1558
+ readonly type: "color";
1559
+ };
1560
+ readonly contrast: {
1561
+ readonly value: "{colors.red.650}";
1562
+ readonly type: "color";
1563
+ readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
1564
+ };
1565
+ };
1566
+ readonly lightPurple: {
1567
+ readonly main: {
1568
+ readonly value: "{colors.lightPurple.200}";
1569
+ readonly type: "color";
1570
+ };
1571
+ readonly contrast: {
1572
+ readonly value: "{colors.lightPurple.750}";
1573
+ readonly type: "color";
1574
+ readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
1575
+ };
1576
+ };
1577
+ };
684
1578
  };
685
1579
 
686
- declare type SemanticPalette = {
687
- get: (val: string) => string;
1580
+ type SemanticPalette = {
1581
+ get: (val: DotKeys<typeof palette>) => string;
688
1582
  };
689
1583
 
690
- declare type SemanticTextColor = {
691
- get: (val: string) => string;
1584
+ declare const state: {
1585
+ readonly hover: {
1586
+ readonly '1': {
1587
+ readonly value: "{sizing.6}";
1588
+ readonly type: "sizing";
1589
+ readonly description: "Sets extra small hover size";
1590
+ };
1591
+ readonly '2': {
1592
+ readonly value: "{sizing.8}";
1593
+ readonly type: "sizing";
1594
+ readonly description: "Sets small hover size";
1595
+ };
1596
+ readonly '3': {
1597
+ readonly value: "{sizing.9}";
1598
+ readonly type: "sizing";
1599
+ readonly description: "Sets medium hover size";
1600
+ };
1601
+ readonly '4': {
1602
+ readonly value: "{sizing.10}";
1603
+ readonly type: "sizing";
1604
+ readonly description: "Sets lage hover size";
1605
+ };
1606
+ };
1607
+ readonly backgroundColor: {
1608
+ readonly hover: {
1609
+ readonly value: "{colors.transparent.default.2}";
1610
+ readonly type: "color";
1611
+ readonly description: "Sets color for hover state";
1612
+ };
1613
+ };
1614
+ readonly borderRadius: {
1615
+ readonly hover: {
1616
+ readonly value: "{borderRadius.7}";
1617
+ readonly type: "borderRadius";
1618
+ readonly description: "Sets border radius for circular hover shape";
1619
+ };
1620
+ };
692
1621
  };
693
1622
 
694
- declare type TextColorTypes = 'primary' | 'secondary' | 'light';
695
- declare type ColorScheme = 'semantic' | 'dark';
696
- declare type SemanticTheme = {
697
- backdrop: SemanticBackDrop;
698
- backgroundColor: SemanticBackgroundColor;
699
- borderColor: SemanticBorderColor;
700
- disabledState: SemanticDisabledState;
1623
+ type SemanticState = {
1624
+ get: (val: DotKeys<typeof state>) => string;
1625
+ };
1626
+
1627
+ declare const typography: {
1628
+ readonly normal: {
1629
+ readonly headline01: {
1630
+ readonly value: {
1631
+ readonly fontFamily: "{fontFamily.roboto}";
1632
+ readonly fontWeight: "{fontWeight.bold}";
1633
+ readonly lineHeight: "{lineHeight.10}";
1634
+ readonly fontSize: "{fontSize.10}";
1635
+ readonly letterSpacing: "{letterSpacing.0}";
1636
+ };
1637
+ readonly type: "typography";
1638
+ readonly description: "Largest text on the screen, reserved for the page title. Can only appear once";
1639
+ };
1640
+ readonly headline02: {
1641
+ readonly value: {
1642
+ readonly fontFamily: "{fontFamily.roboto}";
1643
+ readonly fontWeight: "{fontWeight.bold}";
1644
+ readonly lineHeight: "{lineHeight.9}";
1645
+ readonly fontSize: "{fontSize.9}";
1646
+ readonly letterSpacing: "{letterSpacing.0}";
1647
+ };
1648
+ readonly type: "typography";
1649
+ readonly description: "Headline variant 2, reserved for important copy that is not a title (e.g. section titles)";
1650
+ };
1651
+ readonly headline03: {
1652
+ readonly value: {
1653
+ readonly fontFamily: "{fontFamily.roboto}";
1654
+ readonly fontWeight: "{fontWeight.bold}";
1655
+ readonly lineHeight: "{lineHeight.8}";
1656
+ readonly fontSize: "{fontSize.8}";
1657
+ readonly letterSpacing: "{letterSpacing.0}";
1658
+ };
1659
+ readonly type: "typography";
1660
+ readonly description: "Headline variant 3";
1661
+ };
1662
+ readonly headline04: {
1663
+ readonly value: {
1664
+ readonly fontFamily: "{fontFamily.roboto}";
1665
+ readonly fontWeight: "{fontWeight.bold}";
1666
+ readonly lineHeight: "{lineHeight.7}";
1667
+ readonly fontSize: "{fontSize.6}";
1668
+ readonly letterSpacing: "{letterSpacing.0}";
1669
+ };
1670
+ readonly type: "typography";
1671
+ readonly description: "Headline variant 4";
1672
+ };
1673
+ readonly headline05: {
1674
+ readonly value: {
1675
+ readonly fontFamily: "{fontFamily.roboto}";
1676
+ readonly fontWeight: "{fontWeight.bold}";
1677
+ readonly lineHeight: "{lineHeight.6}";
1678
+ readonly fontSize: "{fontSize.5}";
1679
+ readonly letterSpacing: "{letterSpacing.0}";
1680
+ };
1681
+ readonly type: "typography";
1682
+ readonly description: "Headline variant 5";
1683
+ };
1684
+ readonly title01: {
1685
+ readonly value: {
1686
+ readonly fontFamily: "{fontFamily.roboto}";
1687
+ readonly fontWeight: "{fontWeight.bold}";
1688
+ readonly lineHeight: "{lineHeight.5}";
1689
+ readonly fontSize: "{fontSize.4}";
1690
+ readonly letterSpacing: "{letterSpacing.1}";
1691
+ };
1692
+ readonly type: "typography";
1693
+ readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Large variant";
1694
+ };
1695
+ readonly title02: {
1696
+ readonly value: {
1697
+ readonly fontFamily: "{fontFamily.roboto}";
1698
+ readonly fontWeight: "{fontWeight.bold}";
1699
+ readonly lineHeight: "{lineHeight.4}";
1700
+ readonly fontSize: "{fontSize.3}";
1701
+ readonly letterSpacing: "{letterSpacing.2}";
1702
+ };
1703
+ readonly type: "typography";
1704
+ readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Medium variant";
1705
+ };
1706
+ readonly title03: {
1707
+ readonly value: {
1708
+ readonly fontFamily: "{fontFamily.roboto}";
1709
+ readonly fontWeight: "{fontWeight.bold}";
1710
+ readonly lineHeight: "{lineHeight.2}";
1711
+ readonly fontSize: "{fontSize.2}";
1712
+ readonly letterSpacing: "{letterSpacing.1}";
1713
+ };
1714
+ readonly type: "typography";
1715
+ readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Small variant";
1716
+ };
1717
+ readonly label01: {
1718
+ readonly value: {
1719
+ readonly fontFamily: "{fontFamily.roboto}";
1720
+ readonly fontWeight: "{fontWeight.medium}";
1721
+ readonly lineHeight: "{lineHeight.5}";
1722
+ readonly fontSize: "{fontSize.4}";
1723
+ readonly letterSpacing: "{letterSpacing.1}";
1724
+ };
1725
+ readonly type: "typography";
1726
+ readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Large variant";
1727
+ };
1728
+ readonly label02: {
1729
+ readonly value: {
1730
+ readonly fontFamily: "{fontFamily.roboto}";
1731
+ readonly fontWeight: "{fontWeight.medium}";
1732
+ readonly lineHeight: "{lineHeight.4}";
1733
+ readonly fontSize: "{fontSize.3}";
1734
+ readonly letterSpacing: "{letterSpacing.2}";
1735
+ };
1736
+ readonly type: "typography";
1737
+ readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Medium variant";
1738
+ };
1739
+ readonly label03: {
1740
+ readonly value: {
1741
+ readonly fontFamily: "{fontFamily.roboto}";
1742
+ readonly fontWeight: "{fontWeight.medium}";
1743
+ readonly lineHeight: "{lineHeight.2}";
1744
+ readonly fontSize: "{fontSize.2}";
1745
+ readonly letterSpacing: "{letterSpacing.2}";
1746
+ };
1747
+ readonly type: "typography";
1748
+ readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Small variant";
1749
+ };
1750
+ readonly label04: {
1751
+ readonly value: {
1752
+ readonly fontFamily: "{fontFamily.roboto}";
1753
+ readonly fontWeight: "{fontWeight.medium}";
1754
+ readonly lineHeight: "{lineHeight.1}";
1755
+ readonly fontSize: "{fontSize.1}";
1756
+ readonly letterSpacing: "{letterSpacing.1}";
1757
+ };
1758
+ readonly type: "typography";
1759
+ readonly description: "Resrved for short to medium, medium emphasis text (less than titles) or text within components. Extra small variant";
1760
+ };
1761
+ readonly body01: {
1762
+ readonly value: {
1763
+ readonly fontFamily: "{fontFamily.roboto}";
1764
+ readonly fontWeight: "{fontWeight.regular}";
1765
+ readonly lineHeight: "{lineHeight.5}";
1766
+ readonly fontSize: "{fontSize.4}";
1767
+ readonly letterSpacing: "{letterSpacing.2}";
1768
+ };
1769
+ readonly type: "typography";
1770
+ readonly description: "Used for longer text string of regular emphasis or text within components. Large variant";
1771
+ };
1772
+ readonly body02: {
1773
+ readonly value: {
1774
+ readonly fontFamily: "{fontFamily.roboto}";
1775
+ readonly fontWeight: "{fontWeight.regular}";
1776
+ readonly lineHeight: "{lineHeight.4}";
1777
+ readonly fontSize: "{fontSize.3}";
1778
+ readonly letterSpacing: "{letterSpacing.2}";
1779
+ };
1780
+ readonly type: "typography";
1781
+ readonly description: "Used for longer text string of regular emphasis or text within components. Medium variant";
1782
+ };
1783
+ readonly body03: {
1784
+ readonly value: {
1785
+ readonly fontFamily: "{fontFamily.roboto}";
1786
+ readonly fontWeight: "{fontWeight.regular}";
1787
+ readonly lineHeight: "{lineHeight.2}";
1788
+ readonly fontSize: "{fontSize.2}";
1789
+ readonly letterSpacing: "{letterSpacing.2}";
1790
+ };
1791
+ readonly type: "typography";
1792
+ readonly description: "Used for longer text string of regular emphasis or text within components. Small variant";
1793
+ };
1794
+ readonly body04: {
1795
+ readonly value: {
1796
+ readonly fontFamily: "{fontFamily.roboto}";
1797
+ readonly fontWeight: "{fontWeight.regular}";
1798
+ readonly lineHeight: "{lineHeight.1}";
1799
+ readonly fontSize: "{fontSize.1}";
1800
+ readonly letterSpacing: "{letterSpacing.1}";
1801
+ };
1802
+ readonly type: "typography";
1803
+ readonly description: "Used for text within components. Extra small variant";
1804
+ };
1805
+ };
1806
+ readonly mono: {
1807
+ readonly headline01: {
1808
+ readonly value: {
1809
+ readonly fontFamily: "{fontFamily.robotoMono}";
1810
+ readonly fontWeight: "{fontWeight.bold}";
1811
+ readonly lineHeight: "{lineHeight.10}";
1812
+ readonly fontSize: "{fontSize.10}";
1813
+ readonly letterSpacing: "{letterSpacing.0}";
1814
+ };
1815
+ readonly type: "typography";
1816
+ readonly description: "Largest text on the screen, reserved for the page title. Can only appear once";
1817
+ };
1818
+ readonly body04: {
1819
+ readonly value: {
1820
+ readonly fontFamily: "{fontFamily.robotoMono}";
1821
+ readonly fontWeight: "{fontWeight.regular}";
1822
+ readonly lineHeight: "{lineHeight.1}";
1823
+ readonly fontSize: "{fontSize.1}";
1824
+ readonly letterSpacing: "{letterSpacing.1}";
1825
+ };
1826
+ readonly type: "typography";
1827
+ readonly description: "Used for text within components. Extra small variant";
1828
+ };
1829
+ readonly headline02: {
1830
+ readonly value: {
1831
+ readonly fontFamily: "{fontFamily.robotoMono}";
1832
+ readonly fontWeight: "{fontWeight.bold}";
1833
+ readonly lineHeight: "{lineHeight.9}";
1834
+ readonly fontSize: "{fontSize.9}";
1835
+ readonly letterSpacing: "{letterSpacing.0}";
1836
+ };
1837
+ readonly type: "typography";
1838
+ readonly description: "Headline variant 2, reserved for important copy that is not a title (e.g. section titles)";
1839
+ };
1840
+ readonly headline03: {
1841
+ readonly value: {
1842
+ readonly fontFamily: "{fontFamily.robotoMono}";
1843
+ readonly fontWeight: "{fontWeight.bold}";
1844
+ readonly lineHeight: "{lineHeight.8}";
1845
+ readonly fontSize: "{fontSize.8}";
1846
+ readonly letterSpacing: "{letterSpacing.0}";
1847
+ };
1848
+ readonly type: "typography";
1849
+ readonly description: "Headline variant 3";
1850
+ };
1851
+ readonly headline04: {
1852
+ readonly value: {
1853
+ readonly fontFamily: "{fontFamily.robotoMono}";
1854
+ readonly fontWeight: "{fontWeight.bold}";
1855
+ readonly lineHeight: "{lineHeight.7}";
1856
+ readonly fontSize: "{fontSize.6}";
1857
+ readonly letterSpacing: "{letterSpacing.0}";
1858
+ };
1859
+ readonly type: "typography";
1860
+ readonly description: "Headline variant 4";
1861
+ };
1862
+ readonly headline05: {
1863
+ readonly value: {
1864
+ readonly fontFamily: "{fontFamily.robotoMono}";
1865
+ readonly fontWeight: "{fontWeight.bold}";
1866
+ readonly lineHeight: "{lineHeight.6}";
1867
+ readonly fontSize: "{fontSize.5}";
1868
+ readonly letterSpacing: "{letterSpacing.0}";
1869
+ };
1870
+ readonly type: "typography";
1871
+ readonly description: "Headline variant 5";
1872
+ };
1873
+ readonly title01: {
1874
+ readonly value: {
1875
+ readonly fontFamily: "{fontFamily.robotoMono}";
1876
+ readonly fontWeight: "{fontWeight.bold}";
1877
+ readonly lineHeight: "{lineHeight.5}";
1878
+ readonly fontSize: "{fontSize.4}";
1879
+ readonly letterSpacing: "{letterSpacing.1}";
1880
+ };
1881
+ readonly type: "typography";
1882
+ readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Large variant";
1883
+ };
1884
+ readonly title02: {
1885
+ readonly value: {
1886
+ readonly fontFamily: "{fontFamily.robotoMono}";
1887
+ readonly fontWeight: "{fontWeight.bold}";
1888
+ readonly lineHeight: "{lineHeight.4}";
1889
+ readonly fontSize: "{fontSize.3}";
1890
+ readonly letterSpacing: "{letterSpacing.2}";
1891
+ };
1892
+ readonly type: "typography";
1893
+ readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Medium variant";
1894
+ };
1895
+ readonly title03: {
1896
+ readonly value: {
1897
+ readonly fontFamily: "{fontFamily.robotoMono}";
1898
+ readonly fontWeight: "{fontWeight.bold}";
1899
+ readonly lineHeight: "{lineHeight.2}";
1900
+ readonly fontSize: "{fontSize.2}";
1901
+ readonly letterSpacing: "{letterSpacing.1}";
1902
+ };
1903
+ readonly type: "typography";
1904
+ readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Small variant";
1905
+ };
1906
+ readonly label01: {
1907
+ readonly value: {
1908
+ readonly fontFamily: "{fontFamily.robotoMono}";
1909
+ readonly fontWeight: "{fontWeight.medium}";
1910
+ readonly lineHeight: "{lineHeight.5}";
1911
+ readonly fontSize: "{fontSize.4}";
1912
+ readonly letterSpacing: "{letterSpacing.1}";
1913
+ };
1914
+ readonly type: "typography";
1915
+ readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Large variant";
1916
+ };
1917
+ readonly label02: {
1918
+ readonly value: {
1919
+ readonly fontFamily: "{fontFamily.robotoMono}";
1920
+ readonly fontWeight: "{fontWeight.medium}";
1921
+ readonly lineHeight: "{lineHeight.4}";
1922
+ readonly fontSize: "{fontSize.3}";
1923
+ readonly letterSpacing: "{letterSpacing.2}";
1924
+ };
1925
+ readonly type: "typography";
1926
+ readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Medium variant";
1927
+ };
1928
+ readonly label03: {
1929
+ readonly value: {
1930
+ readonly fontFamily: "{fontFamily.robotoMono}";
1931
+ readonly fontWeight: "{fontWeight.medium}";
1932
+ readonly lineHeight: "{lineHeight.2}";
1933
+ readonly fontSize: "{fontSize.2}";
1934
+ readonly letterSpacing: "{letterSpacing.2}";
1935
+ };
1936
+ readonly type: "typography";
1937
+ readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Small variant";
1938
+ };
1939
+ readonly label04: {
1940
+ readonly value: {
1941
+ readonly fontFamily: "{fontFamily.robotoMono}";
1942
+ readonly fontWeight: "{fontWeight.medium}";
1943
+ readonly lineHeight: "{lineHeight.1}";
1944
+ readonly fontSize: "{fontSize.1}";
1945
+ readonly letterSpacing: "{letterSpacing.1}";
1946
+ };
1947
+ readonly type: "typography";
1948
+ readonly description: "Resrved for short to medium, medium emphasis text (less than titles) or text within components. Extra small variant";
1949
+ };
1950
+ readonly body01: {
1951
+ readonly value: {
1952
+ readonly fontFamily: "{fontFamily.robotoMono}";
1953
+ readonly fontWeight: "{fontWeight.regular}";
1954
+ readonly lineHeight: "{lineHeight.5}";
1955
+ readonly fontSize: "{fontSize.4}";
1956
+ readonly letterSpacing: "{letterSpacing.2}";
1957
+ };
1958
+ readonly type: "typography";
1959
+ readonly description: "Used for longer text string of regular emphasis or text within components. Large variant";
1960
+ };
1961
+ readonly body02: {
1962
+ readonly value: {
1963
+ readonly fontFamily: "{fontFamily.robotoMono}";
1964
+ readonly fontWeight: "{fontWeight.regular}";
1965
+ readonly lineHeight: "{lineHeight.4}";
1966
+ readonly fontSize: "{fontSize.3}";
1967
+ readonly letterSpacing: "{letterSpacing.2}";
1968
+ };
1969
+ readonly type: "typography";
1970
+ readonly description: "Used for longer text string of regular emphasis or text within components. Medium variant";
1971
+ };
1972
+ readonly body03: {
1973
+ readonly value: {
1974
+ readonly fontFamily: "{fontFamily.robotoMono}";
1975
+ readonly fontWeight: "{fontWeight.regular}";
1976
+ readonly lineHeight: "{lineHeight.2}";
1977
+ readonly fontSize: "{fontSize.2}";
1978
+ readonly letterSpacing: "{letterSpacing.2}";
1979
+ };
1980
+ readonly type: "typography";
1981
+ readonly description: "Used for longer text string of regular emphasis or text within components. Small variant";
1982
+ };
1983
+ };
1984
+ };
1985
+
1986
+ type TypographyKeys = 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight' | 'letterSpacing' | 'textCase' | 'textDecoration';
1987
+ type SemanticTypographyKey = DotKeys<typeof typography>;
1988
+ type TypographyObject = Record<TypographyKeys, string>;
1989
+ type SemanticTypography = {
1990
+ get: (val: SemanticTypographyKey) => TypographyObject;
1991
+ };
1992
+
1993
+ type TextColorTypes = 'primary' | 'secondary' | 'light';
1994
+ type ColorScheme = 'semantic' | 'dark';
1995
+ type SemanticTheme = {
1996
+ /** @TODO remove palette when all components are revisited for v5 */
701
1997
  palette: SemanticPalette;
702
- textColor: SemanticTextColor;
1998
+ colors: SemanticColors;
1999
+ disabledState: SemanticDisabledState;
2000
+ icon: SemanticIcon;
2001
+ state: SemanticState;
2002
+ typography: SemanticTypography;
703
2003
  };
704
2004
  /** Will add more themes in the future (e.g.: DarkTheme) */
705
- declare type Tokens = SemanticTheme;
706
- declare type Theme = {
2005
+ type Tokens = SemanticTheme;
2006
+ type Theme = {
707
2007
  globals: {
708
- colors: Palette;
2008
+ colors: Colors;
2009
+ oldColors: Palette;
709
2010
  typography: Typography;
710
2011
  spacing: Spacing;
711
2012
  elevation: Elevation;
@@ -757,13 +2058,13 @@ declare const MAX_SHADE = 950;
757
2058
  * Each color has again the above variations (shades)
758
2059
  **/
759
2060
  declare const mainTypes: readonly ["primary", "secondary", "success", "error", "warning", "info", "light", "link"];
760
- declare type FlatPalette = Record<typeof flatColors[number], GeneratedColorShades>;
761
- declare type PalePalette = Record<typeof paleColors[number], string>;
762
- declare type GeneratedColorShades = Record<typeof colorShades[number], string>;
2061
+ type FlatPalette = Record<(typeof flatColors)[number], GeneratedColorShades>;
2062
+ type PalePalette = Record<(typeof paleColors)[number], string>;
2063
+ type GeneratedColorShades = Record<(typeof colorShades)[number], string>;
763
2064
  /**
764
2065
  * Palette is end output of what is produced and exported to the client projects
765
2066
  **/
766
- declare type Palette = {
2067
+ type Palette = {
767
2068
  flat: FlatPalette;
768
2069
  neutral: NeutralPaletteConfig;
769
2070
  gradient: GradientPaletteConfig;
@@ -776,25 +2077,25 @@ declare type Palette = {
776
2077
  pale: PalePalette;
777
2078
  white: string;
778
2079
  black: string;
779
- } & Record<typeof mainTypes[number], GeneratedColorShades>;
780
- declare type formFieldStyles = 'filled' | 'outlined' | 'elevated';
781
- declare type GetColor = {
782
- (color: typeof flatColors[number], variant: typeof colorShades[number]): string;
783
- (color: typeof flatColors[number], variant: typeof colorShades[number], scope: 'flat'): string;
784
- (color: TextColorTypes, variant: typeof colorShades[number], scope: 'text'): string;
785
- (color: typeof mainTypes[number], variant: typeof colorShades[number], scope: 'normal'): string;
786
- (color: typeof paleColors[number], variant: null, scope: 'pale'): string;
2080
+ } & Record<(typeof mainTypes)[number], GeneratedColorShades>;
2081
+ type formFieldStyles = 'filled' | 'outlined' | 'elevated';
2082
+ type GetColor = {
2083
+ (color: (typeof flatColors)[number], variant: (typeof colorShades)[number]): string;
2084
+ (color: (typeof flatColors)[number], variant: (typeof colorShades)[number], scope: 'flat'): string;
2085
+ (color: TextColorTypes, variant: (typeof colorShades)[number], scope: 'text'): string;
2086
+ (color: (typeof mainTypes)[number], variant: (typeof colorShades)[number], scope: 'normal'): string;
2087
+ (color: (typeof paleColors)[number], variant: null, scope: 'pale'): string;
787
2088
  };
788
2089
  declare const getColor: (palette: Palette) => GetColor;
789
2090
  /**
790
2091
  * this function picks either white or black color based on the background that is passed
791
2092
  * swatches are calculated based on accessibility by getAAColor function and splited to those two colors
792
2093
  **/
793
- declare type GetAAColorFromSwatches = {
794
- (color: typeof flatColors[number], variant: typeof colorShades[number]): string;
2094
+ type GetAAColorFromSwatches = {
2095
+ (color: (typeof flatColors)[number], variant: (typeof colorShades)[number]): string;
795
2096
  };
796
2097
  declare const getAAColorFromSwatches: (palette: Palette) => GetAAColorFromSwatches;
797
- declare type GetAAColor = {
2098
+ type GetAAColor = {
798
2099
  (color: string): string;
799
2100
  };
800
2101
  declare const getAAColor: (palette: Palette) => GetAAColor;
@@ -844,32 +2145,27 @@ declare namespace palette_d {
844
2145
  };
845
2146
  }
846
2147
 
847
- declare type AcceptedColorComponentTypes = typeof mainTypes[number];
2148
+ type AcceptedColorComponentTypes = (typeof mainTypes)[number];
848
2149
  /**
849
2150
  * The type of the calculateActualColorFromComponentProp that will be used for the components
850
2151
  * translation from string
851
2152
  * */
852
- declare type ColorShapeFromComponent = {
853
- color: typeof flatColors[number];
854
- shade: typeof colorShades[number];
2153
+ type ColorShapeFromComponent = {
2154
+ color: (typeof flatColors)[number];
2155
+ shade: (typeof colorShades)[number];
855
2156
  };
856
2157
 
857
- /** A generic type for native events */
858
- declare type EventProps = {
859
- onClick?: () => void;
860
- onBlur?: () => void;
861
- };
862
- declare type CommonButtonProps = Partial<Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'size' | 'css' | 'onBlur' | 'onClick' | 'type' | 'disabled'>>;
863
- declare type DivProps = Partial<Omit<React.HTMLProps<HTMLDivElement>, 'size' | 'css'>>;
2158
+ type CommonButtonProps = Partial<Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'size' | 'css' | 'onBlur' | 'onClick' | 'type' | 'disabled'>>;
2159
+ type DivProps = Partial<Omit<React$1.HTMLProps<HTMLDivElement>, 'size' | 'css'>>;
864
2160
 
865
- declare type AvatarColors = 'red' | 'magenta' | 'purple' | 'blue' | 'darkBlue' | 'teal' | 'orange';
866
- declare type AvatarSizes = 1 | 2 | 3 | 4 | 5 | 6;
867
- declare type AvatarProps = {
868
- /** The size of the avatar
2161
+ type AvatarColors = 'blue' | 'teal' | 'purple' | 'red' | 'orange';
2162
+ type AvatarSizes = 1 | 2 | 3 | 4 | 5 | 6;
2163
+ type AvatarProps = {
2164
+ /** The size of the Avatar
869
2165
  * @default 1
870
2166
  * */
871
2167
  size?: AvatarSizes;
872
- /** the color of the button based on our colors eg. red-500
2168
+ /** The color of the Avatar
873
2169
  * @default 'blue'
874
2170
  * */
875
2171
  color?: AvatarColors;
@@ -883,9 +2179,9 @@ declare type AvatarProps = {
883
2179
  dataTestPrefixId?: string;
884
2180
  } & DivProps;
885
2181
 
886
- declare const Avatar: React__default.ForwardRefExoticComponent<Pick<AvatarProps, "children" | "onChange" | "color" | "value" | "type" | "download" | "size" | "name" | "onClick" | "dataTestPrefixId" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "onBlur" | "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" | "content" | "height" | "width" | "start" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "useMap" | "wmode" | "wrap"> & React__default.RefAttributes<HTMLDivElement>>;
2182
+ declare const Avatar: React__default.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
887
2183
 
888
- declare type AvatarStackProps = {
2184
+ type AvatarStackProps = {
889
2185
  /** the maximum number of avatars to be displayed **/
890
2186
  maxAvatars?: number;
891
2187
  /** The size of the extra avatar, if any **/
@@ -894,78 +2190,116 @@ declare type AvatarStackProps = {
894
2190
  color?: AvatarColors;
895
2191
  };
896
2192
 
897
- declare const AvatarStack: React__default.ForwardRefExoticComponent<Pick<AvatarStackProps & TestProps$1 & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">>, "children" | "onChange" | "value" | "type" | "download" | "name" | "onClick" | keyof TestProps$1 | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "onBlur" | "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" | "content" | "height" | "width" | "start" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "useMap" | "wmode" | "wrap" | keyof AvatarStackProps> & React__default.RefAttributes<HTMLDivElement>>;
2193
+ declare const AvatarStack: React__default.ForwardRefExoticComponent<Omit<AvatarStackProps & TestProps$1 & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
898
2194
 
899
- declare type BreadcrumbItemData = {
900
- /** Defines the path used for a link breadcrumb item*/
901
- to?: string;
902
- /** Defines the label used for a link breadcrumb item */
903
- label: string;
904
- };
905
-
906
- declare type BreadcrumbProps = {
907
- /** Defines the data for constructing the related breadcrumb items */
908
- data?: BreadcrumbItemData[];
909
- };
910
- declare const Breadcrumb: React.FC<BreadcrumbProps>;
911
-
912
- declare type ClickEvent = MouseEvent$1<HTMLButtonElement> | undefined;
913
-
914
- declare type DeepPartial<T> = T extends {
2195
+ type DeepPartial<T> = T extends {
915
2196
  [key: string]: unknown;
916
2197
  } ? {
917
2198
  [P in keyof T]?: DeepPartial<T[P]>;
918
2199
  } : T;
919
- declare type TestId = string;
920
- declare type TestProps = {
2200
+ type ComponentSizes = 'compact' | 'normal';
2201
+ type TestId = string;
2202
+ type TestProps = {
921
2203
  dataTestId?: TestId;
922
2204
  dataTestPrefixId?: string;
923
2205
  };
924
2206
 
925
- declare const buttonSizes: readonly ["lg", "md", "sm"];
2207
+ type BreadcrumbItem = {
2208
+ /** Defines the label used for a link breadcrumb item */
2209
+ label: string;
2210
+ } & Pick<LinkProps, 'component' | 'href'>;
2211
+
2212
+ declare const Breadcrumb: React$1.ForwardRefExoticComponent<{
2213
+ items?: BreadcrumbItem[];
2214
+ backTo?: BreadcrumbItem;
2215
+ } & TestProps & React$1.RefAttributes<HTMLOListElement>>;
2216
+
2217
+ type ClickEvent = MouseEvent<HTMLButtonElement> | undefined;
926
2218
 
927
- declare type EventButtonProps = {
2219
+ type EventButtonProps = {
928
2220
  onClick?: (event: ClickEvent) => void;
929
2221
  onBlur?: () => void;
930
2222
  };
931
- declare type ButtonBaseProps = {
932
- /** Type indicating the type of the button */
933
- type?: AcceptedColorComponentTypes;
934
- /** the color of the button based on our colors eg. red-500 */
935
- color?: string;
936
- /** This property define the size of the button. Defaults to 'md' */
937
- size?: typeof buttonSizes[number];
2223
+ type ButtonBaseProps = {
2224
+ /** The type of the button */
2225
+ type?: ButtonTypes$1;
2226
+ /** The size of button */
2227
+ size?: ComponentSizes;
938
2228
  /** This property will make the button fit to its parent width. Defaults to false */
939
2229
  isBlock?: boolean;
940
- /** Property indicating if the component is filled with a color based on the type */
941
- isFilled?: boolean;
942
- /** Property indicating if the component is async and loading */
2230
+ /** Property indicating if the component is loading */
943
2231
  isLoading?: boolean;
944
- /** Property indicating if the component is transparent with a color based on the type */
945
- isTransparent?: boolean;
946
- /** An optional boolean to show if the button is icon */
947
- isIconButton?: boolean;
948
- /** An optional icon to put on the right of the button */
949
- iconRight?: React__default.Component | JSX.Element | null;
950
- /** An optional icon to put on the left of the button */
951
- iconLeft?: React__default.Component | JSX.Element | null;
952
2232
  /** Define if the button is in disabled state */
953
2233
  isDisabled?: boolean;
2234
+ /** Define if the button is an icon button */
2235
+ isIconButton?: boolean;
2236
+ /** Define the radius type of the icon button */
2237
+ shape?: IconButtonShape$1;
954
2238
  /** Defines the button type */
955
- buttonType?: 'submit' | 'reset' | 'button';
2239
+ htmlType?: 'submit' | 'reset' | 'button';
956
2240
  /** Sx prop to override specific properties */
957
2241
  sx?: {
958
2242
  container?: CSSObject;
959
2243
  };
960
2244
  } & TestProps & EventButtonProps & CommonButtonProps;
961
2245
 
962
- declare type onClickProp = {
963
- onClick: ClickHandler;
2246
+ type AcceptedIconNames = 'account' | 'actions' | 'add' | 'alert' | 'analytics' | 'analyticsVideos' | 'ancient' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowToLeft' | 'arrowToRight' | 'artist' | 'asset' | 'assetMatching' | 'auto' | 'broadcast' | 'calendarEmpty' | 'calendarFilled' | 'catalog' | 'channel' | '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' | 'copy' | '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' | 'licence' | 'licencedVideo' | 'linked' | 'lock' | 'mail' | 'manual' | 'menu' | 'microphone' | 'minus' | 'moreOptionsHorizontal' | 'moreOptionsVertical' | 'musicNote' | 'myEarnings' | 'notifications' | 'notifications2' | 'oneWay' | 'others' | 'ownershipValidation' | 'pageFirst' | 'pageLast' | 'percentage' | 'play' | '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';
2247
+
2248
+ type IconButtonShape = 'circle' | 'square';
2249
+ type IconButtonProps = Omit<ButtonBaseProps$1, 'type' | 'isBlock' | 'isLoading' | 'isIconButton'> & {
2250
+ /** This property defines the type of the IconButton */
2251
+ type?: PrimitiveButtonTypes;
2252
+ /** This property defines witch icon to use */
2253
+ name: AcceptedIconNames;
2254
+ /** This property defines the shape of the IconButton */
2255
+ shape?: IconButtonShape;
964
2256
  };
965
- declare type ButtonProps = Omit<ButtonBaseProps, 'onClick'> & TestProps$1 & onClickProp & CommonButtonProps$1;
966
- declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonBaseProps, "onClick"> & TestProps$1 & onClickProp & Partial<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "size" | "onClick" | "css" | "onBlur" | "disabled">> & React__default.RefAttributes<HTMLButtonElement>>;
2257
+ declare const IconButton: React__default.ForwardRefExoticComponent<Omit<ButtonBaseProps$1, "type" | "isBlock" | "isLoading" | "isIconButton"> & {
2258
+ /** This property defines the type of the IconButton */
2259
+ type?: PrimitiveButtonTypes;
2260
+ /** This property defines witch icon to use */
2261
+ name: AcceptedIconNames;
2262
+ /** This property defines the shape of the IconButton */
2263
+ shape?: IconButtonShape;
2264
+ } & React__default.RefAttributes<HTMLButtonElement>>;
2265
+
2266
+ /** All button types. Used by Button component */
2267
+ type ButtonTypes = 'primary' | 'secondary' | 'tertiary' | 'danger' | 'inverted' | 'invertedAlt';
967
2268
 
968
- declare type CardProps = {
2269
+ type ButtonProps = ButtonBaseProps & TestProps$1 & CommonButtonProps$1 & {
2270
+ /** An optional icon to put on the right of the button */
2271
+ iconRightName?: AcceptedIconNames$1;
2272
+ /** An optional icon to put on the left of the button */
2273
+ iconLeftName?: AcceptedIconNames$1;
2274
+ /** An optional avatar to put on the left of the button */
2275
+ avatar?: Pick<AvatarProps$1, 'src' | 'color'> & {
2276
+ label?: string;
2277
+ };
2278
+ };
2279
+ declare const Button: React__default.ForwardRefExoticComponent<{
2280
+ type?: ButtonTypes;
2281
+ size?: utils_types.ComponentSizes; /** An optional icon to put on the left of the button */
2282
+ isBlock?: boolean;
2283
+ isLoading?: boolean;
2284
+ isDisabled?: boolean;
2285
+ isIconButton?: boolean;
2286
+ shape?: IconButtonShape;
2287
+ htmlType?: "button" | "submit" | "reset";
2288
+ sx?: {
2289
+ container?: _emotion_serialize.CSSObject;
2290
+ };
2291
+ } & TestProps$1 & EventButtonProps & Partial<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "size" | "css" | "onBlur" | "onClick" | "disabled">> & {
2292
+ /** An optional icon to put on the right of the button */
2293
+ iconRightName?: AcceptedIconNames$1;
2294
+ /** An optional icon to put on the left of the button */
2295
+ iconLeftName?: AcceptedIconNames$1;
2296
+ /** An optional avatar to put on the left of the button */
2297
+ avatar?: Pick<AvatarProps$1, 'src' | 'color'> & {
2298
+ label?: string;
2299
+ };
2300
+ } & React__default.RefAttributes<HTMLButtonElement>>;
2301
+
2302
+ type CardProps = {
969
2303
  /** Elevation of Card */
970
2304
  elevated?: keyof Elevation$1;
971
2305
  /** Transparency of Card: if false the Card's background is white, otherwise it's transparent */
@@ -973,14 +2307,14 @@ declare type CardProps = {
973
2307
  /** Border radius of Card: if not provided it defaults to 0 */
974
2308
  radius?: SpacingKey$1;
975
2309
  };
976
- declare const Card: React__default.FC<CardProps>;
2310
+ declare const Card: React__default.FC<React__default.PropsWithChildren<CardProps>>;
977
2311
 
978
- declare type Data$2 = {
2312
+ type Data$2 = {
979
2313
  name: string;
980
2314
  [prop: string]: number | string | undefined;
981
2315
  };
982
2316
 
983
- declare type LineChartProps = {
2317
+ type LineChartProps = {
984
2318
  /** This property defines the data to be shown in the Line Chart */
985
2319
  data: Data$2[];
986
2320
  /** Property indicating the label name to be displayed for X axis */
@@ -994,36 +2328,36 @@ declare type LineChartProps = {
994
2328
  };
995
2329
  declare const LineChart: React__default.FC<LineChartProps>;
996
2330
 
997
- declare type HoverInfo = {
2331
+ type HoverInfo = {
998
2332
  name: string;
999
2333
  value?: string | number;
1000
2334
  percentage?: string;
1001
2335
  [prop: string]: number | string | undefined;
1002
2336
  };
1003
- declare type Option = {
2337
+ type Option = {
1004
2338
  color?: string;
1005
2339
  coloringOption?: 'all' | 'bar';
1006
2340
  hoverInfo?: HoverInfo[];
1007
2341
  };
1008
- declare type Data$1 = {
2342
+ type Data$1 = {
1009
2343
  name: string;
1010
2344
  subcategory?: string;
1011
2345
  value?: number;
1012
2346
  barLabel?: string;
1013
2347
  options?: Option;
1014
2348
  };
1015
- declare type BarChartProps = {
2349
+ type BarChartProps = {
1016
2350
  /** This property defines the data to be shown in the Line Chart */
1017
2351
  data: Data$1[];
1018
2352
  };
1019
- declare const BarChart: React__default.FC<BarChartProps>;
2353
+ declare const BarChart: React__default.FCC<BarChartProps>;
1020
2354
 
1021
- declare type Data = {
2355
+ type Data = {
1022
2356
  name: string;
1023
2357
  value: number;
1024
2358
  color?: string;
1025
2359
  };
1026
- declare type DonutChartProps = {
2360
+ type DonutChartProps = {
1027
2361
  /** This property defines the data to be shown in the Donut Chart */
1028
2362
  data: Data[];
1029
2363
  /** This property defines the value to be shown in the Donut Chart label */
@@ -1031,9 +2365,9 @@ declare type DonutChartProps = {
1031
2365
  /** This property defines the units to be shown in the Donut Chart label*/
1032
2366
  units?: string;
1033
2367
  };
1034
- declare const DonutChart: React__default.FC<DonutChartProps>;
2368
+ declare const DonutChart: React__default.FCC<DonutChartProps>;
1035
2369
 
1036
- declare type CheckboxProps = {
2370
+ type CheckboxProps = {
1037
2371
  /** The label of the checkbox. */
1038
2372
  label?: string;
1039
2373
  /** Boolean defining if the checkbox is checked. */
@@ -1054,12 +2388,12 @@ declare type CheckboxProps = {
1054
2388
  /** Disables auto generated id for snapshots*/
1055
2389
  id?: string;
1056
2390
  };
1057
- declare const CheckBox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLSpanElement>>;
2391
+ declare const CheckBox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLSpanElement>>;
1058
2392
 
1059
2393
  declare const READ_ONLY: "read-only";
1060
2394
  declare const INTERACTIVE: "interactive";
1061
2395
  declare const styleType: readonly ["read-only", "interactive"];
1062
- declare type ChipBaseProps = {
2396
+ type ChipBaseProps = {
1063
2397
  /**
1064
2398
  * Determines whether the chip should be read-only or interactive.
1065
2399
  * @default read-only
@@ -1085,13 +2419,11 @@ declare type ChipBaseProps = {
1085
2419
  /** Boolean defining if the chip is disabled. Interactive only. */
1086
2420
  isDisabled?: boolean;
1087
2421
  };
1088
- declare type ChipProps = ChipBaseProps & TestProps & CommonButtonProps;
2422
+ type ChipProps = ChipBaseProps & TestProps & CommonButtonProps;
1089
2423
 
1090
- declare const Chip: React__default.ForwardRefExoticComponent<ChipBaseProps & TestProps & Partial<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "size" | "onClick" | "css" | "onBlur" | "disabled">> & React__default.RefAttributes<HTMLButtonElement | HTMLDivElement>>;
2424
+ declare const Chip: React__default.ForwardRefExoticComponent<ChipBaseProps & TestProps & Partial<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "size" | "css" | "onBlur" | "onClick" | "disabled">> & React__default.RefAttributes<HTMLButtonElement | HTMLDivElement>>;
1091
2425
 
1092
- 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';
1093
-
1094
- declare type OwnProps = {
2426
+ type OwnProps = {
1095
2427
  /** This property defines witch icon to use */
1096
2428
  name: AcceptedIconNames;
1097
2429
  /** Property indicating the color of the icon. Defaults to primary */
@@ -1099,15 +2431,21 @@ declare type OwnProps = {
1099
2431
  /** Property indicating the size of the icon. Defaults to 16 */
1100
2432
  size?: number;
1101
2433
  /** Callback fired when the `span` is clicked. */
1102
- onClick?: React.MouseEventHandler<HTMLSpanElement>;
2434
+ onClick?: React$1.MouseEventHandler<HTMLSpanElement>;
1103
2435
  /** Property indicating the color's variant of the icon. */
1104
- variant?: typeof colorShades[number];
2436
+ variant?: (typeof colorShades)[number];
1105
2437
  };
1106
- declare type IconProps = OwnProps & TestProps;
1107
- declare const Icon: React.ForwardRefExoticComponent<OwnProps & TestProps & React.RefAttributes<HTMLSpanElement>>;
2438
+ type IconProps = OwnProps & TestProps;
2439
+ declare const Icon: React$1.ForwardRefExoticComponent<OwnProps & TestProps & React$1.RefAttributes<HTMLSpanElement>>;
1108
2440
 
1109
- declare type InputProps$1 = Partial<Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'readOnly' | 'disabled'>>;
1110
- declare type TextFieldProps = {
2441
+ type InputProps$1 = Partial<Omit<InputHTMLAttributes<HTMLInputElement>, 'readOnly' | 'disabled' | 'size'>>;
2442
+ type MaskProps = {
2443
+ mask?: never;
2444
+ } | {
2445
+ mask?: string | (string | RegExp)[];
2446
+ placeholder?: never;
2447
+ };
2448
+ type TextFieldProps = {
1111
2449
  /** The id of the text field that will be used as for in label too */
1112
2450
  id?: string;
1113
2451
  /** Callback fired when the `input` is blurred. */
@@ -1122,72 +2460,49 @@ declare type TextFieldProps = {
1122
2460
  onInput?: React__default.EventHandler<any>;
1123
2461
  /** Boolean to make the input readonly. Default to false. */
1124
2462
  isReadOnly?: boolean;
1125
- /** @deprecated This is a compatibility prop that will be removed in the next version, along with the min-width value
1126
- * of the TextField. It will be replaced by a fullWidth prop. */
1127
- hasMinWidthCompat?: boolean;
1128
- } & TextInputBaseProps & InputProps$1 & TestProps;
1129
- declare const TextField: React__default.ForwardRefExoticComponent<{
1130
- /** The id of the text field that will be used as for in label too */
1131
- id?: string | undefined;
1132
- /** Callback fired when the `input` is blurred. */
1133
- onBlur?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1134
- /** Callback fired when the `input` is changed. */
1135
- onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1136
- /** Callback fired when the `input` is focused. */
1137
- onFocus?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1138
- /** Callback fired when the `input` has a key down event. */
1139
- onKeyDown?: React__default.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1140
- /** Callback fired when the `input` value typed is changed */
1141
- onInput?: ((event: any) => void) | undefined;
1142
- /** Boolean to make the input readonly. Default to false. */
1143
- isReadOnly?: boolean | undefined;
1144
- /** @deprecated This is a compatibility prop that will be removed in the next version, along with the min-width value
1145
- * of the TextField. It will be replaced by a fullWidth prop. */
1146
- hasMinWidthCompat?: boolean | undefined;
1147
- } & {
1148
- label?: string | undefined; /** The id of the text field that will be used as for in label too */
1149
- placeholder?: string | undefined;
1150
- leftIcon?: JSX.Element | AcceptedIconNames$1 | null | undefined;
1151
- rightIcon?: JSX.Element | AcceptedIconNames$1 | null | undefined;
1152
- isRequired?: boolean | undefined;
1153
- isDisabled?: boolean | undefined;
1154
- isLocked?: boolean | undefined;
1155
- isDark?: boolean | undefined;
1156
- hintMsg?: React__default.ReactNode;
1157
- value?: string | number | undefined;
1158
- isLean?: boolean | undefined;
1159
- styleType?: formFieldStyles | undefined;
1160
- size?: "md" | "sm" | undefined;
1161
- status?: "error" | "success" | "normal" | "hint" | undefined;
1162
- sx?: {
1163
- wrapper?: _emotion_serialize.CSSObject | undefined;
1164
- textField?: _emotion_serialize.CSSObject | undefined;
1165
- input?: _emotion_serialize.CSSObject | undefined;
1166
- } | undefined;
1167
- hasMinWidthCompat?: boolean | undefined;
1168
- } & TestProps & Partial<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size" | "disabled" | "readOnly">> & React__default.RefAttributes<HTMLInputElement>>;
1169
-
1170
- declare type SelectOptionValues = {
2463
+ /** [For MultiTextField] If true, the user can add multiple tags as an input */
2464
+ isMulti?: boolean;
2465
+ /** [For MultiTextField] The values of the tags (chips) */
2466
+ tags?: string[];
2467
+ /** [For MultiTextField] A callback for when a Chip value is deleted */
2468
+ onMultiValueDelete?: (value: string) => void;
2469
+ /** [For MultiTextField] A callback for when all values are deleted */
2470
+ onMultiValueClearAll?: () => void;
2471
+ } & TextInputBaseProps$1 & MaskProps & InputProps$1 & TestProps;
2472
+ declare const _default$6: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextFieldProps & React__default.RefAttributes<HTMLInputElement>>>;
2473
+
2474
+ type SelectOptionValues = {
1171
2475
  value: string | number;
1172
2476
  label: string;
1173
2477
  iconProps?: OwnProps;
1174
2478
  };
1175
- declare type SelectOption = {
2479
+ type SelectOptionBase = {
1176
2480
  isDisabled?: boolean;
2481
+ helperText?: string;
1177
2482
  tooltipInfo?: string;
1178
2483
  options?: SelectOption[];
1179
- } & SelectOptionValues;
1180
- declare type InputProps = Partial<Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>>;
1181
- declare type SelectProps = {
2484
+ isCreated?: boolean;
2485
+ };
2486
+ type SelectOption = SelectOptionBase & SelectOptionValues;
2487
+ type InputProps = Partial<Omit<InputHTMLAttributes<HTMLInputElement>, 'size' & 'onChange'>>;
2488
+ type MultiSelectProps = {
1182
2489
  /** The function that is used to return the selected options */
1183
- handleSelectedOption?: (selectedOption: SelectOption) => void;
1184
- /** the default value of the select if needed */
1185
- /** TODO: defaultValue is duplication of selectedOption*/
1186
- defaultValue?: SelectOption;
2490
+ onChange?: (selectedOption: SelectOption[]) => void;
2491
+ /** If true the user can select multiple options */
2492
+ isMulti: true;
2493
+ /** The selected options in case of multiSelect */
2494
+ /** @TODO merge selectedOption with selectedOptions in v5 */
2495
+ selectedOption?: SelectOption[];
2496
+ };
2497
+ type SingleSelectProps = {
2498
+ /** The function that is used to return the selected options */
2499
+ onChange?: (selectedOption?: SelectOption) => void;
2500
+ /** If false the user can select one option */
2501
+ isMulti?: never;
1187
2502
  /** the value of the select if select is controlled */
1188
2503
  selectedOption?: SelectOption;
1189
- /** if the select has tags */
1190
- isMulti?: boolean;
2504
+ };
2505
+ type SelectProps = {
1191
2506
  /** Options for the select dropdown */
1192
2507
  options: SelectOption[];
1193
2508
  /** if the component is used asynchronously */
@@ -1206,75 +2521,24 @@ declare type SelectProps = {
1206
2521
  isLoading?: boolean;
1207
2522
  /** if options list is virtualized */
1208
2523
  isVirtualized?: boolean;
1209
- /** A callback that's called when the user clicks the 'clear' icon */
1210
- onClear?: () => void;
1211
- } & TextFieldProps & InputProps & TestProps;
1212
- declare const Select: React__default.ForwardRefExoticComponent<{
1213
- /** The function that is used to return the selected options */
1214
- handleSelectedOption?: ((selectedOption: SelectOption) => void) | undefined;
1215
- /** the default value of the select if needed */
1216
- /** TODO: defaultValue is duplication of selectedOption*/
1217
- defaultValue?: SelectOption | undefined;
1218
- /** the value of the select if select is controlled */
1219
- selectedOption?: SelectOption | undefined;
1220
- /** if the select has tags */
1221
- isMulti?: boolean | undefined;
1222
- /** Options for the select dropdown */
1223
- options: SelectOption[];
1224
- /** if the component is used asynchronously */
1225
- isAsync?: boolean | undefined;
1226
- /** the function to fetch new options */
1227
- asyncSearch?: ((term: string) => void) | undefined;
1228
- /** after how many characters to start searching (default = 0) */
1229
- minCharactersToSearch?: number | undefined;
1230
- /** if searched text should be highlighted in available options */
1231
- hasHighlightSearch?: boolean | undefined;
1232
- /** if the options are searchable */
1233
- isSearchable?: boolean | undefined;
1234
- /** data-testid suffix */
1235
- dataTestId?: string | undefined;
1236
- /** if component is loading */
1237
- isLoading?: boolean | undefined;
1238
- /** if options list is virtualized */
1239
- isVirtualized?: boolean | undefined;
1240
- /** A callback that's called when the user clicks the 'clear' icon */
1241
- onClear?: (() => void) | undefined;
1242
- } & {
1243
- id?: string | undefined;
1244
- onBlur?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1245
- onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1246
- onFocus?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1247
- onKeyDown?: React__default.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1248
- onInput?: ((event: any) => void) | undefined;
1249
- isReadOnly?: boolean | undefined;
1250
- hasMinWidthCompat?: boolean | undefined;
1251
- } & {
1252
- label?: string | undefined;
1253
- placeholder?: string | undefined;
1254
- leftIcon?: JSX.Element | AcceptedIconNames | null | undefined;
1255
- rightIcon?: JSX.Element | AcceptedIconNames | null | undefined;
1256
- isRequired?: boolean | undefined;
1257
- isDisabled?: boolean | undefined;
1258
- isLocked?: boolean | undefined;
1259
- isDark?: boolean | undefined;
1260
- hintMsg?: React__default.ReactNode;
1261
- value?: string | number | undefined;
1262
- isLean?: boolean | undefined;
1263
- styleType?: formFieldStyles | undefined;
1264
- size?: "md" | "sm" | undefined;
1265
- status?: "error" | "success" | "normal" | "hint" | undefined;
1266
- sx?: {
1267
- wrapper?: _emotion_serialize.CSSObject | undefined;
1268
- textField?: _emotion_serialize.CSSObject | undefined;
1269
- input?: _emotion_serialize.CSSObject | undefined;
1270
- } | undefined;
1271
- hasMinWidthCompat?: boolean | undefined;
1272
- } & TestProps & Partial<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size" | "disabled" | "readOnly">> & Partial<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size">> & React__default.RefAttributes<HTMLInputElement>>;
1273
-
1274
- declare type FilterOption = SelectOptionValues;
1275
- declare type StyleType = 'filled' | 'transparent';
1276
- declare type FilterType = 'preset' | 'added';
1277
- declare type FilterProps = {
2524
+ /**
2525
+ * If true, then in the case of a searched option that is not found in the Options list of MultiSelect,
2526
+ * the user can create this option.
2527
+ * */
2528
+ isCreatable?: boolean;
2529
+ /** Whether the MultiSelect should have a Select All option */
2530
+ hasSelectAllOption?: boolean;
2531
+ } & (MultiSelectProps | SingleSelectProps) & Omit<TextFieldProps, 'onChange' | 'mask'> & Omit<InputProps, 'onChange' | 'size'> & TestProps;
2532
+
2533
+ declare const emptyValue: SelectOption;
2534
+ declare const _default$5: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLInputElement>>>;
2535
+
2536
+ declare const _default$4: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLInputElement>>>;
2537
+
2538
+ type FilterOption = SelectOption;
2539
+ type StyleType = 'filled' | 'transparent';
2540
+ type FilterType = 'preset' | 'added';
2541
+ type FilterProps = {
1278
2542
  /** The type of the button - defaults to "primary" */
1279
2543
  buttonType?: 'primary' | 'secondary';
1280
2544
  /** Items that are being declared as menu options */
@@ -1284,10 +2548,15 @@ declare type FilterProps = {
1284
2548
  defaultValue: FilterOption;
1285
2549
  /** A callback that is being triggered when an items has been clicked */
1286
2550
  onSelect: (option: FilterOption) => void;
1287
- /** A callback that is being triggered when type is added and you press the X icon */
2551
+ /**
2552
+ * For SingleFilter: callback for the X button of the 'added' type filter
2553
+ * For MultiFilter: callback for the Clear All button
2554
+ */
1288
2555
  onClear?: () => void;
2556
+ /** A callback that's called when the user clicks the 'clear' icon of a specific Chip in MultiFilter */
2557
+ onFilterDelete?: (option: FilterOption) => void;
1289
2558
  /** The text of the button to show */
1290
- label: React.ReactNode;
2559
+ label: React$1.ReactNode;
1291
2560
  /** Defines the style type of the button */
1292
2561
  styleType: StyleType;
1293
2562
  /** Defines the filter type */
@@ -1306,64 +2575,70 @@ declare type FilterProps = {
1306
2575
  isLoading?: boolean;
1307
2576
  /** Whether the Options List is Virtualized or not */
1308
2577
  isVirtualized?: boolean;
2578
+ /** If true the user can select multiple filters */
2579
+ isMulti?: boolean;
2580
+ /** The selected filters in case of MultiFilter */
2581
+ /** @TODO merge selectedItem with selectedItems in v5 */
2582
+ selectedItems?: FilterOption[];
2583
+ /** Whether the MultiFilter should have a Select All option*/
2584
+ hasSelectAllOption?: boolean;
1309
2585
  /** data-testid suffix */
1310
2586
  dataTestId?: string;
1311
2587
  };
1312
- declare type BaseColorProps = {
2588
+ type BaseColorProps = {
1313
2589
  isOpen: boolean;
1314
2590
  theme: Theme;
1315
2591
  calculatedColor: ColorShapeFromComponent;
1316
2592
  hasSelectedValue: boolean;
1317
2593
  };
1318
- declare type BackgroundColorProps = BaseColorProps & {
2594
+ type BackgroundColorProps = BaseColorProps & {
1319
2595
  styleType: StyleType;
1320
2596
  };
1321
- declare type ButtonStyleProps = Omit<BaseColorProps, 'theme'> & {
2597
+ type ButtonStyleProps = Omit<BaseColorProps, 'theme'> & {
1322
2598
  isDisabled?: boolean;
1323
2599
  styleType: StyleType;
1324
2600
  filterType: FilterType;
1325
2601
  };
1326
- declare type BorderProps = BaseColorProps & {
2602
+ type BorderProps = BaseColorProps & {
1327
2603
  styleType: StyleType;
1328
2604
  filterType: FilterType;
1329
2605
  isDivider?: boolean;
1330
2606
  state?: 'normal' | 'hover';
1331
2607
  };
1332
- declare type HoverBorderProps = BaseColorProps & {
2608
+ type HoverBorderProps = BaseColorProps & {
1333
2609
  styleType: StyleType;
1334
2610
  filterType: FilterType;
1335
2611
  };
1336
2612
 
1337
- declare type Range = {
1338
- from?: Dayjs;
1339
- to?: Dayjs;
1340
- };
1341
-
1342
- declare type DisabledDates = {
2613
+ type DisabledDates = {
1343
2614
  daysOfWeek?: number[];
1344
2615
  days?: Date[];
1345
2616
  after?: Date;
1346
2617
  before?: Date;
1347
2618
  };
1348
- declare type DatePickerProps = {
2619
+ type DateRange = {
2620
+ from: Date | undefined;
2621
+ to: Date | undefined;
2622
+ };
2623
+ type DatePickerProps = {
1349
2624
  /** This property is to define if this is a day picker or a day range picker */
1350
2625
  isRangePicker?: boolean;
1351
2626
  /** A callback to return user selection */
1352
- onChange?: (range: Range) => void;
2627
+ onChange?: (range: DateRange) => void;
1353
2628
  /** Option to disable some dates */
1354
2629
  disableDates?: DisabledDates;
1355
2630
  /** Value to define if needed an initial state or to handle it externally */
1356
- value?: {
1357
- from?: Date;
1358
- to?: Date;
1359
- };
2631
+ value: DateRange;
2632
+ /** Calendar options for DateRangePicker */
2633
+ options?: ExtraOption[];
1360
2634
  /** Props of the TextField input */
1361
- inputProps?: TextFieldProps;
2635
+ inputProps?: Omit<TextFieldProps, 'size'>;
1362
2636
  /** The format of the date displayed in the input field */
1363
2637
  dateFormatOverride?: DateFormatType;
1364
2638
  /** if the datepicker can be clear with backspace */
1365
2639
  isClearable?: boolean;
1366
2640
  /** if the datepicker's default date is today instead of placeholder text */
2641
+ /** @deprecated This prop is being deprecated and is not used as you can manipulate date from value, will be removed in the future **/
1367
2642
  isDefaultNow?: boolean;
1368
2643
  /** Style properties for the DatePicker with a filter base */
1369
2644
  filterConfig?: {
@@ -1375,28 +2650,30 @@ declare type DatePickerProps = {
1375
2650
  filterType?: FilterType;
1376
2651
  };
1377
2652
  };
1378
- declare type ExtraOption = {
2653
+ type ExtraOption = {
1379
2654
  value: string;
1380
2655
  label: string;
1381
2656
  dates: Dayjs[];
1382
2657
  };
1383
- 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' | 'DD MMM YYYY';
1384
- declare const extraOptions: ExtraOption[];
1385
- declare const DatePicker: React__default.FC<DatePickerProps & TestProps>;
2658
+ 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' | 'DD MMM YYYY';
2659
+
2660
+ declare const _default$3: React__default.NamedExoticComponent<DatePickerProps & TestProps>;
1386
2661
 
1387
- declare type DrawerMenuItem = {
2662
+ declare const CALENDAR_DEFAULT_OPTIONS: ExtraOption[];
2663
+
2664
+ type DrawerMenuItem = {
1388
2665
  name: string;
1389
2666
  url: string;
1390
2667
  state?: Record<string, any> | null;
1391
2668
  isVisible: boolean;
1392
- iconName: AcceptedIconNames$1;
2669
+ iconName: AcceptedIconNames$2;
1393
2670
  isActive?<Params extends {
1394
2671
  [K in keyof Params]?: string;
1395
2672
  }, S = LocationState>(match: match<Params> | null, location: Location<S>): boolean;
1396
2673
  options: DrawerMenuItem[];
1397
2674
  };
1398
2675
 
1399
- declare type DrawerProps = {
2676
+ type DrawerProps = {
1400
2677
  /** Defines if the drawer is expanded */
1401
2678
  isExpanded: boolean;
1402
2679
  /** Changes if the drawer is expanded */
@@ -1408,12 +2685,12 @@ declare type DrawerProps = {
1408
2685
  };
1409
2686
  declare const Drawer: React__default.FC<DrawerProps>;
1410
2687
 
1411
- declare type SharedProps = {
2688
+ type SharedProps = {
1412
2689
  /**
1413
2690
  * A function accepting a click handler and a boolean representing the current expansion state. Returns the elements containing the text and the
1414
2691
  * expand/collapse button
1415
2692
  * */
1416
- textAndControl: (x: React.ReactEventHandler, y: boolean) => React.ReactElement;
2693
+ textAndControl: (x: React$1.ReactEventHandler, y: boolean) => React$1.ReactElement;
1417
2694
  /**
1418
2695
  * The type of the component that wraps the action and content. Must be able to hold a
1419
2696
  * `data-testid` prop
@@ -1437,55 +2714,52 @@ declare type SharedProps = {
1437
2714
  * A function accepting a boolean representing the current expansion state. Returns the
1438
2715
  * collapsible/expandable content. Mutually exclusive with children.
1439
2716
  */
1440
- content?: (x: boolean) => React.ReactNode;
2717
+ content?: (x: boolean) => React$1.ReactNode;
1441
2718
  /**
1442
2719
  * A function accepting a boolean representing the current expansion state. Returns the
1443
2720
  * collapsible/expandable content. Mutually exclusive with content.
1444
2721
  */
1445
- children?: (x: boolean) => React.ReactNode;
2722
+ children?: (x: boolean) => React$1.ReactNode;
1446
2723
  } & TestProps;
1447
- declare type ExternalProps = {
2724
+ type ExternalProps = {
1448
2725
  /**
1449
2726
  * Defining this prop means that the component is controlled
1450
2727
  *
1451
2728
  * @default false
1452
2729
  */
1453
- isExpanded: boolean;
2730
+ isExpanded: true;
1454
2731
  /**
1455
2732
  * Change handler for the case when the component is controlled
1456
2733
  */
1457
- onChange: React.ReactEventHandler;
2734
+ onChange: React$1.ReactEventHandler;
1458
2735
  };
1459
- declare type InternalProps = {
2736
+ type InternalProps = {
1460
2737
  /**
1461
2738
  * Defining this prop means that the component is controlled
1462
2739
  *
1463
2740
  * @default false
1464
2741
  */
1465
- isExpanded: undefined;
2742
+ isExpanded?: never;
1466
2743
  /**
1467
2744
  * Change handler for the case when the component is controlled
1468
2745
  */
1469
- onChange: undefined;
2746
+ onChange?: never;
1470
2747
  };
1471
- declare type ExpandCollapseProps = SharedProps & (InternalProps | ExternalProps);
2748
+ type ExpandCollapseProps = SharedProps & (InternalProps | ExternalProps);
1472
2749
 
1473
2750
  declare const ExpandCollapse: (props: ExpandCollapseProps) => _emotion_react_jsx_runtime.JSX.Element;
1474
2751
 
1475
- declare type IconButtonProps = Omit<ButtonBaseProps$1, 'isIconButton' | 'iconLeft' | 'iconRight'> & {
1476
- /** Property indicating the size of the icon. Defaults to 16 */
1477
- iconSize?: number;
1478
- /** This property defines witch icon to use */
1479
- name: AcceptedIconNames;
1480
- } & TestProps & EventProps;
1481
- declare const IconButton: React__default.ForwardRefExoticComponent<Omit<ButtonBaseProps$1, "isIconButton" | "iconRight" | "iconLeft"> & {
1482
- /** Property indicating the size of the icon. Defaults to 16 */
1483
- iconSize?: number | undefined;
1484
- /** This property defines witch icon to use */
1485
- name: AcceptedIconNames;
1486
- } & TestProps & EventProps & React__default.RefAttributes<HTMLButtonElement>>;
2752
+ declare const Link: React__default.ForwardRefExoticComponent<React__default.AnchorHTMLAttributes<HTMLAnchorElement> & {
2753
+ type?: "inverted" | "primary";
2754
+ placement?: "block" | "inline";
2755
+ size?: 2 | 1 | 3;
2756
+ iconName?: components_Icon.AcceptedIconNames;
2757
+ isDisabled?: boolean;
2758
+ component?: prop_types.ReactComponentLike;
2759
+ dataTestPrefixId?: string;
2760
+ } & React__default.RefAttributes<HTMLAnchorElement>>;
1487
2761
 
1488
- declare type LabelProps = {
2762
+ type LabelProps = {
1489
2763
  /** If the label has error */
1490
2764
  hasError?: boolean;
1491
2765
  /** The label that is going to be displayed */
@@ -1494,112 +2768,118 @@ declare type LabelProps = {
1494
2768
  isRequired: boolean;
1495
2769
  /** If the label must be moved to the top */
1496
2770
  isAnimated?: boolean;
2771
+ /** HTML <label/>'s for prop */
1497
2772
  htmlFor?: string;
1498
- size?: string;
2773
+ /** The size of the label */
2774
+ size?: ComponentSizes$1;
1499
2775
  };
1500
- declare const Label: React.FC<LabelProps>;
2776
+ declare const Label: React$1.FCC<LabelProps>;
1501
2777
 
1502
- declare type ListItemType = string | number | SelectOption$1 | FilterOption$1 | React__default.ReactNode;
1503
- declare type ListRowSize = 'small' | 'normal';
1504
- declare type SelectHandlerType = ((option: string) => void) | ((option: number) => void) | ((option: SelectOption$1) => void) | ((option: FilterOption$1) => void);
2778
+ type ListSelection = Set<Key>;
2779
+ type ListSelected = 'all' | Iterable<Key>;
2780
+ type ListItemType = SelectOption$1;
2781
+ type ListRowSize = ComponentSizes$1;
2782
+ type SelectHandlerType = (option: ListItemType) => void;
1505
2783
 
1506
- declare type ListProps = {
1507
- /** Data for the list */
1508
- data: ListItemType[];
1509
- /** Size of the list's row (height of ListItem Component) */
1510
- rowSize: ListRowSize;
2784
+ type ListProps = {
2785
+ /** The label that describes the List, useful to determine aria and accessibility of the list */
2786
+ label: string;
1511
2787
  /** Width of the list */
1512
2788
  width?: number;
1513
- /** Height of the list */
2789
+ /** Height of the list when you use it as virtualized */
1514
2790
  height?: number;
1515
2791
  /** Virtualized list option */
1516
2792
  isVirtualized?: boolean;
1517
- /** Selected Item */
1518
- selectedItem?: ListItemType;
1519
- /** Default option. Renders on top of the list, highlighted - for Filter component */
1520
- defaultOption?: ListItemType;
1521
- /** Search Term to be highlighted in list items */
1522
- searchTerm?: string;
1523
- /** Option Click handler for SelectOption[] data case */
1524
- handleOptionClick?: SelectHandlerType;
1525
- /** Defines if this is searchable list or not **/
1526
- isSearchable?: boolean;
1527
- } & TestProps$1;
1528
- declare const _default$1: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1529
- /** Data for the list */
1530
- data: ListItemType[];
1531
- /** Size of the list's row (height of ListItem Component) */
1532
- rowSize: ListRowSize;
2793
+ /** Callback when an item gets a change */
2794
+ onSelectionChange?: (keys: ListSelection) => unknown;
2795
+ /** Is the actual `key` of the item e.g `<Item key={'item_1'} />` is the `item_1` */
2796
+ disabledKeys?: ListSelected;
2797
+ /** Is the actual `key` of the item e.g `<Item key={'item_1'} />` is the `item_1` */
2798
+ selectedKeys?: ListSelected;
2799
+ } & Omit<AriaListBoxProps<SelectOption>, 'selectionMode' | 'onSelectionChange' | 'children'> & TestProps$1 & Omit<React__default.InputHTMLAttributes<HTMLUListElement>, 'onChange'>;
2800
+ /**
2801
+ * This is the List component that uses the Window underneath for every UL.
2802
+ * Because this component uses the React-Aria abstraction for the List it will also contain the Option and ListBoxSection below
2803
+ * as a masked layer to the actual subcomponents
2804
+ * */
2805
+ declare const List: React__default.ForwardRefExoticComponent<{
2806
+ /** The label that describes the List, useful to determine aria and accessibility of the list */
2807
+ label: string;
1533
2808
  /** Width of the list */
1534
- width?: number | undefined;
1535
- /** Height of the list */
1536
- height?: number | undefined;
2809
+ width?: number;
2810
+ /** Height of the list when you use it as virtualized */
2811
+ height?: number;
1537
2812
  /** Virtualized list option */
1538
- isVirtualized?: boolean | undefined;
1539
- /** Selected Item */
1540
- selectedItem?: ListItemType;
1541
- /** Default option. Renders on top of the list, highlighted - for Filter component */
1542
- defaultOption?: ListItemType;
1543
- /** Search Term to be highlighted in list items */
1544
- searchTerm?: string | undefined;
1545
- /** Option Click handler for SelectOption[] data case */
1546
- handleOptionClick?: SelectHandlerType | undefined;
1547
- /** Defines if this is searchable list or not **/
1548
- isSearchable?: boolean | undefined;
1549
- } & TestProps$1 & React__default.RefAttributes<HTMLDivElement>>>;
1550
-
1551
- declare const loaderTypes: readonly ["dots", "indeterminate", "spinner"];
1552
-
1553
- declare type LoaderType = typeof loaderTypes[number];
1554
- declare type LoaderProps = {
1555
- /** Loader type. Defaults to dots **/
1556
- type?: LoaderType;
1557
- /** The data test id if needed */
1558
- dataTestId?: string;
1559
- /** Color of the loader. Define AA color otherwise it gets Primary be default */
1560
- color?: string;
1561
- };
1562
- declare const Loader: React__default.FC<LoaderProps>;
1563
-
1564
- declare type MenuPositionAllowed = 'left' | 'right';
1565
-
1566
- declare type MenuProps = {
2813
+ isVirtualized?: boolean;
2814
+ /** Callback when an item gets a change */
2815
+ onSelectionChange?: (keys: ListSelection) => unknown;
2816
+ /** Is the actual `key` of the item e.g `<Item key={'item_1'} />` is the `item_1` */
2817
+ disabledKeys?: ListSelected;
2818
+ /** Is the actual `key` of the item e.g `<Item key={'item_1'} />` is the `item_1` */
2819
+ selectedKeys?: ListSelected;
2820
+ } & Omit<AriaListBoxProps<SelectOption>, "children" | "selectionMode" | "onSelectionChange"> & TestProps$1 & Omit<React__default.InputHTMLAttributes<HTMLUListElement>, "onChange"> & React__default.RefAttributes<HTMLUListElement>>;
2821
+
2822
+ type ListItemTextProps = {
2823
+ description?: string | JSX.Element;
2824
+ };
2825
+ declare const ListItemText: FC<React__default.PropsWithChildren<ListItemTextProps>>;
2826
+
2827
+ type ListItemActionProps = NonNullable<unknown>;
2828
+ declare const ListItemAction: FCC<ListItemActionProps>;
2829
+
2830
+ type ListItemProps = {
2831
+ /** A string representation of the item's unique key. */
2832
+ key?: string | number;
2833
+ /** A string representation of the item's contents, used when contents are something more than just text to determine labels etc. */
2834
+ textValue?: string;
2835
+ /** @default normal */
2836
+ rowSize?: ListRowSize;
2837
+ };
2838
+ declare const ListItem: React__default.FCC<ListItemProps>;
2839
+
2840
+ type ListSectionProps = {
2841
+ /** Rendered contents of the section, e.g. a header. */
2842
+ title: ReactNode;
2843
+ /** An accessibility label for the section. */
2844
+ 'aria-label'?: string;
2845
+ /** @default normal */
2846
+ rowSize?: ListRowSize;
2847
+ } & SectionProps<unknown>;
2848
+ declare const ListSection: React__default.FCC<ListSectionProps>;
2849
+
2850
+ type MenuPositionAllowed = 'left' | 'right';
2851
+
2852
+ type MenuProps = {
1567
2853
  /** the color of the button based on our colors eg. red-500 */
1568
2854
  color?: string;
1569
2855
  /** Items that are being declared as menu options */
1570
2856
  items?: string[];
1571
- /** This property define the size of the button. Defaults to 'md' */
1572
- size?: 'lg' | 'md' | 'sm';
1573
- /** Property indicating if the component is filled with a color based on the type */
1574
- isFilled?: boolean;
1575
2857
  /** Returns the items selected on the menu */
1576
- selectedItem?: string | null;
2858
+ selectedItem?: string | number | null;
1577
2859
  /** A callback that is being triggered when an items has been clicked */
1578
- onSelect: (option: string) => void;
2860
+ onSelect: (option: string | number) => void;
1579
2861
  /** The text of the button to show - defaults to "More" */
1580
- buttonText: React.ReactNode;
2862
+ buttonText: React$1.ReactNode;
1581
2863
  /** Define if the button is in disabled state */
1582
2864
  isDisabled?: boolean;
1583
2865
  /** Menu position when open */
1584
2866
  menuPosition?: MenuPositionAllowed;
1585
2867
  /** The type of the button - defaults to "primary" */
1586
- buttonType?: AcceptedColorComponentTypes$1;
2868
+ buttonType?: ButtonTypes$1;
1587
2869
  /** The name of the icon on the right area of menu button */
1588
2870
  rightIconName?: AcceptedIconNames;
1589
2871
  /** The name of the icon on the left area of menu button */
1590
2872
  leftIconName?: AcceptedIconNames;
1591
- /** The size of the icon on the menu button */
1592
- iconSize?: number;
1593
2873
  /** 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 */
1594
2874
  avatar?: {
1595
2875
  src: string;
1596
2876
  letter: string;
1597
2877
  color?: AvatarColors$1;
1598
2878
  };
1599
- } & TestProps & EventProps$1;
1600
- declare const Menu: React.FC<MenuProps>;
2879
+ } & TestProps & EventProps;
2880
+ declare const Menu: React$1.FC<MenuProps>;
1601
2881
 
1602
- declare type ModalContentProps = {
2882
+ type ModalContentProps = {
1603
2883
  /** The label of the modal. */
1604
2884
  label?: string;
1605
2885
  /** The heading of the modal. */
@@ -1618,7 +2898,7 @@ declare type ModalContentProps = {
1618
2898
  dataTestId?: TestId;
1619
2899
  };
1620
2900
 
1621
- declare type ModalProps = {
2901
+ type ModalProps = {
1622
2902
  /** If true, the modal is open. Defaults to false. */
1623
2903
  isOpen: boolean;
1624
2904
  /** Callback fired when the component requests to be closed. */
@@ -1630,107 +2910,92 @@ declare type ModalProps = {
1630
2910
  /** If false, the content won't have any padding */
1631
2911
  isContentPadded?: boolean;
1632
2912
  };
1633
- declare const Modal: React__default.FC<ModalProps>;
2913
+ declare const Modal: React__default.FCC<ModalProps>;
1634
2914
 
1635
- declare type NotificationTypes = 'success' | 'error' | 'info' | 'warning';
1636
- declare type NotificationVariants = 'inline' | 'banner';
1637
- declare type NotificationStyleType = 'elevated' | 'outlined';
2915
+ type NotificationTypes = 'success' | 'error' | 'info' | 'warning';
2916
+ type NotificationVariants = 'inline' | 'banner';
2917
+ type NotificationStyleType = 'elevated' | 'outlined';
2918
+ type NotificationActions = {
2919
+ /** The primary call-to-action label of the Notification */
2920
+ primaryCTALabel?: string;
2921
+ /** The primary call-to-action of the Notification */
2922
+ primaryCTA?: () => void;
2923
+ /** The secondary call-to-action label of the Notification */
2924
+ secondaryCTALabel?: string;
2925
+ /** The secondary call-to-action of the Notification */
2926
+ secondaryCTA?: () => void;
2927
+ };
1638
2928
 
1639
- declare type InlineNotificationProps = {
2929
+ type InlineNotificationProps = {
1640
2930
  /** Show notification icon based on the type */
1641
2931
  hasIcon?: boolean;
1642
2932
  /** The informative message of the Notification */
1643
- message: string | React.ReactNode;
2933
+ message: string | React$1.ReactNode;
1644
2934
  /** The type of the Notification */
1645
2935
  type: NotificationTypes;
1646
2936
  /** The style type of the Notification. Defaults to elevated */
1647
2937
  styleType?: NotificationStyleType;
1648
- /** The primary call-to-action label of the Notification */
1649
- primaryCTALabel?: string;
1650
- /** The primary call-to-action of the Notification */
1651
- primaryCTA?: () => void;
1652
2938
  /** The closing call-to-action of the Notification */
1653
2939
  closeCTA?: () => void;
1654
2940
  /** The data test id if needed */
1655
2941
  dataTestId?: TestId;
1656
- };
1657
- declare const InlineNotification: React.FC<InlineNotificationProps>;
2942
+ } & Pick<NotificationActions, 'primaryCTALabel' | 'primaryCTA'>;
2943
+ declare const InlineNotification: React$1.FC<InlineNotificationProps>;
1658
2944
 
1659
- declare type NotificationsContainerPositions = 'top-right' | 'top-left' | 'bottom-left' | 'bottom-right';
1660
- declare type NotificationsContainerProps = {
2945
+ type NotificationsContainerPositions = 'top-right' | 'top-left' | 'bottom-left' | 'bottom-right';
2946
+ type NotificationsContainerProps = {
1661
2947
  /** Notifications Container position */
1662
2948
  position: NotificationsContainerPositions;
1663
- children: ReactNode;
1664
2949
  parent?: HTMLElement | null;
1665
2950
  };
1666
- declare const NotificationsContainer: React__default.FC<NotificationsContainerProps>;
2951
+ declare const NotificationsContainer: React__default.FCC<NotificationsContainerProps>;
1667
2952
 
1668
- declare type NotificationVisualProps = {
2953
+ type NotificationVisualProps = {
1669
2954
  /** The message heading of the Notification */
1670
2955
  title: string | undefined;
1671
- /** The primary call-to-action label of the Notification */
1672
- primaryCTALabel: string | undefined;
1673
- /** The primary call-to-action of the Notification */
1674
- primaryCTA: (() => void) | undefined;
1675
- /** The secondary call-to-action label of the Notification */
1676
- secondaryCTALabel: string | undefined;
1677
- /** The secondary call-to-action of the Notification */
1678
- secondaryCTA: (() => void) | undefined;
1679
2956
  /** The description of the Notification (only for toast) */
1680
2957
  description: string | undefined;
1681
2958
  /** The data test id if needed */
1682
2959
  dataTestId?: TestId;
1683
- };
1684
- declare const NotificationVisual: React.FC<NotificationVisualProps>;
2960
+ } & NotificationActions;
2961
+ declare const NotificationVisual: React$1.FCC<NotificationVisualProps>;
1685
2962
 
1686
- declare type BannerProps = {
2963
+ type BannerProps = {
1687
2964
  /** Show notification icon based on the type */
1688
2965
  hasIcon?: boolean;
1689
2966
  /** The title (message heading) of the Notification */
1690
2967
  title: string;
1691
2968
  /** The informative message of the Notification */
1692
- message: string | React.ReactNode;
2969
+ message: string | React$1.ReactNode;
1693
2970
  /** The type of the Notification */
1694
2971
  type: NotificationTypes;
1695
2972
  /** The style type of the Notification. Defaults to elevated */
1696
2973
  styleType?: NotificationStyleType;
1697
- /** The primary call-to-action label of the Notification */
1698
- primaryCTALabel?: string;
1699
- /** The primary call-to-action of the Notification */
1700
- primaryCTA?: () => void;
1701
2974
  /** The closing call-to-action of the Notification */
1702
2975
  closeCTA?: () => void;
1703
2976
  /** The data test id if needed */
1704
2977
  dataTestId?: TestId;
1705
- };
1706
- declare const Banner: React.FC<BannerProps>;
2978
+ } & Pick<NotificationActions, 'primaryCTALabel' | 'primaryCTA'>;
2979
+ declare const Banner: React$1.FCC<BannerProps>;
1707
2980
 
1708
- declare type SnackbarProps = {
2981
+ type SnackbarProps = {
1709
2982
  /** The informative message of the Toast */
1710
2983
  message: string;
1711
2984
  /** The type of the Notification */
1712
2985
  type: NotificationTypes;
1713
2986
  /** The style type of the Notification. Defaults to elevated */
1714
2987
  styleType?: NotificationStyleType;
1715
- /** The primary call-to-action label of the Notification */
1716
- primaryCTALabel: string | undefined;
1717
- /** The primary call-to-action of the Notification */
1718
- primaryCTA: (() => void) | undefined;
1719
- /** The secondary call-to-action label of the Notification */
1720
- secondaryCTALabel: string | undefined;
1721
- /** The secondary call-to-action of the Notification */
1722
- secondaryCTA: (() => void) | undefined;
1723
2988
  /** The description of the Notification (only for toast) */
1724
2989
  description: string | undefined;
1725
2990
  /** The closing call-to-action of the Toast */
1726
2991
  closeCTA: (() => void) | undefined;
1727
2992
  /** The data test id if needed */
1728
2993
  dataTestId?: TestId;
1729
- };
1730
- declare const Snackbar: React.FC<SnackbarProps>;
2994
+ } & NotificationActions;
2995
+ declare const Snackbar: React$1.FCC<SnackbarProps>;
1731
2996
 
1732
- declare type AnchorType = 'bottom' | 'left' | 'right' | 'top';
1733
- declare type OverlayProps = {
2997
+ type AnchorType = 'bottom' | 'left' | 'right' | 'top';
2998
+ type OverlayProps = {
1734
2999
  /** If true, the overlay is open.*/
1735
3000
  isOpen: boolean;
1736
3001
  /** Callback fired when the component requests to be closed. */
@@ -1742,9 +3007,9 @@ declare type OverlayProps = {
1742
3007
  /** The data test id if needed */
1743
3008
  dataTestId?: TestId$1;
1744
3009
  };
1745
- declare const Overlay: React__default.ForwardRefExoticComponent<Pick<React__default.PropsWithChildren<OverlayProps & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">>>, "children" | "onChange" | "color" | "value" | "type" | "download" | "name" | "onClick" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "onBlur" | "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" | "content" | "height" | "width" | "start" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "useMap" | "wmode" | "wrap" | keyof OverlayProps> & React__default.RefAttributes<HTMLDivElement>>;
3010
+ declare const Overlay: React__default.ForwardRefExoticComponent<Omit<React__default.PropsWithChildren<OverlayProps & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">>>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1746
3011
 
1747
- declare type PaginationProps = {
3012
+ type PaginationProps = {
1748
3013
  /** The current page you are on if you need to control it, defaults to 1 **/
1749
3014
  page: number;
1750
3015
  /** The total pages **/
@@ -1760,55 +3025,82 @@ declare type PaginationProps = {
1760
3025
  };
1761
3026
  declare const Pagination: ({ page, count, onChange, isEnhancedPaginationVisible, isNextPageDisabled, isPrevPageDisabled, }: PaginationProps) => _emotion_react_jsx_runtime.JSX.Element;
1762
3027
 
1763
- declare type RadioProps = {
1764
- /** The value of the radio input. If no value is passed the default value, according to spec, is "on"
1765
- * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#value
1766
- *
1767
- * @default on
1768
- * */
1769
- value?: string | number;
1770
- /** Whether the radio input is selected or not. Defining this prop means the radio input is controlled */
1771
- isChecked?: boolean;
1772
- /** The onChange event handler for the radio input */
1773
- onChange?: React.ReactEventHandler;
1774
- /** The name of the radio input, in case you want to manually form a radio group */
1775
- name?: string;
1776
- /** Whether the radio input is disabled
1777
- *
1778
- * @default false
1779
- * */
1780
- isDisabled?: boolean;
1781
- /** ID property of the radio input */
1782
- id?: string;
1783
- /** Whether the radio input is required to be selected in the context of a form
1784
- *
1785
- * @default false
1786
- * */
1787
- isRequired?: boolean;
1788
- /** Whether the radio input is filled or outlined
1789
- *
1790
- * @default true
1791
- * */
1792
- isFilled?: boolean;
1793
- dataTestId?: TestId;
3028
+ type LabelConfig = {
3029
+ /** Sets the label's placement */
3030
+ placement?: 'left' | 'right';
3031
+ /** Sets the label's size */
3032
+ size?: 'normal' | 'large';
3033
+ /** Helptext rendered under the label */
3034
+ helpText?: string;
3035
+ /** Styles that will apply on the container that holds the radio input and the label */
3036
+ sx?: CSSObject$1;
1794
3037
  };
1795
- declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
1796
3038
 
1797
- declare type RadioGroupProps = {
1798
- /** A list of Radio elements */
1799
- children: React.ReactNode;
1800
- /** The onChange event handler for the radio group */
1801
- onChange?: React.ReactEventHandler;
1802
- /** The current value of the radio group. Defining this prop means the radio group is controlled */
1803
- value?: string | number;
1804
- /** A default value for the radio group. Defining this prop means the radio group is not controlled */
1805
- defaultValue?: string | number;
1806
- /** A name value for all the radio inputs of the radio group */
1807
- name?: string;
1808
- };
1809
- declare function RadioGroup(props: RadioGroupProps): _emotion_react_jsx_runtime.JSX.Element;
3039
+ type Props = Partial<RadioAria> & {
3040
+ /** Id property of the radio input */
3041
+ id?: string;
3042
+ /** The value of the radio input */
3043
+ value: string;
3044
+ /** Label configuration; includes placement, size, helpText and sx */
3045
+ labelConfig?: LabelConfig;
3046
+ children?: React$1.ReactNode;
3047
+ } & TestProps$1;
3048
+ declare const Radio: React$1.ForwardRefExoticComponent<Partial<RadioAria> & {
3049
+ /** Id property of the radio input */
3050
+ id?: string;
3051
+ /** The value of the radio input */
3052
+ value: string;
3053
+ /** Label configuration; includes placement, size, helpText and sx */
3054
+ labelConfig?: LabelConfig;
3055
+ children?: React$1.ReactNode;
3056
+ } & TestProps$1 & React$1.RefAttributes<HTMLInputElement>>;
3057
+
3058
+ declare const RadioGroup: React$1.ForwardRefExoticComponent<{
3059
+ /** The current selected value */
3060
+ value?: string;
3061
+ /** Callback that is called when the value changes. */
3062
+ onChange?: (value: string) => void;
3063
+ /** Whether the whole RadioGroup is disabled */
3064
+ isDisabled?: boolean;
3065
+ /** Styles that will apply on the RadioGroup container */
3066
+ sx?: CSSObject$1;
3067
+ children?: React$1.ReactNode;
3068
+ } & TestProps$1 & React$1.RefAttributes<HTMLDivElement>>;
1810
3069
 
1811
- declare type SliderProps = {
3070
+ declare const RadioContext: React__default.Context<RadioGroupState>;
3071
+ declare const useRadioGroupContent: () => RadioGroupState;
3072
+
3073
+ type SwitchProps = Partial<SwitchAria> & {
3074
+ /** Id property of the radio input */
3075
+ id?: string;
3076
+ /** The value of the radio input */
3077
+ value?: string;
3078
+ /** Callback for when the element's selection state changes. */
3079
+ onChange?: (isSelected: boolean) => void;
3080
+ /** Label configuration; includes placement, size, helpText and sx */
3081
+ labelConfig?: LabelConfig$1;
3082
+ children?: React$1.ReactNode;
3083
+ } & TestProps$1;
3084
+ declare const Switch: React$1.ForwardRefExoticComponent<Partial<SwitchAria> & {
3085
+ /** Id property of the radio input */
3086
+ id?: string;
3087
+ /** The value of the radio input */
3088
+ value?: string;
3089
+ /** Callback for when the element's selection state changes. */
3090
+ onChange?: (isSelected: boolean) => void;
3091
+ /** Label configuration; includes placement, size, helpText and sx */
3092
+ labelConfig?: LabelConfig$1;
3093
+ children?: React$1.ReactNode;
3094
+ } & TestProps$1 & React$1.RefAttributes<HTMLInputElement>>;
3095
+
3096
+ declare const ProgressIndicator: React__default.ForwardRefExoticComponent<{
3097
+ type?: "linear" | "circular";
3098
+ value?: number;
3099
+ status?: "error" | "normal";
3100
+ isBlock?: boolean;
3101
+ } & TestProps & React__default.RefAttributes<HTMLDivElement>>;
3102
+
3103
+ type SliderProps = {
1812
3104
  /** Determines if the Slider is disabled or not */
1813
3105
  isDisabled?: boolean;
1814
3106
  /** Determines if the Slider will show increments along its track */
@@ -1827,65 +3119,25 @@ declare const MIN = 0;
1827
3119
  declare const MAX = 100;
1828
3120
  declare const Slider: React__default.FC<SliderProps & TestProps>;
1829
3121
 
1830
- declare type SwitchProps = {
1831
- label?: string;
1832
- labelPlacement?: 'left' | 'right';
1833
- isChecked: boolean;
1834
- onChange: (checked?: boolean, event?: React__default.SyntheticEvent<MouseEvent | KeyboardEvent> | MouseEvent) => void;
1835
- isDisabled?: boolean;
1836
- } & TestProps;
1837
- declare const Switch: React__default.FC<SwitchProps>;
1838
-
1839
- declare type TooltipSize = 'large' | 'medium' | 'small';
1840
- declare type TooltipPlacement = 'top' | 'right' | 'bottom' | 'left';
1841
- declare type TooltipProps = {
1842
- /** The plain text to show inside the tooltip */
1843
- content: React__default.ReactNode;
1844
- /** The placement where the tooltip will show */
1845
- /** @default top */
1846
- placement?: TooltipPlacement;
1847
- /** Whether the tooltip is transparent or not - for cases
1848
- * where the content is a custom component
1849
- */
1850
- /** @default false */
1851
- isTransparent?: boolean;
1852
- /** The unique id in order to link content and tooltip */
1853
- /** @default uuid */
1854
- id?: string;
1855
- /** The size of the tooltip to define different style */
1856
- /** @default medium */
1857
- size?: TooltipSize;
1858
- /** Determines if the tooltip is interactive, i.e. it can be
1859
- * hovered over or clicked without hiding */
1860
- /** @default false */
1861
- isInteractive?: boolean;
1862
- /** Number in ms to debounce the internal onMouseMove handler
1863
- * which determines when an isInteractive tooltip should hide. */
1864
- /** @default 100 */
1865
- delay?: number;
1866
- children: React__default.ReactElement;
1867
- };
1868
- declare const Tooltip: React__default.FC<TooltipProps>;
1869
-
1870
- declare type SortingOrder = 'asc' | 'desc';
1871
- declare type ExtendedColumn = {
3122
+ type SortingOrder = 'asc' | 'desc';
3123
+ type ExtendedColumn = {
1872
3124
  content: {
1873
3125
  label: string;
1874
3126
  sortingKey: string;
1875
3127
  };
1876
3128
  tooltip?: {
1877
3129
  content: string;
1878
- placement?: TooltipPlacement;
3130
+ placement?: TooltipPlacement$1;
1879
3131
  };
1880
3132
  isSortable?: boolean;
1881
3133
  };
1882
- declare type Sort = {
3134
+ type Sort = {
1883
3135
  column: string;
1884
3136
  order: SortingOrder;
1885
3137
  };
1886
3138
 
1887
- declare type ContentComponent<T> = (data: Cell<T>) => React__default.Component | JSX.Element;
1888
- declare type Cell<T> = {
3139
+ type ContentComponent<T> = (data: Cell<T>) => React__default.ReactNode;
3140
+ type Cell<T> = {
1889
3141
  content: number | string | ContentComponent<T>;
1890
3142
  tooltipContent?: string;
1891
3143
  hasTruncatedTooltip?: boolean;
@@ -1894,19 +3146,19 @@ declare type Cell<T> = {
1894
3146
  align?: 'left' | 'right';
1895
3147
  widthPercentage?: number;
1896
3148
  };
1897
- declare type Row<T> = {
3149
+ type Row<T> = {
1898
3150
  id: string | number;
1899
3151
  cells: Cell<T>[];
1900
3152
  expanded?: ({ row, isSelected, isExpanded, }: {
1901
3153
  row: Row<T>;
1902
3154
  isSelected: boolean;
1903
3155
  isExpanded: boolean;
1904
- }) => React__default.Component | JSX.Element;
3156
+ }) => React__default.ReactNode;
1905
3157
  rowSpan?: number;
1906
3158
  };
1907
- declare type Selection = string | number;
1908
- declare type TableType = 'normal' | 'nested-header';
1909
- declare type TableProps<T> = {
3159
+ type Selection = string | number;
3160
+ type TableType = 'normal' | 'nested-header';
3161
+ type TableProps<T> = {
1910
3162
  /** The data for the table that needs to display. */
1911
3163
  data: Row<T>[];
1912
3164
  /** An array of titles or objects to define columns. */
@@ -1928,9 +3180,9 @@ declare type TableProps<T> = {
1928
3180
  /** If provided sort will only work with this option (asc or desc only). By default supports bidirectional sort*/
1929
3181
  sortDir?: SortingOrder;
1930
3182
  /** Top left text on the table - showing a counter, text etc. */
1931
- topLeftText?: string | JSX.Element;
3183
+ topLeftText?: string | React__default.ReactElement;
1932
3184
  /** Top right area to define a custom component for buttons or other usage. */
1933
- topRightArea?: (data: Row<T>[], selectionData?: Selection[]) => React__default.Component | JSX.Element;
3185
+ topRightArea?: (data: Row<T>[], selectionData?: Selection[]) => React__default.ReactNode;
1934
3186
  /** Action cell width for Table with Expandable Rows (in %)*/
1935
3187
  actionWidth?: number;
1936
3188
  /** If true, table's expandable rows will be expanded on initial render. */
@@ -1939,112 +3191,116 @@ declare type TableProps<T> = {
1939
3191
  dataTestIdPrefix?: string;
1940
3192
  };
1941
3193
  declare function Table<T>({ data, columns, type, hasFixedHeader, hasFixedCTA, onCheck, isPadded, onSort, initialSort, sortDir, topLeftText, topRightArea, actionWidth, isInitiallyExpanded, dataTestIdPrefix, }: TableProps<T>): _emotion_react_jsx_runtime.JSX.Element;
1942
- declare const _default: React__default.MemoExoticComponent<typeof Table>;
3194
+ declare const _default$2: React__default.MemoExoticComponent<typeof Table>;
1943
3195
 
1944
- declare type SearchFieldProps = {
3196
+ type TagColors = 'neutral' | 'blue' | 'red' | 'purple' | 'teal';
3197
+ type TagSizes = 'normal' | 'small';
3198
+ type TagProps = {
3199
+ /** The color of the Tag
3200
+ * @default 'neutral'
3201
+ * */
3202
+ color?: TagColors;
3203
+ /** The size of the Tag
3204
+ * @default 'normal'
3205
+ * */
3206
+ size?: TagSizes;
3207
+ /** The name of the leading icon. Applies only to read-only Tag */
3208
+ iconName?: AcceptedIconNames$1;
3209
+ /** If provided, the Tag becomes selectable. Callback for when the Tag is clicked */
3210
+ onSelect?: () => void;
3211
+ /** Whether the selectable Tag is selected (active state) */
3212
+ isSelected?: boolean;
3213
+ /** If provided, the Tag becomes clearable. Callback for when the clear icon of the Tag is clicked */
3214
+ onClear?: () => void;
3215
+ } & TestProps$1;
3216
+
3217
+ declare const Tag: React__default.ForwardRefExoticComponent<Omit<Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">> & {
3218
+ color?: TagColors;
3219
+ size?: TagSizes;
3220
+ iconName?: AcceptedIconNames;
3221
+ onSelect?: () => void;
3222
+ isSelected?: boolean;
3223
+ onClear?: () => void;
3224
+ } & TestProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
3225
+
3226
+ type SearchFieldProps = {
1945
3227
  /** A callback that's called when the user clicks the 'clear' icon */
1946
3228
  onClear: () => void;
1947
- } & TextFieldProps$1 & TestProps;
1948
- declare const SearchField: React__default.ForwardRefExoticComponent<{
3229
+ } & Omit<TextFieldProps$1, 'size'> & TestProps;
3230
+ declare const _default$1: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1949
3231
  /** A callback that's called when the user clicks the 'clear' icon */
1950
3232
  onClear: () => void;
1951
- } & {
1952
- id?: string | undefined;
1953
- onBlur?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1954
- onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1955
- onFocus?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1956
- onKeyDown?: React__default.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
1957
- onInput?: ((event: any) => void) | undefined;
1958
- isReadOnly?: boolean | undefined;
1959
- hasMinWidthCompat?: boolean | undefined;
1960
- } & {
1961
- label?: string | undefined;
1962
- placeholder?: string | undefined;
1963
- leftIcon?: JSX.Element | AcceptedIconNames | null | undefined;
1964
- rightIcon?: JSX.Element | AcceptedIconNames | null | undefined;
1965
- isRequired?: boolean | undefined;
1966
- isDisabled?: boolean | undefined;
1967
- isLocked?: boolean | undefined;
1968
- isDark?: boolean | undefined;
1969
- hintMsg?: React__default.ReactNode;
1970
- value?: string | number | undefined;
1971
- isLean?: boolean | undefined;
1972
- styleType?: formFieldStyles | undefined;
1973
- size?: "md" | "sm" | undefined;
1974
- status?: "error" | "success" | "normal" | "hint" | undefined;
1975
- sx?: {
1976
- wrapper?: _emotion_serialize.CSSObject | undefined;
1977
- textField?: _emotion_serialize.CSSObject | undefined;
1978
- input?: _emotion_serialize.CSSObject | undefined;
1979
- } | undefined;
1980
- hasMinWidthCompat?: boolean | undefined;
1981
- } & TestProps & Partial<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size" | "disabled" | "readOnly">> & React__default.RefAttributes<HTMLInputElement>>;
1982
-
1983
- declare type TextAreaProps = {
1984
- /** The id of the text field that will be used as for in label too */
1985
- id?: string;
3233
+ } & Omit<TextFieldProps$1, "size"> & TestProps & React__default.RefAttributes<HTMLInputElement>>>;
3234
+
3235
+ type TextInputBaseProps = {
3236
+ /** The label of the text field that will be used as a placeholder and a label */
3237
+ label: string;
1986
3238
  /** The placeholder of the input that will be used. This is shown if no label exists */
1987
3239
  placeholder?: string;
3240
+ /** The size of input */
3241
+ size?: ComponentSizes$1;
3242
+ /** An optional suffix (element or icon-name) to show to the left */
3243
+ suffix?: AcceptedIconNames$2 | React__default.ReactNode | null;
1988
3244
  /** If the text field value is required */
1989
3245
  isRequired?: boolean;
1990
3246
  /** If the text field is disabled */
1991
3247
  isDisabled?: boolean;
1992
- /** If the text area can be resized */
1993
- isResizeEnabled?: boolean;
1994
- /** Style of input field */
1995
- styleType?: formFieldStyles;
1996
- /** Error message */
1997
- hintMsg?: React.ReactNode | string;
1998
- /** The status of the button regarding the status which is in - default normal */
1999
- status?: 'success' | 'normal' | 'hint' | 'error';
2000
- /** Callback fired when the `input` is blurred. */
2001
- onBlur?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
2002
- /** Callback fired when the `input` is changed. */
2003
- onChange?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
2004
- /** Callback fired when the `input` is focused. */
2005
- onFocus?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
2006
- /** Callback fired when the `input` has a key down event. */
2007
- onKeyDown?: React.KeyboardEventHandler<HTMLTextAreaElement | HTMLInputElement>;
2008
- /** Callback fired when the `input` value typed is changed */
2009
- onInput?: React.EventHandler<any>;
3248
+ /** The status of the TextInput with an optional hint message */
3249
+ status?: {
3250
+ type: 'normal' | 'error' | 'read-only';
3251
+ hintMessage?: string;
3252
+ id?: string;
3253
+ };
3254
+ /** value of the input */
3255
+ value?: string | number;
3256
+ /** Sx prop to override specific properties */
3257
+ sx?: {
3258
+ wrapper?: CSSObject;
3259
+ textField?: CSSObject;
3260
+ input?: CSSObject;
3261
+ };
3262
+ /** Whether the Textfield should change its styles when hovered/focused etc */
3263
+ isInteractive?: boolean;
3264
+ children?: React__default.ReactNode;
2010
3265
  } & TestProps;
2011
- declare const TextArea: React.ForwardRefExoticComponent<{
3266
+
3267
+ type TextAreaProps = {
2012
3268
  /** The id of the text field that will be used as for in label too */
2013
- id?: string | undefined;
3269
+ id?: string;
3270
+ /** The value of the textarea element */
3271
+ value?: string;
2014
3272
  /** The placeholder of the input that will be used. This is shown if no label exists */
2015
- placeholder?: string | undefined;
3273
+ placeholder?: string;
2016
3274
  /** If the text field value is required */
2017
- isRequired?: boolean | undefined;
3275
+ isRequired?: boolean;
3276
+ /** Boolean to make the input readonly. Default to false. */
3277
+ isReadOnly?: boolean;
2018
3278
  /** If the text field is disabled */
2019
- isDisabled?: boolean | undefined;
3279
+ isDisabled?: boolean;
2020
3280
  /** If the text area can be resized */
2021
- isResizeEnabled?: boolean | undefined;
2022
- /** Style of input field */
2023
- styleType?: formFieldStyles | undefined;
2024
- /** Error message */
2025
- hintMsg?: React.ReactNode | string;
2026
- /** The status of the button regarding the status which is in - default normal */
2027
- status?: "error" | "success" | "normal" | "hint" | undefined;
3281
+ isResizeEnabled?: boolean;
3282
+ /** Number of maximum characters. Will be shown on the counter on the bottom right of the component */
3283
+ maxCharacters?: number;
2028
3284
  /** Callback fired when the `input` is blurred. */
2029
- onBlur?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
3285
+ onBlur?: React$1.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
2030
3286
  /** Callback fired when the `input` is changed. */
2031
- onChange?: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
3287
+ onChange?: React$1.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
2032
3288
  /** Callback fired when the `input` is focused. */
2033
- onFocus?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
3289
+ onFocus?: React$1.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
2034
3290
  /** Callback fired when the `input` has a key down event. */
2035
- onKeyDown?: React.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
3291
+ onKeyDown?: React$1.KeyboardEventHandler<HTMLTextAreaElement | HTMLInputElement>;
2036
3292
  /** Callback fired when the `input` value typed is changed */
2037
- onInput?: ((event: any) => void) | undefined;
2038
- } & TestProps & React.RefAttributes<HTMLTextAreaElement>>;
3293
+ onInput?: React$1.EventHandler<any>;
3294
+ } & Omit<React$1.HTMLProps<HTMLTextAreaElement>, 'size'> & Pick<TextInputBaseProps, 'status' | 'label'> & TestProps;
3295
+ declare const _default: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>>;
2039
3296
 
2040
- declare type ThemeProviderProps = {
3297
+ type ThemeProviderProps = {
2041
3298
  /** Theme properties to override or pass theming down to library */
2042
3299
  theme?: DeepPartial<ThemeConfig>;
2043
3300
  };
2044
- declare const globalStyles: (theme: Theme$1) => _emotion_react.SerializedStyles;
2045
- declare const ThemeProvider: React__default.FC<ThemeProviderProps>;
3301
+ declare const ThemeProvider: React$1.FCC<ThemeProviderProps>;
2046
3302
 
2047
- declare type ToastProps = {
3303
+ type ToastProps = {
2048
3304
  /** The informative message of the Toast */
2049
3305
  message: string;
2050
3306
  /** The type of the Toast, will determine the color and the icon */
@@ -2055,13 +3311,46 @@ declare type ToastProps = {
2055
3311
  closeCTA: (() => void) | undefined;
2056
3312
  /** Initialize toast as expanded */
2057
3313
  isExpanded?: boolean;
3314
+ /** If true, the Toast has a minimum-height */
3315
+ hasMinimumHeight?: boolean;
2058
3316
  /** The data test id if needed */
2059
3317
  dataTestId?: TestId;
2060
3318
  };
2061
3319
  declare const isNotificationTypes: (type: string) => type is NotificationTypes;
2062
- declare const Toast: React.FC<ToastProps>;
3320
+ declare const Toast: React$1.FCC<ToastProps>;
3321
+
3322
+ type TooltipPlacement = 'top' | 'right' | 'bottom' | 'left';
3323
+ type InteractiveTooltip = {
3324
+ isInteractive: true;
3325
+ content: React.ReactNode;
3326
+ };
3327
+ type TextTooltip = {
3328
+ isInteractive?: false;
3329
+ content: string;
3330
+ };
3331
+ type TooltipContent = InteractiveTooltip | TextTooltip;
3332
+ type TooltipProps = TooltipContent & {
3333
+ /** Whether the tooltip's style is inverted */
3334
+ /** @default false */
3335
+ isInverted?: boolean;
3336
+ /** The placement where the tooltip will show */
3337
+ /** @default top */
3338
+ placement?: TooltipPlacement;
3339
+ /** The unique id in order to link content and tooltip */
3340
+ /** @default uuid */
3341
+ id?: string;
3342
+ /** Show delay for tooltip */
3343
+ /** @default 500 */
3344
+ delayIn?: number;
3345
+ /** Hide delay for tooltip */
3346
+ /** @default 500 */
3347
+ delayOut?: number;
3348
+ children: React.ReactElement;
3349
+ };
3350
+
3351
+ declare const Tooltip: React__default.ForwardRefExoticComponent<TooltipProps & React__default.RefAttributes<HTMLDivElement>>;
2063
3352
 
2064
- declare type UserMenuProps = {
3353
+ type UserMenuProps = {
2065
3354
  items: string[];
2066
3355
  userName: string;
2067
3356
  userAvatar: {
@@ -2069,7 +3358,7 @@ declare type UserMenuProps = {
2069
3358
  letter: string;
2070
3359
  color?: AvatarColors$1;
2071
3360
  };
2072
- onSelect: (selectedItem: string) => void;
3361
+ onSelect: (selectedItem: string | number) => void;
2073
3362
  } & {
2074
3363
  isDark?: boolean;
2075
3364
  };
@@ -2101,7 +3390,7 @@ declare const TopAppBar: FC<TopAppBarProps>;
2101
3390
 
2102
3391
  declare const Filter: React__default.ForwardRefExoticComponent<FilterProps & React__default.RefAttributes<HTMLButtonElement>>;
2103
3392
 
2104
- declare type TruncatedContentProps = {
3393
+ type TruncatedContentProps = {
2105
3394
  /** The content of the tooltip */
2106
3395
  tooltipContent: string | undefined;
2107
3396
  /** Flag for overriding other settings to always show the tooltip */
@@ -2109,10 +3398,10 @@ declare type TruncatedContentProps = {
2109
3398
  /** The placement of the tooltip */
2110
3399
  placement?: 'top' | 'bottom' | 'right' | 'left';
2111
3400
  };
2112
- declare const TruncatedContent: React__default.FC<TruncatedContentProps>;
3401
+ declare const TruncatedContent: React__default.FCC<TruncatedContentProps>;
2113
3402
 
2114
3403
  declare const useTheme: () => _emotion_react.Theme;
2115
3404
 
2116
3405
  declare const useEscape: (onEscape: () => void) => void;
2117
3406
 
2118
- export { AcceptedColorComponentTypes, AcceptedIconNames, AnchorType, Avatar, AvatarColors, AvatarProps, AvatarSizes, AvatarStack, BackgroundColorProps, Banner, BannerProps, BarChart, BaseColorProps, BorderProps, Breadcrumb, BreadcrumbProps, Button, ButtonProps, ButtonStyleProps, Card, CardProps, Cell, CheckBox, CheckboxProps, Chip, ChipBaseProps, ChipProps, ContentComponent, DateFormatType, DatePicker, DatePickerProps, DisabledDates, DonutChart, Drawer, DrawerMenuItem, DrawerProps, Elevation, ExpandCollapse, ExpandCollapseProps, ExtendedColumn, ExternalProps, ExtraOption, Filter, FilterOption, FilterProps, FilterType, HoverBorderProps, INTERACTIVE, Icon, IconButton, IconButtonProps, IconProps, InlineNotification, InlineNotificationProps, InternalProps, Label, LabelProps, LineChart, _default$1 as List, ListItemType, ListProps, ListRowSize, Loader, LoaderProps, LoaderType, MAX, MIN, Menu, MenuProps, Modal, NotificationStyleType, NotificationTypes, NotificationVariants, NotificationVisual, NotificationVisualProps, NotificationsContainer, NotificationsContainerPositions, NotificationsContainerProps, Overlay, OverlayProps, Overrides, OwnProps, Pagination, PaginationProps, Palette, READ_ONLY, Radio, RadioGroup, RadioGroupProps, RadioProps, Row, STEP_WITH_INCREMENTS, SearchField, SearchFieldProps, Select, SelectHandlerType, SelectOption, SelectOptionValues, SelectProps, Selection, SharedProps, Slider, SliderProps, Snackbar, SnackbarProps, Sort, SortingOrder, Spacing, StyleType, Switch, SwitchProps, _default as Table, TableProps, TableType, TextArea, TextAreaProps, TextField, TextFieldProps, Theme, ThemeProvider, ThemeProviderProps, Toast, ToastProps, Tooltip, TooltipPlacement, TooltipProps, TooltipSize, TopAppBarProps, TopAppBar as TopNavBar, TruncatedContent, TruncatedContentProps, Typography, elevation_d as elevation, extraOptions, globalStyles, isNotificationTypes, onClickProp, overrides_d as overrides, palette_d as palette, queriesKeys, queriesSizes, spacing_d as spacing, styleType, defaultTheme as themeConfig, functions_d as themeFunctions, typography_d as typography, useBreakpoints, useEscape, useTheme };
3407
+ export { AcceptedColorComponentTypes, AcceptedIconNames, AnchorType, Avatar, AvatarColors, AvatarProps, AvatarSizes, AvatarStack, BackgroundColorProps, Banner, BannerProps, BarChart, BaseColorProps, BorderProps, Breadcrumb, Button, ButtonProps, ButtonStyleProps, CALENDAR_DEFAULT_OPTIONS, Card, CardProps, Cell, CheckBox, CheckboxProps, Chip, ChipBaseProps, ChipProps, ContentComponent, DateFormatType, _default$3 as DatePicker, DatePickerProps, DateRange, DisabledDates, DonutChart, Drawer, DrawerMenuItem, DrawerProps, Elevation, ExpandCollapse, ExpandCollapseProps, ExtendedColumn, ExternalProps, ExtraOption, Filter, FilterOption, FilterProps, FilterType, HoverBorderProps, INTERACTIVE, Icon, IconButton, IconButtonProps, IconButtonShape, IconProps, InlineNotification, InlineNotificationProps, InputProps$1 as InputProps, InteractiveTooltip, InternalProps, Label, LabelProps, LineChart, Link, List, ListItem, ListItemAction, ListItemText, ListItemType, ListProps, ListRowSize, ListSection, ListSelected, ListSelection, MAX, MIN, Menu, MenuProps, Modal, MultiSelectProps, NotificationActions, NotificationStyleType, NotificationTypes, NotificationVariants, NotificationVisual, NotificationVisualProps, NotificationsContainer, NotificationsContainerPositions, NotificationsContainerProps, Overlay, OverlayProps, Overrides, OwnProps, Pagination, PaginationProps, Palette, ProgressIndicator, Props, READ_ONLY, Radio, RadioContext, RadioGroup, Row, STEP_WITH_INCREMENTS, _default$1 as SearchField, SearchFieldProps, _default$5 as Select, SelectHandlerType, SelectOption, SelectOptionBase, SelectOptionValues, SelectProps, Selection, SharedProps, SingleSelectProps, Slider, SliderProps, Snackbar, SnackbarProps, Sort, SortingOrder, Spacing, _default$4 as StatefulSelect, StyleType, Switch, SwitchProps, _default$2 as Table, TableProps, TableType, Tag, TagColors, TagProps, TagSizes, _default as TextArea, TextAreaProps, _default$6 as TextField, TextFieldProps, TextTooltip, Theme, ThemeProvider, ThemeProviderProps, Toast, ToastProps, Tooltip, TooltipContent, TooltipPlacement, TooltipProps, TopAppBarProps, TopAppBar as TopNavBar, TruncatedContent, TruncatedContentProps, Typography, elevation_d as elevation, emptyValue, isNotificationTypes, overrides_d as overrides, palette_d as palette, queriesKeys, queriesSizes, spacing_d as spacing, styleType, defaultTheme as themeConfig, functions_d as themeFunctions, typography_d as typography, useBreakpoints, useEscape, useRadioGroupContent, useTheme };