@spaced-out/ui-design-system 0.4.15-beta.4 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) hide show
  1. package/.github/workflows/pages.yml +1 -1
  2. package/.github/workflows/publish_to_npm.yml +3 -20
  3. package/.github/workflows/pull_request_checks.yml +2 -3
  4. package/.prettierrc +3 -2
  5. package/.vscode/extensions.json +0 -1
  6. package/.vscode/settings.json +6 -1
  7. package/CHANGELOG.md +4 -5
  8. package/gulpfile.js +3 -3
  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/Accordion/Accordion.d.ts +2 -1
  12. package/lib/components/Accordion/Accordion.d.ts.map +1 -1
  13. package/lib/components/Accordion/Accordion.js +4 -4
  14. package/lib/components/Accordion/Accordion.stories.d.ts +144 -0
  15. package/lib/components/Accordion/Accordion.stories.d.ts.map +1 -0
  16. package/lib/components/Accordion/AccordionGroup.d.ts +1 -1
  17. package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -1
  18. package/lib/components/Accordion/AccordionGroup.js +13 -9
  19. package/lib/components/Accordion/AccordionGroup.stories.d.ts +90 -0
  20. package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -0
  21. package/lib/components/Avatar/Avatar.d.ts +1 -1
  22. package/lib/components/Avatar/Avatar.d.ts.map +1 -1
  23. package/lib/components/Avatar/Avatar.stories.d.ts +149 -0
  24. package/lib/components/Avatar/Avatar.stories.d.ts.map +1 -0
  25. package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  26. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +101 -0
  27. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -0
  28. package/lib/components/Badge/Badge.d.ts +4 -4
  29. package/lib/components/Badge/Badge.d.ts.map +1 -1
  30. package/lib/components/Badge/Badge.stories.d.ts +123 -0
  31. package/lib/components/Badge/Badge.stories.d.ts.map +1 -0
  32. package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -1
  33. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +111 -0
  34. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +1 -0
  35. package/lib/components/Banner/Banner.d.ts +2 -2
  36. package/lib/components/Banner/Banner.d.ts.map +1 -1
  37. package/lib/components/Banner/Banner.stories.d.ts +187 -0
  38. package/lib/components/Banner/Banner.stories.d.ts.map +1 -0
  39. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +2 -2
  40. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
  41. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +98 -0
  42. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +1 -0
  43. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  44. package/lib/components/Breadcrumbs/Breadcrumbs.js +3 -2
  45. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +57 -0
  46. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
  47. package/lib/components/Button/Button.d.ts +6 -6
  48. package/lib/components/Button/Button.d.ts.map +1 -1
  49. package/lib/components/Button/Button.js +6 -6
  50. package/lib/components/Button/Button.stories.d.ts +245 -0
  51. package/lib/components/Button/Button.stories.d.ts.map +1 -0
  52. package/lib/components/Button/index.d.ts +1 -1
  53. package/lib/components/Button/index.d.ts.map +1 -1
  54. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +4 -4
  55. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -1
  56. package/lib/components/ButtonDropdown/ButtonDropdown.js +4 -4
  57. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +558 -0
  58. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -0
  59. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +3 -3
  60. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -1
  61. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +3 -1
  62. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +628 -0
  63. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -0
  64. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -1
  65. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +142 -0
  66. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +1 -0
  67. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +2 -2
  68. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -1
  69. package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -1
  70. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +201 -0
  71. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +1 -0
  72. package/lib/components/Card/Card.d.ts +3 -3
  73. package/lib/components/Card/Card.d.ts.map +1 -1
  74. package/lib/components/Card/Card.js +1 -1
  75. package/lib/components/Card/Card.stories.d.ts +150 -0
  76. package/lib/components/Card/Card.stories.d.ts.map +1 -0
  77. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -1
  78. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +4 -4
  79. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
  80. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +446 -0
  81. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +1 -0
  82. package/lib/components/Charts/DonutChart/DonutChart.d.ts +4 -4
  83. package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
  84. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +227 -0
  85. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +1 -0
  86. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +4 -4
  87. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
  88. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +308 -0
  89. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +1 -0
  90. package/lib/components/Charts/LineChart/LineChart.d.ts +4 -4
  91. package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
  92. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +311 -0
  93. package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +1 -0
  94. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +4 -4
  95. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
  96. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +150 -0
  97. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +1 -0
  98. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +101 -0
  99. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +1 -0
  100. package/lib/components/ChatBubble/ChatBubble.d.ts +3 -3
  101. package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
  102. package/lib/components/ChatBubble/ChatBubble.stories.d.ts +102 -0
  103. package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +1 -0
  104. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  105. package/lib/components/Checkbox/Checkbox.stories.d.ts +168 -0
  106. package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
  107. package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
  108. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +163 -0
  109. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -0
  110. package/lib/components/Chip/Chip.d.ts +7 -7
  111. package/lib/components/Chip/Chip.d.ts.map +1 -1
  112. package/lib/components/Chip/Chip.stories.d.ts +238 -0
  113. package/lib/components/Chip/Chip.stories.d.ts.map +1 -0
  114. package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -1
  115. package/lib/components/CircularLoader/CircularLoader.stories.d.ts +64 -0
  116. package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +1 -0
  117. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +1 -1
  118. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -1
  119. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +225 -0
  120. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +1 -0
  121. package/lib/components/Combobox/Combobox.d.ts.map +1 -1
  122. package/lib/components/Combobox/Combobox.stories.d.ts +197 -0
  123. package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -0
  124. package/lib/components/Combobox/helper.d.ts.map +1 -1
  125. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -1
  126. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +16 -0
  127. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +1 -0
  128. package/lib/components/DateRangePicker/Calendar.d.ts +2 -2
  129. package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -1
  130. package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  131. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +184 -0
  132. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
  133. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +1 -1
  134. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -1
  135. package/lib/components/DateRangePicker/Day.d.ts.map +1 -1
  136. package/lib/components/Dialog/Dialog.d.ts +9 -9
  137. package/lib/components/Dialog/Dialog.d.ts.map +1 -1
  138. package/lib/components/Dialog/Dialog.stories.d.ts +171 -0
  139. package/lib/components/Dialog/Dialog.stories.d.ts.map +1 -0
  140. package/lib/components/Disclaimer/Disclaimer.d.ts +1 -1
  141. package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -1
  142. package/lib/components/Disclaimer/Disclaimer.stories.d.ts +156 -0
  143. package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +1 -0
  144. package/lib/components/Dropdown/Dropdown.d.ts +2 -2
  145. package/lib/components/Dropdown/Dropdown.d.ts.map +1 -1
  146. package/lib/components/Dropdown/Dropdown.js +7 -5
  147. package/lib/components/Dropdown/Dropdown.stories.d.ts +417 -0
  148. package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
  149. package/lib/components/Dropdown/SimpleDropdown.d.ts +3 -3
  150. package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -1
  151. package/lib/components/Dropdown/SimpleDropdown.js +3 -1
  152. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +424 -0
  153. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -0
  154. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +1 -1
  155. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +1 -1
  156. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +1 -1
  157. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +1 -1
  158. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +1 -1
  159. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +1 -1
  160. package/lib/components/EmptyState/EmptyState.d.ts.map +1 -1
  161. package/lib/components/EmptyState/EmptyState.stories.d.ts +91 -0
  162. package/lib/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
  163. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +1 -1
  164. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +1 -1
  165. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +1 -1
  166. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +1 -1
  167. package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
  168. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +97 -0
  169. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -0
  170. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -1
  171. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +68 -0
  172. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +1 -0
  173. package/lib/components/FileUpload/FileUpload.d.ts +2 -2
  174. package/lib/components/FileUpload/FileUpload.d.ts.map +1 -1
  175. package/lib/components/FileUpload/FileUpload.js +3 -1
  176. package/lib/components/FileUpload/FileUpload.stories.d.ts +340 -0
  177. package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
  178. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +2 -2
  179. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -1
  180. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +4 -4
  181. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +300 -0
  182. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -0
  183. package/lib/components/FocusManager/FocusManager.d.ts.map +1 -1
  184. package/lib/components/FocusManager/FocusManager.stories.d.ts +103 -0
  185. package/lib/components/FocusManager/FocusManager.stories.d.ts.map +1 -0
  186. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +2 -2
  187. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -1
  188. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +175 -0
  189. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -0
  190. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -1
  191. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +128 -0
  192. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +1 -0
  193. package/lib/components/Grid/Col.stories.d.ts +66 -0
  194. package/lib/components/Grid/Col.stories.d.ts.map +1 -0
  195. package/lib/components/Grid/Grid.d.ts.map +1 -1
  196. package/lib/components/Grid/GridPatterns.stories.d.ts +18 -0
  197. package/lib/components/Grid/GridPatterns.stories.d.ts.map +1 -0
  198. package/lib/components/Grid/Row.stories.d.ts +41 -0
  199. package/lib/components/Grid/Row.stories.d.ts.map +1 -0
  200. package/lib/components/Grid/Tablist.layout.stories.d.ts +20 -0
  201. package/lib/components/Grid/Tablist.layout.stories.d.ts.map +1 -0
  202. package/lib/components/Icon/ClickableIcon.d.ts +2 -2
  203. package/lib/components/Icon/ClickableIcon.d.ts.map +1 -1
  204. package/lib/components/Icon/Icon.d.ts.map +1 -1
  205. package/lib/components/Icon/Icon.stories.d.ts +193 -0
  206. package/lib/components/Icon/Icon.stories.d.ts.map +1 -0
  207. package/lib/components/Icon/SemanticIcon.d.ts +2 -2
  208. package/lib/components/Icon/SemanticIcon.d.ts.map +1 -1
  209. package/lib/components/Icon/SemanticIcon.stories.d.ts +190 -0
  210. package/lib/components/Icon/SemanticIcon.stories.d.ts.map +1 -0
  211. package/lib/components/InContextAlert/InContextAlert.d.ts +4 -4
  212. package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
  213. package/lib/components/InContextAlert/InContextAlert.stories.d.ts +164 -0
  214. package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -0
  215. package/lib/components/InfinitePagination/InfinitePagination.d.ts +3 -4
  216. package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -1
  217. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +145 -0
  218. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -0
  219. package/lib/components/InlineDropdown/InlineDropdown.d.ts +2 -2
  220. package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -1
  221. package/lib/components/InlineDropdown/InlineDropdown.js +4 -4
  222. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +350 -0
  223. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -0
  224. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +3 -3
  225. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -1
  226. package/lib/components/InlineDropdown/SimpleInlineDropdown.js +3 -1
  227. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +469 -0
  228. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -0
  229. package/lib/components/Input/Input.d.ts +3 -3
  230. package/lib/components/Input/Input.d.ts.map +1 -1
  231. package/lib/components/Input/Input.js +3 -1
  232. package/lib/components/Input/Input.stories.d.ts +502 -0
  233. package/lib/components/Input/Input.stories.d.ts.map +1 -0
  234. package/lib/components/Input/NativeColorpicker.stories.d.ts +370 -0
  235. package/lib/components/Input/NativeColorpicker.stories.d.ts.map +1 -0
  236. package/lib/components/Input/NativeDatepicker.stories.d.ts +388 -0
  237. package/lib/components/Input/NativeDatepicker.stories.d.ts.map +1 -0
  238. package/lib/components/KPIBox/KPIBox.d.ts.map +1 -1
  239. package/lib/components/KPIBox/KPIBox.stories.d.ts +132 -0
  240. package/lib/components/KPIBox/KPIBox.stories.d.ts.map +1 -0
  241. package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -1
  242. package/lib/components/LinearLoader/LinearLoader.stories.d.ts +78 -0
  243. package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +1 -0
  244. package/lib/components/Link/Link.d.ts +25 -25
  245. package/lib/components/Link/Link.d.ts.map +1 -1
  246. package/lib/components/Link/Link.js +1 -1
  247. package/lib/components/Link/Link.stories.d.ts +284 -0
  248. package/lib/components/Link/Link.stories.d.ts.map +1 -0
  249. package/lib/components/Menu/Menu.d.ts +3 -3
  250. package/lib/components/Menu/Menu.d.ts.map +1 -1
  251. package/lib/components/Menu/Menu.stories.d.ts +526 -0
  252. package/lib/components/Menu/Menu.stories.d.ts.map +1 -0
  253. package/lib/components/Menu/MenuOptionButton.d.ts +2 -2
  254. package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -1
  255. package/lib/components/Menu/MenuOptionButton.js +1 -1
  256. package/lib/components/Modal/Modal.d.ts +4 -4
  257. package/lib/components/Modal/Modal.d.ts.map +1 -1
  258. package/lib/components/Modal/Modal.stories.d.ts +149 -0
  259. package/lib/components/Modal/Modal.stories.d.ts.map +1 -0
  260. package/lib/components/Modal/index.d.ts +1 -1
  261. package/lib/components/Modal/index.d.ts.map +1 -1
  262. package/lib/components/Notification/Notification.d.ts +5 -5
  263. package/lib/components/Notification/Notification.d.ts.map +1 -1
  264. package/lib/components/Notification/Notification.stories.d.ts +136 -0
  265. package/lib/components/Notification/Notification.stories.d.ts.map +1 -0
  266. package/lib/components/OptionButton/OptionButton.d.ts +2 -2
  267. package/lib/components/OptionButton/OptionButton.d.ts.map +1 -1
  268. package/lib/components/OptionButton/OptionButton.stories.d.ts +366 -0
  269. package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -0
  270. package/lib/components/OptionButton/SimpleOptionButton.d.ts +3 -3
  271. package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
  272. package/lib/components/OptionButton/SimpleOptionButton.js +3 -1
  273. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +502 -0
  274. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -0
  275. package/lib/components/PageTitle/PageTitle.d.ts.map +1 -1
  276. package/lib/components/PageTitle/PageTitle.js +1 -1
  277. package/lib/components/PageTitle/PageTitle.stories.d.ts +83 -0
  278. package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -0
  279. package/lib/components/Pagination/Pagination.d.ts +3 -3
  280. package/lib/components/Pagination/Pagination.d.ts.map +1 -1
  281. package/lib/components/Pagination/Pagination.stories.d.ts +203 -0
  282. package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -0
  283. package/lib/components/Pagination/PaginationItem.d.ts.map +1 -1
  284. package/lib/components/Panel/Panel.d.ts +3 -3
  285. package/lib/components/Panel/Panel.d.ts.map +1 -1
  286. package/lib/components/Panel/Panel.stories.d.ts +187 -0
  287. package/lib/components/Panel/Panel.stories.d.ts.map +1 -0
  288. package/lib/components/Panel/index.d.ts +1 -1
  289. package/lib/components/Panel/index.d.ts.map +1 -1
  290. package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -1
  291. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +72 -0
  292. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +1 -0
  293. package/lib/components/PromptChip/PromptChip.d.ts +3 -3
  294. package/lib/components/PromptChip/PromptChip.d.ts.map +1 -1
  295. package/lib/components/PromptChip/PromptChip.stories.d.ts +205 -0
  296. package/lib/components/PromptChip/PromptChip.stories.d.ts.map +1 -0
  297. package/lib/components/PromptInput/PromptInput.d.ts.map +1 -1
  298. package/lib/components/PromptInput/PromptInput.stories.d.ts +265 -0
  299. package/lib/components/PromptInput/PromptInput.stories.d.ts.map +1 -0
  300. package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
  301. package/lib/components/RadioButton/RadioButton.stories.d.ts +149 -0
  302. package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -0
  303. package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -1
  304. package/lib/components/RadioButton/RadioGroup.stories.d.ts +137 -0
  305. package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -0
  306. package/lib/components/RadioTile/RadioTile.d.ts.map +1 -1
  307. package/lib/components/RadioTile/RadioTile.stories.d.ts +171 -0
  308. package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -0
  309. package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -1
  310. package/lib/components/RangeSlider/RangeSlider.stories.d.ts +287 -0
  311. package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +1 -0
  312. package/lib/components/Rating/Rating.d.ts +1 -1
  313. package/lib/components/Rating/Rating.d.ts.map +1 -1
  314. package/lib/components/Rating/Rating.stories.d.ts +237 -0
  315. package/lib/components/Rating/Rating.stories.d.ts.map +1 -0
  316. package/lib/components/ScoreBar/ScoreBar.d.ts +1 -1
  317. package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
  318. package/lib/components/ScoreBar/ScoreBar.stories.d.ts +156 -0
  319. package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +1 -0
  320. package/lib/components/SearchInput/SearchInput.d.ts +2 -2
  321. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
  322. package/lib/components/SearchInput/SearchInput.stories.d.ts +260 -0
  323. package/lib/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
  324. package/lib/components/Separator/Separator.d.ts +1 -1
  325. package/lib/components/Separator/Separator.d.ts.map +1 -1
  326. package/lib/components/Separator/Separator.stories.d.ts +79 -0
  327. package/lib/components/Separator/Separator.stories.d.ts.map +1 -0
  328. package/lib/components/Shimmer/Shimmer.d.ts +1 -1
  329. package/lib/components/Shimmer/Shimmer.d.ts.map +1 -1
  330. package/lib/components/Shimmer/Shimmer.stories.d.ts +213 -0
  331. package/lib/components/Shimmer/Shimmer.stories.d.ts.map +1 -0
  332. package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -1
  333. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +96 -0
  334. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -0
  335. package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -1
  336. package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
  337. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +92 -0
  338. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +1 -0
  339. package/lib/components/Stepper/Step/Step.d.ts.map +1 -1
  340. package/lib/components/Stepper/Step/Step.stories.d.ts +120 -0
  341. package/lib/components/Stepper/Step/Step.stories.d.ts.map +1 -0
  342. package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -1
  343. package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -1
  344. package/lib/components/Stepper/Stepper.d.ts.map +1 -1
  345. package/lib/components/Stepper/Stepper.stories.d.ts +210 -0
  346. package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -0
  347. package/lib/components/StickyBar/StickyBar.d.ts.map +1 -1
  348. package/lib/components/StickyBar/StickyBar.stories.d.ts +35 -0
  349. package/lib/components/StickyBar/StickyBar.stories.d.ts.map +1 -0
  350. package/lib/components/SubMenu/SubMenu.d.ts.map +1 -1
  351. package/lib/components/SubMenu/SubMenu.stories.d.ts +114 -0
  352. package/lib/components/SubMenu/SubMenu.stories.d.ts.map +1 -0
  353. package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -1
  354. package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -1
  355. package/lib/components/SubMenu/SubMenuItem.js +9 -7
  356. package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -1
  357. package/lib/components/Table/BasicTable.stories.d.ts +691 -0
  358. package/lib/components/Table/BasicTable.stories.d.ts.map +1 -0
  359. package/lib/components/Table/BulkActions.stories.d.ts +327 -0
  360. package/lib/components/Table/BulkActions.stories.d.ts.map +1 -0
  361. package/lib/components/Table/Cell.d.ts +1 -1
  362. package/lib/components/Table/Cell.d.ts.map +1 -1
  363. package/lib/components/Table/Cell.js +8 -5
  364. package/lib/components/Table/DefaultRow.d.ts.map +1 -1
  365. package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -1
  366. package/lib/components/Table/InlineEdit.stories.d.ts +314 -0
  367. package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -0
  368. package/lib/components/Table/StaticTable.d.ts +4 -4
  369. package/lib/components/Table/StaticTable.d.ts.map +1 -1
  370. package/lib/components/Table/StaticTable.js +8 -8
  371. package/lib/components/Table/Table.d.ts.map +1 -1
  372. package/lib/components/Table/TableActionBar.d.ts.map +1 -1
  373. package/lib/components/Table/TableBottomBar.d.ts.map +1 -1
  374. package/lib/components/Table/TableTopBar.d.ts.map +1 -1
  375. package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -1
  376. package/lib/components/Tabs/Tab/Tab.stories.d.ts +156 -0
  377. package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +1 -0
  378. package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -1
  379. package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -1
  380. package/lib/components/Tabs/TabList/TabList.stories.d.ts +111 -0
  381. package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -0
  382. package/lib/components/Text/HighlightedText.stories.d.ts +120 -0
  383. package/lib/components/Text/HighlightedText.stories.d.ts.map +1 -0
  384. package/lib/components/Text/Text.d.ts.map +1 -1
  385. package/lib/components/Text/Text.stories.d.ts +271 -0
  386. package/lib/components/Text/Text.stories.d.ts.map +1 -0
  387. package/lib/components/TextTile/TextTile.d.ts.map +1 -1
  388. package/lib/components/TextTile/TextTile.stories.d.ts +76 -0
  389. package/lib/components/TextTile/TextTile.stories.d.ts.map +1 -0
  390. package/lib/components/Textarea/Textarea.d.ts.map +1 -1
  391. package/lib/components/Textarea/Textarea.js +3 -1
  392. package/lib/components/Textarea/Textarea.stories.d.ts +264 -0
  393. package/lib/components/Textarea/Textarea.stories.d.ts.map +1 -0
  394. package/lib/components/Timeline/Timeline.d.ts +1 -1
  395. package/lib/components/Timeline/Timeline.d.ts.map +1 -1
  396. package/lib/components/Timeline/Timeline.js +3 -1
  397. package/lib/components/Timeline/Timeline.stories.d.ts +62 -0
  398. package/lib/components/Timeline/Timeline.stories.d.ts.map +1 -0
  399. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
  400. package/lib/components/Timeline/TimelineItem/TimelineItem.js +3 -1
  401. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +184 -0
  402. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -0
  403. package/lib/components/Toast/Toast.d.ts +2 -2
  404. package/lib/components/Toast/Toast.d.ts.map +1 -1
  405. package/lib/components/Toast/Toast.stories.d.ts +105 -0
  406. package/lib/components/Toast/Toast.stories.d.ts.map +1 -0
  407. package/lib/components/Toast/ToastContainer.d.ts.map +1 -1
  408. package/lib/components/Toast/ToastManager.d.ts.map +1 -1
  409. package/lib/components/Toggle/Toggle.d.ts.map +1 -1
  410. package/lib/components/Toggle/Toggle.js +5 -1
  411. package/lib/components/Toggle/Toggle.stories.d.ts +142 -0
  412. package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -0
  413. package/lib/components/TokenListInput/TokenListInput.d.ts +1 -1
  414. package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -1
  415. package/lib/components/TokenListInput/TokenListInput.stories.d.ts +379 -0
  416. package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +1 -0
  417. package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -1
  418. package/lib/components/Tooltip/Tooltip.d.ts +4 -4
  419. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
  420. package/lib/components/Tooltip/Tooltip.js +2 -2
  421. package/lib/components/Tooltip/Tooltip.stories.d.ts +172 -0
  422. package/lib/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
  423. package/lib/components/Truncate/Truncate.d.ts.map +1 -1
  424. package/lib/components/Truncate/Truncate.stories.d.ts +94 -0
  425. package/lib/components/Truncate/Truncate.stories.d.ts.map +1 -0
  426. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -1
  427. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +110 -0
  428. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +1 -0
  429. package/lib/components/Typeahead/SimpleTypeahead.d.ts +3 -3
  430. package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -1
  431. package/lib/components/Typeahead/SimpleTypeahead.js +3 -3
  432. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +396 -0
  433. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -0
  434. package/lib/components/Typeahead/Typeahead.d.ts +4 -4
  435. package/lib/components/Typeahead/Typeahead.d.ts.map +1 -1
  436. package/lib/components/Typeahead/Typeahead.js +4 -4
  437. package/lib/components/Typeahead/Typeahead.stories.d.ts +399 -0
  438. package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -0
  439. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +1 -1
  440. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -1
  441. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +238 -0
  442. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -0
  443. package/lib/flow-to-typescript-codemod.d.ts +7 -7
  444. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -1
  445. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +18 -0
  446. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -0
  447. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +24 -0
  448. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +1 -0
  449. package/lib/hooks/useDebounce/useDebounce.stories.d.ts +26 -0
  450. package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +1 -0
  451. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -1
  452. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +16 -0
  453. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -0
  454. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -1
  455. package/lib/hooks/useFilteredOptions/useFilteredOptions.js +3 -3
  456. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +18 -0
  457. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +1 -0
  458. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -1
  459. package/lib/hooks/useInputState/useInputState.d.ts +4 -1
  460. package/lib/hooks/useInputState/useInputState.d.ts.map +1 -1
  461. package/lib/hooks/useInputState/useInputState.stories.d.ts +16 -0
  462. package/lib/hooks/useInputState/useInputState.stories.d.ts.map +1 -0
  463. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +17 -0
  464. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +1 -0
  465. package/lib/hooks/useModal/useModal.stories.d.ts +16 -0
  466. package/lib/hooks/useModal/useModal.stories.d.ts.map +1 -0
  467. package/lib/hooks/useMountTransition/index.d.ts.map +1 -1
  468. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +16 -0
  469. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +1 -0
  470. package/lib/hooks/usePagination/usePagination.d.ts.map +1 -1
  471. package/lib/hooks/usePagination/usePagination.stories.d.ts +18 -0
  472. package/lib/hooks/usePagination/usePagination.stories.d.ts.map +1 -0
  473. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +1 -1
  474. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -1
  475. package/lib/hooks/useToggle/useToggle.d.ts.map +1 -1
  476. package/lib/hooks/useToggle/useToggle.stories.d.ts +17 -0
  477. package/lib/hooks/useToggle/useToggle.stories.d.ts.map +1 -0
  478. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +17 -0
  479. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +1 -0
  480. package/lib/stories/Border/Border.stories.d.ts +12 -0
  481. package/lib/stories/Border/Border.stories.d.ts.map +1 -0
  482. package/lib/stories/Color/Color.stories.d.ts +13 -0
  483. package/lib/stories/Color/Color.stories.d.ts.map +1 -0
  484. package/lib/stories/Elevation/Elevation.stories.d.ts +12 -0
  485. package/lib/stories/Elevation/Elevation.stories.d.ts.map +1 -0
  486. package/lib/stories/Introduction/index.d.ts +3 -0
  487. package/lib/stories/Introduction/index.d.ts.map +1 -0
  488. package/lib/stories/Motion/Motion.stories.d.ts +12 -0
  489. package/lib/stories/Motion/Motion.stories.d.ts.map +1 -0
  490. package/lib/stories/Opacity/Opacity.stories.d.ts +12 -0
  491. package/lib/stories/Opacity/Opacity.stories.d.ts.map +1 -0
  492. package/lib/stories/Shadow/Shadow.stories.d.ts +12 -0
  493. package/lib/stories/Shadow/Shadow.stories.d.ts.map +1 -0
  494. package/lib/stories/Size/Size.stories.d.ts +12 -0
  495. package/lib/stories/Size/Size.stories.d.ts.map +1 -0
  496. package/lib/stories/Space/Space.stories.d.ts +12 -0
  497. package/lib/stories/Space/Space.stories.d.ts.map +1 -0
  498. package/lib/stories/Tokens/index.d.ts +3 -0
  499. package/lib/stories/Tokens/index.d.ts.map +1 -0
  500. package/lib/types/charts.d.ts.map +1 -1
  501. package/lib/types/common.d.ts +1 -1
  502. package/lib/types/common.d.ts.map +1 -1
  503. package/lib/types/date-range-picker.d.ts +2 -2
  504. package/lib/types/date-range-picker.d.ts.map +1 -1
  505. package/lib/types/toast.d.ts +4 -4
  506. package/lib/types/toast.d.ts.map +1 -1
  507. package/lib/types/typography.d.ts +1 -1
  508. package/lib/types/typography.d.ts.map +1 -1
  509. package/lib/utils/charts/charts.d.ts.map +1 -1
  510. package/lib/utils/charts/donutChart.d.ts.map +1 -1
  511. package/lib/utils/charts/donutChart.js +2 -2
  512. package/lib/utils/charts/funnelChart.d.ts.map +1 -1
  513. package/lib/utils/charts/helpers.d.ts.map +1 -1
  514. package/lib/utils/charts/helpers.js +2 -5
  515. package/lib/utils/classify/classify.stories.d.ts +17 -0
  516. package/lib/utils/classify/classify.stories.d.ts.map +1 -0
  517. package/lib/utils/click-away/ClickAway.stories.d.ts +106 -0
  518. package/lib/utils/click-away/ClickAway.stories.d.ts.map +1 -0
  519. package/lib/utils/click-away/click-away.d.ts +20 -20
  520. package/lib/utils/click-away/click-away.d.ts.map +1 -1
  521. package/lib/utils/date-range-picker/date-range-picker.d.ts +3 -3
  522. package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -1
  523. package/lib/utils/date-range-picker/date-range-picker.js +9 -3
  524. package/lib/utils/date-range-picker/timezones.d.ts.map +1 -1
  525. package/lib/utils/dom/dom.d.ts +1 -1
  526. package/lib/utils/dom/dom.d.ts.map +1 -1
  527. package/lib/utils/dom/dom.stories.d.ts +15 -0
  528. package/lib/utils/dom/dom.stories.d.ts.map +1 -0
  529. package/lib/utils/helpers/helpers.stories.d.ts +15 -0
  530. package/lib/utils/helpers/helpers.stories.d.ts.map +1 -0
  531. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -1
  532. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +3 -1
  533. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +15 -0
  534. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +1 -0
  535. package/lib/utils/menu/menu.d.ts.map +1 -1
  536. package/lib/utils/merge-refs/merge-refs.stories.d.ts +15 -0
  537. package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -0
  538. package/lib/utils/rating/rating.d.ts.map +1 -1
  539. package/lib/utils/score-bar/score-bar.d.ts.map +1 -1
  540. package/lib/utils/string/string.d.ts.map +1 -1
  541. package/lib/utils/string/string.stories.d.ts +15 -0
  542. package/lib/utils/string/string.stories.d.ts.map +1 -0
  543. package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -1
  544. package/lib/utils/tokens/tokens.d.ts.map +1 -1
  545. package/lint-staged.config.js +1 -1
  546. package/package.json +3 -2
  547. package/tsconfig.json +2 -6
  548. package/.flowconfig +0 -45
  549. package/dts-generator/.editorconfig +0 -10
  550. package/dts-generator/.gitattributes +0 -4
  551. package/dts-generator/README.md +0 -63
  552. package/dts-generator/convert.js +0 -107
  553. package/dts-generator/package.json +0 -16
  554. package/flow-typed/npm/lodash_v4.x.x.js +0 -6407
