@dfds-ui/react-components 2.0.24-alpha.b9cb1ff2 → 2.0.24-alpha.bfbb1b77

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 (200) hide show
  1. package/app-bar/AppBarItem.d.ts +1 -1
  2. package/cjs/accordion/Accordion.d.ts +101 -0
  3. package/cjs/accordion/AccordionContent.d.ts +13 -0
  4. package/cjs/accordion/AccordionSmall.d.ts +55 -0
  5. package/cjs/accordion/index.d.ts +3 -0
  6. package/cjs/app-bar/AppBar.d.ts +13 -0
  7. package/cjs/app-bar/AppBarContext.d.ts +12 -0
  8. package/cjs/app-bar/AppBarDrawer.d.ts +5 -0
  9. package/cjs/app-bar/AppBarIconButton.d.ts +10 -0
  10. package/cjs/app-bar/AppBarItem.d.ts +23 -0
  11. package/cjs/app-bar/AppBarListItem.d.ts +16 -0
  12. package/cjs/app-bar/index.d.ts +7 -0
  13. package/cjs/assertions/banner/Banner.d.ts +74 -0
  14. package/cjs/assertions/banner/BannerAction.d.ts +19 -0
  15. package/cjs/assertions/banner/BannerTypography.d.ts +7 -0
  16. package/cjs/assertions/banner/index.d.ts +3 -0
  17. package/cjs/assertions/index.d.ts +2 -0
  18. package/cjs/assertions/toast/Toast.d.ts +12 -0
  19. package/cjs/assertions/toast/Toaster.d.ts +19 -0
  20. package/cjs/assertions/toast/index.d.ts +2 -0
  21. package/cjs/badge/Badge.d.ts +26 -0
  22. package/cjs/badge/index.d.ts +2 -0
  23. package/cjs/button/BadgeIcon.d.ts +7 -0
  24. package/cjs/button/BaseButton.d.ts +14 -0
  25. package/cjs/button/Button.d.ts +19 -0
  26. package/cjs/button/IconButton.d.ts +75 -0
  27. package/cjs/button/LinkButton.d.ts +8 -0
  28. package/cjs/button/button-style.d.ts +7 -0
  29. package/cjs/button/index.d.ts +7 -0
  30. package/cjs/button-stack/ButtonStack.d.ts +11 -0
  31. package/cjs/button-stack/index.d.ts +1 -0
  32. package/cjs/card/Card.d.ts +18 -0
  33. package/cjs/card/CardActions.d.ts +4 -0
  34. package/cjs/card/CardContent.d.ts +13 -0
  35. package/cjs/card/CardMedia.d.ts +18 -0
  36. package/cjs/card/CardPriceTag.d.ts +25 -0
  37. package/cjs/card/CardTitle.d.ts +18 -0
  38. package/cjs/card/index.d.ts +6 -0
  39. package/cjs/chip/Chip.d.ts +19 -0
  40. package/cjs/chip/index.d.ts +2 -0
  41. package/cjs/common/LockBodyScroll.d.ts +25 -0
  42. package/cjs/common/arrow.d.ts +6 -0
  43. package/cjs/common/emotionCloneElement.d.ts +3 -0
  44. package/cjs/common/intent.d.ts +3 -0
  45. package/cjs/common/miniMoize.d.ts +1 -0
  46. package/cjs/common/polymorphic.d.ts +25 -0
  47. package/cjs/common/use-media.d.ts +1 -0
  48. package/cjs/common/useOnClickOutside.d.ts +4 -0
  49. package/cjs/common/utils.d.ts +3 -0
  50. package/cjs/counter/Counter.d.ts +26 -0
  51. package/cjs/counter/PluralCounter.d.ts +13 -0
  52. package/cjs/counter/index.d.ts +2 -0
  53. package/cjs/data-table/DataTable.d.ts +10 -0
  54. package/cjs/data-table/index.d.ts +1 -0
  55. package/cjs/date-range-picker/DatePickerDefaultStyles.d.ts +2 -0
  56. package/cjs/date-range-picker/DatePickerDfdsStyles.d.ts +2 -0
  57. package/cjs/date-range-picker/DateRangePicker.d.ts +33 -0
  58. package/cjs/date-range-picker/index.d.ts +1 -0
  59. package/cjs/divider/Divider.d.ts +26 -0
  60. package/cjs/divider/index.d.ts +1 -0
  61. package/cjs/drawer/Drawer.d.ts +31 -0
  62. package/cjs/drawer/index.d.ts +1 -0
  63. package/cjs/dropdown-menu/Dropdown.d.ts +46 -0
  64. package/cjs/dropdown-menu/DropdownContext.d.ts +13 -0
  65. package/cjs/dropdown-menu/MenuCheckbox.d.ts +34 -0
  66. package/cjs/dropdown-menu/MenuItem.d.ts +45 -0
  67. package/cjs/dropdown-menu/MenuTitle.d.ts +14 -0
  68. package/cjs/dropdown-menu/index.d.ts +5 -0
  69. package/cjs/elevation/index.d.ts +3 -0
  70. package/cjs/flexbox/FlexBox.d.ts +100 -0
  71. package/cjs/flexbox/index.d.ts +1 -0
  72. package/cjs/footer/Footer.d.ts +7 -0
  73. package/cjs/footer/index.d.ts +1 -0
  74. package/cjs/forms/assistive-text/AssistiveText.d.ts +8 -0
  75. package/cjs/forms/asterisk/Asterisk.d.ts +3 -0
  76. package/cjs/forms/checkbox/Checkbox.d.ts +39 -0
  77. package/cjs/forms/checkbox/ExampleControlComponent.d.ts +10 -0
  78. package/cjs/forms/checkbox/index.d.ts +1 -0
  79. package/cjs/forms/email-field/EmailField.d.ts +6 -0
  80. package/cjs/forms/error-text/ErrorText.d.ts +8 -0
  81. package/cjs/forms/field/Field.d.ts +10 -0
  82. package/cjs/forms/index.d.ts +21 -0
  83. package/cjs/forms/input/Input.d.ts +19 -0
  84. package/cjs/forms/input/InputComposition.d.ts +43 -0
  85. package/cjs/forms/label/Label.d.ts +10 -0
  86. package/cjs/forms/number-field/NumberField.d.ts +6 -0
  87. package/cjs/forms/password-field/PasswordField.d.ts +4 -0
  88. package/cjs/forms/radio/Radio.d.ts +35 -0
  89. package/cjs/forms/reactselect/ReactSelect.d.ts +25 -0
  90. package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +6 -0
  91. package/cjs/forms/select/Select.d.ts +16 -0
  92. package/cjs/forms/select-field/SelectField.d.ts +17 -0
  93. package/cjs/forms/switch/Switch.d.ts +13 -0
  94. package/cjs/forms/tel-field/TelField.d.ts +6 -0
  95. package/cjs/forms/text-field/TextField.d.ts +26 -0
  96. package/cjs/global-styles/GlobalStyles.d.ts +3 -0
  97. package/cjs/global-styles/ResetStyles.d.ts +9 -0
  98. package/cjs/global-styles/sanitize.d.ts +1 -0
  99. package/cjs/grid/Column.d.ts +10 -0
  100. package/cjs/grid/Container.d.ts +15 -0
  101. package/cjs/grid/index.d.ts +2 -0
  102. package/cjs/hero/Hero.d.ts +10 -0
  103. package/cjs/hero/index.d.ts +1 -0
  104. package/cjs/hero/stripes.d.ts +6 -0
  105. package/cjs/ie-banner/IEBanner.d.ts +11 -0
  106. package/cjs/ie-banner/index.d.ts +1 -0
  107. package/cjs/index.d.ts +44 -0
  108. package/cjs/layout/LayoutLegacy.d.ts +2 -0
  109. package/cjs/lists/FeatureList.d.ts +24 -0
  110. package/cjs/lists/ListAddon.d.ts +11 -0
  111. package/cjs/lists/ListDivider.d.ts +5 -0
  112. package/cjs/lists/ListIcon.d.ts +18 -0
  113. package/cjs/lists/ListItem.d.ts +46 -0
  114. package/cjs/lists/ListText.d.ts +39 -0
  115. package/cjs/lists/ListTextGroup.d.ts +15 -0
  116. package/cjs/lists/ListTitle.d.ts +4 -0
  117. package/cjs/lists/index.d.ts +8 -0
  118. package/cjs/loader/DfdsLoader.d.ts +9 -0
  119. package/cjs/loader/Loader.d.ts +6 -0
  120. package/cjs/loader/index.d.ts +2 -0
  121. package/cjs/localization/LocaleFlag.d.ts +13 -0
  122. package/cjs/localization/index.d.ts +2 -0
  123. package/cjs/localization/locales.d.ts +35 -0
  124. package/cjs/logo/Logo.d.ts +11 -0
  125. package/cjs/logo/index.d.ts +1 -0
  126. package/cjs/media/index.d.ts +2 -0
  127. package/cjs/menu/Menu.d.ts +7 -0
  128. package/cjs/menu/index.d.ts +2 -0
  129. package/cjs/mobile-stepper/MobileStepper.d.ts +25 -0
  130. package/cjs/mobile-stepper/index.d.ts +1 -0
  131. package/cjs/nav-bar/NavBar.d.ts +35 -0
  132. package/cjs/nav-bar/index.d.ts +2 -0
  133. package/cjs/nav-menu/NavMenuItem.d.ts +10 -0
  134. package/cjs/nav-menu/index.d.ts +1 -0
  135. package/cjs/pagination/Pagination.d.ts +44 -0
  136. package/cjs/pagination/Pagination.styles.d.ts +6 -0
  137. package/cjs/pagination/index.d.ts +1 -0
  138. package/cjs/popper/Popper.d.ts +29 -0
  139. package/cjs/popper/index.d.ts +1 -0
  140. package/cjs/progress-bar/ProgressBar.d.ts +8 -0
  141. package/cjs/progress-bar/index.d.ts +2 -0
  142. package/cjs/schedule/ScheduleItem.d.ts +21 -0
  143. package/cjs/schedule/ScheduleList.d.ts +11 -0
  144. package/cjs/schedule/index.d.ts +2 -0
  145. package/cjs/side-sheet/SideSheet.d.ts +57 -0
  146. package/cjs/side-sheet/SideSheetCloseButton.d.ts +13 -0
  147. package/cjs/side-sheet/SideSheetContent.d.ts +7 -0
  148. package/cjs/side-sheet/SideSheetFooter.d.ts +7 -0
  149. package/cjs/side-sheet/SideSheetHeader.d.ts +9 -0
  150. package/cjs/side-sheet/SideSheetHeadline.d.ts +7 -0
  151. package/cjs/side-sheet/index.d.ts +4 -0
  152. package/cjs/site-layout/SiteLayout.d.ts +36 -0
  153. package/cjs/site-layout/index.d.ts +2 -0
  154. package/cjs/skeleton/Skeleton.d.ts +8 -0
  155. package/cjs/skeleton/index.d.ts +1 -0
  156. package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +26 -0
  157. package/cjs/social-media-link-list/index.d.ts +1 -0
  158. package/cjs/spinner/Spinner.d.ts +58 -0
  159. package/cjs/spinner/index.d.ts +1 -0
  160. package/cjs/step/Step.d.ts +45 -0
  161. package/cjs/step/Step.styles.d.ts +4 -0
  162. package/cjs/step/StepButton.d.ts +4 -0
  163. package/cjs/step/StepContent.d.ts +6 -0
  164. package/cjs/step/StepContext.d.ts +12 -0
  165. package/cjs/step/StepLabel.d.ts +7 -0
  166. package/cjs/step/index.d.ts +1 -0
  167. package/cjs/stepper/Stepper.d.ts +25 -0
  168. package/cjs/stepper/StepperContext.d.ts +9 -0
  169. package/cjs/stepper/index.d.ts +1 -0
  170. package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +5 -0
  171. package/cjs/stepper-feedback-message/index.d.ts +1 -0
  172. package/cjs/styles/index.d.ts +3 -0
  173. package/cjs/styles/media.d.ts +21 -0
  174. package/cjs/styles/rem.d.ts +1 -0
  175. package/cjs/styles/style-helpers.d.ts +1 -0
  176. package/cjs/styles/theme.d.ts +39 -0
  177. package/cjs/surface/Surface.d.ts +32 -0
  178. package/cjs/surface/index.d.ts +1 -0
  179. package/cjs/tab/Tab.d.ts +12 -0
  180. package/cjs/tab/TabPanel.d.ts +7 -0
  181. package/cjs/tab/Tabs.d.ts +11 -0
  182. package/cjs/tab/TabsContext.d.ts +16 -0
  183. package/cjs/tab/index.d.ts +4 -0
  184. package/cjs/table/Table.d.ts +22 -0
  185. package/cjs/table/TableBody.d.ts +9 -0
  186. package/cjs/table/TableDataCell.d.ts +14 -0
  187. package/cjs/table/TableHead.d.ts +14 -0
  188. package/cjs/table/TableHeaderCell.d.ts +15 -0
  189. package/cjs/table/TableRow.d.ts +17 -0
  190. package/cjs/table/index.d.ts +6 -0
  191. package/cjs/test/Test.d.ts +8 -0
  192. package/cjs/tooltip/Tooltip.d.ts +26 -0
  193. package/cjs/tooltip/Tooltip.js +3 -3
  194. package/cjs/tooltip/index.d.ts +2 -0
  195. package/cjs/typography/Headlines.d.ts +70 -0
  196. package/cjs/typography/Text.d.ts +5 -0
  197. package/cjs/typography/index.d.ts +2 -0
  198. package/package.json +9 -9
  199. package/tooltip/Tooltip.d.ts +1 -1
  200. package/tooltip/Tooltip.js +3 -3
