carbon-react 111.12.4 → 111.12.6
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/esm/__internal__/input/input.component.d.ts +6 -0
- package/esm/__internal__/input/input.component.js +3 -0
- package/esm/__internal__/radio-button-mapper/index.d.ts +2 -2
- package/esm/__internal__/radio-button-mapper/radio-button-mapper.component.d.ts +29 -0
- package/esm/__internal__/radio-button-mapper/radio-button-mapper.component.js +20 -26
- package/esm/components/checkbox/checkbox.style.d.ts +1 -1
- package/esm/components/date/date.component.js +3 -1
- package/esm/components/date/date.style.js +18 -1
- package/esm/components/decimal/decimal.component.js +1 -0
- package/esm/components/grouped-character/grouped-character.component.js +1 -0
- package/esm/components/radio-button/index.d.ts +4 -6
- package/esm/components/radio-button/index.js +2 -2
- package/esm/components/radio-button/radio-button-group.component.d.ts +42 -0
- package/esm/components/radio-button/radio-button-group.component.js +181 -67
- package/esm/components/radio-button/radio-button-group.style.d.ts +5 -0
- package/esm/components/radio-button/radio-button-svg.component.d.ts +3 -0
- package/esm/components/radio-button/radio-button-svg.component.js +1 -0
- package/esm/components/radio-button/radio-button.component.d.ts +28 -0
- package/esm/components/radio-button/radio-button.component.js +529 -107
- package/esm/components/radio-button/radio-button.style.d.ts +5 -0
- package/esm/components/textarea/index.d.ts +2 -1
- package/esm/components/textarea/textarea.component.d.ts +94 -0
- package/esm/components/textarea/textarea.component.js +570 -162
- package/esm/components/textarea/textarea.style.d.ts +8 -2
- package/esm/components/textbox/textbox.component.js +41 -36
- package/esm/components/textbox/textbox.style.js +1 -1
- package/lib/__internal__/input/input.component.d.ts +6 -0
- package/lib/__internal__/input/input.component.js +3 -0
- package/lib/__internal__/radio-button-mapper/index.d.ts +2 -2
- package/lib/__internal__/radio-button-mapper/radio-button-mapper.component.d.ts +29 -0
- package/lib/__internal__/radio-button-mapper/radio-button-mapper.component.js +20 -26
- package/lib/components/checkbox/checkbox.style.d.ts +1 -1
- package/lib/components/date/date.component.js +3 -1
- package/lib/components/date/date.style.js +25 -1
- package/lib/components/decimal/decimal.component.js +1 -0
- package/lib/components/grouped-character/grouped-character.component.js +1 -0
- package/lib/components/radio-button/index.d.ts +4 -6
- package/lib/components/radio-button/index.js +1 -11
- package/lib/components/radio-button/radio-button-group.component.d.ts +42 -0
- package/lib/components/radio-button/radio-button-group.component.js +182 -70
- package/lib/components/radio-button/radio-button-group.style.d.ts +5 -0
- package/lib/components/radio-button/radio-button-svg.component.d.ts +3 -0
- package/lib/components/radio-button/radio-button-svg.component.js +2 -0
- package/lib/components/radio-button/radio-button.component.d.ts +28 -0
- package/lib/components/radio-button/radio-button.component.js +530 -109
- package/lib/components/radio-button/radio-button.style.d.ts +5 -0
- package/lib/components/textarea/index.d.ts +2 -1
- package/lib/components/textarea/textarea.component.d.ts +94 -0
- package/lib/components/textarea/textarea.component.js +574 -166
- package/lib/components/textarea/textarea.style.d.ts +8 -2
- package/lib/components/textbox/textbox.component.js +44 -36
- package/lib/components/textbox/textbox.style.js +1 -1
- package/package.json +1 -1
- package/esm/__internal__/radio-button-mapper/radio-button-mapper.d.ts +0 -20
- package/esm/components/radio-button/radio-button-group.d.ts +0 -42
- package/esm/components/radio-button/radio-button.d.ts +0 -30
- package/esm/components/textarea/textarea.d.ts +0 -81
- package/lib/__internal__/radio-button-mapper/radio-button-mapper.d.ts +0 -20
- package/lib/components/radio-button/radio-button-group.d.ts +0 -42
- package/lib/components/radio-button/radio-button.d.ts +0 -30
- package/lib/components/textarea/textarea.d.ts +0 -81
|
@@ -2,7 +2,6 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
2
2
|
|
|
3
3
|
import React, { useRef, useEffect, useContext } from "react";
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
|
-
import styledSystemPropTypes from "@styled-system/prop-types";
|
|
6
5
|
import { InputPresentation } from "../../__internal__/input";
|
|
7
6
|
import FormField from "../../__internal__/form-field";
|
|
8
7
|
import useCharacterCount from "../../hooks/__internal__/useCharacterCount";
|
|
@@ -17,7 +16,7 @@ import useInputAccessibility from "../../hooks/__internal__/useInputAccessibilit
|
|
|
17
16
|
import { NewValidationContext } from "../carbon-provider/carbon-provider.component";
|
|
18
17
|
import { ErrorBorder, StyledHintText } from "../textbox/textbox.style";
|
|
19
18
|
import ValidationMessage from "../../__internal__/validation-message";
|
|
20
|
-
|
|
19
|
+
import Box from "../box"; // TODO: Change characterLimit type to number - batch with other breaking changes
|
|
21
20
|
|
|
22
21
|
const Textarea = ({
|
|
23
22
|
autoFocus,
|
|
@@ -66,13 +65,13 @@ const Textarea = ({
|
|
|
66
65
|
const {
|
|
67
66
|
current: id
|
|
68
67
|
} = useRef(idProp || guid());
|
|
69
|
-
const inputRef = useRef();
|
|
68
|
+
const inputRef = useRef(null);
|
|
70
69
|
const minHeight = useRef(MIN_HEIGHT);
|
|
71
70
|
|
|
72
71
|
const expandTextarea = () => {
|
|
73
72
|
const textarea = inputRef.current;
|
|
74
73
|
|
|
75
|
-
if (textarea.scrollHeight > minHeight.current) {
|
|
74
|
+
if (textarea !== null && textarea !== void 0 && textarea.scrollHeight && (textarea === null || textarea === void 0 ? void 0 : textarea.scrollHeight) > minHeight.current) {
|
|
76
75
|
textarea.style.height = "0px"; // Set the height so all content is shown
|
|
77
76
|
|
|
78
77
|
textarea.style.height = `${Math.max(textarea.scrollHeight, minHeight.current)}px`;
|
|
@@ -97,7 +96,9 @@ const Textarea = ({
|
|
|
97
96
|
typeof characterLimit === "string" ? parseInt(characterLimit, 10) : characterLimit, warnOverLimit, enforceCharacterLimit);
|
|
98
97
|
useEffect(() => {
|
|
99
98
|
if (rows) {
|
|
100
|
-
|
|
99
|
+
var _inputRef$current;
|
|
100
|
+
|
|
101
|
+
minHeight.current = (inputRef === null || inputRef === void 0 ? void 0 : (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.scrollHeight) || 0;
|
|
101
102
|
}
|
|
102
103
|
}, [rows]);
|
|
103
104
|
useEffect(() => {
|
|
@@ -107,8 +108,10 @@ const Textarea = ({
|
|
|
107
108
|
});
|
|
108
109
|
useEffect(() => {
|
|
109
110
|
if (expandable) {
|
|
111
|
+
var _inputRef$current2;
|
|
112
|
+
|
|
110
113
|
window.addEventListener("resize", expandTextarea);
|
|
111
|
-
minHeight.current = inputRef.current.clientHeight;
|
|
114
|
+
minHeight.current = (inputRef === null || inputRef === void 0 ? void 0 : (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.clientHeight) || 0;
|
|
112
115
|
}
|
|
113
116
|
|
|
114
117
|
return () => {
|
|
@@ -118,38 +121,7 @@ const Textarea = ({
|
|
|
118
121
|
};
|
|
119
122
|
}, [expandable]);
|
|
120
123
|
const hasIconInside = !!(inputIcon || validationIconId && !validationOnLabel);
|
|
121
|
-
|
|
122
|
-
tooltipPosition: tooltipPosition,
|
|
123
|
-
helpAriaLabel: helpAriaLabel
|
|
124
|
-
}, /*#__PURE__*/React.createElement(InputBehaviour, null, /*#__PURE__*/React.createElement(StyledTextarea, _extends({
|
|
125
|
-
labelInline: labelInline,
|
|
126
|
-
"data-component": dataComponent,
|
|
127
|
-
"data-role": dataRole,
|
|
128
|
-
"data-element": dataElement,
|
|
129
|
-
hasIcon: hasIconInside
|
|
130
|
-
}, filterStyledSystemMarginProps(props)), /*#__PURE__*/React.createElement(FormField, {
|
|
131
|
-
fieldHelp: computeLabelPropValues(fieldHelp),
|
|
132
|
-
fieldHelpId: fieldHelpId,
|
|
133
|
-
error: error,
|
|
134
|
-
warning: warning,
|
|
135
|
-
info: info,
|
|
136
|
-
label: label,
|
|
137
|
-
labelId: labelId,
|
|
138
|
-
disabled: disabled,
|
|
139
|
-
id: id,
|
|
140
|
-
labelInline: computeLabelPropValues(labelInline),
|
|
141
|
-
labelAlign: computeLabelPropValues(labelAlign),
|
|
142
|
-
labelWidth: computeLabelPropValues(labelWidth),
|
|
143
|
-
labelHelp: computeLabelPropValues(labelHelp),
|
|
144
|
-
labelSpacing: labelSpacing,
|
|
145
|
-
isRequired: props.required,
|
|
146
|
-
useValidationIcon: computeLabelPropValues(validationOnLabel),
|
|
147
|
-
adaptiveLabelBreakpoint: adaptiveLabelBreakpoint,
|
|
148
|
-
validationRedesignOptIn: validationRedesignOptIn
|
|
149
|
-
}, validationRedesignOptIn && labelHelp && /*#__PURE__*/React.createElement(StyledHintText, null, labelHelp), validationRedesignOptIn && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
150
|
-
error: error,
|
|
151
|
-
warning: warning
|
|
152
|
-
}), /*#__PURE__*/React.createElement(InputPresentation, {
|
|
124
|
+
const input = /*#__PURE__*/React.createElement(InputPresentation, {
|
|
153
125
|
size: size,
|
|
154
126
|
disabled: disabled,
|
|
155
127
|
readOnly: readOnly,
|
|
@@ -157,9 +129,7 @@ const Textarea = ({
|
|
|
157
129
|
error: error,
|
|
158
130
|
warning: warning,
|
|
159
131
|
info: info
|
|
160
|
-
},
|
|
161
|
-
warning: !!(!error && warning)
|
|
162
|
-
}), /*#__PURE__*/React.createElement(Input, _extends({
|
|
132
|
+
}, /*#__PURE__*/React.createElement(Input, _extends({
|
|
163
133
|
"aria-invalid": !!error,
|
|
164
134
|
"aria-labelledby": ariaLabelledBy,
|
|
165
135
|
"aria-describedby": validationRedesignOptIn ? undefined : ariaDescribedBy,
|
|
@@ -171,7 +141,6 @@ const Textarea = ({
|
|
|
171
141
|
onChange: onChange,
|
|
172
142
|
disabled: disabled,
|
|
173
143
|
readOnly: readOnly,
|
|
174
|
-
labelInline: labelInline,
|
|
175
144
|
placeholder: disabled ? "" : placeholder,
|
|
176
145
|
rows: rows,
|
|
177
146
|
cols: cols,
|
|
@@ -187,131 +156,570 @@ const Textarea = ({
|
|
|
187
156
|
info: info,
|
|
188
157
|
validationIconId: validationRedesignOptIn ? undefined : validationIconId,
|
|
189
158
|
useValidationIcon: !(validationRedesignOptIn || validationOnLabel)
|
|
190
|
-
}))
|
|
159
|
+
}));
|
|
160
|
+
return /*#__PURE__*/React.createElement(TooltipProvider, {
|
|
161
|
+
tooltipPosition: tooltipPosition,
|
|
162
|
+
helpAriaLabel: helpAriaLabel
|
|
163
|
+
}, /*#__PURE__*/React.createElement(InputBehaviour, null, /*#__PURE__*/React.createElement(StyledTextarea, _extends({
|
|
164
|
+
labelInline: labelInline,
|
|
165
|
+
"data-component": dataComponent,
|
|
166
|
+
"data-role": dataRole,
|
|
167
|
+
"data-element": dataElement,
|
|
168
|
+
hasIcon: hasIconInside
|
|
169
|
+
}, filterStyledSystemMarginProps(props)), /*#__PURE__*/React.createElement(FormField, {
|
|
170
|
+
fieldHelp: computeLabelPropValues(fieldHelp),
|
|
171
|
+
fieldHelpId: fieldHelpId,
|
|
172
|
+
error: error,
|
|
173
|
+
warning: warning,
|
|
174
|
+
info: info,
|
|
175
|
+
label: label,
|
|
176
|
+
labelId: labelId,
|
|
177
|
+
disabled: disabled,
|
|
178
|
+
id: id,
|
|
179
|
+
labelInline: computeLabelPropValues(labelInline),
|
|
180
|
+
labelAlign: computeLabelPropValues(labelAlign),
|
|
181
|
+
labelWidth: computeLabelPropValues(labelWidth),
|
|
182
|
+
labelHelp: computeLabelPropValues(labelHelp),
|
|
183
|
+
labelSpacing: labelSpacing,
|
|
184
|
+
isRequired: props.required,
|
|
185
|
+
useValidationIcon: computeLabelPropValues(validationOnLabel),
|
|
186
|
+
adaptiveLabelBreakpoint: adaptiveLabelBreakpoint,
|
|
187
|
+
validationRedesignOptIn: validationRedesignOptIn
|
|
188
|
+
}, validationRedesignOptIn && labelHelp && /*#__PURE__*/React.createElement(StyledHintText, null, labelHelp), validationRedesignOptIn ? /*#__PURE__*/React.createElement(Box, {
|
|
189
|
+
position: "relative"
|
|
190
|
+
}, /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
191
|
+
error: error,
|
|
192
|
+
warning: warning
|
|
193
|
+
}), (error || warning) && /*#__PURE__*/React.createElement(ErrorBorder, {
|
|
194
|
+
warning: !!(!error && warning)
|
|
195
|
+
}), input) : input), characterCount)));
|
|
191
196
|
};
|
|
192
197
|
|
|
193
|
-
Textarea.propTypes = {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
Textarea.propTypes = {
|
|
199
|
+
"about": PropTypes.string,
|
|
200
|
+
"accept": PropTypes.string,
|
|
201
|
+
"accessKey": PropTypes.string,
|
|
202
|
+
"adaptiveLabelBreakpoint": PropTypes.number,
|
|
203
|
+
"align": PropTypes.oneOf(["left", "right"]),
|
|
204
|
+
"alt": PropTypes.string,
|
|
205
|
+
"aria-activedescendant": PropTypes.string,
|
|
206
|
+
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
207
|
+
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
208
|
+
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
209
|
+
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
210
|
+
"aria-colcount": PropTypes.number,
|
|
211
|
+
"aria-colindex": PropTypes.number,
|
|
212
|
+
"aria-colspan": PropTypes.number,
|
|
213
|
+
"aria-controls": PropTypes.string,
|
|
214
|
+
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
215
|
+
"aria-describedby": PropTypes.string,
|
|
216
|
+
"aria-details": PropTypes.string,
|
|
217
|
+
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
218
|
+
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
219
|
+
"aria-errormessage": PropTypes.string,
|
|
220
|
+
"aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
221
|
+
"aria-flowto": PropTypes.string,
|
|
222
|
+
"aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
223
|
+
"aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
|
|
224
|
+
"aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
225
|
+
"aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
|
|
226
|
+
"aria-keyshortcuts": PropTypes.string,
|
|
227
|
+
"aria-label": PropTypes.string,
|
|
228
|
+
"aria-labelledby": PropTypes.string,
|
|
229
|
+
"aria-level": PropTypes.number,
|
|
230
|
+
"aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
|
|
231
|
+
"aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
232
|
+
"aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
233
|
+
"aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
234
|
+
"aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
|
|
235
|
+
"aria-owns": PropTypes.string,
|
|
236
|
+
"aria-placeholder": PropTypes.string,
|
|
237
|
+
"aria-posinset": PropTypes.number,
|
|
238
|
+
"aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
239
|
+
"aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
240
|
+
"aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
|
|
241
|
+
"aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
242
|
+
"aria-roledescription": PropTypes.string,
|
|
243
|
+
"aria-rowcount": PropTypes.number,
|
|
244
|
+
"aria-rowindex": PropTypes.number,
|
|
245
|
+
"aria-rowspan": PropTypes.number,
|
|
246
|
+
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
247
|
+
"aria-setsize": PropTypes.number,
|
|
248
|
+
"aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
|
|
249
|
+
"aria-valuemax": PropTypes.number,
|
|
250
|
+
"aria-valuemin": PropTypes.number,
|
|
251
|
+
"aria-valuenow": PropTypes.number,
|
|
252
|
+
"aria-valuetext": PropTypes.string,
|
|
253
|
+
"as": PropTypes.elementType,
|
|
254
|
+
"autoCapitalize": PropTypes.string,
|
|
255
|
+
"autoComplete": PropTypes.string,
|
|
256
|
+
"autoCorrect": PropTypes.string,
|
|
257
|
+
"autoFocus": PropTypes.bool,
|
|
258
|
+
"autoSave": PropTypes.string,
|
|
259
|
+
"capture": PropTypes.oneOfType([PropTypes.oneOf(["environment", "user"]), PropTypes.bool]),
|
|
260
|
+
"characterLimit": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
261
|
+
"checked": PropTypes.bool,
|
|
262
|
+
"children": PropTypes.node,
|
|
263
|
+
"className": PropTypes.string,
|
|
264
|
+
"color": PropTypes.string,
|
|
265
|
+
"cols": PropTypes.number,
|
|
266
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
267
|
+
"contextMenu": PropTypes.string,
|
|
268
|
+
"crossOrigin": PropTypes.string,
|
|
269
|
+
"css": PropTypes.oneOfType([PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
270
|
+
"__emotion_styles": PropTypes.any.isRequired
|
|
271
|
+
}), PropTypes.string, PropTypes.bool]),
|
|
272
|
+
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
273
|
+
"__html": PropTypes.string.isRequired
|
|
274
|
+
}),
|
|
199
275
|
"data-component": PropTypes.string,
|
|
200
|
-
|
|
201
|
-
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
202
276
|
"data-element": PropTypes.string,
|
|
203
|
-
|
|
204
|
-
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
205
277
|
"data-role": PropTypes.string,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
278
|
+
"datatype": PropTypes.string,
|
|
279
|
+
"defaultChecked": PropTypes.bool,
|
|
280
|
+
"defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
|
|
281
|
+
"dir": PropTypes.string,
|
|
282
|
+
"disabled": PropTypes.bool,
|
|
283
|
+
"draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
284
|
+
"enforceCharacterLimit": PropTypes.bool,
|
|
285
|
+
"enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
|
|
286
|
+
"error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
287
|
+
"expandable": PropTypes.bool,
|
|
288
|
+
"fieldHelp": PropTypes.node,
|
|
289
|
+
"form": PropTypes.string,
|
|
290
|
+
"formAction": PropTypes.string,
|
|
291
|
+
"formEncType": PropTypes.string,
|
|
292
|
+
"formMethod": PropTypes.string,
|
|
293
|
+
"formNoValidate": PropTypes.bool,
|
|
294
|
+
"formTarget": PropTypes.string,
|
|
295
|
+
"height": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
296
|
+
"helpAriaLabel": PropTypes.string,
|
|
297
|
+
"hidden": PropTypes.bool,
|
|
298
|
+
"id": PropTypes.string,
|
|
299
|
+
"info": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
300
|
+
"inlist": PropTypes.any,
|
|
301
|
+
"inputIcon": PropTypes.oneOf(["add", "admin", "alert_on", "alert", "analysis", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_up", "arrow", "attach", "bank", "basket_with_squares", "basket", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_today", "calendar", "call", "camera", "card_view", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "coins", "collaborate", "computer_clock", "connect", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "gift", "go", "graph", "grid", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "italic", "key", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "person_info", "person_tick", "person", "phone", "piggy_bank", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "question_hollow", "question_mark", "question", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "sync", "tag", "talk", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "warning"]),
|
|
302
|
+
"inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
|
|
303
|
+
"inputRef": PropTypes.func,
|
|
304
|
+
"inputWidth": PropTypes.number,
|
|
305
|
+
"is": PropTypes.string,
|
|
306
|
+
"itemID": PropTypes.string,
|
|
307
|
+
"itemProp": PropTypes.string,
|
|
308
|
+
"itemRef": PropTypes.string,
|
|
309
|
+
"itemScope": PropTypes.bool,
|
|
310
|
+
"itemType": PropTypes.string,
|
|
311
|
+
"label": PropTypes.string,
|
|
312
|
+
"labelAlign": PropTypes.oneOf(["left", "right"]),
|
|
313
|
+
"labelHelp": PropTypes.node,
|
|
314
|
+
"labelInline": PropTypes.bool,
|
|
315
|
+
"labelSpacing": PropTypes.oneOf([1, 2]),
|
|
316
|
+
"labelWidth": PropTypes.number,
|
|
317
|
+
"lang": PropTypes.string,
|
|
318
|
+
"list": PropTypes.string,
|
|
319
|
+
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
320
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
321
|
+
"description": PropTypes.string,
|
|
322
|
+
"toString": PropTypes.func.isRequired,
|
|
323
|
+
"valueOf": PropTypes.func.isRequired
|
|
324
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
325
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
326
|
+
"description": PropTypes.string,
|
|
327
|
+
"toString": PropTypes.func.isRequired,
|
|
328
|
+
"valueOf": PropTypes.func.isRequired
|
|
329
|
+
}), PropTypes.string]),
|
|
330
|
+
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
331
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
332
|
+
"description": PropTypes.string,
|
|
333
|
+
"toString": PropTypes.func.isRequired,
|
|
334
|
+
"valueOf": PropTypes.func.isRequired
|
|
335
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
336
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
337
|
+
"description": PropTypes.string,
|
|
338
|
+
"toString": PropTypes.func.isRequired,
|
|
339
|
+
"valueOf": PropTypes.func.isRequired
|
|
340
|
+
}), PropTypes.string]),
|
|
341
|
+
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
342
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
343
|
+
"description": PropTypes.string,
|
|
344
|
+
"toString": PropTypes.func.isRequired,
|
|
345
|
+
"valueOf": PropTypes.func.isRequired
|
|
346
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
347
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
348
|
+
"description": PropTypes.string,
|
|
349
|
+
"toString": PropTypes.func.isRequired,
|
|
350
|
+
"valueOf": PropTypes.func.isRequired
|
|
351
|
+
}), PropTypes.string]),
|
|
352
|
+
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
353
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
354
|
+
"description": PropTypes.string,
|
|
355
|
+
"toString": PropTypes.func.isRequired,
|
|
356
|
+
"valueOf": PropTypes.func.isRequired
|
|
357
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
358
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
359
|
+
"description": PropTypes.string,
|
|
360
|
+
"toString": PropTypes.func.isRequired,
|
|
361
|
+
"valueOf": PropTypes.func.isRequired
|
|
362
|
+
}), PropTypes.string]),
|
|
363
|
+
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
364
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
365
|
+
"description": PropTypes.string,
|
|
366
|
+
"toString": PropTypes.func.isRequired,
|
|
367
|
+
"valueOf": PropTypes.func.isRequired
|
|
368
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
369
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
370
|
+
"description": PropTypes.string,
|
|
371
|
+
"toString": PropTypes.func.isRequired,
|
|
372
|
+
"valueOf": PropTypes.func.isRequired
|
|
373
|
+
}), PropTypes.string]),
|
|
374
|
+
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
375
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
376
|
+
"description": PropTypes.string,
|
|
377
|
+
"toString": PropTypes.func.isRequired,
|
|
378
|
+
"valueOf": PropTypes.func.isRequired
|
|
379
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
380
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
381
|
+
"description": PropTypes.string,
|
|
382
|
+
"toString": PropTypes.func.isRequired,
|
|
383
|
+
"valueOf": PropTypes.func.isRequired
|
|
384
|
+
}), PropTypes.string]),
|
|
385
|
+
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
386
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
387
|
+
"description": PropTypes.string,
|
|
388
|
+
"toString": PropTypes.func.isRequired,
|
|
389
|
+
"valueOf": PropTypes.func.isRequired
|
|
390
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
391
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
392
|
+
"description": PropTypes.string,
|
|
393
|
+
"toString": PropTypes.func.isRequired,
|
|
394
|
+
"valueOf": PropTypes.func.isRequired
|
|
395
|
+
}), PropTypes.string]),
|
|
396
|
+
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
397
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
398
|
+
"description": PropTypes.string,
|
|
399
|
+
"toString": PropTypes.func.isRequired,
|
|
400
|
+
"valueOf": PropTypes.func.isRequired
|
|
401
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
402
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
403
|
+
"description": PropTypes.string,
|
|
404
|
+
"toString": PropTypes.func.isRequired,
|
|
405
|
+
"valueOf": PropTypes.func.isRequired
|
|
406
|
+
}), PropTypes.string]),
|
|
407
|
+
"max": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
408
|
+
"maxLength": PropTypes.number,
|
|
409
|
+
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
410
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
411
|
+
"description": PropTypes.string,
|
|
412
|
+
"toString": PropTypes.func.isRequired,
|
|
413
|
+
"valueOf": PropTypes.func.isRequired
|
|
414
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
415
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
416
|
+
"description": PropTypes.string,
|
|
417
|
+
"toString": PropTypes.func.isRequired,
|
|
418
|
+
"valueOf": PropTypes.func.isRequired
|
|
419
|
+
}), PropTypes.string]),
|
|
420
|
+
"min": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
421
|
+
"minLength": PropTypes.number,
|
|
422
|
+
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
423
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
424
|
+
"description": PropTypes.string,
|
|
425
|
+
"toString": PropTypes.func.isRequired,
|
|
426
|
+
"valueOf": PropTypes.func.isRequired
|
|
427
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
428
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
429
|
+
"description": PropTypes.string,
|
|
430
|
+
"toString": PropTypes.func.isRequired,
|
|
431
|
+
"valueOf": PropTypes.func.isRequired
|
|
432
|
+
}), PropTypes.string]),
|
|
433
|
+
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
434
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
435
|
+
"description": PropTypes.string,
|
|
436
|
+
"toString": PropTypes.func.isRequired,
|
|
437
|
+
"valueOf": PropTypes.func.isRequired
|
|
438
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
439
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
440
|
+
"description": PropTypes.string,
|
|
441
|
+
"toString": PropTypes.func.isRequired,
|
|
442
|
+
"valueOf": PropTypes.func.isRequired
|
|
443
|
+
}), PropTypes.string]),
|
|
444
|
+
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
445
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
446
|
+
"description": PropTypes.string,
|
|
447
|
+
"toString": PropTypes.func.isRequired,
|
|
448
|
+
"valueOf": PropTypes.func.isRequired
|
|
449
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
450
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
451
|
+
"description": PropTypes.string,
|
|
452
|
+
"toString": PropTypes.func.isRequired,
|
|
453
|
+
"valueOf": PropTypes.func.isRequired
|
|
454
|
+
}), PropTypes.string]),
|
|
455
|
+
"multiple": PropTypes.bool,
|
|
456
|
+
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
457
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
458
|
+
"description": PropTypes.string,
|
|
459
|
+
"toString": PropTypes.func.isRequired,
|
|
460
|
+
"valueOf": PropTypes.func.isRequired
|
|
461
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
462
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
463
|
+
"description": PropTypes.string,
|
|
464
|
+
"toString": PropTypes.func.isRequired,
|
|
465
|
+
"valueOf": PropTypes.func.isRequired
|
|
466
|
+
}), PropTypes.string]),
|
|
467
|
+
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
468
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
469
|
+
"description": PropTypes.string,
|
|
470
|
+
"toString": PropTypes.func.isRequired,
|
|
471
|
+
"valueOf": PropTypes.func.isRequired
|
|
472
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
473
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
474
|
+
"description": PropTypes.string,
|
|
475
|
+
"toString": PropTypes.func.isRequired,
|
|
476
|
+
"valueOf": PropTypes.func.isRequired
|
|
477
|
+
}), PropTypes.string]),
|
|
478
|
+
"name": PropTypes.string,
|
|
479
|
+
"onAbort": PropTypes.func,
|
|
480
|
+
"onAbortCapture": PropTypes.func,
|
|
481
|
+
"onAnimationEnd": PropTypes.func,
|
|
482
|
+
"onAnimationEndCapture": PropTypes.func,
|
|
483
|
+
"onAnimationIteration": PropTypes.func,
|
|
484
|
+
"onAnimationIterationCapture": PropTypes.func,
|
|
485
|
+
"onAnimationStart": PropTypes.func,
|
|
486
|
+
"onAnimationStartCapture": PropTypes.func,
|
|
487
|
+
"onAuxClick": PropTypes.func,
|
|
488
|
+
"onAuxClickCapture": PropTypes.func,
|
|
489
|
+
"onBeforeInput": PropTypes.func,
|
|
490
|
+
"onBeforeInputCapture": PropTypes.func,
|
|
491
|
+
"onBlur": PropTypes.func,
|
|
492
|
+
"onBlurCapture": PropTypes.func,
|
|
493
|
+
"onCanPlay": PropTypes.func,
|
|
494
|
+
"onCanPlayCapture": PropTypes.func,
|
|
495
|
+
"onCanPlayThrough": PropTypes.func,
|
|
496
|
+
"onCanPlayThroughCapture": PropTypes.func,
|
|
497
|
+
"onChange": PropTypes.func,
|
|
498
|
+
"onChangeCapture": PropTypes.func,
|
|
499
|
+
"onClick": PropTypes.func,
|
|
500
|
+
"onClickCapture": PropTypes.func,
|
|
501
|
+
"onCompositionEnd": PropTypes.func,
|
|
502
|
+
"onCompositionEndCapture": PropTypes.func,
|
|
503
|
+
"onCompositionStart": PropTypes.func,
|
|
504
|
+
"onCompositionStartCapture": PropTypes.func,
|
|
505
|
+
"onCompositionUpdate": PropTypes.func,
|
|
506
|
+
"onCompositionUpdateCapture": PropTypes.func,
|
|
507
|
+
"onContextMenu": PropTypes.func,
|
|
508
|
+
"onContextMenuCapture": PropTypes.func,
|
|
509
|
+
"onCopy": PropTypes.func,
|
|
510
|
+
"onCopyCapture": PropTypes.func,
|
|
511
|
+
"onCut": PropTypes.func,
|
|
512
|
+
"onCutCapture": PropTypes.func,
|
|
513
|
+
"onDoubleClick": PropTypes.func,
|
|
514
|
+
"onDoubleClickCapture": PropTypes.func,
|
|
515
|
+
"onDrag": PropTypes.func,
|
|
516
|
+
"onDragCapture": PropTypes.func,
|
|
517
|
+
"onDragEnd": PropTypes.func,
|
|
518
|
+
"onDragEndCapture": PropTypes.func,
|
|
519
|
+
"onDragEnter": PropTypes.func,
|
|
520
|
+
"onDragEnterCapture": PropTypes.func,
|
|
521
|
+
"onDragExit": PropTypes.func,
|
|
522
|
+
"onDragExitCapture": PropTypes.func,
|
|
523
|
+
"onDragLeave": PropTypes.func,
|
|
524
|
+
"onDragLeaveCapture": PropTypes.func,
|
|
525
|
+
"onDragOver": PropTypes.func,
|
|
526
|
+
"onDragOverCapture": PropTypes.func,
|
|
527
|
+
"onDragStart": PropTypes.func,
|
|
528
|
+
"onDragStartCapture": PropTypes.func,
|
|
529
|
+
"onDrop": PropTypes.func,
|
|
530
|
+
"onDropCapture": PropTypes.func,
|
|
531
|
+
"onDurationChange": PropTypes.func,
|
|
532
|
+
"onDurationChangeCapture": PropTypes.func,
|
|
533
|
+
"onEmptied": PropTypes.func,
|
|
534
|
+
"onEmptiedCapture": PropTypes.func,
|
|
535
|
+
"onEncrypted": PropTypes.func,
|
|
536
|
+
"onEncryptedCapture": PropTypes.func,
|
|
537
|
+
"onEnded": PropTypes.func,
|
|
538
|
+
"onEndedCapture": PropTypes.func,
|
|
539
|
+
"onError": PropTypes.func,
|
|
540
|
+
"onErrorCapture": PropTypes.func,
|
|
541
|
+
"onFocus": PropTypes.func,
|
|
542
|
+
"onFocusCapture": PropTypes.func,
|
|
543
|
+
"onGotPointerCapture": PropTypes.func,
|
|
544
|
+
"onGotPointerCaptureCapture": PropTypes.func,
|
|
545
|
+
"onInput": PropTypes.func,
|
|
546
|
+
"onInputCapture": PropTypes.func,
|
|
547
|
+
"onInvalid": PropTypes.func,
|
|
548
|
+
"onInvalidCapture": PropTypes.func,
|
|
549
|
+
"onKeyDown": PropTypes.func,
|
|
550
|
+
"onKeyDownCapture": PropTypes.func,
|
|
551
|
+
"onKeyPress": PropTypes.func,
|
|
552
|
+
"onKeyPressCapture": PropTypes.func,
|
|
553
|
+
"onKeyUp": PropTypes.func,
|
|
554
|
+
"onKeyUpCapture": PropTypes.func,
|
|
555
|
+
"onLoad": PropTypes.func,
|
|
556
|
+
"onLoadCapture": PropTypes.func,
|
|
557
|
+
"onLoadedData": PropTypes.func,
|
|
558
|
+
"onLoadedDataCapture": PropTypes.func,
|
|
559
|
+
"onLoadedMetadata": PropTypes.func,
|
|
560
|
+
"onLoadedMetadataCapture": PropTypes.func,
|
|
561
|
+
"onLoadStart": PropTypes.func,
|
|
562
|
+
"onLoadStartCapture": PropTypes.func,
|
|
563
|
+
"onLostPointerCapture": PropTypes.func,
|
|
564
|
+
"onLostPointerCaptureCapture": PropTypes.func,
|
|
565
|
+
"onMouseDown": PropTypes.func,
|
|
566
|
+
"onMouseDownCapture": PropTypes.func,
|
|
567
|
+
"onMouseEnter": PropTypes.func,
|
|
568
|
+
"onMouseLeave": PropTypes.func,
|
|
569
|
+
"onMouseMove": PropTypes.func,
|
|
570
|
+
"onMouseMoveCapture": PropTypes.func,
|
|
571
|
+
"onMouseOut": PropTypes.func,
|
|
572
|
+
"onMouseOutCapture": PropTypes.func,
|
|
573
|
+
"onMouseOver": PropTypes.func,
|
|
574
|
+
"onMouseOverCapture": PropTypes.func,
|
|
575
|
+
"onMouseUp": PropTypes.func,
|
|
576
|
+
"onMouseUpCapture": PropTypes.func,
|
|
577
|
+
"onPaste": PropTypes.func,
|
|
578
|
+
"onPasteCapture": PropTypes.func,
|
|
579
|
+
"onPause": PropTypes.func,
|
|
580
|
+
"onPauseCapture": PropTypes.func,
|
|
581
|
+
"onPlay": PropTypes.func,
|
|
582
|
+
"onPlayCapture": PropTypes.func,
|
|
583
|
+
"onPlaying": PropTypes.func,
|
|
584
|
+
"onPlayingCapture": PropTypes.func,
|
|
585
|
+
"onPointerCancel": PropTypes.func,
|
|
586
|
+
"onPointerCancelCapture": PropTypes.func,
|
|
587
|
+
"onPointerDown": PropTypes.func,
|
|
588
|
+
"onPointerDownCapture": PropTypes.func,
|
|
589
|
+
"onPointerEnter": PropTypes.func,
|
|
590
|
+
"onPointerEnterCapture": PropTypes.func,
|
|
591
|
+
"onPointerLeave": PropTypes.func,
|
|
592
|
+
"onPointerLeaveCapture": PropTypes.func,
|
|
593
|
+
"onPointerMove": PropTypes.func,
|
|
594
|
+
"onPointerMoveCapture": PropTypes.func,
|
|
595
|
+
"onPointerOut": PropTypes.func,
|
|
596
|
+
"onPointerOutCapture": PropTypes.func,
|
|
597
|
+
"onPointerOver": PropTypes.func,
|
|
598
|
+
"onPointerOverCapture": PropTypes.func,
|
|
599
|
+
"onPointerUp": PropTypes.func,
|
|
600
|
+
"onPointerUpCapture": PropTypes.func,
|
|
601
|
+
"onProgress": PropTypes.func,
|
|
602
|
+
"onProgressCapture": PropTypes.func,
|
|
603
|
+
"onRateChange": PropTypes.func,
|
|
604
|
+
"onRateChangeCapture": PropTypes.func,
|
|
605
|
+
"onReset": PropTypes.func,
|
|
606
|
+
"onResetCapture": PropTypes.func,
|
|
607
|
+
"onScroll": PropTypes.func,
|
|
608
|
+
"onScrollCapture": PropTypes.func,
|
|
609
|
+
"onSeeked": PropTypes.func,
|
|
610
|
+
"onSeekedCapture": PropTypes.func,
|
|
611
|
+
"onSeeking": PropTypes.func,
|
|
612
|
+
"onSeekingCapture": PropTypes.func,
|
|
613
|
+
"onSelect": PropTypes.func,
|
|
614
|
+
"onSelectCapture": PropTypes.func,
|
|
615
|
+
"onStalled": PropTypes.func,
|
|
616
|
+
"onStalledCapture": PropTypes.func,
|
|
617
|
+
"onSubmit": PropTypes.func,
|
|
618
|
+
"onSubmitCapture": PropTypes.func,
|
|
619
|
+
"onSuspend": PropTypes.func,
|
|
620
|
+
"onSuspendCapture": PropTypes.func,
|
|
621
|
+
"onTimeUpdate": PropTypes.func,
|
|
622
|
+
"onTimeUpdateCapture": PropTypes.func,
|
|
623
|
+
"onTouchCancel": PropTypes.func,
|
|
624
|
+
"onTouchCancelCapture": PropTypes.func,
|
|
625
|
+
"onTouchEnd": PropTypes.func,
|
|
626
|
+
"onTouchEndCapture": PropTypes.func,
|
|
627
|
+
"onTouchMove": PropTypes.func,
|
|
628
|
+
"onTouchMoveCapture": PropTypes.func,
|
|
629
|
+
"onTouchStart": PropTypes.func,
|
|
630
|
+
"onTouchStartCapture": PropTypes.func,
|
|
631
|
+
"onTransitionEnd": PropTypes.func,
|
|
632
|
+
"onTransitionEndCapture": PropTypes.func,
|
|
633
|
+
"onVolumeChange": PropTypes.func,
|
|
634
|
+
"onVolumeChangeCapture": PropTypes.func,
|
|
635
|
+
"onWaiting": PropTypes.func,
|
|
636
|
+
"onWaitingCapture": PropTypes.func,
|
|
637
|
+
"onWheel": PropTypes.func,
|
|
638
|
+
"onWheelCapture": PropTypes.func,
|
|
639
|
+
"pattern": PropTypes.string,
|
|
640
|
+
"placeholder": PropTypes.string,
|
|
641
|
+
"prefix": PropTypes.string,
|
|
642
|
+
"property": PropTypes.string,
|
|
643
|
+
"radioGroup": PropTypes.string,
|
|
644
|
+
"readOnly": PropTypes.bool,
|
|
645
|
+
"required": PropTypes.bool,
|
|
646
|
+
"resource": PropTypes.string,
|
|
647
|
+
"results": PropTypes.number,
|
|
648
|
+
"role": PropTypes.oneOfType([PropTypes.oneOf(["alert", "alertdialog", "application", "article", "banner", "button", "cell", "checkbox", "columnheader", "combobox", "complementary", "contentinfo", "definition", "dialog", "directory", "document", "feed", "figure", "form", "grid", "gridcell", "group", "heading", "img", "link", "list", "listbox", "listitem", "log", "main", "marquee", "math", "menu", "menubar", "menuitem", "menuitemcheckbox", "menuitemradio", "navigation", "none", "note", "option", "presentation", "progressbar", "radio", "radiogroup", "region", "row", "rowgroup", "rowheader", "scrollbar", "search", "searchbox", "separator", "slider", "spinbutton", "status", "switch", "tab", "table", "tablist", "tabpanel", "term", "textbox", "timer", "toolbar", "tooltip", "tree", "treegrid", "treeitem"]), PropTypes.shape({
|
|
649
|
+
"__@iterator": PropTypes.func.isRequired,
|
|
650
|
+
"anchor": PropTypes.func.isRequired,
|
|
651
|
+
"at": PropTypes.func.isRequired,
|
|
652
|
+
"big": PropTypes.func.isRequired,
|
|
653
|
+
"blink": PropTypes.func.isRequired,
|
|
654
|
+
"bold": PropTypes.func.isRequired,
|
|
655
|
+
"charAt": PropTypes.func.isRequired,
|
|
656
|
+
"charCodeAt": PropTypes.func.isRequired,
|
|
657
|
+
"codePointAt": PropTypes.func.isRequired,
|
|
658
|
+
"concat": PropTypes.func.isRequired,
|
|
659
|
+
"endsWith": PropTypes.func.isRequired,
|
|
660
|
+
"fixed": PropTypes.func.isRequired,
|
|
661
|
+
"fontcolor": PropTypes.func.isRequired,
|
|
662
|
+
"fontsize": PropTypes.func.isRequired,
|
|
663
|
+
"includes": PropTypes.func.isRequired,
|
|
664
|
+
"indexOf": PropTypes.func.isRequired,
|
|
665
|
+
"italics": PropTypes.func.isRequired,
|
|
666
|
+
"lastIndexOf": PropTypes.func.isRequired,
|
|
667
|
+
"length": PropTypes.number.isRequired,
|
|
668
|
+
"link": PropTypes.func.isRequired,
|
|
669
|
+
"localeCompare": PropTypes.func.isRequired,
|
|
670
|
+
"match": PropTypes.func.isRequired,
|
|
671
|
+
"matchAll": PropTypes.func.isRequired,
|
|
672
|
+
"normalize": PropTypes.func.isRequired,
|
|
673
|
+
"padEnd": PropTypes.func.isRequired,
|
|
674
|
+
"padStart": PropTypes.func.isRequired,
|
|
675
|
+
"repeat": PropTypes.func.isRequired,
|
|
676
|
+
"replace": PropTypes.func.isRequired,
|
|
677
|
+
"search": PropTypes.func.isRequired,
|
|
678
|
+
"slice": PropTypes.func.isRequired,
|
|
679
|
+
"small": PropTypes.func.isRequired,
|
|
680
|
+
"split": PropTypes.func.isRequired,
|
|
681
|
+
"startsWith": PropTypes.func.isRequired,
|
|
682
|
+
"strike": PropTypes.func.isRequired,
|
|
683
|
+
"sub": PropTypes.func.isRequired,
|
|
684
|
+
"substr": PropTypes.func.isRequired,
|
|
685
|
+
"substring": PropTypes.func.isRequired,
|
|
686
|
+
"sup": PropTypes.func.isRequired,
|
|
687
|
+
"toLocaleLowerCase": PropTypes.func.isRequired,
|
|
688
|
+
"toLocaleUpperCase": PropTypes.func.isRequired,
|
|
689
|
+
"toLowerCase": PropTypes.func.isRequired,
|
|
690
|
+
"toString": PropTypes.func.isRequired,
|
|
691
|
+
"toUpperCase": PropTypes.func.isRequired,
|
|
692
|
+
"trim": PropTypes.func.isRequired,
|
|
693
|
+
"trimEnd": PropTypes.func.isRequired,
|
|
694
|
+
"trimLeft": PropTypes.func.isRequired,
|
|
695
|
+
"trimRight": PropTypes.func.isRequired,
|
|
696
|
+
"trimStart": PropTypes.func.isRequired,
|
|
697
|
+
"valueOf": PropTypes.func.isRequired
|
|
698
|
+
})]),
|
|
699
|
+
"rows": PropTypes.number,
|
|
700
|
+
"security": PropTypes.string,
|
|
701
|
+
"size": PropTypes.oneOf(["large", "medium", "small"]),
|
|
702
|
+
"slot": PropTypes.string,
|
|
703
|
+
"spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
704
|
+
"src": PropTypes.string,
|
|
705
|
+
"step": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
706
|
+
"style": PropTypes.object,
|
|
707
|
+
"suppressContentEditableWarning": PropTypes.bool,
|
|
708
|
+
"suppressHydrationWarning": PropTypes.bool,
|
|
709
|
+
"tabIndex": PropTypes.number,
|
|
710
|
+
"title": PropTypes.string,
|
|
711
|
+
"tooltipMessage": PropTypes.string,
|
|
712
|
+
"tooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
|
|
713
|
+
"translate": PropTypes.oneOf(["no", "yes"]),
|
|
714
|
+
"typeof": PropTypes.string,
|
|
715
|
+
"unselectable": PropTypes.oneOf(["off", "on"]),
|
|
716
|
+
"validationOnLabel": PropTypes.bool,
|
|
717
|
+
"value": PropTypes.string,
|
|
718
|
+
"vocab": PropTypes.string,
|
|
719
|
+
"warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
720
|
+
"warnOverLimit": PropTypes.bool,
|
|
721
|
+
"width": PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
315
722
|
};
|
|
723
|
+
export { Textarea };
|
|
316
724
|
export { Textarea as OriginalTextarea };
|
|
317
725
|
export default Textarea;
|