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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +9 -17
  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 +22 -26
  52. package/cjs/accordion/AccordionContent.d.ts +1 -1
  53. package/cjs/accordion/AccordionContent.js +8 -10
  54. package/cjs/accordion/AccordionSmall.d.ts +2 -2
  55. package/cjs/accordion/AccordionSmall.js +13 -16
  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 +45 -65
  59. package/cjs/app-bar/AppBarContext.d.ts +1 -1
  60. package/cjs/app-bar/AppBarContext.js +4 -15
  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 +8 -11
  64. package/cjs/app-bar/AppBarItem.d.ts +2 -2
  65. package/cjs/app-bar/AppBarItem.js +20 -33
  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 +25 -44
  70. package/cjs/assertions/banner/BannerAction.d.ts +1 -1
  71. package/cjs/assertions/banner/BannerAction.js +9 -11
  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 +11 -15
  77. package/cjs/assertions/toast/Toaster.d.ts +2 -2
  78. package/cjs/assertions/toast/Toaster.js +23 -41
  79. package/cjs/assertions/toast/index.js +6 -5
  80. package/cjs/badge/Badge.d.ts +1 -1
  81. package/cjs/badge/Badge.js +11 -16
  82. package/cjs/badge/index.js +4 -3
  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 +15 -22
  89. package/cjs/button/IconButton.d.ts +2 -2
  90. package/cjs/button/IconButton.js +21 -28
  91. package/cjs/button/LinkButton.d.ts +1 -1
  92. package/cjs/button/LinkButton.js +4 -3
  93. package/cjs/button/index.js +9 -8
  94. package/cjs/button-stack/ButtonStack.d.ts +3 -3
  95. package/cjs/button-stack/ButtonStack.js +10 -14
  96. package/cjs/button-stack/index.js +2 -2
  97. package/cjs/card/Card.d.ts +2 -2
  98. package/cjs/card/Card.js +23 -38
  99. package/cjs/card/CardActions.js +8 -12
  100. package/cjs/card/CardContent.d.ts +1 -1
  101. package/cjs/card/CardContent.js +11 -15
  102. package/cjs/card/CardMedia.d.ts +2 -2
  103. package/cjs/card/CardMedia.js +7 -10
  104. package/cjs/card/CardPriceTag.d.ts +1 -1
  105. package/cjs/card/CardPriceTag.js +8 -12
  106. package/cjs/card/CardTitle.d.ts +1 -1
  107. package/cjs/card/CardTitle.js +11 -13
  108. package/cjs/card/index.js +7 -7
  109. package/cjs/chip/Chip.d.ts +2 -2
  110. package/cjs/chip/Chip.js +16 -30
  111. package/cjs/chip/index.js +4 -3
  112. package/cjs/common/LockBodyScroll.d.ts +2 -2
  113. package/cjs/common/LockBodyScroll.js +7 -10
  114. package/cjs/common/arrow.d.ts +1 -1
  115. package/cjs/common/emotionCloneElement.js +5 -8
  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 +1 -10
  120. package/cjs/common/useOnClickOutside.d.ts +1 -1
  121. package/cjs/counter/Counter.d.ts +1 -1
  122. package/cjs/counter/Counter.js +6 -15
  123. package/cjs/counter/PluralCounter.d.ts +1 -1
  124. package/cjs/counter/PluralCounter.js +13 -24
  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 +17 -27
  128. package/cjs/data-table/index.js +1 -1
  129. package/cjs/date-range-picker/DateRangePicker.js +30 -56
  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 +11 -17
  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 +20 -34
  139. package/cjs/dropdown-menu/DropdownContext.d.ts +2 -2
  140. package/cjs/dropdown-menu/DropdownContext.js +2 -1
  141. package/cjs/dropdown-menu/MenuCheckbox.js +5 -4
  142. package/cjs/dropdown-menu/MenuItem.js +20 -32
  143. package/cjs/dropdown-menu/MenuTitle.js +4 -3
  144. package/cjs/dropdown-menu/index.js +8 -7
  145. package/cjs/elevation/index.d.ts +1 -1
  146. package/cjs/flexbox/FlexBox.d.ts +2 -2
  147. package/cjs/flexbox/FlexBox.js +4 -12
  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 +16 -21
  155. package/cjs/forms/checkbox/ExampleControlComponent.d.ts +1 -1
  156. package/cjs/forms/checkbox/ExampleControlComponent.js +8 -19
  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 +2 -2
  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 +15 -17
  167. package/cjs/forms/input/InputComposition.d.ts +7 -7
  168. package/cjs/forms/input/InputComposition.js +26 -29
  169. package/cjs/forms/label/Label.d.ts +1 -1
  170. package/cjs/forms/label/Label.js +7 -9
  171. package/cjs/forms/number-field/NumberField.d.ts +1 -1
  172. package/cjs/forms/number-field/NumberField.js +2 -2
  173. package/cjs/forms/password-field/PasswordField.d.ts +1 -1
  174. package/cjs/forms/password-field/PasswordField.js +5 -13
  175. package/cjs/forms/radio/Radio.d.ts +4 -4
  176. package/cjs/forms/radio/Radio.js +29 -34
  177. package/cjs/forms/reactselect/ReactSelect.d.ts +2 -2
  178. package/cjs/forms/reactselect/ReactSelect.js +43 -50
  179. package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
  180. package/cjs/forms/searchable-select/AsyncSearchableSelect.js +30 -34
  181. package/cjs/forms/select/Select.d.ts +4 -4
  182. package/cjs/forms/select/Select.js +12 -14
  183. package/cjs/forms/select-field/SelectField.d.ts +2 -2
  184. package/cjs/forms/select-field/SelectField.js +15 -16
  185. package/cjs/forms/switch/Switch.d.ts +2 -2
  186. package/cjs/forms/switch/Switch.js +13 -17
  187. package/cjs/forms/tel-field/TelField.d.ts +1 -1
  188. package/cjs/forms/tel-field/TelField.js +2 -2
  189. package/cjs/forms/text-field/TextField.d.ts +3 -3
  190. package/cjs/forms/text-field/TextField.js +18 -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 +10 -12
  195. package/cjs/grid/Container.d.ts +1 -1
  196. package/cjs/grid/Container.js +11 -13
  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 +5 -19
  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 +9 -12
  210. package/cjs/lists/ListAddon.d.ts +1 -1
  211. package/cjs/lists/ListAddon.js +8 -11
  212. package/cjs/lists/ListDivider.d.ts +1 -1
  213. package/cjs/lists/ListDivider.js +8 -11
  214. package/cjs/lists/ListIcon.d.ts +2 -2
  215. package/cjs/lists/ListIcon.js +14 -17
  216. package/cjs/lists/ListItem.d.ts +1 -1
  217. package/cjs/lists/ListItem.js +17 -26
  218. package/cjs/lists/ListText.d.ts +3 -3
  219. package/cjs/lists/ListText.js +10 -13
  220. package/cjs/lists/ListTextGroup.d.ts +1 -1
  221. package/cjs/lists/ListTextGroup.js +11 -15
  222. package/cjs/lists/ListTitle.js +6 -9
  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 +11 -14
  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 +8 -9
  234. package/cjs/logo/index.js +1 -1
  235. package/cjs/menu/Menu.d.ts +1 -1
  236. package/cjs/menu/Menu.js +20 -22
  237. package/cjs/menu/index.js +4 -3
  238. package/cjs/mobile-stepper/MobileStepper.d.ts +1 -1
  239. package/cjs/mobile-stepper/MobileStepper.js +10 -14
  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 +27 -38
  243. package/cjs/nav-bar/index.js +4 -3
  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 +9 -8
  249. package/cjs/pagination/index.js +1 -1
  250. package/cjs/popper/Popper.d.ts +2 -2
  251. package/cjs/popper/Popper.js +23 -27
  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 +4 -3
  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 +6 -8
  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 +32 -47
  263. package/cjs/side-sheet/SideSheetCloseButton.d.ts +1 -1
  264. package/cjs/side-sheet/SideSheetCloseButton.js +10 -15
  265. package/cjs/side-sheet/SideSheetContent.d.ts +1 -1
  266. package/cjs/side-sheet/SideSheetContent.js +8 -9
  267. package/cjs/side-sheet/SideSheetFooter.d.ts +1 -1
  268. package/cjs/side-sheet/SideSheetFooter.js +8 -9
  269. package/cjs/side-sheet/SideSheetHeader.d.ts +1 -1
  270. package/cjs/side-sheet/SideSheetHeader.js +11 -13
  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 +7 -6
  274. package/cjs/site-layout/SiteLayout.d.ts +3 -3
  275. package/cjs/site-layout/SiteLayout.js +26 -29
  276. package/cjs/site-layout/index.js +4 -3
  277. package/cjs/skeleton/Skeleton.d.ts +1 -1
  278. package/cjs/skeleton/Skeleton.js +12 -16
  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 +15 -17
  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 +10 -14
  285. package/cjs/spinner/index.js +1 -1
  286. package/cjs/step/Step.d.ts +1 -1
  287. package/cjs/step/Step.js +24 -31
  288. package/cjs/step/StepButton.d.ts +1 -1
  289. package/cjs/step/StepButton.js +16 -14
  290. package/cjs/step/StepContent.d.ts +1 -1
  291. package/cjs/step/StepContent.js +4 -3
  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 +5 -4
  296. package/cjs/step/index.js +2 -2
  297. package/cjs/stepper/Stepper.d.ts +1 -1
  298. package/cjs/stepper/Stepper.js +16 -24
  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 +7 -6
  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 +15 -20
  309. package/cjs/surface/index.js +1 -1
  310. package/cjs/tab/Tab.d.ts +2 -2
  311. package/cjs/tab/Tab.js +15 -16
  312. package/cjs/tab/TabPanel.d.ts +1 -1
  313. package/cjs/tab/TabPanel.js +4 -3
  314. package/cjs/tab/Tabs.d.ts +2 -2
  315. package/cjs/tab/Tabs.js +24 -39
  316. package/cjs/tab/TabsContext.d.ts +1 -1
  317. package/cjs/tab/TabsContext.js +2 -1
  318. package/cjs/tab/index.js +5 -5
  319. package/cjs/table/Table.d.ts +2 -2
  320. package/cjs/table/Table.js +9 -12
  321. package/cjs/table/TableBody.d.ts +1 -1
  322. package/cjs/table/TableBody.js +7 -8
  323. package/cjs/table/TableDataCell.d.ts +1 -1
  324. package/cjs/table/TableDataCell.js +8 -10
  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 +8 -10
  329. package/cjs/table/TableRow.d.ts +1 -1
  330. package/cjs/table/TableRow.js +13 -14
  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 +4 -3
  336. package/cjs/typography/Headlines.js +10 -13
  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 +1 -1
  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 +1 -1
  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 +3 -3
  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 +1 -1
  400. package/forms/text-field/TextField.d.ts +3 -3
  401. package/forms/text-field/TextField.js +3 -3
  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,7 +1,7 @@
