@dfds-ui/react-components 2.2.0-alpha.8d87a90d → 2.2.0-alpha.e74a6756

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 (458) hide show
  1. package/accordion/Accordion.d.ts +2 -2
  2. package/accordion/AccordionContent.d.ts +1 -1
  3. package/accordion/AccordionSmall.d.ts +2 -2
  4. package/app-bar/AppBar.d.ts +1 -1
  5. package/app-bar/AppBarContext.d.ts +1 -1
  6. package/app-bar/AppBarIconButton.d.ts +1 -1
  7. package/app-bar/AppBarItem.d.ts +2 -2
  8. package/assertions/banner/Banner.d.ts +3 -3
  9. package/assertions/banner/BannerAction.d.ts +1 -1
  10. package/assertions/toast/Toast.d.ts +1 -1
  11. package/assertions/toast/Toaster.d.ts +2 -2
  12. package/badge/Badge.d.ts +1 -1
  13. package/button/BadgeIcon.d.ts +1 -1
  14. package/button/BaseButton.d.ts +3 -3
  15. package/button/Button.d.ts +3 -3
  16. package/button/IconButton.d.ts +2 -2
  17. package/button/LinkButton.d.ts +1 -1
  18. package/button-stack/ButtonStack.d.ts +3 -3
  19. package/card/Card.d.ts +2 -2
  20. package/card/CardContent.d.ts +1 -1
  21. package/card/CardMedia.d.ts +2 -2
  22. package/card/CardPriceTag.d.ts +1 -1
  23. package/card/CardTitle.d.ts +1 -1
  24. package/chip/Chip.d.ts +2 -2
  25. package/cjs/accordion/Accordion.d.ts +101 -0
  26. package/cjs/accordion/Accordion.js +20 -24
  27. package/cjs/accordion/AccordionContent.d.ts +13 -0
  28. package/cjs/accordion/AccordionContent.js +6 -8
  29. package/cjs/accordion/AccordionSmall.d.ts +55 -0
  30. package/cjs/accordion/AccordionSmall.js +11 -14
  31. package/cjs/accordion/index.d.ts +3 -0
  32. package/cjs/accordion/index.js +3 -3
  33. package/cjs/app-bar/AppBar.d.ts +13 -0
  34. package/cjs/app-bar/AppBar.js +42 -63
  35. package/cjs/app-bar/AppBarContext.d.ts +12 -0
  36. package/cjs/app-bar/AppBarContext.js +3 -15
  37. package/cjs/app-bar/AppBarDrawer.d.ts +5 -0
  38. package/cjs/app-bar/AppBarDrawer.js +9 -10
  39. package/cjs/app-bar/AppBarIconButton.d.ts +10 -0
  40. package/cjs/app-bar/AppBarIconButton.js +6 -9
  41. package/cjs/app-bar/AppBarItem.d.ts +23 -0
  42. package/cjs/app-bar/AppBarItem.js +17 -31
  43. package/cjs/app-bar/AppBarListItem.d.ts +16 -0
  44. package/cjs/app-bar/index.d.ts +7 -0
  45. package/cjs/app-bar/index.js +8 -8
  46. package/cjs/assertions/banner/Banner.d.ts +74 -0
  47. package/cjs/assertions/banner/Banner.js +23 -43
  48. package/cjs/assertions/banner/BannerAction.d.ts +19 -0
  49. package/cjs/assertions/banner/BannerAction.js +7 -9
  50. package/cjs/assertions/banner/BannerTypography.d.ts +7 -0
  51. package/cjs/assertions/banner/index.d.ts +3 -0
  52. package/cjs/assertions/banner/index.js +3 -3
  53. package/cjs/assertions/index.d.ts +2 -0
  54. package/cjs/assertions/index.js +2 -2
  55. package/cjs/assertions/toast/Toast.d.ts +12 -0
  56. package/cjs/assertions/toast/Toast.js +9 -13
  57. package/cjs/assertions/toast/Toaster.d.ts +19 -0
  58. package/cjs/assertions/toast/Toaster.js +20 -39
  59. package/cjs/assertions/toast/index.d.ts +2 -0
  60. package/cjs/assertions/toast/index.js +4 -4
  61. package/cjs/badge/Badge.d.ts +26 -0
  62. package/cjs/badge/Badge.js +9 -14
  63. package/cjs/badge/index.d.ts +2 -0
  64. package/cjs/badge/index.js +3 -3
  65. package/cjs/button/BadgeIcon.d.ts +7 -0
  66. package/cjs/button/BaseButton.d.ts +14 -0
  67. package/cjs/button/Button.d.ts +19 -0
  68. package/cjs/button/Button.js +13 -20
  69. package/cjs/button/IconButton.d.ts +75 -0
  70. package/cjs/button/IconButton.js +19 -27
  71. package/cjs/button/LinkButton.d.ts +8 -0
  72. package/cjs/button/LinkButton.js +1 -1
  73. package/cjs/button/button-style.d.ts +7 -0
  74. package/cjs/button/index.d.ts +7 -0
  75. package/cjs/button/index.js +8 -8
  76. package/cjs/button-stack/ButtonStack.d.ts +11 -0
  77. package/cjs/button-stack/ButtonStack.js +8 -12
  78. package/cjs/button-stack/index.d.ts +1 -0
  79. package/cjs/button-stack/index.js +1 -1
  80. package/cjs/card/Card.d.ts +18 -0
  81. package/cjs/card/Card.js +21 -37
  82. package/cjs/card/CardActions.d.ts +4 -0
  83. package/cjs/card/CardActions.js +6 -10
  84. package/cjs/card/CardContent.d.ts +13 -0
  85. package/cjs/card/CardContent.js +10 -14
  86. package/cjs/card/CardMedia.d.ts +18 -0
  87. package/cjs/card/CardMedia.js +6 -9
  88. package/cjs/card/CardPriceTag.d.ts +25 -0
  89. package/cjs/card/CardPriceTag.js +7 -11
  90. package/cjs/card/CardTitle.d.ts +18 -0
  91. package/cjs/card/CardTitle.js +9 -11
  92. package/cjs/card/index.d.ts +6 -0
  93. package/cjs/card/index.js +6 -6
  94. package/cjs/chip/Chip.d.ts +19 -0
  95. package/cjs/chip/Chip.js +13 -28
  96. package/cjs/chip/index.d.ts +2 -0
  97. package/cjs/chip/index.js +3 -3
  98. package/cjs/common/LockBodyScroll.d.ts +25 -0
  99. package/cjs/common/LockBodyScroll.js +5 -8
  100. package/cjs/common/arrow.d.ts +6 -0
  101. package/cjs/common/emotionCloneElement.d.ts +3 -0
  102. package/cjs/common/emotionCloneElement.js +5 -8
  103. package/cjs/common/intent.d.ts +3 -0
  104. package/cjs/common/miniMoize.d.ts +1 -0
  105. package/cjs/common/polymorphic.d.ts +25 -0
  106. package/cjs/common/polymorphic.js +3 -3
  107. package/cjs/common/use-media.d.ts +1 -0
  108. package/cjs/common/use-media.js +1 -10
  109. package/cjs/common/useOnClickOutside.d.ts +4 -0
  110. package/cjs/common/utils.d.ts +3 -0
  111. package/cjs/counter/Counter.d.ts +26 -0
  112. package/cjs/counter/Counter.js +4 -14
  113. package/cjs/counter/PluralCounter.d.ts +13 -0
  114. package/cjs/counter/PluralCounter.js +10 -22
  115. package/cjs/counter/index.d.ts +2 -0
  116. package/cjs/counter/index.js +2 -2
  117. package/cjs/data-table/DataTable.d.ts +10 -0
  118. package/cjs/data-table/DataTable.js +16 -27
  119. package/cjs/data-table/index.d.ts +1 -0
  120. package/cjs/data-table/index.js +1 -1
  121. package/cjs/date-range-picker/DatePickerDefaultStyles.d.ts +2 -0
  122. package/cjs/date-range-picker/DatePickerDfdsStyles.d.ts +2 -0
  123. package/cjs/date-range-picker/DateRangePicker.d.ts +33 -0
  124. package/cjs/date-range-picker/DateRangePicker.js +28 -55
  125. package/cjs/date-range-picker/index.d.ts +1 -0
  126. package/cjs/date-range-picker/index.js +1 -1
  127. package/cjs/divider/Divider.d.ts +26 -0
  128. package/cjs/divider/Divider.js +9 -9
  129. package/cjs/divider/index.d.ts +1 -0
  130. package/cjs/divider/index.js +1 -1
  131. package/cjs/drawer/Drawer.d.ts +31 -0
  132. package/cjs/drawer/Drawer.js +9 -15
  133. package/cjs/drawer/index.d.ts +1 -0
  134. package/cjs/drawer/index.js +1 -1
  135. package/cjs/dropdown-menu/Dropdown.d.ts +46 -0
  136. package/cjs/dropdown-menu/Dropdown.js +18 -32
  137. package/cjs/dropdown-menu/DropdownContext.d.ts +13 -0
  138. package/cjs/dropdown-menu/DropdownContext.js +1 -1
  139. package/cjs/dropdown-menu/MenuCheckbox.d.ts +34 -0
  140. package/cjs/dropdown-menu/MenuCheckbox.js +3 -2
  141. package/cjs/dropdown-menu/MenuItem.d.ts +45 -0
  142. package/cjs/dropdown-menu/MenuItem.js +18 -30
  143. package/cjs/dropdown-menu/MenuTitle.d.ts +14 -0
  144. package/cjs/dropdown-menu/MenuTitle.js +3 -2
  145. package/cjs/dropdown-menu/index.d.ts +5 -0
  146. package/cjs/dropdown-menu/index.js +6 -6
  147. package/cjs/elevation/index.d.ts +3 -0
  148. package/cjs/flexbox/FlexBox.d.ts +100 -0
  149. package/cjs/flexbox/FlexBox.js +3 -11
  150. package/cjs/flexbox/index.d.ts +1 -0
  151. package/cjs/flexbox/index.js +1 -1
  152. package/cjs/footer/Footer.d.ts +7 -0
  153. package/cjs/footer/index.d.ts +1 -0
  154. package/cjs/footer/index.js +1 -1
  155. package/cjs/forms/assistive-text/AssistiveText.d.ts +8 -0
  156. package/cjs/forms/asterisk/Asterisk.d.ts +3 -0
  157. package/cjs/forms/checkbox/Checkbox.d.ts +39 -0
  158. package/cjs/forms/checkbox/Checkbox.js +14 -19
  159. package/cjs/forms/checkbox/ExampleControlComponent.d.ts +10 -0
  160. package/cjs/forms/checkbox/ExampleControlComponent.js +6 -17
  161. package/cjs/forms/checkbox/index.d.ts +1 -0
  162. package/cjs/forms/checkbox/index.js +1 -1
  163. package/cjs/forms/email-field/EmailField.d.ts +6 -0
  164. package/cjs/forms/error-text/ErrorText.d.ts +8 -0
  165. package/cjs/forms/field/Field.d.ts +10 -0
  166. package/cjs/forms/index.d.ts +21 -0
  167. package/cjs/forms/index.js +18 -18
  168. package/cjs/forms/input/Input.d.ts +19 -0
  169. package/cjs/forms/input/Input.js +13 -15
  170. package/cjs/forms/input/InputComposition.d.ts +43 -0
  171. package/cjs/forms/input/InputComposition.js +23 -27
  172. package/cjs/forms/label/Label.d.ts +10 -0
  173. package/cjs/forms/label/Label.js +6 -8
  174. package/cjs/forms/number-field/NumberField.d.ts +6 -0
  175. package/cjs/forms/password-field/PasswordField.d.ts +4 -0
  176. package/cjs/forms/password-field/PasswordField.js +2 -11
  177. package/cjs/forms/radio/Radio.d.ts +35 -0
  178. package/cjs/forms/radio/Radio.js +27 -32
  179. package/cjs/forms/reactselect/ReactSelect.d.ts +25 -0
  180. package/cjs/forms/reactselect/ReactSelect.js +40 -48
  181. package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +6 -0
  182. package/cjs/forms/searchable-select/AsyncSearchableSelect.js +29 -33
  183. package/cjs/forms/select/Select.d.ts +16 -0
  184. package/cjs/forms/select/Select.js +10 -12
  185. package/cjs/forms/select-field/SelectField.d.ts +17 -0
  186. package/cjs/forms/select-field/SelectField.js +13 -14
  187. package/cjs/forms/switch/Switch.d.ts +13 -0
  188. package/cjs/forms/switch/Switch.js +11 -15
  189. package/cjs/forms/tel-field/TelField.d.ts +6 -0
  190. package/cjs/forms/text-field/TextField.d.ts +26 -0
  191. package/cjs/forms/text-field/TextField.js +16 -17
  192. package/cjs/global-styles/GlobalStyles.d.ts +3 -0
  193. package/cjs/global-styles/ResetStyles.d.ts +9 -0
  194. package/cjs/global-styles/sanitize.d.ts +1 -0
  195. package/cjs/grid/Column.d.ts +10 -0
  196. package/cjs/grid/Column.js +8 -10
  197. package/cjs/grid/Container.d.ts +15 -0
  198. package/cjs/grid/Container.js +9 -11
  199. package/cjs/grid/index.d.ts +2 -0
  200. package/cjs/grid/index.js +2 -2
  201. package/cjs/hero/Hero.d.ts +10 -0
  202. package/cjs/hero/index.d.ts +1 -0
  203. package/cjs/hero/index.js +1 -1
  204. package/cjs/hero/stripes.d.ts +6 -0
  205. package/cjs/ie-banner/IEBanner.d.ts +11 -0
  206. package/cjs/ie-banner/IEBanner.js +4 -19
  207. package/cjs/ie-banner/index.d.ts +1 -0
  208. package/cjs/ie-banner/index.js +1 -1
  209. package/cjs/index.d.ts +44 -0
  210. package/cjs/index.js +45 -45
  211. package/cjs/layout/LayoutLegacy.d.ts +2 -0
  212. package/cjs/lists/FeatureList.d.ts +24 -0
  213. package/cjs/lists/FeatureList.js +7 -10
  214. package/cjs/lists/ListAddon.d.ts +11 -0
  215. package/cjs/lists/ListAddon.js +6 -9
  216. package/cjs/lists/ListDivider.d.ts +5 -0
  217. package/cjs/lists/ListDivider.js +6 -9
  218. package/cjs/lists/ListIcon.d.ts +18 -0
  219. package/cjs/lists/ListIcon.js +12 -15
  220. package/cjs/lists/ListItem.d.ts +46 -0
  221. package/cjs/lists/ListItem.js +15 -24
  222. package/cjs/lists/ListText.d.ts +39 -0
  223. package/cjs/lists/ListText.js +8 -11
  224. package/cjs/lists/ListTextGroup.d.ts +15 -0
  225. package/cjs/lists/ListTextGroup.js +9 -13
  226. package/cjs/lists/ListTitle.d.ts +4 -0
  227. package/cjs/lists/ListTitle.js +4 -7
  228. package/cjs/lists/index.d.ts +8 -0
  229. package/cjs/lists/index.js +8 -8
  230. package/cjs/loader/DfdsLoader.d.ts +9 -0
  231. package/cjs/loader/DfdsLoader.js +2 -2
  232. package/cjs/loader/Loader.d.ts +6 -0
  233. package/cjs/loader/index.d.ts +2 -0
  234. package/cjs/loader/index.js +2 -2
  235. package/cjs/localization/LocaleFlag.d.ts +13 -0
  236. package/cjs/localization/LocaleFlag.js +8 -12
  237. package/cjs/localization/index.d.ts +2 -0
  238. package/cjs/localization/index.js +2 -2
  239. package/cjs/localization/locales.d.ts +35 -0
  240. package/cjs/logo/Logo.d.ts +11 -0
  241. package/cjs/logo/Logo.js +5 -7
  242. package/cjs/logo/index.d.ts +1 -0
  243. package/cjs/logo/index.js +1 -1
  244. package/cjs/media/index.d.ts +2 -0
  245. package/cjs/menu/Menu.d.ts +7 -0
  246. package/cjs/menu/Menu.js +18 -20
  247. package/cjs/menu/index.d.ts +2 -0
  248. package/cjs/menu/index.js +3 -3
  249. package/cjs/mobile-stepper/MobileStepper.d.ts +25 -0
  250. package/cjs/mobile-stepper/MobileStepper.js +8 -12
  251. package/cjs/mobile-stepper/index.d.ts +1 -0
  252. package/cjs/mobile-stepper/index.js +1 -1
  253. package/cjs/nav-bar/NavBar.d.ts +35 -0
  254. package/cjs/nav-bar/NavBar.js +24 -36
  255. package/cjs/nav-bar/index.d.ts +2 -0
  256. package/cjs/nav-bar/index.js +3 -3
  257. package/cjs/nav-menu/NavMenuItem.d.ts +10 -0
  258. package/cjs/nav-menu/index.d.ts +1 -0
  259. package/cjs/nav-menu/index.js +1 -1
  260. package/cjs/pagination/Pagination.d.ts +44 -0
  261. package/cjs/pagination/Pagination.js +7 -6
  262. package/cjs/pagination/Pagination.styles.d.ts +6 -0
  263. package/cjs/pagination/index.d.ts +1 -0
  264. package/cjs/pagination/index.js +1 -1
  265. package/cjs/popper/Popper.d.ts +29 -0
  266. package/cjs/popper/Popper.js +21 -25
  267. package/cjs/popper/index.d.ts +1 -0
  268. package/cjs/popper/index.js +1 -1
  269. package/cjs/progress-bar/ProgressBar.d.ts +8 -0
  270. package/cjs/progress-bar/index.d.ts +2 -0
  271. package/cjs/progress-bar/index.js +3 -3
  272. package/cjs/schedule/ScheduleItem.d.ts +21 -0
  273. package/cjs/schedule/ScheduleList.d.ts +11 -0
  274. package/cjs/schedule/ScheduleList.js +4 -6
  275. package/cjs/schedule/index.d.ts +2 -0
  276. package/cjs/schedule/index.js +2 -2
  277. package/cjs/side-sheet/SideSheet.d.ts +57 -0
  278. package/cjs/side-sheet/SideSheet.js +29 -45
  279. package/cjs/side-sheet/SideSheetCloseButton.d.ts +13 -0
  280. package/cjs/side-sheet/SideSheetCloseButton.js +8 -13
  281. package/cjs/side-sheet/SideSheetContent.d.ts +7 -0
  282. package/cjs/side-sheet/SideSheetContent.js +6 -8
  283. package/cjs/side-sheet/SideSheetFooter.d.ts +7 -0
  284. package/cjs/side-sheet/SideSheetFooter.js +6 -8
  285. package/cjs/side-sheet/SideSheetHeader.d.ts +9 -0
  286. package/cjs/side-sheet/SideSheetHeader.js +8 -11
  287. package/cjs/side-sheet/SideSheetHeadline.d.ts +7 -0
  288. package/cjs/side-sheet/index.d.ts +4 -0
  289. package/cjs/side-sheet/index.js +5 -5
  290. package/cjs/site-layout/SiteLayout.d.ts +36 -0
  291. package/cjs/site-layout/SiteLayout.js +24 -27
  292. package/cjs/site-layout/index.d.ts +2 -0
  293. package/cjs/site-layout/index.js +3 -3
  294. package/cjs/skeleton/Skeleton.d.ts +8 -0
  295. package/cjs/skeleton/Skeleton.js +10 -14
  296. package/cjs/skeleton/index.d.ts +1 -0
  297. package/cjs/skeleton/index.js +1 -1
  298. package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +26 -0
  299. package/cjs/social-media-link-list/SocialMediaLinkList.js +13 -15
  300. package/cjs/social-media-link-list/index.d.ts +1 -0
  301. package/cjs/social-media-link-list/index.js +1 -1
  302. package/cjs/spinner/Spinner.d.ts +58 -0
  303. package/cjs/spinner/Spinner.js +8 -12
  304. package/cjs/spinner/index.d.ts +1 -0
  305. package/cjs/spinner/index.js +1 -1
  306. package/cjs/step/Step.d.ts +45 -0
  307. package/cjs/step/Step.js +21 -29
  308. package/cjs/step/Step.styles.d.ts +4 -0
  309. package/cjs/step/StepButton.d.ts +4 -0
  310. package/cjs/step/StepButton.js +14 -12
  311. package/cjs/step/StepContent.d.ts +6 -0
  312. package/cjs/step/StepContent.js +3 -2
  313. package/cjs/step/StepContext.d.ts +12 -0
  314. package/cjs/step/StepLabel.d.ts +7 -0
  315. package/cjs/step/StepLabel.js +4 -3
  316. package/cjs/step/index.d.ts +1 -0
  317. package/cjs/step/index.js +1 -1
  318. package/cjs/stepper/Stepper.d.ts +25 -0
  319. package/cjs/stepper/Stepper.js +13 -22
  320. package/cjs/stepper/StepperContext.d.ts +9 -0
  321. package/cjs/stepper/index.d.ts +1 -0
  322. package/cjs/stepper/index.js +1 -1
  323. package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +5 -0
  324. package/cjs/stepper-feedback-message/index.d.ts +1 -0
  325. package/cjs/stepper-feedback-message/index.js +1 -1
  326. package/cjs/styles/index.d.ts +3 -0
  327. package/cjs/styles/index.js +5 -5
  328. package/cjs/styles/media.d.ts +21 -0
  329. package/cjs/styles/rem.d.ts +1 -0
  330. package/cjs/styles/style-helpers.d.ts +1 -0
  331. package/cjs/styles/theme.d.ts +39 -0
  332. package/cjs/surface/Surface.d.ts +32 -0
  333. package/cjs/surface/Surface.js +13 -19
  334. package/cjs/surface/index.d.ts +1 -0
  335. package/cjs/surface/index.js +1 -1
  336. package/cjs/tab/Tab.d.ts +12 -0
  337. package/cjs/tab/Tab.js +13 -14
  338. package/cjs/tab/TabPanel.d.ts +7 -0
  339. package/cjs/tab/TabPanel.js +3 -2
  340. package/cjs/tab/Tabs.d.ts +11 -0
  341. package/cjs/tab/Tabs.js +21 -37
  342. package/cjs/tab/TabsContext.d.ts +16 -0
  343. package/cjs/tab/TabsContext.js +1 -1
  344. package/cjs/tab/index.d.ts +4 -0
  345. package/cjs/tab/index.js +4 -4
  346. package/cjs/table/Table.d.ts +22 -0
  347. package/cjs/table/Table.js +7 -11
  348. package/cjs/table/TableBody.d.ts +9 -0
  349. package/cjs/table/TableBody.js +5 -7
  350. package/cjs/table/TableDataCell.d.ts +14 -0
  351. package/cjs/table/TableDataCell.js +6 -9
  352. package/cjs/table/TableHead.d.ts +14 -0
  353. package/cjs/table/TableHead.js +9 -10
  354. package/cjs/table/TableHeaderCell.d.ts +15 -0
  355. package/cjs/table/TableHeaderCell.js +6 -9
  356. package/cjs/table/TableRow.d.ts +17 -0
  357. package/cjs/table/TableRow.js +10 -12
  358. package/cjs/table/index.d.ts +6 -0
  359. package/cjs/table/index.js +6 -6
  360. package/cjs/test/Test.d.ts +8 -0
  361. package/cjs/tooltip/Tooltip.d.ts +26 -0
  362. package/cjs/tooltip/Tooltip.js +11 -12
  363. package/cjs/tooltip/index.d.ts +2 -0
  364. package/cjs/tooltip/index.js +3 -3
  365. package/cjs/typography/Headlines.d.ts +70 -0
  366. package/cjs/typography/Headlines.js +8 -11
  367. package/cjs/typography/Text.d.ts +5 -0
  368. package/cjs/typography/index.d.ts +2 -0
  369. package/cjs/typography/index.js +2 -2
  370. package/common/LockBodyScroll.d.ts +2 -2
  371. package/common/arrow.d.ts +1 -1
  372. package/common/intent.d.ts +1 -1
  373. package/common/polymorphic.d.ts +2 -2
  374. package/common/useOnClickOutside.d.ts +1 -1
  375. package/counter/Counter.d.ts +1 -1
  376. package/counter/PluralCounter.d.ts +1 -1
  377. package/data-table/DataTable.d.ts +1 -1
  378. package/divider/Divider.d.ts +1 -1
  379. package/drawer/Drawer.d.ts +4 -4
  380. package/dropdown-menu/Dropdown.d.ts +2 -2
  381. package/dropdown-menu/DropdownContext.d.ts +2 -2
  382. package/elevation/index.d.ts +1 -1
  383. package/flexbox/FlexBox.d.ts +2 -2
  384. package/forms/checkbox/Checkbox.d.ts +4 -4
  385. package/forms/checkbox/ExampleControlComponent.d.ts +1 -1
  386. package/forms/email-field/EmailField.d.ts +1 -1
  387. package/forms/field/Field.d.ts +1 -1
  388. package/forms/index.d.ts +3 -3
  389. package/forms/input/Input.d.ts +3 -3
  390. package/forms/input/InputComposition.d.ts +7 -7
  391. package/forms/label/Label.d.ts +1 -1
  392. package/forms/number-field/NumberField.d.ts +1 -1
  393. package/forms/password-field/PasswordField.d.ts +1 -1
  394. package/forms/radio/Radio.d.ts +4 -4
  395. package/forms/reactselect/ReactSelect.d.ts +2 -2
  396. package/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
  397. package/forms/select/Select.d.ts +4 -4
  398. package/forms/select-field/SelectField.d.ts +2 -2
  399. package/forms/switch/Switch.d.ts +2 -2
  400. package/forms/tel-field/TelField.d.ts +1 -1
  401. package/forms/text-field/TextField.d.ts +3 -3
  402. package/grid/Column.d.ts +1 -1
  403. package/grid/Container.d.ts +1 -1
  404. package/hero/Hero.d.ts +1 -1
  405. package/hero/stripes.d.ts +1 -1
  406. package/ie-banner/IEBanner.d.ts +1 -1
  407. package/lists/FeatureList.d.ts +2 -2
  408. package/lists/ListAddon.d.ts +1 -1
  409. package/lists/ListDivider.d.ts +1 -1
  410. package/lists/ListIcon.d.ts +2 -2
  411. package/lists/ListItem.d.ts +1 -1
  412. package/lists/ListText.d.ts +3 -3
  413. package/lists/ListTextGroup.d.ts +1 -1
  414. package/loader/Loader.d.ts +1 -1
  415. package/localization/LocaleFlag.d.ts +1 -1
  416. package/localization/locales.d.ts +2 -2
  417. package/logo/Logo.d.ts +1 -1
  418. package/menu/Menu.d.ts +1 -1
  419. package/mobile-stepper/MobileStepper.d.ts +1 -1
  420. package/nav-bar/NavBar.d.ts +4 -4
  421. package/nav-menu/NavMenuItem.d.ts +1 -1
  422. package/package.json +10 -10
  423. package/pagination/Pagination.d.ts +2 -2
  424. package/popper/Popper.d.ts +2 -2
  425. package/progress-bar/ProgressBar.d.ts +1 -1
  426. package/schedule/ScheduleItem.d.ts +2 -2
  427. package/schedule/ScheduleList.d.ts +3 -3
  428. package/side-sheet/SideSheet.d.ts +4 -4
  429. package/side-sheet/SideSheetCloseButton.d.ts +1 -1
  430. package/side-sheet/SideSheetContent.d.ts +1 -1
  431. package/side-sheet/SideSheetFooter.d.ts +1 -1
  432. package/side-sheet/SideSheetHeader.d.ts +1 -1
  433. package/side-sheet/SideSheetHeadline.d.ts +1 -1
  434. package/site-layout/SiteLayout.d.ts +3 -3
  435. package/skeleton/Skeleton.d.ts +1 -1
  436. package/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
  437. package/spinner/Spinner.d.ts +2 -2
  438. package/step/Step.d.ts +1 -1
  439. package/step/StepButton.d.ts +1 -1
  440. package/step/StepContent.d.ts +1 -1
  441. package/step/StepContext.d.ts +1 -1
  442. package/step/StepLabel.d.ts +1 -1
  443. package/stepper/Stepper.d.ts +1 -1
  444. package/stepper/StepperContext.d.ts +1 -1
  445. package/styles/media.d.ts +1 -1
  446. package/styles/theme.d.ts +1 -1
  447. package/surface/Surface.d.ts +2 -2
  448. package/tab/Tab.d.ts +2 -2
  449. package/tab/TabPanel.d.ts +1 -1
  450. package/tab/Tabs.d.ts +2 -2
  451. package/tab/TabsContext.d.ts +1 -1
  452. package/table/Table.d.ts +2 -2
  453. package/table/TableBody.d.ts +1 -1
  454. package/table/TableDataCell.d.ts +1 -1
  455. package/table/TableHead.d.ts +1 -1
  456. package/table/TableHeaderCell.d.ts +2 -2
  457. package/table/TableRow.d.ts +1 -1
  458. package/tooltip/Tooltip.d.ts +2 -2
