@dfds-ui/react-components 2.0.23 → 2.0.24-alpha.e06bd8a5

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 (295) hide show
  1. package/app-bar/AppBar.js +1 -1
  2. package/app-bar/AppBarContext.js +1 -1
  3. package/app-bar/AppBarItem.d.ts +1 -1
  4. package/app-bar/AppBarItem.js +1 -1
  5. package/assertions/banner/Banner.js +1 -1
  6. package/assertions/toast/Toast.d.ts +2 -1
  7. package/assertions/toast/Toast.js +10 -8
  8. package/assertions/toast/Toaster.js +8 -6
  9. package/card/Card.js +1 -1
  10. package/chip/Chip.js +1 -1
  11. package/cjs/app-bar/AppBar.js +3 -3
  12. package/cjs/app-bar/AppBarContext.js +3 -3
  13. package/cjs/app-bar/AppBarDrawer.js +2 -2
  14. package/cjs/app-bar/AppBarItem.js +3 -3
  15. package/cjs/assertions/banner/Banner.js +3 -3
  16. package/cjs/assertions/toast/Toast.js +10 -8
  17. package/cjs/assertions/toast/Toaster.js +8 -6
  18. package/cjs/assertions/toast/index.js +2 -2
  19. package/cjs/badge/index.js +2 -2
  20. package/cjs/button/IconButton.js +2 -2
  21. package/cjs/button/LinkButton.js +2 -2
  22. package/cjs/button/index.js +2 -2
  23. package/cjs/card/Card.js +4 -4
  24. package/cjs/chip/Chip.js +3 -3
  25. package/cjs/chip/index.js +2 -2
  26. package/cjs/common/arrow.js +4 -4
  27. package/cjs/common/emotionCloneElement.js +5 -3
  28. package/cjs/common/polymorphic.js +4 -1
  29. package/cjs/common/use-media.js +1 -1
  30. package/cjs/counter/Counter.js +3 -3
  31. package/cjs/counter/PluralCounter.js +3 -3
  32. package/cjs/data-table/DataTable.js +4 -3
  33. package/cjs/date-range-picker/DateRangePicker.js +5 -5
  34. package/cjs/dropdown-menu/Dropdown.js +1 -1
  35. package/cjs/dropdown-menu/DropdownContext.js +2 -2
  36. package/cjs/dropdown-menu/MenuItem.js +1 -1
  37. package/cjs/dropdown-menu/index.js +2 -2
  38. package/cjs/elevation/index.js +2 -0
  39. package/cjs/forms/checkbox/ExampleControlComponent.js +1 -1
  40. package/cjs/forms/email-field/EmailField.js +1 -2
  41. package/cjs/forms/input/InputComposition.js +10 -3
  42. package/cjs/forms/password-field/PasswordField.js +4 -4
  43. package/cjs/forms/reactselect/ReactSelect.js +8 -6
  44. package/cjs/forms/searchable-select/AsyncSearchableSelect.js +1 -0
  45. package/cjs/forms/select/Select.js +1 -1
  46. package/cjs/forms/tel-field/TelField.js +1 -3
  47. package/cjs/forms/text-field/TextField.js +1 -1
  48. package/cjs/global-styles/ResetStyles.js +7 -8
  49. package/cjs/ie-banner/IEBanner.js +3 -3
  50. package/cjs/localization/LocaleFlag.js +2 -2
  51. package/cjs/logo/Logo.js +2 -2
  52. package/cjs/menu/index.js +2 -2
  53. package/cjs/nav-bar/NavBar.js +3 -3
  54. package/cjs/nav-bar/index.js +2 -2
  55. package/cjs/progress-bar/index.js +2 -2
  56. package/cjs/side-sheet/SideSheet.js +3 -3
  57. package/cjs/side-sheet/SideSheetContent.js +2 -2
  58. package/cjs/side-sheet/SideSheetFooter.js +2 -2
  59. package/cjs/side-sheet/SideSheetHeader.js +2 -2
  60. package/cjs/side-sheet/index.js +2 -2
  61. package/cjs/site-layout/index.js +2 -2
  62. package/cjs/step/Step.js +2 -2
  63. package/cjs/stepper/Stepper.js +7 -5
  64. package/cjs/styles/index.js +2 -2
  65. package/cjs/styles/style-helpers.js +1 -1
  66. package/cjs/surface/Surface.js +7 -5
  67. package/cjs/tab/Tabs.js +3 -3
  68. package/cjs/tab/TabsContext.js +2 -2
  69. package/cjs/table/Table.js +2 -2
  70. package/cjs/table/TableBody.js +2 -2
  71. package/cjs/table/TableDataCell.js +2 -2
  72. package/cjs/table/TableHead.js +2 -2
  73. package/cjs/table/TableHeaderCell.js +2 -2
  74. package/cjs/table/TableRow.js +2 -2
  75. package/cjs/tooltip/Tooltip.js +2 -2
  76. package/cjs/tooltip/index.js +2 -2
  77. package/common/arrow.js +4 -4
  78. package/common/emotionCloneElement.js +6 -3
  79. package/common/polymorphic.js +2 -0
  80. package/common/use-media.js +1 -1
  81. package/counter/Counter.js +1 -1
  82. package/counter/PluralCounter.js +1 -1
  83. package/data-table/DataTable.js +1 -1
  84. package/date-range-picker/DateRangePicker.js +4 -4
  85. package/dropdown-menu/Dropdown.js +1 -1
  86. package/dropdown-menu/MenuItem.js +1 -1
  87. package/forms/checkbox/ExampleControlComponent.js +1 -1
  88. package/forms/password-field/PasswordField.js +1 -1
  89. package/forms/reactselect/ReactSelect.js +6 -3
  90. package/forms/text-field/TextField.js +2 -0
  91. package/grid/Container.js +4 -1
  92. package/ie-banner/IEBanner.js +1 -1
  93. package/nav-bar/NavBar.js +1 -1
  94. package/package.json +11 -11
  95. package/side-sheet/SideSheet.js +1 -1
  96. package/stepper/Stepper.js +6 -3
  97. package/surface/Surface.js +6 -3
  98. package/tab/Tabs.js +1 -1
  99. package/table/TableHead.js +4 -1
  100. package/table/TableRow.js +4 -1
  101. package/cjs/accordion/Accordion.d.ts +0 -101
  102. package/cjs/accordion/AccordionContent.d.ts +0 -13
  103. package/cjs/accordion/AccordionSmall.d.ts +0 -55
  104. package/cjs/accordion/index.d.ts +0 -3
  105. package/cjs/app-bar/AppBar.d.ts +0 -13
  106. package/cjs/app-bar/AppBarContext.d.ts +0 -12
  107. package/cjs/app-bar/AppBarDrawer.d.ts +0 -5
  108. package/cjs/app-bar/AppBarIconButton.d.ts +0 -10
  109. package/cjs/app-bar/AppBarItem.d.ts +0 -23
  110. package/cjs/app-bar/AppBarListItem.d.ts +0 -16
  111. package/cjs/app-bar/index.d.ts +0 -7
  112. package/cjs/assertions/banner/Banner.d.ts +0 -74
  113. package/cjs/assertions/banner/BannerAction.d.ts +0 -19
  114. package/cjs/assertions/banner/BannerTypography.d.ts +0 -7
  115. package/cjs/assertions/banner/index.d.ts +0 -3
  116. package/cjs/assertions/index.d.ts +0 -2
  117. package/cjs/assertions/toast/Toast.d.ts +0 -11
  118. package/cjs/assertions/toast/Toaster.d.ts +0 -19
  119. package/cjs/assertions/toast/index.d.ts +0 -2
  120. package/cjs/badge/Badge.d.ts +0 -26
  121. package/cjs/badge/index.d.ts +0 -2
  122. package/cjs/button/BadgeIcon.d.ts +0 -7
  123. package/cjs/button/BaseButton.d.ts +0 -14
  124. package/cjs/button/Button.d.ts +0 -19
  125. package/cjs/button/IconButton.d.ts +0 -75
  126. package/cjs/button/LinkButton.d.ts +0 -8
  127. package/cjs/button/button-style.d.ts +0 -7
  128. package/cjs/button/index.d.ts +0 -7
  129. package/cjs/button-stack/ButtonStack.d.ts +0 -11
  130. package/cjs/button-stack/index.d.ts +0 -1
  131. package/cjs/card/Card.d.ts +0 -18
  132. package/cjs/card/CardActions.d.ts +0 -4
  133. package/cjs/card/CardContent.d.ts +0 -13
  134. package/cjs/card/CardMedia.d.ts +0 -18
  135. package/cjs/card/CardPriceTag.d.ts +0 -25
  136. package/cjs/card/CardTitle.d.ts +0 -18
  137. package/cjs/card/index.d.ts +0 -6
  138. package/cjs/chip/Chip.d.ts +0 -19
  139. package/cjs/chip/index.d.ts +0 -2
  140. package/cjs/common/LockBodyScroll.d.ts +0 -25
  141. package/cjs/common/arrow.d.ts +0 -6
  142. package/cjs/common/emotionCloneElement.d.ts +0 -3
  143. package/cjs/common/intent.d.ts +0 -3
  144. package/cjs/common/miniMoize.d.ts +0 -1
  145. package/cjs/common/polymorphic.d.ts +0 -25
  146. package/cjs/common/use-media.d.ts +0 -1
  147. package/cjs/common/useOnClickOutside.d.ts +0 -4
  148. package/cjs/common/utils.d.ts +0 -3
  149. package/cjs/counter/Counter.d.ts +0 -26
  150. package/cjs/counter/PluralCounter.d.ts +0 -13
  151. package/cjs/counter/index.d.ts +0 -2
  152. package/cjs/data-table/DataTable.d.ts +0 -10
  153. package/cjs/data-table/index.d.ts +0 -1
  154. package/cjs/date-range-picker/DatePickerDefaultStyles.d.ts +0 -2
  155. package/cjs/date-range-picker/DatePickerDfdsStyles.d.ts +0 -2
  156. package/cjs/date-range-picker/DateRangePicker.d.ts +0 -33
  157. package/cjs/date-range-picker/index.d.ts +0 -1
  158. package/cjs/divider/Divider.d.ts +0 -26
  159. package/cjs/divider/index.d.ts +0 -1
  160. package/cjs/drawer/Drawer.d.ts +0 -31
  161. package/cjs/drawer/index.d.ts +0 -1
  162. package/cjs/dropdown-menu/Dropdown.d.ts +0 -46
  163. package/cjs/dropdown-menu/DropdownContext.d.ts +0 -13
  164. package/cjs/dropdown-menu/MenuCheckbox.d.ts +0 -34
  165. package/cjs/dropdown-menu/MenuItem.d.ts +0 -45
  166. package/cjs/dropdown-menu/MenuTitle.d.ts +0 -14
  167. package/cjs/dropdown-menu/index.d.ts +0 -5
  168. package/cjs/elevation/index.d.ts +0 -3
  169. package/cjs/flexbox/FlexBox.d.ts +0 -100
  170. package/cjs/flexbox/index.d.ts +0 -1
  171. package/cjs/footer/Footer.d.ts +0 -7
  172. package/cjs/footer/index.d.ts +0 -1
  173. package/cjs/forms/assistive-text/AssistiveText.d.ts +0 -8
  174. package/cjs/forms/asterisk/Asterisk.d.ts +0 -3
  175. package/cjs/forms/checkbox/Checkbox.d.ts +0 -39
  176. package/cjs/forms/checkbox/ExampleControlComponent.d.ts +0 -10
  177. package/cjs/forms/checkbox/index.d.ts +0 -1
  178. package/cjs/forms/email-field/EmailField.d.ts +0 -6
  179. package/cjs/forms/error-text/ErrorText.d.ts +0 -8
  180. package/cjs/forms/field/Field.d.ts +0 -10
  181. package/cjs/forms/index.d.ts +0 -21
  182. package/cjs/forms/input/Input.d.ts +0 -19
  183. package/cjs/forms/input/InputComposition.d.ts +0 -43
  184. package/cjs/forms/label/Label.d.ts +0 -10
  185. package/cjs/forms/number-field/NumberField.d.ts +0 -6
  186. package/cjs/forms/password-field/PasswordField.d.ts +0 -4
  187. package/cjs/forms/radio/Radio.d.ts +0 -35
  188. package/cjs/forms/reactselect/ReactSelect.d.ts +0 -25
  189. package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +0 -6
  190. package/cjs/forms/select/Select.d.ts +0 -16
  191. package/cjs/forms/select-field/SelectField.d.ts +0 -17
  192. package/cjs/forms/switch/Switch.d.ts +0 -13
  193. package/cjs/forms/tel-field/TelField.d.ts +0 -6
  194. package/cjs/forms/text-field/TextField.d.ts +0 -26
  195. package/cjs/global-styles/GlobalStyles.d.ts +0 -3
  196. package/cjs/global-styles/ResetStyles.d.ts +0 -9
  197. package/cjs/global-styles/sanitize.d.ts +0 -1
  198. package/cjs/grid/Column.d.ts +0 -10
  199. package/cjs/grid/Container.d.ts +0 -15
  200. package/cjs/grid/index.d.ts +0 -2
  201. package/cjs/hero/Hero.d.ts +0 -10
  202. package/cjs/hero/index.d.ts +0 -1
  203. package/cjs/hero/stripes.d.ts +0 -6
  204. package/cjs/ie-banner/IEBanner.d.ts +0 -11
  205. package/cjs/ie-banner/index.d.ts +0 -1
  206. package/cjs/index.d.ts +0 -44
  207. package/cjs/layout/LayoutLegacy.d.ts +0 -2
  208. package/cjs/lists/FeatureList.d.ts +0 -24
  209. package/cjs/lists/ListAddon.d.ts +0 -11
  210. package/cjs/lists/ListDivider.d.ts +0 -5
  211. package/cjs/lists/ListIcon.d.ts +0 -18
  212. package/cjs/lists/ListItem.d.ts +0 -46
  213. package/cjs/lists/ListText.d.ts +0 -39
  214. package/cjs/lists/ListTextGroup.d.ts +0 -15
  215. package/cjs/lists/ListTitle.d.ts +0 -4
  216. package/cjs/lists/index.d.ts +0 -8
  217. package/cjs/loader/DfdsLoader.d.ts +0 -9
  218. package/cjs/loader/Loader.d.ts +0 -6
  219. package/cjs/loader/index.d.ts +0 -2
  220. package/cjs/localization/LocaleFlag.d.ts +0 -13
  221. package/cjs/localization/index.d.ts +0 -2
  222. package/cjs/localization/locales.d.ts +0 -35
  223. package/cjs/logo/Logo.d.ts +0 -11
  224. package/cjs/logo/index.d.ts +0 -1
  225. package/cjs/media/index.d.ts +0 -2
  226. package/cjs/menu/Menu.d.ts +0 -7
  227. package/cjs/menu/index.d.ts +0 -2
  228. package/cjs/mobile-stepper/MobileStepper.d.ts +0 -25
  229. package/cjs/mobile-stepper/index.d.ts +0 -1
  230. package/cjs/nav-bar/NavBar.d.ts +0 -35
  231. package/cjs/nav-bar/index.d.ts +0 -2
  232. package/cjs/nav-menu/NavMenuItem.d.ts +0 -10
  233. package/cjs/nav-menu/index.d.ts +0 -1
  234. package/cjs/pagination/Pagination.d.ts +0 -44
  235. package/cjs/pagination/Pagination.styles.d.ts +0 -6
  236. package/cjs/pagination/index.d.ts +0 -1
  237. package/cjs/popper/Popper.d.ts +0 -29
  238. package/cjs/popper/index.d.ts +0 -1
  239. package/cjs/progress-bar/ProgressBar.d.ts +0 -8
  240. package/cjs/progress-bar/index.d.ts +0 -2
  241. package/cjs/schedule/ScheduleItem.d.ts +0 -21
  242. package/cjs/schedule/ScheduleList.d.ts +0 -11
  243. package/cjs/schedule/index.d.ts +0 -2
  244. package/cjs/side-sheet/SideSheet.d.ts +0 -57
  245. package/cjs/side-sheet/SideSheetCloseButton.d.ts +0 -13
  246. package/cjs/side-sheet/SideSheetContent.d.ts +0 -7
  247. package/cjs/side-sheet/SideSheetFooter.d.ts +0 -7
  248. package/cjs/side-sheet/SideSheetHeader.d.ts +0 -9
  249. package/cjs/side-sheet/SideSheetHeadline.d.ts +0 -7
  250. package/cjs/side-sheet/index.d.ts +0 -4
  251. package/cjs/site-layout/SiteLayout.d.ts +0 -36
  252. package/cjs/site-layout/index.d.ts +0 -2
  253. package/cjs/skeleton/Skeleton.d.ts +0 -8
  254. package/cjs/skeleton/index.d.ts +0 -1
  255. package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +0 -26
  256. package/cjs/social-media-link-list/index.d.ts +0 -1
  257. package/cjs/spinner/Spinner.d.ts +0 -58
  258. package/cjs/spinner/index.d.ts +0 -1
  259. package/cjs/step/Step.d.ts +0 -45
  260. package/cjs/step/Step.styles.d.ts +0 -4
  261. package/cjs/step/StepButton.d.ts +0 -4
  262. package/cjs/step/StepContent.d.ts +0 -6
  263. package/cjs/step/StepContext.d.ts +0 -12
  264. package/cjs/step/StepLabel.d.ts +0 -7
  265. package/cjs/step/index.d.ts +0 -1
  266. package/cjs/stepper/Stepper.d.ts +0 -25
  267. package/cjs/stepper/StepperContext.d.ts +0 -9
  268. package/cjs/stepper/index.d.ts +0 -1
  269. package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +0 -5
  270. package/cjs/stepper-feedback-message/index.d.ts +0 -1
  271. package/cjs/styles/index.d.ts +0 -3
  272. package/cjs/styles/media.d.ts +0 -21
  273. package/cjs/styles/rem.d.ts +0 -1
  274. package/cjs/styles/style-helpers.d.ts +0 -1
  275. package/cjs/styles/theme.d.ts +0 -39
  276. package/cjs/surface/Surface.d.ts +0 -32
  277. package/cjs/surface/index.d.ts +0 -1
  278. package/cjs/tab/Tab.d.ts +0 -12
  279. package/cjs/tab/TabPanel.d.ts +0 -7
  280. package/cjs/tab/Tabs.d.ts +0 -11
  281. package/cjs/tab/TabsContext.d.ts +0 -16
  282. package/cjs/tab/index.d.ts +0 -4
  283. package/cjs/table/Table.d.ts +0 -22
  284. package/cjs/table/TableBody.d.ts +0 -9
  285. package/cjs/table/TableDataCell.d.ts +0 -14
  286. package/cjs/table/TableHead.d.ts +0 -14
  287. package/cjs/table/TableHeaderCell.d.ts +0 -15
  288. package/cjs/table/TableRow.d.ts +0 -17
  289. package/cjs/table/index.d.ts +0 -6
  290. package/cjs/test/Test.d.ts +0 -8
  291. package/cjs/tooltip/Tooltip.d.ts +0 -26
  292. package/cjs/tooltip/index.d.ts +0 -2
  293. package/cjs/typography/Headlines.d.ts +0 -70
  294. package/cjs/typography/Text.d.ts +0 -5
  295. package/cjs/typography/index.d.ts +0 -2
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- export declare type Alignment = 'left' | 'right';
3
- export declare type Size = 'small' | 'medium';
4
- interface InputProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'size' | 'css'> {
5
- name: string;
6
- multiline?: boolean;
7
- required?: boolean;
8
- error?: boolean;
9
- className?: string;
10
- wrapperClassName?: string;
11
- icon?: React.ReactNode;
12
- iconAlignment?: Alignment;
13
- placeholder?: string;
14
- placeholderAlignment?: Alignment;
15
- size?: Size;
16
- htmlSize?: number;
17
- }
18
- declare const _default: React.ForwardRefExoticComponent<Pick<InputProps, "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" | "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" | "multiline" | "htmlSize" | "placeholderAlignment" | "wrapperClassName" | "iconAlignment"> & React.RefAttributes<HTMLInputElement>>;
19
- export default _default;
@@ -1,43 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- export declare type Alignment = 'left' | 'right';
3
- export declare type Size = 'small' | 'medium' | 'large';
4
- declare type ReactInputProps = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
5
- export declare type InputCompositionProps = {
6
- visualSize?: Size;
7
- className?: string;
8
- children?: ReactNode;
9
- } & React.PropsWithoutRef<JSX.IntrinsicElements['div']>;
10
- export declare type InputIconProps = {
11
- icon: React.ElementType;
12
- color?: string;
13
- className?: string;
14
- size?: Size;
15
- };
16
- export declare type InputProps = {
17
- /**
18
- * Name of the input element
19
- */
20
- name: string;
21
- /**
22
- * Indicates that the input element has an error
23
- */
24
- error?: boolean;
25
- className?: string;
26
- placeholder?: string;
27
- placeholderAlignment?: Alignment;
28
- disabled?: boolean;
29
- children?: React.ReactNode;
30
- } & Omit<ReactInputProps, 'css'>;
31
- export declare function inputTypography(size: Size): import("@emotion/utils").SerializedStyles;
32
- export declare const InputComposition: ({ visualSize, children, ...rest }: InputCompositionProps) => JSX.Element;
33
- export declare const InputIcon: import("@emotion/styled").StyledComponent<InputIconProps & {
34
- theme?: import("@emotion/react").Theme | undefined;
35
- }, {}, {}>;
36
- export declare const InputAddon: import("@emotion/styled").StyledComponent<{
37
- className?: string | undefined;
38
- children?: ReactNode;
39
- } & {
40
- theme?: import("@emotion/react").Theme | undefined;
41
- }, {}, {}>;
42
- export declare const InputControl: React.ForwardRefExoticComponent<Pick<InputProps, "error" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement> | "placeholderAlignment"> & React.RefAttributes<HTMLInputElement>>;
43
- export {};
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- export declare type LabelProps = {
3
- required?: boolean;
4
- size?: string;
5
- htmlFor?: string;
6
- inverted?: boolean;
7
- hideAsterisk?: boolean;
8
- };
9
- declare const Label: React.FunctionComponent<LabelProps>;
10
- export default Label;
@@ -1,6 +0,0 @@
1
- import React from 'react';
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> & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- }, {}, {}>;
6
- export default _default;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { TextFieldProps } from '../text-field/TextField';
3
- declare const _default: React.ForwardRefExoticComponent<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>>;
4
- export default _default;
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- export declare const radioSizes: {
3
- small: {
4
- circle: string;
5
- mark: string;
6
- outline: string;
7
- fontSize: string;
8
- lineHeight: string;
9
- paddingLeft: string;
10
- };
11
- medium: {
12
- circle: string;
13
- mark: string;
14
- outline: string;
15
- fontSize: string;
16
- lineHeight: string;
17
- paddingLeft: string;
18
- };
19
- };
20
- export declare type BaseProps = Omit<JSX.IntrinsicElements['input'], 'size' | 'css'> & {
21
- htmlSize?: number;
22
- };
23
- export declare type Size = keyof typeof radioSizes;
24
- export declare type RadioProps = BaseProps & {
25
- className?: string;
26
- error?: boolean;
27
- name: string;
28
- value: string;
29
- onChange?: any;
30
- disabled?: boolean;
31
- checked?: boolean;
32
- size?: Size;
33
- };
34
- declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "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" | "htmlSize"> & React.RefAttributes<HTMLInputElement>>;
35
- export default Radio;
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import Select from 'react-select';
3
- export declare type BaseReactSelectProps = Omit<React.PropsWithRef<Select>, 'size' | 'css'>;
4
- export declare type Size = 'small' | 'medium';
5
- export declare const ReactSelectWrapper: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: React.ElementType<any> | undefined;
8
- } & {
9
- error?: boolean | undefined;
10
- size?: string | undefined;
11
- arrow?: boolean | undefined;
12
- selected?: boolean | undefined;
13
- }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
- export declare const Icon: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: React.ElementType<any> | undefined;
17
- } & {
18
- size?: Size | undefined;
19
- disabled?: boolean | undefined;
20
- }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
21
- export declare const Menu: (props: any) => JSX.Element;
22
- export declare const ClearIndicator: (props: any) => JSX.Element;
23
- /** @deprecated Use dfds-ui/forms */
24
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
25
- export default _default;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import AsyncSelect from 'react-select/async';
3
- export declare type SearchableSelectProps = Omit<React.PropsWithRef<AsyncSelect>, 'size' | 'css'>;
4
- export declare type Size = 'small' | 'medium';
5
- declare const AsyncSearchableSelect: React.ForwardRefRenderFunction<any, any>;
6
- export default AsyncSearchableSelect;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- export declare type BaseSelectProps = Omit<JSX.IntrinsicElements['select'], 'size' | 'css'>;
3
- export declare type Size = 'small' | 'medium';
4
- export declare type SelectProps = BaseSelectProps & {
5
- name: string;
6
- required?: boolean;
7
- error?: boolean;
8
- className?: string;
9
- icon?: React.ReactNode;
10
- wrapperClassName?: string;
11
- children?: React.ReactNode;
12
- size?: Size;
13
- htmlSize?: number;
14
- };
15
- declare const _default: React.ForwardRefExoticComponent<Pick<SelectProps, "required" | "error" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "autoComplete" | "autoFocus" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "htmlSize" | "wrapperClassName"> & React.RefAttributes<HTMLSelectElement>>;
16
- export default _default;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { SelectProps } from '../select/Select';
3
- declare type SelectFieldProps = SelectProps & {
4
- label?: React.ReactNode;
5
- disabled?: boolean;
6
- errorMessage?: string;
7
- assistiveText?: string;
8
- selected?: string;
9
- defaultValue?: string;
10
- value?: string;
11
- inverted?: boolean;
12
- as?: React.ElementType;
13
- };
14
- declare const _default: import("@emotion/styled").StyledComponent<Pick<SelectFieldProps, "required" | "error" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "label" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "as" | "autoComplete" | "autoFocus" | "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" | "selected" | "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" | "htmlSize" | "assistiveText" | "wrapperClassName" | "errorMessage"> & React.RefAttributes<HTMLInputElement> & {
15
- theme?: import("@emotion/react").Theme | undefined;
16
- }, {}, {}>;
17
- export default _default;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- declare type Size = 'small' | 'medium';
3
- declare type SwitchProps = React.PropsWithRef<JSX.IntrinsicElements['label']> & {
4
- name?: string;
5
- checked?: boolean;
6
- disabled?: boolean;
7
- onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
8
- right?: boolean;
9
- size?: Size;
10
- error?: boolean;
11
- };
12
- declare const Switch: React.FunctionComponent<SwitchProps>;
13
- export default Switch;
@@ -1,6 +0,0 @@
1
- import React from 'react';
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> & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- }, {}, {}>;
6
- export default _default;
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- import { Size } from '../input/Input';
3
- export declare type BaseInputProps = Omit<JSX.IntrinsicElements['input'], 'size' | 'css'>;
4
- export declare type TextFieldProps = BaseInputProps & {
5
- label?: React.ReactNode;
6
- name?: string;
7
- required?: boolean;
8
- hintText?: string;
9
- disabled?: boolean;
10
- defaultValue?: string;
11
- errorMessage?: string;
12
- assistiveText?: string;
13
- className?: string;
14
- size?: Size;
15
- value?: string;
16
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
17
- icon?: React.ReactNode;
18
- inverted?: boolean;
19
- type?: string;
20
- hideAsterisk?: boolean;
21
- };
22
- export declare const TextField: React.ForwardRefRenderFunction<HTMLInputElement, TextFieldProps>;
23
- 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> & {
24
- theme?: import("@emotion/react").Theme | undefined;
25
- }, {}, {}>;
26
- export default _default;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const GlobalStyles: () => JSX.Element;
3
- export declare const DfdsFontFace: () => JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Minimal/modern CSS reset.
4
- *
5
- * Taken from: https://www.joshwcomeau.com/css/custom-css-reset/
6
- *
7
- * TODO: Include this in the GlobalStyles component when adapted and tested in solutions.
8
- */
9
- export declare const ResetStyles: () => JSX.Element;
@@ -1 +0,0 @@
1
- export declare const sanitize: import("@emotion/utils").SerializedStyles;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- declare type ColumnProps = {
3
- m?: 6 | 12;
4
- l?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
5
- xl?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
6
- xxl?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
7
- children?: React.ReactNode;
8
- };
9
- declare const Column: React.FunctionComponent<ColumnProps>;
10
- export default Column;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { SurfaceType } from '../surface';
3
- declare type ContainerProps = {
4
- /**
5
- * Specify whether the container spans the entire width of its parent or it has a max-width set to 1200px (75rem)
6
- */
7
- fluid?: boolean;
8
- /**
9
- * Specify the surface variant for the container
10
- */
11
- surface?: SurfaceType;
12
- children?: React.ReactNode;
13
- };
14
- declare const Container: React.FC<ContainerProps>;
15
- export default Container;
@@ -1,2 +0,0 @@
1
- export { default as Container } from './Container';
2
- export { default as Column } from './Column';
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- declare type Props = {
3
- title: string;
4
- headline: string;
5
- headlineAs?: React.ElementType;
6
- imageSrc: string;
7
- color?: string;
8
- };
9
- declare const Hero: React.FC<Props>;
10
- export default Hero;
@@ -1 +0,0 @@
1
- export { default as Hero } from './Hero';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare type Props = {
3
- color?: string;
4
- };
5
- declare const Stripes: React.FC<Props>;
6
- export default Stripes;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- declare type IEBannerProps = {
3
- heading?: string;
4
- openInEdge: string;
5
- /**
6
- * Class name to be assigned to the component
7
- */
8
- className?: string;
9
- };
10
- declare const IEBanner: React.FunctionComponent<IEBannerProps>;
11
- export default IEBanner;
@@ -1 +0,0 @@
1
- export { default as IEBanner } from './IEBanner';
package/cjs/index.d.ts DELETED
@@ -1,44 +0,0 @@
1
- export { default as elevation } from './elevation';
2
- export { default as media } from './media';
3
- export { ResetStyles } from './global-styles/ResetStyles';
4
- export { GlobalStyles, DfdsFontFace } from './global-styles/GlobalStyles';
5
- export * from './accordion';
6
- export * from './app-bar';
7
- export * from './assertions';
8
- export * from './badge';
9
- export * from './button-stack';
10
- export * from './button';
11
- export * from './card';
12
- export * from './chip';
13
- export * from './common/polymorphic';
14
- export * from './counter';
15
- export * from './data-table';
16
- export * from './date-range-picker';
17
- export * from './drawer';
18
- export * from './footer';
19
- export * from './forms';
20
- export * from './grid';
21
- export * from './hero';
22
- export * from './ie-banner';
23
- export * from './lists';
24
- export * from './loader';
25
- export * from './localization';
26
- export * from './menu';
27
- export * from './nav-bar';
28
- export * from './nav-menu';
29
- export * from './pagination';
30
- export * from './popper';
31
- export * from './progress-bar';
32
- export * from './side-sheet';
33
- export * from './schedule';
34
- export * from './site-layout';
35
- export * from './social-media-link-list';
36
- export * from './spinner';
37
- export * from './styles';
38
- export * from './tab';
39
- export * from './table';
40
- export * from './typography';
41
- export * from './common/LockBodyScroll';
42
- export * from './dropdown-menu';
43
- export * from './skeleton';
44
- export * from './tooltip';
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Layout: () => JSX.Element;
@@ -1,24 +0,0 @@
1
- import React, { FunctionComponent } from 'react';
2
- import { FlexBoxProps } from './../flexbox/FlexBox';
3
- declare type FeatureListProps = {
4
- icon: any;
5
- items: string[];
6
- iconColor?: string;
7
- textTag?: React.ElementType;
8
- as?: React.ElementType;
9
- };
10
- declare type FeatureListComponent = FunctionComponent<FeatureListProps>;
11
- export declare const ListItem: import("@emotion/styled").StyledComponent<{
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: React.ElementType<any> | undefined;
14
- } & FlexBoxProps & {
15
- as?: React.ElementType<any> | undefined;
16
- } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
17
- children?: React.ReactNode;
18
- } & {
19
- theme?: import("@emotion/react").Theme | undefined;
20
- } & {
21
- iconColor?: string | undefined;
22
- }, {}, {}>;
23
- declare const FeatureList: FeatureListComponent;
24
- export default FeatureList;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- export declare type ListAddonProps = {
3
- className?: string;
4
- /**
5
- * HTML tag or custom component being rendered.
6
- */
7
- as?: React.ElementType;
8
- children?: React.ReactNode;
9
- };
10
- declare const ListAddon: ({ className, as, children, ...rest }: ListAddonProps) => JSX.Element;
11
- export default ListAddon;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { DividerProps } from '../divider';
3
- export declare type ListDividerProps = Pick<DividerProps, 'as' | 'indent' | 'margins'>;
4
- declare const ListDivider: ({ indent, margins, as, ...rest }: ListDividerProps) => JSX.Element;
5
- export default ListDivider;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- declare type Size = 'small' | 'medium' | 'large' | 'xl';
3
- declare type ListIconProps = {
4
- /**
5
- * Choose the needed icon.
6
- */
7
- icon: React.ElementType;
8
- /**
9
- * Choose the size of the icon.
10
- */
11
- size?: Size;
12
- /**
13
- * Choose the color of the icon.
14
- */
15
- color?: string;
16
- };
17
- declare const ListIcon: ({ icon: Icon, size, color, ...rest }: ListIconProps) => JSX.Element;
18
- export default ListIcon;