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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1474) hide show
  1. package/.cspell/custom-words.txt +6 -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/cspell.json +3 -1
  7. package/docs/FORWARDREF_FIX.md +241 -0
  8. package/gulpfile.js +5 -33
  9. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts +19 -0
  10. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +1 -0
  11. package/lib/components/AIPromptFlow/AIPromptFlow.stories.js +225 -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/AccordionGroup.d.ts +17 -0
  19. package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -0
  20. package/lib/components/Accordion/AccordionGroup.js +3 -0
  21. package/lib/components/Accordion/AccordionGroup.stories.d.ts +104 -0
  22. package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -0
  23. package/lib/components/Accordion/AccordionGroup.stories.js +202 -0
  24. package/lib/components/Accordion/index.d.ts +3 -0
  25. package/lib/components/Accordion/index.d.ts.map +1 -0
  26. package/lib/components/Avatar/Avatar.d.ts +60 -0
  27. package/lib/components/Avatar/Avatar.d.ts.map +1 -0
  28. package/lib/components/Avatar/Avatar.js +14 -6
  29. package/lib/components/Avatar/Avatar.stories.d.ts +149 -0
  30. package/lib/components/Avatar/Avatar.stories.d.ts.map +1 -0
  31. package/lib/components/Avatar/Avatar.stories.js +174 -0
  32. package/lib/components/Avatar/index.d.ts +2 -0
  33. package/lib/components/Avatar/index.d.ts.map +1 -0
  34. package/lib/components/AvatarGroup/AvatarGroup.d.ts +15 -0
  35. package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
  36. package/lib/components/AvatarGroup/AvatarGroup.js +5 -0
  37. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +101 -0
  38. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -0
  39. package/lib/components/AvatarGroup/AvatarGroup.stories.js +160 -0
  40. package/lib/components/AvatarGroup/index.d.ts +2 -0
  41. package/lib/components/AvatarGroup/index.d.ts.map +1 -0
  42. package/lib/components/Badge/Badge.d.ts +40 -0
  43. package/lib/components/Badge/Badge.d.ts.map +1 -0
  44. package/lib/components/Badge/Badge.stories.d.ts +123 -0
  45. package/lib/components/Badge/Badge.stories.d.ts.map +1 -0
  46. package/lib/components/Badge/Badge.stories.js +155 -0
  47. package/lib/components/Badge/index.d.ts +2 -0
  48. package/lib/components/Badge/index.d.ts.map +1 -0
  49. package/lib/components/BadgedIcon/BadgedIcon.d.ts +18 -0
  50. package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -0
  51. package/lib/components/BadgedIcon/BadgedIcon.js +3 -1
  52. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +111 -0
  53. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +1 -0
  54. package/lib/components/BadgedIcon/BadgedIcon.stories.js +95 -0
  55. package/lib/components/BadgedIcon/index.d.ts +2 -0
  56. package/lib/components/BadgedIcon/index.d.ts.map +1 -0
  57. package/lib/components/Banner/Banner.d.ts +7 -0
  58. package/lib/components/Banner/Banner.d.ts.map +1 -0
  59. package/lib/components/Banner/Banner.stories.d.ts +187 -0
  60. package/lib/components/Banner/Banner.stories.d.ts.map +1 -0
  61. package/lib/components/Banner/Banner.stories.js +210 -0
  62. package/lib/components/Banner/index.d.ts +2 -0
  63. package/lib/components/Banner/index.d.ts.map +1 -0
  64. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +10 -0
  65. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -0
  66. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +3 -1
  67. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +98 -0
  68. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +1 -0
  69. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.js +122 -0
  70. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +2 -0
  71. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +1 -0
  72. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +14 -0
  73. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  74. package/lib/components/Breadcrumbs/Breadcrumbs.js +5 -1
  75. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +57 -0
  76. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
  77. package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +180 -0
  78. package/lib/components/Breadcrumbs/index.d.ts +3 -0
  79. package/lib/components/Breadcrumbs/index.d.ts.map +1 -0
  80. package/lib/components/Button/Button.d.ts +64 -0
  81. package/lib/components/Button/Button.d.ts.map +1 -0
  82. package/lib/components/Button/Button.js +26 -8
  83. package/lib/components/Button/Button.stories.d.ts +245 -0
  84. package/lib/components/Button/Button.stories.d.ts.map +1 -0
  85. package/lib/components/Button/Button.stories.js +257 -0
  86. package/lib/components/Button/index.d.ts +3 -0
  87. package/lib/components/Button/index.d.ts.map +1 -0
  88. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +40 -0
  89. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -0
  90. package/lib/components/ButtonDropdown/ButtonDropdown.js +13 -3
  91. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +558 -0
  92. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -0
  93. package/lib/components/ButtonDropdown/ButtonDropdown.stories.js +669 -0
  94. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +42 -0
  95. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -0
  96. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +6 -0
  97. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +628 -0
  98. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -0
  99. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.js +651 -0
  100. package/lib/components/ButtonDropdown/index.d.ts +3 -0
  101. package/lib/components/ButtonDropdown/index.d.ts.map +1 -0
  102. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +25 -0
  103. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -0
  104. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +142 -0
  105. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +1 -0
  106. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.js +152 -0
  107. package/lib/components/ButtonTabs/ButtonTab/index.d.ts +2 -0
  108. package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +1 -0
  109. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +12 -0
  110. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -0
  111. package/lib/components/ButtonTabs/ButtonTabDropdown.js +12 -3
  112. package/lib/components/ButtonTabs/ButtonTabs.d.ts +24 -0
  113. package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -0
  114. package/lib/components/ButtonTabs/ButtonTabs.js +3 -0
  115. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +201 -0
  116. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +1 -0
  117. package/lib/components/ButtonTabs/ButtonTabs.stories.js +471 -0
  118. package/lib/components/ButtonTabs/index.d.ts +3 -0
  119. package/lib/components/ButtonTabs/index.d.ts.map +1 -0
  120. package/lib/components/Card/Card.d.ts +37 -0
  121. package/lib/components/Card/Card.d.ts.map +1 -0
  122. package/lib/components/Card/Card.js +6 -1
  123. package/lib/components/Card/Card.stories.d.ts +150 -0
  124. package/lib/components/Card/Card.stories.d.ts.map +1 -0
  125. package/lib/components/Card/Card.stories.js +236 -0
  126. package/lib/components/Card/index.d.ts +2 -0
  127. package/lib/components/Card/index.d.ts.map +1 -0
  128. package/lib/components/Charts/ChartTooltip/index.d.ts +3 -0
  129. package/lib/components/Charts/ChartTooltip/index.d.ts.map +1 -0
  130. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +50 -0
  131. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -0
  132. package/lib/components/Charts/ChartWrapper/ChartWrapper.js +5 -7
  133. package/lib/components/Charts/ChartWrapper/index.d.ts +2 -0
  134. package/lib/components/Charts/ChartWrapper/index.d.ts.map +1 -0
  135. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +23 -0
  136. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -0
  137. package/lib/components/Charts/ColumnChart/ColumnChart.js +12 -7
  138. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +446 -0
  139. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +1 -0
  140. package/lib/components/Charts/ColumnChart/ColumnChart.stories.js +654 -0
  141. package/lib/components/Charts/ColumnChart/index.d.ts +2 -0
  142. package/lib/components/Charts/ColumnChart/index.d.ts.map +1 -0
  143. package/lib/components/Charts/DonutChart/DonutChart.d.ts +28 -0
  144. package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -0
  145. package/lib/components/Charts/DonutChart/DonutChart.js +7 -6
  146. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +226 -0
  147. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +1 -0
  148. package/lib/components/Charts/DonutChart/DonutChart.stories.js +387 -0
  149. package/lib/components/Charts/DonutChart/index.d.ts +2 -0
  150. package/lib/components/Charts/DonutChart/index.d.ts.map +1 -0
  151. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +25 -0
  152. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -0
  153. package/lib/components/Charts/FunnelChart/FunnelChart.js +6 -7
  154. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +307 -0
  155. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +1 -0
  156. package/lib/components/Charts/FunnelChart/FunnelChart.stories.js +529 -0
  157. package/lib/components/Charts/FunnelChart/index.d.ts +2 -0
  158. package/lib/components/Charts/FunnelChart/index.d.ts.map +1 -0
  159. package/lib/components/Charts/LineChart/LineChart.d.ts +23 -0
  160. package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -0
  161. package/lib/components/Charts/LineChart/LineChart.js +6 -6
  162. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +310 -0
  163. package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +1 -0
  164. package/lib/components/Charts/LineChart/LineChart.stories.js +587 -0
  165. package/lib/components/Charts/LineChart/index.d.ts +2 -0
  166. package/lib/components/Charts/LineChart/index.d.ts.map +1 -0
  167. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +22 -0
  168. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -0
  169. package/lib/components/Charts/SpiderChart/SpiderChart.js +0 -5
  170. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +149 -0
  171. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +1 -0
  172. package/lib/components/Charts/SpiderChart/SpiderChart.stories.js +422 -0
  173. package/lib/components/Charts/SpiderChart/index.d.ts +2 -0
  174. package/lib/components/Charts/SpiderChart/index.d.ts.map +1 -0
  175. package/lib/components/Charts/index.d.ts +8 -0
  176. package/lib/components/Charts/index.d.ts.map +1 -0
  177. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +101 -0
  178. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +1 -0
  179. package/lib/components/ChatBubble/ChatAnchor.stories.js +113 -0
  180. package/lib/components/ChatBubble/ChatBubble.d.ts +76 -0
  181. package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -0
  182. package/lib/components/ChatBubble/ChatBubble.js +5 -2
  183. package/lib/components/ChatBubble/ChatBubble.stories.d.ts +102 -0
  184. package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +1 -0
  185. package/lib/components/ChatBubble/ChatBubble.stories.js +188 -0
  186. package/lib/components/ChatBubble/index.d.ts +2 -0
  187. package/lib/components/ChatBubble/index.d.ts.map +1 -0
  188. package/lib/components/Checkbox/Checkbox.d.ts +29 -0
  189. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -0
  190. package/lib/components/Checkbox/Checkbox.js +2 -0
  191. package/lib/components/Checkbox/Checkbox.stories.d.ts +168 -0
  192. package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
  193. package/lib/components/Checkbox/Checkbox.stories.js +210 -0
  194. package/lib/components/Checkbox/CheckboxGroup.d.ts +26 -0
  195. package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
  196. package/lib/components/Checkbox/CheckboxGroup.js +8 -0
  197. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +163 -0
  198. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -0
  199. package/lib/components/Checkbox/CheckboxGroup.stories.js +399 -0
  200. package/lib/components/Checkbox/index.d.ts +3 -0
  201. package/lib/components/Checkbox/index.d.ts.map +1 -0
  202. package/lib/components/Chip/Chip.d.ts +47 -0
  203. package/lib/components/Chip/Chip.d.ts.map +1 -0
  204. package/lib/components/Chip/Chip.js +10 -2
  205. package/lib/components/Chip/Chip.stories.d.ts +238 -0
  206. package/lib/components/Chip/Chip.stories.d.ts.map +1 -0
  207. package/lib/components/Chip/Chip.stories.js +362 -0
  208. package/lib/components/Chip/index.d.ts +3 -0
  209. package/lib/components/Chip/index.d.ts.map +1 -0
  210. package/lib/components/CircularLoader/CircularLoader.d.ts +10 -0
  211. package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -0
  212. package/lib/components/CircularLoader/CircularLoader.stories.d.ts +64 -0
  213. package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +1 -0
  214. package/lib/components/CircularLoader/CircularLoader.stories.js +82 -0
  215. package/lib/components/CircularLoader/index.d.ts +2 -0
  216. package/lib/components/CircularLoader/index.d.ts.map +1 -0
  217. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +40 -0
  218. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -0
  219. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +225 -0
  220. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +1 -0
  221. package/lib/components/CollapsibleCard/CollapsibleCard.stories.js +298 -0
  222. package/lib/components/CollapsibleCard/index.d.ts +2 -0
  223. package/lib/components/CollapsibleCard/index.d.ts.map +1 -0
  224. package/lib/components/Combobox/Combobox.d.ts +78 -0
  225. package/lib/components/Combobox/Combobox.d.ts.map +1 -0
  226. package/lib/components/Combobox/Combobox.js +16 -3
  227. package/lib/components/Combobox/Combobox.stories.d.ts +197 -0
  228. package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -0
  229. package/lib/components/Combobox/Combobox.stories.js +343 -0
  230. package/lib/components/Combobox/helper.d.ts +12 -0
  231. package/lib/components/Combobox/helper.d.ts.map +1 -0
  232. package/lib/components/Combobox/helper.js +1 -0
  233. package/lib/components/Combobox/index.d.ts +2 -0
  234. package/lib/components/Combobox/index.d.ts.map +1 -0
  235. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
  236. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -0
  237. package/lib/components/ConditionalWrapper/ConditionalWrapper.js +0 -2
  238. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +16 -0
  239. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +1 -0
  240. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.js +50 -0
  241. package/lib/components/ConditionalWrapper/index.d.ts +2 -0
  242. package/lib/components/ConditionalWrapper/index.d.ts.map +1 -0
  243. package/lib/components/DateRangePicker/Calendar.d.ts +22 -0
  244. package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -0
  245. package/lib/components/DateRangePicker/Calendar.js +4 -2
  246. package/lib/components/DateRangePicker/DateRangePicker.d.ts +22 -0
  247. package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  248. package/lib/components/DateRangePicker/DateRangePicker.js +0 -1
  249. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +184 -0
  250. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
  251. package/lib/components/DateRangePicker/DateRangePicker.stories.js +406 -0
  252. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +33 -0
  253. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -0
  254. package/lib/components/DateRangePicker/DateRangeWrapper.js +13 -5
  255. package/lib/components/DateRangePicker/Day.d.ts +17 -0
  256. package/lib/components/DateRangePicker/Day.d.ts.map +1 -0
  257. package/lib/components/DateRangePicker/Day.js +6 -4
  258. package/lib/components/DateRangePicker/index.d.ts +2 -0
  259. package/lib/components/DateRangePicker/index.d.ts.map +1 -0
  260. package/lib/components/Dialog/Dialog.d.ts +46 -0
  261. package/lib/components/Dialog/Dialog.d.ts.map +1 -0
  262. package/lib/components/Dialog/Dialog.stories.d.ts +171 -0
  263. package/lib/components/Dialog/Dialog.stories.d.ts.map +1 -0
  264. package/lib/components/Dialog/Dialog.stories.js +260 -0
  265. package/lib/components/Dialog/index.d.ts +2 -0
  266. package/lib/components/Dialog/index.d.ts.map +1 -0
  267. package/lib/components/Disclaimer/Disclaimer.d.ts +5 -0
  268. package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -0
  269. package/lib/components/Disclaimer/Disclaimer.js +1 -0
  270. package/lib/components/Disclaimer/Disclaimer.stories.d.ts +156 -0
  271. package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +1 -0
  272. package/lib/components/Disclaimer/Disclaimer.stories.js +174 -0
  273. package/lib/components/Disclaimer/index.d.ts +2 -0
  274. package/lib/components/Disclaimer/index.d.ts.map +1 -0
  275. package/lib/components/Dropdown/Dropdown.d.ts +25 -0
  276. package/lib/components/Dropdown/Dropdown.d.ts.map +1 -0
  277. package/lib/components/Dropdown/Dropdown.js +14 -3
  278. package/lib/components/Dropdown/Dropdown.stories.d.ts +417 -0
  279. package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
  280. package/lib/components/Dropdown/Dropdown.stories.js +729 -0
  281. package/lib/components/Dropdown/SimpleDropdown.d.ts +44 -0
  282. package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -0
  283. package/lib/components/Dropdown/SimpleDropdown.js +7 -1
  284. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +424 -0
  285. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -0
  286. package/lib/components/Dropdown/SimpleDropdown.stories.js +569 -0
  287. package/lib/components/Dropdown/index.d.ts +3 -0
  288. package/lib/components/Dropdown/index.d.ts.map +1 -0
  289. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts +3 -0
  290. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +1 -0
  291. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts +3 -0
  292. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +1 -0
  293. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts +3 -0
  294. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +1 -0
  295. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts +3 -0
  296. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +1 -0
  297. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts +3 -0
  298. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +1 -0
  299. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts +3 -0
  300. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +1 -0
  301. package/lib/components/EmptyState/EmptyImages/index.d.ts +7 -0
  302. package/lib/components/EmptyState/EmptyImages/index.d.ts.map +1 -0
  303. package/lib/components/EmptyState/EmptyState.d.ts +20 -0
  304. package/lib/components/EmptyState/EmptyState.d.ts.map +1 -0
  305. package/lib/components/EmptyState/EmptyState.stories.d.ts +91 -0
  306. package/lib/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
  307. package/lib/components/EmptyState/EmptyState.stories.js +115 -0
  308. package/lib/components/EmptyState/index.d.ts +2 -0
  309. package/lib/components/EmptyState/index.d.ts.map +1 -0
  310. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts +3 -0
  311. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +1 -0
  312. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts +3 -0
  313. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +1 -0
  314. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts +3 -0
  315. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +1 -0
  316. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts +3 -0
  317. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +1 -0
  318. package/lib/components/ErrorMessage/ErrorImages/index.d.ts +5 -0
  319. package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +1 -0
  320. package/lib/components/ErrorMessage/ErrorMessage.d.ts +22 -0
  321. package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -0
  322. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +97 -0
  323. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -0
  324. package/lib/components/ErrorMessage/ErrorMessage.stories.js +125 -0
  325. package/lib/components/ErrorMessage/index.d.ts +2 -0
  326. package/lib/components/ErrorMessage/index.d.ts.map +1 -0
  327. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +14 -0
  328. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -0
  329. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +68 -0
  330. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +1 -0
  331. package/lib/components/FileUpload/FileBlock/FileBlock.stories.js +91 -0
  332. package/lib/components/FileUpload/FileBlock/index.d.ts +2 -0
  333. package/lib/components/FileUpload/FileBlock/index.d.ts.map +1 -0
  334. package/lib/components/FileUpload/FileUpload.d.ts +62 -0
  335. package/lib/components/FileUpload/FileUpload.d.ts.map +1 -0
  336. package/lib/components/FileUpload/FileUpload.js +6 -1
  337. package/lib/components/FileUpload/FileUpload.stories.d.ts +340 -0
  338. package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
  339. package/lib/components/FileUpload/FileUpload.stories.js +952 -0
  340. package/lib/components/FileUpload/index.d.ts +3 -0
  341. package/lib/components/FileUpload/index.d.ts.map +1 -0
  342. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +30 -0
  343. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -0
  344. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +9 -1
  345. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +300 -0
  346. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -0
  347. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.js +390 -0
  348. package/lib/components/FilterButtonOverlay/index.d.ts +2 -0
  349. package/lib/components/FilterButtonOverlay/index.d.ts.map +1 -0
  350. package/lib/components/FocusManager/FocusManager.d.ts +17 -0
  351. package/lib/components/FocusManager/FocusManager.d.ts.map +1 -0
  352. package/lib/components/FocusManager/FocusManager.stories.d.ts +103 -0
  353. package/lib/components/FocusManager/FocusManager.stories.d.ts.map +1 -0
  354. package/lib/components/FocusManager/FocusManager.stories.js +133 -0
  355. package/lib/components/FocusManager/index.d.ts +2 -0
  356. package/lib/components/FocusManager/index.d.ts.map +1 -0
  357. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +20 -0
  358. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -0
  359. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +11 -0
  360. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +175 -0
  361. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -0
  362. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.js +427 -0
  363. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +2 -0
  364. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +1 -0
  365. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +21 -0
  366. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -0
  367. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +128 -0
  368. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +1 -0
  369. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.js +189 -0
  370. package/lib/components/FormTitleWrapper/index.d.ts +2 -0
  371. package/lib/components/FormTitleWrapper/index.d.ts.map +1 -0
  372. package/lib/components/Grid/Col.stories.d.ts +66 -0
  373. package/lib/components/Grid/Col.stories.d.ts.map +1 -0
  374. package/lib/components/Grid/Col.stories.js +141 -0
  375. package/lib/components/Grid/Grid.d.ts +20 -0
  376. package/lib/components/Grid/Grid.d.ts.map +1 -0
  377. package/lib/components/Grid/Grid.js +8 -0
  378. package/lib/components/Grid/GridPatterns.stories.d.ts +18 -0
  379. package/lib/components/Grid/GridPatterns.stories.d.ts.map +1 -0
  380. package/lib/components/Grid/GridPatterns.stories.js +392 -0
  381. package/lib/components/Grid/Row.stories.d.ts +41 -0
  382. package/lib/components/Grid/Row.stories.d.ts.map +1 -0
  383. package/lib/components/Grid/Row.stories.js +172 -0
  384. package/lib/components/Grid/Tablist.layout.stories.d.ts +20 -0
  385. package/lib/components/Grid/Tablist.layout.stories.d.ts.map +1 -0
  386. package/lib/components/Grid/Tablist.layout.stories.js +330 -0
  387. package/lib/components/Grid/index.d.ts +2 -0
  388. package/lib/components/Grid/index.d.ts.map +1 -0
  389. package/lib/components/Icon/ClickableIcon.d.ts +26 -0
  390. package/lib/components/Icon/ClickableIcon.d.ts.map +1 -0
  391. package/lib/components/Icon/ClickableIcon.js +4 -2
  392. package/lib/components/Icon/Icon.d.ts +31 -0
  393. package/lib/components/Icon/Icon.d.ts.map +1 -0
  394. package/lib/components/Icon/Icon.docs.d.ts +134 -0
  395. package/lib/components/Icon/Icon.docs.d.ts.map +1 -0
  396. package/lib/components/Icon/Icon.docs.js +1 -1
  397. package/lib/components/Icon/Icon.js +3 -1
  398. package/lib/components/Icon/Icon.stories.d.ts +193 -0
  399. package/lib/components/Icon/Icon.stories.d.ts.map +1 -0
  400. package/lib/components/Icon/Icon.stories.js +73 -0
  401. package/lib/components/Icon/SemanticIcon.d.ts +14 -0
  402. package/lib/components/Icon/SemanticIcon.d.ts.map +1 -0
  403. package/lib/components/Icon/SemanticIcon.js +3 -1
  404. package/lib/components/Icon/SemanticIcon.stories.d.ts +190 -0
  405. package/lib/components/Icon/SemanticIcon.stories.d.ts.map +1 -0
  406. package/lib/components/Icon/SemanticIcon.stories.js +75 -0
  407. package/lib/components/Icon/index.d.ts +4 -0
  408. package/lib/components/Icon/index.d.ts.map +1 -0
  409. package/lib/components/InContextAlert/InContextAlert.d.ts +31 -0
  410. package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -0
  411. package/lib/components/InContextAlert/InContextAlert.js +2 -0
  412. package/lib/components/InContextAlert/InContextAlert.stories.d.ts +164 -0
  413. package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -0
  414. package/lib/components/InContextAlert/InContextAlert.stories.js +184 -0
  415. package/lib/components/InContextAlert/index.d.ts +2 -0
  416. package/lib/components/InContextAlert/index.d.ts.map +1 -0
  417. package/lib/components/InfinitePagination/InfinitePagination.d.ts +26 -0
  418. package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -0
  419. package/lib/components/InfinitePagination/InfinitePagination.js +9 -2
  420. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +145 -0
  421. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -0
  422. package/lib/components/InfinitePagination/InfinitePagination.stories.js +343 -0
  423. package/lib/components/InfinitePagination/index.d.ts +2 -0
  424. package/lib/components/InfinitePagination/index.d.ts.map +1 -0
  425. package/lib/components/InlineDropdown/InlineDropdown.d.ts +25 -0
  426. package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -0
  427. package/lib/components/InlineDropdown/InlineDropdown.js +12 -3
  428. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +350 -0
  429. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -0
  430. package/lib/components/InlineDropdown/InlineDropdown.stories.js +397 -0
  431. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +40 -0
  432. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -0
  433. package/lib/components/InlineDropdown/SimpleInlineDropdown.js +7 -0
  434. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +469 -0
  435. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -0
  436. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.js +521 -0
  437. package/lib/components/InlineDropdown/index.d.ts +3 -0
  438. package/lib/components/InlineDropdown/index.d.ts.map +1 -0
  439. package/lib/components/Input/Input.d.ts +76 -0
  440. package/lib/components/Input/Input.d.ts.map +1 -0
  441. package/lib/components/Input/Input.js +18 -5
  442. package/lib/components/Input/Input.stories.d.ts +502 -0
  443. package/lib/components/Input/Input.stories.d.ts.map +1 -0
  444. package/lib/components/Input/Input.stories.js +608 -0
  445. package/lib/components/Input/NativeColorpicker.stories.d.ts +370 -0
  446. package/lib/components/Input/NativeColorpicker.stories.d.ts.map +1 -0
  447. package/lib/components/Input/NativeColorpicker.stories.js +395 -0
  448. package/lib/components/Input/NativeDatepicker.stories.d.ts +388 -0
  449. package/lib/components/Input/NativeDatepicker.stories.d.ts.map +1 -0
  450. package/lib/components/Input/NativeDatepicker.stories.js +457 -0
  451. package/lib/components/Input/index.d.ts +2 -0
  452. package/lib/components/Input/index.d.ts.map +1 -0
  453. package/lib/components/KPIBox/KPIBox.d.ts +23 -0
  454. package/lib/components/KPIBox/KPIBox.d.ts.map +1 -0
  455. package/lib/components/KPIBox/KPIBox.stories.d.ts +132 -0
  456. package/lib/components/KPIBox/KPIBox.stories.d.ts.map +1 -0
  457. package/lib/components/KPIBox/KPIBox.stories.js +246 -0
  458. package/lib/components/KPIBox/index.d.ts +2 -0
  459. package/lib/components/KPIBox/index.d.ts.map +1 -0
  460. package/lib/components/LinearLoader/LinearLoader.d.ts +9 -0
  461. package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -0
  462. package/lib/components/LinearLoader/LinearLoader.stories.d.ts +78 -0
  463. package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +1 -0
  464. package/lib/components/LinearLoader/LinearLoader.stories.js +135 -0
  465. package/lib/components/LinearLoader/index.d.ts +2 -0
  466. package/lib/components/LinearLoader/index.d.ts.map +1 -0
  467. package/lib/components/Link/Link.d.ts +93 -0
  468. package/lib/components/Link/Link.d.ts.map +1 -0
  469. package/lib/components/Link/Link.js +16 -5
  470. package/lib/components/Link/Link.stories.d.ts +284 -0
  471. package/lib/components/Link/Link.stories.d.ts.map +1 -0
  472. package/lib/components/Link/Link.stories.js +350 -0
  473. package/lib/components/Link/index.d.ts +2 -0
  474. package/lib/components/Link/index.d.ts.map +1 -0
  475. package/lib/components/Menu/Menu.d.ts +74 -0
  476. package/lib/components/Menu/Menu.d.ts.map +1 -0
  477. package/lib/components/Menu/Menu.js +5 -2
  478. package/lib/components/Menu/Menu.stories.d.ts +526 -0
  479. package/lib/components/Menu/Menu.stories.d.ts.map +1 -0
  480. package/lib/components/Menu/Menu.stories.js +1048 -0
  481. package/lib/components/Menu/MenuOptionButton.d.ts +9 -0
  482. package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -0
  483. package/lib/components/Menu/MenuOptionButton.js +6 -1
  484. package/lib/components/Menu/index.d.ts +3 -0
  485. package/lib/components/Menu/index.d.ts.map +1 -0
  486. package/lib/components/Modal/Modal.d.ts +64 -0
  487. package/lib/components/Modal/Modal.d.ts.map +1 -0
  488. package/lib/components/Modal/Modal.js +6 -2
  489. package/lib/components/Modal/Modal.stories.d.ts +149 -0
  490. package/lib/components/Modal/Modal.stories.d.ts.map +1 -0
  491. package/lib/components/Modal/Modal.stories.js +427 -0
  492. package/lib/components/Modal/index.d.ts +3 -0
  493. package/lib/components/Modal/index.d.ts.map +1 -0
  494. package/lib/components/Notification/Notification.d.ts +37 -0
  495. package/lib/components/Notification/Notification.d.ts.map +1 -0
  496. package/lib/components/Notification/Notification.js +1 -0
  497. package/lib/components/Notification/Notification.stories.d.ts +136 -0
  498. package/lib/components/Notification/Notification.stories.d.ts.map +1 -0
  499. package/lib/components/Notification/Notification.stories.js +153 -0
  500. package/lib/components/Notification/index.d.ts +2 -0
  501. package/lib/components/Notification/index.d.ts.map +1 -0
  502. package/lib/components/OptionButton/OptionButton.d.ts +33 -0
  503. package/lib/components/OptionButton/OptionButton.d.ts.map +1 -0
  504. package/lib/components/OptionButton/OptionButton.stories.d.ts +366 -0
  505. package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -0
  506. package/lib/components/OptionButton/OptionButton.stories.js +437 -0
  507. package/lib/components/OptionButton/SimpleOptionButton.d.ts +47 -0
  508. package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -0
  509. package/lib/components/OptionButton/SimpleOptionButton.js +4 -0
  510. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +502 -0
  511. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -0
  512. package/lib/components/OptionButton/SimpleOptionButton.stories.js +552 -0
  513. package/lib/components/OptionButton/index.d.ts +3 -0
  514. package/lib/components/OptionButton/index.d.ts.map +1 -0
  515. package/lib/components/PageTitle/PageTitle.d.ts +156 -0
  516. package/lib/components/PageTitle/PageTitle.d.ts.map +1 -0
  517. package/lib/components/PageTitle/PageTitle.js +7 -2
  518. package/lib/components/PageTitle/PageTitle.stories.d.ts +83 -0
  519. package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -0
  520. package/lib/components/PageTitle/PageTitle.stories.js +221 -0
  521. package/lib/components/PageTitle/index.d.ts +2 -0
  522. package/lib/components/PageTitle/index.d.ts.map +1 -0
  523. package/lib/components/Pagination/Pagination.d.ts +39 -0
  524. package/lib/components/Pagination/Pagination.d.ts.map +1 -0
  525. package/lib/components/Pagination/Pagination.js +3 -1
  526. package/lib/components/Pagination/Pagination.stories.d.ts +203 -0
  527. package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -0
  528. package/lib/components/Pagination/Pagination.stories.js +263 -0
  529. package/lib/components/Pagination/PaginationItem.d.ts +5 -0
  530. package/lib/components/Pagination/PaginationItem.d.ts.map +1 -0
  531. package/lib/components/Pagination/PaginationItem.js +3 -0
  532. package/lib/components/Pagination/index.d.ts +2 -0
  533. package/lib/components/Pagination/index.d.ts.map +1 -0
  534. package/lib/components/Panel/Panel.d.ts +35 -0
  535. package/lib/components/Panel/Panel.d.ts.map +1 -0
  536. package/lib/components/Panel/Panel.stories.d.ts +187 -0
  537. package/lib/components/Panel/Panel.stories.d.ts.map +1 -0
  538. package/lib/components/Panel/Panel.stories.js +415 -0
  539. package/lib/components/Panel/index.d.ts +3 -0
  540. package/lib/components/Panel/index.d.ts.map +1 -0
  541. package/lib/components/ProgressDonut/ProgressDonut.d.ts +13 -0
  542. package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -0
  543. package/lib/components/ProgressDonut/ProgressDonut.js +1 -0
  544. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +72 -0
  545. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +1 -0
  546. package/lib/components/ProgressDonut/ProgressDonut.stories.js +96 -0
  547. package/lib/components/ProgressDonut/index.d.ts +2 -0
  548. package/lib/components/ProgressDonut/index.d.ts.map +1 -0
  549. package/lib/components/PromptChip/PromptChip.d.ts +38 -0
  550. package/lib/components/PromptChip/PromptChip.d.ts.map +1 -0
  551. package/lib/components/PromptChip/PromptChip.js +8 -2
  552. package/lib/components/PromptChip/PromptChip.stories.d.ts +205 -0
  553. package/lib/components/PromptChip/PromptChip.stories.d.ts.map +1 -0
  554. package/lib/components/PromptChip/PromptChip.stories.js +242 -0
  555. package/lib/components/PromptChip/index.d.ts +2 -0
  556. package/lib/components/PromptChip/index.d.ts.map +1 -0
  557. package/lib/components/PromptInput/PromptInput.d.ts +38 -0
  558. package/lib/components/PromptInput/PromptInput.d.ts.map +1 -0
  559. package/lib/components/PromptInput/PromptInput.js +10 -1
  560. package/lib/components/PromptInput/PromptInput.stories.d.ts +265 -0
  561. package/lib/components/PromptInput/PromptInput.stories.d.ts.map +1 -0
  562. package/lib/components/PromptInput/PromptInput.stories.js +390 -0
  563. package/lib/components/PromptInput/index.d.ts +2 -0
  564. package/lib/components/PromptInput/index.d.ts.map +1 -0
  565. package/lib/components/RadioButton/RadioButton.d.ts +31 -0
  566. package/lib/components/RadioButton/RadioButton.d.ts.map +1 -0
  567. package/lib/components/RadioButton/RadioButton.js +1 -0
  568. package/lib/components/RadioButton/RadioButton.stories.d.ts +149 -0
  569. package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -0
  570. package/lib/components/RadioButton/RadioButton.stories.js +180 -0
  571. package/lib/components/RadioButton/RadioGroup.d.ts +27 -0
  572. package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -0
  573. package/lib/components/RadioButton/RadioGroup.js +2 -0
  574. package/lib/components/RadioButton/RadioGroup.stories.d.ts +137 -0
  575. package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -0
  576. package/lib/components/RadioButton/RadioGroup.stories.js +317 -0
  577. package/lib/components/RadioButton/index.d.ts +3 -0
  578. package/lib/components/RadioButton/index.d.ts.map +1 -0
  579. package/lib/components/RadioTile/RadioTile.d.ts +23 -0
  580. package/lib/components/RadioTile/RadioTile.d.ts.map +1 -0
  581. package/lib/components/RadioTile/RadioTile.js +2 -0
  582. package/lib/components/RadioTile/RadioTile.stories.d.ts +171 -0
  583. package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -0
  584. package/lib/components/RadioTile/RadioTile.stories.js +261 -0
  585. package/lib/components/RadioTile/index.d.ts +2 -0
  586. package/lib/components/RadioTile/index.d.ts.map +1 -0
  587. package/lib/components/RangeSlider/RangeSlider.d.ts +27 -0
  588. package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -0
  589. package/lib/components/RangeSlider/RangeSlider.js +3 -0
  590. package/lib/components/RangeSlider/RangeSlider.stories.d.ts +287 -0
  591. package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +1 -0
  592. package/lib/components/RangeSlider/RangeSlider.stories.js +379 -0
  593. package/lib/components/RangeSlider/index.d.ts +2 -0
  594. package/lib/components/RangeSlider/index.d.ts.map +1 -0
  595. package/lib/components/Rating/Rating.d.ts +32 -0
  596. package/lib/components/Rating/Rating.d.ts.map +1 -0
  597. package/lib/components/Rating/Rating.js +7 -3
  598. package/lib/components/Rating/Rating.stories.d.ts +237 -0
  599. package/lib/components/Rating/Rating.stories.d.ts.map +1 -0
  600. package/lib/components/Rating/Rating.stories.js +309 -0
  601. package/lib/components/Rating/index.d.ts +2 -0
  602. package/lib/components/Rating/index.d.ts.map +1 -0
  603. package/lib/components/ScoreBar/ScoreBar.d.ts +28 -0
  604. package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -0
  605. package/lib/components/ScoreBar/ScoreBar.js +1 -1
  606. package/lib/components/ScoreBar/ScoreBar.stories.d.ts +156 -0
  607. package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +1 -0
  608. package/lib/components/ScoreBar/ScoreBar.stories.js +199 -0
  609. package/lib/components/ScoreBar/index.d.ts +2 -0
  610. package/lib/components/ScoreBar/index.d.ts.map +1 -0
  611. package/lib/components/SearchInput/SearchInput.d.ts +15 -0
  612. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -0
  613. package/lib/components/SearchInput/SearchInput.stories.d.ts +260 -0
  614. package/lib/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
  615. package/lib/components/SearchInput/SearchInput.stories.js +299 -0
  616. package/lib/components/SearchInput/index.d.ts +3 -0
  617. package/lib/components/SearchInput/index.d.ts.map +1 -0
  618. package/lib/components/Separator/Separator.d.ts +18 -0
  619. package/lib/components/Separator/Separator.d.ts.map +1 -0
  620. package/lib/components/Separator/Separator.stories.d.ts +79 -0
  621. package/lib/components/Separator/Separator.stories.d.ts.map +1 -0
  622. package/lib/components/Separator/Separator.stories.js +101 -0
  623. package/lib/components/Separator/index.d.ts +2 -0
  624. package/lib/components/Separator/index.d.ts.map +1 -0
  625. package/lib/components/Shimmer/Shimmer.d.ts +57 -0
  626. package/lib/components/Shimmer/Shimmer.d.ts.map +1 -0
  627. package/lib/components/Shimmer/Shimmer.js +4 -2
  628. package/lib/components/Shimmer/Shimmer.stories.d.ts +213 -0
  629. package/lib/components/Shimmer/Shimmer.stories.d.ts.map +1 -0
  630. package/lib/components/Shimmer/Shimmer.stories.js +323 -0
  631. package/lib/components/Shimmer/index.d.ts +2 -0
  632. package/lib/components/Shimmer/index.d.ts.map +1 -0
  633. package/lib/components/SideMenuLink/SideMenuLink.d.ts +211 -0
  634. package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -0
  635. package/lib/components/SideMenuLink/SideMenuLink.js +8 -2
  636. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +96 -0
  637. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -0
  638. package/lib/components/SideMenuLink/SideMenuLink.stories.js +162 -0
  639. package/lib/components/SideMenuLink/index.d.ts +2 -0
  640. package/lib/components/SideMenuLink/index.d.ts.map +1 -0
  641. package/lib/components/StatusIndicator/StatusIndicator.d.ts +25 -0
  642. package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -0
  643. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +92 -0
  644. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +1 -0
  645. package/lib/components/StatusIndicator/StatusIndicator.stories.js +145 -0
  646. package/lib/components/StatusIndicator/index.d.ts +2 -0
  647. package/lib/components/StatusIndicator/index.d.ts.map +1 -0
  648. package/lib/components/Stepper/Step/Step.d.ts +25 -0
  649. package/lib/components/Stepper/Step/Step.d.ts.map +1 -0
  650. package/lib/components/Stepper/Step/Step.js +12 -3
  651. package/lib/components/Stepper/Step/Step.stories.d.ts +120 -0
  652. package/lib/components/Stepper/Step/Step.stories.d.ts.map +1 -0
  653. package/lib/components/Stepper/Step/Step.stories.js +147 -0
  654. package/lib/components/Stepper/Step/StepContent.d.ts +14 -0
  655. package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -0
  656. package/lib/components/Stepper/Step/StepLabel.d.ts +14 -0
  657. package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -0
  658. package/lib/components/Stepper/Step/index.d.ts +4 -0
  659. package/lib/components/Stepper/Step/index.d.ts.map +1 -0
  660. package/lib/components/Stepper/Stepper.d.ts +15 -0
  661. package/lib/components/Stepper/Stepper.d.ts.map +1 -0
  662. package/lib/components/Stepper/Stepper.js +4 -0
  663. package/lib/components/Stepper/Stepper.stories.d.ts +210 -0
  664. package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -0
  665. package/lib/components/Stepper/Stepper.stories.js +402 -0
  666. package/lib/components/Stepper/index.d.ts +3 -0
  667. package/lib/components/Stepper/index.d.ts.map +1 -0
  668. package/lib/components/StickyBar/StickyBar.d.ts +15 -0
  669. package/lib/components/StickyBar/StickyBar.d.ts.map +1 -0
  670. package/lib/components/StickyBar/StickyBar.stories.d.ts +35 -0
  671. package/lib/components/StickyBar/StickyBar.stories.d.ts.map +1 -0
  672. package/lib/components/StickyBar/StickyBar.stories.js +141 -0
  673. package/lib/components/StickyBar/index.d.ts +2 -0
  674. package/lib/components/StickyBar/index.d.ts.map +1 -0
  675. package/lib/components/SubMenu/SubMenu.d.ts +19 -0
  676. package/lib/components/SubMenu/SubMenu.d.ts.map +1 -0
  677. package/lib/components/SubMenu/SubMenu.stories.d.ts +114 -0
  678. package/lib/components/SubMenu/SubMenu.stories.d.ts.map +1 -0
  679. package/lib/components/SubMenu/SubMenu.stories.js +373 -0
  680. package/lib/components/SubMenu/SubMenuGroup.d.ts +24 -0
  681. package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -0
  682. package/lib/components/SubMenu/SubMenuGroup.js +11 -3
  683. package/lib/components/SubMenu/SubMenuItem.d.ts +42 -0
  684. package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -0
  685. package/lib/components/SubMenu/SubMenuItem.js +14 -4
  686. package/lib/components/SubMenu/SubMenuLink.d.ts +14 -0
  687. package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -0
  688. package/lib/components/SubMenu/SubMenuLink.js +6 -2
  689. package/lib/components/SubMenu/index.d.ts +5 -0
  690. package/lib/components/SubMenu/index.d.ts.map +1 -0
  691. package/lib/components/Table/BasicTable.stories.d.ts +536 -0
  692. package/lib/components/Table/BasicTable.stories.d.ts.map +1 -0
  693. package/lib/components/Table/BasicTable.stories.js +552 -0
  694. package/lib/components/Table/BulkActions.stories.d.ts +257 -0
  695. package/lib/components/Table/BulkActions.stories.d.ts.map +1 -0
  696. package/lib/components/Table/BulkActions.stories.js +252 -0
  697. package/lib/components/Table/Cell.d.ts +37 -0
  698. package/lib/components/Table/Cell.d.ts.map +1 -0
  699. package/lib/components/Table/Cell.js +3 -3
  700. package/lib/components/Table/DefaultRow.d.ts +39 -0
  701. package/lib/components/Table/DefaultRow.d.ts.map +1 -0
  702. package/lib/components/Table/DefaultRow.js +2 -2
  703. package/lib/components/Table/DefaultTableHeader.d.ts +43 -0
  704. package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -0
  705. package/lib/components/Table/DefaultTableHeader.js +9 -2
  706. package/lib/components/Table/InlineEdit.stories.d.ts +244 -0
  707. package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -0
  708. package/lib/components/Table/InlineEdit.stories.js +355 -0
  709. package/lib/components/Table/StaticTable.d.ts +18 -0
  710. package/lib/components/Table/StaticTable.d.ts.map +1 -0
  711. package/lib/components/Table/StaticTable.js +39 -13
  712. package/lib/components/Table/Table.d.ts +56 -0
  713. package/lib/components/Table/Table.d.ts.map +1 -0
  714. package/lib/components/Table/Table.docs.d.ts +229 -0
  715. package/lib/components/Table/Table.docs.d.ts.map +1 -0
  716. package/lib/components/Table/Table.docs.js +3 -3
  717. package/lib/components/Table/Table.js +12 -1
  718. package/lib/components/Table/TableActionBar.d.ts +11 -0
  719. package/lib/components/Table/TableActionBar.d.ts.map +1 -0
  720. package/lib/components/Table/TableBottomBar.d.ts +7 -0
  721. package/lib/components/Table/TableBottomBar.d.ts.map +1 -0
  722. package/lib/components/Table/TableTopBar.d.ts +7 -0
  723. package/lib/components/Table/TableTopBar.d.ts.map +1 -0
  724. package/lib/components/Table/dummyTableData.d.ts +1946 -0
  725. package/lib/components/Table/dummyTableData.d.ts.map +1 -0
  726. package/lib/components/Table/hooks.d.ts +15 -0
  727. package/lib/components/Table/hooks.d.ts.map +1 -0
  728. package/lib/components/Table/hooks.js +7 -0
  729. package/lib/components/Table/index.d.ts +9 -0
  730. package/lib/components/Table/index.d.ts.map +1 -0
  731. package/lib/components/Tabs/Tab/Tab.d.ts +35 -0
  732. package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -0
  733. package/lib/components/Tabs/Tab/Tab.js +5 -1
  734. package/lib/components/Tabs/Tab/Tab.stories.d.ts +156 -0
  735. package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +1 -0
  736. package/lib/components/Tabs/Tab/Tab.stories.js +179 -0
  737. package/lib/components/Tabs/Tab/index.d.ts +2 -0
  738. package/lib/components/Tabs/Tab/index.d.ts.map +1 -0
  739. package/lib/components/Tabs/TabList/TabDropdown.d.ts +24 -0
  740. package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -0
  741. package/lib/components/Tabs/TabList/TabDropdown.js +8 -2
  742. package/lib/components/Tabs/TabList/TabList.d.ts +24 -0
  743. package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -0
  744. package/lib/components/Tabs/TabList/TabList.js +17 -3
  745. package/lib/components/Tabs/TabList/TabList.stories.d.ts +111 -0
  746. package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -0
  747. package/lib/components/Tabs/TabList/TabList.stories.js +197 -0
  748. package/lib/components/Tabs/TabList/index.d.ts +2 -0
  749. package/lib/components/Tabs/TabList/index.d.ts.map +1 -0
  750. package/lib/components/Tabs/index.d.ts +3 -0
  751. package/lib/components/Tabs/index.d.ts.map +1 -0
  752. package/lib/components/Text/HighlightedText.stories.d.ts +120 -0
  753. package/lib/components/Text/HighlightedText.stories.d.ts.map +1 -0
  754. package/lib/components/Text/HighlightedText.stories.js +131 -0
  755. package/lib/components/Text/Text.d.ts +46 -0
  756. package/lib/components/Text/Text.d.ts.map +1 -0
  757. package/lib/components/Text/Text.js +1 -0
  758. package/lib/components/Text/Text.stories.d.ts +271 -0
  759. package/lib/components/Text/Text.stories.d.ts.map +1 -0
  760. package/lib/components/Text/Text.stories.js +262 -0
  761. package/lib/components/Text/index.d.ts +4 -0
  762. package/lib/components/Text/index.d.ts.map +1 -0
  763. package/lib/components/TextTile/TextTile.d.ts +14 -0
  764. package/lib/components/TextTile/TextTile.d.ts.map +1 -0
  765. package/lib/components/TextTile/TextTile.stories.d.ts +76 -0
  766. package/lib/components/TextTile/TextTile.stories.d.ts.map +1 -0
  767. package/lib/components/TextTile/TextTile.stories.js +100 -0
  768. package/lib/components/TextTile/index.d.ts +2 -0
  769. package/lib/components/TextTile/index.d.ts.map +1 -0
  770. package/lib/components/Textarea/Textarea.d.ts +28 -0
  771. package/lib/components/Textarea/Textarea.d.ts.map +1 -0
  772. package/lib/components/Textarea/Textarea.js +14 -4
  773. package/lib/components/Textarea/Textarea.stories.d.ts +264 -0
  774. package/lib/components/Textarea/Textarea.stories.d.ts.map +1 -0
  775. package/lib/components/Textarea/Textarea.stories.js +329 -0
  776. package/lib/components/Textarea/index.d.ts +3 -0
  777. package/lib/components/Textarea/index.d.ts.map +1 -0
  778. package/lib/components/Timeline/Timeline.d.ts +18 -0
  779. package/lib/components/Timeline/Timeline.d.ts.map +1 -0
  780. package/lib/components/Timeline/Timeline.js +8 -1
  781. package/lib/components/Timeline/Timeline.stories.d.ts +62 -0
  782. package/lib/components/Timeline/Timeline.stories.d.ts.map +1 -0
  783. package/lib/components/Timeline/Timeline.stories.js +267 -0
  784. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +28 -0
  785. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -0
  786. package/lib/components/Timeline/TimelineItem/TimelineItem.js +9 -2
  787. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +184 -0
  788. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -0
  789. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.js +245 -0
  790. package/lib/components/Timeline/TimelineItem/index.d.ts +2 -0
  791. package/lib/components/Timeline/TimelineItem/index.d.ts.map +1 -0
  792. package/lib/components/Timeline/index.d.ts +3 -0
  793. package/lib/components/Timeline/index.d.ts.map +1 -0
  794. package/lib/components/Toast/Toast.d.ts +46 -0
  795. package/lib/components/Toast/Toast.d.ts.map +1 -0
  796. package/lib/components/Toast/Toast.js +10 -1
  797. package/lib/components/Toast/Toast.stories.d.ts +105 -0
  798. package/lib/components/Toast/Toast.stories.d.ts.map +1 -0
  799. package/lib/components/Toast/Toast.stories.js +237 -0
  800. package/lib/components/Toast/ToastContainer.d.ts +3 -0
  801. package/lib/components/Toast/ToastContainer.d.ts.map +1 -0
  802. package/lib/components/Toast/ToastContainer.js +2 -5
  803. package/lib/components/Toast/ToastManager.d.ts +23 -0
  804. package/lib/components/Toast/ToastManager.d.ts.map +1 -0
  805. package/lib/components/Toast/ToastManager.js +1 -0
  806. package/lib/components/Toast/index.d.ts +5 -0
  807. package/lib/components/Toast/index.d.ts.map +1 -0
  808. package/lib/components/Toggle/Toggle.d.ts +30 -0
  809. package/lib/components/Toggle/Toggle.d.ts.map +1 -0
  810. package/lib/components/Toggle/Toggle.js +1 -0
  811. package/lib/components/Toggle/Toggle.stories.d.ts +142 -0
  812. package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -0
  813. package/lib/components/Toggle/Toggle.stories.js +207 -0
  814. package/lib/components/Toggle/index.d.ts +2 -0
  815. package/lib/components/Toggle/index.d.ts.map +1 -0
  816. package/lib/components/TokenListInput/TokenListInput.d.ts +57 -0
  817. package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -0
  818. package/lib/components/TokenListInput/TokenListInput.js +30 -10
  819. package/lib/components/TokenListInput/TokenListInput.stories.d.ts +379 -0
  820. package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +1 -0
  821. package/lib/components/TokenListInput/TokenListInput.stories.js +877 -0
  822. package/lib/components/TokenListInput/TokenValueChips.d.ts +20 -0
  823. package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -0
  824. package/lib/components/TokenListInput/TokenValueChips.js +2 -4
  825. package/lib/components/TokenListInput/index.d.ts +2 -0
  826. package/lib/components/TokenListInput/index.d.ts.map +1 -0
  827. package/lib/components/Tooltip/Tooltip.d.ts +44 -0
  828. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -0
  829. package/lib/components/Tooltip/Tooltip.js +6 -3
  830. package/lib/components/Tooltip/Tooltip.stories.d.ts +172 -0
  831. package/lib/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
  832. package/lib/components/Tooltip/Tooltip.stories.js +321 -0
  833. package/lib/components/Tooltip/index.d.ts +2 -0
  834. package/lib/components/Tooltip/index.d.ts.map +1 -0
  835. package/lib/components/Truncate/Truncate.d.ts +12 -0
  836. package/lib/components/Truncate/Truncate.d.ts.map +1 -0
  837. package/lib/components/Truncate/Truncate.js +5 -1
  838. package/lib/components/Truncate/Truncate.stories.d.ts +94 -0
  839. package/lib/components/Truncate/Truncate.stories.d.ts.map +1 -0
  840. package/lib/components/Truncate/Truncate.stories.js +118 -0
  841. package/lib/components/Truncate/index.d.ts +3 -0
  842. package/lib/components/Truncate/index.d.ts.map +1 -0
  843. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +16 -0
  844. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -0
  845. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +6 -1
  846. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +110 -0
  847. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +1 -0
  848. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.js +161 -0
  849. package/lib/components/TruncatedTextWithTooltip/index.d.ts +2 -0
  850. package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +1 -0
  851. package/lib/components/Typeahead/SimpleTypeahead.d.ts +41 -0
  852. package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -0
  853. package/lib/components/Typeahead/SimpleTypeahead.js +4 -0
  854. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +396 -0
  855. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -0
  856. package/lib/components/Typeahead/SimpleTypeahead.stories.js +591 -0
  857. package/lib/components/Typeahead/Typeahead.d.ts +30 -0
  858. package/lib/components/Typeahead/Typeahead.d.ts.map +1 -0
  859. package/lib/components/Typeahead/Typeahead.js +12 -3
  860. package/lib/components/Typeahead/Typeahead.stories.d.ts +399 -0
  861. package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -0
  862. package/lib/components/Typeahead/Typeahead.stories.js +648 -0
  863. package/lib/components/Typeahead/index.d.ts +3 -0
  864. package/lib/components/Typeahead/index.d.ts.map +1 -0
  865. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +36 -0
  866. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -0
  867. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +238 -0
  868. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -0
  869. package/lib/components/WeekdayPicker/WeekdayPicker.stories.js +330 -0
  870. package/lib/components/WeekdayPicker/index.d.ts +2 -0
  871. package/lib/components/WeekdayPicker/index.d.ts.map +1 -0
  872. package/lib/components/index.d.ts +76 -0
  873. package/lib/components/index.d.ts.map +1 -0
  874. package/lib/flow-to-typescript-codemod.d.ts +48 -0
  875. package/lib/hooks/index.d.ts +17 -0
  876. package/lib/hooks/index.d.ts.map +1 -0
  877. package/lib/hooks/useArbitraryOptionAddition/index.d.ts +2 -0
  878. package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +1 -0
  879. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +24 -0
  880. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -0
  881. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +9 -9
  882. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +18 -0
  883. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -0
  884. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.js +171 -0
  885. package/lib/hooks/useCopyToClipboard/index.d.ts +2 -0
  886. package/lib/hooks/useCopyToClipboard/index.d.ts.map +1 -0
  887. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +5 -0
  888. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts.map +1 -0
  889. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +1 -0
  890. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +24 -0
  891. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +1 -0
  892. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.js +107 -0
  893. package/lib/hooks/useDebounce/index.d.ts +2 -0
  894. package/lib/hooks/useDebounce/index.d.ts.map +1 -0
  895. package/lib/hooks/useDebounce/useDebounce.d.ts +2 -0
  896. package/lib/hooks/useDebounce/useDebounce.d.ts.map +1 -0
  897. package/lib/hooks/useDebounce/useDebounce.stories.d.ts +26 -0
  898. package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +1 -0
  899. package/lib/hooks/useDebounce/useDebounce.stories.js +80 -0
  900. package/lib/hooks/useFileUpload/index.d.ts +2 -0
  901. package/lib/hooks/useFileUpload/index.d.ts.map +1 -0
  902. package/lib/hooks/useFileUpload/useFileUpload.d.ts +17 -0
  903. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -0
  904. package/lib/hooks/useFileUpload/useFileUpload.js +7 -2
  905. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +16 -0
  906. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -0
  907. package/lib/hooks/useFileUpload/useFileUpload.stories.js +405 -0
  908. package/lib/hooks/useFilteredOptions/index.d.ts +2 -0
  909. package/lib/hooks/useFilteredOptions/index.d.ts.map +1 -0
  910. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +17 -0
  911. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -0
  912. package/lib/hooks/useFilteredOptions/useFilteredOptions.js +5 -3
  913. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +18 -0
  914. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +1 -0
  915. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.js +155 -0
  916. package/lib/hooks/useInfiniteScroll/index.d.ts +2 -0
  917. package/lib/hooks/useInfiniteScroll/index.d.ts.map +1 -0
  918. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +15 -0
  919. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -0
  920. package/lib/hooks/useInputState/index.d.ts +2 -0
  921. package/lib/hooks/useInputState/index.d.ts.map +1 -0
  922. package/lib/hooks/useInputState/useInputState.d.ts +13 -0
  923. package/lib/hooks/useInputState/useInputState.d.ts.map +1 -0
  924. package/lib/hooks/useInputState/useInputState.js +3 -1
  925. package/lib/hooks/useInputState/useInputState.stories.d.ts +16 -0
  926. package/lib/hooks/useInputState/useInputState.stories.d.ts.map +1 -0
  927. package/lib/hooks/useInputState/useInputState.stories.js +67 -0
  928. package/lib/hooks/useLockedBody/index.d.ts +2 -0
  929. package/lib/hooks/useLockedBody/index.d.ts.map +1 -0
  930. package/lib/hooks/useLockedBody/useLockedBody.d.ts +4 -0
  931. package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +1 -0
  932. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +17 -0
  933. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +1 -0
  934. package/lib/hooks/useLockedBody/useLockedBody.stories.js +69 -0
  935. package/lib/hooks/useModal/index.d.ts +2 -0
  936. package/lib/hooks/useModal/index.d.ts.map +1 -0
  937. package/lib/hooks/useModal/useModal.d.ts +11 -0
  938. package/lib/hooks/useModal/useModal.d.ts.map +1 -0
  939. package/lib/hooks/useModal/useModal.stories.d.ts +16 -0
  940. package/lib/hooks/useModal/useModal.stories.d.ts.map +1 -0
  941. package/lib/hooks/useModal/useModal.stories.js +138 -0
  942. package/lib/hooks/useMountTransition/index.d.ts +3 -0
  943. package/lib/hooks/useMountTransition/index.d.ts.map +1 -0
  944. package/lib/hooks/useMountTransition/index.js +2 -0
  945. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +16 -0
  946. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +1 -0
  947. package/lib/hooks/useMountTransition/useMountTransition.stories.js +64 -0
  948. package/lib/hooks/usePagination/index.d.ts +2 -0
  949. package/lib/hooks/usePagination/index.d.ts.map +1 -0
  950. package/lib/hooks/usePagination/usePagination.d.ts +5 -0
  951. package/lib/hooks/usePagination/usePagination.d.ts.map +1 -0
  952. package/lib/hooks/usePagination/usePagination.js +3 -0
  953. package/lib/hooks/usePagination/usePagination.stories.d.ts +18 -0
  954. package/lib/hooks/usePagination/usePagination.stories.d.ts.map +1 -0
  955. package/lib/hooks/usePagination/usePagination.stories.js +77 -0
  956. package/lib/hooks/useReferenceElementWidth/index.d.ts +2 -0
  957. package/lib/hooks/useReferenceElementWidth/index.d.ts.map +1 -0
  958. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts +2 -0
  959. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +1 -0
  960. package/lib/hooks/useResizeObserver/index.d.ts +2 -0
  961. package/lib/hooks/useResizeObserver/index.d.ts.map +1 -0
  962. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +3 -0
  963. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +1 -0
  964. package/lib/hooks/useResizeObserver/useResizeObserver.js +3 -0
  965. package/lib/hooks/useToastPortal/index.d.ts +2 -0
  966. package/lib/hooks/useToastPortal/index.d.ts.map +1 -0
  967. package/lib/hooks/useToastPortal/useToastPortal.d.ts +10 -0
  968. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -0
  969. package/lib/hooks/useToastPortal/useToastPortal.js +3 -3
  970. package/lib/hooks/useToggle/index.d.ts +2 -0
  971. package/lib/hooks/useToggle/index.d.ts.map +1 -0
  972. package/lib/hooks/useToggle/useToggle.d.ts +2 -0
  973. package/lib/hooks/useToggle/useToggle.d.ts.map +1 -0
  974. package/lib/hooks/useToggle/useToggle.stories.d.ts +17 -0
  975. package/lib/hooks/useToggle/useToggle.stories.d.ts.map +1 -0
  976. package/lib/hooks/useToggle/useToggle.stories.js +68 -0
  977. package/lib/hooks/useWindowSize/index.d.ts +2 -0
  978. package/lib/hooks/useWindowSize/index.d.ts.map +1 -0
  979. package/lib/hooks/useWindowSize/useWindowSize.d.ts +7 -0
  980. package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +1 -0
  981. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +17 -0
  982. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +1 -0
  983. package/lib/hooks/useWindowSize/useWindowSize.stories.js +58 -0
  984. package/lib/index.d.ts +6 -0
  985. package/lib/index.d.ts.map +1 -0
  986. package/lib/stories/Border/Border.stories.d.ts +12 -0
  987. package/lib/stories/Border/Border.stories.d.ts.map +1 -0
  988. package/lib/stories/Color/Color.stories.d.ts +13 -0
  989. package/lib/stories/Color/Color.stories.d.ts.map +1 -0
  990. package/lib/stories/Elevation/Elevation.stories.d.ts +12 -0
  991. package/lib/stories/Elevation/Elevation.stories.d.ts.map +1 -0
  992. package/lib/stories/Introduction/index.d.ts +3 -0
  993. package/lib/stories/Introduction/index.d.ts.map +1 -0
  994. package/lib/stories/Motion/Motion.stories.d.ts +12 -0
  995. package/lib/stories/Motion/Motion.stories.d.ts.map +1 -0
  996. package/lib/stories/Opacity/Opacity.stories.d.ts +12 -0
  997. package/lib/stories/Opacity/Opacity.stories.d.ts.map +1 -0
  998. package/lib/stories/Shadow/Shadow.stories.d.ts +12 -0
  999. package/lib/stories/Shadow/Shadow.stories.d.ts.map +1 -0
  1000. package/lib/stories/Size/Size.stories.d.ts +12 -0
  1001. package/lib/stories/Size/Size.stories.d.ts.map +1 -0
  1002. package/lib/stories/Space/Space.stories.d.ts +12 -0
  1003. package/lib/stories/Space/Space.stories.d.ts.map +1 -0
  1004. package/lib/stories/Tokens/index.d.ts +3 -0
  1005. package/lib/stories/Tokens/index.d.ts.map +1 -0
  1006. package/lib/styles/index.d.ts +268 -0
  1007. package/lib/styles/index.d.ts.map +1 -0
  1008. package/lib/styles/index.js +535 -275
  1009. package/lib/styles/variables/_border.d.ts +13 -0
  1010. package/lib/styles/variables/_border.d.ts.map +1 -0
  1011. package/lib/styles/variables/_color.d.ts +105 -0
  1012. package/lib/styles/variables/_color.d.ts.map +1 -0
  1013. package/lib/styles/variables/_elevation.d.ts +8 -0
  1014. package/lib/styles/variables/_elevation.d.ts.map +1 -0
  1015. package/lib/styles/variables/_font.d.ts +31 -0
  1016. package/lib/styles/variables/_font.d.ts.map +1 -0
  1017. package/lib/styles/variables/_motion.d.ts +7 -0
  1018. package/lib/styles/variables/_motion.d.ts.map +1 -0
  1019. package/lib/styles/variables/_opacity.d.ts +16 -0
  1020. package/lib/styles/variables/_opacity.d.ts.map +1 -0
  1021. package/lib/styles/variables/_shadow.d.ts +25 -0
  1022. package/lib/styles/variables/_shadow.d.ts.map +1 -0
  1023. package/lib/styles/variables/_size.d.ts +58 -0
  1024. package/lib/styles/variables/_size.d.ts.map +1 -0
  1025. package/lib/styles/variables/_space.d.ts +13 -0
  1026. package/lib/styles/variables/_space.d.ts.map +1 -0
  1027. package/lib/types/charts.d.ts +224 -0
  1028. package/lib/types/charts.d.ts.map +1 -0
  1029. package/lib/types/charts.js +5 -1
  1030. package/lib/types/common.d.ts +10 -0
  1031. package/lib/types/common.d.ts.map +1 -0
  1032. package/lib/types/cssvariables.d.js +3 -0
  1033. package/lib/types/date-range-picker.d.ts +21 -0
  1034. package/lib/types/date-range-picker.d.ts.map +1 -0
  1035. package/lib/types/date-range-picker.js +5 -1
  1036. package/lib/types/flow-to-typescript-codemod.d.js +1 -0
  1037. package/lib/types/global.d.js +1 -0
  1038. package/lib/types/index.d.ts +7 -0
  1039. package/lib/types/index.d.ts.map +1 -0
  1040. package/lib/types/menu.d.ts +13 -0
  1041. package/lib/types/menu.d.ts.map +1 -0
  1042. package/lib/types/menu.js +5 -1
  1043. package/lib/types/toast.d.ts +28 -0
  1044. package/lib/types/toast.d.ts.map +1 -0
  1045. package/lib/types/toast.js +0 -2
  1046. package/lib/types/typography.d.ts +17 -0
  1047. package/lib/types/typography.d.ts.map +1 -0
  1048. package/lib/utils/array/are-arrays-equal.d.ts +4 -0
  1049. package/lib/utils/array/are-arrays-equal.d.ts.map +1 -0
  1050. package/lib/utils/array/index.d.ts +2 -0
  1051. package/lib/utils/array/index.d.ts.map +1 -0
  1052. package/lib/utils/charts/charts.d.ts +17 -0
  1053. package/lib/utils/charts/charts.d.ts.map +1 -0
  1054. package/lib/utils/charts/charts.js +4 -0
  1055. package/lib/utils/charts/columnChart.d.ts +8 -0
  1056. package/lib/utils/charts/columnChart.d.ts.map +1 -0
  1057. package/lib/utils/charts/columnChart.js +3 -1
  1058. package/lib/utils/charts/donutChart.d.ts +21 -0
  1059. package/lib/utils/charts/donutChart.d.ts.map +1 -0
  1060. package/lib/utils/charts/donutChart.js +7 -2
  1061. package/lib/utils/charts/funnelChart.d.ts +10 -0
  1062. package/lib/utils/charts/funnelChart.d.ts.map +1 -0
  1063. package/lib/utils/charts/funnelChart.js +5 -1
  1064. package/lib/utils/charts/helpers.d.ts +76 -0
  1065. package/lib/utils/charts/helpers.d.ts.map +1 -0
  1066. package/lib/utils/charts/index.d.ts +8 -0
  1067. package/lib/utils/charts/index.d.ts.map +1 -0
  1068. package/lib/utils/charts/lineChart.d.ts +7 -0
  1069. package/lib/utils/charts/lineChart.d.ts.map +1 -0
  1070. package/lib/utils/charts/lineChart.js +3 -1
  1071. package/lib/utils/charts/spiderChart.d.ts +18 -0
  1072. package/lib/utils/charts/spiderChart.d.ts.map +1 -0
  1073. package/lib/utils/charts/typography.d.ts +58 -0
  1074. package/lib/utils/charts/typography.d.ts.map +1 -0
  1075. package/lib/utils/classify/classify.stories.d.ts +17 -0
  1076. package/lib/utils/classify/classify.stories.d.ts.map +1 -0
  1077. package/lib/utils/classify/classify.stories.js +63 -0
  1078. package/lib/utils/classify/index.d.ts +3 -0
  1079. package/lib/utils/classify/index.d.ts.map +1 -0
  1080. package/lib/utils/classify/index.js +1 -1
  1081. package/lib/utils/click-away/ClickAway.stories.d.ts +106 -0
  1082. package/lib/utils/click-away/ClickAway.stories.d.ts.map +1 -0
  1083. package/lib/utils/click-away/ClickAway.stories.js +260 -0
  1084. package/lib/utils/click-away/click-away.d.ts +77 -0
  1085. package/lib/utils/click-away/click-away.d.ts.map +1 -0
  1086. package/lib/utils/click-away/click-away.js +18 -5
  1087. package/lib/utils/click-away/index.d.ts +2 -0
  1088. package/lib/utils/click-away/index.d.ts.map +1 -0
  1089. package/lib/utils/date-range-picker/date-range-picker.d.ts +63 -0
  1090. package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -0
  1091. package/lib/utils/date-range-picker/date-range-picker.js +17 -2
  1092. package/lib/utils/date-range-picker/index.d.ts +3 -0
  1093. package/lib/utils/date-range-picker/index.d.ts.map +1 -0
  1094. package/lib/utils/date-range-picker/timezones.d.ts +258 -0
  1095. package/lib/utils/date-range-picker/timezones.d.ts.map +1 -0
  1096. package/lib/utils/date-range-picker/timezones.js +0 -1
  1097. package/lib/utils/dom/dom.d.ts +38 -0
  1098. package/lib/utils/dom/dom.d.ts.map +1 -0
  1099. package/lib/utils/dom/dom.js +9 -7
  1100. package/lib/utils/dom/dom.stories.d.ts +15 -0
  1101. package/lib/utils/dom/dom.stories.d.ts.map +1 -0
  1102. package/lib/utils/dom/dom.stories.js +59 -0
  1103. package/lib/utils/dom/index.d.ts +2 -0
  1104. package/lib/utils/dom/index.d.ts.map +1 -0
  1105. package/lib/utils/helpers/helpers.d.ts +4 -0
  1106. package/lib/utils/helpers/helpers.d.ts.map +1 -0
  1107. package/lib/utils/helpers/helpers.stories.d.ts +15 -0
  1108. package/lib/utils/helpers/helpers.stories.d.ts.map +1 -0
  1109. package/lib/utils/helpers/helpers.stories.js +111 -0
  1110. package/lib/utils/helpers/index.d.ts +2 -0
  1111. package/lib/utils/helpers/index.d.ts.map +1 -0
  1112. package/lib/utils/index.d.ts +15 -0
  1113. package/lib/utils/index.d.ts.map +1 -0
  1114. package/lib/utils/makeClassNameComponent/index.d.ts +2 -0
  1115. package/lib/utils/makeClassNameComponent/index.d.ts.map +1 -0
  1116. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +9 -0
  1117. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -0
  1118. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +21 -7
  1119. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +15 -0
  1120. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +1 -0
  1121. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.js +44 -0
  1122. package/lib/utils/menu/index.d.ts +2 -0
  1123. package/lib/utils/menu/index.d.ts.map +1 -0
  1124. package/lib/utils/menu/menu.d.ts +20 -0
  1125. package/lib/utils/menu/menu.d.ts.map +1 -0
  1126. package/lib/utils/menu/menu.js +0 -2
  1127. package/lib/utils/merge-refs/index.d.ts +2 -0
  1128. package/lib/utils/merge-refs/index.d.ts.map +1 -0
  1129. package/lib/utils/merge-refs/merge-refs.d.ts +4 -0
  1130. package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -0
  1131. package/lib/utils/merge-refs/merge-refs.js +1 -0
  1132. package/lib/utils/merge-refs/merge-refs.stories.d.ts +15 -0
  1133. package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -0
  1134. package/lib/utils/merge-refs/merge-refs.stories.js +86 -0
  1135. package/lib/utils/rating/index.d.ts +2 -0
  1136. package/lib/utils/rating/index.d.ts.map +1 -0
  1137. package/lib/utils/rating/rating.d.ts +13 -0
  1138. package/lib/utils/rating/rating.d.ts.map +1 -0
  1139. package/lib/utils/score-bar/index.d.ts +2 -0
  1140. package/lib/utils/score-bar/index.d.ts.map +1 -0
  1141. package/lib/utils/score-bar/score-bar.d.ts +10 -0
  1142. package/lib/utils/score-bar/score-bar.d.ts.map +1 -0
  1143. package/lib/utils/string/index.d.ts +2 -0
  1144. package/lib/utils/string/index.d.ts.map +1 -0
  1145. package/lib/utils/string/string.d.ts +6 -0
  1146. package/lib/utils/string/string.d.ts.map +1 -0
  1147. package/lib/utils/string/string.stories.d.ts +15 -0
  1148. package/lib/utils/string/string.stories.d.ts.map +1 -0
  1149. package/lib/utils/string/string.stories.js +63 -0
  1150. package/lib/utils/token-list-input/token-list-input.d.ts +15 -0
  1151. package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -0
  1152. package/lib/utils/token-list-input/token-list-input.js +0 -2
  1153. package/lib/utils/tokens/index.d.ts +2 -0
  1154. package/lib/utils/tokens/index.d.ts.map +1 -0
  1155. package/lib/utils/tokens/tokens.d.ts +41 -0
  1156. package/lib/utils/tokens/tokens.d.ts.map +1 -0
  1157. package/package.json +32 -6
  1158. package/tsconfig.declaration.json +19 -0
  1159. package/tsconfig.declaration.tsbuildinfo +1 -0
  1160. package/tsconfig.json +40 -0
  1161. package/lib/components/Accordion/Accordion.js.flow +0 -116
  1162. package/lib/components/Accordion/AccordionGroup.js.flow +0 -75
  1163. package/lib/components/Accordion/index.js.flow +0 -4
  1164. package/lib/components/Avatar/Avatar.js.flow +0 -269
  1165. package/lib/components/Avatar/index.js.flow +0 -3
  1166. package/lib/components/AvatarGroup/AvatarGroup.js.flow +0 -164
  1167. package/lib/components/AvatarGroup/index.js.flow +0 -3
  1168. package/lib/components/Badge/Badge.js.flow +0 -147
  1169. package/lib/components/Badge/index.js.flow +0 -3
  1170. package/lib/components/BadgedIcon/BadgedIcon.js.flow +0 -73
  1171. package/lib/components/BadgedIcon/index.js.flow +0 -3
  1172. package/lib/components/Banner/Banner.js.flow +0 -60
  1173. package/lib/components/Banner/index.js.flow +0 -3
  1174. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js.flow +0 -58
  1175. package/lib/components/Breadcrumbs/BreadcrumbLink/index.js.flow +0 -3
  1176. package/lib/components/Breadcrumbs/Breadcrumbs.js.flow +0 -59
  1177. package/lib/components/Breadcrumbs/index.js.flow +0 -4
  1178. package/lib/components/Button/Button.js.flow +0 -286
  1179. package/lib/components/Button/index.js.flow +0 -16
  1180. package/lib/components/ButtonDropdown/ButtonDropdown.js.flow +0 -226
  1181. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js.flow +0 -169
  1182. package/lib/components/ButtonDropdown/index.js.flow +0 -4
  1183. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js.flow +0 -82
  1184. package/lib/components/ButtonTabs/ButtonTab/index.js.flow +0 -3
  1185. package/lib/components/ButtonTabs/ButtonTabDropdown.js.flow +0 -150
  1186. package/lib/components/ButtonTabs/ButtonTabs.js.flow +0 -121
  1187. package/lib/components/ButtonTabs/index.js.flow +0 -4
  1188. package/lib/components/Card/Card.js.flow +0 -174
  1189. package/lib/components/Card/index.js.flow +0 -3
  1190. package/lib/components/Charts/ChartTooltip/index.js.flow +0 -15
  1191. package/lib/components/Charts/ChartWrapper/ChartWrapper.js.flow +0 -190
  1192. package/lib/components/Charts/ChartWrapper/index.js.flow +0 -3
  1193. package/lib/components/Charts/ColumnChart/ColumnChart.js.flow +0 -126
  1194. package/lib/components/Charts/ColumnChart/index.js.flow +0 -3
  1195. package/lib/components/Charts/DonutChart/DonutChart.js.flow +0 -158
  1196. package/lib/components/Charts/DonutChart/index.js.flow +0 -3
  1197. package/lib/components/Charts/FunnelChart/FunnelChart.js.flow +0 -115
  1198. package/lib/components/Charts/FunnelChart/index.js.flow +0 -3
  1199. package/lib/components/Charts/LineChart/LineChart.js.flow +0 -113
  1200. package/lib/components/Charts/LineChart/index.js.flow +0 -3
  1201. package/lib/components/Charts/SpiderChart/SpiderChart.js.flow +0 -111
  1202. package/lib/components/Charts/SpiderChart/index.js.flow +0 -3
  1203. package/lib/components/Charts/index.js.flow +0 -9
  1204. package/lib/components/ChatBubble/ChatBubble.js.flow +0 -222
  1205. package/lib/components/ChatBubble/index.js.flow +0 -3
  1206. package/lib/components/Checkbox/Checkbox.js.flow +0 -168
  1207. package/lib/components/Checkbox/CheckboxGroup.js.flow +0 -116
  1208. package/lib/components/Checkbox/index.js.flow +0 -3
  1209. package/lib/components/Chip/Chip.js.flow +0 -199
  1210. package/lib/components/Chip/index.js.flow +0 -4
  1211. package/lib/components/CircularLoader/CircularLoader.js.flow +0 -58
  1212. package/lib/components/CircularLoader/index.js.flow +0 -3
  1213. package/lib/components/CollapsibleCard/CollapsibleCard.js.flow +0 -146
  1214. package/lib/components/CollapsibleCard/index.js.flow +0 -3
  1215. package/lib/components/Combobox/Combobox.js.flow +0 -287
  1216. package/lib/components/Combobox/helper.js.flow +0 -204
  1217. package/lib/components/Combobox/index.js.flow +0 -3
  1218. package/lib/components/ConditionalWrapper/ConditionalWrapper.js.flow +0 -16
  1219. package/lib/components/ConditionalWrapper/index.js.flow +0 -3
  1220. package/lib/components/DateRangePicker/Calendar.js.flow +0 -112
  1221. package/lib/components/DateRangePicker/DateRangePicker.js.flow +0 -214
  1222. package/lib/components/DateRangePicker/DateRangeWrapper.js.flow +0 -384
  1223. package/lib/components/DateRangePicker/Day.js.flow +0 -75
  1224. package/lib/components/DateRangePicker/index.js.flow +0 -3
  1225. package/lib/components/Dialog/Dialog.js.flow +0 -228
  1226. package/lib/components/Dialog/index.js.flow +0 -2
  1227. package/lib/components/Disclaimer/Disclaimer.js.flow +0 -41
  1228. package/lib/components/Disclaimer/index.js.flow +0 -3
  1229. package/lib/components/Dropdown/Dropdown.js.flow +0 -176
  1230. package/lib/components/Dropdown/SimpleDropdown.js.flow +0 -170
  1231. package/lib/components/Dropdown/index.js.flow +0 -4
  1232. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js.flow +0 -112
  1233. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js.flow +0 -198
  1234. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js.flow +0 -120
  1235. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js.flow +0 -137
  1236. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js.flow +0 -68
  1237. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js.flow +0 -71
  1238. package/lib/components/EmptyState/EmptyImages/index.js.flow +0 -8
  1239. package/lib/components/EmptyState/EmptyState.js.flow +0 -91
  1240. package/lib/components/EmptyState/index.js.flow +0 -3
  1241. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js.flow +0 -89
  1242. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js.flow +0 -121
  1243. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js.flow +0 -241
  1244. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js.flow +0 -77
  1245. package/lib/components/ErrorMessage/ErrorImages/index.js.flow +0 -6
  1246. package/lib/components/ErrorMessage/ErrorMessage.js.flow +0 -95
  1247. package/lib/components/ErrorMessage/index.js.flow +0 -3
  1248. package/lib/components/FileUpload/FileBlock/FileBlock.js.flow +0 -139
  1249. package/lib/components/FileUpload/FileBlock/index.js.flow +0 -3
  1250. package/lib/components/FileUpload/FileUpload.js.flow +0 -212
  1251. package/lib/components/FileUpload/index.js.flow +0 -4
  1252. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js.flow +0 -166
  1253. package/lib/components/FilterButtonOverlay/index.js.flow +0 -3
  1254. package/lib/components/FocusManager/FocusManager.js.flow +0 -57
  1255. package/lib/components/FocusManager/index.js.flow +0 -3
  1256. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js.flow +0 -152
  1257. package/lib/components/FocusManagerWithArrowKeyNavigation/index.js.flow +0 -3
  1258. package/lib/components/FormTitleWrapper/FormTitleWrapper.js.flow +0 -68
  1259. package/lib/components/FormTitleWrapper/index.js.flow +0 -3
  1260. package/lib/components/Grid/Grid.js.flow +0 -110
  1261. package/lib/components/Grid/index.js.flow +0 -3
  1262. package/lib/components/Icon/ClickableIcon.js.flow +0 -111
  1263. package/lib/components/Icon/Icon.docs.js.flow +0 -120
  1264. package/lib/components/Icon/Icon.js.flow +0 -77
  1265. package/lib/components/Icon/SemanticIcon.js.flow +0 -48
  1266. package/lib/components/Icon/index.js.flow +0 -5
  1267. package/lib/components/InContextAlert/InContextAlert.js.flow +0 -208
  1268. package/lib/components/InContextAlert/index.js.flow +0 -3
  1269. package/lib/components/InfinitePagination/InfinitePagination.js.flow +0 -122
  1270. package/lib/components/InfinitePagination/index.js.flow +0 -3
  1271. package/lib/components/InlineDropdown/InlineDropdown.js.flow +0 -181
  1272. package/lib/components/InlineDropdown/SimpleInlineDropdown.js.flow +0 -167
  1273. package/lib/components/InlineDropdown/index.js.flow +0 -4
  1274. package/lib/components/Input/Input.js.flow +0 -325
  1275. package/lib/components/Input/index.js.flow +0 -3
  1276. package/lib/components/KPIBox/KPIBox.js.flow +0 -97
  1277. package/lib/components/KPIBox/index.js.flow +0 -3
  1278. package/lib/components/LinearLoader/LinearLoader.js.flow +0 -49
  1279. package/lib/components/LinearLoader/index.js.flow +0 -3
  1280. package/lib/components/Link/Link.js.flow +0 -231
  1281. package/lib/components/Link/index.js.flow +0 -3
  1282. package/lib/components/Menu/Menu.js.flow +0 -391
  1283. package/lib/components/Menu/MenuOptionButton.js.flow +0 -201
  1284. package/lib/components/Menu/index.js.flow +0 -4
  1285. package/lib/components/Modal/Modal.js.flow +0 -370
  1286. package/lib/components/Modal/index.js.flow +0 -15
  1287. package/lib/components/Notification/Notification.js.flow +0 -149
  1288. package/lib/components/Notification/index.js.flow +0 -3
  1289. package/lib/components/OptionButton/OptionButton.js.flow +0 -153
  1290. package/lib/components/OptionButton/SimpleOptionButton.js.flow +0 -161
  1291. package/lib/components/OptionButton/index.js.flow +0 -4
  1292. package/lib/components/PageTitle/PageTitle.js.flow +0 -267
  1293. package/lib/components/PageTitle/index.js.flow +0 -3
  1294. package/lib/components/Pagination/Pagination.js.flow +0 -158
  1295. package/lib/components/Pagination/PaginationItem.js.flow +0 -120
  1296. package/lib/components/Pagination/index.js.flow +0 -3
  1297. package/lib/components/Panel/Panel.js.flow +0 -181
  1298. package/lib/components/Panel/index.js.flow +0 -10
  1299. package/lib/components/ProgressDonut/ProgressDonut.js.flow +0 -111
  1300. package/lib/components/ProgressDonut/index.js.flow +0 -3
  1301. package/lib/components/PromptChip/PromptChip.js.flow +0 -166
  1302. package/lib/components/PromptChip/index.js.flow +0 -3
  1303. package/lib/components/PromptInput/PromptInput.js.flow +0 -194
  1304. package/lib/components/PromptInput/index.js.flow +0 -3
  1305. package/lib/components/RadioButton/RadioButton.js.flow +0 -134
  1306. package/lib/components/RadioButton/RadioGroup.js.flow +0 -94
  1307. package/lib/components/RadioButton/index.js.flow +0 -3
  1308. package/lib/components/RadioTile/RadioTile.js.flow +0 -110
  1309. package/lib/components/RadioTile/index.js.flow +0 -3
  1310. package/lib/components/RangeSlider/RangeSlider.js.flow +0 -202
  1311. package/lib/components/RangeSlider/index.js.flow +0 -3
  1312. package/lib/components/Rating/Rating.js.flow +0 -134
  1313. package/lib/components/Rating/index.js.flow +0 -3
  1314. package/lib/components/ScoreBar/ScoreBar.js.flow +0 -135
  1315. package/lib/components/ScoreBar/index.js.flow +0 -3
  1316. package/lib/components/SearchInput/SearchInput.js.flow +0 -88
  1317. package/lib/components/SearchInput/index.js.flow +0 -4
  1318. package/lib/components/Separator/Separator.js.flow +0 -60
  1319. package/lib/components/Separator/index.js.flow +0 -3
  1320. package/lib/components/Shimmer/Shimmer.js.flow +0 -141
  1321. package/lib/components/Shimmer/index.js.flow +0 -3
  1322. package/lib/components/SideMenuLink/SideMenuLink.js.flow +0 -344
  1323. package/lib/components/SideMenuLink/index.js.flow +0 -3
  1324. package/lib/components/StatusIndicator/StatusIndicator.js.flow +0 -68
  1325. package/lib/components/StatusIndicator/index.js.flow +0 -3
  1326. package/lib/components/Stepper/Step/Step.js.flow +0 -123
  1327. package/lib/components/Stepper/Step/StepContent.js.flow +0 -40
  1328. package/lib/components/Stepper/Step/StepLabel.js.flow +0 -40
  1329. package/lib/components/Stepper/Step/index.js.flow +0 -5
  1330. package/lib/components/Stepper/Stepper.js.flow +0 -64
  1331. package/lib/components/Stepper/index.js.flow +0 -4
  1332. package/lib/components/StickyBar/StickyBar.js.flow +0 -67
  1333. package/lib/components/StickyBar/index.js.flow +0 -3
  1334. package/lib/components/SubMenu/SubMenu.js.flow +0 -96
  1335. package/lib/components/SubMenu/SubMenuGroup.js.flow +0 -156
  1336. package/lib/components/SubMenu/SubMenuItem.js.flow +0 -170
  1337. package/lib/components/SubMenu/SubMenuLink.js.flow +0 -89
  1338. package/lib/components/SubMenu/index.js.flow +0 -6
  1339. package/lib/components/Table/Cell.js.flow +0 -122
  1340. package/lib/components/Table/DefaultRow.js.flow +0 -152
  1341. package/lib/components/Table/DefaultTableHeader.js.flow +0 -240
  1342. package/lib/components/Table/StaticTable.js.flow +0 -212
  1343. package/lib/components/Table/Table.docs.js.flow +0 -495
  1344. package/lib/components/Table/Table.js.flow +0 -132
  1345. package/lib/components/Table/TableActionBar.js.flow +0 -55
  1346. package/lib/components/Table/TableBottomBar.js.flow +0 -28
  1347. package/lib/components/Table/TableTopBar.js.flow +0 -28
  1348. package/lib/components/Table/dummyTableData.js.flow +0 -2191
  1349. package/lib/components/Table/hooks.js.flow +0 -97
  1350. package/lib/components/Table/index.js.flow +0 -10
  1351. package/lib/components/Tabs/Tab/Tab.js.flow +0 -140
  1352. package/lib/components/Tabs/Tab/index.js.flow +0 -3
  1353. package/lib/components/Tabs/TabList/TabDropdown.js.flow +0 -123
  1354. package/lib/components/Tabs/TabList/TabList.js.flow +0 -161
  1355. package/lib/components/Tabs/TabList/index.js.flow +0 -3
  1356. package/lib/components/Tabs/index.js.flow +0 -4
  1357. package/lib/components/Text/Text.js.flow +0 -1060
  1358. package/lib/components/Text/index.js.flow +0 -32
  1359. package/lib/components/TextTile/TextTile.js.flow +0 -44
  1360. package/lib/components/TextTile/index.js.flow +0 -3
  1361. package/lib/components/Textarea/Textarea.js.flow +0 -139
  1362. package/lib/components/Textarea/index.js.flow +0 -4
  1363. package/lib/components/Timeline/Timeline.js.flow +0 -47
  1364. package/lib/components/Timeline/TimelineItem/TimelineItem.js.flow +0 -127
  1365. package/lib/components/Timeline/TimelineItem/index.js.flow +0 -3
  1366. package/lib/components/Timeline/index.js.flow +0 -4
  1367. package/lib/components/Toast/Toast.js.flow +0 -249
  1368. package/lib/components/Toast/ToastContainer.js.flow +0 -125
  1369. package/lib/components/Toast/ToastManager.js.flow +0 -67
  1370. package/lib/components/Toast/index.js.flow +0 -12
  1371. package/lib/components/Toggle/Toggle.js.flow +0 -113
  1372. package/lib/components/Toggle/index.js.flow +0 -2
  1373. package/lib/components/TokenListInput/TokenListInput.js.flow +0 -389
  1374. package/lib/components/TokenListInput/TokenValueChips.js.flow +0 -69
  1375. package/lib/components/TokenListInput/index.js.flow +0 -3
  1376. package/lib/components/Tooltip/Tooltip.js.flow +0 -206
  1377. package/lib/components/Tooltip/index.js.flow +0 -3
  1378. package/lib/components/Truncate/Truncate.js.flow +0 -86
  1379. package/lib/components/Truncate/index.js.flow +0 -4
  1380. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js.flow +0 -104
  1381. package/lib/components/TruncatedTextWithTooltip/index.js.flow +0 -3
  1382. package/lib/components/Typeahead/SimpleTypeahead.js.flow +0 -164
  1383. package/lib/components/Typeahead/Typeahead.js.flow +0 -250
  1384. package/lib/components/Typeahead/index.js.flow +0 -4
  1385. package/lib/components/WeekdayPicker/WeekdayPicker.js.flow +0 -229
  1386. package/lib/components/WeekdayPicker/index.js.flow +0 -3
  1387. package/lib/components/index.js.flow +0 -77
  1388. package/lib/hooks/index.js.flow +0 -18
  1389. package/lib/hooks/useArbitraryOptionAddition/index.js.flow +0 -3
  1390. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js.flow +0 -117
  1391. package/lib/hooks/useCopyToClipboard/index.js.flow +0 -3
  1392. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js.flow +0 -31
  1393. package/lib/hooks/useDebounce/index.js.flow +0 -3
  1394. package/lib/hooks/useDebounce/useDebounce.js.flow +0 -17
  1395. package/lib/hooks/useFileUpload/index.js.flow +0 -3
  1396. package/lib/hooks/useFileUpload/useFileUpload.js.flow +0 -304
  1397. package/lib/hooks/useFilteredOptions/index.js.flow +0 -3
  1398. package/lib/hooks/useFilteredOptions/useFilteredOptions.js.flow +0 -81
  1399. package/lib/hooks/useInfiniteScroll/index.js.flow +0 -3
  1400. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.js.flow +0 -82
  1401. package/lib/hooks/useInputState/index.js.flow +0 -3
  1402. package/lib/hooks/useInputState/useInputState.js.flow +0 -28
  1403. package/lib/hooks/useLockedBody/index.js.flow +0 -3
  1404. package/lib/hooks/useLockedBody/useLockedBody.js.flow +0 -55
  1405. package/lib/hooks/useModal/index.js.flow +0 -3
  1406. package/lib/hooks/useModal/useModal.js.flow +0 -39
  1407. package/lib/hooks/useMountTransition/index.js.flow +0 -27
  1408. package/lib/hooks/usePagination/index.js.flow +0 -3
  1409. package/lib/hooks/usePagination/usePagination.js.flow +0 -155
  1410. package/lib/hooks/useReferenceElementWidth/index.js.flow +0 -3
  1411. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js.flow +0 -23
  1412. package/lib/hooks/useResizeObserver/index.js.flow +0 -3
  1413. package/lib/hooks/useResizeObserver/useResizeObserver.js.flow +0 -28
  1414. package/lib/hooks/useToastPortal/index.js.flow +0 -3
  1415. package/lib/hooks/useToastPortal/useToastPortal.js.flow +0 -30
  1416. package/lib/hooks/useToggle/index.js.flow +0 -3
  1417. package/lib/hooks/useToggle/useToggle.js.flow +0 -17
  1418. package/lib/hooks/useWindowSize/index.js.flow +0 -3
  1419. package/lib/hooks/useWindowSize/useWindowSize.js.flow +0 -41
  1420. package/lib/index.js.flow +0 -7
  1421. package/lib/styles/index.js.flow +0 -535
  1422. package/lib/styles/variables/_border.js.flow +0 -25
  1423. package/lib/styles/variables/_color.js.flow +0 -209
  1424. package/lib/styles/variables/_elevation.js.flow +0 -15
  1425. package/lib/styles/variables/_font.js.flow +0 -61
  1426. package/lib/styles/variables/_motion.js.flow +0 -13
  1427. package/lib/styles/variables/_opacity.js.flow +0 -31
  1428. package/lib/styles/variables/_shadow.js.flow +0 -49
  1429. package/lib/styles/variables/_size.js.flow +0 -115
  1430. package/lib/styles/variables/_space.js.flow +0 -25
  1431. package/lib/types/charts.js.flow +0 -263
  1432. package/lib/types/common.js.flow +0 -13
  1433. package/lib/types/date-range-picker.js.flow +0 -17
  1434. package/lib/types/index.js.flow +0 -8
  1435. package/lib/types/menu.js.flow +0 -15
  1436. package/lib/types/toast.js.flow +0 -41
  1437. package/lib/types/typography.js.flow +0 -19
  1438. package/lib/utils/array/are-arrays-equal.js.flow +0 -14
  1439. package/lib/utils/array/index.js.flow +0 -3
  1440. package/lib/utils/charts/charts.js.flow +0 -111
  1441. package/lib/utils/charts/columnChart.js.flow +0 -63
  1442. package/lib/utils/charts/donutChart.js.flow +0 -119
  1443. package/lib/utils/charts/funnelChart.js.flow +0 -102
  1444. package/lib/utils/charts/helpers.js.flow +0 -68
  1445. package/lib/utils/charts/index.js.flow +0 -9
  1446. package/lib/utils/charts/lineChart.js.flow +0 -51
  1447. package/lib/utils/charts/spiderChart.js.flow +0 -59
  1448. package/lib/utils/charts/typography.js.flow +0 -53
  1449. package/lib/utils/classify/index.js.flow +0 -29
  1450. package/lib/utils/click-away/click-away.js.flow +0 -228
  1451. package/lib/utils/click-away/index.js.flow +0 -3
  1452. package/lib/utils/date-range-picker/date-range-picker.js.flow +0 -442
  1453. package/lib/utils/date-range-picker/index.js.flow +0 -4
  1454. package/lib/utils/date-range-picker/timezones.js.flow +0 -269
  1455. package/lib/utils/dom/dom.js.flow +0 -238
  1456. package/lib/utils/dom/index.js.flow +0 -3
  1457. package/lib/utils/helpers/helpers.js.flow +0 -53
  1458. package/lib/utils/helpers/index.js.flow +0 -3
  1459. package/lib/utils/index.js.flow +0 -16
  1460. package/lib/utils/makeClassNameComponent/index.js.flow +0 -3
  1461. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js.flow +0 -70
  1462. package/lib/utils/menu/index.js.flow +0 -3
  1463. package/lib/utils/menu/menu.js.flow +0 -193
  1464. package/lib/utils/merge-refs/index.js.flow +0 -3
  1465. package/lib/utils/merge-refs/merge-refs.js.flow +0 -14
  1466. package/lib/utils/rating/index.js.flow +0 -3
  1467. package/lib/utils/rating/rating.js.flow +0 -35
  1468. package/lib/utils/score-bar/index.js.flow +0 -3
  1469. package/lib/utils/score-bar/score-bar.js.flow +0 -58
  1470. package/lib/utils/string/index.js.flow +0 -3
  1471. package/lib/utils/string/string.js.flow +0 -33
  1472. package/lib/utils/token-list-input/token-list-input.js.flow +0 -37
  1473. package/lib/utils/tokens/index.js.flow +0 -3
  1474. package/lib/utils/tokens/tokens.js.flow +0 -244