1
1
  var _excluded = ["enabled", "children"];
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; }
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; }
5
5
  import React from 'react';
6
6
  import { Global, css } from '@emotion/react';
7
7
  import { jsx as ___EmotionJSX } from "@emotion/react";
package/common/arrow.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare type ArrowPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
1
+ export type ArrowPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
2
2
  /**
3
3
  * Create css for an arrow
4
4
  * A <div> tag must surround {children} to work
@@ -1,7 +1,7 @@
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
  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; }
3
3
  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; }
4
- 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; }
4
+ 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; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
6
  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); }
7
7
  import { jsx } from '@emotion/react';
@@ -1,3 +1,3 @@
1
- export declare type Intent = 'info' | 'critical' | 'success' | 'warning' | 'none';
1
+ export type Intent = 'info' | 'critical' | 'success' | 'warning' | 'none';
2
2
  export declare function getIntentColor(intent?: Intent, muted?: boolean): string;
3
3
  export declare function getIntentTextColor(intent: Intent): string;
@@ -1,8 +1,8 @@
1
1
  import { ComponentType, ElementType } from 'react';
2
- export declare type RenderContainerProps<T> = {
2
+ export type RenderContainerProps<T> = {
3
3
  renderContainer: (props: T) => JSX.Element;
4
4
  };
5
- export declare type PolymorphicComponentProps = {
5
+ export type PolymorphicComponentProps = {
6
6
  /**
7
7
  * HTML tag or custom component being rendered.
8
8
  */
