@dfds-ui/react-components 2.2.0-alpha.8b995955 → 2.2.0-alpha.e010e72f

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 (504) hide show
  1. package/accordion/Accordion.d.ts +2 -2
  2. package/accordion/Accordion.js +3 -3
  3. package/accordion/AccordionContent.d.ts +1 -1
  4. package/accordion/AccordionContent.js +3 -3
  5. package/accordion/AccordionSmall.d.ts +2 -2
  6. package/accordion/AccordionSmall.js +3 -3
  7. package/app-bar/AppBar.d.ts +1 -1
  8. package/app-bar/AppBar.js +8 -8
  9. package/app-bar/AppBarContext.d.ts +1 -1
  10. package/app-bar/AppBarContext.js +4 -4
  11. package/app-bar/AppBarDrawer.js +3 -3
  12. package/app-bar/AppBarIconButton.d.ts +1 -1
  13. package/app-bar/AppBarIconButton.js +3 -3
  14. package/app-bar/AppBarItem.d.ts +2 -2
  15. package/app-bar/AppBarItem.js +24 -24
  16. package/assertions/banner/Banner.d.ts +3 -3
  17. package/assertions/banner/Banner.js +8 -8
  18. package/assertions/banner/BannerAction.d.ts +1 -1
  19. package/assertions/banner/BannerAction.js +3 -3
  20. package/assertions/banner/BannerTypography.js +1 -1
  21. package/assertions/toast/Toast.d.ts +1 -1
  22. package/assertions/toast/Toast.js +3 -3
  23. package/assertions/toast/Toaster.d.ts +2 -2
  24. package/assertions/toast/Toaster.js +18 -10
  25. package/badge/Badge.d.ts +1 -1
  26. package/badge/Badge.js +3 -3
  27. package/button/BadgeIcon.d.ts +1 -1
  28. package/button/BaseButton.d.ts +3 -3
  29. package/button/Button.d.ts +3 -3
  30. package/button/Button.js +3 -3
  31. package/button/IconButton.d.ts +2 -2
  32. package/button/IconButton.js +3 -3
  33. package/button/LinkButton.d.ts +1 -1
  34. package/button/LinkButton.js +1 -1
  35. package/button-stack/ButtonStack.d.ts +3 -3
  36. package/button-stack/ButtonStack.js +4 -4
  37. package/card/Card.d.ts +2 -2
  38. package/card/Card.js +10 -10
  39. package/card/CardActions.js +3 -3
  40. package/card/CardContent.d.ts +1 -1
  41. package/card/CardContent.js +2 -2
  42. package/card/CardMedia.d.ts +2 -2
  43. package/card/CardMedia.js +2 -2
  44. package/card/CardPriceTag.d.ts +1 -1
  45. package/card/CardPriceTag.js +2 -2
  46. package/card/CardTitle.d.ts +1 -1
  47. package/card/CardTitle.js +3 -3
  48. package/chip/Chip.d.ts +2 -2
  49. package/chip/Chip.js +7 -7
  50. package/cjs/accordion/Accordion.d.ts +2 -2
  51. package/cjs/accordion/Accordion.js +26 -22
  52. package/cjs/accordion/AccordionContent.d.ts +1 -1
  53. package/cjs/accordion/AccordionContent.js +10 -8
  54. package/cjs/accordion/AccordionSmall.d.ts +2 -2
  55. package/cjs/accordion/AccordionSmall.js +16 -13
  56. package/cjs/accordion/index.js +3 -3
  57. package/cjs/app-bar/AppBar.d.ts +1 -1
  58. package/cjs/app-bar/AppBar.js +65 -45
  59. package/cjs/app-bar/AppBarContext.d.ts +1 -1
  60. package/cjs/app-bar/AppBarContext.js +15 -4
  61. package/cjs/app-bar/AppBarDrawer.js +12 -12
  62. package/cjs/app-bar/AppBarIconButton.d.ts +1 -1
  63. package/cjs/app-bar/AppBarIconButton.js +11 -8
  64. package/cjs/app-bar/AppBarItem.d.ts +2 -2
  65. package/cjs/app-bar/AppBarItem.js +33 -20
  66. package/cjs/app-bar/AppBarListItem.js +1 -1
  67. package/cjs/app-bar/index.js +9 -9
  68. package/cjs/assertions/banner/Banner.d.ts +3 -3
  69. package/cjs/assertions/banner/Banner.js +44 -25
  70. package/cjs/assertions/banner/BannerAction.d.ts +1 -1
  71. package/cjs/assertions/banner/BannerAction.js +11 -9
  72. package/cjs/assertions/banner/BannerTypography.js +2 -2
  73. package/cjs/assertions/banner/index.js +3 -3
  74. package/cjs/assertions/index.js +2 -2
  75. package/cjs/assertions/toast/Toast.d.ts +1 -1
  76. package/cjs/assertions/toast/Toast.js +15 -11
  77. package/cjs/assertions/toast/Toaster.d.ts +2 -2
  78. package/cjs/assertions/toast/Toaster.js +41 -23
  79. package/cjs/assertions/toast/index.js +5 -6
  80. package/cjs/badge/Badge.d.ts +1 -1
  81. package/cjs/badge/Badge.js +16 -11
  82. package/cjs/badge/index.js +3 -4
  83. package/cjs/button/BadgeIcon.d.ts +1 -1
  84. package/cjs/button/BadgeIcon.js +1 -1
  85. package/cjs/button/BaseButton.d.ts +3 -3
  86. package/cjs/button/BaseButton.js +1 -1
  87. package/cjs/button/Button.d.ts +3 -3
  88. package/cjs/button/Button.js +22 -15
  89. package/cjs/button/IconButton.d.ts +2 -2
  90. package/cjs/button/IconButton.js +28 -21
  91. package/cjs/button/LinkButton.d.ts +1 -1
  92. package/cjs/button/LinkButton.js +3 -4
  93. package/cjs/button/index.js +8 -9
  94. package/cjs/button-stack/ButtonStack.d.ts +3 -3
  95. package/cjs/button-stack/ButtonStack.js +14 -10
  96. package/cjs/button-stack/index.js +2 -2
  97. package/cjs/card/Card.d.ts +2 -2
  98. package/cjs/card/Card.js +38 -23
  99. package/cjs/card/CardActions.js +12 -8
  100. package/cjs/card/CardContent.d.ts +1 -1
  101. package/cjs/card/CardContent.js +15 -11
  102. package/cjs/card/CardMedia.d.ts +2 -2
  103. package/cjs/card/CardMedia.js +10 -7
  104. package/cjs/card/CardPriceTag.d.ts +1 -1
  105. package/cjs/card/CardPriceTag.js +12 -8
  106. package/cjs/card/CardTitle.d.ts +1 -1
  107. package/cjs/card/CardTitle.js +13 -11
  108. package/cjs/card/index.js +7 -7
  109. package/cjs/chip/Chip.d.ts +2 -2
  110. package/cjs/chip/Chip.js +30 -16
  111. package/cjs/chip/index.js +3 -4
  112. package/cjs/common/LockBodyScroll.d.ts +2 -2
  113. package/cjs/common/LockBodyScroll.js +10 -7
  114. package/cjs/common/arrow.d.ts +1 -1
  115. package/cjs/common/emotionCloneElement.js +8 -5
  116. package/cjs/common/intent.d.ts +1 -1
  117. package/cjs/common/polymorphic.d.ts +2 -2
  118. package/cjs/common/polymorphic.js +5 -5
  119. package/cjs/common/use-media.js +10 -1
  120. package/cjs/common/useOnClickOutside.d.ts +1 -1
  121. package/cjs/counter/Counter.d.ts +1 -1
  122. package/cjs/counter/Counter.js +15 -6
  123. package/cjs/counter/PluralCounter.d.ts +1 -1
  124. package/cjs/counter/PluralCounter.js +24 -13
  125. package/cjs/counter/index.js +3 -3
  126. package/cjs/data-table/DataTable.d.ts +1 -1
  127. package/cjs/data-table/DataTable.js +27 -17
  128. package/cjs/data-table/index.js +1 -1
  129. package/cjs/date-range-picker/DateRangePicker.js +56 -30
  130. package/cjs/date-range-picker/index.js +2 -2
  131. package/cjs/divider/Divider.d.ts +1 -1
  132. package/cjs/divider/Divider.js +11 -11
  133. package/cjs/divider/index.js +1 -1
  134. package/cjs/drawer/Drawer.d.ts +4 -4
  135. package/cjs/drawer/Drawer.js +17 -11
  136. package/cjs/drawer/index.js +1 -1
  137. package/cjs/dropdown-menu/Dropdown.d.ts +2 -2
  138. package/cjs/dropdown-menu/Dropdown.js +34 -20
  139. package/cjs/dropdown-menu/DropdownContext.d.ts +2 -2
  140. package/cjs/dropdown-menu/DropdownContext.js +1 -2
  141. package/cjs/dropdown-menu/MenuCheckbox.js +4 -5
  142. package/cjs/dropdown-menu/MenuItem.js +32 -20
  143. package/cjs/dropdown-menu/MenuTitle.js +3 -4
  144. package/cjs/dropdown-menu/index.js +7 -8
  145. package/cjs/elevation/index.d.ts +1 -1
  146. package/cjs/flexbox/FlexBox.d.ts +2 -2
  147. package/cjs/flexbox/FlexBox.js +12 -4
  148. package/cjs/flexbox/index.js +1 -1
  149. package/cjs/footer/Footer.js +1 -1
  150. package/cjs/footer/index.js +2 -2
  151. package/cjs/forms/assistive-text/AssistiveText.js +1 -1
  152. package/cjs/forms/asterisk/Asterisk.js +1 -1
  153. package/cjs/forms/checkbox/Checkbox.d.ts +4 -4
  154. package/cjs/forms/checkbox/Checkbox.js +21 -16
  155. package/cjs/forms/checkbox/ExampleControlComponent.d.ts +1 -1
  156. package/cjs/forms/checkbox/ExampleControlComponent.js +19 -8
  157. package/cjs/forms/checkbox/index.js +2 -2
  158. package/cjs/forms/email-field/EmailField.d.ts +1 -1
  159. package/cjs/forms/email-field/EmailField.js +3 -3
  160. package/cjs/forms/error-text/ErrorText.js +1 -1
  161. package/cjs/forms/field/Field.d.ts +1 -1
  162. package/cjs/forms/field/Field.js +1 -1
  163. package/cjs/forms/index.d.ts +3 -3
  164. package/cjs/forms/index.js +19 -19
  165. package/cjs/forms/input/Input.d.ts +3 -3
  166. package/cjs/forms/input/Input.js +17 -15
  167. package/cjs/forms/input/InputComposition.d.ts +7 -7
  168. package/cjs/forms/input/InputComposition.js +29 -26
  169. package/cjs/forms/label/Label.d.ts +1 -1
  170. package/cjs/forms/label/Label.js +9 -7
  171. package/cjs/forms/number-field/NumberField.d.ts +1 -1
  172. package/cjs/forms/number-field/NumberField.js +3 -3
  173. package/cjs/forms/password-field/PasswordField.d.ts +1 -1
  174. package/cjs/forms/password-field/PasswordField.js +13 -5
  175. package/cjs/forms/radio/Radio.d.ts +4 -4
  176. package/cjs/forms/radio/Radio.js +34 -29
  177. package/cjs/forms/reactselect/ReactSelect.d.ts +2 -2
  178. package/cjs/forms/reactselect/ReactSelect.js +50 -43
  179. package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
  180. package/cjs/forms/searchable-select/AsyncSearchableSelect.js +34 -30
  181. package/cjs/forms/select/Select.d.ts +4 -4
  182. package/cjs/forms/select/Select.js +14 -12
  183. package/cjs/forms/select-field/SelectField.d.ts +2 -2
  184. package/cjs/forms/select-field/SelectField.js +17 -16
  185. package/cjs/forms/switch/Switch.d.ts +2 -2
  186. package/cjs/forms/switch/Switch.js +17 -13
  187. package/cjs/forms/tel-field/TelField.d.ts +1 -1
  188. package/cjs/forms/tel-field/TelField.js +3 -3
  189. package/cjs/forms/text-field/TextField.d.ts +3 -3
  190. package/cjs/forms/text-field/TextField.js +20 -19
  191. package/cjs/global-styles/GlobalStyles.js +1 -1
  192. package/cjs/global-styles/ResetStyles.js +1 -1
  193. package/cjs/grid/Column.d.ts +1 -1
  194. package/cjs/grid/Column.js +12 -10
  195. package/cjs/grid/Container.d.ts +1 -1
  196. package/cjs/grid/Container.js +13 -11
  197. package/cjs/grid/index.js +3 -3
  198. package/cjs/hero/Hero.d.ts +1 -1
  199. package/cjs/hero/Hero.js +1 -1
  200. package/cjs/hero/index.js +2 -2
  201. package/cjs/hero/stripes.d.ts +1 -1
  202. package/cjs/hero/stripes.js +1 -1
  203. package/cjs/ie-banner/IEBanner.d.ts +1 -1
  204. package/cjs/ie-banner/IEBanner.js +19 -5
  205. package/cjs/ie-banner/index.js +2 -2
  206. package/cjs/index.js +46 -46
  207. package/cjs/layout/LayoutLegacy.js +1 -1
  208. package/cjs/lists/FeatureList.d.ts +2 -2
  209. package/cjs/lists/FeatureList.js +12 -9
  210. package/cjs/lists/ListAddon.d.ts +1 -1
  211. package/cjs/lists/ListAddon.js +11 -8
  212. package/cjs/lists/ListDivider.d.ts +1 -1
  213. package/cjs/lists/ListDivider.js +11 -8
  214. package/cjs/lists/ListIcon.d.ts +2 -2
  215. package/cjs/lists/ListIcon.js +17 -14
  216. package/cjs/lists/ListItem.d.ts +1 -1
  217. package/cjs/lists/ListItem.js +26 -17
  218. package/cjs/lists/ListText.d.ts +3 -3
  219. package/cjs/lists/ListText.js +13 -10
  220. package/cjs/lists/ListTextGroup.d.ts +1 -1
  221. package/cjs/lists/ListTextGroup.js +15 -11
  222. package/cjs/lists/ListTitle.js +9 -6
  223. package/cjs/lists/index.js +9 -9
  224. package/cjs/loader/DfdsLoader.js +3 -3
  225. package/cjs/loader/Loader.d.ts +1 -1
  226. package/cjs/loader/Loader.js +1 -1
  227. package/cjs/loader/index.js +3 -3
  228. package/cjs/localization/LocaleFlag.d.ts +1 -1
  229. package/cjs/localization/LocaleFlag.js +14 -11
  230. package/cjs/localization/index.js +2 -2
  231. package/cjs/localization/locales.d.ts +2 -2
  232. package/cjs/logo/Logo.d.ts +1 -1
  233. package/cjs/logo/Logo.js +9 -8
  234. package/cjs/logo/index.js +1 -1
  235. package/cjs/menu/Menu.d.ts +1 -1
  236. package/cjs/menu/Menu.js +22 -20
  237. package/cjs/menu/index.js +3 -4
  238. package/cjs/mobile-stepper/MobileStepper.d.ts +1 -1
  239. package/cjs/mobile-stepper/MobileStepper.js +14 -10
  240. package/cjs/mobile-stepper/index.js +2 -2
  241. package/cjs/nav-bar/NavBar.d.ts +4 -4
  242. package/cjs/nav-bar/NavBar.js +38 -27
  243. package/cjs/nav-bar/index.js +3 -4
  244. package/cjs/nav-menu/NavMenuItem.d.ts +1 -1
  245. package/cjs/nav-menu/NavMenuItem.js +1 -1
  246. package/cjs/nav-menu/index.js +2 -2
  247. package/cjs/pagination/Pagination.d.ts +2 -2
  248. package/cjs/pagination/Pagination.js +8 -9
  249. package/cjs/pagination/index.js +1 -1
  250. package/cjs/popper/Popper.d.ts +2 -2
  251. package/cjs/popper/Popper.js +27 -23
  252. package/cjs/popper/index.js +2 -2
  253. package/cjs/progress-bar/ProgressBar.d.ts +1 -1
  254. package/cjs/progress-bar/ProgressBar.js +1 -1
  255. package/cjs/progress-bar/index.js +3 -4
  256. package/cjs/schedule/ScheduleItem.d.ts +2 -2
  257. package/cjs/schedule/ScheduleItem.js +1 -1
  258. package/cjs/schedule/ScheduleList.d.ts +3 -3
  259. package/cjs/schedule/ScheduleList.js +8 -6
  260. package/cjs/schedule/index.js +3 -3
  261. package/cjs/side-sheet/SideSheet.d.ts +4 -4
  262. package/cjs/side-sheet/SideSheet.js +47 -32
  263. package/cjs/side-sheet/SideSheetCloseButton.d.ts +1 -1
  264. package/cjs/side-sheet/SideSheetCloseButton.js +15 -10
  265. package/cjs/side-sheet/SideSheetContent.d.ts +1 -1
  266. package/cjs/side-sheet/SideSheetContent.js +9 -8
  267. package/cjs/side-sheet/SideSheetFooter.d.ts +1 -1
  268. package/cjs/side-sheet/SideSheetFooter.js +9 -8
  269. package/cjs/side-sheet/SideSheetHeader.d.ts +1 -1
  270. package/cjs/side-sheet/SideSheetHeader.js +13 -11
  271. package/cjs/side-sheet/SideSheetHeadline.d.ts +1 -1
  272. package/cjs/side-sheet/SideSheetHeadline.js +1 -1
  273. package/cjs/side-sheet/index.js +6 -7
  274. package/cjs/site-layout/SiteLayout.d.ts +3 -3
  275. package/cjs/site-layout/SiteLayout.js +29 -26
  276. package/cjs/site-layout/index.js +3 -4
  277. package/cjs/skeleton/Skeleton.d.ts +1 -1
  278. package/cjs/skeleton/Skeleton.js +16 -12
  279. package/cjs/skeleton/index.js +1 -1
  280. package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
  281. package/cjs/social-media-link-list/SocialMediaLinkList.js +17 -15
  282. package/cjs/social-media-link-list/index.js +1 -1
  283. package/cjs/spinner/Spinner.d.ts +2 -2
  284. package/cjs/spinner/Spinner.js +14 -10
  285. package/cjs/spinner/index.js +1 -1
  286. package/cjs/step/Step.d.ts +1 -1
  287. package/cjs/step/Step.js +31 -24
  288. package/cjs/step/StepButton.d.ts +1 -1
  289. package/cjs/step/StepButton.js +14 -16
  290. package/cjs/step/StepContent.d.ts +1 -1
  291. package/cjs/step/StepContent.js +3 -4
  292. package/cjs/step/StepContext.d.ts +1 -1
  293. package/cjs/step/StepContext.js +1 -1
  294. package/cjs/step/StepLabel.d.ts +1 -1
  295. package/cjs/step/StepLabel.js +4 -5
  296. package/cjs/step/index.js +2 -2
  297. package/cjs/stepper/Stepper.d.ts +1 -1
  298. package/cjs/stepper/Stepper.js +24 -16
  299. package/cjs/stepper/StepperContext.d.ts +1 -1
  300. package/cjs/stepper/StepperContext.js +1 -1
  301. package/cjs/stepper/index.js +2 -2
  302. package/cjs/stepper-feedback-message/StepperFeedbackMessage.js +1 -1
  303. package/cjs/stepper-feedback-message/index.js +2 -2
  304. package/cjs/styles/index.js +6 -7
  305. package/cjs/styles/media.d.ts +1 -1
  306. package/cjs/styles/theme.d.ts +1 -1
  307. package/cjs/surface/Surface.d.ts +2 -2
  308. package/cjs/surface/Surface.js +20 -15
  309. package/cjs/surface/index.js +1 -1
  310. package/cjs/tab/Tab.d.ts +2 -2
  311. package/cjs/tab/Tab.js +16 -15
  312. package/cjs/tab/TabPanel.d.ts +1 -1
  313. package/cjs/tab/TabPanel.js +3 -4
  314. package/cjs/tab/Tabs.d.ts +2 -2
  315. package/cjs/tab/Tabs.js +39 -24
  316. package/cjs/tab/TabsContext.d.ts +1 -1
  317. package/cjs/tab/TabsContext.js +1 -2
  318. package/cjs/tab/index.js +5 -5
  319. package/cjs/table/Table.d.ts +2 -2
  320. package/cjs/table/Table.js +12 -9
  321. package/cjs/table/TableBody.d.ts +1 -1
  322. package/cjs/table/TableBody.js +8 -7
  323. package/cjs/table/TableDataCell.d.ts +1 -1
  324. package/cjs/table/TableDataCell.js +10 -8
  325. package/cjs/table/TableHead.d.ts +1 -1
  326. package/cjs/table/TableHead.js +12 -12
  327. package/cjs/table/TableHeaderCell.d.ts +2 -2
  328. package/cjs/table/TableHeaderCell.js +10 -8
  329. package/cjs/table/TableRow.d.ts +1 -1
  330. package/cjs/table/TableRow.js +14 -13
  331. package/cjs/table/index.js +6 -6
  332. package/cjs/test/Test.js +1 -1
  333. package/cjs/tooltip/Tooltip.d.ts +2 -2
  334. package/cjs/tooltip/Tooltip.js +14 -14
  335. package/cjs/tooltip/index.js +3 -4
  336. package/cjs/typography/Headlines.js +13 -10
  337. package/cjs/typography/Text.js +1 -1
  338. package/cjs/typography/index.js +2 -2
  339. package/common/LockBodyScroll.d.ts +2 -2
  340. package/common/LockBodyScroll.js +3 -3
  341. package/common/arrow.d.ts +1 -1
  342. package/common/emotionCloneElement.js +1 -1
  343. package/common/intent.d.ts +1 -1
  344. package/common/polymorphic.d.ts +2 -2
  345. package/common/polymorphic.js +2 -2
  346. package/common/use-media.js +4 -4
  347. package/common/useOnClickOutside.d.ts +1 -1
  348. package/common/utils.js +1 -1
  349. package/counter/Counter.d.ts +1 -1
  350. package/counter/Counter.js +4 -4
  351. package/counter/PluralCounter.d.ts +1 -1
  352. package/counter/PluralCounter.js +7 -7
  353. package/data-table/DataTable.d.ts +1 -1
  354. package/data-table/DataTable.js +10 -10
  355. package/date-range-picker/DateRangePicker.js +8 -8
  356. package/divider/Divider.d.ts +1 -1
  357. package/divider/Divider.js +3 -3
  358. package/drawer/Drawer.d.ts +4 -4
  359. package/drawer/Drawer.js +3 -3
  360. package/dropdown-menu/Dropdown.d.ts +2 -2
  361. package/dropdown-menu/Dropdown.js +7 -7
  362. package/dropdown-menu/DropdownContext.d.ts +2 -2
  363. package/dropdown-menu/MenuCheckbox.js +1 -1
  364. package/dropdown-menu/MenuItem.js +7 -7
  365. package/elevation/index.d.ts +1 -1
  366. package/flexbox/FlexBox.d.ts +2 -2
  367. package/flexbox/FlexBox.js +5 -5
  368. package/forms/checkbox/Checkbox.d.ts +4 -4
  369. package/forms/checkbox/Checkbox.js +3 -3
  370. package/forms/checkbox/ExampleControlComponent.d.ts +1 -1
  371. package/forms/checkbox/ExampleControlComponent.js +7 -7
  372. package/forms/email-field/EmailField.d.ts +1 -1
  373. package/forms/email-field/EmailField.js +2 -2
  374. package/forms/field/Field.d.ts +1 -1
  375. package/forms/index.d.ts +3 -3
  376. package/forms/input/Input.d.ts +3 -3
  377. package/forms/input/Input.js +3 -3
  378. package/forms/input/InputComposition.d.ts +7 -7
  379. package/forms/input/InputComposition.js +3 -3
  380. package/forms/label/Label.d.ts +1 -1
  381. package/forms/label/Label.js +2 -2
  382. package/forms/number-field/NumberField.d.ts +1 -1
  383. package/forms/number-field/NumberField.js +2 -2
  384. package/forms/password-field/PasswordField.d.ts +1 -1
  385. package/forms/password-field/PasswordField.js +5 -5
  386. package/forms/radio/Radio.d.ts +4 -4
  387. package/forms/radio/Radio.js +3 -3
  388. package/forms/reactselect/ReactSelect.d.ts +2 -2
  389. package/forms/reactselect/ReactSelect.js +4 -4
  390. package/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
  391. package/forms/searchable-select/AsyncSearchableSelect.js +3 -3
  392. package/forms/select/Select.d.ts +4 -4
  393. package/forms/select/Select.js +3 -3
  394. package/forms/select-field/SelectField.d.ts +2 -2
  395. package/forms/select-field/SelectField.js +4 -4
  396. package/forms/switch/Switch.d.ts +2 -2
  397. package/forms/switch/Switch.js +3 -3
  398. package/forms/tel-field/TelField.d.ts +1 -1
  399. package/forms/tel-field/TelField.js +2 -2
  400. package/forms/text-field/TextField.d.ts +3 -3
  401. package/forms/text-field/TextField.js +4 -4
  402. package/grid/Column.d.ts +1 -1
  403. package/grid/Column.js +3 -3
  404. package/grid/Container.d.ts +1 -1
  405. package/grid/Container.js +4 -4
  406. package/hero/Hero.d.ts +1 -1
  407. package/hero/Hero.js +1 -1
  408. package/hero/stripes.d.ts +1 -1
  409. package/ie-banner/IEBanner.d.ts +1 -1
  410. package/ie-banner/IEBanner.js +4 -4
  411. package/lists/FeatureList.d.ts +2 -2
  412. package/lists/FeatureList.js +3 -3
  413. package/lists/ListAddon.d.ts +1 -1
  414. package/lists/ListAddon.js +3 -3
  415. package/lists/ListDivider.d.ts +1 -1
  416. package/lists/ListDivider.js +3 -3
  417. package/lists/ListIcon.d.ts +2 -2
  418. package/lists/ListIcon.js +3 -3
  419. package/lists/ListItem.d.ts +1 -1
  420. package/lists/ListItem.js +3 -3
  421. package/lists/ListText.d.ts +3 -3
  422. package/lists/ListText.js +3 -3
  423. package/lists/ListTextGroup.d.ts +1 -1
  424. package/lists/ListTextGroup.js +3 -3
  425. package/lists/ListTitle.js +3 -3
  426. package/loader/DfdsLoader.js +1 -1
  427. package/loader/Loader.d.ts +1 -1
  428. package/loader/Loader.js +1 -1
  429. package/localization/LocaleFlag.d.ts +1 -1
  430. package/localization/LocaleFlag.js +3 -3
  431. package/localization/locales.d.ts +2 -2
  432. package/logo/Logo.d.ts +1 -1
  433. package/logo/Logo.js +3 -3
  434. package/menu/Menu.d.ts +1 -1
  435. package/menu/Menu.js +3 -3
  436. package/mobile-stepper/MobileStepper.d.ts +1 -1
  437. package/mobile-stepper/MobileStepper.js +8 -8
  438. package/nav-bar/NavBar.d.ts +4 -4
  439. package/nav-bar/NavBar.js +7 -7
  440. package/nav-menu/NavMenuItem.d.ts +1 -1
  441. package/package.json +10 -10
  442. package/pagination/Pagination.d.ts +2 -2
  443. package/pagination/Pagination.js +2 -2
  444. package/pagination/Pagination.styles.js +1 -1
  445. package/popper/Popper.d.ts +2 -2
  446. package/popper/Popper.js +3 -3
  447. package/progress-bar/ProgressBar.d.ts +1 -1
  448. package/schedule/ScheduleItem.d.ts +2 -2
  449. package/schedule/ScheduleList.d.ts +3 -3
  450. package/schedule/ScheduleList.js +3 -3
  451. package/side-sheet/SideSheet.d.ts +4 -4
  452. package/side-sheet/SideSheet.js +8 -8
  453. package/side-sheet/SideSheetCloseButton.d.ts +1 -1
  454. package/side-sheet/SideSheetCloseButton.js +3 -3
  455. package/side-sheet/SideSheetContent.d.ts +1 -1
  456. package/side-sheet/SideSheetContent.js +3 -3
  457. package/side-sheet/SideSheetFooter.d.ts +1 -1
  458. package/side-sheet/SideSheetFooter.js +3 -3
  459. package/side-sheet/SideSheetHeader.d.ts +1 -1
  460. package/side-sheet/SideSheetHeader.js +3 -3
  461. package/side-sheet/SideSheetHeadline.d.ts +1 -1
  462. package/site-layout/SiteLayout.d.ts +3 -3
  463. package/site-layout/SiteLayout.js +3 -3
  464. package/skeleton/Skeleton.d.ts +1 -1
  465. package/skeleton/Skeleton.js +4 -4
  466. package/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
  467. package/social-media-link-list/SocialMediaLinkList.js +3 -3
  468. package/spinner/Spinner.d.ts +2 -2
  469. package/spinner/Spinner.js +4 -4
  470. package/step/Step.d.ts +1 -1
  471. package/step/Step.js +3 -3
  472. package/step/StepButton.d.ts +1 -1
  473. package/step/StepButton.js +2 -2
  474. package/step/StepContent.d.ts +1 -1
  475. package/step/StepContext.d.ts +1 -1
  476. package/step/StepLabel.d.ts +1 -1
  477. package/stepper/Stepper.d.ts +1 -1
  478. package/stepper/Stepper.js +4 -4
  479. package/stepper/StepperContext.d.ts +1 -1
  480. package/styles/media.d.ts +1 -1
  481. package/styles/theme.d.ts +1 -1
  482. package/surface/Surface.d.ts +2 -2
  483. package/surface/Surface.js +4 -4
  484. package/tab/Tab.d.ts +2 -2
  485. package/tab/Tab.js +3 -3
  486. package/tab/TabPanel.d.ts +1 -1
  487. package/tab/Tabs.d.ts +2 -2
  488. package/tab/Tabs.js +7 -7
  489. package/tab/TabsContext.d.ts +1 -1
  490. package/table/Table.d.ts +2 -2
  491. package/table/Table.js +3 -3
  492. package/table/TableBody.d.ts +1 -1
  493. package/table/TableBody.js +3 -3
  494. package/table/TableDataCell.d.ts +1 -1
  495. package/table/TableDataCell.js +3 -3
  496. package/table/TableHead.d.ts +1 -1
  497. package/table/TableHead.js +4 -4
  498. package/table/TableHeaderCell.d.ts +2 -2
  499. package/table/TableHeaderCell.js +3 -3
  500. package/table/TableRow.d.ts +1 -1
  501. package/table/TableRow.js +4 -4
  502. package/tooltip/Tooltip.d.ts +2 -2
  503. package/tooltip/Tooltip.js +3 -3
  504. package/typography/Headlines.js +3 -3
