@dfds-ui/react-components 2.0.29 → 2.2.0-alpha.4e495871

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 (375) hide show
  1. package/accordion/Accordion.d.ts +2 -2
  2. package/accordion/AccordionContent.d.ts +1 -1
  3. package/accordion/AccordionSmall.d.ts +2 -2
  4. package/app-bar/AppBar.d.ts +1 -1
  5. package/app-bar/AppBarContext.d.ts +1 -1
  6. package/app-bar/AppBarIconButton.d.ts +1 -1
  7. package/app-bar/AppBarItem.d.ts +2 -2
  8. package/assertions/banner/Banner.d.ts +3 -3
  9. package/assertions/banner/BannerAction.d.ts +1 -1
  10. package/assertions/toast/Toast.d.ts +1 -1
  11. package/assertions/toast/Toaster.d.ts +2 -2
  12. package/badge/Badge.d.ts +1 -1
  13. package/button/BadgeIcon.d.ts +1 -1
  14. package/button/BaseButton.d.ts +3 -3
  15. package/button/Button.d.ts +3 -3
  16. package/button/IconButton.d.ts +2 -2
  17. package/button/LinkButton.d.ts +1 -1
  18. package/button-stack/ButtonStack.d.ts +3 -3
  19. package/card/Card.d.ts +2 -2
  20. package/card/CardContent.d.ts +1 -1
  21. package/card/CardMedia.d.ts +2 -2
  22. package/card/CardPriceTag.d.ts +1 -1
  23. package/card/CardTitle.d.ts +1 -1
  24. package/chip/Chip.d.ts +2 -2
  25. package/cjs/accordion/Accordion.d.ts +2 -2
  26. package/cjs/accordion/Accordion.js +20 -24
  27. package/cjs/accordion/AccordionContent.d.ts +1 -1
  28. package/cjs/accordion/AccordionContent.js +6 -8
  29. package/cjs/accordion/AccordionSmall.d.ts +2 -2
  30. package/cjs/accordion/AccordionSmall.js +11 -14
  31. package/cjs/accordion/index.js +3 -3
  32. package/cjs/app-bar/AppBar.d.ts +1 -1
  33. package/cjs/app-bar/AppBar.js +42 -63
  34. package/cjs/app-bar/AppBarContext.d.ts +1 -1
  35. package/cjs/app-bar/AppBarContext.js +3 -15
  36. package/cjs/app-bar/AppBarDrawer.js +9 -10
  37. package/cjs/app-bar/AppBarIconButton.d.ts +1 -1
  38. package/cjs/app-bar/AppBarIconButton.js +6 -9
  39. package/cjs/app-bar/AppBarItem.d.ts +2 -2
  40. package/cjs/app-bar/AppBarItem.js +17 -31
  41. package/cjs/app-bar/index.js +8 -8
  42. package/cjs/assertions/banner/Banner.d.ts +3 -3
  43. package/cjs/assertions/banner/Banner.js +23 -43
  44. package/cjs/assertions/banner/BannerAction.d.ts +1 -1
  45. package/cjs/assertions/banner/BannerAction.js +7 -9
  46. package/cjs/assertions/banner/index.js +3 -3
  47. package/cjs/assertions/index.js +2 -2
  48. package/cjs/assertions/toast/Toast.d.ts +1 -1
  49. package/cjs/assertions/toast/Toast.js +9 -13
  50. package/cjs/assertions/toast/Toaster.d.ts +2 -2
  51. package/cjs/assertions/toast/Toaster.js +20 -39
  52. package/cjs/assertions/toast/index.js +4 -4
  53. package/cjs/badge/Badge.d.ts +1 -1
  54. package/cjs/badge/Badge.js +9 -14
  55. package/cjs/badge/index.js +3 -3
  56. package/cjs/button/BadgeIcon.d.ts +1 -1
  57. package/cjs/button/BaseButton.d.ts +3 -3
  58. package/cjs/button/Button.d.ts +3 -3
  59. package/cjs/button/Button.js +13 -20
  60. package/cjs/button/IconButton.d.ts +2 -2
  61. package/cjs/button/IconButton.js +19 -27
  62. package/cjs/button/LinkButton.d.ts +1 -1
  63. package/cjs/button/LinkButton.js +1 -1
  64. package/cjs/button/index.js +8 -8
  65. package/cjs/button-stack/ButtonStack.d.ts +3 -3
  66. package/cjs/button-stack/ButtonStack.js +8 -12
  67. package/cjs/button-stack/index.js +1 -1
  68. package/cjs/card/Card.d.ts +2 -2
  69. package/cjs/card/Card.js +21 -37
  70. package/cjs/card/CardActions.js +6 -10
  71. package/cjs/card/CardContent.d.ts +1 -1
  72. package/cjs/card/CardContent.js +10 -14
  73. package/cjs/card/CardMedia.d.ts +2 -2
  74. package/cjs/card/CardMedia.js +6 -9
  75. package/cjs/card/CardPriceTag.d.ts +1 -1
  76. package/cjs/card/CardPriceTag.js +7 -11
  77. package/cjs/card/CardTitle.d.ts +1 -1
  78. package/cjs/card/CardTitle.js +9 -11
  79. package/cjs/card/index.js +6 -6
  80. package/cjs/chip/Chip.d.ts +2 -2
  81. package/cjs/chip/Chip.js +13 -28
  82. package/cjs/chip/index.js +3 -3
  83. package/cjs/common/LockBodyScroll.d.ts +2 -2
  84. package/cjs/common/LockBodyScroll.js +5 -8
  85. package/cjs/common/arrow.d.ts +1 -1
  86. package/cjs/common/emotionCloneElement.js +5 -8
  87. package/cjs/common/intent.d.ts +1 -1
  88. package/cjs/common/polymorphic.d.ts +2 -2
  89. package/cjs/common/polymorphic.js +3 -3
  90. package/cjs/common/use-media.js +1 -10
  91. package/cjs/common/useOnClickOutside.d.ts +1 -1
  92. package/cjs/counter/Counter.d.ts +1 -1
  93. package/cjs/counter/Counter.js +4 -14
  94. package/cjs/counter/PluralCounter.d.ts +1 -1
  95. package/cjs/counter/PluralCounter.js +10 -22
  96. package/cjs/counter/index.js +2 -2
  97. package/cjs/data-table/DataTable.d.ts +1 -1
  98. package/cjs/data-table/DataTable.js +16 -27
  99. package/cjs/data-table/index.js +1 -1
  100. package/cjs/date-range-picker/DateRangePicker.js +28 -55
  101. package/cjs/date-range-picker/index.js +1 -1
  102. package/cjs/divider/Divider.d.ts +1 -1
  103. package/cjs/divider/Divider.js +9 -9
  104. package/cjs/divider/index.js +1 -1
  105. package/cjs/drawer/Drawer.d.ts +4 -4
  106. package/cjs/drawer/Drawer.js +9 -15
  107. package/cjs/drawer/index.js +1 -1
  108. package/cjs/dropdown-menu/Dropdown.d.ts +2 -2
  109. package/cjs/dropdown-menu/Dropdown.js +18 -32
  110. package/cjs/dropdown-menu/DropdownContext.d.ts +2 -2
  111. package/cjs/dropdown-menu/DropdownContext.js +1 -1
  112. package/cjs/dropdown-menu/MenuCheckbox.js +3 -2
  113. package/cjs/dropdown-menu/MenuItem.js +18 -30
  114. package/cjs/dropdown-menu/MenuTitle.js +3 -2
  115. package/cjs/dropdown-menu/index.js +6 -6
  116. package/cjs/elevation/index.d.ts +1 -1
  117. package/cjs/flexbox/FlexBox.d.ts +2 -2
  118. package/cjs/flexbox/FlexBox.js +3 -11
  119. package/cjs/flexbox/index.js +1 -1
  120. package/cjs/footer/index.js +1 -1
  121. package/cjs/forms/checkbox/Checkbox.d.ts +4 -4
  122. package/cjs/forms/checkbox/Checkbox.js +14 -19
  123. package/cjs/forms/checkbox/ExampleControlComponent.d.ts +1 -1
  124. package/cjs/forms/checkbox/ExampleControlComponent.js +6 -17
  125. package/cjs/forms/checkbox/index.js +1 -1
  126. package/cjs/forms/email-field/EmailField.d.ts +1 -1
  127. package/cjs/forms/field/Field.d.ts +1 -1
  128. package/cjs/forms/index.d.ts +3 -3
  129. package/cjs/forms/index.js +18 -18
  130. package/cjs/forms/input/Input.d.ts +3 -3
  131. package/cjs/forms/input/Input.js +13 -15
  132. package/cjs/forms/input/InputComposition.d.ts +7 -7
  133. package/cjs/forms/input/InputComposition.js +23 -27
  134. package/cjs/forms/label/Label.d.ts +1 -1
  135. package/cjs/forms/label/Label.js +6 -8
  136. package/cjs/forms/number-field/NumberField.d.ts +1 -1
  137. package/cjs/forms/password-field/PasswordField.d.ts +1 -1
  138. package/cjs/forms/password-field/PasswordField.js +2 -11
  139. package/cjs/forms/radio/Radio.d.ts +4 -4
  140. package/cjs/forms/radio/Radio.js +27 -32
  141. package/cjs/forms/reactselect/ReactSelect.d.ts +2 -2
  142. package/cjs/forms/reactselect/ReactSelect.js +40 -48
  143. package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
  144. package/cjs/forms/searchable-select/AsyncSearchableSelect.js +29 -33
  145. package/cjs/forms/select/Select.d.ts +4 -4
  146. package/cjs/forms/select/Select.js +10 -12
  147. package/cjs/forms/select-field/SelectField.d.ts +2 -2
  148. package/cjs/forms/select-field/SelectField.js +13 -14
  149. package/cjs/forms/switch/Switch.d.ts +2 -2
  150. package/cjs/forms/switch/Switch.js +11 -15
  151. package/cjs/forms/tel-field/TelField.d.ts +1 -1
  152. package/cjs/forms/text-field/TextField.d.ts +3 -3
  153. package/cjs/forms/text-field/TextField.js +16 -17
  154. package/cjs/grid/Column.d.ts +1 -1
  155. package/cjs/grid/Column.js +8 -10
  156. package/cjs/grid/Container.d.ts +1 -1
  157. package/cjs/grid/Container.js +9 -11
  158. package/cjs/grid/index.js +2 -2
  159. package/cjs/hero/Hero.d.ts +1 -1
  160. package/cjs/hero/index.js +1 -1
  161. package/cjs/hero/stripes.d.ts +1 -1
  162. package/cjs/ie-banner/IEBanner.d.ts +1 -1
  163. package/cjs/ie-banner/IEBanner.js +4 -19
  164. package/cjs/ie-banner/index.js +1 -1
  165. package/cjs/index.js +45 -45
  166. package/cjs/lists/FeatureList.d.ts +2 -2
  167. package/cjs/lists/FeatureList.js +7 -10
  168. package/cjs/lists/ListAddon.d.ts +1 -1
  169. package/cjs/lists/ListAddon.js +6 -9
  170. package/cjs/lists/ListDivider.d.ts +1 -1
  171. package/cjs/lists/ListDivider.js +6 -9
  172. package/cjs/lists/ListIcon.d.ts +2 -2
  173. package/cjs/lists/ListIcon.js +12 -15
  174. package/cjs/lists/ListItem.d.ts +1 -1
  175. package/cjs/lists/ListItem.js +15 -24
  176. package/cjs/lists/ListText.d.ts +3 -3
  177. package/cjs/lists/ListText.js +8 -11
  178. package/cjs/lists/ListTextGroup.d.ts +1 -1
  179. package/cjs/lists/ListTextGroup.js +9 -13
  180. package/cjs/lists/ListTitle.js +4 -7
  181. package/cjs/lists/index.js +8 -8
  182. package/cjs/loader/DfdsLoader.js +2 -2
  183. package/cjs/loader/Loader.d.ts +1 -1
  184. package/cjs/loader/index.js +2 -2
  185. package/cjs/localization/LocaleFlag.d.ts +1 -1
  186. package/cjs/localization/LocaleFlag.js +8 -12
  187. package/cjs/localization/index.js +2 -2
  188. package/cjs/localization/locales.d.ts +2 -2
  189. package/cjs/logo/Logo.d.ts +1 -1
  190. package/cjs/logo/Logo.js +5 -7
  191. package/cjs/logo/index.js +1 -1
  192. package/cjs/menu/Menu.d.ts +1 -1
  193. package/cjs/menu/Menu.js +18 -20
  194. package/cjs/menu/index.js +3 -3
  195. package/cjs/mobile-stepper/MobileStepper.d.ts +1 -1
  196. package/cjs/mobile-stepper/MobileStepper.js +8 -12
  197. package/cjs/mobile-stepper/index.js +1 -1
  198. package/cjs/nav-bar/NavBar.d.ts +4 -4
  199. package/cjs/nav-bar/NavBar.js +24 -36
  200. package/cjs/nav-bar/index.js +3 -3
  201. package/cjs/nav-menu/NavMenuItem.d.ts +1 -1
  202. package/cjs/nav-menu/index.js +1 -1
  203. package/cjs/pagination/Pagination.d.ts +2 -2
  204. package/cjs/pagination/Pagination.js +7 -6
  205. package/cjs/pagination/index.js +1 -1
  206. package/cjs/popper/Popper.d.ts +2 -2
  207. package/cjs/popper/Popper.js +21 -25
  208. package/cjs/popper/index.js +1 -1
  209. package/cjs/progress-bar/ProgressBar.d.ts +1 -1
  210. package/cjs/progress-bar/index.js +3 -3
  211. package/cjs/schedule/ScheduleItem.d.ts +2 -2
  212. package/cjs/schedule/ScheduleList.d.ts +3 -3
  213. package/cjs/schedule/ScheduleList.js +4 -6
  214. package/cjs/schedule/index.js +2 -2
  215. package/cjs/side-sheet/SideSheet.d.ts +4 -4
  216. package/cjs/side-sheet/SideSheet.js +29 -45
  217. package/cjs/side-sheet/SideSheetCloseButton.d.ts +1 -1
  218. package/cjs/side-sheet/SideSheetCloseButton.js +8 -13
  219. package/cjs/side-sheet/SideSheetContent.d.ts +1 -1
  220. package/cjs/side-sheet/SideSheetContent.js +6 -8
  221. package/cjs/side-sheet/SideSheetFooter.d.ts +1 -1
  222. package/cjs/side-sheet/SideSheetFooter.js +6 -8
  223. package/cjs/side-sheet/SideSheetHeader.d.ts +1 -1
  224. package/cjs/side-sheet/SideSheetHeader.js +8 -11
  225. package/cjs/side-sheet/SideSheetHeadline.d.ts +1 -1
  226. package/cjs/side-sheet/index.js +5 -5
  227. package/cjs/site-layout/SiteLayout.d.ts +3 -3
  228. package/cjs/site-layout/SiteLayout.js +24 -27
  229. package/cjs/site-layout/index.js +3 -3
  230. package/cjs/skeleton/Skeleton.d.ts +1 -1
  231. package/cjs/skeleton/Skeleton.js +10 -14
  232. package/cjs/skeleton/index.js +1 -1
  233. package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
  234. package/cjs/social-media-link-list/SocialMediaLinkList.js +13 -15
  235. package/cjs/social-media-link-list/index.js +1 -1
  236. package/cjs/spinner/Spinner.d.ts +2 -2
  237. package/cjs/spinner/Spinner.js +8 -12
  238. package/cjs/spinner/index.js +1 -1
  239. package/cjs/step/Step.d.ts +1 -1
  240. package/cjs/step/Step.js +21 -29
  241. package/cjs/step/StepButton.d.ts +1 -1
  242. package/cjs/step/StepButton.js +14 -12
  243. package/cjs/step/StepContent.d.ts +1 -1
  244. package/cjs/step/StepContent.js +3 -2
  245. package/cjs/step/StepContext.d.ts +1 -1
  246. package/cjs/step/StepLabel.d.ts +1 -1
  247. package/cjs/step/StepLabel.js +4 -3
  248. package/cjs/step/index.js +1 -1
  249. package/cjs/stepper/Stepper.d.ts +1 -1
  250. package/cjs/stepper/Stepper.js +13 -22
  251. package/cjs/stepper/StepperContext.d.ts +1 -1
  252. package/cjs/stepper/index.js +1 -1
  253. package/cjs/stepper-feedback-message/index.js +1 -1
  254. package/cjs/styles/index.js +5 -5
  255. package/cjs/styles/media.d.ts +1 -1
  256. package/cjs/styles/theme.d.ts +1 -1
  257. package/cjs/surface/Surface.d.ts +2 -2
  258. package/cjs/surface/Surface.js +13 -19
  259. package/cjs/surface/index.js +1 -1
  260. package/cjs/tab/Tab.d.ts +2 -2
  261. package/cjs/tab/Tab.js +13 -14
  262. package/cjs/tab/TabPanel.d.ts +1 -1
  263. package/cjs/tab/TabPanel.js +3 -2
  264. package/cjs/tab/Tabs.d.ts +2 -2
  265. package/cjs/tab/Tabs.js +21 -37
  266. package/cjs/tab/TabsContext.d.ts +1 -1
  267. package/cjs/tab/TabsContext.js +1 -1
  268. package/cjs/tab/index.js +4 -4
  269. package/cjs/table/Table.d.ts +2 -2
  270. package/cjs/table/Table.js +7 -11
  271. package/cjs/table/TableBody.d.ts +1 -1
  272. package/cjs/table/TableBody.js +5 -7
  273. package/cjs/table/TableDataCell.d.ts +1 -1
  274. package/cjs/table/TableDataCell.js +6 -9
  275. package/cjs/table/TableHead.d.ts +1 -1
  276. package/cjs/table/TableHead.js +9 -10
  277. package/cjs/table/TableHeaderCell.d.ts +2 -2
  278. package/cjs/table/TableHeaderCell.js +6 -9
  279. package/cjs/table/TableRow.d.ts +1 -1
  280. package/cjs/table/TableRow.js +10 -12
  281. package/cjs/table/index.js +6 -6
  282. package/cjs/tooltip/Tooltip.d.ts +2 -2
  283. package/cjs/tooltip/Tooltip.js +11 -12
  284. package/cjs/tooltip/index.js +3 -3
  285. package/cjs/typography/Headlines.js +8 -11
  286. package/cjs/typography/index.js +2 -2
  287. package/common/LockBodyScroll.d.ts +2 -2
  288. package/common/arrow.d.ts +1 -1
  289. package/common/intent.d.ts +1 -1
  290. package/common/polymorphic.d.ts +2 -2
  291. package/common/useOnClickOutside.d.ts +1 -1
  292. package/counter/Counter.d.ts +1 -1
  293. package/counter/PluralCounter.d.ts +1 -1
  294. package/data-table/DataTable.d.ts +1 -1
  295. package/divider/Divider.d.ts +1 -1
  296. package/drawer/Drawer.d.ts +4 -4
  297. package/dropdown-menu/Dropdown.d.ts +2 -2
  298. package/dropdown-menu/DropdownContext.d.ts +2 -2
  299. package/elevation/index.d.ts +1 -1
  300. package/flexbox/FlexBox.d.ts +2 -2
  301. package/forms/checkbox/Checkbox.d.ts +4 -4
  302. package/forms/checkbox/ExampleControlComponent.d.ts +1 -1
  303. package/forms/email-field/EmailField.d.ts +1 -1
  304. package/forms/field/Field.d.ts +1 -1
  305. package/forms/index.d.ts +3 -3
  306. package/forms/input/Input.d.ts +3 -3
  307. package/forms/input/InputComposition.d.ts +7 -7
  308. package/forms/label/Label.d.ts +1 -1
  309. package/forms/number-field/NumberField.d.ts +1 -1
  310. package/forms/password-field/PasswordField.d.ts +1 -1
  311. package/forms/radio/Radio.d.ts +4 -4
  312. package/forms/reactselect/ReactSelect.d.ts +2 -2
  313. package/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
  314. package/forms/select/Select.d.ts +4 -4
  315. package/forms/select-field/SelectField.d.ts +2 -2
  316. package/forms/switch/Switch.d.ts +2 -2
  317. package/forms/tel-field/TelField.d.ts +1 -1
  318. package/forms/text-field/TextField.d.ts +3 -3
  319. package/grid/Column.d.ts +1 -1
  320. package/grid/Container.d.ts +1 -1
  321. package/hero/Hero.d.ts +1 -1
  322. package/hero/stripes.d.ts +1 -1
  323. package/ie-banner/IEBanner.d.ts +1 -1
  324. package/lists/FeatureList.d.ts +2 -2
  325. package/lists/ListAddon.d.ts +1 -1
  326. package/lists/ListDivider.d.ts +1 -1
  327. package/lists/ListIcon.d.ts +2 -2
  328. package/lists/ListItem.d.ts +1 -1
  329. package/lists/ListText.d.ts +3 -3
  330. package/lists/ListTextGroup.d.ts +1 -1
  331. package/loader/Loader.d.ts +1 -1
  332. package/localization/LocaleFlag.d.ts +1 -1
  333. package/localization/locales.d.ts +2 -2
  334. package/logo/Logo.d.ts +1 -1
  335. package/menu/Menu.d.ts +1 -1
  336. package/mobile-stepper/MobileStepper.d.ts +1 -1
  337. package/nav-bar/NavBar.d.ts +4 -4
  338. package/nav-menu/NavMenuItem.d.ts +1 -1
  339. package/package.json +10 -10
  340. package/pagination/Pagination.d.ts +2 -2
  341. package/popper/Popper.d.ts +2 -2
  342. package/progress-bar/ProgressBar.d.ts +1 -1
  343. package/schedule/ScheduleItem.d.ts +2 -2
  344. package/schedule/ScheduleList.d.ts +3 -3
  345. package/side-sheet/SideSheet.d.ts +4 -4
  346. package/side-sheet/SideSheetCloseButton.d.ts +1 -1
  347. package/side-sheet/SideSheetContent.d.ts +1 -1
  348. package/side-sheet/SideSheetFooter.d.ts +1 -1
  349. package/side-sheet/SideSheetHeader.d.ts +1 -1
  350. package/side-sheet/SideSheetHeadline.d.ts +1 -1
  351. package/site-layout/SiteLayout.d.ts +3 -3
  352. package/skeleton/Skeleton.d.ts +1 -1
  353. package/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
  354. package/spinner/Spinner.d.ts +2 -2
  355. package/step/Step.d.ts +1 -1
  356. package/step/StepButton.d.ts +1 -1
  357. package/step/StepContent.d.ts +1 -1
  358. package/step/StepContext.d.ts +1 -1
  359. package/step/StepLabel.d.ts +1 -1
  360. package/stepper/Stepper.d.ts +1 -1
  361. package/stepper/StepperContext.d.ts +1 -1
  362. package/styles/media.d.ts +1 -1
  363. package/styles/theme.d.ts +1 -1
  364. package/surface/Surface.d.ts +2 -2
  365. package/tab/Tab.d.ts +2 -2
  366. package/tab/TabPanel.d.ts +1 -1
  367. package/tab/Tabs.d.ts +2 -2
  368. package/tab/TabsContext.d.ts +1 -1
  369. package/table/Table.d.ts +2 -2
  370. package/table/TableBody.d.ts +1 -1
  371. package/table/TableDataCell.d.ts +1 -1
  372. package/table/TableHead.d.ts +1 -1
  373. package/table/TableHeaderCell.d.ts +2 -2
  374. package/table/TableRow.d.ts +1 -1
  375. package/tooltip/Tooltip.d.ts +2 -2
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { CollapseProps } from '@kunukn/react-collapse';
3
- export declare type AccordionHeaderProps = {
3
+ export type AccordionHeaderProps = {
4
4
  /**
5
5
  * Add heading to the Accordion.
6
6
  */
@@ -35,7 +35,7 @@ export declare type AccordionHeaderProps = {
35
35
  onToggle?: () => void;
36
36
  };
37
37
  export declare const AccordionHeader: React.FunctionComponent<AccordionHeaderProps>;
38
- export declare type AccordionProps = {
38
+ export type AccordionProps = {
39
39
  /**
40
40
  * Add heading to the Accordion.
41
41
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type AccordionContentProps = {
2
+ export type AccordionContentProps = {
3
3
  /**
4
4
  * The compressed variant removes the `margin-bottom` of the Accordion.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type AccordionSmallHeaderProps = {
2
+ export type AccordionSmallHeaderProps = {
3
3
  /**
4
4
  * Add a heading to the Accordion.
5
5
  */
@@ -27,7 +27,7 @@ export declare type AccordionSmallHeaderProps = {
27
27
  onToggle?: () => void;
28
28
  };
29
29
  export declare const AccordionSmallHeader: React.FunctionComponent<AccordionSmallHeaderProps>;
30
- export declare type AccordionSmallProps = {
30
+ export type AccordionSmallProps = {
31
31
  /**
32
32
  * Add a heading to the Accordion.
33
33
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Breakpoint = 's' | 'm' | 'l';
2
+ type Breakpoint = 's' | 'm' | 'l';
3
3
  declare const AppBar: React.FC<{
4
4
  leftActions?: React.ReactNode;
5
5
  actions?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type AppBarState = {
2
+ type AppBarState = {
3
3
  drawerOpen: boolean;
4
4
  setDrawerOpen: React.Dispatch<React.SetStateAction<boolean>>;
5
5
  height: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type AppBarIconButtonProps = {
2
+ type AppBarIconButtonProps = {
3
3
  isActive?: boolean;
4
4
  ariaLabel: string;
5
5
  icon: React.ElementType;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PopperProps } from '@mui/material';
3
- export declare type AppBarItemProps = {
3
+ export type AppBarItemProps = {
4
4
  id: string;
5
5
  Icon?: React.ElementType;
6
6
  LeadingIcon?: React.ElementType;
@@ -17,7 +17,7 @@ export declare type AppBarItemProps = {
17
17
  export declare const MenuPopOverContext: React.Context<{
18
18
  handlePopoverClose: () => void;
19
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> & {
20
+ export declare const AppBarPopper: import("@emotion/styled").StyledComponent<Pick<PopperProps, "key" | "id" | "open" | "color" | "container" | "transition" | "translate" | "hidden" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "role" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "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" | "placement" | "disablePortal" | "modifiers" | "anchorEl" | "componentsProps" | "keepMounted" | "popperOptions" | "popperRef"> & React.RefAttributes<HTMLDivElement> & {
21
21
  theme?: import("@emotion/react").Theme | undefined;
22
22
  }, {}, {}>;
23
23
  export declare const AppBarItem: React.FC<AppBarItemProps & JSX.IntrinsicElements['a']>;
@@ -1,8 +1,8 @@
1
1
  import React, { ElementType, FunctionComponent, ReactNode } from 'react';
2
2
  import { Intent } from '../../common/intent';
3
- export declare type BannerVariant = 'lowEmphasis' | 'mediumEmphasis' | 'highEmphasis' | 'default' | 'inverted';
4
- export declare type BannerStickyPosition = 'top' | 'bottom' | 'bottom-right';
5
- export declare type BannerProps = {
3
+ export type BannerVariant = 'lowEmphasis' | 'mediumEmphasis' | 'highEmphasis' | 'default' | 'inverted';
4
+ export type BannerStickyPosition = 'top' | 'bottom' | 'bottom-right';
5
+ export type BannerProps = {
6
6
  /**
7
7
  * Specifies the intent of the Banner (change the color of the banner icon to match intended status)
8
8
  */
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- export declare type BannerActionVariation = 'primary' | 'secondary' | 'primary-thick' | 'secondary-thick';
2
+ export type BannerActionVariation = 'primary' | 'secondary' | 'primary-thick' | 'secondary-thick';
3
3
  export interface BannerActionProps {
4
4
  variation?: BannerActionVariation;
5
5
  onClick?: () => void;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Intent } from '../../common/intent';
3
- export declare type ToastProps = {
3
+ export type ToastProps = {
4
4
  intent?: Intent;
5
5
  className?: string;
6
6
  loading?: boolean;
@@ -1,9 +1,9 @@
1
1
  import React, { PropsWithChildren, FunctionComponent } from 'react';
2
2
  import { ToastProps } from './Toast';
3
- declare type TimeoutType = {
3
+ type TimeoutType = {
4
4
  timeout?: number;
5
5
  };
6
- declare type ToasterState = {
6
+ type ToasterState = {
7
7
  open: boolean;
8
8
  hasActive: boolean;
9
9
  toastProps: ToastProps | null;
package/badge/Badge.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Intent } from '../common/intent';
3
3
  import { FlexBoxProps } from '../flexbox/FlexBox';
4
- export declare type BadgeProps = {
4
+ export type BadgeProps = {
5
5
  /**
6
6
  * Specifies the intent of the Badge
7
7
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type BadgeIconProps = {
2
+ export type BadgeIconProps = {
3
3
  letter: string;
4
4
  className?: string;
5
5
  };
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  export declare const variations: readonly ["primary", "secondary", "outlined", "text", "danger", "link"];
3
- export declare type BaseButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['button']>;
4
- export declare type ButtonVariation = typeof variations[number];
5
- export declare type ButtonVariationProps = {
3
+ export type BaseButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['button']>;
4
+ export type ButtonVariation = typeof variations[number];
5
+ export type ButtonVariationProps = {
6
6
  variation?: ButtonVariation;
7
7
  };
8
8
  export declare const BaseButton: import("@emotion/styled").StyledComponent<{
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { BaseButtonProps, ButtonVariationProps } from './BaseButton';
3
- declare type ButtonSize = 'medium' | 'small';
4
- declare type IconAlign = 'left' | 'right';
5
- export declare type ButtonProps = BaseButtonProps & ButtonVariationProps & {
3
+ type ButtonSize = 'medium' | 'small';
4
+ type IconAlign = 'left' | 'right';
5
+ export type ButtonProps = BaseButtonProps & ButtonVariationProps & {
6
6
  className?: string;
7
7
  replace?: boolean;
8
8
  submitting?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React, { ElementType, ComponentPropsWithRef } from 'react';
2
2
  import { OverlayOptions } from '@dfds-ui/theme/states';
3
3
  import { PolymorphicComponentProps } from '../common/polymorphic';
4
- export declare type IconButtonSize = 'small' | 'medium' | 'large' | 's' | 'm' | 'l';
4
+ export type IconButtonSize = 'small' | 'medium' | 'large' | 's' | 'm' | 'l';
5
5
  export interface IconButtonProps extends PolymorphicComponentProps, ComponentPropsWithRef<'button'> {
6
6
  /**
7
7
  * Icon to be displayed on the button.
@@ -71,5 +71,5 @@ export declare const getDefaultIconButtonDimensions: (size: IconButtonSize) => {
71
71
  height: string;
72
72
  width: string;
73
73
  };
74
- declare const IconButton: React.ForwardRefExoticComponent<Pick<IconButtonProps, "type" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "ariaLabel" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "disabled" | "size" | "icon" | "tooltip" | "as" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "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" | "css" | "disableOverlay" | "disableTooltip" | "hoverColor" | "activeColor" | "focusColor" | "overlayOptions"> & React.RefAttributes<HTMLButtonElement>>;
74
+ declare const IconButton: React.ForwardRefExoticComponent<Pick<IconButtonProps, "type" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "ariaLabel" | "role" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "disabled" | "size" | "icon" | "tooltip" | "as" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "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" | "css" | "disableOverlay" | "disableTooltip" | "hoverColor" | "activeColor" | "focusColor" | "overlayOptions"> & React.RefAttributes<HTMLButtonElement>>;
75
75
  export default IconButton;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from './Button';
3
- export declare type LinkButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['a']> & ButtonProps & {
3
+ export type LinkButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['a']> & ButtonProps & {
4
4
  href?: string;
5
5
  target?: string;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- declare type Orientation = 'horizontal' | 'vertical';
3
- declare type Alignment = 'left' | 'right' | 'center';
4
- declare type ButtonStackProps = {
2
+ type Orientation = 'horizontal' | 'vertical';
3
+ type Alignment = 'left' | 'right' | 'center';
4
+ type ButtonStackProps = {
5
5
  align?: Alignment;
6
6
  orientation?: Orientation;
7
7
  className?: string;
package/card/Card.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import React, { FunctionComponent, ReactNode } from 'react';
2
2
  import { SurfaceType } from '../surface';
3
3
  export declare const CardContext: React.Context<{}>;
4
- export declare type CardContextType = {
4
+ export type CardContextType = {
5
5
  cardSize: 's' | 'm' | 'l' | 'xl';
6
6
  cardVariant: 'outline' | 'fill' | 'surface';
7
7
  };
8
- export declare type CardProps = {
8
+ export type CardProps = {
9
9
  size: 's' | 'm' | 'l' | 'xl';
10
10
  variant: 'outline' | 'fill' | 'surface';
11
11
  surface?: SurfaceType;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- export declare type CardContentProps = {
2
+ export type CardContentProps = {
3
3
  /**
4
4
  * Text color
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
- export declare type CardMediaProps = {
2
+ export type CardMediaProps = {
3
3
  /**
4
4
  * Media component to be displayed
5
5
  */
@@ -13,6 +13,6 @@ export declare type CardMediaProps = {
13
13
  */
14
14
  className?: string;
15
15
  };
16
- export declare type AspectRatio = '2:1' | '3:2';
16
+ export type AspectRatio = '2:1' | '3:2';
17
17
  declare const CardMedia: FunctionComponent<CardMediaProps>;
18
18
  export default CardMedia;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type CardPriceTagProps = {
2
+ export type CardPriceTagProps = {
3
3
  /**
4
4
  * Price for the price tag
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- export declare type CardTitleProps = {
2
+ export type CardTitleProps = {
3
3
  /**
4
4
  * Text color
5
5
  */
package/chip/Chip.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
- declare type InteractionEvent = React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>;
3
- export declare type ChipProps = {
2
+ type InteractionEvent = React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>;
3
+ export type ChipProps = {
4
4
  children: ReactNode;
5
5
  dismissable?: boolean;
6
6
  disabled?: boolean;
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { CollapseProps } from '@kunukn/react-collapse';
3
- export declare type AccordionHeaderProps = {
3
+ export type AccordionHeaderProps = {
4
4
  /**
5
5
  * Add heading to the Accordion.
6
6
  */
@@ -35,7 +35,7 @@ export declare type AccordionHeaderProps = {
35
35
  onToggle?: () => void;
36
36
  };
37
37
  export declare const AccordionHeader: React.FunctionComponent<AccordionHeaderProps>;
38
- export declare type AccordionProps = {
38
+ export type AccordionProps = {
39
39
  /**
40
40
  * Add heading to the Accordion.
41
41
  */
@@ -14,11 +14,8 @@ var _theme = require("@dfds-ui/theme");
14
14
  var _divider = require("../divider");
15
15
  var _typography = require("@dfds-ui/typography");
16
16
  var _flexbox = require("../flexbox");
17
- const _excluded = ["children", "isOpen", "header", "disabled", "heading", "secondaryHeading", "transitionDuration", "onToggle", "collapseProps", "noAnimation", "variant", "className", "type", "noSecondaryHeadingWhenOpen", "hideDivider"];
18
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
18
  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); }
20
- 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; }
21
- 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; }
22
19
  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)."; }
23
20
  var _ref = process.env.NODE_ENV === "production" ? {
24
21
  name: "82a6rk",
@@ -64,27 +61,26 @@ const AccordionHeader = ({
64
61
  }));
65
62
  };
66
63
  exports.AccordionHeader = AccordionHeader;
67
- const Accordion = _ref2 => {
68
- let children = _ref2.children,
69
- isOpen = _ref2.isOpen,
70
- header = _ref2.header,
71
- disabled = _ref2.disabled,
72
- heading = _ref2.heading,
73
- secondaryHeading = _ref2.secondaryHeading,
74
- _ref2$transitionDurat = _ref2.transitionDuration,
75
- transitionDuration = _ref2$transitionDurat === void 0 ? '260ms' : _ref2$transitionDurat,
76
- onToggle = _ref2.onToggle,
77
- _ref2$collapseProps = _ref2.collapseProps,
78
- collapseProps = _ref2$collapseProps === void 0 ? {
79
- overflowOnExpanded: true
80
- } : _ref2$collapseProps,
81
- noAnimation = _ref2.noAnimation,
82
- variant = _ref2.variant,
83
- className = _ref2.className,
84
- type = _ref2.type,
85
- noSecondaryHeadingWhenOpen = _ref2.noSecondaryHeadingWhenOpen,
86
- hideDivider = _ref2.hideDivider,
87
- rest = _objectWithoutProperties(_ref2, _excluded);
64
+ const Accordion = ({
65
+ children,
66
+ isOpen,
67
+ header,
68
+ disabled,
69
+ heading,
70
+ secondaryHeading,
71
+ transitionDuration = '260ms',
72
+ onToggle,
73
+ collapseProps = {
74
+ overflowOnExpanded: true
75
+ },
76
+ noAnimation,
77
+ variant,
78
+ className,
79
+ type,
80
+ noSecondaryHeadingWhenOpen,
81
+ hideDivider,
82
+ ...rest
83
+ }) => {
88
84
  return (0, _react2.jsx)("div", _extends({
89
85
  className: (0, _classnames.default)('accordion', {
90
86
  'accordion--is-open': isOpen,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type AccordionContentProps = {
2
+ export type AccordionContentProps = {
3
3
  /**
4
4
  * The compressed variant removes the `margin-bottom` of the Accordion.
5
5
  */
@@ -8,16 +8,14 @@ var _react = _interopRequireDefault(require("react"));
8
8
  var _react2 = require("@emotion/react");
9
9
  var _theme = require("@dfds-ui/theme");
10
10
  var _typography = require("@dfds-ui/typography");
11
- const _excluded = ["variant", "type", "children"];
12
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
12
  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); }
14
- 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; }
15
- 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; }
16
- const AccordionContent = _ref => {
17
- let variant = _ref.variant,
18
- type = _ref.type,
19
- children = _ref.children,
20
- rest = _objectWithoutProperties(_ref, _excluded);
13
+ const AccordionContent = ({
14
+ variant,
15
+ type,
16
+ children,
17
+ ...rest
18
+ }) => {
21
19
  return (0, _react2.jsx)("div", _extends({
22
20
  className: "accordion__content",
23
21
  css: /*#__PURE__*/(0, _react2.css)(_typography.typography.body, ";margin-bottom:", variant === 'default' ? _theme.theme.spacing.xs : '0', ";padding:0 ", _theme.theme.spacing.s, " ", _theme.theme.spacing.s, ";background-color:white;color:", _theme.theme.colors.text.dark.primary, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:AccordionContent;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hY2NvcmRpb24vQWNjb3JkaW9uQ29udGVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUJjIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9hY2NvcmRpb24vQWNjb3JkaW9uQ29udGVudC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IHRoZW1lIH0gZnJvbSAnQGRmZHMtdWkvdGhlbWUnXG5pbXBvcnQgeyB0eXBvZ3JhcGh5IH0gZnJvbSAnQGRmZHMtdWkvdHlwb2dyYXBoeSdcblxuZXhwb3J0IHR5cGUgQWNjb3JkaW9uQ29udGVudFByb3BzID0ge1xuICAvKipcbiAgICogVGhlIGNvbXByZXNzZWQgdmFyaWFudCByZW1vdmVzIHRoZSBgbWFyZ2luLWJvdHRvbWAgb2YgdGhlIEFjY29yZGlvbi5cbiAgICovXG4gIHZhcmlhbnQ/OiAnZGVmYXVsdCcgfCAnY29tcHJlc3NlZCdcbiAgLyoqXG4gICAqIFNwZWNpZnkgdGhlIGNvbnRlbnQgcGFkZGluZyBvZiB0aGUgQWNjb3JkaW9uLlxuICAgKi9cbiAgdHlwZT86ICdzbWFsbCcgfCAnbWVkaXVtJ1xufVxuXG5leHBvcnQgY29uc3QgQWNjb3JkaW9uQ29udGVudDogUmVhY3QuRnVuY3Rpb25Db21wb25lbnQ8QWNjb3JkaW9uQ29udGVudFByb3BzPiA9ICh7XG4gIHZhcmlhbnQsXG4gIHR5cGUsXG4gIGNoaWxkcmVuLFxuICAuLi5yZXN0XG59KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY2xhc3NOYW1lPVwiYWNjb3JkaW9uX19jb250ZW50XCJcbiAgICAgIGNzcz17Y3NzYFxuICAgICAgICAke3R5cG9ncmFwaHkuYm9keX07XG4gICAgICAgIG1hcmdpbi1ib3R0b206ICR7dmFyaWFudCA9PT0gJ2RlZmF1bHQnID8gdGhlbWUuc3BhY2luZy54cyA6ICcwJ307XG4gICAgICAgIHBhZGRpbmc6IDAgJHt0aGVtZS5zcGFjaW5nLnN9ICR7dGhlbWUuc3BhY2luZy5zfTtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XG4gICAgICAgIGNvbG9yOiAke3RoZW1lLmNvbG9ycy50ZXh0LmRhcmsucHJpbWFyeX07XG4gICAgICBgfVxuICAgICAgey4uLnJlc3R9XG4gICAgPlxuICAgICAge2NoaWxkcmVufVxuICAgIDwvZGl2PlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IEFjY29yZGlvbkNvbnRlbnRcbiJdfQ== */")
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type AccordionSmallHeaderProps = {
2
+ export type AccordionSmallHeaderProps = {
3
3
  /**
4
4
  * Add a heading to the Accordion.
5
5
  */
@@ -27,7 +27,7 @@ export declare type AccordionSmallHeaderProps = {
27
27
  onToggle?: () => void;
28
28
  };
29
29
  export declare const AccordionSmallHeader: React.FunctionComponent<AccordionSmallHeaderProps>;
30
- export declare type AccordionSmallProps = {
30
+ export type AccordionSmallProps = {
31
31
  /**
32
32
  * Add a heading to the Accordion.
33
33
  */
@@ -13,11 +13,8 @@ var _theme = require("@dfds-ui/theme");
13
13
  var _AccordionContent = _interopRequireDefault(require("./AccordionContent"));
14
14
  var _divider = require("../divider");
15
15
  var _typography = require("@dfds-ui/typography");
16
- const _excluded = ["children", "isOpen", "disabled", "heading", "transitionDuration", "onToggle", "collapseProps", "noAnimation"];
17
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
17
  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); }
19
- 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; }
20
- 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; }
21
18
  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)."; }
22
19
  const AccordionSmallHeader = ({
23
20
  heading,
@@ -52,17 +49,17 @@ var _ref = process.env.NODE_ENV === "production" ? {
52
49
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hY2NvcmRpb24vQWNjb3JkaW9uU21hbGwudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBMZ0IiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2FjY29yZGlvbi9BY2NvcmRpb25TbWFsbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBDb2xsYXBzZSBmcm9tICdAa3VudWtuL3JlYWN0LWNvbGxhcHNlJ1xuaW1wb3J0IHsgQ2hldnJvbkRvd24gfSBmcm9tICdAZGZkcy11aS9pY29ucy9zeXN0ZW0nXG5pbXBvcnQgY3ggZnJvbSAnY2xhc3NuYW1lcydcbmltcG9ydCB7IHRoZW1lIH0gZnJvbSAnQGRmZHMtdWkvdGhlbWUnXG5pbXBvcnQgQWNjb3JkaW9uQ29udGVudCBmcm9tICcuL0FjY29yZGlvbkNvbnRlbnQnXG5pbXBvcnQgeyBEaXZpZGVyIH0gZnJvbSAnLi4vZGl2aWRlcidcbmltcG9ydCB7IFRleHQgfSBmcm9tICdAZGZkcy11aS90eXBvZ3JhcGh5J1xuXG5leHBvcnQgdHlwZSBBY2NvcmRpb25TbWFsbEhlYWRlclByb3BzID0ge1xuICAvKipcbiAgICogQWRkIGEgaGVhZGluZyB0byB0aGUgQWNjb3JkaW9uLlxuICAgKi9cbiAgaGVhZGluZzogc3RyaW5nXG4gIC8qKlxuICAgKiBBZGQgYSBzZWNvbmRhcnkgaGVhZGluZyB0byB0aGUgQWNjb3JkaW9uLlxuICAgKi9cbiAgc2Vjb25kYXJ5SGVhZGluZz86IHN0cmluZ1xuICAvKipcbiAgICogU3BlY2lmeSB0aGUgZHVyYXRpb24gb2YgdGhlIHRyYW5zaXRpb24gYmV0d2VlbiBvcGVuIGFuZCBjbG9zZWQuXG4gICAqL1xuICB0cmFuc2l0aW9uRHVyYXRpb24/OiBzdHJpbmdcbiAgLyoqXG4gICAqIElmIHNldCB0byBgdHJ1ZWAgdGhlIEFjY29yZGlvbiBpcyBvcGVuLlxuICAgKi9cbiAgaXNPcGVuPzogYm9vbGVhblxuICAvKipcbiAgICogRGlzYWJsZSB0aGUgQWNjb3JkaW9uLlxuICAgKi9cbiAgZGlzYWJsZWQ/OiBib29sZWFuXG4gIC8qKlxuICAgKiBVc2UgdGhlIEFjY29yZGlvbiB3aXRob3V0IGFuaW1hdGlvbi5cbiAgICovXG4gIG5vQW5pbWF0aW9uPzogYm9vbGVhblxuICBvblRvZ2dsZT86ICgpID0+IHZvaWRcbn1cblxuZXhwb3J0IGNvbnN0IEFjY29yZGlvblNtYWxsSGVhZGVyOiBSZWFjdC5GdW5jdGlvbkNvbXBvbmVudDxBY2NvcmRpb25TbWFsbEhlYWRlclByb3BzPiA9ICh7XG4gIGhlYWRpbmcsXG4gIG9uVG9nZ2xlLFxuICBpc09wZW4sXG4gIGRpc2FibGVkLFxuICB0cmFuc2l0aW9uRHVyYXRpb24sXG4gIG5vQW5pbWF0aW9uLFxufSkgPT4ge1xuICByZXR1cm4gKFxuICAgIDxidXR0b25cbiAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgYXJpYS1leHBhbmRlZD17aXNPcGVufVxuICAgICAgb25DbGljaz17b25Ub2dnbGV9XG4gICAgICBkaXNhYmxlZD17ZGlzYWJsZWR9XG4gICAgICBjc3M9e2Nzc2BcbiAgICAgICAgdHJhbnNpdGlvbjogaGVpZ2h0ICR7dHJhbnNpdGlvbkR1cmF0aW9ufTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgIHBhZGRpbmc6ICR7dGhlbWUuc3BhY2luZy5zfTtcbiAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHt0aGVtZS5jb2xvcnMuc3VyZmFjZS5wcmltYXJ5fTtcbiAgICAgICAgY3Vyc29yOiAke2Rpc2FibGVkID8gJ25vdC1hbGxvd2VkJyA6ICdwb2ludGVyJ307XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgICY6Zm9jdXM6YWZ0ZXIge1xuICAgICAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICB0b3A6IDA7XG4gICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgIGxlZnQ6IC0ycHg7XG4gICAgICAgICAgcmlnaHQ6IC0ycHg7XG4gICAgICAgICAgYm9yZGVyOiAycHggc29saWQgJHt0aGVtZS5jb2xvcnMuc2Vjb25kYXJ5Lm1haW59O1xuICAgICAgICAgIHotaW5kZXg6IDE7XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogMnB4O1xuICAgICAgICB9XG4gICAgICAgICY6Zm9jdXM6bm90KFtkYXRhLWZvY3VzLXZpc2libGUtYWRkZWRdKTphZnRlciB7XG4gICAgICAgICAgZGlzcGxheTogbm9uZTtcbiAgICAgICAgfVxuICAgICAgICAkeyFkaXNhYmxlZCAmJlxuICAgICAgICBjc3NgXG4gICAgICAgICAgJjpob3ZlciA+IHN2ZyxcbiAgICAgICAgICAmOmhvdmVyID4gc3BhbixcbiAgICAgICAgICAmOmZvY3VzLXZpc2libGUgPiBzdmcsXG4gICAgICAgICAgJjpmb2N1cy12aXNpYmxlID4gc3BhbiB7XG4gICAgICAgICAgICB0cmFuc2l0aW9uOiAwLjFzO1xuICAgICAgICAgICAgY29sb3I6ICR7dGhlbWUuY29sb3JzLnRleHQucHJpbWFyeS5wcmltYXJ5fTtcbiAgICAgICAgICB9XG4gICAgICAgIGB9XG5cbiAgICAgICAgJHtpc09wZW4gJiZcbiAgICAgICAgIWRpc2FibGVkICYmXG4gICAgICAgIGNzc2BcbiAgICAgICAgICBzdmcge1xuICAgICAgICAgICAgY29sb3I6ICR7dGhlbWUuY29sb3JzLnNlY29uZGFyeS5tYWlufTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICAmOmhvdmVyID4gc3ZnLFxuICAgICAgICAgICY6aG92ZXIgPiBzcGFuIHtcbiAgICAgICAgICAgIHRyYW5zaXRpb246IDAuMXM7XG4gICAgICAgICAgICBjb2xvcjogJHt0aGVtZS5jb2xvcnMudGV4dC5wcmltYXJ5LnNlY29uZGFyeX07XG4gICAgICAgICAgfVxuICAgICAgICBgfVxuICAgICAgYH1cbiAgICAgIGNsYXNzTmFtZT1cImFjY29yZGlvbl9faGVhZGVyXCJcbiAgICA+XG4gICAgICA8VGV4dFxuICAgICAgICBhcz1cInNwYW5cIlxuICAgICAgICBzdHlsZWRBcz1cImFjdGlvbkJvbGRcIlxuICAgICAgICBjc3M9e2Nzc2BcbiAgICAgICAgICBjb2xvcjogJHtpc09wZW4gPyB0aGVtZS5jb2xvcnMudGV4dC5wcmltYXJ5LnByaW1hcnkgOiB0aGVtZS5jb2xvcnMudGV4dC5wcmltYXJ5LnNlY29uZGFyeX07XG5cbiAgICAgICAgICAvKiBmbGV4IDEgdG8gc3VwcG9ydCBJRSAxMSwgYXZvaWRpbmcgc3BhY2UtYmV0d2VlbiAgKi9cbiAgICAgICAgICBmbGV4OiAxO1xuICAgICAgICBgfVxuICAgICAgPlxuICAgICAgICB7aGVhZGluZ31cbiAgICAgIDwvVGV4dD5cblxuICAgICAgPENoZXZyb25Eb3duXG4gICAgICAgIGNzcz17Y3NzYFxuICAgICAgICAgIGNvbG9yOiAkeyFkaXNhYmxlZCA/IHRoZW1lLmNvbG9ycy50ZXh0LnByaW1hcnkuc2Vjb25kYXJ5IDogdGhlbWUuY29sb3JzLnRleHQucHJpbWFyeS5kaXNhYmxlZH07XG4gICAgICAgICAgd2lkdGg6ICR7dGhlbWUuc3BhY2luZy5tfTtcbiAgICAgICAgICBoZWlnaHQ6ICR7dGhlbWUuc3BhY2luZy5tfTtcbiAgICAgICAgICB0cmFuc2l0aW9uOiAke25vQW5pbWF0aW9uID8gJycgOiBgdHJhbnNmb3JtICR7dHJhbnNpdGlvbkR1cmF0aW9ufSBjdWJpYy1iZXppZXIoMCwgMSwgMCwgMSlgfTtcbiAgICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgke2lzT3BlbiA/ICcuNXR1cm4nIDogJzAnfSk7XG4gICAgICAgIGB9XG4gICAgICAvPlxuICAgIDwvYnV0dG9uPlxuICApXG59XG5cbmV4cG9ydCB0eXBlIEFjY29yZGlvblNtYWxsUHJvcHMgPSB7XG4gIC8qKlxuICAgKiBBZGQgYSBoZWFkaW5nIHRvIHRoZSBBY2NvcmRpb24uXG4gICAqL1xuICBoZWFkaW5nOiBzdHJpbmdcbiAgLyoqXG4gICAqIFNwZWNpZnkgdGhlIGR1cmF0aW9uIG9mIHRoZSB0cmFuc2l0aW9uIGJldHdlZW4gb3BlbiBhbmQgY2xvc2VkLlxuICAgKi9cbiAgdHJhbnNpdGlvbkR1cmF0aW9uPzogc3RyaW5nXG4gIC8qKlxuICAgKiBJZiBzZXQgdG8gYHRydWVgIHRoZSBBY2NvcmRpb24gaXMgb3Blbi5cbiAgICovXG4gIGlzT3Blbj86IGJvb2xlYW5cbiAgLyoqXG4gICAqIERpc2FibGUgdGhlIEFjY29yZGlvbi5cbiAgICovXG4gIGRpc2FibGVkPzogYm9vbGVhblxuICAvKipcbiAgICogVXNlIHRoZSBBY2NvcmRpb24gd2l0aG91dCBhbmltYXRpb24uXG4gICAqL1xuICBub0FuaW1hdGlvbj86IGJvb2xlYW5cbiAgb25Ub2dnbGU/OiAoKSA9PiB2b2lkXG4gIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvYmFuLXR5cGVzXG4gIGNvbGxhcHNlUHJvcHM/OiBvYmplY3Rcbn1cblxuZXhwb3J0IGNvbnN0IEFjY29yZGlvblNtYWxsOiBSZWFjdC5GdW5jdGlvbkNvbXBvbmVudDxBY2NvcmRpb25TbWFsbFByb3BzPiA9ICh7XG4gIGNoaWxkcmVuLFxuICBpc09wZW4sXG4gIGRpc2FibGVkLFxuICBoZWFkaW5nLFxuICB0cmFuc2l0aW9uRHVyYXRpb24gPSAnMjYwbXMnLFxuICBvblRvZ2dsZSxcbiAgY29sbGFwc2VQcm9wcyxcbiAgbm9BbmltYXRpb24sXG4gIC4uLnJlc3Rcbn0pID0+IHtcbiAgcmV0dXJuIChcbiAgICA8PlxuICAgICAgPGRpdiBjbGFzc05hbWU9e2N4KCdhY2NvcmRpb24tc21hbGwnLCAnanMtZm9jdXMtdmlzaWJsZScpfSB7Li4ucmVzdH0+XG4gICAgICAgIDxBY2NvcmRpb25TbWFsbEhlYWRlciB7Li4ueyBoZWFkaW5nLCBvblRvZ2dsZSwgaXNPcGVuLCBkaXNhYmxlZCwgdHJhbnNpdGlvbkR1cmF0aW9uLCBub0FuaW1hdGlvbiB9fSAvPlxuICAgICAgICA8Q29sbGFwc2VcbiAgICAgICAgICBjbGFzc05hbWU9XCJhY2NvcmRpb24tY3NzLXRyYW5zaXRpb25cIlxuICAgICAgICAgIHN0eWxlPXt7IHRyYW5zaXRpb25EdXJhdGlvbiB9fVxuICAgICAgICAgIGlzT3Blbj17aXNPcGVufVxuICAgICAgICAgIGFyaWEtaGlkZGVuPXtpc09wZW4gPyAnZmFsc2UnIDogJ3RydWUnfVxuICAgICAgICAgIG5vQW5pbT17bm9BbmltYXRpb259XG4gICAgICAgICAgey4uLmNvbGxhcHNlUHJvcHN9XG4gICAgICAgID5cbiAgICAgICAgICA8QWNjb3JkaW9uQ29udGVudCB0eXBlPVwic21hbGxcIj57Y2hpbGRyZW59PC9BY2NvcmRpb25Db250ZW50PlxuICAgICAgICA8L0NvbGxhcHNlPlxuICAgICAgPC9kaXY+XG4gICAgICA8RGl2aWRlclxuICAgICAgICBjc3M9e2Nzc2BcbiAgICAgICAgICAmOmxhc3Qtb2YtdHlwZSB7XG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgICAgICAgIH1cbiAgICAgICAgYH1cbiAgICAgIC8+XG4gICAgPC8+XG4gIClcbn1cblxuZXhwb3J0IGRlZmF1bHQgQWNjb3JkaW9uU21hbGxcbiJdfQ== */",
53
50
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
54
51
  };
55
- const AccordionSmall = _ref2 => {
56
- let children = _ref2.children,
57
- isOpen = _ref2.isOpen,
58
- disabled = _ref2.disabled,
59
- heading = _ref2.heading,
60
- _ref2$transitionDurat = _ref2.transitionDuration,
61
- transitionDuration = _ref2$transitionDurat === void 0 ? '260ms' : _ref2$transitionDurat,
62
- onToggle = _ref2.onToggle,
63
- collapseProps = _ref2.collapseProps,
64
- noAnimation = _ref2.noAnimation,
65
- rest = _objectWithoutProperties(_ref2, _excluded);
52
+ const AccordionSmall = ({
53
+ children,
54
+ isOpen,
55
+ disabled,
56
+ heading,
57
+ transitionDuration = '260ms',
58
+ onToggle,
59
+ collapseProps,
60
+ noAnimation,
61
+ ...rest
62
+ }) => {
66
63
  return (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)("div", _extends({
67
64
  className: (0, _classnames.default)('accordion-small', 'js-focus-visible')
68
65
  }, rest), (0, _react2.jsx)(AccordionSmallHeader, {
@@ -9,7 +9,7 @@ Object.keys(_Accordion).forEach(function (key) {
9
9
  if (key in exports && exports[key] === _Accordion[key]) return;
10
10
  Object.defineProperty(exports, key, {
11
11
  enumerable: true,
12
- get: function get() {
12
+ get: function () {
13
13
  return _Accordion[key];
14
14
  }
15
15
  });
@@ -20,7 +20,7 @@ Object.keys(_AccordionSmall).forEach(function (key) {
20
20
  if (key in exports && exports[key] === _AccordionSmall[key]) return;
21
21
  Object.defineProperty(exports, key, {
22
22
  enumerable: true,
23
- get: function get() {
23
+ get: function () {
24
24
  return _AccordionSmall[key];
25
25
  }
26
26
  });
@@ -31,7 +31,7 @@ Object.keys(_AccordionContent).forEach(function (key) {
31
31
  if (key in exports && exports[key] === _AccordionContent[key]) return;
32
32
  Object.defineProperty(exports, key, {
33
33
  enumerable: true,
34
- get: function get() {
34
+ get: function () {
35
35
  return _AccordionContent[key];
36
36
  }
37
37
  });
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Breakpoint = 's' | 'm' | 'l';
2
+ type Breakpoint = 's' | 'm' | 'l';
3
3
  declare const AppBar: React.FC<{
4
4
  leftActions?: React.ReactNode;
5
5
  actions?: React.ReactNode;