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

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 (790) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/babel.config.js +16 -3
  3. package/gulpfile.js +7 -17
  4. package/lib/components/Accordion/Accordion.js +39 -33
  5. package/lib/components/Accordion/AccordionGroup.js +7 -5
  6. package/lib/components/Accordion/index.d.ts +2 -2
  7. package/lib/components/Accordion/index.js +2 -2
  8. package/lib/components/Avatar/Avatar.d.ts +3 -3
  9. package/lib/components/Avatar/Avatar.js +85 -74
  10. package/lib/components/Avatar/index.d.ts +1 -1
  11. package/lib/components/Avatar/index.js +1 -1
  12. package/lib/components/AvatarGroup/AvatarGroup.d.ts +2 -2
  13. package/lib/components/AvatarGroup/AvatarGroup.js +39 -32
  14. package/lib/components/AvatarGroup/index.d.ts +1 -1
  15. package/lib/components/AvatarGroup/index.js +1 -1
  16. package/lib/components/Badge/Badge.d.ts +1 -1
  17. package/lib/components/Badge/Badge.js +30 -26
  18. package/lib/components/Badge/index.d.ts +1 -1
  19. package/lib/components/Badge/index.js +1 -1
  20. package/lib/components/BadgedIcon/BadgedIcon.d.ts +1 -1
  21. package/lib/components/BadgedIcon/BadgedIcon.js +28 -23
  22. package/lib/components/BadgedIcon/index.d.ts +1 -1
  23. package/lib/components/BadgedIcon/index.js +1 -1
  24. package/lib/components/Banner/Banner.d.ts +1 -1
  25. package/lib/components/Banner/Banner.js +27 -24
  26. package/lib/components/Banner/index.d.ts +1 -1
  27. package/lib/components/Banner/index.js +1 -1
  28. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +1 -1
  29. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +7 -6
  30. package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +1 -1
  31. package/lib/components/Breadcrumbs/BreadcrumbLink/index.js +1 -1
  32. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  33. package/lib/components/Breadcrumbs/Breadcrumbs.js +18 -16
  34. package/lib/components/Breadcrumbs/index.d.ts +2 -2
  35. package/lib/components/Breadcrumbs/index.js +2 -2
  36. package/lib/components/Button/Button.d.ts +1 -1
  37. package/lib/components/Button/Button.js +85 -69
  38. package/lib/components/Button/index.d.ts +2 -2
  39. package/lib/components/Button/index.js +1 -1
  40. package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +4 -4
  41. package/lib/components/ButtonDropdown/ButtonDropdown.js +94 -82
  42. package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +6 -6
  43. package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +8 -6
  44. package/lib/components/ButtonDropdown/index.d.ts +2 -2
  45. package/lib/components/ButtonDropdown/index.js +2 -2
  46. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +1 -1
  47. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js +9 -7
  48. package/lib/components/ButtonTabs/ButtonTab/index.d.ts +1 -1
  49. package/lib/components/ButtonTabs/ButtonTab/index.js +1 -1
  50. package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +3 -3
  51. package/lib/components/ButtonTabs/ButtonTabDropdown.js +60 -51
  52. package/lib/components/ButtonTabs/ButtonTabs.d.ts +2 -2
  53. package/lib/components/ButtonTabs/ButtonTabs.js +12 -9
  54. package/lib/components/ButtonTabs/index.d.ts +2 -2
  55. package/lib/components/ButtonTabs/index.js +2 -2
  56. package/lib/components/Card/Card.js +38 -25
  57. package/lib/components/Card/index.d.ts +1 -1
  58. package/lib/components/Card/index.js +1 -1
  59. package/lib/components/Charts/ChartTooltip/index.d.ts +1 -1
  60. package/lib/components/Charts/ChartTooltip/index.js +2 -2
  61. package/lib/components/Charts/ChartWrapper/ChartWrapper.js +32 -24
  62. package/lib/components/Charts/ChartWrapper/index.d.ts +1 -1
  63. package/lib/components/Charts/ChartWrapper/index.js +1 -1
  64. package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +2 -2
  65. package/lib/components/Charts/ColumnChart/ColumnChart.js +16 -14
  66. package/lib/components/Charts/ColumnChart/index.d.ts +1 -1
  67. package/lib/components/Charts/ColumnChart/index.js +1 -1
  68. package/lib/components/Charts/DonutChart/DonutChart.d.ts +2 -2
  69. package/lib/components/Charts/DonutChart/DonutChart.js +17 -15
  70. package/lib/components/Charts/DonutChart/index.d.ts +1 -1
  71. package/lib/components/Charts/DonutChart/index.js +1 -1
  72. package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +2 -2
  73. package/lib/components/Charts/FunnelChart/FunnelChart.js +17 -15
  74. package/lib/components/Charts/FunnelChart/index.d.ts +1 -1
  75. package/lib/components/Charts/FunnelChart/index.js +1 -1
  76. package/lib/components/Charts/LineChart/LineChart.d.ts +2 -2
  77. package/lib/components/Charts/LineChart/LineChart.js +16 -14
  78. package/lib/components/Charts/LineChart/index.d.ts +1 -1
  79. package/lib/components/Charts/LineChart/index.js +1 -1
  80. package/lib/components/Charts/SankeyChart/SankeyChart.d.ts +2 -2
  81. package/lib/components/Charts/SankeyChart/SankeyChart.js +16 -14
  82. package/lib/components/Charts/SankeyChart/index.d.ts +1 -1
  83. package/lib/components/Charts/SankeyChart/index.js +1 -1
  84. package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +2 -2
  85. package/lib/components/Charts/SpiderChart/SpiderChart.js +16 -14
  86. package/lib/components/Charts/SpiderChart/index.d.ts +1 -1
  87. package/lib/components/Charts/SpiderChart/index.js +1 -1
  88. package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts +2 -2
  89. package/lib/components/Charts/StackedBarChart/StackedBarChart.js +16 -14
  90. package/lib/components/Charts/StackedBarChart/index.d.ts +1 -1
  91. package/lib/components/Charts/StackedBarChart/index.js +1 -1
  92. package/lib/components/Charts/index.d.ts +9 -9
  93. package/lib/components/Charts/index.js +9 -9
  94. package/lib/components/ChatBubble/ChatBubble.d.ts +2 -2
  95. package/lib/components/ChatBubble/ChatBubble.js +60 -46
  96. package/lib/components/ChatBubble/index.d.ts +1 -1
  97. package/lib/components/ChatBubble/index.js +1 -1
  98. package/lib/components/Checkbox/Checkbox.d.ts +1 -1
  99. package/lib/components/Checkbox/Checkbox.js +45 -40
  100. package/lib/components/Checkbox/CheckboxGroup.d.ts +1 -1
  101. package/lib/components/Checkbox/CheckboxGroup.js +20 -16
  102. package/lib/components/Checkbox/index.d.ts +2 -2
  103. package/lib/components/Checkbox/index.js +2 -2
  104. package/lib/components/Chip/Chip.d.ts +1 -1
  105. package/lib/components/Chip/Chip.js +44 -42
  106. package/lib/components/Chip/index.d.ts +2 -2
  107. package/lib/components/Chip/index.js +1 -1
  108. package/lib/components/CircularLoader/CircularLoader.d.ts +1 -1
  109. package/lib/components/CircularLoader/CircularLoader.js +22 -19
  110. package/lib/components/CircularLoader/index.d.ts +1 -1
  111. package/lib/components/CircularLoader/index.js +1 -1
  112. package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +1 -1
  113. package/lib/components/CollapsibleCard/CollapsibleCard.js +51 -41
  114. package/lib/components/CollapsibleCard/index.d.ts +1 -1
  115. package/lib/components/CollapsibleCard/index.js +1 -1
  116. package/lib/components/Combobox/Combobox.d.ts +3 -3
  117. package/lib/components/Combobox/Combobox.js +99 -89
  118. package/lib/components/Combobox/helper.d.ts +1 -1
  119. package/lib/components/Combobox/index.d.ts +1 -1
  120. package/lib/components/Combobox/index.js +1 -1
  121. package/lib/components/ConditionalWrapper/index.d.ts +1 -1
  122. package/lib/components/ConditionalWrapper/index.js +1 -1
  123. package/lib/components/DateRangePicker/Calendar.d.ts +2 -2
  124. package/lib/components/DateRangePicker/Calendar.js +43 -41
  125. package/lib/components/DateRangePicker/DateRangePicker.d.ts +1 -1
  126. package/lib/components/DateRangePicker/DateRangePicker.js +7 -6
  127. package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +2 -2
  128. package/lib/components/DateRangePicker/DateRangeWrapper.js +163 -146
  129. package/lib/components/DateRangePicker/Day.js +16 -13
  130. package/lib/components/DateRangePicker/index.d.ts +1 -1
  131. package/lib/components/DateRangePicker/index.js +1 -1
  132. package/lib/components/Dialog/Dialog.d.ts +1 -1
  133. package/lib/components/Dialog/Dialog.js +75 -52
  134. package/lib/components/Dialog/index.d.ts +1 -1
  135. package/lib/components/Dialog/index.js +1 -1
  136. package/lib/components/Disclaimer/Disclaimer.d.ts +1 -1
  137. package/lib/components/Disclaimer/Disclaimer.js +8 -8
  138. package/lib/components/Disclaimer/index.d.ts +1 -1
  139. package/lib/components/Disclaimer/index.js +1 -1
  140. package/lib/components/Dropdown/Dropdown.d.ts +4 -4
  141. package/lib/components/Dropdown/Dropdown.js +93 -85
  142. package/lib/components/Dropdown/SimpleDropdown.d.ts +5 -5
  143. package/lib/components/Dropdown/SimpleDropdown.js +6 -5
  144. package/lib/components/Dropdown/index.d.ts +2 -2
  145. package/lib/components/Dropdown/index.js +2 -2
  146. package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js +85 -83
  147. package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js +163 -161
  148. package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js +99 -95
  149. package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js +102 -100
  150. package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js +47 -45
  151. package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js +49 -47
  152. package/lib/components/EmptyState/EmptyImages/index.d.ts +6 -6
  153. package/lib/components/EmptyState/EmptyImages/index.js +6 -6
  154. package/lib/components/EmptyState/EmptyState.js +25 -19
  155. package/lib/components/EmptyState/index.d.ts +1 -1
  156. package/lib/components/EmptyState/index.js +1 -1
  157. package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js +64 -62
  158. package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js +95 -90
  159. package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js +189 -187
  160. package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js +53 -51
  161. package/lib/components/ErrorMessage/ErrorImages/index.d.ts +4 -4
  162. package/lib/components/ErrorMessage/ErrorImages/index.js +4 -4
  163. package/lib/components/ErrorMessage/ErrorMessage.js +28 -21
  164. package/lib/components/ErrorMessage/index.d.ts +1 -1
  165. package/lib/components/ErrorMessage/index.js +1 -1
  166. package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +1 -1
  167. package/lib/components/FileUpload/FileBlock/FileBlock.js +66 -46
  168. package/lib/components/FileUpload/FileBlock/index.d.ts +1 -1
  169. package/lib/components/FileUpload/FileBlock/index.js +1 -1
  170. package/lib/components/FileUpload/FileUpload.js +48 -37
  171. package/lib/components/FileUpload/index.d.ts +2 -2
  172. package/lib/components/FileUpload/index.js +2 -2
  173. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +4 -4
  174. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +70 -61
  175. package/lib/components/FilterButtonOverlay/index.d.ts +1 -1
  176. package/lib/components/FilterButtonOverlay/index.js +1 -1
  177. package/lib/components/FocusManager/FocusManager.js +13 -10
  178. package/lib/components/FocusManager/index.d.ts +1 -1
  179. package/lib/components/FocusManager/index.js +1 -1
  180. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +1 -1
  181. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +19 -14
  182. package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +1 -1
  183. package/lib/components/FocusManagerWithArrowKeyNavigation/index.js +1 -1
  184. package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +2 -2
  185. package/lib/components/FormTitleWrapper/FormTitleWrapper.js +22 -17
  186. package/lib/components/FormTitleWrapper/index.d.ts +1 -1
  187. package/lib/components/FormTitleWrapper/index.js +1 -1
  188. package/lib/components/Grid/Grid.js +11 -8
  189. package/lib/components/Grid/index.d.ts +1 -1
  190. package/lib/components/Grid/index.js +1 -1
  191. package/lib/components/Icon/ClickableIcon.d.ts +2 -2
  192. package/lib/components/Icon/ClickableIcon.js +20 -17
  193. package/lib/components/Icon/Icon.d.ts +1 -1
  194. package/lib/components/Icon/Icon.docs.js +2 -2
  195. package/lib/components/Icon/Icon.js +17 -13
  196. package/lib/components/Icon/SemanticIcon.d.ts +2 -2
  197. package/lib/components/Icon/SemanticIcon.js +17 -13
  198. package/lib/components/Icon/index.d.ts +3 -3
  199. package/lib/components/Icon/index.js +3 -3
  200. package/lib/components/InContextAlert/InContextAlert.d.ts +3 -3
  201. package/lib/components/InContextAlert/InContextAlert.js +55 -47
  202. package/lib/components/InContextAlert/index.d.ts +1 -1
  203. package/lib/components/InContextAlert/index.js +1 -1
  204. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +2 -2
  205. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +54 -43
  206. package/lib/components/InContextAlertWithMultipleActions/index.d.ts +1 -1
  207. package/lib/components/InContextAlertWithMultipleActions/index.js +1 -1
  208. package/lib/components/InfinitePagination/InfinitePagination.d.ts +1 -1
  209. package/lib/components/InfinitePagination/InfinitePagination.js +37 -31
  210. package/lib/components/InfinitePagination/index.d.ts +1 -1
  211. package/lib/components/InfinitePagination/index.js +1 -1
  212. package/lib/components/InlineDropdown/InlineDropdown.d.ts +5 -5
  213. package/lib/components/InlineDropdown/InlineDropdown.js +88 -77
  214. package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +6 -6
  215. package/lib/components/InlineDropdown/SimpleInlineDropdown.js +8 -6
  216. package/lib/components/InlineDropdown/index.d.ts +2 -2
  217. package/lib/components/InlineDropdown/index.js +2 -2
  218. package/lib/components/Input/Input.d.ts +1 -1
  219. package/lib/components/Input/Input.js +94 -80
  220. package/lib/components/Input/index.d.ts +1 -1
  221. package/lib/components/Input/index.js +1 -1
  222. package/lib/components/KPIBox/KPIBox.d.ts +2 -2
  223. package/lib/components/KPIBox/KPIBox.js +26 -20
  224. package/lib/components/KPIBox/index.d.ts +1 -1
  225. package/lib/components/KPIBox/index.js +1 -1
  226. package/lib/components/LinearLoader/LinearLoader.js +18 -16
  227. package/lib/components/LinearLoader/index.d.ts +1 -1
  228. package/lib/components/LinearLoader/index.js +1 -1
  229. package/lib/components/Link/Link.d.ts +2 -2
  230. package/lib/components/Link/Link.js +36 -30
  231. package/lib/components/Link/index.d.ts +1 -1
  232. package/lib/components/Link/index.js +1 -1
  233. package/lib/components/Menu/Menu.d.ts +2 -2
  234. package/lib/components/Menu/Menu.js +104 -89
  235. package/lib/components/Menu/MenuOptionButton.d.ts +1 -1
  236. package/lib/components/Menu/MenuOptionButton.js +58 -47
  237. package/lib/components/Menu/index.d.ts +2 -2
  238. package/lib/components/Menu/index.js +2 -2
  239. package/lib/components/Modal/Modal.js +76 -61
  240. package/lib/components/Modal/index.d.ts +2 -2
  241. package/lib/components/Modal/index.js +1 -1
  242. package/lib/components/Notification/Notification.d.ts +1 -1
  243. package/lib/components/Notification/Notification.js +38 -32
  244. package/lib/components/Notification/index.d.ts +1 -1
  245. package/lib/components/Notification/index.js +1 -1
  246. package/lib/components/OptionButton/OptionButton.d.ts +5 -5
  247. package/lib/components/OptionButton/OptionButton.js +61 -56
  248. package/lib/components/OptionButton/SimpleOptionButton.d.ts +6 -6
  249. package/lib/components/OptionButton/SimpleOptionButton.js +8 -6
  250. package/lib/components/OptionButton/index.d.ts +2 -2
  251. package/lib/components/OptionButton/index.js +2 -2
  252. package/lib/components/PageTitle/PageTitle.js +60 -44
  253. package/lib/components/PageTitle/index.d.ts +1 -1
  254. package/lib/components/PageTitle/index.js +1 -1
  255. package/lib/components/Pagination/Pagination.js +46 -39
  256. package/lib/components/Pagination/PaginationItem.d.ts +1 -1
  257. package/lib/components/Pagination/PaginationItem.js +23 -17
  258. package/lib/components/Pagination/index.d.ts +1 -1
  259. package/lib/components/Pagination/index.js +1 -1
  260. package/lib/components/Panel/Panel.d.ts +1 -1
  261. package/lib/components/Panel/Panel.js +45 -33
  262. package/lib/components/Panel/index.d.ts +2 -2
  263. package/lib/components/Panel/index.js +1 -1
  264. package/lib/components/ProgressDonut/ProgressDonut.d.ts +1 -1
  265. package/lib/components/ProgressDonut/ProgressDonut.js +37 -32
  266. package/lib/components/ProgressDonut/index.d.ts +1 -1
  267. package/lib/components/ProgressDonut/index.js +1 -1
  268. package/lib/components/PromptChip/PromptChip.d.ts +3 -3
  269. package/lib/components/PromptChip/PromptChip.js +62 -50
  270. package/lib/components/PromptChip/index.d.ts +1 -1
  271. package/lib/components/PromptChip/index.js +1 -1
  272. package/lib/components/PromptInput/PromptInput.d.ts +1 -1
  273. package/lib/components/PromptInput/PromptInput.js +57 -50
  274. package/lib/components/PromptInput/index.d.ts +1 -1
  275. package/lib/components/PromptInput/index.js +1 -1
  276. package/lib/components/RadioButton/RadioButton.d.ts +1 -1
  277. package/lib/components/RadioButton/RadioButton.js +31 -28
  278. package/lib/components/RadioButton/RadioGroup.d.ts +1 -1
  279. package/lib/components/RadioButton/RadioGroup.js +20 -16
  280. package/lib/components/RadioButton/index.d.ts +2 -2
  281. package/lib/components/RadioButton/index.js +2 -2
  282. package/lib/components/RadioTile/RadioTile.d.ts +2 -2
  283. package/lib/components/RadioTile/RadioTile.js +52 -42
  284. package/lib/components/RadioTile/index.d.ts +1 -1
  285. package/lib/components/RadioTile/index.js +1 -1
  286. package/lib/components/RangeSlider/RangeSlider.d.ts +1 -1
  287. package/lib/components/RangeSlider/RangeSlider.js +73 -68
  288. package/lib/components/RangeSlider/index.d.ts +1 -1
  289. package/lib/components/RangeSlider/index.js +1 -1
  290. package/lib/components/Rating/Rating.d.ts +2 -2
  291. package/lib/components/Rating/Rating.js +48 -43
  292. package/lib/components/Rating/index.d.ts +1 -1
  293. package/lib/components/Rating/index.js +1 -1
  294. package/lib/components/ScoreBar/ScoreBar.js +29 -26
  295. package/lib/components/ScoreBar/index.d.ts +1 -1
  296. package/lib/components/ScoreBar/index.js +1 -1
  297. package/lib/components/SearchInput/SearchInput.d.ts +1 -1
  298. package/lib/components/SearchInput/SearchInput.js +35 -32
  299. package/lib/components/SearchInput/index.d.ts +2 -2
  300. package/lib/components/SearchInput/index.js +1 -1
  301. package/lib/components/Separator/Separator.js +5 -4
  302. package/lib/components/Separator/index.d.ts +1 -1
  303. package/lib/components/Separator/index.js +1 -1
  304. package/lib/components/Shimmer/Shimmer.js +39 -31
  305. package/lib/components/Shimmer/index.d.ts +1 -1
  306. package/lib/components/Shimmer/index.js +1 -1
  307. package/lib/components/SideMenuLink/SideMenuLink.d.ts +3 -3
  308. package/lib/components/SideMenuLink/SideMenuLink.js +63 -52
  309. package/lib/components/SideMenuLink/index.d.ts +1 -1
  310. package/lib/components/SideMenuLink/index.js +1 -1
  311. package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -1
  312. package/lib/components/StatusIndicator/StatusIndicator.js +7 -6
  313. package/lib/components/StatusIndicator/index.d.ts +1 -1
  314. package/lib/components/StatusIndicator/index.js +1 -1
  315. package/lib/components/Stepper/Step/Step.d.ts +1 -1
  316. package/lib/components/Stepper/Step/Step.js +33 -27
  317. package/lib/components/Stepper/Step/StepContent.js +7 -5
  318. package/lib/components/Stepper/Step/StepLabel.js +7 -5
  319. package/lib/components/Stepper/Step/index.d.ts +3 -3
  320. package/lib/components/Stepper/Step/index.js +3 -3
  321. package/lib/components/Stepper/Stepper.js +7 -5
  322. package/lib/components/Stepper/index.d.ts +2 -2
  323. package/lib/components/Stepper/index.js +2 -2
  324. package/lib/components/StickyBar/StickyBar.js +18 -12
  325. package/lib/components/StickyBar/index.d.ts +1 -1
  326. package/lib/components/StickyBar/index.js +1 -1
  327. package/lib/components/SubMenu/SubMenu.d.ts +1 -1
  328. package/lib/components/SubMenu/SubMenu.js +41 -35
  329. package/lib/components/SubMenu/SubMenuGroup.d.ts +2 -2
  330. package/lib/components/SubMenu/SubMenuGroup.js +63 -54
  331. package/lib/components/SubMenu/SubMenuItem.d.ts +3 -3
  332. package/lib/components/SubMenu/SubMenuItem.js +35 -24
  333. package/lib/components/SubMenu/SubMenuLink.d.ts +1 -1
  334. package/lib/components/SubMenu/SubMenuLink.js +34 -27
  335. package/lib/components/SubMenu/index.d.ts +4 -4
  336. package/lib/components/SubMenu/index.js +4 -4
  337. package/lib/components/Table/Cell.d.ts +1 -1
  338. package/lib/components/Table/Cell.js +44 -34
  339. package/lib/components/Table/DefaultRow.d.ts +3 -3
  340. package/lib/components/Table/DefaultRow.js +64 -57
  341. package/lib/components/Table/DefaultTableHeader.d.ts +3 -3
  342. package/lib/components/Table/DefaultTableHeader.js +103 -89
  343. package/lib/components/Table/StaticTable.d.ts +3 -3
  344. package/lib/components/Table/StaticTable.js +124 -114
  345. package/lib/components/Table/Table.d.ts +3 -3
  346. package/lib/components/Table/Table.js +10 -6
  347. package/lib/components/Table/TableActionBar.d.ts +2 -2
  348. package/lib/components/Table/TableActionBar.js +16 -12
  349. package/lib/components/Table/TableBottomBar.js +8 -6
  350. package/lib/components/Table/TableTopBar.js +8 -6
  351. package/lib/components/Table/hooks.d.ts +1 -1
  352. package/lib/components/Table/index.d.ts +8 -8
  353. package/lib/components/Table/index.js +8 -8
  354. package/lib/components/Tabs/Tab/Tab.d.ts +2 -2
  355. package/lib/components/Tabs/Tab/Tab.js +64 -53
  356. package/lib/components/Tabs/Tab/index.d.ts +1 -1
  357. package/lib/components/Tabs/Tab/index.js +1 -1
  358. package/lib/components/Tabs/TabList/TabDropdown.d.ts +4 -4
  359. package/lib/components/Tabs/TabList/TabDropdown.js +62 -53
  360. package/lib/components/Tabs/TabList/TabList.d.ts +1 -1
  361. package/lib/components/Tabs/TabList/TabList.js +13 -12
  362. package/lib/components/Tabs/TabList/index.d.ts +1 -1
  363. package/lib/components/Tabs/TabList/index.js +1 -1
  364. package/lib/components/Tabs/index.d.ts +2 -2
  365. package/lib/components/Tabs/index.js +2 -2
  366. package/lib/components/Text/Text.d.ts +1 -1
  367. package/lib/components/Text/Text.js +303 -251
  368. package/lib/components/Text/index.d.ts +3 -3
  369. package/lib/components/Text/index.js +2 -2
  370. package/lib/components/TextTile/TextTile.js +21 -14
  371. package/lib/components/TextTile/index.d.ts +1 -1
  372. package/lib/components/TextTile/index.js +1 -1
  373. package/lib/components/Textarea/Textarea.js +49 -39
  374. package/lib/components/Textarea/index.d.ts +2 -2
  375. package/lib/components/Textarea/index.js +1 -1
  376. package/lib/components/Timeline/Timeline.js +7 -5
  377. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +3 -3
  378. package/lib/components/Timeline/TimelineItem/TimelineItem.js +55 -45
  379. package/lib/components/Timeline/TimelineItem/index.d.ts +1 -1
  380. package/lib/components/Timeline/TimelineItem/index.js +1 -1
  381. package/lib/components/Timeline/index.d.ts +2 -2
  382. package/lib/components/Timeline/index.js +2 -2
  383. package/lib/components/Toast/Toast.js +55 -46
  384. package/lib/components/Toast/ToastContainer.js +10 -9
  385. package/lib/components/Toast/ToastManager.d.ts +1 -1
  386. package/lib/components/Toast/ToastManager.js +1 -1
  387. package/lib/components/Toast/index.d.ts +4 -4
  388. package/lib/components/Toast/index.js +3 -3
  389. package/lib/components/Toggle/Toggle.js +30 -25
  390. package/lib/components/Toggle/index.d.ts +1 -1
  391. package/lib/components/Toggle/index.js +1 -1
  392. package/lib/components/TokenListInput/TokenListInput.d.ts +5 -5
  393. package/lib/components/TokenListInput/TokenListInput.js +152 -137
  394. package/lib/components/TokenListInput/TokenValueChips.js +13 -11
  395. package/lib/components/TokenListInput/index.d.ts +1 -1
  396. package/lib/components/TokenListInput/index.js +1 -1
  397. package/lib/components/Tooltip/Tooltip.js +44 -32
  398. package/lib/components/Tooltip/index.d.ts +1 -1
  399. package/lib/components/Tooltip/index.js +1 -1
  400. package/lib/components/Truncate/Truncate.js +11 -8
  401. package/lib/components/Truncate/index.d.ts +2 -2
  402. package/lib/components/Truncate/index.js +1 -1
  403. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +1 -1
  404. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +23 -18
  405. package/lib/components/TruncatedTextWithTooltip/index.d.ts +1 -1
  406. package/lib/components/TruncatedTextWithTooltip/index.js +1 -1
  407. package/lib/components/Typeahead/SimpleTypeahead.d.ts +5 -5
  408. package/lib/components/Typeahead/SimpleTypeahead.js +6 -5
  409. package/lib/components/Typeahead/Typeahead.d.ts +4 -4
  410. package/lib/components/Typeahead/Typeahead.js +111 -99
  411. package/lib/components/Typeahead/index.d.ts +2 -2
  412. package/lib/components/Typeahead/index.js +2 -2
  413. package/lib/components/WeekdayPicker/WeekdayPicker.js +52 -47
  414. package/lib/components/WeekdayPicker/index.d.ts +1 -1
  415. package/lib/components/WeekdayPicker/index.js +1 -1
  416. package/lib/components/index.d.ts +75 -75
  417. package/lib/components/index.js +75 -75
  418. package/lib/hooks/index.d.ts +16 -16
  419. package/lib/hooks/index.js +16 -16
  420. package/lib/hooks/useArbitraryOptionAddition/index.d.ts +1 -1
  421. package/lib/hooks/useArbitraryOptionAddition/index.js +1 -1
  422. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +1 -1
  423. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +1 -1
  424. package/lib/hooks/useCopyToClipboard/index.d.ts +1 -1
  425. package/lib/hooks/useCopyToClipboard/index.js +1 -1
  426. package/lib/hooks/useDebounce/index.d.ts +1 -1
  427. package/lib/hooks/useDebounce/index.js +1 -1
  428. package/lib/hooks/useFileUpload/index.d.ts +1 -1
  429. package/lib/hooks/useFileUpload/index.js +1 -1
  430. package/lib/hooks/useFileUpload/useFileUpload.d.ts +1 -1
  431. package/lib/hooks/useFileUpload/useFileUpload.js +1 -1
  432. package/lib/hooks/useFilteredOptions/index.d.ts +1 -1
  433. package/lib/hooks/useFilteredOptions/index.js +1 -1
  434. package/lib/hooks/useInfiniteScroll/index.d.ts +1 -1
  435. package/lib/hooks/useInfiniteScroll/index.js +1 -1
  436. package/lib/hooks/useInputState/index.d.ts +1 -1
  437. package/lib/hooks/useInputState/index.js +1 -1
  438. package/lib/hooks/useLockedBody/index.d.ts +1 -1
  439. package/lib/hooks/useLockedBody/index.js +1 -1
  440. package/lib/hooks/useModal/index.d.ts +1 -1
  441. package/lib/hooks/useModal/index.js +1 -1
  442. package/lib/hooks/useModal/useModal.d.ts +3 -3
  443. package/lib/hooks/useModal/useModal.d.ts.map +1 -1
  444. package/lib/hooks/useModal/useModal.js +1 -1
  445. package/lib/hooks/usePagination/index.d.ts +1 -1
  446. package/lib/hooks/usePagination/index.js +1 -1
  447. package/lib/hooks/usePagination/usePagination.d.ts +1 -1
  448. package/lib/hooks/usePagination/usePagination.js +1 -1
  449. package/lib/hooks/useReferenceElementWidth/index.d.ts +1 -1
  450. package/lib/hooks/useReferenceElementWidth/index.js +1 -1
  451. package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js +1 -1
  452. package/lib/hooks/useResizeObserver/index.d.ts +1 -1
  453. package/lib/hooks/useResizeObserver/index.js +1 -1
  454. package/lib/hooks/useToastPortal/index.d.ts +1 -1
  455. package/lib/hooks/useToastPortal/index.js +1 -1
  456. package/lib/hooks/useToastPortal/useToastPortal.js +2 -2
  457. package/lib/hooks/useToggle/index.d.ts +1 -1
  458. package/lib/hooks/useToggle/index.js +1 -1
  459. package/lib/hooks/useWindowSize/index.d.ts +1 -1
  460. package/lib/hooks/useWindowSize/index.js +1 -1
  461. package/lib/index.d.ts +5 -5
  462. package/lib/index.js +5 -5
  463. package/lib/types/index.d.ts +7 -7
  464. package/lib/types/index.js +7 -7
  465. package/lib/utils/array/index.d.ts +1 -1
  466. package/lib/utils/array/index.js +1 -1
  467. package/lib/utils/charts/charts.d.ts +1 -1
  468. package/lib/utils/charts/charts.js +5 -5
  469. package/lib/utils/charts/columnChart.d.ts +1 -1
  470. package/lib/utils/charts/columnChart.js +3 -3
  471. package/lib/utils/charts/donutChart.d.ts +1 -1
  472. package/lib/utils/charts/donutChart.js +2 -2
  473. package/lib/utils/charts/funnelChart.d.ts +2 -2
  474. package/lib/utils/charts/funnelChart.js +4 -4
  475. package/lib/utils/charts/helpers.js +2 -2
  476. package/lib/utils/charts/index.d.ts +10 -10
  477. package/lib/utils/charts/index.js +10 -10
  478. package/lib/utils/charts/lineChart.d.ts +1 -1
  479. package/lib/utils/charts/lineChart.js +4 -4
  480. package/lib/utils/charts/sankeyChart.d.ts +1 -1
  481. package/lib/utils/charts/sankeyChart.js +2 -2
  482. package/lib/utils/charts/spiderChart.d.ts +1 -1
  483. package/lib/utils/charts/spiderChart.js +4 -4
  484. package/lib/utils/charts/stackedBarChart.d.ts +1 -1
  485. package/lib/utils/charts/stackedBarChart.js +3 -3
  486. package/lib/utils/charts/typography.js +2 -2
  487. package/lib/utils/click-away/click-away.js +1 -1
  488. package/lib/utils/click-away/index.d.ts +1 -1
  489. package/lib/utils/click-away/index.js +1 -1
  490. package/lib/utils/date-range-picker/date-range-picker.d.ts +2 -2
  491. package/lib/utils/date-range-picker/date-range-picker.js +1 -1
  492. package/lib/utils/date-range-picker/index.d.ts +2 -2
  493. package/lib/utils/date-range-picker/index.js +2 -2
  494. package/lib/utils/dom/index.d.ts +1 -1
  495. package/lib/utils/dom/index.js +1 -1
  496. package/lib/utils/helpers/index.d.ts +1 -1
  497. package/lib/utils/helpers/index.js +1 -1
  498. package/lib/utils/index.d.ts +14 -14
  499. package/lib/utils/index.js +14 -14
  500. package/lib/utils/makeClassNameComponent/index.d.ts +1 -1
  501. package/lib/utils/makeClassNameComponent/index.js +1 -1
  502. package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +1 -1
  503. package/lib/utils/menu/index.d.ts +1 -1
  504. package/lib/utils/menu/index.js +1 -1
  505. package/lib/utils/menu/menu.d.ts +1 -1
  506. package/lib/utils/merge-refs/index.d.ts +1 -1
  507. package/lib/utils/merge-refs/index.js +1 -1
  508. package/lib/utils/rating/index.d.ts +1 -1
  509. package/lib/utils/rating/index.js +1 -1
  510. package/lib/utils/score-bar/index.d.ts +1 -1
  511. package/lib/utils/score-bar/index.js +1 -1
  512. package/lib/utils/score-bar/score-bar.d.ts +1 -1
  513. package/lib/utils/string/index.d.ts +1 -1
  514. package/lib/utils/string/index.js +1 -1
  515. package/lib/utils/tokens/index.d.ts +1 -1
  516. package/lib/utils/tokens/index.js +1 -1
  517. package/package.json +4 -2
  518. package/tsconfig.declaration.json +14 -2
  519. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts +0 -19
  520. package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +0 -1
  521. package/lib/components/Accordion/Accordion.stories.d.ts +0 -144
  522. package/lib/components/Accordion/Accordion.stories.d.ts.map +0 -1
  523. package/lib/components/Accordion/AccordionGroup.stories.d.ts +0 -90
  524. package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +0 -1
  525. package/lib/components/Avatar/Avatar.stories.d.ts +0 -149
  526. package/lib/components/Avatar/Avatar.stories.d.ts.map +0 -1
  527. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +0 -101
  528. package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +0 -1
  529. package/lib/components/Badge/Badge.stories.d.ts +0 -123
  530. package/lib/components/Badge/Badge.stories.d.ts.map +0 -1
  531. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +0 -111
  532. package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +0 -1
  533. package/lib/components/Banner/Banner.stories.d.ts +0 -187
  534. package/lib/components/Banner/Banner.stories.d.ts.map +0 -1
  535. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +0 -98
  536. package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +0 -1
  537. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -57
  538. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
  539. package/lib/components/Button/Button.stories.d.ts +0 -245
  540. package/lib/components/Button/Button.stories.d.ts.map +0 -1
  541. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +0 -1978
  542. package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +0 -1
  543. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +0 -2900
  544. package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +0 -1
  545. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +0 -142
  546. package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +0 -1
  547. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +0 -201
  548. package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +0 -1
  549. package/lib/components/Card/Card.stories.d.ts +0 -150
  550. package/lib/components/Card/Card.stories.d.ts.map +0 -1
  551. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +0 -446
  552. package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +0 -1
  553. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -227
  554. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +0 -1
  555. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +0 -308
  556. package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +0 -1
  557. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -311
  558. package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +0 -1
  559. package/lib/components/Charts/SankeyChart/SankeyChart.stories.d.ts +0 -267
  560. package/lib/components/Charts/SankeyChart/SankeyChart.stories.d.ts.map +0 -1
  561. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +0 -150
  562. package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +0 -1
  563. package/lib/components/Charts/StackedBarChart/StackedBarChart.stories.d.ts +0 -192
  564. package/lib/components/Charts/StackedBarChart/StackedBarChart.stories.d.ts.map +0 -1
  565. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +0 -101
  566. package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +0 -1
  567. package/lib/components/ChatBubble/ChatBubble.stories.d.ts +0 -102
  568. package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +0 -1
  569. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -168
  570. package/lib/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  571. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +0 -163
  572. package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +0 -1
  573. package/lib/components/Chip/Chip.stories.d.ts +0 -238
  574. package/lib/components/Chip/Chip.stories.d.ts.map +0 -1
  575. package/lib/components/CircularLoader/CircularLoader.stories.d.ts +0 -64
  576. package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +0 -1
  577. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +0 -225
  578. package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +0 -1
  579. package/lib/components/Combobox/Combobox.stories.d.ts +0 -198
  580. package/lib/components/Combobox/Combobox.stories.d.ts.map +0 -1
  581. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +0 -16
  582. package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +0 -1
  583. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +0 -184
  584. package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +0 -1
  585. package/lib/components/Dialog/Dialog.stories.d.ts +0 -171
  586. package/lib/components/Dialog/Dialog.stories.d.ts.map +0 -1
  587. package/lib/components/Disclaimer/Disclaimer.stories.d.ts +0 -156
  588. package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +0 -1
  589. package/lib/components/Dropdown/Dropdown.stories.d.ts +0 -417
  590. package/lib/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  591. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +0 -424
  592. package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +0 -1
  593. package/lib/components/EmptyState/EmptyState.stories.d.ts +0 -91
  594. package/lib/components/EmptyState/EmptyState.stories.d.ts.map +0 -1
  595. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +0 -97
  596. package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +0 -1
  597. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +0 -82
  598. package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +0 -1
  599. package/lib/components/FileUpload/FileUpload.stories.d.ts +0 -341
  600. package/lib/components/FileUpload/FileUpload.stories.d.ts.map +0 -1
  601. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +0 -300
  602. package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +0 -1
  603. package/lib/components/FocusManager/FocusManager.stories.d.ts +0 -103
  604. package/lib/components/FocusManager/FocusManager.stories.d.ts.map +0 -1
  605. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +0 -175
  606. package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +0 -1
  607. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +0 -128
  608. package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +0 -1
  609. package/lib/components/Grid/Col.stories.d.ts +0 -66
  610. package/lib/components/Grid/Col.stories.d.ts.map +0 -1
  611. package/lib/components/Grid/GridPatterns.stories.d.ts +0 -18
  612. package/lib/components/Grid/GridPatterns.stories.d.ts.map +0 -1
  613. package/lib/components/Grid/Row.stories.d.ts +0 -41
  614. package/lib/components/Grid/Row.stories.d.ts.map +0 -1
  615. package/lib/components/Grid/Tablist.layout.stories.d.ts +0 -20
  616. package/lib/components/Grid/Tablist.layout.stories.d.ts.map +0 -1
  617. package/lib/components/Icon/Icon.stories.d.ts +0 -193
  618. package/lib/components/Icon/Icon.stories.d.ts.map +0 -1
  619. package/lib/components/Icon/SemanticIcon.stories.d.ts +0 -190
  620. package/lib/components/Icon/SemanticIcon.stories.d.ts.map +0 -1
  621. package/lib/components/InContextAlert/InContextAlert.stories.d.ts +0 -181
  622. package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +0 -1
  623. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts +0 -249
  624. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts.map +0 -1
  625. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +0 -145
  626. package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +0 -1
  627. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +0 -1202
  628. package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +0 -1
  629. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +0 -2173
  630. package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +0 -1
  631. package/lib/components/Input/Input.stories.d.ts +0 -502
  632. package/lib/components/Input/Input.stories.d.ts.map +0 -1
  633. package/lib/components/Input/NativeColorpicker.stories.d.ts +0 -370
  634. package/lib/components/Input/NativeColorpicker.stories.d.ts.map +0 -1
  635. package/lib/components/Input/NativeDatepicker.stories.d.ts +0 -388
  636. package/lib/components/Input/NativeDatepicker.stories.d.ts.map +0 -1
  637. package/lib/components/KPIBox/KPIBox.stories.d.ts +0 -132
  638. package/lib/components/KPIBox/KPIBox.stories.d.ts.map +0 -1
  639. package/lib/components/LinearLoader/LinearLoader.stories.d.ts +0 -78
  640. package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +0 -1
  641. package/lib/components/Link/Link.stories.d.ts +0 -284
  642. package/lib/components/Link/Link.stories.d.ts.map +0 -1
  643. package/lib/components/Menu/Menu.stories.d.ts +0 -526
  644. package/lib/components/Menu/Menu.stories.d.ts.map +0 -1
  645. package/lib/components/Modal/Modal.stories.d.ts +0 -149
  646. package/lib/components/Modal/Modal.stories.d.ts.map +0 -1
  647. package/lib/components/Notification/Notification.stories.d.ts +0 -136
  648. package/lib/components/Notification/Notification.stories.d.ts.map +0 -1
  649. package/lib/components/OptionButton/OptionButton.stories.d.ts +0 -366
  650. package/lib/components/OptionButton/OptionButton.stories.d.ts.map +0 -1
  651. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +0 -1638
  652. package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +0 -1
  653. package/lib/components/PageTitle/PageTitle.stories.d.ts +0 -83
  654. package/lib/components/PageTitle/PageTitle.stories.d.ts.map +0 -1
  655. package/lib/components/Pagination/Pagination.stories.d.ts +0 -203
  656. package/lib/components/Pagination/Pagination.stories.d.ts.map +0 -1
  657. package/lib/components/Panel/Panel.stories.d.ts +0 -187
  658. package/lib/components/Panel/Panel.stories.d.ts.map +0 -1
  659. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +0 -72
  660. package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +0 -1
  661. package/lib/components/PromptChip/PromptChip.stories.d.ts +0 -205
  662. package/lib/components/PromptChip/PromptChip.stories.d.ts.map +0 -1
  663. package/lib/components/PromptInput/PromptInput.stories.d.ts +0 -265
  664. package/lib/components/PromptInput/PromptInput.stories.d.ts.map +0 -1
  665. package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -149
  666. package/lib/components/RadioButton/RadioButton.stories.d.ts.map +0 -1
  667. package/lib/components/RadioButton/RadioGroup.stories.d.ts +0 -137
  668. package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +0 -1
  669. package/lib/components/RadioTile/RadioTile.stories.d.ts +0 -171
  670. package/lib/components/RadioTile/RadioTile.stories.d.ts.map +0 -1
  671. package/lib/components/RangeSlider/RangeSlider.stories.d.ts +0 -287
  672. package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +0 -1
  673. package/lib/components/Rating/Rating.stories.d.ts +0 -237
  674. package/lib/components/Rating/Rating.stories.d.ts.map +0 -1
  675. package/lib/components/ScoreBar/ScoreBar.stories.d.ts +0 -156
  676. package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +0 -1
  677. package/lib/components/SearchInput/SearchInput.stories.d.ts +0 -260
  678. package/lib/components/SearchInput/SearchInput.stories.d.ts.map +0 -1
  679. package/lib/components/Separator/Separator.stories.d.ts +0 -79
  680. package/lib/components/Separator/Separator.stories.d.ts.map +0 -1
  681. package/lib/components/Shimmer/Shimmer.stories.d.ts +0 -213
  682. package/lib/components/Shimmer/Shimmer.stories.d.ts.map +0 -1
  683. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +0 -96
  684. package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +0 -1
  685. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +0 -92
  686. package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +0 -1
  687. package/lib/components/Stepper/Step/Step.stories.d.ts +0 -120
  688. package/lib/components/Stepper/Step/Step.stories.d.ts.map +0 -1
  689. package/lib/components/Stepper/Stepper.stories.d.ts +0 -210
  690. package/lib/components/Stepper/Stepper.stories.d.ts.map +0 -1
  691. package/lib/components/StickyBar/StickyBar.stories.d.ts +0 -35
  692. package/lib/components/StickyBar/StickyBar.stories.d.ts.map +0 -1
  693. package/lib/components/SubMenu/SubMenu.stories.d.ts +0 -114
  694. package/lib/components/SubMenu/SubMenu.stories.d.ts.map +0 -1
  695. package/lib/components/Table/BasicTable.stories.d.ts +0 -691
  696. package/lib/components/Table/BasicTable.stories.d.ts.map +0 -1
  697. package/lib/components/Table/BulkActions.stories.d.ts +0 -327
  698. package/lib/components/Table/BulkActions.stories.d.ts.map +0 -1
  699. package/lib/components/Table/InlineEdit.stories.d.ts +0 -314
  700. package/lib/components/Table/InlineEdit.stories.d.ts.map +0 -1
  701. package/lib/components/Tabs/Tab/Tab.stories.d.ts +0 -156
  702. package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +0 -1
  703. package/lib/components/Tabs/TabList/TabList.stories.d.ts +0 -133
  704. package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +0 -1
  705. package/lib/components/Text/HighlightedText.stories.d.ts +0 -120
  706. package/lib/components/Text/HighlightedText.stories.d.ts.map +0 -1
  707. package/lib/components/Text/Text.stories.d.ts +0 -271
  708. package/lib/components/Text/Text.stories.d.ts.map +0 -1
  709. package/lib/components/TextTile/TextTile.stories.d.ts +0 -76
  710. package/lib/components/TextTile/TextTile.stories.d.ts.map +0 -1
  711. package/lib/components/Textarea/Textarea.stories.d.ts +0 -264
  712. package/lib/components/Textarea/Textarea.stories.d.ts.map +0 -1
  713. package/lib/components/Timeline/Timeline.stories.d.ts +0 -62
  714. package/lib/components/Timeline/Timeline.stories.d.ts.map +0 -1
  715. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +0 -184
  716. package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +0 -1
  717. package/lib/components/Toast/Toast.stories.d.ts +0 -105
  718. package/lib/components/Toast/Toast.stories.d.ts.map +0 -1
  719. package/lib/components/Toggle/Toggle.stories.d.ts +0 -142
  720. package/lib/components/Toggle/Toggle.stories.d.ts.map +0 -1
  721. package/lib/components/TokenListInput/TokenListInput.stories.d.ts +0 -379
  722. package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +0 -1
  723. package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -172
  724. package/lib/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  725. package/lib/components/Truncate/Truncate.stories.d.ts +0 -94
  726. package/lib/components/Truncate/Truncate.stories.d.ts.map +0 -1
  727. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +0 -110
  728. package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +0 -1
  729. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +0 -396
  730. package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +0 -1
  731. package/lib/components/Typeahead/Typeahead.stories.d.ts +0 -399
  732. package/lib/components/Typeahead/Typeahead.stories.d.ts.map +0 -1
  733. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +0 -238
  734. package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +0 -1
  735. package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts +0 -19
  736. package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts.map +0 -1
  737. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +0 -18
  738. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +0 -1
  739. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +0 -24
  740. package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +0 -1
  741. package/lib/hooks/useDebounce/useDebounce.stories.d.ts +0 -26
  742. package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +0 -1
  743. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +0 -16
  744. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +0 -1
  745. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +0 -18
  746. package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +0 -1
  747. package/lib/hooks/useInputState/useInputState.stories.d.ts +0 -16
  748. package/lib/hooks/useInputState/useInputState.stories.d.ts.map +0 -1
  749. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +0 -17
  750. package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +0 -1
  751. package/lib/hooks/useModal/useModal.stories.d.ts +0 -17
  752. package/lib/hooks/useModal/useModal.stories.d.ts.map +0 -1
  753. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +0 -16
  754. package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +0 -1
  755. package/lib/hooks/usePagination/usePagination.stories.d.ts +0 -18
  756. package/lib/hooks/usePagination/usePagination.stories.d.ts.map +0 -1
  757. package/lib/hooks/useToggle/useToggle.stories.d.ts +0 -17
  758. package/lib/hooks/useToggle/useToggle.stories.d.ts.map +0 -1
  759. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +0 -17
  760. package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +0 -1
  761. package/lib/stories/Border/Border.stories.d.ts +0 -12
  762. package/lib/stories/Border/Border.stories.d.ts.map +0 -1
  763. package/lib/stories/Color/Color.stories.d.ts +0 -13
  764. package/lib/stories/Color/Color.stories.d.ts.map +0 -1
  765. package/lib/stories/Elevation/Elevation.stories.d.ts +0 -12
  766. package/lib/stories/Elevation/Elevation.stories.d.ts.map +0 -1
  767. package/lib/stories/Motion/Motion.stories.d.ts +0 -12
  768. package/lib/stories/Motion/Motion.stories.d.ts.map +0 -1
  769. package/lib/stories/Opacity/Opacity.stories.d.ts +0 -12
  770. package/lib/stories/Opacity/Opacity.stories.d.ts.map +0 -1
  771. package/lib/stories/Shadow/Shadow.stories.d.ts +0 -12
  772. package/lib/stories/Shadow/Shadow.stories.d.ts.map +0 -1
  773. package/lib/stories/Size/Size.stories.d.ts +0 -12
  774. package/lib/stories/Size/Size.stories.d.ts.map +0 -1
  775. package/lib/stories/Space/Space.stories.d.ts +0 -12
  776. package/lib/stories/Space/Space.stories.d.ts.map +0 -1
  777. package/lib/utils/classify/classify.stories.d.ts +0 -17
  778. package/lib/utils/classify/classify.stories.d.ts.map +0 -1
  779. package/lib/utils/click-away/ClickAway.stories.d.ts +0 -106
  780. package/lib/utils/click-away/ClickAway.stories.d.ts.map +0 -1
  781. package/lib/utils/dom/dom.stories.d.ts +0 -15
  782. package/lib/utils/dom/dom.stories.d.ts.map +0 -1
  783. package/lib/utils/helpers/helpers.stories.d.ts +0 -15
  784. package/lib/utils/helpers/helpers.stories.d.ts.map +0 -1
  785. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +0 -15
  786. package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +0 -1
  787. package/lib/utils/merge-refs/merge-refs.stories.d.ts +0 -15
  788. package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +0 -1
  789. package/lib/utils/string/string.stories.d.ts +0 -15
  790. package/lib/utils/string/string.stories.d.ts.map +0 -1