@@ -0,0 +1,225 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports._AIPromptFlow = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _ChatBubble = require("../ChatBubble");
9
+ var _ChatBubble2 = require("../ChatBubble/ChatBubble.stories");
10
+ var _Disclaimer = require("../Disclaimer");
11
+ var _Panel = require("../Panel");
12
+ var _PromptChip = require("../PromptChip");
13
+ var _PromptInput = require("../PromptInput");
14
+ var _Text = require("../Text");
15
+ var _Text2 = require("../Text/Text");
16
+ var _TextTile = require("../TextTile");
17
+ var _AIPromptFlowStoriesModule = _interopRequireDefault(require("./AIPromptFlow.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
+ /* eslint-disable react/no-array-index-key */
21
+ var _default = exports.default = {
22
+ tags: ['!autodocs'],
23
+ title: 'AI Prompt Components/AI Prompt Flow',
24
+ parameters: {
25
+ docs: {
26
+ subtitle: 'AI Prompt Flow example',
27
+ description: {
28
+ component: `
29
+ This example showcases how to use the ai copilot flows in ui. feel free to copy code and respective css to mimic the exact UI
30
+ `
31
+ }
32
+ },
33
+ storySource: {
34
+ componentPath: '/src/components/Disclaimer/Disclaimer.jsx'
35
+ }
36
+ }
37
+ };
38
+ const staticResponse = `In today's data-driven world, analytics play a crucial role in decision-making and strategy development. Companies rely on key performance indicators (KPIs) to measure progress and identify areas for improvement. Metrics like conversion rates, churn rates, and user engagement provide valuable insights into business performance. Accurate data collection and analysis empower teams to make informed choices, optimize processes, and allocate resources effectively.
39
+
40
+ For instance, monitoring website traffic helps identify the most visited pages and the sources driving users to the site. A high bounce rate might indicate a need to improve user experience, while a steady increase in session duration reflects growing engagement. Similarly, tracking customer acquisition cost (CAC) against lifetime value (LTV) ensures sustainable growth and profitability.
41
+
42
+ Sales teams use analytics to measure pipeline velocity, close rates, and average deal size. These metrics enable managers to forecast revenue, adjust strategies, and improve overall efficiency. In marketing, tools like funnel analysis highlight where potential leads drop off, helping refine campaigns and improve return on investment (ROI).
43
+
44
+ Employee performance metrics are equally important. Organizations track productivity, satisfaction scores, and retention rates to foster a positive work environment. For instance, a drop in employee engagement often signals underlying issues, such as workload imbalance or lack of recognition.
45
+
46
+ In customer success, analytics focus on net promoter scores (NPS), response times, and resolution rates. High NPS scores indicate satisfied customers likely to promote the brand, while tracking ticket resolution times ensures efficient support processes. By analyzing these trends, businesses can address pain points and improve client relationships.
47
+
48
+ Financial analytics are another critical area. Companies monitor profit margins, operational costs, and revenue growth to ensure financial stability. Metrics such as EBITDA and cash flow provide a clear picture of a company’s health, enabling leadership to plan for future investments or expansions.
49
+
50
+ Data visualization tools make these analytics easier to understand. Dashboards present complex information in simple charts and graphs, allowing teams to identify patterns and anomalies at a glance. Heatmaps, for example, can show user activity on a website, revealing areas that need more attention.
51
+
52
+ A/B testing further enhances decision-making by allowing teams to experiment with different strategies and compare results. Whether testing headlines, product features, or email campaigns, data-driven results provide clarity and eliminate guesswork.
53
+
54
+ Real-time analytics help organizations stay agile and responsive. By monitoring live data, companies can react to sudden changes, such as traffic spikes or unexpected downtime. Alerts and notifications ensure that teams are aware of critical issues and can act promptly.
55
+
56
+ The value of analytics lies not only in the data itself but also in how it’s interpreted and applied. Insights derived from metrics allow businesses to streamline operations, enhance customer satisfaction, and drive growth. With the right tools and a data-driven mindset, organizations can turn raw data into actionable strategies and measurable outcomes.
57
+
58
+ In essence, analytics provide the foundation for smarter decisions, improved performance, and long-term success. Whether it’s understanding user behavior, optimizing workflows, or predicting market trends, leveraging analytics is key to staying competitive in an ever-changing landscape.`;
59
+ const PROMPTS = ['What is the offer acceptance rate?', 'Which source produces the best hires?', 'What is the average time to hire?', 'How many candidates are in the pipeline?', 'What is the average cost per hire?', 'Which department has the highest turnover rate?', 'What percentage of hires are from referrals?', 'How long does it take to fill a position?', 'What is the attrition rate for the past year?', 'Which jobs have the highest application drop-off rate?', 'What is the conversion rate from interview to hire?', 'How many candidates are rejected at each stage?', 'What is the average interview-to-offer ratio?', 'Which recruiters have the best performance metrics?', 'What percentage of candidates reject offers?', 'How satisfied are candidates with the hiring process?', 'What is the diversity ratio in the current workforce?', 'How many hires come from internal promotions?', 'What are the reasons for candidate drop-off?', 'How effective is the onboarding process?', 'What is the current employee engagement score?', 'How many candidates applied last quarter?', 'What percentage of job offers are pending?', 'How many interviews are conducted per position?', 'What is the overall hiring success rate?', 'What percentage of applicants are qualified?', 'How many candidates are awaiting feedback?', 'What is the average time to first interview?', 'Which job roles take the longest to fill?', 'What is the ratio of applicants to hires?', 'Which job boards drive the most applications?', 'What is the average time spent interviewing candidates?', 'How many passive candidates were contacted last month?', 'What percentage of hires are new graduates?', 'Which hiring stages have the highest drop-off?', 'How many candidates withdrew their applications?', 'What percentage of employees passed probation?', 'Which regions have the most successful hires?', 'What is the average number of interview rounds?', 'How many requisitions are still open?', 'Which departments have the lowest attrition?', 'What percentage of candidates complete assessments?', 'What is the satisfaction rate of new hires?', 'How many hires are expected this quarter?', 'What is the median salary for new hires?', 'How many requisitions were filled last month?', 'Which hiring sources are the most cost-effective?', 'How diverse are the recent hires?', 'How many employees left during onboarding?', 'What is the percentage of part-time hires?', 'How many job offers were rescinded?', 'What is the average candidate feedback score?', 'Which teams have the fastest hiring process?', 'What percentage of hires are internal candidates?', 'How many candidates are in the talent pool?', 'What is the average age of new hires?', 'How effective are employee referral programs?', 'What percentage of hires are remote employees?', 'How many candidates are considered overqualified?', 'Which recruiters have the fastest response time?', 'What is the average duration between offer and joining?', 'How satisfied are hiring managers with candidates?', 'Which skills are most common among recent hires?', 'How many candidates failed the technical assessment?', 'What is the drop-off rate during technical rounds?', 'What percentage of hires are contract workers?', 'How many job offers were declined last quarter?', 'What percentage of hires meet performance benchmarks?', 'How many positions remain unfilled after 90 days?', 'What is the hiring trend over the last six months?', 'What percentage of hires come from social media?', 'How effective is the candidate feedback loop?', 'What is the employee referral success rate?', 'How many active job seekers applied this month?', 'What percentage of candidates ask for offer extensions?', 'What is the typical rejection reason from candidates?', 'Which hiring stage causes the most delays?', 'What percentage of new hires recommend the process?', 'How many rehires were made this year?', 'What is the cost of a bad hire?', 'How many positions were closed due to budget cuts?', 'What percentage of hires exceed expectations?', 'How long do candidates stay on average?', 'What is the feedback score for interviewers?', 'Which stages have the most rescheduled interviews?', 'How many candidates received counteroffers?', 'What is the candidate response time for offers?', 'What percentage of candidates report a good experience?', 'How does the hiring rate compare year over year?', 'Which regions have the slowest time to hire?', 'How effective are pre-screening assessments?', 'How often do candidates ghost interviews?', 'What is the most requested role this year?', 'What percentage of new hires are retained after a year?', 'How many rejected candidates reapply later?', 'How many candidates fail during background checks?', 'What percentage of hires are diversity candidates?', 'How successful are hiring campaigns in different regions?', 'What is the satisfaction rate among rejected candidates?', 'How many roles are open for more than 6 months?', 'What percentage of hires move into leadership roles?'];
60
+ const getRandomPrompts = prompts => {
61
+ const count = Math.floor(Math.random() * 3) + 1;
62
+ const shuffled = prompts.sort(() => 0.5 - Math.random());
63
+ return shuffled.slice(0, count);
64
+ };
65
+ const getRandomSentences = function (text) {
66
+ let wordLimit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 50;
67
+ const sentences = text.match(/[^.!?]+[.!?]/g) || [];
68
+ const result = [];
69
+ let totalWords = 0;
70
+ const shuffledSentences = sentences.sort(() => Math.random() - 0.5);
71
+ for (const sentence of shuffledSentences) {
72
+ const wordCount = sentence.trim().split(/\s+/).length;
73
+ if (totalWords + wordCount <= wordLimit || result.length === 0) {
74
+ result.push(sentence.trim());
75
+ totalWords += wordCount;
76
+ } else {
77
+ break;
78
+ }
79
+ }
80
+ return result.join(' ');
81
+ };
82
+ const _AIPromptFlow = () => {
83
+ const [value, setValue] = React.useState('');
84
+ const [isLoading, setIsLoading] = React.useState(false);
85
+ const [responses, setResponses] = React.useState([]);
86
+ const [selectedPrompts, setSelectedPrompts] = React.useState(getRandomPrompts(PROMPTS));
87
+ const promptRef = React.useRef(null);
88
+ const loadingRef = React.useRef(null);
89
+ const generateResponse = text => {
90
+ const preparedResponses = [...responses];
91
+ setIsLoading(true);
92
+ setTimeout(() => {
93
+ // @ts-ignore - TS2339 - Property 'scrollIntoView' does not exist on type 'never'.
94
+ loadingRef.current?.scrollIntoView({
95
+ behavior: 'smooth'
96
+ });
97
+ });
98
+ setValue('');
99
+ const question = text ? text : value;
100
+
101
+ // @ts-ignore - TS2322 - Type 'string' is not assignable to type 'never'.
102
+ preparedResponses.push({
103
+ question,
104
+ answer: ''
105
+ });
106
+ setResponses(preparedResponses);
107
+ setTimeout(() => {
108
+ // @ts-ignore - TS2322 - Type 'string' is not assignable to type 'never'.
109
+ preparedResponses.push({
110
+ question: '',
111
+ answer: getRandomSentences(staticResponse)
112
+ });
113
+ setResponses(preparedResponses);
114
+ setIsLoading(false);
115
+ setSelectedPrompts(getRandomPrompts(PROMPTS));
116
+ // @ts-ignore - TS2339 - Property 'scrollIntoView' does not exist on type 'never'.
117
+ promptRef.current?.scrollIntoView({
118
+ behavior: 'smooth'
119
+ });
120
+ }, 2000);
121
+ };
122
+ return /*#__PURE__*/React.createElement(_Panel.Panel, {
123
+ isOpen: true,
124
+ anchor: "right",
125
+ size: "large"
126
+ }, /*#__PURE__*/React.createElement(_Panel.PanelHeader, null, "Copilot"), /*#__PURE__*/React.createElement(_Disclaimer.Disclaimer, {
127
+ classNames: {
128
+ wrapper: _AIPromptFlowStoriesModule.default.disclaimer
129
+ }
130
+ }, "Always check content generated by AI"), /*#__PURE__*/React.createElement(_Panel.PanelBody, {
131
+ className: _AIPromptFlowStoriesModule.default.panelBody
132
+ }, responses.length === 0 && !isLoading && /*#__PURE__*/React.createElement(_TextTile.TextTile, {
133
+ header: "Copilot",
134
+ description: "Ask anything to accomplish tasks in Sense.",
135
+ classNames: {
136
+ wrapper: _AIPromptFlowStoriesModule.default.copilotTextWrapper
137
+ }
138
+ }), responses.map((response, idx) => /*#__PURE__*/React.createElement("div", {
139
+ key: idx,
140
+ className: _AIPromptFlowStoriesModule.default.conversationAI
141
+ }, !!response.question && /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
142
+ orientation: "left"
143
+ }, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, {
144
+ avatarProps: {
145
+ text: 'Adam Craig Gilchrist'
146
+ },
147
+ isAI: false
148
+ }), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, {
149
+ withBgColor: false
150
+ }, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, response.question)))), !!response.answer && /*#__PURE__*/React.createElement(React.Fragment, null, idx === 1 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
151
+ orientation: "left"
152
+ }, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, null), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, null, /*#__PURE__*/React.createElement(_Text2.SubTitleSmall, null, "This is our interpretation of you question"), /*#__PURE__*/React.createElement(_Text.BodyMedium, null, getRandomSentences(staticResponse))))), /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
153
+ orientation: "left",
154
+ classNames: {
155
+ wrapper: _AIPromptFlowStoriesModule.default.leftMarginSpace
156
+ }
157
+ }, /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, null, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, response.answer)), /*#__PURE__*/React.createElement(_ChatBubble2.ChatFooterWithIcons, null)))), idx === 3 && /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
158
+ orientation: "left"
159
+ }, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, null), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, {
160
+ classNames: {
161
+ wrapper: _AIPromptFlowStoriesModule.default.longChatContent
162
+ }
163
+ }, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, "In a world where technology and imagination intertwine, the possibilities for innovation are boundless. Every passing day introduces new advancements that reshape the way humanity interacts with the world, creating a seamless blend of convenience, creativity, and connectivity. As artificial intelligence continues to grow in influence, its impact on everyday life becomes more profound, touching areas that range from healthcare to entertainment, from education to environmental conservation. Take, for instance, the story of a small town nestled in the valley of rolling hills. For decades, this town had thrived on traditional farming practices, cultivating crops and raising livestock in harmony with nature. However, the advent of technology introduced challenges that demanded adaptation. Climate change brought unpredictable weather patterns, and global markets introduced competitive pressures that many small farms struggled to meet. Faced with these challenges, the community turned to innovation. The town\u2019s leaders, in collaboration with researchers and technologists, implemented a system of smart farming powered by AI. Sensors embedded in the soil measured moisture levels, nutrient content, and temperature, providing real-time feedback to farmers. Drones equipped with cameras flew over fields, capturing images that AI analyzed to detect signs of pests or disease. Autonomous tractors, guided by satellite data, plowed and planted with precision, minimizing waste and maximizing yield. Over time, these tools not only revived the town\u2019s agricultural economy but also established it as a model for sustainable farming practices worldwide. Beyond agriculture, artificial intelligence also revolutionized healthcare. A few years ago, a young woman named Clara faced an uncertain future. Diagnosed with a rare and aggressive form of cancer, she was told her chances of survival were slim. However, Clara\u2019s doctors employed a cutting-edge AI system to analyze her genetic profile and recommend a personalized treatment plan. This system, trained on data from millions of patients worldwide, identified patterns that human doctors might have missed, suggesting a combination of therapies tailored specifically to Clara\u2019s condition.")), /*#__PURE__*/React.createElement(_ChatBubble2.ChatFooterWithIcons, null))), idx !== 1 && idx !== 3 && /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
164
+ orientation: "left"
165
+ }, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, null), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, null, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, response.answer)))), /*#__PURE__*/React.createElement("div", {
166
+ className: _AIPromptFlowStoriesModule.default.leftMarginSpace
167
+ }, idx === responses.length - 1 &&
168
+ /*#__PURE__*/
169
+ // @ts-ignore - TS2786 - 'PromptSuggestions' cannot be used as a JSX component.
170
+ React.createElement(PromptSuggestions, {
171
+ isLoading: isLoading,
172
+ selectedPrompts: selectedPrompts,
173
+ generateResponse: generateResponse,
174
+ promptRef: promptRef
175
+ }))))), isLoading && /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
176
+ classNames: {
177
+ wrapper: _AIPromptFlowStoriesModule.default.loader
178
+ },
179
+ orientation: "left",
180
+ ref: loadingRef
181
+ }, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, null), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, {
182
+ isLoading: true,
183
+ loadingText: "Generating"
184
+ }))), responses.length === 0 && /*#__PURE__*/React.createElement("div", {
185
+ className: _AIPromptFlowStoriesModule.default.promptContainer
186
+ }, /*#__PURE__*/React.createElement(PromptSuggestions, {
187
+ isLoading: isLoading,
188
+ selectedPrompts: selectedPrompts,
189
+ generateResponse: generateResponse,
190
+ label: "Here are some ideas to get started with Analytics for your product"
191
+ }))), /*#__PURE__*/React.createElement(_Panel.PanelFooter, {
192
+ classNames: {
193
+ actions: _AIPromptFlowStoriesModule.default.actions
194
+ }
195
+ }, /*#__PURE__*/React.createElement(_PromptInput.PromptInput, {
196
+ withPadding: false,
197
+ value: value,
198
+ onInputChange: e => setValue(e.target.value),
199
+ onButtonClick: () => generateResponse(),
200
+ buttonDisabled: value.length === 0
201
+ })));
202
+ };
203
+ exports._AIPromptFlow = _AIPromptFlow;
204
+ const PromptSuggestions = _ref => {
205
+ let {
206
+ isLoading,
207
+ generateResponse,
208
+ selectedPrompts,
209
+ label,
210
+ promptRef
211
+ } = _ref;
212
+ return !isLoading && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(_Text.FormLabelMedium, null, label), /*#__PURE__*/React.createElement("div", {
213
+ className: _AIPromptFlowStoriesModule.default.promptWrapper
214
+ }, selectedPrompts.map(prompt => /*#__PURE__*/React.createElement(React.Fragment, {
215
+ key: prompt
216
+ }, /*#__PURE__*/React.createElement(_PromptChip.PromptChip, {
217
+ classNames: {
218
+ wrapper: _AIPromptFlowStoriesModule.default.prompt
219
+ },
220
+ onClick: () => generateResponse(prompt)
221
+ // @ts-ignore - TS2769 - No overload matches this call.
222
+ ,
223
+ ref: promptRef
224
+ }, prompt)))));
225
+ };
@@ -0,0 +1,21 @@
1
+ import { Flow } from 'flow-to-typescript-codemod';
2
+ import * as React from 'react';
3
+ export type AccordionClassNames = Readonly<{
4
+ wrapper?: string;
5
+ headerWrapper?: string;
6
+ header?: string;
7
+ content?: string;
8
+ }>;
9
+ export type AccordionPropsType = {
10
+ id: string;
11
+ header: React.ReactNode;
12
+ children: React.ReactNode;
13
+ classNames?: AccordionClassNames;
14
+ isOpen?: boolean;
15
+ disabled?: boolean;
16
+ showToggle?: boolean;
17
+ onChange?: ((id: string, isOpen: boolean) => unknown) | null | undefined;
18
+ onToggle?: ((id?: string, checked?: boolean) => unknown) | null | undefined;
19
+ };
20
+ export declare const Accordion: Flow.AbstractComponent<AccordionPropsType, HTMLDivElement>;
21
+ //# sourceMappingURL=Accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAEhD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACzE,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC7E,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,kBAAkB,EAAE,cAAc,CA+E/E,CAAC"}
@@ -59,7 +59,9 @@ const Accordion = exports.Accordion = /*#__PURE__*/React.forwardRef((_ref, ref)
59
59
  iconLeftName: accordionIsOpen ? 'chevron-up' : 'chevron-down',
60
60
  disabled: disabled,
61
61
  size: "small",
62
- type: "ghost",
62
+ type: "ghost"
63
+ // @ts-ignore - TS2769 - No overload matches this call.
64
+ ,
63
65
  className: _AccordionModule.default.icon,
64
66
  ariaLabel: 'Collapse button'
65
67
  // we are not defining onClick here as we are using onClick of the parent here.
@@ -0,0 +1,143 @@
1
+ import * as React from 'react';
2
+ import type { AccordionPropsType } from './Accordion';
3
+ declare const _default: {
4
+ tags: string[];
5
+ title: string;
6
+ component: import("flow-to-typescript-codemod").Flow.AbstractComponent<AccordionPropsType, HTMLDivElement>;
7
+ argTypes: {
8
+ classNames: {
9
+ description: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ table: {
14
+ type: {
15
+ summary: string;
16
+ };
17
+ };
18
+ };
19
+ header: {
20
+ description: string;
21
+ control: {
22
+ type: string;
23
+ };
24
+ table: {
25
+ type: {
26
+ summary: string;
27
+ };
28
+ };
29
+ };
30
+ id: {
31
+ description: string;
32
+ control: {
33
+ type: string;
34
+ };
35
+ table: {
36
+ type: {
37
+ summary: string;
38
+ };
39
+ };
40
+ };
41
+ children: {
42
+ description: string;
43
+ control: {
44
+ type: string;
45
+ };
46
+ table: {
47
+ type: {
48
+ summary: string;
49
+ };
50
+ };
51
+ };
52
+ isOpen: {
53
+ description: string;
54
+ control: {
55
+ type: string;
56
+ };
57
+ table: {
58
+ type: {
59
+ summary: string;
60
+ };
61
+ };
62
+ };
63
+ disabled: {
64
+ description: string;
65
+ control: {
66
+ type: string;
67
+ };
68
+ table: {
69
+ type: {
70
+ summary: string;
71
+ };
72
+ defaultValue: {
73
+ summary: string;
74
+ };
75
+ };
76
+ };
77
+ showToggle: {
78
+ description: string;
79
+ control: {
80
+ type: string;
81
+ };
82
+ table: {
83
+ type: {
84
+ summary: string;
85
+ };
86
+ defaultValue: {
87
+ summary: string;
88
+ };
89
+ };
90
+ };
91
+ onChange: {
92
+ description: string;
93
+ control: boolean;
94
+ table: {
95
+ type: {
96
+ summary: string;
97
+ };
98
+ };
99
+ };
100
+ onToggle: {
101
+ description: string;
102
+ control: boolean;
103
+ table: {
104
+ type: {
105
+ summary: string;
106
+ };
107
+ };
108
+ };
109
+ };
110
+ parameters: {
111
+ docs: {
112
+ subtitle: string;
113
+ description: {
114
+ component: string;
115
+ };
116
+ };
117
+ storySource: {
118
+ componentPath: string;
119
+ };
120
+ };
121
+ };
122
+ export default _default;
123
+ export declare const _Default: {
124
+ (args: AccordionPropsType): React.JSX.Element;
125
+ args: {
126
+ classNames: {
127
+ wrapper: string;
128
+ };
129
+ id: string;
130
+ header: string;
131
+ };
132
+ };
133
+ export declare const _WithToggle: {
134
+ (args: AccordionPropsType): React.JSX.Element;
135
+ args: {
136
+ classNames: {
137
+ wrapper: string;
138
+ };
139
+ id: string;
140
+ showToggle: boolean;
141
+ };
142
+ };
143
+ //# sourceMappingURL=Accordion.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIpD,wBAwGE;AAEF,eAAO,MAAM,QAAQ;WAAU,kBAAkB;;;;;;;;CAMpC,CAAC;AAQd,eAAO,MAAM,WAAW;WAAU,kBAAkB;;;;;;;;CAgCnD,CAAC"}
@@ -0,0 +1,172 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports._WithToggle = exports._Default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _Accordion = require("./Accordion");
9
+ 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); }
10
+ 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); }
11
+ var _default = exports.default = {
12
+ tags: ['autodocs'],
13
+ title: 'Components/Accordion',
14
+ component: _Accordion.Accordion,
15
+ argTypes: {
16
+ classNames: {
17
+ description: 'Optional class name overrides for styling parts of the accordion. Keys include: wrapper, headerWrapper, header, content.',
18
+ control: {
19
+ type: 'object'
20
+ },
21
+ table: {
22
+ type: {
23
+ summary: '{wrapper?: string, headerWrapper?: string, header?: string, content?: string}'
24
+ }
25
+ }
26
+ },
27
+ header: {
28
+ description: 'A React node that renders the visible header of the accordion. This typically includes a title or label for the section. It can be a string, JSX, or any React element.',
29
+ control: {
30
+ type: 'text'
31
+ },
32
+ table: {
33
+ type: {
34
+ summary: 'React.ReactNode'
35
+ }
36
+ }
37
+ },
38
+ id: {
39
+ description: 'A unique string identifier for the accordion instance. Required when used inside an AccordionGroup to control open/close or disabled states via openedIds and disabledIds arrays.',
40
+ control: {
41
+ type: 'text'
42
+ },
43
+ table: {
44
+ type: {
45
+ summary: 'string'
46
+ }
47
+ }
48
+ },
49
+ children: {
50
+ description: 'The content to be shown inside the accordion when it is expanded. Can be a string, JSX, or any valid React node. This content remains hidden when the accordion is collapsed.',
51
+ control: {
52
+ type: 'text'
53
+ },
54
+ table: {
55
+ type: {
56
+ summary: 'React.ReactNode'
57
+ }
58
+ }
59
+ },
60
+ isOpen: {
61
+ description: 'Controls whether the accordion is open or closed.',
62
+ control: {
63
+ type: 'boolean'
64
+ },
65
+ table: {
66
+ type: {
67
+ summary: 'boolean'
68
+ }
69
+ }
70
+ },
71
+ disabled: {
72
+ description: 'Disables interaction with the accordion. When true, its state can not be changed from closed to opened or vice versa',
73
+ control: {
74
+ type: 'boolean'
75
+ },
76
+ table: {
77
+ type: {
78
+ summary: 'boolean'
79
+ },
80
+ defaultValue: {
81
+ summary: 'false'
82
+ }
83
+ }
84
+ },
85
+ showToggle: {
86
+ description: 'Displays a toggle switch to enable/disable the accordion',
87
+ control: {
88
+ type: 'boolean'
89
+ },
90
+ table: {
91
+ type: {
92
+ summary: 'boolean'
93
+ },
94
+ defaultValue: {
95
+ summary: 'false'
96
+ }
97
+ }
98
+ },
99
+ onChange: {
100
+ description: 'Callback triggered when the accordion is opened or closed.',
101
+ control: false,
102
+ table: {
103
+ type: {
104
+ summary: '(id?: string, isOpen: boolean) => mixed'
105
+ }
106
+ }
107
+ },
108
+ onToggle: {
109
+ description: 'Callback triggered when the enable/disable toggle is clicked.',
110
+ control: false,
111
+ table: {
112
+ type: {
113
+ summary: '(id?: string, checked?: boolean) => mixed'
114
+ }
115
+ }
116
+ }
117
+ },
118
+ parameters: {
119
+ docs: {
120
+ subtitle: 'Generates an Accordion component.',
121
+ description: {
122
+ component: `
123
+ \`\`\`js
124
+ import { Accordion } from "@spaced-out/ui-design-system/lib/components/Accordion";
125
+ \`\`\`
126
+ The Accordion component is a collapsible UI element used to toggle the visibility of content sections. It can be used independently or within and AccordionGroup.
127
+ `
128
+ }
129
+ },
130
+ storySource: {
131
+ componentPath: '/src/components/Accordion/Accordion.jsx'
132
+ }
133
+ }
134
+ };
135
+ const _Default = args => /*#__PURE__*/React.createElement(_Accordion.Accordion, args, /*#__PURE__*/React.createElement("div", null, "Accordions allow you to organize content into collapsible sections. This improves page readability and reduces visual clutter. Click the header to expand or collapse this section."));
136
+ exports._Default = _Default;
137
+ _Default.args = {
138
+ classNames: {
139
+ wrapper: ''
140
+ },
141
+ id: 'ac1',
142
+ header: 'What is an Accordion'
143
+ };
144
+ const _WithToggle = args => {
145
+ const [isOpened, setIsOpened] = React.useState(args.isOpen ?? false);
146
+ const [isDisabled, setDisabled] = React.useState(args.disabled ?? true);
147
+ const handleToggle = (_id, checked) => {
148
+ // @ts-ignore - TS2345 - Argument of type 'boolean | undefined' is not assignable to parameter of type 'SetStateAction<boolean>'.
149
+ setIsOpened(checked);
150
+ setDisabled(!checked);
151
+ };
152
+ React.useEffect(() => {
153
+ setIsOpened(args.isOpen ?? false);
154
+ }, [args.isOpen]);
155
+ React.useEffect(() => {
156
+ setDisabled(args.disabled ?? false);
157
+ }, [args.disabled]);
158
+ return /*#__PURE__*/React.createElement(_Accordion.Accordion, _extends({}, args, {
159
+ isOpen: isOpened,
160
+ disabled: isDisabled,
161
+ header: 'What is an Accordion?',
162
+ onToggle: handleToggle
163
+ }), /*#__PURE__*/React.createElement("div", null, "Accordions allow you to organize content into collapsible sections. This improves page readability and reduces visual clutter. Click the header to expand or collapse this section."));
164
+ };
165
+ exports._WithToggle = _WithToggle;
166
+ _WithToggle.args = {
167
+ classNames: {
168
+ wrapper: ''
169
+ },
170
+ id: 'ac1',
171
+ showToggle: true
172
+ };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ export type AccordionGroupClassNames = Readonly<{
3
+ wrapper?: string;
4
+ }>;
5
+ export type AccordionGroupPropsType = {
6
+ children: React.ReactNode;
7
+ onAccordionClick?: (id: string, isOpen: boolean) => unknown;
8
+ onToggle?: (id: string, checked?: boolean) => unknown;
9
+ enabledToggleIds?: Array<string>;
10
+ initialOpenId?: string;
11
+ classNames?: AccordionGroupClassNames;
12
+ };
13
+ export declare const AccordionGroup: {
14
+ ({ children, onAccordionClick, onToggle, enabledToggleIds, initialOpenId, classNames, }: AccordionGroupPropsType): React.JSX.Element;
15
+ displayName: string;
16
+ };
17
+ //# sourceMappingURL=AccordionGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionGroup.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC;IAC5D,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;IACtD,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,cAAc;6FAQtB,uBAAuB;;CA8C3B,CAAC"}
@@ -33,10 +33,13 @@ const AccordionGroup = _ref => {
33
33
  if (! /*#__PURE__*/React.isValidElement(child)) {
34
34
  return null;
35
35
  }
36
+
37
+ // @ts-ignore - TS2571 - Object is of type 'unknown'.
36
38
  const childId = child.props.id;
37
39
  const isDisabled = !checks.includes(childId);
38
40
  const isOpen = openId === childId;
39
41
  return /*#__PURE__*/React.cloneElement(child, {
42
+ // @ts-ignore - TS2769 - No overload matches this call.
40
43
  classNames: {
41
44
  headerWrapper: _AccordionGroupModule.default.accordionHeaderWrapper,
42
45
  wrapper: _AccordionGroupModule.default.accordionWrapper