@@ -0,0 +1,446 @@
1
+ import * as React from 'react';
2
+ import type { ColumnChartProps } from './';
3
+ declare const _default: {
4
+ tags: string[];
5
+ title: string;
6
+ component: ({ isLoading, classNames, cardTitle, customExportOptions, series, drilldown, headerActions, hasEmptyData, emptyText, ...userOptions }: ColumnChartProps) => React.JSX.Element;
7
+ argTypes: {
8
+ isLoading: {
9
+ description: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ table: {
14
+ type: {
15
+ summary: string;
16
+ };
17
+ defaultValue: {
18
+ summary: string;
19
+ };
20
+ };
21
+ };
22
+ classNames: {
23
+ description: string;
24
+ control: {
25
+ type: string;
26
+ };
27
+ table: {
28
+ type: {
29
+ summary: string;
30
+ };
31
+ };
32
+ };
33
+ cardTitle: {
34
+ description: string;
35
+ control: {
36
+ type: string;
37
+ };
38
+ type: {
39
+ summary: string;
40
+ };
41
+ };
42
+ customExportOptions: {
43
+ description: string;
44
+ control: {
45
+ type: string;
46
+ };
47
+ table: {
48
+ type: {
49
+ summary: string;
50
+ };
51
+ };
52
+ };
53
+ series: {
54
+ description: string;
55
+ table: {
56
+ type: {
57
+ summary: string;
58
+ };
59
+ };
60
+ };
61
+ legend: {
62
+ description: string;
63
+ control: {
64
+ type: string;
65
+ };
66
+ };
67
+ plotOptions: {
68
+ description: string;
69
+ };
70
+ xAxis: {
71
+ description: string;
72
+ };
73
+ yAxis: {
74
+ description: string;
75
+ };
76
+ headerActions: {
77
+ description: string;
78
+ table: {
79
+ type: {
80
+ summary: string;
81
+ };
82
+ };
83
+ };
84
+ hasEmptyData: {
85
+ description: string;
86
+ control: {
87
+ type: string;
88
+ };
89
+ };
90
+ emptyText: {
91
+ description: string;
92
+ table: {
93
+ type: {
94
+ summary: string;
95
+ };
96
+ };
97
+ };
98
+ };
99
+ parameters: {
100
+ docs: {
101
+ subtitle: string;
102
+ description: {
103
+ component: string;
104
+ };
105
+ };
106
+ storySource: {
107
+ componentPath: string;
108
+ };
109
+ };
110
+ };
111
+ export default _default;
112
+ export declare const EmptyData: () => React.JSX.Element;
113
+ export declare const _ColumnChart: {
114
+ (args: ColumnChartProps): React.JSX.Element;
115
+ args: {
116
+ classNames: {
117
+ wrapper: string;
118
+ };
119
+ cardTitle: string;
120
+ customExportOptions: {
121
+ key: string;
122
+ label: string;
123
+ format: string;
124
+ }[];
125
+ series: {
126
+ name: string;
127
+ data: {
128
+ name: string;
129
+ y: number;
130
+ }[];
131
+ }[];
132
+ xAxis: {
133
+ readonly title: {
134
+ readonly text: "Sourcing";
135
+ };
136
+ };
137
+ yAxis: {
138
+ readonly title: {
139
+ readonly text: "Amount Sourced";
140
+ };
141
+ };
142
+ legend: {
143
+ readonly enabled: true;
144
+ readonly shadow: false;
145
+ };
146
+ };
147
+ };
148
+ export declare const _ColumnChartWithEmptyData: {
149
+ (args: ColumnChartProps): React.JSX.Element;
150
+ args: {
151
+ classNames: {
152
+ wrapper: string;
153
+ };
154
+ cardTitle: string;
155
+ customExportOptions: {
156
+ key: string;
157
+ label: string;
158
+ format: string;
159
+ }[];
160
+ series: {
161
+ name: string;
162
+ data: {
163
+ name: string;
164
+ y: number;
165
+ }[];
166
+ }[];
167
+ xAxis: {
168
+ readonly title: {
169
+ readonly text: "Sourcing";
170
+ };
171
+ };
172
+ yAxis: {
173
+ readonly title: {
174
+ readonly text: "Amount Sourced";
175
+ };
176
+ };
177
+ legend: {
178
+ readonly enabled: true;
179
+ readonly shadow: false;
180
+ };
181
+ hasEmptyData: boolean;
182
+ emptyText: React.ReactElement<React.ComponentProps<typeof EmptyData>>;
183
+ };
184
+ };
185
+ export declare const _ColumnChartWithDrilldown: {
186
+ (args: ColumnChartProps): React.JSX.Element;
187
+ args: {
188
+ classNames: {
189
+ wrapper: string;
190
+ };
191
+ cardTitle: string;
192
+ customExportOptions: {
193
+ key: string;
194
+ label: string;
195
+ format: string;
196
+ }[];
197
+ series: ({
198
+ name: string;
199
+ data: {
200
+ name: string;
201
+ y: number;
202
+ drilldown: string;
203
+ }[];
204
+ } | {
205
+ name: string;
206
+ data: {
207
+ name: string;
208
+ y: number;
209
+ }[];
210
+ })[];
211
+ drilldown: {
212
+ readonly series: readonly [{
213
+ readonly id: "q1_23";
214
+ readonly name: "Inbound Sourced Drilldown";
215
+ readonly data: readonly [{
216
+ readonly name: "Chatbot";
217
+ readonly y: 4200;
218
+ }, {
219
+ readonly name: "Discover";
220
+ readonly y: 3400;
221
+ }, {
222
+ readonly name: "Other";
223
+ readonly y: 3600;
224
+ }];
225
+ }, {
226
+ readonly id: "q2_23";
227
+ readonly name: "Inbound Sourced Drilldown";
228
+ readonly data: readonly [{
229
+ readonly name: "Chatbot";
230
+ readonly y: 4200;
231
+ }, {
232
+ readonly name: "Discover";
233
+ readonly y: 3400;
234
+ }, {
235
+ readonly name: "Other";
236
+ readonly y: 3600;
237
+ }];
238
+ }, {
239
+ readonly id: "q3_23";
240
+ readonly name: "Outbound Sourced";
241
+ readonly data: readonly [{
242
+ readonly name: "Chatbot";
243
+ readonly y: 2200;
244
+ }, {
245
+ readonly name: "Discover";
246
+ readonly y: 1400;
247
+ }, {
248
+ readonly name: "Other";
249
+ readonly y: 3600;
250
+ }];
251
+ }, {
252
+ readonly id: "q4_23";
253
+ readonly name: "Outbound Sourced";
254
+ readonly data: readonly [{
255
+ readonly name: "Chatbot";
256
+ readonly y: 2200;
257
+ }, {
258
+ readonly name: "Discover";
259
+ readonly y: 1400;
260
+ }, {
261
+ readonly name: "Other";
262
+ readonly y: 3600;
263
+ }];
264
+ }];
265
+ };
266
+ yAxis: {
267
+ readonly title: {
268
+ readonly text: "Amount Sourced";
269
+ };
270
+ };
271
+ legend: {
272
+ readonly enabled: true;
273
+ readonly shadow: false;
274
+ };
275
+ };
276
+ };
277
+ export declare const _ColumnChartWithMultiLevelDrilldown: {
278
+ (args: ColumnChartProps): React.JSX.Element;
279
+ args: {
280
+ classNames: {
281
+ wrapper: string;
282
+ };
283
+ cardTitle: string;
284
+ customExportOptions: {
285
+ key: string;
286
+ label: string;
287
+ format: string;
288
+ }[];
289
+ series: ({
290
+ name: string;
291
+ data: {
292
+ name: string;
293
+ y: number;
294
+ drilldown: string;
295
+ }[];
296
+ } | {
297
+ name: string;
298
+ data: number[];
299
+ })[];
300
+ drilldown: {
301
+ readonly series: readonly [{
302
+ readonly name: "Jan Weekly Sales Data";
303
+ readonly id: "jan";
304
+ readonly data: readonly [{
305
+ readonly name: "Week 1";
306
+ readonly y: 50;
307
+ }, {
308
+ readonly name: "Week 2";
309
+ readonly y: 70;
310
+ }, {
311
+ readonly name: "Week 3";
312
+ readonly y: 60;
313
+ }, {
314
+ readonly name: "Week 4";
315
+ readonly y: 100;
316
+ readonly drilldown: "daily";
317
+ }];
318
+ }, {
319
+ readonly name: "Feb Weekly Sales Data";
320
+ readonly id: "feb";
321
+ readonly data: readonly [{
322
+ readonly name: "Week 5";
323
+ readonly y: 60;
324
+ }, {
325
+ readonly name: "Week 6";
326
+ readonly y: 80;
327
+ }, {
328
+ readonly name: "Week 7";
329
+ readonly y: 70;
330
+ }, {
331
+ readonly name: "Week 8";
332
+ readonly y: 100;
333
+ readonly drilldown: "daily";
334
+ }];
335
+ }, {
336
+ readonly name: "March Weekly Sales Data";
337
+ readonly id: "mar";
338
+ readonly data: readonly [{
339
+ readonly name: "Week 9";
340
+ readonly y: 70;
341
+ }, {
342
+ readonly name: "Week 10";
343
+ readonly y: 90;
344
+ }, {
345
+ readonly name: "Week 11";
346
+ readonly y: 80;
347
+ }, {
348
+ readonly name: "Week 12";
349
+ readonly y: 100;
350
+ readonly drilldown: "daily";
351
+ }];
352
+ }, {
353
+ readonly name: "April Weekly Sales Data";
354
+ readonly id: "apr";
355
+ readonly data: readonly [{
356
+ readonly name: "Week 13";
357
+ readonly y: 80;
358
+ }, {
359
+ readonly name: "Week 14";
360
+ readonly y: 100;
361
+ readonly drilldown: "daily";
362
+ }, {
363
+ readonly name: "Week 15";
364
+ readonly y: 90;
365
+ }, {
366
+ readonly name: "Week 16";
367
+ readonly y: 110;
368
+ }];
369
+ }, {
370
+ readonly name: "May Weekly Sales Data";
371
+ readonly id: "may";
372
+ readonly data: readonly [{
373
+ readonly name: "Week 1";
374
+ readonly y: 90;
375
+ }, {
376
+ readonly name: "Week 2";
377
+ readonly y: 110;
378
+ }, {
379
+ readonly name: "Week 3";
380
+ readonly y: 100;
381
+ readonly drilldown: "daily";
382
+ }, {
383
+ readonly name: "Week 4";
384
+ readonly y: 120;
385
+ }];
386
+ }, {
387
+ readonly name: "June Weekly Sales Data";
388
+ readonly id: "jun";
389
+ readonly data: readonly [{
390
+ readonly name: "Week 1";
391
+ readonly y: 100;
392
+ readonly drilldown: "daily";
393
+ }, {
394
+ readonly name: "Week 2";
395
+ readonly y: 120;
396
+ }, {
397
+ readonly name: "Week 3";
398
+ readonly y: 110;
399
+ }, {
400
+ readonly name: "Week 4";
401
+ readonly y: 130;
402
+ }];
403
+ }, {
404
+ readonly name: "Daily Sales Data";
405
+ readonly id: "daily";
406
+ readonly data: readonly [{
407
+ readonly name: "Day 1";
408
+ readonly y: 10;
409
+ }, {
410
+ readonly name: "Day 2";
411
+ readonly y: 15;
412
+ }, {
413
+ readonly name: "Day 3";
414
+ readonly y: 12;
415
+ }, {
416
+ readonly name: "Day 4";
417
+ readonly y: 18;
418
+ }, {
419
+ readonly name: "Day 5";
420
+ readonly y: 15;
421
+ }, {
422
+ readonly name: "Day 6";
423
+ readonly y: 11;
424
+ }, {
425
+ readonly name: "Day 7";
426
+ readonly y: 19;
427
+ }];
428
+ }];
429
+ };
430
+ yAxis: {
431
+ readonly title: {
432
+ readonly text: "Sales";
433
+ };
434
+ };
435
+ legend: {
436
+ readonly enabled: true;
437
+ readonly shadow: false;
438
+ };
439
+ plotOptions: {
440
+ readonly series: {
441
+ readonly cursor: "pointer";
442
+ };
443
+ };
444
+ };
445
+ };
446
+ //# sourceMappingURL=ColumnChart.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColumnChart.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/ColumnChart/ColumnChart.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMzC,wBA2NE;AA0CF,eAAO,MAAM,SAAS,yBAUrB,CAAC;AAOF,eAAO,MAAM,YAAY;WAAU,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAelD,CAAC;AAYF,eAAO,MAAM,yBAAyB;WAAU,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA0BhC,KAAK,CAAC,YAAY,CAC9C,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CACvC;;CAbF,CAAC;AAwFF,eAAO,MAAM,yBAAyB;WAAU,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe/D,CAAC;AA4HF,eAAO,MAAM,mCAAmC;WAAU,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAezE,CAAC"}
@@ -1,16 +1,16 @@
1
1
  import * as React from 'react';