@@ -1,20 +1,28 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  import _styled from "@emotion/styled/base";
3
- 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); }
4
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) { if (n.call(e, o)) return next.value = e[o], next.done = !1, next; } return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) { r.push(n); } return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) { "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); } }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
5
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
6
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
4
+ function _regeneratorRuntime() { "use strict"; var r = _regenerator(), e = r.m(_regeneratorRuntime), t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor; function n(r) { var e = "function" == typeof r && r.constructor; return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name)); } var o = { "throw": 1, "return": 2, "break": 3, "continue": 3 }; function a(r) { var e, t; return function (n) { e || (e = { stop: function stop() { return t(n.a, 2); }, "catch": function _catch() { return n.v; }, abrupt: function abrupt(r, e) { return t(n.a, o[r], e); }, delegateYield: function delegateYield(r, o, a) { return e.resultName = o, t(n.d, _regeneratorValues(r), a); }, finish: function finish(r) { return t(n.f, r); } }, t = function t(r, _t, o) { n.p = e.prev, n.n = e.next; try { return r(_t, o); } finally { e.next = n.n; } }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n; try { return r.call(this, e); } finally { n.p = e.prev, n.n = e.next; } }; } return (_regeneratorRuntime = function _regeneratorRuntime() { return { wrap: function wrap(e, t, n, o) { return r.w(a(e), t, n, o && o.reverse()); }, isGeneratorFunction: n, mark: r.m, awrap: function awrap(r, e) { return new _OverloadYield(r, e); }, AsyncIterator: _regeneratorAsyncIterator, async: function async(r, e, t, o, u) { return (n(e) ? _regeneratorAsyncGen : _regeneratorAsync)(a(r), e, t, o, u); }, keys: _regeneratorKeys, values: _regeneratorValues }; })(); }
5
+ function _regeneratorValues(e) { if (null != e) { var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], r = 0; if (t) return t.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) return { next: function next() { return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e }; } }; } throw new TypeError(_typeof(e) + " is not iterable"); }
6
+ function _regeneratorKeys(e) { var n = Object(e), r = []; for (var t in n) { r.unshift(t); } return function e() { for (; r.length;) { if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; } return e.done = !0, e; }; }
7
+ function _regeneratorAsync(n, e, r, t, o) { var a = _regeneratorAsyncGen(n, e, r, t, o); return a.next().then(function (n) { return n.done ? n.value : a.next(); }); }
8
+ function _regeneratorAsyncGen(r, e, t, o, n) { return new _regeneratorAsyncIterator(_regenerator().w(r, e, t, o), n || Promise); }
9
+ function _regeneratorAsyncIterator(t, e) { function n(r, o, i, f) { try { var c = t[r](o), u = c.value; return u instanceof _OverloadYield ? e.resolve(u.v).then(function (t) { n("next", t, i, f); }, function (t) { n("throw", t, i, f); }) : e.resolve(u).then(function (t) { c.value = t, i(c); }, function (t) { return n("throw", t, i, f); }); } catch (t) { f(t); } } var r; this.next || (_regeneratorDefine2(_regeneratorAsyncIterator.prototype), _regeneratorDefine2(_regeneratorAsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () { return this; })), _regeneratorDefine2(this, "_invoke", function (t, o, i) { function f() { return new e(function (e, r) { n(t, i, e, r); }); } return r = r ? r.then(f, f) : f(); }, !0); }
10
+ function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
11
+ function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
12
+ function _OverloadYield(e, d) { this.v = e, this.k = d; }
13
+ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
14
+ function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
7
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
16
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
10
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
11
19
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
20
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
13
21
  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."); }