@@ -5,12 +5,12 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.ErrorMessage = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
- var _classify = _interopRequireDefault(require("src/utils/classify"));
9
- var _ErrorImages = require("src/components/ErrorMessage/ErrorImages");
10
- var _ErrorMessageModule = _interopRequireDefault(require("src/components/ErrorMessage/ErrorMessage.module.css"));
8
+ var _classify = _interopRequireDefault(require("../../utils/classify"));
9
+ var _ErrorImages = require("./ErrorImages");
10
+ var _ErrorMessageModule = _interopRequireDefault(require("./ErrorMessage.module.css"));
11
+ var _jsxRuntime = require("react/jsx-runtime");
11
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
13
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
14
14
  const ErrorMessage = exports.ErrorMessage = /*#__PURE__*/React.forwardRef((_ref, ref) => {
15
15
  let {
16
16
  classNames,
@@ -22,23 +22,30 @@ const ErrorMessage = exports.ErrorMessage = /*#__PURE__*/React.forwardRef((_ref,
22
22
  heading,
23
23
  ...props
24
24
  } = _ref;
25
- return /*#__PURE__*/React.createElement("div", _extends({}, props, {
25
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
26
+ ...props,
26
27
  "data-testid": "ErrorMessage",
27
28
  className: (0, _classify.default)(_ErrorMessageModule.default.wrapper, classNames?.wrapper),
28
- ref: ref
29
- }), !!imageVariant && !customImageUrl && /*#__PURE__*/React.createElement("div", {
30
- className: (0, _classify.default)(_ErrorMessageModule.default.image, classNames?.image)
31
- }, imageVariant === 'unauthorized' && /*#__PURE__*/React.createElement(_ErrorImages.UnauthorizedImage, null), imageVariant === 'forbidden' && /*#__PURE__*/React.createElement(_ErrorImages.ForbiddenImage, null), imageVariant === 'notFound' && /*#__PURE__*/React.createElement(_ErrorImages.NotFoundImage, null), imageVariant === 'serverError' && /*#__PURE__*/React.createElement(_ErrorImages.ServerErrorImage, null)), customImageUrl && /*#__PURE__*/React.createElement("img", {
32
- className: (0, _classify.default)(_ErrorMessageModule.default.image, classNames?.image),
33
- src: customImageUrl,
34
- alt: "Empty State"
35
- }), !!heading && /*#__PURE__*/React.createElement("div", {
36
- className: (0, _classify.default)(_ErrorMessageModule.default.heading, classNames?.heading)
37
- }, heading), !!title && /*#__PURE__*/React.createElement("div", {
38
- className: (0, _classify.default)(_ErrorMessageModule.default.title, classNames?.title)
39
- }, title), !!description && /*#__PURE__*/React.createElement("div", {
40
- className: (0, _classify.default)(_ErrorMessageModule.default.description, classNames?.description)
41
- }, description), !!children && /*#__PURE__*/React.createElement("div", {
42
- className: (0, _classify.default)(_ErrorMessageModule.default.childrenWrapper, classNames?.children)
43
- }, children));
29
+ ref: ref,
30
+ children: [!!imageVariant && !customImageUrl && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
31
+ className: (0, _classify.default)(_ErrorMessageModule.default.image, classNames?.image),
32
+ children: [imageVariant === 'unauthorized' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorImages.UnauthorizedImage, {}), imageVariant === 'forbidden' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorImages.ForbiddenImage, {}), imageVariant === 'notFound' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorImages.NotFoundImage, {}), imageVariant === 'serverError' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorImages.ServerErrorImage, {})]
33
+ }), customImageUrl && /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
34
+ className: (0, _classify.default)(_ErrorMessageModule.default.image, classNames?.image),
35
+ src: customImageUrl,
36
+ alt: "Empty State"
37
+ }), !!heading && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
38
+ className: (0, _classify.default)(_ErrorMessageModule.default.heading, classNames?.heading),
39
+ children: heading
40
+ }), !!title && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
41
+ className: (0, _classify.default)(_ErrorMessageModule.default.title, classNames?.title),
42
+ children: title
43
+ }), !!description && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
44
+ className: (0, _classify.default)(_ErrorMessageModule.default.description, classNames?.description),
45
+ children: description
46
+ }), !!children && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
47
+ className: (0, _classify.default)(_ErrorMessageModule.default.childrenWrapper, classNames?.children),
48
+ children: children
49
+ })]
50
+ });
44
51
  });