2
2
  import type { ChartOptions, Drilldown, LegendOptionsType, SeriesOptionsType } from '../../../types/charts';
3
3
  import type { ChartWrapperClassNames, ExportOptionType } from '../ChartWrapper';
4
- export type ClassNames = Readonly<((ChartWrapperClassNames) & {
4
+ export type ClassNames = Readonly<ChartWrapperClassNames & {
5
5
  highChart?: string;
6
6
  subtitleClassNames?: SubtitleClassNames;
7
- })>;
7
+ }>;
8
8
  export type SubtitleClassNames = {
9
9
  wrapper?: string;
10
10
  text?: string;
11
11
  subtext?: string;
12
12
  };
13
- export type DonutChartProps = ((ChartOptions) & {
13
+ export type DonutChartProps = ChartOptions & {
14
14
  isLoading?: boolean;
15
15
  classNames?: ClassNames;
16
16
  cardTitle?: React.ReactNode;
@@ -23,6 +23,6 @@ export type DonutChartProps = ((ChartOptions) & {
23
23
  legend?: LegendOptionsType;
24
24
  hasEmptyData?: boolean;
25
25
  emptyText?: React.ReactNode;
26
- });
26
+ };
27
27
  export declare const DonutChart: ({ isLoading, classNames, cardTitle, customExportOptions, headerActions, series, drilldown, legend, centerText, centerSubtext, hasEmptyData, emptyText, ...userOptions }: DonutChartProps) => React.JSX.Element;
28
28
  //# sourceMappingURL=DonutChart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/DonutChart/DonutChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EACV,sBAAsB,EACtB,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAS3C,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,CAAC,CAAC,sBAAsB,CAAC,GAAG;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC,CAAC,CAAC;AAEJ,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC,GAAG;IAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrD,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC,CAAC;AAEH,eAAO,MAAM,UAAU,GACrB,yKAcG,eAAe,sBAuFnB,CAAC"}
1
+ {"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/DonutChart/DonutChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAO9E,MAAM,MAAM,UAAU,GAAG,QAAQ,CAC/B,sBAAsB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CACF,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrD,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,yKAcxB,eAAe,sBAwFjB,CAAC"}
@@ -0,0 +1,227 @@
1
+ import * as React from 'react';
2
+ import type { DonutChartProps } from './';
3
+ declare const _default: {
4
+ tags: string[];
5
+ title: string;
6
+ component: ({ isLoading, classNames, cardTitle, customExportOptions, headerActions, series, drilldown, legend, centerText, centerSubtext, hasEmptyData, emptyText, ...userOptions }: DonutChartProps) => React.JSX.Element;
7
+ argTypes: {
8
+ isLoading: {
9
+ description: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ table: {
14
+ type: {
15
+ summary: string;
16
+ };
17
+ defaultValue: {
18
+ summary: string;
19
+ };
20
+ };
21
+ };
22
+ classNames: {
23
+ description: string;
24
+ control: {
25
+ type: string;
26
+ };
27
+ table: {
28
+ type: {
29
+ summary: string;
30
+ };
31
+ };
32
+ };
33
+ cardTitle: {
34
+ description: string;
35
+ control: {
36
+ type: string;
37
+ };
38
+ type: {
39
+ summary: string;
40
+ };
41
+ };
42
+ centerText: {
43
+ description: string;
44
+ control: {
45
+ type: string;
46
+ };
47
+ };
48
+ centerSubtext: {
49
+ description: string;
50
+ control: {
51
+ type: string;
52
+ };
53
+ };
54
+ customExportOptions: {
55
+ description: string;
56
+ control: {
57
+ type: string;
58
+ };
59
+ table: {
60
+ type: {
61
+ summary: string;
62
+ };
63
+ };
64
+ };
65
+ series: {
66
+ description: string;
67
+ table: {
68
+ type: {
69
+ summary: string;
70
+ };
71
+ };
72
+ };
73
+ legend: {
74
+ description: string;
75
+ control: {
76
+ type: string;
77
+ };
78
+ };
79
+ headerActions: {
80
+ description: string;
81
+ table: {
82
+ type: {
83
+ summary: string;
84
+ };
85
+ };
86
+ };
87
+ hasEmptyData: {
88
+ description: string;
89
+ control: {
90
+ type: string;
91
+ };
92
+ };
93
+ emptyText: {
94
+ description: string;
95
+ table: {
96
+ type: {
97
+ summary: string;
98
+ };
99
+ };
100
+ };
101
+ };
102
+ parameters: {
103
+ docs: {
104
+ subtitle: string;
105
+ description: {
106
+ component: string;
107
+ };
108
+ };
109
+ storySource: {
110
+ componentPath: string;
111
+ };
112
+ };
113
+ };
114
+ export default _default;
115
+ export declare const _DonutChart: {
116
+ (args: DonutChartProps): React.JSX.Element;
117
+ args: {
118
+ classNames: {
119
+ wrapper: string;
120
+ content: string;
121
+ };
122
+ cardTitle: string;
123
+ centerText: string;
124
+ centerSubtext: string;
125
+ customExportOptions: {
126
+ key: string;
127
+ label: string;
128
+ format: string;
129
+ }[];
130
+ series: {
131
+ name: string;
132
+ data: {
133
+ name: string;
134
+ y: number;
135
+ }[];
136
+ }[];
137
+ legend: {
138
+ readonly enabled: true;
139
+ };
140
+ };
141
+ };
142
+ declare const EmptyData: () => React.JSX.Element;
143
+ export declare const _DonutChartWithEmptyData: {
144
+ (args: DonutChartProps): React.JSX.Element;
145
+ args: {
146
+ classNames: {
147
+ wrapper: string;
148
+ content: string;
149
+ };
150
+ cardTitle: string;
151
+ centerText: string;
152
+ centerSubtext: string;
153
+ customExportOptions: {
154
+ key: string;
155
+ label: string;
156
+ format: string;
157
+ }[];
158
+ series: {
159
+ name: string;
160
+ data: {
161
+ name: string;
162
+ y: number;
163
+ }[];
164
+ }[];
165
+ legend: {
166
+ readonly enabled: true;
167
+ };
168
+ hasEmptyData: boolean;
169
+ emptyText: React.ReactElement<React.ComponentProps<typeof EmptyData>>;
170
+ };
171
+ };
172
+ export declare const _DonutChartWithDrilldown: {
173
+ (args: DonutChartProps): React.JSX.Element;
174
+ args: {
175
+ classNames: {
176
+ wrapper: string;
177
+ content: string;
178
+ };
179
+ cardTitle: string;
180
+ centerText: string;
181
+ centerSubtext: string;
182
+ series: {
183
+ type: string;
184
+ name: string;
185
+ innerSize: string;
186
+ data: {
187
+ name: string;
188
+ y: number;
189
+ drilldown: string;
190
+ }[];
191
+ }[];
192
+ drilldown: {
193
+ readonly series: readonly [{
194
+ readonly id: "chrome";
195
+ readonly data: readonly [{
196
+ readonly name: "Version 80";
197
+ readonly y: 10;
198
+ }, {
199
+ readonly name: "Version 81";
200
+ readonly y: 15;
201
+ }];
202
+ }, {
203
+ readonly id: "firefox";
204
+ readonly data: readonly [{
205
+ readonly name: "Version 75";
206
+ readonly y: 8;
207
+ }, {
208
+ readonly name: "Version 76";
209
+ readonly y: 12;
210
+ }];
211
+ }, {
212
+ readonly id: "safari";
213
+ readonly data: readonly [{
214
+ readonly name: "Version 12";
215
+ readonly y: 5;
216
+ }, {
217
+ readonly name: "Version 13";
218
+ readonly y: 10;
219
+ }];
220
+ }];
221
+ };
222
+ legend: {
223
+ readonly enabled: false;
224
+ };
225
+ };
226
+ };
227
+ //# sourceMappingURL=DonutChart.stories.d.ts.map