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

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 (1106) hide show
  1. package/.cspell/custom-words.txt +3 -0
  2. package/.github/CODEOWNERS +0 -5
  3. package/.github/workflows/pull_request_checks.yml +4 -4
  4. package/.storybook/main.ts +7 -1
  5. package/.storybook/public/component-parent-levels.json +95 -0
  6. package/.type-coverage +13 -0
  7. package/CHANGELOG.md +50 -0
  8. package/cspell.json +0 -1
  9. package/design-tokens/size/base-size.json +3 -0
  10. package/eslint.config.mjs +85 -37
  11. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +1 -1
  12. package/lib/components/Accordion/Accordion.d.ts +2 -2
  13. package/lib/components/Accordion/Accordion.d.ts.map +1 -1
  14. package/lib/components/Accordion/Accordion.js +4 -4
  15. package/lib/components/Accordion/Accordion.stories.d.ts +1 -1
  16. package/lib/components/Accordion/Accordion.stories.d.ts.map +1 -1
  17. package/lib/components/Accordion/AccordionGroup.d.ts +2 -2
  18. package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -1
  19. package/lib/components/Accordion/AccordionGroup.js +2 -2
  20. package/lib/components/Accordion/AccordionGroup.stories.d.ts +1 -1
  21. package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -1
  22. package/lib/components/Accordion/index.d.ts +2 -2
  23. package/lib/components/Accordion/index.d.ts.map +1 -1
  24. package/lib/components/Accordion/index.js +2 -2
  25. package/lib/components/Avatar/Avatar.d.ts +8 -8
  26. package/lib/components/Avatar/Avatar.d.ts.map +1 -1
  27. package/lib/components/Avatar/Avatar.js +10 -19
  28. package/lib/components/Avatar/Avatar.stories.d.ts +1 -1
  29. package/lib/components/Avatar/Avatar.stories.d.ts.map +1 -1
  30. package/lib/components/Avatar/index.d.ts +1 -1
  31. package/lib/components/Avatar/index.d.ts.map +1 -1
  32. package/lib/components/Avatar/index.js +1 -1
  33. package/lib/components/AvatarGroup/AvatarGroup.d.ts +4 -4
  34. package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  35. package/lib/components/AvatarGroup/AvatarGroup.js +33 -20
  36. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +1 -1
  37. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -1
  38. package/lib/components/AvatarGroup/index.d.ts +1 -1
  39. package/lib/components/AvatarGroup/index.d.ts.map +1 -1
  40. package/lib/components/AvatarGroup/index.js +1 -1
  41. package/lib/components/Badge/Badge.d.ts +8 -9
  42. package/lib/components/Badge/Badge.d.ts.map +1 -1
  43. package/lib/components/Badge/Badge.js +5 -5
  44. package/lib/components/Badge/Badge.stories.d.ts +1 -1
  45. package/lib/components/Badge/Badge.stories.d.ts.map +1 -1
  46. package/lib/components/Badge/index.d.ts +1 -1
  47. package/lib/components/Badge/index.d.ts.map +1 -1
  48. package/lib/components/Badge/index.js +1 -1
  49. package/lib/components/BadgedIcon/BadgedIcon.d.ts +3 -3
  50. package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -1
  51. package/lib/components/BadgedIcon/BadgedIcon.js +6 -9
  52. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +1 -1
  53. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +1 -1
  54. package/lib/components/BadgedIcon/index.d.ts +1 -1
  55. package/lib/components/BadgedIcon/index.d.ts.map +1 -1
  56. package/lib/components/BadgedIcon/index.js +1 -1
  57. package/lib/components/Banner/Banner.d.ts +3 -4
  58. package/lib/components/Banner/Banner.d.ts.map +1 -1
  59. package/lib/components/Banner/Banner.js +4 -4
  60. package/lib/components/Banner/Banner.stories.d.ts +1 -1
  61. package/lib/components/Banner/Banner.stories.d.ts.map +1 -1
  62. package/lib/components/Banner/index.d.ts +1 -1
  63. package/lib/components/Banner/index.d.ts.map +1 -1
  64. package/lib/components/Banner/index.js +1 -1
  65. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +3 -4
  66. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
  67. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +5 -7
  68. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +1 -1
  69. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +1 -1
  70. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +1 -1
  71. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +1 -1
  72. package/lib/components/Breadcrumbs/BreadcrumbLink/index.js +1 -1
  73. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +3 -3
  74. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  75. package/lib/components/Breadcrumbs/Breadcrumbs.js +8 -9
  76. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
  77. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  78. package/lib/components/Breadcrumbs/index.d.ts +2 -2
  79. package/lib/components/Breadcrumbs/index.d.ts.map +1 -1
  80. package/lib/components/Breadcrumbs/index.js +2 -2
  81. package/lib/components/Button/Button.d.ts +8 -9
  82. package/lib/components/Button/Button.d.ts.map +1 -1
  83. package/lib/components/Button/Button.js +12 -26
  84. package/lib/components/Button/Button.stories.d.ts +1 -1
  85. package/lib/components/Button/Button.stories.d.ts.map +1 -1
  86. package/lib/components/Button/index.d.ts +2 -2
  87. package/lib/components/Button/index.d.ts.map +1 -1
  88. package/lib/components/Button/index.js +1 -1
  89. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +7 -8
  90. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -1
  91. package/lib/components/ButtonDropdown/ButtonDropdown.js +14 -24
  92. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +82 -82
  93. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -1
  94. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +11 -12
  95. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -1
  96. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +3 -11
  97. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +113 -113
  98. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -1
  99. package/lib/components/ButtonDropdown/index.d.ts +2 -2
  100. package/lib/components/ButtonDropdown/index.d.ts.map +1 -1
  101. package/lib/components/ButtonDropdown/index.js +2 -2
  102. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +3 -3
  103. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -1
  104. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js +3 -3
  105. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +1 -1
  106. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +1 -1
  107. package/lib/components/ButtonTabs/ButtonTab/index.d.ts +1 -1
  108. package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +1 -1
  109. package/lib/components/ButtonTabs/ButtonTab/index.js +1 -1
  110. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +5 -6
  111. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -1
  112. package/lib/components/ButtonTabs/ButtonTabDropdown.js +13 -22
  113. package/lib/components/ButtonTabs/ButtonTabs.d.ts +4 -4
  114. package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -1
  115. package/lib/components/ButtonTabs/ButtonTabs.js +5 -6
  116. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +1 -1
  117. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +1 -1
  118. package/lib/components/ButtonTabs/index.d.ts +2 -2
  119. package/lib/components/ButtonTabs/index.d.ts.map +1 -1
  120. package/lib/components/ButtonTabs/index.js +2 -2
  121. package/lib/components/Card/Card.d.ts +9 -7
  122. package/lib/components/Card/Card.d.ts.map +1 -1
  123. package/lib/components/Card/Card.js +6 -11
  124. package/lib/components/Card/Card.stories.d.ts +1 -1
  125. package/lib/components/Card/Card.stories.d.ts.map +1 -1
  126. package/lib/components/Card/index.d.ts +1 -1
  127. package/lib/components/Card/index.d.ts.map +1 -1
  128. package/lib/components/Card/index.js +1 -1
  129. package/lib/components/Charts/ChartTooltip/index.d.ts +1 -1
  130. package/lib/components/Charts/ChartTooltip/index.d.ts.map +1 -1
  131. package/lib/components/Charts/ChartTooltip/index.js +2 -2
  132. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +9 -4
  133. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -1
  134. package/lib/components/Charts/ChartWrapper/ChartWrapper.js +11 -13
  135. package/lib/components/Charts/ChartWrapper/index.d.ts +1 -1
  136. package/lib/components/Charts/ChartWrapper/index.d.ts.map +1 -1
  137. package/lib/components/Charts/ChartWrapper/index.js +1 -1
  138. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +10 -7
  139. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
  140. package/lib/components/Charts/ColumnChart/ColumnChart.js +20 -14
  141. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +1 -1
  142. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +1 -1
  143. package/lib/components/Charts/ColumnChart/index.d.ts +1 -1
  144. package/lib/components/Charts/ColumnChart/index.d.ts.map +1 -1
  145. package/lib/components/Charts/ColumnChart/index.js +1 -1
  146. package/lib/components/Charts/DonutChart/DonutChart.d.ts +6 -7
  147. package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
  148. package/lib/components/Charts/DonutChart/DonutChart.js +6 -7
  149. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +1 -1
  150. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +1 -1
  151. package/lib/components/Charts/DonutChart/index.d.ts +1 -1
  152. package/lib/components/Charts/DonutChart/index.d.ts.map +1 -1
  153. package/lib/components/Charts/DonutChart/index.js +1 -1
  154. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +6 -7
  155. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
  156. package/lib/components/Charts/FunnelChart/FunnelChart.js +5 -5
  157. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +2 -2
  158. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +1 -1
  159. package/lib/components/Charts/FunnelChart/index.d.ts +1 -1
  160. package/lib/components/Charts/FunnelChart/index.d.ts.map +1 -1
  161. package/lib/components/Charts/FunnelChart/index.js +1 -1
  162. package/lib/components/Charts/LineChart/LineChart.d.ts +6 -7
  163. package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
  164. package/lib/components/Charts/LineChart/LineChart.js +4 -4
  165. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +2 -2
  166. package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +1 -1
  167. package/lib/components/Charts/LineChart/index.d.ts +1 -1
  168. package/lib/components/Charts/LineChart/index.d.ts.map +1 -1
  169. package/lib/components/Charts/LineChart/index.js +1 -1
  170. package/lib/components/Charts/SankeyChart/SankeyChart.d.ts +4 -5
  171. package/lib/components/Charts/SankeyChart/SankeyChart.d.ts.map +1 -1
  172. package/lib/components/Charts/SankeyChart/SankeyChart.js +4 -4
  173. package/lib/components/Charts/SankeyChart/SankeyChart.stories.d.ts +2 -2
  174. package/lib/components/Charts/SankeyChart/SankeyChart.stories.d.ts.map +1 -1
  175. package/lib/components/Charts/SankeyChart/index.d.ts +1 -1
  176. package/lib/components/Charts/SankeyChart/index.d.ts.map +1 -1
  177. package/lib/components/Charts/SankeyChart/index.js +1 -1
  178. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +6 -7
  179. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
  180. package/lib/components/Charts/SpiderChart/SpiderChart.js +4 -4
  181. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +2 -2
  182. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +1 -1
  183. package/lib/components/Charts/SpiderChart/index.d.ts +1 -1
  184. package/lib/components/Charts/SpiderChart/index.d.ts.map +1 -1
  185. package/lib/components/Charts/SpiderChart/index.js +1 -1
  186. package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts +6 -7
  187. package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts.map +1 -1
  188. package/lib/components/Charts/StackedBarChart/StackedBarChart.js +4 -4
  189. package/lib/components/Charts/StackedBarChart/StackedBarChart.stories.d.ts +1 -1
  190. package/lib/components/Charts/StackedBarChart/StackedBarChart.stories.d.ts.map +1 -1
  191. package/lib/components/Charts/StackedBarChart/index.d.ts +1 -1
  192. package/lib/components/Charts/StackedBarChart/index.d.ts.map +1 -1
  193. package/lib/components/Charts/StackedBarChart/index.js +1 -1
  194. package/lib/components/Charts/index.d.ts +9 -9
  195. package/lib/components/Charts/index.d.ts.map +1 -1
  196. package/lib/components/Charts/index.js +9 -9
  197. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +1 -1
  198. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +1 -1
  199. package/lib/components/ChatBubble/ChatBubble.d.ts +16 -16
  200. package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
  201. package/lib/components/ChatBubble/ChatBubble.js +16 -9
  202. package/lib/components/ChatBubble/ChatBubble.stories.d.ts +1 -1
  203. package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +1 -1
  204. package/lib/components/ChatBubble/index.d.ts +1 -1
  205. package/lib/components/ChatBubble/index.d.ts.map +1 -1
  206. package/lib/components/ChatBubble/index.js +1 -1
  207. package/lib/components/Checkbox/Checkbox.d.ts +3 -4
  208. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  209. package/lib/components/Checkbox/Checkbox.js +4 -5
  210. package/lib/components/Checkbox/Checkbox.stories.d.ts +1 -1
  211. package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
  212. package/lib/components/Checkbox/CheckboxGroup.d.ts +3 -3
  213. package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
  214. package/lib/components/Checkbox/CheckboxGroup.js +11 -15
  215. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +3 -4
  216. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -1
  217. package/lib/components/Checkbox/index.d.ts +2 -2
  218. package/lib/components/Checkbox/index.d.ts.map +1 -1
  219. package/lib/components/Checkbox/index.js +2 -2
  220. package/lib/components/Chip/Chip.d.ts +11 -12
  221. package/lib/components/Chip/Chip.d.ts.map +1 -1
  222. package/lib/components/Chip/Chip.js +12 -18
  223. package/lib/components/Chip/Chip.stories.d.ts +1 -1
  224. package/lib/components/Chip/Chip.stories.d.ts.map +1 -1
  225. package/lib/components/Chip/index.d.ts +2 -2
  226. package/lib/components/Chip/index.d.ts.map +1 -1
  227. package/lib/components/Chip/index.js +1 -1
  228. package/lib/components/CircularLoader/CircularLoader.d.ts +3 -3
  229. package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -1
  230. package/lib/components/CircularLoader/CircularLoader.js +3 -3
  231. package/lib/components/CircularLoader/CircularLoader.stories.d.ts +1 -1
  232. package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +1 -1
  233. package/lib/components/CircularLoader/index.d.ts +1 -1
  234. package/lib/components/CircularLoader/index.d.ts.map +1 -1
  235. package/lib/components/CircularLoader/index.js +1 -1
  236. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +7 -7
  237. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -1
  238. package/lib/components/CollapsibleCard/CollapsibleCard.js +5 -5
  239. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +1 -1
  240. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +1 -1
  241. package/lib/components/CollapsibleCard/index.d.ts +1 -1
  242. package/lib/components/CollapsibleCard/index.d.ts.map +1 -1
  243. package/lib/components/CollapsibleCard/index.js +1 -1
  244. package/lib/components/Combobox/Combobox.d.ts +19 -19
  245. package/lib/components/Combobox/Combobox.d.ts.map +1 -1
  246. package/lib/components/Combobox/Combobox.js +21 -24
  247. package/lib/components/Combobox/Combobox.stories.d.ts +2 -2
  248. package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -1
  249. package/lib/components/Combobox/helper.d.ts +1 -1
  250. package/lib/components/Combobox/helper.d.ts.map +1 -1
  251. package/lib/components/Combobox/helper.js +0 -1
  252. package/lib/components/Combobox/index.d.ts +1 -1
  253. package/lib/components/Combobox/index.d.ts.map +1 -1
  254. package/lib/components/Combobox/index.js +1 -1
  255. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +2 -2
  256. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -1
  257. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +1 -1
  258. package/lib/components/ConditionalWrapper/index.d.ts +1 -1
  259. package/lib/components/ConditionalWrapper/index.d.ts.map +1 -1
  260. package/lib/components/ConditionalWrapper/index.js +1 -1
  261. package/lib/components/DateRangePicker/Calendar.d.ts +5 -5
  262. package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -1
  263. package/lib/components/DateRangePicker/Calendar.js +7 -11
  264. package/lib/components/DateRangePicker/DateRangePicker.d.ts +3 -3
  265. package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  266. package/lib/components/DateRangePicker/DateRangePicker.js +5 -5
  267. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +1 -1
  268. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -1
  269. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +4 -4
  270. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -1
  271. package/lib/components/DateRangePicker/DateRangeWrapper.js +17 -25
  272. package/lib/components/DateRangePicker/Day.d.ts +2 -2
  273. package/lib/components/DateRangePicker/Day.d.ts.map +1 -1
  274. package/lib/components/DateRangePicker/Day.js +4 -4
  275. package/lib/components/DateRangePicker/index.d.ts +1 -1
  276. package/lib/components/DateRangePicker/index.d.ts.map +1 -1
  277. package/lib/components/DateRangePicker/index.js +1 -1
  278. package/lib/components/Dialog/Dialog.d.ts +11 -12
  279. package/lib/components/Dialog/Dialog.d.ts.map +1 -1
  280. package/lib/components/Dialog/Dialog.js +6 -6
  281. package/lib/components/Dialog/Dialog.stories.d.ts +1 -1
  282. package/lib/components/Dialog/Dialog.stories.d.ts.map +1 -1
  283. package/lib/components/Dialog/index.d.ts +1 -1
  284. package/lib/components/Dialog/index.d.ts.map +1 -1
  285. package/lib/components/Dialog/index.js +1 -1
  286. package/lib/components/Disclaimer/Disclaimer.d.ts +1 -1
  287. package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -1
  288. package/lib/components/Disclaimer/Disclaimer.js +3 -4
  289. package/lib/components/Disclaimer/Disclaimer.stories.d.ts +1 -1
  290. package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +1 -1
  291. package/lib/components/Disclaimer/index.d.ts +1 -1
  292. package/lib/components/Disclaimer/index.d.ts.map +1 -1
  293. package/lib/components/Disclaimer/index.js +1 -1
  294. package/lib/components/Dropdown/Dropdown.d.ts +7 -8
  295. package/lib/components/Dropdown/Dropdown.d.ts.map +1 -1
  296. package/lib/components/Dropdown/Dropdown.js +26 -27
  297. package/lib/components/Dropdown/Dropdown.stories.d.ts +11 -11
  298. package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -1
  299. package/lib/components/Dropdown/SimpleDropdown.d.ts +10 -11
  300. package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -1
  301. package/lib/components/Dropdown/SimpleDropdown.js +3 -9
  302. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +3 -3
  303. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -1
  304. package/lib/components/Dropdown/index.d.ts +2 -2
  305. package/lib/components/Dropdown/index.d.ts.map +1 -1
  306. package/lib/components/Dropdown/index.js +2 -2
  307. package/lib/components/EmptyState/EmptyImages/index.d.ts +6 -6
  308. package/lib/components/EmptyState/EmptyImages/index.d.ts.map +1 -1
  309. package/lib/components/EmptyState/EmptyImages/index.js +6 -6
  310. package/lib/components/EmptyState/EmptyState.d.ts +2 -2
  311. package/lib/components/EmptyState/EmptyState.d.ts.map +1 -1
  312. package/lib/components/EmptyState/EmptyState.js +3 -3
  313. package/lib/components/EmptyState/EmptyState.stories.d.ts +1 -1
  314. package/lib/components/EmptyState/EmptyState.stories.d.ts.map +1 -1
  315. package/lib/components/EmptyState/index.d.ts +1 -1
  316. package/lib/components/EmptyState/index.d.ts.map +1 -1
  317. package/lib/components/EmptyState/index.js +1 -1
  318. package/lib/components/ErrorMessage/ErrorImages/index.d.ts +4 -4
  319. package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +1 -1
  320. package/lib/components/ErrorMessage/ErrorImages/index.js +4 -4
  321. package/lib/components/ErrorMessage/ErrorMessage.d.ts +2 -2
  322. package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
  323. package/lib/components/ErrorMessage/ErrorMessage.js +3 -3
  324. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +1 -1
  325. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -1
  326. package/lib/components/ErrorMessage/index.d.ts +1 -1
  327. package/lib/components/ErrorMessage/index.d.ts.map +1 -1
  328. package/lib/components/ErrorMessage/index.js +1 -1
  329. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +3 -3
  330. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -1
  331. package/lib/components/FileUpload/FileBlock/FileBlock.js +5 -5
  332. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +1 -1
  333. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +1 -1
  334. package/lib/components/FileUpload/FileBlock/index.d.ts +1 -1
  335. package/lib/components/FileUpload/FileBlock/index.d.ts.map +1 -1
  336. package/lib/components/FileUpload/FileBlock/index.js +1 -1
  337. package/lib/components/FileUpload/FileUpload.d.ts +14 -13
  338. package/lib/components/FileUpload/FileUpload.d.ts.map +1 -1
  339. package/lib/components/FileUpload/FileUpload.js +8 -13
  340. package/lib/components/FileUpload/FileUpload.stories.d.ts +3 -2
  341. package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -1
  342. package/lib/components/FileUpload/index.d.ts +2 -2
  343. package/lib/components/FileUpload/index.d.ts.map +1 -1
  344. package/lib/components/FileUpload/index.js +2 -2
  345. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +7 -8
  346. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -1
  347. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +9 -17
  348. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +1 -1
  349. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -1
  350. package/lib/components/FilterButtonOverlay/index.d.ts +1 -1
  351. package/lib/components/FilterButtonOverlay/index.d.ts.map +1 -1
  352. package/lib/components/FilterButtonOverlay/index.js +1 -1
  353. package/lib/components/FocusManager/FocusManager.d.ts +2 -2
  354. package/lib/components/FocusManager/FocusManager.d.ts.map +1 -1
  355. package/lib/components/FocusManager/FocusManager.js +2 -2
  356. package/lib/components/FocusManager/FocusManager.stories.d.ts +1 -1
  357. package/lib/components/FocusManager/FocusManager.stories.d.ts.map +1 -1
  358. package/lib/components/FocusManager/index.d.ts +1 -1
  359. package/lib/components/FocusManager/index.d.ts.map +1 -1
  360. package/lib/components/FocusManager/index.js +1 -1
  361. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +5 -6
  362. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -1
  363. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +23 -19
  364. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +1 -1
  365. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -1
  366. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +1 -1
  367. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +1 -1
  368. package/lib/components/FocusManagerWithArrowKeyNavigation/index.js +1 -1
  369. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +4 -4
  370. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -1
  371. package/lib/components/FormTitleWrapper/FormTitleWrapper.js +3 -3
  372. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +1 -1
  373. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +1 -1
  374. package/lib/components/FormTitleWrapper/index.d.ts +1 -1
  375. package/lib/components/FormTitleWrapper/index.d.ts.map +1 -1
  376. package/lib/components/FormTitleWrapper/index.js +1 -1
  377. package/lib/components/Grid/Col.stories.d.ts +2 -2
  378. package/lib/components/Grid/Col.stories.d.ts.map +1 -1
  379. package/lib/components/Grid/Grid.d.ts +7 -7
  380. package/lib/components/Grid/Grid.d.ts.map +1 -1
  381. package/lib/components/Grid/Grid.js +8 -15
  382. package/lib/components/Grid/GridPatterns.stories.d.ts +1 -1
  383. package/lib/components/Grid/GridPatterns.stories.d.ts.map +1 -1
  384. package/lib/components/Grid/Row.stories.d.ts +2 -2
  385. package/lib/components/Grid/Row.stories.d.ts.map +1 -1
  386. package/lib/components/Grid/index.d.ts +1 -1
  387. package/lib/components/Grid/index.d.ts.map +1 -1
  388. package/lib/components/Grid/index.js +1 -1
  389. package/lib/components/Icon/ClickableIcon.d.ts +8 -8
  390. package/lib/components/Icon/ClickableIcon.d.ts.map +1 -1
  391. package/lib/components/Icon/ClickableIcon.js +7 -7
  392. package/lib/components/Icon/Icon.d.ts +4 -4
  393. package/lib/components/Icon/Icon.d.ts.map +1 -1
  394. package/lib/components/Icon/Icon.docs.js +2 -2
  395. package/lib/components/Icon/Icon.js +4 -6
  396. package/lib/components/Icon/Icon.stories.d.ts +2 -2
  397. package/lib/components/Icon/Icon.stories.d.ts.map +1 -1
  398. package/lib/components/Icon/SemanticIcon.d.ts +4 -5
  399. package/lib/components/Icon/SemanticIcon.d.ts.map +1 -1
  400. package/lib/components/Icon/SemanticIcon.js +4 -4
  401. package/lib/components/Icon/SemanticIcon.stories.d.ts +1 -1
  402. package/lib/components/Icon/SemanticIcon.stories.d.ts.map +1 -1
  403. package/lib/components/Icon/index.d.ts +3 -3
  404. package/lib/components/Icon/index.d.ts.map +1 -1
  405. package/lib/components/Icon/index.js +3 -3
  406. package/lib/components/InContextAlert/InContextAlert.d.ts +10 -9
  407. package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
  408. package/lib/components/InContextAlert/InContextAlert.js +16 -14
  409. package/lib/components/InContextAlert/InContextAlert.stories.d.ts +1 -1
  410. package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -1
  411. package/lib/components/InContextAlert/index.d.ts +1 -1
  412. package/lib/components/InContextAlert/index.d.ts.map +1 -1
  413. package/lib/components/InContextAlert/index.js +1 -1
  414. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +5 -6
  415. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map +1 -1
  416. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +15 -14
  417. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts +1 -1
  418. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts.map +1 -1
  419. package/lib/components/InContextAlertWithMultipleActions/index.d.ts +1 -1
  420. package/lib/components/InContextAlertWithMultipleActions/index.d.ts.map +1 -1
  421. package/lib/components/InContextAlertWithMultipleActions/index.js +1 -1
  422. package/lib/components/InfinitePagination/InfinitePagination.d.ts +1 -1
  423. package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -1
  424. package/lib/components/InfinitePagination/InfinitePagination.js +15 -16
  425. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +1 -1
  426. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -1
  427. package/lib/components/InfinitePagination/index.d.ts +1 -1
  428. package/lib/components/InfinitePagination/index.d.ts.map +1 -1
  429. package/lib/components/InfinitePagination/index.js +1 -1
  430. package/lib/components/InlineDropdown/InlineDropdown.d.ts +8 -9
  431. package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -1
  432. package/lib/components/InlineDropdown/InlineDropdown.js +20 -25
  433. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +55 -55
  434. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -1
  435. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +11 -12
  436. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -1
  437. package/lib/components/InlineDropdown/SimpleInlineDropdown.js +4 -13
  438. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +87 -87
  439. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -1
  440. package/lib/components/InlineDropdown/index.d.ts +2 -2
  441. package/lib/components/InlineDropdown/index.d.ts.map +1 -1
  442. package/lib/components/InlineDropdown/index.js +2 -2
  443. package/lib/components/Input/Input.d.ts +18 -17
  444. package/lib/components/Input/Input.d.ts.map +1 -1
  445. package/lib/components/Input/Input.js +11 -24
  446. package/lib/components/Input/Input.stories.d.ts +1 -1
  447. package/lib/components/Input/Input.stories.d.ts.map +1 -1
  448. package/lib/components/Input/NativeColorpicker.stories.d.ts +1 -1
  449. package/lib/components/Input/NativeColorpicker.stories.d.ts.map +1 -1
  450. package/lib/components/Input/NativeDatepicker.stories.d.ts +1 -1
  451. package/lib/components/Input/NativeDatepicker.stories.d.ts.map +1 -1
  452. package/lib/components/Input/index.d.ts +1 -1
  453. package/lib/components/Input/index.d.ts.map +1 -1
  454. package/lib/components/Input/index.js +1 -1
  455. package/lib/components/KPIBox/KPIBox.d.ts +4 -4
  456. package/lib/components/KPIBox/KPIBox.d.ts.map +1 -1
  457. package/lib/components/KPIBox/KPIBox.js +3 -3
  458. package/lib/components/KPIBox/KPIBox.stories.d.ts +1 -1
  459. package/lib/components/KPIBox/KPIBox.stories.d.ts.map +1 -1
  460. package/lib/components/KPIBox/index.d.ts +1 -1
  461. package/lib/components/KPIBox/index.d.ts.map +1 -1
  462. package/lib/components/KPIBox/index.js +1 -1
  463. package/lib/components/LinearLoader/LinearLoader.d.ts +2 -2
  464. package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -1
  465. package/lib/components/LinearLoader/LinearLoader.js +4 -4
  466. package/lib/components/LinearLoader/LinearLoader.stories.d.ts +1 -1
  467. package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +1 -1
  468. package/lib/components/LinearLoader/index.d.ts +1 -1
  469. package/lib/components/LinearLoader/index.d.ts.map +1 -1
  470. package/lib/components/LinearLoader/index.js +1 -1
  471. package/lib/components/Link/Link.d.ts +7 -8
  472. package/lib/components/Link/Link.d.ts.map +1 -1
  473. package/lib/components/Link/Link.js +9 -18
  474. package/lib/components/Link/Link.stories.d.ts +1 -1
  475. package/lib/components/Link/Link.stories.d.ts.map +1 -1
  476. package/lib/components/Link/index.d.ts +1 -1
  477. package/lib/components/Link/index.d.ts.map +1 -1
  478. package/lib/components/Link/index.js +1 -1
  479. package/lib/components/Menu/Menu.d.ts +14 -14
  480. package/lib/components/Menu/Menu.d.ts.map +1 -1
  481. package/lib/components/Menu/Menu.js +9 -11
  482. package/lib/components/Menu/Menu.stories.d.ts +1 -1
  483. package/lib/components/Menu/Menu.stories.d.ts.map +1 -1
  484. package/lib/components/Menu/MenuOptionButton.d.ts +4 -5
  485. package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -1
  486. package/lib/components/Menu/MenuOptionButton.js +8 -9
  487. package/lib/components/Menu/index.d.ts +2 -2
  488. package/lib/components/Menu/index.d.ts.map +1 -1
  489. package/lib/components/Menu/index.js +2 -2
  490. package/lib/components/Modal/Modal.d.ts +12 -30
  491. package/lib/components/Modal/Modal.d.ts.map +1 -1
  492. package/lib/components/Modal/Modal.js +15 -18
  493. package/lib/components/Modal/Modal.stories.d.ts +1 -1
  494. package/lib/components/Modal/Modal.stories.d.ts.map +1 -1
  495. package/lib/components/Modal/index.d.ts +2 -2
  496. package/lib/components/Modal/index.d.ts.map +1 -1
  497. package/lib/components/Modal/index.js +1 -1
  498. package/lib/components/Notification/Notification.d.ts +9 -8
  499. package/lib/components/Notification/Notification.d.ts.map +1 -1
  500. package/lib/components/Notification/Notification.js +12 -9
  501. package/lib/components/Notification/Notification.stories.d.ts +1 -1
  502. package/lib/components/Notification/Notification.stories.d.ts.map +1 -1
  503. package/lib/components/Notification/index.d.ts +1 -1
  504. package/lib/components/Notification/index.d.ts.map +1 -1
  505. package/lib/components/Notification/index.js +1 -1
  506. package/lib/components/OptionButton/OptionButton.d.ts +11 -12
  507. package/lib/components/OptionButton/OptionButton.d.ts.map +1 -1
  508. package/lib/components/OptionButton/OptionButton.js +8 -8
  509. package/lib/components/OptionButton/OptionButton.stories.d.ts +6 -6
  510. package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -1
  511. package/lib/components/OptionButton/SimpleOptionButton.d.ts +12 -13
  512. package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
  513. package/lib/components/OptionButton/SimpleOptionButton.js +3 -9
  514. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +59 -59
  515. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -1
  516. package/lib/components/OptionButton/index.d.ts +2 -2
  517. package/lib/components/OptionButton/index.d.ts.map +1 -1
  518. package/lib/components/OptionButton/index.js +2 -2
  519. package/lib/components/PageTitle/PageTitle.d.ts +9 -8
  520. package/lib/components/PageTitle/PageTitle.d.ts.map +1 -1
  521. package/lib/components/PageTitle/PageTitle.js +22 -17
  522. package/lib/components/PageTitle/PageTitle.stories.d.ts +1 -1
  523. package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -1
  524. package/lib/components/PageTitle/index.d.ts +1 -1
  525. package/lib/components/PageTitle/index.d.ts.map +1 -1
  526. package/lib/components/PageTitle/index.js +1 -1
  527. package/lib/components/Pagination/Pagination.d.ts +10 -12
  528. package/lib/components/Pagination/Pagination.d.ts.map +1 -1
  529. package/lib/components/Pagination/Pagination.js +8 -8
  530. package/lib/components/Pagination/Pagination.stories.d.ts +2 -10
  531. package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -1
  532. package/lib/components/Pagination/PaginationItem.d.ts +1 -1
  533. package/lib/components/Pagination/PaginationItem.d.ts.map +1 -1
  534. package/lib/components/Pagination/PaginationItem.js +4 -7
  535. package/lib/components/Pagination/index.d.ts +1 -1
  536. package/lib/components/Pagination/index.d.ts.map +1 -1
  537. package/lib/components/Pagination/index.js +1 -1
  538. package/lib/components/Panel/Panel.d.ts +10 -11
  539. package/lib/components/Panel/Panel.d.ts.map +1 -1
  540. package/lib/components/Panel/Panel.js +8 -8
  541. package/lib/components/Panel/Panel.stories.d.ts +1 -1
  542. package/lib/components/Panel/Panel.stories.d.ts.map +1 -1
  543. package/lib/components/Panel/index.d.ts +2 -2
  544. package/lib/components/Panel/index.d.ts.map +1 -1
  545. package/lib/components/Panel/index.js +1 -1
  546. package/lib/components/ProgressDonut/ProgressDonut.d.ts +3 -3
  547. package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -1
  548. package/lib/components/ProgressDonut/ProgressDonut.js +6 -7
  549. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +1 -1
  550. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +1 -1
  551. package/lib/components/ProgressDonut/index.d.ts +1 -1
  552. package/lib/components/ProgressDonut/index.d.ts.map +1 -1
  553. package/lib/components/ProgressDonut/index.js +1 -1
  554. package/lib/components/PromptChip/PromptChip.d.ts +6 -4
  555. package/lib/components/PromptChip/PromptChip.d.ts.map +1 -1
  556. package/lib/components/PromptChip/PromptChip.js +12 -11
  557. package/lib/components/PromptChip/PromptChip.stories.d.ts +1 -1
  558. package/lib/components/PromptChip/PromptChip.stories.d.ts.map +1 -1
  559. package/lib/components/PromptChip/index.d.ts +1 -1
  560. package/lib/components/PromptChip/index.d.ts.map +1 -1
  561. package/lib/components/PromptChip/index.js +1 -1
  562. package/lib/components/PromptInput/PromptInput.d.ts +8 -8
  563. package/lib/components/PromptInput/PromptInput.d.ts.map +1 -1
  564. package/lib/components/PromptInput/PromptInput.js +7 -14
  565. package/lib/components/PromptInput/PromptInput.stories.d.ts +1 -1
  566. package/lib/components/PromptInput/PromptInput.stories.d.ts.map +1 -1
  567. package/lib/components/PromptInput/index.d.ts +1 -1
  568. package/lib/components/PromptInput/index.d.ts.map +1 -1
  569. package/lib/components/PromptInput/index.js +1 -1
  570. package/lib/components/RadioButton/RadioButton.d.ts +3 -4
  571. package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
  572. package/lib/components/RadioButton/RadioButton.js +3 -4
  573. package/lib/components/RadioButton/RadioButton.stories.d.ts +1 -1
  574. package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -1
  575. package/lib/components/RadioButton/RadioGroup.d.ts +3 -3
  576. package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -1
  577. package/lib/components/RadioButton/RadioGroup.js +5 -4
  578. package/lib/components/RadioButton/RadioGroup.stories.d.ts +1 -1
  579. package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -1
  580. package/lib/components/RadioButton/index.d.ts +2 -2
  581. package/lib/components/RadioButton/index.d.ts.map +1 -1
  582. package/lib/components/RadioButton/index.js +2 -2
  583. package/lib/components/RadioTile/RadioTile.d.ts +4 -4
  584. package/lib/components/RadioTile/RadioTile.d.ts.map +1 -1
  585. package/lib/components/RadioTile/RadioTile.js +9 -11
  586. package/lib/components/RadioTile/RadioTile.stories.d.ts +1 -1
  587. package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -1
  588. package/lib/components/RadioTile/index.d.ts +1 -1
  589. package/lib/components/RadioTile/index.d.ts.map +1 -1
  590. package/lib/components/RadioTile/index.js +1 -1
  591. package/lib/components/RangeSlider/RangeSlider.d.ts +3 -3
  592. package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -1
  593. package/lib/components/RangeSlider/RangeSlider.js +6 -9
  594. package/lib/components/RangeSlider/RangeSlider.stories.d.ts +1 -1
  595. package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +1 -1
  596. package/lib/components/RangeSlider/index.d.ts +1 -1
  597. package/lib/components/RangeSlider/index.d.ts.map +1 -1
  598. package/lib/components/RangeSlider/index.js +1 -1
  599. package/lib/components/Rating/Rating.d.ts +4 -4
  600. package/lib/components/Rating/Rating.d.ts.map +1 -1
  601. package/lib/components/Rating/Rating.js +8 -8
  602. package/lib/components/Rating/Rating.stories.d.ts +1 -1
  603. package/lib/components/Rating/Rating.stories.d.ts.map +1 -1
  604. package/lib/components/Rating/index.d.ts +1 -1
  605. package/lib/components/Rating/index.d.ts.map +1 -1
  606. package/lib/components/Rating/index.js +1 -1
  607. package/lib/components/ScoreBar/ScoreBar.d.ts +2 -2
  608. package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
  609. package/lib/components/ScoreBar/ScoreBar.js +6 -6
  610. package/lib/components/ScoreBar/ScoreBar.stories.d.ts +1 -1
  611. package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +1 -1
  612. package/lib/components/ScoreBar/index.d.ts +1 -1
  613. package/lib/components/ScoreBar/index.d.ts.map +1 -1
  614. package/lib/components/ScoreBar/index.js +1 -1
  615. package/lib/components/SearchInput/SearchInput.d.ts +3 -4
  616. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
  617. package/lib/components/SearchInput/SearchInput.js +4 -4
  618. package/lib/components/SearchInput/SearchInput.stories.d.ts +1 -1
  619. package/lib/components/SearchInput/SearchInput.stories.d.ts.map +1 -1
  620. package/lib/components/SearchInput/index.d.ts +2 -2
  621. package/lib/components/SearchInput/index.d.ts.map +1 -1
  622. package/lib/components/SearchInput/index.js +1 -1
  623. package/lib/components/Separator/Separator.d.ts +2 -2
  624. package/lib/components/Separator/Separator.d.ts.map +1 -1
  625. package/lib/components/Separator/Separator.js +3 -3
  626. package/lib/components/Separator/Separator.stories.d.ts +1 -1
  627. package/lib/components/Separator/Separator.stories.d.ts.map +1 -1
  628. package/lib/components/Separator/index.d.ts +1 -1
  629. package/lib/components/Separator/index.d.ts.map +1 -1
  630. package/lib/components/Separator/index.js +1 -1
  631. package/lib/components/Shimmer/Shimmer.d.ts +6 -6
  632. package/lib/components/Shimmer/Shimmer.d.ts.map +1 -1
  633. package/lib/components/Shimmer/Shimmer.js +6 -8
  634. package/lib/components/Shimmer/Shimmer.stories.d.ts +1 -1
  635. package/lib/components/Shimmer/Shimmer.stories.d.ts.map +1 -1
  636. package/lib/components/Shimmer/index.d.ts +1 -1
  637. package/lib/components/Shimmer/index.d.ts.map +1 -1
  638. package/lib/components/Shimmer/index.js +1 -1
  639. package/lib/components/SideMenuLink/SideMenuLink.d.ts +5 -5
  640. package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -1
  641. package/lib/components/SideMenuLink/SideMenuLink.js +12 -18
  642. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +1 -1
  643. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -1
  644. package/lib/components/SideMenuLink/index.d.ts +1 -1
  645. package/lib/components/SideMenuLink/index.d.ts.map +1 -1
  646. package/lib/components/SideMenuLink/index.js +1 -1
  647. package/lib/components/StatusIndicator/StatusIndicator.d.ts +3 -3
  648. package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
  649. package/lib/components/StatusIndicator/StatusIndicator.js +3 -3
  650. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +1 -1
  651. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +1 -1
  652. package/lib/components/StatusIndicator/index.d.ts +1 -1
  653. package/lib/components/StatusIndicator/index.d.ts.map +1 -1
  654. package/lib/components/StatusIndicator/index.js +1 -1
  655. package/lib/components/Stepper/Step/Step.d.ts +3 -3
  656. package/lib/components/Stepper/Step/Step.d.ts.map +1 -1
  657. package/lib/components/Stepper/Step/Step.js +16 -13
  658. package/lib/components/Stepper/Step/Step.stories.d.ts +3 -3
  659. package/lib/components/Stepper/Step/Step.stories.d.ts.map +1 -1
  660. package/lib/components/Stepper/Step/StepContent.d.ts +2 -2
  661. package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -1
  662. package/lib/components/Stepper/Step/StepContent.js +2 -2
  663. package/lib/components/Stepper/Step/StepLabel.d.ts +2 -2
  664. package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -1
  665. package/lib/components/Stepper/Step/StepLabel.js +2 -2
  666. package/lib/components/Stepper/Step/index.d.ts +3 -3
  667. package/lib/components/Stepper/Step/index.d.ts.map +1 -1
  668. package/lib/components/Stepper/Step/index.js +3 -3
  669. package/lib/components/Stepper/Stepper.d.ts +2 -2
  670. package/lib/components/Stepper/Stepper.d.ts.map +1 -1
  671. package/lib/components/Stepper/Stepper.js +25 -10
  672. package/lib/components/Stepper/Stepper.stories.d.ts +1 -1
  673. package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -1
  674. package/lib/components/Stepper/index.d.ts +2 -2
  675. package/lib/components/Stepper/index.d.ts.map +1 -1
  676. package/lib/components/Stepper/index.js +2 -2
  677. package/lib/components/StickyBar/StickyBar.d.ts +4 -4
  678. package/lib/components/StickyBar/StickyBar.d.ts.map +1 -1
  679. package/lib/components/StickyBar/StickyBar.js +2 -2
  680. package/lib/components/StickyBar/StickyBar.stories.d.ts +1 -1
  681. package/lib/components/StickyBar/StickyBar.stories.d.ts.map +1 -1
  682. package/lib/components/StickyBar/index.d.ts +1 -1
  683. package/lib/components/StickyBar/index.d.ts.map +1 -1
  684. package/lib/components/StickyBar/index.js +1 -1
  685. package/lib/components/SubMenu/SubMenu.d.ts +3 -3
  686. package/lib/components/SubMenu/SubMenu.d.ts.map +1 -1
  687. package/lib/components/SubMenu/SubMenu.js +5 -5
  688. package/lib/components/SubMenu/SubMenu.stories.d.ts +1 -1
  689. package/lib/components/SubMenu/SubMenu.stories.d.ts.map +1 -1
  690. package/lib/components/SubMenu/SubMenuGroup.d.ts +4 -4
  691. package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -1
  692. package/lib/components/SubMenu/SubMenuGroup.js +20 -17
  693. package/lib/components/SubMenu/SubMenuItem.d.ts +11 -11
  694. package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -1
  695. package/lib/components/SubMenu/SubMenuItem.js +21 -29
  696. package/lib/components/SubMenu/SubMenuLink.d.ts +4 -4
  697. package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -1
  698. package/lib/components/SubMenu/SubMenuLink.js +9 -13
  699. package/lib/components/SubMenu/index.d.ts +4 -4
  700. package/lib/components/SubMenu/index.d.ts.map +1 -1
  701. package/lib/components/SubMenu/index.js +4 -4
  702. package/lib/components/Table/BasicTable.stories.d.ts +7 -7
  703. package/lib/components/Table/BasicTable.stories.d.ts.map +1 -1
  704. package/lib/components/Table/BulkActions.stories.d.ts +1 -1
  705. package/lib/components/Table/BulkActions.stories.d.ts.map +1 -1
  706. package/lib/components/Table/Cell.d.ts +4 -4
  707. package/lib/components/Table/Cell.d.ts.map +1 -1
  708. package/lib/components/Table/Cell.js +8 -12
  709. package/lib/components/Table/DefaultRow.d.ts +7 -7
  710. package/lib/components/Table/DefaultRow.d.ts.map +1 -1
  711. package/lib/components/Table/DefaultRow.js +7 -7
  712. package/lib/components/Table/DefaultTableHeader.d.ts +7 -7
  713. package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -1
  714. package/lib/components/Table/DefaultTableHeader.js +9 -16
  715. package/lib/components/Table/InlineEdit.stories.d.ts +1 -1
  716. package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -1
  717. package/lib/components/Table/StaticTable.d.ts +3 -3
  718. package/lib/components/Table/StaticTable.d.ts.map +1 -1
  719. package/lib/components/Table/StaticTable.js +22 -65
  720. package/lib/components/Table/Table.d.ts +10 -10
  721. package/lib/components/Table/Table.d.ts.map +1 -1
  722. package/lib/components/Table/Table.js +4 -26
  723. package/lib/components/Table/TableActionBar.d.ts +4 -4
  724. package/lib/components/Table/TableActionBar.d.ts.map +1 -1
  725. package/lib/components/Table/TableActionBar.js +4 -4
  726. package/lib/components/Table/TableBottomBar.d.ts +2 -2
  727. package/lib/components/Table/TableBottomBar.d.ts.map +1 -1
  728. package/lib/components/Table/TableBottomBar.js +2 -2
  729. package/lib/components/Table/TableTopBar.d.ts +2 -2
  730. package/lib/components/Table/TableTopBar.d.ts.map +1 -1
  731. package/lib/components/Table/TableTopBar.js +2 -2
  732. package/lib/components/Table/hooks.d.ts +1 -1
  733. package/lib/components/Table/hooks.d.ts.map +1 -1
  734. package/lib/components/Table/hooks.js +4 -12
  735. package/lib/components/Table/index.d.ts +8 -8
  736. package/lib/components/Table/index.d.ts.map +1 -1
  737. package/lib/components/Table/index.js +8 -8
  738. package/lib/components/Tabs/Tab/Tab.d.ts +7 -5
  739. package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -1
  740. package/lib/components/Tabs/Tab/Tab.js +34 -14
  741. package/lib/components/Tabs/Tab/Tab.stories.d.ts +1 -1
  742. package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +1 -1
  743. package/lib/components/Tabs/Tab/index.d.ts +1 -1
  744. package/lib/components/Tabs/Tab/index.d.ts.map +1 -1
  745. package/lib/components/Tabs/Tab/index.js +1 -1
  746. package/lib/components/Tabs/TabList/TabDropdown.d.ts +6 -6
  747. package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -1
  748. package/lib/components/Tabs/TabList/TabDropdown.js +11 -17
  749. package/lib/components/Tabs/TabList/TabList.d.ts +5 -4
  750. package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -1
  751. package/lib/components/Tabs/TabList/TabList.js +46 -56
  752. package/lib/components/Tabs/TabList/TabList.stories.d.ts +23 -1
  753. package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -1
  754. package/lib/components/Tabs/TabList/index.d.ts +1 -1
  755. package/lib/components/Tabs/TabList/index.d.ts.map +1 -1
  756. package/lib/components/Tabs/TabList/index.js +1 -1
  757. package/lib/components/Tabs/index.d.ts +2 -2
  758. package/lib/components/Tabs/index.d.ts.map +1 -1
  759. package/lib/components/Tabs/index.js +2 -2
  760. package/lib/components/Text/HighlightedText.stories.d.ts +1 -1
  761. package/lib/components/Text/HighlightedText.stories.d.ts.map +1 -1
  762. package/lib/components/Text/Text.d.ts +5 -5
  763. package/lib/components/Text/Text.d.ts.map +1 -1
  764. package/lib/components/Text/Text.js +4 -5
  765. package/lib/components/Text/Text.stories.d.ts +1 -1
  766. package/lib/components/Text/Text.stories.d.ts.map +1 -1
  767. package/lib/components/Text/index.d.ts +3 -3
  768. package/lib/components/Text/index.d.ts.map +1 -1
  769. package/lib/components/Text/index.js +2 -2
  770. package/lib/components/TextTile/TextTile.d.ts +2 -2
  771. package/lib/components/TextTile/TextTile.d.ts.map +1 -1
  772. package/lib/components/TextTile/TextTile.js +4 -4
  773. package/lib/components/TextTile/TextTile.stories.d.ts +1 -1
  774. package/lib/components/TextTile/TextTile.stories.d.ts.map +1 -1
  775. package/lib/components/TextTile/index.d.ts +1 -1
  776. package/lib/components/TextTile/index.d.ts.map +1 -1
  777. package/lib/components/TextTile/index.js +1 -1
  778. package/lib/components/Textarea/Textarea.d.ts +6 -7
  779. package/lib/components/Textarea/Textarea.d.ts.map +1 -1
  780. package/lib/components/Textarea/Textarea.js +10 -20
  781. package/lib/components/Textarea/Textarea.stories.d.ts +1 -1
  782. package/lib/components/Textarea/Textarea.stories.d.ts.map +1 -1
  783. package/lib/components/Textarea/index.d.ts +2 -2
  784. package/lib/components/Textarea/index.d.ts.map +1 -1
  785. package/lib/components/Textarea/index.js +1 -1
  786. package/lib/components/Timeline/Timeline.d.ts +2 -2
  787. package/lib/components/Timeline/Timeline.d.ts.map +1 -1
  788. package/lib/components/Timeline/Timeline.js +22 -16
  789. package/lib/components/Timeline/Timeline.stories.d.ts +1 -1
  790. package/lib/components/Timeline/Timeline.stories.d.ts.map +1 -1
  791. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +5 -5
  792. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
  793. package/lib/components/Timeline/TimelineItem/TimelineItem.js +9 -16
  794. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +1 -1
  795. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -1
  796. package/lib/components/Timeline/TimelineItem/index.d.ts +1 -1
  797. package/lib/components/Timeline/TimelineItem/index.d.ts.map +1 -1
  798. package/lib/components/Timeline/TimelineItem/index.js +1 -1
  799. package/lib/components/Timeline/index.d.ts +2 -2
  800. package/lib/components/Timeline/index.d.ts.map +1 -1
  801. package/lib/components/Timeline/index.js +2 -2
  802. package/lib/components/Toast/Toast.d.ts +8 -8
  803. package/lib/components/Toast/Toast.d.ts.map +1 -1
  804. package/lib/components/Toast/Toast.js +36 -29
  805. package/lib/components/Toast/Toast.stories.d.ts +1 -1
  806. package/lib/components/Toast/Toast.stories.d.ts.map +1 -1
  807. package/lib/components/Toast/ToastContainer.d.ts.map +1 -1
  808. package/lib/components/Toast/ToastContainer.js +12 -11
  809. package/lib/components/Toast/ToastManager.d.ts +5 -5
  810. package/lib/components/Toast/ToastManager.d.ts.map +1 -1
  811. package/lib/components/Toast/ToastManager.js +2 -3
  812. package/lib/components/Toast/index.d.ts +4 -4
  813. package/lib/components/Toast/index.d.ts.map +1 -1
  814. package/lib/components/Toast/index.js +3 -3
  815. package/lib/components/Toggle/Toggle.d.ts +2 -2
  816. package/lib/components/Toggle/Toggle.d.ts.map +1 -1
  817. package/lib/components/Toggle/Toggle.js +4 -8
  818. package/lib/components/Toggle/Toggle.stories.d.ts +1 -1
  819. package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -1
  820. package/lib/components/Toggle/index.d.ts +1 -1
  821. package/lib/components/Toggle/index.d.ts.map +1 -1
  822. package/lib/components/Toggle/index.js +1 -1
  823. package/lib/components/TokenListInput/TokenListInput.d.ts +18 -16
  824. package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -1
  825. package/lib/components/TokenListInput/TokenListInput.js +39 -53
  826. package/lib/components/TokenListInput/TokenListInput.stories.d.ts +6 -7
  827. package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +1 -1
  828. package/lib/components/TokenListInput/TokenValueChips.d.ts +4 -4
  829. package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -1
  830. package/lib/components/TokenListInput/TokenValueChips.js +16 -19
  831. package/lib/components/TokenListInput/index.d.ts +1 -1
  832. package/lib/components/TokenListInput/index.d.ts.map +1 -1
  833. package/lib/components/TokenListInput/index.js +1 -1
  834. package/lib/components/Tooltip/Tooltip.d.ts +5 -6
  835. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
  836. package/lib/components/Tooltip/Tooltip.js +17 -16
  837. package/lib/components/Tooltip/Tooltip.stories.d.ts +1 -1
  838. package/lib/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  839. package/lib/components/Tooltip/index.d.ts +1 -1
  840. package/lib/components/Tooltip/index.d.ts.map +1 -1
  841. package/lib/components/Tooltip/index.js +1 -1
  842. package/lib/components/Truncate/Truncate.d.ts +2 -2
  843. package/lib/components/Truncate/Truncate.d.ts.map +1 -1
  844. package/lib/components/Truncate/Truncate.js +6 -7
  845. package/lib/components/Truncate/Truncate.stories.d.ts +1 -1
  846. package/lib/components/Truncate/Truncate.stories.d.ts.map +1 -1
  847. package/lib/components/Truncate/index.d.ts +2 -2
  848. package/lib/components/Truncate/index.d.ts.map +1 -1
  849. package/lib/components/Truncate/index.js +1 -1
  850. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +4 -4
  851. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -1
  852. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +24 -15
  853. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +2 -2
  854. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +1 -1
  855. package/lib/components/TruncatedTextWithTooltip/index.d.ts +1 -1
  856. package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +1 -1
  857. package/lib/components/TruncatedTextWithTooltip/index.js +1 -1
  858. package/lib/components/Typeahead/SimpleTypeahead.d.ts +10 -11
  859. package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -1
  860. package/lib/components/Typeahead/SimpleTypeahead.js +3 -7
  861. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +3 -3
  862. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -1
  863. package/lib/components/Typeahead/Typeahead.d.ts +9 -10
  864. package/lib/components/Typeahead/Typeahead.d.ts.map +1 -1
  865. package/lib/components/Typeahead/Typeahead.js +23 -20
  866. package/lib/components/Typeahead/Typeahead.stories.d.ts +6 -6
  867. package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -1
  868. package/lib/components/Typeahead/index.d.ts +2 -2
  869. package/lib/components/Typeahead/index.d.ts.map +1 -1
  870. package/lib/components/Typeahead/index.js +2 -2
  871. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +4 -4
  872. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -1
  873. package/lib/components/WeekdayPicker/WeekdayPicker.js +3 -3
  874. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +1 -1
  875. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -1
  876. package/lib/components/WeekdayPicker/index.d.ts +1 -1
  877. package/lib/components/WeekdayPicker/index.d.ts.map +1 -1
  878. package/lib/components/WeekdayPicker/index.js +1 -1
  879. package/lib/components/index.d.ts +75 -75
  880. package/lib/components/index.d.ts.map +1 -1
  881. package/lib/components/index.js +75 -75
  882. package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts.map +1 -1
  883. package/lib/flow-to-typescript-codemod.d.ts +1 -21
  884. package/lib/hooks/index.d.ts +16 -16
  885. package/lib/hooks/index.d.ts.map +1 -1
  886. package/lib/hooks/index.js +16 -16
  887. package/lib/hooks/useArbitraryOptionAddition/index.d.ts +1 -1
  888. package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +1 -1
  889. package/lib/hooks/useArbitraryOptionAddition/index.js +1 -1
  890. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +3 -3
  891. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -1
  892. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +1 -1
  893. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +1 -1
  894. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -1
  895. package/lib/hooks/useCopyToClipboard/index.d.ts +1 -1
  896. package/lib/hooks/useCopyToClipboard/index.d.ts.map +1 -1
  897. package/lib/hooks/useCopyToClipboard/index.js +1 -1
  898. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +1 -1
  899. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +1 -1
  900. package/lib/hooks/useDebounce/index.d.ts +1 -1
  901. package/lib/hooks/useDebounce/index.d.ts.map +1 -1
  902. package/lib/hooks/useDebounce/index.js +1 -1
  903. package/lib/hooks/useDebounce/useDebounce.stories.d.ts +1 -1
  904. package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +1 -1
  905. package/lib/hooks/useFileUpload/index.d.ts +1 -1
  906. package/lib/hooks/useFileUpload/index.d.ts.map +1 -1
  907. package/lib/hooks/useFileUpload/index.js +1 -1
  908. package/lib/hooks/useFileUpload/useFileUpload.d.ts +3 -3
  909. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -1
  910. package/lib/hooks/useFileUpload/useFileUpload.js +1 -1
  911. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +1 -1
  912. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -1
  913. package/lib/hooks/useFilteredOptions/index.d.ts +1 -1
  914. package/lib/hooks/useFilteredOptions/index.d.ts.map +1 -1
  915. package/lib/hooks/useFilteredOptions/index.js +1 -1
  916. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +4 -4
  917. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -1
  918. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +1 -1
  919. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +1 -1
  920. package/lib/hooks/useInfiniteScroll/index.d.ts +1 -1
  921. package/lib/hooks/useInfiniteScroll/index.d.ts.map +1 -1
  922. package/lib/hooks/useInfiniteScroll/index.js +1 -1
  923. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +2 -2
  924. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -1
  925. package/lib/hooks/useInputState/index.d.ts +1 -1
  926. package/lib/hooks/useInputState/index.d.ts.map +1 -1
  927. package/lib/hooks/useInputState/index.js +1 -1
  928. package/lib/hooks/useInputState/useInputState.d.ts.map +1 -1
  929. package/lib/hooks/useLockedBody/index.d.ts +1 -1
  930. package/lib/hooks/useLockedBody/index.d.ts.map +1 -1
  931. package/lib/hooks/useLockedBody/index.js +1 -1
  932. package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +1 -1
  933. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +1 -1
  934. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +1 -1
  935. package/lib/hooks/useModal/index.d.ts +1 -1
  936. package/lib/hooks/useModal/index.d.ts.map +1 -1
  937. package/lib/hooks/useModal/index.js +1 -1
  938. package/lib/hooks/useModal/useModal.d.ts +16 -8
  939. package/lib/hooks/useModal/useModal.d.ts.map +1 -1
  940. package/lib/hooks/useModal/useModal.js +8 -6
  941. package/lib/hooks/useModal/useModal.stories.d.ts +2 -1
  942. package/lib/hooks/useModal/useModal.stories.d.ts.map +1 -1
  943. package/lib/hooks/usePagination/index.d.ts +1 -1
  944. package/lib/hooks/usePagination/index.d.ts.map +1 -1
  945. package/lib/hooks/usePagination/index.js +1 -1
  946. package/lib/hooks/usePagination/usePagination.d.ts +1 -1
  947. package/lib/hooks/usePagination/usePagination.d.ts.map +1 -1
  948. package/lib/hooks/usePagination/usePagination.js +1 -1
  949. package/lib/hooks/usePagination/usePagination.stories.d.ts +2 -2
  950. package/lib/hooks/useReferenceElementWidth/index.d.ts +1 -1
  951. package/lib/hooks/useReferenceElementWidth/index.d.ts.map +1 -1
  952. package/lib/hooks/useReferenceElementWidth/index.js +1 -1
  953. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js +1 -1
  954. package/lib/hooks/useResizeObserver/index.d.ts +1 -1
  955. package/lib/hooks/useResizeObserver/index.d.ts.map +1 -1
  956. package/lib/hooks/useResizeObserver/index.js +1 -1
  957. package/lib/hooks/useToastPortal/index.d.ts +1 -1
  958. package/lib/hooks/useToastPortal/index.d.ts.map +1 -1
  959. package/lib/hooks/useToastPortal/index.js +1 -1
  960. package/lib/hooks/useToastPortal/useToastPortal.d.ts +2 -2
  961. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -1
  962. package/lib/hooks/useToastPortal/useToastPortal.js +2 -2
  963. package/lib/hooks/useToggle/index.d.ts +1 -1
  964. package/lib/hooks/useToggle/index.d.ts.map +1 -1
  965. package/lib/hooks/useToggle/index.js +1 -1
  966. package/lib/hooks/useToggle/useToggle.d.ts.map +1 -1
  967. package/lib/hooks/useToggle/useToggle.stories.d.ts +1 -1
  968. package/lib/hooks/useToggle/useToggle.stories.d.ts.map +1 -1
  969. package/lib/hooks/useWindowSize/index.d.ts +1 -1
  970. package/lib/hooks/useWindowSize/index.d.ts.map +1 -1
  971. package/lib/hooks/useWindowSize/index.js +1 -1
  972. package/lib/hooks/useWindowSize/useWindowSize.d.ts +2 -2
  973. package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +1 -1
  974. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +1 -1
  975. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +1 -1
  976. package/lib/index.d.ts +5 -5
  977. package/lib/index.d.ts.map +1 -1
  978. package/lib/index.js +5 -5
  979. package/lib/stories/Border/Border.stories.d.ts.map +1 -1
  980. package/lib/stories/Color/Color.stories.d.ts.map +1 -1
  981. package/lib/stories/Elevation/Elevation.stories.d.ts.map +1 -1
  982. package/lib/stories/Motion/Motion.stories.d.ts.map +1 -1
  983. package/lib/stories/Opacity/Opacity.stories.d.ts.map +1 -1
  984. package/lib/stories/Shadow/Shadow.stories.d.ts.map +1 -1
  985. package/lib/stories/Size/Size.stories.d.ts.map +1 -1
  986. package/lib/stories/Space/Space.stories.d.ts.map +1 -1
  987. package/lib/stories/Tokens/index.d.ts.map +1 -1
  988. package/lib/styles/index.css +2 -0
  989. package/lib/styles/index.d.ts +1 -0
  990. package/lib/styles/index.d.ts.map +1 -1
  991. package/lib/styles/index.js +2 -1
  992. package/lib/styles/variables/_size.css +2 -0
  993. package/lib/styles/variables/_size.d.ts +1 -0
  994. package/lib/styles/variables/_size.d.ts.map +1 -1
  995. package/lib/styles/variables/_size.js +2 -1
  996. package/lib/types/charts.d.ts +35 -31
  997. package/lib/types/charts.d.ts.map +1 -1
  998. package/lib/types/date-range-picker.d.ts +8 -9
  999. package/lib/types/date-range-picker.d.ts.map +1 -1
  1000. package/lib/types/index.d.ts +7 -7
  1001. package/lib/types/index.d.ts.map +1 -1
  1002. package/lib/types/index.js +7 -7
  1003. package/lib/types/menu.d.ts +2 -2
  1004. package/lib/types/menu.d.ts.map +1 -1
  1005. package/lib/types/toast.d.ts +9 -10
  1006. package/lib/types/toast.d.ts.map +1 -1
  1007. package/lib/utils/array/index.d.ts +1 -1
  1008. package/lib/utils/array/index.d.ts.map +1 -1
  1009. package/lib/utils/array/index.js +1 -1
  1010. package/lib/utils/charts/charts.d.ts +2 -2
  1011. package/lib/utils/charts/charts.d.ts.map +1 -1
  1012. package/lib/utils/charts/charts.js +5 -5
  1013. package/lib/utils/charts/columnChart.d.ts +1 -1
  1014. package/lib/utils/charts/columnChart.d.ts.map +1 -1
  1015. package/lib/utils/charts/columnChart.js +3 -3
  1016. package/lib/utils/charts/donutChart.d.ts +3 -3
  1017. package/lib/utils/charts/donutChart.d.ts.map +1 -1
  1018. package/lib/utils/charts/donutChart.js +4 -2
  1019. package/lib/utils/charts/funnelChart.d.ts +2 -2
  1020. package/lib/utils/charts/funnelChart.d.ts.map +1 -1
  1021. package/lib/utils/charts/funnelChart.js +4 -4
  1022. package/lib/utils/charts/helpers.d.ts +1 -1
  1023. package/lib/utils/charts/helpers.d.ts.map +1 -1
  1024. package/lib/utils/charts/helpers.js +2 -2
  1025. package/lib/utils/charts/index.d.ts +10 -10
  1026. package/lib/utils/charts/index.d.ts.map +1 -1
  1027. package/lib/utils/charts/index.js +10 -10
  1028. package/lib/utils/charts/lineChart.d.ts +1 -1
  1029. package/lib/utils/charts/lineChart.d.ts.map +1 -1
  1030. package/lib/utils/charts/lineChart.js +4 -4
  1031. package/lib/utils/charts/sankeyChart.d.ts +3 -3
  1032. package/lib/utils/charts/sankeyChart.d.ts.map +1 -1
  1033. package/lib/utils/charts/sankeyChart.js +2 -2
  1034. package/lib/utils/charts/spiderChart.d.ts +1 -1
  1035. package/lib/utils/charts/spiderChart.d.ts.map +1 -1
  1036. package/lib/utils/charts/spiderChart.js +4 -4
  1037. package/lib/utils/charts/stackedBarChart.d.ts +1 -1
  1038. package/lib/utils/charts/stackedBarChart.d.ts.map +1 -1
  1039. package/lib/utils/charts/stackedBarChart.js +3 -3
  1040. package/lib/utils/charts/typography.js +2 -2
  1041. package/lib/utils/classify/classify.stories.d.ts +1 -1
  1042. package/lib/utils/classify/classify.stories.d.ts.map +1 -1
  1043. package/lib/utils/click-away/ClickAway.stories.d.ts +1 -1
  1044. package/lib/utils/click-away/ClickAway.stories.d.ts.map +1 -1
  1045. package/lib/utils/click-away/click-away.d.ts +11 -13
  1046. package/lib/utils/click-away/click-away.d.ts.map +1 -1
  1047. package/lib/utils/click-away/click-away.js +1 -1
  1048. package/lib/utils/click-away/index.d.ts +1 -1
  1049. package/lib/utils/click-away/index.d.ts.map +1 -1
  1050. package/lib/utils/click-away/index.js +1 -1
  1051. package/lib/utils/date-range-picker/date-range-picker.d.ts +1 -1
  1052. package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -1
  1053. package/lib/utils/date-range-picker/date-range-picker.js +1 -1
  1054. package/lib/utils/date-range-picker/index.d.ts +2 -2
  1055. package/lib/utils/date-range-picker/index.d.ts.map +1 -1
  1056. package/lib/utils/date-range-picker/index.js +2 -2
  1057. package/lib/utils/dom/dom.d.ts +2 -2
  1058. package/lib/utils/dom/dom.d.ts.map +1 -1
  1059. package/lib/utils/dom/index.d.ts +1 -1
  1060. package/lib/utils/dom/index.d.ts.map +1 -1
  1061. package/lib/utils/dom/index.js +1 -1
  1062. package/lib/utils/helpers/helpers.d.ts.map +1 -1
  1063. package/lib/utils/helpers/index.d.ts +1 -1
  1064. package/lib/utils/helpers/index.d.ts.map +1 -1
  1065. package/lib/utils/helpers/index.js +1 -1
  1066. package/lib/utils/index.d.ts +14 -14
  1067. package/lib/utils/index.d.ts.map +1 -1
  1068. package/lib/utils/index.js +14 -14
  1069. package/lib/utils/makeClassNameComponent/index.d.ts +1 -1
  1070. package/lib/utils/makeClassNameComponent/index.d.ts.map +1 -1
  1071. package/lib/utils/makeClassNameComponent/index.js +1 -1
  1072. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -1
  1073. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +1 -1
  1074. package/lib/utils/menu/index.d.ts +1 -1
  1075. package/lib/utils/menu/index.d.ts.map +1 -1
  1076. package/lib/utils/menu/index.js +1 -1
  1077. package/lib/utils/menu/menu.d.ts +1 -1
  1078. package/lib/utils/menu/menu.d.ts.map +1 -1
  1079. package/lib/utils/merge-refs/index.d.ts +1 -1
  1080. package/lib/utils/merge-refs/index.d.ts.map +1 -1
  1081. package/lib/utils/merge-refs/index.js +1 -1
  1082. package/lib/utils/merge-refs/merge-refs.d.ts +2 -3
  1083. package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -1
  1084. package/lib/utils/merge-refs/merge-refs.js +13 -7
  1085. package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -1
  1086. package/lib/utils/rating/index.d.ts +1 -1
  1087. package/lib/utils/rating/index.d.ts.map +1 -1
  1088. package/lib/utils/rating/index.js +1 -1
  1089. package/lib/utils/score-bar/index.d.ts +1 -1
  1090. package/lib/utils/score-bar/index.d.ts.map +1 -1
  1091. package/lib/utils/score-bar/index.js +1 -1
  1092. package/lib/utils/score-bar/score-bar.d.ts +1 -1
  1093. package/lib/utils/score-bar/score-bar.d.ts.map +1 -1
  1094. package/lib/utils/string/index.d.ts +1 -1
  1095. package/lib/utils/string/index.d.ts.map +1 -1
  1096. package/lib/utils/string/index.js +1 -1
  1097. package/lib/utils/string/string.stories.d.ts.map +1 -1
  1098. package/lib/utils/token-list-input/token-list-input.d.ts +5 -5
  1099. package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -1
  1100. package/lib/utils/tokens/index.d.ts +1 -1
  1101. package/lib/utils/tokens/index.d.ts.map +1 -1
  1102. package/lib/utils/tokens/index.js +1 -1
  1103. package/lib/utils/tokens/tokens.d.ts +7 -6
  1104. package/lib/utils/tokens/tokens.d.ts.map +1 -1
  1105. package/package.json +18 -10
  1106. package/tsconfig.json +3 -2
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.Toggle = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
- var _classify = _interopRequireDefault(require("../../utils/classify"));
9
- var _ToggleModule = _interopRequireDefault(require("./Toggle.module.css"));
8
+ var _classify = _interopRequireDefault(require("src/utils/classify"));
9
+ var _ToggleModule = _interopRequireDefault(require("src/components/Toggle/Toggle.module.css"));
10
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
11
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
12
12
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
@@ -32,11 +32,10 @@ const Toggle = exports.Toggle = /*#__PURE__*/React.forwardRef((_ref, forwardRef)
32
32
  ...props
33
33
  } = _ref;
