@jobber/components 6.11.4 → 6.11.5

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 (55) hide show
  1. package/dist/Autocomplete/index.cjs +11 -2
  2. package/dist/Autocomplete/index.mjs +11 -2
  3. package/dist/Autocomplete-cjs.js +2 -2
  4. package/dist/Autocomplete-es.js +1 -1
  5. package/dist/Chips/InternalChipDismissible/hooks/index.cjs +2 -2
  6. package/dist/Chips/InternalChipDismissible/hooks/index.mjs +2 -2
  7. package/dist/Chips/InternalChipDismissible/index.cjs +2 -2
  8. package/dist/Chips/InternalChipDismissible/index.mjs +2 -2
  9. package/dist/Chips/index.cjs +2 -2
  10. package/dist/Chips/index.mjs +2 -2
  11. package/dist/DataList/components/DataListSearch/index.cjs +10 -1
  12. package/dist/DataList/components/DataListSearch/index.mjs +10 -1
  13. package/dist/DataList/index.cjs +8 -1
  14. package/dist/DataList/index.mjs +8 -1
  15. package/dist/DataListSearch-cjs.js +2 -2
  16. package/dist/DataListSearch-es.js +1 -1
  17. package/dist/DatePicker/index.cjs +3 -2
  18. package/dist/DatePicker/index.mjs +3 -2
  19. package/dist/DatePicker-cjs.js +2 -781
  20. package/dist/DatePicker-es.js +3 -781
  21. package/dist/FormField/FormFieldTypes.d.ts +3 -3
  22. package/dist/FormField/hooks/useFormFieldWrapperStyles.d.ts +3 -3
  23. package/dist/FormField-cjs.js +5 -2
  24. package/dist/FormField-es.js +3 -3
  25. package/dist/InputDate/index.cjs +16 -15
  26. package/dist/InputDate/index.mjs +16 -15
  27. package/dist/InputDate-cjs.js +3 -2
  28. package/dist/InputDate-es.js +2 -1
  29. package/dist/InputText/InputText.d.ts +10 -20
  30. package/dist/InputText/InputText.rebuilt.d.ts +3 -0
  31. package/dist/InputText/InputText.types.d.ts +78 -0
  32. package/dist/InputText/index.cjs +263 -8
  33. package/dist/InputText/index.d.ts +5 -1
  34. package/dist/InputText/index.mjs +266 -7
  35. package/dist/InputText/useInputTextActions.d.ts +16 -0
  36. package/dist/InputText/useInputTextFormField.d.ts +347 -0
  37. package/dist/InputText/useTextAreaResize.d.ts +14 -0
  38. package/dist/List/index.cjs +2 -2
  39. package/dist/List/index.mjs +2 -2
  40. package/dist/_baseEach-cjs.js +12 -12
  41. package/dist/_baseEach-es.js +2 -2
  42. package/dist/_baseFlatten-cjs.js +2 -2
  43. package/dist/_baseFlatten-es.js +1 -1
  44. package/dist/{_getAllKeys-cjs.js → _baseGet-cjs.js} +181 -181
  45. package/dist/{_getAllKeys-es.js → _baseGet-es.js} +183 -183
  46. package/dist/index.cjs +4 -3
  47. package/dist/index.mjs +3 -2
  48. package/dist/isTypedArray-es.js +1 -1
  49. package/dist/omit-cjs.js +783 -0
  50. package/dist/omit-es.js +781 -0
  51. package/dist/useScrollToActive-cjs.js +3 -3
  52. package/dist/useScrollToActive-es.js +1 -1
  53. package/package.json +2 -2
  54. package/dist/InputText-cjs.js +0 -129
  55. package/dist/InputText-es.js +0 -127
