@orfium/ictinus 5.5.0 → 5.5.1

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 (761) hide show
  1. package/dist/codemods/avatarCodemod.d.ts +2 -1
  2. package/dist/codemods/buttonCodemod.d.ts +2 -1
  3. package/dist/codemods/checkboxCodemod.d.ts +2 -1
  4. package/dist/codemods/chipCodemode.d.ts +2 -1
  5. package/dist/codemods/drawerCodemod.d.ts +2 -1
  6. package/dist/codemods/filterCodemod.d.ts +2 -1
  7. package/dist/codemods/iconButtonCodemod.d.ts +2 -1
  8. package/dist/codemods/iconCodemod.d.ts +2 -1
  9. package/dist/codemods/loaderCodemod.d.ts +2 -1
  10. package/dist/codemods/menuCodemod.d.ts +2 -1
  11. package/dist/codemods/notificationsCodemod.d.ts +2 -1
  12. package/dist/codemods/paginationCodemod.d.ts +2 -1
  13. package/dist/codemods/radioCodemod.d.ts +2 -1
  14. package/dist/codemods/radioGroupCodemod.d.ts +2 -1
  15. package/dist/codemods/searchCodemod.d.ts +2 -1
  16. package/dist/codemods/selectCodemod.d.ts +2 -1
  17. package/dist/codemods/switchCodemod.d.ts +2 -1
  18. package/dist/codemods/tableCodemod.d.ts +2 -1
  19. package/dist/codemods/textareaCodemod.d.ts +2 -1
  20. package/dist/codemods/textfieldCodemod.d.ts +2 -1
  21. package/dist/codemods/tooltipCodemod.d.ts +2 -1
  22. package/dist/codemods/unchangedIconsCodemod.d.ts +2 -1
  23. package/dist/{index.mjs → index.js} +5739 -5690
  24. package/dist/index.umd.cjs +147 -0
  25. package/dist/src/components/Avatar/Avatar.d.ts +5 -0
  26. package/dist/src/components/Avatar/Avatar.stories.d.ts +61 -0
  27. package/dist/src/components/Avatar/Avatar.style.d.ts +9 -0
  28. package/dist/src/components/Avatar/Avatar.tokens.d.ts +8 -0
  29. package/dist/src/components/Avatar/Avatar.types.d.ts +22 -0
  30. package/dist/src/components/Avatar/AvatarStack/AvatarStack.d.ts +6 -0
  31. package/dist/src/components/Avatar/AvatarStack/AvatarStack.style.d.ts +11 -0
  32. package/dist/src/components/Avatar/AvatarStack/AvatarStack.types.d.ts +10 -0
  33. package/dist/src/components/Avatar/AvatarStack/index.d.ts +2 -0
  34. package/dist/src/components/Avatar/AvatarStack/utils.d.ts +7 -0
  35. package/dist/src/components/Avatar/AvatarStack.stories.d.ts +20 -0
  36. package/dist/src/components/Avatar/constants.d.ts +4 -0
  37. package/dist/src/components/Avatar/index.d.ts +3 -0
  38. package/dist/src/components/Box/Box.d.ts +6 -0
  39. package/dist/src/components/Box/Box.stories.d.ts +27 -0
  40. package/dist/src/components/Box/Box.style.d.ts +5 -0
  41. package/dist/src/components/Box/Box.test.d.ts +1 -0
  42. package/dist/src/components/Box/Box.types.d.ts +145 -0
  43. package/dist/src/components/Box/Box.utilities.d.ts +19 -0
  44. package/dist/src/components/Box/index.d.ts +3 -0
  45. package/dist/src/components/Breadcrumb/BackToItem/BackToItem.d.ts +6 -0
  46. package/dist/src/components/Breadcrumb/BackToItem/BackToItem.style.d.ts +4 -0
  47. package/dist/src/components/Breadcrumb/BackToItem/index.d.ts +1 -0
  48. package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +7 -0
  49. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +31 -0
  50. package/dist/src/components/Breadcrumb/Breadcrumb.style.d.ts +4 -0
  51. package/dist/src/components/Breadcrumb/Breadcrumb.types.d.ts +13 -0
  52. package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.d.ts +10 -0
  53. package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.d.ts +6 -0
  54. package/dist/src/components/Breadcrumb/BreadcrumbItem/index.d.ts +1 -0
  55. package/dist/src/components/Breadcrumb/index.d.ts +2 -0
  56. package/dist/src/components/Button/Button.d.ts +40 -0
  57. package/dist/src/components/Button/Button.stories.d.ts +102 -0
  58. package/dist/src/components/Button/Button.style.d.ts +8 -0
  59. package/dist/src/components/Button/Button.tokens.d.ts +6 -0
  60. package/dist/src/components/Button/Button.types.d.ts +4 -0
  61. package/dist/src/components/Button/ButtonLoader/ButtonLoader.d.ts +6 -0
  62. package/dist/src/components/Button/ButtonLoader/ButtonLoader.style.d.ts +6 -0
  63. package/dist/src/components/Button/ButtonLoader/index.d.ts +2 -0
  64. package/dist/src/components/Button/index.d.ts +2 -0
  65. package/dist/src/components/ButtonBase/ButtonBase.d.ts +57 -0
  66. package/dist/src/components/ButtonBase/ButtonBase.style.d.ts +13 -0
  67. package/dist/src/components/ButtonBase/constants.d.ts +7 -0
  68. package/dist/src/components/ButtonBase/index.d.ts +2 -0
  69. package/dist/src/components/Card/Card.d.ts +14 -0
  70. package/dist/src/components/Card/Card.stories.d.ts +24 -0
  71. package/dist/src/components/Card/Card.style.d.ts +5 -0
  72. package/dist/src/components/Card/index.d.ts +2 -0
  73. package/dist/src/components/Chart/BarChart/BarChart.d.ts +26 -0
  74. package/dist/src/components/Chart/BarChart/components/CustomLabel/CustomLabel.d.ts +9 -0
  75. package/dist/src/components/Chart/BarChart/components/CustomLabel/index.d.ts +1 -0
  76. package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.d.ts +8 -0
  77. package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.d.ts +6 -0
  78. package/dist/src/components/Chart/BarChart/components/CustomTooltip/index.d.ts +1 -0
  79. package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.d.ts +6 -0
  80. package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.d.ts +39 -0
  81. package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/index.d.ts +1 -0
  82. package/dist/src/components/Chart/BarChart/index.d.ts +1 -0
  83. package/dist/src/components/Chart/BarChart/utils.d.ts +11 -0
  84. package/dist/src/components/Chart/Chart.stories.d.ts +55 -0
  85. package/dist/src/components/Chart/DonutChart/DonutChart.d.ts +17 -0
  86. package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.d.ts +9 -0
  87. package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.d.ts +5 -0
  88. package/dist/src/components/Chart/DonutChart/components/CustomLabel/index.d.ts +1 -0
  89. package/dist/src/components/Chart/DonutChart/index.d.ts +1 -0
  90. package/dist/src/components/Chart/LineChart/LineChart.d.ts +17 -0
  91. package/dist/src/components/Chart/LineChart/LineChart.test.d.ts +1 -0
  92. package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.d.ts +6 -0
  93. package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.d.ts +32 -0
  94. package/dist/src/components/Chart/LineChart/components/CustomTooltip/index.d.ts +1 -0
  95. package/dist/src/components/Chart/LineChart/components/GradientLine/GradientLine.d.ts +8 -0
  96. package/dist/src/components/Chart/LineChart/components/GradientLine/index.d.ts +1 -0
  97. package/dist/src/components/Chart/LineChart/index.d.ts +1 -0
  98. package/dist/src/components/Chart/LineChart/mockedData.d.ts +11 -0
  99. package/dist/src/components/Chart/LineChart/story.utils.d.ts +1 -0
  100. package/dist/src/components/Chart/LineChart/utils.d.ts +14 -0
  101. package/dist/src/components/Chart/Wrapper.d.ts +8 -0
  102. package/dist/src/components/Controls/CheckBox/CheckBox.d.ts +32 -0
  103. package/dist/src/components/Controls/CheckBox/CheckBox.stories.d.ts +99 -0
  104. package/dist/src/components/Controls/CheckBox/CheckBox.style.d.ts +7 -0
  105. package/dist/src/components/Controls/CheckBox/CheckBox.test.d.ts +1 -0
  106. package/dist/src/components/Controls/CheckBox/index.d.ts +2 -0
  107. package/dist/src/components/Controls/ControlLabel/ControlLabel.d.ts +7 -0
  108. package/dist/src/components/Controls/ControlLabel/ControlLabel.style.d.ts +7 -0
  109. package/dist/src/components/Controls/ControlLabel/index.d.ts +1 -0
  110. package/dist/src/components/Controls/Controls.tokens.d.ts +6 -0
  111. package/dist/src/components/Controls/Controls.types.d.ts +12 -0
  112. package/dist/src/components/Controls/Radio/Radio.d.ts +23 -0
  113. package/dist/src/components/Controls/Radio/Radio.stories.d.ts +89 -0
  114. package/dist/src/components/Controls/Radio/Radio.style.d.ts +7 -0
  115. package/dist/src/components/Controls/Radio/Radio.test.d.ts +1 -0
  116. package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroup.d.ts +27 -0
  117. package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroupContext.d.ts +5 -0
  118. package/dist/src/components/Controls/Radio/components/RadioGroup/index.d.ts +2 -0
  119. package/dist/src/components/Controls/Radio/index.d.ts +2 -0
  120. package/dist/src/components/Controls/Switch/Switch.d.ts +27 -0
  121. package/dist/src/components/Controls/Switch/Switch.stories.d.ts +90 -0
  122. package/dist/src/components/Controls/Switch/Switch.style.d.ts +5 -0
  123. package/dist/src/components/Controls/Switch/Switch.test.d.ts +1 -0
  124. package/dist/src/components/Controls/Switch/index.d.ts +2 -0
  125. package/dist/src/components/Controls/index.d.ts +4 -0
  126. package/dist/src/components/DatePicker/DatePickInput/DatePickInput.d.ts +40 -0
  127. package/dist/src/components/DatePicker/DatePickInput/DatePickInput.style.d.ts +4 -0
  128. package/dist/src/components/DatePicker/DatePickInput/index.d.ts +2 -0
  129. package/dist/src/components/DatePicker/DatePicker.d.ts +6 -0
  130. package/dist/src/components/DatePicker/DatePicker.stories.d.ts +138 -0
  131. package/dist/src/components/DatePicker/DatePicker.style.d.ts +4 -0
  132. package/dist/src/components/DatePicker/DatePicker.test.d.ts +1 -0
  133. package/dist/src/components/DatePicker/DatePicker.tokens.d.ts +6 -0
  134. package/dist/src/components/DatePicker/DatePicker.types.d.ts +48 -0
  135. package/dist/src/components/DatePicker/Day/Day.d.ts +17 -0
  136. package/dist/src/components/DatePicker/Day/Day.style.d.ts +20 -0
  137. package/dist/src/components/DatePicker/Day/Day.test.d.ts +1 -0
  138. package/dist/src/components/DatePicker/Day/index.d.ts +2 -0
  139. package/dist/src/components/DatePicker/Month/Month.d.ts +15 -0
  140. package/dist/src/components/DatePicker/Month/Month.style.d.ts +6 -0
  141. package/dist/src/components/DatePicker/Month/Month.test.d.ts +1 -0
  142. package/dist/src/components/DatePicker/Month/Month.utils.d.ts +8 -0
  143. package/dist/src/components/DatePicker/Month/hooks/useMonthKeyboardNavigation.d.ts +14 -0
  144. package/dist/src/components/DatePicker/Month/index.d.ts +2 -0
  145. package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.d.ts +20 -0
  146. package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.style.d.ts +11 -0
  147. package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.test.d.ts +1 -0
  148. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.d.ts +17 -0
  149. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.d.ts +12 -0
  150. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.test.d.ts +1 -0
  151. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.d.ts +0 -0
  152. package/dist/src/components/DatePicker/OverlayComponent/index.d.ts +2 -0
  153. package/dist/src/components/DatePicker/OverlayComponent/utils.d.ts +5 -0
  154. package/dist/src/components/DatePicker/constants.d.ts +51 -0
  155. package/dist/src/components/DatePicker/index.d.ts +4 -0
  156. package/dist/src/components/DatePicker/play-utils.d.ts +3 -0
  157. package/dist/src/components/DatePicker/utils.d.ts +11 -0
  158. package/dist/src/components/Drawer/Drawer.d.ts +14 -0
  159. package/dist/src/components/Drawer/Drawer.stories.d.ts +91 -0
  160. package/dist/src/components/Drawer/Drawer.style.d.ts +23 -0
  161. package/dist/src/components/Drawer/Drawer.test.d.ts +1 -0
  162. package/dist/src/components/Drawer/Drawer.types.d.ts +19 -0
  163. package/dist/src/components/Drawer/DrawerContext.d.ts +28 -0
  164. package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.d.ts +5 -0
  165. package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.stories.d.ts +18 -0
  166. package/dist/src/components/Drawer/components/DrawerContent/hooks/useDrawerContentObserver.d.ts +6 -0
  167. package/dist/src/components/Drawer/components/DrawerContent/index.d.ts +1 -0
  168. package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.d.ts +5 -0
  169. package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.stories.d.ts +18 -0
  170. package/dist/src/components/Drawer/components/DrawerFooter/index.d.ts +1 -0
  171. package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.d.ts +5 -0
  172. package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.stories.d.ts +18 -0
  173. package/dist/src/components/Drawer/components/DrawerHeader/index.d.ts +1 -0
  174. package/dist/src/components/Drawer/components/index.d.ts +3 -0
  175. package/dist/src/components/Drawer/index.d.ts +5 -0
  176. package/dist/src/components/DropdownButton/DropdownButton.d.ts +42 -0
  177. package/dist/src/components/DropdownButton/DropdownButton.stories.d.ts +33 -0
  178. package/dist/src/components/DropdownButton/DropdownButton.style.d.ts +16 -0
  179. package/dist/src/components/DropdownButton/DropdownButton.test.d.ts +1 -0
  180. package/dist/src/components/DropdownButton/index.d.ts +1 -0
  181. package/dist/src/components/ExpandCollapse/ExpandCollapse.d.ts +4 -0
  182. package/dist/src/components/ExpandCollapse/ExpandCollapse.stories.d.ts +14 -0
  183. package/dist/src/components/ExpandCollapse/ExpandCollapse.style.d.ts +1 -0
  184. package/dist/src/components/ExpandCollapse/ExpandCollapse.types.d.ts +65 -0
  185. package/dist/src/components/ExpandCollapse/index.d.ts +3 -0
  186. package/dist/src/components/ExpandCollapse/useManageContentRef.d.ts +2 -0
  187. package/dist/src/components/ExpandCollapse/utils.d.ts +7 -0
  188. package/dist/src/components/Filter/Filter.d.ts +5 -0
  189. package/dist/src/components/Filter/Filter.stories.d.ts +114 -0
  190. package/dist/src/components/Filter/Filter.test.d.ts +1 -0
  191. package/dist/src/components/Filter/Filter.tokens.d.ts +6 -0
  192. package/dist/src/components/Filter/Filter.types.d.ts +66 -0
  193. package/dist/src/components/Filter/StatefulFilter.d.ts +5 -0
  194. package/dist/src/components/Filter/components/FilterButton/FilterButton.d.ts +23 -0
  195. package/dist/src/components/Filter/components/FilterButton/FilterButton.style.d.ts +6 -0
  196. package/dist/src/components/Filter/components/FilterButton/index.d.ts +1 -0
  197. package/dist/src/components/Filter/components/FilterMenu/FilterMenu.d.ts +12 -0
  198. package/dist/src/components/Filter/components/FilterMenu/FilterMenu.style.d.ts +3 -0
  199. package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.d.ts +10 -0
  200. package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.style.d.ts +2 -0
  201. package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/index.d.ts +1 -0
  202. package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.d.ts +9 -0
  203. package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.style.d.ts +6 -0
  204. package/dist/src/components/Filter/components/FilterMenu/components/Options/index.d.ts +1 -0
  205. package/dist/src/components/Filter/components/FilterMenu/index.d.ts +1 -0
  206. package/dist/src/components/Filter/constants.d.ts +16 -0
  207. package/dist/src/components/Filter/hooks/index.d.ts +1 -0
  208. package/dist/src/components/Filter/hooks/useFilterWithSelectionUtils.d.ts +14 -0
  209. package/dist/src/components/Filter/index.d.ts +3 -0
  210. package/dist/src/components/Icon/Icon.d.ts +19 -0
  211. package/dist/src/components/Icon/Icon.stories.d.ts +53 -0
  212. package/dist/src/components/Icon/Icon.style.d.ts +7 -0
  213. package/dist/src/components/Icon/Icon.types.d.ts +9 -0
  214. package/dist/src/components/Icon/assets/iconSelector.d.ts +6 -0
  215. package/dist/src/components/Icon/constants.d.ts +38 -0
  216. package/dist/src/components/Icon/index.d.ts +3 -0
  217. package/dist/src/components/IconButton/IconButton.d.ts +23 -0
  218. package/dist/src/components/IconButton/IconButton.stories.d.ts +41 -0
  219. package/dist/src/components/IconButton/index.d.ts +2 -0
  220. package/dist/src/components/Label/Label.d.ts +18 -0
  221. package/dist/src/components/Label/Label.style.d.ts +6 -0
  222. package/dist/src/components/Label/index.d.ts +2 -0
  223. package/dist/src/components/Link/Link.d.ts +12 -0
  224. package/dist/src/components/Link/Link.stories.d.ts +82 -0
  225. package/dist/src/components/Link/Link.style.d.ts +5 -0
  226. package/dist/src/components/Link/Link.tokens.d.ts +6 -0
  227. package/dist/src/components/Link/Link.types.d.ts +21 -0
  228. package/dist/src/components/Link/constants.d.ts +4 -0
  229. package/dist/src/components/Link/index.d.ts +1 -0
  230. package/dist/src/components/List/List.d.ts +44 -0
  231. package/dist/src/components/List/List.style.d.ts +13 -0
  232. package/dist/src/components/List/List.tokens.d.ts +6 -0
  233. package/dist/src/components/List/ListItem.d.ts +15 -0
  234. package/dist/src/components/List/ListSection.d.ts +14 -0
  235. package/dist/src/components/List/Window.d.ts +20 -0
  236. package/dist/src/components/List/components/ListItemAction/ListItemAction.d.ts +5 -0
  237. package/dist/src/components/List/components/ListItemAction/ListItemAction.style.d.ts +3 -0
  238. package/dist/src/components/List/components/ListItemAction/index.d.ts +2 -0
  239. package/dist/src/components/List/components/ListItemText/ListItemText.d.ts +7 -0
  240. package/dist/src/components/List/components/ListItemText/ListItemText.style.d.ts +5 -0
  241. package/dist/src/components/List/components/ListItemText/index.d.ts +2 -0
  242. package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.d.ts +29 -0
  243. package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.style.d.ts +9 -0
  244. package/dist/src/components/List/components/ListItemWrapper/index.d.ts +2 -0
  245. package/dist/src/components/List/index.d.ts +7 -0
  246. package/dist/src/components/List/stories/List.stories.d.ts +36 -0
  247. package/dist/src/components/List/stories/ListItem.stories.d.ts +23 -0
  248. package/dist/src/components/List/stories/ListItemAction.stories.d.ts +18 -0
  249. package/dist/src/components/List/stories/ListItemText.stories.d.ts +24 -0
  250. package/dist/src/components/List/stories/ListSection.stories.d.ts +23 -0
  251. package/dist/src/components/List/types.d.ts +9 -0
  252. package/dist/src/components/List/utils.d.ts +6 -0
  253. package/dist/src/components/Menu/Menu.d.ts +26 -0
  254. package/dist/src/components/Menu/Menu.stories.d.ts +51 -0
  255. package/dist/src/components/Menu/Menu.style.d.ts +13 -0
  256. package/dist/src/components/Menu/MenuItemDivider.d.ts +8 -0
  257. package/dist/src/components/Menu/index.d.ts +4 -0
  258. package/dist/src/components/Modal/Modal.d.ts +18 -0
  259. package/dist/src/components/Modal/Modal.stories.d.ts +37 -0
  260. package/dist/src/components/Modal/Modal.style.d.ts +8 -0
  261. package/dist/src/components/Modal/Modal.test.d.ts +1 -0
  262. package/dist/src/components/Modal/ModalContent/ModalContent.d.ts +22 -0
  263. package/dist/src/components/Modal/ModalContent/ModalContent.style.d.ts +8 -0
  264. package/dist/src/components/Modal/ModalContent/index.d.ts +1 -0
  265. package/dist/src/components/Modal/index.d.ts +1 -0
  266. package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.d.ts +44 -0
  267. package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.style.d.ts +58 -0
  268. package/dist/src/components/MultiTextFieldBase/hooks.d.ts +19 -0
  269. package/dist/src/components/MultiTextFieldBase/index.d.ts +1 -0
  270. package/dist/src/components/Navigation/Directory/Directory.d.ts +6 -0
  271. package/dist/src/components/Navigation/Directory/Directory.style.d.ts +11 -0
  272. package/dist/src/components/Navigation/Directory/MenuItem/MenuItem.d.ts +12 -0
  273. package/dist/src/components/Navigation/Directory/index.d.ts +1 -0
  274. package/dist/src/components/Navigation/Navigation.d.ts +15 -0
  275. package/dist/src/components/Navigation/Navigation.stories.d.ts +24 -0
  276. package/dist/src/components/Navigation/Navigation.style.d.ts +4 -0
  277. package/dist/src/components/Navigation/Navigation.test.d.ts +1 -0
  278. package/dist/src/components/Navigation/index.d.ts +3 -0
  279. package/dist/src/components/Navigation/types.d.ts +13 -0
  280. package/dist/src/components/Notification/Banner/Banner.d.ts +21 -0
  281. package/dist/src/components/Notification/Banner/index.d.ts +2 -0
  282. package/dist/src/components/Notification/InlineNotification/InlineNotification.d.ts +19 -0
  283. package/dist/src/components/Notification/InlineNotification/index.d.ts +2 -0
  284. package/dist/src/components/Notification/Notification.d.ts +13 -0
  285. package/dist/src/components/Notification/Notification.stories.d.ts +102 -0
  286. package/dist/src/components/Notification/Notification.style.d.ts +11 -0
  287. package/dist/src/components/Notification/Notification.test.d.ts +1 -0
  288. package/dist/src/components/Notification/NotificationVisual/NotificationVisual.d.ts +13 -0
  289. package/dist/src/components/Notification/NotificationVisual/NotificationVisual.style.d.ts +5 -0
  290. package/dist/src/components/Notification/NotificationVisual/index.d.ts +2 -0
  291. package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.d.ts +10 -0
  292. package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.style.d.ts +4 -0
  293. package/dist/src/components/Notification/NotificationsContainer/index.d.ts +2 -0
  294. package/dist/src/components/Notification/Snackbar/Snackbar.d.ts +19 -0
  295. package/dist/src/components/Notification/Snackbar/Snackbar.style.d.ts +8 -0
  296. package/dist/src/components/Notification/Snackbar/index.d.ts +2 -0
  297. package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.d.ts +28 -0
  298. package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.style.d.ts +10 -0
  299. package/dist/src/components/Notification/subcomponents/CompactNotification/index.d.ts +2 -0
  300. package/dist/src/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.d.ts +7 -0
  301. package/dist/src/components/Notification/subcomponents/NotificationActionsArea/index.d.ts +1 -0
  302. package/dist/src/components/NumberField/NumberField.d.ts +36 -0
  303. package/dist/src/components/NumberField/NumberField.stories.d.ts +95 -0
  304. package/dist/src/components/NumberField/NumberField.style.d.ts +3 -0
  305. package/dist/src/components/NumberField/NumberField.test.d.ts +1 -0
  306. package/dist/src/components/NumberField/components/Stepper/Stepper.d.ts +8 -0
  307. package/dist/src/components/NumberField/components/Stepper/Stepper.style.d.ts +5 -0
  308. package/dist/src/components/NumberField/components/Stepper/index.d.ts +1 -0
  309. package/dist/src/components/NumberField/index.d.ts +2 -0
  310. package/dist/src/components/Pagination/Pagination.d.ts +16 -0
  311. package/dist/src/components/Pagination/Pagination.stories.d.ts +33 -0
  312. package/dist/src/components/Pagination/index.d.ts +2 -0
  313. package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +9 -0
  314. package/dist/src/components/ProgressIndicator/ProgressIndicator.stories.d.ts +90 -0
  315. package/dist/src/components/ProgressIndicator/ProgressIndicator.tokens.d.ts +6 -0
  316. package/dist/src/components/ProgressIndicator/ProgressIndicator.types.d.ts +12 -0
  317. package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.d.ts +5 -0
  318. package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.style.d.ts +7 -0
  319. package/dist/src/components/ProgressIndicator/components/ProgressBar/index.d.ts +1 -0
  320. package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.d.ts +5 -0
  321. package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.style.d.ts +3 -0
  322. package/dist/src/components/ProgressIndicator/components/ProgressCircle/index.d.ts +1 -0
  323. package/dist/src/components/ProgressIndicator/index.d.ts +1 -0
  324. package/dist/src/components/Search/Search.d.ts +6 -0
  325. package/dist/src/components/Search/Search.stories.d.ts +51 -0
  326. package/dist/src/components/Search/Search.style.d.ts +1937 -0
  327. package/dist/src/components/Search/Search.test.d.ts +1 -0
  328. package/dist/src/components/Search/Search.tokens.d.ts +6 -0
  329. package/dist/src/components/Search/Search.types.d.ts +11 -0
  330. package/dist/src/components/Search/StatefulSearch.d.ts +5 -0
  331. package/dist/src/components/Search/constants.d.ts +5 -0
  332. package/dist/src/components/Search/index.d.ts +3 -0
  333. package/dist/src/components/Select/Select.d.ts +6 -0
  334. package/dist/src/components/Select/Select.stories.d.ts +123 -0
  335. package/dist/src/components/Select/Select.style.d.ts +5 -0
  336. package/dist/src/components/Select/Select.test.d.ts +1 -0
  337. package/dist/src/components/Select/StatefulSelect.d.ts +5 -0
  338. package/dist/src/components/Select/components/SelectMenu/SelectMenu.d.ts +27 -0
  339. package/dist/src/components/Select/components/SelectMenu/SelectMenu.style.d.ts +12 -0
  340. package/dist/src/components/Select/components/SelectMenu/index.d.ts +2 -0
  341. package/dist/src/components/Select/constants.d.ts +45 -0
  342. package/dist/src/components/Select/index.d.ts +4 -0
  343. package/dist/src/components/Select/storyUtils.d.ts +6 -0
  344. package/dist/src/components/Select/types.d.ts +66 -0
  345. package/dist/src/components/Slider/Slider.d.ts +22 -0
  346. package/dist/src/components/Slider/Slider.stories.d.ts +42 -0
  347. package/dist/src/components/Slider/Slider.style.d.ts +13 -0
  348. package/dist/src/components/Slider/components/SliderMark/SliderMark.d.ts +13 -0
  349. package/dist/src/components/Slider/components/SliderMark/SliderMark.style.d.ts +17 -0
  350. package/dist/src/components/Slider/components/SliderMark/index.d.ts +2 -0
  351. package/dist/src/components/Slider/components/SliderThumb/SliderThumb.d.ts +12 -0
  352. package/dist/src/components/Slider/components/SliderThumb/SliderThumb.style.d.ts +10 -0
  353. package/dist/src/components/Slider/components/SliderThumb/index.d.ts +2 -0
  354. package/dist/src/components/Slider/components/SliderTrack/SliderTrack.d.ts +12 -0
  355. package/dist/src/components/Slider/components/SliderTrack/SliderTrack.style.d.ts +10 -0
  356. package/dist/src/components/Slider/components/SliderTrack/index.d.ts +2 -0
  357. package/dist/src/components/Slider/index.d.ts +2 -0
  358. package/dist/src/components/Table/Table.d.ts +70 -0
  359. package/dist/src/components/Table/Table.stories.d.ts +48 -0
  360. package/dist/src/components/Table/Table.style.d.ts +6 -0
  361. package/dist/src/components/Table/Table.test.d.ts +1 -0
  362. package/dist/src/components/Table/TableRowContext.d.ts +21 -0
  363. package/dist/src/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.d.ts +10 -0
  364. package/dist/src/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.d.ts +5 -0
  365. package/dist/src/components/Table/components/ExtendedColumnItem/index.d.ts +2 -0
  366. package/dist/src/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.d.ts +14 -0
  367. package/dist/src/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.d.ts +11 -0
  368. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.d.ts +20 -0
  369. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.d.ts +4 -0
  370. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/index.d.ts +1 -0
  371. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.d.ts +13 -0
  372. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.d.ts +1 -0
  373. package/dist/src/components/Table/components/RenderRowOrNestedRow/index.d.ts +1 -0
  374. package/dist/src/components/Table/components/TableCell/TableCell.d.ts +19 -0
  375. package/dist/src/components/Table/components/TableCell/TableCell.style.d.ts +6 -0
  376. package/dist/src/components/Table/components/TableCell/index.d.ts +2 -0
  377. package/dist/src/components/Table/components/TableCell/utils.d.ts +3 -0
  378. package/dist/src/components/Table/components/TableRow/TableRow.d.ts +8 -0
  379. package/dist/src/components/Table/components/TableRow/index.d.ts +2 -0
  380. package/dist/src/components/Table/components/TableRowWrapper/TableRowWrapper.d.ts +21 -0
  381. package/dist/src/components/Table/components/TableRowWrapper/index.d.ts +2 -0
  382. package/dist/src/components/Table/index.d.ts +3 -0
  383. package/dist/src/components/Table/types.d.ts +18 -0
  384. package/dist/src/components/Table/utils/TableStoryComponents.d.ts +10 -0
  385. package/dist/src/components/Table/utils/index.d.ts +1 -0
  386. package/dist/src/components/Table/utils/utils.d.ts +6 -0
  387. package/dist/src/components/Tag/Tag.d.ts +11 -0
  388. package/dist/src/components/Tag/Tag.stories.d.ts +84 -0
  389. package/dist/src/components/Tag/Tag.style.d.ts +9 -0
  390. package/dist/src/components/Tag/Tag.test.d.ts +1 -0
  391. package/dist/src/components/Tag/Tag.tokens.d.ts +6 -0
  392. package/dist/src/components/Tag/Tag.types.d.ts +23 -0
  393. package/dist/src/components/Tag/constants.d.ts +4 -0
  394. package/dist/src/components/Tag/hooks/useGetTagUtils.d.ts +13 -0
  395. package/dist/src/components/Tag/index.d.ts +2 -0
  396. package/dist/src/components/TextArea/TextArea.d.ts +33 -0
  397. package/dist/src/components/TextArea/TextArea.stories.d.ts +77 -0
  398. package/dist/src/components/TextArea/TextArea.style.d.ts +11 -0
  399. package/dist/src/components/TextArea/index.d.ts +2 -0
  400. package/dist/src/components/TextField/TextField.d.ts +37 -0
  401. package/dist/src/components/TextField/TextField.stories.d.ts +99 -0
  402. package/dist/src/components/TextField/TextField.style.d.ts +8 -0
  403. package/dist/src/components/TextField/TextField.test.d.ts +1 -0
  404. package/dist/src/components/TextField/components/commons.d.ts +6 -0
  405. package/dist/src/components/TextField/index.d.ts +2 -0
  406. package/dist/src/components/TextInputBase/TextInputBase.d.ts +39 -0
  407. package/dist/src/components/TextInputBase/TextInputBase.style.d.ts +14 -0
  408. package/dist/src/components/TextInputBase/TextInputBase.tokens.d.ts +6 -0
  409. package/dist/src/components/TextInputBase/index.d.ts +2 -0
  410. package/dist/src/components/ThemeProvider/Test.d.ts +4 -0
  411. package/dist/src/components/ThemeProvider/ThemeProvider.d.ts +9 -0
  412. package/dist/src/components/ThemeProvider/ThemeProvider.stories.d.ts +14 -0
  413. package/dist/src/components/ThemeProvider/ThemeProvider.style.d.ts +5 -0
  414. package/dist/src/components/ThemeProvider/ThemeProvider.test.d.ts +1 -0
  415. package/dist/src/components/ThemeProvider/index.d.ts +2 -0
  416. package/dist/src/components/Toast/Toast.d.ts +23 -0
  417. package/dist/src/components/Toast/Toast.style.d.ts +12 -0
  418. package/dist/src/components/Toast/Toast.test.d.ts +1 -0
  419. package/dist/src/components/Toast/index.d.ts +2 -0
  420. package/dist/src/components/Tooltip/Tooltip.d.ts +5 -0
  421. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +76 -0
  422. package/dist/src/components/Tooltip/Tooltip.style.d.ts +5 -0
  423. package/dist/src/components/Tooltip/Tooltip.types.d.ts +29 -0
  424. package/dist/src/components/Tooltip/index.d.ts +3 -0
  425. package/dist/src/components/Tooltip/utils.d.ts +3 -0
  426. package/dist/src/components/TopAppBar/TopAppBar.d.ts +5 -0
  427. package/dist/src/components/TopAppBar/TopAppBar.stories.d.ts +53 -0
  428. package/dist/src/components/TopAppBar/TopAppBar.style.d.ts +10 -0
  429. package/dist/src/components/TopAppBar/TopAppBar.test.d.ts +1 -0
  430. package/dist/src/components/TopAppBar/TopAppBar.types.d.ts +25 -0
  431. package/dist/src/components/TopAppBar/components/Logo/Logo.style.d.ts +9 -0
  432. package/dist/src/components/TopAppBar/components/Logo/Logo.wrapper.d.ts +7 -0
  433. package/dist/src/components/TopAppBar/components/Logo/index.d.ts +2 -0
  434. package/dist/src/components/TopAppBar/components/Search/Search.d.ts +13 -0
  435. package/dist/src/components/TopAppBar/components/Search/Search.style.d.ts +5 -0
  436. package/dist/src/components/TopAppBar/components/Search/index.d.ts +2 -0
  437. package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.d.ts +5 -0
  438. package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.d.ts +7 -0
  439. package/dist/src/components/TopAppBar/components/SidebarMenuIcon/index.d.ts +2 -0
  440. package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.d.ts +13 -0
  441. package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.style.d.ts +7 -0
  442. package/dist/src/components/TopAppBar/components/UserMenu/index.d.ts +2 -0
  443. package/dist/src/components/TopAppBar/components/index.d.ts +6 -0
  444. package/dist/src/components/TopAppBar/index.d.ts +3 -0
  445. package/dist/src/components/TruncatedContent/TruncatedContent.d.ts +12 -0
  446. package/dist/src/components/TruncatedContent/TruncatedContent.stories.d.ts +18 -0
  447. package/dist/src/components/TruncatedContent/TruncatedContent.style.d.ts +5 -0
  448. package/dist/src/components/TruncatedContent/TruncatedContent.test.d.ts +1 -0
  449. package/dist/src/components/TruncatedContent/index.d.ts +2 -0
  450. package/dist/src/components/Typography/Typography.config.styles.d.ts +19 -0
  451. package/dist/src/components/Typography/Typography.d.ts +29 -0
  452. package/dist/src/components/Typography/Typography.stories.d.ts +40 -0
  453. package/dist/src/components/Typography/Typography.style.d.ts +14 -0
  454. package/dist/src/components/Typography/index.d.ts +2 -0
  455. package/dist/src/components/Typography/utils.d.ts +4 -0
  456. package/dist/src/components/storyUtils/BarChartShowCase/BarChartShowCase.d.ts +5 -0
  457. package/dist/src/components/storyUtils/BarChartShowCase/index.d.ts +1 -0
  458. package/dist/src/components/storyUtils/BreadcrumbShowcase/BreadcrumbShowcase.d.ts +8 -0
  459. package/dist/src/components/storyUtils/BreadcrumbShowcase/index.d.ts +1 -0
  460. package/dist/src/components/storyUtils/Breakpoints/Breakpoints.d.ts +2 -0
  461. package/dist/src/components/storyUtils/Breakpoints/index.d.ts +1 -0
  462. package/dist/src/components/storyUtils/ButtonShowcases/ButtonShowcase.d.ts +8 -0
  463. package/dist/src/components/storyUtils/ButtonShowcases/LoadingButtonShowcase.d.ts +4 -0
  464. package/dist/src/components/storyUtils/ButtonShowcases/index.d.ts +2 -0
  465. package/dist/src/components/storyUtils/CardShowcase/CardShowcase.d.ts +11 -0
  466. package/dist/src/components/storyUtils/CardShowcase/CardShowcase.style.d.ts +4 -0
  467. package/dist/src/components/storyUtils/CardShowcase/index.d.ts +1 -0
  468. package/dist/src/components/storyUtils/ColorUtility/ColorBox.d.ts +10 -0
  469. package/dist/src/components/storyUtils/ColorUtility/ColorUtility.d.ts +4 -0
  470. package/dist/src/components/storyUtils/ColorUtility/ColorUtility.style.d.ts +4 -0
  471. package/dist/src/components/storyUtils/ColorUtility/RangeInput.d.ts +8 -0
  472. package/dist/src/components/storyUtils/ColorUtility/index.d.ts +0 -0
  473. package/dist/src/components/storyUtils/ColorUtility/useColors.d.ts +17 -0
  474. package/dist/src/components/storyUtils/ColorUtility/utils.d.ts +2 -0
  475. package/dist/src/components/storyUtils/DonutChartShowCase/DonutChartShowCase.d.ts +8 -0
  476. package/dist/src/components/storyUtils/DonutChartShowCase/index.d.ts +1 -0
  477. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.d.ts +4 -0
  478. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.style.d.ts +3 -0
  479. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/index.d.ts +1 -0
  480. package/dist/src/components/storyUtils/IconographyShowcase/IconographyShowcase.d.ts +4 -0
  481. package/dist/src/components/storyUtils/IconographyShowcase/index.d.ts +1 -0
  482. package/dist/src/components/storyUtils/LabelConfigStoryComponents.d.ts +5 -0
  483. package/dist/src/components/storyUtils/ModalShowcase/ModalShowcase.d.ts +8 -0
  484. package/dist/src/components/storyUtils/ModalShowcase/index.d.ts +1 -0
  485. package/dist/src/components/storyUtils/NavigationShowcase/MenuItems.d.ts +3 -0
  486. package/dist/src/components/storyUtils/NavigationShowcase/NavigationShowcase.d.ts +7 -0
  487. package/dist/src/components/storyUtils/NavigationShowcase/index.d.ts +1 -0
  488. package/dist/src/components/storyUtils/NotificationShowcase/NotificationShowcase.d.ts +12 -0
  489. package/dist/src/components/storyUtils/NotificationShowcase/index.d.ts +2 -0
  490. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.d.ts +2 -0
  491. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.style.d.ts +18 -0
  492. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.test.d.ts +1 -0
  493. package/dist/src/components/storyUtils/PaletteShowcase/index.d.ts +1 -0
  494. package/dist/src/components/storyUtils/PresentComponent/PresentComponent.d.ts +8 -0
  495. package/dist/src/components/storyUtils/PresentComponent/index.d.ts +1 -0
  496. package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.d.ts +9 -0
  497. package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.style.d.ts +5 -0
  498. package/dist/src/components/storyUtils/SelectShowcase/SelectShowcase.d.ts +11 -0
  499. package/dist/src/components/storyUtils/SelectShowcase/index.d.ts +2 -0
  500. package/dist/src/components/storyUtils/SliderShowcase/SliderShowcase.d.ts +10 -0
  501. package/dist/src/components/storyUtils/SliderShowcase/index.d.ts +1 -0
  502. package/dist/src/components/storyUtils/Stack/Stack.d.ts +10 -0
  503. package/dist/src/components/storyUtils/Stack/index.d.ts +1 -0
  504. package/dist/src/components/storyUtils/TableFilterShowcase/TableFilterShowcase.d.ts +4 -0
  505. package/dist/src/components/storyUtils/TableFilterShowcase/index.d.ts +1 -0
  506. package/dist/src/components/storyUtils/TextFieldShowcases/MultiTextFieldShowcase.d.ts +7 -0
  507. package/dist/src/components/storyUtils/TextFieldShowcases/TextFieldShowCase.d.ts +8 -0
  508. package/dist/src/components/storyUtils/TextFieldShowcases/index.d.ts +2 -0
  509. package/dist/src/components/storyUtils/ThemeWrapper/ThemeWrapper.d.ts +4 -0
  510. package/dist/src/components/storyUtils/ThemeWrapper/index.d.ts +1 -0
  511. package/dist/src/components/storyUtils/TooltipShowcase/TooltipShowcase.d.ts +6 -0
  512. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.d.ts +7 -0
  513. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.style.d.ts +5 -0
  514. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/index.d.ts +1 -0
  515. package/dist/src/components/storyUtils/TooltipShowcase/index.d.ts +1 -0
  516. package/dist/src/components/storyUtils/TopAppBarShowcase.d.ts +20 -0
  517. package/dist/src/components/storyUtils/componentsForTypes.d.ts +12 -0
  518. package/dist/src/components/utils/ClickAwayListener/ClickAwayListener.d.ts +12 -0
  519. package/dist/src/components/utils/ClickAwayListener/index.d.ts +1 -0
  520. package/dist/src/components/utils/DropdownOptions/index.d.ts +9 -0
  521. package/dist/src/components/utils/PositionInScreen/PositionInScreen.d.ts +25 -0
  522. package/dist/src/components/utils/PositionInScreen/PositionInScreen.style.d.ts +11 -0
  523. package/dist/src/components/utils/PositionInScreen/hooks.d.ts +5 -0
  524. package/dist/src/components/utils/PositionInScreen/index.d.ts +1 -0
  525. package/dist/src/components/utils/PositionInScreen/utils.d.ts +1 -0
  526. package/dist/src/components/utils/handleSearch.d.ts +12 -0
  527. package/dist/src/hooks/__tests__/useSearchQueryParams.test.d.ts +1 -0
  528. package/dist/src/hooks/index.d.ts +1 -0
  529. package/dist/src/hooks/storyUtils/DemoUseSearchQueryParams.d.ts +7 -0
  530. package/dist/src/hooks/useBreakpoints.d.ts +4 -0
  531. package/dist/src/hooks/useBreakpoints.test.d.ts +1 -0
  532. package/dist/src/hooks/useCheck.d.ts +7 -0
  533. package/dist/src/hooks/useCombinedRefs.d.ts +3 -0
  534. package/dist/src/hooks/useElementSize.d.ts +10 -0
  535. package/dist/src/hooks/useEscape.d.ts +2 -0
  536. package/dist/src/hooks/useEventListener.d.ts +4 -0
  537. package/dist/src/hooks/useFieldUtils.d.ts +14 -0
  538. package/dist/src/hooks/useIsoMorphicLayoutEffect.d.ts +4 -0
  539. package/dist/src/hooks/useKeyboardEvents.d.ts +31 -0
  540. package/dist/src/hooks/useLoading.d.ts +8 -0
  541. package/dist/src/hooks/useLocationToGetCurrentMenuItem.d.ts +4 -0
  542. package/dist/src/hooks/usePagination.d.ts +15 -0
  543. package/dist/src/hooks/useSearchQueryParams.d.ts +2 -0
  544. package/dist/src/hooks/useSearchQueryParams.stories.d.ts +23 -0
  545. package/dist/src/hooks/useTheme.d.ts +2 -0
  546. package/dist/src/hooks/useThemeSwitch.d.ts +9 -0
  547. package/dist/src/hooks/useToggle.d.ts +2 -0
  548. package/dist/src/hooks/useTypeColorToColorMatch.d.ts +17 -0
  549. package/dist/src/index.d.ts +119 -0
  550. package/dist/src/storybook/Link/Link.d.ts +8 -0
  551. package/dist/src/storybook/Link/Link.style.d.ts +4 -0
  552. package/dist/src/storybook/Link/index.d.ts +2 -0
  553. package/dist/src/storybook/Note/Note.d.ts +4 -0
  554. package/dist/src/storybook/Note/Note.style.d.ts +4 -0
  555. package/dist/src/storybook/Note/index.d.ts +1 -0
  556. package/dist/src/storybook/Overview/Overview.d.ts +6 -0
  557. package/dist/src/storybook/Overview/Overview.style.d.ts +3 -0
  558. package/dist/src/storybook/Overview/index.d.ts +1 -0
  559. package/dist/src/storybook/Preview/Preview.d.ts +7 -0
  560. package/dist/src/storybook/Preview/Preview.style.d.ts +3 -0
  561. package/dist/src/storybook/Preview/index.d.ts +2 -0
  562. package/dist/src/storybook/SectionHeader/SectionHeader.d.ts +12 -0
  563. package/dist/src/storybook/SectionHeader/SectionHeader.style.d.ts +6 -0
  564. package/dist/src/storybook/SectionHeader/index.d.ts +2 -0
  565. package/dist/src/storybook/Showcases/BorderWidthShowcase/BorderWidthShowcase.d.ts +2 -0
  566. package/dist/src/storybook/Showcases/BorderWidthShowcase/index.d.ts +1 -0
  567. package/dist/src/storybook/Showcases/BoxShadowShowcase/BoxShadowShowcase.d.ts +2 -0
  568. package/dist/src/storybook/Showcases/BoxShadowShowcase/index.d.ts +1 -0
  569. package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.d.ts +13 -0
  570. package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.style.d.ts +13 -0
  571. package/dist/src/storybook/Showcases/LayoutShowcase/index.d.ts +1 -0
  572. package/dist/src/storybook/Showcases/MinHeightShowcase/MinHeightShowcase.d.ts +2 -0
  573. package/dist/src/storybook/Showcases/MinHeightShowcase/index.d.ts +1 -0
  574. package/dist/src/storybook/Showcases/OpacityShowcase/OpacityShowcase.d.ts +2 -0
  575. package/dist/src/storybook/Showcases/OpacityShowcase/index.d.ts +1 -0
  576. package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.d.ts +10 -0
  577. package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.style.d.ts +3 -0
  578. package/dist/src/storybook/Showcases/OverviewShowcase/index.d.ts +1 -0
  579. package/dist/src/storybook/Showcases/RadiusShowcase/RadiusShowcase.d.ts +5 -0
  580. package/dist/src/storybook/Showcases/RadiusShowcase/index.d.ts +1 -0
  581. package/dist/src/storybook/Showcases/SizingShowcase/SizingShowcase.d.ts +5 -0
  582. package/dist/src/storybook/Showcases/SizingShowcase/index.d.ts +1 -0
  583. package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.d.ts +5 -0
  584. package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.style.d.ts +0 -0
  585. package/dist/src/storybook/Showcases/SpacingSizingShowcase/index.d.ts +1 -0
  586. package/dist/src/storybook/Showcases/StateShowcase/StateShowcase.d.ts +2 -0
  587. package/dist/src/storybook/Showcases/StateShowcase/index.d.ts +1 -0
  588. package/dist/src/storybook/Showcases/TagShowcase/TagShowcase.d.ts +9 -0
  589. package/dist/src/storybook/Showcases/TagShowcase/index.d.ts +1 -0
  590. package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.d.ts +2 -0
  591. package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.style.d.ts +5 -0
  592. package/dist/src/storybook/Showcases/TextColorShowcase/index.d.ts +1 -0
  593. package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.d.ts +10 -0
  594. package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.style.d.ts +7 -0
  595. package/dist/src/storybook/Showcases/TokenColorsShowcase/index.d.ts +2 -0
  596. package/dist/src/storybook/Showcases/TokenColorsShowcase/utils.d.ts +17 -0
  597. package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.d.ts +2 -0
  598. package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.style.d.ts +4 -0
  599. package/dist/src/storybook/Showcases/TypographyTokensShowcase/index.d.ts +1 -0
  600. package/dist/src/storybook/SubsectionHeader/SubsectionHeader.d.ts +9 -0
  601. package/dist/src/storybook/SubsectionHeader/SubsectionHeader.style.d.ts +3 -0
  602. package/dist/src/storybook/SubsectionHeader/index.d.ts +1 -0
  603. package/dist/src/storybook/Tip/Tip.d.ts +7 -0
  604. package/dist/src/storybook/Tip/Tip.style.d.ts +5 -0
  605. package/dist/src/storybook/Tip/index.d.ts +2 -0
  606. package/dist/src/storybook/Typography/Typography.d.ts +9 -0
  607. package/dist/src/storybook/Typography/Typography.style.d.ts +4 -0
  608. package/dist/src/storybook/Typography/constants.d.ts +4 -0
  609. package/dist/src/storybook/Typography/index.d.ts +2 -0
  610. package/dist/src/storybook/UsageGuidelines/UsageGuidelines.d.ts +7 -0
  611. package/dist/src/storybook/UsageGuidelines/UsageGuidelines.style.d.ts +4 -0
  612. package/dist/src/storybook/UsageGuidelines/index.d.ts +1 -0
  613. package/dist/src/storybook/index.d.ts +8 -0
  614. package/dist/src/storybook/styles/OverviewCard.style.d.ts +4 -0
  615. package/dist/src/storybook.test.d.ts +1 -0
  616. package/dist/src/test/index.d.ts +1 -0
  617. package/dist/src/test/setup.d.ts +1 -0
  618. package/dist/src/test/utils.d.ts +7 -0
  619. package/dist/src/theme/dimension/borderRadius.d.ts +9 -0
  620. package/dist/src/theme/dimension/borderWidth.d.ts +9 -0
  621. package/dist/src/theme/dimension/index.d.ts +10 -0
  622. package/dist/src/theme/dimension/minHeight.d.ts +9 -0
  623. package/dist/src/theme/dimension/opacity.d.ts +9 -0
  624. package/dist/src/theme/dimension/sizing.d.ts +9 -0
  625. package/dist/src/theme/dimension/spacing.d.ts +9 -0
  626. package/dist/src/theme/dimension/state.d.ts +9 -0
  627. package/dist/src/theme/dimension/variables/borderRadius.d.ts +28 -0
  628. package/dist/src/theme/dimension/variables/borderWidth.d.ts +23 -0
  629. package/dist/src/theme/dimension/variables/minHeight.d.ts +20 -0
  630. package/dist/src/theme/dimension/variables/opacity.d.ts +18 -0
  631. package/dist/src/theme/dimension/variables/sizing.d.ts +30 -0
  632. package/dist/src/theme/dimension/variables/spacing.d.ts +43 -0
  633. package/dist/src/theme/dimension/variables/state.d.ts +25 -0
  634. package/dist/src/theme/functions.d.ts +9 -0
  635. package/dist/src/theme/globals/borderRadius.d.ts +8 -0
  636. package/dist/src/theme/globals/borderWidth.d.ts +8 -0
  637. package/dist/src/theme/globals/colors.d.ts +9 -0
  638. package/dist/src/theme/globals/constants/borderRadius.d.ts +43 -0
  639. package/dist/src/theme/globals/constants/borderWidth.d.ts +17 -0
  640. package/dist/src/theme/globals/constants/colors.d.ts +295 -0
  641. package/dist/src/theme/globals/constants/fontFamily.d.ts +12 -0
  642. package/dist/src/theme/globals/constants/fontSize.d.ts +44 -0
  643. package/dist/src/theme/globals/constants/fontWeight.d.ts +18 -0
  644. package/dist/src/theme/globals/constants/letterSpacing.d.ts +19 -0
  645. package/dist/src/theme/globals/constants/lineHeight.d.ts +48 -0
  646. package/dist/src/theme/globals/constants/opacity.d.ts +29 -0
  647. package/dist/src/theme/globals/constants/sizing.d.ts +95 -0
  648. package/dist/src/theme/globals/constants/spacing.d.ts +55 -0
  649. package/dist/src/theme/globals/constants/textCase.d.ts +11 -0
  650. package/dist/src/theme/globals/constants/textDecoration.d.ts +12 -0
  651. package/dist/src/theme/globals/elevation.d.ts +8 -0
  652. package/dist/src/theme/globals/index.d.ts +12 -0
  653. package/dist/src/theme/globals/oldColors.d.ts +2 -0
  654. package/dist/src/theme/globals/opacity.d.ts +8 -0
  655. package/dist/src/theme/globals/sizing.d.ts +8 -0
  656. package/dist/src/theme/globals/spacing.d.ts +8 -0
  657. package/dist/src/theme/globals/typography.d.ts +54 -0
  658. package/dist/src/theme/index.d.ts +5 -0
  659. package/dist/src/theme/overrides.d.ts +3 -0
  660. package/dist/src/theme/palette.config.d.ts +46 -0
  661. package/dist/src/theme/palette.d.ts +74 -0
  662. package/dist/src/theme/states/disabled.d.ts +12 -0
  663. package/dist/src/theme/states/focus.d.ts +17 -0
  664. package/dist/src/theme/states/hover.d.ts +16 -0
  665. package/dist/src/theme/states/index.d.ts +6 -0
  666. package/dist/src/theme/states/pressed.d.ts +16 -0
  667. package/dist/src/theme/states/statesConfig.d.ts +37 -0
  668. package/dist/src/theme/states/tests/states.test.d.ts +1 -0
  669. package/dist/src/theme/states/utils.d.ts +10 -0
  670. package/dist/src/theme/tests/utils.test.d.ts +1 -0
  671. package/dist/src/theme/tokens/components/variables/avatar.d.ts +103 -0
  672. package/dist/src/theme/tokens/components/variables/button.d.ts +27 -0
  673. package/dist/src/theme/tokens/components/variables/controls.d.ts +19 -0
  674. package/dist/src/theme/tokens/components/variables/datePicker.d.ts +18 -0
  675. package/dist/src/theme/tokens/components/variables/field.d.ts +93 -0
  676. package/dist/src/theme/tokens/components/variables/filter.d.ts +8 -0
  677. package/dist/src/theme/tokens/components/variables/link.d.ts +58 -0
  678. package/dist/src/theme/tokens/components/variables/listItem.d.ts +13 -0
  679. package/dist/src/theme/tokens/components/variables/progressIndicator.d.ts +15 -0
  680. package/dist/src/theme/tokens/components/variables/search.d.ts +10 -0
  681. package/dist/src/theme/tokens/components/variables/tag.d.ts +17 -0
  682. package/dist/src/theme/tokens/index.d.ts +10 -0
  683. package/dist/src/theme/tokens/semantic/boxShadow.d.ts +8 -0
  684. package/dist/src/theme/tokens/semantic/colors.d.ts +9 -0
  685. package/dist/src/theme/tokens/semantic/disabledState.d.ts +8 -0
  686. package/dist/src/theme/tokens/semantic/index.d.ts +8 -0
  687. package/dist/src/theme/tokens/semantic/state.d.ts +8 -0
  688. package/dist/src/theme/tokens/semantic/tests/constants.d.ts +22 -0
  689. package/dist/src/theme/tokens/semantic/tests/utils.test.d.ts +1 -0
  690. package/dist/src/theme/tokens/semantic/typography.d.ts +12 -0
  691. package/dist/src/theme/tokens/semantic/variables/boxShadow.d.ts +71 -0
  692. package/dist/src/theme/tokens/semantic/variables/colors.d.ts +308 -0
  693. package/dist/src/theme/tokens/semantic/variables/disabledState.d.ts +7 -0
  694. package/dist/src/theme/tokens/semantic/variables/state.d.ts +24 -0
  695. package/dist/src/theme/tokens/semantic/variables/typography.d.ts +359 -0
  696. package/dist/src/theme/tokens/utils/components.d.ts +13 -0
  697. package/dist/src/theme/tokens/utils/index.d.ts +4 -0
  698. package/dist/src/theme/tokens/utils/parsers.d.ts +21 -0
  699. package/dist/src/theme/tokens/utils/semantic.d.ts +11 -0
  700. package/dist/src/theme/tokens/utils/types.d.ts +49 -0
  701. package/dist/src/theme/types.d.ts +82 -0
  702. package/dist/src/theme/utils.d.ts +51 -0
  703. package/dist/src/utils/common.d.ts +22 -0
  704. package/dist/src/utils/date.d.ts +5 -0
  705. package/dist/src/utils/errors.d.ts +6 -0
  706. package/dist/src/utils/helpers.d.ts +20 -0
  707. package/dist/src/utils/storyshots.d.ts +18 -0
  708. package/dist/src/utils/tests/helpers.test.d.ts +1 -0
  709. package/dist/src/utils/tests/themeFunctions.test.d.ts +1 -0
  710. package/dist/src/utils/themeFunctions.d.ts +35 -0
  711. package/dist/src/utils/types.d.ts +11 -0
  712. package/dist/types/index.d.ts +1 -0
  713. package/package.json +21 -14
  714. package/dist/codemods/avatarCodemod.js +0 -45
  715. package/dist/codemods/avatarCodemod.js.map +0 -1
  716. package/dist/codemods/buttonCodemod.js +0 -32
  717. package/dist/codemods/buttonCodemod.js.map +0 -1
  718. package/dist/codemods/checkboxCodemod.js +0 -29
  719. package/dist/codemods/checkboxCodemod.js.map +0 -1
  720. package/dist/codemods/chipCodemode.js +0 -39
  721. package/dist/codemods/chipCodemode.js.map +0 -1
  722. package/dist/codemods/drawerCodemod.js +0 -61
  723. package/dist/codemods/drawerCodemod.js.map +0 -1
  724. package/dist/codemods/filterCodemod.js +0 -27
  725. package/dist/codemods/filterCodemod.js.map +0 -1
  726. package/dist/codemods/globalsCodemod.js +0 -130
  727. package/dist/codemods/globalsCodemod.js.map +0 -1
  728. package/dist/codemods/iconButtonCodemod.js +0 -28
  729. package/dist/codemods/iconButtonCodemod.js.map +0 -1
  730. package/dist/codemods/iconCodemod.js +0 -19
  731. package/dist/codemods/iconCodemod.js.map +0 -1
  732. package/dist/codemods/loaderCodemod.js +0 -42
  733. package/dist/codemods/loaderCodemod.js.map +0 -1
  734. package/dist/codemods/menuCodemod.js +0 -31
  735. package/dist/codemods/menuCodemod.js.map +0 -1
  736. package/dist/codemods/notificationsCodemod.js +0 -17
  737. package/dist/codemods/notificationsCodemod.js.map +0 -1
  738. package/dist/codemods/paginationCodemod.js +0 -32
  739. package/dist/codemods/paginationCodemod.js.map +0 -1
  740. package/dist/codemods/radioCodemod.js +0 -21
  741. package/dist/codemods/radioCodemod.js.map +0 -1
  742. package/dist/codemods/radioGroupCodemod.js +0 -18
  743. package/dist/codemods/radioGroupCodemod.js.map +0 -1
  744. package/dist/codemods/searchCodemod.js +0 -31
  745. package/dist/codemods/searchCodemod.js.map +0 -1
  746. package/dist/codemods/selectCodemod.js +0 -66
  747. package/dist/codemods/selectCodemod.js.map +0 -1
  748. package/dist/codemods/switchCodemod.js +0 -28
  749. package/dist/codemods/switchCodemod.js.map +0 -1
  750. package/dist/codemods/tableCodemod.js +0 -23
  751. package/dist/codemods/tableCodemod.js.map +0 -1
  752. package/dist/codemods/textareaCodemod.js +0 -44
  753. package/dist/codemods/textareaCodemod.js.map +0 -1
  754. package/dist/codemods/textfieldCodemod.js +0 -43
  755. package/dist/codemods/textfieldCodemod.js.map +0 -1
  756. package/dist/codemods/tooltipCodemod.js +0 -26
  757. package/dist/codemods/tooltipCodemod.js.map +0 -1
  758. package/dist/codemods/unchangedIconsCodemod.js +0 -56
  759. package/dist/codemods/unchangedIconsCodemod.js.map +0 -1
  760. package/dist/index.d.ts +0 -3479
  761. package/dist/index.umd.js +0 -147
