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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1085) hide show
  1. package/.cspell/custom-words.txt +6 -0
  2. package/.github/workflows/publish_to_npm.yml +38 -17
  3. package/.storybook/main.js +6 -6
  4. package/CHANGELOG.md +10 -0
  5. package/babel.config.js +1 -1
  6. package/config.js +3 -3
  7. package/cspell.json +3 -1
  8. package/eslint.config.mjs +214 -0
  9. package/gulpfile.js +6 -35
  10. package/lib/components/Accordion/Accordion.d.ts +21 -0
  11. package/lib/components/Accordion/Accordion.d.ts.map +1 -0
  12. package/lib/components/Accordion/Accordion.js +3 -1
  13. package/lib/components/Accordion/AccordionGroup.d.ts +17 -0
  14. package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -0
  15. package/lib/components/Accordion/AccordionGroup.js +3 -0
  16. package/lib/components/Accordion/index.d.ts +3 -0
  17. package/lib/components/Accordion/index.d.ts.map +1 -0
  18. package/lib/components/Avatar/Avatar.d.ts +60 -0
  19. package/lib/components/Avatar/Avatar.d.ts.map +1 -0
  20. package/lib/components/Avatar/Avatar.js +14 -6
  21. package/lib/components/Avatar/index.d.ts +2 -0
  22. package/lib/components/Avatar/index.d.ts.map +1 -0
  23. package/lib/components/AvatarGroup/AvatarGroup.d.ts +15 -0
  24. package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
  25. package/lib/components/AvatarGroup/AvatarGroup.js +5 -0
  26. package/lib/components/AvatarGroup/index.d.ts +2 -0
  27. package/lib/components/AvatarGroup/index.d.ts.map +1 -0
  28. package/lib/components/Badge/Badge.d.ts +40 -0
  29. package/lib/components/Badge/Badge.d.ts.map +1 -0
  30. package/lib/components/Badge/index.d.ts +2 -0
  31. package/lib/components/Badge/index.d.ts.map +1 -0
  32. package/lib/components/BadgedIcon/BadgedIcon.d.ts +18 -0
  33. package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -0
  34. package/lib/components/BadgedIcon/BadgedIcon.js +3 -1
  35. package/lib/components/BadgedIcon/index.d.ts +2 -0
  36. package/lib/components/BadgedIcon/index.d.ts.map +1 -0
  37. package/lib/components/Banner/Banner.d.ts +7 -0
  38. package/lib/components/Banner/Banner.d.ts.map +1 -0
  39. package/lib/components/Banner/index.d.ts +2 -0
  40. package/lib/components/Banner/index.d.ts.map +1 -0
  41. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +10 -0
  42. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -0
  43. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +3 -1
  44. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +2 -0
  45. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +1 -0
  46. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +14 -0
  47. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  48. package/lib/components/Breadcrumbs/Breadcrumbs.js +5 -1
  49. package/lib/components/Breadcrumbs/index.d.ts +3 -0
  50. package/lib/components/Breadcrumbs/index.d.ts.map +1 -0
  51. package/lib/components/Button/Button.d.ts +64 -0
  52. package/lib/components/Button/Button.d.ts.map +1 -0
  53. package/lib/components/Button/Button.js +26 -8
  54. package/lib/components/Button/index.d.ts +3 -0
  55. package/lib/components/Button/index.d.ts.map +1 -0
  56. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +40 -0
  57. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -0
  58. package/lib/components/ButtonDropdown/ButtonDropdown.js +13 -3
  59. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +42 -0
  60. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -0
  61. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +6 -0
  62. package/lib/components/ButtonDropdown/index.d.ts +3 -0
  63. package/lib/components/ButtonDropdown/index.d.ts.map +1 -0
  64. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +25 -0
  65. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -0
  66. package/lib/components/ButtonTabs/ButtonTab/index.d.ts +2 -0
  67. package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +1 -0
  68. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +12 -0
  69. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -0
  70. package/lib/components/ButtonTabs/ButtonTabDropdown.js +12 -3
  71. package/lib/components/ButtonTabs/ButtonTabs.d.ts +24 -0
  72. package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -0
  73. package/lib/components/ButtonTabs/ButtonTabs.js +3 -0
  74. package/lib/components/ButtonTabs/index.d.ts +3 -0
  75. package/lib/components/ButtonTabs/index.d.ts.map +1 -0
  76. package/lib/components/Card/Card.d.ts +37 -0
  77. package/lib/components/Card/Card.d.ts.map +1 -0
  78. package/lib/components/Card/Card.js +6 -1
  79. package/lib/components/Card/index.d.ts +2 -0
  80. package/lib/components/Card/index.d.ts.map +1 -0
  81. package/lib/components/Charts/ChartTooltip/index.d.ts +3 -0
  82. package/lib/components/Charts/ChartTooltip/index.d.ts.map +1 -0
  83. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +50 -0
  84. package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -0
  85. package/lib/components/Charts/ChartWrapper/ChartWrapper.js +5 -7
  86. package/lib/components/Charts/ChartWrapper/index.d.ts +2 -0
  87. package/lib/components/Charts/ChartWrapper/index.d.ts.map +1 -0
  88. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +23 -0
  89. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -0
  90. package/lib/components/Charts/ColumnChart/ColumnChart.js +8 -6
  91. package/lib/components/Charts/ColumnChart/index.d.ts +2 -0
  92. package/lib/components/Charts/ColumnChart/index.d.ts.map +1 -0
  93. package/lib/components/Charts/DonutChart/DonutChart.d.ts +28 -0
  94. package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -0
  95. package/lib/components/Charts/DonutChart/DonutChart.js +7 -6
  96. package/lib/components/Charts/DonutChart/index.d.ts +2 -0
  97. package/lib/components/Charts/DonutChart/index.d.ts.map +1 -0
  98. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +25 -0
  99. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -0
  100. package/lib/components/Charts/FunnelChart/FunnelChart.js +6 -7
  101. package/lib/components/Charts/FunnelChart/index.d.ts +2 -0
  102. package/lib/components/Charts/FunnelChart/index.d.ts.map +1 -0
  103. package/lib/components/Charts/LineChart/LineChart.d.ts +23 -0
  104. package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -0
  105. package/lib/components/Charts/LineChart/LineChart.js +6 -6
  106. package/lib/components/Charts/LineChart/index.d.ts +2 -0
  107. package/lib/components/Charts/LineChart/index.d.ts.map +1 -0
  108. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +22 -0
  109. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -0
  110. package/lib/components/Charts/SpiderChart/SpiderChart.js +0 -5
  111. package/lib/components/Charts/SpiderChart/index.d.ts +2 -0
  112. package/lib/components/Charts/SpiderChart/index.d.ts.map +1 -0
  113. package/lib/components/Charts/index.d.ts +8 -0
  114. package/lib/components/Charts/index.d.ts.map +1 -0
  115. package/lib/components/ChatBubble/ChatBubble.d.ts +76 -0
  116. package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -0
  117. package/lib/components/ChatBubble/ChatBubble.js +5 -2
  118. package/lib/components/ChatBubble/index.d.ts +2 -0
  119. package/lib/components/ChatBubble/index.d.ts.map +1 -0
  120. package/lib/components/Checkbox/Checkbox.d.ts +29 -0
  121. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -0
  122. package/lib/components/Checkbox/Checkbox.js +2 -0
  123. package/lib/components/Checkbox/CheckboxGroup.d.ts +26 -0
  124. package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
  125. package/lib/components/Checkbox/CheckboxGroup.js +8 -0
  126. package/lib/components/Checkbox/index.d.ts +3 -0
  127. package/lib/components/Checkbox/index.d.ts.map +1 -0
  128. package/lib/components/Chip/Chip.d.ts +47 -0
  129. package/lib/components/Chip/Chip.d.ts.map +1 -0
  130. package/lib/components/Chip/Chip.js +10 -2
  131. package/lib/components/Chip/index.d.ts +3 -0
  132. package/lib/components/Chip/index.d.ts.map +1 -0
  133. package/lib/components/CircularLoader/CircularLoader.d.ts +10 -0
  134. package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -0
  135. package/lib/components/CircularLoader/index.d.ts +2 -0
  136. package/lib/components/CircularLoader/index.d.ts.map +1 -0
  137. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +40 -0
  138. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -0
  139. package/lib/components/CollapsibleCard/index.d.ts +2 -0
  140. package/lib/components/CollapsibleCard/index.d.ts.map +1 -0
  141. package/lib/components/Combobox/Combobox.d.ts +78 -0
  142. package/lib/components/Combobox/Combobox.d.ts.map +1 -0
  143. package/lib/components/Combobox/Combobox.js +16 -3
  144. package/lib/components/Combobox/helper.d.ts +12 -0
  145. package/lib/components/Combobox/helper.d.ts.map +1 -0
  146. package/lib/components/Combobox/helper.js +1 -0
  147. package/lib/components/Combobox/index.d.ts +2 -0
  148. package/lib/components/Combobox/index.d.ts.map +1 -0
  149. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
  150. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -0
  151. package/lib/components/ConditionalWrapper/ConditionalWrapper.js +0 -2
  152. package/lib/components/ConditionalWrapper/index.d.ts +2 -0
  153. package/lib/components/ConditionalWrapper/index.d.ts.map +1 -0
  154. package/lib/components/DateRangePicker/Calendar.d.ts +22 -0
  155. package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -0
  156. package/lib/components/DateRangePicker/Calendar.js +4 -2
  157. package/lib/components/DateRangePicker/DateRangePicker.d.ts +22 -0
  158. package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  159. package/lib/components/DateRangePicker/DateRangePicker.js +0 -1
  160. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +33 -0
  161. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -0
  162. package/lib/components/DateRangePicker/DateRangeWrapper.js +13 -5
  163. package/lib/components/DateRangePicker/Day.d.ts +17 -0
  164. package/lib/components/DateRangePicker/Day.d.ts.map +1 -0
  165. package/lib/components/DateRangePicker/Day.js +6 -4
  166. package/lib/components/DateRangePicker/index.d.ts +2 -0
  167. package/lib/components/DateRangePicker/index.d.ts.map +1 -0
  168. package/lib/components/Dialog/Dialog.d.ts +46 -0
  169. package/lib/components/Dialog/Dialog.d.ts.map +1 -0
  170. package/lib/components/Dialog/index.d.ts +2 -0
  171. package/lib/components/Dialog/index.d.ts.map +1 -0
  172. package/lib/components/Disclaimer/Disclaimer.d.ts +5 -0
  173. package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -0
  174. package/lib/components/Disclaimer/Disclaimer.js +1 -0
  175. package/lib/components/Disclaimer/index.d.ts +2 -0
  176. package/lib/components/Disclaimer/index.d.ts.map +1 -0
  177. package/lib/components/Dropdown/Dropdown.d.ts +25 -0
  178. package/lib/components/Dropdown/Dropdown.d.ts.map +1 -0
  179. package/lib/components/Dropdown/Dropdown.js +14 -3
  180. package/lib/components/Dropdown/SimpleDropdown.d.ts +44 -0
  181. package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -0
  182. package/lib/components/Dropdown/SimpleDropdown.js +7 -1
  183. package/lib/components/Dropdown/index.d.ts +3 -0
  184. package/lib/components/Dropdown/index.d.ts.map +1 -0
  185. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts +3 -0
  186. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +1 -0
  187. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts +3 -0
  188. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +1 -0
  189. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts +3 -0
  190. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +1 -0
  191. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts +3 -0
  192. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +1 -0
  193. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts +3 -0
  194. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +1 -0
  195. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts +3 -0
  196. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +1 -0
  197. package/lib/components/EmptyState/EmptyImages/index.d.ts +7 -0
  198. package/lib/components/EmptyState/EmptyImages/index.d.ts.map +1 -0
  199. package/lib/components/EmptyState/EmptyState.d.ts +20 -0
  200. package/lib/components/EmptyState/EmptyState.d.ts.map +1 -0
  201. package/lib/components/EmptyState/index.d.ts +2 -0
  202. package/lib/components/EmptyState/index.d.ts.map +1 -0
  203. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts +3 -0
  204. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +1 -0
  205. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts +3 -0
  206. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +1 -0
  207. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts +3 -0
  208. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +1 -0
  209. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts +3 -0
  210. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +1 -0
  211. package/lib/components/ErrorMessage/ErrorImages/index.d.ts +5 -0
  212. package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +1 -0
  213. package/lib/components/ErrorMessage/ErrorMessage.d.ts +22 -0
  214. package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -0
  215. package/lib/components/ErrorMessage/index.d.ts +2 -0
  216. package/lib/components/ErrorMessage/index.d.ts.map +1 -0
  217. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +14 -0
  218. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -0
  219. package/lib/components/FileUpload/FileBlock/index.d.ts +2 -0
  220. package/lib/components/FileUpload/FileBlock/index.d.ts.map +1 -0
  221. package/lib/components/FileUpload/FileUpload.d.ts +62 -0
  222. package/lib/components/FileUpload/FileUpload.d.ts.map +1 -0
  223. package/lib/components/FileUpload/FileUpload.js +6 -1
  224. package/lib/components/FileUpload/index.d.ts +3 -0
  225. package/lib/components/FileUpload/index.d.ts.map +1 -0
  226. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +30 -0
  227. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -0
  228. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +9 -1
  229. package/lib/components/FilterButtonOverlay/index.d.ts +2 -0
  230. package/lib/components/FilterButtonOverlay/index.d.ts.map +1 -0
  231. package/lib/components/FocusManager/FocusManager.d.ts +15 -0
  232. package/lib/components/FocusManager/FocusManager.d.ts.map +1 -0
  233. package/lib/components/FocusManager/index.d.ts +2 -0
  234. package/lib/components/FocusManager/index.d.ts.map +1 -0
  235. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +19 -0
  236. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -0
  237. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +11 -0
  238. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +2 -0
  239. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +1 -0
  240. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +21 -0
  241. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -0
  242. package/lib/components/FormTitleWrapper/index.d.ts +2 -0
  243. package/lib/components/FormTitleWrapper/index.d.ts.map +1 -0
  244. package/lib/components/Grid/Grid.d.ts +20 -0
  245. package/lib/components/Grid/Grid.d.ts.map +1 -0
  246. package/lib/components/Grid/Grid.js +8 -0
  247. package/lib/components/Grid/index.d.ts +2 -0
  248. package/lib/components/Grid/index.d.ts.map +1 -0
  249. package/lib/components/Icon/ClickableIcon.d.ts +26 -0
  250. package/lib/components/Icon/ClickableIcon.d.ts.map +1 -0
  251. package/lib/components/Icon/ClickableIcon.js +4 -2
  252. package/lib/components/Icon/Icon.d.ts +31 -0
  253. package/lib/components/Icon/Icon.d.ts.map +1 -0
  254. package/lib/components/Icon/Icon.docs.d.ts +134 -0
  255. package/lib/components/Icon/Icon.docs.d.ts.map +1 -0
  256. package/lib/components/Icon/Icon.docs.js +1 -1
  257. package/lib/components/Icon/Icon.js +3 -1
  258. package/lib/components/Icon/SemanticIcon.d.ts +14 -0
  259. package/lib/components/Icon/SemanticIcon.d.ts.map +1 -0
  260. package/lib/components/Icon/SemanticIcon.js +3 -1
  261. package/lib/components/Icon/index.d.ts +4 -0
  262. package/lib/components/Icon/index.d.ts.map +1 -0
  263. package/lib/components/InContextAlert/InContextAlert.d.ts +31 -0
  264. package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -0
  265. package/lib/components/InContextAlert/InContextAlert.js +2 -0
  266. package/lib/components/InContextAlert/index.d.ts +2 -0
  267. package/lib/components/InContextAlert/index.d.ts.map +1 -0
  268. package/lib/components/InfinitePagination/InfinitePagination.d.ts +26 -0
  269. package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -0
  270. package/lib/components/InfinitePagination/InfinitePagination.js +9 -2
  271. package/lib/components/InfinitePagination/index.d.ts +2 -0
  272. package/lib/components/InfinitePagination/index.d.ts.map +1 -0
  273. package/lib/components/InlineDropdown/InlineDropdown.d.ts +25 -0
  274. package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -0
  275. package/lib/components/InlineDropdown/InlineDropdown.js +12 -3
  276. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +40 -0
  277. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -0
  278. package/lib/components/InlineDropdown/SimpleInlineDropdown.js +7 -0
  279. package/lib/components/InlineDropdown/index.d.ts +3 -0
  280. package/lib/components/InlineDropdown/index.d.ts.map +1 -0
  281. package/lib/components/Input/Input.d.ts +74 -0
  282. package/lib/components/Input/Input.d.ts.map +1 -0
  283. package/lib/components/Input/Input.js +15 -4
  284. package/lib/components/Input/index.d.ts +2 -0
  285. package/lib/components/Input/index.d.ts.map +1 -0
  286. package/lib/components/KPIBox/KPIBox.d.ts +24 -0
  287. package/lib/components/KPIBox/KPIBox.d.ts.map +1 -0
  288. package/lib/components/KPIBox/KPIBox.js +1 -1
  289. package/lib/components/KPIBox/index.d.ts +2 -0
  290. package/lib/components/KPIBox/index.d.ts.map +1 -0
  291. package/lib/components/LinearLoader/LinearLoader.d.ts +9 -0
  292. package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -0
  293. package/lib/components/LinearLoader/index.d.ts +2 -0
  294. package/lib/components/LinearLoader/index.d.ts.map +1 -0
  295. package/lib/components/Link/Link.d.ts +93 -0
  296. package/lib/components/Link/Link.d.ts.map +1 -0
  297. package/lib/components/Link/Link.js +16 -5
  298. package/lib/components/Link/index.d.ts +2 -0
  299. package/lib/components/Link/index.d.ts.map +1 -0
  300. package/lib/components/Menu/Menu.d.ts +74 -0
  301. package/lib/components/Menu/Menu.d.ts.map +1 -0
  302. package/lib/components/Menu/Menu.js +5 -2
  303. package/lib/components/Menu/MenuOptionButton.d.ts +9 -0
  304. package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -0
  305. package/lib/components/Menu/MenuOptionButton.js +6 -1
  306. package/lib/components/Menu/index.d.ts +3 -0
  307. package/lib/components/Menu/index.d.ts.map +1 -0
  308. package/lib/components/Modal/Modal.d.ts +64 -0
  309. package/lib/components/Modal/Modal.d.ts.map +1 -0
  310. package/lib/components/Modal/Modal.js +6 -2
  311. package/lib/components/Modal/index.d.ts +3 -0
  312. package/lib/components/Modal/index.d.ts.map +1 -0
  313. package/lib/components/Notification/Notification.d.ts +37 -0
  314. package/lib/components/Notification/Notification.d.ts.map +1 -0
  315. package/lib/components/Notification/Notification.js +1 -0
  316. package/lib/components/Notification/index.d.ts +2 -0
  317. package/lib/components/Notification/index.d.ts.map +1 -0
  318. package/lib/components/OptionButton/OptionButton.d.ts +33 -0
  319. package/lib/components/OptionButton/OptionButton.d.ts.map +1 -0
  320. package/lib/components/OptionButton/SimpleOptionButton.d.ts +47 -0
  321. package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -0
  322. package/lib/components/OptionButton/SimpleOptionButton.js +4 -0
  323. package/lib/components/OptionButton/index.d.ts +3 -0
  324. package/lib/components/OptionButton/index.d.ts.map +1 -0
  325. package/lib/components/PageTitle/PageTitle.d.ts +156 -0
  326. package/lib/components/PageTitle/PageTitle.d.ts.map +1 -0
  327. package/lib/components/PageTitle/PageTitle.js +7 -2
  328. package/lib/components/PageTitle/index.d.ts +2 -0
  329. package/lib/components/PageTitle/index.d.ts.map +1 -0
  330. package/lib/components/Pagination/Pagination.d.ts +39 -0
  331. package/lib/components/Pagination/Pagination.d.ts.map +1 -0
  332. package/lib/components/Pagination/Pagination.js +3 -1
  333. package/lib/components/Pagination/PaginationItem.d.ts +5 -0
  334. package/lib/components/Pagination/PaginationItem.d.ts.map +1 -0
  335. package/lib/components/Pagination/PaginationItem.js +3 -0
  336. package/lib/components/Pagination/index.d.ts +2 -0
  337. package/lib/components/Pagination/index.d.ts.map +1 -0
  338. package/lib/components/Panel/Panel.d.ts +35 -0
  339. package/lib/components/Panel/Panel.d.ts.map +1 -0
  340. package/lib/components/Panel/index.d.ts +3 -0
  341. package/lib/components/Panel/index.d.ts.map +1 -0
  342. package/lib/components/ProgressDonut/ProgressDonut.d.ts +13 -0
  343. package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -0
  344. package/lib/components/ProgressDonut/ProgressDonut.js +1 -0
  345. package/lib/components/ProgressDonut/index.d.ts +2 -0
  346. package/lib/components/ProgressDonut/index.d.ts.map +1 -0
  347. package/lib/components/PromptChip/PromptChip.d.ts +38 -0
  348. package/lib/components/PromptChip/PromptChip.d.ts.map +1 -0
  349. package/lib/components/PromptChip/PromptChip.js +8 -2
  350. package/lib/components/PromptChip/index.d.ts +2 -0
  351. package/lib/components/PromptChip/index.d.ts.map +1 -0
  352. package/lib/components/PromptInput/PromptInput.d.ts +38 -0
  353. package/lib/components/PromptInput/PromptInput.d.ts.map +1 -0
  354. package/lib/components/PromptInput/PromptInput.js +10 -1
  355. package/lib/components/PromptInput/index.d.ts +2 -0
  356. package/lib/components/PromptInput/index.d.ts.map +1 -0
  357. package/lib/components/RadioButton/RadioButton.d.ts +31 -0
  358. package/lib/components/RadioButton/RadioButton.d.ts.map +1 -0
  359. package/lib/components/RadioButton/RadioButton.js +1 -0
  360. package/lib/components/RadioButton/RadioGroup.d.ts +27 -0
  361. package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -0
  362. package/lib/components/RadioButton/RadioGroup.js +2 -0
  363. package/lib/components/RadioButton/index.d.ts +3 -0
  364. package/lib/components/RadioButton/index.d.ts.map +1 -0
  365. package/lib/components/RadioTile/RadioTile.d.ts +23 -0
  366. package/lib/components/RadioTile/RadioTile.d.ts.map +1 -0
  367. package/lib/components/RadioTile/RadioTile.js +2 -0
  368. package/lib/components/RadioTile/index.d.ts +2 -0
  369. package/lib/components/RadioTile/index.d.ts.map +1 -0
  370. package/lib/components/RangeSlider/RangeSlider.d.ts +27 -0
  371. package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -0
  372. package/lib/components/RangeSlider/RangeSlider.js +3 -0
  373. package/lib/components/RangeSlider/index.d.ts +2 -0
  374. package/lib/components/RangeSlider/index.d.ts.map +1 -0
  375. package/lib/components/Rating/Rating.d.ts +32 -0
  376. package/lib/components/Rating/Rating.d.ts.map +1 -0
  377. package/lib/components/Rating/Rating.js +7 -3
  378. package/lib/components/Rating/index.d.ts +2 -0
  379. package/lib/components/Rating/index.d.ts.map +1 -0
  380. package/lib/components/ScoreBar/ScoreBar.d.ts +28 -0
  381. package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -0
  382. package/lib/components/ScoreBar/ScoreBar.js +1 -1
  383. package/lib/components/ScoreBar/index.d.ts +2 -0
  384. package/lib/components/ScoreBar/index.d.ts.map +1 -0
  385. package/lib/components/SearchInput/SearchInput.d.ts +15 -0
  386. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -0
  387. package/lib/components/SearchInput/index.d.ts +3 -0
  388. package/lib/components/SearchInput/index.d.ts.map +1 -0
  389. package/lib/components/Separator/Separator.d.ts +18 -0
  390. package/lib/components/Separator/Separator.d.ts.map +1 -0
  391. package/lib/components/Separator/index.d.ts +2 -0
  392. package/lib/components/Separator/index.d.ts.map +1 -0
  393. package/lib/components/Shimmer/Shimmer.d.ts +57 -0
  394. package/lib/components/Shimmer/Shimmer.d.ts.map +1 -0
  395. package/lib/components/Shimmer/Shimmer.js +3 -1
  396. package/lib/components/Shimmer/index.d.ts +2 -0
  397. package/lib/components/Shimmer/index.d.ts.map +1 -0
  398. package/lib/components/SideMenuLink/SideMenuLink.d.ts +211 -0
  399. package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -0
  400. package/lib/components/SideMenuLink/SideMenuLink.js +8 -2
  401. package/lib/components/SideMenuLink/index.d.ts +2 -0
  402. package/lib/components/SideMenuLink/index.d.ts.map +1 -0
  403. package/lib/components/StatusIndicator/StatusIndicator.d.ts +25 -0
  404. package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -0
  405. package/lib/components/StatusIndicator/index.d.ts +2 -0
  406. package/lib/components/StatusIndicator/index.d.ts.map +1 -0
  407. package/lib/components/Stepper/Step/Step.d.ts +25 -0
  408. package/lib/components/Stepper/Step/Step.d.ts.map +1 -0
  409. package/lib/components/Stepper/Step/Step.js +12 -3
  410. package/lib/components/Stepper/Step/StepContent.d.ts +14 -0
  411. package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -0
  412. package/lib/components/Stepper/Step/StepLabel.d.ts +14 -0
  413. package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -0
  414. package/lib/components/Stepper/Step/index.d.ts +4 -0
  415. package/lib/components/Stepper/Step/index.d.ts.map +1 -0
  416. package/lib/components/Stepper/Stepper.d.ts +15 -0
  417. package/lib/components/Stepper/Stepper.d.ts.map +1 -0
  418. package/lib/components/Stepper/Stepper.js +4 -0
  419. package/lib/components/Stepper/index.d.ts +3 -0
  420. package/lib/components/Stepper/index.d.ts.map +1 -0
  421. package/lib/components/StickyBar/StickyBar.d.ts +15 -0
  422. package/lib/components/StickyBar/StickyBar.d.ts.map +1 -0
  423. package/lib/components/StickyBar/index.d.ts +2 -0
  424. package/lib/components/StickyBar/index.d.ts.map +1 -0
  425. package/lib/components/SubMenu/SubMenu.d.ts +19 -0
  426. package/lib/components/SubMenu/SubMenu.d.ts.map +1 -0
  427. package/lib/components/SubMenu/SubMenuGroup.d.ts +24 -0
  428. package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -0
  429. package/lib/components/SubMenu/SubMenuGroup.js +11 -3
  430. package/lib/components/SubMenu/SubMenuItem.d.ts +42 -0
  431. package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -0
  432. package/lib/components/SubMenu/SubMenuItem.js +14 -4
  433. package/lib/components/SubMenu/SubMenuLink.d.ts +14 -0
  434. package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -0
  435. package/lib/components/SubMenu/SubMenuLink.js +6 -2
  436. package/lib/components/SubMenu/index.d.ts +5 -0
  437. package/lib/components/SubMenu/index.d.ts.map +1 -0
  438. package/lib/components/Table/Cell.d.ts +37 -0
  439. package/lib/components/Table/Cell.d.ts.map +1 -0
  440. package/lib/components/Table/Cell.js +3 -3
  441. package/lib/components/Table/DefaultRow.d.ts +39 -0
  442. package/lib/components/Table/DefaultRow.d.ts.map +1 -0
  443. package/lib/components/Table/DefaultRow.js +1 -1
  444. package/lib/components/Table/DefaultTableHeader.d.ts +43 -0
  445. package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -0
  446. package/lib/components/Table/DefaultTableHeader.js +9 -2
  447. package/lib/components/Table/StaticTable.d.ts +24 -0
  448. package/lib/components/Table/StaticTable.d.ts.map +1 -0
  449. package/lib/components/Table/StaticTable.js +48 -18
  450. package/lib/components/Table/Table.d.ts +64 -0
  451. package/lib/components/Table/Table.d.ts.map +1 -0
  452. package/lib/components/Table/Table.docs.d.ts +299 -0
  453. package/lib/components/Table/Table.docs.d.ts.map +1 -0
  454. package/lib/components/Table/Table.docs.js +4 -4
  455. package/lib/components/Table/Table.js +16 -12
  456. package/lib/components/Table/TableActionBar.d.ts +11 -0
  457. package/lib/components/Table/TableActionBar.d.ts.map +1 -0
  458. package/lib/components/Table/TableBottomBar.d.ts +7 -0
  459. package/lib/components/Table/TableBottomBar.d.ts.map +1 -0
  460. package/lib/components/Table/TableTopBar.d.ts +7 -0
  461. package/lib/components/Table/TableTopBar.d.ts.map +1 -0
  462. package/lib/components/Table/dummyTableData.d.ts +1946 -0
  463. package/lib/components/Table/dummyTableData.d.ts.map +1 -0
  464. package/lib/components/Table/hooks.d.ts +15 -0
  465. package/lib/components/Table/hooks.d.ts.map +1 -0
  466. package/lib/components/Table/hooks.js +8 -1
  467. package/lib/components/Table/index.d.ts +9 -0
  468. package/lib/components/Table/index.d.ts.map +1 -0
  469. package/lib/components/Tabs/Tab/Tab.d.ts +35 -0
  470. package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -0
  471. package/lib/components/Tabs/Tab/Tab.js +5 -1
  472. package/lib/components/Tabs/Tab/index.d.ts +2 -0
  473. package/lib/components/Tabs/Tab/index.d.ts.map +1 -0
  474. package/lib/components/Tabs/TabList/TabDropdown.d.ts +24 -0
  475. package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -0
  476. package/lib/components/Tabs/TabList/TabDropdown.js +8 -2
  477. package/lib/components/Tabs/TabList/TabList.d.ts +24 -0
  478. package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -0
  479. package/lib/components/Tabs/TabList/TabList.js +17 -3
  480. package/lib/components/Tabs/TabList/index.d.ts +2 -0
  481. package/lib/components/Tabs/TabList/index.d.ts.map +1 -0
  482. package/lib/components/Tabs/index.d.ts +3 -0
  483. package/lib/components/Tabs/index.d.ts.map +1 -0
  484. package/lib/components/Text/Text.d.ts +46 -0
  485. package/lib/components/Text/Text.d.ts.map +1 -0
  486. package/lib/components/Text/Text.js +1 -0
  487. package/lib/components/Text/index.d.ts +4 -0
  488. package/lib/components/Text/index.d.ts.map +1 -0
  489. package/lib/components/TextTile/TextTile.d.ts +14 -0
  490. package/lib/components/TextTile/TextTile.d.ts.map +1 -0
  491. package/lib/components/TextTile/index.d.ts +2 -0
  492. package/lib/components/TextTile/index.d.ts.map +1 -0
  493. package/lib/components/Textarea/Textarea.d.ts +28 -0
  494. package/lib/components/Textarea/Textarea.d.ts.map +1 -0
  495. package/lib/components/Textarea/Textarea.js +14 -4
  496. package/lib/components/Textarea/index.d.ts +3 -0
  497. package/lib/components/Textarea/index.d.ts.map +1 -0
  498. package/lib/components/Timeline/Timeline.d.ts +18 -0
  499. package/lib/components/Timeline/Timeline.d.ts.map +1 -0
  500. package/lib/components/Timeline/Timeline.js +8 -1
  501. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +28 -0
  502. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -0
  503. package/lib/components/Timeline/TimelineItem/TimelineItem.js +9 -2
  504. package/lib/components/Timeline/TimelineItem/index.d.ts +2 -0
  505. package/lib/components/Timeline/TimelineItem/index.d.ts.map +1 -0
  506. package/lib/components/Timeline/index.d.ts +3 -0
  507. package/lib/components/Timeline/index.d.ts.map +1 -0
  508. package/lib/components/Toast/Toast.d.ts +46 -0
  509. package/lib/components/Toast/Toast.d.ts.map +1 -0
  510. package/lib/components/Toast/Toast.js +10 -1
  511. package/lib/components/Toast/ToastContainer.d.ts +3 -0
  512. package/lib/components/Toast/ToastContainer.d.ts.map +1 -0
  513. package/lib/components/Toast/ToastContainer.js +2 -5
  514. package/lib/components/Toast/ToastManager.d.ts +23 -0
  515. package/lib/components/Toast/ToastManager.d.ts.map +1 -0
  516. package/lib/components/Toast/ToastManager.js +1 -0
  517. package/lib/components/Toast/index.d.ts +5 -0
  518. package/lib/components/Toast/index.d.ts.map +1 -0
  519. package/lib/components/Toggle/Toggle.d.ts +30 -0
  520. package/lib/components/Toggle/Toggle.d.ts.map +1 -0
  521. package/lib/components/Toggle/Toggle.js +1 -0
  522. package/lib/components/Toggle/index.d.ts +2 -0
  523. package/lib/components/Toggle/index.d.ts.map +1 -0
  524. package/lib/components/TokenListInput/TokenListInput.d.ts +57 -0
  525. package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -0
  526. package/lib/components/TokenListInput/TokenListInput.js +27 -10
  527. package/lib/components/TokenListInput/TokenValueChips.d.ts +20 -0
  528. package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -0
  529. package/lib/components/TokenListInput/TokenValueChips.js +2 -4
  530. package/lib/components/TokenListInput/index.d.ts +2 -0
  531. package/lib/components/TokenListInput/index.d.ts.map +1 -0
  532. package/lib/components/Tooltip/Tooltip.d.ts +44 -0
  533. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -0
  534. package/lib/components/Tooltip/Tooltip.js +6 -3
  535. package/lib/components/Tooltip/index.d.ts +2 -0
  536. package/lib/components/Tooltip/index.d.ts.map +1 -0
  537. package/lib/components/Truncate/Truncate.d.ts +12 -0
  538. package/lib/components/Truncate/Truncate.d.ts.map +1 -0
  539. package/lib/components/Truncate/Truncate.js +5 -1
  540. package/lib/components/Truncate/index.d.ts +3 -0
  541. package/lib/components/Truncate/index.d.ts.map +1 -0
  542. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +16 -0
  543. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -0
  544. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +6 -1
  545. package/lib/components/TruncatedTextWithTooltip/index.d.ts +2 -0
  546. package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +1 -0
  547. package/lib/components/Typeahead/SimpleTypeahead.d.ts +41 -0
  548. package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -0
  549. package/lib/components/Typeahead/SimpleTypeahead.js +4 -0
  550. package/lib/components/Typeahead/Typeahead.d.ts +30 -0
  551. package/lib/components/Typeahead/Typeahead.d.ts.map +1 -0
  552. package/lib/components/Typeahead/Typeahead.js +12 -3
  553. package/lib/components/Typeahead/index.d.ts +3 -0
  554. package/lib/components/Typeahead/index.d.ts.map +1 -0
  555. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +36 -0
  556. package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -0
  557. package/lib/components/WeekdayPicker/index.d.ts +2 -0
  558. package/lib/components/WeekdayPicker/index.d.ts.map +1 -0
  559. package/lib/components/index.d.ts +76 -0
  560. package/lib/components/index.d.ts.map +1 -0
  561. package/lib/flow-to-typescript-codemod.d.ts +49 -0
  562. package/lib/hooks/index.d.ts +17 -0
  563. package/lib/hooks/index.d.ts.map +1 -0
  564. package/lib/hooks/useArbitraryOptionAddition/index.d.ts +2 -0
  565. package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +1 -0
  566. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +24 -0
  567. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -0
  568. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +9 -9
  569. package/lib/hooks/useCopyToClipboard/index.d.ts +2 -0
  570. package/lib/hooks/useCopyToClipboard/index.d.ts.map +1 -0
  571. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +5 -0
  572. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts.map +1 -0
  573. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +1 -0
  574. package/lib/hooks/useDebounce/index.d.ts +2 -0
  575. package/lib/hooks/useDebounce/index.d.ts.map +1 -0
  576. package/lib/hooks/useDebounce/useDebounce.d.ts +2 -0
  577. package/lib/hooks/useDebounce/useDebounce.d.ts.map +1 -0
  578. package/lib/hooks/useFileUpload/index.d.ts +2 -0
  579. package/lib/hooks/useFileUpload/index.d.ts.map +1 -0
  580. package/lib/hooks/useFileUpload/useFileUpload.d.ts +17 -0
  581. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -0
  582. package/lib/hooks/useFileUpload/useFileUpload.js +7 -2
  583. package/lib/hooks/useFilteredOptions/index.d.ts +2 -0
  584. package/lib/hooks/useFilteredOptions/index.d.ts.map +1 -0
  585. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +17 -0
  586. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -0
  587. package/lib/hooks/useFilteredOptions/useFilteredOptions.js +5 -3
  588. package/lib/hooks/useInfiniteScroll/index.d.ts +2 -0
  589. package/lib/hooks/useInfiniteScroll/index.d.ts.map +1 -0
  590. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +15 -0
  591. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -0
  592. package/lib/hooks/useInputState/index.d.ts +2 -0
  593. package/lib/hooks/useInputState/index.d.ts.map +1 -0
  594. package/lib/hooks/useInputState/useInputState.d.ts +13 -0
  595. package/lib/hooks/useInputState/useInputState.d.ts.map +1 -0
  596. package/lib/hooks/useInputState/useInputState.js +3 -1
  597. package/lib/hooks/useLockedBody/index.d.ts +2 -0
  598. package/lib/hooks/useLockedBody/index.d.ts.map +1 -0
  599. package/lib/hooks/useLockedBody/useLockedBody.d.ts +4 -0
  600. package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +1 -0
  601. package/lib/hooks/useLockedBody/useLockedBody.js +0 -1
  602. package/lib/hooks/useModal/index.d.ts +2 -0
  603. package/lib/hooks/useModal/index.d.ts.map +1 -0
  604. package/lib/hooks/useModal/useModal.d.ts +11 -0
  605. package/lib/hooks/useModal/useModal.d.ts.map +1 -0
  606. package/lib/hooks/useMountTransition/index.d.ts +3 -0
  607. package/lib/hooks/useMountTransition/index.d.ts.map +1 -0
  608. package/lib/hooks/useMountTransition/index.js +2 -0
  609. package/lib/hooks/usePagination/index.d.ts +2 -0
  610. package/lib/hooks/usePagination/index.d.ts.map +1 -0
  611. package/lib/hooks/usePagination/usePagination.d.ts +5 -0
  612. package/lib/hooks/usePagination/usePagination.d.ts.map +1 -0
  613. package/lib/hooks/usePagination/usePagination.js +5 -2
  614. package/lib/hooks/useReferenceElementWidth/index.d.ts +2 -0
  615. package/lib/hooks/useReferenceElementWidth/index.d.ts.map +1 -0
  616. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts +2 -0
  617. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +1 -0
  618. package/lib/hooks/useResizeObserver/index.d.ts +2 -0
  619. package/lib/hooks/useResizeObserver/index.d.ts.map +1 -0
  620. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +3 -0
  621. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +1 -0
  622. package/lib/hooks/useResizeObserver/useResizeObserver.js +3 -0
  623. package/lib/hooks/useToastPortal/index.d.ts +2 -0
  624. package/lib/hooks/useToastPortal/index.d.ts.map +1 -0
  625. package/lib/hooks/useToastPortal/useToastPortal.d.ts +10 -0
  626. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -0
  627. package/lib/hooks/useToastPortal/useToastPortal.js +3 -3
  628. package/lib/hooks/useToggle/index.d.ts +2 -0
  629. package/lib/hooks/useToggle/index.d.ts.map +1 -0
  630. package/lib/hooks/useToggle/useToggle.d.ts +2 -0
  631. package/lib/hooks/useToggle/useToggle.d.ts.map +1 -0
  632. package/lib/hooks/useWindowSize/index.d.ts +2 -0
  633. package/lib/hooks/useWindowSize/index.d.ts.map +1 -0
  634. package/lib/hooks/useWindowSize/useWindowSize.d.ts +7 -0
  635. package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +1 -0
  636. package/lib/index.d.ts +6 -0
  637. package/lib/index.d.ts.map +1 -0
  638. package/lib/styles/index.d.ts +268 -0
  639. package/lib/styles/index.d.ts.map +1 -0
  640. package/lib/styles/variables/_border.d.ts +13 -0
  641. package/lib/styles/variables/_border.d.ts.map +1 -0
  642. package/lib/styles/variables/_color.d.ts +105 -0
  643. package/lib/styles/variables/_color.d.ts.map +1 -0
  644. package/lib/styles/variables/_elevation.d.ts +8 -0
  645. package/lib/styles/variables/_elevation.d.ts.map +1 -0
  646. package/lib/styles/variables/_font.d.ts +31 -0
  647. package/lib/styles/variables/_font.d.ts.map +1 -0
  648. package/lib/styles/variables/_motion.d.ts +7 -0
  649. package/lib/styles/variables/_motion.d.ts.map +1 -0
  650. package/lib/styles/variables/_opacity.d.ts +16 -0
  651. package/lib/styles/variables/_opacity.d.ts.map +1 -0
  652. package/lib/styles/variables/_shadow.d.ts +25 -0
  653. package/lib/styles/variables/_shadow.d.ts.map +1 -0
  654. package/lib/styles/variables/_size.d.ts +58 -0
  655. package/lib/styles/variables/_size.d.ts.map +1 -0
  656. package/lib/styles/variables/_space.d.ts +13 -0
  657. package/lib/styles/variables/_space.d.ts.map +1 -0
  658. package/lib/types/charts.d.ts +224 -0
  659. package/lib/types/charts.d.ts.map +1 -0
  660. package/lib/types/charts.js +5 -1
  661. package/lib/types/common.d.ts +10 -0
  662. package/lib/types/common.d.ts.map +1 -0
  663. package/lib/types/cssvariables.d.js +3 -0
  664. package/lib/types/date-range-picker.d.ts +21 -0
  665. package/lib/types/date-range-picker.d.ts.map +1 -0
  666. package/lib/types/date-range-picker.js +5 -1
  667. package/lib/types/flow-to-typescript-codemod.d.js +1 -0
  668. package/lib/types/global.d.js +1 -0
  669. package/lib/types/index.d.ts +7 -0
  670. package/lib/types/index.d.ts.map +1 -0
  671. package/lib/types/menu.d.ts +13 -0
  672. package/lib/types/menu.d.ts.map +1 -0
  673. package/lib/types/menu.js +5 -1
  674. package/lib/types/toast.d.ts +28 -0
  675. package/lib/types/toast.d.ts.map +1 -0
  676. package/lib/types/toast.js +0 -2
  677. package/lib/types/typography.d.ts +17 -0
  678. package/lib/types/typography.d.ts.map +1 -0
  679. package/lib/utils/array/are-arrays-equal.d.ts +4 -0
  680. package/lib/utils/array/are-arrays-equal.d.ts.map +1 -0
  681. package/lib/utils/array/index.d.ts +2 -0
  682. package/lib/utils/array/index.d.ts.map +1 -0
  683. package/lib/utils/charts/charts.d.ts +17 -0
  684. package/lib/utils/charts/charts.d.ts.map +1 -0
  685. package/lib/utils/charts/charts.js +4 -0
  686. package/lib/utils/charts/columnChart.d.ts +8 -0
  687. package/lib/utils/charts/columnChart.d.ts.map +1 -0
  688. package/lib/utils/charts/columnChart.js +3 -1
  689. package/lib/utils/charts/donutChart.d.ts +21 -0
  690. package/lib/utils/charts/donutChart.d.ts.map +1 -0
  691. package/lib/utils/charts/donutChart.js +7 -2
  692. package/lib/utils/charts/funnelChart.d.ts +10 -0
  693. package/lib/utils/charts/funnelChart.d.ts.map +1 -0
  694. package/lib/utils/charts/funnelChart.js +5 -1
  695. package/lib/utils/charts/helpers.d.ts +76 -0
  696. package/lib/utils/charts/helpers.d.ts.map +1 -0
  697. package/lib/utils/charts/index.d.ts +8 -0
  698. package/lib/utils/charts/index.d.ts.map +1 -0
  699. package/lib/utils/charts/lineChart.d.ts +7 -0
  700. package/lib/utils/charts/lineChart.d.ts.map +1 -0
  701. package/lib/utils/charts/lineChart.js +3 -1
  702. package/lib/utils/charts/spiderChart.d.ts +18 -0
  703. package/lib/utils/charts/spiderChart.d.ts.map +1 -0
  704. package/lib/utils/charts/typography.d.ts +58 -0
  705. package/lib/utils/charts/typography.d.ts.map +1 -0
  706. package/lib/utils/classify/index.d.ts +3 -0
  707. package/lib/utils/classify/index.d.ts.map +1 -0
  708. package/lib/utils/classify/index.js +1 -1
  709. package/lib/utils/click-away/click-away.d.ts +77 -0
  710. package/lib/utils/click-away/click-away.d.ts.map +1 -0
  711. package/lib/utils/click-away/click-away.js +18 -5
  712. package/lib/utils/click-away/index.d.ts +2 -0
  713. package/lib/utils/click-away/index.d.ts.map +1 -0
  714. package/lib/utils/date-range-picker/date-range-picker.d.ts +63 -0
  715. package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -0
  716. package/lib/utils/date-range-picker/date-range-picker.js +17 -2
  717. package/lib/utils/date-range-picker/index.d.ts +3 -0
  718. package/lib/utils/date-range-picker/index.d.ts.map +1 -0
  719. package/lib/utils/date-range-picker/timezones.d.ts +258 -0
  720. package/lib/utils/date-range-picker/timezones.d.ts.map +1 -0
  721. package/lib/utils/date-range-picker/timezones.js +0 -1
  722. package/lib/utils/dom/dom.d.ts +38 -0
  723. package/lib/utils/dom/dom.d.ts.map +1 -0
  724. package/lib/utils/dom/dom.js +9 -7
  725. package/lib/utils/dom/index.d.ts +2 -0
  726. package/lib/utils/dom/index.d.ts.map +1 -0
  727. package/lib/utils/helpers/helpers.d.ts +4 -0
  728. package/lib/utils/helpers/helpers.d.ts.map +1 -0
  729. package/lib/utils/helpers/index.d.ts +2 -0
  730. package/lib/utils/helpers/index.d.ts.map +1 -0
  731. package/lib/utils/index.d.ts +15 -0
  732. package/lib/utils/index.d.ts.map +1 -0
  733. package/lib/utils/makeClassNameComponent/index.d.ts +2 -0
  734. package/lib/utils/makeClassNameComponent/index.d.ts.map +1 -0
  735. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +9 -0
  736. package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -0
  737. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +20 -7
  738. package/lib/utils/menu/index.d.ts +2 -0
  739. package/lib/utils/menu/index.d.ts.map +1 -0
  740. package/lib/utils/menu/menu.d.ts +20 -0
  741. package/lib/utils/menu/menu.d.ts.map +1 -0
  742. package/lib/utils/menu/menu.js +0 -2
  743. package/lib/utils/merge-refs/index.d.ts +2 -0
  744. package/lib/utils/merge-refs/index.d.ts.map +1 -0
  745. package/lib/utils/merge-refs/merge-refs.d.ts +4 -0
  746. package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -0
  747. package/lib/utils/merge-refs/merge-refs.js +1 -0
  748. package/lib/utils/rating/index.d.ts +2 -0
  749. package/lib/utils/rating/index.d.ts.map +1 -0
  750. package/lib/utils/rating/rating.d.ts +13 -0
  751. package/lib/utils/rating/rating.d.ts.map +1 -0
  752. package/lib/utils/score-bar/index.d.ts +2 -0
  753. package/lib/utils/score-bar/index.d.ts.map +1 -0
  754. package/lib/utils/score-bar/score-bar.d.ts +10 -0
  755. package/lib/utils/score-bar/score-bar.d.ts.map +1 -0
  756. package/lib/utils/string/index.d.ts +2 -0
  757. package/lib/utils/string/index.d.ts.map +1 -0
  758. package/lib/utils/string/string.d.ts +6 -0
  759. package/lib/utils/string/string.d.ts.map +1 -0
  760. package/lib/utils/token-list-input/token-list-input.d.ts +15 -0
  761. package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -0
  762. package/lib/utils/token-list-input/token-list-input.js +0 -2
  763. package/lib/utils/tokens/index.d.ts +2 -0
  764. package/lib/utils/tokens/index.d.ts.map +1 -0
  765. package/lib/utils/tokens/tokens.d.ts +41 -0
  766. package/lib/utils/tokens/tokens.d.ts.map +1 -0
  767. package/package.json +51 -24
  768. package/tsconfig.declaration.json +11 -0
  769. package/tsconfig.json +41 -0
  770. package/.eslintignore +0 -2
  771. package/.eslintrc.yml +0 -122
  772. package/lib/components/Accordion/Accordion.js.flow +0 -116
  773. package/lib/components/Accordion/AccordionGroup.js.flow +0 -75
  774. package/lib/components/Accordion/index.js.flow +0 -4
  775. package/lib/components/Avatar/Avatar.js.flow +0 -269
  776. package/lib/components/Avatar/index.js.flow +0 -3
  777. package/lib/components/AvatarGroup/AvatarGroup.js.flow +0 -164
  778. package/lib/components/AvatarGroup/index.js.flow +0 -3
  779. package/lib/components/Badge/Badge.js.flow +0 -147
  780. package/lib/components/Badge/index.js.flow +0 -3
  781. package/lib/components/BadgedIcon/BadgedIcon.js.flow +0 -73
  782. package/lib/components/BadgedIcon/index.js.flow +0 -3
  783. package/lib/components/Banner/Banner.js.flow +0 -60
  784. package/lib/components/Banner/index.js.flow +0 -3
  785. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js.flow +0 -58
  786. package/lib/components/Breadcrumbs/BreadcrumbLink/index.js.flow +0 -3
  787. package/lib/components/Breadcrumbs/Breadcrumbs.js.flow +0 -59
  788. package/lib/components/Breadcrumbs/index.js.flow +0 -4
  789. package/lib/components/Button/Button.js.flow +0 -286
  790. package/lib/components/Button/index.js.flow +0 -16
  791. package/lib/components/ButtonDropdown/ButtonDropdown.js.flow +0 -226
  792. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js.flow +0 -169
  793. package/lib/components/ButtonDropdown/index.js.flow +0 -4
  794. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js.flow +0 -82
  795. package/lib/components/ButtonTabs/ButtonTab/index.js.flow +0 -3
  796. package/lib/components/ButtonTabs/ButtonTabDropdown.js.flow +0 -150
  797. package/lib/components/ButtonTabs/ButtonTabs.js.flow +0 -121
  798. package/lib/components/ButtonTabs/index.js.flow +0 -4
  799. package/lib/components/Card/Card.js.flow +0 -174
  800. package/lib/components/Card/index.js.flow +0 -3
  801. package/lib/components/Charts/ChartTooltip/index.js.flow +0 -15
  802. package/lib/components/Charts/ChartWrapper/ChartWrapper.js.flow +0 -190
  803. package/lib/components/Charts/ChartWrapper/index.js.flow +0 -3
  804. package/lib/components/Charts/ColumnChart/ColumnChart.js.flow +0 -126
  805. package/lib/components/Charts/ColumnChart/index.js.flow +0 -3
  806. package/lib/components/Charts/DonutChart/DonutChart.js.flow +0 -158
  807. package/lib/components/Charts/DonutChart/index.js.flow +0 -3
  808. package/lib/components/Charts/FunnelChart/FunnelChart.js.flow +0 -115
  809. package/lib/components/Charts/FunnelChart/index.js.flow +0 -3
  810. package/lib/components/Charts/LineChart/LineChart.js.flow +0 -113
  811. package/lib/components/Charts/LineChart/index.js.flow +0 -3
  812. package/lib/components/Charts/SpiderChart/SpiderChart.js.flow +0 -111
  813. package/lib/components/Charts/SpiderChart/index.js.flow +0 -3
  814. package/lib/components/Charts/index.js.flow +0 -9
  815. package/lib/components/ChatBubble/ChatBubble.js.flow +0 -222
  816. package/lib/components/ChatBubble/index.js.flow +0 -3
  817. package/lib/components/Checkbox/Checkbox.js.flow +0 -168
  818. package/lib/components/Checkbox/CheckboxGroup.js.flow +0 -116
  819. package/lib/components/Checkbox/index.js.flow +0 -3
  820. package/lib/components/Chip/Chip.js.flow +0 -199
  821. package/lib/components/Chip/index.js.flow +0 -4
  822. package/lib/components/CircularLoader/CircularLoader.js.flow +0 -58
  823. package/lib/components/CircularLoader/index.js.flow +0 -3
  824. package/lib/components/CollapsibleCard/CollapsibleCard.js.flow +0 -146
  825. package/lib/components/CollapsibleCard/index.js.flow +0 -3
  826. package/lib/components/Combobox/Combobox.js.flow +0 -287
  827. package/lib/components/Combobox/helper.js.flow +0 -204
  828. package/lib/components/Combobox/index.js.flow +0 -3
  829. package/lib/components/ConditionalWrapper/ConditionalWrapper.js.flow +0 -16
  830. package/lib/components/ConditionalWrapper/index.js.flow +0 -3
  831. package/lib/components/DateRangePicker/Calendar.js.flow +0 -112
  832. package/lib/components/DateRangePicker/DateRangePicker.js.flow +0 -214
  833. package/lib/components/DateRangePicker/DateRangeWrapper.js.flow +0 -384
  834. package/lib/components/DateRangePicker/Day.js.flow +0 -75
  835. package/lib/components/DateRangePicker/index.js.flow +0 -3
  836. package/lib/components/Dialog/Dialog.js.flow +0 -228
  837. package/lib/components/Dialog/index.js.flow +0 -2
  838. package/lib/components/Disclaimer/Disclaimer.js.flow +0 -41
  839. package/lib/components/Disclaimer/index.js.flow +0 -3
  840. package/lib/components/Dropdown/Dropdown.js.flow +0 -176
  841. package/lib/components/Dropdown/SimpleDropdown.js.flow +0 -170
  842. package/lib/components/Dropdown/index.js.flow +0 -4
  843. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js.flow +0 -112
  844. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js.flow +0 -198
  845. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js.flow +0 -120
  846. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js.flow +0 -137
  847. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js.flow +0 -68
  848. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js.flow +0 -71
  849. package/lib/components/EmptyState/EmptyImages/index.js.flow +0 -8
  850. package/lib/components/EmptyState/EmptyState.js.flow +0 -91
  851. package/lib/components/EmptyState/index.js.flow +0 -3
  852. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js.flow +0 -89
  853. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js.flow +0 -121
  854. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js.flow +0 -241
  855. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js.flow +0 -77
  856. package/lib/components/ErrorMessage/ErrorImages/index.js.flow +0 -6
  857. package/lib/components/ErrorMessage/ErrorMessage.js.flow +0 -95
  858. package/lib/components/ErrorMessage/index.js.flow +0 -3
  859. package/lib/components/FileUpload/FileBlock/FileBlock.js.flow +0 -139
  860. package/lib/components/FileUpload/FileBlock/index.js.flow +0 -3
  861. package/lib/components/FileUpload/FileUpload.js.flow +0 -212
  862. package/lib/components/FileUpload/index.js.flow +0 -4
  863. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js.flow +0 -166
  864. package/lib/components/FilterButtonOverlay/index.js.flow +0 -3
  865. package/lib/components/FocusManager/FocusManager.js.flow +0 -57
  866. package/lib/components/FocusManager/index.js.flow +0 -3
  867. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js.flow +0 -152
  868. package/lib/components/FocusManagerWithArrowKeyNavigation/index.js.flow +0 -3
  869. package/lib/components/FormTitleWrapper/FormTitleWrapper.js.flow +0 -68
  870. package/lib/components/FormTitleWrapper/index.js.flow +0 -3
  871. package/lib/components/Grid/Grid.js.flow +0 -110
  872. package/lib/components/Grid/index.js.flow +0 -3
  873. package/lib/components/Icon/ClickableIcon.js.flow +0 -111
  874. package/lib/components/Icon/Icon.docs.js.flow +0 -120
  875. package/lib/components/Icon/Icon.js.flow +0 -77
  876. package/lib/components/Icon/SemanticIcon.js.flow +0 -48
  877. package/lib/components/Icon/index.js.flow +0 -5
  878. package/lib/components/InContextAlert/InContextAlert.js.flow +0 -208
  879. package/lib/components/InContextAlert/index.js.flow +0 -3
  880. package/lib/components/InfinitePagination/InfinitePagination.js.flow +0 -122
  881. package/lib/components/InfinitePagination/index.js.flow +0 -3
  882. package/lib/components/InlineDropdown/InlineDropdown.js.flow +0 -181
  883. package/lib/components/InlineDropdown/SimpleInlineDropdown.js.flow +0 -167
  884. package/lib/components/InlineDropdown/index.js.flow +0 -4
  885. package/lib/components/Input/Input.js.flow +0 -325
  886. package/lib/components/Input/index.js.flow +0 -3
  887. package/lib/components/KPIBox/KPIBox.js.flow +0 -97
  888. package/lib/components/KPIBox/index.js.flow +0 -3
  889. package/lib/components/LinearLoader/LinearLoader.js.flow +0 -49
  890. package/lib/components/LinearLoader/index.js.flow +0 -3
  891. package/lib/components/Link/Link.js.flow +0 -231
  892. package/lib/components/Link/index.js.flow +0 -3
  893. package/lib/components/Menu/Menu.js.flow +0 -391
  894. package/lib/components/Menu/MenuOptionButton.js.flow +0 -201
  895. package/lib/components/Menu/index.js.flow +0 -4
  896. package/lib/components/Modal/Modal.js.flow +0 -370
  897. package/lib/components/Modal/index.js.flow +0 -15
  898. package/lib/components/Notification/Notification.js.flow +0 -149
  899. package/lib/components/Notification/index.js.flow +0 -3
  900. package/lib/components/OptionButton/OptionButton.js.flow +0 -153
  901. package/lib/components/OptionButton/SimpleOptionButton.js.flow +0 -161
  902. package/lib/components/OptionButton/index.js.flow +0 -4
  903. package/lib/components/PageTitle/PageTitle.js.flow +0 -267
  904. package/lib/components/PageTitle/index.js.flow +0 -3
  905. package/lib/components/Pagination/Pagination.js.flow +0 -158
  906. package/lib/components/Pagination/PaginationItem.js.flow +0 -120
  907. package/lib/components/Pagination/index.js.flow +0 -3
  908. package/lib/components/Panel/Panel.js.flow +0 -181
  909. package/lib/components/Panel/index.js.flow +0 -10
  910. package/lib/components/ProgressDonut/ProgressDonut.js.flow +0 -111
  911. package/lib/components/ProgressDonut/index.js.flow +0 -3
  912. package/lib/components/PromptChip/PromptChip.js.flow +0 -166
  913. package/lib/components/PromptChip/index.js.flow +0 -3
  914. package/lib/components/PromptInput/PromptInput.js.flow +0 -194
  915. package/lib/components/PromptInput/index.js.flow +0 -3
  916. package/lib/components/RadioButton/RadioButton.js.flow +0 -134
  917. package/lib/components/RadioButton/RadioGroup.js.flow +0 -94
  918. package/lib/components/RadioButton/index.js.flow +0 -3
  919. package/lib/components/RadioTile/RadioTile.js.flow +0 -110
  920. package/lib/components/RadioTile/index.js.flow +0 -3
  921. package/lib/components/RangeSlider/RangeSlider.js.flow +0 -202
  922. package/lib/components/RangeSlider/index.js.flow +0 -3
  923. package/lib/components/Rating/Rating.js.flow +0 -134
  924. package/lib/components/Rating/index.js.flow +0 -3
  925. package/lib/components/ScoreBar/ScoreBar.js.flow +0 -135
  926. package/lib/components/ScoreBar/index.js.flow +0 -3
  927. package/lib/components/SearchInput/SearchInput.js.flow +0 -88
  928. package/lib/components/SearchInput/index.js.flow +0 -4
  929. package/lib/components/Separator/Separator.js.flow +0 -60
  930. package/lib/components/Separator/index.js.flow +0 -3
  931. package/lib/components/Shimmer/Shimmer.js.flow +0 -141
  932. package/lib/components/Shimmer/index.js.flow +0 -3
  933. package/lib/components/SideMenuLink/SideMenuLink.js.flow +0 -344
  934. package/lib/components/SideMenuLink/index.js.flow +0 -3
  935. package/lib/components/StatusIndicator/StatusIndicator.js.flow +0 -68
  936. package/lib/components/StatusIndicator/index.js.flow +0 -3
  937. package/lib/components/Stepper/Step/Step.js.flow +0 -123
  938. package/lib/components/Stepper/Step/StepContent.js.flow +0 -40
  939. package/lib/components/Stepper/Step/StepLabel.js.flow +0 -40
  940. package/lib/components/Stepper/Step/index.js.flow +0 -5
  941. package/lib/components/Stepper/Stepper.js.flow +0 -64
  942. package/lib/components/Stepper/index.js.flow +0 -4
  943. package/lib/components/StickyBar/StickyBar.js.flow +0 -67
  944. package/lib/components/StickyBar/index.js.flow +0 -3
  945. package/lib/components/SubMenu/SubMenu.js.flow +0 -96
  946. package/lib/components/SubMenu/SubMenuGroup.js.flow +0 -156
  947. package/lib/components/SubMenu/SubMenuItem.js.flow +0 -170
  948. package/lib/components/SubMenu/SubMenuLink.js.flow +0 -89
  949. package/lib/components/SubMenu/index.js.flow +0 -6
  950. package/lib/components/Table/Cell.js.flow +0 -122
  951. package/lib/components/Table/DefaultRow.js.flow +0 -152
  952. package/lib/components/Table/DefaultTableHeader.js.flow +0 -240
  953. package/lib/components/Table/StaticTable.js.flow +0 -576
  954. package/lib/components/Table/Table.docs.js.flow +0 -550
  955. package/lib/components/Table/Table.js.flow +0 -154
  956. package/lib/components/Table/TableActionBar.js.flow +0 -55
  957. package/lib/components/Table/TableBottomBar.js.flow +0 -28
  958. package/lib/components/Table/TableTopBar.js.flow +0 -28
  959. package/lib/components/Table/dummyTableData.js.flow +0 -2191
  960. package/lib/components/Table/hooks.js.flow +0 -97
  961. package/lib/components/Table/index.js.flow +0 -10
  962. package/lib/components/Tabs/Tab/Tab.js.flow +0 -140
  963. package/lib/components/Tabs/Tab/index.js.flow +0 -3
  964. package/lib/components/Tabs/TabList/TabDropdown.js.flow +0 -123
  965. package/lib/components/Tabs/TabList/TabList.js.flow +0 -161
  966. package/lib/components/Tabs/TabList/index.js.flow +0 -3
  967. package/lib/components/Tabs/index.js.flow +0 -4
  968. package/lib/components/Text/Text.js.flow +0 -1060
  969. package/lib/components/Text/index.js.flow +0 -32
  970. package/lib/components/TextTile/TextTile.js.flow +0 -44
  971. package/lib/components/TextTile/index.js.flow +0 -3
  972. package/lib/components/Textarea/Textarea.js.flow +0 -139
  973. package/lib/components/Textarea/index.js.flow +0 -4
  974. package/lib/components/Timeline/Timeline.js.flow +0 -47
  975. package/lib/components/Timeline/TimelineItem/TimelineItem.js.flow +0 -127
  976. package/lib/components/Timeline/TimelineItem/index.js.flow +0 -3
  977. package/lib/components/Timeline/index.js.flow +0 -4
  978. package/lib/components/Toast/Toast.js.flow +0 -249
  979. package/lib/components/Toast/ToastContainer.js.flow +0 -125
  980. package/lib/components/Toast/ToastManager.js.flow +0 -67
  981. package/lib/components/Toast/index.js.flow +0 -12
  982. package/lib/components/Toggle/Toggle.js.flow +0 -113
  983. package/lib/components/Toggle/index.js.flow +0 -2
  984. package/lib/components/TokenListInput/TokenListInput.js.flow +0 -389
  985. package/lib/components/TokenListInput/TokenValueChips.js.flow +0 -69
  986. package/lib/components/TokenListInput/index.js.flow +0 -3
  987. package/lib/components/Tooltip/Tooltip.js.flow +0 -206
  988. package/lib/components/Tooltip/index.js.flow +0 -3
  989. package/lib/components/Truncate/Truncate.js.flow +0 -86
  990. package/lib/components/Truncate/index.js.flow +0 -4
  991. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js.flow +0 -104
  992. package/lib/components/TruncatedTextWithTooltip/index.js.flow +0 -3
  993. package/lib/components/Typeahead/SimpleTypeahead.js.flow +0 -164
  994. package/lib/components/Typeahead/Typeahead.js.flow +0 -250
  995. package/lib/components/Typeahead/index.js.flow +0 -4
  996. package/lib/components/WeekdayPicker/WeekdayPicker.js.flow +0 -229
  997. package/lib/components/WeekdayPicker/index.js.flow +0 -3
  998. package/lib/components/index.js.flow +0 -77
  999. package/lib/hooks/index.js.flow +0 -18
  1000. package/lib/hooks/useArbitraryOptionAddition/index.js.flow +0 -3
  1001. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js.flow +0 -117
  1002. package/lib/hooks/useCopyToClipboard/index.js.flow +0 -3
  1003. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js.flow +0 -31
  1004. package/lib/hooks/useDebounce/index.js.flow +0 -3
  1005. package/lib/hooks/useDebounce/useDebounce.js.flow +0 -17
  1006. package/lib/hooks/useFileUpload/index.js.flow +0 -3
  1007. package/lib/hooks/useFileUpload/useFileUpload.js.flow +0 -304
  1008. package/lib/hooks/useFilteredOptions/index.js.flow +0 -3
  1009. package/lib/hooks/useFilteredOptions/useFilteredOptions.js.flow +0 -81
  1010. package/lib/hooks/useInfiniteScroll/index.js.flow +0 -3
  1011. package/lib/hooks/useInfiniteScroll/useInfiniteScroll.js.flow +0 -82
  1012. package/lib/hooks/useInputState/index.js.flow +0 -3
  1013. package/lib/hooks/useInputState/useInputState.js.flow +0 -28
  1014. package/lib/hooks/useLockedBody/index.js.flow +0 -3
  1015. package/lib/hooks/useLockedBody/useLockedBody.js.flow +0 -55
  1016. package/lib/hooks/useModal/index.js.flow +0 -3
  1017. package/lib/hooks/useModal/useModal.js.flow +0 -39
  1018. package/lib/hooks/useMountTransition/index.js.flow +0 -27
  1019. package/lib/hooks/usePagination/index.js.flow +0 -3
  1020. package/lib/hooks/usePagination/usePagination.js.flow +0 -155
  1021. package/lib/hooks/useReferenceElementWidth/index.js.flow +0 -3
  1022. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js.flow +0 -23
  1023. package/lib/hooks/useResizeObserver/index.js.flow +0 -3
  1024. package/lib/hooks/useResizeObserver/useResizeObserver.js.flow +0 -28
  1025. package/lib/hooks/useToastPortal/index.js.flow +0 -3
  1026. package/lib/hooks/useToastPortal/useToastPortal.js.flow +0 -30
  1027. package/lib/hooks/useToggle/index.js.flow +0 -3
  1028. package/lib/hooks/useToggle/useToggle.js.flow +0 -17
  1029. package/lib/hooks/useWindowSize/index.js.flow +0 -3
  1030. package/lib/hooks/useWindowSize/useWindowSize.js.flow +0 -41
  1031. package/lib/index.js.flow +0 -7
  1032. package/lib/styles/index.js.flow +0 -535
  1033. package/lib/styles/variables/_border.js.flow +0 -25
  1034. package/lib/styles/variables/_color.js.flow +0 -209
  1035. package/lib/styles/variables/_elevation.js.flow +0 -15
  1036. package/lib/styles/variables/_font.js.flow +0 -61
  1037. package/lib/styles/variables/_motion.js.flow +0 -13
  1038. package/lib/styles/variables/_opacity.js.flow +0 -31
  1039. package/lib/styles/variables/_shadow.js.flow +0 -49
  1040. package/lib/styles/variables/_size.js.flow +0 -115
  1041. package/lib/styles/variables/_space.js.flow +0 -25
  1042. package/lib/types/charts.js.flow +0 -263
  1043. package/lib/types/common.js.flow +0 -13
  1044. package/lib/types/date-range-picker.js.flow +0 -17
  1045. package/lib/types/index.js.flow +0 -8
  1046. package/lib/types/menu.js.flow +0 -15
  1047. package/lib/types/toast.js.flow +0 -41
  1048. package/lib/types/typography.js.flow +0 -19
  1049. package/lib/utils/array/are-arrays-equal.js.flow +0 -14
  1050. package/lib/utils/array/index.js.flow +0 -3
  1051. package/lib/utils/charts/charts.js.flow +0 -111
  1052. package/lib/utils/charts/columnChart.js.flow +0 -63
  1053. package/lib/utils/charts/donutChart.js.flow +0 -119
  1054. package/lib/utils/charts/funnelChart.js.flow +0 -102
  1055. package/lib/utils/charts/helpers.js.flow +0 -68
  1056. package/lib/utils/charts/index.js.flow +0 -9
  1057. package/lib/utils/charts/lineChart.js.flow +0 -51
  1058. package/lib/utils/charts/spiderChart.js.flow +0 -59
  1059. package/lib/utils/charts/typography.js.flow +0 -53
  1060. package/lib/utils/classify/index.js.flow +0 -29
  1061. package/lib/utils/click-away/click-away.js.flow +0 -228
  1062. package/lib/utils/click-away/index.js.flow +0 -3
  1063. package/lib/utils/date-range-picker/date-range-picker.js.flow +0 -442
  1064. package/lib/utils/date-range-picker/index.js.flow +0 -4
  1065. package/lib/utils/date-range-picker/timezones.js.flow +0 -269
  1066. package/lib/utils/dom/dom.js.flow +0 -238
  1067. package/lib/utils/dom/index.js.flow +0 -3
  1068. package/lib/utils/helpers/helpers.js.flow +0 -53
  1069. package/lib/utils/helpers/index.js.flow +0 -3
  1070. package/lib/utils/index.js.flow +0 -16
  1071. package/lib/utils/makeClassNameComponent/index.js.flow +0 -3
  1072. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js.flow +0 -70
  1073. package/lib/utils/menu/index.js.flow +0 -3
  1074. package/lib/utils/menu/menu.js.flow +0 -193
  1075. package/lib/utils/merge-refs/index.js.flow +0 -3
  1076. package/lib/utils/merge-refs/merge-refs.js.flow +0 -14
  1077. package/lib/utils/rating/index.js.flow +0 -3
  1078. package/lib/utils/rating/rating.js.flow +0 -35
  1079. package/lib/utils/score-bar/index.js.flow +0 -3
  1080. package/lib/utils/score-bar/score-bar.js.flow +0 -58
  1081. package/lib/utils/string/index.js.flow +0 -3
  1082. package/lib/utils/string/string.js.flow +0 -33
  1083. package/lib/utils/token-list-input/token-list-input.js.flow +0 -37
  1084. package/lib/utils/tokens/index.js.flow +0 -3
  1085. package/lib/utils/tokens/tokens.js.flow +0 -244
