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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/accordion/Accordion.d.ts +2 -2
  2. package/accordion/AccordionContent.d.ts +1 -1
  3. package/accordion/AccordionSmall.d.ts +2 -2
  4. package/app-bar/AppBar.d.ts +1 -1
  5. package/app-bar/AppBarContext.d.ts +1 -1
  6. package/app-bar/AppBarIconButton.d.ts +1 -1
  7. package/app-bar/AppBarItem.d.ts +2 -2
  8. package/assertions/banner/Banner.d.ts +3 -3
  9. package/assertions/banner/BannerAction.d.ts +1 -1
  10. package/assertions/toast/Toast.d.ts +1 -1
  11. package/assertions/toast/Toaster.d.ts +2 -2
  12. package/badge/Badge.d.ts +1 -1
  13. package/button/BadgeIcon.d.ts +1 -1
  14. package/button/BaseButton.d.ts +3 -3
  15. package/button/Button.d.ts +3 -3
  16. package/button/IconButton.d.ts +2 -2
  17. package/button/LinkButton.d.ts +1 -1
  18. package/button-stack/ButtonStack.d.ts +3 -3
  19. package/card/Card.d.ts +2 -2
  20. package/card/CardContent.d.ts +1 -1
  21. package/card/CardMedia.d.ts +2 -2
  22. package/card/CardPriceTag.d.ts +1 -1
  23. package/card/CardTitle.d.ts +1 -1
  24. package/chip/Chip.d.ts +2 -2
  25. package/cjs/accordion/Accordion.d.ts +2 -2
  26. package/cjs/accordion/Accordion.js +20 -24
  27. package/cjs/accordion/AccordionContent.d.ts +1 -1
  28. package/cjs/accordion/AccordionContent.js +6 -8
  29. package/cjs/accordion/AccordionSmall.d.ts +2 -2
  30. package/cjs/accordion/AccordionSmall.js +11 -14
  31. package/cjs/accordion/index.js +3 -3
  32. package/cjs/app-bar/AppBar.d.ts +1 -1
  33. package/cjs/app-bar/AppBar.js +42 -63
  34. package/cjs/app-bar/AppBarContext.d.ts +1 -1
  35. package/cjs/app-bar/AppBarContext.js +3 -15
  36. package/cjs/app-bar/AppBarDrawer.js +9 -10
  37. package/cjs/app-bar/AppBarIconButton.d.ts +1 -1
  38. package/cjs/app-bar/AppBarIconButton.js +6 -9
  39. package/cjs/app-bar/AppBarItem.d.ts +2 -2
  40. package/cjs/app-bar/AppBarItem.js +17 -31
  41. package/cjs/app-bar/index.js +8 -8
  42. package/cjs/assertions/banner/Banner.d.ts +3 -3
  43. package/cjs/assertions/banner/Banner.js +23 -43
  44. package/cjs/assertions/banner/BannerAction.d.ts +1 -1
  45. package/cjs/assertions/banner/BannerAction.js +7 -9
  46. package/cjs/assertions/banner/index.js +3 -3
  47. package/cjs/assertions/index.js +2 -2
  48. package/cjs/assertions/toast/Toast.d.ts +1 -1
  49. package/cjs/assertions/toast/Toast.js +9 -13
  50. package/cjs/assertions/toast/Toaster.d.ts +2 -2
  51. package/cjs/assertions/toast/Toaster.js +20 -39
  52. package/cjs/assertions/toast/index.js +4 -4
  53. package/cjs/badge/Badge.d.ts +1 -1
  54. package/cjs/badge/Badge.js +9 -14
  55. package/cjs/badge/index.js +3 -3
  56. package/cjs/button/BadgeIcon.d.ts +1 -1
  57. package/cjs/button/BaseButton.d.ts +3 -3
  58. package/cjs/button/Button.d.ts +3 -3
  59. package/cjs/button/Button.js +13 -20
  60. package/cjs/button/IconButton.d.ts +2 -2
  61. package/cjs/button/IconButton.js +19 -27
  62. package/cjs/button/LinkButton.d.ts +1 -1
  63. package/cjs/button/LinkButton.js +1 -1
  64. package/cjs/button/index.js +8 -8
  65. package/cjs/button-stack/ButtonStack.d.ts +3 -3
  66. package/cjs/button-stack/ButtonStack.js +8 -12
  67. package/cjs/button-stack/index.js +1 -1
  68. package/cjs/card/Card.d.ts +2 -2
  69. package/cjs/card/Card.js +21 -37
  70. package/cjs/card/CardActions.js +6 -10
  71. package/cjs/card/CardContent.d.ts +1 -1
  72. package/cjs/card/CardContent.js +10 -14
  73. package/cjs/card/CardMedia.d.ts +2 -2
  74. package/cjs/card/CardMedia.js +6 -9
  75. package/cjs/card/CardPriceTag.d.ts +1 -1
  76. package/cjs/card/CardPriceTag.js +7 -11
  77. package/cjs/card/CardTitle.d.ts +1 -1
  78. package/cjs/card/CardTitle.js +9 -11
  79. package/cjs/card/index.js +6 -6
  80. package/cjs/chip/Chip.d.ts +2 -2
  81. package/cjs/chip/Chip.js +13 -28
  82. package/cjs/chip/index.js +3 -3
  83. package/cjs/common/LockBodyScroll.d.ts +2 -2
  84. package/cjs/common/LockBodyScroll.js +5 -8
  85. package/cjs/common/arrow.d.ts +1 -1
  86. package/cjs/common/emotionCloneElement.js +5 -8
  87. package/cjs/common/intent.d.ts +1 -1
  88. package/cjs/common/polymorphic.d.ts +2 -2
  89. package/cjs/common/polymorphic.js +3 -3
  90. package/cjs/common/use-media.js +1 -10
  91. package/cjs/common/useOnClickOutside.d.ts +1 -1
  92. package/cjs/counter/Counter.d.ts +1 -1
  93. package/cjs/counter/Counter.js +4 -14
  94. package/cjs/counter/PluralCounter.d.ts +1 -1
  95. package/cjs/counter/PluralCounter.js +10 -22
  96. package/cjs/counter/index.js +2 -2
  97. package/cjs/data-table/DataTable.d.ts +1 -1
  98. package/cjs/data-table/DataTable.js +16 -27
  99. package/cjs/data-table/index.js +1 -1
  100. package/cjs/date-range-picker/DateRangePicker.js +28 -55
  101. package/cjs/date-range-picker/index.js +1 -1
  102. package/cjs/divider/Divider.d.ts +1 -1
  103. package/cjs/divider/Divider.js +9 -9
  104. package/cjs/divider/index.js +1 -1
  105. package/cjs/drawer/Drawer.d.ts +4 -4
  106. package/cjs/drawer/Drawer.js +9 -15
  107. package/cjs/drawer/index.js +1 -1
  108. package/cjs/dropdown-menu/Dropdown.d.ts +2 -2
  109. package/cjs/dropdown-menu/Dropdown.js +18 -32
  110. package/cjs/dropdown-menu/DropdownContext.d.ts +2 -2
  111. package/cjs/dropdown-menu/DropdownContext.js +1 -1
  112. package/cjs/dropdown-menu/MenuCheckbox.js +3 -2
  113. package/cjs/dropdown-menu/MenuItem.js +18 -30
  114. package/cjs/dropdown-menu/MenuTitle.js +3 -2
  115. package/cjs/dropdown-menu/index.js +6 -6
  116. package/cjs/elevation/index.d.ts +1 -1
  117. package/cjs/flexbox/FlexBox.d.ts +2 -2
  118. package/cjs/flexbox/FlexBox.js +3 -11
  119. package/cjs/flexbox/index.js +1 -1
  120. package/cjs/footer/index.js +1 -1
  121. package/cjs/forms/checkbox/Checkbox.d.ts +4 -4
  122. package/cjs/forms/checkbox/Checkbox.js +14 -19
  123. package/cjs/forms/checkbox/ExampleControlComponent.d.ts +1 -1
  124. package/cjs/forms/checkbox/ExampleControlComponent.js +6 -17
  125. package/cjs/forms/checkbox/index.js +1 -1
  126. package/cjs/forms/email-field/EmailField.d.ts +1 -1
  127. package/cjs/forms/field/Field.d.ts +1 -1
  128. package/cjs/forms/index.d.ts +3 -3
  129. package/cjs/forms/index.js +18 -18
  130. package/cjs/forms/input/Input.d.ts +3 -3
  131. package/cjs/forms/input/Input.js +13 -15
  132. package/cjs/forms/input/InputComposition.d.ts +7 -7
  133. package/cjs/forms/input/InputComposition.js +23 -27
  134. package/cjs/forms/label/Label.d.ts +1 -1
  135. package/cjs/forms/label/Label.js +6 -8
  136. package/cjs/forms/number-field/NumberField.d.ts +1 -1
  137. package/cjs/forms/password-field/PasswordField.d.ts +1 -1
  138. package/cjs/forms/password-field/PasswordField.js +2 -11
  139. package/cjs/forms/radio/Radio.d.ts +4 -4
  140. package/cjs/forms/radio/Radio.js +27 -32
  141. package/cjs/forms/reactselect/ReactSelect.d.ts +2 -2
  142. package/cjs/forms/reactselect/ReactSelect.js +40 -48
  143. package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
  144. package/cjs/forms/searchable-select/AsyncSearchableSelect.js +29 -33
  145. package/cjs/forms/select/Select.d.ts +4 -4
  146. package/cjs/forms/select/Select.js +10 -12
  147. package/cjs/forms/select-field/SelectField.d.ts +2 -2
  148. package/cjs/forms/select-field/SelectField.js +13 -14
  149. package/cjs/forms/switch/Switch.d.ts +2 -2
  150. package/cjs/forms/switch/Switch.js +11 -15
  151. package/cjs/forms/tel-field/TelField.d.ts +1 -1
  152. package/cjs/forms/text-field/TextField.d.ts +3 -3
  153. package/cjs/forms/text-field/TextField.js +16 -17
  154. package/cjs/grid/Column.d.ts +1 -1
  155. package/cjs/grid/Column.js +8 -10
  156. package/cjs/grid/Container.d.ts +1 -1
  157. package/cjs/grid/Container.js +9 -11
  158. package/cjs/grid/index.js +2 -2
  159. package/cjs/hero/Hero.d.ts +1 -1
  160. package/cjs/hero/index.js +1 -1
  161. package/cjs/hero/stripes.d.ts +1 -1
  162. package/cjs/ie-banner/IEBanner.d.ts +1 -1
  163. package/cjs/ie-banner/IEBanner.js +4 -19
  164. package/cjs/ie-banner/index.js +1 -1
  165. package/cjs/index.js +45 -45
  166. package/cjs/lists/FeatureList.d.ts +2 -2
  167. package/cjs/lists/FeatureList.js +7 -10
  168. package/cjs/lists/ListAddon.d.ts +1 -1
  169. package/cjs/lists/ListAddon.js +6 -9
  170. package/cjs/lists/ListDivider.d.ts +1 -1
  171. package/cjs/lists/ListDivider.js +6 -9
  172. package/cjs/lists/ListIcon.d.ts +2 -2
  173. package/cjs/lists/ListIcon.js +12 -15
  174. package/cjs/lists/ListItem.d.ts +1 -1
  175. package/cjs/lists/ListItem.js +15 -24
  176. package/cjs/lists/ListText.d.ts +3 -3
  177. package/cjs/lists/ListText.js +8 -11
  178. package/cjs/lists/ListTextGroup.d.ts +1 -1
  179. package/cjs/lists/ListTextGroup.js +9 -13
  180. package/cjs/lists/ListTitle.js +4 -7
  181. package/cjs/lists/index.js +8 -8
  182. package/cjs/loader/DfdsLoader.js +2 -2
  183. package/cjs/loader/Loader.d.ts +1 -1
  184. package/cjs/loader/index.js +2 -2
  185. package/cjs/localization/LocaleFlag.d.ts +1 -1
  186. package/cjs/localization/LocaleFlag.js +8 -12
  187. package/cjs/localization/index.js +2 -2
  188. package/cjs/localization/locales.d.ts +2 -2
  189. package/cjs/logo/Logo.d.ts +1 -1
  190. package/cjs/logo/Logo.js +5 -7
  191. package/cjs/logo/index.js +1 -1
  192. package/cjs/menu/Menu.d.ts +1 -1
  193. package/cjs/menu/Menu.js +18 -20
  194. package/cjs/menu/index.js +3 -3
  195. package/cjs/mobile-stepper/MobileStepper.d.ts +1 -1
  196. package/cjs/mobile-stepper/MobileStepper.js +8 -12
  197. package/cjs/mobile-stepper/index.js +1 -1
  198. package/cjs/nav-bar/NavBar.d.ts +4 -4
  199. package/cjs/nav-bar/NavBar.js +24 -36
  200. package/cjs/nav-bar/index.js +3 -3
  201. package/cjs/nav-menu/NavMenuItem.d.ts +1 -1
  202. package/cjs/nav-menu/index.js +1 -1
  203. package/cjs/pagination/Pagination.d.ts +2 -2
  204. package/cjs/pagination/Pagination.js +7 -6
  205. package/cjs/pagination/index.js +1 -1
  206. package/cjs/popper/Popper.d.ts +2 -2
  207. package/cjs/popper/Popper.js +21 -25
  208. package/cjs/popper/index.js +1 -1
  209. package/cjs/progress-bar/ProgressBar.d.ts +1 -1
  210. package/cjs/progress-bar/index.js +3 -3
  211. package/cjs/schedule/ScheduleItem.d.ts +2 -2
  212. package/cjs/schedule/ScheduleList.d.ts +3 -3
  213. package/cjs/schedule/ScheduleList.js +4 -6
  214. package/cjs/schedule/index.js +2 -2
  215. package/cjs/side-sheet/SideSheet.d.ts +4 -4
  216. package/cjs/side-sheet/SideSheet.js +29 -45
  217. package/cjs/side-sheet/SideSheetCloseButton.d.ts +1 -1
  218. package/cjs/side-sheet/SideSheetCloseButton.js +8 -13
  219. package/cjs/side-sheet/SideSheetContent.d.ts +1 -1
  220. package/cjs/side-sheet/SideSheetContent.js +6 -8
  221. package/cjs/side-sheet/SideSheetFooter.d.ts +1 -1
  222. package/cjs/side-sheet/SideSheetFooter.js +6 -8
  223. package/cjs/side-sheet/SideSheetHeader.d.ts +1 -1
  224. package/cjs/side-sheet/SideSheetHeader.js +8 -11
  225. package/cjs/side-sheet/SideSheetHeadline.d.ts +1 -1
  226. package/cjs/side-sheet/index.js +5 -5
  227. package/cjs/site-layout/SiteLayout.d.ts +3 -3
  228. package/cjs/site-layout/SiteLayout.js +24 -27
  229. package/cjs/site-layout/index.js +3 -3
  230. package/cjs/skeleton/Skeleton.d.ts +1 -1
  231. package/cjs/skeleton/Skeleton.js +10 -14
  232. package/cjs/skeleton/index.js +1 -1
  233. package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
  234. package/cjs/social-media-link-list/SocialMediaLinkList.js +13 -15
  235. package/cjs/social-media-link-list/index.js +1 -1
  236. package/cjs/spinner/Spinner.d.ts +2 -2
  237. package/cjs/spinner/Spinner.js +8 -12
  238. package/cjs/spinner/index.js +1 -1
  239. package/cjs/step/Step.d.ts +1 -1
  240. package/cjs/step/Step.js +21 -29
  241. package/cjs/step/StepButton.d.ts +1 -1
  242. package/cjs/step/StepButton.js +14 -12
  243. package/cjs/step/StepContent.d.ts +1 -1
  244. package/cjs/step/StepContent.js +3 -2
  245. package/cjs/step/StepContext.d.ts +1 -1
  246. package/cjs/step/StepLabel.d.ts +1 -1
  247. package/cjs/step/StepLabel.js +4 -3
  248. package/cjs/step/index.js +1 -1
  249. package/cjs/stepper/Stepper.d.ts +1 -1
  250. package/cjs/stepper/Stepper.js +13 -22
  251. package/cjs/stepper/StepperContext.d.ts +1 -1
  252. package/cjs/stepper/index.js +1 -1
  253. package/cjs/stepper-feedback-message/index.js +1 -1
  254. package/cjs/styles/index.js +5 -5
  255. package/cjs/styles/media.d.ts +1 -1
  256. package/cjs/styles/theme.d.ts +1 -1
  257. package/cjs/surface/Surface.d.ts +2 -2
  258. package/cjs/surface/Surface.js +13 -19
  259. package/cjs/surface/index.js +1 -1
  260. package/cjs/tab/Tab.d.ts +2 -2
  261. package/cjs/tab/Tab.js +13 -14
  262. package/cjs/tab/TabPanel.d.ts +1 -1
  263. package/cjs/tab/TabPanel.js +3 -2
  264. package/cjs/tab/Tabs.d.ts +2 -2
  265. package/cjs/tab/Tabs.js +21 -37
  266. package/cjs/tab/TabsContext.d.ts +1 -1
  267. package/cjs/tab/TabsContext.js +1 -1
  268. package/cjs/tab/index.js +4 -4
  269. package/cjs/table/Table.d.ts +2 -2
  270. package/cjs/table/Table.js +7 -11
  271. package/cjs/table/TableBody.d.ts +1 -1
  272. package/cjs/table/TableBody.js +5 -7
  273. package/cjs/table/TableDataCell.d.ts +1 -1
  274. package/cjs/table/TableDataCell.js +6 -9
  275. package/cjs/table/TableHead.d.ts +1 -1
  276. package/cjs/table/TableHead.js +9 -10
  277. package/cjs/table/TableHeaderCell.d.ts +2 -2
  278. package/cjs/table/TableHeaderCell.js +6 -9
  279. package/cjs/table/TableRow.d.ts +1 -1
  280. package/cjs/table/TableRow.js +10 -12
  281. package/cjs/table/index.js +6 -6
  282. package/cjs/tooltip/Tooltip.d.ts +2 -2
  283. package/cjs/tooltip/Tooltip.js +11 -12
  284. package/cjs/tooltip/index.js +3 -3
  285. package/cjs/typography/Headlines.js +8 -11
  286. package/cjs/typography/index.js +2 -2
  287. package/common/LockBodyScroll.d.ts +2 -2
  288. package/common/arrow.d.ts +1 -1
  289. package/common/intent.d.ts +1 -1
  290. package/common/polymorphic.d.ts +2 -2
  291. package/common/useOnClickOutside.d.ts +1 -1
  292. package/counter/Counter.d.ts +1 -1
  293. package/counter/PluralCounter.d.ts +1 -1
  294. package/data-table/DataTable.d.ts +1 -1
  295. package/divider/Divider.d.ts +1 -1
  296. package/drawer/Drawer.d.ts +4 -4
  297. package/dropdown-menu/Dropdown.d.ts +2 -2
  298. package/dropdown-menu/DropdownContext.d.ts +2 -2
  299. package/elevation/index.d.ts +1 -1
  300. package/flexbox/FlexBox.d.ts +2 -2
  301. package/forms/checkbox/Checkbox.d.ts +4 -4
  302. package/forms/checkbox/ExampleControlComponent.d.ts +1 -1
  303. package/forms/email-field/EmailField.d.ts +1 -1
  304. package/forms/field/Field.d.ts +1 -1
  305. package/forms/index.d.ts +3 -3
  306. package/forms/input/Input.d.ts +3 -3
  307. package/forms/input/InputComposition.d.ts +7 -7
  308. package/forms/label/Label.d.ts +1 -1
  309. package/forms/number-field/NumberField.d.ts +1 -1
  310. package/forms/password-field/PasswordField.d.ts +1 -1
  311. package/forms/radio/Radio.d.ts +4 -4
  312. package/forms/reactselect/ReactSelect.d.ts +2 -2
  313. package/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
  314. package/forms/select/Select.d.ts +4 -4
  315. package/forms/select-field/SelectField.d.ts +2 -2
  316. package/forms/switch/Switch.d.ts +2 -2
  317. package/forms/tel-field/TelField.d.ts +1 -1
  318. package/forms/text-field/TextField.d.ts +3 -3
  319. package/grid/Column.d.ts +1 -1
  320. package/grid/Container.d.ts +1 -1
  321. package/hero/Hero.d.ts +1 -1
  322. package/hero/stripes.d.ts +1 -1
  323. package/ie-banner/IEBanner.d.ts +1 -1
  324. package/lists/FeatureList.d.ts +2 -2
  325. package/lists/ListAddon.d.ts +1 -1
  326. package/lists/ListDivider.d.ts +1 -1
  327. package/lists/ListIcon.d.ts +2 -2
  328. package/lists/ListItem.d.ts +1 -1
  329. package/lists/ListText.d.ts +3 -3
  330. package/lists/ListTextGroup.d.ts +1 -1
  331. package/loader/Loader.d.ts +1 -1
  332. package/localization/LocaleFlag.d.ts +1 -1
  333. package/localization/locales.d.ts +2 -2
  334. package/logo/Logo.d.ts +1 -1
  335. package/menu/Menu.d.ts +1 -1
  336. package/mobile-stepper/MobileStepper.d.ts +1 -1
  337. package/nav-bar/NavBar.d.ts +4 -4
  338. package/nav-menu/NavMenuItem.d.ts +1 -1
  339. package/package.json +10 -10
  340. package/pagination/Pagination.d.ts +2 -2
  341. package/popper/Popper.d.ts +2 -2
  342. package/progress-bar/ProgressBar.d.ts +1 -1
  343. package/schedule/ScheduleItem.d.ts +2 -2
  344. package/schedule/ScheduleList.d.ts +3 -3
  345. package/side-sheet/SideSheet.d.ts +4 -4
  346. package/side-sheet/SideSheetCloseButton.d.ts +1 -1
  347. package/side-sheet/SideSheetContent.d.ts +1 -1
  348. package/side-sheet/SideSheetFooter.d.ts +1 -1
  349. package/side-sheet/SideSheetHeader.d.ts +1 -1
  350. package/side-sheet/SideSheetHeadline.d.ts +1 -1
  351. package/site-layout/SiteLayout.d.ts +3 -3
  352. package/skeleton/Skeleton.d.ts +1 -1
  353. package/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
  354. package/spinner/Spinner.d.ts +2 -2
  355. package/step/Step.d.ts +1 -1
  356. package/step/StepButton.d.ts +1 -1
  357. package/step/StepContent.d.ts +1 -1
  358. package/step/StepContext.d.ts +1 -1
  359. package/step/StepLabel.d.ts +1 -1
  360. package/stepper/Stepper.d.ts +1 -1
  361. package/stepper/StepperContext.d.ts +1 -1
  362. package/styles/media.d.ts +1 -1
  363. package/styles/theme.d.ts +1 -1
  364. package/surface/Surface.d.ts +2 -2
  365. package/tab/Tab.d.ts +2 -2
  366. package/tab/TabPanel.d.ts +1 -1
  367. package/tab/Tabs.d.ts +2 -2
  368. package/tab/TabsContext.d.ts +1 -1
  369. package/table/Table.d.ts +2 -2
  370. package/table/TableBody.d.ts +1 -1
  371. package/table/TableDataCell.d.ts +1 -1
  372. package/table/TableHead.d.ts +1 -1
  373. package/table/TableHeaderCell.d.ts +2 -2
  374. package/table/TableRow.d.ts +1 -1
  375. package/tooltip/Tooltip.d.ts +2 -2