@@ -1,5 +1,5 @@
1
- function _objectDestructuringEmpty(t) { if (null == t) throw new TypeError("Cannot destructure " + t); }
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); }
1
+ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
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
3
  import React from 'react';
4
4
 
5
5
  // TODO: Move this to future core package
@@ -1,9 +1,9 @@
1
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- 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; } }
4
- 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; }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
5
5
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import { useEffect, useState } from 'react';
8
8
  // from https://github.com/gragland/usehooks
9
9
 
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- declare type Handler = (...args: any[]) => void;
2
+ type Handler = (...args: any[]) => void;
3
3
  export default function useOnClickOutside(ref: React.RefObject<HTMLElement>, handler: Handler | null): void;
4
4
  export {};
package/common/utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  var _templateObject;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
3
  import { css } from '@emotion/react';
4
4
  export function ie11MinHeightFix(minHeight) {
5
5
  if (typeof minHeight === 'undefined') {
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- export declare type CounterProps = {
2
+ export type CounterProps = {
3
3
  label?: ReactNode | string;
4
4
  /**
5
5
  * Minimum value
@@ -1,10 +1,10 @@
1
1
  import _styled from "@emotion/styled/base";
2
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
3
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
- 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; } }
5
- 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; }
4
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6
6
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
7
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
8
  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)."; }
9
9
  import React, { useState, forwardRef } from 'react';
10
10
  import { NumberDown, NumberUp } from '@dfds-ui/icons/system';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type PluralCounterProps = {
2
+ type PluralCounterProps = {
3
3
  minVal: number;
4
4
  maxVal: number;
5
5
  currentVal?: number;
@@ -1,14 +1,14 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["singularLabel", "pluralLabel", "executeOnChange"];
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(); }
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(); }
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(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; }
6
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8
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(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; }
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; }
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, forwardRef } from 'react';
14
14
  import Counter from './Counter';
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- export declare type DataTableProps = {
2
+ export type DataTableProps = {
3
3
  onChange?: (model: object[]) => object[];
4
4
  columns?: string[];
5
5
  data: object[];
@@ -1,17 +1,17 @@
1
1
  var _excluded = ["children", "onChange", "columns", "data", "hasHeader"];
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 _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
- 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; }
8
- 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; }
9
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
8
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
10
10
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
11
- 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; } }
12
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
13
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
14
- 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
+ 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); }
12
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
13
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
14
+ 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; }
15
15
  /* eslint-disable @typescript-eslint/ban-types */
16
16
  import React, { useReducer } from 'react';
17
17
  import { css } from '@emotion/react';
@@ -1,11 +1,11 @@
1
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
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 _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
1
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
- 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; } }
6
- 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; }
5
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
7
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
8
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  /* eslint-disable deprecation/deprecation */
10
10
  /* eslint-disable @typescript-eslint/restrict-plus-operands */
11
11
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
@@ -297,8 +297,8 @@ function buildMap(dates) {
297
297
  _step;
298
298
  try {
299
299
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
300
- var d = _step.value;
301
- map[d] = 1;
300
+ var _d = _step.value;
301
+ map[_d] = 1;
302
302
  }
303
303
  } catch (err) {
304
304
  _iterator.e(err);
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type DividerProps = {
2
+ export type DividerProps = {
3
3
  /**
4
4
  * Display the Divider in "light" mode.
5
5
  */
@@ -1,8 +1,8 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["light", "indent", "margins"];
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; }
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
6
  import React from 'react';
7
7
  import { css } from '@emotion/react';
8
8
  import { theme } from '@dfds-ui/theme';
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { theme } from '@dfds-ui/theme';
3
- declare type HorizontalPosition = 'left' | 'right';
4
- declare type VerticalPosition = 'top' | 'bottom';
5
- declare type Elevation = keyof typeof theme.elevation;
6
- export declare type DrawerProps = {
3
+ type HorizontalPosition = 'left' | 'right';
4
+ type VerticalPosition = 'top' | 'bottom';
5
+ type Elevation = keyof typeof theme.elevation;
6
+ export type DrawerProps = {
7
7
  /**
8
8
  * Horizontal position of the drawer
9
9
  */
package/drawer/Drawer.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["className", "children", "position", "verticalPosition", "showArrow", "elevation"];
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; }
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; }
5
5
  import React from 'react';
6
6
  import { css } from '@emotion/react';
7
7
  import { theme } from '@dfds-ui/theme';
@@ -1,7 +1,7 @@
1
1
  import React, { ReactElement } from 'react';
2
2
  import { PopperProps, PopperPlacementType } from '@mui/material';
3
- export declare type DropdownSize = 'medium' | 'small';
4
- export declare type DropdownProps = {
3
+ export type DropdownSize = 'medium' | 'small';
4
+ export type DropdownProps = {
5
5
  /**
6
6
  * Placement for the `Dropdown`.
7
7
  */
@@ -1,13 +1,13 @@
1
1
  var _excluded = ["isOpen", "multiselect", "children", "anchorEl", "onClickAway", "size", "id", "className", "placement", "setIsOpen", "shouldCloseOnEsc", "filter"];
2
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
3
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
- 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; } }
5
- 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; }
4
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6
6
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
7
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
8
- 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; }
9
- 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; }
10
- 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); }
7
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
+ 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; }
10
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
11
  function _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)."; }
