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

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 (1914) hide show
  1. package/.cspell/custom-words.txt +4 -0
  2. package/.storybook/main.js +3 -3
  3. package/CHANGELOG.md +14 -0
  4. package/babel.config.js +1 -1
  5. package/config.js +4 -3
  6. package/docs/FORWARDREF_FIX.md +241 -0
  7. package/gulpfile.js +3 -32
  8. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts +19 -0
  9. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +1 -0
  10. package/lib/components/AIPromptFlow/AIPromptFlow.stories.js +225 -0
  11. package/lib/components/AIPromptFlow/AIPromptFlow.stories.tsx +465 -0
  12. package/lib/components/Accordion/Accordion.d.ts +21 -0
  13. package/lib/components/Accordion/Accordion.d.ts.map +1 -0
  14. package/lib/components/Accordion/Accordion.js +3 -1
  15. package/lib/components/Accordion/Accordion.stories.d.ts +143 -0
  16. package/lib/components/Accordion/Accordion.stories.d.ts.map +1 -0
  17. package/lib/components/Accordion/Accordion.stories.js +172 -0
  18. package/lib/components/Accordion/Accordion.stories.tsx +165 -0
  19. package/lib/components/Accordion/Accordion.tsx +112 -0
  20. package/lib/components/Accordion/AccordionGroup.d.ts +17 -0
  21. package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -0
  22. package/lib/components/Accordion/AccordionGroup.js +3 -0
  23. package/lib/components/Accordion/AccordionGroup.stories.d.ts +104 -0
  24. package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -0
  25. package/lib/components/Accordion/AccordionGroup.stories.js +202 -0
  26. package/lib/components/Accordion/AccordionGroup.stories.tsx +215 -0
  27. package/lib/components/Accordion/AccordionGroup.tsx +77 -0
  28. package/lib/components/Accordion/index.d.ts +3 -0
  29. package/lib/components/Accordion/index.d.ts.map +1 -0
  30. package/lib/components/Accordion/index.ts +2 -0
  31. package/lib/components/Avatar/Avatar.d.ts +60 -0
  32. package/lib/components/Avatar/Avatar.d.ts.map +1 -0
  33. package/lib/components/Avatar/Avatar.js +14 -6
  34. package/lib/components/Avatar/Avatar.stories.d.ts +149 -0
  35. package/lib/components/Avatar/Avatar.stories.d.ts.map +1 -0
  36. package/lib/components/Avatar/Avatar.stories.js +174 -0
  37. package/lib/components/Avatar/Avatar.stories.tsx +152 -0
  38. package/lib/components/Avatar/Avatar.tsx +272 -0
  39. package/lib/components/Avatar/index.d.ts +2 -0
  40. package/lib/components/Avatar/index.d.ts.map +1 -0
  41. package/lib/components/Avatar/index.ts +1 -0
  42. package/lib/components/AvatarGroup/AvatarGroup.d.ts +15 -0
  43. package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
  44. package/lib/components/AvatarGroup/AvatarGroup.js +5 -0
  45. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +101 -0
  46. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -0
  47. package/lib/components/AvatarGroup/AvatarGroup.stories.js +160 -0
  48. package/lib/components/AvatarGroup/AvatarGroup.stories.tsx +138 -0
  49. package/lib/components/AvatarGroup/AvatarGroup.tsx +164 -0
  50. package/lib/components/AvatarGroup/index.d.ts +2 -0
  51. package/lib/components/AvatarGroup/index.d.ts.map +1 -0
  52. package/lib/components/AvatarGroup/index.ts +1 -0
  53. package/lib/components/Badge/Badge.d.ts +40 -0
  54. package/lib/components/Badge/Badge.d.ts.map +1 -0
  55. package/lib/components/Badge/Badge.stories.d.ts +123 -0
  56. package/lib/components/Badge/Badge.stories.d.ts.map +1 -0
  57. package/lib/components/Badge/Badge.stories.js +155 -0
  58. package/lib/components/Badge/Badge.stories.tsx +131 -0
  59. package/lib/components/Badge/Badge.tsx +149 -0
  60. package/lib/components/Badge/index.d.ts +2 -0
  61. package/lib/components/Badge/index.d.ts.map +1 -0
  62. package/lib/components/Badge/index.ts +1 -0
  63. package/lib/components/BadgedIcon/BadgedIcon.d.ts +18 -0
  64. package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -0
  65. package/lib/components/BadgedIcon/BadgedIcon.js +3 -1
  66. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +111 -0
  67. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +1 -0
  68. package/lib/components/BadgedIcon/BadgedIcon.stories.js +95 -0
  69. package/lib/components/BadgedIcon/BadgedIcon.stories.tsx +80 -0
  70. package/lib/components/BadgedIcon/BadgedIcon.tsx +76 -0
  71. package/lib/components/BadgedIcon/index.d.ts +2 -0
  72. package/lib/components/BadgedIcon/index.d.ts.map +1 -0
  73. package/lib/components/BadgedIcon/index.ts +1 -0
  74. package/lib/components/Banner/Banner.d.ts +7 -0
  75. package/lib/components/Banner/Banner.d.ts.map +1 -0
  76. package/lib/components/Banner/Banner.stories.d.ts +187 -0
  77. package/lib/components/Banner/Banner.stories.d.ts.map +1 -0
  78. package/lib/components/Banner/Banner.stories.js +210 -0
  79. package/lib/components/Banner/Banner.stories.tsx +187 -0
  80. package/lib/components/Banner/Banner.tsx +55 -0
  81. package/lib/components/Banner/index.d.ts +2 -0
  82. package/lib/components/Banner/index.d.ts.map +1 -0
  83. package/lib/components/Banner/index.ts +1 -0
  84. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +10 -0
  85. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -0
  86. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +3 -1
  87. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +98 -0
  88. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +1 -0
  89. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.js +122 -0
  90. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.tsx +114 -0
  91. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.tsx +52 -0
  92. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +2 -0
  93. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +1 -0
  94. package/lib/components/Breadcrumbs/BreadcrumbLink/index.ts +1 -0
  95. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +14 -0
  96. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  97. package/lib/components/Breadcrumbs/Breadcrumbs.js +5 -1
  98. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +57 -0
  99. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
  100. package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +180 -0
  101. package/lib/components/Breadcrumbs/Breadcrumbs.stories.tsx +189 -0
  102. package/lib/components/Breadcrumbs/Breadcrumbs.tsx +59 -0
  103. package/lib/components/Breadcrumbs/index.d.ts +3 -0
  104. package/lib/components/Breadcrumbs/index.d.ts.map +1 -0
  105. package/lib/components/Breadcrumbs/index.ts +2 -0
  106. package/lib/components/Button/Button.d.ts +64 -0
  107. package/lib/components/Button/Button.d.ts.map +1 -0
  108. package/lib/components/Button/Button.js +26 -8
  109. package/lib/components/Button/Button.stories.d.ts +245 -0
  110. package/lib/components/Button/Button.stories.d.ts.map +1 -0
  111. package/lib/components/Button/Button.stories.js +257 -0
  112. package/lib/components/Button/Button.stories.tsx +220 -0
  113. package/lib/components/Button/Button.tsx +285 -0
  114. package/lib/components/Button/index.d.ts +3 -0
  115. package/lib/components/Button/index.d.ts.map +1 -0
  116. package/lib/components/Button/index.ts +8 -0
  117. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +40 -0
  118. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -0
  119. package/lib/components/ButtonDropdown/ButtonDropdown.js +13 -3
  120. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +558 -0
  121. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -0
  122. package/lib/components/ButtonDropdown/ButtonDropdown.stories.js +669 -0
  123. package/lib/components/ButtonDropdown/ButtonDropdown.stories.tsx +677 -0
  124. package/lib/components/ButtonDropdown/ButtonDropdown.tsx +221 -0
  125. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +42 -0
  126. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -0
  127. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +6 -0
  128. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +628 -0
  129. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -0
  130. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.js +651 -0
  131. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.tsx +624 -0
  132. package/lib/components/ButtonDropdown/SimpleButtonDropdown.tsx +167 -0
  133. package/lib/components/ButtonDropdown/index.d.ts +3 -0
  134. package/lib/components/ButtonDropdown/index.d.ts.map +1 -0
  135. package/lib/components/ButtonDropdown/index.ts +2 -0
  136. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +25 -0
  137. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -0
  138. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +142 -0
  139. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +1 -0
  140. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.js +152 -0
  141. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.tsx +125 -0
  142. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.tsx +76 -0
  143. package/lib/components/ButtonTabs/ButtonTab/index.d.ts +2 -0
  144. package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +1 -0
  145. package/lib/components/ButtonTabs/ButtonTab/index.ts +1 -0
  146. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +12 -0
  147. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -0
  148. package/lib/components/ButtonTabs/ButtonTabDropdown.js +12 -3
  149. package/lib/components/ButtonTabs/ButtonTabDropdown.tsx +147 -0
  150. package/lib/components/ButtonTabs/ButtonTabs.d.ts +24 -0
  151. package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -0
  152. package/lib/components/ButtonTabs/ButtonTabs.js +3 -0
  153. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +201 -0
  154. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +1 -0
  155. package/lib/components/ButtonTabs/ButtonTabs.stories.js +471 -0
  156. package/lib/components/ButtonTabs/ButtonTabs.stories.tsx +393 -0
  157. package/lib/components/ButtonTabs/ButtonTabs.tsx +119 -0
  158. package/lib/components/ButtonTabs/index.d.ts +3 -0
  159. package/lib/components/ButtonTabs/index.d.ts.map +1 -0
  160. package/lib/components/ButtonTabs/index.ts +2 -0
  161. package/lib/components/Card/Card.d.ts +37 -0
  162. package/lib/components/Card/Card.d.ts.map +1 -0
  163. package/lib/components/Card/Card.js +6 -1
  164. package/lib/components/Card/Card.stories.d.ts +150 -0
  165. package/lib/components/Card/Card.stories.d.ts.map +1 -0
  166. package/lib/components/Card/Card.stories.js +236 -0
  167. package/lib/components/Card/Card.stories.tsx +245 -0
  168. package/lib/components/Card/Card.tsx +172 -0
  169. package/lib/components/Card/index.d.ts +2 -0
  170. package/lib/components/Card/index.d.ts.map +1 -0
  171. package/lib/components/Card/index.ts +1 -0
  172. package/lib/components/Charts/ChartTooltip/index.d.ts +3 -0
  173. package/lib/components/Charts/ChartTooltip/index.d.ts.map +1 -0
  174. package/lib/components/Charts/ChartTooltip/index.ts +13 -0
  175. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +50 -0
  176. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -0
  177. package/lib/components/Charts/ChartWrapper/ChartWrapper.js +5 -7
  178. package/lib/components/Charts/ChartWrapper/ChartWrapper.tsx +179 -0
  179. package/lib/components/Charts/ChartWrapper/index.d.ts +2 -0
  180. package/lib/components/Charts/ChartWrapper/index.d.ts.map +1 -0
  181. package/lib/components/Charts/ChartWrapper/index.ts +1 -0
  182. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +23 -0
  183. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -0
  184. package/lib/components/Charts/ColumnChart/ColumnChart.js +12 -7
  185. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +446 -0
  186. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +1 -0
  187. package/lib/components/Charts/ColumnChart/ColumnChart.stories.js +654 -0
  188. package/lib/components/Charts/ColumnChart/ColumnChart.stories.tsx +574 -0
  189. package/lib/components/Charts/ColumnChart/ColumnChart.tsx +125 -0
  190. package/lib/components/Charts/ColumnChart/index.d.ts +2 -0
  191. package/lib/components/Charts/ColumnChart/index.d.ts.map +1 -0
  192. package/lib/components/Charts/ColumnChart/index.ts +1 -0
  193. package/lib/components/Charts/DonutChart/DonutChart.d.ts +28 -0
  194. package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -0
  195. package/lib/components/Charts/DonutChart/DonutChart.js +7 -6
  196. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +226 -0
  197. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +1 -0
  198. package/lib/components/Charts/DonutChart/DonutChart.stories.js +387 -0
  199. package/lib/components/Charts/DonutChart/DonutChart.stories.tsx +415 -0
  200. package/lib/components/Charts/DonutChart/DonutChart.tsx +155 -0
  201. package/lib/components/Charts/DonutChart/index.d.ts +2 -0
  202. package/lib/components/Charts/DonutChart/index.d.ts.map +1 -0
  203. package/lib/components/Charts/DonutChart/index.ts +1 -0
  204. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +25 -0
  205. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -0
  206. package/lib/components/Charts/FunnelChart/FunnelChart.js +6 -7
  207. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +307 -0
  208. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +1 -0
  209. package/lib/components/Charts/FunnelChart/FunnelChart.stories.js +529 -0
  210. package/lib/components/Charts/FunnelChart/FunnelChart.stories.tsx +510 -0
  211. package/lib/components/Charts/FunnelChart/FunnelChart.tsx +110 -0
  212. package/lib/components/Charts/FunnelChart/index.d.ts +2 -0
  213. package/lib/components/Charts/FunnelChart/index.d.ts.map +1 -0
  214. package/lib/components/Charts/FunnelChart/index.ts +1 -0
  215. package/lib/components/Charts/LineChart/LineChart.d.ts +23 -0
  216. package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -0
  217. package/lib/components/Charts/LineChart/LineChart.js +6 -6
  218. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +310 -0
  219. package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +1 -0
  220. package/lib/components/Charts/LineChart/LineChart.stories.js +587 -0
  221. package/lib/components/Charts/LineChart/LineChart.stories.tsx +590 -0
  222. package/lib/components/Charts/LineChart/LineChart.tsx +109 -0
  223. package/lib/components/Charts/LineChart/index.d.ts +2 -0
  224. package/lib/components/Charts/LineChart/index.d.ts.map +1 -0
  225. package/lib/components/Charts/LineChart/index.ts +1 -0
  226. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +22 -0
  227. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -0
  228. package/lib/components/Charts/SpiderChart/SpiderChart.js +0 -5
  229. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +149 -0
  230. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +1 -0
  231. package/lib/components/Charts/SpiderChart/SpiderChart.stories.js +422 -0
  232. package/lib/components/Charts/SpiderChart/SpiderChart.stories.tsx +467 -0
  233. package/lib/components/Charts/SpiderChart/SpiderChart.tsx +104 -0
  234. package/lib/components/Charts/SpiderChart/index.d.ts +2 -0
  235. package/lib/components/Charts/SpiderChart/index.d.ts.map +1 -0
  236. package/lib/components/Charts/SpiderChart/index.ts +1 -0
  237. package/lib/components/Charts/index.d.ts +8 -0
  238. package/lib/components/Charts/index.d.ts.map +1 -0
  239. package/lib/components/Charts/index.ts +11 -0
  240. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +101 -0
  241. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +1 -0
  242. package/lib/components/ChatBubble/ChatAnchor.stories.js +113 -0
  243. package/lib/components/ChatBubble/ChatAnchor.stories.tsx +95 -0
  244. package/lib/components/ChatBubble/ChatBubble.d.ts +76 -0
  245. package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -0
  246. package/lib/components/ChatBubble/ChatBubble.js +5 -2
  247. package/lib/components/ChatBubble/ChatBubble.stories.d.ts +102 -0
  248. package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +1 -0
  249. package/lib/components/ChatBubble/ChatBubble.stories.js +188 -0
  250. package/lib/components/ChatBubble/ChatBubble.stories.tsx +277 -0
  251. package/lib/components/ChatBubble/ChatBubble.tsx +232 -0
  252. package/lib/components/ChatBubble/index.d.ts +2 -0
  253. package/lib/components/ChatBubble/index.d.ts.map +1 -0
  254. package/lib/components/ChatBubble/index.ts +1 -0
  255. package/lib/components/Checkbox/Checkbox.d.ts +29 -0
  256. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -0
  257. package/lib/components/Checkbox/Checkbox.js +2 -0
  258. package/lib/components/Checkbox/Checkbox.stories.d.ts +168 -0
  259. package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
  260. package/lib/components/Checkbox/Checkbox.stories.js +210 -0
  261. package/lib/components/Checkbox/Checkbox.stories.tsx +180 -0
  262. package/lib/components/Checkbox/Checkbox.tsx +168 -0
  263. package/lib/components/Checkbox/CheckboxGroup.d.ts +26 -0
  264. package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
  265. package/lib/components/Checkbox/CheckboxGroup.js +8 -0
  266. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +163 -0
  267. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -0
  268. package/lib/components/Checkbox/CheckboxGroup.stories.js +399 -0
  269. package/lib/components/Checkbox/CheckboxGroup.stories.tsx +381 -0
  270. package/lib/components/Checkbox/CheckboxGroup.tsx +119 -0
  271. package/lib/components/Checkbox/index.d.ts +3 -0
  272. package/lib/components/Checkbox/index.d.ts.map +1 -0
  273. package/lib/components/Checkbox/index.ts +2 -0
  274. package/lib/components/Chip/Chip.d.ts +47 -0
  275. package/lib/components/Chip/Chip.d.ts.map +1 -0
  276. package/lib/components/Chip/Chip.js +10 -2
  277. package/lib/components/Chip/Chip.stories.d.ts +238 -0
  278. package/lib/components/Chip/Chip.stories.d.ts.map +1 -0
  279. package/lib/components/Chip/Chip.stories.js +362 -0
  280. package/lib/components/Chip/Chip.stories.tsx +335 -0
  281. package/lib/components/Chip/Chip.tsx +204 -0
  282. package/lib/components/Chip/index.d.ts +3 -0
  283. package/lib/components/Chip/index.d.ts.map +1 -0
  284. package/lib/components/Chip/index.ts +2 -0
  285. package/lib/components/CircularLoader/CircularLoader.d.ts +10 -0
  286. package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -0
  287. package/lib/components/CircularLoader/CircularLoader.stories.d.ts +64 -0
  288. package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +1 -0
  289. package/lib/components/CircularLoader/CircularLoader.stories.js +82 -0
  290. package/lib/components/CircularLoader/CircularLoader.stories.tsx +75 -0
  291. package/lib/components/CircularLoader/CircularLoader.tsx +51 -0
  292. package/lib/components/CircularLoader/index.d.ts +2 -0
  293. package/lib/components/CircularLoader/index.d.ts.map +1 -0
  294. package/lib/components/CircularLoader/index.ts +1 -0
  295. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +40 -0
  296. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -0
  297. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +225 -0
  298. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +1 -0
  299. package/lib/components/CollapsibleCard/CollapsibleCard.stories.js +298 -0
  300. package/lib/components/CollapsibleCard/CollapsibleCard.stories.tsx +311 -0
  301. package/lib/components/CollapsibleCard/CollapsibleCard.tsx +135 -0
  302. package/lib/components/CollapsibleCard/index.d.ts +2 -0
  303. package/lib/components/CollapsibleCard/index.d.ts.map +1 -0
  304. package/lib/components/CollapsibleCard/index.ts +1 -0
  305. package/lib/components/Combobox/Combobox.d.ts +78 -0
  306. package/lib/components/Combobox/Combobox.d.ts.map +1 -0
  307. package/lib/components/Combobox/Combobox.js +16 -3
  308. package/lib/components/Combobox/Combobox.stories.d.ts +197 -0
  309. package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -0
  310. package/lib/components/Combobox/Combobox.stories.js +343 -0
  311. package/lib/components/Combobox/Combobox.stories.tsx +306 -0
  312. package/lib/components/Combobox/Combobox.tsx +297 -0
  313. package/lib/components/Combobox/helper.d.ts +12 -0
  314. package/lib/components/Combobox/helper.d.ts.map +1 -0
  315. package/lib/components/Combobox/helper.js +1 -0
  316. package/lib/components/Combobox/helper.ts +201 -0
  317. package/lib/components/Combobox/index.d.ts +2 -0
  318. package/lib/components/Combobox/index.d.ts.map +1 -0
  319. package/lib/components/Combobox/index.ts +1 -0
  320. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
  321. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -0
  322. package/lib/components/ConditionalWrapper/ConditionalWrapper.js +0 -2
  323. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +16 -0
  324. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +1 -0
  325. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.js +50 -0
  326. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.tsx +51 -0
  327. package/lib/components/ConditionalWrapper/ConditionalWrapper.ts +16 -0
  328. package/lib/components/ConditionalWrapper/index.d.ts +2 -0
  329. package/lib/components/ConditionalWrapper/index.d.ts.map +1 -0
  330. package/lib/components/ConditionalWrapper/index.ts +1 -0
  331. package/lib/components/DateRangePicker/Calendar.d.ts +22 -0
  332. package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -0
  333. package/lib/components/DateRangePicker/Calendar.js +4 -2
  334. package/lib/components/DateRangePicker/Calendar.tsx +110 -0
  335. package/lib/components/DateRangePicker/DateRangePicker.d.ts +22 -0
  336. package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  337. package/lib/components/DateRangePicker/DateRangePicker.js +0 -1
  338. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +184 -0
  339. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
  340. package/lib/components/DateRangePicker/DateRangePicker.stories.js +406 -0
  341. package/lib/components/DateRangePicker/DateRangePicker.stories.tsx +397 -0
  342. package/lib/components/DateRangePicker/DateRangePicker.tsx +210 -0
  343. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +33 -0
  344. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -0
  345. package/lib/components/DateRangePicker/DateRangeWrapper.js +13 -5
  346. package/lib/components/DateRangePicker/DateRangeWrapper.tsx +386 -0
  347. package/lib/components/DateRangePicker/Day.d.ts +17 -0
  348. package/lib/components/DateRangePicker/Day.d.ts.map +1 -0
  349. package/lib/components/DateRangePicker/Day.js +6 -4
  350. package/lib/components/DateRangePicker/Day.tsx +74 -0
  351. package/lib/components/DateRangePicker/index.d.ts +2 -0
  352. package/lib/components/DateRangePicker/index.d.ts.map +1 -0
  353. package/lib/components/DateRangePicker/index.ts +1 -0
  354. package/lib/components/Dialog/Dialog.d.ts +46 -0
  355. package/lib/components/Dialog/Dialog.d.ts.map +1 -0
  356. package/lib/components/Dialog/Dialog.stories.d.ts +171 -0
  357. package/lib/components/Dialog/Dialog.stories.d.ts.map +1 -0
  358. package/lib/components/Dialog/Dialog.stories.js +260 -0
  359. package/lib/components/Dialog/Dialog.stories.tsx +254 -0
  360. package/lib/components/Dialog/Dialog.tsx +222 -0
  361. package/lib/components/Dialog/index.d.ts +2 -0
  362. package/lib/components/Dialog/index.d.ts.map +1 -0
  363. package/lib/components/Dialog/index.ts +1 -0
  364. package/lib/components/Disclaimer/Disclaimer.d.ts +5 -0
  365. package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -0
  366. package/lib/components/Disclaimer/Disclaimer.js +1 -0
  367. package/lib/components/Disclaimer/Disclaimer.stories.d.ts +156 -0
  368. package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +1 -0
  369. package/lib/components/Disclaimer/Disclaimer.stories.js +174 -0
  370. package/lib/components/Disclaimer/Disclaimer.stories.tsx +148 -0
  371. package/lib/components/Disclaimer/Disclaimer.tsx +35 -0
  372. package/lib/components/Disclaimer/index.d.ts +2 -0
  373. package/lib/components/Disclaimer/index.d.ts.map +1 -0
  374. package/lib/components/Disclaimer/index.ts +1 -0
  375. package/lib/components/Dropdown/Dropdown.d.ts +25 -0
  376. package/lib/components/Dropdown/Dropdown.d.ts.map +1 -0
  377. package/lib/components/Dropdown/Dropdown.js +14 -3
  378. package/lib/components/Dropdown/Dropdown.stories.d.ts +417 -0
  379. package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
  380. package/lib/components/Dropdown/Dropdown.stories.js +729 -0
  381. package/lib/components/Dropdown/Dropdown.stories.tsx +785 -0
  382. package/lib/components/Dropdown/Dropdown.tsx +174 -0
  383. package/lib/components/Dropdown/SimpleDropdown.d.ts +44 -0
  384. package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -0
  385. package/lib/components/Dropdown/SimpleDropdown.js +7 -1
  386. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +424 -0
  387. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -0
  388. package/lib/components/Dropdown/SimpleDropdown.stories.js +569 -0
  389. package/lib/components/Dropdown/SimpleDropdown.stories.tsx +534 -0
  390. package/lib/components/Dropdown/SimpleDropdown.tsx +167 -0
  391. package/lib/components/Dropdown/index.d.ts +3 -0
  392. package/lib/components/Dropdown/index.d.ts.map +1 -0
  393. package/lib/components/Dropdown/index.ts +2 -0
  394. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts +3 -0
  395. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +1 -0
  396. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.tsx +108 -0
  397. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts +3 -0
  398. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +1 -0
  399. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.tsx +194 -0
  400. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts +3 -0
  401. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +1 -0
  402. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.tsx +116 -0
  403. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts +3 -0
  404. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +1 -0
  405. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.tsx +133 -0
  406. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts +3 -0
  407. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +1 -0
  408. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.tsx +64 -0
  409. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts +3 -0
  410. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +1 -0
  411. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.tsx +67 -0
  412. package/lib/components/EmptyState/EmptyImages/index.d.ts +7 -0
  413. package/lib/components/EmptyState/EmptyImages/index.d.ts.map +1 -0
  414. package/lib/components/EmptyState/EmptyImages/index.ts +6 -0
  415. package/lib/components/EmptyState/EmptyState.d.ts +20 -0
  416. package/lib/components/EmptyState/EmptyState.d.ts.map +1 -0
  417. package/lib/components/EmptyState/EmptyState.stories.d.ts +91 -0
  418. package/lib/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
  419. package/lib/components/EmptyState/EmptyState.stories.js +115 -0
  420. package/lib/components/EmptyState/EmptyState.stories.tsx +104 -0
  421. package/lib/components/EmptyState/EmptyState.tsx +83 -0
  422. package/lib/components/EmptyState/index.d.ts +2 -0
  423. package/lib/components/EmptyState/index.d.ts.map +1 -0
  424. package/lib/components/EmptyState/index.ts +1 -0
  425. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts +3 -0
  426. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +1 -0
  427. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.tsx +85 -0
  428. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts +3 -0
  429. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +1 -0
  430. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.tsx +117 -0
  431. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts +3 -0
  432. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +1 -0
  433. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.tsx +237 -0
  434. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts +3 -0
  435. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +1 -0
  436. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.tsx +73 -0
  437. package/lib/components/ErrorMessage/ErrorImages/index.d.ts +5 -0
  438. package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +1 -0
  439. package/lib/components/ErrorMessage/ErrorImages/index.ts +4 -0
  440. package/lib/components/ErrorMessage/ErrorMessage.d.ts +22 -0
  441. package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -0
  442. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +97 -0
  443. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -0
  444. package/lib/components/ErrorMessage/ErrorMessage.stories.js +125 -0
  445. package/lib/components/ErrorMessage/ErrorMessage.stories.tsx +112 -0
  446. package/lib/components/ErrorMessage/ErrorMessage.tsx +87 -0
  447. package/lib/components/ErrorMessage/index.d.ts +2 -0
  448. package/lib/components/ErrorMessage/index.d.ts.map +1 -0
  449. package/lib/components/ErrorMessage/index.ts +1 -0
  450. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +14 -0
  451. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -0
  452. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +68 -0
  453. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +1 -0
  454. package/lib/components/FileUpload/FileBlock/FileBlock.stories.js +91 -0
  455. package/lib/components/FileUpload/FileBlock/FileBlock.stories.tsx +85 -0
  456. package/lib/components/FileUpload/FileBlock/FileBlock.tsx +136 -0
  457. package/lib/components/FileUpload/FileBlock/index.d.ts +2 -0
  458. package/lib/components/FileUpload/FileBlock/index.d.ts.map +1 -0
  459. package/lib/components/FileUpload/FileBlock/index.ts +1 -0
  460. package/lib/components/FileUpload/FileUpload.d.ts +62 -0
  461. package/lib/components/FileUpload/FileUpload.d.ts.map +1 -0
  462. package/lib/components/FileUpload/FileUpload.js +6 -1
  463. package/lib/components/FileUpload/FileUpload.stories.d.ts +340 -0
  464. package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
  465. package/lib/components/FileUpload/FileUpload.stories.js +952 -0
  466. package/lib/components/FileUpload/FileUpload.stories.tsx +958 -0
  467. package/lib/components/FileUpload/FileUpload.tsx +206 -0
  468. package/lib/components/FileUpload/index.d.ts +3 -0
  469. package/lib/components/FileUpload/index.d.ts.map +1 -0
  470. package/lib/components/FileUpload/index.ts +2 -0
  471. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +30 -0
  472. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -0
  473. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +11 -3
  474. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.module.css +5 -5
  475. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +300 -0
  476. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -0
  477. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.js +390 -0
  478. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.tsx +345 -0
  479. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.tsx +163 -0
  480. package/lib/components/FilterButtonOverlay/index.d.ts +2 -0
  481. package/lib/components/FilterButtonOverlay/index.d.ts.map +1 -0
  482. package/lib/components/FilterButtonOverlay/index.ts +1 -0
  483. package/lib/components/FocusManager/FocusManager.d.ts +17 -0
  484. package/lib/components/FocusManager/FocusManager.d.ts.map +1 -0
  485. package/lib/components/FocusManager/FocusManager.stories.d.ts +103 -0
  486. package/lib/components/FocusManager/FocusManager.stories.d.ts.map +1 -0
  487. package/lib/components/FocusManager/FocusManager.stories.js +133 -0
  488. package/lib/components/FocusManager/FocusManager.stories.tsx +117 -0
  489. package/lib/components/FocusManager/FocusManager.tsx +59 -0
  490. package/lib/components/FocusManager/index.d.ts +2 -0
  491. package/lib/components/FocusManager/index.d.ts.map +1 -0
  492. package/lib/components/FocusManager/index.ts +1 -0
  493. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +20 -0
  494. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -0
  495. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +11 -0
  496. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +175 -0
  497. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -0
  498. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.js +427 -0
  499. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.tsx +557 -0
  500. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.tsx +156 -0
  501. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +2 -0
  502. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +1 -0
  503. package/lib/components/FocusManagerWithArrowKeyNavigation/index.ts +1 -0
  504. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +21 -0
  505. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -0
  506. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +128 -0
  507. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +1 -0
  508. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.js +189 -0
  509. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.tsx +173 -0
  510. package/lib/components/FormTitleWrapper/FormTitleWrapper.tsx +63 -0
  511. package/lib/components/FormTitleWrapper/index.d.ts +2 -0
  512. package/lib/components/FormTitleWrapper/index.d.ts.map +1 -0
  513. package/lib/components/FormTitleWrapper/index.ts +1 -0
  514. package/lib/components/Grid/Col.stories.d.ts +66 -0
  515. package/lib/components/Grid/Col.stories.d.ts.map +1 -0
  516. package/lib/components/Grid/Col.stories.js +141 -0
  517. package/lib/components/Grid/Col.stories.tsx +114 -0
  518. package/lib/components/Grid/Grid.d.ts +20 -0
  519. package/lib/components/Grid/Grid.d.ts.map +1 -0
  520. package/lib/components/Grid/Grid.js +8 -0
  521. package/lib/components/Grid/Grid.tsx +119 -0
  522. package/lib/components/Grid/GridPatterns.stories.d.ts +18 -0
  523. package/lib/components/Grid/GridPatterns.stories.d.ts.map +1 -0
  524. package/lib/components/Grid/GridPatterns.stories.js +392 -0
  525. package/lib/components/Grid/GridPatterns.stories.tsx +420 -0
  526. package/lib/components/Grid/Row.stories.d.ts +41 -0
  527. package/lib/components/Grid/Row.stories.d.ts.map +1 -0
  528. package/lib/components/Grid/Row.stories.js +172 -0
  529. package/lib/components/Grid/Row.stories.tsx +135 -0
  530. package/lib/components/Grid/Tablist.layout.stories.d.ts +20 -0
  531. package/lib/components/Grid/Tablist.layout.stories.d.ts.map +1 -0
  532. package/lib/components/Grid/Tablist.layout.stories.js +330 -0
  533. package/lib/components/Grid/Tablist.layout.stories.tsx +281 -0
  534. package/lib/components/Grid/index.d.ts +2 -0
  535. package/lib/components/Grid/index.d.ts.map +1 -0
  536. package/lib/components/Grid/index.ts +1 -0
  537. package/lib/components/Icon/ClickableIcon.d.ts +26 -0
  538. package/lib/components/Icon/ClickableIcon.d.ts.map +1 -0
  539. package/lib/components/Icon/ClickableIcon.js +4 -2
  540. package/lib/components/Icon/ClickableIcon.tsx +104 -0
  541. package/lib/components/Icon/Icon.d.ts +31 -0
  542. package/lib/components/Icon/Icon.d.ts.map +1 -0
  543. package/lib/components/Icon/Icon.docs.d.ts +134 -0
  544. package/lib/components/Icon/Icon.docs.d.ts.map +1 -0
  545. package/lib/components/Icon/Icon.docs.js +1 -1
  546. package/lib/components/Icon/Icon.docs.ts +118 -0
  547. package/lib/components/Icon/Icon.js +3 -1
  548. package/lib/components/Icon/Icon.stories.d.ts +193 -0
  549. package/lib/components/Icon/Icon.stories.d.ts.map +1 -0
  550. package/lib/components/Icon/Icon.stories.js +73 -0
  551. package/lib/components/Icon/Icon.stories.tsx +79 -0
  552. package/lib/components/Icon/Icon.tsx +78 -0
  553. package/lib/components/Icon/SemanticIcon.d.ts +14 -0
  554. package/lib/components/Icon/SemanticIcon.d.ts.map +1 -0
  555. package/lib/components/Icon/SemanticIcon.js +3 -1
  556. package/lib/components/Icon/SemanticIcon.stories.d.ts +190 -0
  557. package/lib/components/Icon/SemanticIcon.stories.d.ts.map +1 -0
  558. package/lib/components/Icon/SemanticIcon.stories.js +75 -0
  559. package/lib/components/Icon/SemanticIcon.stories.tsx +74 -0
  560. package/lib/components/Icon/SemanticIcon.tsx +49 -0
  561. package/lib/components/Icon/index.d.ts +4 -0
  562. package/lib/components/Icon/index.d.ts.map +1 -0
  563. package/lib/components/Icon/index.ts +3 -0
  564. package/lib/components/InContextAlert/InContextAlert.d.ts +31 -0
  565. package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -0
  566. package/lib/components/InContextAlert/InContextAlert.js +2 -0
  567. package/lib/components/InContextAlert/InContextAlert.stories.d.ts +164 -0
  568. package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -0
  569. package/lib/components/InContextAlert/InContextAlert.stories.js +184 -0
  570. package/lib/components/InContextAlert/InContextAlert.stories.tsx +164 -0
  571. package/lib/components/InContextAlert/InContextAlert.tsx +204 -0
  572. package/lib/components/InContextAlert/index.d.ts +2 -0
  573. package/lib/components/InContextAlert/index.d.ts.map +1 -0
  574. package/lib/components/InContextAlert/index.ts +1 -0
  575. package/lib/components/InfinitePagination/InfinitePagination.d.ts +26 -0
  576. package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -0
  577. package/lib/components/InfinitePagination/InfinitePagination.js +9 -2
  578. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +145 -0
  579. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -0
  580. package/lib/components/InfinitePagination/InfinitePagination.stories.js +343 -0
  581. package/lib/components/InfinitePagination/InfinitePagination.stories.tsx +323 -0
  582. package/lib/components/InfinitePagination/InfinitePagination.tsx +121 -0
  583. package/lib/components/InfinitePagination/index.d.ts +2 -0
  584. package/lib/components/InfinitePagination/index.d.ts.map +1 -0
  585. package/lib/components/InfinitePagination/index.ts +1 -0
  586. package/lib/components/InlineDropdown/InlineDropdown.d.ts +25 -0
  587. package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -0
  588. package/lib/components/InlineDropdown/InlineDropdown.js +12 -3
  589. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +350 -0
  590. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -0
  591. package/lib/components/InlineDropdown/InlineDropdown.stories.js +397 -0
  592. package/lib/components/InlineDropdown/InlineDropdown.stories.tsx +415 -0
  593. package/lib/components/InlineDropdown/InlineDropdown.tsx +175 -0
  594. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +40 -0
  595. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -0
  596. package/lib/components/InlineDropdown/SimpleInlineDropdown.js +7 -0
  597. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +469 -0
  598. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -0
  599. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.js +521 -0
  600. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.tsx +513 -0
  601. package/lib/components/InlineDropdown/SimpleInlineDropdown.tsx +165 -0
  602. package/lib/components/InlineDropdown/index.d.ts +3 -0
  603. package/lib/components/InlineDropdown/index.d.ts.map +1 -0
  604. package/lib/components/InlineDropdown/index.ts +2 -0
  605. package/lib/components/Input/Input.d.ts +76 -0
  606. package/lib/components/Input/Input.d.ts.map +1 -0
  607. package/lib/components/Input/Input.js +18 -5
  608. package/lib/components/Input/Input.stories.d.ts +502 -0
  609. package/lib/components/Input/Input.stories.d.ts.map +1 -0
  610. package/lib/components/Input/Input.stories.js +608 -0
  611. package/lib/components/Input/Input.stories.tsx +590 -0
  612. package/lib/components/Input/Input.tsx +336 -0
  613. package/lib/components/Input/NativeColorpicker.stories.d.ts +370 -0
  614. package/lib/components/Input/NativeColorpicker.stories.d.ts.map +1 -0
  615. package/lib/components/Input/NativeColorpicker.stories.js +395 -0
  616. package/lib/components/Input/NativeColorpicker.stories.tsx +337 -0
  617. package/lib/components/Input/NativeDatepicker.stories.d.ts +388 -0
  618. package/lib/components/Input/NativeDatepicker.stories.d.ts.map +1 -0
  619. package/lib/components/Input/NativeDatepicker.stories.js +457 -0
  620. package/lib/components/Input/NativeDatepicker.stories.tsx +424 -0
  621. package/lib/components/Input/index.d.ts +2 -0
  622. package/lib/components/Input/index.d.ts.map +1 -0
  623. package/lib/components/Input/index.ts +1 -0
  624. package/lib/components/KPIBox/KPIBox.d.ts +23 -0
  625. package/lib/components/KPIBox/KPIBox.d.ts.map +1 -0
  626. package/lib/components/KPIBox/KPIBox.stories.d.ts +132 -0
  627. package/lib/components/KPIBox/KPIBox.stories.d.ts.map +1 -0
  628. package/lib/components/KPIBox/KPIBox.stories.js +246 -0
  629. package/lib/components/KPIBox/KPIBox.stories.tsx +321 -0
  630. package/lib/components/KPIBox/KPIBox.tsx +94 -0
  631. package/lib/components/KPIBox/index.d.ts +2 -0
  632. package/lib/components/KPIBox/index.d.ts.map +1 -0
  633. package/lib/components/KPIBox/index.ts +1 -0
  634. package/lib/components/LinearLoader/LinearLoader.d.ts +9 -0
  635. package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -0
  636. package/lib/components/LinearLoader/LinearLoader.stories.d.ts +78 -0
  637. package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +1 -0
  638. package/lib/components/LinearLoader/LinearLoader.stories.js +135 -0
  639. package/lib/components/LinearLoader/LinearLoader.stories.tsx +132 -0
  640. package/lib/components/LinearLoader/LinearLoader.tsx +48 -0
  641. package/lib/components/LinearLoader/index.d.ts +2 -0
  642. package/lib/components/LinearLoader/index.d.ts.map +1 -0
  643. package/lib/components/LinearLoader/index.ts +1 -0
  644. package/lib/components/Link/Link.d.ts +93 -0
  645. package/lib/components/Link/Link.d.ts.map +1 -0
  646. package/lib/components/Link/Link.js +16 -5
  647. package/lib/components/Link/Link.stories.d.ts +284 -0
  648. package/lib/components/Link/Link.stories.d.ts.map +1 -0
  649. package/lib/components/Link/Link.stories.js +350 -0
  650. package/lib/components/Link/Link.stories.tsx +302 -0
  651. package/lib/components/Link/Link.tsx +231 -0
  652. package/lib/components/Link/index.d.ts +2 -0
  653. package/lib/components/Link/index.d.ts.map +1 -0
  654. package/lib/components/Link/index.ts +1 -0
  655. package/lib/components/Menu/Menu.d.ts +74 -0
  656. package/lib/components/Menu/Menu.d.ts.map +1 -0
  657. package/lib/components/Menu/Menu.js +5 -2
  658. package/lib/components/Menu/Menu.stories.d.ts +526 -0
  659. package/lib/components/Menu/Menu.stories.d.ts.map +1 -0
  660. package/lib/components/Menu/Menu.stories.js +1048 -0
  661. package/lib/components/Menu/Menu.stories.tsx +1046 -0
  662. package/lib/components/Menu/Menu.tsx +391 -0
  663. package/lib/components/Menu/MenuOptionButton.d.ts +9 -0
  664. package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -0
  665. package/lib/components/Menu/MenuOptionButton.js +6 -1
  666. package/lib/components/Menu/MenuOptionButton.tsx +206 -0
  667. package/lib/components/Menu/index.d.ts +3 -0
  668. package/lib/components/Menu/index.d.ts.map +1 -0
  669. package/lib/components/Menu/index.ts +2 -0
  670. package/lib/components/Modal/Modal.d.ts +64 -0
  671. package/lib/components/Modal/Modal.d.ts.map +1 -0
  672. package/lib/components/Modal/Modal.js +6 -2
  673. package/lib/components/Modal/Modal.stories.d.ts +149 -0
  674. package/lib/components/Modal/Modal.stories.d.ts.map +1 -0
  675. package/lib/components/Modal/Modal.stories.js +427 -0
  676. package/lib/components/Modal/Modal.stories.tsx +430 -0
  677. package/lib/components/Modal/Modal.tsx +379 -0
  678. package/lib/components/Modal/index.d.ts +3 -0
  679. package/lib/components/Modal/index.d.ts.map +1 -0
  680. package/lib/components/Modal/index.ts +8 -0
  681. package/lib/components/Notification/Notification.d.ts +37 -0
  682. package/lib/components/Notification/Notification.d.ts.map +1 -0
  683. package/lib/components/Notification/Notification.js +1 -0
  684. package/lib/components/Notification/Notification.stories.d.ts +136 -0
  685. package/lib/components/Notification/Notification.stories.d.ts.map +1 -0
  686. package/lib/components/Notification/Notification.stories.js +153 -0
  687. package/lib/components/Notification/Notification.stories.tsx +132 -0
  688. package/lib/components/Notification/Notification.tsx +140 -0
  689. package/lib/components/Notification/index.d.ts +2 -0
  690. package/lib/components/Notification/index.d.ts.map +1 -0
  691. package/lib/components/Notification/index.ts +1 -0
  692. package/lib/components/OptionButton/OptionButton.d.ts +33 -0
  693. package/lib/components/OptionButton/OptionButton.d.ts.map +1 -0
  694. package/lib/components/OptionButton/OptionButton.stories.d.ts +366 -0
  695. package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -0
  696. package/lib/components/OptionButton/OptionButton.stories.js +437 -0
  697. package/lib/components/OptionButton/OptionButton.stories.tsx +397 -0
  698. package/lib/components/OptionButton/OptionButton.tsx +149 -0
  699. package/lib/components/OptionButton/SimpleOptionButton.d.ts +47 -0
  700. package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -0
  701. package/lib/components/OptionButton/SimpleOptionButton.js +4 -0
  702. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +502 -0
  703. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -0
  704. package/lib/components/OptionButton/SimpleOptionButton.stories.js +552 -0
  705. package/lib/components/OptionButton/SimpleOptionButton.stories.tsx +525 -0
  706. package/lib/components/OptionButton/SimpleOptionButton.tsx +160 -0
  707. package/lib/components/OptionButton/index.d.ts +3 -0
  708. package/lib/components/OptionButton/index.d.ts.map +1 -0
  709. package/lib/components/OptionButton/index.ts +2 -0
  710. package/lib/components/PageTitle/PageTitle.d.ts +156 -0
  711. package/lib/components/PageTitle/PageTitle.d.ts.map +1 -0
  712. package/lib/components/PageTitle/PageTitle.js +7 -2
  713. package/lib/components/PageTitle/PageTitle.stories.d.ts +83 -0
  714. package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -0
  715. package/lib/components/PageTitle/PageTitle.stories.js +221 -0
  716. package/lib/components/PageTitle/PageTitle.stories.tsx +257 -0
  717. package/lib/components/PageTitle/PageTitle.tsx +276 -0
  718. package/lib/components/PageTitle/index.d.ts +2 -0
  719. package/lib/components/PageTitle/index.d.ts.map +1 -0
  720. package/lib/components/PageTitle/index.ts +1 -0
  721. package/lib/components/Pagination/Pagination.d.ts +39 -0
  722. package/lib/components/Pagination/Pagination.d.ts.map +1 -0
  723. package/lib/components/Pagination/Pagination.js +3 -1
  724. package/lib/components/Pagination/Pagination.stories.d.ts +203 -0
  725. package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -0
  726. package/lib/components/Pagination/Pagination.stories.js +263 -0
  727. package/lib/components/Pagination/Pagination.stories.tsx +259 -0
  728. package/lib/components/Pagination/Pagination.tsx +147 -0
  729. package/lib/components/Pagination/PaginationItem.d.ts +5 -0
  730. package/lib/components/Pagination/PaginationItem.d.ts.map +1 -0
  731. package/lib/components/Pagination/PaginationItem.js +3 -0
  732. package/lib/components/Pagination/PaginationItem.tsx +118 -0
  733. package/lib/components/Pagination/index.d.ts +2 -0
  734. package/lib/components/Pagination/index.d.ts.map +1 -0
  735. package/lib/components/Pagination/index.ts +1 -0
  736. package/lib/components/Panel/Panel.d.ts +35 -0
  737. package/lib/components/Panel/Panel.d.ts.map +1 -0
  738. package/lib/components/Panel/Panel.stories.d.ts +187 -0
  739. package/lib/components/Panel/Panel.stories.d.ts.map +1 -0
  740. package/lib/components/Panel/Panel.stories.js +415 -0
  741. package/lib/components/Panel/Panel.stories.tsx +452 -0
  742. package/lib/components/Panel/Panel.tsx +181 -0
  743. package/lib/components/Panel/index.d.ts +3 -0
  744. package/lib/components/Panel/index.d.ts.map +1 -0
  745. package/lib/components/Panel/index.ts +2 -0
  746. package/lib/components/ProgressDonut/ProgressDonut.d.ts +13 -0
  747. package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -0
  748. package/lib/components/ProgressDonut/ProgressDonut.js +1 -0
  749. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +72 -0
  750. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +1 -0
  751. package/lib/components/ProgressDonut/ProgressDonut.stories.js +96 -0
  752. package/lib/components/ProgressDonut/ProgressDonut.stories.tsx +97 -0
  753. package/lib/components/ProgressDonut/ProgressDonut.tsx +111 -0
  754. package/lib/components/ProgressDonut/index.d.ts +2 -0
  755. package/lib/components/ProgressDonut/index.d.ts.map +1 -0
  756. package/lib/components/ProgressDonut/index.ts +1 -0
  757. package/lib/components/PromptChip/PromptChip.d.ts +38 -0
  758. package/lib/components/PromptChip/PromptChip.d.ts.map +1 -0
  759. package/lib/components/PromptChip/PromptChip.js +8 -2
  760. package/lib/components/PromptChip/PromptChip.stories.d.ts +205 -0
  761. package/lib/components/PromptChip/PromptChip.stories.d.ts.map +1 -0
  762. package/lib/components/PromptChip/PromptChip.stories.js +242 -0
  763. package/lib/components/PromptChip/PromptChip.stories.tsx +202 -0
  764. package/lib/components/PromptChip/PromptChip.tsx +166 -0
  765. package/lib/components/PromptChip/index.d.ts +2 -0
  766. package/lib/components/PromptChip/index.d.ts.map +1 -0
  767. package/lib/components/PromptChip/index.ts +1 -0
  768. package/lib/components/PromptInput/PromptInput.d.ts +38 -0
  769. package/lib/components/PromptInput/PromptInput.d.ts.map +1 -0
  770. package/lib/components/PromptInput/PromptInput.js +10 -1
  771. package/lib/components/PromptInput/PromptInput.stories.d.ts +265 -0
  772. package/lib/components/PromptInput/PromptInput.stories.d.ts.map +1 -0
  773. package/lib/components/PromptInput/PromptInput.stories.js +390 -0
  774. package/lib/components/PromptInput/PromptInput.stories.tsx +349 -0
  775. package/lib/components/PromptInput/PromptInput.tsx +190 -0
  776. package/lib/components/PromptInput/index.d.ts +2 -0
  777. package/lib/components/PromptInput/index.d.ts.map +1 -0
  778. package/lib/components/PromptInput/index.ts +1 -0
  779. package/lib/components/RadioButton/RadioButton.d.ts +31 -0
  780. package/lib/components/RadioButton/RadioButton.d.ts.map +1 -0
  781. package/lib/components/RadioButton/RadioButton.js +1 -0
  782. package/lib/components/RadioButton/RadioButton.stories.d.ts +149 -0
  783. package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -0
  784. package/lib/components/RadioButton/RadioButton.stories.js +180 -0
  785. package/lib/components/RadioButton/RadioButton.stories.tsx +157 -0
  786. package/lib/components/RadioButton/RadioButton.tsx +135 -0
  787. package/lib/components/RadioButton/RadioGroup.d.ts +27 -0
  788. package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -0
  789. package/lib/components/RadioButton/RadioGroup.js +2 -0
  790. package/lib/components/RadioButton/RadioGroup.stories.d.ts +137 -0
  791. package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -0
  792. package/lib/components/RadioButton/RadioGroup.stories.js +317 -0
  793. package/lib/components/RadioButton/RadioGroup.stories.tsx +283 -0
  794. package/lib/components/RadioButton/RadioGroup.tsx +90 -0
  795. package/lib/components/RadioButton/index.d.ts +3 -0
  796. package/lib/components/RadioButton/index.d.ts.map +1 -0
  797. package/lib/components/RadioButton/index.ts +2 -0
  798. package/lib/components/RadioTile/RadioTile.d.ts +23 -0
  799. package/lib/components/RadioTile/RadioTile.d.ts.map +1 -0
  800. package/lib/components/RadioTile/RadioTile.js +2 -0
  801. package/lib/components/RadioTile/RadioTile.stories.d.ts +171 -0
  802. package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -0
  803. package/lib/components/RadioTile/RadioTile.stories.js +261 -0
  804. package/lib/components/RadioTile/RadioTile.stories.tsx +276 -0
  805. package/lib/components/RadioTile/RadioTile.tsx +107 -0
  806. package/lib/components/RadioTile/index.d.ts +2 -0
  807. package/lib/components/RadioTile/index.d.ts.map +1 -0
  808. package/lib/components/RadioTile/index.ts +1 -0
  809. package/lib/components/RangeSlider/RangeSlider.d.ts +27 -0
  810. package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -0
  811. package/lib/components/RangeSlider/RangeSlider.js +3 -0
  812. package/lib/components/RangeSlider/RangeSlider.stories.d.ts +287 -0
  813. package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +1 -0
  814. package/lib/components/RangeSlider/RangeSlider.stories.js +379 -0
  815. package/lib/components/RangeSlider/RangeSlider.stories.tsx +342 -0
  816. package/lib/components/RangeSlider/RangeSlider.tsx +201 -0
  817. package/lib/components/RangeSlider/index.d.ts +2 -0
  818. package/lib/components/RangeSlider/index.d.ts.map +1 -0
  819. package/lib/components/RangeSlider/index.ts +1 -0
  820. package/lib/components/Rating/Rating.d.ts +32 -0
  821. package/lib/components/Rating/Rating.d.ts.map +1 -0
  822. package/lib/components/Rating/Rating.js +7 -3
  823. package/lib/components/Rating/Rating.stories.d.ts +237 -0
  824. package/lib/components/Rating/Rating.stories.d.ts.map +1 -0
  825. package/lib/components/Rating/Rating.stories.js +309 -0
  826. package/lib/components/Rating/Rating.stories.tsx +257 -0
  827. package/lib/components/Rating/Rating.tsx +141 -0
  828. package/lib/components/Rating/index.d.ts +2 -0
  829. package/lib/components/Rating/index.d.ts.map +1 -0
  830. package/lib/components/Rating/index.ts +1 -0
  831. package/lib/components/ScoreBar/ScoreBar.d.ts +28 -0
  832. package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -0
  833. package/lib/components/ScoreBar/ScoreBar.js +1 -1
  834. package/lib/components/ScoreBar/ScoreBar.stories.d.ts +156 -0
  835. package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +1 -0
  836. package/lib/components/ScoreBar/ScoreBar.stories.js +199 -0
  837. package/lib/components/ScoreBar/ScoreBar.stories.tsx +182 -0
  838. package/lib/components/ScoreBar/ScoreBar.tsx +133 -0
  839. package/lib/components/ScoreBar/index.d.ts +2 -0
  840. package/lib/components/ScoreBar/index.d.ts.map +1 -0
  841. package/lib/components/ScoreBar/index.ts +1 -0
  842. package/lib/components/SearchInput/SearchInput.d.ts +15 -0
  843. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -0
  844. package/lib/components/SearchInput/SearchInput.stories.d.ts +260 -0
  845. package/lib/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
  846. package/lib/components/SearchInput/SearchInput.stories.js +299 -0
  847. package/lib/components/SearchInput/SearchInput.stories.tsx +260 -0
  848. package/lib/components/SearchInput/SearchInput.tsx +81 -0
  849. package/lib/components/SearchInput/index.d.ts +3 -0
  850. package/lib/components/SearchInput/index.d.ts.map +1 -0
  851. package/lib/components/SearchInput/index.ts +2 -0
  852. package/lib/components/Separator/Separator.d.ts +18 -0
  853. package/lib/components/Separator/Separator.d.ts.map +1 -0
  854. package/lib/components/Separator/Separator.stories.d.ts +79 -0
  855. package/lib/components/Separator/Separator.stories.d.ts.map +1 -0
  856. package/lib/components/Separator/Separator.stories.js +101 -0
  857. package/lib/components/Separator/Separator.stories.tsx +95 -0
  858. package/lib/components/Separator/Separator.tsx +57 -0
  859. package/lib/components/Separator/index.d.ts +2 -0
  860. package/lib/components/Separator/index.d.ts.map +1 -0
  861. package/lib/components/Separator/index.ts +1 -0
  862. package/lib/components/Shimmer/Shimmer.d.ts +57 -0
  863. package/lib/components/Shimmer/Shimmer.d.ts.map +1 -0
  864. package/lib/components/Shimmer/Shimmer.js +4 -2
  865. package/lib/components/Shimmer/Shimmer.stories.d.ts +213 -0
  866. package/lib/components/Shimmer/Shimmer.stories.d.ts.map +1 -0
  867. package/lib/components/Shimmer/Shimmer.stories.js +323 -0
  868. package/lib/components/Shimmer/Shimmer.stories.tsx +317 -0
  869. package/lib/components/Shimmer/Shimmer.tsx +143 -0
  870. package/lib/components/Shimmer/index.d.ts +2 -0
  871. package/lib/components/Shimmer/index.d.ts.map +1 -0
  872. package/lib/components/Shimmer/index.ts +1 -0
  873. package/lib/components/SideMenuLink/SideMenuLink.d.ts +211 -0
  874. package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -0
  875. package/lib/components/SideMenuLink/SideMenuLink.js +8 -2
  876. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +96 -0
  877. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -0
  878. package/lib/components/SideMenuLink/SideMenuLink.stories.js +162 -0
  879. package/lib/components/SideMenuLink/SideMenuLink.stories.tsx +153 -0
  880. package/lib/components/SideMenuLink/SideMenuLink.tsx +344 -0
  881. package/lib/components/SideMenuLink/index.d.ts +2 -0
  882. package/lib/components/SideMenuLink/index.d.ts.map +1 -0
  883. package/lib/components/SideMenuLink/index.ts +1 -0
  884. package/lib/components/StatusIndicator/StatusIndicator.d.ts +25 -0
  885. package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -0
  886. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +92 -0
  887. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +1 -0
  888. package/lib/components/StatusIndicator/StatusIndicator.stories.js +145 -0
  889. package/lib/components/StatusIndicator/StatusIndicator.stories.tsx +130 -0
  890. package/lib/components/StatusIndicator/StatusIndicator.tsx +62 -0
  891. package/lib/components/StatusIndicator/index.d.ts +2 -0
  892. package/lib/components/StatusIndicator/index.d.ts.map +1 -0
  893. package/lib/components/StatusIndicator/index.ts +1 -0
  894. package/lib/components/Stepper/Step/Step.d.ts +25 -0
  895. package/lib/components/Stepper/Step/Step.d.ts.map +1 -0
  896. package/lib/components/Stepper/Step/Step.js +12 -3
  897. package/lib/components/Stepper/Step/Step.stories.d.ts +120 -0
  898. package/lib/components/Stepper/Step/Step.stories.d.ts.map +1 -0
  899. package/lib/components/Stepper/Step/Step.stories.js +147 -0
  900. package/lib/components/Stepper/Step/Step.stories.tsx +117 -0
  901. package/lib/components/Stepper/Step/Step.tsx +125 -0
  902. package/lib/components/Stepper/Step/StepContent.d.ts +14 -0
  903. package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -0
  904. package/lib/components/Stepper/Step/StepContent.tsx +40 -0
  905. package/lib/components/Stepper/Step/StepLabel.d.ts +14 -0
  906. package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -0
  907. package/lib/components/Stepper/Step/StepLabel.tsx +40 -0
  908. package/lib/components/Stepper/Step/index.d.ts +4 -0
  909. package/lib/components/Stepper/Step/index.d.ts.map +1 -0
  910. package/lib/components/Stepper/Step/index.ts +3 -0
  911. package/lib/components/Stepper/Stepper.d.ts +15 -0
  912. package/lib/components/Stepper/Stepper.d.ts.map +1 -0
  913. package/lib/components/Stepper/Stepper.js +4 -0
  914. package/lib/components/Stepper/Stepper.stories.d.ts +210 -0
  915. package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -0
  916. package/lib/components/Stepper/Stepper.stories.js +402 -0
  917. package/lib/components/Stepper/Stepper.stories.tsx +422 -0
  918. package/lib/components/Stepper/Stepper.tsx +68 -0
  919. package/lib/components/Stepper/index.d.ts +3 -0
  920. package/lib/components/Stepper/index.d.ts.map +1 -0
  921. package/lib/components/Stepper/index.ts +2 -0
  922. package/lib/components/StickyBar/StickyBar.d.ts +15 -0
  923. package/lib/components/StickyBar/StickyBar.d.ts.map +1 -0
  924. package/lib/components/StickyBar/StickyBar.stories.d.ts +35 -0
  925. package/lib/components/StickyBar/StickyBar.stories.d.ts.map +1 -0
  926. package/lib/components/StickyBar/StickyBar.stories.js +141 -0
  927. package/lib/components/StickyBar/StickyBar.stories.tsx +152 -0
  928. package/lib/components/StickyBar/StickyBar.tsx +65 -0
  929. package/lib/components/StickyBar/index.d.ts +2 -0
  930. package/lib/components/StickyBar/index.d.ts.map +1 -0
  931. package/lib/components/StickyBar/index.ts +1 -0
  932. package/lib/components/SubMenu/SubMenu.d.ts +19 -0
  933. package/lib/components/SubMenu/SubMenu.d.ts.map +1 -0
  934. package/lib/components/SubMenu/SubMenu.stories.d.ts +114 -0
  935. package/lib/components/SubMenu/SubMenu.stories.d.ts.map +1 -0
  936. package/lib/components/SubMenu/SubMenu.stories.js +373 -0
  937. package/lib/components/SubMenu/SubMenu.stories.tsx +413 -0
  938. package/lib/components/SubMenu/SubMenu.tsx +96 -0
  939. package/lib/components/SubMenu/SubMenuGroup.d.ts +24 -0
  940. package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -0
  941. package/lib/components/SubMenu/SubMenuGroup.js +11 -3
  942. package/lib/components/SubMenu/SubMenuGroup.tsx +161 -0
  943. package/lib/components/SubMenu/SubMenuItem.d.ts +42 -0
  944. package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -0
  945. package/lib/components/SubMenu/SubMenuItem.js +14 -4
  946. package/lib/components/SubMenu/SubMenuItem.tsx +170 -0
  947. package/lib/components/SubMenu/SubMenuLink.d.ts +14 -0
  948. package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -0
  949. package/lib/components/SubMenu/SubMenuLink.js +6 -2
  950. package/lib/components/SubMenu/SubMenuLink.tsx +87 -0
  951. package/lib/components/SubMenu/index.d.ts +5 -0
  952. package/lib/components/SubMenu/index.d.ts.map +1 -0
  953. package/lib/components/SubMenu/index.ts +4 -0
  954. package/lib/components/Table/BasicTable.stories.d.ts +536 -0
  955. package/lib/components/Table/BasicTable.stories.d.ts.map +1 -0
  956. package/lib/components/Table/BasicTable.stories.js +552 -0
  957. package/lib/components/Table/BasicTable.stories.tsx +647 -0
  958. package/lib/components/Table/BulkActions.stories.d.ts +257 -0
  959. package/lib/components/Table/BulkActions.stories.d.ts.map +1 -0
  960. package/lib/components/Table/BulkActions.stories.js +252 -0
  961. package/lib/components/Table/BulkActions.stories.tsx +267 -0
  962. package/lib/components/Table/Cell.d.ts +37 -0
  963. package/lib/components/Table/Cell.d.ts.map +1 -0
  964. package/lib/components/Table/Cell.js +3 -3
  965. package/lib/components/Table/Cell.tsx +125 -0
  966. package/lib/components/Table/DefaultRow.d.ts +39 -0
  967. package/lib/components/Table/DefaultRow.d.ts.map +1 -0
  968. package/lib/components/Table/DefaultRow.js +2 -2
  969. package/lib/components/Table/DefaultRow.tsx +159 -0
  970. package/lib/components/Table/DefaultTableHeader.d.ts +43 -0
  971. package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -0
  972. package/lib/components/Table/DefaultTableHeader.js +9 -2
  973. package/lib/components/Table/DefaultTableHeader.tsx +244 -0
  974. package/lib/components/Table/InlineEdit.stories.d.ts +244 -0
  975. package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -0
  976. package/lib/components/Table/InlineEdit.stories.js +355 -0
  977. package/lib/components/Table/InlineEdit.stories.tsx +390 -0
  978. package/lib/components/Table/StaticTable.d.ts +18 -0
  979. package/lib/components/Table/StaticTable.d.ts.map +1 -0
  980. package/lib/components/Table/StaticTable.js +39 -13
  981. package/lib/components/Table/StaticTable.tsx +230 -0
  982. package/lib/components/Table/Table.d.ts +56 -0
  983. package/lib/components/Table/Table.d.ts.map +1 -0
  984. package/lib/components/Table/Table.docs.d.ts +229 -0
  985. package/lib/components/Table/Table.docs.d.ts.map +1 -0
  986. package/lib/components/Table/Table.docs.js +3 -3
  987. package/lib/components/Table/Table.docs.ts +495 -0
  988. package/lib/components/Table/Table.js +12 -1
  989. package/lib/components/Table/Table.tsx +135 -0
  990. package/lib/components/Table/TableActionBar.d.ts +11 -0
  991. package/lib/components/Table/TableActionBar.d.ts.map +1 -0
  992. package/lib/components/Table/TableActionBar.tsx +55 -0
  993. package/lib/components/Table/TableBottomBar.d.ts +7 -0
  994. package/lib/components/Table/TableBottomBar.d.ts.map +1 -0
  995. package/lib/components/Table/TableBottomBar.tsx +25 -0
  996. package/lib/components/Table/TableTopBar.d.ts +7 -0
  997. package/lib/components/Table/TableTopBar.d.ts.map +1 -0
  998. package/lib/components/Table/TableTopBar.tsx +25 -0
  999. package/lib/components/Table/dummyTableData.d.ts +1946 -0
  1000. package/lib/components/Table/dummyTableData.d.ts.map +1 -0
  1001. package/lib/components/Table/dummyTableData.ts +2189 -0
  1002. package/lib/components/Table/hooks.d.ts +15 -0
  1003. package/lib/components/Table/hooks.d.ts.map +1 -0
  1004. package/lib/components/Table/hooks.js +7 -0
  1005. package/lib/components/Table/hooks.ts +102 -0
  1006. package/lib/components/Table/index.d.ts +9 -0
  1007. package/lib/components/Table/index.d.ts.map +1 -0
  1008. package/lib/components/Table/index.ts +8 -0
  1009. package/lib/components/Tabs/Tab/Tab.d.ts +35 -0
  1010. package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -0
  1011. package/lib/components/Tabs/Tab/Tab.js +5 -1
  1012. package/lib/components/Tabs/Tab/Tab.stories.d.ts +156 -0
  1013. package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +1 -0
  1014. package/lib/components/Tabs/Tab/Tab.stories.js +179 -0
  1015. package/lib/components/Tabs/Tab/Tab.stories.tsx +151 -0
  1016. package/lib/components/Tabs/Tab/Tab.tsx +152 -0
  1017. package/lib/components/Tabs/Tab/index.d.ts +2 -0
  1018. package/lib/components/Tabs/Tab/index.d.ts.map +1 -0
  1019. package/lib/components/Tabs/Tab/index.ts +1 -0
  1020. package/lib/components/Tabs/TabList/TabDropdown.d.ts +24 -0
  1021. package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -0
  1022. package/lib/components/Tabs/TabList/TabDropdown.js +8 -2
  1023. package/lib/components/Tabs/TabList/TabDropdown.tsx +125 -0
  1024. package/lib/components/Tabs/TabList/TabList.d.ts +24 -0
  1025. package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -0
  1026. package/lib/components/Tabs/TabList/TabList.js +17 -3
  1027. package/lib/components/Tabs/TabList/TabList.stories.d.ts +111 -0
  1028. package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -0
  1029. package/lib/components/Tabs/TabList/TabList.stories.js +197 -0
  1030. package/lib/components/Tabs/TabList/TabList.stories.tsx +172 -0
  1031. package/lib/components/Tabs/TabList/TabList.tsx +178 -0
  1032. package/lib/components/Tabs/TabList/index.d.ts +2 -0
  1033. package/lib/components/Tabs/TabList/index.d.ts.map +1 -0
  1034. package/lib/components/Tabs/TabList/index.ts +1 -0
  1035. package/lib/components/Tabs/index.d.ts +3 -0
  1036. package/lib/components/Tabs/index.d.ts.map +1 -0
  1037. package/lib/components/Tabs/index.ts +2 -0
  1038. package/lib/components/Text/HighlightedText.stories.d.ts +120 -0
  1039. package/lib/components/Text/HighlightedText.stories.d.ts.map +1 -0
  1040. package/lib/components/Text/HighlightedText.stories.js +131 -0
  1041. package/lib/components/Text/HighlightedText.stories.tsx +122 -0
  1042. package/lib/components/Text/Text.d.ts +46 -0
  1043. package/lib/components/Text/Text.d.ts.map +1 -0
  1044. package/lib/components/Text/Text.js +1 -0
  1045. package/lib/components/Text/Text.stories.d.ts +271 -0
  1046. package/lib/components/Text/Text.stories.d.ts.map +1 -0
  1047. package/lib/components/Text/Text.stories.js +262 -0
  1048. package/lib/components/Text/Text.stories.tsx +302 -0
  1049. package/lib/components/Text/Text.tsx +882 -0
  1050. package/lib/components/Text/index.d.ts +4 -0
  1051. package/lib/components/Text/index.d.ts.map +1 -0
  1052. package/lib/components/Text/index.ts +30 -0
  1053. package/lib/components/TextTile/TextTile.d.ts +14 -0
  1054. package/lib/components/TextTile/TextTile.d.ts.map +1 -0
  1055. package/lib/components/TextTile/TextTile.stories.d.ts +76 -0
  1056. package/lib/components/TextTile/TextTile.stories.d.ts.map +1 -0
  1057. package/lib/components/TextTile/TextTile.stories.js +100 -0
  1058. package/lib/components/TextTile/TextTile.stories.tsx +89 -0
  1059. package/lib/components/TextTile/TextTile.tsx +51 -0
  1060. package/lib/components/TextTile/index.d.ts +2 -0
  1061. package/lib/components/TextTile/index.d.ts.map +1 -0
  1062. package/lib/components/TextTile/index.ts +1 -0
  1063. package/lib/components/Textarea/Textarea.d.ts +28 -0
  1064. package/lib/components/Textarea/Textarea.d.ts.map +1 -0
  1065. package/lib/components/Textarea/Textarea.js +14 -4
  1066. package/lib/components/Textarea/Textarea.stories.d.ts +264 -0
  1067. package/lib/components/Textarea/Textarea.stories.d.ts.map +1 -0
  1068. package/lib/components/Textarea/Textarea.stories.js +329 -0
  1069. package/lib/components/Textarea/Textarea.stories.tsx +324 -0
  1070. package/lib/components/Textarea/Textarea.tsx +148 -0
  1071. package/lib/components/Textarea/index.d.ts +3 -0
  1072. package/lib/components/Textarea/index.d.ts.map +1 -0
  1073. package/lib/components/Textarea/index.ts +2 -0
  1074. package/lib/components/Timeline/Timeline.d.ts +18 -0
  1075. package/lib/components/Timeline/Timeline.d.ts.map +1 -0
  1076. package/lib/components/Timeline/Timeline.js +8 -1
  1077. package/lib/components/Timeline/Timeline.stories.d.ts +62 -0
  1078. package/lib/components/Timeline/Timeline.stories.d.ts.map +1 -0
  1079. package/lib/components/Timeline/Timeline.stories.js +267 -0
  1080. package/lib/components/Timeline/Timeline.stories.tsx +272 -0
  1081. package/lib/components/Timeline/Timeline.tsx +57 -0
  1082. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +28 -0
  1083. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -0
  1084. package/lib/components/Timeline/TimelineItem/TimelineItem.js +9 -2
  1085. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +184 -0
  1086. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -0
  1087. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.js +245 -0
  1088. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.tsx +216 -0
  1089. package/lib/components/Timeline/TimelineItem/TimelineItem.tsx +128 -0
  1090. package/lib/components/Timeline/TimelineItem/index.d.ts +2 -0
  1091. package/lib/components/Timeline/TimelineItem/index.d.ts.map +1 -0
  1092. package/lib/components/Timeline/TimelineItem/index.ts +1 -0
  1093. package/lib/components/Timeline/index.d.ts +3 -0
  1094. package/lib/components/Timeline/index.d.ts.map +1 -0
  1095. package/lib/components/Timeline/index.ts +2 -0
  1096. package/lib/components/Toast/Toast.d.ts +46 -0
  1097. package/lib/components/Toast/Toast.d.ts.map +1 -0
  1098. package/lib/components/Toast/Toast.js +10 -1
  1099. package/lib/components/Toast/Toast.stories.d.ts +105 -0
  1100. package/lib/components/Toast/Toast.stories.d.ts.map +1 -0
  1101. package/lib/components/Toast/Toast.stories.js +237 -0
  1102. package/lib/components/Toast/Toast.stories.tsx +274 -0
  1103. package/lib/components/Toast/Toast.tsx +264 -0
  1104. package/lib/components/Toast/ToastContainer.d.ts +3 -0
  1105. package/lib/components/Toast/ToastContainer.d.ts.map +1 -0
  1106. package/lib/components/Toast/ToastContainer.js +2 -5
  1107. package/lib/components/Toast/ToastContainer.tsx +123 -0
  1108. package/lib/components/Toast/ToastManager.d.ts +23 -0
  1109. package/lib/components/Toast/ToastManager.d.ts.map +1 -0
  1110. package/lib/components/Toast/ToastManager.js +1 -0
  1111. package/lib/components/Toast/ToastManager.ts +60 -0
  1112. package/lib/components/Toast/index.d.ts +5 -0
  1113. package/lib/components/Toast/index.d.ts.map +1 -0
  1114. package/lib/components/Toast/index.ts +10 -0
  1115. package/lib/components/Toggle/Toggle.d.ts +30 -0
  1116. package/lib/components/Toggle/Toggle.d.ts.map +1 -0
  1117. package/lib/components/Toggle/Toggle.js +1 -0
  1118. package/lib/components/Toggle/Toggle.stories.d.ts +142 -0
  1119. package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -0
  1120. package/lib/components/Toggle/Toggle.stories.js +207 -0
  1121. package/lib/components/Toggle/Toggle.stories.tsx +175 -0
  1122. package/lib/components/Toggle/Toggle.tsx +121 -0
  1123. package/lib/components/Toggle/index.d.ts +2 -0
  1124. package/lib/components/Toggle/index.d.ts.map +1 -0
  1125. package/lib/components/Toggle/index.ts +1 -0
  1126. package/lib/components/TokenListInput/TokenListInput.d.ts +57 -0
  1127. package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -0
  1128. package/lib/components/TokenListInput/TokenListInput.js +30 -10
  1129. package/lib/components/TokenListInput/TokenListInput.stories.d.ts +379 -0
  1130. package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +1 -0
  1131. package/lib/components/TokenListInput/TokenListInput.stories.js +877 -0
  1132. package/lib/components/TokenListInput/TokenListInput.stories.tsx +678 -0
  1133. package/lib/components/TokenListInput/TokenListInput.tsx +393 -0
  1134. package/lib/components/TokenListInput/TokenValueChips.d.ts +20 -0
  1135. package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -0
  1136. package/lib/components/TokenListInput/TokenValueChips.js +2 -4
  1137. package/lib/components/TokenListInput/TokenValueChips.tsx +69 -0
  1138. package/lib/components/TokenListInput/index.d.ts +2 -0
  1139. package/lib/components/TokenListInput/index.d.ts.map +1 -0
  1140. package/lib/components/TokenListInput/index.ts +1 -0
  1141. package/lib/components/Tooltip/Tooltip.d.ts +44 -0
  1142. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -0
  1143. package/lib/components/Tooltip/Tooltip.js +6 -3
  1144. package/lib/components/Tooltip/Tooltip.stories.d.ts +172 -0
  1145. package/lib/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
  1146. package/lib/components/Tooltip/Tooltip.stories.js +321 -0
  1147. package/lib/components/Tooltip/Tooltip.stories.tsx +316 -0
  1148. package/lib/components/Tooltip/Tooltip.tsx +188 -0
  1149. package/lib/components/Tooltip/index.d.ts +2 -0
  1150. package/lib/components/Tooltip/index.d.ts.map +1 -0
  1151. package/lib/components/Tooltip/index.ts +1 -0
  1152. package/lib/components/Truncate/Truncate.d.ts +12 -0
  1153. package/lib/components/Truncate/Truncate.d.ts.map +1 -0
  1154. package/lib/components/Truncate/Truncate.js +5 -1
  1155. package/lib/components/Truncate/Truncate.stories.d.ts +94 -0
  1156. package/lib/components/Truncate/Truncate.stories.d.ts.map +1 -0
  1157. package/lib/components/Truncate/Truncate.stories.js +118 -0
  1158. package/lib/components/Truncate/Truncate.stories.tsx +106 -0
  1159. package/lib/components/Truncate/Truncate.tsx +80 -0
  1160. package/lib/components/Truncate/index.d.ts +3 -0
  1161. package/lib/components/Truncate/index.d.ts.map +1 -0
  1162. package/lib/components/Truncate/index.ts +2 -0
  1163. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +16 -0
  1164. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -0
  1165. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +6 -1
  1166. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +110 -0
  1167. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +1 -0
  1168. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.js +161 -0
  1169. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.tsx +147 -0
  1170. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.tsx +109 -0
  1171. package/lib/components/TruncatedTextWithTooltip/index.d.ts +2 -0
  1172. package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +1 -0
  1173. package/lib/components/TruncatedTextWithTooltip/index.ts +1 -0
  1174. package/lib/components/Typeahead/SimpleTypeahead.d.ts +41 -0
  1175. package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -0
  1176. package/lib/components/Typeahead/SimpleTypeahead.js +4 -0
  1177. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +396 -0
  1178. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -0
  1179. package/lib/components/Typeahead/SimpleTypeahead.stories.js +591 -0
  1180. package/lib/components/Typeahead/SimpleTypeahead.stories.tsx +567 -0
  1181. package/lib/components/Typeahead/SimpleTypeahead.tsx +159 -0
  1182. package/lib/components/Typeahead/Typeahead.d.ts +30 -0
  1183. package/lib/components/Typeahead/Typeahead.d.ts.map +1 -0
  1184. package/lib/components/Typeahead/Typeahead.js +12 -3
  1185. package/lib/components/Typeahead/Typeahead.stories.d.ts +399 -0
  1186. package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -0
  1187. package/lib/components/Typeahead/Typeahead.stories.js +648 -0
  1188. package/lib/components/Typeahead/Typeahead.stories.tsx +552 -0
  1189. package/lib/components/Typeahead/Typeahead.tsx +243 -0
  1190. package/lib/components/Typeahead/index.d.ts +3 -0
  1191. package/lib/components/Typeahead/index.d.ts.map +1 -0
  1192. package/lib/components/Typeahead/index.ts +2 -0
  1193. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +36 -0
  1194. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -0
  1195. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +238 -0
  1196. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -0
  1197. package/lib/components/WeekdayPicker/WeekdayPicker.stories.js +330 -0
  1198. package/lib/components/WeekdayPicker/WeekdayPicker.stories.tsx +263 -0
  1199. package/lib/components/WeekdayPicker/WeekdayPicker.tsx +224 -0
  1200. package/lib/components/WeekdayPicker/index.d.ts +2 -0
  1201. package/lib/components/WeekdayPicker/index.d.ts.map +1 -0
  1202. package/lib/components/WeekdayPicker/index.ts +1 -0
  1203. package/lib/components/index.d.ts +76 -0
  1204. package/lib/components/index.d.ts.map +1 -0
  1205. package/lib/components/index.ts +77 -0
  1206. package/lib/flow-to-typescript-codemod.d.ts +48 -0
  1207. package/lib/hooks/index.d.ts +17 -0
  1208. package/lib/hooks/index.d.ts.map +1 -0
  1209. package/lib/hooks/index.ts +16 -0
  1210. package/lib/hooks/useArbitraryOptionAddition/index.d.ts +2 -0
  1211. package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +1 -0
  1212. package/lib/hooks/useArbitraryOptionAddition/index.ts +1 -0
  1213. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +24 -0
  1214. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -0
  1215. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +9 -9
  1216. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +18 -0
  1217. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -0
  1218. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.js +171 -0
  1219. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.tsx +158 -0
  1220. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.ts +127 -0
  1221. package/lib/hooks/useCopyToClipboard/index.d.ts +2 -0
  1222. package/lib/hooks/useCopyToClipboard/index.d.ts.map +1 -0
  1223. package/lib/hooks/useCopyToClipboard/index.ts +1 -0
  1224. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +5 -0
  1225. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts.map +1 -0
  1226. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +1 -0
  1227. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +24 -0
  1228. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +1 -0
  1229. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.js +107 -0
  1230. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.tsx +112 -0
  1231. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.ts +29 -0
  1232. package/lib/hooks/useDebounce/index.d.ts +2 -0
  1233. package/lib/hooks/useDebounce/index.d.ts.map +1 -0
  1234. package/lib/hooks/useDebounce/index.ts +1 -0
  1235. package/lib/hooks/useDebounce/useDebounce.d.ts +2 -0
  1236. package/lib/hooks/useDebounce/useDebounce.d.ts.map +1 -0
  1237. package/lib/hooks/useDebounce/useDebounce.stories.d.ts +26 -0
  1238. package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +1 -0
  1239. package/lib/hooks/useDebounce/useDebounce.stories.js +80 -0
  1240. package/lib/hooks/useDebounce/useDebounce.stories.tsx +82 -0
  1241. package/lib/hooks/useDebounce/useDebounce.ts +15 -0
  1242. package/lib/hooks/useFileUpload/index.d.ts +2 -0
  1243. package/lib/hooks/useFileUpload/index.d.ts.map +1 -0
  1244. package/lib/hooks/useFileUpload/index.ts +1 -0
  1245. package/lib/hooks/useFileUpload/useFileUpload.d.ts +17 -0
  1246. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -0
  1247. package/lib/hooks/useFileUpload/useFileUpload.js +7 -2
  1248. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +16 -0
  1249. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -0
  1250. package/lib/hooks/useFileUpload/useFileUpload.stories.js +405 -0
  1251. package/lib/hooks/useFileUpload/useFileUpload.stories.tsx +468 -0
  1252. package/lib/hooks/useFileUpload/useFileUpload.ts +326 -0
  1253. package/lib/hooks/useFilteredOptions/index.d.ts +2 -0
  1254. package/lib/hooks/useFilteredOptions/index.d.ts.map +1 -0
  1255. package/lib/hooks/useFilteredOptions/index.ts +1 -0
  1256. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +17 -0
  1257. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -0
  1258. package/lib/hooks/useFilteredOptions/useFilteredOptions.js +5 -3
  1259. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +18 -0
  1260. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +1 -0
  1261. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.js +155 -0
  1262. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.tsx +142 -0
  1263. package/lib/hooks/useFilteredOptions/useFilteredOptions.ts +92 -0
  1264. package/lib/hooks/useInfiniteScroll/index.d.ts +2 -0
  1265. package/lib/hooks/useInfiniteScroll/index.d.ts.map +1 -0
  1266. package/lib/hooks/useInfiniteScroll/index.ts +1 -0
  1267. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +15 -0
  1268. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -0
  1269. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.ts +85 -0
  1270. package/lib/hooks/useInputState/index.d.ts +2 -0
  1271. package/lib/hooks/useInputState/index.d.ts.map +1 -0
  1272. package/lib/hooks/useInputState/index.ts +1 -0
  1273. package/lib/hooks/useInputState/useInputState.d.ts +13 -0
  1274. package/lib/hooks/useInputState/useInputState.d.ts.map +1 -0
  1275. package/lib/hooks/useInputState/useInputState.js +3 -1
  1276. package/lib/hooks/useInputState/useInputState.stories.d.ts +16 -0
  1277. package/lib/hooks/useInputState/useInputState.stories.d.ts.map +1 -0
  1278. package/lib/hooks/useInputState/useInputState.stories.js +67 -0
  1279. package/lib/hooks/useInputState/useInputState.stories.tsx +62 -0
  1280. package/lib/hooks/useInputState/useInputState.ts +24 -0
  1281. package/lib/hooks/useLockedBody/index.d.ts +2 -0
  1282. package/lib/hooks/useLockedBody/index.d.ts.map +1 -0
  1283. package/lib/hooks/useLockedBody/index.ts +1 -0
  1284. package/lib/hooks/useLockedBody/useLockedBody.d.ts +4 -0
  1285. package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +1 -0
  1286. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +17 -0
  1287. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +1 -0
  1288. package/lib/hooks/useLockedBody/useLockedBody.stories.js +69 -0
  1289. package/lib/hooks/useLockedBody/useLockedBody.stories.tsx +71 -0
  1290. package/lib/hooks/useLockedBody/useLockedBody.ts +53 -0
  1291. package/lib/hooks/useModal/index.d.ts +2 -0
  1292. package/lib/hooks/useModal/index.d.ts.map +1 -0
  1293. package/lib/hooks/useModal/index.ts +1 -0
  1294. package/lib/hooks/useModal/useModal.d.ts +11 -0
  1295. package/lib/hooks/useModal/useModal.d.ts.map +1 -0
  1296. package/lib/hooks/useModal/useModal.stories.d.ts +16 -0
  1297. package/lib/hooks/useModal/useModal.stories.d.ts.map +1 -0
  1298. package/lib/hooks/useModal/useModal.stories.js +138 -0
  1299. package/lib/hooks/useModal/useModal.stories.tsx +134 -0
  1300. package/lib/hooks/useModal/useModal.ts +36 -0
  1301. package/lib/hooks/useMountTransition/index.d.ts +3 -0
  1302. package/lib/hooks/useMountTransition/index.d.ts.map +1 -0
  1303. package/lib/hooks/useMountTransition/index.js +2 -0
  1304. package/lib/hooks/useMountTransition/index.ts +25 -0
  1305. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +16 -0
  1306. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +1 -0
  1307. package/lib/hooks/useMountTransition/useMountTransition.stories.js +64 -0
  1308. package/lib/hooks/useMountTransition/useMountTransition.stories.tsx +64 -0
  1309. package/lib/hooks/usePagination/index.d.ts +2 -0
  1310. package/lib/hooks/usePagination/index.d.ts.map +1 -0
  1311. package/lib/hooks/usePagination/index.ts +1 -0
  1312. package/lib/hooks/usePagination/usePagination.d.ts +5 -0
  1313. package/lib/hooks/usePagination/usePagination.d.ts.map +1 -0
  1314. package/lib/hooks/usePagination/usePagination.js +3 -0
  1315. package/lib/hooks/usePagination/usePagination.stories.d.ts +18 -0
  1316. package/lib/hooks/usePagination/usePagination.stories.d.ts.map +1 -0
  1317. package/lib/hooks/usePagination/usePagination.stories.js +77 -0
  1318. package/lib/hooks/usePagination/usePagination.stories.tsx +72 -0
  1319. package/lib/hooks/usePagination/usePagination.ts +151 -0
  1320. package/lib/hooks/useReferenceElementWidth/index.d.ts +2 -0
  1321. package/lib/hooks/useReferenceElementWidth/index.d.ts.map +1 -0
  1322. package/lib/hooks/useReferenceElementWidth/index.ts +1 -0
  1323. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts +2 -0
  1324. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +1 -0
  1325. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.ts +19 -0
  1326. package/lib/hooks/useResizeObserver/index.d.ts +2 -0
  1327. package/lib/hooks/useResizeObserver/index.d.ts.map +1 -0
  1328. package/lib/hooks/useResizeObserver/index.ts +1 -0
  1329. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +3 -0
  1330. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +1 -0
  1331. package/lib/hooks/useResizeObserver/useResizeObserver.js +3 -0
  1332. package/lib/hooks/useResizeObserver/useResizeObserver.ts +29 -0
  1333. package/lib/hooks/useToastPortal/index.d.ts +2 -0
  1334. package/lib/hooks/useToastPortal/index.d.ts.map +1 -0
  1335. package/lib/hooks/useToastPortal/index.ts +1 -0
  1336. package/lib/hooks/useToastPortal/useToastPortal.d.ts +10 -0
  1337. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -0
  1338. package/lib/hooks/useToastPortal/useToastPortal.js +3 -3
  1339. package/lib/hooks/useToastPortal/useToastPortal.ts +34 -0
  1340. package/lib/hooks/useToggle/index.d.ts +2 -0
  1341. package/lib/hooks/useToggle/index.d.ts.map +1 -0
  1342. package/lib/hooks/useToggle/index.ts +1 -0
  1343. package/lib/hooks/useToggle/useToggle.d.ts +2 -0
  1344. package/lib/hooks/useToggle/useToggle.d.ts.map +1 -0
  1345. package/lib/hooks/useToggle/useToggle.stories.d.ts +17 -0
  1346. package/lib/hooks/useToggle/useToggle.stories.d.ts.map +1 -0
  1347. package/lib/hooks/useToggle/useToggle.stories.js +68 -0
  1348. package/lib/hooks/useToggle/useToggle.stories.tsx +70 -0
  1349. package/lib/hooks/useToggle/useToggle.ts +13 -0
  1350. package/lib/hooks/useWindowSize/index.d.ts +2 -0
  1351. package/lib/hooks/useWindowSize/index.d.ts.map +1 -0
  1352. package/lib/hooks/useWindowSize/index.ts +1 -0
  1353. package/lib/hooks/useWindowSize/useWindowSize.d.ts +7 -0
  1354. package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +1 -0
  1355. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +17 -0
  1356. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +1 -0
  1357. package/lib/hooks/useWindowSize/useWindowSize.stories.js +58 -0
  1358. package/lib/hooks/useWindowSize/useWindowSize.stories.tsx +62 -0
  1359. package/lib/hooks/useWindowSize/useWindowSize.ts +39 -0
  1360. package/lib/index.d.ts +6 -0
  1361. package/lib/index.d.ts.map +1 -0
  1362. package/lib/index.ts +6 -0
  1363. package/lib/stories/Border/Border.stories.d.ts +12 -0
  1364. package/lib/stories/Border/Border.stories.d.ts.map +1 -0
  1365. package/lib/stories/Color/Color.stories.d.ts +13 -0
  1366. package/lib/stories/Color/Color.stories.d.ts.map +1 -0
  1367. package/lib/stories/Elevation/Elevation.stories.d.ts +12 -0
  1368. package/lib/stories/Elevation/Elevation.stories.d.ts.map +1 -0
  1369. package/lib/stories/Introduction/index.d.ts +3 -0
  1370. package/lib/stories/Introduction/index.d.ts.map +1 -0
  1371. package/lib/stories/Motion/Motion.stories.d.ts +12 -0
  1372. package/lib/stories/Motion/Motion.stories.d.ts.map +1 -0
  1373. package/lib/stories/Opacity/Opacity.stories.d.ts +12 -0
  1374. package/lib/stories/Opacity/Opacity.stories.d.ts.map +1 -0
  1375. package/lib/stories/Shadow/Shadow.stories.d.ts +12 -0
  1376. package/lib/stories/Shadow/Shadow.stories.d.ts.map +1 -0
  1377. package/lib/stories/Size/Size.stories.d.ts +12 -0
  1378. package/lib/stories/Size/Size.stories.d.ts.map +1 -0
  1379. package/lib/stories/Space/Space.stories.d.ts +12 -0
  1380. package/lib/stories/Space/Space.stories.d.ts.map +1 -0
  1381. package/lib/stories/Tokens/index.d.ts +3 -0
  1382. package/lib/stories/Tokens/index.d.ts.map +1 -0
  1383. package/lib/styles/index.d.ts +268 -0
  1384. package/lib/styles/index.d.ts.map +1 -0
  1385. package/lib/styles/index.ts +533 -0
  1386. package/lib/styles/variables/_border.d.ts +13 -0
  1387. package/lib/styles/variables/_border.d.ts.map +1 -0
  1388. package/lib/styles/variables/_border.ts +23 -0
  1389. package/lib/styles/variables/_color.d.ts +105 -0
  1390. package/lib/styles/variables/_color.d.ts.map +1 -0
  1391. package/lib/styles/variables/_color.ts +207 -0
  1392. package/lib/styles/variables/_elevation.d.ts +8 -0
  1393. package/lib/styles/variables/_elevation.d.ts.map +1 -0
  1394. package/lib/styles/variables/_elevation.ts +13 -0
  1395. package/lib/styles/variables/_font.d.ts +31 -0
  1396. package/lib/styles/variables/_font.d.ts.map +1 -0
  1397. package/lib/styles/variables/_font.ts +59 -0
  1398. package/lib/styles/variables/_motion.d.ts +7 -0
  1399. package/lib/styles/variables/_motion.d.ts.map +1 -0
  1400. package/lib/styles/variables/_motion.ts +11 -0
  1401. package/lib/styles/variables/_opacity.d.ts +16 -0
  1402. package/lib/styles/variables/_opacity.d.ts.map +1 -0
  1403. package/lib/styles/variables/_opacity.ts +29 -0
  1404. package/lib/styles/variables/_shadow.d.ts +25 -0
  1405. package/lib/styles/variables/_shadow.d.ts.map +1 -0
  1406. package/lib/styles/variables/_shadow.ts +47 -0
  1407. package/lib/styles/variables/_size.d.ts +58 -0
  1408. package/lib/styles/variables/_size.d.ts.map +1 -0
  1409. package/lib/styles/variables/_size.ts +113 -0
  1410. package/lib/styles/variables/_space.d.ts +13 -0
  1411. package/lib/styles/variables/_space.d.ts.map +1 -0
  1412. package/lib/styles/variables/_space.ts +23 -0
  1413. package/lib/types/charts.d.ts +224 -0
  1414. package/lib/types/charts.d.ts.map +1 -0
  1415. package/lib/types/charts.js +5 -1
  1416. package/lib/types/charts.ts +247 -0
  1417. package/lib/types/common.d.ts +10 -0
  1418. package/lib/types/common.d.ts.map +1 -0
  1419. package/lib/types/common.ts +11 -0
  1420. package/lib/types/cssvariables.d.js +3 -0
  1421. package/lib/types/cssvariables.d.ts +8 -0
  1422. package/lib/types/date-range-picker.d.ts +21 -0
  1423. package/lib/types/date-range-picker.d.ts.map +1 -0
  1424. package/lib/types/date-range-picker.js +5 -1
  1425. package/lib/types/date-range-picker.ts +20 -0
  1426. package/lib/types/flow-to-typescript-codemod.d.js +1 -0
  1427. package/lib/types/flow-to-typescript-codemod.d.ts +48 -0
  1428. package/lib/types/global.d.js +1 -0
  1429. package/lib/types/global.d.ts +84 -0
  1430. package/lib/types/index.d.ts +7 -0
  1431. package/lib/types/index.d.ts.map +1 -0
  1432. package/lib/types/index.ts +6 -0
  1433. package/lib/types/menu.d.ts +13 -0
  1434. package/lib/types/menu.d.ts.map +1 -0
  1435. package/lib/types/menu.js +5 -1
  1436. package/lib/types/menu.ts +13 -0
  1437. package/lib/types/toast.d.ts +28 -0
  1438. package/lib/types/toast.d.ts.map +1 -0
  1439. package/lib/types/toast.js +0 -2
  1440. package/lib/types/toast.ts +34 -0
  1441. package/lib/types/typography.d.ts +17 -0
  1442. package/lib/types/typography.d.ts.map +1 -0
  1443. package/lib/types/typography.ts +17 -0
  1444. package/lib/utils/array/are-arrays-equal.d.ts +4 -0
  1445. package/lib/utils/array/are-arrays-equal.d.ts.map +1 -0
  1446. package/lib/utils/array/are-arrays-equal.ts +12 -0
  1447. package/lib/utils/array/index.d.ts +2 -0
  1448. package/lib/utils/array/index.d.ts.map +1 -0
  1449. package/lib/utils/array/index.ts +1 -0
  1450. package/lib/utils/charts/charts.d.ts +17 -0
  1451. package/lib/utils/charts/charts.d.ts.map +1 -0
  1452. package/lib/utils/charts/charts.js +4 -0
  1453. package/lib/utils/charts/charts.ts +110 -0
  1454. package/lib/utils/charts/columnChart.d.ts +8 -0
  1455. package/lib/utils/charts/columnChart.d.ts.map +1 -0
  1456. package/lib/utils/charts/columnChart.js +3 -1
  1457. package/lib/utils/charts/columnChart.ts +62 -0
  1458. package/lib/utils/charts/donutChart.d.ts +21 -0
  1459. package/lib/utils/charts/donutChart.d.ts.map +1 -0
  1460. package/lib/utils/charts/donutChart.js +7 -2
  1461. package/lib/utils/charts/donutChart.ts +123 -0
  1462. package/lib/utils/charts/funnelChart.d.ts +10 -0
  1463. package/lib/utils/charts/funnelChart.d.ts.map +1 -0
  1464. package/lib/utils/charts/funnelChart.js +5 -1
  1465. package/lib/utils/charts/funnelChart.ts +97 -0
  1466. package/lib/utils/charts/helpers.d.ts +76 -0
  1467. package/lib/utils/charts/helpers.d.ts.map +1 -0
  1468. package/lib/utils/charts/helpers.ts +65 -0
  1469. package/lib/utils/charts/index.d.ts +8 -0
  1470. package/lib/utils/charts/index.d.ts.map +1 -0
  1471. package/lib/utils/charts/index.ts +7 -0
  1472. package/lib/utils/charts/lineChart.d.ts +7 -0
  1473. package/lib/utils/charts/lineChart.d.ts.map +1 -0
  1474. package/lib/utils/charts/lineChart.js +3 -1
  1475. package/lib/utils/charts/lineChart.ts +51 -0
  1476. package/lib/utils/charts/spiderChart.d.ts +18 -0
  1477. package/lib/utils/charts/spiderChart.d.ts.map +1 -0
  1478. package/lib/utils/charts/spiderChart.ts +57 -0
  1479. package/lib/utils/charts/typography.d.ts +58 -0
  1480. package/lib/utils/charts/typography.d.ts.map +1 -0
  1481. package/lib/utils/charts/typography.ts +52 -0
  1482. package/lib/utils/classify/classify.stories.d.ts +17 -0
  1483. package/lib/utils/classify/classify.stories.d.ts.map +1 -0
  1484. package/lib/utils/classify/classify.stories.js +63 -0
  1485. package/lib/utils/classify/classify.stories.tsx +65 -0
  1486. package/lib/utils/classify/index.d.ts +3 -0
  1487. package/lib/utils/classify/index.d.ts.map +1 -0
  1488. package/lib/utils/classify/index.js +1 -1
  1489. package/lib/utils/classify/index.ts +27 -0
  1490. package/lib/utils/click-away/ClickAway.stories.d.ts +106 -0
  1491. package/lib/utils/click-away/ClickAway.stories.d.ts.map +1 -0
  1492. package/lib/utils/click-away/ClickAway.stories.js +260 -0
  1493. package/lib/utils/click-away/ClickAway.stories.tsx +248 -0
  1494. package/lib/utils/click-away/click-away.d.ts +77 -0
  1495. package/lib/utils/click-away/click-away.d.ts.map +1 -0
  1496. package/lib/utils/click-away/click-away.js +18 -5
  1497. package/lib/utils/click-away/click-away.ts +230 -0
  1498. package/lib/utils/click-away/index.d.ts +2 -0
  1499. package/lib/utils/click-away/index.d.ts.map +1 -0
  1500. package/lib/utils/click-away/index.ts +1 -0
  1501. package/lib/utils/date-range-picker/date-range-picker.d.ts +63 -0
  1502. package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -0
  1503. package/lib/utils/date-range-picker/date-range-picker.js +17 -2
  1504. package/lib/utils/date-range-picker/date-range-picker.ts +430 -0
  1505. package/lib/utils/date-range-picker/index.d.ts +3 -0
  1506. package/lib/utils/date-range-picker/index.d.ts.map +1 -0
  1507. package/lib/utils/date-range-picker/index.ts +2 -0
  1508. package/lib/utils/date-range-picker/timezones.d.ts +258 -0
  1509. package/lib/utils/date-range-picker/timezones.d.ts.map +1 -0
  1510. package/lib/utils/date-range-picker/timezones.js +0 -1
  1511. package/lib/utils/date-range-picker/timezones.ts +263 -0
  1512. package/lib/utils/dom/dom.d.ts +38 -0
  1513. package/lib/utils/dom/dom.d.ts.map +1 -0
  1514. package/lib/utils/dom/dom.js +9 -7
  1515. package/lib/utils/dom/dom.stories.d.ts +15 -0
  1516. package/lib/utils/dom/dom.stories.d.ts.map +1 -0
  1517. package/lib/utils/dom/dom.stories.js +59 -0
  1518. package/lib/utils/dom/dom.stories.tsx +59 -0
  1519. package/lib/utils/dom/dom.ts +247 -0
  1520. package/lib/utils/dom/index.d.ts +2 -0
  1521. package/lib/utils/dom/index.d.ts.map +1 -0
  1522. package/lib/utils/dom/index.ts +1 -0
  1523. package/lib/utils/helpers/helpers.d.ts +4 -0
  1524. package/lib/utils/helpers/helpers.d.ts.map +1 -0
  1525. package/lib/utils/helpers/helpers.stories.d.ts +15 -0
  1526. package/lib/utils/helpers/helpers.stories.d.ts.map +1 -0
  1527. package/lib/utils/helpers/helpers.stories.js +111 -0
  1528. package/lib/utils/helpers/helpers.stories.tsx +124 -0
  1529. package/lib/utils/helpers/helpers.ts +51 -0
  1530. package/lib/utils/helpers/index.d.ts +2 -0
  1531. package/lib/utils/helpers/index.d.ts.map +1 -0
  1532. package/lib/utils/helpers/index.ts +1 -0
  1533. package/lib/utils/index.d.ts +15 -0
  1534. package/lib/utils/index.d.ts.map +1 -0
  1535. package/lib/utils/index.ts +14 -0
  1536. package/lib/utils/makeClassNameComponent/index.d.ts +2 -0
  1537. package/lib/utils/makeClassNameComponent/index.d.ts.map +1 -0
  1538. package/lib/utils/makeClassNameComponent/index.ts +1 -0
  1539. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +9 -0
  1540. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -0
  1541. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +21 -7
  1542. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +15 -0
  1543. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +1 -0
  1544. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.js +44 -0
  1545. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.tsx +46 -0
  1546. package/lib/utils/makeClassNameComponent/makeClassNameComponent.tsx +60 -0
  1547. package/lib/utils/menu/index.d.ts +2 -0
  1548. package/lib/utils/menu/index.d.ts.map +1 -0
  1549. package/lib/utils/menu/index.ts +1 -0
  1550. package/lib/utils/menu/menu.d.ts +20 -0
  1551. package/lib/utils/menu/menu.d.ts.map +1 -0
  1552. package/lib/utils/menu/menu.js +0 -2
  1553. package/lib/utils/menu/menu.ts +174 -0
  1554. package/lib/utils/merge-refs/index.d.ts +2 -0
  1555. package/lib/utils/merge-refs/index.d.ts.map +1 -0
  1556. package/lib/utils/merge-refs/index.ts +1 -0
  1557. package/lib/utils/merge-refs/merge-refs.d.ts +4 -0
  1558. package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -0
  1559. package/lib/utils/merge-refs/merge-refs.js +1 -0
  1560. package/lib/utils/merge-refs/merge-refs.stories.d.ts +15 -0
  1561. package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -0
  1562. package/lib/utils/merge-refs/merge-refs.stories.js +86 -0
  1563. package/lib/utils/merge-refs/merge-refs.stories.tsx +92 -0
  1564. package/lib/utils/merge-refs/merge-refs.ts +16 -0
  1565. package/lib/utils/rating/index.d.ts +2 -0
  1566. package/lib/utils/rating/index.d.ts.map +1 -0
  1567. package/lib/utils/rating/index.ts +1 -0
  1568. package/lib/utils/rating/rating.d.ts +13 -0
  1569. package/lib/utils/rating/rating.d.ts.map +1 -0
  1570. package/lib/utils/rating/rating.ts +30 -0
  1571. package/lib/utils/score-bar/index.d.ts +2 -0
  1572. package/lib/utils/score-bar/index.d.ts.map +1 -0
  1573. package/lib/utils/score-bar/index.ts +1 -0
  1574. package/lib/utils/score-bar/score-bar.d.ts +10 -0
  1575. package/lib/utils/score-bar/score-bar.d.ts.map +1 -0
  1576. package/lib/utils/score-bar/score-bar.ts +45 -0
  1577. package/lib/utils/string/index.d.ts +2 -0
  1578. package/lib/utils/string/index.d.ts.map +1 -0
  1579. package/lib/utils/string/index.ts +1 -0
  1580. package/lib/utils/string/string.d.ts +6 -0
  1581. package/lib/utils/string/string.d.ts.map +1 -0
  1582. package/lib/utils/string/string.stories.d.ts +15 -0
  1583. package/lib/utils/string/string.stories.d.ts.map +1 -0
  1584. package/lib/utils/string/string.stories.js +63 -0
  1585. package/lib/utils/string/string.stories.tsx +71 -0
  1586. package/lib/utils/string/string.ts +26 -0
  1587. package/lib/utils/token-list-input/token-list-input.d.ts +15 -0
  1588. package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -0
  1589. package/lib/utils/token-list-input/token-list-input.js +0 -2
  1590. package/lib/utils/token-list-input/token-list-input.ts +32 -0
  1591. package/lib/utils/tokens/index.d.ts +2 -0
  1592. package/lib/utils/tokens/index.d.ts.map +1 -0
  1593. package/lib/utils/tokens/index.ts +1 -0
  1594. package/lib/utils/tokens/tokens.d.ts +41 -0
  1595. package/lib/utils/tokens/tokens.d.ts.map +1 -0
  1596. package/lib/utils/tokens/tokens.ts +237 -0
  1597. package/package.json +31 -5
  1598. package/tsconfig.declaration.json +19 -0
  1599. package/tsconfig.declaration.tsbuildinfo +1 -0
  1600. package/tsconfig.json +40 -0
  1601. package/lib/components/Accordion/Accordion.js.flow +0 -116
  1602. package/lib/components/Accordion/AccordionGroup.js.flow +0 -75
  1603. package/lib/components/Accordion/index.js.flow +0 -4
  1604. package/lib/components/Avatar/Avatar.js.flow +0 -269
  1605. package/lib/components/Avatar/index.js.flow +0 -3
  1606. package/lib/components/AvatarGroup/AvatarGroup.js.flow +0 -164
  1607. package/lib/components/AvatarGroup/index.js.flow +0 -3
  1608. package/lib/components/Badge/Badge.js.flow +0 -147
  1609. package/lib/components/Badge/index.js.flow +0 -3
  1610. package/lib/components/BadgedIcon/BadgedIcon.js.flow +0 -73
  1611. package/lib/components/BadgedIcon/index.js.flow +0 -3
  1612. package/lib/components/Banner/Banner.js.flow +0 -60
  1613. package/lib/components/Banner/index.js.flow +0 -3
  1614. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js.flow +0 -58
  1615. package/lib/components/Breadcrumbs/BreadcrumbLink/index.js.flow +0 -3
  1616. package/lib/components/Breadcrumbs/Breadcrumbs.js.flow +0 -59
  1617. package/lib/components/Breadcrumbs/index.js.flow +0 -4
  1618. package/lib/components/Button/Button.js.flow +0 -286
  1619. package/lib/components/Button/index.js.flow +0 -16
  1620. package/lib/components/ButtonDropdown/ButtonDropdown.js.flow +0 -226
  1621. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js.flow +0 -169
  1622. package/lib/components/ButtonDropdown/index.js.flow +0 -4
  1623. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js.flow +0 -82
  1624. package/lib/components/ButtonTabs/ButtonTab/index.js.flow +0 -3
  1625. package/lib/components/ButtonTabs/ButtonTabDropdown.js.flow +0 -150
  1626. package/lib/components/ButtonTabs/ButtonTabs.js.flow +0 -121
  1627. package/lib/components/ButtonTabs/index.js.flow +0 -4
  1628. package/lib/components/Card/Card.js.flow +0 -174
  1629. package/lib/components/Card/index.js.flow +0 -3
  1630. package/lib/components/Charts/ChartTooltip/index.js.flow +0 -15
  1631. package/lib/components/Charts/ChartWrapper/ChartWrapper.js.flow +0 -190
  1632. package/lib/components/Charts/ChartWrapper/index.js.flow +0 -3
  1633. package/lib/components/Charts/ColumnChart/ColumnChart.js.flow +0 -126
  1634. package/lib/components/Charts/ColumnChart/index.js.flow +0 -3
  1635. package/lib/components/Charts/DonutChart/DonutChart.js.flow +0 -158
  1636. package/lib/components/Charts/DonutChart/index.js.flow +0 -3
  1637. package/lib/components/Charts/FunnelChart/FunnelChart.js.flow +0 -115
  1638. package/lib/components/Charts/FunnelChart/index.js.flow +0 -3
  1639. package/lib/components/Charts/LineChart/LineChart.js.flow +0 -113
  1640. package/lib/components/Charts/LineChart/index.js.flow +0 -3
  1641. package/lib/components/Charts/SpiderChart/SpiderChart.js.flow +0 -111
  1642. package/lib/components/Charts/SpiderChart/index.js.flow +0 -3
  1643. package/lib/components/Charts/index.js.flow +0 -9
  1644. package/lib/components/ChatBubble/ChatBubble.js.flow +0 -222
  1645. package/lib/components/ChatBubble/index.js.flow +0 -3
  1646. package/lib/components/Checkbox/Checkbox.js.flow +0 -168
  1647. package/lib/components/Checkbox/CheckboxGroup.js.flow +0 -116
  1648. package/lib/components/Checkbox/index.js.flow +0 -3
  1649. package/lib/components/Chip/Chip.js.flow +0 -199
  1650. package/lib/components/Chip/index.js.flow +0 -4
  1651. package/lib/components/CircularLoader/CircularLoader.js.flow +0 -58
  1652. package/lib/components/CircularLoader/index.js.flow +0 -3
  1653. package/lib/components/CollapsibleCard/CollapsibleCard.js.flow +0 -146
  1654. package/lib/components/CollapsibleCard/index.js.flow +0 -3
  1655. package/lib/components/Combobox/Combobox.js.flow +0 -287
  1656. package/lib/components/Combobox/helper.js.flow +0 -204
  1657. package/lib/components/Combobox/index.js.flow +0 -3
  1658. package/lib/components/ConditionalWrapper/ConditionalWrapper.js.flow +0 -16
  1659. package/lib/components/ConditionalWrapper/index.js.flow +0 -3
  1660. package/lib/components/DateRangePicker/Calendar.js.flow +0 -112
  1661. package/lib/components/DateRangePicker/DateRangePicker.js.flow +0 -214
  1662. package/lib/components/DateRangePicker/DateRangeWrapper.js.flow +0 -384
  1663. package/lib/components/DateRangePicker/Day.js.flow +0 -75
  1664. package/lib/components/DateRangePicker/index.js.flow +0 -3
  1665. package/lib/components/Dialog/Dialog.js.flow +0 -228
  1666. package/lib/components/Dialog/index.js.flow +0 -2
  1667. package/lib/components/Disclaimer/Disclaimer.js.flow +0 -41
  1668. package/lib/components/Disclaimer/index.js.flow +0 -3
  1669. package/lib/components/Dropdown/Dropdown.js.flow +0 -176
  1670. package/lib/components/Dropdown/SimpleDropdown.js.flow +0 -170
  1671. package/lib/components/Dropdown/index.js.flow +0 -4
  1672. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js.flow +0 -112
  1673. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js.flow +0 -198
  1674. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js.flow +0 -120
  1675. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js.flow +0 -137
  1676. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js.flow +0 -68
  1677. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js.flow +0 -71
  1678. package/lib/components/EmptyState/EmptyImages/index.js.flow +0 -8
  1679. package/lib/components/EmptyState/EmptyState.js.flow +0 -91
  1680. package/lib/components/EmptyState/index.js.flow +0 -3
  1681. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js.flow +0 -89
  1682. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js.flow +0 -121
  1683. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js.flow +0 -241
  1684. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js.flow +0 -77
  1685. package/lib/components/ErrorMessage/ErrorImages/index.js.flow +0 -6
  1686. package/lib/components/ErrorMessage/ErrorMessage.js.flow +0 -95
  1687. package/lib/components/ErrorMessage/index.js.flow +0 -3
  1688. package/lib/components/FileUpload/FileBlock/FileBlock.js.flow +0 -139
  1689. package/lib/components/FileUpload/FileBlock/index.js.flow +0 -3
  1690. package/lib/components/FileUpload/FileUpload.js.flow +0 -212
  1691. package/lib/components/FileUpload/index.js.flow +0 -4
  1692. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js.flow +0 -166
  1693. package/lib/components/FilterButtonOverlay/index.js.flow +0 -3
  1694. package/lib/components/FocusManager/FocusManager.js.flow +0 -57
  1695. package/lib/components/FocusManager/index.js.flow +0 -3
  1696. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js.flow +0 -152
  1697. package/lib/components/FocusManagerWithArrowKeyNavigation/index.js.flow +0 -3
  1698. package/lib/components/FormTitleWrapper/FormTitleWrapper.js.flow +0 -68
  1699. package/lib/components/FormTitleWrapper/index.js.flow +0 -3
  1700. package/lib/components/Grid/Grid.js.flow +0 -110
  1701. package/lib/components/Grid/index.js.flow +0 -3
  1702. package/lib/components/Icon/ClickableIcon.js.flow +0 -111
  1703. package/lib/components/Icon/Icon.docs.js.flow +0 -120
  1704. package/lib/components/Icon/Icon.js.flow +0 -77
  1705. package/lib/components/Icon/SemanticIcon.js.flow +0 -48
  1706. package/lib/components/Icon/index.js.flow +0 -5
  1707. package/lib/components/InContextAlert/InContextAlert.js.flow +0 -208
  1708. package/lib/components/InContextAlert/index.js.flow +0 -3
  1709. package/lib/components/InfinitePagination/InfinitePagination.js.flow +0 -122
  1710. package/lib/components/InfinitePagination/index.js.flow +0 -3
  1711. package/lib/components/InlineDropdown/InlineDropdown.js.flow +0 -181
  1712. package/lib/components/InlineDropdown/SimpleInlineDropdown.js.flow +0 -167
  1713. package/lib/components/InlineDropdown/index.js.flow +0 -4
  1714. package/lib/components/Input/Input.js.flow +0 -325
  1715. package/lib/components/Input/index.js.flow +0 -3
  1716. package/lib/components/KPIBox/KPIBox.js.flow +0 -97
  1717. package/lib/components/KPIBox/index.js.flow +0 -3
  1718. package/lib/components/LinearLoader/LinearLoader.js.flow +0 -49
  1719. package/lib/components/LinearLoader/index.js.flow +0 -3
  1720. package/lib/components/Link/Link.js.flow +0 -231
  1721. package/lib/components/Link/index.js.flow +0 -3
  1722. package/lib/components/Menu/Menu.js.flow +0 -391
  1723. package/lib/components/Menu/MenuOptionButton.js.flow +0 -201
  1724. package/lib/components/Menu/index.js.flow +0 -4
  1725. package/lib/components/Modal/Modal.js.flow +0 -370
  1726. package/lib/components/Modal/index.js.flow +0 -15
  1727. package/lib/components/Notification/Notification.js.flow +0 -149
  1728. package/lib/components/Notification/index.js.flow +0 -3
  1729. package/lib/components/OptionButton/OptionButton.js.flow +0 -153
  1730. package/lib/components/OptionButton/SimpleOptionButton.js.flow +0 -161
  1731. package/lib/components/OptionButton/index.js.flow +0 -4
  1732. package/lib/components/PageTitle/PageTitle.js.flow +0 -267
  1733. package/lib/components/PageTitle/index.js.flow +0 -3
  1734. package/lib/components/Pagination/Pagination.js.flow +0 -158
  1735. package/lib/components/Pagination/PaginationItem.js.flow +0 -120
  1736. package/lib/components/Pagination/index.js.flow +0 -3
  1737. package/lib/components/Panel/Panel.js.flow +0 -181
  1738. package/lib/components/Panel/index.js.flow +0 -10
  1739. package/lib/components/ProgressDonut/ProgressDonut.js.flow +0 -111
  1740. package/lib/components/ProgressDonut/index.js.flow +0 -3
  1741. package/lib/components/PromptChip/PromptChip.js.flow +0 -166
  1742. package/lib/components/PromptChip/index.js.flow +0 -3
  1743. package/lib/components/PromptInput/PromptInput.js.flow +0 -194
  1744. package/lib/components/PromptInput/index.js.flow +0 -3
  1745. package/lib/components/RadioButton/RadioButton.js.flow +0 -134
  1746. package/lib/components/RadioButton/RadioGroup.js.flow +0 -94
  1747. package/lib/components/RadioButton/index.js.flow +0 -3
  1748. package/lib/components/RadioTile/RadioTile.js.flow +0 -110
  1749. package/lib/components/RadioTile/index.js.flow +0 -3
  1750. package/lib/components/RangeSlider/RangeSlider.js.flow +0 -202
  1751. package/lib/components/RangeSlider/index.js.flow +0 -3
  1752. package/lib/components/Rating/Rating.js.flow +0 -134
  1753. package/lib/components/Rating/index.js.flow +0 -3
  1754. package/lib/components/ScoreBar/ScoreBar.js.flow +0 -135
  1755. package/lib/components/ScoreBar/index.js.flow +0 -3
  1756. package/lib/components/SearchInput/SearchInput.js.flow +0 -88
  1757. package/lib/components/SearchInput/index.js.flow +0 -4
  1758. package/lib/components/Separator/Separator.js.flow +0 -60
  1759. package/lib/components/Separator/index.js.flow +0 -3
  1760. package/lib/components/Shimmer/Shimmer.js.flow +0 -141
  1761. package/lib/components/Shimmer/index.js.flow +0 -3
  1762. package/lib/components/SideMenuLink/SideMenuLink.js.flow +0 -344
  1763. package/lib/components/SideMenuLink/index.js.flow +0 -3
  1764. package/lib/components/StatusIndicator/StatusIndicator.js.flow +0 -68
  1765. package/lib/components/StatusIndicator/index.js.flow +0 -3
  1766. package/lib/components/Stepper/Step/Step.js.flow +0 -123
  1767. package/lib/components/Stepper/Step/StepContent.js.flow +0 -40
  1768. package/lib/components/Stepper/Step/StepLabel.js.flow +0 -40
  1769. package/lib/components/Stepper/Step/index.js.flow +0 -5
  1770. package/lib/components/Stepper/Stepper.js.flow +0 -64
  1771. package/lib/components/Stepper/index.js.flow +0 -4
  1772. package/lib/components/StickyBar/StickyBar.js.flow +0 -67
  1773. package/lib/components/StickyBar/index.js.flow +0 -3
  1774. package/lib/components/SubMenu/SubMenu.js.flow +0 -96
  1775. package/lib/components/SubMenu/SubMenuGroup.js.flow +0 -156
  1776. package/lib/components/SubMenu/SubMenuItem.js.flow +0 -170
  1777. package/lib/components/SubMenu/SubMenuLink.js.flow +0 -89
  1778. package/lib/components/SubMenu/index.js.flow +0 -6
  1779. package/lib/components/Table/Cell.js.flow +0 -122
  1780. package/lib/components/Table/DefaultRow.js.flow +0 -152
  1781. package/lib/components/Table/DefaultTableHeader.js.flow +0 -240
  1782. package/lib/components/Table/StaticTable.js.flow +0 -212
  1783. package/lib/components/Table/Table.docs.js.flow +0 -495
  1784. package/lib/components/Table/Table.js.flow +0 -132
  1785. package/lib/components/Table/TableActionBar.js.flow +0 -55
  1786. package/lib/components/Table/TableBottomBar.js.flow +0 -28
  1787. package/lib/components/Table/TableTopBar.js.flow +0 -28
  1788. package/lib/components/Table/dummyTableData.js.flow +0 -2191
  1789. package/lib/components/Table/hooks.js.flow +0 -97
  1790. package/lib/components/Table/index.js.flow +0 -10
  1791. package/lib/components/Tabs/Tab/Tab.js.flow +0 -140
  1792. package/lib/components/Tabs/Tab/index.js.flow +0 -3
  1793. package/lib/components/Tabs/TabList/TabDropdown.js.flow +0 -123
  1794. package/lib/components/Tabs/TabList/TabList.js.flow +0 -161
  1795. package/lib/components/Tabs/TabList/index.js.flow +0 -3
  1796. package/lib/components/Tabs/index.js.flow +0 -4
  1797. package/lib/components/Text/Text.js.flow +0 -1060
  1798. package/lib/components/Text/index.js.flow +0 -32
  1799. package/lib/components/TextTile/TextTile.js.flow +0 -44
  1800. package/lib/components/TextTile/index.js.flow +0 -3
  1801. package/lib/components/Textarea/Textarea.js.flow +0 -139
  1802. package/lib/components/Textarea/index.js.flow +0 -4
  1803. package/lib/components/Timeline/Timeline.js.flow +0 -47
  1804. package/lib/components/Timeline/TimelineItem/TimelineItem.js.flow +0 -127
  1805. package/lib/components/Timeline/TimelineItem/index.js.flow +0 -3
  1806. package/lib/components/Timeline/index.js.flow +0 -4
  1807. package/lib/components/Toast/Toast.js.flow +0 -249
  1808. package/lib/components/Toast/ToastContainer.js.flow +0 -125
  1809. package/lib/components/Toast/ToastManager.js.flow +0 -67
  1810. package/lib/components/Toast/index.js.flow +0 -12
  1811. package/lib/components/Toggle/Toggle.js.flow +0 -113
  1812. package/lib/components/Toggle/index.js.flow +0 -2
  1813. package/lib/components/TokenListInput/TokenListInput.js.flow +0 -389
  1814. package/lib/components/TokenListInput/TokenValueChips.js.flow +0 -69
  1815. package/lib/components/TokenListInput/index.js.flow +0 -3
  1816. package/lib/components/Tooltip/Tooltip.js.flow +0 -206
  1817. package/lib/components/Tooltip/index.js.flow +0 -3
  1818. package/lib/components/Truncate/Truncate.js.flow +0 -86
  1819. package/lib/components/Truncate/index.js.flow +0 -4
  1820. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js.flow +0 -104
  1821. package/lib/components/TruncatedTextWithTooltip/index.js.flow +0 -3
  1822. package/lib/components/Typeahead/SimpleTypeahead.js.flow +0 -164
  1823. package/lib/components/Typeahead/Typeahead.js.flow +0 -250
  1824. package/lib/components/Typeahead/index.js.flow +0 -4
  1825. package/lib/components/WeekdayPicker/WeekdayPicker.js.flow +0 -229
  1826. package/lib/components/WeekdayPicker/index.js.flow +0 -3
  1827. package/lib/components/index.js.flow +0 -77
  1828. package/lib/hooks/index.js.flow +0 -18
  1829. package/lib/hooks/useArbitraryOptionAddition/index.js.flow +0 -3
  1830. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js.flow +0 -117
  1831. package/lib/hooks/useCopyToClipboard/index.js.flow +0 -3
  1832. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js.flow +0 -31
  1833. package/lib/hooks/useDebounce/index.js.flow +0 -3
  1834. package/lib/hooks/useDebounce/useDebounce.js.flow +0 -17
  1835. package/lib/hooks/useFileUpload/index.js.flow +0 -3
  1836. package/lib/hooks/useFileUpload/useFileUpload.js.flow +0 -304
  1837. package/lib/hooks/useFilteredOptions/index.js.flow +0 -3
  1838. package/lib/hooks/useFilteredOptions/useFilteredOptions.js.flow +0 -81
  1839. package/lib/hooks/useInfiniteScroll/index.js.flow +0 -3
  1840. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.js.flow +0 -82
  1841. package/lib/hooks/useInputState/index.js.flow +0 -3
  1842. package/lib/hooks/useInputState/useInputState.js.flow +0 -28
  1843. package/lib/hooks/useLockedBody/index.js.flow +0 -3
  1844. package/lib/hooks/useLockedBody/useLockedBody.js.flow +0 -55
  1845. package/lib/hooks/useModal/index.js.flow +0 -3
  1846. package/lib/hooks/useModal/useModal.js.flow +0 -39
  1847. package/lib/hooks/useMountTransition/index.js.flow +0 -27
  1848. package/lib/hooks/usePagination/index.js.flow +0 -3
  1849. package/lib/hooks/usePagination/usePagination.js.flow +0 -155
  1850. package/lib/hooks/useReferenceElementWidth/index.js.flow +0 -3
  1851. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js.flow +0 -23
  1852. package/lib/hooks/useResizeObserver/index.js.flow +0 -3
  1853. package/lib/hooks/useResizeObserver/useResizeObserver.js.flow +0 -28
  1854. package/lib/hooks/useToastPortal/index.js.flow +0 -3
  1855. package/lib/hooks/useToastPortal/useToastPortal.js.flow +0 -30
  1856. package/lib/hooks/useToggle/index.js.flow +0 -3
  1857. package/lib/hooks/useToggle/useToggle.js.flow +0 -17
  1858. package/lib/hooks/useWindowSize/index.js.flow +0 -3
  1859. package/lib/hooks/useWindowSize/useWindowSize.js.flow +0 -41
  1860. package/lib/index.js.flow +0 -7
  1861. package/lib/styles/index.js.flow +0 -535
  1862. package/lib/styles/variables/_border.js.flow +0 -25
  1863. package/lib/styles/variables/_color.js.flow +0 -209
  1864. package/lib/styles/variables/_elevation.js.flow +0 -15
  1865. package/lib/styles/variables/_font.js.flow +0 -61
  1866. package/lib/styles/variables/_motion.js.flow +0 -13
  1867. package/lib/styles/variables/_opacity.js.flow +0 -31
  1868. package/lib/styles/variables/_shadow.js.flow +0 -49
  1869. package/lib/styles/variables/_size.js.flow +0 -115
  1870. package/lib/styles/variables/_space.js.flow +0 -25
  1871. package/lib/types/charts.js.flow +0 -263
  1872. package/lib/types/common.js.flow +0 -13
  1873. package/lib/types/date-range-picker.js.flow +0 -17
  1874. package/lib/types/index.js.flow +0 -8
  1875. package/lib/types/menu.js.flow +0 -15
  1876. package/lib/types/toast.js.flow +0 -41
  1877. package/lib/types/typography.js.flow +0 -19
  1878. package/lib/utils/array/are-arrays-equal.js.flow +0 -14
  1879. package/lib/utils/array/index.js.flow +0 -3
  1880. package/lib/utils/charts/charts.js.flow +0 -111
  1881. package/lib/utils/charts/columnChart.js.flow +0 -63
  1882. package/lib/utils/charts/donutChart.js.flow +0 -119
  1883. package/lib/utils/charts/funnelChart.js.flow +0 -102
  1884. package/lib/utils/charts/helpers.js.flow +0 -68
  1885. package/lib/utils/charts/index.js.flow +0 -9
  1886. package/lib/utils/charts/lineChart.js.flow +0 -51
  1887. package/lib/utils/charts/spiderChart.js.flow +0 -59
  1888. package/lib/utils/charts/typography.js.flow +0 -53
  1889. package/lib/utils/classify/index.js.flow +0 -29
  1890. package/lib/utils/click-away/click-away.js.flow +0 -228
  1891. package/lib/utils/click-away/index.js.flow +0 -3
  1892. package/lib/utils/date-range-picker/date-range-picker.js.flow +0 -442
  1893. package/lib/utils/date-range-picker/index.js.flow +0 -4
  1894. package/lib/utils/date-range-picker/timezones.js.flow +0 -269
  1895. package/lib/utils/dom/dom.js.flow +0 -238
  1896. package/lib/utils/dom/index.js.flow +0 -3
  1897. package/lib/utils/helpers/helpers.js.flow +0 -53
  1898. package/lib/utils/helpers/index.js.flow +0 -3
  1899. package/lib/utils/index.js.flow +0 -16
  1900. package/lib/utils/makeClassNameComponent/index.js.flow +0 -3
  1901. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js.flow +0 -70
  1902. package/lib/utils/menu/index.js.flow +0 -3
  1903. package/lib/utils/menu/menu.js.flow +0 -193
  1904. package/lib/utils/merge-refs/index.js.flow +0 -3
  1905. package/lib/utils/merge-refs/merge-refs.js.flow +0 -14
  1906. package/lib/utils/rating/index.js.flow +0 -3
  1907. package/lib/utils/rating/rating.js.flow +0 -35
  1908. package/lib/utils/score-bar/index.js.flow +0 -3
  1909. package/lib/utils/score-bar/score-bar.js.flow +0 -58
  1910. package/lib/utils/string/index.js.flow +0 -3
  1911. package/lib/utils/string/string.js.flow +0 -33
  1912. package/lib/utils/token-list-input/token-list-input.js.flow +0 -37
  1913. package/lib/utils/tokens/index.js.flow +0 -3
  1914. package/lib/utils/tokens/tokens.js.flow +0 -244