package/dist/index.d.ts DELETED
@@ -1,3479 +0,0 @@
1
- /// <reference types="react" />
2
- export { rem } from 'polished';
3
- import * as react_media from 'react-media';
4
- import * as _emotion_react from '@emotion/react';
5
- import { CSSObject as CSSObject$1 } from '@emotion/react';
6
- import { DotKeys as DotKeys$1 } from 'theme/tokens/utils';
7
- export { default as ClickAwayListener } from 'components/utils/ClickAwayListener';
8
- import * as utils_types from 'utils/types';
9
- import { TestId as TestId$1, TestProps as TestProps$1 } from 'utils/types';
10
- import * as React$1 from 'react';
11
- import React__default, { ButtonHTMLAttributes, MouseEvent, InputHTMLAttributes, Key, FC, FCC, ReactNode, Dispatch } from 'react';
12
- import { LinkProps } from 'components/Link/Link.types';
13
- import * as _emotion_serialize from '@emotion/serialize';
14
- import { CSSObject } from '@emotion/serialize';
15
- import { ButtonTypes as ButtonTypes$1, PrimitiveButtonTypes } from 'components/Button/Button.types';
16
- import { IconButtonShape as IconButtonShape$1 } from 'components/IconButton';
17
- import { ButtonBaseProps as ButtonBaseProps$1 } from 'components/ButtonBase/ButtonBase';
18
- import { DivProps as DivProps$1, CommonButtonProps as CommonButtonProps$1 } from 'utils/common';
19
- import { AvatarProps as AvatarProps$1 } from 'components/Avatar';
20
- import * as components_Icon from 'components/Icon';
21
- import { AcceptedIconNames as AcceptedIconNames$1 } from 'components/Icon';
22
- import { Elevation as Elevation$1 } from 'index';
23
- import { SpacingKey as SpacingKey$1 } from 'theme/globals/spacing';
24
- import { RadioAria, CheckboxAria, SwitchAria, AriaListBoxProps } from 'react-aria';
25
- import { RadioGroupState } from 'react-stately';
26
- import { LabelConfig as LabelConfig$1 } from 'components/Controls/Controls.types';
27
- import { Dayjs } from 'utils/date';
28
- import { TextInputBaseProps as TextInputBaseProps$1 } from 'components/TextInputBase';
29
- import { FilterType as FilterType$1 } from 'components/Filter/Filter.types';
30
- import { Location } from 'history';
31
- import { Params } from 'react-router-dom';
32
- import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
33
- import * as prop_types from 'prop-types';
34
- import { ReactComponentLike } from 'prop-types';
35
- import { ComponentSizes as ComponentSizes$1 } from 'types';
36
- import { SelectOption as SelectOption$1 } from 'components/Select';
37
- import { SectionProps } from '@react-types/shared';
38
- import { ListRowSize as ListRowSize$1 } from 'components/List';
39
- import { TooltipPlacement as TooltipPlacement$1 } from 'components/Tooltip/Tooltip.types';
40
- import { FilterProps as FilterProps$1, SingleFilterProps as SingleFilterProps$1 } from 'components/Filter';
41
- import { TextFieldProps as TextFieldProps$1 } from 'components/TextField';
42
- import { ThemeConfig } from 'theme';
43
- import { FontSpacing } from 'theme/tokens/semantic/typography';
44
-
45
- declare const queriesKeys: readonly ["des1920", "des1440", "des1366", "des1200", "tab1024", "tab970", "tab750", "mob480", "mob320"];
46
- declare const queriesSizes: Record<typeof queriesKeys[number], string>;
47
- declare const useBreakpoints: () => react_media.QueryResults<Record<"des1920" | "des1440" | "des1366" | "des1200" | "tab1024" | "tab970" | "tab750" | "mob480" | "mob320", string>>;
48
-
49
- declare const grid: _emotion_react.SerializedStyles;
50
- declare const well: _emotion_react.SerializedStyles;
51
- declare const centerAbsoluteVertical: _emotion_react.SerializedStyles;
52
- declare const transition: (s: number, type?: string) => _emotion_react.SerializedStyles;
53
- declare const lineEllipsis: _emotion_react.SerializedStyles;
54
- declare const flex: _emotion_react.SerializedStyles;
55
- declare const flexCenter: _emotion_react.SerializedStyles;
56
- declare const flexCenterVertical: _emotion_react.SerializedStyles;
57
- declare const plainTextButton: _emotion_react.SerializedStyles;
58
-
59
- declare const functions_d_centerAbsoluteVertical: typeof centerAbsoluteVertical;
60
- declare const functions_d_flex: typeof flex;
61
- declare const functions_d_flexCenter: typeof flexCenter;
62
- declare const functions_d_flexCenterVertical: typeof flexCenterVertical;
63
- declare const functions_d_grid: typeof grid;
64
- declare const functions_d_lineEllipsis: typeof lineEllipsis;
65
- declare const functions_d_plainTextButton: typeof plainTextButton;
66
- declare const functions_d_transition: typeof transition;
67
- declare const functions_d_well: typeof well;
68
- declare namespace functions_d {
69
- export {
70
- functions_d_centerAbsoluteVertical as centerAbsoluteVertical,
71
- functions_d_flex as flex,
72
- functions_d_flexCenter as flexCenter,
73
- functions_d_flexCenterVertical as flexCenterVertical,
74
- functions_d_grid as grid,
75
- functions_d_lineEllipsis as lineEllipsis,
76
- functions_d_plainTextButton as plainTextButton,
77
- functions_d_transition as transition,
78
- functions_d_well as well,
79
- };
80
- }
81
-
82
- type Elevation = {
83
- '01': string;
84
- '02': string;
85
- '03': string;
86
- '04': string;
87
- };
88
- declare const elevation: Elevation;
89
-
90
- type elevation_d_Elevation = Elevation;
91
- declare namespace elevation_d {
92
- export {
93
- elevation_d_Elevation as Elevation,
94
- elevation as default,
95
- };
96
- }
97
-
98
- declare const spacing$2: {
99
- readonly '0': {
100
- readonly value: "0px";
101
- readonly type: "spacing";
102
- };
103
- readonly '1': {
104
- readonly value: "1px";
105
- readonly type: "spacing";
106
- };
107
- readonly '2': {
108
- readonly value: "2px";
109
- readonly type: "spacing";
110
- };
111
- readonly '3': {
112
- readonly value: "4px";
113
- readonly type: "spacing";
114
- };
115
- readonly '4': {
116
- readonly value: "8px";
117
- readonly type: "spacing";
118
- };
119
- readonly '5': {
120
- readonly value: "12px";
121
- readonly type: "spacing";
122
- };
123
- readonly '6': {
124
- readonly value: "16px";
125
- readonly type: "spacing";
126
- };
127
- readonly '7': {
128
- readonly value: "20px";
129
- readonly type: "spacing";
130
- };
131
- readonly '8': {
132
- readonly value: "24px";
133
- readonly type: "spacing";
134
- };
135
- readonly '9': {
136
- readonly value: "32px";
137
- readonly type: "spacing";
138
- };
139
- readonly '10': {
140
- readonly value: "36px";
141
- readonly type: "spacing";
142
- };
143
- readonly '11': {
144
- readonly value: "40px";
145
- readonly type: "spacing";
146
- };
147
- readonly '12': {
148
- readonly value: "44px";
149
- readonly type: "spacing";
150
- };
151
- };
152
-
153
- type SpacingKey = keyof typeof spacing$2;
154
- type Spacing = {
155
- get: (val: SpacingKey, fn?: (val: string) => unknown) => string;
156
- };
157
- declare const spacing$1: Spacing;
158
-
159
- type spacing_d_Spacing = Spacing;
160
- type spacing_d_SpacingKey = SpacingKey;
161
- declare namespace spacing_d {
162
- export {
163
- spacing_d_Spacing as Spacing,
164
- spacing_d_SpacingKey as SpacingKey,
165
- spacing$1 as default,
166
- };
167
- }
168
-
169
- declare const fontFamily: {
170
- readonly roboto: {
171
- readonly value: "Roboto";
172
- readonly type: "fontFamilies";
173
- };
174
- readonly robotoMono: {
175
- readonly value: "Roboto Mono";
176
- readonly type: "fontFamilies";
177
- readonly description: "alternative font family used for numerical table cells";
178
- };
179
- };
180
-
181
- declare const fontSize: {
182
- readonly '1': {
183
- readonly value: "10px";
184
- readonly type: "fontSizes";
185
- readonly description: "smallest possible body size. Used only for avatar initials";
186
- };
187
- readonly '2': {
188
- readonly value: "12px";
189
- readonly type: "fontSizes";
190
- };
191
- readonly '3': {
192
- readonly value: "14px";
193
- readonly type: "fontSizes";
194
- };
195
- readonly '4': {
196
- readonly value: "16px";
197
- readonly type: "fontSizes";
198
- };
199
- readonly '5': {
200
- readonly value: "18px";
201
- readonly type: "fontSizes";
202
- };
203
- readonly '6': {
204
- readonly value: "20px";
205
- readonly type: "fontSizes";
206
- };
207
- readonly '7': {
208
- readonly value: "22px";
209
- readonly type: "fontSizes";
210
- };
211
- readonly '8': {
212
- readonly value: "24px";
213
- readonly type: "fontSizes";
214
- };
215
- readonly '9': {
216
- readonly value: "28px";
217
- readonly type: "fontSizes";
218
- };
219
- readonly '10': {
220
- readonly value: "32px";
221
- readonly type: "fontSizes";
222
- };
223
- };
224
-
225
- declare const fontWeight: {
226
- readonly regular: {
227
- readonly value: "400";
228
- readonly type: "fontWeights";
229
- readonly description: "fontWeight=Regular";
230
- };
231
- readonly medium: {
232
- readonly value: "500";
233
- readonly type: "fontWeights";
234
- readonly description: "FontWeight=Medium";
235
- };
236
- readonly bold: {
237
- readonly value: "700";
238
- readonly type: "fontWeights";
239
- readonly description: "FontWeight=Bold";
240
- };
241
- };
242
-
243
- declare const letterSpacing: {
244
- readonly '0': {
245
- readonly value: "0px";
246
- readonly type: "letterSpacing";
247
- };
248
- readonly '1': {
249
- readonly value: "0.1px";
250
- readonly type: "letterSpacing";
251
- };
252
- readonly '2': {
253
- readonly value: "0.25px";
254
- readonly type: "letterSpacing";
255
- };
256
- readonly '3': {
257
- readonly value: "0.5px";
258
- readonly type: "letterSpacing";
259
- };
260
- };
261
-
262
- declare const lineHeight: {
263
- readonly '1': {
264
- readonly value: "14px";
265
- readonly type: "lineHeights";
266
- readonly description: "For form field labels only";
267
- };
268
- readonly '2': {
269
- readonly value: "16px";
270
- readonly type: "lineHeights";
271
- };
272
- readonly '3': {
273
- readonly value: "18px";
274
- readonly type: "lineHeights";
275
- };
276
- readonly '4': {
277
- readonly value: "20px";
278
- readonly type: "lineHeights";
279
- };
280
- readonly '5': {
281
- readonly value: "22px";
282
- readonly type: "lineHeights";
283
- };
284
- readonly '6': {
285
- readonly value: "24px";
286
- readonly type: "lineHeights";
287
- };
288
- readonly '7': {
289
- readonly value: "28px";
290
- readonly type: "lineHeights";
291
- };
292
- readonly '8': {
293
- readonly value: "32px";
294
- readonly type: "lineHeights";
295
- };
296
- readonly '9': {
297
- readonly value: "36px";
298
- readonly type: "lineHeights";
299
- };
300
- readonly '10': {
301
- readonly value: "40px";
302
- readonly type: "lineHeights";
303
- };
304
- readonly '11': {
305
- readonly value: "48px";
306
- readonly type: "lineHeights";
307
- };
308
- };
309
-
310
- declare const textCase: {
311
- readonly none: {
312
- readonly value: "none";
313
- readonly type: "textCase";
314
- };
315
- readonly uppercase: {
316
- readonly value: "uppercase";
317
- readonly type: "textCase";
318
- };
319
- };
320
-
321
- declare const textDecoration: {
322
- readonly link: {
323
- readonly value: "underline";
324
- readonly type: "textDecoration";
325
- readonly description: "underline that appears on link while hovering";
326
- };
327
- readonly none: {
328
- readonly value: "none";
329
- readonly type: "textDecoration";
330
- };
331
- };
332
-
333
- type FontSizeKey = keyof typeof fontSize;
334
- type FontWeightKey = keyof typeof fontWeight;
335
- type FontFamilyKey = keyof typeof fontFamily;
336
- type LineHeightKey = keyof typeof lineHeight;
337
- type LetterSpacingKey = keyof typeof letterSpacing;
338
- type TextCaseKey = keyof typeof textCase;
339
- type TextDecorationKey = keyof typeof textDecoration;
340
- type FontSize = {
341
- get: (val: FontSizeKey, fn?: (val: string) => unknown) => string;
342
- /** @TODO remove this custom font-sizes*/
343
- '8': string;
344
- '11': string;
345
- '13': string;
346
- '15': string;
347
- };
348
- type FontWeight = {
349
- get: (val: FontWeightKey, fn?: (val: string) => unknown) => number;
350
- };
351
- type FontFamily = {
352
- get: (val: FontFamilyKey, fn?: (val: string) => unknown) => string;
353
- };
354
- type LineHeight = {
355
- get: (val: LineHeightKey, fn?: (val: string) => unknown) => string;
356
- };
357
- type LetterSpacing = {
358
- get: (val: LetterSpacingKey, fn?: (val: string) => unknown) => string;
359
- };
360
- type TextCase = {
361
- get: (val: TextCaseKey, fn?: (val: string) => unknown) => string;
362
- };
363
- type TextDecoration = {
364
- get: (val: TextDecorationKey, fn?: (val: string) => unknown) => string;
365
- };
366
- type Typography$1 = {
367
- globalFontSize: number;
368
- fontSize: FontSize;
369
- fontWeight: FontWeight;
370
- fontFamily: FontFamily;
371
- defaultFontFamily: string;
372
- lineHeight: LineHeight;
373
- letterSpacing: LetterSpacing;
374
- textCase: TextCase;
375
- textDecoration: TextDecoration;
376
- };
377
- declare const typography$1: Typography$1;
378
-
379
- type typography_d_FontFamily = FontFamily;
380
- type typography_d_FontFamilyKey = FontFamilyKey;
381
- type typography_d_FontSize = FontSize;
382
- type typography_d_FontSizeKey = FontSizeKey;
383
- type typography_d_FontWeight = FontWeight;
384
- type typography_d_FontWeightKey = FontWeightKey;
385
- type typography_d_LetterSpacing = LetterSpacing;
386
- type typography_d_LetterSpacingKey = LetterSpacingKey;
387
- type typography_d_LineHeight = LineHeight;
388
- type typography_d_LineHeightKey = LineHeightKey;
389
- type typography_d_TextCase = TextCase;
390
- type typography_d_TextCaseKey = TextCaseKey;
391
- type typography_d_TextDecoration = TextDecoration;
392
- type typography_d_TextDecorationKey = TextDecorationKey;
393
- declare namespace typography_d {
394
- export {
395
- typography_d_FontFamily as FontFamily,
396
- typography_d_FontFamilyKey as FontFamilyKey,
397
- typography_d_FontSize as FontSize,
398
- typography_d_FontSizeKey as FontSizeKey,
399
- typography_d_FontWeight as FontWeight,
400
- typography_d_FontWeightKey as FontWeightKey,
401
- typography_d_LetterSpacing as LetterSpacing,
402
- typography_d_LetterSpacingKey as LetterSpacingKey,
403
- typography_d_LineHeight as LineHeight,
404
- typography_d_LineHeightKey as LineHeightKey,
405
- typography_d_TextCase as TextCase,
406
- typography_d_TextCaseKey as TextCaseKey,
407
- typography_d_TextDecoration as TextDecoration,
408
- typography_d_TextDecorationKey as TextDecorationKey,
409
- Typography$1 as Typography,
410
- typography$1 as default,
411
- };
412
- }
413
-
414
- type Overrides = Record<string, any>;
415
- declare const overrides: Overrides;
416
-
417
- type overrides_d_Overrides = Overrides;
418
- declare namespace overrides_d {
419
- export {
420
- overrides_d_Overrides as Overrides,
421
- overrides as default,
422
- };
423
- }
424
-
425
- declare const borderRadius$1: {
426
- readonly none: {
427
- readonly value: "{borderRadius.0}";
428
- readonly type: "borderRadius";
429
- };
430
- readonly sm: {
431
- readonly value: "{borderRadius.1}";
432
- readonly type: "borderRadius";
433
- };
434
- readonly md: {
435
- readonly value: "{borderRadius.2}";
436
- readonly type: "borderRadius";
437
- };
438
- readonly lg: {
439
- readonly value: "{borderRadius.3}";
440
- readonly type: "borderRadius";
441
- };
442
- readonly xl: {
443
- readonly value: "{borderRadius.4}";
444
- readonly type: "borderRadius";
445
- };
446
- readonly circle: {
447
- readonly value: "{borderRadius.7}";
448
- readonly type: "borderRadius";
449
- readonly description: "Circular border radius (100%)";
450
- };
451
- };
452
-
453
- type DimensionBorderRadiusKey = DotKeys$1<typeof borderRadius$1>;
454
- type DimensionBorderRadius = {
455
- get: (val: DimensionBorderRadiusKey, fn?: (val: string) => unknown) => string;
456
- };
457
-
458
- declare const borderWidth$1: {
459
- readonly default: {
460
- readonly value: "{borderWidth.1}";
461
- readonly type: "borderWidth";
462
- readonly description: "Sets 'default' border width for components";
463
- };
464
- readonly active: {
465
- readonly value: "{borderWidth.2}";
466
- readonly type: "borderWidth";
467
- readonly description: "Sets 'active' border width for components ";
468
- };
469
- readonly focused: {
470
- readonly value: "{borderWidth.3}";
471
- readonly type: "borderWidth";
472
- readonly description: "Sets focused container borderWidth for component";
473
- };
474
- readonly innerFocused: {
475
- readonly value: "{borderWidth.2}";
476
- readonly type: "borderWidth";
477
- readonly description: "Alternative borderWidth for nested focused elements";
478
- };
479
- };
480
-
481
- type DimensionBorderWidthKey = DotKeys$1<typeof borderWidth$1>;
482
- type DimensionBorderWidth = {
483
- get: (val: DimensionBorderWidthKey, fn?: (val: string) => unknown) => string;
484
- };
485
-
486
- declare const minHeight: {
487
- readonly tableRow: {
488
- readonly sm: {
489
- readonly value: "{sizing.11}";
490
- readonly type: "sizing";
491
- readonly description: "Sets min.height for small table row (44px)";
492
- };
493
- readonly md: {
494
- readonly value: "{sizing.13}";
495
- readonly type: "sizing";
496
- readonly description: "Sets min. height for medium table row (52px)";
497
- };
498
- readonly lg: {
499
- readonly value: "{sizing.15}";
500
- readonly type: "sizing";
501
- readonly description: "Sets min. height for large table row (60px)";
502
- };
503
- };
504
- };
505
-
506
- type DimensionMinHeightKey = DotKeys$1<typeof minHeight>;
507
- type DimensionMinHeight = {
508
- get: (val: DimensionMinHeightKey, fn?: (val: string) => unknown) => string;
509
- };
510
-
511
- declare const opacity$1: {
512
- readonly disabled: {
513
- readonly value: "50%";
514
- readonly type: "opacity";
515
- readonly description: "'Disabled' state";
516
- };
517
- readonly enabled: {
518
- readonly value: "100%";
519
- readonly type: "opacity";
520
- readonly description: "'enabled' state";
521
- };
522
- readonly hidden: {
523
- readonly value: "0%";
524
- readonly type: "opacity";
525
- readonly description: "'hidden' state";
526
- };
527
- };
528
-
529
- type DimensionOpacityKey = DotKeys$1<typeof opacity$1>;
530
- type DimensionOpacity = {
531
- get: (val: DimensionOpacityKey, fn?: (val: string) => unknown) => string;
532
- };
533
-
534
- declare const sizing$1: {
535
- readonly icon: {
536
- readonly xs: {
537
- readonly value: "{sizing.3}";
538
- readonly type: "sizing";
539
- readonly description: "Sets extra small size for icon";
540
- };
541
- readonly sm: {
542
- readonly value: "{sizing.4}";
543
- readonly type: "sizing";
544
- readonly description: "Sets small size for icon";
545
- };
546
- readonly md: {
547
- readonly value: "{sizing.5}";
548
- readonly type: "sizing";
549
- readonly description: "Sets medium size for icon";
550
- };
551
- readonly lg: {
552
- readonly value: "{sizing.6}";
553
- readonly type: "sizing";
554
- readonly description: "Sets large size for icon";
555
- };
556
- readonly xl: {
557
- readonly value: "{sizing.9}";
558
- readonly type: "sizing";
559
- readonly description: "Sets extra large size for icon";
560
- };
561
- };
562
- };
563
-
564
- type DimensionSizingKey = DotKeys$1<typeof sizing$1>;
565
- type DimensionSizing = {
566
- get: (val: DimensionSizingKey, fn?: (val: string) => unknown) => string;
567
- };
568
-
569
- declare const spacing: {
570
- readonly none: {
571
- readonly value: "{spacing.0}";
572
- readonly type: "spacing";
573
- };
574
- readonly '2xs': {
575
- readonly value: "{spacing.2}";
576
- readonly type: "spacing";
577
- };
578
- readonly xs: {
579
- readonly value: "{spacing.3}";
580
- readonly type: "spacing";
581
- };
582
- readonly sm: {
583
- readonly value: "{spacing.4}";
584
- readonly type: "spacing";
585
- };
586
- readonly md: {
587
- readonly value: "{spacing.5}";
588
- readonly type: "spacing";
589
- };
590
- readonly lg: {
591
- readonly value: "{spacing.6}";
592
- readonly type: "spacing";
593
- };
594
- readonly xl: {
595
- readonly value: "{spacing.7}";
596
- readonly type: "spacing";
597
- };
598
- readonly '2xl': {
599
- readonly value: "{spacing.8}";
600
- readonly type: "spacing";
601
- };
602
- readonly '3xl': {
603
- readonly value: "{spacing.9}";
604
- readonly type: "spacing";
605
- };
606
- readonly '4xl': {
607
- readonly value: "{spacing.12}";
608
- readonly type: "spacing";
609
- };
610
- };
611
-
612
- type DimensionSpacingKey = DotKeys$1<typeof spacing>;
613
- type DimensionSpacing = {
614
- get: (val: DimensionSpacingKey, fn?: (val: string) => unknown) => string;
615
- };
616
-
617
- declare const state$1: {
618
- readonly hover: {
619
- readonly xs: {
620
- readonly value: "{sizing.7}";
621
- readonly type: "sizing";
622
- readonly description: "Sets extra small hover size";
623
- };
624
- readonly sm: {
625
- readonly value: "{sizing.8}";
626
- readonly type: "sizing";
627
- readonly description: "Sets small hover size";
628
- };
629
- readonly md: {
630
- readonly value: "{sizing.9}";
631
- readonly type: "sizing";
632
- readonly description: "Sets medium hover size";
633
- };
634
- readonly lg: {
635
- readonly value: "{sizing.10}";
636
- readonly type: "sizing";
637
- readonly description: "Sets large hover size";
638
- };
639
- };
640
- };
641
-
642
- type DimensionStateKey = DotKeys$1<typeof state$1>;
643
- type DimensionState = {
644
- get: (val: DimensionStateKey, fn?: (val: string) => unknown) => string;
645
- };
646
-
647
- declare const borderRadius: {
648
- readonly '0': {
649
- readonly value: "0 px";
650
- readonly type: "borderRadius";
651
- readonly description: "Corner radius = 0px";
652
- };
653
- readonly '1': {
654
- readonly value: "2px";
655
- readonly type: "borderRadius";
656
- readonly description: "Corner radius = 2px";
657
- };
658
- readonly '2': {
659
- readonly value: "4px";
660
- readonly type: "borderRadius";
661
- readonly description: "Corner radius = 4px";
662
- };
663
- readonly '3': {
664
- readonly value: "8px";
665
- readonly type: "borderRadius";
666
- readonly description: "Corner radius = 8px";
667
- };
668
- readonly '4': {
669
- readonly value: "16px";
670
- readonly type: "borderRadius";
671
- readonly description: "Corner radius = 16px";
672
- };
673
- readonly '5': {
674
- readonly value: "36px";
675
- readonly type: "borderRadius";
676
- readonly description: "Corner radius = 36px";
677
- };
678
- readonly '6': {
679
- readonly value: "48px";
680
- readonly type: "borderRadius";
681
- readonly description: "Corner radius = 48px";
682
- };
683
- readonly '7': {
684
- readonly value: "9999px";
685
- readonly type: "borderRadius";
686
- readonly description: "Corner radius = 100px used for circles and pill shaped elements";
687
- };
688
- };
689
-
690
- type BorderRadiusKey = keyof typeof borderRadius;
691
- type BorderRadius = {
692
- get: (val: BorderRadiusKey, fn?: (val: string) => unknown) => string;
693
- };
694
-
695
- declare const borderWidth: {
696
- readonly '1': {
697
- readonly value: "1px";
698
- readonly type: "borderWidth";
699
- readonly description: "Default 1pxs stroke";
700
- };
701
- readonly '2': {
702
- readonly value: "2px";
703
- readonly type: "borderWidth";
704
- readonly description: "Default 2pxs stroke";
705
- };
706
- readonly '3': {
707
- readonly value: "4px";
708
- readonly type: "borderWidth";
709
- };
710
- };
711
-
712
- type BorderWidthKey = keyof typeof borderWidth;
713
- type BorderWidth = {
714
- get: (val: BorderWidthKey, fn?: (val: string) => unknown) => string;
715
- };
716
-
717
- declare const colors$1: {
718
- readonly gradient: {
719
- readonly '1': {
720
- readonly value: "linear-gradient(-90deg, #F814A1 0%, #4945EE 100%)";
721
- readonly type: "color";
722
- };
723
- readonly '2': {
724
- readonly value: "linear-gradient(90deg, #B9CDFC 0%, #B9C0FF 100%)";
725
- readonly type: "color";
726
- };
727
- readonly '3': {
728
- readonly value: "linear-gradient(-90deg, #1B214F 0%, #020D25 100%)";
729
- readonly type: "color";
730
- };
731
- };
732
- readonly blue: {
733
- readonly '1': {
734
- readonly value: "#E9EFFB";
735
- readonly type: "color";
736
- };
737
- readonly '2': {
738
- readonly value: "#DAE4FB";
739
- readonly type: "color";
740
- };
741
- readonly '3': {
742
- readonly value: "#B8CCFA";
743
- readonly type: "color";
744
- };
745
- readonly '4': {
746
- readonly value: "#8EAAEC";
747
- readonly type: "color";
748
- };
749
- readonly '5': {
750
- readonly value: "#5E8DF8";
751
- readonly type: "color";
752
- };
753
- readonly '6': {
754
- readonly value: "#175BF5";
755
- readonly type: "color";
756
- };
757
- readonly '7': {
758
- readonly value: "#194DCC";
759
- readonly type: "color";
760
- };
761
- readonly '8': {
762
- readonly value: "#173DA0";
763
- readonly type: "color";
764
- };
765
- readonly '9': {
766
- readonly value: "#173382";
767
- readonly type: "color";
768
- };
769
- readonly '10': {
770
- readonly value: "#12204E";
771
- readonly type: "color";
772
- };
773
- };
774
- readonly neutral: {
775
- readonly '1': {
776
- readonly value: "#ffffff";
777
- readonly type: "color";
778
- };
779
- readonly '2': {
780
- readonly value: "#F2F4FF";
781
- readonly type: "color";
782
- };
783
- readonly '3': {
784
- readonly value: "#B3B5CC";
785
- readonly type: "color";
786
- };
787
- readonly '4': {
788
- readonly value: "#52567a";
789
- readonly type: "color";
790
- };
791
- readonly '5': {
792
- readonly value: "#262C59";
793
- readonly type: "color";
794
- };
795
- readonly '6': {
796
- readonly value: "#111530";
797
- readonly type: "color";
798
- };
799
- };
800
- readonly transparent: {
801
- readonly '1': {
802
- readonly value: "rgba(200,206,255,0)";
803
- readonly type: "color";
804
- };
805
- readonly '2': {
806
- readonly value: "rgba(200,206,255,0.20)";
807
- readonly type: "color";
808
- };
809
- readonly '3': {
810
- readonly value: "rgba(200,206,255,0.30)";
811
- readonly type: "color";
812
- };
813
- readonly '4': {
814
- readonly value: "rgba(200,206,255,0.45)";
815
- readonly type: "color";
816
- };
817
- readonly '5': {
818
- readonly value: "rgba(200,206,255,0.70)";
819
- readonly type: "color";
820
- };
821
- readonly '6': {
822
- readonly value: "rgba(76,86,164,0)";
823
- readonly type: "color";
824
- };
825
- readonly '7': {
826
- readonly value: "rgba(76,86,164,0.20)";
827
- readonly type: "color";
828
- };
829
- readonly '8': {
830
- readonly value: "rgba(76,86,164,0.30)";
831
- readonly type: "color";
832
- };
833
- readonly '9': {
834
- readonly value: "rgba(76,86,164,0.45)";
835
- readonly type: "color";
836
- };
837
- readonly '10': {
838
- readonly value: "rgba(76,86,164,0.70)";
839
- readonly type: "color";
840
- };
841
- };
842
- readonly red: {
843
- readonly '1': {
844
- readonly value: "#FFEBF1";
845
- readonly type: "color";
846
- };
847
- readonly '2': {
848
- readonly value: "#FFD6E5";
849
- readonly type: "color";
850
- };
851
- readonly '3': {
852
- readonly value: "#FFB2CE";
853
- readonly type: "color";
854
- };
855
- readonly '4': {
856
- readonly value: "#FF80AD";
857
- readonly type: "color";
858
- };
859
- readonly '5': {
860
- readonly value: "#FF4D8D";
861
- readonly type: "color";
862
- };
863
- readonly '6': {
864
- readonly value: "#D4165F";
865
- readonly type: "color";
866
- };
867
- readonly '7': {
868
- readonly value: "#BF1250";
869
- readonly type: "color";
870
- };
871
- readonly '8': {
872
- readonly value: "#831650";
873
- readonly type: "color";
874
- };
875
- readonly '9': {
876
- readonly value: "#601649";
877
- readonly type: "color";
878
- };
879
- readonly '10': {
880
- readonly value: "#33123A";
881
- readonly type: "color";
882
- };
883
- };
884
- readonly orange: {
885
- readonly '1': {
886
- readonly value: "#FFF0D1";
887
- readonly type: "color";
888
- };
889
- readonly '2': {
890
- readonly value: "#FFE2A8";
891
- readonly type: "color";
892
- };
893
- readonly '3': {
894
- readonly value: "#FFC95C";
895
- readonly type: "color";
896
- };
897
- readonly '4': {
898
- readonly value: "#F5A300";
899
- readonly type: "color";
900
- };
901
- readonly '5': {
902
- readonly value: "#D67D00";
903
- readonly type: "color";
904
- };
905
- readonly '6': {
906
- readonly value: "#9E4214";
907
- readonly type: "color";
908
- };
909
- readonly '7': {
910
- readonly value: "#8B391D";
911
- readonly type: "color";
912
- };
913
- readonly '8': {
914
- readonly value: "#66301E";
915
- readonly type: "color";
916
- };
917
- readonly '9': {
918
- readonly value: "#4D2A24";
919
- readonly type: "color";
920
- };
921
- readonly '10': {
922
- readonly value: "#29201E";
923
- readonly type: "color";
924
- };
925
- };
926
- readonly purple: {
927
- readonly '1': {
928
- readonly value: "#F3EBFF";
929
- readonly type: "color";
930
- };
931
- readonly '2': {
932
- readonly value: "#EBDBFF";
933
- readonly type: "color";
934
- };
935
- readonly '3': {
936
- readonly value: "#D8BDFF";
937
- readonly type: "color";
938
- };
939
- readonly '4': {
940
- readonly value: "#BD8FFF";
941
- readonly type: "color";
942
- };
943
- readonly '5': {
944
- readonly value: "#A566FF";
945
- readonly type: "color";
946
- };
947
- readonly '6': {
948
- readonly value: "#7531DE";
949
- readonly type: "color";
950
- };
951
- readonly '7': {
952
- readonly value: "#5F33AC";
953
- readonly type: "color";
954
- };
955
- readonly '8': {
956
- readonly value: "#492A89";
957
- readonly type: "color";
958
- };
959
- readonly '9': {
960
- readonly value: "#38246E";
961
- readonly type: "color";
962
- };
963
- readonly '10': {
964
- readonly value: "#211A47";
965
- readonly type: "color";
966
- };
967
- };
968
- readonly teal: {
969
- readonly '1': {
970
- readonly value: "#DCF9F2";
971
- readonly type: "color";
972
- };
973
- readonly '2': {
974
- readonly value: "#BFF4E7";
975
- readonly type: "color";
976
- };
977
- readonly '3': {
978
- readonly value: "#86EAD1";
979
- readonly type: "color";
980
- };
981
- readonly '4': {
982
- readonly value: "#3CDDB4";
983
- readonly type: "color";
984
- };
985
- readonly '5': {
986
- readonly value: "#1EBE96";
987
- readonly type: "color";
988
- };
989
- readonly '6': {
990
- readonly value: "#107962";
991
- readonly type: "color";
992
- };
993
- readonly '7': {
994
- readonly value: "#11695B";
995
- readonly type: "color";
996
- };
997
- readonly '8': {
998
- readonly value: "#0F514C";
999
- readonly type: "color";
1000
- };
1001
- readonly '9': {
1002
- readonly value: "#104042";
1003
- readonly type: "color";
1004
- };
1005
- readonly '10': {
1006
- readonly value: "#0E2834";
1007
- readonly type: "color";
1008
- };
1009
- };
1010
- };
1011
-
1012
- /**
1013
- * This generic type to convert an object to a dot notation string deeply while ignoring `value` properties at the end
1014
- * Key paths of figma tokens objects usually used are declared in the following directories:
1015
- *
1016
- * src/theme/globals/constants/*
1017
- * src/theme/tokens/<theme>/variables/*
1018
- * src/theme/tokens/components/variables/*
1019
- *
1020
- * This is needed for all the getToken callbacks to make sure that
1021
- * all the requested paths return a Token (with value/type/description)
1022
- *
1023
- * @example
1024
- * ```
1025
- * const avatar = {
1026
- * color: {
1027
- * red: {
1028
- * backgroundColor: {
1029
- * value: 'test'
1030
- * }
1031
- * }
1032
- * },
1033
- * size: {
1034
- * 1: {
1035
- * value: 'test'
1036
- * }
1037
- * }
1038
- * } as const;
1039
- *
1040
- * type AvatarKeys = DotKeys<typeof avatar>;
1041
- * ```
1042
- *
1043
- * the above produces
1044
- * ```
1045
- * type AvatarKeys = "color.red.backgroundColor" | "size.1"
1046
- * ```
1047
- */
1048
- type DotKeys<T> = T extends Record<string, unknown> ? {
1049
- [K in keyof T & string]: T[K] extends {
1050
- value: unknown;
1051
- } ? `${K}` : `${K}${DotKeys<T[K]> extends infer S ? (S extends string ? `.${S}` : '') : ''}`;
1052
- }[keyof T & string] | (keyof T extends number ? `${keyof T}` : never) : never;
1053
-
1054
- type ColorsKey = DotKeys<typeof colors$1>;
1055
- type Colors = {
1056
- get: (val: ColorsKey, fn?: (val: string) => unknown) => string;
1057
- };
1058
-
1059
- declare const opacity: {
1060
- readonly '0': {
1061
- readonly value: "0";
1062
- readonly type: "opacity";
1063
- };
1064
- readonly '1': {
1065
- readonly value: "7%";
1066
- readonly type: "opacity";
1067
- };
1068
- readonly '2': {
1069
- readonly value: "14%";
1070
- readonly type: "opacity";
1071
- };
1072
- readonly '3': {
1073
- readonly value: "21%";
1074
- readonly type: "opacity";
1075
- };
1076
- readonly '4': {
1077
- readonly value: "50%";
1078
- readonly type: "opacity";
1079
- readonly description: "used in disabled state";
1080
- };
1081
- readonly '5': {
1082
- readonly value: "75%";
1083
- readonly type: "opacity";
1084
- readonly description: "used in backdrop overlays";
1085
- };
1086
- };
1087
-
1088
- type OpacityKey = keyof typeof opacity;
1089
- type Opacity = {
1090
- get: (val: OpacityKey, fn?: (val: string) => unknown) => string;
1091
- };
1092
-
1093
- declare const sizing: {
1094
- readonly '0': {
1095
- readonly value: "0px";
1096
- readonly type: "sizing";
1097
- };
1098
- readonly '1': {
1099
- readonly value: "4px";
1100
- readonly type: "sizing";
1101
- };
1102
- readonly '2': {
1103
- readonly value: "8px";
1104
- readonly type: "sizing";
1105
- };
1106
- readonly '3': {
1107
- readonly value: "12px";
1108
- readonly type: "sizing";
1109
- };
1110
- readonly '4': {
1111
- readonly value: "16px";
1112
- readonly type: "sizing";
1113
- };
1114
- readonly '5': {
1115
- readonly value: "20px";
1116
- readonly type: "sizing";
1117
- };
1118
- readonly '6': {
1119
- readonly value: "24px";
1120
- readonly type: "sizing";
1121
- };
1122
- readonly '7': {
1123
- readonly value: "28px";
1124
- readonly type: "sizing";
1125
- };
1126
- readonly '8': {
1127
- readonly value: "32px";
1128
- readonly type: "sizing";
1129
- };
1130
- readonly '9': {
1131
- readonly value: "36px";
1132
- readonly type: "sizing";
1133
- };
1134
- readonly '10': {
1135
- readonly value: "40px";
1136
- readonly type: "sizing";
1137
- };
1138
- readonly '11': {
1139
- readonly value: "44px";
1140
- readonly type: "sizing";
1141
- };
1142
- readonly '12': {
1143
- readonly value: "48px";
1144
- readonly type: "sizing";
1145
- };
1146
- readonly '13': {
1147
- readonly value: "52px";
1148
- readonly type: "sizing";
1149
- };
1150
- readonly '14': {
1151
- readonly value: "56px";
1152
- readonly type: "sizing";
1153
- };
1154
- readonly '15': {
1155
- readonly value: "60px";
1156
- readonly type: "sizing";
1157
- };
1158
- readonly '16': {
1159
- readonly value: "72px";
1160
- readonly type: "sizing";
1161
- };
1162
- readonly '17': {
1163
- readonly value: "80px";
1164
- readonly type: "sizing";
1165
- };
1166
- readonly '18': {
1167
- readonly value: "88px";
1168
- readonly type: "sizing";
1169
- };
1170
- readonly '19': {
1171
- readonly value: "92px";
1172
- readonly type: "sizing";
1173
- };
1174
- readonly '20': {
1175
- readonly value: "100px";
1176
- readonly type: "sizing";
1177
- };
1178
- readonly '21': {
1179
- readonly value: "120px";
1180
- readonly type: "sizing";
1181
- };
1182
- readonly '22': {
1183
- readonly value: "140px";
1184
- readonly type: "sizing";
1185
- };
1186
- };
1187
-
1188
- type SizingKey = keyof typeof sizing;
1189
- type Sizing = {
1190
- get: (val: SizingKey, fn?: (val: string) => unknown) => string;
1191
- };
1192
-
1193
- type NeutralPaletteConfig = {
1194
- light?: string;
1195
- dark?: string;
1196
- grey?: string;
1197
- transparent?: string;
1198
- };
1199
- type GradientPaletteConfig = {
1200
- primary?: string;
1201
- secondary?: string;
1202
- tertiary?: string;
1203
- upsell?: string;
1204
- inverted?: string;
1205
- };
1206
-
1207
- declare const boxShadow: {
1208
- readonly '0': {
1209
- readonly value: {
1210
- readonly x: "0";
1211
- readonly y: "0";
1212
- readonly blur: "0";
1213
- readonly spread: "0";
1214
- readonly color: "rgba(200,206,255,0.45)";
1215
- readonly type: "dropShadow";
1216
- };
1217
- readonly type: "boxShadow";
1218
- readonly description: "No shadow variant";
1219
- };
1220
- readonly '1': {
1221
- readonly value: {
1222
- readonly x: "0";
1223
- readonly y: "2";
1224
- readonly blur: "4";
1225
- readonly spread: "0";
1226
- readonly color: "rgba(200,206,255,0.45)";
1227
- readonly type: "dropShadow";
1228
- };
1229
- readonly type: "boxShadow";
1230
- };
1231
- readonly '2': {
1232
- readonly value: {
1233
- readonly x: "0";
1234
- readonly y: "4";
1235
- readonly blur: "8";
1236
- readonly spread: "0";
1237
- readonly color: "rgba(200,206,255,0.45)";
1238
- readonly type: "dropShadow";
1239
- };
1240
- readonly type: "boxShadow";
1241
- };
1242
- readonly '3': {
1243
- readonly value: {
1244
- readonly x: "0";
1245
- readonly y: "8";
1246
- readonly blur: "16";
1247
- readonly spread: "0";
1248
- readonly color: "rgba(200,206,255,0.45)";
1249
- readonly type: "dropShadow";
1250
- };
1251
- readonly type: "boxShadow";
1252
- };
1253
- readonly '4': {
1254
- readonly value: {
1255
- readonly x: "0";
1256
- readonly y: "16";
1257
- readonly blur: "24";
1258
- readonly spread: "0";
1259
- readonly color: "rgba(200,206,255,0.45)";
1260
- readonly type: "dropShadow";
1261
- };
1262
- readonly type: "boxShadow";
1263
- };
1264
- readonly '5': {
1265
- readonly value: {
1266
- readonly x: "0";
1267
- readonly y: "-2";
1268
- readonly blur: "4";
1269
- readonly spread: "0";
1270
- readonly color: "rgba(200,206,255,0.45)";
1271
- readonly type: "dropShadow";
1272
- };
1273
- readonly type: "boxShadow";
1274
- readonly description: "Used for sticky/fixed components";
1275
- };
1276
- };
1277
-
1278
- type SemanticBoxShadowKey = keyof typeof boxShadow;
1279
- type SemanticBoxShadow = {
1280
- get: (val: SemanticBoxShadowKey, fn?: (val: string) => unknown) => string;
1281
- };
1282
-
1283
- declare const colors: {
1284
- readonly backgroundColor: {
1285
- readonly default: {
1286
- readonly value: "{colors.neutral.1}";
1287
- readonly type: "color";
1288
- readonly description: "default backgroundColor variant";
1289
- };
1290
- readonly transparent: {
1291
- readonly value: "{colors.transparent.1}";
1292
- readonly type: "color";
1293
- readonly description: "transparent backgroundColor variant";
1294
- };
1295
- readonly alt: {
1296
- readonly value: "{colors.neutral.2}";
1297
- readonly type: "color";
1298
- readonly description: "alt backgroundColor variant";
1299
- };
1300
- readonly inverted: {
1301
- readonly value: "{colors.neutral.6}";
1302
- readonly type: "color";
1303
- readonly description: "invertedBackgroundColor default variant";
1304
- };
1305
- readonly invertedAlt: {
1306
- readonly value: "{colors.neutral.5}";
1307
- readonly type: "color";
1308
- readonly description: "invertedBackgroundColor, alt variant";
1309
- };
1310
- };
1311
- readonly backdrop: {
1312
- readonly default: {
1313
- readonly value: "{colors.transparent.5}";
1314
- readonly type: "color";
1315
- readonly description: "backdrop shade";
1316
- };
1317
- };
1318
- readonly palette: {
1319
- readonly error: {
1320
- readonly muted: {
1321
- readonly type: "color";
1322
- readonly value: "{colors.red.1}";
1323
- };
1324
- readonly base: {
1325
- readonly type: "color";
1326
- readonly value: "{colors.red.2}";
1327
- };
1328
- readonly contrast: {
1329
- readonly type: "color";
1330
- readonly value: "{colors.red.3}";
1331
- };
1332
- };
1333
- readonly warning: {
1334
- readonly muted: {
1335
- readonly type: "color";
1336
- readonly value: "{colors.orange.1}";
1337
- };
1338
- readonly base: {
1339
- readonly type: "color";
1340
- readonly value: "{colors.orange.2}";
1341
- };
1342
- readonly contrast: {
1343
- readonly type: "color";
1344
- readonly value: "{colors.orange.3}";
1345
- };
1346
- };
1347
- readonly primary: {
1348
- readonly muted: {
1349
- readonly type: "color";
1350
- readonly value: "{colors.blue.5}";
1351
- };
1352
- readonly base: {
1353
- readonly type: "color";
1354
- readonly value: "{colors.blue.6}";
1355
- };
1356
- readonly contrast: {
1357
- readonly type: "color";
1358
- readonly value: "{colors.blue.7}";
1359
- };
1360
- };
1361
- readonly secondary: {
1362
- readonly muted: {
1363
- readonly type: "color";
1364
- readonly value: "{colors.transparent.2}";
1365
- };
1366
- readonly base: {
1367
- readonly type: "color";
1368
- readonly value: "{colors.transparent.3}";
1369
- };
1370
- readonly contrast: {
1371
- readonly type: "color";
1372
- readonly value: "{colors.transparent.4}";
1373
- };
1374
- };
1375
- readonly success: {
1376
- readonly muted: {
1377
- readonly type: "color";
1378
- readonly value: "{colors.teal.1}";
1379
- };
1380
- readonly base: {
1381
- readonly type: "color";
1382
- readonly value: "{colors.teal.2}";
1383
- };
1384
- readonly contrast: {
1385
- readonly type: "color";
1386
- readonly value: "{colors.teal.3}";
1387
- };
1388
- };
1389
- readonly tertiary: {
1390
- readonly muted: {
1391
- readonly value: "{colors.transparent.2}";
1392
- readonly type: "color";
1393
- };
1394
- readonly base: {
1395
- readonly value: "{colors.transparent.1}";
1396
- readonly type: "color";
1397
- };
1398
- readonly contrast: {
1399
- readonly value: "{colors.transparent.3}";
1400
- readonly type: "color";
1401
- };
1402
- };
1403
- readonly upsell: {
1404
- readonly muted: {
1405
- readonly value: "{colors.purple.1}";
1406
- readonly type: "color";
1407
- };
1408
- readonly base: {
1409
- readonly value: "{colors.purple.2}";
1410
- readonly type: "color";
1411
- };
1412
- readonly contrast: {
1413
- readonly value: "{colors.purple.3}";
1414
- readonly type: "color";
1415
- };
1416
- };
1417
- readonly primaryAlt: {
1418
- readonly muted: {
1419
- readonly value: "{colors.blue.1}";
1420
- readonly type: "color";
1421
- };
1422
- readonly base: {
1423
- readonly value: "{colors.blue.2}";
1424
- readonly type: "color";
1425
- };
1426
- readonly contrast: {
1427
- readonly value: "{colors.blue.3}";
1428
- readonly type: "color";
1429
- };
1430
- };
1431
- };
1432
- readonly textColor: {
1433
- readonly default: {
1434
- readonly primary: {
1435
- readonly value: "{colors.neutral.6}";
1436
- readonly type: "color";
1437
- readonly description: "Sets color for primary text";
1438
- };
1439
- readonly secondary: {
1440
- readonly value: "{colors.neutral.4}";
1441
- readonly type: "color";
1442
- readonly description: "Sets color for secondary text";
1443
- };
1444
- readonly error: {
1445
- readonly value: "{colors.red.7}";
1446
- readonly type: "color";
1447
- readonly description: "Sets color for error text";
1448
- };
1449
- readonly active: {
1450
- readonly value: "{colors.blue.7}";
1451
- readonly type: "color";
1452
- readonly description: "Sets color for active text";
1453
- };
1454
- readonly visited: {
1455
- readonly value: "{colors.purple.7}";
1456
- readonly type: "color";
1457
- readonly description: "Sets color for visited text (link)";
1458
- };
1459
- readonly warning: {
1460
- readonly value: "{colors.orange.7}";
1461
- readonly type: "color";
1462
- readonly description: "Sets color for warning text";
1463
- };
1464
- readonly success: {
1465
- readonly value: "{colors.teal.7}";
1466
- readonly type: "color";
1467
- readonly description: "Sets color for success text";
1468
- };
1469
- };
1470
- readonly inverted: {
1471
- readonly visited: {
1472
- readonly value: "{colors.purple.4}";
1473
- readonly type: "color";
1474
- readonly description: "Sets color for visited text (link)";
1475
- };
1476
- readonly primary: {
1477
- readonly value: "{colors.neutral.1}";
1478
- readonly type: "color";
1479
- readonly description: "Sets color for inverted primary text";
1480
- };
1481
- readonly secondary: {
1482
- readonly value: "{colors.neutral.3}";
1483
- readonly type: "color";
1484
- readonly description: "Sets color for inverted secondary text";
1485
- };
1486
- readonly error: {
1487
- readonly value: "{colors.red.4}";
1488
- readonly type: "color";
1489
- readonly description: "Sets color for inverted error text";
1490
- };
1491
- readonly active: {
1492
- readonly value: "{colors.blue.4}";
1493
- readonly type: "color";
1494
- readonly description: "Sets color for inverted active text";
1495
- };
1496
- readonly warning: {
1497
- readonly value: "{colors.orange.4}";
1498
- readonly type: "color";
1499
- };
1500
- readonly success: {
1501
- readonly value: "{colors.teal.4}";
1502
- readonly type: "color";
1503
- readonly description: "Sets color for inverted success text";
1504
- };
1505
- };
1506
- };
1507
- readonly borderColor: {
1508
- readonly decorative: {
1509
- readonly transparent: {
1510
- readonly value: "{colors.transparent.1}";
1511
- readonly type: "color";
1512
- readonly description: "transparent borderColor variant";
1513
- };
1514
- readonly default: {
1515
- readonly value: "{colors.transparent.5}";
1516
- readonly type: "color";
1517
- readonly description: "Default decorative borderColor";
1518
- };
1519
- readonly inverted: {
1520
- readonly value: "{colors.transparent.10}";
1521
- readonly type: "color";
1522
- readonly description: "Inverted decorative borderColor";
1523
- };
1524
- };
1525
- readonly interactive: {
1526
- readonly default: {
1527
- readonly value: "{colors.blue.4}";
1528
- readonly type: "color";
1529
- readonly description: "Used in default component state";
1530
- };
1531
- readonly active: {
1532
- readonly value: "{colors.blue.6}";
1533
- readonly type: "color";
1534
- readonly description: "Used in active component state";
1535
- };
1536
- readonly error: {
1537
- readonly value: "{colors.red.5}";
1538
- readonly type: "color";
1539
- readonly description: "Sets borderColor for error";
1540
- };
1541
- readonly upsell: {
1542
- readonly value: "{colors.purple.5}";
1543
- readonly type: "color";
1544
- readonly description: "Sets borderColor for upsell";
1545
- };
1546
- readonly warning: {
1547
- readonly value: "{colors.orange.5}";
1548
- readonly type: "color";
1549
- readonly description: "Sets borderColor for warning";
1550
- };
1551
- readonly success: {
1552
- readonly value: "{colors.teal.5}";
1553
- readonly type: "color";
1554
- readonly description: "Sets borderColor for success";
1555
- };
1556
- readonly focused: {
1557
- readonly value: "{colors.purple.5}";
1558
- readonly type: "color";
1559
- readonly description: "Sets focused container borderColor for component";
1560
- };
1561
- };
1562
- };
1563
- readonly indicators: {
1564
- readonly brand: {
1565
- readonly value: "{colors.blue.5}";
1566
- readonly type: "color";
1567
- };
1568
- readonly success: {
1569
- readonly value: "{colors.teal.5}";
1570
- readonly type: "color";
1571
- };
1572
- readonly pending: {
1573
- readonly value: "{colors.purple.4}";
1574
- readonly type: "color";
1575
- };
1576
- readonly warning: {
1577
- readonly value: "{colors.orange.4}";
1578
- readonly type: "color";
1579
- };
1580
- readonly error: {
1581
- readonly value: "{colors.red.5}";
1582
- readonly type: "color";
1583
- };
1584
- readonly inactive: {
1585
- readonly value: "{colors.neutral.3}";
1586
- readonly type: "color";
1587
- };
1588
- };
1589
- };
1590
-
1591
- type SemanticColorsKey = DotKeys<typeof colors>;
1592
- type SemanticColors = {
1593
- get: (val: SemanticColorsKey) => string;
1594
- };
1595
-
1596
- declare const disabledState: {
1597
- readonly default: {
1598
- readonly value: "{opacity.4}";
1599
- readonly type: "opacity";
1600
- };
1601
- };
1602
-
1603
- type SemanticDisabledState = {
1604
- get: (val: DotKeys<typeof disabledState>) => string;
1605
- };
1606
-
1607
- declare const state: {
1608
- readonly borderRadius: {
1609
- readonly hover: {
1610
- readonly value: "{borderRadius.7}";
1611
- readonly type: "borderRadius";
1612
- readonly description: "Sets border radius for circular hover shape";
1613
- };
1614
- };
1615
- readonly backgroundColor: {
1616
- readonly hover: {
1617
- readonly value: "{colors.transparent.2}";
1618
- readonly type: "color";
1619
- readonly description: "Sets transparent overlay for interactive icon on hover";
1620
- };
1621
- };
1622
- readonly loading: {
1623
- readonly gradient: {
1624
- readonly value: "{colors.gradient.1}";
1625
- readonly type: "color";
1626
- readonly description: "Alt loading state gradient";
1627
- };
1628
- };
1629
- };
1630
-
1631
- type SemanticState = {
1632
- get: (val: DotKeys<typeof state>) => string;
1633
- };
1634
-
1635
- declare const typography: {
1636
- readonly normal: {
1637
- readonly headline01: {
1638
- readonly value: {
1639
- readonly fontFamily: "{fontFamily.roboto}";
1640
- readonly fontWeight: "{fontWeight.bold}";
1641
- readonly lineHeight: "{lineHeight.10}";
1642
- readonly fontSize: "{fontSize.10}";
1643
- readonly letterSpacing: "{letterSpacing.0}";
1644
- };
1645
- readonly type: "typography";
1646
- readonly description: "Largest text on the screen, reserved for the page title. Can only appear once";
1647
- };
1648
- readonly headline02: {
1649
- readonly value: {
1650
- readonly fontFamily: "{fontFamily.roboto}";
1651
- readonly fontWeight: "{fontWeight.bold}";
1652
- readonly lineHeight: "{lineHeight.9}";
1653
- readonly fontSize: "{fontSize.9}";
1654
- readonly letterSpacing: "{letterSpacing.0}";
1655
- };
1656
- readonly type: "typography";
1657
- readonly description: "Headline variant 2, reserved for important copy that is not a title (e.g. section titles)";
1658
- };
1659
- readonly headline03: {
1660
- readonly value: {
1661
- readonly fontFamily: "{fontFamily.roboto}";
1662
- readonly fontWeight: "{fontWeight.bold}";
1663
- readonly lineHeight: "{lineHeight.8}";
1664
- readonly fontSize: "{fontSize.8}";
1665
- readonly letterSpacing: "{letterSpacing.0}";
1666
- };
1667
- readonly type: "typography";
1668
- readonly description: "Headline variant 3";
1669
- };
1670
- readonly headline04: {
1671
- readonly value: {
1672
- readonly fontFamily: "{fontFamily.roboto}";
1673
- readonly fontWeight: "{fontWeight.bold}";
1674
- readonly lineHeight: "{lineHeight.7}";
1675
- readonly fontSize: "{fontSize.6}";
1676
- readonly letterSpacing: "{letterSpacing.0}";
1677
- };
1678
- readonly type: "typography";
1679
- readonly description: "Headline variant 4";
1680
- };
1681
- readonly headline05: {
1682
- readonly value: {
1683
- readonly fontFamily: "{fontFamily.roboto}";
1684
- readonly fontWeight: "{fontWeight.bold}";
1685
- readonly lineHeight: "{lineHeight.6}";
1686
- readonly fontSize: "{fontSize.5}";
1687
- readonly letterSpacing: "{letterSpacing.0}";
1688
- };
1689
- readonly type: "typography";
1690
- readonly description: "Headline variant 5";
1691
- };
1692
- readonly title01: {
1693
- readonly value: {
1694
- readonly fontFamily: "{fontFamily.roboto}";
1695
- readonly fontWeight: "{fontWeight.bold}";
1696
- readonly lineHeight: "{lineHeight.5}";
1697
- readonly fontSize: "{fontSize.4}";
1698
- readonly letterSpacing: "{letterSpacing.1}";
1699
- };
1700
- readonly type: "typography";
1701
- readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Large variant";
1702
- };
1703
- readonly title02: {
1704
- readonly value: {
1705
- readonly fontFamily: "{fontFamily.roboto}";
1706
- readonly fontWeight: "{fontWeight.bold}";
1707
- readonly lineHeight: "{lineHeight.4}";
1708
- readonly fontSize: "{fontSize.3}";
1709
- readonly letterSpacing: "{letterSpacing.2}";
1710
- };
1711
- readonly type: "typography";
1712
- readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Medium variant";
1713
- };
1714
- readonly title03: {
1715
- readonly value: {
1716
- readonly fontFamily: "{fontFamily.roboto}";
1717
- readonly fontWeight: "{fontWeight.bold}";
1718
- readonly lineHeight: "{lineHeight.2}";
1719
- readonly fontSize: "{fontSize.2}";
1720
- readonly letterSpacing: "{letterSpacing.1}";
1721
- };
1722
- readonly type: "typography";
1723
- readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Small variant";
1724
- };
1725
- readonly label01: {
1726
- readonly value: {
1727
- readonly fontFamily: "{fontFamily.roboto}";
1728
- readonly fontWeight: "{fontWeight.medium}";
1729
- readonly lineHeight: "{lineHeight.5}";
1730
- readonly fontSize: "{fontSize.4}";
1731
- readonly letterSpacing: "{letterSpacing.1}";
1732
- };
1733
- readonly type: "typography";
1734
- readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Large variant";
1735
- };
1736
- readonly label02: {
1737
- readonly value: {
1738
- readonly fontFamily: "{fontFamily.roboto}";
1739
- readonly fontWeight: "{fontWeight.medium}";
1740
- readonly lineHeight: "{lineHeight.4}";
1741
- readonly fontSize: "{fontSize.3}";
1742
- readonly letterSpacing: "{letterSpacing.2}";
1743
- };
1744
- readonly type: "typography";
1745
- readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Medium variant";
1746
- };
1747
- readonly label03: {
1748
- readonly value: {
1749
- readonly fontFamily: "{fontFamily.roboto}";
1750
- readonly fontWeight: "{fontWeight.medium}";
1751
- readonly lineHeight: "{lineHeight.2}";
1752
- readonly fontSize: "{fontSize.2}";
1753
- readonly letterSpacing: "{letterSpacing.2}";
1754
- };
1755
- readonly type: "typography";
1756
- readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Small variant";
1757
- };
1758
- readonly label04: {
1759
- readonly value: {
1760
- readonly fontFamily: "{fontFamily.roboto}";
1761
- readonly fontWeight: "{fontWeight.medium}";
1762
- readonly lineHeight: "{lineHeight.1}";
1763
- readonly fontSize: "{fontSize.1}";
1764
- readonly letterSpacing: "{letterSpacing.1}";
1765
- };
1766
- readonly type: "typography";
1767
- readonly description: "Resrved for short to medium, medium emphasis text (less than titles) or text within components. Extra small variant";
1768
- };
1769
- readonly body01: {
1770
- readonly value: {
1771
- readonly fontFamily: "{fontFamily.roboto}";
1772
- readonly fontWeight: "{fontWeight.regular}";
1773
- readonly lineHeight: "{lineHeight.5}";
1774
- readonly fontSize: "{fontSize.4}";
1775
- readonly letterSpacing: "{letterSpacing.2}";
1776
- };
1777
- readonly type: "typography";
1778
- readonly description: "Used for longer text string of regular emphasis or text within components. Large variant";
1779
- };
1780
- readonly body02: {
1781
- readonly value: {
1782
- readonly fontFamily: "{fontFamily.roboto}";
1783
- readonly fontWeight: "{fontWeight.regular}";
1784
- readonly lineHeight: "{lineHeight.4}";
1785
- readonly fontSize: "{fontSize.3}";
1786
- readonly letterSpacing: "{letterSpacing.2}";
1787
- };
1788
- readonly type: "typography";
1789
- readonly description: "Used for longer text string of regular emphasis or text within components. Medium variant";
1790
- };
1791
- readonly body03: {
1792
- readonly value: {
1793
- readonly fontFamily: "{fontFamily.roboto}";
1794
- readonly fontWeight: "{fontWeight.regular}";
1795
- readonly lineHeight: "{lineHeight.2}";
1796
- readonly fontSize: "{fontSize.2}";
1797
- readonly letterSpacing: "{letterSpacing.2}";
1798
- };
1799
- readonly type: "typography";
1800
- readonly description: "Used for longer text string of regular emphasis or text within components. Small variant";
1801
- };
1802
- readonly body04: {
1803
- readonly value: {
1804
- readonly fontFamily: "{fontFamily.roboto}";
1805
- readonly fontWeight: "{fontWeight.regular}";
1806
- readonly lineHeight: "{lineHeight.1}";
1807
- readonly fontSize: "{fontSize.1}";
1808
- readonly letterSpacing: "{letterSpacing.1}";
1809
- };
1810
- readonly type: "typography";
1811
- readonly description: "Used for text within components. Extra small variant";
1812
- };
1813
- };
1814
- readonly mono: {
1815
- readonly headline01: {
1816
- readonly value: {
1817
- readonly fontFamily: "{fontFamily.robotoMono}";
1818
- readonly fontWeight: "{fontWeight.bold}";
1819
- readonly lineHeight: "{lineHeight.10}";
1820
- readonly fontSize: "{fontSize.10}";
1821
- readonly letterSpacing: "{letterSpacing.0}";
1822
- };
1823
- readonly type: "typography";
1824
- readonly description: "Largest text on the screen, reserved for the page title. Can only appear once";
1825
- };
1826
- readonly body04: {
1827
- readonly value: {
1828
- readonly fontFamily: "{fontFamily.robotoMono}";
1829
- readonly fontWeight: "{fontWeight.regular}";
1830
- readonly lineHeight: "{lineHeight.1}";
1831
- readonly fontSize: "{fontSize.1}";
1832
- readonly letterSpacing: "{letterSpacing.1}";
1833
- };
1834
- readonly type: "typography";
1835
- readonly description: "Used for text within components. Extra small variant";
1836
- };
1837
- readonly headline02: {
1838
- readonly value: {
1839
- readonly fontFamily: "{fontFamily.robotoMono}";
1840
- readonly fontWeight: "{fontWeight.bold}";
1841
- readonly lineHeight: "{lineHeight.9}";
1842
- readonly fontSize: "{fontSize.9}";
1843
- readonly letterSpacing: "{letterSpacing.0}";
1844
- };
1845
- readonly type: "typography";
1846
- readonly description: "Headline variant 2, reserved for important copy that is not a title (e.g. section titles)";
1847
- };
1848
- readonly headline03: {
1849
- readonly value: {
1850
- readonly fontFamily: "{fontFamily.robotoMono}";
1851
- readonly fontWeight: "{fontWeight.bold}";
1852
- readonly lineHeight: "{lineHeight.8}";
1853
- readonly fontSize: "{fontSize.8}";
1854
- readonly letterSpacing: "{letterSpacing.0}";
1855
- };
1856
- readonly type: "typography";
1857
- readonly description: "Headline variant 3";
1858
- };
1859
- readonly headline04: {
1860
- readonly value: {
1861
- readonly fontFamily: "{fontFamily.robotoMono}";
1862
- readonly fontWeight: "{fontWeight.bold}";
1863
- readonly lineHeight: "{lineHeight.7}";
1864
- readonly fontSize: "{fontSize.6}";
1865
- readonly letterSpacing: "{letterSpacing.0}";
1866
- };
1867
- readonly type: "typography";
1868
- readonly description: "Headline variant 4";
1869
- };
1870
- readonly headline05: {
1871
- readonly value: {
1872
- readonly fontFamily: "{fontFamily.robotoMono}";
1873
- readonly fontWeight: "{fontWeight.bold}";
1874
- readonly lineHeight: "{lineHeight.6}";
1875
- readonly fontSize: "{fontSize.5}";
1876
- readonly letterSpacing: "{letterSpacing.0}";
1877
- };
1878
- readonly type: "typography";
1879
- readonly description: "Headline variant 5";
1880
- };
1881
- readonly title01: {
1882
- readonly value: {
1883
- readonly fontFamily: "{fontFamily.robotoMono}";
1884
- readonly fontWeight: "{fontWeight.bold}";
1885
- readonly lineHeight: "{lineHeight.5}";
1886
- readonly fontSize: "{fontSize.4}";
1887
- readonly letterSpacing: "{letterSpacing.1}";
1888
- };
1889
- readonly type: "typography";
1890
- readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Large variant";
1891
- };
1892
- readonly title02: {
1893
- readonly value: {
1894
- readonly fontFamily: "{fontFamily.robotoMono}";
1895
- readonly fontWeight: "{fontWeight.bold}";
1896
- readonly lineHeight: "{lineHeight.4}";
1897
- readonly fontSize: "{fontSize.3}";
1898
- readonly letterSpacing: "{letterSpacing.2}";
1899
- };
1900
- readonly type: "typography";
1901
- readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Medium variant";
1902
- };
1903
- readonly title03: {
1904
- readonly value: {
1905
- readonly fontFamily: "{fontFamily.robotoMono}";
1906
- readonly fontWeight: "{fontWeight.bold}";
1907
- readonly lineHeight: "{lineHeight.2}";
1908
- readonly fontSize: "{fontSize.2}";
1909
- readonly letterSpacing: "{letterSpacing.1}";
1910
- };
1911
- readonly type: "typography";
1912
- readonly description: "Smaller than headline, reserved for short, medium emphasis text or text within components. Small variant";
1913
- };
1914
- readonly label01: {
1915
- readonly value: {
1916
- readonly fontFamily: "{fontFamily.robotoMono}";
1917
- readonly fontWeight: "{fontWeight.medium}";
1918
- readonly lineHeight: "{lineHeight.5}";
1919
- readonly fontSize: "{fontSize.4}";
1920
- readonly letterSpacing: "{letterSpacing.1}";
1921
- };
1922
- readonly type: "typography";
1923
- readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Large variant";
1924
- };
1925
- readonly label02: {
1926
- readonly value: {
1927
- readonly fontFamily: "{fontFamily.robotoMono}";
1928
- readonly fontWeight: "{fontWeight.medium}";
1929
- readonly lineHeight: "{lineHeight.4}";
1930
- readonly fontSize: "{fontSize.3}";
1931
- readonly letterSpacing: "{letterSpacing.2}";
1932
- };
1933
- readonly type: "typography";
1934
- readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Medium variant";
1935
- };
1936
- readonly label03: {
1937
- readonly value: {
1938
- readonly fontFamily: "{fontFamily.robotoMono}";
1939
- readonly fontWeight: "{fontWeight.medium}";
1940
- readonly lineHeight: "{lineHeight.2}";
1941
- readonly fontSize: "{fontSize.2}";
1942
- readonly letterSpacing: "{letterSpacing.2}";
1943
- };
1944
- readonly type: "typography";
1945
- readonly description: "Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Small variant";
1946
- };
1947
- readonly label04: {
1948
- readonly value: {
1949
- readonly fontFamily: "{fontFamily.robotoMono}";
1950
- readonly fontWeight: "{fontWeight.medium}";
1951
- readonly lineHeight: "{lineHeight.1}";
1952
- readonly fontSize: "{fontSize.1}";
1953
- readonly letterSpacing: "{letterSpacing.1}";
1954
- };
1955
- readonly type: "typography";
1956
- readonly description: "Resrved for short to medium, medium emphasis text (less than titles) or text within components. Extra small variant";
1957
- };
1958
- readonly body01: {
1959
- readonly value: {
1960
- readonly fontFamily: "{fontFamily.robotoMono}";
1961
- readonly fontWeight: "{fontWeight.regular}";
1962
- readonly lineHeight: "{lineHeight.5}";
1963
- readonly fontSize: "{fontSize.4}";
1964
- readonly letterSpacing: "{letterSpacing.2}";
1965
- };
1966
- readonly type: "typography";
1967
- readonly description: "Used for longer text string of regular emphasis or text within components. Large variant";
1968
- };
1969
- readonly body02: {
1970
- readonly value: {
1971
- readonly fontFamily: "{fontFamily.robotoMono}";
1972
- readonly fontWeight: "{fontWeight.regular}";
1973
- readonly lineHeight: "{lineHeight.4}";
1974
- readonly fontSize: "{fontSize.3}";
1975
- readonly letterSpacing: "{letterSpacing.2}";
1976
- };
1977
- readonly type: "typography";
1978
- readonly description: "Used for longer text string of regular emphasis or text within components. Medium variant";
1979
- };
1980
- readonly body03: {
1981
- readonly value: {
1982
- readonly fontFamily: "{fontFamily.robotoMono}";
1983
- readonly fontWeight: "{fontWeight.regular}";
1984
- readonly lineHeight: "{lineHeight.2}";
1985
- readonly fontSize: "{fontSize.2}";
1986
- readonly letterSpacing: "{letterSpacing.2}";
1987
- };
1988
- readonly type: "typography";
1989
- readonly description: "Used for longer text string of regular emphasis or text within components. Small variant";
1990
- };
1991
- };
1992
- };
1993
-
1994
- type TypographyKeys = 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight' | 'letterSpacing' | 'textCase' | 'textDecoration';
1995
- type SemanticTypographyKey = DotKeys<typeof typography>;
1996
- type TypographyObject = Record<TypographyKeys, string>;
1997
- type SemanticTypography = {
1998
- get: (val: SemanticTypographyKey) => TypographyObject;
1999
- };
2000
-
2001
- type TextColorTypes$1 = 'primary' | 'secondary' | 'light';
2002
- type ColorScheme = 'semantic' | 'dark';
2003
- type SemanticTheme = {
2004
- colors: SemanticColors;
2005
- disabledState: SemanticDisabledState;
2006
- state: SemanticState;
2007
- typography: SemanticTypography;
2008
- boxShadow: SemanticBoxShadow;
2009
- };
2010
- type Dimension = {
2011
- borderRadius: DimensionBorderRadius;
2012
- borderWidth: DimensionBorderWidth;
2013
- minHeight: DimensionMinHeight;
2014
- opacity: DimensionOpacity;
2015
- sizing: DimensionSizing;
2016
- spacing: DimensionSpacing;
2017
- state: DimensionState;
2018
- };
2019
- /** Will add more themes in the future (e.g.: DarkTheme) */
2020
- type Tokens = SemanticTheme;
2021
- type Theme = {
2022
- globals: {
2023
- colors: Colors;
2024
- oldColors: Palette;
2025
- typography: Typography$1;
2026
- spacing: Spacing;
2027
- elevation: Elevation;
2028
- borderRadius: BorderRadius;
2029
- borderWidth: BorderWidth;
2030
- opacity: Opacity;
2031
- sizing: Sizing;
2032
- };
2033
- dimension: Dimension;
2034
- tokens: Tokens;
2035
- colorScheme: ColorScheme;
2036
- overrides: Overrides;
2037
- utils: {
2038
- /**
2039
- * @deprecated deprecated since v5.0.0. Use `theme.globals.colors.get('')` instead.
2040
- */
2041
- getColor: GetColor;
2042
- /**
2043
- * @deprecated deprecated since v5.0.0. Use `theme.globals.colors.get('')` instead.
2044
- */
2045
- getAAColorFromSwatches: GetAAColorFromSwatches;
2046
- /**
2047
- * @deprecated deprecated since v5.0.0. Use `theme.globals.colors.get('')` instead.
2048
- */
2049
- getAAColor: GetAAColor;
2050
- };
2051
- };
2052
-
2053
- declare const defaultTheme: (theming: ColorScheme) => Theme;
2054
-
2055
- declare const neutralColors: readonly ["neutralWhite", "neutralBlack"];
2056
- declare const colorSchemes: readonly ["semantic", "dark"];
2057
- /**
2058
- * Here are listed all the colors available for our project
2059
- * Flat colors are the actual colors of the system
2060
- **/
2061
- declare const flatColors: readonly ["greyScale", "darkGrey", "lightGrey", "red", "magenta", "lightPurple", "purple", "darkBlue", "blue", "lightBlue", "teal", "green", "yellow", "orange", "darkOrange", "neutralWhite", "neutralBlack"];
2062
- /**
2063
- * Here are listed all the colors available for our project
2064
- * Pale colors are just colors without shades
2065
- **/
2066
- /** @TODO remove all these when all components are revisited for v5 */
2067
- declare const paleColors: readonly ["greyScale", "darkGrey", "lightGrey", "red", "magenta", "lightPurple", "purple", "darkBlue", "blue", "lightBlue", "teal", "green", "yellow", "orange"];
2068
- /**
2069
- * Here are listed all the color shades
2070
- * Each colors of the flat palette is generated with these variations
2071
- * E.g red.100 = color or yellow.500 = color
2072
- * so there is no yellow but variations of yellow
2073
- * default variation: 500
2074
- **/
2075
- declare const colorShades: readonly [50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900, 950];
2076
- declare const MIN_SHADE = 50;
2077
- declare const BASE_SHADE = 500;
2078
- declare const MAX_SHADE = 950;
2079
- /**
2080
- * mainTypes are not colors per se but a type of color
2081
- * for example error is red but also defines a state that's why is listed here and not in flat colors
2082
- * Each color has again the above variations (shades)
2083
- **/
2084
- declare const mainTypes: readonly ["primary", "secondary", "success", "error", "warning", "info", "light", "link"];
2085
- type FlatPalette = Record<(typeof flatColors)[number], GeneratedColorShades>;
2086
- type PalePalette = Record<(typeof paleColors)[number], string>;
2087
- type GeneratedColorShades = Record<(typeof colorShades)[number], string>;
2088
- /**
2089
- * Palette is end output of what is produced and exported to the client projects
2090
- **/
2091
- type Palette = {
2092
- flat: FlatPalette;
2093
- neutral: NeutralPaletteConfig;
2094
- gradient: GradientPaletteConfig;
2095
- /** @TODO remove all these when all components are revisited for v5 */
2096
- text: {
2097
- primary: GeneratedColorShades;
2098
- secondary: GeneratedColorShades;
2099
- light: GeneratedColorShades;
2100
- };
2101
- pale: PalePalette;
2102
- white: string;
2103
- black: string;
2104
- } & Record<(typeof mainTypes)[number], GeneratedColorShades>;
2105
- type formFieldStyles = 'filled' | 'outlined' | 'elevated';
2106
- type GetColor = {
2107
- (color: (typeof flatColors)[number], variant: (typeof colorShades)[number]): string;
2108
- (color: (typeof flatColors)[number], variant: (typeof colorShades)[number], scope: 'flat'): string;
2109
- (color: TextColorTypes$1, variant: (typeof colorShades)[number], scope: 'text'): string;
2110
- (color: (typeof mainTypes)[number], variant: (typeof colorShades)[number], scope: 'normal'): string;
2111
- (color: (typeof paleColors)[number], variant: null, scope: 'pale'): string;
2112
- };
2113
- declare const getColor: (palette: Palette) => GetColor;
2114
- /**
2115
- * this function picks either white or black color based on the background that is passed
2116
- * swatches are calculated based on accessibility by getAAColor function and splited to those two colors
2117
- **/
2118
- type GetAAColorFromSwatches = {
2119
- (color: (typeof flatColors)[number], variant: (typeof colorShades)[number]): string;
2120
- };
2121
- declare const getAAColorFromSwatches: (palette: Palette) => GetAAColorFromSwatches;
2122
- type GetAAColor = {
2123
- (color: string): string;
2124
- };
2125
- declare const getAAColor: (palette: Palette) => GetAAColor;
2126
-
2127
- declare const palette_d_BASE_SHADE: typeof BASE_SHADE;
2128
- type palette_d_FlatPalette = FlatPalette;
2129
- type palette_d_GeneratedColorShades = GeneratedColorShades;
2130
- type palette_d_GetAAColor = GetAAColor;
2131
- type palette_d_GetAAColorFromSwatches = GetAAColorFromSwatches;
2132
- type palette_d_GetColor = GetColor;
2133
- declare const palette_d_MAX_SHADE: typeof MAX_SHADE;
2134
- declare const palette_d_MIN_SHADE: typeof MIN_SHADE;
2135
- type palette_d_PalePalette = PalePalette;
2136
- type palette_d_Palette = Palette;
2137
- declare const palette_d_colorSchemes: typeof colorSchemes;
2138
- declare const palette_d_colorShades: typeof colorShades;
2139
- declare const palette_d_flatColors: typeof flatColors;
2140
- type palette_d_formFieldStyles = formFieldStyles;
2141
- declare const palette_d_getAAColor: typeof getAAColor;
2142
- declare const palette_d_getAAColorFromSwatches: typeof getAAColorFromSwatches;
2143
- declare const palette_d_getColor: typeof getColor;
2144
- declare const palette_d_mainTypes: typeof mainTypes;
2145
- declare const palette_d_neutralColors: typeof neutralColors;
2146
- declare const palette_d_paleColors: typeof paleColors;
2147
- declare namespace palette_d {
2148
- export {
2149
- palette_d_BASE_SHADE as BASE_SHADE,
2150
- palette_d_FlatPalette as FlatPalette,
2151
- palette_d_GeneratedColorShades as GeneratedColorShades,
2152
- palette_d_GetAAColor as GetAAColor,
2153
- palette_d_GetAAColorFromSwatches as GetAAColorFromSwatches,
2154
- palette_d_GetColor as GetColor,
2155
- palette_d_MAX_SHADE as MAX_SHADE,
2156
- palette_d_MIN_SHADE as MIN_SHADE,
2157
- palette_d_PalePalette as PalePalette,
2158
- palette_d_Palette as Palette,
2159
- palette_d_colorSchemes as colorSchemes,
2160
- palette_d_colorShades as colorShades,
2161
- palette_d_flatColors as flatColors,
2162
- palette_d_formFieldStyles as formFieldStyles,
2163
- palette_d_getAAColor as getAAColor,
2164
- palette_d_getAAColorFromSwatches as getAAColorFromSwatches,
2165
- palette_d_getColor as getColor,
2166
- palette_d_mainTypes as mainTypes,
2167
- palette_d_neutralColors as neutralColors,
2168
- palette_d_paleColors as paleColors,
2169
- };
2170
- }
2171
-
2172
- /** A function that generates a unique key by making a value randomly based on time also */
2173
- declare const generateUniqueKey: (elementType?: string) => string;
2174
- /** A function that generates a unique id using lodash's uniqueId util */
2175
- declare const generateUniqueID: (prefix?: string) => string;
2176
- /** A function that takes two strings to generate a test data id by combining them if both exist */
2177
- declare const generateTestDataId: (defaultId: TestId$1, customId?: TestId$1) => string;
2178
-
2179
- type AcceptedColorComponentTypes = (typeof mainTypes)[number];
2180
-
2181
- type DeepPartial<T> = T extends {
2182
- [key: string]: unknown;
2183
- } ? {
2184
- [P in keyof T]?: DeepPartial<T[P]>;
2185
- } : T;
2186
- type ComponentSizes = 'compact' | 'normal';
2187
- type TestId = string;
2188
- type TestProps = {
2189
- dataTestId?: TestId;
2190
- dataTestPrefixId?: string;
2191
- };
2192
-
2193
- type CommonButtonProps = Partial<Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'size' | 'css' | 'onBlur' | 'onClick' | 'type' | 'disabled'>>;
2194
- type DivProps = Partial<Omit<React$1.HTMLProps<HTMLDivElement>, 'color' | 'size' | 'css'>>;
2195
-
2196
- type AvatarColors = 'blue' | 'teal' | 'purple' | 'red' | 'orange';
2197
- type AvatarSizes = 1 | 2 | 3 | 4 | 5 | 6;
2198
- type AvatarProps = {
2199
- /** The size of the Avatar
2200
- * @default 1
2201
- * */
2202
- size?: AvatarSizes;
2203
- /** The color of the Avatar
2204
- * @default 'blue'
2205
- * */
2206
- color?: AvatarColors;
2207
- /** the src of the image to show **/
2208
- src?: string;
2209
- /** The icon name to pick from our library of icons
2210
- * @default 'user'
2211
- * */
2212
- className?: string;
2213
- /** Data Test Id prefix **/
2214
- dataTestPrefixId?: string;
2215
- } & DivProps;
2216
-
2217
- declare const Avatar: React__default.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
2218
-
2219
- type AvatarStackProps = {
2220
- /** the maximum number of avatars to be displayed **/
2221
- maxAvatars?: number;
2222
- /** The size of the extra avatar, if any **/
2223
- size?: AvatarSizes;
2224
- /** the color of the extra avatar based on our colors eg. red-500 **/
2225
- color?: AvatarColors;
2226
- };
2227
-
2228
- declare const AvatarStack: React__default.ForwardRefExoticComponent<Omit<AvatarStackProps & TestProps$1 & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "color" | "css" | "size">>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
2229
-
2230
- type BreadcrumbItem = {
2231
- /** Defines the label used for a link breadcrumb item */
2232
- label: string;
2233
- } & Pick<LinkProps, 'component' | 'href'>;
2234
-
2235
- declare const Breadcrumb: React$1.ForwardRefExoticComponent<{
2236
- items?: BreadcrumbItem[];
2237
- backTo?: BreadcrumbItem;
2238
- } & TestProps & React$1.RefAttributes<HTMLOListElement>>;
2239
-
2240
- type ClickEvent = MouseEvent<HTMLButtonElement> | undefined;
2241
-
2242
- type EventButtonProps = {
2243
- onClick?: (event: ClickEvent) => void;
2244
- onBlur?: () => void;
2245
- };
2246
- type ButtonBaseProps = {
2247
- /** The type of the button */
2248
- type?: ButtonTypes$1;
2249
- /** The size of button */
2250
- size?: ComponentSizes;
2251
- /** This property will make the button fit to its parent width. Defaults to false */
2252
- isBlock?: boolean;
2253
- /** Property indicating if the component is loading */
2254
- isLoading?: boolean;
2255
- /** Define if the button is in disabled state */
2256
- isDisabled?: boolean;
2257
- /** Define if the button is an icon button */
2258
- isIconButton?: boolean;
2259
- /** Define the radius type of the icon button */
2260
- shape?: IconButtonShape$1;
2261
- /** Defines the button type */
2262
- htmlType?: 'submit' | 'reset' | 'button';
2263
- /** Sx prop to override specific properties */
2264
- sx?: {
2265
- container?: CSSObject;
2266
- };
2267
- } & TestProps & EventButtonProps & CommonButtonProps;
2268
-
2269
- type AudioControlsIcons = 'forward' | 'pause' | 'play' | 'resume' | 'rewind' | 'next' | 'previous' | 'stop';
2270
- type BasicActionsIcons = 'check' | 'close' | 'columnChooser' | 'convert' | 'copy' | 'delete' | 'download' | 'edit' | 'login' | 'logout' | 'mediaFile' | 'minus' | 'plus' | 'redo' | 'refresh' | 'restore' | 'review' | 'search' | 'share' | 'sort' | 'sortAscending' | 'sortDescending' | 'thumbsDown' | 'thumbsUp' | 'undo' | 'update' | 'upload';
2271
- type DataAndFinanceIcons = 'analytics' | 'dashboard' | 'dataset' | 'earnings' | 'income' | 'insight' | 'invoice' | 'trendingDown' | 'trendingUp';
2272
- type GenericIcons = 'calendar' | 'chat' | 'delivery' | 'externalLink' | 'file' | 'filter' | 'issue' | 'language' | 'legal' | 'location' | 'mail' | 'manual' | 'moreOptions' | 'notification' | 'policy' | 'report' | 'settings' | 'tag';
2273
- type MusicBusinessIcons = 'album' | 'artist' | 'asset' | 'broadcast' | 'catalog' | 'channel' | 'cinema' | 'claim' | 'composition' | 'concert' | 'conflict' | 'cueSheet' | 'digital' | 'distribution' | 'license' | 'playcount' | 'publicPerformance' | 'publisher' | 'radio' | 'recording' | 'recordLabel' | 'television' | 'usage' | 'work' | 'writer' | 'youTube';
2274
- type NavigationIcons = 'apps' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronUp' | 'menu' | 'pageFirst' | 'pageLast' | 'triangleDown' | 'triangleLeft' | 'triangleRight' | 'triangleUp';
2275
- type ToggledActionsIcons = 'audio' | 'audioOff' | 'bookmark' | 'bookmarkOff' | 'eye' | 'eyeOff' | 'favorite' | 'favoriteOff' | 'flag' | 'flagOff' | 'freeze' | 'image' | 'imageOff' | 'link' | 'lock' | 'pair' | 'unfreeze' | 'unlink' | 'unlock' | 'unpair' | 'video' | 'videoOff';
2276
- type UserAndStatusIcons = 'account' | 'entities' | 'error' | 'help' | 'informational' | 'organization' | 'pending' | 'role' | 'statusIndicator' | 'success' | 'unverified' | 'user' | 'users' | 'verified' | 'warning';
2277
- type AcceptedIconNames = AudioControlsIcons | BasicActionsIcons | DataAndFinanceIcons | GenericIcons | MusicBusinessIcons | NavigationIcons | ToggledActionsIcons | UserAndStatusIcons;
2278
-
2279
- type IconProps = {
2280
- /** This property defines witch icon to use */
2281
- name: AcceptedIconNames;
2282
- /** Property indicating the color of the icon. Accepts all css:color values */
2283
- color?: string;
2284
- /**
2285
- * Property indicating the size of the icon. If number or string ending in 'px' is imported, it's converted to rem.
2286
- * Otherwise it's passed directly to the css:width/height. Defaults to 20px (converted to rem)
2287
- */
2288
- size?: string | number;
2289
- /** Whether the icon has a onHover style. Defaults to true if onClick is provided */
2290
- hasHover?: boolean;
2291
- } & DivProps$1 & TestProps;
2292
- declare const Icon: React$1.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2293
-
2294
- type IconButtonShape = 'circle' | 'square';
2295
- type IconButtonProps = Omit<ButtonBaseProps$1, 'type' | 'isBlock' | 'isLoading' | 'isIconButton'> & {
2296
- /** This property defines the type of the IconButton */
2297
- type?: PrimitiveButtonTypes;
2298
- /** This property defines witch icon to use */
2299
- iconName: AcceptedIconNames;
2300
- /** This property defines the shape of the IconButton */
2301
- shape?: IconButtonShape;
2302
- };
2303
- declare const IconButton: React__default.ForwardRefExoticComponent<Omit<ButtonBaseProps$1, "type" | "isBlock" | "isLoading" | "isIconButton"> & {
2304
- /** This property defines the type of the IconButton */
2305
- type?: PrimitiveButtonTypes;
2306
- /** This property defines witch icon to use */
2307
- iconName: AcceptedIconNames;
2308
- /** This property defines the shape of the IconButton */
2309
- shape?: IconButtonShape;
2310
- } & React__default.RefAttributes<HTMLButtonElement>>;
2311
-
2312
- /** All button types. Used by Button component */
2313
- type ButtonTypes = 'primary' | 'secondary' | 'tertiary' | 'danger';
2314
-
2315
- type ButtonProps = ButtonBaseProps & TestProps$1 & CommonButtonProps$1 & {
2316
- /** An optional icon to put on the right of the button */
2317
- iconRightName?: AcceptedIconNames$1;
2318
- /** An optional icon to put on the left of the button */
2319
- iconLeftName?: AcceptedIconNames$1;
2320
- /** An optional avatar to put on the left of the button */
2321
- avatar?: Pick<AvatarProps$1, 'src' | 'color'> & {
2322
- label?: string;
2323
- };
2324
- };
2325
- declare const Button: React__default.ForwardRefExoticComponent<{
2326
- type?: ButtonTypes;
2327
- size?: utils_types.ComponentSizes;
2328
- isBlock?: boolean;
2329
- isLoading?: boolean;
2330
- isDisabled?: boolean;
2331
- isIconButton?: boolean;
2332
- shape?: IconButtonShape;
2333
- htmlType?: "button" | "reset" | "submit";
2334
- sx?: {
2335
- container?: _emotion_serialize.CSSObject;
2336
- };
2337
- } & TestProps$1 & EventButtonProps & Partial<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "disabled" | "onClick" | "onBlur" | "css" | "size">> & {
2338
- /** An optional icon to put on the right of the button */
2339
- iconRightName?: AcceptedIconNames$1;
2340
- /** An optional icon to put on the left of the button */
2341
- iconLeftName?: AcceptedIconNames$1;
2342
- /** An optional avatar to put on the left of the button */
2343
- avatar?: Pick<AvatarProps$1, 'src' | 'color'> & {
2344
- label?: string;
2345
- };
2346
- } & React__default.RefAttributes<HTMLButtonElement>>;
2347
-
2348
- type CardProps = {
2349
- /** Elevation of Card */
2350
- elevated?: keyof Elevation$1;
2351
- /** Transparency of Card: if false the Card's background is white, otherwise it's transparent */
2352
- isTransparent?: boolean;
2353
- /** Border radius of Card: if not provided it defaults to 0 */
2354
- radius?: SpacingKey$1;
2355
- };
2356
- declare const Card: React__default.FC<React__default.PropsWithChildren<CardProps>>;
2357
-
2358
- type Data$2 = {
2359
- name: string;
2360
- [prop: string]: number | string | undefined;
2361
- };
2362
-
2363
- type LineChartProps = {
2364
- /** This property defines the data to be shown in the Line Chart */
2365
- data: Data$2[];
2366
- /** Property indicating the label name to be displayed for X axis */
2367
- labelX?: string;
2368
- /** Property indicating the label name to be displayed for Y axis */
2369
- labelY?: string;
2370
- /** Define if the legend will be displayed */
2371
- isLegendVisible?: boolean;
2372
- /** Function passed as property, so that the user can select colors for each line. If no function is passed or no color is picked for one or more lines, color will be selected randomly */
2373
- color?: (dataLabel: string) => string;
2374
- };
2375
- declare const LineChart: React__default.FC<LineChartProps>;
2376
-
2377
- type HoverInfo = {
2378
- name: string;
2379
- value?: string | number;
2380
- percentage?: string;
2381
- [prop: string]: number | string | undefined;
2382
- };
2383
- type Option = {
2384
- color?: string;
2385
- coloringOption?: 'all' | 'bar';
2386
- hoverInfo?: HoverInfo[];
2387
- };
2388
- type Data$1 = {
2389
- name: string;
2390
- subcategory?: string;
2391
- value?: number;
2392
- barLabel?: string;
2393
- options?: Option;
2394
- };
2395
- type BarChartProps = {
2396
- /** This property defines the data to be shown in the Line Chart */
2397
- data: Data$1[];
2398
- };
2399
- declare const BarChart: React__default.FCC<BarChartProps>;
2400
-
2401
- type Data = {
2402
- name: string;
2403
- value: number;
2404
- color?: string;
2405
- };
2406
- type DonutChartProps = {
2407
- /** This property defines the data to be shown in the Donut Chart */
2408
- data: Data[];
2409
- /** This property defines the value to be shown in the Donut Chart label */
2410
- value?: string | number;
2411
- /** This property defines the units to be shown in the Donut Chart label*/
2412
- units?: string;
2413
- };
2414
- declare const DonutChart: React__default.FCC<DonutChartProps>;
2415
-
2416
- type LabelConfig = {
2417
- /** Sets the label's placement */
2418
- placement?: 'left' | 'right';
2419
- /** Sets the label's size */
2420
- size?: 'normal' | 'large';
2421
- /** Helptext rendered under the label */
2422
- helpText?: string;
2423
- /** Styles that will apply on the container that holds the control input and the label */
2424
- sx?: CSSObject$1;
2425
- };
2426
-
2427
- type RadioProps = Partial<RadioAria> & {
2428
- /** Id property of the radio input */
2429
- id?: string;
2430
- /** The value of the radio input */
2431
- value: string;
2432
- /** Label configuration; includes placement, size, helpText and sx */
2433
- labelConfig?: LabelConfig;
2434
- children?: React$1.ReactNode;
2435
- } & TestProps$1;
2436
- declare const Radio: React$1.ForwardRefExoticComponent<Partial<RadioAria> & {
2437
- /** Id property of the radio input */
2438
- id?: string;
2439
- /** The value of the radio input */
2440
- value: string;
2441
- /** Label configuration; includes placement, size, helpText and sx */
2442
- labelConfig?: LabelConfig;
2443
- children?: React$1.ReactNode;
2444
- } & TestProps$1 & React$1.RefAttributes<HTMLInputElement>>;
2445
-
2446
- declare const RadioGroup: React$1.ForwardRefExoticComponent<{
2447
- /** The current selected value */
2448
- value?: string;
2449
- /** Callback that is called when the value changes. */
2450
- onChange?: (value: string) => void;
2451
- /** Whether the whole RadioGroup is disabled */
2452
- isDisabled?: boolean;
2453
- /** Styles that will apply on the RadioGroup container */
2454
- sx?: CSSObject$1;
2455
- children?: React$1.ReactNode;
2456
- } & TestProps$1 & React$1.RefAttributes<HTMLDivElement>>;
2457
-
2458
- declare const RadioContext: React__default.Context<RadioGroupState>;
2459
- declare const useRadioGroupContent: () => RadioGroupState;
2460
-
2461
- type CheckBoxProps = Partial<CheckboxAria> & {
2462
- /** Id property of the checkbox input */
2463
- id?: string;
2464
- /** The value of the checkbox input */
2465
- value?: string;
2466
- /** Callback for when the element's selection state changes. */
2467
- onChange?: (isSelected: boolean) => void;
2468
- /** Whether the checkbox is indeterminately selected. */
2469
- isIndeterminate?: boolean;
2470
- /** Label configuration; includes placement, size, helpText and sx */
2471
- labelConfig?: LabelConfig$1;
2472
- children?: React__default.ReactNode;
2473
- } & TestProps$1;
2474
- declare const CheckBox: React__default.ForwardRefExoticComponent<Partial<CheckboxAria> & {
2475
- /** Id property of the checkbox input */
2476
- id?: string;
2477
- /** The value of the checkbox input */
2478
- value?: string;
2479
- /** Callback for when the element's selection state changes. */
2480
- onChange?: (isSelected: boolean) => void;
2481
- /** Whether the checkbox is indeterminately selected. */
2482
- isIndeterminate?: boolean;
2483
- /** Label configuration; includes placement, size, helpText and sx */
2484
- labelConfig?: LabelConfig$1;
2485
- children?: React__default.ReactNode;
2486
- } & TestProps$1 & React__default.RefAttributes<HTMLInputElement>>;
2487
-
2488
- type SwitchProps = Partial<SwitchAria> & {
2489
- /** Id property of the switch element */
2490
- id?: string;
2491
- /** The value of the switch element */
2492
- value?: string;
2493
- /** Callback for when the element's selection state changes. */
2494
- onChange?: (isSelected: boolean) => void;
2495
- /** Label configuration; includes placement, size, helpText and sx */
2496
- labelConfig?: LabelConfig$1;
2497
- children?: React$1.ReactNode;
2498
- } & TestProps$1;
2499
- declare const Switch: React$1.ForwardRefExoticComponent<Partial<SwitchAria> & {
2500
- /** Id property of the switch element */
2501
- id?: string;
2502
- /** The value of the switch element */
2503
- value?: string;
2504
- /** Callback for when the element's selection state changes. */
2505
- onChange?: (isSelected: boolean) => void;
2506
- /** Label configuration; includes placement, size, helpText and sx */
2507
- labelConfig?: LabelConfig$1;
2508
- children?: React$1.ReactNode;
2509
- } & TestProps$1 & React$1.RefAttributes<HTMLInputElement>>;
2510
-
2511
- type InputProps$1 = Partial<Omit<InputHTMLAttributes<HTMLInputElement>, 'readOnly' | 'disabled' | 'size'>>;
2512
- type MaskProps = {
2513
- mask?: never;
2514
- } | {
2515
- mask?: string | (string | RegExp)[];
2516
- placeholder?: never;
2517
- };
2518
- type TextFieldProps = {
2519
- /** The id of the text field that will be used as for in label too */
2520
- id?: string;
2521
- /** Callback fired when the `input` is blurred. */
2522
- onBlur?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
2523
- /** Callback fired when the `input` is changed. */
2524
- onChange?: React__default.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
2525
- /** Callback fired when the `input` is focused. */
2526
- onFocus?: React__default.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
2527
- /** Callback fired when the `input` has a key down event. */
2528
- onKeyDown?: React__default.KeyboardEventHandler<HTMLTextAreaElement | HTMLInputElement>;
2529
- /** Callback fired when the `input` value typed is changed */
2530
- onInput?: React__default.EventHandler<any>;
2531
- /** Boolean to make the input readonly. Default to false. */
2532
- isReadOnly?: boolean;
2533
- /** [For MultiTextField] If true, the user can add multiple tags as an input */
2534
- isMulti?: boolean;
2535
- /** [For MultiTextField] The values of the tags */
2536
- tags?: string[];
2537
- /** [For MultiTextField] A callback for when a Tag value is deleted */
2538
- onMultiValueDelete?: (value: string) => void;
2539
- /** [For MultiTextField] A callback for when all values are deleted */
2540
- onMultiValueClearAll?: () => void;
2541
- } & TextInputBaseProps$1 & MaskProps & InputProps$1 & TestProps;
2542
- declare const _default$8: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextFieldProps & React__default.RefAttributes<HTMLInputElement>>>;
2543
-
2544
- type DisabledDates = {
2545
- daysOfWeek?: number[];
2546
- days?: Date[];
2547
- after?: Date;
2548
- before?: Date;
2549
- };
2550
- type DateRange = {
2551
- from: Date | undefined;
2552
- to: Date | undefined;
2553
- };
2554
- type DatePickerProps = {
2555
- /** This property is to define if this is a day picker or a day range picker */
2556
- isRangePicker?: boolean;
2557
- /** A callback to return user selection */
2558
- onChange?: (range: DateRange) => void;
2559
- /** Option to disable some dates */
2560
- disableDates?: DisabledDates;
2561
- /** Value to define if needed an initial state or to handle it externally */
2562
- value: DateRange;
2563
- /** Calendar options for DateRangePicker */
2564
- options?: ExtraOption[];
2565
- /** Props of the TextField input */
2566
- inputProps?: Omit<TextFieldProps, 'size'>;
2567
- /** The format of the date displayed in the input field */
2568
- dateFormatOverride?: DateFormatType;
2569
- /** if the datepicker can be clear with backspace */
2570
- isClearable?: boolean;
2571
- /** if the datepicker's default date is today instead of placeholder text */
2572
- /** @deprecated This prop is being deprecated and is not used as you can manipulate date from value, will be removed in the future **/
2573
- isDefaultNow?: boolean;
2574
- /** Style properties for the DatePicker with a filter base */
2575
- filterConfig?: {
2576
- /** The filter's label */
2577
- label?: string;
2578
- /** This property defines the Filter's type */
2579
- filterType?: FilterType$1;
2580
- };
2581
- };
2582
- type ExtraOption = {
2583
- value: string;
2584
- label: string;
2585
- dates: Dayjs[];
2586
- };
2587
- 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';
2588
-
2589
- declare const _default$7: React__default.NamedExoticComponent<DatePickerProps & TestProps>;
2590
-
2591
- declare const CALENDAR_DEFAULT_OPTIONS: ExtraOption[];
2592
-
2593
- type NavigationMenuItem = {
2594
- name: string;
2595
- url: string;
2596
- state?: Record<string, any> | null;
2597
- isVisible: boolean;
2598
- iconName: AcceptedIconNames$1;
2599
- isActive?<S = Location['state']>(params: Readonly<Params<string>>, location: Location<S>): boolean;
2600
- options: NavigationMenuItem[];
2601
- };
2602
-
2603
- type NavigationProps = {
2604
- /** Defines if the navigation is expanded */
2605
- isExpanded: boolean;
2606
- /** Changes if the navigation is expanded */
2607
- setExpanded: (v: boolean) => void;
2608
- /** The menu items to be displayed in the navigation */
2609
- menuItems: NavigationMenuItem[];
2610
- /** Render prop function to display something over the Navigation */
2611
- renderHeader?: () => React__default.ReactNode;
2612
- };
2613
- declare const Navigation: React__default.FC<NavigationProps>;
2614
-
2615
- type SharedProps = {
2616
- /**
2617
- * A function accepting a click handler and a boolean representing the current expansion state. Returns the elements containing the text and the
2618
- * expand/collapse button
2619
- * */
2620
- textAndControl: (x: React$1.ReactEventHandler, y: boolean) => React$1.ReactElement;
2621
- /**
2622
- * The type of the component that wraps the action and content. Must be able to hold a
2623
- * `data-testid` prop
2624
- *
2625
- * @default div
2626
- */
2627
- component?: ReactComponentLike;
2628
- /**
2629
- * Initial expansion state.
2630
- *
2631
- * @default false
2632
- */
2633
- isInitiallyExpanded?: boolean;
2634
- /**
2635
- * The duration for the appear transition
2636
- *
2637
- * @default 200
2638
- */
2639
- transitionDuration?: number;
2640
- /**
2641
- * A function accepting a boolean representing the current expansion state. Returns the
2642
- * collapsible/expandable content. Mutually exclusive with children.
2643
- */
2644
- content?: (x: boolean) => React$1.ReactNode;
2645
- /**
2646
- * A function accepting a boolean representing the current expansion state. Returns the
2647
- * collapsible/expandable content. Mutually exclusive with content.
2648
- */
2649
- children?: (x: boolean) => React$1.ReactNode;
2650
- } & TestProps;
2651
- type ExternalProps = {
2652
- /**
2653
- * Defining this prop means that the component is controlled
2654
- *
2655
- * @default false
2656
- */
2657
- isExpanded: true;
2658
- /**
2659
- * Change handler for the case when the component is controlled
2660
- */
2661
- onChange: React$1.ReactEventHandler;
2662
- };
2663
- type InternalProps = {
2664
- /**
2665
- * Defining this prop means that the component is controlled
2666
- *
2667
- * @default false
2668
- */
2669
- isExpanded?: never;
2670
- /**
2671
- * Change handler for the case when the component is controlled
2672
- */
2673
- onChange?: never;
2674
- };
2675
- type ExpandCollapseProps = SharedProps & (InternalProps | ExternalProps);
2676
-
2677
- declare const ExpandCollapse: (props: ExpandCollapseProps) => _emotion_react_jsx_runtime.JSX.Element;
2678
-
2679
- type LinkSizes = 1 | 2 | 3;
2680
-
2681
- declare const Link: React__default.ForwardRefExoticComponent<React__default.AnchorHTMLAttributes<HTMLAnchorElement> & {
2682
- type?: "primary" | "inverted";
2683
- placement?: "inline" | "block";
2684
- size?: LinkSizes;
2685
- iconName?: components_Icon.AcceptedIconNames;
2686
- isDisabled?: boolean;
2687
- component?: prop_types.ReactComponentLike;
2688
- dataTestPrefixId?: string;
2689
- } & React__default.RefAttributes<HTMLAnchorElement>>;
2690
-
2691
- type LabelProps = {
2692
- /** If the label has error */
2693
- hasError?: boolean;
2694
- /** The label that is going to be displayed */
2695
- label: string;
2696
- /** If the label value is required */
2697
- isRequired: boolean;
2698
- /** If the label must be moved to the top */
2699
- isAnimated?: boolean;
2700
- /** HTML <label/>'s for prop */
2701
- htmlFor?: string;
2702
- /** The size of the label */
2703
- size?: ComponentSizes$1;
2704
- };
2705
- declare const Label: React$1.FCC<LabelProps>;
2706
-
2707
- type ListSelection = Set<Key>;
2708
- type ListSelected = 'all' | Iterable<Key>;
2709
- type ListItemType = SelectOption$1;
2710
- type ListRowSize = ComponentSizes$1;
2711
- type SelectHandlerType = (option: ListItemType) => void;
2712
-
2713
- type SelectOptionValues = {
2714
- value: string | number;
2715
- label: string;
2716
- /** refer to Icon component for more details */
2717
- iconProps?: IconProps;
2718
- };
2719
- type SelectOptionBase = {
2720
- isDisabled?: boolean;
2721
- /** helper text that show under item text */
2722
- helperText?: string;
2723
- tooltipInfo?: string;
2724
- options?: SelectOption[];
2725
- isCreated?: boolean;
2726
- };
2727
- type SelectOption = SelectOptionBase & SelectOptionValues;
2728
- type InputProps = Partial<Omit<InputHTMLAttributes<HTMLInputElement>, 'size' & 'onChange'>>;
2729
- type MultiSelectProps = {
2730
- /** The function that is used to return the selected options */
2731
- onChange?: (selectedOption: SelectOption[]) => void;
2732
- /** If true the user can select multiple options */
2733
- isMulti: true;
2734
- /** The selected options in case of multiSelect */
2735
- /** @TODO merge selectedOption with selectedOptions in v5 */
2736
- selectedOption?: SelectOption[];
2737
- };
2738
- type SingleSelectProps = {
2739
- /** The function that is used to return the selected options */
2740
- onChange?: (selectedOption?: SelectOption) => void;
2741
- /** If false the user can select one option */
2742
- isMulti?: never;
2743
- /** the value of the select if select is controlled */
2744
- selectedOption?: SelectOption;
2745
- };
2746
- type SelectProps = {
2747
- /** Options for the select dropdown */
2748
- options: SelectOption[];
2749
- /** if the component is used asynchronously */
2750
- isAsync?: boolean;
2751
- /** the function to fetch new options */
2752
- asyncSearch?: (term: string) => void;
2753
- /** after how many characters to start searching (default = 0) */
2754
- minCharactersToSearch?: number;
2755
- /** if searched text should be highlighted in available options */
2756
- hasHighlightSearch?: boolean;
2757
- /** if the options are searchable */
2758
- isSearchable?: boolean;
2759
- /** data-testid suffix */
2760
- dataTestId?: string;
2761
- /** if component is loading */
2762
- isLoading?: boolean;
2763
- /** if options list is virtualized */
2764
- isVirtualized?: boolean;
2765
- /**
2766
- * If true, then in the case of a searched option that is not found in the Options list of MultiSelect,
2767
- * the user can create this option.
2768
- * */
2769
- isCreatable?: boolean;
2770
- /** Whether the MultiSelect should have a Select All option */
2771
- hasSelectAllOption?: boolean;
2772
- } & (MultiSelectProps | SingleSelectProps) & Omit<TextFieldProps, 'onChange' | 'mask'> & Omit<InputProps, 'onChange' | 'size'> & TestProps;
2773
-
2774
- declare const emptyValue: SelectOption;
2775
- declare const _default$6: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLInputElement>>>;
2776
-
2777
- declare const _default$5: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLInputElement>>>;
2778
-
2779
- type ListProps = {
2780
- /** The label that describes the List, useful to determine aria and accessibility of the list */
2781
- label: string;
2782
- /** Width of the list */
2783
- width?: number;
2784
- /** Height of the list when you use it as virtualized */
2785
- height?: number;
2786
- /** Virtualized list option */
2787
- isVirtualized?: boolean;
2788
- /** Callback when an item gets a change */
2789
- onSelectionChange?: (keys: ListSelection) => unknown;
2790
- /** Is the actual `key` of the item e.g `<Item key={'item_1'} />` is the `item_1` */
2791
- disabledKeys?: ListSelected;
2792
- /** Is the actual `key` of the item e.g `<Item key={'item_1'} />` is the `item_1` */
2793
- selectedKeys?: ListSelected;
2794
- } & Omit<AriaListBoxProps<SelectOption>, 'selectionMode' | 'onSelectionChange' | 'children'> & TestProps$1 & Omit<React__default.InputHTMLAttributes<HTMLUListElement>, 'onChange'>;
2795
- /**
2796
- * This is the List component that uses the Window underneath for every UL.
2797
- * Because this component uses the React-Aria abstraction for the List it will also contain the Option and ListBoxSection below
2798
- * as a masked layer to the actual subcomponents
2799
- * */
2800
- declare const List: React__default.ForwardRefExoticComponent<{
2801
- /** The label that describes the List, useful to determine aria and accessibility of the list */
2802
- label: string;
2803
- /** Width of the list */
2804
- width?: number;
2805
- /** Height of the list when you use it as virtualized */
2806
- height?: number;
2807
- /** Virtualized list option */
2808
- isVirtualized?: boolean;
2809
- /** Callback when an item gets a change */
2810
- onSelectionChange?: (keys: ListSelection) => unknown;
2811
- /** Is the actual `key` of the item e.g `<Item key={'item_1'} />` is the `item_1` */
2812
- disabledKeys?: ListSelected;
2813
- /** Is the actual `key` of the item e.g `<Item key={'item_1'} />` is the `item_1` */
2814
- selectedKeys?: ListSelected;
2815
- } & Omit<AriaListBoxProps<SelectOption>, "children" | "selectionMode" | "onSelectionChange"> & TestProps$1 & Omit<React__default.InputHTMLAttributes<HTMLUListElement>, "onChange"> & React__default.RefAttributes<HTMLUListElement>>;
2816
-
2817
- type ListItemTextProps = {
2818
- description?: string | JSX.Element;
2819
- };
2820
- declare const ListItemText: FC<React__default.PropsWithChildren<ListItemTextProps>>;
2821
-
2822
- type ListItemActionProps = NonNullable<unknown>;
2823
- declare const ListItemAction: FCC<ListItemActionProps>;
2824
-
2825
- type ListItemProps = {
2826
- /** A string representation of the item's unique key. */
2827
- key?: string | number;
2828
- /** A string representation of the item's contents, used when contents are something more than just text to determine labels etc. */
2829
- textValue?: string;
2830
- /** @default normal */
2831
- rowSize?: ListRowSize;
2832
- /** The type of the parent component, usually changed when used on Menus @defaults List */
2833
- parentType?: 'List' | 'Menu';
2834
- };
2835
- declare const ListItem: React__default.FCC<ListItemProps>;
2836
-
2837
- type ListSectionProps = {
2838
- /** Rendered contents of the section, e.g. a header. */
2839
- title: ReactNode;
2840
- /** An accessibility label for the section. */
2841
- 'aria-label'?: string;
2842
- /** @default normal */
2843
- rowSize?: ListRowSize;
2844
- } & SectionProps<unknown>;
2845
- declare const ListSection: React__default.FCC<ListSectionProps>;
2846
-
2847
- type MenuProps = {
2848
- children?: React$1.ReactElement[] | React$1.ReactElement;
2849
- /** A callback that is being triggered when selection change */
2850
- onSelectionChange?: (e: Set<string>) => any;
2851
- /** The keys of the items that are disabled */
2852
- disabledKeys?: Set<string>;
2853
- /** The keys of the items that are selected */
2854
- selectedKeys?: Set<string>;
2855
- /** The size of the row */
2856
- rowSize?: ListRowSize$1;
2857
- /** The ref of the trigger element */
2858
- triggerRef: React$1.RefObject<any>;
2859
- /** Define if the menu is open or not */
2860
- isOpen?: boolean;
2861
- /** A callback that is being triggered when the menu is closed */
2862
- onClose?: (e: any) => any;
2863
- /** A callback that is being triggered when the menu is acting */
2864
- onAction?: (item: string) => any;
2865
- /** The selection mode of the menu */
2866
- selectionMode?: 'single' | 'multiple';
2867
- } & TestProps;
2868
- declare const Menu: React$1.FC<MenuProps>;
2869
-
2870
- type ModalContentProps = {
2871
- /** The label of the modal. */
2872
- label?: string;
2873
- /** The heading of the modal. */
2874
- heading: string;
2875
- /** The main messager of the modal. */
2876
- message: string;
2877
- /** The primary call-to-action label of the Modal */
2878
- primaryCTALabel?: string;
2879
- /** The primary call-to-action of the Modal */
2880
- primaryCTA?: () => void;
2881
- /** The secondary call-to-action label of the Modal */
2882
- secondaryCTALabel?: string;
2883
- /** The secondary call-to-action of the Modal */
2884
- secondaryCTA?: () => void;
2885
- /** The data test id if needed */
2886
- dataTestId?: TestId;
2887
- };
2888
-
2889
- type ModalProps = {
2890
- /** If true, the modal is open. Defaults to false. */
2891
- isOpen: boolean;
2892
- /** Callback fired when the component requests to be closed. */
2893
- onClose: () => void;
2894
- /** If contentProps are defined then ModalContent will be used instead of children. Otherwise, you can use the Modal as a wrapper */
2895
- contentProps?: ModalContentProps;
2896
- /** The data test id if needed */
2897
- dataTestId?: TestId;
2898
- /** If false, the content won't have any padding */
2899
- isContentPadded?: boolean;
2900
- };
2901
- declare const Modal: React__default.FCC<ModalProps>;
2902
-
2903
- type NotificationTypes = 'success' | 'error' | 'info' | 'warning';
2904
- type NotificationVariants = 'inline' | 'banner';
2905
- type NotificationStyleType = 'elevated' | 'outlined';
2906
- type NotificationActions = {
2907
- /** The primary call-to-action label of the Notification */
2908
- primaryCTALabel?: string;
2909
- /** The primary call-to-action of the Notification */
2910
- primaryCTA?: () => void;
2911
- /** The secondary call-to-action label of the Notification */
2912
- secondaryCTALabel?: string;
2913
- /** The secondary call-to-action of the Notification */
2914
- secondaryCTA?: () => void;
2915
- };
2916
-
2917
- type InlineNotificationProps = {
2918
- /** Show notification icon based on the type */
2919
- hasIcon?: boolean;
2920
- /** The informative message of the Notification */
2921
- message: string | React$1.ReactNode;
2922
- /** The type of the Notification */
2923
- type: NotificationTypes;
2924
- /** The style type of the Notification. Defaults to elevated */
2925
- styleType?: NotificationStyleType;
2926
- /** The closing call-to-action of the Notification */
2927
- closeCTA?: () => void;
2928
- /** The data test id if needed */
2929
- dataTestId?: TestId;
2930
- } & Pick<NotificationActions, 'primaryCTALabel' | 'primaryCTA'>;
2931
- declare const InlineNotification: React$1.FC<InlineNotificationProps>;
2932
-
2933
- type NotificationsContainerPositions = 'top-right' | 'top-left' | 'bottom-left' | 'bottom-right';
2934
- type NotificationsContainerProps = {
2935
- /** Notifications Container position */
2936
- position: NotificationsContainerPositions;
2937
- parent?: HTMLElement | null;
2938
- };
2939
- declare const NotificationsContainer: React__default.FCC<NotificationsContainerProps>;
2940
-
2941
- type NotificationVisualProps = {
2942
- /** The message heading of the Notification */
2943
- title: string | undefined;
2944
- /** The description of the Notification (only for toast) */
2945
- description: string | undefined;
2946
- /** The data test id if needed */
2947
- dataTestId?: TestId;
2948
- } & NotificationActions;
2949
- declare const NotificationVisual: React$1.FCC<NotificationVisualProps>;
2950
-
2951
- type BannerProps = {
2952
- /** Show notification icon based on the type */
2953
- hasIcon?: boolean;
2954
- /** The title (message heading) of the Notification */
2955
- title: string;
2956
- /** The informative message of the Notification */
2957
- message: string | React$1.ReactNode;
2958
- /** The type of the Notification */
2959
- type: NotificationTypes;
2960
- /** The style type of the Notification. Defaults to elevated */
2961
- styleType?: NotificationStyleType;
2962
- /** The closing call-to-action of the Notification */
2963
- closeCTA?: () => void;
2964
- /** The data test id if needed */
2965
- dataTestId?: TestId;
2966
- } & Pick<NotificationActions, 'primaryCTALabel' | 'primaryCTA'>;
2967
- declare const Banner: React$1.FCC<BannerProps>;
2968
-
2969
- type SnackbarProps = {
2970
- /** The informative message of the Toast */
2971
- message: string;
2972
- /** The type of the Notification */
2973
- type: NotificationTypes;
2974
- /** The style type of the Notification. Defaults to elevated */
2975
- styleType?: NotificationStyleType;
2976
- /** The description of the Notification (only for toast) */
2977
- description: string | undefined;
2978
- /** The closing call-to-action of the Toast */
2979
- closeCTA: (() => void) | undefined;
2980
- /** The data test id if needed */
2981
- dataTestId?: TestId;
2982
- } & NotificationActions;
2983
- declare const Snackbar: React$1.FCC<SnackbarProps>;
2984
-
2985
- type AnchorType = 'bottom' | 'left' | 'right' | 'top';
2986
- type DrawerProps = {
2987
- /** If true, the drawer is open.*/
2988
- isOpen: boolean;
2989
- /** Callback fired when the component requests to be closed. */
2990
- onClose: () => void;
2991
- /** Side from which the overlay will appear. */
2992
- anchor?: AnchorType;
2993
- /** Drawer size are relative to the viewport (percentage) */
2994
- size: number;
2995
- /** Whether the background behind the Drawer is interactive. Defaults to false */
2996
- isBackgroundActive?: boolean;
2997
- /** If true, then the header and footer are fixed positioned */
2998
- hasFixedLayout?: boolean;
2999
- /** The parent element, in which the drawer will be rendered. Defaults to document.body */
3000
- parent?: HTMLElement | null;
3001
- } & TestProps$1;
3002
-
3003
- declare const Drawer: React__default.ForwardRefExoticComponent<{
3004
- isOpen: boolean;
3005
- onClose: () => void;
3006
- anchor?: AnchorType;
3007
- size: number;
3008
- isBackgroundActive?: boolean;
3009
- hasFixedLayout?: boolean;
3010
- parent?: HTMLElement;
3011
- } & TestProps & {
3012
- children?: React__default.ReactNode;
3013
- } & React__default.RefAttributes<HTMLDivElement>>;
3014
-
3015
- declare const DrawerHeader: FCC<TestProps$1>;
3016
-
3017
- declare const DrawerContent: FCC<TestProps$1>;
3018
-
3019
- declare const DrawerFooter: FCC<TestProps$1>;
3020
-
3021
- declare const SET_HAS_FIXED_LAYOUT = "SET_HAS_FIXED_LAYOUT";
3022
- declare const SET_ON_CLOSE = "SET_ON_CLOSE";
3023
- declare const TOGGLE_IS_SCROLLBAR_ON_TOP = "TOGGLE_IS_SCROLLBAR_ON_TOP";
3024
- declare const TOGGLE_IS_SCROLLBAR_ON_BOTTOM = "TOGGLE_IS_SCROLLBAR_ON_BOTTOM";
3025
- type DrawerContextState = {
3026
- hasFixedLayout?: boolean;
3027
- onClose?: () => void;
3028
- isScrollbarOnTop?: boolean;
3029
- isScrollbarOnBottom?: boolean;
3030
- };
3031
- type DrawerContextAction = {
3032
- type: typeof SET_HAS_FIXED_LAYOUT | typeof SET_ON_CLOSE | typeof TOGGLE_IS_SCROLLBAR_ON_BOTTOM | typeof TOGGLE_IS_SCROLLBAR_ON_TOP;
3033
- payload: any;
3034
- };
3035
- declare const setHasFixedLayout: (payload: any) => DrawerContextAction;
3036
- declare const setOnClose: (payload: any) => DrawerContextAction;
3037
- declare const toggleIsScrollbarOnTop: (payload: any) => DrawerContextAction;
3038
- declare const toggleIsScrollbarOnBottom: (payload: any) => DrawerContextAction;
3039
- declare const DrawerContext: React__default.Context<[DrawerContextState, Dispatch<DrawerContextAction>]>;
3040
- type DrawerContextReducer = (state: DrawerContextState, action: DrawerContextAction) => DrawerContextState;
3041
- declare const DrawerContextProvider: FCC<{
3042
- hasFixedLayout?: boolean;
3043
- onClose: () => void;
3044
- }>;
3045
- declare const useDrawerContext: () => [DrawerContextState, Dispatch<DrawerContextAction>];
3046
-
3047
- type PaginationProps = {
3048
- /** The current page you are on if you need to control it, defaults to 1 **/
3049
- page: number;
3050
- /** The total pages **/
3051
- count: number;
3052
- /** An onChange callback that will return the page on navigation **/
3053
- onChange?: (page: number) => void;
3054
- /** Show enhanced button functionality, this way the jump to first and last page will be shown. Default to false **/
3055
- isEnhancedPaginationVisible?: boolean;
3056
- /** Manually disable next page buttons **/
3057
- isNextPageDisabled?: boolean;
3058
- /** Manually disable previous page buttons **/
3059
- isPrevPageDisabled?: boolean;
3060
- };
3061
- declare const Pagination: ({ page, count, onChange, isEnhancedPaginationVisible, isNextPageDisabled, isPrevPageDisabled, }: PaginationProps) => _emotion_react_jsx_runtime.JSX.Element;
3062
-
3063
- declare const ProgressIndicator: React__default.ForwardRefExoticComponent<{
3064
- type?: "linear" | "circular";
3065
- value?: number;
3066
- status?: "error" | "normal";
3067
- isBlock?: boolean;
3068
- } & TestProps & React__default.RefAttributes<HTMLDivElement>>;
3069
-
3070
- type SliderProps = {
3071
- /** Determines if the Slider is disabled or not */
3072
- isDisabled?: boolean;
3073
- /** Determines if the Slider will show increments along its track */
3074
- hasIncrements?: boolean;
3075
- /** Called when a thumb is moved, provides new values */
3076
- onChange: (values: number[]) => void;
3077
- /** Called when a change is finished (mouse/touch up, or keyup), provides current values.
3078
- * Use this event when you have to make for example ajax request with new values. */
3079
- onBlur?: (values: number[]) => void;
3080
- /** Determines the position of the rendered thumbs and the type of the Slider. 1 value means it's a Selector,
3081
- * while 2 values mean it's a Range. Defaults to [0, 100] */
3082
- values: [number] | [number, number];
3083
- };
3084
- declare const STEP_WITH_INCREMENTS = 20;
3085
- declare const MIN = 0;
3086
- declare const MAX = 100;
3087
- declare const Slider: React__default.FC<SliderProps & TestProps>;
3088
-
3089
- type SortingOrder = 'asc' | 'desc';
3090
- type ExtendedColumn = {
3091
- content: {
3092
- label: string;
3093
- sortingKey: string;
3094
- };
3095
- tooltip?: {
3096
- content: string;
3097
- placement?: TooltipPlacement$1;
3098
- };
3099
- isSortable?: boolean;
3100
- };
3101
- type Sort = {
3102
- column: string;
3103
- order: SortingOrder;
3104
- };
3105
-
3106
- type ContentComponent<T> = (data: Cell<T>) => React__default.ReactNode;
3107
- type Cell<T> = {
3108
- /** the content of the cell to be displayed. You can pass also custom component. `ContentComponent: (data: Cell<T>) => React.ReactNode`. The type defines that will be a function that returns cell to use cell data. */
3109
- content: number | string | ContentComponent<T>;
3110
- /** the truncated tooltip content, you can override it or it will take the content @default content */
3111
- tooltipContent?: string;
3112
- /** show or not the truncated tooltip @default true if the text is truncated */
3113
- hasTruncatedTooltip?: boolean;
3114
- /** the colSpan of the cell to be displayed */
3115
- colSpan?: number;
3116
- /** the type of the cell to be displayed @default normal */
3117
- type?: 'financial' | 'normal';
3118
- /** the alignment of the cell to be displayed */
3119
- align?: 'left' | 'right';
3120
- /** the width of the cell to be displayed */
3121
- widthPercentage?: number;
3122
- };
3123
- type Row<T> = {
3124
- /** the id of the row */
3125
- id: string | number;
3126
- /** the cells of the row, see Cell type for each */
3127
- cells: Cell<T>[];
3128
- /** the expanded content of the row, if its expandable */
3129
- expanded?: ({ row, isSelected, isExpanded, }: {
3130
- row: Row<T>;
3131
- isSelected: boolean;
3132
- isExpanded: boolean;
3133
- }) => React__default.ReactNode;
3134
- rowSpan?: number;
3135
- };
3136
- type Selection = string | number;
3137
- type TableType = 'normal' | 'nested-header';
3138
- type TableProps<T> = {
3139
- /** The data for the table that needs to display. */
3140
- data: Row<T>[];
3141
- /** An array of titles or objects to define columns. */
3142
- columns: (string | ExtendedColumn)[];
3143
- /** Boolean defining if the header is fixed or not. */
3144
- hasFixedHeader?: boolean;
3145
- /** Boolean defining if the CTA's container is fixed or not. */
3146
- hasFixedCTA?: boolean;
3147
- /** Type of the table which determine the headers display. */
3148
- type?: TableType;
3149
- /** Boolean defining the padding all over the table cells and rows. */
3150
- isPadded?: boolean;
3151
- /** Function that once provided on each check will return the selection. */
3152
- onCheck?: (data: Selection[]) => void;
3153
- /** Function that once provided will provide the currently selected sorting configuration */
3154
- onSort?: (column: string, order: SortingOrder) => void;
3155
- /** Initial sorting column and order. Should be provided along with onSort */
3156
- initialSort?: Sort;
3157
- /** If provided sort will only work with this option (asc or desc only). By default supports bidirectional sort*/
3158
- sortDir?: SortingOrder;
3159
- /** Top left text on the table - showing a counter, text etc. */
3160
- topLeftText?: string | React__default.ReactElement;
3161
- /** Top right area to define a custom component for buttons or other usage. */
3162
- topRightArea?: (data: Row<T>[], selectionData?: Selection[]) => React__default.ReactNode;
3163
- /** Action cell width for Table with Expandable Rows (in %)*/
3164
- actionWidth?: number;
3165
- /** If true, table's expandable rows will be expanded on initial render. */
3166
- isInitiallyExpanded?: boolean;
3167
- /** Data test id prefix for all th/td elements */
3168
- dataTestIdPrefix?: string;
3169
- };
3170
- 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;
3171
- declare const _default$4: React__default.MemoExoticComponent<typeof Table>;
3172
-
3173
- type TagColors = 'neutral' | 'blue' | 'red' | 'purple' | 'teal' | 'orange';
3174
- type TagSizes = 'normal' | 'small';
3175
- type TagProps = {
3176
- /** The color of the Tag
3177
- * @default 'neutral'
3178
- * */
3179
- color?: TagColors;
3180
- /** The size of the Tag
3181
- * @default 'normal'
3182
- * */
3183
- size?: TagSizes;
3184
- /** The name of the leading icon. Applies only to read-only Tag */
3185
- iconName?: AcceptedIconNames$1;
3186
- /** If provided, the Tag becomes selectable. Callback for when the Tag is clicked */
3187
- onSelect?: () => void;
3188
- /** Whether the selectable Tag is selected (active state) */
3189
- isSelected?: boolean;
3190
- /** If provided, the Tag becomes clearable. Callback for when the clear icon of the Tag is clicked */
3191
- onClear?: () => void;
3192
- } & TestProps$1;
3193
-
3194
- declare const Tag: React__default.ForwardRefExoticComponent<Omit<Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "color" | "css" | "size">> & {
3195
- color?: TagColors;
3196
- size?: TagSizes;
3197
- iconName?: AcceptedIconNames;
3198
- onSelect?: () => void;
3199
- isSelected?: boolean;
3200
- onClear?: () => void;
3201
- } & TestProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
3202
-
3203
- type filterConfig = Pick<FilterProps$1 & SingleFilterProps$1, 'selectedFilter' | 'onChange' | 'onClear' | 'defaultValue' | 'label' | 'items'>;
3204
- type SearchFilterConfig = {
3205
- filterConfig?: filterConfig;
3206
- };
3207
- type SearchProps = {
3208
- /** A callback that's called when the user clicks the 'clear' icon */
3209
- onClear: () => void;
3210
- } & Omit<TextFieldProps$1, 'label' | 'size' | 'mask' | 'isMulti' | 'tags' | 'onMultiValueDelete' | 'onMultiValueClearAll' | 'status' | 'suffix' | 'isInteractive'> & SearchFilterConfig;
3211
-
3212
- declare const _default$3: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
3213
- onClear: () => void;
3214
- } & Omit<TextFieldProps, "label" | "mask" | "status" | "size" | "isInteractive" | "isMulti" | "tags" | "onMultiValueDelete" | "onMultiValueClearAll" | "suffix"> & SearchFilterConfig & React__default.RefAttributes<HTMLInputElement>>>;
3215
-
3216
- declare const _default$2: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Partial<SearchProps> & React__default.RefAttributes<HTMLInputElement>>>;
3217
-
3218
- type TextInputBaseProps = {
3219
- /** The label of the text field that will be used as a placeholder and a label */
3220
- label: string;
3221
- /** The placeholder of the input that will be used. This is shown if no label exists */
3222
- placeholder?: string;
3223
- /** The size of input */
3224
- size?: ComponentSizes$1;
3225
- /** An optional suffix (element or icon-name) to show to the left */
3226
- suffix?: AcceptedIconNames$1 | React__default.ReactNode | null;
3227
- /** If the text field value is required */
3228
- isRequired?: boolean;
3229
- /** If the text field is disabled */
3230
- isDisabled?: boolean;
3231
- /** The status of the TextInput with an optional hint message */
3232
- status?: {
3233
- type: 'normal' | 'error' | 'read-only';
3234
- hintMessage?: string;
3235
- id?: string;
3236
- };
3237
- /** value of the input */
3238
- value?: string | number;
3239
- /** Sx prop to override specific properties */
3240
- sx?: {
3241
- wrapper?: CSSObject;
3242
- textField?: CSSObject;
3243
- input?: CSSObject;
3244
- };
3245
- /** Whether the Textfield should change its styles when hovered/focused etc */
3246
- isInteractive?: boolean;
3247
- children?: React__default.ReactNode;
3248
- } & TestProps;
3249
-
3250
- type TextAreaProps = {
3251
- /** The id of the text field that will be used as for in label too */
3252
- id?: string;
3253
- /** The value of the textarea element */
3254
- value?: string;
3255
- /** The placeholder of the input that will be used. This is shown if no label exists */
3256
- placeholder?: string;
3257
- /** If the text field value is required */
3258
- isRequired?: boolean;
3259
- /** Boolean to make the input readonly. Default to false. */
3260
- isReadOnly?: boolean;
3261
- /** If the text field is disabled */
3262
- isDisabled?: boolean;
3263
- /** If the text area can be resized */
3264
- isResizeEnabled?: boolean;
3265
- /** Number of maximum characters. Will be shown on the counter on the bottom right of the component */
3266
- maxCharacters?: number;
3267
- /** Callback fired when the `input` is blurred. */
3268
- onBlur?: React$1.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
3269
- /** Callback fired when the `input` is changed. */
3270
- onChange?: React$1.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
3271
- /** Callback fired when the `input` is focused. */
3272
- onFocus?: React$1.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
3273
- /** Callback fired when the `input` has a key down event. */
3274
- onKeyDown?: React$1.KeyboardEventHandler<HTMLTextAreaElement | HTMLInputElement>;
3275
- /** Callback fired when the `input` value typed is changed */
3276
- onInput?: React$1.EventHandler<any>;
3277
- } & Omit<React$1.HTMLProps<HTMLTextAreaElement>, 'size'> & Pick<TextInputBaseProps, 'status' | 'label'> & TestProps;
3278
- declare const _default$1: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>>;
3279
-
3280
- type ThemeProviderProps = {
3281
- /** Theme properties to override or pass theming down to library */
3282
- theme?: DeepPartial<ThemeConfig>;
3283
- };
3284
- declare const ThemeProvider: React$1.FCC<ThemeProviderProps>;
3285
-
3286
- type ToastProps = {
3287
- /** The informative message of the Toast */
3288
- message: string;
3289
- /** The type of the Toast, will determine the color and the icon */
3290
- type?: AcceptedColorComponentTypes;
3291
- /** The style type of the Notification. Defaults to elevated */
3292
- styleType?: NotificationStyleType;
3293
- /** The closing call-to-action of the Toast */
3294
- closeCTA: (() => void) | undefined;
3295
- /** Initialize toast as expanded */
3296
- isExpanded?: boolean;
3297
- /** If true, the Toast has a minimum-height */
3298
- hasMinimumHeight?: boolean;
3299
- /** The data test id if needed */
3300
- dataTestId?: TestId;
3301
- };
3302
- declare const isNotificationTypes: (type: string) => type is NotificationTypes;
3303
- declare const Toast: React$1.FCC<ToastProps>;
3304
-
3305
- type TooltipPlacement = 'top' | 'right' | 'bottom' | 'left';
3306
- type InteractiveTooltip = {
3307
- isInteractive: true;
3308
- content: React.ReactNode;
3309
- };
3310
- type TextTooltip = {
3311
- isInteractive?: false;
3312
- content: string;
3313
- };
3314
- type TooltipContent = InteractiveTooltip | TextTooltip;
3315
- type TooltipProps = TooltipContent & {
3316
- /** Whether the tooltip's style is inverted */
3317
- /** @default false */
3318
- isInverted?: boolean;
3319
- /** The placement where the tooltip will show */
3320
- /** @default top */
3321
- placement?: TooltipPlacement;
3322
- /** The unique id in order to link content and tooltip */
3323
- /** @default uuid */
3324
- id?: string;
3325
- /** Show delay for tooltip */
3326
- /** @default 500 */
3327
- delayIn?: number;
3328
- /** Hide delay for tooltip */
3329
- /** @default 500 */
3330
- delayOut?: number;
3331
- children: React.ReactElement;
3332
- };
3333
-
3334
- declare const Tooltip: React__default.ForwardRefExoticComponent<TooltipProps & React__default.RefAttributes<HTMLDivElement>>;
3335
-
3336
- type UserMenuProps = {
3337
- items: string[];
3338
- userName: string;
3339
- userAvatar: {
3340
- src: string;
3341
- letter: string;
3342
- };
3343
- onSelect: (selectedItem: string | number) => void;
3344
- };
3345
-
3346
- interface TopAppBarProps {
3347
- /** The placeholder of the search component */
3348
- searchPlaceholder?: string;
3349
- /** The defaultValue of the search component */
3350
- searchDefaultValue?: string;
3351
- /** Flag indicating that the search is disabled */
3352
- isSearchDisabled?: boolean;
3353
- /** Callback to be triggered on onChange event of search component */
3354
- onSearchHandler?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
3355
- /** Callback to be triggered on onKeyPress event of search component */
3356
- onKeyPressHandler?: (event: React__default.KeyboardEvent<HTMLInputElement>) => void;
3357
- /** Custom product logo */
3358
- logoIcon?: JSX.Element;
3359
- /** Handler for opening end closing the Navigation. Burger menu only visible from breakpoint [tab-1024] */
3360
- onMenuIconClick: () => void;
3361
- /** Whatever is needed can be placed here. It will be placed on the left side of the user menu */
3362
- additionalTools?: JSX.Element | JSX.Element[];
3363
- /** User menu props */
3364
- userMenu: UserMenuProps;
3365
- /** Flag indicating the theme mode */
3366
- isDark?: boolean;
3367
- }
3368
-
3369
- declare const TopAppBar: FC<TopAppBarProps>;
3370
-
3371
- type FilterOption = SelectOption$1;
3372
- type SingleFilterProps = {
3373
- /** The function that is used to return the selected options */
3374
- onChange?: (selectedFilter?: FilterOption) => void;
3375
- /** If false the user can select one option */
3376
- isMulti?: false;
3377
- /** the value of the select if select is controlled */
3378
- selectedFilter?: FilterOption;
3379
- };
3380
- type MultiFilterProps = {
3381
- /** The function that is used to return the selected options */
3382
- onChange?: (selectedFilter: FilterOption[]) => void;
3383
- /** If true the user can select multiple options */
3384
- isMulti?: true;
3385
- /** The selected options in case of multiSelect */
3386
- selectedFilter?: FilterOption[];
3387
- };
3388
- type FilterAsyncSearchProps = {
3389
- /** Whether the search is async */
3390
- isAsync?: boolean;
3391
- /** Callback for async search */
3392
- onAsyncSearch?: (term: string) => void;
3393
- /** Minimum characters required to trigger async search */
3394
- minCharactersToSearch?: number;
3395
- /** Loading state for async search */
3396
- isLoading?: boolean;
3397
- };
3398
- type FilterType = 'preset' | 'added';
3399
- /** These props are passed to children in order for the custom child component to have access to the Filter's inner state */
3400
- type FilterChildrenProps = {
3401
- /** Whether the overlay is open or not */
3402
- isOpen: boolean;
3403
- /** Callback to change the state of isOpen */
3404
- setIsOpen: any;
3405
- /** The Label of the Filter*/
3406
- filterLabel: string;
3407
- /** Callback to change the state of the Label */
3408
- setFilterLabel: any;
3409
- };
3410
- type FilterProps = {
3411
- /** The label of the Filter */
3412
- label: string;
3413
- /** The type of the filter */
3414
- filterType?: FilterType;
3415
- /** Whether the Filter is disabled */
3416
- isDisabled?: boolean;
3417
- /** Items that are being declared as filter options */
3418
- items?: FilterOption[];
3419
- /** The default value that is used when no filter is selected */
3420
- defaultValue: FilterOption;
3421
- /** Callback for when the clear all (X button) is clicked in single and multi filter */
3422
- onClear?: () => void;
3423
- /** Whether the filter is searchable */
3424
- isSearchable?: boolean;
3425
- /** [MultiFilter]: Callback for when the X button of an option is clicked */
3426
- onFilterDelete?: (selectedFilter: FilterOption) => void;
3427
- /** Whether the menu list is Virtualized */
3428
- isVirtualized?: boolean;
3429
- /** Whether the multi-filter should have a select-all option*/
3430
- hasSelectAllOption?: boolean;
3431
- /** In case of custom filter menu */
3432
- children?: React.FC<FilterChildrenProps>;
3433
- } & FilterAsyncSearchProps & TestProps$1 & (SingleFilterProps | MultiFilterProps);
3434
-
3435
- declare const Filter: React__default.ForwardRefExoticComponent<FilterProps & React__default.RefAttributes<HTMLButtonElement>>;
3436
-
3437
- declare const _default: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<FilterProps & React__default.RefAttributes<HTMLButtonElement>>>;
3438
-
3439
- type TruncatedContentProps = {
3440
- /** The content of the tooltip */
3441
- tooltipContent: string | undefined;
3442
- /** Flag for overriding other settings to always show the tooltip */
3443
- isAlwaysVisible?: boolean;
3444
- /** The placement of the tooltip */
3445
- placement?: 'top' | 'bottom' | 'right' | 'left';
3446
- };
3447
- declare const TruncatedContent: React__default.FCC<TruncatedContentProps>;
3448
-
3449
- type TypographyVariant = 'headline01' | 'headline02' | 'headline03' | 'headline04' | 'headline05' | 'title01' | 'title02' | 'title03' | 'label01' | 'label02' | 'label03' | 'label04' | 'body01' | 'body02' | 'body03' | 'body04';
3450
- type TypographyComponent = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div';
3451
- type TextColorTypes = 'primary' | 'secondary' | 'error' | 'active' | 'visited';
3452
- type TypographyProps = {
3453
- /** Type of the Typography that will affect the color of the text */
3454
- type?: TextColorTypes;
3455
- /** The variant of the Typography is the style of the text (font size, weight, line height, etc) */
3456
- variant?: TypographyVariant;
3457
- /** The Font Spacing used in the selection of the font family */
3458
- fontSpacing?: FontSpacing;
3459
- /** How you want to represent it, eg div, span or other @defaults p */
3460
- component?: TypographyComponent;
3461
- /** A boolean definition of the inverted case */
3462
- isInverted?: boolean;
3463
- /** A boolean definition to apply italic text */
3464
- isItalic?: boolean;
3465
- /** A boolean definition to apply bold text */
3466
- isBold?: boolean;
3467
- /** A boolean definition to apply underlined text */
3468
- isUnderline?: boolean;
3469
- children?: React__default.ReactNode;
3470
- id?: string;
3471
- };
3472
- declare const detectComponentBasedOnType: (variant: TypographyVariant) => TypographyComponent;
3473
- declare const Typography: React__default.ForwardRefExoticComponent<TypographyProps & React__default.RefAttributes<HTMLHeadingElement>>;
3474
-
3475
- declare const useTheme: () => _emotion_react.Theme;
3476
-
3477
- declare const useEscape: (onEscape: () => void) => void;
3478
-
3479
- export { AcceptedColorComponentTypes, AcceptedIconNames, AnchorType, AudioControlsIcons, Avatar, AvatarColors, AvatarProps, AvatarSizes, AvatarStack, Banner, BannerProps, BarChart, BasicActionsIcons, Breadcrumb, Button, ButtonProps, CALENDAR_DEFAULT_OPTIONS, Card, CardProps, Cell, CheckBox, CheckBoxProps, ContentComponent, DataAndFinanceIcons, DateFormatType, _default$7 as DatePicker, DatePickerProps, DateRange, DisabledDates, DonutChart, Drawer, DrawerContent, DrawerContext, DrawerContextAction, DrawerContextProvider, DrawerContextReducer, DrawerContextState, DrawerFooter, DrawerHeader, DrawerProps, Elevation, ExpandCollapse, ExpandCollapseProps, ExtendedColumn, ExternalProps, ExtraOption, Filter, FilterAsyncSearchProps, FilterChildrenProps, FilterOption, FilterProps, FilterType, GenericIcons, Typography$1 as GlobalsTypography, 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, MultiFilterProps, MultiSelectProps, MusicBusinessIcons, Navigation, NavigationIcons, NavigationMenuItem, NavigationProps, NotificationActions, NotificationStyleType, NotificationTypes, NotificationVariants, NotificationVisual, NotificationVisualProps, NotificationsContainer, NotificationsContainerPositions, NotificationsContainerProps, Overrides, Pagination, PaginationProps, Palette, ProgressIndicator, Radio, RadioContext, RadioGroup, RadioProps, Row, STEP_WITH_INCREMENTS, _default$3 as Search, SearchFilterConfig, SearchProps, _default$6 as Select, SelectHandlerType, SelectOption, SelectOptionBase, SelectOptionValues, SelectProps, Selection, SharedProps, SingleFilterProps, SingleSelectProps, Slider, SliderProps, Snackbar, SnackbarProps, Sort, SortingOrder, Spacing, _default as StatefulFilter, _default$2 as StatefulSearch, _default$5 as StatefulSelect, Switch, SwitchProps, _default$4 as Table, TableProps, TableType, Tag, TagColors, TagProps, TagSizes, TestProps, _default$1 as TextArea, TextAreaProps, TextColorTypes, _default$8 as TextField, TextFieldProps, TextTooltip, Theme, ThemeProvider, ThemeProviderProps, Toast, ToastProps, ToggledActionsIcons, Tooltip, TooltipContent, TooltipPlacement, TooltipProps, TopAppBarProps, TopAppBar as TopNavBar, TruncatedContent, TruncatedContentProps, Typography, TypographyComponent, TypographyProps, TypographyVariant, UserAndStatusIcons, centerAbsoluteVertical, detectComponentBasedOnType, elevation_d as elevation, emptyValue, filterConfig, flex, flexCenter, flexCenterVertical, generateTestDataId, generateUniqueID, generateUniqueKey, grid, isNotificationTypes, lineEllipsis, overrides_d as overrides, palette_d as palette, plainTextButton, queriesKeys, queriesSizes, setHasFixedLayout, setOnClose, spacing_d as spacing, defaultTheme as themeConfig, functions_d as themeFunctions, toggleIsScrollbarOnBottom, toggleIsScrollbarOnTop, transition, typography_d as typography, useBreakpoints, useDrawerContext, useEscape, useRadioGroupContent, useTheme, well };