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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/.cspell/custom-words.txt +2 -0
  2. package/.github/CODEOWNERS +0 -5
  3. package/.github/workflows/pull_request_checks.yml +4 -4
  4. package/.storybook/public/component-parent-levels.json +95 -0
  5. package/.type-coverage +13 -0
  6. package/CHANGELOG.md +41 -0
  7. package/cspell.json +0 -1
  8. package/design-tokens/size/base-size.json +3 -0
  9. package/eslint.config.mjs +62 -29
  10. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +1 -1
  11. package/lib/components/Accordion/Accordion.d.ts +2 -2
  12. package/lib/components/Accordion/Accordion.d.ts.map +1 -1
  13. package/lib/components/Accordion/AccordionGroup.d.ts +2 -2
  14. package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -1
  15. package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -1
  16. package/lib/components/Avatar/Avatar.d.ts +5 -5
  17. package/lib/components/Avatar/Avatar.d.ts.map +1 -1
  18. package/lib/components/Avatar/Avatar.js +4 -13
  19. package/lib/components/AvatarGroup/AvatarGroup.d.ts +2 -2
  20. package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  21. package/lib/components/AvatarGroup/AvatarGroup.js +27 -14
  22. package/lib/components/Badge/Badge.d.ts +7 -8
  23. package/lib/components/Badge/Badge.d.ts.map +1 -1
  24. package/lib/components/Badge/Badge.stories.d.ts.map +1 -1
  25. package/lib/components/BadgedIcon/BadgedIcon.d.ts +2 -2
  26. package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -1
  27. package/lib/components/BadgedIcon/BadgedIcon.js +1 -4
  28. package/lib/components/Banner/Banner.d.ts +2 -3
  29. package/lib/components/Banner/Banner.d.ts.map +1 -1
  30. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +2 -3
  31. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
  32. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +2 -4
  33. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  34. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  35. package/lib/components/Breadcrumbs/Breadcrumbs.js +5 -6
  36. package/lib/components/Button/Button.d.ts +7 -8
  37. package/lib/components/Button/Button.d.ts.map +1 -1
  38. package/lib/components/Button/Button.js +7 -21
  39. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +3 -4
  40. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -1
  41. package/lib/components/ButtonDropdown/ButtonDropdown.js +4 -14
  42. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +70 -70
  43. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -1
  44. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +5 -6
  45. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -1
  46. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +1 -9
  47. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +109 -109
  48. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -1
  49. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +2 -2
  50. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -1
  51. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +2 -3
  52. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -1
  53. package/lib/components/ButtonTabs/ButtonTabDropdown.js +5 -14
  54. package/lib/components/ButtonTabs/ButtonTabs.d.ts +2 -2
  55. package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -1
  56. package/lib/components/ButtonTabs/ButtonTabs.js +2 -3
  57. package/lib/components/Card/Card.d.ts +9 -7
  58. package/lib/components/Card/Card.d.ts.map +1 -1
  59. package/lib/components/Card/Card.js +2 -7
  60. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +9 -4
  61. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -1
  62. package/lib/components/Charts/ChartWrapper/ChartWrapper.js +5 -7
  63. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +8 -5
  64. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
  65. package/lib/components/Charts/ColumnChart/ColumnChart.js +16 -10
  66. package/lib/components/Charts/DonutChart/DonutChart.d.ts +4 -5
  67. package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
  68. package/lib/components/Charts/DonutChart/DonutChart.js +1 -2
  69. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +4 -5
  70. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
  71. package/lib/components/Charts/LineChart/LineChart.d.ts +4 -5
  72. package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
  73. package/lib/components/Charts/SankeyChart/SankeyChart.d.ts +2 -3
  74. package/lib/components/Charts/SankeyChart/SankeyChart.d.ts.map +1 -1
  75. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +4 -5
  76. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
  77. package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts +4 -5
  78. package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts.map +1 -1
  79. package/lib/components/ChatBubble/ChatBubble.d.ts +14 -14
  80. package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
  81. package/lib/components/ChatBubble/ChatBubble.js +11 -4
  82. package/lib/components/Checkbox/Checkbox.d.ts +2 -3
  83. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  84. package/lib/components/Checkbox/Checkbox.js +1 -2
  85. package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
  86. package/lib/components/Checkbox/CheckboxGroup.d.ts +2 -2
  87. package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
  88. package/lib/components/Checkbox/CheckboxGroup.js +8 -12
  89. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +2 -3
  90. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -1
  91. package/lib/components/Chip/Chip.d.ts +10 -11
  92. package/lib/components/Chip/Chip.d.ts.map +1 -1
  93. package/lib/components/Chip/Chip.js +7 -13
  94. package/lib/components/CircularLoader/CircularLoader.d.ts +2 -2
  95. package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -1
  96. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +6 -6
  97. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -1
  98. package/lib/components/Combobox/Combobox.d.ts +16 -16
  99. package/lib/components/Combobox/Combobox.d.ts.map +1 -1
  100. package/lib/components/Combobox/Combobox.js +16 -19
  101. package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -1
  102. package/lib/components/Combobox/helper.d.ts.map +1 -1
  103. package/lib/components/Combobox/helper.js +0 -1
  104. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +2 -2
  105. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -1
  106. package/lib/components/DateRangePicker/Calendar.d.ts +3 -3
  107. package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -1
  108. package/lib/components/DateRangePicker/Calendar.js +2 -6
  109. package/lib/components/DateRangePicker/DateRangePicker.d.ts +2 -2
  110. package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  111. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -1
  112. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +2 -2
  113. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -1
  114. package/lib/components/DateRangePicker/DateRangeWrapper.js +6 -14
  115. package/lib/components/DateRangePicker/Day.d.ts +2 -2
  116. package/lib/components/DateRangePicker/Day.d.ts.map +1 -1
  117. package/lib/components/Dialog/Dialog.d.ts +10 -11
  118. package/lib/components/Dialog/Dialog.d.ts.map +1 -1
  119. package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -1
  120. package/lib/components/Disclaimer/Disclaimer.js +0 -1
  121. package/lib/components/Dropdown/Dropdown.d.ts +3 -4
  122. package/lib/components/Dropdown/Dropdown.d.ts.map +1 -1
  123. package/lib/components/Dropdown/Dropdown.js +17 -18
  124. package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -1
  125. package/lib/components/Dropdown/SimpleDropdown.d.ts +5 -6
  126. package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -1
  127. package/lib/components/Dropdown/SimpleDropdown.js +1 -7
  128. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -1
  129. package/lib/components/EmptyState/EmptyState.d.ts +2 -2
  130. package/lib/components/EmptyState/EmptyState.d.ts.map +1 -1
  131. package/lib/components/ErrorMessage/ErrorMessage.d.ts +2 -2
  132. package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
  133. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +2 -2
  134. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -1
  135. package/lib/components/FileUpload/FileUpload.d.ts +14 -13
  136. package/lib/components/FileUpload/FileUpload.d.ts.map +1 -1
  137. package/lib/components/FileUpload/FileUpload.js +2 -7
  138. package/lib/components/FileUpload/FileUpload.stories.d.ts +2 -1
  139. package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -1
  140. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +3 -4
  141. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -1
  142. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +1 -9
  143. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -1
  144. package/lib/components/FocusManager/FocusManager.d.ts +2 -2
  145. package/lib/components/FocusManager/FocusManager.d.ts.map +1 -1
  146. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +4 -5
  147. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -1
  148. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +21 -17
  149. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -1
  150. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +2 -2
  151. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -1
  152. package/lib/components/Grid/Col.stories.d.ts +1 -1
  153. package/lib/components/Grid/Grid.d.ts +7 -7
  154. package/lib/components/Grid/Grid.d.ts.map +1 -1
  155. package/lib/components/Grid/Grid.js +6 -13
  156. package/lib/components/Grid/GridPatterns.stories.d.ts +1 -1
  157. package/lib/components/Grid/GridPatterns.stories.d.ts.map +1 -1
  158. package/lib/components/Grid/Row.stories.d.ts +1 -1
  159. package/lib/components/Icon/ClickableIcon.d.ts +6 -6
  160. package/lib/components/Icon/ClickableIcon.d.ts.map +1 -1
  161. package/lib/components/Icon/ClickableIcon.js +1 -1
  162. package/lib/components/Icon/Icon.d.ts +3 -3
  163. package/lib/components/Icon/Icon.d.ts.map +1 -1
  164. package/lib/components/Icon/Icon.js +1 -3
  165. package/lib/components/Icon/Icon.stories.d.ts +2 -2
  166. package/lib/components/Icon/Icon.stories.d.ts.map +1 -1
  167. package/lib/components/Icon/SemanticIcon.d.ts +2 -3
  168. package/lib/components/Icon/SemanticIcon.d.ts.map +1 -1
  169. package/lib/components/InContextAlert/InContextAlert.d.ts +4 -5
  170. package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
  171. package/lib/components/InContextAlert/InContextAlert.js +8 -6
  172. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +3 -4
  173. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map +1 -1
  174. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +7 -6
  175. package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -1
  176. package/lib/components/InfinitePagination/InfinitePagination.js +10 -11
  177. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -1
  178. package/lib/components/InlineDropdown/InlineDropdown.d.ts +3 -4
  179. package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -1
  180. package/lib/components/InlineDropdown/InlineDropdown.js +9 -14
  181. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +45 -45
  182. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -1
  183. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +5 -6
  184. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -1
  185. package/lib/components/InlineDropdown/SimpleInlineDropdown.js +2 -11
  186. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +83 -83
  187. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -1
  188. package/lib/components/Input/Input.d.ts +17 -16
  189. package/lib/components/Input/Input.d.ts.map +1 -1
  190. package/lib/components/Input/Input.js +7 -20
  191. package/lib/components/KPIBox/KPIBox.d.ts +2 -2
  192. package/lib/components/KPIBox/KPIBox.d.ts.map +1 -1
  193. package/lib/components/LinearLoader/LinearLoader.d.ts +2 -2
  194. package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -1
  195. package/lib/components/LinearLoader/LinearLoader.js +2 -2
  196. package/lib/components/Link/Link.d.ts +5 -6
  197. package/lib/components/Link/Link.d.ts.map +1 -1
  198. package/lib/components/Link/Link.js +4 -13
  199. package/lib/components/Menu/Menu.d.ts +12 -12
  200. package/lib/components/Menu/Menu.d.ts.map +1 -1
  201. package/lib/components/Menu/Menu.js +3 -5
  202. package/lib/components/Menu/Menu.stories.d.ts.map +1 -1
  203. package/lib/components/Menu/MenuOptionButton.d.ts +2 -3
  204. package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -1
  205. package/lib/components/Menu/MenuOptionButton.js +0 -1
  206. package/lib/components/Modal/Modal.d.ts +12 -30
  207. package/lib/components/Modal/Modal.d.ts.map +1 -1
  208. package/lib/components/Modal/Modal.js +5 -8
  209. package/lib/components/Notification/Notification.d.ts +6 -7
  210. package/lib/components/Notification/Notification.d.ts.map +1 -1
  211. package/lib/components/Notification/Notification.js +7 -4
  212. package/lib/components/OptionButton/OptionButton.d.ts +6 -7
  213. package/lib/components/OptionButton/OptionButton.d.ts.map +1 -1
  214. package/lib/components/OptionButton/OptionButton.js +2 -2
  215. package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -1
  216. package/lib/components/OptionButton/SimpleOptionButton.d.ts +6 -7
  217. package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
  218. package/lib/components/OptionButton/SimpleOptionButton.js +1 -7
  219. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +55 -55
  220. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -1
  221. package/lib/components/PageTitle/PageTitle.d.ts +9 -8
  222. package/lib/components/PageTitle/PageTitle.d.ts.map +1 -1
  223. package/lib/components/PageTitle/PageTitle.js +15 -10
  224. package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -1
  225. package/lib/components/Pagination/Pagination.d.ts +10 -12
  226. package/lib/components/Pagination/Pagination.d.ts.map +1 -1
  227. package/lib/components/Pagination/Pagination.stories.d.ts +1 -9
  228. package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -1
  229. package/lib/components/Pagination/PaginationItem.d.ts.map +1 -1
  230. package/lib/components/Pagination/PaginationItem.js +0 -3
  231. package/lib/components/Panel/Panel.d.ts +9 -10
  232. package/lib/components/Panel/Panel.d.ts.map +1 -1
  233. package/lib/components/Panel/Panel.stories.d.ts.map +1 -1
  234. package/lib/components/ProgressDonut/ProgressDonut.d.ts +2 -2
  235. package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -1
  236. package/lib/components/ProgressDonut/ProgressDonut.js +2 -3
  237. package/lib/components/PromptChip/PromptChip.d.ts.map +1 -1
  238. package/lib/components/PromptChip/PromptChip.js +6 -5
  239. package/lib/components/PromptInput/PromptInput.d.ts +7 -7
  240. package/lib/components/PromptInput/PromptInput.d.ts.map +1 -1
  241. package/lib/components/PromptInput/PromptInput.js +0 -7
  242. package/lib/components/RadioButton/RadioButton.d.ts +2 -3
  243. package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
  244. package/lib/components/RadioButton/RadioButton.js +1 -2
  245. package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -1
  246. package/lib/components/RadioButton/RadioGroup.d.ts +2 -2
  247. package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -1
  248. package/lib/components/RadioButton/RadioGroup.js +2 -1
  249. package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -1
  250. package/lib/components/RadioTile/RadioTile.d.ts +2 -2
  251. package/lib/components/RadioTile/RadioTile.d.ts.map +1 -1
  252. package/lib/components/RadioTile/RadioTile.js +1 -3
  253. package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -1
  254. package/lib/components/RangeSlider/RangeSlider.d.ts +2 -2
  255. package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -1
  256. package/lib/components/RangeSlider/RangeSlider.js +0 -3
  257. package/lib/components/Rating/Rating.d.ts +2 -2
  258. package/lib/components/Rating/Rating.d.ts.map +1 -1
  259. package/lib/components/ScoreBar/ScoreBar.d.ts +2 -2
  260. package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
  261. package/lib/components/SearchInput/SearchInput.d.ts +2 -3
  262. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
  263. package/lib/components/Separator/Separator.d.ts +2 -2
  264. package/lib/components/Separator/Separator.d.ts.map +1 -1
  265. package/lib/components/Shimmer/Shimmer.d.ts +6 -6
  266. package/lib/components/Shimmer/Shimmer.d.ts.map +1 -1
  267. package/lib/components/Shimmer/Shimmer.js +1 -3
  268. package/lib/components/SideMenuLink/SideMenuLink.d.ts +2 -2
  269. package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -1
  270. package/lib/components/SideMenuLink/SideMenuLink.js +3 -9
  271. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -1
  272. package/lib/components/StatusIndicator/StatusIndicator.d.ts +2 -2
  273. package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
  274. package/lib/components/Stepper/Step/Step.d.ts +2 -2
  275. package/lib/components/Stepper/Step/Step.d.ts.map +1 -1
  276. package/lib/components/Stepper/Step/Step.js +13 -10
  277. package/lib/components/Stepper/Step/StepContent.d.ts +2 -2
  278. package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -1
  279. package/lib/components/Stepper/Step/StepLabel.d.ts +2 -2
  280. package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -1
  281. package/lib/components/Stepper/Stepper.d.ts +2 -2
  282. package/lib/components/Stepper/Stepper.d.ts.map +1 -1
  283. package/lib/components/Stepper/Stepper.js +23 -8
  284. package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -1
  285. package/lib/components/StickyBar/StickyBar.d.ts +4 -4
  286. package/lib/components/StickyBar/StickyBar.d.ts.map +1 -1
  287. package/lib/components/SubMenu/SubMenu.d.ts +2 -2
  288. package/lib/components/SubMenu/SubMenu.d.ts.map +1 -1
  289. package/lib/components/SubMenu/SubMenuGroup.d.ts +2 -2
  290. package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -1
  291. package/lib/components/SubMenu/SubMenuGroup.js +14 -11
  292. package/lib/components/SubMenu/SubMenuItem.d.ts +8 -8
  293. package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -1
  294. package/lib/components/SubMenu/SubMenuItem.js +16 -24
  295. package/lib/components/SubMenu/SubMenuLink.d.ts +3 -3
  296. package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -1
  297. package/lib/components/SubMenu/SubMenuLink.js +4 -8
  298. package/lib/components/Table/BasicTable.stories.d.ts +6 -6
  299. package/lib/components/Table/BasicTable.stories.d.ts.map +1 -1
  300. package/lib/components/Table/BulkActions.stories.d.ts.map +1 -1
  301. package/lib/components/Table/Cell.d.ts +3 -3
  302. package/lib/components/Table/Cell.d.ts.map +1 -1
  303. package/lib/components/Table/Cell.js +3 -7
  304. package/lib/components/Table/DefaultRow.d.ts +4 -4
  305. package/lib/components/Table/DefaultRow.d.ts.map +1 -1
  306. package/lib/components/Table/DefaultTableHeader.d.ts +4 -4
  307. package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -1
  308. package/lib/components/Table/DefaultTableHeader.js +2 -9
  309. package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -1
  310. package/lib/components/Table/StaticTable.d.ts.map +1 -1
  311. package/lib/components/Table/StaticTable.js +13 -56
  312. package/lib/components/Table/Table.d.ts +7 -7
  313. package/lib/components/Table/Table.d.ts.map +1 -1
  314. package/lib/components/Table/Table.js +2 -24
  315. package/lib/components/Table/TableActionBar.d.ts +2 -2
  316. package/lib/components/Table/TableActionBar.d.ts.map +1 -1
  317. package/lib/components/Table/TableBottomBar.d.ts +2 -2
  318. package/lib/components/Table/TableBottomBar.d.ts.map +1 -1
  319. package/lib/components/Table/TableTopBar.d.ts +2 -2
  320. package/lib/components/Table/TableTopBar.d.ts.map +1 -1
  321. package/lib/components/Table/hooks.d.ts.map +1 -1
  322. package/lib/components/Table/hooks.js +4 -12
  323. package/lib/components/Tabs/Tab/Tab.d.ts +6 -4
  324. package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -1
  325. package/lib/components/Tabs/Tab/Tab.js +28 -8
  326. package/lib/components/Tabs/TabList/TabDropdown.d.ts +2 -2
  327. package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -1
  328. package/lib/components/Tabs/TabList/TabDropdown.js +3 -9
  329. package/lib/components/Tabs/TabList/TabList.d.ts +4 -3
  330. package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -1
  331. package/lib/components/Tabs/TabList/TabList.js +40 -50
  332. package/lib/components/Tabs/TabList/TabList.stories.d.ts +22 -0
  333. package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -1
  334. package/lib/components/Text/Text.d.ts +4 -4
  335. package/lib/components/Text/Text.d.ts.map +1 -1
  336. package/lib/components/Text/Text.js +0 -1
  337. package/lib/components/TextTile/TextTile.d.ts +2 -2
  338. package/lib/components/TextTile/TextTile.d.ts.map +1 -1
  339. package/lib/components/Textarea/Textarea.d.ts +6 -7
  340. package/lib/components/Textarea/Textarea.d.ts.map +1 -1
  341. package/lib/components/Textarea/Textarea.js +7 -17
  342. package/lib/components/Timeline/Timeline.d.ts +2 -2
  343. package/lib/components/Timeline/Timeline.d.ts.map +1 -1
  344. package/lib/components/Timeline/Timeline.js +20 -14
  345. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +2 -2
  346. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
  347. package/lib/components/Timeline/TimelineItem/TimelineItem.js +2 -9
  348. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -1
  349. package/lib/components/Toast/Toast.d.ts +8 -8
  350. package/lib/components/Toast/Toast.d.ts.map +1 -1
  351. package/lib/components/Toast/Toast.js +31 -24
  352. package/lib/components/Toast/ToastContainer.d.ts.map +1 -1
  353. package/lib/components/Toast/ToastContainer.js +7 -6
  354. package/lib/components/Toast/ToastManager.d.ts +5 -5
  355. package/lib/components/Toast/ToastManager.d.ts.map +1 -1
  356. package/lib/components/Toast/ToastManager.js +1 -2
  357. package/lib/components/Toggle/Toggle.d.ts +2 -2
  358. package/lib/components/Toggle/Toggle.d.ts.map +1 -1
  359. package/lib/components/Toggle/Toggle.js +2 -6
  360. package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -1
  361. package/lib/components/TokenListInput/TokenListInput.d.ts +13 -11
  362. package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -1
  363. package/lib/components/TokenListInput/TokenListInput.js +24 -38
  364. package/lib/components/TokenListInput/TokenListInput.stories.d.ts +3 -4
  365. package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +1 -1
  366. package/lib/components/TokenListInput/TokenValueChips.d.ts +4 -4
  367. package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -1
  368. package/lib/components/TokenListInput/TokenValueChips.js +14 -17
  369. package/lib/components/Tooltip/Tooltip.d.ts +5 -6
  370. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
  371. package/lib/components/Tooltip/Tooltip.js +10 -9
  372. package/lib/components/Truncate/Truncate.d.ts +2 -2
  373. package/lib/components/Truncate/Truncate.d.ts.map +1 -1
  374. package/lib/components/Truncate/Truncate.js +4 -5
  375. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +3 -3
  376. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -1
  377. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +19 -10
  378. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +1 -1
  379. package/lib/components/Typeahead/SimpleTypeahead.d.ts +5 -6
  380. package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -1
  381. package/lib/components/Typeahead/SimpleTypeahead.js +1 -5
  382. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -1
  383. package/lib/components/Typeahead/Typeahead.d.ts +5 -6
  384. package/lib/components/Typeahead/Typeahead.d.ts.map +1 -1
  385. package/lib/components/Typeahead/Typeahead.js +14 -11
  386. package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -1
  387. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +4 -4
  388. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -1
  389. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -1
  390. package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts.map +1 -1
  391. package/lib/flow-to-typescript-codemod.d.ts +1 -21
  392. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +2 -2
  393. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -1
  394. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -1
  395. package/lib/hooks/useFileUpload/useFileUpload.d.ts +2 -2
  396. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -1
  397. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -1
  398. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +4 -4
  399. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -1
  400. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +1 -1
  401. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +2 -2
  402. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -1
  403. package/lib/hooks/useInputState/useInputState.d.ts.map +1 -1
  404. package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +1 -1
  405. package/lib/hooks/useModal/useModal.d.ts +13 -5
  406. package/lib/hooks/useModal/useModal.d.ts.map +1 -1
  407. package/lib/hooks/useToastPortal/useToastPortal.d.ts +2 -2
  408. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -1
  409. package/lib/hooks/useToggle/useToggle.d.ts.map +1 -1
  410. package/lib/hooks/useWindowSize/useWindowSize.d.ts +2 -2
  411. package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +1 -1
  412. package/lib/stories/Border/Border.stories.d.ts.map +1 -1
  413. package/lib/stories/Color/Color.stories.d.ts.map +1 -1
  414. package/lib/stories/Elevation/Elevation.stories.d.ts.map +1 -1
  415. package/lib/stories/Motion/Motion.stories.d.ts.map +1 -1
  416. package/lib/stories/Opacity/Opacity.stories.d.ts.map +1 -1
  417. package/lib/stories/Shadow/Shadow.stories.d.ts.map +1 -1
  418. package/lib/stories/Size/Size.stories.d.ts.map +1 -1
  419. package/lib/stories/Space/Space.stories.d.ts.map +1 -1
  420. package/lib/stories/Tokens/index.d.ts.map +1 -1
  421. package/lib/styles/index.css +2 -0
  422. package/lib/styles/index.d.ts +1 -0
  423. package/lib/styles/index.d.ts.map +1 -1
  424. package/lib/styles/index.js +2 -1
  425. package/lib/styles/variables/_size.css +2 -0
  426. package/lib/styles/variables/_size.d.ts +1 -0
  427. package/lib/styles/variables/_size.d.ts.map +1 -1
  428. package/lib/styles/variables/_size.js +2 -1
  429. package/lib/types/charts.d.ts +35 -31
  430. package/lib/types/charts.d.ts.map +1 -1
  431. package/lib/types/date-range-picker.d.ts +8 -9
  432. package/lib/types/date-range-picker.d.ts.map +1 -1
  433. package/lib/types/menu.d.ts +2 -2
  434. package/lib/types/menu.d.ts.map +1 -1
  435. package/lib/types/toast.d.ts +9 -10
  436. package/lib/types/toast.d.ts.map +1 -1
  437. package/lib/utils/charts/charts.d.ts +1 -1
  438. package/lib/utils/charts/charts.d.ts.map +1 -1
  439. package/lib/utils/charts/donutChart.d.ts +2 -2
  440. package/lib/utils/charts/donutChart.d.ts.map +1 -1
  441. package/lib/utils/charts/donutChart.js +2 -0
  442. package/lib/utils/charts/funnelChart.d.ts.map +1 -1
  443. package/lib/utils/charts/helpers.d.ts +1 -1
  444. package/lib/utils/charts/helpers.d.ts.map +1 -1
  445. package/lib/utils/charts/sankeyChart.d.ts +2 -2
  446. package/lib/utils/charts/sankeyChart.d.ts.map +1 -1
  447. package/lib/utils/click-away/click-away.d.ts +11 -13
  448. package/lib/utils/click-away/click-away.d.ts.map +1 -1
  449. package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -1
  450. package/lib/utils/dom/dom.d.ts +2 -2
  451. package/lib/utils/dom/dom.d.ts.map +1 -1
  452. package/lib/utils/helpers/helpers.d.ts.map +1 -1
  453. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -1
  454. package/lib/utils/merge-refs/merge-refs.d.ts +2 -3
  455. package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -1
  456. package/lib/utils/merge-refs/merge-refs.js +13 -7
  457. package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -1
  458. package/lib/utils/token-list-input/token-list-input.d.ts +5 -5
  459. package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -1
  460. package/lib/utils/tokens/tokens.d.ts +7 -6
  461. package/lib/utils/tokens/tokens.d.ts.map +1 -1
  462. package/package.json +18 -10
  463. package/tsconfig.json +1 -1
