@spaced-out/ui-design-system 0.4.15-beta.0 → 0.4.15

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 (1080) hide show
  1. package/.cspell/custom-words.txt +0 -5
  2. package/.storybook/main.js +6 -6
  3. package/CHANGELOG.md +6 -1
  4. package/babel.config.js +1 -1
  5. package/config.js +3 -3
  6. package/cspell.json +1 -3
  7. package/eslint.config.mjs +33 -54
  8. package/gulpfile.js +35 -6
  9. package/lib/components/Accordion/Accordion.js +5 -7
  10. package/lib/components/Accordion/Accordion.js.flow +115 -0
  11. package/lib/components/Accordion/AccordionGroup.js +9 -12
  12. package/lib/components/Accordion/AccordionGroup.js.flow +77 -0
  13. package/lib/components/Accordion/index.js.flow +4 -0
  14. package/lib/components/Avatar/Avatar.js +6 -14
  15. package/lib/components/Avatar/Avatar.js.flow +269 -0
  16. package/lib/components/Avatar/index.js.flow +3 -0
  17. package/lib/components/AvatarGroup/AvatarGroup.js +0 -5
  18. package/lib/components/AvatarGroup/AvatarGroup.js.flow +164 -0
  19. package/lib/components/AvatarGroup/index.js.flow +3 -0
  20. package/lib/components/Badge/Badge.js.flow +147 -0
  21. package/lib/components/Badge/index.js.flow +3 -0
  22. package/lib/components/BadgedIcon/BadgedIcon.js +1 -3
  23. package/lib/components/BadgedIcon/BadgedIcon.js.flow +73 -0
  24. package/lib/components/BadgedIcon/index.js.flow +3 -0
  25. package/lib/components/Banner/Banner.js.flow +60 -0
  26. package/lib/components/Banner/index.js.flow +3 -0
  27. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +1 -3
  28. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js.flow +58 -0
  29. package/lib/components/Breadcrumbs/BreadcrumbLink/index.js.flow +3 -0
  30. package/lib/components/Breadcrumbs/Breadcrumbs.js +1 -5
  31. package/lib/components/Breadcrumbs/Breadcrumbs.js.flow +59 -0
  32. package/lib/components/Breadcrumbs/index.js.flow +4 -0
  33. package/lib/components/Button/Button.js +8 -26
  34. package/lib/components/Button/Button.js.flow +286 -0
  35. package/lib/components/Button/index.js.flow +16 -0
  36. package/lib/components/ButtonDropdown/ButtonDropdown.js +3 -13
  37. package/lib/components/ButtonDropdown/ButtonDropdown.js.flow +226 -0
  38. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +0 -6
  39. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js.flow +169 -0
  40. package/lib/components/ButtonDropdown/index.js.flow +4 -0
  41. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js.flow +82 -0
  42. package/lib/components/ButtonTabs/ButtonTab/index.js.flow +3 -0
  43. package/lib/components/ButtonTabs/ButtonTabDropdown.js +3 -12
  44. package/lib/components/ButtonTabs/ButtonTabDropdown.js.flow +150 -0
  45. package/lib/components/ButtonTabs/ButtonTabs.js +0 -3
  46. package/lib/components/ButtonTabs/ButtonTabs.js.flow +121 -0
  47. package/lib/components/ButtonTabs/index.js.flow +4 -0
  48. package/lib/components/Card/Card.js +1 -6
  49. package/lib/components/Card/Card.js.flow +174 -0
  50. package/lib/components/Card/index.js.flow +3 -0
  51. package/lib/components/Charts/ChartTooltip/index.js.flow +15 -0
  52. package/lib/components/Charts/ChartWrapper/ChartWrapper.js +7 -5
  53. package/lib/components/Charts/ChartWrapper/ChartWrapper.js.flow +190 -0
  54. package/lib/components/Charts/ChartWrapper/index.js.flow +3 -0
  55. package/lib/components/Charts/ColumnChart/ColumnChart.js +6 -8
  56. package/lib/components/Charts/ColumnChart/ColumnChart.js.flow +126 -0
  57. package/lib/components/Charts/ColumnChart/index.js.flow +3 -0
  58. package/lib/components/Charts/DonutChart/DonutChart.js +6 -7
  59. package/lib/components/Charts/DonutChart/DonutChart.js.flow +158 -0
  60. package/lib/components/Charts/DonutChart/index.js.flow +3 -0
  61. package/lib/components/Charts/FunnelChart/FunnelChart.js +7 -6
  62. package/lib/components/Charts/FunnelChart/FunnelChart.js.flow +115 -0
  63. package/lib/components/Charts/FunnelChart/index.js.flow +3 -0
  64. package/lib/components/Charts/LineChart/LineChart.js +6 -6
  65. package/lib/components/Charts/LineChart/LineChart.js.flow +113 -0
  66. package/lib/components/Charts/LineChart/index.js.flow +3 -0
  67. package/lib/components/Charts/SpiderChart/SpiderChart.js +5 -0
  68. package/lib/components/Charts/SpiderChart/SpiderChart.js.flow +111 -0
  69. package/lib/components/Charts/SpiderChart/index.js.flow +3 -0
  70. package/lib/components/Charts/index.js.flow +9 -0
  71. package/lib/components/ChatBubble/ChatBubble.js +2 -5
  72. package/lib/components/ChatBubble/ChatBubble.js.flow +222 -0
  73. package/lib/components/ChatBubble/index.js.flow +3 -0
  74. package/lib/components/Checkbox/Checkbox.js +0 -2
  75. package/lib/components/Checkbox/Checkbox.js.flow +168 -0
  76. package/lib/components/Checkbox/CheckboxGroup.js +0 -8
  77. package/lib/components/Checkbox/CheckboxGroup.js.flow +116 -0
  78. package/lib/components/Checkbox/index.js.flow +3 -0
  79. package/lib/components/Chip/Chip.js +2 -10
  80. package/lib/components/Chip/Chip.js.flow +199 -0
  81. package/lib/components/Chip/index.js.flow +4 -0
  82. package/lib/components/CircularLoader/CircularLoader.js.flow +58 -0
  83. package/lib/components/CircularLoader/index.js.flow +3 -0
  84. package/lib/components/CollapsibleCard/CollapsibleCard.js.flow +146 -0
  85. package/lib/components/CollapsibleCard/index.js.flow +3 -0
  86. package/lib/components/Combobox/Combobox.js +3 -16
  87. package/lib/components/Combobox/Combobox.js.flow +287 -0
  88. package/lib/components/Combobox/helper.js +0 -1
  89. package/lib/components/Combobox/helper.js.flow +204 -0
  90. package/lib/components/Combobox/index.js.flow +3 -0
  91. package/lib/components/ConditionalWrapper/ConditionalWrapper.js +2 -0
  92. package/lib/components/ConditionalWrapper/ConditionalWrapper.js.flow +16 -0
  93. package/lib/components/ConditionalWrapper/index.js.flow +3 -0
  94. package/lib/components/DateRangePicker/Calendar.js +2 -4
  95. package/lib/components/DateRangePicker/Calendar.js.flow +112 -0
  96. package/lib/components/DateRangePicker/DateRangePicker.js +1 -0
  97. package/lib/components/DateRangePicker/DateRangePicker.js.flow +214 -0
  98. package/lib/components/DateRangePicker/DateRangeWrapper.js +5 -13
  99. package/lib/components/DateRangePicker/DateRangeWrapper.js.flow +384 -0
  100. package/lib/components/DateRangePicker/Day.js +4 -6
  101. package/lib/components/DateRangePicker/Day.js.flow +75 -0
  102. package/lib/components/DateRangePicker/index.js.flow +3 -0
  103. package/lib/components/Dialog/Dialog.js.flow +228 -0
  104. package/lib/components/Dialog/index.js.flow +2 -0
  105. package/lib/components/Disclaimer/Disclaimer.js +0 -1
  106. package/lib/components/Disclaimer/Disclaimer.js.flow +41 -0
  107. package/lib/components/Disclaimer/index.js.flow +3 -0
  108. package/lib/components/Dropdown/Dropdown.js +3 -14
  109. package/lib/components/Dropdown/Dropdown.js.flow +176 -0
  110. package/lib/components/Dropdown/SimpleDropdown.js +1 -7
  111. package/lib/components/Dropdown/SimpleDropdown.js.flow +170 -0
  112. package/lib/components/Dropdown/index.js.flow +4 -0
  113. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js.flow +112 -0
  114. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js.flow +198 -0
  115. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js.flow +120 -0
  116. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js.flow +137 -0
  117. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js.flow +68 -0
  118. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js.flow +71 -0
  119. package/lib/components/EmptyState/EmptyImages/index.js.flow +8 -0
  120. package/lib/components/EmptyState/EmptyState.js.flow +91 -0
  121. package/lib/components/EmptyState/index.js.flow +3 -0
  122. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js.flow +89 -0
  123. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js.flow +121 -0
  124. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js.flow +241 -0
  125. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js.flow +77 -0
  126. package/lib/components/ErrorMessage/ErrorImages/index.js.flow +6 -0
  127. package/lib/components/ErrorMessage/ErrorMessage.js.flow +95 -0
  128. package/lib/components/ErrorMessage/index.js.flow +3 -0
  129. package/lib/components/FileUpload/FileBlock/FileBlock.js.flow +139 -0
  130. package/lib/components/FileUpload/FileBlock/index.js.flow +3 -0
  131. package/lib/components/FileUpload/FileUpload.js +1 -6
  132. package/lib/components/FileUpload/FileUpload.js.flow +212 -0
  133. package/lib/components/FileUpload/index.js.flow +4 -0
  134. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +1 -9
  135. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js.flow +166 -0
  136. package/lib/components/FilterButtonOverlay/index.js.flow +3 -0
  137. package/lib/components/FocusManager/FocusManager.js.flow +57 -0
  138. package/lib/components/FocusManager/index.js.flow +3 -0
  139. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +0 -11
  140. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js.flow +152 -0
  141. package/lib/components/FocusManagerWithArrowKeyNavigation/index.js.flow +3 -0
  142. package/lib/components/FormTitleWrapper/FormTitleWrapper.js.flow +68 -0
  143. package/lib/components/FormTitleWrapper/index.js.flow +3 -0
  144. package/lib/components/Grid/Grid.js +0 -8
  145. package/lib/components/Grid/Grid.js.flow +110 -0
  146. package/lib/components/Grid/index.js.flow +3 -0
  147. package/lib/components/Icon/ClickableIcon.js +2 -4
  148. package/lib/components/Icon/ClickableIcon.js.flow +111 -0
  149. package/lib/components/Icon/Icon.docs.js +1 -1
  150. package/lib/components/Icon/Icon.docs.js.flow +120 -0
  151. package/lib/components/Icon/Icon.js +1 -3
  152. package/lib/components/Icon/Icon.js.flow +77 -0
  153. package/lib/components/Icon/SemanticIcon.js +1 -3
  154. package/lib/components/Icon/SemanticIcon.js.flow +48 -0
  155. package/lib/components/Icon/index.js.flow +5 -0
  156. package/lib/components/InContextAlert/InContextAlert.js +0 -2
  157. package/lib/components/InContextAlert/InContextAlert.js.flow +208 -0
  158. package/lib/components/InContextAlert/index.js.flow +3 -0
  159. package/lib/components/InfinitePagination/InfinitePagination.js +2 -9
  160. package/lib/components/InfinitePagination/InfinitePagination.js.flow +122 -0
  161. package/lib/components/InfinitePagination/index.js.flow +3 -0
  162. package/lib/components/InlineDropdown/InlineDropdown.js +3 -12
  163. package/lib/components/InlineDropdown/InlineDropdown.js.flow +181 -0
  164. package/lib/components/InlineDropdown/SimpleInlineDropdown.js +0 -7
  165. package/lib/components/InlineDropdown/SimpleInlineDropdown.js.flow +167 -0
  166. package/lib/components/InlineDropdown/index.js.flow +4 -0
  167. package/lib/components/Input/Input.js +4 -15
  168. package/lib/components/Input/Input.js.flow +325 -0
  169. package/lib/components/Input/index.js.flow +3 -0
  170. package/lib/components/KPIBox/KPIBox.js.flow +98 -0
  171. package/lib/components/KPIBox/index.js.flow +3 -0
  172. package/lib/components/LinearLoader/LinearLoader.js.flow +49 -0
  173. package/lib/components/LinearLoader/index.js.flow +3 -0
  174. package/lib/components/Link/Link.js +5 -16
  175. package/lib/components/Link/Link.js.flow +231 -0
  176. package/lib/components/Link/index.js.flow +3 -0
  177. package/lib/components/Menu/Menu.js +2 -5
  178. package/lib/components/Menu/Menu.js.flow +391 -0
  179. package/lib/components/Menu/MenuOptionButton.js +1 -6
  180. package/lib/components/Menu/MenuOptionButton.js.flow +201 -0
  181. package/lib/components/Menu/index.js.flow +4 -0
  182. package/lib/components/Modal/Modal.js +2 -6
  183. package/lib/components/Modal/Modal.js.flow +370 -0
  184. package/lib/components/Modal/index.js.flow +15 -0
  185. package/lib/components/Notification/Notification.js +0 -1
  186. package/lib/components/Notification/Notification.js.flow +149 -0
  187. package/lib/components/Notification/index.js.flow +3 -0
  188. package/lib/components/OptionButton/OptionButton.js.flow +153 -0
  189. package/lib/components/OptionButton/SimpleOptionButton.js +0 -4
  190. package/lib/components/OptionButton/SimpleOptionButton.js.flow +161 -0
  191. package/lib/components/OptionButton/index.js.flow +4 -0
  192. package/lib/components/PageTitle/PageTitle.js +2 -7
  193. package/lib/components/PageTitle/PageTitle.js.flow +267 -0
  194. package/lib/components/PageTitle/index.js.flow +3 -0
  195. package/lib/components/Pagination/Pagination.js +1 -3
  196. package/lib/components/Pagination/Pagination.js.flow +158 -0
  197. package/lib/components/Pagination/PaginationItem.js +0 -3
  198. package/lib/components/Pagination/PaginationItem.js.flow +120 -0
  199. package/lib/components/Pagination/index.js.flow +3 -0
  200. package/lib/components/Panel/Panel.js.flow +181 -0
  201. package/lib/components/Panel/index.js.flow +10 -0
  202. package/lib/components/ProgressDonut/ProgressDonut.js +0 -1
  203. package/lib/components/ProgressDonut/ProgressDonut.js.flow +111 -0
  204. package/lib/components/ProgressDonut/index.js.flow +3 -0
  205. package/lib/components/PromptChip/PromptChip.js +2 -8
  206. package/lib/components/PromptChip/PromptChip.js.flow +166 -0
  207. package/lib/components/PromptChip/index.js.flow +3 -0
  208. package/lib/components/PromptInput/PromptInput.js +1 -10
  209. package/lib/components/PromptInput/PromptInput.js.flow +194 -0
  210. package/lib/components/PromptInput/index.js.flow +3 -0
  211. package/lib/components/RadioButton/RadioButton.js +0 -1
  212. package/lib/components/RadioButton/RadioButton.js.flow +134 -0
  213. package/lib/components/RadioButton/RadioGroup.js +0 -2
  214. package/lib/components/RadioButton/RadioGroup.js.flow +94 -0
  215. package/lib/components/RadioButton/index.js.flow +3 -0
  216. package/lib/components/RadioTile/RadioTile.js +0 -2
  217. package/lib/components/RadioTile/RadioTile.js.flow +110 -0
  218. package/lib/components/RadioTile/index.js.flow +3 -0
  219. package/lib/components/RangeSlider/RangeSlider.js +0 -3
  220. package/lib/components/RangeSlider/RangeSlider.js.flow +202 -0
  221. package/lib/components/RangeSlider/index.js.flow +3 -0
  222. package/lib/components/Rating/Rating.js +3 -7
  223. package/lib/components/Rating/Rating.js.flow +134 -0
  224. package/lib/components/Rating/index.js.flow +3 -0
  225. package/lib/components/ScoreBar/ScoreBar.js +1 -1
  226. package/lib/components/ScoreBar/ScoreBar.js.flow +135 -0
  227. package/lib/components/ScoreBar/index.js.flow +3 -0
  228. package/lib/components/SearchInput/SearchInput.js.flow +88 -0
  229. package/lib/components/SearchInput/index.js.flow +4 -0
  230. package/lib/components/Separator/Separator.js.flow +60 -0
  231. package/lib/components/Separator/index.js.flow +3 -0
  232. package/lib/components/Shimmer/Shimmer.js +1 -3
  233. package/lib/components/Shimmer/Shimmer.js.flow +141 -0
  234. package/lib/components/Shimmer/index.js.flow +3 -0
  235. package/lib/components/SideMenuLink/SideMenuLink.js +2 -8
  236. package/lib/components/SideMenuLink/SideMenuLink.js.flow +344 -0
  237. package/lib/components/SideMenuLink/index.js.flow +3 -0
  238. package/lib/components/StatusIndicator/StatusIndicator.js.flow +68 -0
  239. package/lib/components/StatusIndicator/index.js.flow +3 -0
  240. package/lib/components/Stepper/Step/Step.js +3 -12
  241. package/lib/components/Stepper/Step/Step.js.flow +123 -0
  242. package/lib/components/Stepper/Step/StepContent.js.flow +40 -0
  243. package/lib/components/Stepper/Step/StepLabel.js.flow +40 -0
  244. package/lib/components/Stepper/Step/index.js.flow +5 -0
  245. package/lib/components/Stepper/Stepper.js +0 -4
  246. package/lib/components/Stepper/Stepper.js.flow +64 -0
  247. package/lib/components/Stepper/index.js.flow +4 -0
  248. package/lib/components/StickyBar/StickyBar.js.flow +67 -0
  249. package/lib/components/StickyBar/index.js.flow +3 -0
  250. package/lib/components/SubMenu/SubMenu.js.flow +96 -0
  251. package/lib/components/SubMenu/SubMenuGroup.js +3 -11
  252. package/lib/components/SubMenu/SubMenuGroup.js.flow +156 -0
  253. package/lib/components/SubMenu/SubMenuItem.js +4 -14
  254. package/lib/components/SubMenu/SubMenuItem.js.flow +170 -0
  255. package/lib/components/SubMenu/SubMenuLink.js +2 -6
  256. package/lib/components/SubMenu/SubMenuLink.js.flow +89 -0
  257. package/lib/components/SubMenu/index.js.flow +6 -0
  258. package/lib/components/Table/Cell.js +3 -3
  259. package/lib/components/Table/Cell.js.flow +122 -0
  260. package/lib/components/Table/DefaultRow.js +1 -1
  261. package/lib/components/Table/DefaultRow.js.flow +152 -0
  262. package/lib/components/Table/DefaultTableHeader.js +2 -9
  263. package/lib/components/Table/DefaultTableHeader.js.flow +240 -0
  264. package/lib/components/Table/StaticTable.js +18 -48
  265. package/lib/components/Table/StaticTable.js.flow +576 -0
  266. package/lib/components/Table/Table.docs.js +4 -4
  267. package/lib/components/Table/Table.docs.js.flow +550 -0
  268. package/lib/components/Table/Table.js +11 -15
  269. package/lib/components/Table/Table.js.flow +154 -0
  270. package/lib/components/Table/TableActionBar.js.flow +55 -0
  271. package/lib/components/Table/TableBottomBar.js.flow +28 -0
  272. package/lib/components/Table/TableTopBar.js.flow +28 -0
  273. package/lib/components/Table/dummyTableData.js.flow +2191 -0
  274. package/lib/components/Table/hooks.js +1 -8
  275. package/lib/components/Table/hooks.js.flow +97 -0
  276. package/lib/components/Table/index.js.flow +10 -0
  277. package/lib/components/Tabs/Tab/Tab.js +1 -5
  278. package/lib/components/Tabs/Tab/Tab.js.flow +140 -0
  279. package/lib/components/Tabs/Tab/index.js.flow +3 -0
  280. package/lib/components/Tabs/TabList/TabDropdown.js +2 -8
  281. package/lib/components/Tabs/TabList/TabDropdown.js.flow +123 -0
  282. package/lib/components/Tabs/TabList/TabList.js +3 -17
  283. package/lib/components/Tabs/TabList/TabList.js.flow +161 -0
  284. package/lib/components/Tabs/TabList/index.js.flow +3 -0
  285. package/lib/components/Tabs/index.js.flow +4 -0
  286. package/lib/components/Text/Text.js +0 -1
  287. package/lib/components/Text/Text.js.flow +1060 -0
  288. package/lib/components/Text/index.js.flow +32 -0
  289. package/lib/components/TextTile/TextTile.js.flow +44 -0
  290. package/lib/components/TextTile/index.js.flow +3 -0
  291. package/lib/components/Textarea/Textarea.js +4 -14
  292. package/lib/components/Textarea/Textarea.js.flow +139 -0
  293. package/lib/components/Textarea/index.js.flow +4 -0
  294. package/lib/components/Timeline/Timeline.js +1 -8
  295. package/lib/components/Timeline/Timeline.js.flow +47 -0
  296. package/lib/components/Timeline/TimelineItem/TimelineItem.js +2 -9
  297. package/lib/components/Timeline/TimelineItem/TimelineItem.js.flow +127 -0
  298. package/lib/components/Timeline/TimelineItem/index.js.flow +3 -0
  299. package/lib/components/Timeline/index.js.flow +4 -0
  300. package/lib/components/Toast/Toast.js +1 -10
  301. package/lib/components/Toast/Toast.js.flow +249 -0
  302. package/lib/components/Toast/ToastContainer.js +5 -2
  303. package/lib/components/Toast/ToastContainer.js.flow +125 -0
  304. package/lib/components/Toast/ToastManager.js +0 -1
  305. package/lib/components/Toast/ToastManager.js.flow +67 -0
  306. package/lib/components/Toast/index.js.flow +12 -0
  307. package/lib/components/Toggle/Toggle.js +2 -2
  308. package/lib/components/Toggle/Toggle.js.flow +115 -0
  309. package/lib/components/Toggle/index.js.flow +2 -0
  310. package/lib/components/TokenListInput/TokenListInput.js +10 -27
  311. package/lib/components/TokenListInput/TokenListInput.js.flow +389 -0
  312. package/lib/components/TokenListInput/TokenValueChips.js +4 -2
  313. package/lib/components/TokenListInput/TokenValueChips.js.flow +69 -0
  314. package/lib/components/TokenListInput/index.js.flow +3 -0
  315. package/lib/components/Tooltip/Tooltip.js +3 -6
  316. package/lib/components/Tooltip/Tooltip.js.flow +206 -0
  317. package/lib/components/Tooltip/index.js.flow +3 -0
  318. package/lib/components/Truncate/Truncate.js +1 -5
  319. package/lib/components/Truncate/Truncate.js.flow +86 -0
  320. package/lib/components/Truncate/index.js.flow +4 -0
  321. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +1 -6
  322. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js.flow +104 -0
  323. package/lib/components/TruncatedTextWithTooltip/index.js.flow +3 -0
  324. package/lib/components/Typeahead/SimpleTypeahead.js +0 -4
  325. package/lib/components/Typeahead/SimpleTypeahead.js.flow +164 -0
  326. package/lib/components/Typeahead/Typeahead.js +3 -12
  327. package/lib/components/Typeahead/Typeahead.js.flow +250 -0
  328. package/lib/components/Typeahead/index.js.flow +4 -0
  329. package/lib/components/WeekdayPicker/WeekdayPicker.js.flow +229 -0
  330. package/lib/components/WeekdayPicker/index.js.flow +3 -0
  331. package/lib/components/index.js.flow +77 -0
  332. package/lib/hooks/index.js.flow +18 -0
  333. package/lib/hooks/useArbitraryOptionAddition/index.js.flow +3 -0
  334. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +9 -9
  335. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js.flow +117 -0
  336. package/lib/hooks/useCopyToClipboard/index.js.flow +3 -0
  337. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +0 -1
  338. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js.flow +31 -0
  339. package/lib/hooks/useDebounce/index.js.flow +3 -0
  340. package/lib/hooks/useDebounce/useDebounce.js.flow +17 -0
  341. package/lib/hooks/useFileUpload/index.js.flow +3 -0
  342. package/lib/hooks/useFileUpload/useFileUpload.js +2 -7
  343. package/lib/hooks/useFileUpload/useFileUpload.js.flow +304 -0
  344. package/lib/hooks/useFilteredOptions/index.js.flow +3 -0
  345. package/lib/hooks/useFilteredOptions/useFilteredOptions.js +3 -5
  346. package/lib/hooks/useFilteredOptions/useFilteredOptions.js.flow +81 -0
  347. package/lib/hooks/useInfiniteScroll/index.js.flow +3 -0
  348. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.js.flow +82 -0
  349. package/lib/hooks/useInputState/index.js.flow +3 -0
  350. package/lib/hooks/useInputState/useInputState.js +1 -3
  351. package/lib/hooks/useInputState/useInputState.js.flow +28 -0
  352. package/lib/hooks/useLockedBody/index.js.flow +3 -0
  353. package/lib/hooks/useLockedBody/useLockedBody.js.flow +54 -0
  354. package/lib/hooks/useModal/index.js.flow +3 -0
  355. package/lib/hooks/useModal/useModal.js.flow +39 -0
  356. package/lib/hooks/useMountTransition/index.js +0 -2
  357. package/lib/hooks/useMountTransition/index.js.flow +27 -0
  358. package/lib/hooks/usePagination/index.js.flow +3 -0
  359. package/lib/hooks/usePagination/usePagination.js +0 -3
  360. package/lib/hooks/usePagination/usePagination.js.flow +155 -0
  361. package/lib/hooks/useReferenceElementWidth/index.js.flow +3 -0
  362. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js.flow +23 -0
  363. package/lib/hooks/useResizeObserver/index.js.flow +3 -0
  364. package/lib/hooks/useResizeObserver/useResizeObserver.js +0 -3
  365. package/lib/hooks/useResizeObserver/useResizeObserver.js.flow +28 -0
  366. package/lib/hooks/useToastPortal/index.js.flow +3 -0
  367. package/lib/hooks/useToastPortal/useToastPortal.js +3 -3
  368. package/lib/hooks/useToastPortal/useToastPortal.js.flow +30 -0
  369. package/lib/hooks/useToggle/index.js.flow +3 -0
  370. package/lib/hooks/useToggle/useToggle.js.flow +17 -0
  371. package/lib/hooks/useWindowSize/index.js.flow +3 -0
  372. package/lib/hooks/useWindowSize/useWindowSize.js.flow +41 -0
  373. package/lib/index.js.flow +7 -0
  374. package/lib/styles/index.js.flow +535 -0
  375. package/lib/styles/variables/_border.js.flow +25 -0
  376. package/lib/styles/variables/_color.js.flow +209 -0
  377. package/lib/styles/variables/_elevation.js.flow +15 -0
  378. package/lib/styles/variables/_font.js.flow +61 -0
  379. package/lib/styles/variables/_motion.js.flow +13 -0
  380. package/lib/styles/variables/_opacity.js.flow +31 -0
  381. package/lib/styles/variables/_shadow.js.flow +49 -0
  382. package/lib/styles/variables/_size.js.flow +115 -0
  383. package/lib/styles/variables/_space.js.flow +25 -0
  384. package/lib/types/charts.js +1 -5
  385. package/lib/types/charts.js.flow +263 -0
  386. package/lib/types/common.js.flow +13 -0
  387. package/lib/types/date-range-picker.js +1 -5
  388. package/lib/types/date-range-picker.js.flow +17 -0
  389. package/lib/types/index.js.flow +8 -0
  390. package/lib/types/menu.js +1 -5
  391. package/lib/types/menu.js.flow +15 -0
  392. package/lib/types/toast.js +2 -0
  393. package/lib/types/toast.js.flow +41 -0
  394. package/lib/types/typography.js.flow +19 -0
  395. package/lib/utils/array/are-arrays-equal.js.flow +14 -0
  396. package/lib/utils/array/index.js.flow +3 -0
  397. package/lib/utils/charts/charts.js +0 -4
  398. package/lib/utils/charts/charts.js.flow +111 -0
  399. package/lib/utils/charts/columnChart.js +1 -3
  400. package/lib/utils/charts/columnChart.js.flow +63 -0
  401. package/lib/utils/charts/donutChart.js +2 -7
  402. package/lib/utils/charts/donutChart.js.flow +119 -0
  403. package/lib/utils/charts/funnelChart.js +1 -5
  404. package/lib/utils/charts/funnelChart.js.flow +102 -0
  405. package/lib/utils/charts/helpers.js.flow +68 -0
  406. package/lib/utils/charts/index.js.flow +9 -0
  407. package/lib/utils/charts/lineChart.js +1 -3
  408. package/lib/utils/charts/lineChart.js.flow +51 -0
  409. package/lib/utils/charts/spiderChart.js.flow +59 -0
  410. package/lib/utils/charts/typography.js.flow +53 -0
  411. package/lib/utils/classify/index.js +1 -1
  412. package/lib/utils/classify/index.js.flow +29 -0
  413. package/lib/utils/click-away/click-away.js +5 -18
  414. package/lib/utils/click-away/click-away.js.flow +228 -0
  415. package/lib/utils/click-away/index.js.flow +3 -0
  416. package/lib/utils/date-range-picker/date-range-picker.js +2 -17
  417. package/lib/utils/date-range-picker/date-range-picker.js.flow +442 -0
  418. package/lib/utils/date-range-picker/index.js.flow +4 -0
  419. package/lib/utils/date-range-picker/timezones.js +1 -0
  420. package/lib/utils/date-range-picker/timezones.js.flow +269 -0
  421. package/lib/utils/dom/dom.js +7 -9
  422. package/lib/utils/dom/dom.js.flow +238 -0
  423. package/lib/utils/dom/index.js.flow +3 -0
  424. package/lib/utils/helpers/helpers.js.flow +53 -0
  425. package/lib/utils/helpers/index.js.flow +3 -0
  426. package/lib/utils/index.js.flow +16 -0
  427. package/lib/utils/makeClassNameComponent/index.js.flow +3 -0
  428. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +7 -20
  429. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js.flow +70 -0
  430. package/lib/utils/menu/index.js.flow +3 -0
  431. package/lib/utils/menu/menu.js +2 -0
  432. package/lib/utils/menu/menu.js.flow +193 -0
  433. package/lib/utils/merge-refs/index.js.flow +3 -0
  434. package/lib/utils/merge-refs/merge-refs.js +0 -1
  435. package/lib/utils/merge-refs/merge-refs.js.flow +14 -0
  436. package/lib/utils/rating/index.js.flow +3 -0
  437. package/lib/utils/rating/rating.js.flow +35 -0
  438. package/lib/utils/score-bar/index.js.flow +3 -0
  439. package/lib/utils/score-bar/score-bar.js.flow +58 -0
  440. package/lib/utils/string/index.js.flow +3 -0
  441. package/lib/utils/string/string.js.flow +33 -0
  442. package/lib/utils/token-list-input/token-list-input.js +2 -0
  443. package/lib/utils/token-list-input/token-list-input.js.flow +37 -0
  444. package/lib/utils/tokens/index.js.flow +3 -0
  445. package/lib/utils/tokens/tokens.js.flow +244 -0
  446. package/package.json +13 -39
  447. package/lib/components/Accordion/Accordion.d.ts +0 -21
  448. package/lib/components/Accordion/Accordion.d.ts.map +0 -1
  449. package/lib/components/Accordion/AccordionGroup.d.ts +0 -17
  450. package/lib/components/Accordion/AccordionGroup.d.ts.map +0 -1
  451. package/lib/components/Accordion/index.d.ts +0 -3
  452. package/lib/components/Accordion/index.d.ts.map +0 -1
  453. package/lib/components/Avatar/Avatar.d.ts +0 -60
  454. package/lib/components/Avatar/Avatar.d.ts.map +0 -1
  455. package/lib/components/Avatar/index.d.ts +0 -2
  456. package/lib/components/Avatar/index.d.ts.map +0 -1
  457. package/lib/components/AvatarGroup/AvatarGroup.d.ts +0 -15
  458. package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +0 -1
  459. package/lib/components/AvatarGroup/index.d.ts +0 -2
  460. package/lib/components/AvatarGroup/index.d.ts.map +0 -1
  461. package/lib/components/Badge/Badge.d.ts +0 -40
  462. package/lib/components/Badge/Badge.d.ts.map +0 -1
  463. package/lib/components/Badge/index.d.ts +0 -2
  464. package/lib/components/Badge/index.d.ts.map +0 -1
  465. package/lib/components/BadgedIcon/BadgedIcon.d.ts +0 -18
  466. package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +0 -1
  467. package/lib/components/BadgedIcon/index.d.ts +0 -2
  468. package/lib/components/BadgedIcon/index.d.ts.map +0 -1
  469. package/lib/components/Banner/Banner.d.ts +0 -7
  470. package/lib/components/Banner/Banner.d.ts.map +0 -1
  471. package/lib/components/Banner/index.d.ts +0 -2
  472. package/lib/components/Banner/index.d.ts.map +0 -1
  473. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +0 -10
  474. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +0 -1
  475. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +0 -2
  476. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +0 -1
  477. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -14
  478. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
  479. package/lib/components/Breadcrumbs/index.d.ts +0 -3
  480. package/lib/components/Breadcrumbs/index.d.ts.map +0 -1
  481. package/lib/components/Button/Button.d.ts +0 -64
  482. package/lib/components/Button/Button.d.ts.map +0 -1
  483. package/lib/components/Button/index.d.ts +0 -3
  484. package/lib/components/Button/index.d.ts.map +0 -1
  485. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +0 -40
  486. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +0 -1
  487. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +0 -42
  488. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +0 -1
  489. package/lib/components/ButtonDropdown/index.d.ts +0 -3
  490. package/lib/components/ButtonDropdown/index.d.ts.map +0 -1
  491. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +0 -25
  492. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +0 -1
  493. package/lib/components/ButtonTabs/ButtonTab/index.d.ts +0 -2
  494. package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +0 -1
  495. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +0 -12
  496. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +0 -1
  497. package/lib/components/ButtonTabs/ButtonTabs.d.ts +0 -24
  498. package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +0 -1
  499. package/lib/components/ButtonTabs/index.d.ts +0 -3
  500. package/lib/components/ButtonTabs/index.d.ts.map +0 -1
  501. package/lib/components/Card/Card.d.ts +0 -37
  502. package/lib/components/Card/Card.d.ts.map +0 -1
  503. package/lib/components/Card/index.d.ts +0 -2
  504. package/lib/components/Card/index.d.ts.map +0 -1
  505. package/lib/components/Charts/ChartTooltip/index.d.ts +0 -3
  506. package/lib/components/Charts/ChartTooltip/index.d.ts.map +0 -1
  507. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +0 -50
  508. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +0 -1
  509. package/lib/components/Charts/ChartWrapper/index.d.ts +0 -2
  510. package/lib/components/Charts/ChartWrapper/index.d.ts.map +0 -1
  511. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +0 -23
  512. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +0 -1
  513. package/lib/components/Charts/ColumnChart/index.d.ts +0 -2
  514. package/lib/components/Charts/ColumnChart/index.d.ts.map +0 -1
  515. package/lib/components/Charts/DonutChart/DonutChart.d.ts +0 -28
  516. package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +0 -1
  517. package/lib/components/Charts/DonutChart/index.d.ts +0 -2
  518. package/lib/components/Charts/DonutChart/index.d.ts.map +0 -1
  519. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +0 -25
  520. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +0 -1
  521. package/lib/components/Charts/FunnelChart/index.d.ts +0 -2
  522. package/lib/components/Charts/FunnelChart/index.d.ts.map +0 -1
  523. package/lib/components/Charts/LineChart/LineChart.d.ts +0 -23
  524. package/lib/components/Charts/LineChart/LineChart.d.ts.map +0 -1
  525. package/lib/components/Charts/LineChart/index.d.ts +0 -2
  526. package/lib/components/Charts/LineChart/index.d.ts.map +0 -1
  527. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +0 -22
  528. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +0 -1
  529. package/lib/components/Charts/SpiderChart/index.d.ts +0 -2
  530. package/lib/components/Charts/SpiderChart/index.d.ts.map +0 -1
  531. package/lib/components/Charts/index.d.ts +0 -8
  532. package/lib/components/Charts/index.d.ts.map +0 -1
  533. package/lib/components/ChatBubble/ChatBubble.d.ts +0 -76
  534. package/lib/components/ChatBubble/ChatBubble.d.ts.map +0 -1
  535. package/lib/components/ChatBubble/index.d.ts +0 -2
  536. package/lib/components/ChatBubble/index.d.ts.map +0 -1
  537. package/lib/components/Checkbox/Checkbox.d.ts +0 -29
  538. package/lib/components/Checkbox/Checkbox.d.ts.map +0 -1
  539. package/lib/components/Checkbox/CheckboxGroup.d.ts +0 -26
  540. package/lib/components/Checkbox/CheckboxGroup.d.ts.map +0 -1
  541. package/lib/components/Checkbox/index.d.ts +0 -3
  542. package/lib/components/Checkbox/index.d.ts.map +0 -1
  543. package/lib/components/Chip/Chip.d.ts +0 -47
  544. package/lib/components/Chip/Chip.d.ts.map +0 -1
  545. package/lib/components/Chip/index.d.ts +0 -3
  546. package/lib/components/Chip/index.d.ts.map +0 -1
  547. package/lib/components/CircularLoader/CircularLoader.d.ts +0 -10
  548. package/lib/components/CircularLoader/CircularLoader.d.ts.map +0 -1
  549. package/lib/components/CircularLoader/index.d.ts +0 -2
  550. package/lib/components/CircularLoader/index.d.ts.map +0 -1
  551. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +0 -40
  552. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +0 -1
  553. package/lib/components/CollapsibleCard/index.d.ts +0 -2
  554. package/lib/components/CollapsibleCard/index.d.ts.map +0 -1
  555. package/lib/components/Combobox/Combobox.d.ts +0 -78
  556. package/lib/components/Combobox/Combobox.d.ts.map +0 -1
  557. package/lib/components/Combobox/helper.d.ts +0 -12
  558. package/lib/components/Combobox/helper.d.ts.map +0 -1
  559. package/lib/components/Combobox/index.d.ts +0 -2
  560. package/lib/components/Combobox/index.d.ts.map +0 -1
  561. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -8
  562. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +0 -1
  563. package/lib/components/ConditionalWrapper/index.d.ts +0 -2
  564. package/lib/components/ConditionalWrapper/index.d.ts.map +0 -1
  565. package/lib/components/DateRangePicker/Calendar.d.ts +0 -22
  566. package/lib/components/DateRangePicker/Calendar.d.ts.map +0 -1
  567. package/lib/components/DateRangePicker/DateRangePicker.d.ts +0 -22
  568. package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
  569. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +0 -33
  570. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +0 -1
  571. package/lib/components/DateRangePicker/Day.d.ts +0 -17
  572. package/lib/components/DateRangePicker/Day.d.ts.map +0 -1
  573. package/lib/components/DateRangePicker/index.d.ts +0 -2
  574. package/lib/components/DateRangePicker/index.d.ts.map +0 -1
  575. package/lib/components/Dialog/Dialog.d.ts +0 -46
  576. package/lib/components/Dialog/Dialog.d.ts.map +0 -1
  577. package/lib/components/Dialog/index.d.ts +0 -2
  578. package/lib/components/Dialog/index.d.ts.map +0 -1
  579. package/lib/components/Disclaimer/Disclaimer.d.ts +0 -5
  580. package/lib/components/Disclaimer/Disclaimer.d.ts.map +0 -1
  581. package/lib/components/Disclaimer/index.d.ts +0 -2
  582. package/lib/components/Disclaimer/index.d.ts.map +0 -1
  583. package/lib/components/Dropdown/Dropdown.d.ts +0 -25
  584. package/lib/components/Dropdown/Dropdown.d.ts.map +0 -1
  585. package/lib/components/Dropdown/SimpleDropdown.d.ts +0 -44
  586. package/lib/components/Dropdown/SimpleDropdown.d.ts.map +0 -1
  587. package/lib/components/Dropdown/index.d.ts +0 -3
  588. package/lib/components/Dropdown/index.d.ts.map +0 -1
  589. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts +0 -3
  590. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +0 -1
  591. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts +0 -3
  592. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +0 -1
  593. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts +0 -3
  594. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +0 -1
  595. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts +0 -3
  596. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +0 -1
  597. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts +0 -3
  598. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +0 -1
  599. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts +0 -3
  600. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +0 -1
  601. package/lib/components/EmptyState/EmptyImages/index.d.ts +0 -7
  602. package/lib/components/EmptyState/EmptyImages/index.d.ts.map +0 -1
  603. package/lib/components/EmptyState/EmptyState.d.ts +0 -20
  604. package/lib/components/EmptyState/EmptyState.d.ts.map +0 -1
  605. package/lib/components/EmptyState/index.d.ts +0 -2
  606. package/lib/components/EmptyState/index.d.ts.map +0 -1
  607. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts +0 -3
  608. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +0 -1
  609. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts +0 -3
  610. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +0 -1
  611. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts +0 -3
  612. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +0 -1
  613. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts +0 -3
  614. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +0 -1
  615. package/lib/components/ErrorMessage/ErrorImages/index.d.ts +0 -5
  616. package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +0 -1
  617. package/lib/components/ErrorMessage/ErrorMessage.d.ts +0 -22
  618. package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +0 -1
  619. package/lib/components/ErrorMessage/index.d.ts +0 -2
  620. package/lib/components/ErrorMessage/index.d.ts.map +0 -1
  621. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +0 -14
  622. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +0 -1
  623. package/lib/components/FileUpload/FileBlock/index.d.ts +0 -2
  624. package/lib/components/FileUpload/FileBlock/index.d.ts.map +0 -1
  625. package/lib/components/FileUpload/FileUpload.d.ts +0 -62
  626. package/lib/components/FileUpload/FileUpload.d.ts.map +0 -1
  627. package/lib/components/FileUpload/index.d.ts +0 -3
  628. package/lib/components/FileUpload/index.d.ts.map +0 -1
  629. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +0 -30
  630. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +0 -1
  631. package/lib/components/FilterButtonOverlay/index.d.ts +0 -2
  632. package/lib/components/FilterButtonOverlay/index.d.ts.map +0 -1
  633. package/lib/components/FocusManager/FocusManager.d.ts +0 -15
  634. package/lib/components/FocusManager/FocusManager.d.ts.map +0 -1
  635. package/lib/components/FocusManager/index.d.ts +0 -2
  636. package/lib/components/FocusManager/index.d.ts.map +0 -1
  637. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +0 -19
  638. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +0 -1
  639. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +0 -2
  640. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +0 -1
  641. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +0 -21
  642. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +0 -1
  643. package/lib/components/FormTitleWrapper/index.d.ts +0 -2
  644. package/lib/components/FormTitleWrapper/index.d.ts.map +0 -1
  645. package/lib/components/Grid/Grid.d.ts +0 -20
  646. package/lib/components/Grid/Grid.d.ts.map +0 -1
  647. package/lib/components/Grid/index.d.ts +0 -2
  648. package/lib/components/Grid/index.d.ts.map +0 -1
  649. package/lib/components/Icon/ClickableIcon.d.ts +0 -26
  650. package/lib/components/Icon/ClickableIcon.d.ts.map +0 -1
  651. package/lib/components/Icon/Icon.d.ts +0 -31
  652. package/lib/components/Icon/Icon.d.ts.map +0 -1
  653. package/lib/components/Icon/Icon.docs.d.ts +0 -134
  654. package/lib/components/Icon/Icon.docs.d.ts.map +0 -1
  655. package/lib/components/Icon/SemanticIcon.d.ts +0 -14
  656. package/lib/components/Icon/SemanticIcon.d.ts.map +0 -1
  657. package/lib/components/Icon/index.d.ts +0 -4
  658. package/lib/components/Icon/index.d.ts.map +0 -1
  659. package/lib/components/InContextAlert/InContextAlert.d.ts +0 -31
  660. package/lib/components/InContextAlert/InContextAlert.d.ts.map +0 -1
  661. package/lib/components/InContextAlert/index.d.ts +0 -2
  662. package/lib/components/InContextAlert/index.d.ts.map +0 -1
  663. package/lib/components/InfinitePagination/InfinitePagination.d.ts +0 -26
  664. package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +0 -1
  665. package/lib/components/InfinitePagination/index.d.ts +0 -2
  666. package/lib/components/InfinitePagination/index.d.ts.map +0 -1
  667. package/lib/components/InlineDropdown/InlineDropdown.d.ts +0 -25
  668. package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +0 -1
  669. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +0 -40
  670. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +0 -1
  671. package/lib/components/InlineDropdown/index.d.ts +0 -3
  672. package/lib/components/InlineDropdown/index.d.ts.map +0 -1
  673. package/lib/components/Input/Input.d.ts +0 -74
  674. package/lib/components/Input/Input.d.ts.map +0 -1
  675. package/lib/components/Input/index.d.ts +0 -2
  676. package/lib/components/Input/index.d.ts.map +0 -1
  677. package/lib/components/KPIBox/KPIBox.d.ts +0 -24
  678. package/lib/components/KPIBox/KPIBox.d.ts.map +0 -1
  679. package/lib/components/KPIBox/index.d.ts +0 -2
  680. package/lib/components/KPIBox/index.d.ts.map +0 -1
  681. package/lib/components/LinearLoader/LinearLoader.d.ts +0 -9
  682. package/lib/components/LinearLoader/LinearLoader.d.ts.map +0 -1
  683. package/lib/components/LinearLoader/index.d.ts +0 -2
  684. package/lib/components/LinearLoader/index.d.ts.map +0 -1
  685. package/lib/components/Link/Link.d.ts +0 -93
  686. package/lib/components/Link/Link.d.ts.map +0 -1
  687. package/lib/components/Link/index.d.ts +0 -2
  688. package/lib/components/Link/index.d.ts.map +0 -1
  689. package/lib/components/Menu/Menu.d.ts +0 -74
  690. package/lib/components/Menu/Menu.d.ts.map +0 -1
  691. package/lib/components/Menu/MenuOptionButton.d.ts +0 -9
  692. package/lib/components/Menu/MenuOptionButton.d.ts.map +0 -1
  693. package/lib/components/Menu/index.d.ts +0 -3
  694. package/lib/components/Menu/index.d.ts.map +0 -1
  695. package/lib/components/Modal/Modal.d.ts +0 -64
  696. package/lib/components/Modal/Modal.d.ts.map +0 -1
  697. package/lib/components/Modal/index.d.ts +0 -3
  698. package/lib/components/Modal/index.d.ts.map +0 -1
  699. package/lib/components/Notification/Notification.d.ts +0 -37
  700. package/lib/components/Notification/Notification.d.ts.map +0 -1
  701. package/lib/components/Notification/index.d.ts +0 -2
  702. package/lib/components/Notification/index.d.ts.map +0 -1
  703. package/lib/components/OptionButton/OptionButton.d.ts +0 -33
  704. package/lib/components/OptionButton/OptionButton.d.ts.map +0 -1
  705. package/lib/components/OptionButton/SimpleOptionButton.d.ts +0 -47
  706. package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +0 -1
  707. package/lib/components/OptionButton/index.d.ts +0 -3
  708. package/lib/components/OptionButton/index.d.ts.map +0 -1
  709. package/lib/components/PageTitle/PageTitle.d.ts +0 -156
  710. package/lib/components/PageTitle/PageTitle.d.ts.map +0 -1
  711. package/lib/components/PageTitle/index.d.ts +0 -2
  712. package/lib/components/PageTitle/index.d.ts.map +0 -1
  713. package/lib/components/Pagination/Pagination.d.ts +0 -39
  714. package/lib/components/Pagination/Pagination.d.ts.map +0 -1
  715. package/lib/components/Pagination/PaginationItem.d.ts +0 -5
  716. package/lib/components/Pagination/PaginationItem.d.ts.map +0 -1
  717. package/lib/components/Pagination/index.d.ts +0 -2
  718. package/lib/components/Pagination/index.d.ts.map +0 -1
  719. package/lib/components/Panel/Panel.d.ts +0 -35
  720. package/lib/components/Panel/Panel.d.ts.map +0 -1
  721. package/lib/components/Panel/index.d.ts +0 -3
  722. package/lib/components/Panel/index.d.ts.map +0 -1
  723. package/lib/components/ProgressDonut/ProgressDonut.d.ts +0 -13
  724. package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +0 -1
  725. package/lib/components/ProgressDonut/index.d.ts +0 -2
  726. package/lib/components/ProgressDonut/index.d.ts.map +0 -1
  727. package/lib/components/PromptChip/PromptChip.d.ts +0 -38
  728. package/lib/components/PromptChip/PromptChip.d.ts.map +0 -1
  729. package/lib/components/PromptChip/index.d.ts +0 -2
  730. package/lib/components/PromptChip/index.d.ts.map +0 -1
  731. package/lib/components/PromptInput/PromptInput.d.ts +0 -38
  732. package/lib/components/PromptInput/PromptInput.d.ts.map +0 -1
  733. package/lib/components/PromptInput/index.d.ts +0 -2
  734. package/lib/components/PromptInput/index.d.ts.map +0 -1
  735. package/lib/components/RadioButton/RadioButton.d.ts +0 -31
  736. package/lib/components/RadioButton/RadioButton.d.ts.map +0 -1
  737. package/lib/components/RadioButton/RadioGroup.d.ts +0 -27
  738. package/lib/components/RadioButton/RadioGroup.d.ts.map +0 -1
  739. package/lib/components/RadioButton/index.d.ts +0 -3
  740. package/lib/components/RadioButton/index.d.ts.map +0 -1
  741. package/lib/components/RadioTile/RadioTile.d.ts +0 -23
  742. package/lib/components/RadioTile/RadioTile.d.ts.map +0 -1
  743. package/lib/components/RadioTile/index.d.ts +0 -2
  744. package/lib/components/RadioTile/index.d.ts.map +0 -1
  745. package/lib/components/RangeSlider/RangeSlider.d.ts +0 -27
  746. package/lib/components/RangeSlider/RangeSlider.d.ts.map +0 -1
  747. package/lib/components/RangeSlider/index.d.ts +0 -2
  748. package/lib/components/RangeSlider/index.d.ts.map +0 -1
  749. package/lib/components/Rating/Rating.d.ts +0 -32
  750. package/lib/components/Rating/Rating.d.ts.map +0 -1
  751. package/lib/components/Rating/index.d.ts +0 -2
  752. package/lib/components/Rating/index.d.ts.map +0 -1
  753. package/lib/components/ScoreBar/ScoreBar.d.ts +0 -28
  754. package/lib/components/ScoreBar/ScoreBar.d.ts.map +0 -1
  755. package/lib/components/ScoreBar/index.d.ts +0 -2
  756. package/lib/components/ScoreBar/index.d.ts.map +0 -1
  757. package/lib/components/SearchInput/SearchInput.d.ts +0 -15
  758. package/lib/components/SearchInput/SearchInput.d.ts.map +0 -1
  759. package/lib/components/SearchInput/index.d.ts +0 -3
  760. package/lib/components/SearchInput/index.d.ts.map +0 -1
  761. package/lib/components/Separator/Separator.d.ts +0 -18
  762. package/lib/components/Separator/Separator.d.ts.map +0 -1
  763. package/lib/components/Separator/index.d.ts +0 -2
  764. package/lib/components/Separator/index.d.ts.map +0 -1
  765. package/lib/components/Shimmer/Shimmer.d.ts +0 -57
  766. package/lib/components/Shimmer/Shimmer.d.ts.map +0 -1
  767. package/lib/components/Shimmer/index.d.ts +0 -2
  768. package/lib/components/Shimmer/index.d.ts.map +0 -1
  769. package/lib/components/SideMenuLink/SideMenuLink.d.ts +0 -211
  770. package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +0 -1
  771. package/lib/components/SideMenuLink/index.d.ts +0 -2
  772. package/lib/components/SideMenuLink/index.d.ts.map +0 -1
  773. package/lib/components/StatusIndicator/StatusIndicator.d.ts +0 -25
  774. package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +0 -1
  775. package/lib/components/StatusIndicator/index.d.ts +0 -2
  776. package/lib/components/StatusIndicator/index.d.ts.map +0 -1
  777. package/lib/components/Stepper/Step/Step.d.ts +0 -25
  778. package/lib/components/Stepper/Step/Step.d.ts.map +0 -1
  779. package/lib/components/Stepper/Step/StepContent.d.ts +0 -14
  780. package/lib/components/Stepper/Step/StepContent.d.ts.map +0 -1
  781. package/lib/components/Stepper/Step/StepLabel.d.ts +0 -14
  782. package/lib/components/Stepper/Step/StepLabel.d.ts.map +0 -1
  783. package/lib/components/Stepper/Step/index.d.ts +0 -4
  784. package/lib/components/Stepper/Step/index.d.ts.map +0 -1
  785. package/lib/components/Stepper/Stepper.d.ts +0 -15
  786. package/lib/components/Stepper/Stepper.d.ts.map +0 -1
  787. package/lib/components/Stepper/index.d.ts +0 -3
  788. package/lib/components/Stepper/index.d.ts.map +0 -1
  789. package/lib/components/StickyBar/StickyBar.d.ts +0 -15
  790. package/lib/components/StickyBar/StickyBar.d.ts.map +0 -1
  791. package/lib/components/StickyBar/index.d.ts +0 -2
  792. package/lib/components/StickyBar/index.d.ts.map +0 -1
  793. package/lib/components/SubMenu/SubMenu.d.ts +0 -19
  794. package/lib/components/SubMenu/SubMenu.d.ts.map +0 -1
  795. package/lib/components/SubMenu/SubMenuGroup.d.ts +0 -24
  796. package/lib/components/SubMenu/SubMenuGroup.d.ts.map +0 -1
  797. package/lib/components/SubMenu/SubMenuItem.d.ts +0 -42
  798. package/lib/components/SubMenu/SubMenuItem.d.ts.map +0 -1
  799. package/lib/components/SubMenu/SubMenuLink.d.ts +0 -14
  800. package/lib/components/SubMenu/SubMenuLink.d.ts.map +0 -1
  801. package/lib/components/SubMenu/index.d.ts +0 -5
  802. package/lib/components/SubMenu/index.d.ts.map +0 -1
  803. package/lib/components/Table/Cell.d.ts +0 -37
  804. package/lib/components/Table/Cell.d.ts.map +0 -1
  805. package/lib/components/Table/DefaultRow.d.ts +0 -39
  806. package/lib/components/Table/DefaultRow.d.ts.map +0 -1
  807. package/lib/components/Table/DefaultTableHeader.d.ts +0 -43
  808. package/lib/components/Table/DefaultTableHeader.d.ts.map +0 -1
  809. package/lib/components/Table/StaticTable.d.ts +0 -24
  810. package/lib/components/Table/StaticTable.d.ts.map +0 -1
  811. package/lib/components/Table/Table.d.ts +0 -64
  812. package/lib/components/Table/Table.d.ts.map +0 -1
  813. package/lib/components/Table/Table.docs.d.ts +0 -299
  814. package/lib/components/Table/Table.docs.d.ts.map +0 -1
  815. package/lib/components/Table/TableActionBar.d.ts +0 -11
  816. package/lib/components/Table/TableActionBar.d.ts.map +0 -1
  817. package/lib/components/Table/TableBottomBar.d.ts +0 -7
  818. package/lib/components/Table/TableBottomBar.d.ts.map +0 -1
  819. package/lib/components/Table/TableTopBar.d.ts +0 -7
  820. package/lib/components/Table/TableTopBar.d.ts.map +0 -1
  821. package/lib/components/Table/dummyTableData.d.ts +0 -1946
  822. package/lib/components/Table/dummyTableData.d.ts.map +0 -1
  823. package/lib/components/Table/hooks.d.ts +0 -15
  824. package/lib/components/Table/hooks.d.ts.map +0 -1
  825. package/lib/components/Table/index.d.ts +0 -9
  826. package/lib/components/Table/index.d.ts.map +0 -1
  827. package/lib/components/Tabs/Tab/Tab.d.ts +0 -35
  828. package/lib/components/Tabs/Tab/Tab.d.ts.map +0 -1
  829. package/lib/components/Tabs/Tab/index.d.ts +0 -2
  830. package/lib/components/Tabs/Tab/index.d.ts.map +0 -1
  831. package/lib/components/Tabs/TabList/TabDropdown.d.ts +0 -24
  832. package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +0 -1
  833. package/lib/components/Tabs/TabList/TabList.d.ts +0 -24
  834. package/lib/components/Tabs/TabList/TabList.d.ts.map +0 -1
  835. package/lib/components/Tabs/TabList/index.d.ts +0 -2
  836. package/lib/components/Tabs/TabList/index.d.ts.map +0 -1
  837. package/lib/components/Tabs/index.d.ts +0 -3
  838. package/lib/components/Tabs/index.d.ts.map +0 -1
  839. package/lib/components/Text/Text.d.ts +0 -46
  840. package/lib/components/Text/Text.d.ts.map +0 -1
  841. package/lib/components/Text/index.d.ts +0 -4
  842. package/lib/components/Text/index.d.ts.map +0 -1
  843. package/lib/components/TextTile/TextTile.d.ts +0 -14
  844. package/lib/components/TextTile/TextTile.d.ts.map +0 -1
  845. package/lib/components/TextTile/index.d.ts +0 -2
  846. package/lib/components/TextTile/index.d.ts.map +0 -1
  847. package/lib/components/Textarea/Textarea.d.ts +0 -28
  848. package/lib/components/Textarea/Textarea.d.ts.map +0 -1
  849. package/lib/components/Textarea/index.d.ts +0 -3
  850. package/lib/components/Textarea/index.d.ts.map +0 -1
  851. package/lib/components/Timeline/Timeline.d.ts +0 -18
  852. package/lib/components/Timeline/Timeline.d.ts.map +0 -1
  853. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +0 -28
  854. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +0 -1
  855. package/lib/components/Timeline/TimelineItem/index.d.ts +0 -2
  856. package/lib/components/Timeline/TimelineItem/index.d.ts.map +0 -1
  857. package/lib/components/Timeline/index.d.ts +0 -3
  858. package/lib/components/Timeline/index.d.ts.map +0 -1
  859. package/lib/components/Toast/Toast.d.ts +0 -46
  860. package/lib/components/Toast/Toast.d.ts.map +0 -1
  861. package/lib/components/Toast/ToastContainer.d.ts +0 -3
  862. package/lib/components/Toast/ToastContainer.d.ts.map +0 -1
  863. package/lib/components/Toast/ToastManager.d.ts +0 -23
  864. package/lib/components/Toast/ToastManager.d.ts.map +0 -1
  865. package/lib/components/Toast/index.d.ts +0 -5
  866. package/lib/components/Toast/index.d.ts.map +0 -1
  867. package/lib/components/Toggle/Toggle.d.ts +0 -30
  868. package/lib/components/Toggle/Toggle.d.ts.map +0 -1
  869. package/lib/components/Toggle/index.d.ts +0 -2
  870. package/lib/components/Toggle/index.d.ts.map +0 -1
  871. package/lib/components/TokenListInput/TokenListInput.d.ts +0 -57
  872. package/lib/components/TokenListInput/TokenListInput.d.ts.map +0 -1
  873. package/lib/components/TokenListInput/TokenValueChips.d.ts +0 -20
  874. package/lib/components/TokenListInput/TokenValueChips.d.ts.map +0 -1
  875. package/lib/components/TokenListInput/index.d.ts +0 -2
  876. package/lib/components/TokenListInput/index.d.ts.map +0 -1
  877. package/lib/components/Tooltip/Tooltip.d.ts +0 -44
  878. package/lib/components/Tooltip/Tooltip.d.ts.map +0 -1
  879. package/lib/components/Tooltip/index.d.ts +0 -2
  880. package/lib/components/Tooltip/index.d.ts.map +0 -1
  881. package/lib/components/Truncate/Truncate.d.ts +0 -12
  882. package/lib/components/Truncate/Truncate.d.ts.map +0 -1
  883. package/lib/components/Truncate/index.d.ts +0 -3
  884. package/lib/components/Truncate/index.d.ts.map +0 -1
  885. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +0 -16
  886. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +0 -1
  887. package/lib/components/TruncatedTextWithTooltip/index.d.ts +0 -2
  888. package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +0 -1
  889. package/lib/components/Typeahead/SimpleTypeahead.d.ts +0 -41
  890. package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +0 -1
  891. package/lib/components/Typeahead/Typeahead.d.ts +0 -30
  892. package/lib/components/Typeahead/Typeahead.d.ts.map +0 -1
  893. package/lib/components/Typeahead/index.d.ts +0 -3
  894. package/lib/components/Typeahead/index.d.ts.map +0 -1
  895. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +0 -36
  896. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +0 -1
  897. package/lib/components/WeekdayPicker/index.d.ts +0 -2
  898. package/lib/components/WeekdayPicker/index.d.ts.map +0 -1
  899. package/lib/components/index.d.ts +0 -76
  900. package/lib/components/index.d.ts.map +0 -1
  901. package/lib/flow-to-typescript-codemod.d.ts +0 -49
  902. package/lib/hooks/index.d.ts +0 -17
  903. package/lib/hooks/index.d.ts.map +0 -1
  904. package/lib/hooks/useArbitraryOptionAddition/index.d.ts +0 -2
  905. package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +0 -1
  906. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +0 -24
  907. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +0 -1
  908. package/lib/hooks/useCopyToClipboard/index.d.ts +0 -2
  909. package/lib/hooks/useCopyToClipboard/index.d.ts.map +0 -1
  910. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +0 -5
  911. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts.map +0 -1
  912. package/lib/hooks/useDebounce/index.d.ts +0 -2
  913. package/lib/hooks/useDebounce/index.d.ts.map +0 -1
  914. package/lib/hooks/useDebounce/useDebounce.d.ts +0 -2
  915. package/lib/hooks/useDebounce/useDebounce.d.ts.map +0 -1
  916. package/lib/hooks/useFileUpload/index.d.ts +0 -2
  917. package/lib/hooks/useFileUpload/index.d.ts.map +0 -1
  918. package/lib/hooks/useFileUpload/useFileUpload.d.ts +0 -17
  919. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +0 -1
  920. package/lib/hooks/useFilteredOptions/index.d.ts +0 -2
  921. package/lib/hooks/useFilteredOptions/index.d.ts.map +0 -1
  922. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +0 -17
  923. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +0 -1
  924. package/lib/hooks/useInfiniteScroll/index.d.ts +0 -2
  925. package/lib/hooks/useInfiniteScroll/index.d.ts.map +0 -1
  926. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +0 -15
  927. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +0 -1
  928. package/lib/hooks/useInputState/index.d.ts +0 -2
  929. package/lib/hooks/useInputState/index.d.ts.map +0 -1
  930. package/lib/hooks/useInputState/useInputState.d.ts +0 -13
  931. package/lib/hooks/useInputState/useInputState.d.ts.map +0 -1
  932. package/lib/hooks/useLockedBody/index.d.ts +0 -2
  933. package/lib/hooks/useLockedBody/index.d.ts.map +0 -1
  934. package/lib/hooks/useLockedBody/useLockedBody.d.ts +0 -4
  935. package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +0 -1
  936. package/lib/hooks/useModal/index.d.ts +0 -2
  937. package/lib/hooks/useModal/index.d.ts.map +0 -1
  938. package/lib/hooks/useModal/useModal.d.ts +0 -11
  939. package/lib/hooks/useModal/useModal.d.ts.map +0 -1
  940. package/lib/hooks/useMountTransition/index.d.ts +0 -3
  941. package/lib/hooks/useMountTransition/index.d.ts.map +0 -1
  942. package/lib/hooks/usePagination/index.d.ts +0 -2
  943. package/lib/hooks/usePagination/index.d.ts.map +0 -1
  944. package/lib/hooks/usePagination/usePagination.d.ts +0 -5
  945. package/lib/hooks/usePagination/usePagination.d.ts.map +0 -1
  946. package/lib/hooks/useReferenceElementWidth/index.d.ts +0 -2
  947. package/lib/hooks/useReferenceElementWidth/index.d.ts.map +0 -1
  948. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts +0 -2
  949. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +0 -1
  950. package/lib/hooks/useResizeObserver/index.d.ts +0 -2
  951. package/lib/hooks/useResizeObserver/index.d.ts.map +0 -1
  952. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +0 -3
  953. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +0 -1
  954. package/lib/hooks/useToastPortal/index.d.ts +0 -2
  955. package/lib/hooks/useToastPortal/index.d.ts.map +0 -1
  956. package/lib/hooks/useToastPortal/useToastPortal.d.ts +0 -10
  957. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +0 -1
  958. package/lib/hooks/useToggle/index.d.ts +0 -2
  959. package/lib/hooks/useToggle/index.d.ts.map +0 -1
  960. package/lib/hooks/useToggle/useToggle.d.ts +0 -2
  961. package/lib/hooks/useToggle/useToggle.d.ts.map +0 -1
  962. package/lib/hooks/useWindowSize/index.d.ts +0 -2
  963. package/lib/hooks/useWindowSize/index.d.ts.map +0 -1
  964. package/lib/hooks/useWindowSize/useWindowSize.d.ts +0 -7
  965. package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +0 -1
  966. package/lib/index.d.ts +0 -6
  967. package/lib/index.d.ts.map +0 -1
  968. package/lib/styles/index.d.ts +0 -268
  969. package/lib/styles/index.d.ts.map +0 -1
  970. package/lib/styles/variables/_border.d.ts +0 -13
  971. package/lib/styles/variables/_border.d.ts.map +0 -1
  972. package/lib/styles/variables/_color.d.ts +0 -105
  973. package/lib/styles/variables/_color.d.ts.map +0 -1
  974. package/lib/styles/variables/_elevation.d.ts +0 -8
  975. package/lib/styles/variables/_elevation.d.ts.map +0 -1
  976. package/lib/styles/variables/_font.d.ts +0 -31
  977. package/lib/styles/variables/_font.d.ts.map +0 -1
  978. package/lib/styles/variables/_motion.d.ts +0 -7
  979. package/lib/styles/variables/_motion.d.ts.map +0 -1
  980. package/lib/styles/variables/_opacity.d.ts +0 -16
  981. package/lib/styles/variables/_opacity.d.ts.map +0 -1
  982. package/lib/styles/variables/_shadow.d.ts +0 -25
  983. package/lib/styles/variables/_shadow.d.ts.map +0 -1
  984. package/lib/styles/variables/_size.d.ts +0 -58
  985. package/lib/styles/variables/_size.d.ts.map +0 -1
  986. package/lib/styles/variables/_space.d.ts +0 -13
  987. package/lib/styles/variables/_space.d.ts.map +0 -1
  988. package/lib/types/charts.d.ts +0 -224
  989. package/lib/types/charts.d.ts.map +0 -1
  990. package/lib/types/common.d.ts +0 -10
  991. package/lib/types/common.d.ts.map +0 -1
  992. package/lib/types/cssvariables.d.js +0 -3
  993. package/lib/types/date-range-picker.d.ts +0 -21
  994. package/lib/types/date-range-picker.d.ts.map +0 -1
  995. package/lib/types/flow-to-typescript-codemod.d.js +0 -1
  996. package/lib/types/global.d.js +0 -1
  997. package/lib/types/index.d.ts +0 -7
  998. package/lib/types/index.d.ts.map +0 -1
  999. package/lib/types/menu.d.ts +0 -13
  1000. package/lib/types/menu.d.ts.map +0 -1
  1001. package/lib/types/toast.d.ts +0 -28
  1002. package/lib/types/toast.d.ts.map +0 -1
  1003. package/lib/types/typography.d.ts +0 -17
  1004. package/lib/types/typography.d.ts.map +0 -1
  1005. package/lib/utils/array/are-arrays-equal.d.ts +0 -4
  1006. package/lib/utils/array/are-arrays-equal.d.ts.map +0 -1
  1007. package/lib/utils/array/index.d.ts +0 -2
  1008. package/lib/utils/array/index.d.ts.map +0 -1
  1009. package/lib/utils/charts/charts.d.ts +0 -17
  1010. package/lib/utils/charts/charts.d.ts.map +0 -1
  1011. package/lib/utils/charts/columnChart.d.ts +0 -8
  1012. package/lib/utils/charts/columnChart.d.ts.map +0 -1
  1013. package/lib/utils/charts/donutChart.d.ts +0 -21
  1014. package/lib/utils/charts/donutChart.d.ts.map +0 -1
  1015. package/lib/utils/charts/funnelChart.d.ts +0 -10
  1016. package/lib/utils/charts/funnelChart.d.ts.map +0 -1
  1017. package/lib/utils/charts/helpers.d.ts +0 -76
  1018. package/lib/utils/charts/helpers.d.ts.map +0 -1
  1019. package/lib/utils/charts/index.d.ts +0 -8
  1020. package/lib/utils/charts/index.d.ts.map +0 -1
  1021. package/lib/utils/charts/lineChart.d.ts +0 -7
  1022. package/lib/utils/charts/lineChart.d.ts.map +0 -1
  1023. package/lib/utils/charts/spiderChart.d.ts +0 -18
  1024. package/lib/utils/charts/spiderChart.d.ts.map +0 -1
  1025. package/lib/utils/charts/typography.d.ts +0 -58
  1026. package/lib/utils/charts/typography.d.ts.map +0 -1
  1027. package/lib/utils/classify/index.d.ts +0 -3
  1028. package/lib/utils/classify/index.d.ts.map +0 -1
  1029. package/lib/utils/click-away/click-away.d.ts +0 -77
  1030. package/lib/utils/click-away/click-away.d.ts.map +0 -1
  1031. package/lib/utils/click-away/index.d.ts +0 -2
  1032. package/lib/utils/click-away/index.d.ts.map +0 -1
  1033. package/lib/utils/date-range-picker/date-range-picker.d.ts +0 -63
  1034. package/lib/utils/date-range-picker/date-range-picker.d.ts.map +0 -1
  1035. package/lib/utils/date-range-picker/index.d.ts +0 -3
  1036. package/lib/utils/date-range-picker/index.d.ts.map +0 -1
  1037. package/lib/utils/date-range-picker/timezones.d.ts +0 -258
  1038. package/lib/utils/date-range-picker/timezones.d.ts.map +0 -1
  1039. package/lib/utils/dom/dom.d.ts +0 -38
  1040. package/lib/utils/dom/dom.d.ts.map +0 -1
  1041. package/lib/utils/dom/index.d.ts +0 -2
  1042. package/lib/utils/dom/index.d.ts.map +0 -1
  1043. package/lib/utils/helpers/helpers.d.ts +0 -4
  1044. package/lib/utils/helpers/helpers.d.ts.map +0 -1
  1045. package/lib/utils/helpers/index.d.ts +0 -2
  1046. package/lib/utils/helpers/index.d.ts.map +0 -1
  1047. package/lib/utils/index.d.ts +0 -15
  1048. package/lib/utils/index.d.ts.map +0 -1
  1049. package/lib/utils/makeClassNameComponent/index.d.ts +0 -2
  1050. package/lib/utils/makeClassNameComponent/index.d.ts.map +0 -1
  1051. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +0 -9
  1052. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +0 -1
  1053. package/lib/utils/menu/index.d.ts +0 -2
  1054. package/lib/utils/menu/index.d.ts.map +0 -1
  1055. package/lib/utils/menu/menu.d.ts +0 -20
  1056. package/lib/utils/menu/menu.d.ts.map +0 -1
  1057. package/lib/utils/merge-refs/index.d.ts +0 -2
  1058. package/lib/utils/merge-refs/index.d.ts.map +0 -1
  1059. package/lib/utils/merge-refs/merge-refs.d.ts +0 -4
  1060. package/lib/utils/merge-refs/merge-refs.d.ts.map +0 -1
  1061. package/lib/utils/rating/index.d.ts +0 -2
  1062. package/lib/utils/rating/index.d.ts.map +0 -1
  1063. package/lib/utils/rating/rating.d.ts +0 -13
  1064. package/lib/utils/rating/rating.d.ts.map +0 -1
  1065. package/lib/utils/score-bar/index.d.ts +0 -2
  1066. package/lib/utils/score-bar/index.d.ts.map +0 -1
  1067. package/lib/utils/score-bar/score-bar.d.ts +0 -10
  1068. package/lib/utils/score-bar/score-bar.d.ts.map +0 -1
  1069. package/lib/utils/string/index.d.ts +0 -2
  1070. package/lib/utils/string/index.d.ts.map +0 -1
  1071. package/lib/utils/string/string.d.ts +0 -6
  1072. package/lib/utils/string/string.d.ts.map +0 -1
  1073. package/lib/utils/token-list-input/token-list-input.d.ts +0 -15
  1074. package/lib/utils/token-list-input/token-list-input.d.ts.map +0 -1
  1075. package/lib/utils/tokens/index.d.ts +0 -2
  1076. package/lib/utils/tokens/index.d.ts.map +0 -1
  1077. package/lib/utils/tokens/tokens.d.ts +0 -41
  1078. package/lib/utils/tokens/tokens.d.ts.map +0 -1
  1079. package/tsconfig.declaration.json +0 -11
  1080. package/tsconfig.json +0 -41