@@ -0,0 +1,952 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports._WithProgress = exports._WithMaxSizeValidation = exports._WithIndeterminateProgress = exports._WithFileRefresh = exports._WithDeletionConfirmation = exports._WithCustomErrorMessages = exports._SingleFile = exports._MultiFile = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _helpers = require("../../utils/helpers");
9
+ var _tokens = require("../../utils/tokens");
10
+ var _Dialog = require("../Dialog");
11
+ var _EmptyState = require("../EmptyState");
12
+ var _Link = require("../Link");
13
+ var _Table = require("../Table");
14
+ var _Text = require("../Text");
15
+ var _Truncate = require("../Truncate");
16
+ var _FileUpload = require("./FileUpload");
17
+ var _FileUploadStoriesModule = _interopRequireDefault(require("./FileUpload.stories.module.css"));
18
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
19
+ 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); }
20
+ 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); }
21
+ var _default = exports.default = {
22
+ tags: ['autodocs'],
23
+ title: 'Components/File Upload/File Upload',
24
+ component: _FileUpload.FileUpload,
25
+ argTypes: {
26
+ classNames: {
27
+ description: 'Provide an optional className to be applied',
28
+ control: {
29
+ type: 'object'
30
+ },
31
+ table: {
32
+ type: {
33
+ summary: '{ wrapper?: string, instruction?: string, secondaryInstruction?: string, dropZone?: string, files?: string }'
34
+ }
35
+ }
36
+ },
37
+ label: {
38
+ description: 'The label for the File Uploader',
39
+ control: {
40
+ type: 'text'
41
+ },
42
+ table: {
43
+ type: {
44
+ summary: 'React.ReactNode'
45
+ },
46
+ defaultValue: {
47
+ summary: ''
48
+ }
49
+ }
50
+ },
51
+ instruction: {
52
+ description: 'The instruction for the File Uploader. This appears as the first line of the File Uploader',
53
+ control: {
54
+ type: 'text'
55
+ },
56
+ table: {
57
+ type: {
58
+ summary: 'React.ReactNode'
59
+ },
60
+ defaultValue: {
61
+ summary: 'Drag & drop the file here or click to select'
62
+ }
63
+ }
64
+ },
65
+ draggingInstruction: {
66
+ description: 'This gets activated when the user drags the file over the File Uploader. Instruction text gets replaced by draggingInstruction',
67
+ control: {
68
+ type: 'text'
69
+ },
70
+ table: {
71
+ type: {
72
+ summary: 'React.ReactNode'
73
+ },
74
+ defaultValue: {
75
+ summary: 'Drop the file here to start uploading..'
76
+ }
77
+ }
78
+ },
79
+ secondaryInstruction: {
80
+ description: `The secondary instruction for the File Uploader. This appears as the second line of the
81
+ File Uploader. Use this to notify users of file type accepted, size accepted, etc.`,
82
+ control: {
83
+ type: 'text'
84
+ },
85
+ table: {
86
+ type: {
87
+ summary: 'React.ReactNode'
88
+ },
89
+ defaultValue: {
90
+ summary: ''
91
+ }
92
+ }
93
+ },
94
+ maxSize: {
95
+ description: 'The maximum size of each file that can be uploaded. This is in bytes',
96
+ control: {
97
+ type: 'number'
98
+ },
99
+ table: {
100
+ type: {
101
+ summary: 'number'
102
+ }
103
+ }
104
+ },
105
+ accept: {
106
+ description: `Set accepted file types. Checkout [MDN](https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker)
107
+ types option for more information. Keep in mind that mime type determination is not reliable across platforms.
108
+ CSV files, for example, are reported as text/plain under macOS but as application/vnd.ms-excel under Windows.
109
+ In some cases there might not be a mime type set at all [GitHub](https://github.com/react-dropzone/react-dropzone/issues/276).`,
110
+ control: {
111
+ type: 'array'
112
+ },
113
+ table: {
114
+ type: {
115
+ summary: 'AcceptProps'
116
+ }
117
+ }
118
+ },
119
+ onValidFilesDrop: {
120
+ description: `
121
+ The callback function that is called when the user selects or drop **valid file(s)**.
122
+ Only the currently dropped/selected files are passed as argument.
123
+ `,
124
+ action: 'on valid files drop or select',
125
+ table: {
126
+ type: {
127
+ summary: 'onValidFilesDrop?: ( validFiles: Array<FileObject>) => mixed'
128
+ }
129
+ }
130
+ },
131
+ onRejectedFilesDrop: {
132
+ description: `
133
+ The callback function that is called when the user selects or drop **invalid file(s)**.
134
+ Only the currently dropped/selected files are passed as argument.
135
+ `,
136
+ action: 'on rejected files drop or select',
137
+ table: {
138
+ type: {
139
+ summary: 'onRejectedFilesDrop?: ( rejectedFiles: Array<FileObject>) => mixed'
140
+ }
141
+ }
142
+ },
143
+ handleFileDeletionExternally: {
144
+ description: `If **true**, the component will not handle file deletion internally. This is useful when you want to
145
+ handle file deletion externally. For example, you can use this prop to show a confirmation modal before deleting a file.`,
146
+ control: {
147
+ type: 'boolean'
148
+ },
149
+ table: {
150
+ type: {
151
+ summary: 'boolean'
152
+ },
153
+ defaultValue: {
154
+ summary: 'false'
155
+ }
156
+ }
157
+ },
158
+ onFileClear: {
159
+ description: `The callback function that is called when the user clears the file.`,
160
+ action: 'file cleared',
161
+ table: {
162
+ type: {
163
+ summary: '(id: string) => mixed'
164
+ }
165
+ }
166
+ },
167
+ onFileRefreshClick: {
168
+ description: `The callback function that is called when the user clicks on the refresh icon.`,
169
+ action: 'file Refreshed',
170
+ table: {
171
+ type: {
172
+ summary: '(file: FileObject) => mixed'
173
+ }
174
+ }
175
+ },
176
+ disabled: {
177
+ description: 'If **true**, the component is disabled',
178
+ control: {
179
+ type: 'boolean'
180
+ },
181
+ table: {
182
+ type: {
183
+ summary: 'boolean'
184
+ },
185
+ defaultValue: {
186
+ summary: 'false'
187
+ }
188
+ }
189
+ },
190
+ ref: {
191
+ description: `File upload state management callbacks along with \`validFiles\`, \`rejectedFiles\` and \`files\` are
192
+ exposed as \`ref\` which is a \`React.Ref\` object.`,
193
+ table: {
194
+ type: {
195
+ summary: 'FileUploadRef'
196
+ }
197
+ }
198
+ },
199
+ maxFiles: {
200
+ description: `Maximum accepted number of files The default value is 1 which corresponds to single file upload.
201
+ You can also **set the value to 0 which means there is no limitation to how many files are accepted**.`,
202
+ control: {
203
+ type: 'number'
204
+ },
205
+ table: {
206
+ type: {
207
+ summary: 'number'
208
+ },
209
+ defaultValue: {
210
+ summary: '1'
211
+ }
212
+ }
213
+ },
214
+ required: {
215
+ description: 'if **true**, a red star would be added to the label',
216
+ control: {
217
+ type: 'boolean'
218
+ },
219
+ table: {
220
+ type: {
221
+ summary: 'boolean'
222
+ },
223
+ defaultValue: {
224
+ summary: 'false'
225
+ }
226
+ }
227
+ }
228
+ },
229
+ parameters: {
230
+ docs: {
231
+ subtitle: 'Generates a FileUpload component.',
232
+ source: {
233
+ code: null
234
+ },
235
+ description: {
236
+ component: `
237
+ \`\`\`js
238
+ import { FileUpload } from "@spaced-out/ui-design-system/lib/components/FileUpload";
239
+ \`\`\`
240
+ The \`FileUpload\` component is a customizable file upload component which utilizes the \`useFileUploadHook\`.
241
+ It provides an intuitive and user-friendly interface for uploading files.
242
+ The component supports features such as drag and drop functionality, file validation, error handling, and file clearing.
243
+
244
+ When files are dragged and dropped or selected using the file browser, the \`FileUpload\` component displays the file names along
245
+ with additional information such as success message, progress state and error message. It also provides an option to remove individual files.
246
+
247
+ The component supports various visual states, including a hover state when files are being dragged over the
248
+ component, an error state when invalid files are selected, and a disabled state when the component is not interactive.
249
+
250
+ Additionally, the \`FileUpload\` component allows customization through props, enabling you to specify the maximum
251
+ file size, accepted file types, callbacks for handling valid and rejected file(s) drop, and more.
252
+
253
+ You can access valid files, rejected files, and all files using the \`ref\` object passed to the \`FileUpload\` component. You can
254
+ also do several operations on a file using the functions exposed on the \`ref\`
255
+
256
+ \`\`\`js
257
+ // Valid Files:
258
+ ref.current?.validFiles;
259
+
260
+ // Rejected Files:
261
+ ref.current?.rejectedFiles;
262
+
263
+ // All Files:
264
+ ref.current?.files;
265
+
266
+ // Operations on a file:
267
+
268
+ // Move file to progress state
269
+ ref.current?.moveFileToProgress(id, progress);
270
+
271
+ // Move file to success state
272
+ ref.current?.moveFileToSuccess(id, successMessage);
273
+
274
+ // Move file to reject state
275
+ ref.current?.moveFileToReject(id, rejectReason);
276
+
277
+ // Show re-upload button
278
+ ref.current?.setShowReUpload(id, showReUpload);
279
+
280
+ // Clear file(Use this in combination of handleFileDeletionExternally, when you want to handle deletion externally)
281
+ ref.current?.handleFileClear(id);
282
+ \`\`\`
283
+
284
+ Each File object returned has these properties:
285
+
286
+ \`\`\`js
287
+ type FileObject = {
288
+ file: File,
289
+ id: string,
290
+ reject?: boolean,
291
+ rejectReason?: string,
292
+ progress?: FileProgress,
293
+ success?: boolean,
294
+ successMessage?: string,
295
+ showReUpload?: boolean,
296
+ };
297
+ \`\`\`
298
+
299
+ To transition file state a bunch of functions are exposed as \`ref\` which is a \`React.Ref\` object.
300
+
301
+ \`\`\`js
302
+ // File upload state management callbacks are exposed as \`ref\` which is a \`React.Ref\` object.
303
+ export type FileUploadRef = {
304
+ moveFileToProgress: (id: string, progress: FileProgress) => mixed,
305
+ moveFileToSuccess: (id: string, successMessage?: string) => mixed,
306
+ moveFileToReject: (id: string, rejectReason?: string) => mixed,
307
+ setShowReUpload: (id: string, showReUpload?: boolean) => mixed,
308
+ handleFileClear: (id: string) => mixed,
309
+ validFiles: Array<FileObject>,
310
+ rejectedFiles: Array<FileObject>,
311
+ files: Array<FileObject>,
312
+ };
313
+
314
+ // File upload Props
315
+ type FileUploadProps = {
316
+ ...
317
+ // File drop/select callbacks
318
+ onValidFilesDrop?: (validFiles: Array<FileObject>) => mixed,
319
+ onRejectedFilesDrop?: (rejectedFiles: Array<FileObject>) => mixed,
320
+
321
+ // File clear callbacks
322
+ onFileClear?: (id: string) => mixed,
323
+
324
+ // File refresh callback
325
+ onFileRefreshClick?: (file: FileObject) => mixed,
326
+
327
+ ...
328
+ };
329
+ \`\`\`
330
+ \`\`\`js
331
+ // Usage:
332
+
333
+ const ref = React.useRef(null);
334
+
335
+ const mockState = (id: string) => {
336
+ let progress = 0;
337
+ const intervalId = setInterval(() => {
338
+ progress += 5;
339
+ if (progress >= 100) {
340
+ ref.current?.moveFileToSuccess(id);
341
+ clearInterval(intervalId);
342
+ } else {
343
+ ref.current?.moveFileToProgress(id, progress);
344
+ }
345
+ }, 100);
346
+ };
347
+ \`\`\`
348
+ \`\`\`jsx
349
+ <FileUpload
350
+ {...args}
351
+ ref={ref}
352
+ onValidFilesDrop={(uploadedFiles) => {
353
+ uploadedFiles.forEach((file) => {
354
+ mockState(file.id);
355
+ });
356
+ }}
357
+ />
358
+ \`\`\`
359
+ `
360
+ }
361
+ },
362
+ storySource: {
363
+ componentPath: '/src/components/FileUpload/FileUpload.jsx'
364
+ }
365
+ }
366
+ };
367
+ /**
368
+ * Renders a FileUpload component for uploading a single file.
369
+ *
370
+ * This example demonstrates how to use the FileUpload component with a single file upload.
371
+ */
372
+ const _SingleFile = args => {
373
+ const [files, setFiles] = React.useState([]);
374
+ const ref = React.useRef(null);
375
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
376
+ className: _FileUploadStoriesModule.default.container
377
+ }, /*#__PURE__*/React.createElement("div", {
378
+ className: _FileUploadStoriesModule.default.content
379
+ }, /*#__PURE__*/React.createElement(_FileUpload.FileUpload, _extends({}, args, {
380
+ ref: ref,
381
+ onValidFilesDrop: () => {
382
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
383
+ setFiles(ref.current?.files);
384
+ },
385
+ onRejectedFilesDrop: () => {
386
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
387
+ setFiles(ref.current?.files);
388
+ },
389
+ onFileClear: () => {
390
+ setTimeout(() => {
391
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
392
+ setFiles(ref.current?.files);
393
+ });
394
+ }
395
+ })))), /*#__PURE__*/React.createElement("div", {
396
+ className: _FileUploadStoriesModule.default.fileDataContainer
397
+ }, /*#__PURE__*/React.createElement(FileUploadData, {
398
+ files: files || []
399
+ })));
400
+ };
401
+ exports._SingleFile = _SingleFile;
402
+ _SingleFile.args = {
403
+ label: 'Upload a file(Only one file allowed)',
404
+ secondaryInstruction: 'Types: .png, .jpg or .jpeg',
405
+ maxFiles: 1,
406
+ accept: {
407
+ 'image/jpeg': ['.jpg', '.jpeg'],
408
+ 'image/png': ['.png']
409
+ }
410
+ };
411
+
412
+ /**
413
+ * Renders a FileUpload component for uploading multiple files.
414
+ *
415
+ * This example demonstrates how to use the FileUpload component with multiple file uploads.
416
+ */
417
+ const _MultiFile = args => {
418
+ const [files, setFiles] = React.useState([]);
419
+ const ref = React.useRef(null);
420
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
421
+ className: _FileUploadStoriesModule.default.container
422
+ }, /*#__PURE__*/React.createElement("div", {
423
+ className: _FileUploadStoriesModule.default.content
424
+ }, /*#__PURE__*/React.createElement(_FileUpload.FileUpload, _extends({}, args, {
425
+ ref: ref,
426
+ onValidFilesDrop: () => {
427
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
428
+ setFiles(ref.current?.files);
429
+ },
430
+ onRejectedFilesDrop: () => {
431
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
432
+ setFiles(ref.current?.files);
433
+ },
434
+ onFileClear: () => {
435
+ setTimeout(() => {
436
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
437
+ setFiles(ref.current?.files);
438
+ });
439
+ }
440
+ })))), /*#__PURE__*/React.createElement("div", {
441
+ className: _FileUploadStoriesModule.default.fileDataContainer
442
+ }, /*#__PURE__*/React.createElement(FileUploadData, {
443
+ files: files || []
444
+ })));
445
+ };
446
+ exports._MultiFile = _MultiFile;
447
+ _MultiFile.args = {
448
+ label: 'Upload Files(Multiple files allowed)',
449
+ secondaryInstruction: 'Types: .png, .jpg or .jpeg',
450
+ maxFiles: 0,
451
+ accept: {
452
+ 'image/jpeg': ['.jpg', '.jpeg'],
453
+ 'image/png': ['.png']
454
+ }
455
+ };
456
+
457
+ /**
458
+ * Renders a FileUpload component for uploading multiple files.
459
+ *
460
+ * This example demonstrates how to use the FileUpload component with confirmation modal and handle deletion externally.
461
+ */
462
+ const _WithDeletionConfirmation = args => {
463
+ const [showConfirmation, setShowConfirmation] = React.useState(false);
464
+ const [fileIdToDelete, setFileIdToDelete] = React.useState('');
465
+ const [files, setFiles] = React.useState([]);
466
+ const ref = React.useRef(null);
467
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
468
+ className: _FileUploadStoriesModule.default.container
469
+ }, /*#__PURE__*/React.createElement("div", {
470
+ className: _FileUploadStoriesModule.default.content
471
+ }, /*#__PURE__*/React.createElement(_FileUpload.FileUpload, _extends({}, args, {
472
+ ref: ref,
473
+ onValidFilesDrop: () => {
474
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
475
+ setFiles(ref.current?.files);
476
+ },
477
+ handleFileDeletionExternally: true,
478
+ onRejectedFilesDrop: () => {
479
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
480
+ setFiles(ref.current?.files);
481
+ },
482
+ onFileClear: id => {
483
+ setFileIdToDelete(id);
484
+ setShowConfirmation(true);
485
+ }
486
+ })))), /*#__PURE__*/React.createElement("div", {
487
+ className: _FileUploadStoriesModule.default.fileDataContainer
488
+ }, /*#__PURE__*/React.createElement(FileUploadData, {
489
+ files: files || []
490
+ })), /*#__PURE__*/React.createElement(_Dialog.BasicDialog, {
491
+ isOpen: showConfirmation,
492
+ abortText: "Close",
493
+ body: "Are you sure you want to delete this file?",
494
+ confirmText: "Confirm",
495
+ handleAbort: () => {
496
+ setShowConfirmation(false);
497
+ },
498
+ handleConfirm: () => {
499
+ // @ts-ignore - TS2339 - Property 'handleFileClear' does not exist on type 'never'.
500
+ ref.current?.handleFileClear(fileIdToDelete);
501
+ setTimeout(() => {
502
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
503
+ setFiles(ref.current?.files);
504
+ });
505
+ setShowConfirmation(false);
506
+ },
507
+ heading: "Delete File",
508
+ onClose: () => {
509
+ setShowConfirmation(false);
510
+ },
511
+ semantic: "danger"
512
+ }));
513
+ };
514
+ exports._WithDeletionConfirmation = _WithDeletionConfirmation;
515
+ _WithDeletionConfirmation.args = {
516
+ label: 'Upload Files(Multiple files allowed)',
517
+ secondaryInstruction: 'Types: .png, .jpg or .jpeg',
518
+ maxFiles: 0,
519
+ accept: {
520
+ 'image/jpeg': ['.jpg', '.jpeg'],
521
+ 'image/png': ['.png']
522
+ }
523
+ };
524
+
525
+ /**
526
+ * Renders a FileUpload component with progress state.
527
+ *
528
+ * This example demonstrates how to use the FileUpload component with progress state.
529
+ */
530
+ const _WithProgress = args => {
531
+ const [files, setFiles] = React.useState([]);
532
+ const ref = React.useRef(null);
533
+ const mockState = id => {
534
+ let progress = 0;
535
+ const intervalId = setInterval(() => {
536
+ progress += 5;
537
+ if (progress >= 105) {
538
+ // @ts-ignore - TS2339 - Property 'moveFileToSuccess' does not exist on type 'never'.
539
+ ref.current?.moveFileToSuccess(id);
540
+ clearInterval(intervalId);
541
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
542
+ setFiles(ref.current?.files);
543
+ } else {
544
+ // @ts-ignore - TS2339 - Property 'moveFileToProgress' does not exist on type 'never'.
545
+ ref.current?.moveFileToProgress(id, progress);
546
+ }
547
+ }, 100);
548
+ };
549
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
550
+ className: _FileUploadStoriesModule.default.container
551
+ }, /*#__PURE__*/React.createElement("div", {
552
+ className: _FileUploadStoriesModule.default.content
553
+ }, /*#__PURE__*/React.createElement(_FileUpload.FileUpload, _extends({}, args, {
554
+ ref: ref,
555
+ onValidFilesDrop: uploadedFiles => {
556
+ uploadedFiles.forEach(file => {
557
+ mockState(file.id);
558
+ });
559
+ },
560
+ onRejectedFilesDrop: () => {
561
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
562
+ setFiles(ref.current?.files);
563
+ },
564
+ onFileClear: () => {
565
+ setTimeout(() => {
566
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
567
+ setFiles(ref.current?.files);
568
+ });
569
+ }
570
+ })))), /*#__PURE__*/React.createElement("div", {
571
+ className: _FileUploadStoriesModule.default.fileDataContainer
572
+ }, /*#__PURE__*/React.createElement(FileUploadData, {
573
+ files: files || []
574
+ })));
575
+ };
576
+ exports._WithProgress = _WithProgress;
577
+ _WithProgress.args = {
578
+ label: 'Upload Files(Multiple files allowed)',
579
+ secondaryInstruction: 'Types: .png, .jpg or .jpeg',
580
+ maxFiles: 0,
581
+ accept: {
582
+ 'image/jpeg': ['.jpg', '.jpeg'],
583
+ 'image/png': ['.png']
584
+ }
585
+ };
586
+
587
+ /**
588
+ * Renders a FileUpload component with indeterminate progress state.
589
+ *
590
+ * This example demonstrates how to use the FileUpload component with indeterminate progress state.
591
+ */
592
+ const _WithIndeterminateProgress = args => {
593
+ const [files, setFiles] = React.useState([]);
594
+ const ref = React.useRef(null);
595
+ const mockState = id => {
596
+ // @ts-ignore - TS2339 - Property 'moveFileToProgress' does not exist on type 'never'.
597
+ ref.current?.moveFileToProgress(id, 'indeterminate');
598
+ setTimeout(() => {
599
+ // @ts-ignore - TS2339 - Property 'moveFileToSuccess' does not exist on type 'never'.
600
+ ref.current?.moveFileToSuccess(id);
601
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
602
+ setFiles(ref.current?.files);
603
+ }, 5000);
604
+ };
605
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
606
+ className: _FileUploadStoriesModule.default.container
607
+ }, /*#__PURE__*/React.createElement("div", {
608
+ className: _FileUploadStoriesModule.default.content
609
+ }, /*#__PURE__*/React.createElement(_FileUpload.FileUpload, _extends({}, args, {
610
+ ref: ref,
611
+ onValidFilesDrop: uploadedFiles => {
612
+ uploadedFiles.forEach(file => {
613
+ mockState(file.id);
614
+ });
615
+ },
616
+ onRejectedFilesDrop: () => {
617
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
618
+ setFiles(ref.current?.files);
619
+ },
620
+ onFileClear: () => {
621
+ setTimeout(() => {
622
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
623
+ setFiles(ref.current?.files);
624
+ });
625
+ }
626
+ })))), /*#__PURE__*/React.createElement("div", {
627
+ className: _FileUploadStoriesModule.default.fileDataContainer
628
+ }, /*#__PURE__*/React.createElement(FileUploadData, {
629
+ files: files || []
630
+ })));
631
+ };
632
+ exports._WithIndeterminateProgress = _WithIndeterminateProgress;
633
+ _WithIndeterminateProgress.args = {
634
+ label: 'Upload Files(Multiple files allowed)',
635
+ secondaryInstruction: 'Types: .png, .jpg or .jpeg',
636
+ maxFiles: 0,
637
+ accept: {
638
+ 'image/jpeg': ['.jpg', '.jpeg'],
639
+ 'image/png': ['.png']
640
+ }
641
+ };
642
+
643
+ /**
644
+ * Renders a FileUpload component with custom error and success messages.
645
+ *
646
+ * This example demonstrates how to use the FileUpload component with custom error and success messages.
647
+ */
648
+ const _WithCustomErrorMessages = args => {
649
+ const [files, setFiles] = React.useState([]);
650
+ const ref = React.useRef(null);
651
+ const mockState = (id, idx) => {
652
+ let progress = 0;
653
+ const intervalId = setInterval(() => {
654
+ progress += 5;
655
+ if (progress >= 105) {
656
+ if (idx === 0) {
657
+ // @ts-ignore - TS2339 - Property 'moveFileToReject' does not exist on type 'never'.
658
+ ref.current?.moveFileToReject(id, 'File rejected: Your custom error message');
659
+ } else {
660
+ // @ts-ignore - TS2339 - Property 'moveFileToSuccess' does not exist on type 'never'.
661
+ ref.current?.moveFileToSuccess(id);
662
+ }
663
+ clearInterval(intervalId);
664
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
665
+ setFiles(ref.current?.files);
666
+ } else {
667
+ // @ts-ignore - TS2339 - Property 'moveFileToProgress' does not exist on type 'never'.
668
+ ref.current?.moveFileToProgress(id, progress);
669
+ }
670
+ }, 100);
671
+ };
672
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
673
+ className: _FileUploadStoriesModule.default.container
674
+ }, /*#__PURE__*/React.createElement("div", {
675
+ className: _FileUploadStoriesModule.default.content
676
+ }, /*#__PURE__*/React.createElement(_FileUpload.FileUpload, _extends({}, args, {
677
+ ref: ref,
678
+ onValidFilesDrop: uploadedFiles => {
679
+ uploadedFiles.forEach((file, idx) => {
680
+ mockState(file.id, idx);
681
+ });
682
+ },
683
+ onRejectedFilesDrop: () => {
684
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
685
+ setFiles(ref.current?.files);
686
+ },
687
+ onFileClear: () => {
688
+ setTimeout(() => {
689
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
690
+ setFiles(ref.current?.files);
691
+ });
692
+ }
693
+ })))), /*#__PURE__*/React.createElement("div", {
694
+ className: _FileUploadStoriesModule.default.fileDataContainer
695
+ }, /*#__PURE__*/React.createElement(FileUploadData, {
696
+ files: files || []
697
+ })));
698
+ };
699
+ exports._WithCustomErrorMessages = _WithCustomErrorMessages;
700
+ _WithCustomErrorMessages.args = {
701
+ label: 'Upload Files(Multiple files allowed)',
702
+ secondaryInstruction: 'Try uploading multiple files at once.',
703
+ maxFiles: 0
704
+ };
705
+
706
+ /**
707
+ * Renders a FileUpload component with max size validation.
708
+ *
709
+ * This example demonstrates how to use the FileUpload component with max size validation.
710
+ */
711
+ const _WithMaxSizeValidation = args => {
712
+ const [files, setFiles] = React.useState([]);
713
+ const ref = React.useRef(null);
714
+ const mockState = id => {
715
+ let progress = 0;
716
+ const intervalId = setInterval(() => {
717
+ progress += 5;
718
+ if (progress >= 105) {
719
+ // @ts-ignore - TS2339 - Property 'moveFileToSuccess' does not exist on type 'never'.
720
+ ref.current?.moveFileToSuccess(id);
721
+ clearInterval(intervalId);
722
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
723
+ setFiles(ref.current?.files);
724
+ } else {
725
+ // @ts-ignore - TS2339 - Property 'moveFileToProgress' does not exist on type 'never'.
726
+ ref.current?.moveFileToProgress(id, progress);
727
+ }
728
+ }, 100);
729
+ };
730
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
731
+ className: _FileUploadStoriesModule.default.container
732
+ }, /*#__PURE__*/React.createElement("div", {
733
+ className: _FileUploadStoriesModule.default.content
734
+ }, /*#__PURE__*/React.createElement(_FileUpload.FileUpload, _extends({}, args, {
735
+ ref: ref,
736
+ onValidFilesDrop: uploadedFiles => {
737
+ uploadedFiles.forEach(file => {
738
+ mockState(file.id);
739
+ });
740
+ },
741
+ onRejectedFilesDrop: () => {
742
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
743
+ setFiles(ref.current?.files);
744
+ },
745
+ onFileClear: () => {
746
+ setTimeout(() => {
747
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
748
+ setFiles(ref.current?.files);
749
+ });
750
+ }
751
+ })))), /*#__PURE__*/React.createElement("div", {
752
+ className: _FileUploadStoriesModule.default.fileDataContainer
753
+ }, /*#__PURE__*/React.createElement(FileUploadData, {
754
+ files: files || []
755
+ })));
756
+ };
757
+ exports._WithMaxSizeValidation = _WithMaxSizeValidation;
758
+ _WithMaxSizeValidation.args = {
759
+ label: 'Upload Files(Multiple files allowed)',
760
+ secondaryInstruction: 'Try uploading a file greater than 2MB',
761
+ maxFiles: 0,
762
+ maxSize: 2000000 // 2MB
763
+ };
764
+
765
+ /**
766
+ * Renders a FileUpload component with re upload icon when file state is moved to error.
767
+ *
768
+ * This example demonstrates how to use the FileUpload component with reupload.
769
+ */
770
+ const _WithFileRefresh = args => {
771
+ const ref = React.useRef(null);
772
+ const [files, setFiles] = React.useState([]);
773
+ const mockState = id => {
774
+ let progress = 0;
775
+ const intervalId = setInterval(() => {
776
+ progress += 5;
777
+ if (progress >= 105) {
778
+ // @ts-ignore - TS2339 - Property 'moveFileToSuccess' does not exist on type 'never'.
779
+ ref.current?.moveFileToSuccess(id);
780
+ clearInterval(intervalId);
781
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
782
+ setFiles(ref.current?.files);
783
+ } else {
784
+ // @ts-ignore - TS2339 - Property 'moveFileToProgress' does not exist on type 'never'.
785
+ ref.current?.moveFileToProgress(id, progress);
786
+ }
787
+ }, 100);
788
+ };
789
+ const mockReUpload = id => {
790
+ // @ts-ignore - TS2339 - Property 'setShowReUpload' does not exist on type 'never'.
791
+ ref.current?.setShowReUpload(id, true);
792
+ setTimeout(() => {
793
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
794
+ setFiles(ref.current?.files);
795
+ });
796
+ };
797
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
798
+ className: _FileUploadStoriesModule.default.container
799
+ }, /*#__PURE__*/React.createElement("div", {
800
+ className: _FileUploadStoriesModule.default.content
801
+ }, /*#__PURE__*/React.createElement(_FileUpload.FileUpload, _extends({}, args, {
802
+ ref: ref,
803
+ onValidFilesDrop: uploadedFiles => {
804
+ uploadedFiles.forEach(file => {
805
+ mockState(file.id);
806
+ });
807
+ },
808
+ onRejectedFilesDrop: uploadedFiles => {
809
+ uploadedFiles.forEach(file => {
810
+ mockReUpload(file.id);
811
+ });
812
+ },
813
+ onFileRefreshClick: file => {
814
+ mockState(file.id);
815
+ },
816
+ onFileClear: () => {
817
+ setTimeout(() => {
818
+ // @ts-ignore - TS2339 - Property 'files' does not exist on type 'never'.
819
+ setFiles(ref.current?.files);
820
+ });
821
+ }
822
+ })))), /*#__PURE__*/React.createElement("div", {
823
+ className: _FileUploadStoriesModule.default.fileDataContainer
824
+ }, /*#__PURE__*/React.createElement(FileUploadData, {
825
+ files: files || []
826
+ })));
827
+ };
828
+ exports._WithFileRefresh = _WithFileRefresh;
829
+ _WithFileRefresh.args = {
830
+ label: 'Upload Files(Multiple files allowed)',
831
+ secondaryInstruction: 'Try uploading a file greater than 2MB',
832
+ maxFiles: 0,
833
+ maxSize: 2000000 // 2MB
834
+ };
835
+ const emptyText = (0, _tokens.getRandomDataVariation)();
836
+ const FileUploadData = _ref => {
837
+ let {
838
+ files
839
+ } = _ref;
840
+ return /*#__PURE__*/React.createElement("div", {
841
+ className: _FileUploadStoriesModule.default.dataTable
842
+ }, /*#__PURE__*/React.createElement(_Text.SubTitleMedium, {
843
+ color: "warning",
844
+ className: _FileUploadStoriesModule.default.textLabel
845
+ }, "Data Table(This is not a part of File Upload Component)"), /*#__PURE__*/React.createElement(DataTable, {
846
+ files: files
847
+ }));
848
+ };
849
+ const DataTable = _ref2 => {
850
+ let {
851
+ files
852
+ } = _ref2;
853
+ return /*#__PURE__*/React.createElement(_Table.Table, {
854
+ entries: files,
855
+ emptyText: /*#__PURE__*/React.createElement("div", {
856
+ className: _FileUploadStoriesModule.default.emptyStateWrapper
857
+ }, /*#__PURE__*/React.createElement(_EmptyState.EmptyState, {
858
+ imageVariant: "data",
859
+ title: emptyText.title,
860
+ description: emptyText.description
861
+ })),
862
+ headers: [{
863
+ key: 'file',
864
+ label: `File Name`,
865
+ render: _ref3 => {
866
+ let {
867
+ data
868
+ } = _ref3;
869
+ return /*#__PURE__*/React.createElement(_Table.BasicSingleCell, {
870
+ className: _FileUploadStoriesModule.default.mediumColumn
871
+ }, /*#__PURE__*/React.createElement(_Text.BodyMedium, {
872
+ color: data.success ? 'success' : 'danger'
873
+ }, /*#__PURE__*/React.createElement(_Truncate.Truncate, null, data.file.name)));
874
+ }
875
+ }, {
876
+ key: 'file',
877
+ label: `File Type`,
878
+ render: _ref4 => {
879
+ let {
880
+ data
881
+ } = _ref4;
882
+ return /*#__PURE__*/React.createElement(_Table.BasicSingleCell, {
883
+ className: _FileUploadStoriesModule.default.mediumColumn
884
+ }, /*#__PURE__*/React.createElement(_Link.Link, {
885
+ as: "bodyMedium",
886
+ href: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types",
887
+ target: "_blank"
888
+ }, /*#__PURE__*/React.createElement(_Truncate.Truncate, null, data.file.type)));
889
+ }
890
+ }, {
891
+ key: 'file',
892
+ label: 'File Size',
893
+ render: _ref5 => {
894
+ let {
895
+ data,
896
+ className
897
+ } = _ref5;
898
+ return /*#__PURE__*/React.createElement(_Table.BasicSingleCell, {
899
+ className: className
900
+ }, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, (0, _helpers.convertFileSize)(data.file.size)));
901
+ }
902
+ }, {
903
+ key: 'success',
904
+ label: 'Is file Valid',
905
+ render: _ref6 => {
906
+ let {
907
+ data,
908
+ className
909
+ } = _ref6;
910
+ return /*#__PURE__*/React.createElement(_Table.BasicSingleCell, {
911
+ className: className
912
+ }, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, data.success ? 'true' : 'false'));
913
+ }
914
+ }, {
915
+ key: 'reject',
916
+ label: 'Is File Rejected?',
917
+ render: _ref7 => {
918
+ let {
919
+ data,
920
+ className
921
+ } = _ref7;
922
+ return /*#__PURE__*/React.createElement(_Table.BasicSingleCell, {
923
+ className: className
924
+ }, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, data.reject ? 'true' : 'false'));
925
+ }
926
+ }, {
927
+ key: 'rejectReason',
928
+ label: 'Rejection Reason',
929
+ render: _ref8 => {
930
+ let {
931
+ data,
932
+ className
933
+ } = _ref8;
934
+ return /*#__PURE__*/React.createElement(_Table.BasicSingleCell, {
935
+ className: className
936
+ }, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, data.rejectReason || '-'));
937
+ }
938
+ }, {
939
+ key: 'showReUpload',
940
+ label: 'Show ReUpload',
941
+ render: _ref9 => {
942
+ let {
943
+ data,
944
+ className
945
+ } = _ref9;
946
+ return /*#__PURE__*/React.createElement(_Table.BasicSingleCell, {
947
+ className: className
948
+ }, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, data.showReUpload ? 'true' : 'false'));
949
+ }
950
+ }]
951
+ });
952
+ };