react-magma-dom 3.2.1-next.1 → 3.2.1-next.2
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.
- package/dist/components/Input/Input.stories.d.ts +328 -8
- package/dist/components/InputBase/index.d.ts +4 -0
- package/dist/esm/index.js +13 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/properties.json +103 -76
- package/dist/react-magma-dom.cjs.development.js +13 -5
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,339 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { InputProps } from '.';
|
|
3
|
+
import { InputIconPosition, InputSize, InputType } from '../InputBase';
|
|
4
|
+
import { LabelPosition } from '../Label';
|
|
3
5
|
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
4
6
|
export default _default;
|
|
5
7
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
6
8
|
export declare const Error: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
7
9
|
export declare const Large: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
10
|
+
export declare const IconPositions: {
|
|
11
|
+
(args: any): JSX.Element;
|
|
12
|
+
args: {
|
|
13
|
+
placeholder: string;
|
|
14
|
+
helperMessage: any;
|
|
15
|
+
isInverse?: boolean;
|
|
16
|
+
testId?: string;
|
|
17
|
+
iconPosition?: InputIconPosition;
|
|
18
|
+
containerStyle?: React.CSSProperties;
|
|
19
|
+
actionable?: boolean;
|
|
20
|
+
errorMessage?: React.ReactNode;
|
|
21
|
+
inputLength?: number;
|
|
22
|
+
inputSize?: InputSize;
|
|
23
|
+
isLabelVisuallyHidden?: boolean;
|
|
24
|
+
labelPosition?: LabelPosition;
|
|
25
|
+
labelStyle?: React.CSSProperties;
|
|
26
|
+
labelText?: React.ReactNode;
|
|
27
|
+
labelWidth?: number;
|
|
28
|
+
maxLength?: number;
|
|
29
|
+
messageStyle?: React.CSSProperties;
|
|
30
|
+
hasError?: boolean;
|
|
31
|
+
icon?: React.ReactElement<import("react-magma-icons").IconProps, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
32
|
+
iconAriaLabel?: string;
|
|
33
|
+
iconRef?: React.Ref<HTMLButtonElement>;
|
|
34
|
+
inputStyle?: React.CSSProperties;
|
|
35
|
+
isClearable?: boolean;
|
|
36
|
+
onClear?: () => void;
|
|
37
|
+
isPredictive?: boolean;
|
|
38
|
+
onIconClick?: () => void;
|
|
39
|
+
onIconKeyDown?: (event: any) => void;
|
|
40
|
+
theme?: any;
|
|
41
|
+
type?: InputType;
|
|
42
|
+
isPasswordInput?: boolean;
|
|
43
|
+
accept?: string;
|
|
44
|
+
alt?: string;
|
|
45
|
+
autoComplete?: string;
|
|
46
|
+
autoFocus?: boolean;
|
|
47
|
+
capture?: string | boolean;
|
|
48
|
+
checked?: boolean;
|
|
49
|
+
crossOrigin?: string;
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
form?: string;
|
|
52
|
+
formAction?: string;
|
|
53
|
+
formEncType?: string;
|
|
54
|
+
formMethod?: string;
|
|
55
|
+
formNoValidate?: boolean;
|
|
56
|
+
formTarget?: string;
|
|
57
|
+
height?: React.ReactText;
|
|
58
|
+
list?: string;
|
|
59
|
+
max?: React.ReactText;
|
|
60
|
+
min?: React.ReactText;
|
|
61
|
+
minLength?: number;
|
|
62
|
+
multiple?: boolean;
|
|
63
|
+
name?: string;
|
|
64
|
+
pattern?: string;
|
|
65
|
+
readOnly?: boolean;
|
|
66
|
+
required?: boolean;
|
|
67
|
+
size?: number;
|
|
68
|
+
src?: string;
|
|
69
|
+
step?: React.ReactText;
|
|
70
|
+
value?: string | number | readonly string[];
|
|
71
|
+
width?: React.ReactText;
|
|
72
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
73
|
+
defaultChecked?: boolean;
|
|
74
|
+
defaultValue?: string | number | readonly string[];
|
|
75
|
+
suppressContentEditableWarning?: boolean;
|
|
76
|
+
suppressHydrationWarning?: boolean;
|
|
77
|
+
accessKey?: string;
|
|
78
|
+
className?: string;
|
|
79
|
+
contentEditable?: boolean | "inherit" | "true" | "false";
|
|
80
|
+
contextMenu?: string;
|
|
81
|
+
dir?: string;
|
|
82
|
+
draggable?: boolean | "true" | "false";
|
|
83
|
+
hidden?: boolean;
|
|
84
|
+
id?: string;
|
|
85
|
+
lang?: string;
|
|
86
|
+
slot?: string;
|
|
87
|
+
spellCheck?: boolean | "true" | "false";
|
|
88
|
+
style?: React.CSSProperties;
|
|
89
|
+
tabIndex?: number;
|
|
90
|
+
title?: string;
|
|
91
|
+
translate?: "yes" | "no";
|
|
92
|
+
radioGroup?: string;
|
|
93
|
+
role?: React.AriaRole;
|
|
94
|
+
about?: string;
|
|
95
|
+
datatype?: string;
|
|
96
|
+
inlist?: any;
|
|
97
|
+
prefix?: string;
|
|
98
|
+
property?: string;
|
|
99
|
+
resource?: string;
|
|
100
|
+
typeof?: string;
|
|
101
|
+
vocab?: string;
|
|
102
|
+
autoCapitalize?: string;
|
|
103
|
+
autoCorrect?: string;
|
|
104
|
+
autoSave?: string;
|
|
105
|
+
color?: string;
|
|
106
|
+
itemProp?: string;
|
|
107
|
+
itemScope?: boolean;
|
|
108
|
+
itemType?: string;
|
|
109
|
+
itemID?: string;
|
|
110
|
+
itemRef?: string;
|
|
111
|
+
results?: number;
|
|
112
|
+
security?: string;
|
|
113
|
+
unselectable?: "on" | "off";
|
|
114
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
115
|
+
is?: string;
|
|
116
|
+
'aria-activedescendant'?: string;
|
|
117
|
+
'aria-atomic'?: boolean | "true" | "false";
|
|
118
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both";
|
|
119
|
+
'aria-busy'?: boolean | "true" | "false";
|
|
120
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
121
|
+
'aria-colcount'?: number;
|
|
122
|
+
'aria-colindex'?: number;
|
|
123
|
+
'aria-colspan'?: number;
|
|
124
|
+
'aria-controls'?: string;
|
|
125
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
|
|
126
|
+
'aria-describedby'?: string;
|
|
127
|
+
'aria-details'?: string;
|
|
128
|
+
'aria-disabled'?: boolean | "true" | "false";
|
|
129
|
+
'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup";
|
|
130
|
+
'aria-errormessage'?: string;
|
|
131
|
+
'aria-expanded'?: boolean | "true" | "false";
|
|
132
|
+
'aria-flowto'?: string;
|
|
133
|
+
'aria-grabbed'?: boolean | "true" | "false";
|
|
134
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree";
|
|
135
|
+
'aria-hidden'?: boolean | "true" | "false";
|
|
136
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
137
|
+
'aria-keyshortcuts'?: string;
|
|
138
|
+
'aria-label'?: string;
|
|
139
|
+
'aria-labelledby'?: string;
|
|
140
|
+
'aria-level'?: number;
|
|
141
|
+
'aria-live'?: "off" | "assertive" | "polite";
|
|
142
|
+
'aria-modal'?: boolean | "true" | "false";
|
|
143
|
+
'aria-multiline'?: boolean | "true" | "false";
|
|
144
|
+
'aria-multiselectable'?: boolean | "true" | "false";
|
|
145
|
+
'aria-orientation'?: "horizontal" | "vertical";
|
|
146
|
+
'aria-owns'?: string;
|
|
147
|
+
'aria-placeholder'?: string;
|
|
148
|
+
'aria-posinset'?: number;
|
|
149
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
150
|
+
'aria-readonly'?: boolean | "true" | "false";
|
|
151
|
+
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
152
|
+
'aria-required'?: boolean | "true" | "false";
|
|
153
|
+
'aria-roledescription'?: string;
|
|
154
|
+
'aria-rowcount'?: number;
|
|
155
|
+
'aria-rowindex'?: number;
|
|
156
|
+
'aria-rowspan'?: number;
|
|
157
|
+
'aria-selected'?: boolean | "true" | "false";
|
|
158
|
+
'aria-setsize'?: number;
|
|
159
|
+
'aria-sort'?: "none" | "other" | "ascending" | "descending";
|
|
160
|
+
'aria-valuemax'?: number;
|
|
161
|
+
'aria-valuemin'?: number;
|
|
162
|
+
'aria-valuenow'?: number;
|
|
163
|
+
'aria-valuetext'?: string;
|
|
164
|
+
children?: React.ReactNode;
|
|
165
|
+
dangerouslySetInnerHTML?: {
|
|
166
|
+
__html: string;
|
|
167
|
+
};
|
|
168
|
+
onCopy?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
169
|
+
onCopyCapture?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
170
|
+
onCut?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
171
|
+
onCutCapture?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
172
|
+
onPaste?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
173
|
+
onPasteCapture?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
174
|
+
onCompositionEnd?: (event: React.CompositionEvent<HTMLInputElement>) => void;
|
|
175
|
+
onCompositionEndCapture?: (event: React.CompositionEvent<HTMLInputElement>) => void;
|
|
176
|
+
onCompositionStart?: (event: React.CompositionEvent<HTMLInputElement>) => void;
|
|
177
|
+
onCompositionStartCapture?: (event: React.CompositionEvent<HTMLInputElement>) => void;
|
|
178
|
+
onCompositionUpdate?: (event: React.CompositionEvent<HTMLInputElement>) => void;
|
|
179
|
+
onCompositionUpdateCapture?: (event: React.CompositionEvent<HTMLInputElement>) => void;
|
|
180
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement, Element>) => void;
|
|
181
|
+
onFocusCapture?: (event: React.FocusEvent<HTMLInputElement, Element>) => void;
|
|
182
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement, Element>) => void;
|
|
183
|
+
onBlurCapture?: (event: React.FocusEvent<HTMLInputElement, Element>) => void;
|
|
184
|
+
onChangeCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
185
|
+
onBeforeInput?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
186
|
+
onBeforeInputCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
187
|
+
onInput?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
188
|
+
onInputCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
189
|
+
onReset?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
190
|
+
onResetCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
191
|
+
onSubmit?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
192
|
+
onSubmitCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
193
|
+
onInvalid?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
194
|
+
onInvalidCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
195
|
+
onLoad?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
196
|
+
onLoadCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
197
|
+
onError?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
198
|
+
onErrorCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
199
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
200
|
+
onKeyDownCapture?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
201
|
+
onKeyPress?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
202
|
+
onKeyPressCapture?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
203
|
+
onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
204
|
+
onKeyUpCapture?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
205
|
+
onAbort?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
206
|
+
onAbortCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
207
|
+
onCanPlay?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
208
|
+
onCanPlayCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
209
|
+
onCanPlayThrough?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
210
|
+
onCanPlayThroughCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
211
|
+
onDurationChange?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
212
|
+
onDurationChangeCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
213
|
+
onEmptied?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
214
|
+
onEmptiedCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
215
|
+
onEncrypted?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
216
|
+
onEncryptedCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
217
|
+
onEnded?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
218
|
+
onEndedCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
219
|
+
onLoadedData?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
220
|
+
onLoadedDataCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
221
|
+
onLoadedMetadata?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
222
|
+
onLoadedMetadataCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
223
|
+
onLoadStart?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
224
|
+
onLoadStartCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
225
|
+
onPause?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
226
|
+
onPauseCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
227
|
+
onPlay?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
228
|
+
onPlayCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
229
|
+
onPlaying?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
230
|
+
onPlayingCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
231
|
+
onProgress?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
232
|
+
onProgressCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
233
|
+
onRateChange?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
234
|
+
onRateChangeCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
235
|
+
onSeeked?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
236
|
+
onSeekedCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
237
|
+
onSeeking?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
238
|
+
onSeekingCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
239
|
+
onStalled?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
240
|
+
onStalledCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
241
|
+
onSuspend?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
242
|
+
onSuspendCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
243
|
+
onTimeUpdate?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
244
|
+
onTimeUpdateCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
245
|
+
onVolumeChange?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
246
|
+
onVolumeChangeCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
247
|
+
onWaiting?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
248
|
+
onWaitingCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
249
|
+
onAuxClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
250
|
+
onAuxClickCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
251
|
+
onClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
252
|
+
onClickCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
253
|
+
onContextMenu?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
254
|
+
onContextMenuCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
255
|
+
onDoubleClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
256
|
+
onDoubleClickCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
257
|
+
onDrag?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
258
|
+
onDragCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
259
|
+
onDragEnd?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
260
|
+
onDragEndCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
261
|
+
onDragEnter?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
262
|
+
onDragEnterCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
263
|
+
onDragExit?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
264
|
+
onDragExitCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
265
|
+
onDragLeave?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
266
|
+
onDragLeaveCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
267
|
+
onDragOver?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
268
|
+
onDragOverCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
269
|
+
onDragStart?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
270
|
+
onDragStartCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
271
|
+
onDrop?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
272
|
+
onDropCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
|
|
273
|
+
onMouseDown?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
274
|
+
onMouseDownCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
275
|
+
onMouseEnter?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
276
|
+
onMouseLeave?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
277
|
+
onMouseMove?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
278
|
+
onMouseMoveCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
279
|
+
onMouseOut?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
280
|
+
onMouseOutCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
281
|
+
onMouseOver?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
282
|
+
onMouseOverCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
283
|
+
onMouseUp?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
284
|
+
onMouseUpCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
285
|
+
onSelect?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
286
|
+
onSelectCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
|
|
287
|
+
onTouchCancel?: (event: React.TouchEvent<HTMLInputElement>) => void;
|
|
288
|
+
onTouchCancelCapture?: (event: React.TouchEvent<HTMLInputElement>) => void;
|
|
289
|
+
onTouchEnd?: (event: React.TouchEvent<HTMLInputElement>) => void;
|
|
290
|
+
onTouchEndCapture?: (event: React.TouchEvent<HTMLInputElement>) => void;
|
|
291
|
+
onTouchMove?: (event: React.TouchEvent<HTMLInputElement>) => void;
|
|
292
|
+
onTouchMoveCapture?: (event: React.TouchEvent<HTMLInputElement>) => void;
|
|
293
|
+
onTouchStart?: (event: React.TouchEvent<HTMLInputElement>) => void;
|
|
294
|
+
onTouchStartCapture?: (event: React.TouchEvent<HTMLInputElement>) => void;
|
|
295
|
+
onPointerDown?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
296
|
+
onPointerDownCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
297
|
+
onPointerMove?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
298
|
+
onPointerMoveCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
299
|
+
onPointerUp?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
300
|
+
onPointerUpCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
301
|
+
onPointerCancel?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
302
|
+
onPointerCancelCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
303
|
+
onPointerEnter?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
304
|
+
onPointerEnterCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
305
|
+
onPointerLeave?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
306
|
+
onPointerLeaveCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
307
|
+
onPointerOver?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
308
|
+
onPointerOverCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
309
|
+
onPointerOut?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
310
|
+
onPointerOutCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
311
|
+
onGotPointerCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
312
|
+
onGotPointerCaptureCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
313
|
+
onLostPointerCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
314
|
+
onLostPointerCaptureCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
|
|
315
|
+
onScroll?: (event: React.UIEvent<HTMLInputElement, UIEvent>) => void;
|
|
316
|
+
onScrollCapture?: (event: React.UIEvent<HTMLInputElement, UIEvent>) => void;
|
|
317
|
+
onWheel?: (event: React.WheelEvent<HTMLInputElement>) => void;
|
|
318
|
+
onWheelCapture?: (event: React.WheelEvent<HTMLInputElement>) => void;
|
|
319
|
+
onAnimationStart?: (event: React.AnimationEvent<HTMLInputElement>) => void;
|
|
320
|
+
onAnimationStartCapture?: (event: React.AnimationEvent<HTMLInputElement>) => void;
|
|
321
|
+
onAnimationEnd?: (event: React.AnimationEvent<HTMLInputElement>) => void;
|
|
322
|
+
onAnimationEndCapture?: (event: React.AnimationEvent<HTMLInputElement>) => void;
|
|
323
|
+
onAnimationIteration?: (event: React.AnimationEvent<HTMLInputElement>) => void;
|
|
324
|
+
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLInputElement>) => void;
|
|
325
|
+
onTransitionEnd?: (event: React.TransitionEvent<HTMLInputElement>) => void;
|
|
326
|
+
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLInputElement>) => void;
|
|
327
|
+
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
328
|
+
};
|
|
329
|
+
parameters: {
|
|
330
|
+
controls: {
|
|
331
|
+
exclude: string[];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
8
335
|
export declare const File: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
9
|
-
export declare const IconTop: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
10
|
-
export declare const IconTopLarge: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
11
|
-
export declare const IconLeft: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
12
|
-
export declare const IconLeftLarge: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
13
|
-
export declare const IconRight: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
14
|
-
export declare const IconRightLarge: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
15
336
|
export declare const ClickableIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
16
|
-
export declare const ClickableIconLarge: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
17
337
|
export declare const Inverse: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, InputProps>;
|
|
18
338
|
export declare const WithChildren: {
|
|
19
339
|
(args: any): JSX.Element;
|
|
@@ -53,6 +53,10 @@ export interface InputBaseProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
|
53
53
|
* Style properties for the input element
|
|
54
54
|
*/
|
|
55
55
|
inputStyle?: React.CSSProperties;
|
|
56
|
+
/**
|
|
57
|
+
* Total number of characters in an input.
|
|
58
|
+
*/
|
|
59
|
+
inputLength?: number;
|
|
56
60
|
/**
|
|
57
61
|
* Clear contents of input by clicking a clear button
|
|
58
62
|
* @default false
|