@@ -1,2 +1,2 @@
1
- export * from 'src/components/ErrorMessage/ErrorMessage';
1
+ export * from '../../components/ErrorMessage/ErrorMessage';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _ErrorMessage = require("src/components/ErrorMessage/ErrorMessage");
6
+ var _ErrorMessage = require("./ErrorMessage");
7
7
  Object.keys(_ErrorMessage).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
9
  if (key in exports && exports[key] === _ErrorMessage[key]) return;
@@ -1,5 +1,5 @@
1
1
  import type { Flow } from 'flow-to-typescript-codemod';
2
- import type { FileObject } from 'src/components/FileUpload/FileUpload';
2
+ import type { FileObject } from '../../../components/FileUpload/FileUpload';
3
3
  type ClassNames = Readonly<{
4
4
  wrapper?: string;
5
5
  }>;
@@ -5,11 +5,12 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.FileBlock = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
- var _classify = _interopRequireDefault(require("src/utils/classify"));
9
- var _Icon = require("src/components/Icon");
10
- var _LinearLoader = require("src/components/LinearLoader");
11
- var _Truncate = require("src/components/Truncate");
12
- var _FileUploadModule = _interopRequireDefault(require("src/components/FileUpload/FileUpload.module.css"));
8
+ var _classify = _interopRequireDefault(require("../../../utils/classify"));
9
+ var _Icon = require("../../Icon");
10
+ var _LinearLoader = require("../../LinearLoader");
11
+ var _Truncate = require("../../Truncate");
12
+ var _FileUploadModule = _interopRequireDefault(require("../FileUpload.module.css"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
15
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
15
16
  const FileBlock = exports.FileBlock = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -20,43 +21,62 @@ const FileBlock = exports.FileBlock = /*#__PURE__*/React.forwardRef((_ref, ref)
20
21
  handleFileClear,
21
22
  showRemoveFile = true
22
23
  } = _ref;
23
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
24
- className: (0, _classify.default)(_FileUploadModule.default.file, classNames?.wrapper),
25
- ref: ref
26
- }, /*#__PURE__*/React.createElement("div", {
27
- className: _FileUploadModule.default.fileInfo
28
- }, /*#__PURE__*/React.createElement("div", {
29
- className: _FileUploadModule.default.fileNameBlock
30
- }, /*#__PURE__*/React.createElement("div", {
31
- className: _FileUploadModule.default.icon
32
- }, /*#__PURE__*/React.createElement(FileStatusIcon, {
33
- fileObject: fileObject
34
- })), /*#__PURE__*/React.createElement("div", {
35
- className: _FileUploadModule.default.fileName
36
- }, /*#__PURE__*/React.createElement(_Truncate.Truncate, null, fileObject.file.name))), fileObject.success && !!fileObject.successMessage && !fileObject.progress && /*#__PURE__*/React.createElement("div", {
37
- className: _FileUploadModule.default.fileSuccess
38
- }, /*#__PURE__*/React.createElement(_Truncate.Truncate, null, fileObject.successMessage)), fileObject.reject && !!fileObject.rejectReason && !fileObject.progress && /*#__PURE__*/React.createElement("div", {
39
- className: _FileUploadModule.default.fileError
40
- }, /*#__PURE__*/React.createElement(_Truncate.Truncate, null, fileObject.rejectReason)), !!fileObject.progress && /*#__PURE__*/React.createElement("div", {
41
- className: _FileUploadModule.default.progress
42
- }, /*#__PURE__*/React.createElement(_LinearLoader.LinearLoader, {
43
- size: "small",
44
- value: fileObject.progress === 'indeterminate' ? 0 : fileObject.progress,
45
- indeterminate: fileObject.progress === 'indeterminate'
46
- }))), /*#__PURE__*/React.createElement("div", {
47
- className: _FileUploadModule.default.rightSection
48
- }, fileObject.showReUpload && /*#__PURE__*/React.createElement("div", {
49
- className: _FileUploadModule.default.rightBlock
50
- }, /*#__PURE__*/React.createElement(_Icon.ClickableIcon, {
51
- name: "refresh",
52
- size: "small",
53
- onClick: () => onFileRefreshClick?.(fileObject)
54
- })), showRemoveFile && /*#__PURE__*/React.createElement("div", {
55
- className: _FileUploadModule.default.rightBlock
56
- }, /*#__PURE__*/React.createElement(_Icon.CloseIcon, {
57
- size: "small",
58
- onClick: () => handleFileClear?.(fileObject.id)
59
- })))));
24
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
25
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
26
+ className: (0, _classify.default)(_FileUploadModule.default.file, classNames?.wrapper),
27
+ ref: ref,
28
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
29
+ className: _FileUploadModule.default.fileInfo,
30
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
31
+ className: _FileUploadModule.default.fileNameBlock,
32
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
33
+ className: _FileUploadModule.default.icon,
34
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(FileStatusIcon, {
35
+ fileObject: fileObject
36
+ })
37
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
38
+ className: _FileUploadModule.default.fileName,
39
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Truncate.Truncate, {
40
+ children: fileObject.file.name
41
+ })
42
+ })]
43
+ }), fileObject.success && !!fileObject.successMessage && !fileObject.progress && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
44
+ className: _FileUploadModule.default.fileSuccess,
45
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Truncate.Truncate, {
46
+ children: fileObject.successMessage
47
+ })
48
+ }), fileObject.reject && !!fileObject.rejectReason && !fileObject.progress && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
49
+ className: _FileUploadModule.default.fileError,
50
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Truncate.Truncate, {
51
+ children: fileObject.rejectReason
52
+ })
53
+ }), !!fileObject.progress && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
54
+ className: _FileUploadModule.default.progress,
55
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_LinearLoader.LinearLoader, {
56
+ size: "small",
57
+ value: fileObject.progress === 'indeterminate' ? 0 : fileObject.progress,
58
+ indeterminate: fileObject.progress === 'indeterminate'
59
+ })
60
+ })]
61
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
62
+ className: _FileUploadModule.default.rightSection,
63
+ children: [fileObject.showReUpload && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
64
+ className: _FileUploadModule.default.rightBlock,
65
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.ClickableIcon, {
66
+ name: "refresh",
67
+ size: "small",
68
+ onClick: () => onFileRefreshClick?.(fileObject)
69
+ })
70
+ }), showRemoveFile && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
71
+ className: _FileUploadModule.default.rightBlock,
72
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.CloseIcon, {
73
+ size: "small",
74
+ onClick: () => handleFileClear?.(fileObject.id)
75
+ })
76
+ })]
77
+ })]
78
+ })
79
+ });
60
80
  });
