@dfds-ui/react-components 2.0.23-alpha.f9a24112 → 2.0.23-alpha.fcaa34df

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 (349) hide show
  1. package/app-bar/AppBar.js +2 -2
  2. package/app-bar/AppBarContext.js +2 -2
  3. package/app-bar/AppBarItem.d.ts +1 -1
  4. package/app-bar/AppBarItem.js +2 -2
  5. package/assertions/banner/Banner.js +2 -2
  6. package/assertions/toast/Toaster.js +21 -19
  7. package/card/Card.js +7 -7
  8. package/chip/Chip.js +2 -2
  9. package/cjs/accordion/Accordion.js +2 -1
  10. package/cjs/accordion/AccordionContent.js +2 -1
  11. package/cjs/accordion/AccordionSmall.js +2 -1
  12. package/cjs/app-bar/AppBar.js +2 -1
  13. package/cjs/app-bar/AppBarDrawer.js +2 -1
  14. package/cjs/app-bar/AppBarIconButton.js +2 -1
  15. package/cjs/app-bar/AppBarItem.js +4 -2
  16. package/cjs/app-bar/AppBarListItem.js +2 -1
  17. package/cjs/assertions/banner/Banner.js +4 -2
  18. package/cjs/assertions/toast/Toast.js +2 -1
  19. package/cjs/assertions/toast/Toaster.js +2 -1
  20. package/cjs/button/BadgeIcon.js +2 -1
  21. package/cjs/button/BaseButton.js +4 -2
  22. package/cjs/button/Button.js +2 -1
  23. package/cjs/button/IconButton.js +2 -1
  24. package/cjs/button/LinkButton.js +2 -1
  25. package/cjs/button/button-style.js +15 -8
  26. package/cjs/button-stack/ButtonStack.js +2 -1
  27. package/cjs/card/Card.js +4 -2
  28. package/cjs/card/CardActions.js +2 -1
  29. package/cjs/card/CardContent.js +2 -1
  30. package/cjs/card/CardMedia.js +2 -1
  31. package/cjs/card/CardPriceTag.js +2 -1
  32. package/cjs/card/CardTitle.js +2 -1
  33. package/cjs/chip/Chip.js +2 -1
  34. package/cjs/common/LockBodyScroll.js +4 -2
  35. package/cjs/common/emotionCloneElement.js +2 -1
  36. package/cjs/counter/Counter.js +4 -2
  37. package/cjs/counter/PluralCounter.js +2 -1
  38. package/cjs/data-table/DataTable.js +2 -1
  39. package/cjs/date-range-picker/DatePickerDefaultStyles.js +2 -1
  40. package/cjs/date-range-picker/DatePickerDfdsStyles.js +2 -1
  41. package/cjs/date-range-picker/DateRangePicker.js +2 -1
  42. package/cjs/divider/Divider.js +2 -1
  43. package/cjs/drawer/Drawer.js +4 -2
  44. package/cjs/dropdown-menu/Dropdown.js +2 -1
  45. package/cjs/dropdown-menu/DropdownContext.js +4 -2
  46. package/cjs/dropdown-menu/MenuCheckbox.js +2 -1
  47. package/cjs/dropdown-menu/MenuItem.js +2 -1
  48. package/cjs/dropdown-menu/MenuTitle.js +2 -1
  49. package/cjs/elevation/index.js +2 -1
  50. package/cjs/flexbox/FlexBox.js +4 -2
  51. package/cjs/footer/Footer.js +2 -1
  52. package/cjs/forms/assistive-text/AssistiveText.js +2 -1
  53. package/cjs/forms/asterisk/Asterisk.js +2 -1
  54. package/cjs/forms/checkbox/Checkbox.js +2 -1
  55. package/cjs/forms/checkbox/ExampleControlComponent.js +2 -1
  56. package/cjs/forms/email-field/EmailField.js +3 -2
  57. package/cjs/forms/error-text/ErrorText.js +2 -1
  58. package/cjs/forms/field/Field.js +2 -1
  59. package/cjs/forms/input/Input.js +2 -1
  60. package/cjs/forms/input/InputComposition.js +7 -4
  61. package/cjs/forms/label/Label.js +2 -1
  62. package/cjs/forms/number-field/NumberField.js +3 -2
  63. package/cjs/forms/password-field/PasswordField.js +2 -1
  64. package/cjs/forms/radio/Radio.js +4 -2
  65. package/cjs/forms/reactselect/ReactSelect.js +6 -3
  66. package/cjs/forms/searchable-select/AsyncSearchableSelect.js +2 -1
  67. package/cjs/forms/select/Select.js +2 -1
  68. package/cjs/forms/select-field/SelectField.js +3 -2
  69. package/cjs/forms/switch/Switch.js +2 -1
  70. package/cjs/forms/tel-field/TelField.js +3 -2
  71. package/cjs/forms/text-field/TextField.js +3 -2
  72. package/cjs/global-styles/sanitize.js +3 -2
  73. package/cjs/grid/Column.js +2 -1
  74. package/cjs/grid/Container.js +2 -1
  75. package/cjs/hero/Hero.js +2 -1
  76. package/cjs/hero/stripes.js +2 -1
  77. package/cjs/ie-banner/IEBanner.js +2 -1
  78. package/cjs/lists/FeatureList.js +4 -2
  79. package/cjs/lists/ListAddon.js +2 -1
  80. package/cjs/lists/ListDivider.js +2 -1
  81. package/cjs/lists/ListIcon.js +2 -1
  82. package/cjs/lists/ListItem.js +2 -1
  83. package/cjs/lists/ListText.js +2 -1
  84. package/cjs/lists/ListTextGroup.js +2 -1
  85. package/cjs/lists/ListTitle.js +2 -1
  86. package/cjs/loader/DfdsLoader.js +2 -1
  87. package/cjs/loader/Loader.js +2 -1
  88. package/cjs/localization/locales.js +6 -3
  89. package/cjs/logo/Logo.js +2 -1
  90. package/cjs/media/index.js +2 -1
  91. package/cjs/menu/Menu.js +2 -1
  92. package/cjs/mobile-stepper/MobileStepper.js +2 -1
  93. package/cjs/nav-bar/NavBar.js +6 -3
  94. package/cjs/nav-menu/NavMenuItem.js +2 -1
  95. package/cjs/pagination/Pagination.js +2 -1
  96. package/cjs/pagination/Pagination.styles.js +12 -6
  97. package/cjs/popper/Popper.js +2 -1
  98. package/cjs/progress-bar/ProgressBar.js +2 -1
  99. package/cjs/schedule/ScheduleItem.js +4 -2
  100. package/cjs/schedule/ScheduleList.js +2 -1
  101. package/cjs/side-sheet/SideSheet.js +2 -1
  102. package/cjs/side-sheet/SideSheetCloseButton.js +2 -1
  103. package/cjs/side-sheet/SideSheetContent.js +2 -1
  104. package/cjs/side-sheet/SideSheetFooter.js +2 -1
  105. package/cjs/side-sheet/SideSheetHeader.js +2 -1
  106. package/cjs/side-sheet/SideSheetHeadline.js +2 -1
  107. package/cjs/site-layout/SiteLayout.js +5 -3
  108. package/cjs/skeleton/Skeleton.js +2 -1
  109. package/cjs/social-media-link-list/SocialMediaLinkList.js +4 -2
  110. package/cjs/spinner/Spinner.js +4 -2
  111. package/cjs/step/Step.js +2 -1
  112. package/cjs/step/Step.styles.js +8 -4
  113. package/cjs/step/StepButton.js +2 -1
  114. package/cjs/step/StepContent.js +2 -1
  115. package/cjs/step/StepContext.js +2 -1
  116. package/cjs/step/StepLabel.js +2 -1
  117. package/cjs/stepper/Stepper.js +2 -1
  118. package/cjs/stepper/StepperContext.js +2 -1
  119. package/cjs/stepper-feedback-message/StepperFeedbackMessage.js +2 -1
  120. package/cjs/styles/media.js +4 -2
  121. package/cjs/styles/theme.js +4 -2
  122. package/cjs/surface/Surface.js +2 -1
  123. package/cjs/tab/Tab.js +2 -1
  124. package/cjs/tab/TabPanel.js +2 -1
  125. package/cjs/tab/Tabs.js +2 -1
  126. package/cjs/tab/TabsContext.js +4 -2
  127. package/cjs/table/Table.js +4 -2
  128. package/cjs/table/TableBody.js +4 -2
  129. package/cjs/table/TableDataCell.js +4 -2
  130. package/cjs/table/TableHead.js +6 -3
  131. package/cjs/table/TableHeaderCell.js +4 -2
  132. package/cjs/table/TableRow.js +4 -2
  133. package/cjs/test/Test.js +2 -1
  134. package/cjs/tooltip/Tooltip.js +2 -1
  135. package/cjs/typography/Headlines.js +16 -8
  136. package/cjs/typography/Text.js +3 -2
  137. package/common/use-media.js +2 -2
  138. package/counter/Counter.js +2 -2
  139. package/counter/PluralCounter.js +2 -2
  140. package/data-table/DataTable.js +2 -2
  141. package/date-range-picker/DateRangePicker.js +2 -2
  142. package/dropdown-menu/Dropdown.js +2 -2
  143. package/dropdown-menu/MenuItem.js +2 -2
  144. package/flexbox/FlexBox.js +1 -1
  145. package/forms/checkbox/ExampleControlComponent.js +2 -2
  146. package/forms/password-field/PasswordField.js +2 -2
  147. package/grid/Container.js +7 -6
  148. package/ie-banner/IEBanner.js +2 -2
  149. package/mobile-stepper/MobileStepper.js +1 -1
  150. package/nav-bar/NavBar.js +2 -2
  151. package/package.json +9 -9
  152. package/side-sheet/SideSheet.js +2 -2
  153. package/tab/Tabs.js +2 -2
  154. package/table/TableRow.js +2 -1
  155. package/cjs/accordion/Accordion.d.ts +0 -101
  156. package/cjs/accordion/AccordionContent.d.ts +0 -13
  157. package/cjs/accordion/AccordionSmall.d.ts +0 -55
  158. package/cjs/accordion/index.d.ts +0 -3
  159. package/cjs/app-bar/AppBar.d.ts +0 -13
  160. package/cjs/app-bar/AppBarContext.d.ts +0 -12
  161. package/cjs/app-bar/AppBarDrawer.d.ts +0 -5
  162. package/cjs/app-bar/AppBarIconButton.d.ts +0 -10
  163. package/cjs/app-bar/AppBarItem.d.ts +0 -23
  164. package/cjs/app-bar/AppBarListItem.d.ts +0 -16
  165. package/cjs/app-bar/index.d.ts +0 -7
  166. package/cjs/assertions/banner/Banner.d.ts +0 -74
  167. package/cjs/assertions/banner/BannerAction.d.ts +0 -19
  168. package/cjs/assertions/banner/BannerTypography.d.ts +0 -7
  169. package/cjs/assertions/banner/index.d.ts +0 -3
  170. package/cjs/assertions/index.d.ts +0 -2
  171. package/cjs/assertions/toast/Toast.d.ts +0 -11
  172. package/cjs/assertions/toast/Toaster.d.ts +0 -19
  173. package/cjs/assertions/toast/index.d.ts +0 -2
  174. package/cjs/badge/Badge.d.ts +0 -26
  175. package/cjs/badge/index.d.ts +0 -2
  176. package/cjs/button/BadgeIcon.d.ts +0 -7
  177. package/cjs/button/BaseButton.d.ts +0 -14
  178. package/cjs/button/Button.d.ts +0 -19
  179. package/cjs/button/IconButton.d.ts +0 -75
  180. package/cjs/button/LinkButton.d.ts +0 -8
  181. package/cjs/button/button-style.d.ts +0 -7
  182. package/cjs/button/index.d.ts +0 -7
  183. package/cjs/button-stack/ButtonStack.d.ts +0 -11
  184. package/cjs/button-stack/index.d.ts +0 -1
  185. package/cjs/card/Card.d.ts +0 -18
  186. package/cjs/card/CardActions.d.ts +0 -4
  187. package/cjs/card/CardContent.d.ts +0 -13
  188. package/cjs/card/CardMedia.d.ts +0 -18
  189. package/cjs/card/CardPriceTag.d.ts +0 -25
  190. package/cjs/card/CardTitle.d.ts +0 -18
  191. package/cjs/card/index.d.ts +0 -6
  192. package/cjs/chip/Chip.d.ts +0 -19
  193. package/cjs/chip/index.d.ts +0 -2
  194. package/cjs/common/LockBodyScroll.d.ts +0 -25
  195. package/cjs/common/arrow.d.ts +0 -6
  196. package/cjs/common/emotionCloneElement.d.ts +0 -3
  197. package/cjs/common/intent.d.ts +0 -3
  198. package/cjs/common/miniMoize.d.ts +0 -1
  199. package/cjs/common/polymorphic.d.ts +0 -25
  200. package/cjs/common/use-media.d.ts +0 -1
  201. package/cjs/common/useOnClickOutside.d.ts +0 -4
  202. package/cjs/common/utils.d.ts +0 -3
  203. package/cjs/counter/Counter.d.ts +0 -26
  204. package/cjs/counter/PluralCounter.d.ts +0 -13
  205. package/cjs/counter/index.d.ts +0 -2
  206. package/cjs/data-table/DataTable.d.ts +0 -10
  207. package/cjs/data-table/index.d.ts +0 -1
  208. package/cjs/date-range-picker/DatePickerDefaultStyles.d.ts +0 -2
  209. package/cjs/date-range-picker/DatePickerDfdsStyles.d.ts +0 -2
  210. package/cjs/date-range-picker/DateRangePicker.d.ts +0 -33
  211. package/cjs/date-range-picker/index.d.ts +0 -1
  212. package/cjs/divider/Divider.d.ts +0 -26
  213. package/cjs/divider/index.d.ts +0 -1
  214. package/cjs/drawer/Drawer.d.ts +0 -31
  215. package/cjs/drawer/index.d.ts +0 -1
  216. package/cjs/dropdown-menu/Dropdown.d.ts +0 -46
  217. package/cjs/dropdown-menu/DropdownContext.d.ts +0 -13
  218. package/cjs/dropdown-menu/MenuCheckbox.d.ts +0 -34
  219. package/cjs/dropdown-menu/MenuItem.d.ts +0 -45
  220. package/cjs/dropdown-menu/MenuTitle.d.ts +0 -14
  221. package/cjs/dropdown-menu/index.d.ts +0 -5
  222. package/cjs/elevation/index.d.ts +0 -3
  223. package/cjs/flexbox/FlexBox.d.ts +0 -100
  224. package/cjs/flexbox/index.d.ts +0 -1
  225. package/cjs/footer/Footer.d.ts +0 -7
  226. package/cjs/footer/index.d.ts +0 -1
  227. package/cjs/forms/assistive-text/AssistiveText.d.ts +0 -8
  228. package/cjs/forms/asterisk/Asterisk.d.ts +0 -3
  229. package/cjs/forms/checkbox/Checkbox.d.ts +0 -39
  230. package/cjs/forms/checkbox/ExampleControlComponent.d.ts +0 -10
  231. package/cjs/forms/checkbox/index.d.ts +0 -1
  232. package/cjs/forms/email-field/EmailField.d.ts +0 -6
  233. package/cjs/forms/error-text/ErrorText.d.ts +0 -8
  234. package/cjs/forms/field/Field.d.ts +0 -10
  235. package/cjs/forms/index.d.ts +0 -21
  236. package/cjs/forms/input/Input.d.ts +0 -19
  237. package/cjs/forms/input/InputComposition.d.ts +0 -43
  238. package/cjs/forms/label/Label.d.ts +0 -10
  239. package/cjs/forms/number-field/NumberField.d.ts +0 -6
  240. package/cjs/forms/password-field/PasswordField.d.ts +0 -4
  241. package/cjs/forms/radio/Radio.d.ts +0 -35
  242. package/cjs/forms/reactselect/ReactSelect.d.ts +0 -25
  243. package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +0 -6
  244. package/cjs/forms/select/Select.d.ts +0 -16
  245. package/cjs/forms/select-field/SelectField.d.ts +0 -17
  246. package/cjs/forms/switch/Switch.d.ts +0 -13
  247. package/cjs/forms/tel-field/TelField.d.ts +0 -6
  248. package/cjs/forms/text-field/TextField.d.ts +0 -26
  249. package/cjs/global-styles/GlobalStyles.d.ts +0 -3
  250. package/cjs/global-styles/ResetStyles.d.ts +0 -9
  251. package/cjs/global-styles/sanitize.d.ts +0 -1
  252. package/cjs/grid/Column.d.ts +0 -10
  253. package/cjs/grid/Container.d.ts +0 -15
  254. package/cjs/grid/index.d.ts +0 -2
  255. package/cjs/hero/Hero.d.ts +0 -10
  256. package/cjs/hero/index.d.ts +0 -1
  257. package/cjs/hero/stripes.d.ts +0 -6
  258. package/cjs/ie-banner/IEBanner.d.ts +0 -11
  259. package/cjs/ie-banner/index.d.ts +0 -1
  260. package/cjs/index.d.ts +0 -44
  261. package/cjs/layout/LayoutLegacy.d.ts +0 -2
  262. package/cjs/lists/FeatureList.d.ts +0 -24
  263. package/cjs/lists/ListAddon.d.ts +0 -11
  264. package/cjs/lists/ListDivider.d.ts +0 -5
  265. package/cjs/lists/ListIcon.d.ts +0 -18
  266. package/cjs/lists/ListItem.d.ts +0 -46
  267. package/cjs/lists/ListText.d.ts +0 -39
  268. package/cjs/lists/ListTextGroup.d.ts +0 -15
  269. package/cjs/lists/ListTitle.d.ts +0 -4
  270. package/cjs/lists/index.d.ts +0 -8
  271. package/cjs/loader/DfdsLoader.d.ts +0 -9
  272. package/cjs/loader/Loader.d.ts +0 -6
  273. package/cjs/loader/index.d.ts +0 -2
  274. package/cjs/localization/LocaleFlag.d.ts +0 -13
  275. package/cjs/localization/index.d.ts +0 -2
  276. package/cjs/localization/locales.d.ts +0 -35
  277. package/cjs/logo/Logo.d.ts +0 -11
  278. package/cjs/logo/index.d.ts +0 -1
  279. package/cjs/media/index.d.ts +0 -2
  280. package/cjs/menu/Menu.d.ts +0 -7
  281. package/cjs/menu/index.d.ts +0 -2
  282. package/cjs/mobile-stepper/MobileStepper.d.ts +0 -25
  283. package/cjs/mobile-stepper/index.d.ts +0 -1
  284. package/cjs/nav-bar/NavBar.d.ts +0 -35
  285. package/cjs/nav-bar/index.d.ts +0 -2
  286. package/cjs/nav-menu/NavMenuItem.d.ts +0 -10
  287. package/cjs/nav-menu/index.d.ts +0 -1
  288. package/cjs/pagination/Pagination.d.ts +0 -44
  289. package/cjs/pagination/Pagination.styles.d.ts +0 -6
  290. package/cjs/pagination/index.d.ts +0 -1
  291. package/cjs/popper/Popper.d.ts +0 -29
  292. package/cjs/popper/index.d.ts +0 -1
  293. package/cjs/progress-bar/ProgressBar.d.ts +0 -8
  294. package/cjs/progress-bar/index.d.ts +0 -2
  295. package/cjs/schedule/ScheduleItem.d.ts +0 -21
  296. package/cjs/schedule/ScheduleList.d.ts +0 -11
  297. package/cjs/schedule/index.d.ts +0 -2
  298. package/cjs/side-sheet/SideSheet.d.ts +0 -57
  299. package/cjs/side-sheet/SideSheetCloseButton.d.ts +0 -13
  300. package/cjs/side-sheet/SideSheetContent.d.ts +0 -7
  301. package/cjs/side-sheet/SideSheetFooter.d.ts +0 -7
  302. package/cjs/side-sheet/SideSheetHeader.d.ts +0 -9
  303. package/cjs/side-sheet/SideSheetHeadline.d.ts +0 -7
  304. package/cjs/side-sheet/index.d.ts +0 -4
  305. package/cjs/site-layout/SiteLayout.d.ts +0 -36
  306. package/cjs/site-layout/index.d.ts +0 -2
  307. package/cjs/skeleton/Skeleton.d.ts +0 -8
  308. package/cjs/skeleton/index.d.ts +0 -1
  309. package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +0 -26
  310. package/cjs/social-media-link-list/index.d.ts +0 -1
  311. package/cjs/spinner/Spinner.d.ts +0 -58
  312. package/cjs/spinner/index.d.ts +0 -1
  313. package/cjs/step/Step.d.ts +0 -45
  314. package/cjs/step/Step.styles.d.ts +0 -4
  315. package/cjs/step/StepButton.d.ts +0 -4
  316. package/cjs/step/StepContent.d.ts +0 -6
  317. package/cjs/step/StepContext.d.ts +0 -12
  318. package/cjs/step/StepLabel.d.ts +0 -7
  319. package/cjs/step/index.d.ts +0 -1
  320. package/cjs/stepper/Stepper.d.ts +0 -25
  321. package/cjs/stepper/StepperContext.d.ts +0 -9
  322. package/cjs/stepper/index.d.ts +0 -1
  323. package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +0 -5
  324. package/cjs/stepper-feedback-message/index.d.ts +0 -1
  325. package/cjs/styles/index.d.ts +0 -3
  326. package/cjs/styles/media.d.ts +0 -21
  327. package/cjs/styles/rem.d.ts +0 -1
  328. package/cjs/styles/style-helpers.d.ts +0 -1
  329. package/cjs/styles/theme.d.ts +0 -39
  330. package/cjs/surface/Surface.d.ts +0 -32
  331. package/cjs/surface/index.d.ts +0 -1
  332. package/cjs/tab/Tab.d.ts +0 -12
  333. package/cjs/tab/TabPanel.d.ts +0 -7
  334. package/cjs/tab/Tabs.d.ts +0 -11
  335. package/cjs/tab/TabsContext.d.ts +0 -16
  336. package/cjs/tab/index.d.ts +0 -4
  337. package/cjs/table/Table.d.ts +0 -22
  338. package/cjs/table/TableBody.d.ts +0 -9
  339. package/cjs/table/TableDataCell.d.ts +0 -14
  340. package/cjs/table/TableHead.d.ts +0 -14
  341. package/cjs/table/TableHeaderCell.d.ts +0 -15
  342. package/cjs/table/TableRow.d.ts +0 -17
  343. package/cjs/table/index.d.ts +0 -6
  344. package/cjs/test/Test.d.ts +0 -8
  345. package/cjs/tooltip/Tooltip.d.ts +0 -26
  346. package/cjs/tooltip/index.d.ts +0 -2
  347. package/cjs/typography/Headlines.d.ts +0 -70
  348. package/cjs/typography/Text.d.ts +0 -5
  349. package/cjs/typography/index.d.ts +0 -2
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  /* eslint-disable deprecation/deprecation */
10
10
  /* eslint-disable @typescript-eslint/restrict-plus-operands */