14
- 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); }
15
- 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; }
22
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
23
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
16
24
  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; } }
17
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
25
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
18
26
  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)."; }
19
27
  import React, { useEffect, useReducer, useCallback, useRef, useContext, createContext } from 'react';
20
28
  import { Toast } from '.';
@@ -102,7 +110,7 @@ var Toaster = function Toaster(_ref) {
102
110
  });
103
111
  };
104
112
  var handleOnOpen = /*#__PURE__*/function () {
105
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(payload) {
113
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(payload) {
106
114
  return _regeneratorRuntime().wrap(function _callee$(_context) {
107
115
  while (1) {
108
116
  switch (_context.prev = _context.next) {
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 type BadgeProps = {
4
+ export declare type BadgeProps = {
5
5
  /**
6
6
  * Specifies the intent of the Badge
7
7
  */
package/badge/Badge.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["as", "children", "intent", "flexBoxProps"];
2
- 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); }
3
- 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; }
4
- 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
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
5
5
  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)."; }
6
6
  import React from 'react';
7
7
  import { css } from '@emotion/react';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export type BadgeIconProps = {
2
+ export declare 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 type BaseButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['button']>;
4
- export type ButtonVariation = typeof variations[number];
5
- export type ButtonVariationProps = {
3
+ export declare type BaseButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['button']>;
4
+ export declare type ButtonVariation = typeof variations[number];
5
+ export declare 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
- type ButtonSize = 'medium' | 'small';
4
- type IconAlign = 'left' | 'right';
5
- export type ButtonProps = BaseButtonProps & ButtonVariationProps & {
3
+ declare type ButtonSize = 'medium' | 'small';
4
+ declare type IconAlign = 'left' | 'right';
5
+ export declare type ButtonProps = BaseButtonProps & ButtonVariationProps & {
6
6
  className?: string;
7
7
  replace?: boolean;
8
8
  submitting?: boolean;
package/button/Button.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["variation", "children", "submitting", "size", "icon", "iconSpacing", "iconAlign", "iconColor", "title", "disabled"];
3
- 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); }
4
- 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; }
5
- 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
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
4
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
5
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
6
6
  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)."; }
7
7
  import React from 'react';
8
8
  import { primaryButtonStyles, secondaryButtonStyles, outlinedButtonStyles, textButtonStyles, dangerButtonStyles, linkButtonStyles } from './button-style';
@@ -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 type IconButtonSize = 'small' | 'medium' | 'large' | 's' | 'm' | 'l';
4
+ export declare 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" | "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>>;
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>>;
75
75
  export default IconButton;
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["type", "tooltip", "title", "size", "icon", "disableTooltip", "disableOverlay", "disabled", "color", "hoverColor", "focusColor", "activeColor", "overlayOptions", "as", "ariaLabel"];
2
- 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); }
3
- 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; }
4
- 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
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
5
5
  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)."; }
6
6
  import React, { forwardRef } from 'react';
7
7
  import { css } from '@emotion/react';
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from './Button';
3
- export type LinkButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['a']> & ButtonProps & {
3
+ export declare type LinkButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['a']> & ButtonProps & {
4
4
  href?: string;
5
5
  target?: string;
6
6
  };
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
2
2
  import * as React from 'react';
3
3
  import Button from './Button';
4
4
  import { theme } from '@dfds-ui/theme';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- type Orientation = 'horizontal' | 'vertical';
3
- type Alignment = 'left' | 'right' | 'center';
4
- type ButtonStackProps = {
2
+ declare type Orientation = 'horizontal' | 'vertical';
3
+ declare type Alignment = 'left' | 'right' | 'center';
4
+ declare type ButtonStackProps = {
5
5
  align?: Alignment;
6
6
  orientation?: Orientation;
7
7
  className?: string;
@@ -1,9 +1,9 @@
1
1
  var _excluded = ["align", "orientation", "reverse", "className", "children"];
2
2
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
3
- 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); }
4
- 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; }
5
- 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; }
6
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
4
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
5
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
6
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
7
7
  import React from 'react';