@@ -8,24 +8,23 @@ var _react = _interopRequireWildcard(require("react"));
8
8
  var _classnames = _interopRequireDefault(require("classnames"));
9
9
  var _Table = require("./Table");
10
10
  var _react2 = require("@emotion/react");
11
- const _excluded = ["children", "className"];
12
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
14
13
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
14
  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); }
16
- 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; }
17
- 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; }
18
15
  const ClassName = {
19
16
  IS_STICKY: 'is-sticky'
20
17
  };
21
18
  const tableHeadStyle = /*#__PURE__*/(0, _react2.css)("&.", ClassName.IS_STICKY, " th{position:sticky;top:0;}" + (process.env.NODE_ENV === "production" ? "" : ";label:tableHeadStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS9UYWJsZUhlYWQudHN4Il0s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ikgPT4ge1xuICAgIGNvbnN0IHsgaXNIZWFkZXJTdGlja3kgfSA9IHVzZVRhYmxlKClcblxuICAgIHJldHVybiAoXG4gICAgICA8dGhlYWRcbiAgICAgICAgY2xhc3NOYW1lPXtjbGFzc05hbWVzKGNsYXNzTmFtZSwge1xuICAgICAgICAgIFtDbGFzc05hbWUuSVNfU1RJQ0tZXTogaXNIZWFkZXJTdGlja3ksXG4gICAgICAgIH0pfVxuICAgICAgICBjc3M9e3RhYmxlSGVhZFN0eWxlfVxuICAgICAgICB7Li4ucmVzdH1cbiAgICAgICAgcmVmPXtyZWZ9XG4gICAgICA+XG4gICAgICAgIHtjaGlsZHJlbn1cbiAgICAgIDwvdGhlYWQ+XG4gICAgKVxuICB9XG4pXG5cbmV4cG9ydCBkZWZhdWx0IFRhYmxlSGVhZFxuIl19 */");
22
19
  exports.tableHeadStyle = tableHeadStyle;
23
- const TableHead = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
24
- let children = _ref.children,
25
- className = _ref.className,
26
- rest = _objectWithoutProperties(_ref, _excluded);
27
- const _useTable = (0, _Table.useTable)(),
28
- isHeaderSticky = _useTable.isHeaderSticky;
20
+ const TableHead = /*#__PURE__*/(0, _react.forwardRef)(({
21
+ children,
22
+ className,
23
+ ...rest
24
+ }, ref) => {
25
+ const {
26
+ isHeaderSticky
27
+ } = (0, _Table.useTable)();
29
28
  return (0, _react2.jsx)("thead", _extends({
30
29
  className: (0, _classnames.default)(className, {
31
30
  [ClassName.IS_STICKY]: isHeaderSticky
@@ -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
  */
@@ -8,20 +8,17 @@ var _react = _interopRequireWildcard(require("react"));
8
8
  var _react2 = require("@emotion/react");
9
9
  var _typography = require("@dfds-ui/typography");
10
10
  var _theme = require("@dfds-ui/theme");
11
- const _excluded = ["align", "children"];
12
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
13
12
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
13
  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); }
15
- 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; }
16
- 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; }
17
14
  const getTableCellStyle = (align = 'left') => /*#__PURE__*/(0, _react2.css)("border-bottom:1px solid ", _theme.theme.colors.surface.secondary, ";min-width:11rem;padding:0 0.75rem;text-align:", align, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:getTableCellStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS9UYWJsZUhlYWRlckNlbGwudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1CbUUiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3RhYmxlL1RhYmxlSGVhZGVyQ2VsbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgQ29tcG9uZW50UHJvcHNXaXRoUmVmLCBmb3J3YXJkUmVmLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgdHlwb2dyYXBoeSB9IGZyb20gJ0BkZmRzLXVpL3R5cG9ncmFwaHknXG5pbXBvcnQgeyB0aGVtZSB9IGZyb20gJ0BkZmRzLXVpL3RoZW1lJ1xuXG5leHBvcnQgdHlwZSBBbGlnbm1lbnQgPSAnbGVmdCcgfCAnY2VudGVyJyB8ICdyaWdodCcgfCAnanVzdGlmeScgfCAnY2hhcidcblxuZXhwb3J0IHR5cGUgVGFibGVIZWFkZXJDZWxsUHJvcHMgPSB7XG4gIC8qKlxuICAgKiBTZXRzIGFsaWdubWVudCBmb3IgdGhlIGNvbnRlbnQgaW4gdGhlIHRhZ1xuICAgKi9cbiAgYWxpZ24/OiBBbGlnbm1lbnRcblxuICAvKipcbiAgICogVGFibGUgY2VsbCBjb250ZW50XG4gICAqL1xuICBjaGlsZHJlbjogUmVhY3ROb2RlXG59ICYg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VsbFxuIl19 */");
18
15
  exports.getTableCellStyle = getTableCellStyle;
19
16
  const tableHeadCellStyle = (align = 'left') => /*#__PURE__*/(0, _react2.css)(getTableCellStyle(align), " color:", _theme.theme.colors.primary.main, ";", _typography.typography.actionBold, ";text-align:", align, ";th.is-sticky &{position:sticky;}" + (process.env.NODE_ENV === "production" ? "" : ";label:tableHeadCellStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS9UYWJsZUhlYWRlckNlbGwudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBCNkQiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3RhYmxlL1RhYmxlSGVhZGVyQ2VsbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgQ29tcG9uZW50UHJvcHNXaXRoUmVmLCBmb3J3YXJkUmVmLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgdHlwb2dyYXBoeSB9IGZyb20gJ0BkZmRzLXVpL3R5cG9ncmFwaHknXG5pbXBvcnQgeyB0aGVtZSB9IGZyb20gJ0BkZmRzLXVpL3RoZW1lJ1xuXG5leHBvcnQgdHlwZSBBbGlnbm1lbnQgPSAnbGVmdCcgfCAnY2VudGVyJyB8ICdyaWdodCcgfCAnanVzdGlmeScgfCAnY2hhcidcblxuZXhwb3J0IHR5cGUgVGFibGVIZWFkZXJDZWxsUHJvcHMgPSB7XG4gIC8qKlxuICAgKiBTZXRzIGFsaWdubWVudCBmb3IgdGhlIGNvbnRlbnQgaW4gdGhlIHRhZ1xuICAgKi9cbiAgYWxpZ24/OiBBbGlnbm1lbnRcblxuICAvKipcbiAgICogVGFibGUgY2VsbCBjb250ZW50XG4gICA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mV4cG9ydCBkZWZhdWx0IFRhYmxlSGVhZGVyQ2VsbFxuIl19 */");
20
- const TableHeaderCell = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
21
- let _ref$align = _ref.align,
22
- align = _ref$align === void 0 ? 'left' : _ref$align,
23
- children = _ref.children,
24
- rest = _objectWithoutProperties(_ref, _excluded);
17
+ const TableHeaderCell = /*#__PURE__*/(0, _react.forwardRef)(({
18
+ align = 'left',
19
+ children,
20
+ ...rest
21
+ }, ref) => {
25
22
  return (0, _react2.jsx)("th", _extends({
26
23
  align: align,
27
24
  css: tableHeadCellStyle(align)
@@ -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
  */
@@ -8,26 +8,24 @@ var _react = _interopRequireWildcard(require("react"));
8
8
  var _classnames = _interopRequireDefault(require("classnames"));
9
9
  var _react2 = require("@emotion/react");
10
10
  var _Table = require("./Table");
11
- const _excluded = ["children", "className", "isSelected"];
12
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
14
13
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
14
  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); }
16
- 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; }
17
- 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; }
18
15
  const ClassName = {
19
16
  IS_INTERACTIVE: 'is-interactive',
20
17
  IS_SELECTED: 'is-selected'
21
18
  };
22
19
  const tableRowStyle = /*#__PURE__*/(0, _react2.css)("height:2.75rem;&.", ClassName.IS_INTERACTIVE, "{&:hover td{background:rgba(73, 162, 223, 0.08);cursor:pointer;}&:active td{background:rgba(73, 162, 223, 0.16);}&:focus td{background:rgba(73, 162, 223, 0.16);outline:none;}&.", ClassName.IS_SELECTED, " td{background:rgba(73, 162, 223, 0.12);}}" + (process.env.NODE_ENV === "production" ? "" : ";label:tableRowStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS9UYWJsZVJvdy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJ5QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvdGF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ZCB7XG4gICAgICBiYWNrZ3JvdW5kOiByZ2JhKDczLCAxNjIsIDIyMywgMC4xNik7XG4gICAgfVxuXG4gICAgJjpmb2N1cyB0ZCB7XG4gICAgICBiYWNrZ3JvdW5kOiByZ2JhKDczLCAxNjIsIDIyMywgMC4xNik7XG4gICAgICBvdXRsaW5lOiBub25lO1xuICAgIH1cblxuICAgICYuJHtDbGFzc05hbWUuSVNfU0VMRUNURUR9IHRkIHtcbiAgICAgIGJhY2tncm91bmQ6IHJnYmEoNzMsIDE2MiwgMjIzLCAwLjEyKTtcbiAgICB9XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IFRhYmxlUm93ID0gZm9yd2FyZFJlZjxIVE1MVGFibGVSb3dFbGVtZW50LCBUYWJsZVJvd1Byb3BzPihcbiAgKHsgY2hpbGRyZW4sIGNsYXNzTmFtZSwgaXNTZWxlY3RlZCA9IGZhbHNlLCAuLi5yZXN0IH06IFRhYmxlUm93UHJvcHMsIHJlZikgPT4ge1xuICAgIGNvbnN0IHsgaXNJbnRlcmFjdGl2ZSB9ID0gdXNlVGFibGUoKVxuXG4gICAgcmV0dXJuIChcbiAgICAgIDx0clxuICAgICAgICBjbGFzc05hbWU9e2NsYXNzTmFtZXMoY2xhc3NOYW1lLCB7XG4gICAgICAgICAgW0NsYXNzTmFtZS5JU19TRUxFQ1RFRF06IGlzU2VsZWN0ZWQsXG4gICAgICAgICAgW0NsYXNzTmFtZS5JU19JTlRFUkFDVElWRV06IGlzSW50ZXJhY3RpdmUsXG4gICAgICAgIH0pfVxuICAgICAgICBjc3M9e3RhYmxlUm93U3R5bGV9XG4gICAgICAgIHsuLi5yZXN0fVxuICAgICAgICByZWY9e3JlZn1cbiAgICAgID5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC90cj5cbiAgICApXG4gIH1cbilcblxuZXhwb3J0IGRlZmF1bHQgVGFibGVSb3dcbiJdfQ== */");
23
- const TableRow = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
24
- let children = _ref.children,
25
- className = _ref.className,
26
- _ref$isSelected = _ref.isSelected,
27
- isSelected = _ref$isSelected === void 0 ? false : _ref$isSelected,
28
- rest = _objectWithoutProperties(_ref, _excluded);
29
- const _useTable = (0, _Table.useTable)(),
30
- isInteractive = _useTable.isInteractive;
20
+ const TableRow = /*#__PURE__*/(0, _react.forwardRef)(({
21
+ children,
22
+ className,
23
+ isSelected = false,
24
+ ...rest
25
+ }, ref) => {
26
+ const {
27
+ isInteractive
28
+ } = (0, _Table.useTable)();
31
29
  return (0, _react2.jsx)("tr", _extends({
32
30
  className: (0, _classnames.default)(className, {
33
31
  [ClassName.IS_SELECTED]: isSelected,
@@ -9,7 +9,7 @@ Object.keys(_Table).forEach(function (key) {
9
9
  if (key in exports && exports[key] === _Table[key]) return;
10
10
  Object.defineProperty(exports, key, {
11
11
  enumerable: true,
12
- get: function get() {
12
+ get: function () {
13
13
  return _Table[key];
14
14
  }
15
15
  });
@@ -20,7 +20,7 @@ Object.keys(_TableHead).forEach(function (key) {
20
20
  if (key in exports && exports[key] === _TableHead[key]) return;
21
21
  Object.defineProperty(exports, key, {
22
22
  enumerable: true,
23
- get: function get() {
23
+ get: function () {
24
24
  return _TableHead[key];
25
25
  }
26
26
  });
@@ -31,7 +31,7 @@ Object.keys(_TableBody).forEach(function (key) {
31
31
  if (key in exports && exports[key] === _TableBody[key]) return;
32
32
  Object.defineProperty(exports, key, {
33
33
  enumerable: true,
34
- get: function get() {
34
+ get: function () {
35
35
  return _TableBody[key];
36
36
  }
37
37
  });
@@ -42,7 +42,7 @@ Object.keys(_TableRow).forEach(function (key) {
42
42
  if (key in exports && exports[key] === _TableRow[key]) return;
43
43
  Object.defineProperty(exports, key, {
44
44
  enumerable: true,
45
- get: function get() {
45
+ get: function () {
46
46
  return _TableRow[key];
47
47
  }
48
48
  });
@@ -53,7 +53,7 @@ Object.keys(_TableHeaderCell).forEach(function (key) {
53
53
  if (key in exports && exports[key] === _TableHeaderCell[key]) return;
54
54
  Object.defineProperty(exports, key, {
55
55
  enumerable: true,
56
- get: function get() {
56
+ get: function () {
57
57
  return _TableHeaderCell[key];
58
58
  }
59
59
  });
@@ -64,7 +64,7 @@ Object.keys(_TableDataCell).forEach(function (key) {
64
64
  if (key in exports && exports[key] === _TableDataCell[key]) return;
65
65
  Object.defineProperty(exports, key, {
66
66
  enumerable: true,
67
- get: function get() {
67
+ get: function () {
68
68
  return _TableDataCell[key];
69
69
  }
70
70
  });
@@ -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;
@@ -11,18 +11,17 @@ var _react3 = _interopRequireDefault(require("@tippyjs/react"));
11
11
  var _theme = require("@dfds-ui/theme");
12
12
  var _typography = require("@dfds-ui/typography");
13
13
  var _flexbox = require("./../flexbox");
14
- const _excluded = ["delay"];
15
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
16
15
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
- 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; }
19
- 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; }
20
17
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
18
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
22
- const colors = _theme.theme.colors,
23
- spacing = _theme.theme.spacing,
24
- radii = _theme.theme.radii,
25
- elevation = _theme.theme.elevation;
19
+ const {
20
+ colors,
21
+ spacing,
22
+ radii,
23
+ elevation
24
+ } = _theme.theme;
26
25
  const StyledTippy = /*#__PURE__*/(0, _base.default)(_react3.default, process.env.NODE_ENV === "production" ? {
27
26
  shouldForwardProp: prop => prop !== 'css' // this will prevent warnings emitted from tippy
28
27
  ,
@@ -86,10 +85,10 @@ const Tooltip = ({
86
85
  *
87
86
  * NOTE: It is important that the component being wrapped forwards a ref to the DOM node.
88
87
  */
89
- const UnstableWithTooltip = _ref2 => {
90
- let _ref2$delay = _ref2.delay,
91
- delay = _ref2$delay === void 0 ? [0, 1500] : _ref2$delay,
92
- rest = _objectWithoutProperties(_ref2, _excluded);
88
+ const UnstableWithTooltip = ({
89
+ delay = [0, 1500],
90
+ ...rest
91
+ }) => {
93
92
  return (0, _react2.jsx)(StyledTippy
94
93
  // popperOptions={{
95
94
  // modifiers: {
@@ -5,16 +5,16 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Tooltip", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Tooltip.default;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "UnstableWithTooltip", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _Tooltip.UnstableWithTooltip;
16
16
  }
17
17
  });
18
18
  var _Tooltip = _interopRequireWildcard(require("./Tooltip"));
19
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
20
20
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -9,11 +9,8 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _react2 = require("@emotion/react");
10
10
  var _styles = require("./../styles");
11
11
  var _theme = require("@dfds-ui/theme");
12
- const _excluded = ["as", "styledAs", "className", "noMargin", "children"];
13
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
13
  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); }
15
- 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; }
16
- 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; }
17
14
  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)."; }
18
15
  const marginStyles = process.env.NODE_ENV === "production" ? {
19
16
  name: "1woa6zv",
@@ -75,14 +72,14 @@ const H4 = /*#__PURE__*/(0, _base.default)("h4", process.env.NODE_ENV === "produ
75
72
  noMargin
76
73
  }) => noMargin && noMarginStyles, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBvZ3JhcGh5L0hlYWRsaW5lcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUUwQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvdHlwb2dyYXBoeS9IZWFkbGluZXMudHN4Iiwic291cm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ZXNcbiAgY2xhc3NOYW1lPzogc3RyaW5nXG4gIG5vTWFyZ2luPzogYm9vbGVhblxufT4gPSAoeyBhcyA9ICdoMScsIHN0eWxlZEFzLCBjbGFzc05hbWUsIG5vTWFyZ2luLCBjaGlsZHJlbiwgLi4ucmVzdCB9KSA9PiB7XG4gIGNvbnN0IEggPSBhc1xuICBjb25zdCBzdHlsZSA9IHN0eWxlZEFzXG4gICAgPyBzdHlsZWRBc1xuICAgIDogdHlwZW9mIGFzID09PSAnc3RyaW5nJyAmJiBhcyBpbiBoZWFkbGluZVN0eWxlc1xuICAgID8gKGFzIGFzIGtleW9mIHR5cGVvZiBoZWFkbGluZVN0eWxlcylcbiAgICA6ICdoMSdcblxuICByZXR1cm4gKFxuICAgIDxIIGNzcz17W2hlYWRsaW5lU3R5bGVzW3N0eWxlXSwgbm9NYXJnaW4gJiYgbm9NYXJnaW5TdHlsZXNdfSBjbGFzc05hbWU9e2NsYXNzTmFtZX0gey4uLnJlc3R9PlxuICAgICAge2NoaWxkcmVufVxuICAgIDwvSD5cbiAgKVxufVxuXG4vLyBBbGlhc2VzXG5leHBvcnQgY29uc3QgSGVyb0hlYWRsaW5lID0gSDFcbmV4cG9ydCBjb25zdCBTZWN0aW9uSGVhZGxpbmUgPSBIMlxuZXhwb3J0IGNvbnN0IFN1YkhlYWRsaW5lID0gSDNcbmV4cG9ydCBjb25zdCBTbWFsbEhlYWRsaW5lID0gSDRcbiJdfQ== */"));
77
74
  exports.H4 = H4;
78
- const Headline = _ref => {
79
- let _ref$as = _ref.as,
80
- as = _ref$as === void 0 ? 'h1' : _ref$as,
81
- styledAs = _ref.styledAs,
82
- className = _ref.className,
83
- noMargin = _ref.noMargin,
84
- children = _ref.children,
85
- rest = _objectWithoutProperties(_ref, _excluded);
75
+ const Headline = ({
76
+ as = 'h1',
77
+ styledAs,
78
+ className,
79
+ noMargin,
80
+ children,
81
+ ...rest
82
+ }) => {
86
83
  const H = as;
87
84
  const style = styledAs ? styledAs : typeof as === 'string' && as in headlineStyles ? as : 'h1';
88
85
  return (0, _react2.jsx)(H, _extends({
@@ -9,7 +9,7 @@ Object.keys(_Headlines).forEach(function (key) {
9
9
  if (key in exports && exports[key] === _Headlines[key]) return;
10
10
  Object.defineProperty(exports, key, {
11
11
  enumerable: true,
12
- get: function get() {
12
+ get: function () {
13
13
  return _Headlines[key];
14
14
  }
15
15
  });
@@ -20,7 +20,7 @@ Object.keys(_Text).forEach(function (key) {
20
20
  if (key in exports && exports[key] === _Text[key]) return;
21
21
  Object.defineProperty(exports, key, {
22
22
  enumerable: true,
23
- get: function get() {
23
+ get: function () {
24
24
  return _Text[key];
25
25
  }
26
26
  });
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type LockBodyScrollProps = {
2
+ export type LockBodyScrollProps = {
3
3
  /**
4
4
  * If `true` scroll locking will be enabled
5
5
  */
@@ -18,7 +18,7 @@ export declare type LockBodyScrollProps = {
18
18
  preserveScrollPosition?: boolean;
19
19
  children?: React.ReactNode;
20
20
  };
21
- export declare type LockBodyScrollResult = {
21
+ export type LockBodyScrollResult = {
22
22
  getGap(): number;
23
23
  };
24
24
  export declare const LockBodyScroll: React.ForwardRefExoticComponent<LockBodyScrollProps & React.RefAttributes<LockBodyScrollResult>>;
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,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,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 {};
@@ -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,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,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,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,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
  */
@@ -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,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,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
  */
@@ -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,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;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TextFieldProps } from '../text-field/TextField';
3
- declare const _default: import("@emotion/styled").StyledComponent<Pick<TextFieldProps, "max" | "required" | "type" | "key" | "id" | "height" | "width" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "label" | "slot" | "style" | "title" | "dir" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "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" | "inverted" | "hideAsterisk" | "assistiveText" | "hintText" | "errorMessage"> & React.RefAttributes<HTMLInputElement> & {
3
+ declare const _default: import("@emotion/styled").StyledComponent<Pick<TextFieldProps, "max" | "required" | "type" | "key" | "id" | "height" | "width" | "name" | "min" | "color" | "translate" | "value" | "hidden" | "form" | "label" | "slot" | "style" | "title" | "dir" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "role" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "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" | "inverted" | "hideAsterisk" | "assistiveText" | "hintText" | "errorMessage"> & React.RefAttributes<HTMLInputElement> & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
5
  }, {}, {}>;
6
6
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { LabelProps } from '../label/Label';
3
- declare type FieldProps = {
3
+ type FieldProps = {
4
4
  labelProps?: LabelProps;
5
5
  label?: React.ReactNode;
6
6
  required?: boolean;