61
81
 
62
82
  // This function returns the status of a file
@@ -81,26 +101,26 @@ const FileStatusIcon = _ref2 => {
81
101
  const status = getFileStatus(fileObject);
82
102
  switch (status) {
83
103
  case 'progress':
84
- return /*#__PURE__*/React.createElement(_Icon.Icon, {
104
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
85
105
  size: "small",
86
106
  name: "loader",
87
107
  color: "tertiary"
88
108
  });
89
109
  case 'success':
90
- return /*#__PURE__*/React.createElement(_Icon.Icon, {
110
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
91
111
  size: "small",
92
112
  name: "check",
93
113
  color: "success"
94
114
  });
95
115
  case 'error':
96
- return /*#__PURE__*/React.createElement(_Icon.Icon, {
116
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
97
117
  size: "small",
98
118
  name: "circle-exclamation",
99
119
  color: "danger",
100
120
  type: "solid"
101
121
  });
102
122
  default:
103
- return /*#__PURE__*/React.createElement(_Icon.Icon, {
123
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
104
124
  size: "small",
105
125
  name: "check",
106
126
  color: "success"
@@ -1,2 +1,2 @@
1
- export * from 'src/components/FileUpload/FileBlock/FileBlock';
1
+ export * from '../../../components/FileUpload/FileBlock/FileBlock';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _FileBlock = require("src/components/FileUpload/FileBlock/FileBlock");
6
+ var _FileBlock = require("./FileBlock");
7
7
  Object.keys(_FileBlock).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
9
  if (key in exports && exports[key] === _FileBlock[key]) return;
@@ -5,15 +5,15 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.FileUpload = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
- var _useFileUpload = require("src/hooks/useFileUpload");
9
- var _classify = _interopRequireDefault(require("src/utils/classify"));
10
- var _Button = require("src/components/Button");
11
- var _FileBlock = require("src/components/FileUpload/FileBlock");
12
- var _Truncate = require("src/components/Truncate");
13
- var _FileUploadModule = _interopRequireDefault(require("src/components/FileUpload/FileUpload.module.css"));
8
+ var _useFileUpload = require("../../hooks/useFileUpload");
9
+ var _classify = _interopRequireDefault(require("../../utils/classify"));
10
+ var _Button = require("../Button");
11
+ var _FileBlock = require("./FileBlock");
12
+ var _Truncate = require("../Truncate");
13
+ var _FileUploadModule = _interopRequireDefault(require("./FileUpload.module.css"));
14
+ var _jsxRuntime = require("react/jsx-runtime");
14
15
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
16
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
17
17
  // This is a file error object that is passed to onRejectedFilesDrop callback in useFileUpload hook
18
18
 
19
19
  // This is a file rejection object that is passed to handleDropRejected function in useFileUpload hook
@@ -80,35 +80,46 @@ const FileUploadBase = (props, ref) => {
80
80
 
81
81
  // Merge valid and rejected files
82
82
  const files = [...validFiles, ...rejectedFiles];
83
- return /*#__PURE__*/React.createElement("div", {
84
- className: (0, _classify.default)(_FileUploadModule.default.wrapper, classNames?.wrapper)
85
- }, Boolean(label) && /*#__PURE__*/React.createElement("div", {
86
- className: _FileUploadModule.default.label
87
- }, /*#__PURE__*/React.createElement(_Truncate.Truncate, null, label), required && /*#__PURE__*/React.createElement("span", {
88
- className: _FileUploadModule.default.required
89
- }, '*')), /*#__PURE__*/React.createElement(_Button.UnstyledButton, _extends({
90
- disabled: disabled || !shouldAcceptFiles
91
- }, getRootProps(), {
92
- className: (0, _classify.default)(_FileUploadModule.default.dropzone, {
93
- [_FileUploadModule.default.disabled]: disabled || !shouldAcceptFiles,
94
- [_FileUploadModule.default.dragActive]: isDragActive,
95
- [_FileUploadModule.default.error]: error
96
- }, classNames?.dropZone)
97
- }), /*#__PURE__*/React.createElement("input", getInputProps()), /*#__PURE__*/React.createElement("div", {
98
- className: (0, _classify.default)(_FileUploadModule.default.instruction, classNames?.instruction)
99
- }, isDragActive ? draggingInstruction : instruction), /*#__PURE__*/React.createElement("div", {
100
- className: (0, _classify.default)(_FileUploadModule.default.secondaryInstruction, classNames?.secondaryInstruction)
101
- }, secondaryInstruction)), files.length > 0 && /*#__PURE__*/React.createElement("div", {
102
- className: _FileUploadModule.default.files
103
- }, files.map(fileObject => /*#__PURE__*/React.createElement(React.Fragment, {
104
- key: fileObject.id
105
- }, /*#__PURE__*/React.createElement(_FileBlock.FileBlock, {
106
- fileObject: fileObject,
107
- onFileRefreshClick: onFileRefreshClick,
108
- handleFileClear: handleFileDeletionExternally ? onFileClear : handleFileClear,
109
- classNames: {
110
- wrapper: classNames?.files
111
- }
112
- })))));
83
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
84
+ className: (0, _classify.default)(_FileUploadModule.default.wrapper, classNames?.wrapper),
85
+ children: [Boolean(label) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
86
+ className: _FileUploadModule.default.label,
87
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Truncate.Truncate, {
88
+ children: label
89
+ }), required && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
90
+ className: _FileUploadModule.default.required,
91
+ children: '*'
92
+ })]
93
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Button.UnstyledButton, {
94
+ disabled: disabled || !shouldAcceptFiles,
95
+ ...getRootProps(),
96
+ className: (0, _classify.default)(_FileUploadModule.default.dropzone, {
97
+ [_FileUploadModule.default.disabled]: disabled || !shouldAcceptFiles,
98
+ [_FileUploadModule.default.dragActive]: isDragActive,
99
+ [_FileUploadModule.default.error]: error
100
+ }, classNames?.dropZone),
101
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
102
+ ...getInputProps()
103
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
104
+ className: (0, _classify.default)(_FileUploadModule.default.instruction, classNames?.instruction),
105
+ children: isDragActive ? draggingInstruction : instruction
106
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
107
+ className: (0, _classify.default)(_FileUploadModule.default.secondaryInstruction, classNames?.secondaryInstruction),
108
+ children: secondaryInstruction
109
+ })]
110
+ }), files.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
111
+ className: _FileUploadModule.default.files,
112
+ children: files.map(fileObject => /*#__PURE__*/(0, _jsxRuntime.jsx)(React.Fragment, {
113
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_FileBlock.FileBlock, {
114
+ fileObject: fileObject,
115
+ onFileRefreshClick: onFileRefreshClick,
116
+ handleFileClear: handleFileDeletionExternally ? onFileClear : handleFileClear,
117
+ classNames: {
118
+ wrapper: classNames?.files
119
+ }
120
+ })
121
+ }, fileObject.id))
122
+ })]
123
+ });
113
124
  };
