@spaced-out/ui-design-system 0.4.13-beta.1 → 0.4.14

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 (1477) hide show
  1. package/.cspell/custom-words.txt +1 -6
  2. package/.github/workflows/publish_to_npm.yml +38 -17
  3. package/.storybook/main.js +3 -3
  4. package/CHANGELOG.md +5 -4
  5. package/babel.config.js +1 -1
  6. package/config.js +3 -4
  7. package/cspell.json +1 -3
  8. package/gulpfile.js +33 -5
  9. package/lib/components/Accordion/Accordion.js +1 -3
  10. package/lib/components/Accordion/Accordion.js.flow +116 -0
  11. package/lib/components/Accordion/AccordionGroup.js +0 -3
  12. package/lib/components/Accordion/AccordionGroup.js.flow +75 -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 +7 -12
  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 +5 -18
  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 +1 -1
  171. package/lib/components/KPIBox/KPIBox.js.flow +98 -0
  172. package/lib/components/KPIBox/index.js.flow +3 -0
  173. package/lib/components/LinearLoader/LinearLoader.js.flow +49 -0
  174. package/lib/components/LinearLoader/index.js.flow +3 -0
  175. package/lib/components/Link/Link.js +5 -16
  176. package/lib/components/Link/Link.js.flow +231 -0
  177. package/lib/components/Link/index.js.flow +3 -0
  178. package/lib/components/Menu/Menu.js +2 -5
  179. package/lib/components/Menu/Menu.js.flow +391 -0
  180. package/lib/components/Menu/MenuOptionButton.js +1 -6
  181. package/lib/components/Menu/MenuOptionButton.js.flow +201 -0
  182. package/lib/components/Menu/index.js.flow +4 -0
  183. package/lib/components/Modal/Modal.js +2 -6
  184. package/lib/components/Modal/Modal.js.flow +370 -0
  185. package/lib/components/Modal/index.js.flow +15 -0
  186. package/lib/components/Notification/Notification.js +0 -1
  187. package/lib/components/Notification/Notification.js.flow +149 -0
  188. package/lib/components/Notification/index.js.flow +3 -0
  189. package/lib/components/OptionButton/OptionButton.js.flow +153 -0
  190. package/lib/components/OptionButton/SimpleOptionButton.js +0 -4
  191. package/lib/components/OptionButton/SimpleOptionButton.js.flow +161 -0
  192. package/lib/components/OptionButton/index.js.flow +4 -0
  193. package/lib/components/PageTitle/PageTitle.js +2 -7
  194. package/lib/components/PageTitle/PageTitle.js.flow +267 -0
  195. package/lib/components/PageTitle/index.js.flow +3 -0
  196. package/lib/components/Pagination/Pagination.js +1 -3
  197. package/lib/components/Pagination/Pagination.js.flow +158 -0
  198. package/lib/components/Pagination/PaginationItem.js +0 -3
  199. package/lib/components/Pagination/PaginationItem.js.flow +120 -0
  200. package/lib/components/Pagination/index.js.flow +3 -0
  201. package/lib/components/Panel/Panel.js.flow +181 -0
  202. package/lib/components/Panel/index.js.flow +10 -0
  203. package/lib/components/ProgressDonut/ProgressDonut.js +0 -1
  204. package/lib/components/ProgressDonut/ProgressDonut.js.flow +111 -0
  205. package/lib/components/ProgressDonut/index.js.flow +3 -0
  206. package/lib/components/PromptChip/PromptChip.js +2 -8
  207. package/lib/components/PromptChip/PromptChip.js.flow +166 -0
  208. package/lib/components/PromptChip/index.js.flow +3 -0
  209. package/lib/components/PromptInput/PromptInput.js +1 -10
  210. package/lib/components/PromptInput/PromptInput.js.flow +194 -0
  211. package/lib/components/PromptInput/index.js.flow +3 -0
  212. package/lib/components/RadioButton/RadioButton.js +0 -1
  213. package/lib/components/RadioButton/RadioButton.js.flow +134 -0
  214. package/lib/components/RadioButton/RadioGroup.js +0 -2
  215. package/lib/components/RadioButton/RadioGroup.js.flow +94 -0
  216. package/lib/components/RadioButton/index.js.flow +3 -0
  217. package/lib/components/RadioTile/RadioTile.js +0 -2
  218. package/lib/components/RadioTile/RadioTile.js.flow +110 -0
  219. package/lib/components/RadioTile/index.js.flow +3 -0
  220. package/lib/components/RangeSlider/RangeSlider.js +0 -3
  221. package/lib/components/RangeSlider/RangeSlider.js.flow +202 -0
  222. package/lib/components/RangeSlider/index.js.flow +3 -0
  223. package/lib/components/Rating/Rating.js +3 -7
  224. package/lib/components/Rating/Rating.js.flow +134 -0
  225. package/lib/components/Rating/index.js.flow +3 -0
  226. package/lib/components/ScoreBar/ScoreBar.js +1 -1
  227. package/lib/components/ScoreBar/ScoreBar.js.flow +135 -0
  228. package/lib/components/ScoreBar/index.js.flow +3 -0
  229. package/lib/components/SearchInput/SearchInput.js.flow +88 -0
  230. package/lib/components/SearchInput/index.js.flow +4 -0
  231. package/lib/components/Separator/Separator.js.flow +60 -0
  232. package/lib/components/Separator/index.js.flow +3 -0
  233. package/lib/components/Shimmer/Shimmer.js +2 -4
  234. package/lib/components/Shimmer/Shimmer.js.flow +141 -0
  235. package/lib/components/Shimmer/index.js.flow +3 -0
  236. package/lib/components/SideMenuLink/SideMenuLink.js +2 -8
  237. package/lib/components/SideMenuLink/SideMenuLink.js.flow +344 -0
  238. package/lib/components/SideMenuLink/index.js.flow +3 -0
  239. package/lib/components/StatusIndicator/StatusIndicator.js.flow +68 -0
  240. package/lib/components/StatusIndicator/index.js.flow +3 -0
  241. package/lib/components/Stepper/Step/Step.js +3 -12
  242. package/lib/components/Stepper/Step/Step.js.flow +123 -0
  243. package/lib/components/Stepper/Step/StepContent.js.flow +40 -0
  244. package/lib/components/Stepper/Step/StepLabel.js.flow +40 -0
  245. package/lib/components/Stepper/Step/index.js.flow +5 -0
  246. package/lib/components/Stepper/Stepper.js +0 -4
  247. package/lib/components/Stepper/Stepper.js.flow +64 -0
  248. package/lib/components/Stepper/index.js.flow +4 -0
  249. package/lib/components/StickyBar/StickyBar.js.flow +67 -0
  250. package/lib/components/StickyBar/index.js.flow +3 -0
  251. package/lib/components/SubMenu/SubMenu.js.flow +96 -0
  252. package/lib/components/SubMenu/SubMenuGroup.js +3 -11
  253. package/lib/components/SubMenu/SubMenuGroup.js.flow +156 -0
  254. package/lib/components/SubMenu/SubMenuItem.js +4 -14
  255. package/lib/components/SubMenu/SubMenuItem.js.flow +170 -0
  256. package/lib/components/SubMenu/SubMenuLink.js +2 -6
  257. package/lib/components/SubMenu/SubMenuLink.js.flow +89 -0
  258. package/lib/components/SubMenu/index.js.flow +6 -0
  259. package/lib/components/Table/Cell.js +3 -3
  260. package/lib/components/Table/Cell.js.flow +122 -0
  261. package/lib/components/Table/DefaultRow.js +2 -2
  262. package/lib/components/Table/DefaultRow.js.flow +152 -0
  263. package/lib/components/Table/DefaultTableHeader.js +2 -9
  264. package/lib/components/Table/DefaultTableHeader.js.flow +240 -0
  265. package/lib/components/Table/StaticTable.js +315 -88
  266. package/lib/components/Table/StaticTable.js.flow +576 -0
  267. package/lib/components/Table/Table.docs.js +83 -3
  268. package/lib/components/Table/Table.docs.js.flow +550 -0
  269. package/lib/components/Table/Table.js +9 -14
  270. package/lib/components/Table/Table.js.flow +154 -0
  271. package/lib/components/Table/Table.module.css +36 -5
  272. package/lib/components/Table/TableActionBar.js.flow +55 -0
  273. package/lib/components/Table/TableBottomBar.js.flow +28 -0
  274. package/lib/components/Table/TableTopBar.js.flow +28 -0
  275. package/lib/components/Table/dummyTableData.js.flow +2191 -0
  276. package/lib/components/Table/hooks.js +0 -7
  277. package/lib/components/Table/hooks.js.flow +97 -0
  278. package/lib/components/Table/index.js.flow +10 -0
  279. package/lib/components/Tabs/Tab/Tab.js +1 -5
  280. package/lib/components/Tabs/Tab/Tab.js.flow +140 -0
  281. package/lib/components/Tabs/Tab/index.js.flow +3 -0
  282. package/lib/components/Tabs/TabList/TabDropdown.js +2 -8
  283. package/lib/components/Tabs/TabList/TabDropdown.js.flow +123 -0
  284. package/lib/components/Tabs/TabList/TabList.js +3 -17
  285. package/lib/components/Tabs/TabList/TabList.js.flow +161 -0
  286. package/lib/components/Tabs/TabList/index.js.flow +3 -0
  287. package/lib/components/Tabs/index.js.flow +4 -0
  288. package/lib/components/Text/Text.js +0 -1
  289. package/lib/components/Text/Text.js.flow +1060 -0
  290. package/lib/components/Text/index.js.flow +32 -0
  291. package/lib/components/TextTile/TextTile.js.flow +44 -0
  292. package/lib/components/TextTile/index.js.flow +3 -0
  293. package/lib/components/Textarea/Textarea.js +4 -14
  294. package/lib/components/Textarea/Textarea.js.flow +139 -0
  295. package/lib/components/Textarea/index.js.flow +4 -0
  296. package/lib/components/Timeline/Timeline.js +1 -8
  297. package/lib/components/Timeline/Timeline.js.flow +47 -0
  298. package/lib/components/Timeline/TimelineItem/TimelineItem.js +2 -9
  299. package/lib/components/Timeline/TimelineItem/TimelineItem.js.flow +127 -0
  300. package/lib/components/Timeline/TimelineItem/index.js.flow +3 -0
  301. package/lib/components/Timeline/index.js.flow +4 -0
  302. package/lib/components/Toast/Toast.js +1 -10
  303. package/lib/components/Toast/Toast.js.flow +249 -0
  304. package/lib/components/Toast/ToastContainer.js +5 -2
  305. package/lib/components/Toast/ToastContainer.js.flow +125 -0
  306. package/lib/components/Toast/ToastManager.js +0 -1
  307. package/lib/components/Toast/ToastManager.js.flow +67 -0
  308. package/lib/components/Toast/index.js.flow +12 -0
  309. package/lib/components/Toggle/Toggle.js +0 -1
  310. package/lib/components/Toggle/Toggle.js.flow +113 -0
  311. package/lib/components/Toggle/index.js.flow +2 -0
  312. package/lib/components/TokenListInput/TokenListInput.js +10 -30
  313. package/lib/components/TokenListInput/TokenListInput.js.flow +389 -0
  314. package/lib/components/TokenListInput/TokenValueChips.js +4 -2
  315. package/lib/components/TokenListInput/TokenValueChips.js.flow +69 -0
  316. package/lib/components/TokenListInput/index.js.flow +3 -0
  317. package/lib/components/Tooltip/Tooltip.js +3 -6
  318. package/lib/components/Tooltip/Tooltip.js.flow +206 -0
  319. package/lib/components/Tooltip/index.js.flow +3 -0
  320. package/lib/components/Truncate/Truncate.js +1 -5
  321. package/lib/components/Truncate/Truncate.js.flow +86 -0
  322. package/lib/components/Truncate/index.js.flow +4 -0
  323. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +1 -6
  324. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js.flow +104 -0
  325. package/lib/components/TruncatedTextWithTooltip/index.js.flow +3 -0
  326. package/lib/components/Typeahead/SimpleTypeahead.js +0 -4
  327. package/lib/components/Typeahead/SimpleTypeahead.js.flow +164 -0
  328. package/lib/components/Typeahead/Typeahead.js +3 -12
  329. package/lib/components/Typeahead/Typeahead.js.flow +250 -0
  330. package/lib/components/Typeahead/index.js.flow +4 -0
  331. package/lib/components/WeekdayPicker/WeekdayPicker.js.flow +229 -0
  332. package/lib/components/WeekdayPicker/index.js.flow +3 -0
  333. package/lib/components/index.js.flow +77 -0
  334. package/lib/hooks/index.js.flow +18 -0
  335. package/lib/hooks/useArbitraryOptionAddition/index.js.flow +3 -0
  336. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +9 -9
  337. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js.flow +117 -0
  338. package/lib/hooks/useCopyToClipboard/index.js.flow +3 -0
  339. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +0 -1
  340. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js.flow +31 -0
  341. package/lib/hooks/useDebounce/index.js.flow +3 -0
  342. package/lib/hooks/useDebounce/useDebounce.js.flow +17 -0
  343. package/lib/hooks/useFileUpload/index.js.flow +3 -0
  344. package/lib/hooks/useFileUpload/useFileUpload.js +2 -7
  345. package/lib/hooks/useFileUpload/useFileUpload.js.flow +304 -0
  346. package/lib/hooks/useFilteredOptions/index.js.flow +3 -0
  347. package/lib/hooks/useFilteredOptions/useFilteredOptions.js +3 -5
  348. package/lib/hooks/useFilteredOptions/useFilteredOptions.js.flow +81 -0
  349. package/lib/hooks/useInfiniteScroll/index.js.flow +3 -0
  350. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.js.flow +82 -0
  351. package/lib/hooks/useInputState/index.js.flow +3 -0
  352. package/lib/hooks/useInputState/useInputState.js +1 -3
  353. package/lib/hooks/useInputState/useInputState.js.flow +28 -0
  354. package/lib/hooks/useLockedBody/index.js.flow +3 -0
  355. package/lib/hooks/useLockedBody/useLockedBody.js.flow +55 -0
  356. package/lib/hooks/useModal/index.js.flow +3 -0
  357. package/lib/hooks/useModal/useModal.js.flow +39 -0
  358. package/lib/hooks/useMountTransition/index.js +0 -2
  359. package/lib/hooks/useMountTransition/index.js.flow +27 -0
  360. package/lib/hooks/usePagination/index.js.flow +3 -0
  361. package/lib/hooks/usePagination/usePagination.js +0 -3
  362. package/lib/hooks/usePagination/usePagination.js.flow +155 -0
  363. package/lib/hooks/useReferenceElementWidth/index.js.flow +3 -0
  364. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js.flow +23 -0
  365. package/lib/hooks/useResizeObserver/index.js.flow +3 -0
  366. package/lib/hooks/useResizeObserver/useResizeObserver.js +0 -3
  367. package/lib/hooks/useResizeObserver/useResizeObserver.js.flow +28 -0
  368. package/lib/hooks/useToastPortal/index.js.flow +3 -0
  369. package/lib/hooks/useToastPortal/useToastPortal.js +3 -3
  370. package/lib/hooks/useToastPortal/useToastPortal.js.flow +30 -0
  371. package/lib/hooks/useToggle/index.js.flow +3 -0
  372. package/lib/hooks/useToggle/useToggle.js.flow +17 -0
  373. package/lib/hooks/useWindowSize/index.js.flow +3 -0
  374. package/lib/hooks/useWindowSize/useWindowSize.js.flow +41 -0
  375. package/lib/index.js.flow +7 -0
  376. package/lib/styles/index.js +275 -535
  377. package/lib/styles/index.js.flow +535 -0
  378. package/lib/styles/variables/_border.js.flow +25 -0
  379. package/lib/styles/variables/_color.js.flow +209 -0
  380. package/lib/styles/variables/_elevation.js.flow +15 -0
  381. package/lib/styles/variables/_font.js.flow +61 -0
  382. package/lib/styles/variables/_motion.js.flow +13 -0
  383. package/lib/styles/variables/_opacity.js.flow +31 -0
  384. package/lib/styles/variables/_shadow.js.flow +49 -0
  385. package/lib/styles/variables/_size.js.flow +115 -0
  386. package/lib/styles/variables/_space.js.flow +25 -0
  387. package/lib/types/charts.js +1 -5
  388. package/lib/types/charts.js.flow +263 -0
  389. package/lib/types/common.js.flow +13 -0
  390. package/lib/types/date-range-picker.js +1 -5
  391. package/lib/types/date-range-picker.js.flow +17 -0
  392. package/lib/types/index.js.flow +8 -0
  393. package/lib/types/menu.js +1 -5
  394. package/lib/types/menu.js.flow +15 -0
  395. package/lib/types/toast.js +2 -0
  396. package/lib/types/toast.js.flow +41 -0
  397. package/lib/types/typography.js.flow +19 -0
  398. package/lib/utils/array/are-arrays-equal.js.flow +14 -0
  399. package/lib/utils/array/index.js.flow +3 -0
  400. package/lib/utils/charts/charts.js +0 -4
  401. package/lib/utils/charts/charts.js.flow +111 -0
  402. package/lib/utils/charts/columnChart.js +1 -3
  403. package/lib/utils/charts/columnChart.js.flow +63 -0
  404. package/lib/utils/charts/donutChart.js +2 -7
  405. package/lib/utils/charts/donutChart.js.flow +119 -0
  406. package/lib/utils/charts/funnelChart.js +1 -5
  407. package/lib/utils/charts/funnelChart.js.flow +102 -0
  408. package/lib/utils/charts/helpers.js.flow +68 -0
  409. package/lib/utils/charts/index.js.flow +9 -0
  410. package/lib/utils/charts/lineChart.js +1 -3
  411. package/lib/utils/charts/lineChart.js.flow +51 -0
  412. package/lib/utils/charts/spiderChart.js.flow +59 -0
  413. package/lib/utils/charts/typography.js.flow +53 -0
  414. package/lib/utils/classify/index.js +1 -1
  415. package/lib/utils/classify/index.js.flow +29 -0
  416. package/lib/utils/click-away/click-away.js +5 -18
  417. package/lib/utils/click-away/click-away.js.flow +228 -0
  418. package/lib/utils/click-away/index.js.flow +3 -0
  419. package/lib/utils/date-range-picker/date-range-picker.js +2 -17
  420. package/lib/utils/date-range-picker/date-range-picker.js.flow +442 -0
  421. package/lib/utils/date-range-picker/index.js.flow +4 -0
  422. package/lib/utils/date-range-picker/timezones.js +1 -0
  423. package/lib/utils/date-range-picker/timezones.js.flow +269 -0
  424. package/lib/utils/dom/dom.js +7 -9
  425. package/lib/utils/dom/dom.js.flow +238 -0
  426. package/lib/utils/dom/index.js.flow +3 -0
  427. package/lib/utils/helpers/helpers.js.flow +53 -0
  428. package/lib/utils/helpers/index.js.flow +3 -0
  429. package/lib/utils/index.js.flow +16 -0
  430. package/lib/utils/makeClassNameComponent/index.js.flow +3 -0
  431. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +7 -21
  432. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js.flow +70 -0
  433. package/lib/utils/menu/index.js.flow +3 -0
  434. package/lib/utils/menu/menu.js +2 -0
  435. package/lib/utils/menu/menu.js.flow +193 -0
  436. package/lib/utils/merge-refs/index.js.flow +3 -0
  437. package/lib/utils/merge-refs/merge-refs.js +0 -1
  438. package/lib/utils/merge-refs/merge-refs.js.flow +14 -0
  439. package/lib/utils/rating/index.js.flow +3 -0
  440. package/lib/utils/rating/rating.js.flow +35 -0
  441. package/lib/utils/score-bar/index.js.flow +3 -0
  442. package/lib/utils/score-bar/score-bar.js.flow +58 -0
  443. package/lib/utils/string/index.js.flow +3 -0
  444. package/lib/utils/string/string.js.flow +33 -0
  445. package/lib/utils/token-list-input/token-list-input.js +2 -0
  446. package/lib/utils/token-list-input/token-list-input.js.flow +37 -0
  447. package/lib/utils/tokens/index.js.flow +3 -0
  448. package/lib/utils/tokens/tokens.js.flow +244 -0
  449. package/package.json +7 -32
  450. package/docs/FORWARDREF_FIX.md +0 -241
  451. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts +0 -19
  452. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +0 -1
  453. package/lib/components/AIPromptFlow/AIPromptFlow.stories.js +0 -225
  454. package/lib/components/Accordion/Accordion.d.ts +0 -21
  455. package/lib/components/Accordion/Accordion.d.ts.map +0 -1
  456. package/lib/components/Accordion/Accordion.stories.d.ts +0 -143
  457. package/lib/components/Accordion/Accordion.stories.d.ts.map +0 -1
  458. package/lib/components/Accordion/Accordion.stories.js +0 -172
  459. package/lib/components/Accordion/AccordionGroup.d.ts +0 -17
  460. package/lib/components/Accordion/AccordionGroup.d.ts.map +0 -1
  461. package/lib/components/Accordion/AccordionGroup.stories.d.ts +0 -104
  462. package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +0 -1
  463. package/lib/components/Accordion/AccordionGroup.stories.js +0 -202
  464. package/lib/components/Accordion/index.d.ts +0 -3
  465. package/lib/components/Accordion/index.d.ts.map +0 -1
  466. package/lib/components/Avatar/Avatar.d.ts +0 -60
  467. package/lib/components/Avatar/Avatar.d.ts.map +0 -1
  468. package/lib/components/Avatar/Avatar.stories.d.ts +0 -149
  469. package/lib/components/Avatar/Avatar.stories.d.ts.map +0 -1
  470. package/lib/components/Avatar/Avatar.stories.js +0 -174
  471. package/lib/components/Avatar/index.d.ts +0 -2
  472. package/lib/components/Avatar/index.d.ts.map +0 -1
  473. package/lib/components/AvatarGroup/AvatarGroup.d.ts +0 -15
  474. package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +0 -1
  475. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +0 -101
  476. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +0 -1
  477. package/lib/components/AvatarGroup/AvatarGroup.stories.js +0 -160
  478. package/lib/components/AvatarGroup/index.d.ts +0 -2
  479. package/lib/components/AvatarGroup/index.d.ts.map +0 -1
  480. package/lib/components/Badge/Badge.d.ts +0 -40
  481. package/lib/components/Badge/Badge.d.ts.map +0 -1
  482. package/lib/components/Badge/Badge.stories.d.ts +0 -123
  483. package/lib/components/Badge/Badge.stories.d.ts.map +0 -1
  484. package/lib/components/Badge/Badge.stories.js +0 -155
  485. package/lib/components/Badge/index.d.ts +0 -2
  486. package/lib/components/Badge/index.d.ts.map +0 -1
  487. package/lib/components/BadgedIcon/BadgedIcon.d.ts +0 -18
  488. package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +0 -1
  489. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +0 -111
  490. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +0 -1
  491. package/lib/components/BadgedIcon/BadgedIcon.stories.js +0 -95
  492. package/lib/components/BadgedIcon/index.d.ts +0 -2
  493. package/lib/components/BadgedIcon/index.d.ts.map +0 -1
  494. package/lib/components/Banner/Banner.d.ts +0 -7
  495. package/lib/components/Banner/Banner.d.ts.map +0 -1
  496. package/lib/components/Banner/Banner.stories.d.ts +0 -187
  497. package/lib/components/Banner/Banner.stories.d.ts.map +0 -1
  498. package/lib/components/Banner/Banner.stories.js +0 -210
  499. package/lib/components/Banner/index.d.ts +0 -2
  500. package/lib/components/Banner/index.d.ts.map +0 -1
  501. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +0 -10
  502. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +0 -1
  503. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +0 -98
  504. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +0 -1
  505. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.js +0 -122
  506. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +0 -2
  507. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +0 -1
  508. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -14
  509. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
  510. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -57
  511. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
  512. package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +0 -180
  513. package/lib/components/Breadcrumbs/index.d.ts +0 -3
  514. package/lib/components/Breadcrumbs/index.d.ts.map +0 -1
  515. package/lib/components/Button/Button.d.ts +0 -64
  516. package/lib/components/Button/Button.d.ts.map +0 -1
  517. package/lib/components/Button/Button.stories.d.ts +0 -245
  518. package/lib/components/Button/Button.stories.d.ts.map +0 -1
  519. package/lib/components/Button/Button.stories.js +0 -257
  520. package/lib/components/Button/index.d.ts +0 -3
  521. package/lib/components/Button/index.d.ts.map +0 -1
  522. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +0 -40
  523. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +0 -1
  524. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +0 -558
  525. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +0 -1
  526. package/lib/components/ButtonDropdown/ButtonDropdown.stories.js +0 -669
  527. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +0 -42
  528. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +0 -1
  529. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +0 -628
  530. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +0 -1
  531. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.js +0 -651
  532. package/lib/components/ButtonDropdown/index.d.ts +0 -3
  533. package/lib/components/ButtonDropdown/index.d.ts.map +0 -1
  534. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +0 -25
  535. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +0 -1
  536. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +0 -142
  537. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +0 -1
  538. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.js +0 -152
  539. package/lib/components/ButtonTabs/ButtonTab/index.d.ts +0 -2
  540. package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +0 -1
  541. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +0 -12
  542. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +0 -1
  543. package/lib/components/ButtonTabs/ButtonTabs.d.ts +0 -24
  544. package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +0 -1
  545. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +0 -201
  546. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +0 -1
  547. package/lib/components/ButtonTabs/ButtonTabs.stories.js +0 -471
  548. package/lib/components/ButtonTabs/index.d.ts +0 -3
  549. package/lib/components/ButtonTabs/index.d.ts.map +0 -1
  550. package/lib/components/Card/Card.d.ts +0 -37
  551. package/lib/components/Card/Card.d.ts.map +0 -1
  552. package/lib/components/Card/Card.stories.d.ts +0 -150
  553. package/lib/components/Card/Card.stories.d.ts.map +0 -1
  554. package/lib/components/Card/Card.stories.js +0 -236
  555. package/lib/components/Card/index.d.ts +0 -2
  556. package/lib/components/Card/index.d.ts.map +0 -1
  557. package/lib/components/Charts/ChartTooltip/index.d.ts +0 -3
  558. package/lib/components/Charts/ChartTooltip/index.d.ts.map +0 -1
  559. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +0 -50
  560. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +0 -1
  561. package/lib/components/Charts/ChartWrapper/index.d.ts +0 -2
  562. package/lib/components/Charts/ChartWrapper/index.d.ts.map +0 -1
  563. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +0 -23
  564. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +0 -1
  565. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +0 -446
  566. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +0 -1
  567. package/lib/components/Charts/ColumnChart/ColumnChart.stories.js +0 -654
  568. package/lib/components/Charts/ColumnChart/index.d.ts +0 -2
  569. package/lib/components/Charts/ColumnChart/index.d.ts.map +0 -1
  570. package/lib/components/Charts/DonutChart/DonutChart.d.ts +0 -28
  571. package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +0 -1
  572. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -226
  573. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +0 -1
  574. package/lib/components/Charts/DonutChart/DonutChart.stories.js +0 -387
  575. package/lib/components/Charts/DonutChart/index.d.ts +0 -2
  576. package/lib/components/Charts/DonutChart/index.d.ts.map +0 -1
  577. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +0 -25
  578. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +0 -1
  579. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +0 -307
  580. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +0 -1
  581. package/lib/components/Charts/FunnelChart/FunnelChart.stories.js +0 -529
  582. package/lib/components/Charts/FunnelChart/index.d.ts +0 -2
  583. package/lib/components/Charts/FunnelChart/index.d.ts.map +0 -1
  584. package/lib/components/Charts/LineChart/LineChart.d.ts +0 -23
  585. package/lib/components/Charts/LineChart/LineChart.d.ts.map +0 -1
  586. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -310
  587. package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +0 -1
  588. package/lib/components/Charts/LineChart/LineChart.stories.js +0 -587
  589. package/lib/components/Charts/LineChart/index.d.ts +0 -2
  590. package/lib/components/Charts/LineChart/index.d.ts.map +0 -1
  591. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +0 -22
  592. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +0 -1
  593. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +0 -149
  594. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +0 -1
  595. package/lib/components/Charts/SpiderChart/SpiderChart.stories.js +0 -422
  596. package/lib/components/Charts/SpiderChart/index.d.ts +0 -2
  597. package/lib/components/Charts/SpiderChart/index.d.ts.map +0 -1
  598. package/lib/components/Charts/index.d.ts +0 -8
  599. package/lib/components/Charts/index.d.ts.map +0 -1
  600. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +0 -101
  601. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +0 -1
  602. package/lib/components/ChatBubble/ChatAnchor.stories.js +0 -113
  603. package/lib/components/ChatBubble/ChatBubble.d.ts +0 -76
  604. package/lib/components/ChatBubble/ChatBubble.d.ts.map +0 -1
  605. package/lib/components/ChatBubble/ChatBubble.stories.d.ts +0 -102
  606. package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +0 -1
  607. package/lib/components/ChatBubble/ChatBubble.stories.js +0 -188
  608. package/lib/components/ChatBubble/index.d.ts +0 -2
  609. package/lib/components/ChatBubble/index.d.ts.map +0 -1
  610. package/lib/components/Checkbox/Checkbox.d.ts +0 -29
  611. package/lib/components/Checkbox/Checkbox.d.ts.map +0 -1
  612. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -168
  613. package/lib/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  614. package/lib/components/Checkbox/Checkbox.stories.js +0 -210
  615. package/lib/components/Checkbox/CheckboxGroup.d.ts +0 -26
  616. package/lib/components/Checkbox/CheckboxGroup.d.ts.map +0 -1
  617. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +0 -163
  618. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +0 -1
  619. package/lib/components/Checkbox/CheckboxGroup.stories.js +0 -399
  620. package/lib/components/Checkbox/index.d.ts +0 -3
  621. package/lib/components/Checkbox/index.d.ts.map +0 -1
  622. package/lib/components/Chip/Chip.d.ts +0 -47
  623. package/lib/components/Chip/Chip.d.ts.map +0 -1
  624. package/lib/components/Chip/Chip.stories.d.ts +0 -238
  625. package/lib/components/Chip/Chip.stories.d.ts.map +0 -1
  626. package/lib/components/Chip/Chip.stories.js +0 -362
  627. package/lib/components/Chip/index.d.ts +0 -3
  628. package/lib/components/Chip/index.d.ts.map +0 -1
  629. package/lib/components/CircularLoader/CircularLoader.d.ts +0 -10
  630. package/lib/components/CircularLoader/CircularLoader.d.ts.map +0 -1
  631. package/lib/components/CircularLoader/CircularLoader.stories.d.ts +0 -64
  632. package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +0 -1
  633. package/lib/components/CircularLoader/CircularLoader.stories.js +0 -82
  634. package/lib/components/CircularLoader/index.d.ts +0 -2
  635. package/lib/components/CircularLoader/index.d.ts.map +0 -1
  636. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +0 -40
  637. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +0 -1
  638. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +0 -225
  639. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +0 -1
  640. package/lib/components/CollapsibleCard/CollapsibleCard.stories.js +0 -298
  641. package/lib/components/CollapsibleCard/index.d.ts +0 -2
  642. package/lib/components/CollapsibleCard/index.d.ts.map +0 -1
  643. package/lib/components/Combobox/Combobox.d.ts +0 -78
  644. package/lib/components/Combobox/Combobox.d.ts.map +0 -1
  645. package/lib/components/Combobox/Combobox.stories.d.ts +0 -197
  646. package/lib/components/Combobox/Combobox.stories.d.ts.map +0 -1
  647. package/lib/components/Combobox/Combobox.stories.js +0 -343
  648. package/lib/components/Combobox/helper.d.ts +0 -12
  649. package/lib/components/Combobox/helper.d.ts.map +0 -1
  650. package/lib/components/Combobox/index.d.ts +0 -2
  651. package/lib/components/Combobox/index.d.ts.map +0 -1
  652. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -8
  653. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +0 -1
  654. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +0 -16
  655. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +0 -1
  656. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.js +0 -50
  657. package/lib/components/ConditionalWrapper/index.d.ts +0 -2
  658. package/lib/components/ConditionalWrapper/index.d.ts.map +0 -1
  659. package/lib/components/DateRangePicker/Calendar.d.ts +0 -22
  660. package/lib/components/DateRangePicker/Calendar.d.ts.map +0 -1
  661. package/lib/components/DateRangePicker/DateRangePicker.d.ts +0 -22
  662. package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
  663. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +0 -184
  664. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +0 -1
  665. package/lib/components/DateRangePicker/DateRangePicker.stories.js +0 -406
  666. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +0 -33
  667. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +0 -1
  668. package/lib/components/DateRangePicker/Day.d.ts +0 -17
  669. package/lib/components/DateRangePicker/Day.d.ts.map +0 -1
  670. package/lib/components/DateRangePicker/index.d.ts +0 -2
  671. package/lib/components/DateRangePicker/index.d.ts.map +0 -1
  672. package/lib/components/Dialog/Dialog.d.ts +0 -46
  673. package/lib/components/Dialog/Dialog.d.ts.map +0 -1
  674. package/lib/components/Dialog/Dialog.stories.d.ts +0 -171
  675. package/lib/components/Dialog/Dialog.stories.d.ts.map +0 -1
  676. package/lib/components/Dialog/Dialog.stories.js +0 -260
  677. package/lib/components/Dialog/index.d.ts +0 -2
  678. package/lib/components/Dialog/index.d.ts.map +0 -1
  679. package/lib/components/Disclaimer/Disclaimer.d.ts +0 -5
  680. package/lib/components/Disclaimer/Disclaimer.d.ts.map +0 -1
  681. package/lib/components/Disclaimer/Disclaimer.stories.d.ts +0 -156
  682. package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +0 -1
  683. package/lib/components/Disclaimer/Disclaimer.stories.js +0 -174
  684. package/lib/components/Disclaimer/index.d.ts +0 -2
  685. package/lib/components/Disclaimer/index.d.ts.map +0 -1
  686. package/lib/components/Dropdown/Dropdown.d.ts +0 -25
  687. package/lib/components/Dropdown/Dropdown.d.ts.map +0 -1
  688. package/lib/components/Dropdown/Dropdown.stories.d.ts +0 -417
  689. package/lib/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  690. package/lib/components/Dropdown/Dropdown.stories.js +0 -729
  691. package/lib/components/Dropdown/SimpleDropdown.d.ts +0 -44
  692. package/lib/components/Dropdown/SimpleDropdown.d.ts.map +0 -1
  693. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +0 -424
  694. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +0 -1
  695. package/lib/components/Dropdown/SimpleDropdown.stories.js +0 -569
  696. package/lib/components/Dropdown/index.d.ts +0 -3
  697. package/lib/components/Dropdown/index.d.ts.map +0 -1
  698. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts +0 -3
  699. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +0 -1
  700. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts +0 -3
  701. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +0 -1
  702. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts +0 -3
  703. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +0 -1
  704. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts +0 -3
  705. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +0 -1
  706. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts +0 -3
  707. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +0 -1
  708. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts +0 -3
  709. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +0 -1
  710. package/lib/components/EmptyState/EmptyImages/index.d.ts +0 -7
  711. package/lib/components/EmptyState/EmptyImages/index.d.ts.map +0 -1
  712. package/lib/components/EmptyState/EmptyState.d.ts +0 -20
  713. package/lib/components/EmptyState/EmptyState.d.ts.map +0 -1
  714. package/lib/components/EmptyState/EmptyState.stories.d.ts +0 -91
  715. package/lib/components/EmptyState/EmptyState.stories.d.ts.map +0 -1
  716. package/lib/components/EmptyState/EmptyState.stories.js +0 -115
  717. package/lib/components/EmptyState/index.d.ts +0 -2
  718. package/lib/components/EmptyState/index.d.ts.map +0 -1
  719. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts +0 -3
  720. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +0 -1
  721. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts +0 -3
  722. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +0 -1
  723. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts +0 -3
  724. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +0 -1
  725. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts +0 -3
  726. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +0 -1
  727. package/lib/components/ErrorMessage/ErrorImages/index.d.ts +0 -5
  728. package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +0 -1
  729. package/lib/components/ErrorMessage/ErrorMessage.d.ts +0 -22
  730. package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +0 -1
  731. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +0 -97
  732. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +0 -1
  733. package/lib/components/ErrorMessage/ErrorMessage.stories.js +0 -125
  734. package/lib/components/ErrorMessage/index.d.ts +0 -2
  735. package/lib/components/ErrorMessage/index.d.ts.map +0 -1
  736. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +0 -14
  737. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +0 -1
  738. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +0 -68
  739. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +0 -1
  740. package/lib/components/FileUpload/FileBlock/FileBlock.stories.js +0 -91
  741. package/lib/components/FileUpload/FileBlock/index.d.ts +0 -2
  742. package/lib/components/FileUpload/FileBlock/index.d.ts.map +0 -1
  743. package/lib/components/FileUpload/FileUpload.d.ts +0 -62
  744. package/lib/components/FileUpload/FileUpload.d.ts.map +0 -1
  745. package/lib/components/FileUpload/FileUpload.stories.d.ts +0 -340
  746. package/lib/components/FileUpload/FileUpload.stories.d.ts.map +0 -1
  747. package/lib/components/FileUpload/FileUpload.stories.js +0 -952
  748. package/lib/components/FileUpload/index.d.ts +0 -3
  749. package/lib/components/FileUpload/index.d.ts.map +0 -1
  750. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +0 -30
  751. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +0 -1
  752. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +0 -300
  753. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +0 -1
  754. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.js +0 -390
  755. package/lib/components/FilterButtonOverlay/index.d.ts +0 -2
  756. package/lib/components/FilterButtonOverlay/index.d.ts.map +0 -1
  757. package/lib/components/FocusManager/FocusManager.d.ts +0 -17
  758. package/lib/components/FocusManager/FocusManager.d.ts.map +0 -1
  759. package/lib/components/FocusManager/FocusManager.stories.d.ts +0 -103
  760. package/lib/components/FocusManager/FocusManager.stories.d.ts.map +0 -1
  761. package/lib/components/FocusManager/FocusManager.stories.js +0 -133
  762. package/lib/components/FocusManager/index.d.ts +0 -2
  763. package/lib/components/FocusManager/index.d.ts.map +0 -1
  764. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +0 -20
  765. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +0 -1
  766. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +0 -175
  767. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +0 -1
  768. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.js +0 -427
  769. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +0 -2
  770. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +0 -1
  771. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +0 -21
  772. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +0 -1
  773. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +0 -128
  774. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +0 -1
  775. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.js +0 -189
  776. package/lib/components/FormTitleWrapper/index.d.ts +0 -2
  777. package/lib/components/FormTitleWrapper/index.d.ts.map +0 -1
  778. package/lib/components/Grid/Col.stories.d.ts +0 -66
  779. package/lib/components/Grid/Col.stories.d.ts.map +0 -1
  780. package/lib/components/Grid/Col.stories.js +0 -141
  781. package/lib/components/Grid/Grid.d.ts +0 -20
  782. package/lib/components/Grid/Grid.d.ts.map +0 -1
  783. package/lib/components/Grid/GridPatterns.stories.d.ts +0 -18
  784. package/lib/components/Grid/GridPatterns.stories.d.ts.map +0 -1
  785. package/lib/components/Grid/GridPatterns.stories.js +0 -392
  786. package/lib/components/Grid/Row.stories.d.ts +0 -41
  787. package/lib/components/Grid/Row.stories.d.ts.map +0 -1
  788. package/lib/components/Grid/Row.stories.js +0 -172
  789. package/lib/components/Grid/Tablist.layout.stories.d.ts +0 -20
  790. package/lib/components/Grid/Tablist.layout.stories.d.ts.map +0 -1
  791. package/lib/components/Grid/Tablist.layout.stories.js +0 -330
  792. package/lib/components/Grid/index.d.ts +0 -2
  793. package/lib/components/Grid/index.d.ts.map +0 -1
  794. package/lib/components/Icon/ClickableIcon.d.ts +0 -26
  795. package/lib/components/Icon/ClickableIcon.d.ts.map +0 -1
  796. package/lib/components/Icon/Icon.d.ts +0 -31
  797. package/lib/components/Icon/Icon.d.ts.map +0 -1
  798. package/lib/components/Icon/Icon.docs.d.ts +0 -134
  799. package/lib/components/Icon/Icon.docs.d.ts.map +0 -1
  800. package/lib/components/Icon/Icon.stories.d.ts +0 -193
  801. package/lib/components/Icon/Icon.stories.d.ts.map +0 -1
  802. package/lib/components/Icon/Icon.stories.js +0 -73
  803. package/lib/components/Icon/SemanticIcon.d.ts +0 -14
  804. package/lib/components/Icon/SemanticIcon.d.ts.map +0 -1
  805. package/lib/components/Icon/SemanticIcon.stories.d.ts +0 -190
  806. package/lib/components/Icon/SemanticIcon.stories.d.ts.map +0 -1
  807. package/lib/components/Icon/SemanticIcon.stories.js +0 -75
  808. package/lib/components/Icon/index.d.ts +0 -4
  809. package/lib/components/Icon/index.d.ts.map +0 -1
  810. package/lib/components/InContextAlert/InContextAlert.d.ts +0 -31
  811. package/lib/components/InContextAlert/InContextAlert.d.ts.map +0 -1
  812. package/lib/components/InContextAlert/InContextAlert.stories.d.ts +0 -164
  813. package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +0 -1
  814. package/lib/components/InContextAlert/InContextAlert.stories.js +0 -184
  815. package/lib/components/InContextAlert/index.d.ts +0 -2
  816. package/lib/components/InContextAlert/index.d.ts.map +0 -1
  817. package/lib/components/InfinitePagination/InfinitePagination.d.ts +0 -26
  818. package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +0 -1
  819. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +0 -145
  820. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +0 -1
  821. package/lib/components/InfinitePagination/InfinitePagination.stories.js +0 -343
  822. package/lib/components/InfinitePagination/index.d.ts +0 -2
  823. package/lib/components/InfinitePagination/index.d.ts.map +0 -1
  824. package/lib/components/InlineDropdown/InlineDropdown.d.ts +0 -25
  825. package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +0 -1
  826. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +0 -350
  827. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +0 -1
  828. package/lib/components/InlineDropdown/InlineDropdown.stories.js +0 -397
  829. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +0 -40
  830. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +0 -1
  831. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +0 -469
  832. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +0 -1
  833. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.js +0 -521
  834. package/lib/components/InlineDropdown/index.d.ts +0 -3
  835. package/lib/components/InlineDropdown/index.d.ts.map +0 -1
  836. package/lib/components/Input/Input.d.ts +0 -76
  837. package/lib/components/Input/Input.d.ts.map +0 -1
  838. package/lib/components/Input/Input.stories.d.ts +0 -502
  839. package/lib/components/Input/Input.stories.d.ts.map +0 -1
  840. package/lib/components/Input/Input.stories.js +0 -608
  841. package/lib/components/Input/NativeColorpicker.stories.d.ts +0 -370
  842. package/lib/components/Input/NativeColorpicker.stories.d.ts.map +0 -1
  843. package/lib/components/Input/NativeColorpicker.stories.js +0 -395
  844. package/lib/components/Input/NativeDatepicker.stories.d.ts +0 -388
  845. package/lib/components/Input/NativeDatepicker.stories.d.ts.map +0 -1
  846. package/lib/components/Input/NativeDatepicker.stories.js +0 -457
  847. package/lib/components/Input/index.d.ts +0 -2
  848. package/lib/components/Input/index.d.ts.map +0 -1
  849. package/lib/components/KPIBox/KPIBox.d.ts +0 -23
  850. package/lib/components/KPIBox/KPIBox.d.ts.map +0 -1
  851. package/lib/components/KPIBox/KPIBox.stories.d.ts +0 -132
  852. package/lib/components/KPIBox/KPIBox.stories.d.ts.map +0 -1
  853. package/lib/components/KPIBox/KPIBox.stories.js +0 -246
  854. package/lib/components/KPIBox/index.d.ts +0 -2
  855. package/lib/components/KPIBox/index.d.ts.map +0 -1
  856. package/lib/components/LinearLoader/LinearLoader.d.ts +0 -9
  857. package/lib/components/LinearLoader/LinearLoader.d.ts.map +0 -1
  858. package/lib/components/LinearLoader/LinearLoader.stories.d.ts +0 -78
  859. package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +0 -1
  860. package/lib/components/LinearLoader/LinearLoader.stories.js +0 -135
  861. package/lib/components/LinearLoader/index.d.ts +0 -2
  862. package/lib/components/LinearLoader/index.d.ts.map +0 -1
  863. package/lib/components/Link/Link.d.ts +0 -93
  864. package/lib/components/Link/Link.d.ts.map +0 -1
  865. package/lib/components/Link/Link.stories.d.ts +0 -284
  866. package/lib/components/Link/Link.stories.d.ts.map +0 -1
  867. package/lib/components/Link/Link.stories.js +0 -350
  868. package/lib/components/Link/index.d.ts +0 -2
  869. package/lib/components/Link/index.d.ts.map +0 -1
  870. package/lib/components/Menu/Menu.d.ts +0 -74
  871. package/lib/components/Menu/Menu.d.ts.map +0 -1
  872. package/lib/components/Menu/Menu.stories.d.ts +0 -526
  873. package/lib/components/Menu/Menu.stories.d.ts.map +0 -1
  874. package/lib/components/Menu/Menu.stories.js +0 -1048
  875. package/lib/components/Menu/MenuOptionButton.d.ts +0 -9
  876. package/lib/components/Menu/MenuOptionButton.d.ts.map +0 -1
  877. package/lib/components/Menu/index.d.ts +0 -3
  878. package/lib/components/Menu/index.d.ts.map +0 -1
  879. package/lib/components/Modal/Modal.d.ts +0 -64
  880. package/lib/components/Modal/Modal.d.ts.map +0 -1
  881. package/lib/components/Modal/Modal.stories.d.ts +0 -149
  882. package/lib/components/Modal/Modal.stories.d.ts.map +0 -1
  883. package/lib/components/Modal/Modal.stories.js +0 -427
  884. package/lib/components/Modal/index.d.ts +0 -3
  885. package/lib/components/Modal/index.d.ts.map +0 -1
  886. package/lib/components/Notification/Notification.d.ts +0 -37
  887. package/lib/components/Notification/Notification.d.ts.map +0 -1
  888. package/lib/components/Notification/Notification.stories.d.ts +0 -136
  889. package/lib/components/Notification/Notification.stories.d.ts.map +0 -1
  890. package/lib/components/Notification/Notification.stories.js +0 -153
  891. package/lib/components/Notification/index.d.ts +0 -2
  892. package/lib/components/Notification/index.d.ts.map +0 -1
  893. package/lib/components/OptionButton/OptionButton.d.ts +0 -33
  894. package/lib/components/OptionButton/OptionButton.d.ts.map +0 -1
  895. package/lib/components/OptionButton/OptionButton.stories.d.ts +0 -366
  896. package/lib/components/OptionButton/OptionButton.stories.d.ts.map +0 -1
  897. package/lib/components/OptionButton/OptionButton.stories.js +0 -437
  898. package/lib/components/OptionButton/SimpleOptionButton.d.ts +0 -47
  899. package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +0 -1
  900. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +0 -502
  901. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +0 -1
  902. package/lib/components/OptionButton/SimpleOptionButton.stories.js +0 -552
  903. package/lib/components/OptionButton/index.d.ts +0 -3
  904. package/lib/components/OptionButton/index.d.ts.map +0 -1
  905. package/lib/components/PageTitle/PageTitle.d.ts +0 -156
  906. package/lib/components/PageTitle/PageTitle.d.ts.map +0 -1
  907. package/lib/components/PageTitle/PageTitle.stories.d.ts +0 -83
  908. package/lib/components/PageTitle/PageTitle.stories.d.ts.map +0 -1
  909. package/lib/components/PageTitle/PageTitle.stories.js +0 -221
  910. package/lib/components/PageTitle/index.d.ts +0 -2
  911. package/lib/components/PageTitle/index.d.ts.map +0 -1
  912. package/lib/components/Pagination/Pagination.d.ts +0 -39
  913. package/lib/components/Pagination/Pagination.d.ts.map +0 -1
  914. package/lib/components/Pagination/Pagination.stories.d.ts +0 -203
  915. package/lib/components/Pagination/Pagination.stories.d.ts.map +0 -1
  916. package/lib/components/Pagination/Pagination.stories.js +0 -263
  917. package/lib/components/Pagination/PaginationItem.d.ts +0 -5
  918. package/lib/components/Pagination/PaginationItem.d.ts.map +0 -1
  919. package/lib/components/Pagination/index.d.ts +0 -2
  920. package/lib/components/Pagination/index.d.ts.map +0 -1
  921. package/lib/components/Panel/Panel.d.ts +0 -35
  922. package/lib/components/Panel/Panel.d.ts.map +0 -1
  923. package/lib/components/Panel/Panel.stories.d.ts +0 -187
  924. package/lib/components/Panel/Panel.stories.d.ts.map +0 -1
  925. package/lib/components/Panel/Panel.stories.js +0 -415
  926. package/lib/components/Panel/index.d.ts +0 -3
  927. package/lib/components/Panel/index.d.ts.map +0 -1
  928. package/lib/components/ProgressDonut/ProgressDonut.d.ts +0 -13
  929. package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +0 -1
  930. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +0 -72
  931. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +0 -1
  932. package/lib/components/ProgressDonut/ProgressDonut.stories.js +0 -96
  933. package/lib/components/ProgressDonut/index.d.ts +0 -2
  934. package/lib/components/ProgressDonut/index.d.ts.map +0 -1
  935. package/lib/components/PromptChip/PromptChip.d.ts +0 -38
  936. package/lib/components/PromptChip/PromptChip.d.ts.map +0 -1
  937. package/lib/components/PromptChip/PromptChip.stories.d.ts +0 -205
  938. package/lib/components/PromptChip/PromptChip.stories.d.ts.map +0 -1
  939. package/lib/components/PromptChip/PromptChip.stories.js +0 -242
  940. package/lib/components/PromptChip/index.d.ts +0 -2
  941. package/lib/components/PromptChip/index.d.ts.map +0 -1
  942. package/lib/components/PromptInput/PromptInput.d.ts +0 -38
  943. package/lib/components/PromptInput/PromptInput.d.ts.map +0 -1
  944. package/lib/components/PromptInput/PromptInput.stories.d.ts +0 -265
  945. package/lib/components/PromptInput/PromptInput.stories.d.ts.map +0 -1
  946. package/lib/components/PromptInput/PromptInput.stories.js +0 -390
  947. package/lib/components/PromptInput/index.d.ts +0 -2
  948. package/lib/components/PromptInput/index.d.ts.map +0 -1
  949. package/lib/components/RadioButton/RadioButton.d.ts +0 -31
  950. package/lib/components/RadioButton/RadioButton.d.ts.map +0 -1
  951. package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -149
  952. package/lib/components/RadioButton/RadioButton.stories.d.ts.map +0 -1
  953. package/lib/components/RadioButton/RadioButton.stories.js +0 -180
  954. package/lib/components/RadioButton/RadioGroup.d.ts +0 -27
  955. package/lib/components/RadioButton/RadioGroup.d.ts.map +0 -1
  956. package/lib/components/RadioButton/RadioGroup.stories.d.ts +0 -137
  957. package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +0 -1
  958. package/lib/components/RadioButton/RadioGroup.stories.js +0 -317
  959. package/lib/components/RadioButton/index.d.ts +0 -3
  960. package/lib/components/RadioButton/index.d.ts.map +0 -1
  961. package/lib/components/RadioTile/RadioTile.d.ts +0 -23
  962. package/lib/components/RadioTile/RadioTile.d.ts.map +0 -1
  963. package/lib/components/RadioTile/RadioTile.stories.d.ts +0 -171
  964. package/lib/components/RadioTile/RadioTile.stories.d.ts.map +0 -1
  965. package/lib/components/RadioTile/RadioTile.stories.js +0 -261
  966. package/lib/components/RadioTile/index.d.ts +0 -2
  967. package/lib/components/RadioTile/index.d.ts.map +0 -1
  968. package/lib/components/RangeSlider/RangeSlider.d.ts +0 -27
  969. package/lib/components/RangeSlider/RangeSlider.d.ts.map +0 -1
  970. package/lib/components/RangeSlider/RangeSlider.stories.d.ts +0 -287
  971. package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +0 -1
  972. package/lib/components/RangeSlider/RangeSlider.stories.js +0 -379
  973. package/lib/components/RangeSlider/index.d.ts +0 -2
  974. package/lib/components/RangeSlider/index.d.ts.map +0 -1
  975. package/lib/components/Rating/Rating.d.ts +0 -32
  976. package/lib/components/Rating/Rating.d.ts.map +0 -1
  977. package/lib/components/Rating/Rating.stories.d.ts +0 -237
  978. package/lib/components/Rating/Rating.stories.d.ts.map +0 -1
  979. package/lib/components/Rating/Rating.stories.js +0 -309
  980. package/lib/components/Rating/index.d.ts +0 -2
  981. package/lib/components/Rating/index.d.ts.map +0 -1
  982. package/lib/components/ScoreBar/ScoreBar.d.ts +0 -28
  983. package/lib/components/ScoreBar/ScoreBar.d.ts.map +0 -1
  984. package/lib/components/ScoreBar/ScoreBar.stories.d.ts +0 -156
  985. package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +0 -1
  986. package/lib/components/ScoreBar/ScoreBar.stories.js +0 -199
  987. package/lib/components/ScoreBar/index.d.ts +0 -2
  988. package/lib/components/ScoreBar/index.d.ts.map +0 -1
  989. package/lib/components/SearchInput/SearchInput.d.ts +0 -15
  990. package/lib/components/SearchInput/SearchInput.d.ts.map +0 -1
  991. package/lib/components/SearchInput/SearchInput.stories.d.ts +0 -260
  992. package/lib/components/SearchInput/SearchInput.stories.d.ts.map +0 -1
  993. package/lib/components/SearchInput/SearchInput.stories.js +0 -299
  994. package/lib/components/SearchInput/index.d.ts +0 -3
  995. package/lib/components/SearchInput/index.d.ts.map +0 -1
  996. package/lib/components/Separator/Separator.d.ts +0 -18
  997. package/lib/components/Separator/Separator.d.ts.map +0 -1
  998. package/lib/components/Separator/Separator.stories.d.ts +0 -79
  999. package/lib/components/Separator/Separator.stories.d.ts.map +0 -1
  1000. package/lib/components/Separator/Separator.stories.js +0 -101
  1001. package/lib/components/Separator/index.d.ts +0 -2
  1002. package/lib/components/Separator/index.d.ts.map +0 -1
  1003. package/lib/components/Shimmer/Shimmer.d.ts +0 -57
  1004. package/lib/components/Shimmer/Shimmer.d.ts.map +0 -1
  1005. package/lib/components/Shimmer/Shimmer.stories.d.ts +0 -213
  1006. package/lib/components/Shimmer/Shimmer.stories.d.ts.map +0 -1
  1007. package/lib/components/Shimmer/Shimmer.stories.js +0 -323
  1008. package/lib/components/Shimmer/index.d.ts +0 -2
  1009. package/lib/components/Shimmer/index.d.ts.map +0 -1
  1010. package/lib/components/SideMenuLink/SideMenuLink.d.ts +0 -211
  1011. package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +0 -1
  1012. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +0 -96
  1013. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +0 -1
  1014. package/lib/components/SideMenuLink/SideMenuLink.stories.js +0 -162
  1015. package/lib/components/SideMenuLink/index.d.ts +0 -2
  1016. package/lib/components/SideMenuLink/index.d.ts.map +0 -1
  1017. package/lib/components/StatusIndicator/StatusIndicator.d.ts +0 -25
  1018. package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +0 -1
  1019. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +0 -92
  1020. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +0 -1
  1021. package/lib/components/StatusIndicator/StatusIndicator.stories.js +0 -145
  1022. package/lib/components/StatusIndicator/index.d.ts +0 -2
  1023. package/lib/components/StatusIndicator/index.d.ts.map +0 -1
  1024. package/lib/components/Stepper/Step/Step.d.ts +0 -25
  1025. package/lib/components/Stepper/Step/Step.d.ts.map +0 -1
  1026. package/lib/components/Stepper/Step/Step.stories.d.ts +0 -120
  1027. package/lib/components/Stepper/Step/Step.stories.d.ts.map +0 -1
  1028. package/lib/components/Stepper/Step/Step.stories.js +0 -147
  1029. package/lib/components/Stepper/Step/StepContent.d.ts +0 -14
  1030. package/lib/components/Stepper/Step/StepContent.d.ts.map +0 -1
  1031. package/lib/components/Stepper/Step/StepLabel.d.ts +0 -14
  1032. package/lib/components/Stepper/Step/StepLabel.d.ts.map +0 -1
  1033. package/lib/components/Stepper/Step/index.d.ts +0 -4
  1034. package/lib/components/Stepper/Step/index.d.ts.map +0 -1
  1035. package/lib/components/Stepper/Stepper.d.ts +0 -15
  1036. package/lib/components/Stepper/Stepper.d.ts.map +0 -1
  1037. package/lib/components/Stepper/Stepper.stories.d.ts +0 -210
  1038. package/lib/components/Stepper/Stepper.stories.d.ts.map +0 -1
  1039. package/lib/components/Stepper/Stepper.stories.js +0 -402
  1040. package/lib/components/Stepper/index.d.ts +0 -3
  1041. package/lib/components/Stepper/index.d.ts.map +0 -1
  1042. package/lib/components/StickyBar/StickyBar.d.ts +0 -15
  1043. package/lib/components/StickyBar/StickyBar.d.ts.map +0 -1
  1044. package/lib/components/StickyBar/StickyBar.stories.d.ts +0 -35
  1045. package/lib/components/StickyBar/StickyBar.stories.d.ts.map +0 -1
  1046. package/lib/components/StickyBar/StickyBar.stories.js +0 -141
  1047. package/lib/components/StickyBar/index.d.ts +0 -2
  1048. package/lib/components/StickyBar/index.d.ts.map +0 -1
  1049. package/lib/components/SubMenu/SubMenu.d.ts +0 -19
  1050. package/lib/components/SubMenu/SubMenu.d.ts.map +0 -1
  1051. package/lib/components/SubMenu/SubMenu.stories.d.ts +0 -114
  1052. package/lib/components/SubMenu/SubMenu.stories.d.ts.map +0 -1
  1053. package/lib/components/SubMenu/SubMenu.stories.js +0 -373
  1054. package/lib/components/SubMenu/SubMenuGroup.d.ts +0 -24
  1055. package/lib/components/SubMenu/SubMenuGroup.d.ts.map +0 -1
  1056. package/lib/components/SubMenu/SubMenuItem.d.ts +0 -42
  1057. package/lib/components/SubMenu/SubMenuItem.d.ts.map +0 -1
  1058. package/lib/components/SubMenu/SubMenuLink.d.ts +0 -14
  1059. package/lib/components/SubMenu/SubMenuLink.d.ts.map +0 -1
  1060. package/lib/components/SubMenu/index.d.ts +0 -5
  1061. package/lib/components/SubMenu/index.d.ts.map +0 -1
  1062. package/lib/components/Table/BasicTable.stories.d.ts +0 -536
  1063. package/lib/components/Table/BasicTable.stories.d.ts.map +0 -1
  1064. package/lib/components/Table/BasicTable.stories.js +0 -552
  1065. package/lib/components/Table/BulkActions.stories.d.ts +0 -257
  1066. package/lib/components/Table/BulkActions.stories.d.ts.map +0 -1
  1067. package/lib/components/Table/BulkActions.stories.js +0 -252
  1068. package/lib/components/Table/Cell.d.ts +0 -37
  1069. package/lib/components/Table/Cell.d.ts.map +0 -1
  1070. package/lib/components/Table/DefaultRow.d.ts +0 -39
  1071. package/lib/components/Table/DefaultRow.d.ts.map +0 -1
  1072. package/lib/components/Table/DefaultTableHeader.d.ts +0 -43
  1073. package/lib/components/Table/DefaultTableHeader.d.ts.map +0 -1
  1074. package/lib/components/Table/InlineEdit.stories.d.ts +0 -244
  1075. package/lib/components/Table/InlineEdit.stories.d.ts.map +0 -1
  1076. package/lib/components/Table/InlineEdit.stories.js +0 -355
  1077. package/lib/components/Table/StaticTable.d.ts +0 -18
  1078. package/lib/components/Table/StaticTable.d.ts.map +0 -1
  1079. package/lib/components/Table/Table.d.ts +0 -56
  1080. package/lib/components/Table/Table.d.ts.map +0 -1
  1081. package/lib/components/Table/Table.docs.d.ts +0 -229
  1082. package/lib/components/Table/Table.docs.d.ts.map +0 -1
  1083. package/lib/components/Table/TableActionBar.d.ts +0 -11
  1084. package/lib/components/Table/TableActionBar.d.ts.map +0 -1
  1085. package/lib/components/Table/TableBottomBar.d.ts +0 -7
  1086. package/lib/components/Table/TableBottomBar.d.ts.map +0 -1
  1087. package/lib/components/Table/TableTopBar.d.ts +0 -7
  1088. package/lib/components/Table/TableTopBar.d.ts.map +0 -1
  1089. package/lib/components/Table/dummyTableData.d.ts +0 -1946
  1090. package/lib/components/Table/dummyTableData.d.ts.map +0 -1
  1091. package/lib/components/Table/hooks.d.ts +0 -15
  1092. package/lib/components/Table/hooks.d.ts.map +0 -1
  1093. package/lib/components/Table/index.d.ts +0 -9
  1094. package/lib/components/Table/index.d.ts.map +0 -1
  1095. package/lib/components/Tabs/Tab/Tab.d.ts +0 -35
  1096. package/lib/components/Tabs/Tab/Tab.d.ts.map +0 -1
  1097. package/lib/components/Tabs/Tab/Tab.stories.d.ts +0 -156
  1098. package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +0 -1
  1099. package/lib/components/Tabs/Tab/Tab.stories.js +0 -179
  1100. package/lib/components/Tabs/Tab/index.d.ts +0 -2
  1101. package/lib/components/Tabs/Tab/index.d.ts.map +0 -1
  1102. package/lib/components/Tabs/TabList/TabDropdown.d.ts +0 -24
  1103. package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +0 -1
  1104. package/lib/components/Tabs/TabList/TabList.d.ts +0 -24
  1105. package/lib/components/Tabs/TabList/TabList.d.ts.map +0 -1
  1106. package/lib/components/Tabs/TabList/TabList.stories.d.ts +0 -111
  1107. package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +0 -1
  1108. package/lib/components/Tabs/TabList/TabList.stories.js +0 -197
  1109. package/lib/components/Tabs/TabList/index.d.ts +0 -2
  1110. package/lib/components/Tabs/TabList/index.d.ts.map +0 -1
  1111. package/lib/components/Tabs/index.d.ts +0 -3
  1112. package/lib/components/Tabs/index.d.ts.map +0 -1
  1113. package/lib/components/Text/HighlightedText.stories.d.ts +0 -120
  1114. package/lib/components/Text/HighlightedText.stories.d.ts.map +0 -1
  1115. package/lib/components/Text/HighlightedText.stories.js +0 -131
  1116. package/lib/components/Text/Text.d.ts +0 -46
  1117. package/lib/components/Text/Text.d.ts.map +0 -1
  1118. package/lib/components/Text/Text.stories.d.ts +0 -271
  1119. package/lib/components/Text/Text.stories.d.ts.map +0 -1
  1120. package/lib/components/Text/Text.stories.js +0 -262
  1121. package/lib/components/Text/index.d.ts +0 -4
  1122. package/lib/components/Text/index.d.ts.map +0 -1
  1123. package/lib/components/TextTile/TextTile.d.ts +0 -14
  1124. package/lib/components/TextTile/TextTile.d.ts.map +0 -1
  1125. package/lib/components/TextTile/TextTile.stories.d.ts +0 -76
  1126. package/lib/components/TextTile/TextTile.stories.d.ts.map +0 -1
  1127. package/lib/components/TextTile/TextTile.stories.js +0 -100
  1128. package/lib/components/TextTile/index.d.ts +0 -2
  1129. package/lib/components/TextTile/index.d.ts.map +0 -1
  1130. package/lib/components/Textarea/Textarea.d.ts +0 -28
  1131. package/lib/components/Textarea/Textarea.d.ts.map +0 -1
  1132. package/lib/components/Textarea/Textarea.stories.d.ts +0 -264
  1133. package/lib/components/Textarea/Textarea.stories.d.ts.map +0 -1
  1134. package/lib/components/Textarea/Textarea.stories.js +0 -329
  1135. package/lib/components/Textarea/index.d.ts +0 -3
  1136. package/lib/components/Textarea/index.d.ts.map +0 -1
  1137. package/lib/components/Timeline/Timeline.d.ts +0 -18
  1138. package/lib/components/Timeline/Timeline.d.ts.map +0 -1
  1139. package/lib/components/Timeline/Timeline.stories.d.ts +0 -62
  1140. package/lib/components/Timeline/Timeline.stories.d.ts.map +0 -1
  1141. package/lib/components/Timeline/Timeline.stories.js +0 -267
  1142. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +0 -28
  1143. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +0 -1
  1144. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +0 -184
  1145. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +0 -1
  1146. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.js +0 -245
  1147. package/lib/components/Timeline/TimelineItem/index.d.ts +0 -2
  1148. package/lib/components/Timeline/TimelineItem/index.d.ts.map +0 -1
  1149. package/lib/components/Timeline/index.d.ts +0 -3
  1150. package/lib/components/Timeline/index.d.ts.map +0 -1
  1151. package/lib/components/Toast/Toast.d.ts +0 -46
  1152. package/lib/components/Toast/Toast.d.ts.map +0 -1
  1153. package/lib/components/Toast/Toast.stories.d.ts +0 -105
  1154. package/lib/components/Toast/Toast.stories.d.ts.map +0 -1
  1155. package/lib/components/Toast/Toast.stories.js +0 -237
  1156. package/lib/components/Toast/ToastContainer.d.ts +0 -3
  1157. package/lib/components/Toast/ToastContainer.d.ts.map +0 -1
  1158. package/lib/components/Toast/ToastManager.d.ts +0 -23
  1159. package/lib/components/Toast/ToastManager.d.ts.map +0 -1
  1160. package/lib/components/Toast/index.d.ts +0 -5
  1161. package/lib/components/Toast/index.d.ts.map +0 -1
  1162. package/lib/components/Toggle/Toggle.d.ts +0 -30
  1163. package/lib/components/Toggle/Toggle.d.ts.map +0 -1
  1164. package/lib/components/Toggle/Toggle.stories.d.ts +0 -142
  1165. package/lib/components/Toggle/Toggle.stories.d.ts.map +0 -1
  1166. package/lib/components/Toggle/Toggle.stories.js +0 -207
  1167. package/lib/components/Toggle/index.d.ts +0 -2
  1168. package/lib/components/Toggle/index.d.ts.map +0 -1
  1169. package/lib/components/TokenListInput/TokenListInput.d.ts +0 -57
  1170. package/lib/components/TokenListInput/TokenListInput.d.ts.map +0 -1
  1171. package/lib/components/TokenListInput/TokenListInput.stories.d.ts +0 -379
  1172. package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +0 -1
  1173. package/lib/components/TokenListInput/TokenListInput.stories.js +0 -877
  1174. package/lib/components/TokenListInput/TokenValueChips.d.ts +0 -20
  1175. package/lib/components/TokenListInput/TokenValueChips.d.ts.map +0 -1
  1176. package/lib/components/TokenListInput/index.d.ts +0 -2
  1177. package/lib/components/TokenListInput/index.d.ts.map +0 -1
  1178. package/lib/components/Tooltip/Tooltip.d.ts +0 -44
  1179. package/lib/components/Tooltip/Tooltip.d.ts.map +0 -1
  1180. package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -172
  1181. package/lib/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  1182. package/lib/components/Tooltip/Tooltip.stories.js +0 -321
  1183. package/lib/components/Tooltip/index.d.ts +0 -2
  1184. package/lib/components/Tooltip/index.d.ts.map +0 -1
  1185. package/lib/components/Truncate/Truncate.d.ts +0 -12
  1186. package/lib/components/Truncate/Truncate.d.ts.map +0 -1
  1187. package/lib/components/Truncate/Truncate.stories.d.ts +0 -94
  1188. package/lib/components/Truncate/Truncate.stories.d.ts.map +0 -1
  1189. package/lib/components/Truncate/Truncate.stories.js +0 -118
  1190. package/lib/components/Truncate/index.d.ts +0 -3
  1191. package/lib/components/Truncate/index.d.ts.map +0 -1
  1192. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +0 -16
  1193. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +0 -1
  1194. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +0 -110
  1195. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +0 -1
  1196. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.js +0 -161
  1197. package/lib/components/TruncatedTextWithTooltip/index.d.ts +0 -2
  1198. package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +0 -1
  1199. package/lib/components/Typeahead/SimpleTypeahead.d.ts +0 -41
  1200. package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +0 -1
  1201. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +0 -396
  1202. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +0 -1
  1203. package/lib/components/Typeahead/SimpleTypeahead.stories.js +0 -591
  1204. package/lib/components/Typeahead/Typeahead.d.ts +0 -30
  1205. package/lib/components/Typeahead/Typeahead.d.ts.map +0 -1
  1206. package/lib/components/Typeahead/Typeahead.stories.d.ts +0 -399
  1207. package/lib/components/Typeahead/Typeahead.stories.d.ts.map +0 -1
  1208. package/lib/components/Typeahead/Typeahead.stories.js +0 -648
  1209. package/lib/components/Typeahead/index.d.ts +0 -3
  1210. package/lib/components/Typeahead/index.d.ts.map +0 -1
  1211. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +0 -36
  1212. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +0 -1
  1213. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +0 -238
  1214. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +0 -1
  1215. package/lib/components/WeekdayPicker/WeekdayPicker.stories.js +0 -330
  1216. package/lib/components/WeekdayPicker/index.d.ts +0 -2
  1217. package/lib/components/WeekdayPicker/index.d.ts.map +0 -1
  1218. package/lib/components/index.d.ts +0 -76
  1219. package/lib/components/index.d.ts.map +0 -1
  1220. package/lib/flow-to-typescript-codemod.d.ts +0 -48
  1221. package/lib/hooks/index.d.ts +0 -17
  1222. package/lib/hooks/index.d.ts.map +0 -1
  1223. package/lib/hooks/useArbitraryOptionAddition/index.d.ts +0 -2
  1224. package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +0 -1
  1225. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +0 -24
  1226. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +0 -1
  1227. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +0 -18
  1228. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +0 -1
  1229. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.js +0 -171
  1230. package/lib/hooks/useCopyToClipboard/index.d.ts +0 -2
  1231. package/lib/hooks/useCopyToClipboard/index.d.ts.map +0 -1
  1232. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +0 -5
  1233. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts.map +0 -1
  1234. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +0 -24
  1235. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +0 -1
  1236. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.js +0 -107
  1237. package/lib/hooks/useDebounce/index.d.ts +0 -2
  1238. package/lib/hooks/useDebounce/index.d.ts.map +0 -1
  1239. package/lib/hooks/useDebounce/useDebounce.d.ts +0 -2
  1240. package/lib/hooks/useDebounce/useDebounce.d.ts.map +0 -1
  1241. package/lib/hooks/useDebounce/useDebounce.stories.d.ts +0 -26
  1242. package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +0 -1
  1243. package/lib/hooks/useDebounce/useDebounce.stories.js +0 -80
  1244. package/lib/hooks/useFileUpload/index.d.ts +0 -2
  1245. package/lib/hooks/useFileUpload/index.d.ts.map +0 -1
  1246. package/lib/hooks/useFileUpload/useFileUpload.d.ts +0 -17
  1247. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +0 -1
  1248. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +0 -16
  1249. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +0 -1
  1250. package/lib/hooks/useFileUpload/useFileUpload.stories.js +0 -405
  1251. package/lib/hooks/useFilteredOptions/index.d.ts +0 -2
  1252. package/lib/hooks/useFilteredOptions/index.d.ts.map +0 -1
  1253. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +0 -17
  1254. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +0 -1
  1255. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +0 -18
  1256. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +0 -1
  1257. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.js +0 -155
  1258. package/lib/hooks/useInfiniteScroll/index.d.ts +0 -2
  1259. package/lib/hooks/useInfiniteScroll/index.d.ts.map +0 -1
  1260. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +0 -15
  1261. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +0 -1
  1262. package/lib/hooks/useInputState/index.d.ts +0 -2
  1263. package/lib/hooks/useInputState/index.d.ts.map +0 -1
  1264. package/lib/hooks/useInputState/useInputState.d.ts +0 -13
  1265. package/lib/hooks/useInputState/useInputState.d.ts.map +0 -1
  1266. package/lib/hooks/useInputState/useInputState.stories.d.ts +0 -16
  1267. package/lib/hooks/useInputState/useInputState.stories.d.ts.map +0 -1
  1268. package/lib/hooks/useInputState/useInputState.stories.js +0 -67
  1269. package/lib/hooks/useLockedBody/index.d.ts +0 -2
  1270. package/lib/hooks/useLockedBody/index.d.ts.map +0 -1
  1271. package/lib/hooks/useLockedBody/useLockedBody.d.ts +0 -4
  1272. package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +0 -1
  1273. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +0 -17
  1274. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +0 -1
  1275. package/lib/hooks/useLockedBody/useLockedBody.stories.js +0 -69
  1276. package/lib/hooks/useModal/index.d.ts +0 -2
  1277. package/lib/hooks/useModal/index.d.ts.map +0 -1
  1278. package/lib/hooks/useModal/useModal.d.ts +0 -11
  1279. package/lib/hooks/useModal/useModal.d.ts.map +0 -1
  1280. package/lib/hooks/useModal/useModal.stories.d.ts +0 -16
  1281. package/lib/hooks/useModal/useModal.stories.d.ts.map +0 -1
  1282. package/lib/hooks/useModal/useModal.stories.js +0 -138
  1283. package/lib/hooks/useMountTransition/index.d.ts +0 -3
  1284. package/lib/hooks/useMountTransition/index.d.ts.map +0 -1
  1285. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +0 -16
  1286. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +0 -1
  1287. package/lib/hooks/useMountTransition/useMountTransition.stories.js +0 -64
  1288. package/lib/hooks/usePagination/index.d.ts +0 -2
  1289. package/lib/hooks/usePagination/index.d.ts.map +0 -1
  1290. package/lib/hooks/usePagination/usePagination.d.ts +0 -5
  1291. package/lib/hooks/usePagination/usePagination.d.ts.map +0 -1
  1292. package/lib/hooks/usePagination/usePagination.stories.d.ts +0 -18
  1293. package/lib/hooks/usePagination/usePagination.stories.d.ts.map +0 -1
  1294. package/lib/hooks/usePagination/usePagination.stories.js +0 -77
  1295. package/lib/hooks/useReferenceElementWidth/index.d.ts +0 -2
  1296. package/lib/hooks/useReferenceElementWidth/index.d.ts.map +0 -1
  1297. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts +0 -2
  1298. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +0 -1
  1299. package/lib/hooks/useResizeObserver/index.d.ts +0 -2
  1300. package/lib/hooks/useResizeObserver/index.d.ts.map +0 -1
  1301. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +0 -3
  1302. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +0 -1
  1303. package/lib/hooks/useToastPortal/index.d.ts +0 -2
  1304. package/lib/hooks/useToastPortal/index.d.ts.map +0 -1
  1305. package/lib/hooks/useToastPortal/useToastPortal.d.ts +0 -10
  1306. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +0 -1
  1307. package/lib/hooks/useToggle/index.d.ts +0 -2
  1308. package/lib/hooks/useToggle/index.d.ts.map +0 -1
  1309. package/lib/hooks/useToggle/useToggle.d.ts +0 -2
  1310. package/lib/hooks/useToggle/useToggle.d.ts.map +0 -1
  1311. package/lib/hooks/useToggle/useToggle.stories.d.ts +0 -17
  1312. package/lib/hooks/useToggle/useToggle.stories.d.ts.map +0 -1
  1313. package/lib/hooks/useToggle/useToggle.stories.js +0 -68
  1314. package/lib/hooks/useWindowSize/index.d.ts +0 -2
  1315. package/lib/hooks/useWindowSize/index.d.ts.map +0 -1
  1316. package/lib/hooks/useWindowSize/useWindowSize.d.ts +0 -7
  1317. package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +0 -1
  1318. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +0 -17
  1319. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +0 -1
  1320. package/lib/hooks/useWindowSize/useWindowSize.stories.js +0 -58
  1321. package/lib/index.d.ts +0 -6
  1322. package/lib/index.d.ts.map +0 -1
  1323. package/lib/stories/Border/Border.stories.d.ts +0 -12
  1324. package/lib/stories/Border/Border.stories.d.ts.map +0 -1
  1325. package/lib/stories/Color/Color.stories.d.ts +0 -13
  1326. package/lib/stories/Color/Color.stories.d.ts.map +0 -1
  1327. package/lib/stories/Elevation/Elevation.stories.d.ts +0 -12
  1328. package/lib/stories/Elevation/Elevation.stories.d.ts.map +0 -1
  1329. package/lib/stories/Introduction/index.d.ts +0 -3
  1330. package/lib/stories/Introduction/index.d.ts.map +0 -1
  1331. package/lib/stories/Motion/Motion.stories.d.ts +0 -12
  1332. package/lib/stories/Motion/Motion.stories.d.ts.map +0 -1
  1333. package/lib/stories/Opacity/Opacity.stories.d.ts +0 -12
  1334. package/lib/stories/Opacity/Opacity.stories.d.ts.map +0 -1
  1335. package/lib/stories/Shadow/Shadow.stories.d.ts +0 -12
  1336. package/lib/stories/Shadow/Shadow.stories.d.ts.map +0 -1
  1337. package/lib/stories/Size/Size.stories.d.ts +0 -12
  1338. package/lib/stories/Size/Size.stories.d.ts.map +0 -1
  1339. package/lib/stories/Space/Space.stories.d.ts +0 -12
  1340. package/lib/stories/Space/Space.stories.d.ts.map +0 -1
  1341. package/lib/stories/Tokens/index.d.ts +0 -3
  1342. package/lib/stories/Tokens/index.d.ts.map +0 -1
  1343. package/lib/styles/index.d.ts +0 -268
  1344. package/lib/styles/index.d.ts.map +0 -1
  1345. package/lib/styles/variables/_border.d.ts +0 -13
  1346. package/lib/styles/variables/_border.d.ts.map +0 -1
  1347. package/lib/styles/variables/_color.d.ts +0 -105
  1348. package/lib/styles/variables/_color.d.ts.map +0 -1
  1349. package/lib/styles/variables/_elevation.d.ts +0 -8
  1350. package/lib/styles/variables/_elevation.d.ts.map +0 -1
  1351. package/lib/styles/variables/_font.d.ts +0 -31
  1352. package/lib/styles/variables/_font.d.ts.map +0 -1
  1353. package/lib/styles/variables/_motion.d.ts +0 -7
  1354. package/lib/styles/variables/_motion.d.ts.map +0 -1
  1355. package/lib/styles/variables/_opacity.d.ts +0 -16
  1356. package/lib/styles/variables/_opacity.d.ts.map +0 -1
  1357. package/lib/styles/variables/_shadow.d.ts +0 -25
  1358. package/lib/styles/variables/_shadow.d.ts.map +0 -1
  1359. package/lib/styles/variables/_size.d.ts +0 -58
  1360. package/lib/styles/variables/_size.d.ts.map +0 -1
  1361. package/lib/styles/variables/_space.d.ts +0 -13
  1362. package/lib/styles/variables/_space.d.ts.map +0 -1
  1363. package/lib/types/charts.d.ts +0 -224
  1364. package/lib/types/charts.d.ts.map +0 -1
  1365. package/lib/types/common.d.ts +0 -10
  1366. package/lib/types/common.d.ts.map +0 -1
  1367. package/lib/types/cssvariables.d.js +0 -3
  1368. package/lib/types/date-range-picker.d.ts +0 -21
  1369. package/lib/types/date-range-picker.d.ts.map +0 -1
  1370. package/lib/types/flow-to-typescript-codemod.d.js +0 -1
  1371. package/lib/types/global.d.js +0 -1
  1372. package/lib/types/index.d.ts +0 -7
  1373. package/lib/types/index.d.ts.map +0 -1
  1374. package/lib/types/menu.d.ts +0 -13
  1375. package/lib/types/menu.d.ts.map +0 -1
  1376. package/lib/types/toast.d.ts +0 -28
  1377. package/lib/types/toast.d.ts.map +0 -1
  1378. package/lib/types/typography.d.ts +0 -17
  1379. package/lib/types/typography.d.ts.map +0 -1
  1380. package/lib/utils/array/are-arrays-equal.d.ts +0 -4
  1381. package/lib/utils/array/are-arrays-equal.d.ts.map +0 -1
  1382. package/lib/utils/array/index.d.ts +0 -2
  1383. package/lib/utils/array/index.d.ts.map +0 -1
  1384. package/lib/utils/charts/charts.d.ts +0 -17
  1385. package/lib/utils/charts/charts.d.ts.map +0 -1
  1386. package/lib/utils/charts/columnChart.d.ts +0 -8
  1387. package/lib/utils/charts/columnChart.d.ts.map +0 -1
  1388. package/lib/utils/charts/donutChart.d.ts +0 -21
  1389. package/lib/utils/charts/donutChart.d.ts.map +0 -1
  1390. package/lib/utils/charts/funnelChart.d.ts +0 -10
  1391. package/lib/utils/charts/funnelChart.d.ts.map +0 -1
  1392. package/lib/utils/charts/helpers.d.ts +0 -76
  1393. package/lib/utils/charts/helpers.d.ts.map +0 -1
  1394. package/lib/utils/charts/index.d.ts +0 -8
  1395. package/lib/utils/charts/index.d.ts.map +0 -1
  1396. package/lib/utils/charts/lineChart.d.ts +0 -7
  1397. package/lib/utils/charts/lineChart.d.ts.map +0 -1
  1398. package/lib/utils/charts/spiderChart.d.ts +0 -18
  1399. package/lib/utils/charts/spiderChart.d.ts.map +0 -1
  1400. package/lib/utils/charts/typography.d.ts +0 -58
  1401. package/lib/utils/charts/typography.d.ts.map +0 -1
  1402. package/lib/utils/classify/classify.stories.d.ts +0 -17
  1403. package/lib/utils/classify/classify.stories.d.ts.map +0 -1
  1404. package/lib/utils/classify/classify.stories.js +0 -63
  1405. package/lib/utils/classify/index.d.ts +0 -3
  1406. package/lib/utils/classify/index.d.ts.map +0 -1
  1407. package/lib/utils/click-away/ClickAway.stories.d.ts +0 -106
  1408. package/lib/utils/click-away/ClickAway.stories.d.ts.map +0 -1
  1409. package/lib/utils/click-away/ClickAway.stories.js +0 -260
  1410. package/lib/utils/click-away/click-away.d.ts +0 -77
  1411. package/lib/utils/click-away/click-away.d.ts.map +0 -1
  1412. package/lib/utils/click-away/index.d.ts +0 -2
  1413. package/lib/utils/click-away/index.d.ts.map +0 -1
  1414. package/lib/utils/date-range-picker/date-range-picker.d.ts +0 -63
  1415. package/lib/utils/date-range-picker/date-range-picker.d.ts.map +0 -1
  1416. package/lib/utils/date-range-picker/index.d.ts +0 -3
  1417. package/lib/utils/date-range-picker/index.d.ts.map +0 -1
  1418. package/lib/utils/date-range-picker/timezones.d.ts +0 -258
  1419. package/lib/utils/date-range-picker/timezones.d.ts.map +0 -1
  1420. package/lib/utils/dom/dom.d.ts +0 -38
  1421. package/lib/utils/dom/dom.d.ts.map +0 -1
  1422. package/lib/utils/dom/dom.stories.d.ts +0 -15
  1423. package/lib/utils/dom/dom.stories.d.ts.map +0 -1
  1424. package/lib/utils/dom/dom.stories.js +0 -59
  1425. package/lib/utils/dom/index.d.ts +0 -2
  1426. package/lib/utils/dom/index.d.ts.map +0 -1
  1427. package/lib/utils/helpers/helpers.d.ts +0 -4
  1428. package/lib/utils/helpers/helpers.d.ts.map +0 -1
  1429. package/lib/utils/helpers/helpers.stories.d.ts +0 -15
  1430. package/lib/utils/helpers/helpers.stories.d.ts.map +0 -1
  1431. package/lib/utils/helpers/helpers.stories.js +0 -111
  1432. package/lib/utils/helpers/index.d.ts +0 -2
  1433. package/lib/utils/helpers/index.d.ts.map +0 -1
  1434. package/lib/utils/index.d.ts +0 -15
  1435. package/lib/utils/index.d.ts.map +0 -1
  1436. package/lib/utils/makeClassNameComponent/index.d.ts +0 -2
  1437. package/lib/utils/makeClassNameComponent/index.d.ts.map +0 -1
  1438. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +0 -9
  1439. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +0 -1
  1440. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +0 -15
  1441. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +0 -1
  1442. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.js +0 -44
  1443. package/lib/utils/menu/index.d.ts +0 -2
  1444. package/lib/utils/menu/index.d.ts.map +0 -1
  1445. package/lib/utils/menu/menu.d.ts +0 -20
  1446. package/lib/utils/menu/menu.d.ts.map +0 -1
  1447. package/lib/utils/merge-refs/index.d.ts +0 -2
  1448. package/lib/utils/merge-refs/index.d.ts.map +0 -1
  1449. package/lib/utils/merge-refs/merge-refs.d.ts +0 -4
  1450. package/lib/utils/merge-refs/merge-refs.d.ts.map +0 -1
  1451. package/lib/utils/merge-refs/merge-refs.stories.d.ts +0 -15
  1452. package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +0 -1
  1453. package/lib/utils/merge-refs/merge-refs.stories.js +0 -86
  1454. package/lib/utils/rating/index.d.ts +0 -2
  1455. package/lib/utils/rating/index.d.ts.map +0 -1
  1456. package/lib/utils/rating/rating.d.ts +0 -13
  1457. package/lib/utils/rating/rating.d.ts.map +0 -1
  1458. package/lib/utils/score-bar/index.d.ts +0 -2
  1459. package/lib/utils/score-bar/index.d.ts.map +0 -1
  1460. package/lib/utils/score-bar/score-bar.d.ts +0 -10
  1461. package/lib/utils/score-bar/score-bar.d.ts.map +0 -1
  1462. package/lib/utils/string/index.d.ts +0 -2
  1463. package/lib/utils/string/index.d.ts.map +0 -1
  1464. package/lib/utils/string/string.d.ts +0 -6
  1465. package/lib/utils/string/string.d.ts.map +0 -1
  1466. package/lib/utils/string/string.stories.d.ts +0 -15
  1467. package/lib/utils/string/string.stories.d.ts.map +0 -1
  1468. package/lib/utils/string/string.stories.js +0 -63
  1469. package/lib/utils/token-list-input/token-list-input.d.ts +0 -15
  1470. package/lib/utils/token-list-input/token-list-input.d.ts.map +0 -1
  1471. package/lib/utils/tokens/index.d.ts +0 -2
  1472. package/lib/utils/tokens/index.d.ts.map +0 -1
  1473. package/lib/utils/tokens/tokens.d.ts +0 -41
  1474. package/lib/utils/tokens/tokens.d.ts.map +0 -1
  1475. package/tsconfig.declaration.json +0 -19
  1476. package/tsconfig.declaration.tsbuildinfo +0 -1
  1477. package/tsconfig.json +0 -40