34
34
  const toggleInput = /*#__PURE__*/React.createRef();
35
- // @ts-ignore - TS2322 - Type 'HTMLInputElement | null' is not assignable to type 'HTMLInputElement'.
36
35
  React.useImperativeHandle(forwardRef, () => toggleInput.current);
37
36
  const handleOnChange = () => {
38
37
  if (!disabled) {
39
- onChange && onChange({
38
+ onChange?.({
40
39
  value,
41
40
  checked: !checked
42
41
  });
@@ -77,7 +76,4 @@ const Toggle = exports.Toggle = /*#__PURE__*/React.forwardRef((_ref, forwardRef)
77
76
  className: (0, _classify.default)(_ToggleModule.default.toggleLabel, classNames?.label)
78
77
  }, children));
79
78
  });
80
-
81
- // @ts-ignore - TS2339 - Property 'name' does not exist on type 'unknown'.
82
- // @ts-ignore - TS2339 - Property 'displayName' does not exist on type 'unknown'.
83
- Toggle.name = Toggle.displayName = 'Toggle';
79
+ Toggle.displayName = 'Toggle';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { ToggleProps } from './Toggle';
2
+ import type { ToggleProps } from 'src/components/Toggle/Toggle';
3
3
  declare const _default: {
4
4
  tags: string[];
5
5
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAM1C,wBAgGE;AAEF,eAAO,MAAM,OAAO;WAAU,WAAW;;;;;;;;;;CAaxC,CAAC;AAYF,eAAO,MAAM,aAAa;WAAU,WAAW;;;;;;;;;;;CA4B9C,CAAC"}
1
+ {"version":3,"file":"Toggle.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAO9D,wBAgGE;AAEF,eAAO,MAAM,OAAO;WAAU,WAAW;;;;;;;;;;CAkBxC,CAAC;AAYF,eAAO,MAAM,aAAa;WAAU,WAAW;;;;;;;;;;;CAiC9C,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './Toggle';
1
+ export * from 'src/components/Toggle/Toggle';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _Toggle = require("./Toggle");
6
+ var _Toggle = require("src/components/Toggle/Toggle");
7
7
  Object.keys(_Toggle).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
9
  if (key in exports && exports[key] === _Toggle[key]) return;
@@ -1,29 +1,31 @@
1
1
  import * as React from 'react';
2
- import type { ClickAwayRefType } from '../../utils/click-away/click-away';
3
- import type { InputProps } from '../Input';
4
- import type { BaseMenuProps } from '../Menu';
5
- import type { ElevationType } from '../Tooltip';
6
- import type { ResolveTokenValueProps } from './TokenValueChips';
2
+ import type { ClickAwayRefType } from 'src/utils/click-away/click-away';
3
+ import type { InputProps } from 'src/components/Input';
4
+ import type { BaseMenuProps } from 'src/components/Menu';
5
+ import type { ResolveTokenValueProps } from 'src/components/TokenListInput/TokenValueChips';
6
+ import type { ElevationType } from 'src/components/Tooltip';
7
7
  export declare const DEFAULT_LIMIT_VALUE = 100;
8
8
  type ClassNames = Readonly<{
9
9
  wrapper?: string;
10
10
  box?: string;
11
11
  input?: string;
12
12
  }>;
13
- export type TokenListMenuOptionTypes<T> = {
13
+ export interface TokenListMenuOptionTypes<T> {
14
14
  options?: Array<T>;
15
15
  groupTitleOptions?: Array<TokenGroupTitleOption<T>>;
16
16
  resolveLabel?: (option: T) => string;
17
- };
18
- export type TokenGroupTitleOption<T> = {
17
+ }
18
+ export interface TokenGroupTitleOption<T> {
19
19
  groupTitle?: React.ReactNode;
20
20
  options?: Array<T>;
21
21
  showLineDivider?: boolean;
22
- };
23
- export type TokenListMenuProps<T> = BaseMenuProps & TokenListMenuOptionTypes<T>;
24
- export type Props<T> = {
22
+ }
23
+ export interface TokenListMenuProps<T> extends Omit<BaseMenuProps, 'resolveLabel'>, TokenListMenuOptionTypes<T> {
24
+ resolveLabel?: (option: T) => string;
25
+ }
26
+ export interface Props<T> {
25
27
  classNames?: ClassNames;
26
- clickAwayRef?: ClickAwayRefType;
28
+ clickAwayRef?: React.RefObject<ClickAwayRefType | null>;
27
29
  disabled?: boolean;
28
30
  error?: boolean;
29
31
  errorText?: string;
@@ -35,9 +37,9 @@ export type Props<T> = {
35
37
  isLoading?: boolean;
36
38
  locked?: boolean;
37
39
  onChange: (values: Array<T>) => unknown;
38
- onInputBlur?: (e: React.SyntheticEvent<HTMLInputElement>) => unknown;
40
+ onInputBlur?: React.FocusEventHandler<HTMLInputElement>;
39
41
  onInputChange?: (value: string) => unknown;
40
- onInputFocus?: (e: React.SyntheticEvent<HTMLInputElement>) => unknown;
42
+ onInputFocus?: React.FocusEventHandler<HTMLInputElement>;
41
43
  placeholder?: string;
42
44
  size?: 'medium' | 'small';
43
45
  tabIndex?: number;
@@ -46,9 +48,9 @@ export type Props<T> = {
46
48
  onMenuOpen?: () => unknown;
47
49
  onMenuClose?: () => unknown;
48
50
  resolveTokenValue?: (arg1: ResolveTokenValueProps<T>) => React.ReactNode;
49
- inputProps?: InputProps;
51
+ inputProps?: Omit<InputProps, 'size'>;
50
52
  elevation?: ElevationType;
51
- };
53
+ }
52
54
  export declare function TokenListInput<T>(props: Props<T>): React.JSX.Element;
53
55
  export declare namespace TokenListInput {
54
56
  var displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TokenListInput.d.ts","sourceRoot":"","sources":["../../../src/components/TokenListInput/TokenListInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AASxE,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAG3C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAG9C,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AAM9D,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACxC,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACnB,iBAAiB,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI;IACrC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,aAAa,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAAC;AAIhF,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI;IACrB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC;IACxC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAC;IACrE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAC3C,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAC;IACtE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACjB,IAAI,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACzE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B,CAAC;AAEF,wBAAgB,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,qBAsShD;yBAtSe,cAAc"}
1
+ {"version":3,"file":"TokenListInput.d.ts","sourceRoot":"","sources":["../../../src/components/TokenListInput/TokenListInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAatE,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAGvD,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AAE1F,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAa1D,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACnB,iBAAiB,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC,CACnC,SAAQ,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,EACzC,wBAAwB,CAAC,CAAC,CAAC;IAC7B,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,KAAK,CAAC,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC;IACxC,WAAW,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACxD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAC3C,YAAY,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACjB,IAAI,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACzE,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,qBAgThD;yBAhTe,cAAc"}
@@ -8,28 +8,27 @@ exports.TokenListInput = TokenListInput;
8
8
  var React = _interopRequireWildcard(require("react"));
9
9
  var _react2 = require("@floating-ui/react");
10
10
  var _without = _interopRequireDefault(require("lodash/without"));
11
- var _hooks = require("../../hooks");
12
- var _space = require("../../styles/variables/_space");
13
- var _typography = require("../../types/typography");
14
- var _classify = _interopRequireDefault(require("../../utils/classify"));
15
- var _clickAway = require("../../utils/click-away");
16
- var _mergeRefs = require("../../utils/merge-refs");
17
- var _tokenListInput = require("../../utils/token-list-input/token-list-input");
18
- var _ButtonDropdown = require("../ButtonDropdown");
19
- var _CircularLoader = require("../CircularLoader");
20
- var _Icon = require("../Icon");
21
- var _Menu = require("../Menu");
22
- var _Text = require("../Text");
23
- var _Tooltip = require("../Tooltip");
24
- var _TokenValueChips = require("./TokenValueChips");
25
- var _TokenListInputModule = _interopRequireDefault(require("./TokenListInput.module.css"));
11
+ var _hooks = require("src/hooks");
12
+ var _space = require("src/styles/variables/_space");
13
+ var _typography = require("src/types/typography");
14
+ var _classify = _interopRequireDefault(require("src/utils/classify"));
15
+ var _clickAway = require("src/utils/click-away");
16
+ var _mergeRefs = require("src/utils/merge-refs");
17
+ var _tokenListInput = require("src/utils/token-list-input/token-list-input");
18
+ var _ButtonDropdown = require("src/components/ButtonDropdown");
19
+ var _CircularLoader = require("src/components/CircularLoader");
20
+ var _Icon = require("src/components/Icon");
21
+ var _Menu = require("src/components/Menu");
22
+ var _Text = require("src/components/Text");
23
+ var _TokenValueChips = require("src/components/TokenListInput/TokenValueChips");
24
+ var _Tooltip = require("src/components/Tooltip");
25
+ var _TokenListInputModule = _interopRequireDefault(require("src/components/TokenListInput/TokenListInput.module.css"));
26
26
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
27
27
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
28
28
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
29
- const DEFAULT_LIMIT_VALUE = exports.DEFAULT_LIMIT_VALUE = 100;
30
-
31
- // TODO: use Generics with Constraints when we have typescript.
29
+ // Type definition for token objects with expected properties
32
30
 
31
+ const DEFAULT_LIMIT_VALUE = exports.DEFAULT_LIMIT_VALUE = 100;
33
32
  function TokenListInput(props) {
34
33
  const {
35
34
  classNames,
@@ -68,17 +67,12 @@ function TokenListInput(props) {
68
67
  context
69
68
  } = (0, _react2.useFloating)({
70
69
  open: true,
71
- // @ts-ignore - TS2322 - Type 'string' is not assignable to type 'Strategy | undefined'.
72
70
  strategy: _ButtonDropdown.STRATEGY_TYPE.absolute,
73
- // @ts-ignore - TS2322 - Type 'string' is not assignable to type 'Placement | undefined'.
74
71
  placement: _ButtonDropdown.ANCHOR_POSITION_TYPE.bottomStart,
75
72
  whileElementsMounted: _react2.autoUpdate,
76
73
  middleware: [(0, _react2.flip)(), (0, _react2.offset)(parseInt(_space.spaceXXSmall))]
77
74
  });
78
-
79
- // @ts-ignore - TS2554 - Expected 1 arguments, but got 0.
80
- const inputRef = React.useRef();
81
- // @ts-ignore - TS2345 - Argument of type '(ReferenceType & ReferenceType) | null' is not assignable to parameter of type 'HTMLElement | null | undefined'.
75
+ const inputRef = React.useRef(null);
82
76
  const dropdownWidth = (0, _hooks.useReferenceElementWidth)(refs.reference?.current);
83
77
  const onOpenToggle = isOpen => {
84
78
  if (isOpen) {
@@ -95,24 +89,30 @@ function TokenListInput(props) {
95
89
  }
96
90
  }, [focusOnMount]);
97
91
  const addValue = value => {
98
- // @ts-ignore - TS2339 - Property 'disabled' does not exist on type 'T'.
99
- if (locked || !value || value.disabled) {
92
+ // Type assertion to access expected properties
93
+ const valueWithProps = value;
94
+ if (locked || !value || valueWithProps.disabled) {
100
95
  return; // Prevent adding values when disabled or locked
101
96
  }
102
97
  onInputChange?.('');
103
- // @ts-ignore - TS2339 - Property 'key' does not exist on type 'T'. | TS2339 - Property 'key' does not exist on type 'T'.
104
- const existingToken = values.find(token => token.key === value.key);
98
+ const existingToken = values.find(token => {
99
+ const tokenWithProps = token;
100
+ return tokenWithProps.key === valueWithProps.key;
101
+ });
105
102
  if (!existingToken) {
106
103
  onChange([...values, value]);
107
104
  }
108
105
  setTimeout(() => {
109
- inputRef.current && inputRef.current.focus();
106
+ inputRef?.current?.focus();
110
107
  }, 0);
111
108
  };
112
109
  const removeValue = value => {
113
- !disabled && !locked && onChange((0, _without.default)(values, value));
110
+ if (!disabled && !locked) {
111
+ // prevent removing values when disabled or locked
112
+ onChange((0, _without.default)(values, value));
113
+ }
114
114
  setTimeout(() => {
115
- inputRef.current && inputRef.current.focus();
115
+ inputRef?.current?.focus();
116
116
  }, 0);
117
117
  };
118
118
  const hideInput = values.length >= limit || disabled || locked;
@@ -127,14 +127,11 @@ function TokenListInput(props) {
127
127
  event.preventDefault();
128
128
  let firstOption = null;
129
129
  if (menu?.options && menu.options.length > 0) {
130
- // @ts-ignore - TS2345 - Argument of type 'T[]' is not assignable to parameter of type 'V[]'.
131
130
  firstOption = (0, _tokenListInput.getFirstOption)(menu.options);
132
131
  } else if (menu?.groupTitleOptions && menu.groupTitleOptions.length > 0) {
133
- // @ts-ignore - TS2345 - Argument of type 'TokenGroupTitleOption<T>[]' is not assignable to parameter of type 'Group<V>[]'.
134
132
  firstOption = (0, _tokenListInput.getFirstOptionFromGroup)(menu.groupTitleOptions);
135
133
  }
136
134
  if (firstOption) {
137
- // @ts-ignore - TS2345 - Argument of type 'V' is not assignable to parameter of type 'T'.
138
135
  addValue(firstOption);
139
136
  }
140
137
  }
@@ -145,7 +142,7 @@ function TokenListInput(props) {
145
142
  } else if (key === 'Escape') {
146
143
  event.preventDefault();
147
144
  setTimeout(() => {
148
- inputRef.current && inputRef.current.blur();
145
+ inputRef?.current?.blur();
149
146
  }, 0);
150
147
  }
151
148
  };
@@ -181,11 +178,9 @@ function TokenListInput(props) {
181
178
  if (!isOpen) {
182
179
  onOpen();
183
180
  }
184
- // @ts-ignore - TS2345 - Argument of type 'FocusEvent<HTMLDivElement, Element>' is not assignable to parameter of type 'SyntheticEvent<HTMLInputElement, Event>'.
185
181
  onInputFocus?.(e);
186
182
  },
187
183
  onBlur: e => {
188
- // @ts-ignore - TS2345 - Argument of type 'FocusEvent<HTMLDivElement, Element>' is not assignable to parameter of type 'SyntheticEvent<HTMLInputElement, Event>'.
189
184
  onInputBlur?.(e);
190
185
  },
191
186
  className: (0, _classify.default)(_TokenListInputModule.default.box, {
@@ -194,9 +189,7 @@ function TokenListInput(props) {
194
189
  [_TokenListInputModule.default.small]: size === 'small',
195
190
  [_TokenListInputModule.default.withError]: error,
196
191
  [_TokenListInputModule.default.inputLocked]: locked
197
- }, classNames?.box)
198
- // @ts-ignore - TS2322 - Type '((node: ReferenceType | null) => void) & ((node: ReferenceType | null) => void)' is not assignable to type '{ current: HTMLElement | null | undefined; }'.
199
- ,
192
+ }, classNames?.box),
200
193
  ref: (0, _mergeRefs.mergeRefs)([refs.setReference, triggerRef])
201
194
  }, /*#__PURE__*/React.createElement(_TokenValueChips.TokenValueChips, {
202
195
  values: values,
@@ -204,11 +197,7 @@ function TokenListInput(props) {
204
197
  disabled: disabled,
205
198
  locked: locked,
206
199
  onDismiss: removeValue
207
- }), !hideInput &&
208
- /*#__PURE__*/
209
- // @ts-ignore - TS2345 - Argument of type 'InputProps' is not assignable to parameter of type 'InputProps'.
210
- React.createElement("input", _extends({}, inputProps, {
211
- // @ts-ignore - TS2322 - Type 'RefObject<HTMLInputElement | null | undefined>' is not assignable to type 'Ref<HTMLInputElement> | undefined'.
200
+ }), !hideInput && /*#__PURE__*/React.createElement("input", _extends({}, inputProps, {
212
201
  ref: inputRef,
213
202
  type: "text",
214
203
  readOnly: locked,
@@ -216,7 +205,9 @@ function TokenListInput(props) {
216
205
  placeholder: values.length === 0 ? placeholder || inputPlaceholder : inputPlaceholder,
217
206
  onChange: event => {
218
207
  onInputChange?.(event.target.value);
219
- !isOpen && onOpen();
208
+ if (!isOpen) {
209
+ onOpen();
210
+ }
220
211
  },
221
212
  disabled: disabled || locked,
222
213
  tabIndex: tabIndex,
@@ -246,14 +237,10 @@ function TokenListInput(props) {
246
237
  }, helperText) : helperText), !locked && isOpen && menu && /*#__PURE__*/React.createElement(_react2.FloatingPortal, null, /*#__PURE__*/React.createElement(_react2.FloatingFocusManager, {
247
238
  modal: false,
248
239
  context: context,
249
- returnFocus: false
250
- // @ts-ignore - TS2322 - Type 'MutableRefObject<ReferenceType | null> & MutableRefObject<ReferenceType | null>' is not assignable to type 'number | MutableRefObject<HTMLElement | null> | undefined'.
251
- ,
240
+ returnFocus: false,
252
241
  initialFocus: refs.reference
253
242
  }, /*#__PURE__*/React.createElement("div", {
254
- className: _TokenListInputModule.default.menuWrapper
255
- // @ts-ignore - TS2322 - Type '((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void)' is not assignable to type '{ current: HTMLElement | null | undefined; }'.
256
- ,
243
+ className: _TokenListInputModule.default.menuWrapper,
257
244
  ref: (0, _mergeRefs.mergeRefs)([refs.setFloating, boundaryRef]),
258
245
  style: {
259
246
  position: strategy,
@@ -274,7 +261,6 @@ function TokenListInput(props) {
274
261
  if (values.length >= limit) {
275
262
  return;
276
263
  }
277
- // @ts-ignore - TS2345 - Argument of type 'MenuOption' is not assignable to parameter of type 'T'.
278
264
  addValue(option);
279
265
  clickAway();
280
266
  inputRef.current?.focus();
@@ -1,8 +1,10 @@
1
1
  import * as React from 'react';
2
- import type { Over } from '../../types/utils';
3
- import type { MenuOption } from '../Menu';
4
- import type { Props } from './TokenListInput';
5
- import { TokenListInput } from './TokenListInput';
2
+ import type { MenuOption } from 'src/components/Menu';
3
+ import type { Props } from 'src/components/TokenListInput/TokenListInput';
4
+ import { TokenListInput } from 'src/components/TokenListInput/TokenListInput';
5
+ interface TokenListOption extends Omit<MenuOption, 'arbitrary'> {
6
+ arbitrary?: boolean;
7
+ }
6
8
  declare const _default: {
7
9
  tags: string[];
8
10
  title: string;
@@ -312,9 +314,6 @@ declare const _default: {
312
314
  };
313
315
  };
314
316
  export default _default;
315
- type TokenListOption = Over<MenuOption, {
316
- arbitrary?: boolean;
317
- }>;
318
317
  export declare const _TokenListInput: {
319
318
  (args: Props<TokenListOption>): React.JSX.Element;
320
319
  args: {
@@ -1 +1 @@
1
- {"version":3,"file":"TokenListInput.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TokenListInput/TokenListInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AAQxC,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOhD,wBAgQE;AAEF,KAAK,eAAe,GAAG,IAAI,CACzB,UAAU,EACV;IACE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CACF,CAAC;AAEF,eAAO,MAAM,eAAe;WAAU,KAAK,CAAC,eAAe,CAAC;;;;;;CA0B3D,CAAC;AAMF,eAAO,MAAM,wBAAwB,GAAI,MAAM,KAAK,CAAC,eAAe,CAAC,sBAuCpE,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAAU,KAAK,CAAC,eAAe,CAAC;;;;CAsBjE,CAAC;AAMF,eAAO,MAAM,uBAAuB;WAAU,KAAK,CAAC,eAAe,CAAC;;;;;;;CAsBnE,CAAC;AAmDF,eAAO,MAAM,oBAAoB;WAAU,KAAK,CAAC,eAAe,CAAC;;;;;;;;;;;;;4BA+CpD,KAAK,CAAC,SAAS;;;;;;;;;CA7C3B,CAAC;AAsIF,eAAO,MAAM,2BAA2B,GAAI,MAAM,KAAK,CAAC,eAAe,CAAC,sBAEvE,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAAU,KAAK,CAAC,eAAe,CAAC;;;;;;;;;;;CA4EjE,CAAC"}
1
+ {"version":3,"file":"TokenListInput.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TokenListInput/TokenListInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAMpD,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,cAAc,EAAC,MAAM,8CAA8C,CAAC;AAM5E,UAAU,eAAgB,SAAQ,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBD,wBAgQE;AAEF,eAAO,MAAM,eAAe;WAAU,KAAK,CAAC,eAAe,CAAC;;;;;;CA0B3D,CAAC;AAMF,eAAO,MAAM,wBAAwB,GAAI,MAAM,KAAK,CAAC,eAAe,CAAC,sBAuCpE,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAAU,KAAK,CAAC,eAAe,CAAC;;;;CAsBjE,CAAC;AAMF,eAAO,MAAM,uBAAuB;WAAU,KAAK,CAAC,eAAe,CAAC;;;;;;;CAsBnE,CAAC;AAoDF,eAAO,MAAM,oBAAoB;WAAU,KAAK,CAAC,eAAe,CAAC;;;;;;;;;;;;;4BA+CpD,KAAK,CAAC,SAAS;;;;;;;;;CA7C3B,CAAC;AAqIF,eAAO,MAAM,2BAA2B,GAAI,MAAM,KAAK,CAAC,eAAe,CAAC,sBAEvE,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAAU,KAAK,CAAC,eAAe,CAAC;;;;;;;;;;;CAkFjE,CAAC"}
@@ -1,17 +1,17 @@
1
1
  import * as React from 'react';
2
- type Props<T> = {
2
+ interface Props<T> {
3
3
  values: Array<T>;
4
4
  disabled?: boolean;
5
5
  locked?: boolean;
6
6
  onDismiss: (arg1: T) => unknown;
7
7
  resolveTokenValue?: (arg1: ResolveTokenValueProps<T>) => React.ReactNode;
8
- };
9
- export type ResolveTokenValueProps<T> = {
8
+ }
9
+ export interface ResolveTokenValueProps<T> {
10
10
  token: T;
11
11
  disabled?: boolean;
12
12
  onDismiss?: (arg1: T) => unknown;
13
13
  locked?: boolean;
14
- };
14
+ }
15
15
  export declare function TokenValueChips<T>(props: Props<T>): (string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined)[];
16
16
  export declare namespace TokenValueChips {
17
17
  var displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TokenValueChips.d.ts","sourceRoot":"","sources":["../../../src/components/TokenListInput/TokenValueChips.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,KAAK,KAAK,CAAC,CAAC,IAAI;IACd,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CAC1E,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI;IACtC,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AA0BF,wBAAgB,eAAe,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,uSAkBjD;yBAlBe,eAAe"}
1
+ {"version":3,"file":"TokenValueChips.d.ts","sourceRoot":"","sources":["../../../src/components/TokenListInput/TokenValueChips.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,UAAU,KAAK,CAAC,CAAC;IACf,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CAC1E;AAED,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAyBD,wBAAgB,eAAe,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,uSAkBjD;yBAlBe,eAAe"}
@@ -5,32 +5,29 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.TokenValueChips = TokenValueChips;
7
7
  var React = _interopRequireWildcard(require("react"));
8
- var _elevation = require("../../styles/variables/_elevation");
9
- var _Chip = require("../Chip");
10
- var _Tooltip = require("../Tooltip");
8
+ var _Chip = require("src/components/Chip");
9
+ var _Tooltip = require("src/components/Tooltip");
11
10
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
11
+ // Type definition for token objects with expected properties
12
+
12
13
  function defaultResolveTokenValue(_ref) {
13
14
  let {
14
15
  token,
15
16
  disabled,
16
17
  onDismiss
17
18
  } = _ref;
18
- return (
19
- /*#__PURE__*/
20
- // @ts-ignore - TS2339 - Property 'label' does not exist on type 'NonNullable<T>'.
21
- React.createElement(_Tooltip.Tooltip, {
22
- body: token?.label,
23
- elevation: _elevation.elevationMenu
24
- }, /*#__PURE__*/React.createElement(_Chip.Chip
25
- // @ts-ignore - TS2339 - Property 'key' does not exist on type 'NonNullable<T>'.
26
- , {
27
- key: token?.key,
28
- onDismiss: _ => onDismiss?.(token),
29
- dismissable: true,
30
- semantic: 'primary',
31
- disabled: disabled
32
- }, token?.label))
33
- );
19
+ // Type assertion to access expected properties
20
+ const tokenWithProps = token;
21
+ return /*#__PURE__*/React.createElement(_Tooltip.Tooltip, {
22
+ body: tokenWithProps?.label,
23
+ elevation: "menu"
24
+ }, /*#__PURE__*/React.createElement(_Chip.Chip, {
25
+ key: tokenWithProps?.key,
26
+ onDismiss: _ => onDismiss?.(token),
27
+ dismissable: true,
28
+ semantic: 'primary',
29
+ disabled: disabled
30
+ }, tokenWithProps?.label));
34
31
  }
35
32
  function TokenValueChips(props) {
36
33
  const {
@@ -1,2 +1,2 @@
1
- export * from './TokenListInput';
1
+ export * from 'src/components/TokenListInput/TokenListInput';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TokenListInput/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TokenListInput/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _TokenListInput = require("./TokenListInput");
6
+ var _TokenListInput = require("src/components/TokenListInput/TokenListInput");
7
7
  Object.keys(_TokenListInput).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
9
  if (key in exports && exports[key] === _TokenListInput[key]) return;
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import type { Over } from '../../types/utils';
3
2
  type ClassNames = Readonly<{
4
3
  tooltip?: string;
5
4
  title?: string;
@@ -25,7 +24,7 @@ export declare const ELEVATION_TYPES: Readonly<{
25
24
  }>;
26
25
  export type ElevationType = (typeof ELEVATION_TYPES)[keyof typeof ELEVATION_TYPES];
27
26
  export type PlacementType = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'right';
28
- export type BaseTooltipProps = {
27
+ export interface BaseTooltipProps {
29
28
  classNames?: ClassNames;
30
29
  title?: string | React.ReactNode;
31
30
  body?: string | React.ReactNode;
@@ -35,10 +34,10 @@ export type BaseTooltipProps = {
35
34
  delayMotionDuration?: DelayMotionDurationType;
36
35
  hidden?: boolean;
37
36
  elevation?: ElevationType;
38
- };
39
- export type TooltipProps = Over<BaseTooltipProps, {
40
- children: any;
41
- }>;
37
+ }
38
+ export interface TooltipProps extends Omit<BaseTooltipProps, 'children'> {
39
+ children: React.ReactNode;
40
+ }
42
41
  export declare const getElevationValue: (elevation: string) => string;
43
42
  export declare const Tooltip: ({ classNames, children, title, body, placement, bodyMaxLines, titleMaxLines, delayMotionDuration, elevation, hidden, }: TooltipProps) => React.JSX.Element;
44
43
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAQ5C,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;EAOtC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAEjF,eAAO,MAAM,eAAe;;;;;;;;EAQ1B,CAAC;AAEH,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GACrB,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,OAAO,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,uBAAuB,CAAC;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,IAAI,CAC7B,gBAAgB,EAChB;IAEE,QAAQ,EAAE,GAAG,CAAC;CACf,CACF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM,KAAG,MAIrD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,wHAWrB,YAAY,sBA+Fd,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA4B/B,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;EAOtC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAEjF,eAAO,MAAM,eAAe;;;;;;;;EAQ1B,CAAC;AAEH,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GACrB,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,OAAO,CAAC;AAEZ,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,uBAAuB,CAAC;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC;IACtE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM,KAAG,MAIrD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,wHAWrB,YAAY,sBAyGd,CAAC"}
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getElevationValue = exports.Tooltip = exports.ELEVATION_TYPES = exports.DELAY_MOTION_DURATION_TYPES = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _react2 = require("@floating-ui/react");
9
- var ELEVATION = _interopRequireWildcard(require("../../styles/variables/_elevation"));
10
- var MOTION = _interopRequireWildcard(require("../../styles/variables/_motion"));
11
- var _space = require("../../styles/variables/_space");
12
- var _classify = require("../../utils/classify");
13
- var _string = require("../../utils/string");
14
- var _Truncate = require("../Truncate");
15
- var _TooltipModule = _interopRequireDefault(require("./Tooltip.module.css"));
9
+ var ELEVATION = _interopRequireWildcard(require("src/styles/variables/_elevation"));
10
+ var MOTION = _interopRequireWildcard(require("src/styles/variables/_motion"));
11
+ var _space = require("src/styles/variables/_space");
12
+ var _classify = require("src/utils/classify");
13
+ var _string = require("src/utils/string");
14
+ var _Truncate = require("src/components/Truncate");
15
+ var _TooltipModule = _interopRequireDefault(require("src/components/Tooltip/Tooltip.module.css"));
16
16
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
17
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
18
18
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
@@ -35,7 +35,6 @@ const ELEVATION_TYPES = exports.ELEVATION_TYPES = Object.freeze({
35
35
  });
36
36
  const getElevationValue = elevation => {
37
37
  const elevationKey = 'elevation' + (0, _string.capitalize)(elevation);
38
- // @ts-ignore - TS7053 - Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'typeof import("/Users/diwaker/SpacedOut/ui-design-system/src/styles/variables/_elevation")'.
39
38
  return ELEVATION[elevationKey] || elevation;
40
39
  };
41
40
  exports.getElevationValue = getElevationValue;
@@ -69,11 +68,7 @@ const Tooltip = _ref => {
69
68
  }), (0, _react2.shift)()]
70
69
  });
71
70
  const motionDurationToken = 'motionDuration' + (0, _string.capitalize)(delayMotionDuration);
72
- const hoverDelay =
73
- // @ts-ignore - TS7053 - Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'typeof import("/Users/diwaker/SpacedOut/ui-design-system/src/styles/variables/_motion")'.
74
- parseInt(MOTION[motionDurationToken]) === NaN ? 0 :
75
- // @ts-ignore - TS7053 - Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'typeof import("/Users/diwaker/SpacedOut/ui-design-system/src/styles/variables/_motion")'.
76
- parseInt(MOTION[motionDurationToken]);
71
+ const hoverDelay = Number.isNaN(parseInt(MOTION[motionDurationToken])) ? 0 : parseInt(MOTION[motionDurationToken]);
77
72
  const {
78
73
  getReferenceProps,
79
74
  getFloatingProps
@@ -86,10 +81,16 @@ const Tooltip = _ref => {
86
81
  role: 'tooltip'
87
82
  }), (0, _react2.useDismiss)(context)]);
88
83
 
84
+ // Type guard to ensure children is a ReactElement
85
+ if (! /*#__PURE__*/React.isValidElement(children)) {
86
+ throw new Error('Tooltip children must be a valid React element');
87
+ }
88
+ const childElement = children;
89
+
89
90
  // Note(Nishant): Preserve the consumer's ref (React 19 safe)
90
- const mergedRef = (0, _react2.useMergeRefs)([refs.setReference, children.ref ?? null]);
91
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.cloneElement(children, getReferenceProps({
92
- ...children.props,
91
+ const mergedRef = (0, _react2.useMergeRefs)([refs.setReference, childElement.ref ?? null]);
92
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.cloneElement(childElement, getReferenceProps({
93
+ ...childElement.props,
93
94
  ref: mergedRef
94
95
  })), isOpen && /*#__PURE__*/React.createElement(_react2.FloatingPortal, null, /*#__PURE__*/React.createElement(React.Fragment, null, !hidden && /*#__PURE__*/React.createElement("div", _extends({
95
96
  ref: refs.setFloating,
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { TooltipProps } from './Tooltip';
2
+ import type { TooltipProps } from 'src/components/Tooltip/Tooltip';
3
3
  declare const _default: {
4
4
  tags: string[];
5
5
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAY5C,wBAqLE;AAkDF,eAAO,MAAM,OAAO;WAAU,YAAY;;;;;;;;;CAgBzC,CAAC;AAaF,eAAO,MAAM,oBAAoB;WAAU,YAAY;;;;CAgBtD,CAAC;AAMF,eAAO,MAAM,UAAU;WAAU,YAAY;;;;;;CAgB5C,CAAC"}
1
+ {"version":3,"file":"Tooltip.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,gCAAgC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBjE,wBAqLE;AAkDF,eAAO,MAAM,OAAO;WAAU,YAAY;;;;;;;;;CAgBzC,CAAC;AAaF,eAAO,MAAM,oBAAoB;WAAU,YAAY;;;;CAgBtD,CAAC;AAMF,eAAO,MAAM,UAAU;WAAU,YAAY;;;;;;CAgB5C,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './Tooltip';
1
+ export * from 'src/components/Tooltip/Tooltip';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}