114
125
  const FileUpload = exports.FileUpload = /*#__PURE__*/React.forwardRef(FileUploadBase);
@@ -1,3 +1,3 @@
1
- export * from 'src/components/FileUpload/FileBlock';
2
- export * from 'src/components/FileUpload/FileUpload';
1
+ export * from '../../components/FileUpload/FileBlock';
2
+ export * from '../../components/FileUpload/FileUpload';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _FileBlock = require("src/components/FileUpload/FileBlock");
6
+ var _FileBlock = require("./FileBlock");
7
7
  Object.keys(_FileBlock).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
9
  if (key in exports && exports[key] === _FileBlock[key]) return;
@@ -14,7 +14,7 @@ Object.keys(_FileBlock).forEach(function (key) {
14
14
  }
15
15
  });
16
16
  });
17
- var _FileUpload = require("src/components/FileUpload/FileUpload");
17
+ var _FileUpload = require("./FileUpload");
18
18
  Object.keys(_FileUpload).forEach(function (key) {
19
19
  if (key === "default" || key === "__esModule") return;
20
20
  if (key in exports && exports[key] === _FileUpload[key]) return;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import type { Flow } from 'flow-to-typescript-codemod';
3
- import type { ClickAwayRefType } from 'src/utils';
4
- import type { ButtonProps, ButtonSize } from 'src/components/Button';
5
- import type { AnchorType, Strategy } from 'src/components/ButtonDropdown';
6
- import type { ElevationType } from 'src/components/Tooltip';
3
+ import type { ClickAwayRefType } from '../../utils';
4
+ import type { ButtonProps, ButtonSize } from '../../components/Button';
5
+ import type { AnchorType, Strategy } from '../../components/ButtonDropdown';
6
+ import type { ElevationType } from '../../components/Tooltip';
7
7
  type ClassNames = Readonly<{
8
8
  wrapper?: string;
9
9
  overlayContainer?: string;
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.FilterButtonOverlay = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _react2 = require("@floating-ui/react");
9
- var _hooks = require("src/hooks");
10
- var _space = require("src/styles/variables/_space");
11
- var _utils = require("src/utils");
12
- var _classify = _interopRequireDefault(require("src/utils/classify"));
13
- var _Button = require("src/components/Button");
14
- var _ButtonDropdown = require("src/components/ButtonDropdown");
15
- var _Tooltip = require("src/components/Tooltip");
16
- var _FilterButtonOverlayModule = _interopRequireDefault(require("src/components/FilterButtonOverlay/FilterButtonOverlay.module.css"));
9
+ var _hooks = require("../../hooks");
10
+ var _space = require("../../styles/variables/_space");
11
+ var _utils = require("../../utils");
12
+ var _classify = _interopRequireDefault(require("../../utils/classify"));
13
+ var _Button = require("../Button");
14
+ var _ButtonDropdown = require("../ButtonDropdown");
15
+ var _Tooltip = require("../Tooltip");
16
+ var _FilterButtonOverlayModule = _interopRequireDefault(require("./FilterButtonOverlay.module.css"));
17
+ var _jsxRuntime = require("react/jsx-runtime");
17
18
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
18
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
19
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
20
20
  const FilterButtonOverlay = exports.FilterButtonOverlay = /*#__PURE__*/React.forwardRef((_ref, ref) => {
21
21
  let {
22
22
  classNames,
@@ -46,59 +46,68 @@ const FilterButtonOverlay = exports.FilterButtonOverlay = /*#__PURE__*/React.for
46
46
  middleware: [(0, _react2.shift)(), (0, _react2.flip)(), (0, _react2.offset)(parseInt(_space.spaceXXSmall))]
47
47
  });
48
48
  const dropdownWidth = (0, _hooks.useReferenceElementWidth)(refs.reference?.current);
49
- return /*#__PURE__*/React.createElement(_utils.ClickAway, {
49
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_utils.ClickAway, {
50
50
  clickAwayRef: clickAwayRef,
51
51
  closeOnEscapeKeypress: true,
52
- containsNestedFloatingPortals: true
53
- }, _ref2 => {
54
- let {
55
- isOpen,
56
- onOpen,
57
- boundaryRef,
58
- triggerRef
59
- } = _ref2;
60
- return /*#__PURE__*/React.createElement("div", {
61
- "data-testid": "FilterButtonOverlay",
62
- className: (0, _classify.default)({
63
- [_FilterButtonOverlayModule.default.isFluid]: buttonIsFluid
64
- }, classNames?.wrapper),
65
- ref: ref
66
- }, /*#__PURE__*/React.createElement(_Button.Button, _extends({}, restProps, {
67
- ref: (0, _utils.mergeRefs)([refs.setReference, triggerRef]),
68
- onClick: e => {
69
- e.stopPropagation();
70
- onOpen();
71
- },
72
- isFluid: buttonIsFluid,
73
- size: buttonSize
74
- }), buttonLabel), isOpen && /*#__PURE__*/React.createElement(_react2.FloatingPortal, null, /*#__PURE__*/React.createElement(_react2.FloatingFocusManager, {
75
- modal: false,
76
- context: context,
77
- initialFocus: refs.reference
78
- }, /*#__PURE__*/React.createElement("div", {
79
- ref: (0, _utils.mergeRefs)([refs.setFloating, boundaryRef]),
80
- className: _FilterButtonOverlayModule.default.overlayContainer,
81
- style: {
82
- display: 'flex',
83
- position: strategy,
84
- top: y ?? _space.spaceNone,
85
- left: x ?? _space.spaceNone,
86
- /* NOTE(Sharad): The FloatingPortal renders the menu outside the normal DOM structure,
87
- so its parent is effectively the <body> element. This means the menu
88
- would otherwise default to the body's width. To support fluid width,
89
- we must manually set the dropdown width here; otherwise, it uses a fixed width.
90
- Also, Only treat menu as non-fluid if isFluid is strictly false, since default is true in menu and undefined means fluid. */
91
- ...(isFluid !== false && {
92
- '--dropdown-width': dropdownWidth
93
- }),
94
- '--menu-elevation': (0, _Tooltip.getElevationValue)(elevation)
95
- }
96
- }, /*#__PURE__*/React.createElement("div", {
97
- className: (0, _classify.default)(_FilterButtonOverlayModule.default.overlayWrapper, {
98
- [_FilterButtonOverlayModule.default.fluid]: isFluid,
99
- [_FilterButtonOverlayModule.default.small]: size === 'small',
100
- [_FilterButtonOverlayModule.default.medium]: size === 'medium'
101
- }, classNames?.overlayContainer)
102
- }, children)))));
52
+ containsNestedFloatingPortals: true,
53
+ children: _ref2 => {
54
+ let {
55
+ isOpen,
56
+ onOpen,
57
+ boundaryRef,
58
+ triggerRef
59
+ } = _ref2;
60
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
61
+ "data-testid": "FilterButtonOverlay",
62
+ className: (0, _classify.default)({
63
+ [_FilterButtonOverlayModule.default.isFluid]: buttonIsFluid
64
+ }, classNames?.wrapper),
65
+ ref: ref,
66
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
67
+ ...restProps,
68
+ ref: (0, _utils.mergeRefs)([refs.setReference, triggerRef]),
69
+ onClick: e => {
70
+ e.stopPropagation();
71
+ onOpen();
72
+ },
73
+ isFluid: buttonIsFluid,
74
+ size: buttonSize,
75
+ children: buttonLabel
76
+ }), isOpen && /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.FloatingPortal, {
77
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.FloatingFocusManager, {
78
+ modal: false,
79
+ context: context,
80
+ initialFocus: refs.reference,
81
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
82
+ ref: (0, _utils.mergeRefs)([refs.setFloating, boundaryRef]),
83
+ className: _FilterButtonOverlayModule.default.overlayContainer,
84
+ style: {
85
+ display: 'flex',
86
+ position: strategy,
87
+ top: y ?? _space.spaceNone,
88
+ left: x ?? _space.spaceNone,
89
+ /* NOTE(Sharad): The FloatingPortal renders the menu outside the normal DOM structure,
90
+ so its parent is effectively the <body> element. This means the menu
91
+ would otherwise default to the body's width. To support fluid width,
92
+ we must manually set the dropdown width here; otherwise, it uses a fixed width.
93
+ Also, Only treat menu as non-fluid if isFluid is strictly false, since default is true in menu and undefined means fluid. */
94
+ ...(isFluid !== false && {
95
+ '--dropdown-width': dropdownWidth
96
+ }),
97
+ '--menu-elevation': (0, _Tooltip.getElevationValue)(elevation)
98
+ },
99
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
100
+ className: (0, _classify.default)(_FilterButtonOverlayModule.default.overlayWrapper, {
101
+ [_FilterButtonOverlayModule.default.fluid]: isFluid,
102
+ [_FilterButtonOverlayModule.default.small]: size === 'small',
103
+ [_FilterButtonOverlayModule.default.medium]: size === 'medium'
104
+ }, classNames?.overlayContainer),
105
+ children: children
106
+ })
107
+ })
108
+ })
109
+ })]
110
+ });
111
+ }
103
112
  });