12
12
  import React from 'react';
13
13
  import { css } from '@emotion/react';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- declare type DropdownSize = 'medium' | 'small';
3
- declare type DropdownContextProps = {
2
+ type DropdownSize = 'medium' | 'small';
3
+ type DropdownContextProps = {
4
4
  size?: DropdownSize;
5
5
  multiselect?: boolean;
6
6
  };
@@ -1,4 +1,4 @@
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); }
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); }
2
2
  import React from 'react';
3
3
  import { theme } from '@dfds-ui/theme';
4
4
  import { css } from '@emotion/react';
@@ -1,13 +1,13 @@
1
1
  var _excluded = ["as", "clickable", "className", "onClick", "selected", "disabled", "children", "color", "iconLeft", "iconRight"];
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 _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
- 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; } }
6
- 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; }
5
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
7
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
9
- 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; }
10
- 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; }
8
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
11
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
12
12
  import React from 'react';
13
13
  import { css } from '@emotion/react';
@@ -1,3 +1,3 @@
1
- declare type Level = 3 | 8 | 16;
1
+ type Level = 3 | 8 | 16;
2
2
  declare const elevation: (level: Level) => import("@emotion/utils").SerializedStyles;
3
3
  export default elevation;
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
- declare type RenderAs = {
2
+ type RenderAs = {
3
3
  /**
4
4
  * HTML tag or custom component being rendered
5
5
  */
6
6
  as?: React.ElementType;
7
7
  };
8
- export declare type FlexBoxProps = {
8
+ export type FlexBoxProps = {
9
9
  /**
10
10
  * Set this prop to `true` to set `display` to `inline-flex` instead of `flex`
11
11
  */
@@ -1,10 +1,10 @@
1
1
  import _styled from "@emotion/styled/base";
2
- function _toArray(r) { return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest(); }
2
+ function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
3
3
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
- 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; } }
5
- 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; }
6
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
7
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
4
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
7
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
8
  import { decamelize } from 'humps';