8
8
  import { css } from '@emotion/react';
9
9
  import emotionCloneElement from '../common/emotionCloneElement';
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 type CardContextType = {
4
+ export declare type CardContextType = {
5
5
  cardSize: 's' | 'm' | 'l' | 'xl';
6
6
  cardVariant: 'outline' | 'fill' | 'surface';
7
7
  };
8
- export type CardProps = {
8
+ export declare type CardProps = {
9
9
  size: 's' | 'm' | 'l' | 'xl';
10
10
  variant: 'outline' | 'fill' | 'surface';
11
11
  surface?: SurfaceType;
package/card/Card.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["children", "media", "variant", "size", "ratio", "className", "surface"];
3
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
4
- 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); }
5
- 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; }
6
- 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; }
7
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0;
4
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
5
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
6
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
7
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
8
8
  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."); }
9
- 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); }
10
- 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 _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
10
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
11
11
  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; } }
12
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
12
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
13
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
14
14
  /* eslint-disable @typescript-eslint/no-unsafe-call */
15
15
  /* eslint-disable @typescript-eslint/no-unsafe-assignment */
16
16
  import React, { useState } from 'react';
@@ -79,7 +79,7 @@ var MediaContent = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "product
79
79
  }, " ", function (props /* outline xl cards and greater than medium */) {
80
80
  return props.variant === 'outline' && props.size === 'xl' && !props.reverse && media.greaterThan('l')(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n padding: ", " 0px ", " ", ";\n "])), theme.spacing.s, theme.spacing.s, theme.spacing.s);
81
81
  }, " ", function (props /* outline xl cards with reverse and greater than medium */) {
82
- return props.variant === 'outline' && props.size === 'xl' && props.reverse && media.greaterThan('l')(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n padding: ", " ", " ", " 0px;\n "])), theme.spacing.s, theme.spacing.s, theme.spacing.s);
82
+ return props.variant === 'outline' && props.size === 'xl' && props.reverse && media.greaterThan('l')(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n padding: ", " ", " ", " 0px;\n "])), theme.spacing.s, theme.spacing.s, theme.spacing.s);
83
83
  }, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jYXJkL0NhcmQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1KMEMiLCJmaWxlIjoiLi4vLi4vc3JjL2NhcmQvQ2FyZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tdW5zYWZlLWNhbGwgKi9cbi8qIGVzbGludC1kaXNhYmxlIEB0eXBlc2NyaXB0LWVzbGludC9uby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uICAgICAgICA+XG4gICAgICAgICAge21lZGlhICYmIChcbiAgICAgICAgICAgIDxNZWRpYUNvbnRhaW5lciByYXRpbz17bWVkaWFSYXRpbyAvIChtZWRpYVJhdGlvICsgY29udGVudFJhdGlvKX0+XG4gICAgICAgICAgICAgIDxNZWRpYUNvbnRlbnQgc2l6ZT17c2l6ZX0gdmFyaWFudD17dmFyaWFudH0gY2xhc3NOYW1lPVwiTWVkaWFDb250ZW50XCIgey4uLnJlc3R9PlxuICAgICAgICAgICAgICAgIHttZWRpYX1cbiAgICAgICAgICAgICAgPC9NZWRpYUNvbnRlbnQ+XG4gICAgICAgICAgICA8L01lZGlhQ29udGFpbmVyPlxuICAgICAgICAgICl9XG4gICAgICAgICAge2NoaWxkcmVuICYmIChcbiAgICAgICAgICAgIDxDYXJkQ29udGVudFxuICAgICAgICAgICAgICBjbGFzc05hbWU9XCJDYXJkQ29udGVudFwiXG4gICAgICAgICAgICAgIHZhcmlhbnQ9e3ZhcmlhbnR9XG4gICAgICAgICAgICAgIHNpemU9e3NpemV9XG4gICAgICAgICAgICAgIHdpZHRoPXt3aWR0aH1cbiAgICAgICAgICAgICAgcmV2ZXJzZT17cmVzdC5yZXZlcnNlID09IHRydWV9XG4gICAgICAgICAgICAgIHJhdGlvPXtjb250ZW50UmF0aW8gLyAobWVkaWFSYXRpbyArIGNvbnRlbnRSYXRpbyl9XG4gICAgICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICB7Y2hpbGRyZW59XG4gICAgICAgICAgICA8L0NhcmRDb250ZW50PlxuICAgICAgICAgICl9XG4gICAgICAgIDwvQ2FyZENvbnRhaW5lcj5cbiAgICAgIDwvTWF5YmVTdXJmYWNlUHJvdmlkZXI+XG4gICAgPC9DYXJkQ29udGV4dC5Qcm92aWRlcj5cbiAgKVxufVxuXG5leHBvcnQgZGVmYXVsdCBDYXJkXG4iXX0= */"));
84
84
  var Card = function Card(_ref) {
85
85
  var children = _ref.children,
@@ -1,8 +1,8 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["children"];
3
- 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); }
4
- 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; }
5
- 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
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
4
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
5
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
6
6
  import React from 'react';
7
7
  import { FlexBox } from '../flexbox';
8
8
  import { theme } from '@dfds-ui/theme';
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- export type CardContentProps = {
2
+ export declare type CardContentProps = {
3
3
  /**
4
4
  * Text color
5
5
  */
@@ -1,7 +1,7 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["children", "color"];
3
- 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; }
4
- 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
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
5
5
  import React from 'react';
6
6
  import { theme } from '@dfds-ui/theme';
7
7
  import { Text } from '@dfds-ui/typography';
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
- export type CardMediaProps = {
2
+ export declare type CardMediaProps = {
3
3
  /**
4
4
  * Media component to be displayed
5
5
  */
@@ -13,6 +13,6 @@ export type CardMediaProps = {
13
13
  */
14
14
  className?: string;
15
15
  };
16
- export type AspectRatio = '2:1' | '3:2';
16
+ export declare type AspectRatio = '2:1' | '3:2';
17
17
  declare const CardMedia: FunctionComponent<CardMediaProps>;
18
18
  export default CardMedia;
package/card/CardMedia.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["children", "media", "aspectRatio"];
3
- 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; }
4
- 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
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
5
5
  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)."; }
6
6
  import React from 'react';
7
7
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export type CardPriceTagProps = {
2
+ export declare type CardPriceTagProps = {
3
3
  /**
4
4
  * Price for the price tag
5
5
  */
@@ -1,7 +1,7 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["price", "topText", "bottomText", "currency"];
3
- 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; }
4
- 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
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
5
5
  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)."; }
6
6
  import React from 'react';
7
7
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- export type CardTitleProps = {
2
+ export declare type CardTitleProps = {
3
3
  /**
4
4
  * Text color
5
5
  */
package/card/CardTitle.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { css as _css } from "@emotion/react";
2
2
  var _excluded = ["children", "color", "largeTitle"];
3
- 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); }
4
- 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; }
5
- 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
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
4
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
5
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
6
6
  import React from 'react';
7
7
  import { Text } from '@dfds-ui/typography';
8
8
  import { theme, useBreakpoint } from '@dfds-ui/theme';
package/chip/Chip.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
- type InteractionEvent = React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>;
3
- export type ChipProps = {
2
+ declare type InteractionEvent = React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>;
3
+ export declare type ChipProps = {
4
4
  children: ReactNode;
5
5
  dismissable?: boolean;
6
6
  disabled?: boolean;
package/chip/Chip.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["children", "dismissable", "disabled", "selectable", "selected", "onToggle", "onDismiss", "className"];
3
- 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); }
4
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
4
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _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
- 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; }
6
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
7
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
8
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
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
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
- 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; }
9
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
10
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
11
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
12
12
  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)."; }
13
13
  import React, { useState } from 'react';
14
14
  import { css } from '@emotion/react';