104
113
  });
@@ -1,2 +1,2 @@
1
- export * from 'src/components/FilterButtonOverlay/FilterButtonOverlay';
1
+ export * from '../../components/FilterButtonOverlay/FilterButtonOverlay';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _FilterButtonOverlay = require("src/components/FilterButtonOverlay/FilterButtonOverlay");
6
+ var _FilterButtonOverlay = require("./FilterButtonOverlay");
7
7
  Object.keys(_FilterButtonOverlay).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
9
  if (key in exports && exports[key] === _FilterButtonOverlay[key]) return;
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.FocusManager = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _react2 = require("@floating-ui/react");
9
- var _classify = _interopRequireDefault(require("src/utils/classify"));
10
- var _FocusManagerModule = _interopRequireDefault(require("src/components/FocusManager/FocusManager.module.css"));
9
+ var _classify = _interopRequireDefault(require("../../utils/classify"));
10
+ var _FocusManagerModule = _interopRequireDefault(require("./FocusManager.module.css"));
11
+ var _jsxRuntime = require("react/jsx-runtime");
11
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
13
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
14
14
  const FocusManager = props => {
15
15
  const {
16
16
  refs,
@@ -27,16 +27,19 @@ const FocusManager = props => {
27
27
  guards = true,
28
28
  ...restFloatingFocusManagerProps
29
29
  } = props;
30
- return /*#__PURE__*/React.createElement(_react2.FloatingFocusManager, _extends({
30
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.FloatingFocusManager, {
31
31
  context: context,
32
32
  initialFocus: initialFocus,
33
33
  modal: modal,
34
34
  guards: guards,
35
- returnFocus: returnFocus
36
- }, restFloatingFocusManagerProps), /*#__PURE__*/React.createElement("div", {
37
- ref: refs.setFloating,
38
- "data-testid": "FocusManager",
39
- className: (0, _classify.default)(_FocusManagerModule.default.wrapper, classNames?.wrapper)
40
- }, children));
35
+ returnFocus: returnFocus,
36
+ ...restFloatingFocusManagerProps,
37
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
38
+ ref: refs.setFloating,
39
+ "data-testid": "FocusManager",
40
+ className: (0, _classify.default)(_FocusManagerModule.default.wrapper, classNames?.wrapper),
41
+ children: children
42
+ })
43
+ });
41
44
  };
42
45
  exports.FocusManager = FocusManager;