@@ -0,0 +1,64 @@
1
+ import * as React from 'react';
2
+ import type { TableRow } from './DefaultRow';
3
+ import type { GenericHeaderItems } from './DefaultTableHeader';
4
+ import type { SortDirection } from './hooks';
5
+ export type GenericObject = {
6
+ readonly [key: string]: unknown;
7
+ };
8
+ export type ClassNames = Readonly<{
9
+ wrapper?: string;
10
+ table?: string;
11
+ tableHeader?: string;
12
+ tableBody?: string;
13
+ tableRow?: string;
14
+ checkbox?: string;
15
+ }>;
16
+ type VirtualizationOptions = {
17
+ rowsCount: number;
18
+ rowHeight?: string;
19
+ onEndReached?: () => void;
20
+ isEndLoading?: boolean;
21
+ isAllDataFetched?: boolean;
22
+ };
23
+ export type TableProps<T, U> = {
24
+ classNames?: ClassNames;
25
+ className?: string;
26
+ TableRow?: TableRow<T, U>;
27
+ headers: GenericHeaderItems<T, U>;
28
+ entries: Array<T>;
29
+ extras?: U;
30
+ sortable?: boolean;
31
+ showHeader?: boolean;
32
+ tableHeaderClassName?: string;
33
+ headerIconClassName?: string;
34
+ defaultSortKey?: string;
35
+ defaultSortDirection?: 'asc' | 'desc' | 'original';
36
+ enableInternalSorting?: boolean;
37
+ selectedKeys?: string[];
38
+ disabledKeys?: string[];
39
+ onSelect?: (keys: string[]) => unknown;
40
+ idName?: keyof T;
41
+ onSort?: (key: keyof T, direction: SortDirection) => void;
42
+ isLoading?: boolean;
43
+ emptyText?: React.ReactNode;
44
+ disabled?: boolean;
45
+ customLoader?: React.ReactNode;
46
+ borderRadius?: string;
47
+ stickyHeader?: boolean;
48
+ virtualizationOptions?: VirtualizationOptions;
49
+ };
50
+ /**
51
+ * Table
52
+ * @param {React.ComponentType} Row - React.ComponentType<{data: Data, extras?: Extras, sortedKeys?: string[]}>
53
+ * @param {string} className - string
54
+ *
55
+ **/
56
+ /**
57
+ * Table
58
+ * @param {React.ComponentType} Row - React.ComponentType<{data: Data, extras?: Extras, sortedKeys?: string[]}>
59
+ * @param {string} className - string
60
+ *
61
+ */
62
+ export declare function Table<Data extends GenericObject, Extras extends GenericObject>(props: TableProps<Data, Extras>): React.JSX.Element;
63
+ export {};
64
+ //# sourceMappingURL=Table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAM3C,MAAM,MAAM,aAAa,GAAG;IAM1B,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,KAAK,qBAAqB,GAAG;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,CAAC,EAAE,CAAC,IAAI;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC1B,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAClC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;IAEnD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IACjB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CAC/C,CAAC;AAEF;;;;;IAKI;AAEJ;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,IAAI,SAAS,aAAa,EAAE,MAAM,SAAS,aAAa,EAAE,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,qBA8E9G"}
@@ -0,0 +1,299 @@
1
+ export declare const TABLE_DOCS: {
2
+ readonly argTypes: {
3
+ readonly headers: {
4
+ readonly type: {
5
+ readonly required: true;
6
+ };
7
+ readonly description: "Provide an array of objects to render the header, each object should consist of label(*), key(*), sortable, sticky and render function";
8
+ readonly control: {
9
+ readonly type: "object";
10
+ };
11
+ readonly table: {
12
+ readonly type: {
13
+ readonly summary: "{label: React.Node, key: $Keys<T>, className?: string, filterIcon?: React.Node, filtered?: boolean, subtext?: string, sortable?: boolean, headerIconClassName?: string, sticky?: boolean, render?: React.ComponentType<{data: T, extras?: U, className?: string, selected?: boolean,}>, }";
14
+ };
15
+ };
16
+ };
17
+ readonly entries: {
18
+ readonly type: {
19
+ readonly required: true;
20
+ };
21
+ readonly description: "Provide an array of object. Each object belong on one row in the table. Each object should have id and all the keys with values that is being passed in headers array";
22
+ readonly control: {
23
+ readonly type: "object";
24
+ };
25
+ readonly table: {
26
+ readonly type: {
27
+ readonly summary: "Array<T>";
28
+ };
29
+ };
30
+ };
31
+ readonly classNames: {
32
+ readonly description: "Provide optional classNames to be applied to the wrapper, table, tableHeader, tableBody, tableRow, or checkbox";
33
+ readonly control: {
34
+ readonly type: "object";
35
+ };
36
+ readonly table: {
37
+ readonly type: {
38
+ readonly summary: "{wrapper?: string, table?: string, tableHeader?: string, tableBody?: string, tableRow?: string, checkbox?: string}";
39
+ };
40
+ };
41
+ };
42
+ readonly Row: {
43
+ readonly description: "Custom Row component to be passed to table";
44
+ readonly table: {
45
+ readonly type: {
46
+ readonly summary: "TableRow<T, U>";
47
+ };
48
+ };
49
+ };
50
+ readonly sortable: {
51
+ readonly description: "Sort Icon will appear in right side of column's header with column level true sortable value";
52
+ readonly name: "sortable";
53
+ readonly options: readonly [false, true];
54
+ readonly control: "boolean";
55
+ readonly table: {
56
+ readonly type: {
57
+ readonly summary: "boolean";
58
+ };
59
+ readonly defaultValue: {
60
+ readonly summary: true;
61
+ };
62
+ };
63
+ };
64
+ readonly showHeader: {
65
+ readonly description: "Show or hide header";
66
+ readonly options: readonly [false, true];
67
+ readonly control: "boolean";
68
+ readonly table: {
69
+ readonly type: {
70
+ readonly summary: "boolean";
71
+ };
72
+ readonly defaultValue: {
73
+ readonly summary: true;
74
+ };
75
+ };
76
+ };
77
+ readonly defaultSortKey: {
78
+ readonly description: "key name for which table should be sorted by default. headers array should have sortable true for that key object";
79
+ readonly control: {
80
+ readonly type: "text";
81
+ };
82
+ readonly table: {
83
+ readonly type: {
84
+ readonly summary: "string";
85
+ };
86
+ };
87
+ };
88
+ readonly defaultSortDirection: {
89
+ readonly description: "default sorting direction for the defaultSortKey column";
90
+ readonly control: {
91
+ readonly type: "text";
92
+ };
93
+ readonly table: {
94
+ readonly type: {
95
+ readonly summary: "'asc' | 'desc' | 'original'";
96
+ };
97
+ };
98
+ };
99
+ readonly selectedKeys: {
100
+ readonly description: "array of keys which are selected. This prop is also used to decide weather to show checkboxes or not. So, pass an empty array in case no row is selected.";
101
+ readonly control: {
102
+ readonly type: "object";
103
+ };
104
+ readonly table: {
105
+ readonly type: {
106
+ readonly summary: "string[]";
107
+ };
108
+ };
109
+ };
110
+ readonly disabledKeys: {
111
+ readonly description: "array of keys which are disabled. This prop is used to disable the checkbox and its events for particular rows.";
112
+ readonly control: {
113
+ readonly type: "object";
114
+ };
115
+ readonly table: {
116
+ readonly type: {
117
+ readonly summary: "string[]";
118
+ };
119
+ };
120
+ };
121
+ readonly onSelect: {
122
+ readonly description: "callback function when any row is selected";
123
+ readonly action: "selected";
124
+ readonly type: {
125
+ readonly summary: "(keys: string[]) => mixed";
126
+ };
127
+ };
128
+ readonly idName: {
129
+ readonly description: "name of key in row objects that has to be used as id";
130
+ };
131
+ readonly onSort: {
132
+ readonly description: "callback function when any table is sorted";
133
+ readonly action: "sorted";
134
+ readonly type: {
135
+ readonly summary: "(key: $Keys<T>, direction: SortDirection) => void";
136
+ };
137
+ };
138
+ readonly isLoading: {
139
+ readonly description: "to wait for data to populate in table and show loading state when entries array is empty.";
140
+ readonly options: readonly [false, true];
141
+ readonly control: "boolean";
142
+ readonly table: {
143
+ readonly type: {
144
+ readonly summary: "boolean";
145
+ };
146
+ readonly defaultValue: {
147
+ readonly summary: false;
148
+ };
149
+ };
150
+ };
151
+ readonly emptyText: {
152
+ readonly description: "Provide component to be shown in case of empty data";
153
+ readonly table: {
154
+ readonly type: {
155
+ readonly summary: "React.Component";
156
+ };
157
+ };
158
+ };
159
+ readonly customLoader: {
160
+ readonly description: "Provide optional component to be shown in case of loading state. It will override the default loader.";
161
+ readonly table: {
162
+ readonly type: {
163
+ readonly summary: "React.Component";
164
+ };
165
+ };
166
+ };
167
+ readonly disabled: {
168
+ readonly description: "disable all the checkboxes of each row in the table";
169
+ readonly options: readonly [false, true];
170
+ readonly control: "boolean";
171
+ readonly table: {
172
+ readonly type: {
173
+ readonly summary: "boolean";
174
+ };
175
+ readonly defaultValue: {
176
+ readonly summary: false;
177
+ };
178
+ };
179
+ };
180
+ readonly borderRadius: {
181
+ readonly description: "Border Radius of all four corners of the table. Default value is borderRadiusMedium i.e., 12px.";
182
+ readonly control: "text";
183
+ readonly table: {
184
+ readonly type: {
185
+ readonly summary: "string";
186
+ };
187
+ readonly defaultValue: {
188
+ readonly summary: "12px";
189
+ };
190
+ };
191
+ };
192
+ readonly stickyHeader: {
193
+ readonly description: "Sticky header will stick the header to the top of the table when scrolling. This would only work if the table wrapper is scrollable.";
194
+ readonly control: "boolean";
195
+ readonly table: {
196
+ readonly type: {
197
+ readonly summary: "boolean";
198
+ };
199
+ readonly defaultValue: {
200
+ readonly summary: false;
201
+ };
202
+ };
203
+ };
204
+ readonly enableInternalSorting: {
205
+ readonly description: "Enable internal sorting for the table. This would sort the table data internally and not rely on the apis sorting";
206
+ readonly control: "boolean";
207
+ readonly table: {
208
+ readonly type: {
209
+ readonly summary: "?boolean";
210
+ };
211
+ readonly defaultValue: {
212
+ readonly summary: true;
213
+ };
214
+ };
215
+ };
216
+ readonly rowsCount: {
217
+ readonly name: "virtualizationOptions.rowsCount";
218
+ readonly description: "Total number of virtual rows.";
219
+ readonly control: {
220
+ readonly type: "number";
221
+ };
222
+ readonly table: {
223
+ readonly type: {
224
+ readonly summary: "number";
225
+ };
226
+ readonly defaultValue: {
227
+ readonly summary: 20;
228
+ };
229
+ };
230
+ };
231
+ readonly rowHeight: {
232
+ readonly name: "virtualizationOptions.rowHeight";
233
+ readonly description: "Row height in CSS units (e.g., \"48px\"). Should be provided correctly, otherwise it will not work as expected.";
234
+ readonly control: {
235
+ readonly type: "text";
236
+ };
237
+ readonly table: {
238
+ readonly type: {
239
+ readonly summary: "string";
240
+ };
241
+ readonly defaultValue: {
242
+ readonly summary: "48px";
243
+ };
244
+ };
245
+ };
246
+ readonly isEndLoading: {
247
+ readonly name: "virtualizationOptions.isEndLoading";
248
+ readonly description: "Whether to show loading spinner at the bottom.";
249
+ readonly control: {
250
+ readonly type: "boolean";
251
+ };
252
+ readonly table: {
253
+ readonly type: {
254
+ readonly summary: "boolean";
255
+ };
256
+ readonly defaultValue: {
257
+ readonly summary: false;
258
+ };
259
+ };
260
+ };
261
+ readonly isAllDataFetched: {
262
+ readonly name: "virtualizationOptions.isAllDataFetched";
263
+ readonly description: "Whether all rows are fetched (disables infinite loading).";
264
+ readonly control: {
265
+ readonly type: "boolean";
266
+ };
267
+ readonly table: {
268
+ readonly type: {
269
+ readonly summary: "boolean";
270
+ };
271
+ readonly defaultValue: {
272
+ readonly summary: false;
273
+ };
274
+ };
275
+ };
276
+ readonly onEndReached: {
277
+ readonly name: "virtualizationOptions.onEndReached";
278
+ readonly description: "Callback triggered when end of list is reached.";
279
+ readonly action: "onEndReached";
280
+ readonly table: {
281
+ readonly type: {
282
+ readonly summary: "() => void";
283
+ };
284
+ };
285
+ };
286
+ };
287
+ readonly parameters: {
288
+ readonly docs: {
289
+ readonly subtitle: "Generates a Table component.";
290
+ readonly description: {
291
+ readonly component: "\n```js\nimport {\n Table,\n StaticTable,\n DefaultRow,\n BasicSingleCell,\n DateCell,\n DoubleCell,\n SingleCell,\n MonogramCell,\n TableActionBar,\n ButtonCta,\n DropdownCta,\n TableTopBar,\n TableBottomBar\n} from \"@spaced-out/ui-design-system/lib/components/Table\";\n```\nTable component internally uses HTML Table, Thead, Tbody, Tr, Th and Td tags. It accepts entries and headers for showing table.\nThe Table component takes care of lots of things for you but it's not a magical component, it wraps a lot of behavior, so you can have,\nfor instance, a static table with no sorting options.\n\nStaticTables work just like regular tables, except they don't have interactive headers, so you lose sorting.\nBut remember, a regular interactive table uses a static table under the hood,\nso how does it work? You can think of the StaticTable as a kind of controlled table component.\nexcept that traditionally we'd update the entries prop and rerender from that.\nThat would work just fine, but instead we can just pass in the keys we care about. By using StaticTable,\nwe can simplify filtering and sorting outside of the table while the table keeps a stable value reference to all the entities.\n\nTo make any of rows selectable, we can do that by also passing in another property, selectedKeys.\n\nLet's say we want to also make any of the rows selectable, we can do that by also passing in another property, selectedKeys.\n\n### Custom Cells\n\nIt's possible you need to render out a custom cell, not just the default cell.\nThere are two ways to do that. If you only need to modify a single cell,\nyou can simply add a render: `React.ComponentType<{data: T, extras?: U}>`\nkey to any given header item.\n\nThis cell renderer receives the _whole row_ of data, not just the individual cell, it's up to you what to do with it.\n\n### With Table Top, Bottom Bar and Actions\n\nYou can attach a top, bottom and action bar to the table by adding `TableTopBar`, `TableBottomBar` and `TableActionBar` components.\nThere are just semantic components which just provide padding and border standardization. You can add any component inside these components.\nThese also accept **className** prop.\n\n### Best Practices\n* A Data Table should always have a `TableTopBar`\n* Use `stickyHeader` prop to make the header sticky\n* Always assign a height to the table wrapper to make it scrollable\n* Manage the Table's Wrapper height effectively when using `TableActionBar` component\n* Always use local `ButtonCta` and `DropdownCta` for actions in Action bar. These components are\njust CSS Wrappers for Button and SimpleButtonDropdown components\n* Use ButtonCta component to add a button CTA in the `TableActionBar`\n* Use DropdownCta component to add a dropdown CTA button in the `TableActionBar` for screen width less than size1280(1280px)\n\n### Handling Sticky Headers with Virtualization\n* When using **virtualization**, always assign a fixed `min-width` and `max-width` to sticky table headers with **same value**.\nThis ensures a strict, fixed width for header cells. Directly using `width` (non strict for table headers) alone is not sufficient, as\nit can be overridden by content width due to table layout behavior, causing headers to shift.\n* If the cell content may exceed the defined width, or if you're unsure of its maximum width, also use `white-space: normal;` and `word-break: break-word;`\nto ensure the content wraps within the cell instead of overflowing or causing layout shifts.\n\nThis helps maintain consistent column alignment and improves readability across varying data lengths.\n\n```jsx\n<Table\n headers={TABLE_HEADERS}\n entries={TABLE_DATA}\n stickyHeader={true}\n classNames={{\n wrapper: classify(css.tableWrapper, {\n [css.withActionBar]: getNumberOfEntriesSelected() > 0,\n })\n }}\n/>\n```\n\n```css\n.tableWrapper {\n height: calc(sizeFullViewportHeight - size160);\n}\n\n.tableWrapper.withActionBar {\n height: calc((sizeFullViewportHeight - size160) - actionBarHeight);\n}\n```\n\n### Usage\n\n```jsx\nconst TABLE_HEADERS = [\n { label: \"Name\", key: \"name\", sortable: true, className: css.mediumColumn },\n { label: \"Tel\", key: \"phone\", sortable: true, className: css.mediumColumn },\n];\n\nconst TABLE_DATA = [\n {\n id: \"1\",\n name: \"Alice\",\n phone: \"123-456-7890\",\n },\n {\n id: \"2\",\n name: \"Bob\",\n phone: \"987-654-3210\",\n },\n];\n\nexport const _TableExample = (): React.Node => {\n return (\n <div className={css.container}>\n {/* Top Bar with Filters */}\n <TableTopBar>\n <div className={css.left}>\n <SubTitleMedium className={css.title}>Basic Data Table</SubTitleMedium>\n <SearchInput />\n </div>\n </TableTopBar>\n\n {/* Table */}\n <Table\n headers={TABLE_HEADERS}\n entries={TABLE_DATA}\n isLoading={isLoading}\n stickyHeader={true}\n borderRadius={'0'}\n selectedKeys={staticTableKeysAcrossPages[currPage] || []}\n onSelect={(keys) => {\n setSelectAllEntries(false);\n setStaticTableKeysAcrossPages({\n ...staticTableKeysAcrossPages,\n [currPage]: keys,\n });\n }}\n classNames={{\n wrapper: classify(css.tableWrapper, {\n [css.withActionBar]: getNumberOfEntriesSelected() > 0,\n })\n }}\n />\n\n {/* Table Actions */}\n {getNumberOfEntriesSelected() > 0 && (\n <TableActionBar className={css.actionBar}>\n <div className={css.leftActionSlot}>\n <ButtonCta\n onClick={() => {\n setSelectAllEntries(true);\n setStaticTableKeysAcrossPages({\n ...staticTableKeysAcrossPages,\n [currPage]: tableEntries.map((entry) => entry.id),\n });\n }}\n >\n Select all items\n </ButtonCta>\n {getNumberOfEntriesSelected() > 0 && (\n <BodySmall color=\"inversePrimary\">\n {getNumberOfEntriesSelected() entries selected}\n </BodySmall>\n )}\n </div>\n <div className={classify(css.middleActionSlot, css.fullTable)}>\n <ButtonCta size=\"small\" iconLeftName=\"folder-plus\">\n Add to group\n </ButtonCta>\n </div>\n <div className={classify(css.middleActionSlot, css.smallTable)}>\n <ButtonCta size=\"small\" iconLeftName=\"folder-plus\">\n Add to group\n </ButtonCta>\n <DropdownCta\n ariaLabel=\"Icon Button Dropdown\"\n iconLeftName=\"ellipsis\"\n options={[\n {\n iconLeft: 'layer-plus',\n key: '1',\n label: 'Create group',\n },\n ]}\n selectedKeys={selectedKeys}\n onOptionSelect={() => setSelectedKeys([])}\n size=\"small\"\n />\n </div>\n <div className={css.rightActionSlot}>\n <ButtonCta\n iconLeftName=\"close\"\n onClick={() => {\n setSelectAllEntries(false);\n setStaticTableKeysAcrossPages({});\n }}\n >\n Close\n </ButtonCta>\n </div>\n </TableActionBar>\n )}\n\n {/* Bottom Bar with Pagination */}\n <TableBottomBar>\n <Pagination\n currentPage={currPage}\n totalPages={totalPages}\n onChange={(page) => {\n onMove(page || 1);\n }}\n >\n <SubTitleExtraSmall color=\"secondary\">\n Showing page {currPage} of {totalPages}\n </SubTitleExtraSmall>\n </Pagination>\n </TableBottomBar>\n </div>\n );\n};\n```\n\n```css\n@value actionBarHeight: size50;\n\n.container {\n width: sizeFluid;\n}\n\n.left {\n display: flex;\n align-items: center;\n}\n\n.title {\n margin-right: spaceMedium;\n}\n\n.mediumColumn {\n width: calc(sizeFluid / 5);\n}\n\n.tableWrapper {\n height: calc(sizeFullViewportHeight - size160);\n}\n\n.actionBar {\n display: flex;\n align-items: center;\n gap: spaceXSmall;\n}\n\n.tableWrapper.withActionBar {\n height: calc((sizeFullViewportHeight - size160) - actionBarHeight);\n}\n\n.leftActionSlot,\n.rightActionSlot,\n.middleActionSlot {\n display: flex;\n gap: spaceSmall;\n align-items: center;\n}\n\n.leftActionSlot,\n.rightActionSlot {\n width: calc(sizeFluid / 4);\n}\n\n.leftActionSlot {\n justify-content: flex-start;\n}\n\n.middleActionSlot {\n width: calc(sizeFluid / 2);\n justify-content: center;\n gap: spaceXXSmall;\n}\n\n.rightActionSlot {\n justify-content: flex-end;\n}\n\n.smallTable {\n display: none;\n}\n\n@media only screen and (max-width: size1280) {\n .fullTable {\n display: none;\n }\n\n .smallTable {\n display: flex;\n }\n}\n\n.dangerText {\n color: colorTextDanger;\n}\n\n.dangerText:hover,\n.dangerText:active,\n.dangerText:focus {\n color: colorTextDanger;\n}\n\n```\n ";
292
+ };
293
+ };
294
+ readonly storySource: {
295
+ readonly componentPath: "/src/components/Table/Table";
296
+ };
297
+ };
298
+ };
299
+ //# sourceMappingURL=Table.docs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.docs.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.docs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqiBb,CAAC"}
@@ -357,10 +357,10 @@ just CSS Wrappers for Button and SimpleButtonDropdown components
357
357
  * Use DropdownCta component to add a dropdown CTA button in the \`TableActionBar\` for screen width less than size1280(1280px)
358
358
 
359
359
  ### Handling Sticky Headers with Virtualization
360
- * When using **virtualization**, always assign a fixed \`min-width\` and \`max-width\` to sticky table headers with **same value**.
361
- This ensures a strict, fixed width for header cells. Directly using \`width\` (non strict for table headers) alone is not sufficient, as
360
+ * When using **virtualization**, always assign a fixed \`min-width\` and \`max-width\` to sticky table headers with **same value**.
361
+ This ensures a strict, fixed width for header cells. Directly using \`width\` (non strict for table headers) alone is not sufficient, as
362
362
  it can be overridden by content width due to table layout behavior, causing headers to shift.
363
- * If the cell content may exceed the defined width, or if you're unsure of its maximum width, also use \`white-space: normal;\` and \`word-break: break-word;\`
363
+ * If the cell content may exceed the defined width, or if you're unsure of its maximum width, also use \`white-space: normal;\` and \`word-break: break-word;\`
364
364
  to ensure the content wraps within the cell instead of overflowing or causing layout shifts.
365
365
 
366
366
  This helps maintain consistent column alignment and improves readability across varying data lengths.
@@ -610,7 +610,7 @@ export const _TableExample = (): React.Node => {
610
610
  }
611
611
  },
612
612
  storySource: {
613
- componentPath: '/src/components/Table/Table.js'
613
+ componentPath: '/src/components/Table/Table'
614
614
  }
615
615
  }
616
616
  };
@@ -26,30 +26,30 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
26
26
  */
27
27
  function Table(props) {
28
28
  const {
29
- // eslint-disable-next-line unused-imports/no-unused-vars
29
+ // @ts-ignore - TS6133 - 'className' is declared but its value is never read.
30
30
  className,
31
- // eslint-disable-next-line unused-imports/no-unused-vars
31
+ // @ts-ignore - TS6133 - 'classNames' is declared but its value is never read.
32
32
  classNames,
33
- // eslint-disable-next-line unused-imports/no-unused-vars
33
+ // @ts-ignore - TS6133 - 'TableRow' is declared but its value is never read.
34
34
  TableRow,
35
35
  entries,
36
- // eslint-disable-next-line unused-imports/no-unused-vars
36
+ // @ts-ignore - TS6133 - 'extras' is declared but its value is never read.
37
37
  extras,
38
- // eslint-disable-next-line unused-imports/no-unused-vars
38
+ // @ts-ignore - TS6133 - 'headers' is declared but its value is never read.
39
39
  headers,
40
- // eslint-disable-next-line unused-imports/no-unused-vars
40
+ // @ts-ignore - TS6133 - 'showHeader' is declared but its value is never read.
41
41
  showHeader = true,
42
- // eslint-disable-next-line unused-imports/no-unused-vars
42
+ // @ts-ignore - TS6133 - 'tableHeaderClassName' is declared but its value is never read.
43
43
  tableHeaderClassName,
44
44
  sortable = true,
45
45
  defaultSortKey,
46
46
  defaultSortDirection = 'original',
47
47
  onSort,
48
48
  enableInternalSorting,
49
- // eslint-disable-next-line unused-imports/no-unused-vars
49
+ // @ts-ignore - TS6133 - 'isLoading' is declared but its value is never read.
50
50
  isLoading,
51
51
  idName = 'id',
52
- // eslint-disable-next-line unused-imports/no-unused-vars
52
+ // @ts-ignore - TS6133 - 'emptyText' is declared but its value is never read.
53
53
  emptyText,
54
54
  virtualizationOptions
55
55
  } = props;
@@ -57,7 +57,7 @@ function Table(props) {
57
57
  /**
58
58
  *
59
59
  */
60
- // eslint-disable-next-line unused-imports/no-unused-vars
60
+
61
61
  const {
62
62
  sortedEntries,
63
63
  sortedKeys,
@@ -71,11 +71,15 @@ function Table(props) {
71
71
  const virtualized = !!(virtualizationOptions && virtualizationOptions.rowsCount > 0);
72
72
  return virtualized ? /*#__PURE__*/React.createElement(_StaticTable.StaticTableVirtualized, _extends({}, props, sortableProps, {
73
73
  sortable: sortable,
74
- entries: sortedEntries,
74
+ entries: sortedEntries
75
+ // @ts-ignore - TS2322 - Type 'keyof T[]' is not assignable to type 'string[] | undefined'.
76
+ ,
75
77
  rowKeys: sortedKeys
76
78
  })) : /*#__PURE__*/React.createElement(_StaticTable.StaticTable, _extends({}, props, sortableProps, {
77
79
  sortable: sortable,
78
- entries: sortedEntries,
80
+ entries: sortedEntries
81
+ // @ts-ignore - TS2322 - Type 'keyof T[]' is not assignable to type 'string[] | undefined'.
82
+ ,
79
83
  rowKeys: sortedKeys
80
84
  }));
81
85
  }
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import type { ButtonProps } from '../Button';
3
+ import type { SimpleButtonDropdownProps } from '../ButtonDropdown';
4
+ export type TableActionBarProps = {
5
+ children?: React.ReactNode;
6
+ className?: string;
7
+ };
8
+ export declare const ButtonCta: ({ classNames, ...props }: ButtonProps) => React.JSX.Element;
9
+ export declare const DropdownCta: ({ classNames, ...props }: SimpleButtonDropdownProps) => React.JSX.Element;
10
+ export declare const TableActionBar: ({ children, className, ...props }: TableActionBarProps) => React.JSX.Element;
11
+ //# sourceMappingURL=TableActionBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableActionBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAMjE,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,SAAS,GACpB,0BAGG,WAAW,sBAOb,CAAC;AAEJ,eAAO,MAAM,WAAW,GACtB,0BAGG,yBAAyB,sBAO3B,CAAC;AAEJ,eAAO,MAAM,cAAc,GACzB,mCAIG,mBAAmB,sBAOjB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ export type TableBottomBarProps = {
3
+ children?: React.ReactNode;
4
+ className?: string;
5
+ };
6
+ export declare const TableBottomBar: ({ children, className, ...props }: TableBottomBarProps) => React.JSX.Element;
7
+ //# sourceMappingURL=TableBottomBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableBottomBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBottomBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,mCAIG,mBAAmB,sBAOjB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ export type TableTopBarProps = {
3
+ children?: React.ReactNode;
4
+ className?: string;
5
+ };
6
+ export declare const TableTopBar: ({ children, className, ...props }: TableTopBarProps) => React.JSX.Element;
7
+ //# sourceMappingURL=TableTopBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableTopBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableTopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,mCAIG,gBAAgB,sBAOd,CAAC"}