@@ -0,0 +1,1060 @@
1
+ // @flow strict
2
+
3
+ import * as React from 'react';
4
+
5
+ import type {ColorTypes} from '../../types/typography';
6
+ import {TEXT_COLORS} from '../../types/typography';
7
+ import classify from '../../utils/classify';
8
+ import {escapeRegExp} from '../../utils/string';
9
+
10
+ import css from '../../styles/typography.module.css';
11
+
12
+
13
+ export type TextProps = {
14
+ color?: ColorTypes,
15
+ children?: React.Node,
16
+ className?: string,
17
+ highlightedTextClassName?: string,
18
+ highlightString?: string | string[],
19
+ caseSensitiveHighlighting?: boolean,
20
+ highlightWithBackground?: boolean,
21
+ ...
22
+ };
23
+
24
+ export type HighlightTextProps = {
25
+ text: string,
26
+ highlight: string | string[],
27
+ highlightClassName?: string,
28
+ caseSensitiveHighlighting?: boolean,
29
+ highlightWithBackground?: boolean,
30
+ };
31
+
32
+ const HighlightText: React$AbstractComponent<
33
+ HighlightTextProps,
34
+ HTMLSpanElement,
35
+ > = React.forwardRef<HighlightTextProps, HTMLSpanElement>(
36
+ (
37
+ {
38
+ text,
39
+ highlight,
40
+ highlightClassName,
41
+ caseSensitiveHighlighting,
42
+ highlightWithBackground,
43
+ }: HighlightTextProps,
44
+ ref,
45
+ ) => {
46
+ // Split text on highlight term, include term itself into parts, ignore case
47
+ // Convert highlight to an array if it's not already
48
+ const highlightArray = [].concat(highlight).filter((item) => item !== '');
49
+ const highlights = highlightArray.map(escapeRegExp).join('|');
50
+
51
+ const parts = text
52
+ .split(
53
+ new RegExp(`(${highlights})`, caseSensitiveHighlighting ? '' : 'gi'),
54
+ )
55
+ .filter((part) => part !== '');
56
+
57
+ return (
58
+ <span ref={ref}>
59
+ {parts.map((part, idx) => {
60
+ const isHighlighted = highlightArray.some((highlightTerm) =>
61
+ caseSensitiveHighlighting
62
+ ? escapeRegExp(part).includes(escapeRegExp(highlightTerm))
63
+ : escapeRegExp(part)
64
+ .toLowerCase()
65
+ .includes(escapeRegExp(highlightTerm).toLowerCase()),
66
+ );
67
+
68
+ return isHighlighted ? (
69
+ <span
70
+ // eslint-disable-next-line react/no-array-index-key
71
+ key={idx}
72
+ className={classify(
73
+ css.highlightText,
74
+ {
75
+ [css.bgHighlighting]: highlightWithBackground,
76
+ },
77
+ highlightClassName,
78
+ )}
79
+ >
80
+ {part}
81
+ </span>
82
+ ) : (
83
+ part
84
+ );
85
+ })}
86
+ </span>
87
+ );
88
+ },
89
+ );
90
+
91
+ export const JumboLarge: React$AbstractComponent<TextProps, HTMLSpanElement> =
92
+ React.forwardRef<TextProps, HTMLSpanElement>(
93
+ (
94
+ {
95
+ color = TEXT_COLORS.primary,
96
+ children,
97
+ className,
98
+ highlightedTextClassName,
99
+ highlightString,
100
+ caseSensitiveHighlighting,
101
+ highlightWithBackground,
102
+ ...props
103
+ }: TextProps,
104
+ ref,
105
+ ): React.Node => (
106
+ <span
107
+ {...props}
108
+ className={classify(css.jumboLarge, css[color], className)}
109
+ ref={ref}
110
+ >
111
+ {!!highlightString?.length && typeof children === 'string' ? (
112
+ <HighlightText
113
+ text={children}
114
+ highlight={highlightString}
115
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
116
+ highlightClassName={highlightedTextClassName}
117
+ highlightWithBackground={highlightWithBackground}
118
+ />
119
+ ) : (
120
+ children
121
+ )}
122
+ </span>
123
+ ),
124
+ );
125
+
126
+ export const JumboMedium: React$AbstractComponent<TextProps, HTMLSpanElement> =
127
+ React.forwardRef<TextProps, HTMLSpanElement>(
128
+ (
129
+ {
130
+ color = TEXT_COLORS.primary,
131
+ children,
132
+ className,
133
+ highlightedTextClassName,
134
+ highlightString,
135
+ caseSensitiveHighlighting,
136
+ highlightWithBackground,
137
+ ...props
138
+ }: TextProps,
139
+ ref,
140
+ ): React.Node => (
141
+ <span
142
+ {...props}
143
+ className={classify(css.jumboMedium, css[color], className)}
144
+ ref={ref}
145
+ >
146
+ {!!highlightString?.length && typeof children === 'string' ? (
147
+ <HighlightText
148
+ text={children}
149
+ highlight={highlightString}
150
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
151
+ highlightClassName={highlightedTextClassName}
152
+ highlightWithBackground={highlightWithBackground}
153
+ />
154
+ ) : (
155
+ children
156
+ )}
157
+ </span>
158
+ ),
159
+ );
160
+
161
+ export const JumboSmall: React$AbstractComponent<TextProps, HTMLSpanElement> =
162
+ React.forwardRef<TextProps, HTMLSpanElement>(
163
+ (
164
+ {
165
+ color = TEXT_COLORS.primary,
166
+ children,
167
+ className,
168
+ highlightedTextClassName,
169
+ highlightString,
170
+ caseSensitiveHighlighting,
171
+ highlightWithBackground,
172
+ ...props
173
+ }: TextProps,
174
+ ref,
175
+ ): React.Node => (
176
+ <span
177
+ {...props}
178
+ className={classify(css.jumboSmall, css[color], className)}
179
+ ref={ref}
180
+ >
181
+ {!!highlightString?.length && typeof children === 'string' ? (
182
+ <HighlightText
183
+ text={children}
184
+ highlight={highlightString}
185
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
186
+ highlightClassName={highlightedTextClassName}
187
+ highlightWithBackground={highlightWithBackground}
188
+ />
189
+ ) : (
190
+ children
191
+ )}
192
+ </span>
193
+ ),
194
+ );
195
+
196
+ export const TitleMedium: React$AbstractComponent<
197
+ TextProps,
198
+ HTMLHeadingElement,
199
+ > = React.forwardRef<TextProps, HTMLHeadingElement>(
200
+ (
201
+ {
202
+ color = TEXT_COLORS.primary,
203
+ children,
204
+ className,
205
+ highlightedTextClassName,
206
+ highlightString,
207
+ caseSensitiveHighlighting,
208
+ highlightWithBackground,
209
+ ...props
210
+ }: TextProps,
211
+ ref,
212
+ ): React.Node => (
213
+ <h1
214
+ {...props}
215
+ className={classify(css.titleMedium, css[color], className)}
216
+ ref={ref}
217
+ >
218
+ {!!highlightString?.length && typeof children === 'string' ? (
219
+ <HighlightText
220
+ text={children}
221
+ highlight={highlightString}
222
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
223
+ highlightClassName={highlightedTextClassName}
224
+ highlightWithBackground={highlightWithBackground}
225
+ />
226
+ ) : (
227
+ children
228
+ )}
229
+ </h1>
230
+ ),
231
+ );
232
+
233
+ export const SubTitleLarge: React$AbstractComponent<
234
+ TextProps,
235
+ HTMLHeadingElement,
236
+ > = React.forwardRef<TextProps, HTMLHeadingElement>(
237
+ (
238
+ {
239
+ color = TEXT_COLORS.primary,
240
+ children,
241
+ className,
242
+ highlightedTextClassName,
243
+ highlightString,
244
+ caseSensitiveHighlighting,
245
+ highlightWithBackground,
246
+ ...props
247
+ }: TextProps,
248
+ ref,
249
+ ): React.Node => (
250
+ <h2
251
+ {...props}
252
+ className={classify(css.subTitleLarge, css[color], className)}
253
+ ref={ref}
254
+ >
255
+ {!!highlightString?.length && typeof children === 'string' ? (
256
+ <HighlightText
257
+ text={children}
258
+ highlight={highlightString}
259
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
260
+ highlightClassName={highlightedTextClassName}
261
+ highlightWithBackground={highlightWithBackground}
262
+ />
263
+ ) : (
264
+ children
265
+ )}
266
+ </h2>
267
+ ),
268
+ );
269
+
270
+ export const SubTitleMedium: React$AbstractComponent<
271
+ TextProps,
272
+ HTMLHeadingElement,
273
+ > = React.forwardRef<TextProps, HTMLHeadingElement>(
274
+ (
275
+ {
276
+ color = TEXT_COLORS.primary,
277
+ children,
278
+ className,
279
+ highlightedTextClassName,
280
+ highlightString,
281
+ caseSensitiveHighlighting,
282
+ highlightWithBackground,
283
+ ...props
284
+ }: TextProps,
285
+ ref,
286
+ ): React.Node => (
287
+ <h3
288
+ {...props}
289
+ className={classify(css.subTitleMedium, css[color], className)}
290
+ ref={ref}
291
+ >
292
+ {!!highlightString?.length && typeof children === 'string' ? (
293
+ <HighlightText
294
+ text={children}
295
+ highlight={highlightString}
296
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
297
+ highlightClassName={highlightedTextClassName}
298
+ highlightWithBackground={highlightWithBackground}
299
+ />
300
+ ) : (
301
+ children
302
+ )}
303
+ </h3>
304
+ ),
305
+ );
306
+
307
+ export const SubTitleSmall: React$AbstractComponent<
308
+ TextProps,
309
+ HTMLHeadingElement,
310
+ > = React.forwardRef<TextProps, HTMLHeadingElement>(
311
+ (
312
+ {
313
+ color = TEXT_COLORS.primary,
314
+ children,
315
+ className,
316
+ highlightedTextClassName,
317
+ highlightString,
318
+ caseSensitiveHighlighting,
319
+ highlightWithBackground,
320
+ ...props
321
+ }: TextProps,
322
+ ref,
323
+ ): React.Node => (
324
+ <h4
325
+ {...props}
326
+ className={classify(css.subTitleSmall, css[color], className)}
327
+ ref={ref}
328
+ >
329
+ {!!highlightString?.length && typeof children === 'string' ? (
330
+ <HighlightText
331
+ text={children}
332
+ highlight={highlightString}
333
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
334
+ highlightClassName={highlightedTextClassName}
335
+ highlightWithBackground={highlightWithBackground}
336
+ />
337
+ ) : (
338
+ children
339
+ )}
340
+ </h4>
341
+ ),
342
+ );
343
+
344
+ export const SubTitleExtraSmall: React$AbstractComponent<
345
+ TextProps,
346
+ HTMLHeadingElement,
347
+ > = React.forwardRef<TextProps, HTMLHeadingElement>(
348
+ (
349
+ {
350
+ color = TEXT_COLORS.primary,
351
+ children,
352
+ className,
353
+ highlightedTextClassName,
354
+ highlightString,
355
+ caseSensitiveHighlighting,
356
+ highlightWithBackground,
357
+ ...props
358
+ }: TextProps,
359
+ ref,
360
+ ): React.Node => (
361
+ <h5
362
+ {...props}
363
+ className={classify(css.subTitleExtraSmall, css[color], className)}
364
+ ref={ref}
365
+ >
366
+ {!!highlightString?.length && typeof children === 'string' ? (
367
+ <HighlightText
368
+ text={children}
369
+ highlight={highlightString}
370
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
371
+ highlightClassName={highlightedTextClassName}
372
+ highlightWithBackground={highlightWithBackground}
373
+ />
374
+ ) : (
375
+ children
376
+ )}
377
+ </h5>
378
+ ),
379
+ );
380
+
381
+ export const ButtonTextMedium: React$AbstractComponent<
382
+ TextProps,
383
+ HTMLSpanElement,
384
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
385
+ (
386
+ {
387
+ color = TEXT_COLORS.primary,
388
+ children,
389
+ className,
390
+ highlightedTextClassName,
391
+ highlightString,
392
+ caseSensitiveHighlighting,
393
+ highlightWithBackground,
394
+ ...props
395
+ }: TextProps,
396
+ ref,
397
+ ): React.Node => (
398
+ <span
399
+ {...props}
400
+ className={classify(css.buttonTextMedium, css[color], className)}
401
+ ref={ref}
402
+ >
403
+ {!!highlightString?.length && typeof children === 'string' ? (
404
+ <HighlightText
405
+ text={children}
406
+ highlight={highlightString}
407
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
408
+ highlightClassName={highlightedTextClassName}
409
+ highlightWithBackground={highlightWithBackground}
410
+ />
411
+ ) : (
412
+ children
413
+ )}
414
+ </span>
415
+ ),
416
+ );
417
+
418
+ export const ButtonTextSmall: React$AbstractComponent<
419
+ TextProps,
420
+ HTMLSpanElement,
421
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
422
+ (
423
+ {
424
+ color = TEXT_COLORS.primary,
425
+ children,
426
+ className,
427
+ highlightedTextClassName,
428
+ highlightString,
429
+ caseSensitiveHighlighting,
430
+ highlightWithBackground,
431
+ ...props
432
+ }: TextProps,
433
+ ref,
434
+ ): React.Node => (
435
+ <span
436
+ {...props}
437
+ className={classify(css.buttonTextSmall, css[color], className)}
438
+ ref={ref}
439
+ >
440
+ {!!highlightString?.length && typeof children === 'string' ? (
441
+ <HighlightText
442
+ text={children}
443
+ highlight={highlightString}
444
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
445
+ highlightClassName={highlightedTextClassName}
446
+ highlightWithBackground={highlightWithBackground}
447
+ />
448
+ ) : (
449
+ children
450
+ )}
451
+ </span>
452
+ ),
453
+ );
454
+
455
+ export const MenuTextMedium: React$AbstractComponent<
456
+ TextProps,
457
+ HTMLSpanElement,
458
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
459
+ (
460
+ {
461
+ color = TEXT_COLORS.primary,
462
+ children,
463
+ className,
464
+ highlightedTextClassName,
465
+ highlightString,
466
+ caseSensitiveHighlighting,
467
+ highlightWithBackground,
468
+ ...props
469
+ }: TextProps,
470
+ ref,
471
+ ): React.Node => (
472
+ <span
473
+ {...props}
474
+ className={classify(css.menuTextMedium, css[color], className)}
475
+ ref={ref}
476
+ >
477
+ {!!highlightString?.length && typeof children === 'string' ? (
478
+ <HighlightText
479
+ text={children}
480
+ highlight={highlightString}
481
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
482
+ highlightClassName={highlightedTextClassName}
483
+ highlightWithBackground={highlightWithBackground}
484
+ />
485
+ ) : (
486
+ children
487
+ )}
488
+ </span>
489
+ ),
490
+ );
491
+
492
+ export const MenuTextSmall: React$AbstractComponent<
493
+ TextProps,
494
+ HTMLSpanElement,
495
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
496
+ (
497
+ {
498
+ color = TEXT_COLORS.primary,
499
+ children,
500
+ className,
501
+ highlightedTextClassName,
502
+ highlightString,
503
+ caseSensitiveHighlighting,
504
+ highlightWithBackground,
505
+ ...props
506
+ }: TextProps,
507
+ ref,
508
+ ): React.Node => (
509
+ <span
510
+ {...props}
511
+ className={classify(css.menuTextSmall, css[color], className)}
512
+ ref={ref}
513
+ >
514
+ {!!highlightString?.length && typeof children === 'string' ? (
515
+ <HighlightText
516
+ text={children}
517
+ highlight={highlightString}
518
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
519
+ highlightClassName={highlightedTextClassName}
520
+ highlightWithBackground={highlightWithBackground}
521
+ />
522
+ ) : (
523
+ children
524
+ )}
525
+ </span>
526
+ ),
527
+ );
528
+
529
+ export const ButtonTextExtraSmall: React$AbstractComponent<
530
+ TextProps,
531
+ HTMLSpanElement,
532
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
533
+ (
534
+ {
535
+ color = TEXT_COLORS.primary,
536
+ children,
537
+ className,
538
+ highlightedTextClassName,
539
+ highlightString,
540
+ caseSensitiveHighlighting,
541
+ highlightWithBackground,
542
+ ...props
543
+ }: TextProps,
544
+ ref,
545
+ ): React.Node => (
546
+ <span
547
+ {...props}
548
+ className={classify(css.buttonTextExtraSmall, css[color], className)}
549
+ ref={ref}
550
+ >
551
+ {!!highlightString?.length && typeof children === 'string' ? (
552
+ <HighlightText
553
+ text={children}
554
+ highlight={highlightString}
555
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
556
+ highlightClassName={highlightedTextClassName}
557
+ highlightWithBackground={highlightWithBackground}
558
+ />
559
+ ) : (
560
+ children
561
+ )}
562
+ </span>
563
+ ),
564
+ );
565
+
566
+ export const ButtonTextMediumUnderline: React$AbstractComponent<
567
+ TextProps,
568
+ HTMLSpanElement,
569
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
570
+ (
571
+ {
572
+ color = TEXT_COLORS.primary,
573
+ children,
574
+ className,
575
+ highlightedTextClassName,
576
+ highlightString,
577
+ caseSensitiveHighlighting,
578
+ highlightWithBackground,
579
+ ...props
580
+ }: TextProps,
581
+ ref,
582
+ ): React.Node => (
583
+ <span
584
+ {...props}
585
+ className={classify(
586
+ css.buttonTextMedium,
587
+ css.underline,
588
+ css[color],
589
+ className,
590
+ )}
591
+ ref={ref}
592
+ >
593
+ {!!highlightString?.length && typeof children === 'string' ? (
594
+ <HighlightText
595
+ text={children}
596
+ highlight={highlightString}
597
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
598
+ highlightClassName={highlightedTextClassName}
599
+ highlightWithBackground={highlightWithBackground}
600
+ />
601
+ ) : (
602
+ children
603
+ )}
604
+ </span>
605
+ ),
606
+ );
607
+
608
+ export const ButtonTextSmallUnderline: React$AbstractComponent<
609
+ TextProps,
610
+ HTMLSpanElement,
611
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
612
+ (
613
+ {
614
+ color = TEXT_COLORS.primary,
615
+ children,
616
+ className,
617
+ highlightedTextClassName,
618
+ highlightString,
619
+ caseSensitiveHighlighting,
620
+ highlightWithBackground,
621
+ ...props
622
+ }: TextProps,
623
+ ref,
624
+ ): React.Node => (
625
+ <span
626
+ {...props}
627
+ className={classify(
628
+ css.buttonTextSmall,
629
+ css.underline,
630
+ css[color],
631
+ className,
632
+ )}
633
+ ref={ref}
634
+ >
635
+ {!!highlightString?.length && typeof children === 'string' ? (
636
+ <HighlightText
637
+ text={children}
638
+ highlight={highlightString}
639
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
640
+ highlightClassName={highlightedTextClassName}
641
+ highlightWithBackground={highlightWithBackground}
642
+ />
643
+ ) : (
644
+ children
645
+ )}
646
+ </span>
647
+ ),
648
+ );
649
+
650
+ export const ButtonTextExtraSmallUnderline: React$AbstractComponent<
651
+ TextProps,
652
+ HTMLSpanElement,
653
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
654
+ (
655
+ {
656
+ color = TEXT_COLORS.primary,
657
+ children,
658
+ className,
659
+ highlightedTextClassName,
660
+ highlightString,
661
+ caseSensitiveHighlighting,
662
+ highlightWithBackground,
663
+ ...props
664
+ }: TextProps,
665
+ ref,
666
+ ): React.Node => (
667
+ <span
668
+ {...props}
669
+ className={classify(
670
+ css.buttonTextExtraSmall,
671
+ css.underline,
672
+ css[color],
673
+ className,
674
+ )}
675
+ ref={ref}
676
+ >
677
+ {!!highlightString?.length && typeof children === 'string' ? (
678
+ <HighlightText
679
+ text={children}
680
+ highlight={highlightString}
681
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
682
+ highlightClassName={highlightedTextClassName}
683
+ highlightWithBackground={highlightWithBackground}
684
+ />
685
+ ) : (
686
+ children
687
+ )}
688
+ </span>
689
+ ),
690
+ );
691
+
692
+ export const FormInputMedium: React$AbstractComponent<
693
+ TextProps,
694
+ HTMLParagraphElement,
695
+ > = React.forwardRef<TextProps, HTMLParagraphElement>(
696
+ (
697
+ {
698
+ color = TEXT_COLORS.primary,
699
+ children,
700
+ className,
701
+ highlightedTextClassName,
702
+ highlightString,
703
+ caseSensitiveHighlighting,
704
+ highlightWithBackground,
705
+ ...props
706
+ }: TextProps,
707
+ ref,
708
+ ): React.Node => (
709
+ <p
710
+ {...props}
711
+ className={classify(css.formInputMedium, css[color], className)}
712
+ ref={ref}
713
+ >
714
+ {!!highlightString?.length && typeof children === 'string' ? (
715
+ <HighlightText
716
+ text={children}
717
+ highlight={highlightString}
718
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
719
+ highlightClassName={highlightedTextClassName}
720
+ highlightWithBackground={highlightWithBackground}
721
+ />
722
+ ) : (
723
+ children
724
+ )}
725
+ </p>
726
+ ),
727
+ );
728
+
729
+ export const FormInputSmall: React$AbstractComponent<
730
+ TextProps,
731
+ HTMLParagraphElement,
732
+ > = React.forwardRef<TextProps, HTMLParagraphElement>(
733
+ (
734
+ {
735
+ color = TEXT_COLORS.primary,
736
+ children,
737
+ className,
738
+ highlightedTextClassName,
739
+ highlightString,
740
+ caseSensitiveHighlighting,
741
+ highlightWithBackground,
742
+ ...props
743
+ }: TextProps,
744
+ ref,
745
+ ): React.Node => (
746
+ <p
747
+ {...props}
748
+ className={classify(css.formInputSmall, css[color], className)}
749
+ ref={ref}
750
+ >
751
+ {!!highlightString?.length && typeof children === 'string' ? (
752
+ <HighlightText
753
+ text={children}
754
+ highlight={highlightString}
755
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
756
+ highlightClassName={highlightedTextClassName}
757
+ highlightWithBackground={highlightWithBackground}
758
+ />
759
+ ) : (
760
+ children
761
+ )}
762
+ </p>
763
+ ),
764
+ );
765
+
766
+ export const BodyLarge: React$AbstractComponent<
767
+ TextProps,
768
+ HTMLParagraphElement,
769
+ > = React.forwardRef<TextProps, HTMLParagraphElement>(
770
+ (
771
+ {
772
+ color = TEXT_COLORS.primary,
773
+ children,
774
+ className,
775
+ highlightedTextClassName,
776
+ highlightString,
777
+ caseSensitiveHighlighting,
778
+ highlightWithBackground,
779
+ ...props
780
+ }: TextProps,
781
+ ref,
782
+ ): React.Node => (
783
+ <p
784
+ {...props}
785
+ className={classify(css.bodyLarge, css[color], className)}
786
+ ref={ref}
787
+ >
788
+ {!!highlightString?.length && typeof children === 'string' ? (
789
+ <HighlightText
790
+ text={children}
791
+ highlight={highlightString}
792
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
793
+ highlightClassName={highlightedTextClassName}
794
+ highlightWithBackground={highlightWithBackground}
795
+ />
796
+ ) : (
797
+ children
798
+ )}
799
+ </p>
800
+ ),
801
+ );
802
+
803
+ export const BodyMedium: React$AbstractComponent<
804
+ TextProps,
805
+ HTMLParagraphElement,
806
+ > = React.forwardRef<TextProps, HTMLParagraphElement>(
807
+ (
808
+ {
809
+ color = TEXT_COLORS.primary,
810
+ children,
811
+ className,
812
+ highlightedTextClassName,
813
+ highlightString,
814
+ caseSensitiveHighlighting,
815
+ highlightWithBackground,
816
+ ...props
817
+ }: TextProps,
818
+ ref,
819
+ ): React.Node => (
820
+ <p
821
+ {...props}
822
+ className={classify(css.bodyMedium, css[color], className)}
823
+ ref={ref}
824
+ >
825
+ {!!highlightString?.length && typeof children === 'string' ? (
826
+ <HighlightText
827
+ text={children}
828
+ highlight={highlightString}
829
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
830
+ highlightClassName={highlightedTextClassName}
831
+ highlightWithBackground={highlightWithBackground}
832
+ />
833
+ ) : (
834
+ children
835
+ )}
836
+ </p>
837
+ ),
838
+ );
839
+
840
+ export const BodySmall: React$AbstractComponent<
841
+ TextProps,
842
+ HTMLParagraphElement,
843
+ > = React.forwardRef<TextProps, HTMLParagraphElement>(
844
+ (
845
+ {
846
+ color = TEXT_COLORS.primary,
847
+ children,
848
+ className,
849
+ highlightedTextClassName,
850
+ highlightString,
851
+ caseSensitiveHighlighting,
852
+ highlightWithBackground,
853
+ ...props
854
+ }: TextProps,
855
+ ref,
856
+ ): React.Node => (
857
+ <p
858
+ {...props}
859
+ className={classify(css.bodySmall, css[color], className)}
860
+ ref={ref}
861
+ >
862
+ {!!highlightString?.length && typeof children === 'string' ? (
863
+ <HighlightText
864
+ text={children}
865
+ highlight={highlightString}
866
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
867
+ highlightClassName={highlightedTextClassName}
868
+ highlightWithBackground={highlightWithBackground}
869
+ />
870
+ ) : (
871
+ children
872
+ )}
873
+ </p>
874
+ ),
875
+ );
876
+
877
+ export const BodyLargeBold: React$AbstractComponent<
878
+ TextProps,
879
+ HTMLParagraphElement,
880
+ > = React.forwardRef<TextProps, HTMLParagraphElement>(
881
+ (
882
+ {
883
+ color = TEXT_COLORS.primary,
884
+ children,
885
+ className,
886
+ highlightedTextClassName,
887
+ highlightString,
888
+ caseSensitiveHighlighting,
889
+ highlightWithBackground,
890
+ ...props
891
+ }: TextProps,
892
+ ref,
893
+ ): React.Node => (
894
+ <p
895
+ {...props}
896
+ className={classify(css.bodyLarge, css.bold, css[color], className)}
897
+ ref={ref}
898
+ >
899
+ {!!highlightString?.length && typeof children === 'string' ? (
900
+ <HighlightText
901
+ text={children}
902
+ highlight={highlightString}
903
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
904
+ highlightClassName={highlightedTextClassName}
905
+ highlightWithBackground={highlightWithBackground}
906
+ />
907
+ ) : (
908
+ children
909
+ )}
910
+ </p>
911
+ ),
912
+ );
913
+
914
+ export const BodyMediumBold: React$AbstractComponent<
915
+ TextProps,
916
+ HTMLParagraphElement,
917
+ > = React.forwardRef<TextProps, HTMLParagraphElement>(
918
+ (
919
+ {
920
+ color = TEXT_COLORS.primary,
921
+ children,
922
+ className,
923
+ highlightedTextClassName,
924
+ highlightString,
925
+ caseSensitiveHighlighting,
926
+ highlightWithBackground,
927
+ ...props
928
+ }: TextProps,
929
+ ref,
930
+ ): React.Node => (
931
+ <p
932
+ {...props}
933
+ className={classify(css.bodyMedium, css.bold, css[color], className)}
934
+ ref={ref}
935
+ >
936
+ {!!highlightString?.length && typeof children === 'string' ? (
937
+ <HighlightText
938
+ text={children}
939
+ highlight={highlightString}
940
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
941
+ highlightClassName={highlightedTextClassName}
942
+ highlightWithBackground={highlightWithBackground}
943
+ />
944
+ ) : (
945
+ children
946
+ )}
947
+ </p>
948
+ ),
949
+ );
950
+
951
+ export const BodySmallBold: React$AbstractComponent<
952
+ TextProps,
953
+ HTMLParagraphElement,
954
+ > = React.forwardRef<TextProps, HTMLParagraphElement>(
955
+ (
956
+ {
957
+ color = TEXT_COLORS.primary,
958
+ children,
959
+ className,
960
+ highlightedTextClassName,
961
+ highlightString,
962
+ caseSensitiveHighlighting,
963
+ highlightWithBackground,
964
+ ...props
965
+ }: TextProps,
966
+ ref,
967
+ ): React.Node => (
968
+ <p
969
+ {...props}
970
+ className={classify(css.bodySmall, css.bold, css[color], className)}
971
+ ref={ref}
972
+ >
973
+ {!!highlightString?.length && typeof children === 'string' ? (
974
+ <HighlightText
975
+ text={children}
976
+ highlight={highlightString}
977
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
978
+ highlightClassName={highlightedTextClassName}
979
+ highlightWithBackground={highlightWithBackground}
980
+ />
981
+ ) : (
982
+ children
983
+ )}
984
+ </p>
985
+ ),
986
+ );
987
+
988
+ export const FormLabelMedium: React$AbstractComponent<
989
+ TextProps,
990
+ HTMLSpanElement,
991
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
992
+ (
993
+ {
994
+ color = TEXT_COLORS.primary,
995
+ children,
996
+ className,
997
+ highlightedTextClassName,
998
+ highlightString,
999
+ caseSensitiveHighlighting,
1000
+ highlightWithBackground,
1001
+ ...props
1002
+ }: TextProps,
1003
+ ref,
1004
+ ): React.Node => (
1005
+ <span
1006
+ {...props}
1007
+ className={classify(css.formLabelMedium, css[color], className)}
1008
+ ref={ref}
1009
+ >
1010
+ {!!highlightString?.length && typeof children === 'string' ? (
1011
+ <HighlightText
1012
+ text={children}
1013
+ highlight={highlightString}
1014
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
1015
+ highlightClassName={highlightedTextClassName}
1016
+ highlightWithBackground={highlightWithBackground}
1017
+ />
1018
+ ) : (
1019
+ children
1020
+ )}
1021
+ </span>
1022
+ ),
1023
+ );
1024
+
1025
+ export const FormLabelSmall: React$AbstractComponent<
1026
+ TextProps,
1027
+ HTMLSpanElement,
1028
+ > = React.forwardRef<TextProps, HTMLSpanElement>(
1029
+ (
1030
+ {
1031
+ color = TEXT_COLORS.primary,
1032
+ children,
1033
+ className,
1034
+ highlightedTextClassName,
1035
+ highlightString,
1036
+ caseSensitiveHighlighting,
1037
+ highlightWithBackground,
1038
+ ...props
1039
+ }: TextProps,
1040
+ ref,
1041
+ ): React.Node => (
1042
+ <span
1043
+ {...props}
1044
+ className={classify(css.formLabelSmall, css[color], className)}
1045
+ ref={ref}
1046
+ >
1047
+ {!!highlightString?.length && typeof children === 'string' ? (
1048
+ <HighlightText
1049
+ text={children}
1050
+ highlight={highlightString}
1051
+ caseSensitiveHighlighting={caseSensitiveHighlighting}
1052
+ highlightClassName={highlightedTextClassName}
1053
+ highlightWithBackground={highlightWithBackground}
1054
+ />
1055
+ ) : (
1056
+ children
1057
+ )}
1058
+ </span>
1059
+ ),
1060
+ );