@@ -1,17 +1,276 @@
1
- export { I as InputText } from '../InputText-es.js';
2
- import 'react';
3
- import '../useSafeLayoutEffect-es.js';
4
- import '../FormField-es.js';
1
+ import React, { forwardRef, useRef, useImperativeHandle, useId } from 'react';
2
+ import { u as useSafeLayoutEffect_1 } from '../useSafeLayoutEffect-es.js';
3
+ import { e as FormField, s as styles, d as useFormFieldWrapperStyles, b as useAtlantisFormFieldName, F as FormFieldWrapper, f as FormFieldPostFix, m as mergeRefs } from '../FormField-es.js';
4
+ import { _ as __rest } from '../tslib.es6-es.js';
5
+ import 'react-hook-form';
5
6
  import 'framer-motion';
6
7
  import '@jobber/design';
7
8
  import 'classnames';
8
- import '../Button-es.js';
9
9
  import 'react-router-dom';
10
+ import { o as omit } from '../omit-es.js';
11
+ import '../Button-es.js';
10
12
  import '../Icon-es.js';
11
13
  import '../Typography-es.js';
12
14
  import '../Text-es.js';
13
15
  import '../useFormFieldFocus-es.js';
14
16
  import '../InputValidation-es.js';
15
17
  import '../Spinner-es.js';