@@ -0,0 +1,250 @@
1
+ // @flow strict
2
+
3
+ import * as React from 'react';
4
+ import {
5
+ // $FlowFixMe[untyped-import]
6
+ autoUpdate,
7
+ // $FlowFixMe[untyped-import]
8
+ flip,
9
+ // $FlowFixMe[untyped-import]
10
+ FloatingFocusManager,
11
+ // $FlowFixMe[untyped-import]
12
+ FloatingPortal,
13
+ // $FlowFixMe[untyped-import]
14
+ offset,
15
+ // $FlowFixMe[untyped-import]
16
+ useFloating,
17
+ } from '@floating-ui/react';
18
+
19
+ import {useReferenceElementWidth} from '../../hooks';
20
+ import {spaceNone, spaceXXSmall} from '../../styles/variables/_space';
21
+ import {classify} from '../../utils/classify';
22
+ import {type ClickAwayRefType, ClickAway} from '../../utils/click-away';
23
+ import {mergeRefs} from '../../utils/merge-refs';
24
+ import type {InputProps} from '../Input';
25
+ import type {MenuOption, MenuProps} from '../Menu';
26
+ import {Menu} from '../Menu';
27
+ import {SearchInput} from '../SearchInput';
28
+ import type {ElevationType} from '../Tooltip';
29
+ import {getElevationValue} from '../Tooltip';
30
+
31
+ import css from './Typeahead.module.css';
32
+
33
+
34
+ type ClassNames = $ReadOnly<{wrapper?: string, box?: string}>;
35
+
36
+ type BaseTypeaheadProps = {
37
+ ...InputProps,
38
+ classNames?: ClassNames,
39
+ onSelect?: (option: MenuOption, ?SyntheticEvent<HTMLElement>) => mixed,
40
+ onSearch?: (evt: SyntheticInputEvent<HTMLInputElement>) => mixed,
41
+ onMenuOpen?: () => mixed,
42
+ onMenuClose?: () => mixed,
43
+ typeaheadInputText?: string,
44
+ menu?: MenuProps,
45
+ onClear?: () => void,
46
+ isLoading?: boolean,
47
+ menuOpenOffset?: number,
48
+ clickAwayRef?: ClickAwayRefType,
49
+ elevation?: ElevationType,
50
+ ...
51
+ };
52
+
53
+ export type TypeaheadProps = {
54
+ ...BaseTypeaheadProps,
55
+ allowInternalFilter?: boolean,
56
+ ...
57
+ };
58
+
59
+ const BaseTypeahead: React$AbstractComponent<
60
+ BaseTypeaheadProps,
61
+ HTMLInputElement,
62
+ > = React.forwardRef<BaseTypeaheadProps, HTMLInputElement>(
63
+ (
64
+ {
65
+ size = 'medium',
66
+ classNames,
67
+ placeholder = 'Select...',
68
+ onSelect,
69
+ onSearch,
70
+ onClear,
71
+ menu,
72
+ onMenuOpen,
73
+ onMenuClose,
74
+ typeaheadInputText = '',
75
+ isLoading,
76
+ menuOpenOffset = 1,
77
+ onFocus,
78
+ clickAwayRef,
79
+ elevation = 'modal',
80
+ ...inputProps
81
+ }: BaseTypeaheadProps,
82
+ ref,
83
+ ): React.Node => {
84
+ const menuOptions = menu?.options;
85
+
86
+ const {x, y, refs, strategy, context} = useFloating({
87
+ open: true,
88
+ strategy: 'absolute',
89
+ placement: 'bottom-start',
90
+ whileElementsMounted: autoUpdate,
91
+ middleware: [flip(), offset(parseInt(spaceXXSmall))],
92
+ });
93
+
94
+ const dropdownWidth = useReferenceElementWidth(refs.reference?.current);
95
+
96
+ const onMenuToggle = (isOpen: boolean) => {
97
+ isOpen ? onMenuOpen && onMenuOpen() : onMenuClose && onMenuClose();
98
+ };
99
+
100
+ return (
101
+ <ClickAway onChange={onMenuToggle} clickAwayRef={clickAwayRef}>
102
+ {({isOpen, onOpen, clickAway, boundaryRef, triggerRef}) => (
103
+ <div
104
+ data-testid="Typeahead"
105
+ className={classify(css.typeaheadContainer, classNames?.wrapper)}
106
+ >
107
+ <SearchInput
108
+ {...inputProps}
109
+ ref={ref}
110
+ boxRef={mergeRefs([refs.setReference, triggerRef])}
111
+ size={size}
112
+ placeholder={placeholder}
113
+ value={typeaheadInputText}
114
+ classNames={{box: classNames?.box}}
115
+ isLoading={isLoading}
116
+ onChange={(e) => {
117
+ e.stopPropagation();
118
+ onSearch && onSearch(e);
119
+ if (e.target.value.length >= menuOpenOffset) {
120
+ !isOpen && onOpen();
121
+ } else {
122
+ clickAway();
123
+ }
124
+ }}
125
+ onFocus={(_e) => {
126
+ if (typeaheadInputText.length >= menuOpenOffset) {
127
+ !isOpen && onOpen();
128
+ } else {
129
+ clickAway();
130
+ }
131
+ onFocus?.(_e);
132
+ }}
133
+ onClear={(_e) => {
134
+ onClear?.();
135
+ }}
136
+ />
137
+ {isOpen &&
138
+ !isLoading &&
139
+ menu &&
140
+ menuOptions &&
141
+ !!menuOptions.length && (
142
+ <FloatingPortal>
143
+ <FloatingFocusManager
144
+ modal={false}
145
+ context={context}
146
+ returnFocus={false}
147
+ initialFocus={refs.reference}
148
+ >
149
+ <div
150
+ ref={mergeRefs([refs.setFloating, boundaryRef])}
151
+ className={css.menuWrapper}
152
+ style={{
153
+ position: strategy,
154
+ top: y ?? spaceNone,
155
+ left: x ?? spaceNone,
156
+ /* NOTE(Sharad): The FloatingPortal renders the menu outside the normal DOM structure,
157
+ so its parent is effectively the <body> element. This means the menu
158
+ would otherwise default to the body's width. To support fluid width,
159
+ we must manually set the dropdown width here; otherwise, it uses a fixed width.
160
+ Also, Only treat menu as non-fluid if isFluid is strictly false, since default is true in menu and undefined means fluid. */
161
+ ...(menu.isFluid !== false && {
162
+ '--dropdown-width': dropdownWidth,
163
+ }),
164
+ '--menu-elevation': getElevationValue(elevation),
165
+ }}
166
+ >
167
+ <Menu
168
+ {...menu}
169
+ options={menuOptions}
170
+ onSelect={(option, e) => {
171
+ onSelect && onSelect(option, e);
172
+ if (
173
+ // option.keepMenuOpenOnOptionSelect - to allow the menu persist its open stat upon option selection in normal variant
174
+ !option.keepMenuOpenOnOptionSelect &&
175
+ (!menu.optionsVariant ||
176
+ menu.optionsVariant === 'normal')
177
+ ) {
178
+ clickAway();
179
+ }
180
+ }}
181
+ size={menu.size || size}
182
+ onTabOut={clickAway}
183
+ />
184
+ </div>
185
+ </FloatingFocusManager>
186
+ </FloatingPortal>
187
+ )}
188
+ </div>
189
+ )}
190
+ </ClickAway>
191
+ );
192
+ },
193
+ );
194
+
195
+ const StatefulTypeahead: React$AbstractComponent<
196
+ BaseTypeaheadProps,
197
+ HTMLInputElement,
198
+ > = React.forwardRef<BaseTypeaheadProps, HTMLInputElement>(
199
+ ({menu, ...props}: BaseTypeaheadProps, ref): React.Node => {
200
+ const {typeaheadInputText = ''} = props;
201
+ const [filteredOptions, setFilteredOptions] = React.useState(menu?.options);
202
+
203
+ React.useEffect(() => {
204
+ const optionsFiltered =
205
+ menu?.options &&
206
+ menu.options.filter((option) => {
207
+ if (!option.label || !typeaheadInputText) {
208
+ return true;
209
+ } else {
210
+ return (
211
+ option.label
212
+ .toLowerCase()
213
+ .indexOf(typeaheadInputText.toLowerCase()) !== -1
214
+ );
215
+ }
216
+ });
217
+ setFilteredOptions(optionsFiltered || []);
218
+ }, [typeaheadInputText, menu?.options]);
219
+
220
+ return (
221
+ <BaseTypeahead
222
+ {...props}
223
+ menu={{...menu, options: filteredOptions}}
224
+ ref={ref}
225
+ />
226
+ );
227
+ },
228
+ );
229
+
230
+ const StatelessTypeahead: React$AbstractComponent<
231
+ BaseTypeaheadProps,
232
+ HTMLInputElement,
233
+ > = React.forwardRef<BaseTypeaheadProps, HTMLInputElement>(
234
+ (props: BaseTypeaheadProps, ref): React.Node => (
235
+ <BaseTypeahead {...props} ref={ref} />
236
+ ),
237
+ );
238
+
239
+ export const Typeahead: React$AbstractComponent<
240
+ TypeaheadProps,
241
+ HTMLInputElement,
242
+ > = React.forwardRef<TypeaheadProps, HTMLInputElement>(
243
+ ({allowInternalFilter = true, ...props}: TypeaheadProps, ref): React.Node => {
244
+ if (allowInternalFilter) {
245
+ return <StatefulTypeahead {...props} ref={ref} />;
246
+ } else {
247
+ return <StatelessTypeahead {...props} ref={ref} />;
248
+ }
249
+ },
250
+ );
@@ -0,0 +1,4 @@
1
+ // @flow strict
2
+
3
+ export * from './SimpleTypeahead';
4
+ export * from './Typeahead';
@@ -0,0 +1,229 @@
1
+ // @flow strict
2
+
3
+ import * as React from 'react';
4
+
5
+ import classify from '../../utils/classify';
6
+ import {UnstyledButton} from '../Button';
7
+
8
+ import css from './WeekdayPicker.module.css';
9
+
10
+
11
+ const DEFAULT_WEEKDAYS = [
12
+ {key: 'sun', label: 'S'},
13
+ {key: 'mon', label: 'M'},
14
+ {key: 'tue', label: 'T'},
15
+ {key: 'wed', label: 'W'},
16
+ {key: 'thu', label: 'T'},
17
+ {key: 'fri', label: 'F'},
18
+ {key: 'sat', label: 'S'},
19
+ ];
20
+
21
+ const WEEKEND_KEYS = ['sat', 'sun'];
22
+
23
+ export const WEEKDAY_PICKER_SIZE = Object.freeze({
24
+ small: 'small',
25
+ medium: 'medium',
26
+ });
27
+
28
+ type ClassNames = $ReadOnly<{
29
+ wrapper?: string,
30
+ button?: string,
31
+ label?: string,
32
+ helperText?: string,
33
+ }>;
34
+ type WeekdayPickerSize = $Values<typeof WEEKDAY_PICKER_SIZE>;
35
+
36
+ type Weekday = {
37
+ key: string,
38
+ label: string,
39
+ secondaryLabel?: string,
40
+ };
41
+
42
+ export type WeekdayPickerProps = {
43
+ size?: WeekdayPickerSize,
44
+ selectedWeekDays?: Array<Weekday>,
45
+ hiddenWeekDays?: Array<string>,
46
+ disabledWeekDays?: Array<string>,
47
+ customDayLabels?: Array<Weekday>,
48
+ onChange?: (
49
+ selectedDays: Array<Weekday>,
50
+ ?SyntheticEvent<HTMLElement>,
51
+ ) => mixed,
52
+ readOnly?: boolean,
53
+ classNames?: ClassNames,
54
+ showWeekends?: boolean,
55
+ ariaLabel?: string,
56
+ label?: React.Node,
57
+ helperText?: React.Node,
58
+ disableMultiSelect?: boolean,
59
+ };
60
+
61
+ type DayButtonProps = {
62
+ day: Weekday,
63
+ isSelected: boolean,
64
+ isDisabled: boolean,
65
+ onClick?: ?(SyntheticEvent<HTMLElement>) => mixed,
66
+ className?: string,
67
+ size: WeekdayPickerSize,
68
+ readOnly?: boolean,
69
+ };
70
+
71
+ const DayButton = ({
72
+ day,
73
+ isSelected,
74
+ isDisabled,
75
+ onClick,
76
+ className,
77
+ size,
78
+ readOnly,
79
+ }: DayButtonProps) => (
80
+ <UnstyledButton
81
+ key={day.key}
82
+ className={classify(
83
+ css.weekdayButton,
84
+ {
85
+ [css.weekdayButtonMedium]: size === WEEKDAY_PICKER_SIZE.medium,
86
+ [css.weekdayButtonSmall]: size === WEEKDAY_PICKER_SIZE.small,
87
+ [css.weekdayButtonSelected]: isSelected,
88
+ [css.weekdayButtonDisabled]: isDisabled,
89
+ },
90
+ className,
91
+ )}
92
+ onClick={onClick}
93
+ disabled={isDisabled}
94
+ aria-label={`Select ${day.label}`}
95
+ tabIndex={isDisabled || readOnly ? -1 : 0}
96
+ role="checkbox"
97
+ >
98
+ {day.secondaryLabel && (
99
+ <div
100
+ className={classify(css.secondaryLabel, {
101
+ [css.secondaryLabelSelected]: isSelected,
102
+ [css.secondaryLabelDisabled]: isDisabled,
103
+ })}
104
+ >
105
+ {day.secondaryLabel}
106
+ </div>
107
+ )}
108
+ {day.label}
109
+ </UnstyledButton>
110
+ );
111
+
112
+ export const WeekdayPicker: React$AbstractComponent<
113
+ WeekdayPickerProps,
114
+ HTMLDivElement,
115
+ > = React.forwardRef<WeekdayPickerProps, HTMLDivElement>(
116
+ (
117
+ {
118
+ size = 'medium',
119
+ selectedWeekDays = [],
120
+ disabledWeekDays = [],
121
+ hiddenWeekDays = [],
122
+ customDayLabels = DEFAULT_WEEKDAYS,
123
+ onChange,
124
+ readOnly = false,
125
+ classNames = {},
126
+ showWeekends = true,
127
+ ariaLabel = 'Select weekdays',
128
+ label,
129
+ helperText,
130
+ disableMultiSelect = false,
131
+ }: WeekdayPickerProps,
132
+ ref,
133
+ ) => {
134
+ const [selectedDays, setSelectedDays] =
135
+ React.useState<Array<Weekday>>(selectedWeekDays);
136
+
137
+ const handleDayToggle = (
138
+ day: Weekday,
139
+ event: SyntheticEvent<HTMLElement>,
140
+ ) => {
141
+ if (readOnly || disabledWeekDays.includes(day.key)) {
142
+ return;
143
+ }
144
+
145
+ let updatedSelectedDays = selectedDays;
146
+
147
+ if (disableMultiSelect) {
148
+ if (selectedDays.some((selected) => selected.key === day.key)) {
149
+ updatedSelectedDays = [];
150
+ } else {
151
+ updatedSelectedDays = [day];
152
+ }
153
+ } else {
154
+ const isSelected = selectedDays.some(
155
+ (selected) => selected.key === day.key,
156
+ );
157
+
158
+ if (isSelected) {
159
+ updatedSelectedDays = selectedDays.filter(
160
+ (selected) => selected.key !== day.key,
161
+ );
162
+ } else {
163
+ updatedSelectedDays = [...selectedDays, day];
164
+ }
165
+ }
166
+
167
+ setSelectedDays(updatedSelectedDays);
168
+ onChange?.(updatedSelectedDays, event);
169
+ };
170
+
171
+ return (
172
+ <div
173
+ data-testid="Weekday-Picker"
174
+ ref={ref}
175
+ className={classify(css.weekdayPickerContainer, classNames.wrapper, {
176
+ [css.weekdayReadOnly]: readOnly,
177
+ })}
178
+ aria-label={ariaLabel}
179
+ role="group"
180
+ >
181
+ {!!label && (
182
+ <div className={classify(css.weekdayLabel, classNames.label)}>
183
+ {label}
184
+ </div>
185
+ )}
186
+ <div className={css.weekdayPickerDays}>
187
+ {customDayLabels.map((day) => {
188
+ const isWeekend = WEEKEND_KEYS.includes(day.key);
189
+ const isHidden = hiddenWeekDays.includes(day.key);
190
+ if ((!showWeekends && isWeekend) || isHidden) {
191
+ return null;
192
+ }
193
+
194
+ const isSelected = selectedDays.some(
195
+ (selected) => selected.key === day.key,
196
+ );
197
+ const isDisabled = disabledWeekDays.includes(day.key);
198
+
199
+ return (
200
+ <DayButton
201
+ key={day.key}
202
+ day={day}
203
+ isSelected={isSelected}
204
+ isDisabled={isDisabled}
205
+ onClick={(event) => {
206
+ if (isDisabled) {
207
+ event.preventDefault();
208
+ } else {
209
+ handleDayToggle(day, event);
210
+ }
211
+ }}
212
+ className={classNames.button}
213
+ size={size}
214
+ readOnly={readOnly}
215
+ />
216
+ );
217
+ })}
218
+ </div>
219
+ {!!helperText && (
220
+ <div
221
+ className={classify(css.weekdayHelperText, classNames.helperText)}
222
+ >
223
+ {helperText}
224
+ </div>
225
+ )}
226
+ </div>
227
+ );
228
+ },
229
+ );
@@ -0,0 +1,3 @@
1
+ // @flow strict
2
+
3
+ export * from './WeekdayPicker';
@@ -0,0 +1,77 @@
1
+ // @flow strict
2
+
3
+ export * from './Accordion';
4
+ export * from './Avatar';
5
+ export * from './AvatarGroup';
6
+ export * from './Badge';
7
+ export * from './BadgedIcon';
8
+ export * from './Banner';
9
+ export * from './Breadcrumbs';
10
+ export * from './Button';
11
+ export * from './ButtonDropdown';
12
+ export * from './ButtonTabs';
13
+ export * from './Card';
14
+ export * from './Charts';
15
+ export * from './ChatBubble';
16
+ export * from './Checkbox';
17
+ export * from './Chip';
18
+ export * from './CircularLoader';
19
+ export * from './CollapsibleCard';
20
+ export * from './Combobox';
21
+ export * from './ConditionalWrapper';
22
+ export * from './DateRangePicker';
23
+ export * from './Dialog';
24
+ export * from './Disclaimer';
25
+ export * from './Dropdown';
26
+ export * from './EmptyState';
27
+ export * from './ErrorMessage';
28
+ export * from './FileUpload';
29
+ export * from './FilterButtonOverlay';
30
+ export * from './FocusManager';
31
+ export * from './FocusManagerWithArrowKeyNavigation';
32
+ export * from './FormTitleWrapper';
33
+ export * from './Grid';
34
+ export * from './Icon';
35
+ export * from './InContextAlert';
36
+ export * from './InfinitePagination';
37
+ export * from './InlineDropdown';
38
+ export * from './Input';
39
+ export * from './KPIBox';
40
+ export * from './LinearLoader';
41
+ export * from './Link';
42
+ export * from './Menu';
43
+ export * from './Modal';
44
+ export * from './Notification';
45
+ export * from './OptionButton';
46
+ export * from './PageTitle';
47
+ export * from './Pagination';
48
+ export * from './Panel';
49
+ export * from './ProgressDonut';
50
+ export * from './PromptChip';
51
+ export * from './PromptInput';
52
+ export * from './RadioButton';
53
+ export * from './RadioTile';
54
+ export * from './RangeSlider';
55
+ export * from './Rating';
56
+ export * from './ScoreBar';
57
+ export * from './SearchInput';
58
+ export * from './Separator';
59
+ export * from './Shimmer';
60
+ export * from './SideMenuLink';
61
+ export * from './StatusIndicator';
62
+ export * from './Stepper';
63
+ export * from './StickyBar';
64
+ export * from './SubMenu';
65
+ export * from './Table';
66
+ export * from './Tabs';
67
+ export * from './Text';
68
+ export * from './Textarea';
69
+ export * from './TextTile';
70
+ export * from './Toast';
71
+ export * from './Toggle';
72
+ export * from './TokenListInput';
73
+ export * from './Tooltip';
74
+ export * from './Truncate';
75
+ export * from './TruncatedTextWithTooltip';
76
+ export * from './Typeahead';
77
+ export * from './WeekdayPicker';
@@ -0,0 +1,18 @@
1
+ // @flow strict
2
+
3
+ export * from './useArbitraryOptionAddition';
4
+ export * from './useCopyToClipboard';
5
+ export * from './useDebounce';
6
+ export * from './useFileUpload';
7
+ export * from './useFilteredOptions';
8
+ export * from './useInfiniteScroll';
9
+ export * from './useInputState';
10
+ export * from './useLockedBody';
11
+ export * from './useModal';
12
+ export * from './useMountTransition';
13
+ export * from './usePagination';
14
+ export * from './useReferenceElementWidth';
15
+ export * from './useResizeObserver';
16
+ export * from './useToastPortal';
17
+ export * from './useToggle';
18
+ export * from './useWindowSize';
@@ -0,0 +1,3 @@
1
+ // @flow strict
2
+
3
+ export * from './useArbitraryOptionAddition';
@@ -13,18 +13,17 @@ function useArbitraryOptionAddition(_ref) {
13
13
  allowArbitraryValues = true,
14
14
  allowMultiArbitraryValues = false,
15
15
  validateArbitraryValue = value => value.trim() !== '',
16
- // @ts-ignore - TS2322 - Type '{ key: string; label: string; arbitrary: boolean; }' is not assignable to type 'V'.
16
+ // $FlowFixMe[incompatible-return] - Object literal is compatible with V due to type constraint
17
17
  makeArbitraryValue = searchTerm => ({
18
18
  key: searchTerm,
19
19
  label: searchTerm,
20
20
  arbitrary: true
21
21
  }),
22
- // @ts-ignore - TS2366 - Function lacks ending return statement and return type does not include 'undefined'.
22
+ // $FlowFixMe[incompatible-return] - Object literal is compatible with V due to type constraint
23
23
  makeMultiArbitraryValue = searchTerm => {
24
24
  const regex = /^(?=.*[,\n]).+$/s;
25
25
  if (regex.test(searchTerm)) {
26
26
  // $FlowFixMe - Object literal is compatible with V due to type constraint
27
- // @ts-ignore - TS2322 - Type '{ key: string; label: string; multiArbitrary: boolean; }' is not assignable to type 'V'.
28
27
  return {
29
28
  key: searchTerm,
30
29
  label: searchTerm,
@@ -40,7 +39,6 @@ function useArbitraryOptionAddition(_ref) {
40
39
  },
41
40
  searchOptionsBy = (option, searchTerm) => {
42
41
  // $FlowFixMe
43
- // @ts-ignore - TS2322 - Type 'V' is not assignable to type '{ label: string; key: string; }'.
44
42
  const {
45
43
  label,
46
44
  key
@@ -55,17 +53,18 @@ function useArbitraryOptionAddition(_ref) {
55
53
  } = (0, _useFilteredOptions.useFilteredOptions)({
56
54
  searchTerm: trimmedSearchTerm,
57
55
  options,
56
+ // $FlowFixMe[incompatible-call]
58
57
  groupTitleOptions,
59
58
  searchOptionsBy
60
59
  });
61
60
 
62
61
  // Find if an arbitrary option should be added
63
62
  const arbitraryOption = allowArbitraryValues && trimmedSearchTerm &&
64
- // @ts-ignore - TS2532 - Object is possibly 'undefined'. | TS2339 - Property 'key' does not exist on type 'V'.
63
+ // $FlowFixMe - Array methods are valid here
65
64
  !filteredOptions.some(option => option.key === trimmedSearchTerm) &&
66
- // @ts-ignore - TS2532 - Object is possibly 'undefined'.
65
+ // $FlowFixMe - Array methods are valid here
67
66
  !filteredGroupTitleOptions.some(group => Array.isArray(group.options) &&
68
- // @ts-ignore - TS2339 - Property 'key' does not exist on type 'V'.
67
+ // $FlowFixMe- option has key property
69
68
  group.options.some(option => option.key === trimmedSearchTerm)) && !excludedKeys.includes(trimmedSearchTerm) && validateArbitraryValue(trimmedSearchTerm) && makeArbitraryValue(trimmedSearchTerm);
70
69
 
71
70
  // Find if a multi-arbitrary option should be added
@@ -75,7 +74,7 @@ function useArbitraryOptionAddition(_ref) {
75
74
  let optionsWithArbitrary = filteredOptions;
76
75
  let groupTitleOptionsWithArbitrary = groupTitleOptions;
77
76
  if (arbitraryOption) {
78
- // @ts-ignore - TS2488 - Type 'V[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
77
+ // $FlowFixMe[incompatible-type] - Array spread is valid here
79
78
  optionsWithArbitrary = [arbitraryOption, ...optionsWithArbitrary];
80
79
  groupTitleOptionsWithArbitrary = [{
81
80
  ...arbitraryGroup,
@@ -83,13 +82,14 @@ function useArbitraryOptionAddition(_ref) {
83
82
  }, ...groupTitleOptionsWithArbitrary];
84
83
  }
85
84
  if (multiArbitraryOption) {
85
+ // $FlowFixMe[incompatible-type] - Array spread is valid here
86
86
  optionsWithArbitrary = [multiArbitraryOption, ...optionsWithArbitrary];
87
87
  groupTitleOptionsWithArbitrary = [{
88
88
  ...arbitraryGroup,
89
89
  options: [multiArbitraryOption]
90
90
  }, ...groupTitleOptionsWithArbitrary];
91
91
  }
92
- // @ts-ignore - TS2322 - Type 'V[] | undefined' is not assignable to type 'V[]'.
92
+ // $FlowFixMe[incompatible-return]
93
93
  return {
94
94
  optionsWithArbitrary,
95
95
  groupTitleOptionsWithArbitrary