@@ -3,6 +3,6 @@ export interface SkeletonProps {
3
3
  variant: SkeletonVariant;
4
4
  disableAnimation?: boolean;
5
5
  }
6
- export declare type SkeletonVariant = 'text' | 'circle' | 'rect';
6
+ export type SkeletonVariant = 'text' | 'circle' | 'rect';
7
7
  export declare const Skeleton: ({ variant, disableAnimation, ...rest }: SkeletonProps) => JSX.Element;
8
8
  export default Skeleton;
@@ -1,5 +1,5 @@
1
1
  import React, { FunctionComponent } from 'react';
2
- export declare type SocialMediaLinkListProps = {
2
+ export type SocialMediaLinkListProps = {
3
3
  instagramLink?: string;
4
4
  facebookLink?: string;
5
5
  blogLink?: string;
@@ -21,6 +21,6 @@ export declare const SoMeWrapper: import("@emotion/styled").StyledComponent<{
21
21
  } & {
22
22
  theme?: import("@emotion/react").Theme | undefined;
23
23
  } & SocialMediaLinkListProps, {}, {}>;
24
- declare type socialMediaLinkListComponent = FunctionComponent<SocialMediaLinkListProps>;
24
+ type socialMediaLinkListComponent = FunctionComponent<SocialMediaLinkListProps>;
25
25
  export declare const SocialMediaLinkList: socialMediaLinkListComponent;
26
26
  export default SocialMediaLinkList;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { PolymorphicComponentProps } from '../common/polymorphic';
3
- declare type Color = 'dark' | 'secondary' | 'light';
4
- export declare type SpinnerProps = {
3
+ type Color = 'dark' | 'secondary' | 'light';
4
+ export type SpinnerProps = {
5
5
  /**
6
6
  * Indicates that Spinner will show up instantaneously (instead of fading in).
7
7
  *
package/step/Step.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- export declare type StepProps = {
2
+ export type StepProps = {
3
3
  /**
4
4
  * The position of the step
5
5
  */
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- declare type StepButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
2
+ type StepButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
3
3
  declare const StepButton: React.FC<StepButtonProps>;
4
4
  export default StepButton;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- declare type StepContentProps = {
2
+ type StepContentProps = {
3
3
  children: ReactNode;
4
4
  };
5
5
  declare const StepContent: ({ children }: StepContentProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- export declare type StepContextType = {
2
+ export type StepContextType = {
3
3
  index: number;
4
4
  active: boolean;
5
5
  hasError?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
- declare type StepLableTypes = {
2
+ type StepLableTypes = {
3
3
  children: ReactNode;
4
4
  optionalStepText?: ReactNode;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- export declare type StepperProps = {
2
+ export type StepperProps = {
3
3
  /**
4
4
  * Stepper layout orientation `'horizontal' | 'vertical'`
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type StepperContextType = {
2
+ type StepperContextType = {
3
3
  activeStep: number;
4
4
  orientation: 'horizontal' | 'vertical';
5
5
  sequential: boolean;
package/styles/media.d.ts CHANGED
@@ -5,7 +5,7 @@ declare const defaultBreakPoints: {
5
5
  sm: number;
6
6
  xs: number;
7
7
  };
8
- declare type BreakPoint = keyof typeof defaultBreakPoints | number;
8
+ type BreakPoint = keyof typeof defaultBreakPoints | number;
9
9
  export declare function legacyGenerateMedia(breakPoints: typeof defaultBreakPoints): {
10
10
  lt: (breakPoint: BreakPoint) => string;
11
11
  gt: (breakPoint: BreakPoint) => string;
package/styles/theme.d.ts CHANGED
@@ -35,5 +35,5 @@ export declare const theme: {
35
35
  };
36
36
  uiRoundness: string;
37
37
  };
38
- export declare type ThemeInterface = typeof theme;
38
+ export type ThemeInterface = typeof theme;
39
39
  export default theme;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { theme } from '@dfds-ui/theme';
3
- export declare type SurfaceType = keyof typeof theme.colors.surface;
4
- export declare type SurfaceContextType = {
3
+ export type SurfaceType = keyof typeof theme.colors.surface;
4
+ export type SurfaceContextType = {
5
5
  surface: SurfaceType;
6
6
  backgroundColor: string;
7
7
  textColors: {
package/tab/Tab.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- export declare type Index = number | string;
3
- export declare type TabProps = {
2
+ export type Index = number | string;
3
+ export type TabProps = {
4
4
  active?: boolean;
5
5
  disabled?: boolean;
6
6
  transparent?: boolean;
package/tab/TabPanel.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type TabPanelProps = {
2
+ type TabPanelProps = {
3
3
  index: number | string;
4
4
  children: React.ReactNode;
5
5
  };
package/tab/Tabs.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- declare type TabsLabels = {
2
+ type TabsLabels = {
3
3
  scrollLeft: string;
4
4
  scrollRight: string;
5
5
  };
6
- declare type TabsProps = {
6
+ type TabsProps = {
7
7
  tabsLabels?: TabsLabels;
8
8
  children?: any;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { Index } from './Tab';
3
- export declare type TabsContextProps = {
3
+ export type TabsContextProps = {
4
4
  transparent?: boolean;
5
5
  onChange?: (index: any) => void;
6
6
  size?: 's' | 'm';
package/table/Table.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentPropsWithRef, ReactNode } from 'react';
2
- export declare type TableProps = {
2
+ export type TableProps = {
3
3
  /**
4
4
  * Table content
5
5
  */
@@ -13,7 +13,7 @@ export declare type TableProps = {
13
13
  */
14
14
  isHeaderSticky?: boolean;
15
15
  } & ComponentPropsWithRef<'table'>;
16
- export declare type TableContextProps = {
16
+ export type TableContextProps = {
17
17
  isInteractive: boolean;
18
18
  isHeaderSticky: boolean;
19
19
  };
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentPropsWithRef, ReactNode } from 'react';
2
- export declare type TableBodyProps = {
2
+ export type TableBodyProps = {
3
3
  /**
4
4
  * Table body content
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import React, { ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { Alignment } from './TableHeaderCell';
3
- export declare type TableDataCellProps = {
3
+ export type TableDataCellProps = {
4
4
  /**
5
5
  * Sets alignment for the content in the tag
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentPropsWithRef, ReactNode } from 'react';
2
- export declare type TableHeadProps = {
2
+ export type TableHeadProps = {
3
3
  /**
4
4
  * Table header content
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import React, { ComponentPropsWithRef, ReactNode } from 'react';
2
- export declare type Alignment = 'left' | 'center' | 'right' | 'justify' | 'char';
3
- export declare type TableHeaderCellProps = {
2
+ export type Alignment = 'left' | 'center' | 'right' | 'justify' | 'char';
3
+ export type TableHeaderCellProps = {
4
4
  /**
5
5
  * Sets alignment for the content in the tag
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentPropsWithRef, ReactNode } from 'react';
2
- export declare type TableRowProps = {
2
+ export type TableRowProps = {
3
3
  /**
4
4
  * Table row content
5
5
  */
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TippyProps } from '@tippyjs/react';
3
- declare type Placement = 'top' | 'right' | 'bottom' | 'left';
4
- declare type TooltipProps = {
3
+ type Placement = 'top' | 'right' | 'bottom' | 'left';
4
+ type TooltipProps = {
5
5
  content: string | React.ReactNode;
6
6
  name?: string;
7
7
  placement?: Placement;