16
- import '../tslib.es6-es.js';
17
- import 'react-hook-form';
18
+ import '../_commonjsHelpers-es.js';
19
+ import '../_baseGet-es.js';
20
+ import '../isTypedArray-es.js';
21
+ import '../isObjectLike-es.js';
22
+ import '../identity-es.js';
23
+ import '../_getTag-es.js';
24
+ import '../isSymbol-es.js';
25
+ import '../keysIn-es.js';
26
+ import '../_baseAssignValue-es.js';
27
+ import '../_baseFlatten-es.js';
28
+ import '../_setToString-es.js';
29
+
30
+ /**
31
+ * Hook for resizing a textarea based on its content. The textarea will grow up to the max number of rows specified.
32
+ */
33
+ function useTextAreaResize({ rows, value, inputRef, wrapperRef, }) {
34
+ const rowRange = getRowRange(rows);
35
+ useSafeLayoutEffect_1(() => {
36
+ if (inputRef &&
37
+ inputRef.current instanceof HTMLTextAreaElement &&
38
+ wrapperRef &&
39
+ wrapperRef.current instanceof HTMLDivElement) {
40
+ resize();
41
+ }
42
+ }, [inputRef.current, wrapperRef.current]);
43
+ // When the consumer passes a new controlled value, we need to recheck the size.
44
+ // The timeout ensures the DOM has a enough time to render the new text before
45
+ // we access the height.
46
+ useSafeLayoutEffect_1(() => {
47
+ setTimeout(() => {
48
+ if (inputRef &&
49
+ inputRef.current instanceof HTMLTextAreaElement &&
50
+ wrapperRef &&
51
+ wrapperRef.current instanceof HTMLDivElement) {
52
+ resize();
53
+ }
54
+ }, 0);
55
+ }, [value]);
56
+ function resize() {
57
+ if (inputRef &&
58
+ inputRef.current instanceof HTMLTextAreaElement &&
59
+ wrapperRef &&
60
+ (wrapperRef === null || wrapperRef === void 0 ? void 0 : wrapperRef.current) instanceof HTMLDivElement) {
61
+ if (rowRange.min === rowRange.max)
62
+ return;
63
+ inputRef.current.style.flexBasis = "auto";
64
+ wrapperRef.current.style.height = "auto";
65
+ inputRef.current.style.flexBasis =
66
+ textAreaHeight(inputRef.current) + "px";
67
+ }
68
+ }
69
+ function textAreaHeight(textArea) {
70
+ const { lineHeight, borderBottomWidth, borderTopWidth, paddingBottom, paddingTop, } = window.getComputedStyle(textArea);
71
+ const maxHeight = rowRange.max * parseFloat(lineHeight) +
72
+ parseFloat(borderTopWidth) +
73
+ parseFloat(borderBottomWidth) +
74
+ parseFloat(paddingTop) +
75
+ parseFloat(paddingBottom);
76
+ const scrollHeight = textArea.scrollHeight +
77
+ parseFloat(borderTopWidth) +
78
+ parseFloat(borderBottomWidth);
79
+ return Math.min(scrollHeight, maxHeight);
80
+ }
81
+ return { resize, rowRange };
82
+ }
83
+ function getRowRange(rows) {
84
+ if (rows === undefined) {
85
+ return { min: 3, max: 3 };
86
+ }
87
+ else if (typeof rows === "object") {
88
+ return { min: rows.min, max: rows.max };
89
+ }
90
+ else {
91
+ return { min: rows, max: rows };
92
+ }
93
+ }
94
+
95
+ function InputTextInternal(props, ref) {
96
+ const inputRef = useRef(null);
97
+ const actionsRef = useRef(null);
98
+ const wrapperRef = useRef(null);
99
+ const { resize, rowRange } = useTextAreaResize({
100
+ rows: props.rows,
101
+ value: props.value,
102
+ inputRef,
103
+ wrapperRef,
104
+ });
105
+ useImperativeHandle(ref, () => ({
106
+ insert: (text) => {
107
+ insertText(text);
108
+ },
109
+ blur: () => {
110
+ const input = inputRef.current;
111
+ if (input) {
112
+ input.blur();
113
+ }
114
+ },
115
+ focus: () => {
116
+ const input = inputRef.current;
117
+ if (input) {
118
+ input.focus();
119
+ }
120
+ },
121
+ scrollIntoView: arg => {
122
+ const input = inputRef.current;
123
+ if (input) {
124
+ input.scrollIntoView(arg);
125
+ }
126
+ },
127
+ }));
128
+ return (React.createElement(FormField, Object.assign({}, props, { type: props.multiline ? "textarea" : "text", inputRef: inputRef, actionsRef: actionsRef, wrapperRef: wrapperRef, onChange: handleChange, rows: rowRange.min })));
129
+ function handleChange(newValue) {
130
+ props.onChange && props.onChange(newValue);
131
+ resize();
132
+ }
133
+ function insertText(text) {
134
+ var _a;
135
+ const input = inputRef.current;
136
+ if (input) {
137
+ insertAtCursor(input, text);
138
+ const newValue = input.value;
139
+ (_a = actionsRef.current) === null || _a === void 0 ? void 0 : _a.setValue(newValue);
140
+ props.onChange && props.onChange(newValue);
141
+ }
142
+ }
143
+ }
144
+ const InputText$1 = forwardRef(InputTextInternal);
145
+ function insertAtCursor(input, newText) {
146
+ const start = input.selectionStart || 0;
147
+ const end = input.selectionEnd || 0;
148
+ const text = input.value;
149
+ const before = text.substring(0, start);
150
+ const after = text.substring(end, text.length);
151
+ input.value = before + newText + after;
152
+ input.selectionStart = input.selectionEnd = start + newText.length;
153
+ input.focus();
154
+ }
155
+
156
+ /**
157
+ * Combines the actions on the InputText such as onChange, onEnter, onFocus, onBlur, and onClear to forward information to the consumers of the InputText.
158
+ * DO not repeat this pattern. We are doing this as a proof of concept relating to the refactoring of Form inputs to see what can be removed.
159
+ */
160
+ function useInputTextActions({ onChange, inputRef, onEnter, onFocus, onBlur, }) {
161
+ function handleClear() {
162
+ var _a;
163
+ handleBlur();
164
+ onChange && onChange("");
165
+ (_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
166
+ }
167
+ function handleChange(event) {
168
+ const newValue = event.currentTarget.value;
169
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue, event);
170
+ }
171
+ function handleKeyDown(event) {
172
+ if (!onEnter)
173
+ return;
174
+ if (event.key !== "Enter")
175
+ return;
176
+ if (event.shiftKey || event.ctrlKey)
177
+ return;
178
+ event.preventDefault();
179
+ onEnter && onEnter(event);
180
+ }
181
+ function handleFocus(event) {
182
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(event);
183
+ }
184
+ function handleBlur(event) {
185
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);
186
+ }
187
+ return {
188
+ handleClear,
189
+ handleChange,
190
+ handleKeyDown,
191
+ handleFocus,
192
+ handleBlur,
193
+ };
194
+ }
195
+
196
+ /**
197
+ * Provides the props for the html fields rendered by the html input.
198
+ * DO not repeat this pattern. We are doing this as a proof of concept relating to the refactoring of Form inputs to see what can be removed.
199
+ */
200
+ function useInputTextFormField(_a) {
201
+ var { id, name, description, inline, handleChange, handleBlur, handleFocus, handleKeyDown, error } = _a, rest = __rest(_a, ["id", "name", "description", "inline", "handleChange", "handleBlur", "handleFocus", "handleKeyDown", "error"]);
202
+ const descriptionIdentifier = `descriptionUUID--${id}`;
203
+ const fieldProps = Object.assign(Object.assign(Object.assign({ id, className: styles.input, name, disabled: rest.disabled, inputMode: rest.inputMode, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus }, (description &&
204
+ !inline && { "aria-describedby": descriptionIdentifier })), { "aria-invalid": rest["aria-invalid"] || error || rest.invalid ? true : undefined, autoFocus: rest.autoFocus, invalid: error || rest.invalid ? "true" : undefined, onKeyDown: handleKeyDown }), rest);
205
+ return { fieldProps, descriptionIdentifier };
206
+ }
207
+
208
+ const InputTextSPAR = forwardRef(function InputTextInternal(props, inputRefs) {
209
+ var _a, _b, _c;
210
+ const inputTextRef = React.useRef(null);
211
+ const wrapperRef = React.useRef(null);
212
+ const legacyPropHelper = Object.assign(Object.assign({}, props), { version: 1 });
213
+ const id = useId();
214
+ const { rowRange } = useTextAreaResize({
215
+ rows: props.rows,
216
+ value: props.value,
217
+ inputRef: inputTextRef,
218
+ wrapperRef: wrapperRef,
219
+ });
220
+ const type = props.multiline ? "textarea" : "text";
221
+ const { inputStyle } = useFormFieldWrapperStyles(legacyPropHelper);
222
+ const { name } = useAtlantisFormFieldName({
223
+ nameProp: props.name,
224
+ id: props.id || id,
225
+ });
226
+ const { handleChange, handleBlur, handleFocus, handleKeyDown, handleClear } = useInputTextActions({
227
+ onChange: props.onChange,
228
+ onBlur: props.onBlur,
229
+ onFocus: props.onFocus,
230
+ onEnter: props.onEnter,
231
+ inputRef: inputTextRef,
232
+ });
233
+ const inputProps = omit(props, [
234
+ "onChange",
235
+ "onBlur",
236
+ "onFocus",
237
+ "onEnter",
238
+ "size",
239
+ "placeholder",
240
+ "multiline",
241
+ "prefix",
242
+ "suffix",
243
+ "version",
244
+ ]);
245
+ const { fieldProps, descriptionIdentifier } = useInputTextFormField(Object.assign(Object.assign({}, inputProps), { id,
246
+ name,
247
+ handleChange,
248
+ handleBlur,
249
+ handleFocus,
250
+ handleKeyDown }));
251
+ return (React.createElement(FormFieldWrapper, { disabled: props.disabled, size: props.size, align: props.align, inline: props.inline, autofocus: props.autoFocus, name: name, wrapperRef: wrapperRef, error: (_a = props.error) !== null && _a !== void 0 ? _a : "", invalid: Boolean(props.error || props.invalid), identifier: id, descriptionIdentifier: descriptionIdentifier, description: props.description, clearable: (_b = props.clearable) !== null && _b !== void 0 ? _b : "never", onClear: handleClear, type: props.multiline ? "textarea" : "text", placeholder: props.placeholder, value: props.value, prefix: props.prefix, suffix: props.suffix, rows: rowRange.min, toolbar: props.toolbar, toolbarVisibility: props.toolbarVisibility },
252
+ React.createElement(React.Fragment, null,
253
+ type === "textarea" ? (React.createElement(TextArea, { fieldProps: fieldProps, rowRange: rowRange, inputRefs: [inputRefs, inputTextRef], value: props.value, inputStyle: inputStyle })) : (React.createElement(TextInput, { fieldProps: fieldProps, inputRefs: [inputRefs, inputTextRef], value: props.value, inputStyle: inputStyle })),
254
+ React.createElement(FormFieldPostFix, { variation: "spinner", visible: (_c = props.loading) !== null && _c !== void 0 ? _c : false }),
255
+ props.children)));
256
+ });
257
+ function TextArea({ fieldProps, rowRange, inputRefs, value, inputStyle, }) {
258
+ return (React.createElement("textarea", Object.assign({}, fieldProps, { rows: rowRange.min, ref: mergeRefs(inputRefs), className: inputStyle, value: value })));
259
+ }
260
+ function TextInput({ fieldProps, inputRefs, value, inputStyle, }) {
261
+ return (React.createElement("input", Object.assign({}, fieldProps, { ref: mergeRefs(inputRefs), className: inputStyle, value: value })));
262
+ }
263
+
264
+ function isNewInputTextProps(props) {
265
+ return props.version === 2;
266
+ }
267
+ const InputText = forwardRef(function InputTextShim(props, ref) {
268
+ if (isNewInputTextProps(props)) {
269
+ return (React.createElement(InputTextSPAR, Object.assign({}, props, { ref: ref })));
270
+ }
271
+ else {
272
+ return (React.createElement(InputText$1, Object.assign({}, props, { ref: ref })));
273
+ }
274
+ });
275
+
276
+ export { InputText };
@@ -0,0 +1,16 @@
1
+ import { ChangeEvent, FocusEvent, KeyboardEvent } from "react";
2
+ import { InputTextRebuiltProps } from "./InputText.types";
3
+ export interface useInputTextActionsProps extends Pick<InputTextRebuiltProps, "onChange" | "onEnter" | "onFocus" | "onBlur"> {
4
+ inputRef?: React.RefObject<HTMLInputElement | HTMLTextAreaElement>;
5
+ }
6
+ /**
7
+ * Combines the actions on the InputText such as onChange, onEnter, onFocus, onBlur, and onClear to forward information to the consumers of the InputText.
8
+ * DO not repeat this pattern. We are doing this as a proof of concept relating to the refactoring of Form inputs to see what can be removed.
9
+ */
10
+ export declare function useInputTextActions({ onChange, inputRef, onEnter, onFocus, onBlur, }: useInputTextActionsProps): {
11
+ handleClear: () => void;
12
+ handleChange: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
13
+ handleKeyDown: (event: KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
14
+ handleFocus: (event: FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
15
+ handleBlur: (event?: FocusEvent) => void;
16
+ };
@@ -0,0 +1,347 @@
1
+ import { ChangeEvent, FocusEvent, KeyboardEvent } from "react";
2
+ export interface useInputTextFormFieldProps extends React.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
3
+ /**
4
+ * The html id for the field
5
+ */
6
+ readonly id: string;
7
+ /**
8
+ * The auto-generated name for the html input field if a nameProp is not provided
9
+ */
10
+ readonly name: string;
11
+ /**
12
+ * The error message for the field
13
+ */
14
+ readonly error?: string;
15
+ /**
16
+ * Adjusts the form field to go inline with a content. This also silences the
17
+ * given `validations` prop. You'd have to used the `onValidate` prop to
18
+ * capture the message and render it somewhere else using the
19
+ * `InputValidation` component.
20
+ */
21
+ readonly inline?: boolean;
22
+ /**
23
+ * Further description of the input, can be used for a hint.
24
+ */
25
+ readonly description?: string;
26
+ /**
27
+ * Callback for when the field value changes
28
+ */
29
+ handleChange: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
30
+ /**
31
+ * Callback for when the field loses focus
32
+ */
33
+ handleBlur: () => void;
34
+ /**
35
+ * Callback for when the field gains focus
36
+ */
37
+ handleFocus: (event: FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
38
+ /**
39
+ * Callback for when keydown event is triggered on the field
40
+ */
41
+ handleKeyDown: (event: KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
42
+ readonly invalid?: boolean;
43
+ }
44
+ export interface UseInputTextFormFieldReturn {
45
+ fieldProps: React.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>;
46
+ }
47
+ /**
48
+ * Provides the props for the html fields rendered by the html input.
49
+ * DO not repeat this pattern. We are doing this as a proof of concept relating to the refactoring of Form inputs to see what can be removed.
50
+ */
51
+ export declare function useInputTextFormField({ id, name, description, inline, handleChange, handleBlur, handleFocus, handleKeyDown, error, ...rest }: useInputTextFormFieldProps): {
52
+ fieldProps: {
53
+ invalid: string | boolean | undefined;
54
+ accept?: string | undefined;
55
+ alt?: string | undefined;
56
+ autoComplete?: string | undefined;
57
+ autoFocus: boolean | undefined;
58
+ capture?: boolean | "user" | "environment" | undefined;
59
+ checked?: boolean | undefined;
60
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
61
+ disabled: boolean | undefined;
62
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
63
+ form?: string | undefined;
64
+ formAction?: string | undefined;
65
+ formEncType?: string | undefined;
66
+ formMethod?: string | undefined;
67
+ formNoValidate?: boolean | undefined;
68
+ formTarget?: string | undefined;
69
+ height?: number | string | undefined;
70
+ list?: string | undefined;
71
+ max?: number | string | undefined;
72
+ maxLength?: number | undefined;
73
+ min?: number | string | undefined;
74
+ minLength?: number | undefined;
75
+ multiple?: boolean | undefined;
76
+ pattern?: string | undefined;
77
+ placeholder?: string | undefined;
78
+ readOnly?: boolean | undefined;
79
+ required?: boolean | undefined;
80
+ size?: number | undefined;
81
+ src?: string | undefined;
82
+ step?: number | string | undefined;
83
+ type?: import("react").HTMLInputTypeAttribute | undefined;
84
+ value?: string | ReadonlyArray<string> | number | undefined;
85
+ width?: number | string | undefined;
86
+ onChange: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
87
+ defaultChecked?: boolean | undefined;
88
+ defaultValue?: string | number | ReadonlyArray<string> | undefined;
89
+ suppressContentEditableWarning?: boolean | undefined;
90
+ suppressHydrationWarning?: boolean | undefined;
91
+ accessKey?: string | undefined;
92
+ className: string;
93
+ contentEditable?: (boolean | "false" | "true") | "inherit" | undefined;
94
+ contextMenu?: string | undefined;
95
+ dir?: string | undefined;
96
+ draggable?: (boolean | "false" | "true") | undefined;
97
+ hidden?: boolean | undefined;
98
+ lang?: string | undefined;
99
+ nonce?: string | undefined;
100
+ slot?: string | undefined;
101
+ spellCheck?: (boolean | "false" | "true") | undefined;
102
+ style?: import("react").CSSProperties | undefined;
103
+ tabIndex?: number | undefined;
104
+ title?: string | undefined;
105
+ translate?: "yes" | "no" | undefined;
106
+ radioGroup?: string | undefined;
107
+ role?: import("react").AriaRole | undefined;
108
+ about?: string | undefined;
109
+ datatype?: string | undefined;
110
+ inlist?: any;
111
+ prefix?: string | undefined;
112
+ property?: string | undefined;
113
+ resource?: string | undefined;
114
+ typeof?: string | undefined;
115
+ vocab?: string | undefined;
116
+ autoCapitalize?: string | undefined;
117
+ autoCorrect?: string | undefined;
118
+ autoSave?: string | undefined;
119
+ color?: string | undefined;
120
+ itemProp?: string | undefined;
121
+ itemScope?: boolean | undefined;
122
+ itemType?: string | undefined;
123
+ itemID?: string | undefined;
124
+ itemRef?: string | undefined;
125
+ results?: number | undefined;
126
+ security?: string | undefined;
127
+ unselectable?: "on" | "off" | undefined;
128
+ inputMode: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
129
+ is?: string | undefined;
130
+ 'aria-activedescendant'?: string | undefined;
131
+ 'aria-atomic'?: (boolean | "false" | "true") | undefined;
132
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
133
+ 'aria-busy'?: (boolean | "false" | "true") | undefined;
134
+ 'aria-checked'?: boolean | "false" | "mixed" | "true" | undefined;
135
+ 'aria-colcount'?: number | undefined;
136
+ 'aria-colindex'?: number | undefined;
137
+ 'aria-colspan'?: number | undefined;
138
+ 'aria-controls'?: string | undefined;
139
+ 'aria-current'?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
140
+ "aria-describedby"?: string | undefined;
141
+ 'aria-details'?: string | undefined;
142
+ 'aria-disabled'?: (boolean | "false" | "true") | undefined;
143
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
144
+ 'aria-errormessage'?: string | undefined;
145
+ 'aria-expanded'?: (boolean | "false" | "true") | undefined;
146
+ 'aria-flowto'?: string | undefined;
147
+ 'aria-grabbed'?: (boolean | "false" | "true") | undefined;
148
+ 'aria-haspopup'?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
149
+ 'aria-hidden'?: (boolean | "false" | "true") | undefined;
150
+ "aria-invalid": boolean | "false" | "true" | "grammar" | "spelling" | undefined;
151
+ 'aria-keyshortcuts'?: string | undefined;
152
+ 'aria-label'?: string | undefined;
153
+ 'aria-labelledby'?: string | undefined;
154
+ 'aria-level'?: number | undefined;
155
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
156
+ 'aria-modal'?: (boolean | "false" | "true") | undefined;
157
+ 'aria-multiline'?: (boolean | "false" | "true") | undefined;
158
+ 'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
159
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
160
+ 'aria-owns'?: string | undefined;
161
+ 'aria-placeholder'?: string | undefined;
162
+ 'aria-posinset'?: number | undefined;
163
+ 'aria-pressed'?: boolean | "false" | "mixed" | "true" | undefined;
164
+ 'aria-readonly'?: (boolean | "false" | "true") | undefined;
165
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
166
+ 'aria-required'?: (boolean | "false" | "true") | undefined;
167
+ 'aria-roledescription'?: string | undefined;
168
+ 'aria-rowcount'?: number | undefined;
169
+ 'aria-rowindex'?: number | undefined;
170
+ 'aria-rowspan'?: number | undefined;
171
+ 'aria-selected'?: (boolean | "false" | "true") | undefined;
172
+ 'aria-setsize'?: number | undefined;
173
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
174
+ 'aria-valuemax'?: number | undefined;
175
+ 'aria-valuemin'?: number | undefined;
176
+ 'aria-valuenow'?: number | undefined;
177
+ 'aria-valuetext'?: string | undefined;
178
+ children?: import("react").ReactNode | undefined;
179
+ dangerouslySetInnerHTML?: {
180
+ __html: string;
181
+ } | undefined;
182
+ onCopy?: import("react").ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
183
+ onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
184
+ onCut?: import("react").ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
185
+ onCutCapture?: import("react").ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
186
+ onPaste?: import("react").ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
187
+ onPasteCapture?: import("react").ClipboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
188
+ onCompositionEnd?: import("react").CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
189
+ onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
190
+ onCompositionStart?: import("react").CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
191
+ onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
192
+ onCompositionUpdate?: import("react").CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
193
+ onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
194
+ onFocus: import("react").FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
195
+ onFocusCapture?: import("react").FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
196
+ onBlur: import("react").FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
197
+ onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
198
+ onChangeCapture?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
199
+ onBeforeInput?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
200
+ onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
201
+ onInput?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
202
+ onInputCapture?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
203
+ onReset?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
204
+ onResetCapture?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
205
+ onSubmit?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
206
+ onSubmitCapture?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
207
+ onInvalid?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
208
+ onInvalidCapture?: import("react").FormEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
209
+ onLoad?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
210
+ onLoadCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
211
+ onError?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
212
+ onErrorCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
213
+ onKeyDown: import("react").KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement>;
214
+ onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
215
+ onKeyPress?: import("react").KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
216
+ onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
217
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
218
+ onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
219
+ onAbort?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
220
+ onAbortCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
221
+ onCanPlay?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
222
+ onCanPlayCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
223
+ onCanPlayThrough?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
224
+ onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
225
+ onDurationChange?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
226
+ onDurationChangeCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
227
+ onEmptied?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
228
+ onEmptiedCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
229
+ onEncrypted?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
230
+ onEncryptedCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
231
+ onEnded?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
232
+ onEndedCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
233
+ onLoadedData?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
234
+ onLoadedDataCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
235
+ onLoadedMetadata?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
236
+ onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
237
+ onLoadStart?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
238
+ onLoadStartCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
239
+ onPause?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
240
+ onPauseCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
241
+ onPlay?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
242
+ onPlayCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
243
+ onPlaying?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
244
+ onPlayingCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
245
+ onProgress?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
246
+ onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
247
+ onRateChange?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
248
+ onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
249
+ onResize?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
250
+ onResizeCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
251
+ onSeeked?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
252
+ onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
253
+ onSeeking?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
254
+ onSeekingCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
255
+ onStalled?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
256
+ onStalledCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
257
+ onSuspend?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
258
+ onSuspendCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
259
+ onTimeUpdate?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
260
+ onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
261
+ onVolumeChange?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
262
+ onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
263
+ onWaiting?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
264
+ onWaitingCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
265
+ onAuxClick?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
266
+ onAuxClickCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
267
+ onClick?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
268
+ onClickCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
269
+ onContextMenu?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
270
+ onContextMenuCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
271
+ onDoubleClick?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
272
+ onDoubleClickCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
273
+ onDrag?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
274
+ onDragCapture?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
275
+ onDragEnd?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
276
+ onDragEndCapture?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
277
+ onDragEnter?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
278
+ onDragEnterCapture?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
279
+ onDragExit?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
280
+ onDragExitCapture?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
281
+ onDragLeave?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
282
+ onDragLeaveCapture?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
283
+ onDragOver?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
284
+ onDragOverCapture?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
285
+ onDragStart?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
286
+ onDragStartCapture?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
287
+ onDrop?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
288
+ onDropCapture?: import("react").DragEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
289
+ onMouseDown?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
290
+ onMouseDownCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
291
+ onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
292
+ onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
293
+ onMouseMove?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
294
+ onMouseMoveCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
295
+ onMouseOut?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
296
+ onMouseOutCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
297
+ onMouseOver?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
298
+ onMouseOverCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
299
+ onMouseUp?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
300
+ onMouseUpCapture?: import("react").MouseEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
301
+ onSelect?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
302
+ onSelectCapture?: import("react").ReactEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
303
+ onTouchCancel?: import("react").TouchEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
304
+ onTouchCancelCapture?: import("react").TouchEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
305
+ onTouchEnd?: import("react").TouchEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
306
+ onTouchEndCapture?: import("react").TouchEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
307
+ onTouchMove?: import("react").TouchEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
308
+ onTouchMoveCapture?: import("react").TouchEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
309
+ onTouchStart?: import("react").TouchEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
310
+ onTouchStartCapture?: import("react").TouchEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
311
+ onPointerDown?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
312
+ onPointerDownCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
313
+ onPointerMove?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
314
+ onPointerMoveCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
315
+ onPointerUp?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
316
+ onPointerUpCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
317
+ onPointerCancel?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
318
+ onPointerCancelCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
319
+ onPointerEnter?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
320
+ onPointerEnterCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
321
+ onPointerLeave?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
322
+ onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
323
+ onPointerOver?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
324
+ onPointerOverCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
325
+ onPointerOut?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
326
+ onPointerOutCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
327
+ onGotPointerCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
328
+ onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
329
+ onLostPointerCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
330
+ onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
331
+ onScroll?: import("react").UIEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
332
+ onScrollCapture?: import("react").UIEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
333
+ onWheel?: import("react").WheelEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
334
+ onWheelCapture?: import("react").WheelEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
335
+ onAnimationStart?: import("react").AnimationEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
336
+ onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
337
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
338
+ onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
339
+ onAnimationIteration?: import("react").AnimationEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
340
+ onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
341
+ onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
342
+ onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
343
+ id: string;
344
+ name: string;
345
+ };
346
+ descriptionIdentifier: string;
347
+ };