9
9
  import { css } from '@emotion/react';
10
10
  var getRule = function getRule(ruleName, defaultRule) {
@@ -17,11 +17,11 @@ declare const checkboxSizes: {
17
17
  paddingLeft: string;
18
18
  };
19
19
  };
20
- declare type Size = keyof typeof checkboxSizes;
21
- declare type BaseProps = Omit<JSX.IntrinsicElements['input'], 'size' | 'css'> & {
20
+ type Size = keyof typeof checkboxSizes;
21
+ type BaseProps = Omit<JSX.IntrinsicElements['input'], 'size' | 'css'> & {
22
22
  htmlSize?: number;
23
23
  };
24
- export declare type CheckboxProps = BaseProps & {
24
+ export type CheckboxProps = BaseProps & {
25
25
  className?: string;
26
26
  error?: boolean;
27
27
  name?: string;
@@ -35,5 +35,5 @@ export declare type CheckboxProps = BaseProps & {
35
35
  indeterminate?: boolean;
36
36
  leadingLabel?: boolean;
37
37
  };
38
- declare const _default: React.ForwardRefExoticComponent<Pick<CheckboxProps, "max" | "required" | "type" | "error" | "key" | "id" | "height" | "width" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "slot" | "style" | "title" | "dir" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "maxLength" | "min" | "minLength" | "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" | "readOnly" | "src" | "step" | "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" | "indeterminate" | "leadingLabel" | "onLabelClick" | "htmlSize"> & React.RefAttributes<HTMLInputElement>>;
38
+ declare const _default: React.ForwardRefExoticComponent<Pick<CheckboxProps, "max" | "required" | "type" | "key" | "error" | "id" | "height" | "width" | "name" | "min" | "color" | "translate" | "value" | "hidden" | "form" | "slot" | "style" | "title" | "dir" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "role" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "maxLength" | "minLength" | "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" | "readOnly" | "src" | "step" | "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" | "indeterminate" | "leadingLabel" | "onLabelClick" | "htmlSize"> & React.RefAttributes<HTMLInputElement>>;
39
39
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  var _excluded = ["children", "className", "error", "checked", "disabled", "indeterminate", "onChange", "onLabelClick", "size", "htmlSize", "leadingLabel"];
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; }
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
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 { css } from '@emotion/react';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type ExampleControlComponentProps = {
2
+ type ExampleControlComponentProps = {
3
3
  onChange?: (...args: any[]) => void;
4
4
  checked?: boolean;
5
5
  error?: boolean;