@@ -308,6 +308,17 @@ export declare const _TextOnly: {
308
308
  args: {
309
309
  menu: MenuProps;
310
310
  size: string;
311
+ classNames?: Readonly<{
312
+ wrapper?: string;
313
+ icon?: string;
314
+ text?: string;
315
+ }>;
316
+ iconLeftName?: string;
317
+ iconLeftType?: import("../Icon").IconType;
318
+ iconRightName?: string;
319
+ iconRightType?: import("../Icon").IconType;
320
+ type?: import("../Button").ButtonType;
321
+ isFluid?: boolean;
311
322
  className?: string | undefined | undefined;
312
323
  ariaLabel?: string | undefined;
313
324
  form?: string | undefined | undefined;
@@ -318,8 +329,11 @@ export declare const _TextOnly: {
318
329
  disabled?: boolean | undefined;
319
330
  slot?: string | undefined | undefined;
320
331
  title?: string | undefined | undefined;
332
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
321
333
  name?: string | undefined | undefined;
322
- onClick?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined | undefined;
334
+ actionType?: import("../Button").ButtonActionType | undefined;
335
+ tabIndex?: number | undefined;
336
+ isLoading?: boolean | undefined;
323
337
  formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
324
338
  formEncType?: string | undefined | undefined;
325
339
  formMethod?: string | undefined | undefined;
@@ -343,7 +357,6 @@ export declare const _TextOnly: {
343
357
  lang?: string | undefined | undefined;
344
358
  nonce?: string | undefined | undefined;
345
359
  spellCheck?: (boolean | "true" | "false") | undefined;
346
- tabIndex?: number | undefined;
347
360
  translate?: "yes" | "no" | undefined | undefined;
348
361
  radioGroup?: string | undefined | undefined;
349
362
  about?: string | undefined | undefined;
@@ -598,19 +611,6 @@ export declare const _TextOnly: {
598
611
  onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
599
612
  onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
600
613
  onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
601
- actionType?: import("../Button").ButtonActionType | undefined;
602
- isLoading?: boolean | undefined;
603
- classNames?: Readonly<{
604
- wrapper?: string;
605
- icon?: string;
606
- text?: string;
607
- }>;
608
- iconLeftName?: string;
609
- iconLeftType?: import("../Icon").IconType;
610
- iconRightName?: string;
611
- iconRightType?: import("../Icon").IconType;
612
- type?: import("../Button").ButtonType;
613
- isFluid?: boolean;
614
614
  };
615
615
  };
616
616
  export declare const _TextWithTooltip: {
@@ -656,6 +656,17 @@ export declare const _TextWithTooltip: {
656
656
  groupTitleOptions?: Array<MenuGroupTitleOption>;
657
657
  };
658
658
  size: string;
659
+ classNames?: Readonly<{
660
+ wrapper?: string;
661
+ icon?: string;
662
+ text?: string;
663
+ }>;
664
+ iconLeftName?: string;
665
+ iconLeftType?: import("../Icon").IconType;
666
+ iconRightName?: string;
667
+ iconRightType?: import("../Icon").IconType;
668
+ type?: import("../Button").ButtonType;
669
+ isFluid?: boolean;
659
670
  className?: string | undefined | undefined;
660
671
  ariaLabel?: string | undefined;
661
672
  form?: string | undefined | undefined;
@@ -666,8 +677,11 @@ export declare const _TextWithTooltip: {
666
677
  disabled?: boolean | undefined;
667
678
  slot?: string | undefined | undefined;
668
679
  title?: string | undefined | undefined;
680
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
669
681
  name?: string | undefined | undefined;
670
- onClick?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined | undefined;
682
+ actionType?: import("../Button").ButtonActionType | undefined;
683
+ tabIndex?: number | undefined;
684
+ isLoading?: boolean | undefined;
671
685
  formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
672
686
  formEncType?: string | undefined | undefined;
673
687
  formMethod?: string | undefined | undefined;
@@ -691,7 +705,6 @@ export declare const _TextWithTooltip: {
691
705
  lang?: string | undefined | undefined;
692
706
  nonce?: string | undefined | undefined;
693
707
  spellCheck?: (boolean | "true" | "false") | undefined;
694
- tabIndex?: number | undefined;
695
708
  translate?: "yes" | "no" | undefined | undefined;
696
709
  radioGroup?: string | undefined | undefined;
697
710
  about?: string | undefined | undefined;
@@ -946,19 +959,6 @@ export declare const _TextWithTooltip: {
946
959
  onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
947
960
  onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
948
961
  onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
949
- actionType?: import("../Button").ButtonActionType | undefined;
950
- isLoading?: boolean | undefined;
951
- classNames?: Readonly<{
952
- wrapper?: string;
953
- icon?: string;
954
- text?: string;
955
- }>;
956
- iconLeftName?: string;
957
- iconLeftType?: import("../Icon").IconType;
958
- iconRightName?: string;
959
- iconRightType?: import("../Icon").IconType;
960
- type?: import("../Button").ButtonType;
961
- isFluid?: boolean;
962
962
  };
963
963
  };
964
964
  export declare const _WithSearch: {
@@ -1002,6 +1002,17 @@ export declare const _WithSearch: {
1002
1002
  groupTitleOptions?: Array<MenuGroupTitleOption>;
1003
1003
  };
1004
1004
  size: string;
1005
+ classNames?: Readonly<{
1006
+ wrapper?: string;
1007
+ icon?: string;
1008
+ text?: string;
1009
+ }>;
1010
+ iconLeftName?: string;
1011
+ iconLeftType?: import("../Icon").IconType;
1012
+ iconRightName?: string;
1013
+ iconRightType?: import("../Icon").IconType;
1014
+ type?: import("../Button").ButtonType;
1015
+ isFluid?: boolean;
1005
1016
  className?: string | undefined | undefined;
1006
1017
  ariaLabel?: string | undefined;
1007
1018
  form?: string | undefined | undefined;
@@ -1012,8 +1023,11 @@ export declare const _WithSearch: {
1012
1023
  disabled?: boolean | undefined;
1013
1024
  slot?: string | undefined | undefined;
1014
1025
  title?: string | undefined | undefined;
1026
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
1015
1027
  name?: string | undefined | undefined;
1016
- onClick?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined | undefined;
1028
+ actionType?: import("../Button").ButtonActionType | undefined;
1029
+ tabIndex?: number | undefined;
1030
+ isLoading?: boolean | undefined;
1017
1031
  formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
1018
1032
  formEncType?: string | undefined | undefined;
1019
1033
  formMethod?: string | undefined | undefined;
@@ -1037,7 +1051,6 @@ export declare const _WithSearch: {
1037
1051
  lang?: string | undefined | undefined;
1038
1052
  nonce?: string | undefined | undefined;
1039
1053
  spellCheck?: (boolean | "true" | "false") | undefined;
1040
- tabIndex?: number | undefined;
1041
1054
  translate?: "yes" | "no" | undefined | undefined;
1042
1055
  radioGroup?: string | undefined | undefined;
1043
1056
  about?: string | undefined | undefined;
@@ -1292,8 +1305,13 @@ export declare const _WithSearch: {
1292
1305
  onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1293
1306
  onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1294
1307
  onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1295
- actionType?: import("../Button").ButtonActionType | undefined;
1296
- isLoading?: boolean | undefined;
1308
+ };
1309
+ };
1310
+ export declare const _TextAndIcon: {
1311
+ (args: ButtonDropdownProps): React.JSX.Element;
1312
+ args: {
1313
+ menu: MenuProps;
1314
+ size: string;
1297
1315
  classNames?: Readonly<{
1298
1316
  wrapper?: string;
1299
1317
  icon?: string;
@@ -1305,13 +1323,6 @@ export declare const _WithSearch: {
1305
1323
  iconRightType?: import("../Icon").IconType;
1306
1324
  type?: import("../Button").ButtonType;
1307
1325
  isFluid?: boolean;
1308
- };
1309
- };
1310
- export declare const _TextAndIcon: {
1311
- (args: ButtonDropdownProps): React.JSX.Element;
1312
- args: {
1313
- menu: MenuProps;
1314
- size: string;
1315
1326
  className?: string | undefined | undefined;
1316
1327
  ariaLabel?: string | undefined;
1317
1328
  form?: string | undefined | undefined;
@@ -1322,8 +1333,11 @@ export declare const _TextAndIcon: {
1322
1333
  disabled?: boolean | undefined;
1323
1334
  slot?: string | undefined | undefined;
1324
1335
  title?: string | undefined | undefined;
1336
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
1325
1337
  name?: string | undefined | undefined;
1326
- onClick?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined | undefined;
1338
+ actionType?: import("../Button").ButtonActionType | undefined;
1339
+ tabIndex?: number | undefined;
1340
+ isLoading?: boolean | undefined;
1327
1341
  formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
1328
1342
  formEncType?: string | undefined | undefined;
1329
1343
  formMethod?: string | undefined | undefined;
@@ -1347,7 +1361,6 @@ export declare const _TextAndIcon: {
1347
1361
  lang?: string | undefined | undefined;
1348
1362
  nonce?: string | undefined | undefined;
1349
1363
  spellCheck?: (boolean | "true" | "false") | undefined;
1350
- tabIndex?: number | undefined;
1351
1364
  translate?: "yes" | "no" | undefined | undefined;
1352
1365
  radioGroup?: string | undefined | undefined;
1353
1366
  about?: string | undefined | undefined;
@@ -1602,8 +1615,16 @@ export declare const _TextAndIcon: {
1602
1615
  onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1603
1616
  onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1604
1617
  onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1605
- actionType?: import("../Button").ButtonActionType | undefined;
1606
- isLoading?: boolean | undefined;
1618
+ };
1619
+ };
1620
+ export declare const _IconOnly: {
1621
+ (args: ButtonDropdownProps): React.JSX.Element;
1622
+ args: {
1623
+ menu: MenuProps;
1624
+ size: string;
1625
+ tooltip: {
1626
+ body: string;
1627
+ };
1607
1628
  classNames?: Readonly<{
1608
1629
  wrapper?: string;
1609
1630
  icon?: string;
@@ -1615,16 +1636,6 @@ export declare const _TextAndIcon: {
1615
1636
  iconRightType?: import("../Icon").IconType;
1616
1637
  type?: import("../Button").ButtonType;
1617
1638
  isFluid?: boolean;
1618
- };
1619
- };
1620
- export declare const _IconOnly: {
1621
- (args: ButtonDropdownProps): React.JSX.Element;
1622
- args: {
1623
- menu: MenuProps;
1624
- size: string;
1625
- tooltip: {
1626
- body: string;
1627
- };
1628
1639
  className?: string | undefined | undefined;
1629
1640
  ariaLabel?: string | undefined;
1630
1641
  form?: string | undefined | undefined;
@@ -1635,8 +1646,11 @@ export declare const _IconOnly: {
1635
1646
  disabled?: boolean | undefined;
1636
1647
  slot?: string | undefined | undefined;
1637
1648
  title?: string | undefined | undefined;
1649
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
1638
1650
  name?: string | undefined | undefined;
1639
- onClick?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined | undefined;
1651
+ actionType?: import("../Button").ButtonActionType | undefined;
1652
+ tabIndex?: number | undefined;
1653
+ isLoading?: boolean | undefined;
1640
1654
  formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
1641
1655
  formEncType?: string | undefined | undefined;
1642
1656
  formMethod?: string | undefined | undefined;
@@ -1660,7 +1674,6 @@ export declare const _IconOnly: {
1660
1674
  lang?: string | undefined | undefined;
1661
1675
  nonce?: string | undefined | undefined;
1662
1676
  spellCheck?: (boolean | "true" | "false") | undefined;
1663
- tabIndex?: number | undefined;
1664
1677
  translate?: "yes" | "no" | undefined | undefined;
1665
1678
  radioGroup?: string | undefined | undefined;
1666
1679
  about?: string | undefined | undefined;
@@ -1915,19 +1928,6 @@ export declare const _IconOnly: {
1915
1928
  onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1916
1929
  onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1917
1930
  onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1918
- actionType?: import("../Button").ButtonActionType | undefined;
1919
- isLoading?: boolean | undefined;
1920
- classNames?: Readonly<{
1921
- wrapper?: string;
1922
- icon?: string;
1923
- text?: string;
1924
- }>;
1925
- iconLeftName?: string;
1926
- iconLeftType?: import("../Icon").IconType;
1927
- iconRightName?: string;
1928
- iconRightType?: import("../Icon").IconType;
1929
- type?: import("../Button").ButtonType;
1930
- isFluid?: boolean;
1931
1931
  };
1932
1932
  };
1933
1933
  export declare const _DynamicIcon: {
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonDropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonDropdown/ButtonDropdown.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAC,oBAAoB,EAAE,UAAU,EAAE,SAAS,EAAC,MAAM,SAAS,CAAC;AAKzE,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+H1D,wBA+QE;AAEF,eAAO,MAAM,SAAS;WAAU,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrD,CAAC;AAQF,eAAO,MAAM,SAAS;WAAU,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlD,CAAC;AASF,eAAO,MAAM,YAAY;WAAU,mBAAmB;;;;;;;CAarD,CAAC;AAgBF,eAAO,MAAM,mBAAmB;WAAU,mBAAmB;;;;;;;;;CAY5D,CAAC;AAkBF,eAAO,MAAM,iBAAiB;WAAU,mBAAmB;;;;;;CAuC1D,CAAC;AAeF,eAAO,MAAM,cAAc;WAAU,mBAAmB;;;;;;CAwBvD,CAAC;AAOF,eAAO,MAAM,oBAAoB;WAAU,mBAAmB;;;;;;CAE7D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,MAAM,mBAAmB,sBAoD5D,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { Flow } from 'flow-to-typescript-codemod';
3
3
  import type { MenuClassNames, MenuLabelTooltip } from '../../types/menu';
4
- import type { Over } from '../../types/utils';
5
4
  import type { ClickAwayRefType } from '../../utils/click-away';
6
5
  import type { ButtonProps } from '../Button';
7
6
  import type { MenuOption, MenuOptionsVariant, Virtualization } from '../Menu';
@@ -12,10 +11,10 @@ type ClassNames = Readonly<{
12
11
  dropdownContainer?: string;
13
12
  buttonIcon?: string;
14
13
  }>;
15
- export type SimpleButtonDropdownRef = {
14
+ export interface SimpleButtonDropdownRef {
16
15
  selectedKeys?: Array<string>;
17
- };
18
- export type SimpleButtonDropdownProps = Over<ButtonProps, {
16
+ }
17
+ export interface SimpleButtonDropdownProps extends Omit<ButtonProps, 'elevation' | 'classNames' | 'anchorPosition' | 'tooltip' | 'options' | 'optionsVariant' | 'allowSearch' | 'selectedKeys' | 'menuVirtualization' | 'header' | 'footer' | 'menuClassNames' | 'showLabelTooltip' | 'allowWrap' | 'onOptionSelect' | 'onMenuOpen' | 'onMenuClose' | 'resolveLabel' | 'resolveSecondaryLabel' | 'clickAwayRef'> {
19
18
  elevation?: ElevationType;
20
19
  classNames?: ClassNames;
21
20
  anchorPosition?: AnchorType;
@@ -35,8 +34,8 @@ export type SimpleButtonDropdownProps = Over<ButtonProps, {
35
34
  onMenuClose?: () => unknown;
36
35
  resolveLabel?: (option: MenuOption) => string | React.ReactNode;
37
36
  resolveSecondaryLabel?: (option: MenuOption) => string | React.ReactNode;
38
- clickAwayRef?: ClickAwayRefType;
39
- }>;
37
+ clickAwayRef?: React.RefObject<ClickAwayRefType | null>;
38
+ }
40
39
  export declare const SimpleButtonDropdown: Flow.AbstractComponent<SimpleButtonDropdownProps, SimpleButtonDropdownRef>;
41
40
  export {};
42
41
  //# sourceMappingURL=SimpleButtonDropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleButtonDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonDropdown/SimpleButtonDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAErD,OAAO,KAAK,EAAC,cAAc,EAAE,gBAAgB,EAAC,MAAM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,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,GAAG,SAAS,KACxD,OAAO,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChE,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACzE,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CACzD;AA8GD,eAAO,MAAM,oBAAoB,EAAE,IAAI,CAAC,iBAAiB,CACvD,yBAAyB,EACzB,uBAAuB,CAGxB,CAAC"}
@@ -40,7 +40,6 @@ const SimpleButtonDropdownBase = (props, ref) => {
40
40
  React.useEffect(() => {
41
41
  const newBtnText = (0, _menu.getButtonLabelFromSelectedKeys)(selectedKeys, children);
42
42
  setButtonDropdownSelectedKeys(selectedKeys);
43
- // @ts-ignore - TS2345 - Argument of type 'ReactNode' is not assignable to parameter of type 'SetStateAction<string>'.
44
43
  setBtnText(newBtnText);
45
44
  }, [selectedKeys]);
46
45
  const handleOptionChange = (selectedOption, e) => {
@@ -53,14 +52,11 @@ const SimpleButtonDropdownBase = (props, ref) => {
53
52
  }
54
53
  const newBtnText = (0, _menu.getButtonLabelFromSelectedKeys)(newSelectedKeys, children);
55
54
  setButtonDropdownSelectedKeys(newSelectedKeys);
56
- // @ts-ignore - TS2345 - Argument of type 'ReactNode' is not assignable to parameter of type 'SetStateAction<string>'.
57
55
  setBtnText(newBtnText);
58
56
  setTimeout(() => {
59
57
  onOptionSelect?.(selectedOption, e);
60
58
  });
61
59
  };
62
-
63
- // @ts-ignore - TS2345 - Argument of type '{ current: SimpleButtonDropdownRef | null; } | ((arg1: SimpleButtonDropdownRef | null) => unknown)' is not assignable to parameter of type 'Ref<SimpleButtonDropdownRef> | undefined'.
64
60
  React.useImperativeHandle(ref, () => ({
65
61
  selectedKeys: buttonDropdownSelectedKeys
66
62
  }));
@@ -92,8 +88,4 @@ const SimpleButtonDropdownBase = (props, ref) => {
92
88
  }
93
89
  }), optionsVariant === 'checkbox' ? btnText : children);
94
90
  };
95
-
96
- // @ts-ignore - TS2345 - Argument of type '(props: SimpleButtonDropdownProps, ref: { current: null | SimpleButtonDropdownRef; } | ((arg1: null | SimpleButtonDropdownRef) => unknown)) => React.JSX.Element' is not assignable to parameter of type 'ForwardRefRenderFunction<SimpleButtonDropdownProps, SimpleButtonDropdownRef>'.
97
- const SimpleButtonDropdown = exports.SimpleButtonDropdown = /*#__PURE__*/React.forwardRef(
98
- //@ts-expect-error
99
- SimpleButtonDropdownBase);
91
+ const SimpleButtonDropdown = exports.SimpleButtonDropdown = /*#__PURE__*/React.forwardRef(SimpleButtonDropdownBase);