@@ -0,0 +1,100 @@
1
+ /// <reference types="react" />
2
+ declare type RenderAs = {
3
+ /**
4
+ * HTML tag or custom component being rendered
5
+ */
6
+ as?: React.ElementType;
7
+ };
8
+ export declare type FlexBoxProps = {
9
+ /**
10
+ * Set this prop to `true` to set `display` to `inline-flex` instead of `flex`
11
+ */
12
+ inline?: boolean;
13
+ /**
14
+ * Set this prop to `true` to set `flex-direction` to `row-reverse`
15
+ */
16
+ directionRowReverse?: boolean;
17
+ /**
18
+ * Set this prop to `true` to set `flex-direction` to `row`
19
+ */
20
+ directionRow?: boolean;
21
+ /**
22
+ * Set this prop to `true` to set `flex-direction` to `column`
23
+ */
24
+ directionColumn?: boolean;
25
+ /**
26
+ * Set this prop to `true` to set `flex-direction` to `column-reverse`
27
+ */
28
+ directionColumnReverse?: boolean;
29
+ /**
30
+ * Set this prop to `true` to set `flex-wrap` to `wrap`
31
+ */
32
+ wrapWrap?: boolean;
33
+ /**
34
+ * Set this prop to `true` to set `flex-wrap` to `wrap-reverse`
35
+ */
36
+ wrapWrapReverse?: boolean;
37
+ /**
38
+ * Set this prop to `true` to set `align-items` to `flex-start`
39
+ */
40
+ itemsFlexStart?: boolean;
41
+ /**
42
+ * Set this prop to `true` to set `align-items` to `flex-end`
43
+ */
44
+ itemsFlexEnd?: boolean;
45
+ /**
46
+ * Set this prop to `true` to set `align-items` to `flex-center`
47
+ */
48
+ itemsCenter?: boolean;
49
+ /**
50
+ * Set this prop to `true` to set `align-items` to `flex-baseline`
51
+ */
52
+ itemsBaseline?: boolean;
53
+ /**
54
+ * Set this prop to `true` to set `align-content` to `flex-start`
55
+ */
56
+ contentFlexStart?: boolean;
57
+ /**
58
+ * Set this prop to `true` to set `align-content` to `flex-end`
59
+ */
60
+ contentFlexEnd?: boolean;
61
+ /**
62
+ * Set this prop to `true` to set `align-content` to `center`
63
+ */
64
+ contentCenter?: boolean;
65
+ /**
66
+ * Set this prop to `true` to set `align-content` to `space-between`
67
+ */
68
+ contentSpaceBetween?: boolean;
69
+ /**
70
+ * Set this prop to `true` to set `align-content` to `space-around`
71
+ */
72
+ contentSpaceAround?: boolean;
73
+ /**
74
+ * Set this prop to `true` to set `justify-content` to `space-between`
75
+ */
76
+ justifySpaceBetween?: boolean;
77
+ /**
78
+ * Set this prop to `true` to set `justify-content` to `space-around`
79
+ */
80
+ justifySpaceAround?: boolean;
81
+ /**
82
+ * Set this prop to `true` to set `justify-content` to `flex-end`
83
+ */
84
+ justifyFlexEnd?: boolean;
85
+ /**
86
+ * Set this prop to `true` to set `justify-content` to `center`
87
+ */
88
+ justifyCenter?: boolean;
89
+ /**
90
+ * Set the `flex` shorthand property
91
+ */
92
+ flex?: number;
93
+ gap?: string;
94
+ };
95
+ export declare const FlexBox: import("@emotion/styled").StyledComponent<{
96
+ theme?: import("@emotion/react").Theme | undefined;
97
+ as?: import("react").ElementType<any> | undefined;
98
+ } & FlexBoxProps & RenderAs, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
99
+ export declare function flexBoxStyles(props?: FlexBoxProps): import("@emotion/utils").SerializedStyles;
100
+ export default FlexBox;
@@ -0,0 +1 @@
1
+ export * from './FlexBox';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare const Footer: React.FC<{
3
+ className?: string;
4
+ bottomChildren?: React.ReactNode;
5
+ children?: React.ReactNode;
6
+ }>;
7
+ export default Footer;
@@ -0,0 +1 @@
1
+ export { default as Footer } from './Footer';
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare const AssistiveText: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ } & {
6
+ inverted?: boolean | undefined;
7
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export default AssistiveText;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Asterisk: () => JSX.Element;
3
+ export default Asterisk;
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ declare const checkboxSizes: {
3
+ small: {
4
+ checkbox: string;
5
+ outline: string;
6
+ tick: string;
7
+ fontSize: string;
8
+ lineHeight: string;
9
+ paddingLeft: string;
10
+ };
11
+ medium: {
12
+ checkbox: string;
13
+ outline: string;
14
+ fontSize: string;
15
+ lineHeight: string;
16
+ tick: string;
17
+ paddingLeft: string;
18
+ };
19
+ };
20
+ declare type Size = keyof typeof checkboxSizes;
21
+ declare type BaseProps = Omit<JSX.IntrinsicElements['input'], 'size' | 'css'> & {
22
+ htmlSize?: number;
23
+ };
24
+ export declare type CheckboxProps = BaseProps & {
25
+ className?: string;
26
+ error?: boolean;
27
+ name?: string;
28
+ value?: string;
29
+ onChange?: (...args: any[]) => void;
30
+ onLabelClick?: JSX.IntrinsicElements['label']['onClick'];
31
+ disabled?: boolean;
32
+ checked?: boolean;
33
+ htmlSize?: number;
34
+ size?: Size;
35
+ indeterminate?: boolean;
36
+ leadingLabel?: boolean;
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>>;
39
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ declare type ExampleControlComponentProps = {
3
+ onChange?: (...args: any[]) => void;
4
+ checked?: boolean;
5
+ error?: boolean;
6
+ disabled?: boolean;
7
+ size?: 'small' | 'medium';
8
+ };
9
+ declare const ExampleControlComponent: React.FunctionComponent<ExampleControlComponentProps>;
10
+ export default ExampleControlComponent;
@@ -0,0 +1 @@
1
+ export { default as Checkbox } from './Checkbox';
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare const ErrorText: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ } & {
6
+ small?: boolean | undefined;
7
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export default ErrorText;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { LabelProps } from '../label/Label';
3
+ declare type FieldProps = {
4
+ labelProps?: LabelProps;
5
+ label?: React.ReactNode;
6
+ required?: boolean;
7
+ assistiveText?: string;
8
+ };
9
+ declare const Field: React.FunctionComponent<FieldProps>;
10
+ export default Field;
@@ -0,0 +1,21 @@
1
+ export { default as AssistiveText } from './assistive-text/AssistiveText';
2
+ export { default as Asterisk } from './asterisk/Asterisk';
3
+ export { default as Field } from './field/Field';
4
+ export { default as Input } from './input/Input';
5
+ export { default as Switch } from './switch/Switch';
6
+ export { default as Select } from './select/Select';
7
+ export { default as Label } from './label/Label';
8
+ export { default as TextField } from './text-field/TextField';
9
+ export { default as Radio } from './radio/Radio';
10
+ export declare type RadioProps = import('./radio/Radio').RadioProps;
11
+ export { default as Checkbox } from './checkbox/Checkbox';
12
+ export declare type CheckboxProps = import('./checkbox/Checkbox').CheckboxProps;
13
+ export { default as SelectField } from './select-field/SelectField';
14
+ export { default as TelField } from './tel-field/TelField';
15
+ export { default as EmailField } from './email-field/EmailField';
16
+ export { default as NumberField } from './number-field/NumberField';
17
+ export { default as ReactSelect } from './reactselect/ReactSelect';
18
+ export declare type BaseReactSelectProps = import('./reactselect/ReactSelect').BaseReactSelectProps;
19
+ export { default as PasswordField } from './password-field/PasswordField';
20
+ export { default as AsyncSearchableSelect } from './searchable-select/AsyncSearchableSelect';
21
+ export { default as ErrorText } from './error-text/ErrorText';
@@ -0,0 +1,19 @@
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;
@@ -0,0 +1,43 @@
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 {};
@@ -0,0 +1,10 @@
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;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,4 @@
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;
@@ -0,0 +1,35 @@
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;
@@ -0,0 +1,25 @@
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;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,16 @@
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;
@@ -0,0 +1,17 @@
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;
@@ -0,0 +1,13 @@
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;
@@ -0,0 +1,6 @@
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;