@@ -2,8 +2,8 @@ var _excluded = ["isOpen", "multiselect", "children", "anchorEl", "onClickAway",
2
2
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
3
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
4
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
6
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
5
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
7
7
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -2,7 +2,7 @@ import _styled from "@emotion/styled/base";
2
2
  function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
3
3
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
4
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6
6
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
7
7
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
8
  import { decamelize } from 'humps';
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
10
10
  /* eslint-disable deprecation/deprecation */
package/grid/Container.js CHANGED
@@ -2,6 +2,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2
2
  import { css as _css } from "@emotion/react";
3
3
  import _styled from "@emotion/styled/base";
4
4
  var _excluded = ["children", "fluid", "surface"];
5
+ var _root;
5
6
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
7
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
7
8
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -35,21 +36,21 @@ var theme = createTheme({
35
36
  components: {
36
37
  MuiContainer: {
37
38
  styleOverrides: {
38
- root: _defineProperty(_defineProperty(_defineProperty(_defineProperty({
39
+ root: (_root = {
39
40
  marginBottom: "".concat(_spacing.xs)
40
- }, breakpointsObj.only('xs'), {
41
+ }, _defineProperty(_root, breakpointsObj.only('xs'), {
41
42
  paddingLeft: '0px',
42
43
  paddingRight: '0px'
43
- }), breakpointsObj.only('sm'), {
44
+ }), _defineProperty(_root, breakpointsObj.only('sm'), {
44
45
  paddingLeft: '40px',
45
46
  paddingRight: '40px'
46
- }), breakpointsObj.only('md'), {
47
+ }), _defineProperty(_root, breakpointsObj.only('md'), {
47
48
  paddingLeft: '40px',
48
49
  paddingRight: '40px'
49
- }), breakpointsObj.up('lg'), {
50
+ }), _defineProperty(_root, breakpointsObj.up('lg'), {
50
51
  paddingLeft: '0px',
51
52
  paddingRight: '0px'
52
- })
53
+ }), _root)
53
54
  }
54
55
  }
55
56
  }
@@ -1,8 +1,8 @@
1
1
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import React, { useState, useEffect } from 'react';
8
8
  import { Banner, BannerAction, BannerHeadline, BannerParagraph } from './../assertions/banner';
@@ -5,7 +5,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
6
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
7
7
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
8
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
9
9
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
11
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
package/nav-bar/NavBar.js CHANGED
@@ -5,8 +5,8 @@ var _excluded = ["href", "className", "showLogo", "children"],
5
5
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
6
6
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
7
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
9
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
12
12
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Shared react components within DFDS",
4
4
  "license": "MIT",
5
5
  "private": false,
6
- "version": "2.0.23-alpha.f9a24112",
6
+ "version": "2.0.23-alpha.fcaa34df",
7
7
  "sideEffects": false,
8
8
  "main": "./cjs/index.js",
9
9
  "module": "./index.js",
@@ -18,13 +18,13 @@
18
18
  "react-select": "^4.0.0"
19
19
  },
20
20
  "dependencies": {
21
- "@dfds-ui/colors": "2.0.23-alpha.f9a24112",
22
- "@dfds-ui/fonts": "2.0.23-alpha.f9a24112",
23
- "@dfds-ui/hooks": "2.0.23-alpha.f9a24112",
24
- "@dfds-ui/icons": "2.0.23-alpha.f9a24112",
25
- "@dfds-ui/spacing": "2.0.23-alpha.f9a24112",
26
- "@dfds-ui/theme": "2.0.23-alpha.f9a24112",
27
- "@dfds-ui/typography": "2.0.23-alpha.f9a24112",
21
+ "@dfds-ui/colors": "2.0.23-alpha.fcaa34df",
22
+ "@dfds-ui/fonts": "2.0.23-alpha.fcaa34df",
23
+ "@dfds-ui/hooks": "2.0.23-alpha.fcaa34df",
24
+ "@dfds-ui/icons": "2.0.23-alpha.fcaa34df",
25
+ "@dfds-ui/spacing": "2.0.23-alpha.fcaa34df",
26
+ "@dfds-ui/theme": "2.0.23-alpha.fcaa34df",
27
+ "@dfds-ui/typography": "2.0.23-alpha.fcaa34df",
28
28
  "@kunukn/react-collapse": "^2.2.9",
29
29
  "@mui/base": "^5.0.0-alpha.102",
30
30
  "@mui/material": "^5.10.10",
@@ -36,7 +36,7 @@
36
36
  "react-hook-intersection-observer": "^0.1.0",
37
37
  "uuid": "^9.0.0"
38
38
  },
39
- "gitHead": "f9a24112bd57109161be9f0172b87aa13fc1a2a4",
39
+ "gitHead": "fcaa34dffc53346951e4a9334667af288f8f5b47",
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  }
@@ -4,8 +4,8 @@ var _excluded = ["isOpen", "alignSideSheet", "zIndex", "variant", "largeMobileFu
4
4
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
5
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
6
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
7
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
9
9
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
10
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
11
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
package/tab/Tabs.js CHANGED
@@ -4,8 +4,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
4
4
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
5
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
6
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
7
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
9
9
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
10
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
11
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
package/table/TableRow.js CHANGED
@@ -17,6 +17,7 @@ var ClassName = {
17
17
  };
18
18
  var tableRowStyle = /*#__PURE__*/css("height:2.75rem;&.", ClassName.IS_INTERACTIVE, "{&:hover td{background:rgba(73, 162, 223, 0.08);cursor:pointer;}&:active td{background:rgba(73, 162, 223, 0.16);}&:focus td{background:rgba(73, 162, 223, 0.16);outline:none;}&.", ClassName.IS_SELECTED, " td{background:rgba(73, 162, 223, 0.12);}}" + (process.env.NODE_ENV === "production" ? "" : ";label:tableRowStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90YWJsZS9UYWJsZVJvdy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJ5QiIsImZpbGUiOiIuLi8uLi9zcmMvdGFibGUvVGFibGVSb3cudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IGZvcndhcmRSZWYsIENvbXBvbmVudFByb3BzV2l0aFJlZiwgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgY2xhc3NOYW1lcyBmcm9tICdjbGFzc25hbWVzJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyB1c2VUYWJsZSB9IGZyb20gJy4vVGFibGUnXG5cbmV4cG9ydCB0eXBlIFRhYmxlUm93UHJvcHMgPSB7XG4gIC8qKlxuICAgKiBUYWJsZSByb3cgY29udGVudFxuICAgKi9cbiAgY2hpbGRyZW46IFJlYWN0Tm9kZVxuXG4gIC8qKlxuICAgKiBDbGFzc2VzIGFwcGxpZWQgb24gdGhlIHRyIHRhZ1xuICAgKi9cbiAgY2xhc3NOYW1lPzogc3RyaW5nXG5cbiAgLyoqXG4gICAqIEFwcGxpZXMgU2VsZWN0ZWQgc3RhdGUgc3R5bGluZyB0byB0aGUgcm93XG4gICAqL1xuICBpc1NlbGVjdGVkPzogYm9vbGVhblxufSAmIENvbXBvbmVudFByb3BzV2l0aFJlZjwndHInPlxuXG5jb25zdCBDbGFzc05hbWUgPSB7XG4gIElTX0lOVEVSQUNUSVZFOiAnaXMtaW50ZXJhY3RpdmUnLFxuICBJU19TRUxFQ1RFRDogJ2lzLXNlbGVjdGVkJyxcbn1cblxuY29uc3QgdGFibGVSb3dTdHlsZSA9IGNzc2BcbiAgaGVpZ2h0OiAyLjc1cmVtO1xuXG4gICYuJHtDbGFzc05hbWUuSVNfSU5URVJBQ1RJVkV9IHtcbiAgICAmOmhvdmVyIHRkIHtcbiAgICAgIGJhY2tncm91bmQ6IHJnYmEoNzMsIDE2MiwgMjIzLCAwLjA4KTtcbiAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICB9XG5cbiAgICAmOmFjdGl2ZSB0ZCB7XG4gICAgICBiYWNrZ3JvdW5kOiByZ2JhKDczLCAxNjIsIDIyMywgMC4xNik7XG4gICAgfVxuXG4gICAgJjpmb2N1cyB0ZCB7XG4gICAgICBiYWNrZ3JvdW5kOiByZ2JhKDczLCAxNjIsIDIyMywgMC4xNik7XG4gICAgICBvdXRsaW5lOiBub25lO1xuICAgIH1cblxuICAgICYuJHtDbGFzc05hbWUuSVNfU0VMRUNURUR9IHRkIHtcbiAgICAgIGJhY2tncm91bmQ6IHJnYmEoNzMsIDE2MiwgMjIzLCAwLjEyKTtcbiAgICB9XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IFRhYmxlUm93ID0gZm9yd2FyZFJlZjxIVE1MVGFibGVSb3dFbGVtZW50LCBUYWJsZVJvd1Byb3BzPihcbiAgKHsgY2hpbGRyZW4sIGNsYXNzTmFtZSwgaXNTZWxlY3RlZCA9IGZhbHNlLCAuLi5yZXN0IH06IFRhYmxlUm93UHJvcHMsIHJlZikgPT4ge1xuICAgIGNvbnN0IHsgaXNJbnRlcmFjdGl2ZSB9ID0gdXNlVGFibGUoKVxuXG4gICAgcmV0dXJuIChcbiAgICAgIDx0clxuICAgICAgICBjbGFzc05hbWU9e2NsYXNzTmFtZXMoY2xhc3NOYW1lLCB7XG4gICAgICAgICAgW0NsYXNzTmFtZS5JU19TRUxFQ1RFRF06IGlzU2VsZWN0ZWQsXG4gICAgICAgICAgW0NsYXNzTmFtZS5JU19JTlRFUkFDVElWRV06IGlzSW50ZXJhY3RpdmUsXG4gICAgICAgIH0pfVxuICAgICAgICBjc3M9e3RhYmxlUm93U3R5bGV9XG4gICAgICAgIHsuLi5yZXN0fVxuICAgICAgICByZWY9e3JlZn1cbiAgICAgID5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC90cj5cbiAgICApXG4gIH1cbilcblxuZXhwb3J0IGRlZmF1bHQgVGFibGVSb3dcbiJdfQ== */");
19
19
  export var TableRow = /*#__PURE__*/forwardRef(function (_ref, ref) {
20
+ var _classNames;
20
21
  var children = _ref.children,
21
22
  className = _ref.className,
22
23
  _ref$isSelected = _ref.isSelected,
@@ -25,7 +26,7 @@ export var TableRow = /*#__PURE__*/forwardRef(function (_ref, ref) {
25
26
  var _useTable = useTable(),
26
27
  isInteractive = _useTable.isInteractive;
27
28
  return ___EmotionJSX("tr", _extends({
28
- className: classNames(className, _defineProperty(_defineProperty({}, ClassName.IS_SELECTED, isSelected), ClassName.IS_INTERACTIVE, isInteractive)),
29
+ className: classNames(className, (_classNames = {}, _defineProperty(_classNames, ClassName.IS_SELECTED, isSelected), _defineProperty(_classNames, ClassName.IS_INTERACTIVE, isInteractive), _classNames)),
29
30
  css: tableRowStyle
30
31
  }, rest, {
31
32
  ref: ref
@@ -1,101 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { CollapseProps } from '@kunukn/react-collapse';
3
- export declare type AccordionHeaderProps = {
4
- /**
5
- * Add heading to the Accordion.
6
- */
7
- heading?: string;
8
- /**
9
- * Add secondary heading to the Accordion.
10
- */
11
- secondaryHeading?: ReactNode;
12
- /**
13
- * Specify the duration of the transition between open and closed.
14
- */
15
- transitionDuration?: string;
16
- /**
17
- * If set to `true` the Accordion is open.
18
- */
19
- isOpen?: boolean;
20
- /**
21
- * Disable the Accordion.
22
- */
23
- disabled?: boolean;
24
- /**
25
- * Use the Accordion without animation.
26
- */
27
- noAnimation?: boolean;
28
- /**
29
- * Hide the secondary heading when the Accordion is opened.
30
- */
31
- noSecondaryHeadingWhenOpen?: boolean;
32
- /**
33
- * Callback when toggling the accordion
34
- */
35
- onToggle?: () => void;
36
- };
37
- export declare const AccordionHeader: React.FunctionComponent<AccordionHeaderProps>;
38
- export declare type AccordionProps = {
39
- /**
40
- * Add heading to the Accordion.
41
- */
42
- heading?: string;
43
- /**
44
- * Add a custom header to the Accordion.
45
- */
46
- header?: ReactNode;
47
- /**
48
- * Add secondary heading to the Accordion.
49
- */
50
- secondaryHeading?: ReactNode;
51
- /**
52
- * Specify the duration of the transition between open and closed.
53
- */
54
- transitionDuration?: string;
55
- /**
56
- * If set to `true` the Accordion is open.
57
- */
58
- isOpen?: boolean;
59
- /**
60
- * Disable the Accordion.
61
- */
62
- disabled?: boolean;
63
- /**
64
- * Callback when toggling the accordion
65
- */
66
- onToggle?: () => void;
67
- /**
68
- * Props passed on to the Collapse component
69
- */
70
- collapseProps?: CollapseProps;
71
- /**
72
- * Use the Accordion without animation.
73
- */
74
- noAnimation?: boolean;
75
- /**
76
- * The compressed variant removes the `margin-bottom` of the Accordion.
77
- */
78
- variant?: 'default' | 'compressed';
79
- /**
80
- * Specify the content padding of the Accordion.
81
- */
82
- type?: 'small' | 'medium';
83
- /**
84
- * Add a className to the Accordion.
85
- */
86
- className?: string;
87
- /**
88
- * Hide the secondary heading when the Accordion is opened.
89
- */
90
- noSecondaryHeadingWhenOpen?: boolean;
91
- /**
92
- * Hide the Divider (the grey line under the header)
93
- */
94
- hideDivider?: boolean;
95
- /**
96
- * Updates component with children prop accordingly to the @types update
97
- */
98
- children?: ReactNode;
99
- };
100
- export declare const Accordion: React.FunctionComponent<AccordionProps>;
101
- export default Accordion;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- export declare type AccordionContentProps = {
3
- /**
4
- * The compressed variant removes the `margin-bottom` of the Accordion.
5
- */
6
- variant?: 'default' | 'compressed';
7
- /**
8
- * Specify the content padding of the Accordion.
9
- */
10
- type?: 'small' | 'medium';
11
- };
12
- export declare const AccordionContent: React.FunctionComponent<AccordionContentProps>;
13
- export default AccordionContent;
@@ -1,55 +0,0 @@
1
- import React from 'react';
2
- export declare type AccordionSmallHeaderProps = {
3
- /**
4
- * Add a heading to the Accordion.
5
- */
6
- heading: string;
7
- /**
8
- * Add a secondary heading to the Accordion.
9
- */
10
- secondaryHeading?: string;
11
- /**
12
- * Specify the duration of the transition between open and closed.
13
- */
14
- transitionDuration?: string;
15
- /**
16
- * If set to `true` the Accordion is open.
17
- */
18
- isOpen?: boolean;
19
- /**
20
- * Disable the Accordion.
21
- */
22
- disabled?: boolean;
23
- /**
24
- * Use the Accordion without animation.
25
- */
26
- noAnimation?: boolean;
27
- onToggle?: () => void;
28
- };
29
- export declare const AccordionSmallHeader: React.FunctionComponent<AccordionSmallHeaderProps>;
30
- export declare type AccordionSmallProps = {
31
- /**
32
- * Add a heading to the Accordion.
33
- */
34
- heading: string;
35
- /**
36
- * Specify the duration of the transition between open and closed.
37
- */
38
- transitionDuration?: string;
39
- /**
40
- * If set to `true` the Accordion is open.
41
- */
42
- isOpen?: boolean;
43
- /**
44
- * Disable the Accordion.
45
- */
46
- disabled?: boolean;
47
- /**
48
- * Use the Accordion without animation.
49
- */
50
- noAnimation?: boolean;
51
- onToggle?: () => void;
52
- collapseProps?: object;
53
- };
54
- export declare const AccordionSmall: React.FunctionComponent<AccordionSmallProps>;
55
- export default AccordionSmall;
@@ -1,3 +0,0 @@
1
- export * from './Accordion';
2
- export * from './AccordionSmall';
3
- export * from './AccordionContent';
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- declare type Breakpoint = 's' | 'm' | 'l';
3
- declare const AppBar: React.FC<{
4
- leftActions?: React.ReactNode;
5
- actions?: React.ReactNode;
6
- className?: string;
7
- logoProps?: any;
8
- menuBreakpoint?: Breakpoint;
9
- hasMenuButton?: boolean;
10
- handleMenuButtonClick?: () => void;
11
- children?: React.ReactNode;
12
- }>;
13
- export default AppBar;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- declare type AppBarState = {
3
- drawerOpen: boolean;
4
- setDrawerOpen: React.Dispatch<React.SetStateAction<boolean>>;
5
- height: number;
6
- setHeight: React.Dispatch<React.SetStateAction<number>>;
7
- };
8
- export declare const AppBarProvider: React.FC<{
9
- children?: React.ReactNode;
10
- }>;
11
- export declare const useAppBarContext: () => AppBarState;
12
- export {};
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- declare const AppBarDrawer: React.FC<{
3
- children?: React.ReactNode;
4
- }>;
5
- export default AppBarDrawer;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- declare type AppBarIconButtonProps = {
3
- isActive?: boolean;
4
- ariaLabel: string;
5
- icon: React.ElementType;
6
- showTooltip?: boolean;
7
- onClick?: (event: React.MouseEvent) => void;
8
- };
9
- declare const AppBarIconButton: React.FC<AppBarIconButtonProps>;
10
- export default AppBarIconButton;
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { PopperProps } from '@mui/material';
3
- export declare type AppBarItemProps = {
4
- id: string;
5
- Icon?: React.ElementType;
6
- LeadingIcon?: React.ElementType;
7
- TrailingIcon?: React.ElementType;
8
- title: string;
9
- divider?: 'start' | 'end' | 'both';
10
- children?: React.ReactNode;
11
- as?: React.ElementType;
12
- onClick?: () => void;
13
- placement?: 'bottom-start' | 'bottom-end';
14
- isActive?: boolean;
15
- AppBarPopperProps?: Omit<PopperProps, 'open'>;
16
- };
17
- export declare const MenuPopOverContext: React.Context<{
18
- handlePopoverClose: () => void;
19
- } | undefined>;
20
- export declare const AppBarPopper: import("@emotion/styled").StyledComponent<Pick<PopperProps, "key" | "id" | "open" | "color" | "transition" | "translate" | "hidden" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "sx" | "components" | "container" | "placement" | "disablePortal" | "modifiers" | "anchorEl" | "componentsProps" | "keepMounted" | "popperOptions" | "popperRef"> & React.RefAttributes<HTMLDivElement> & {
21
- theme?: import("@emotion/react").Theme | undefined;
22
- }, {}, {}>;
23
- export declare const AppBarItem: React.FC<AppBarItemProps & JSX.IntrinsicElements['a']>;
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- declare const AppBarListItem: import("@emotion/styled").StyledComponent<{
3
- multiline?: boolean | undefined;
4
- selected?: boolean | undefined;
5
- condensed?: boolean | undefined;
6
- tabIndex?: number | undefined;
7
- clickable?: boolean | undefined;
8
- divider?: boolean | undefined;
9
- onClick?: (() => void) | undefined;
10
- flexBoxProps?: import("../flexbox").FlexBoxProps | undefined;
11
- className?: string | undefined;
12
- children?: import("react").ReactNode;
13
- } & import("..").PolymorphicComponentProps & {
14
- theme?: import("@emotion/react").Theme | undefined;
15
- }, {}, {}>;
16
- export default AppBarListItem;
@@ -1,7 +0,0 @@
1
- import { useAppBarContext, AppBarProvider } from './AppBarContext';
2
- import { AppBarItem, MenuPopOverContext } from './AppBarItem';
3
- export { default as AppBarDrawer } from './AppBarDrawer';
4
- export { default as AppBar } from './AppBar';
5
- export { default as AppBarIconButton } from './AppBarIconButton';
6
- export { default as AppBarListItem } from './AppBarListItem';
7
- export { useAppBarContext, AppBarProvider, AppBarItem, MenuPopOverContext };