carbon-react 118.0.0 → 118.1.1
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__/filter-object-properties/filter-object-properties.d.ts +1 -1
- package/esm/components/button-minor/button-minor.style.js +8 -0
- package/esm/components/pager/pager.component.js +5 -5
- package/esm/components/pill/pill.component.d.ts +3 -1
- package/esm/components/pill/pill.component.js +1 -0
- package/esm/components/select/__internal__/select-list-context.d.ts +7 -0
- package/esm/components/select/__internal__/select-text/index.d.ts +2 -0
- package/esm/components/select/__internal__/select-text/index.js +1 -0
- package/esm/components/select/__internal__/select-text/select-text.component.d.ts +33 -0
- package/esm/components/select/__internal__/select-text/select-text.component.js +16 -36
- package/esm/components/select/__internal__/select-text/select-text.style.d.ts +6 -1
- package/esm/components/select/filterable-select/filterable-select.component.d.ts +65 -0
- package/esm/components/select/filterable-select/filterable-select.component.js +568 -102
- package/esm/components/select/filterable-select/index.d.ts +2 -1
- package/esm/components/select/filterable-select/index.js +1 -0
- package/esm/components/select/index.d.ts +6 -0
- package/esm/components/select/index.js +6 -6
- package/esm/components/select/list-action-button/index.d.ts +2 -0
- package/esm/components/select/list-action-button/index.js +1 -0
- package/esm/components/select/list-action-button/list-action-button.component.d.ts +7 -0
- package/esm/components/select/list-action-button/list-action-button.component.js +9 -6
- package/esm/components/select/list-action-button/list-action-button.style.d.ts +2 -0
- package/esm/components/select/multi-select/index.d.ts +2 -1
- package/esm/components/select/multi-select/index.js +1 -0
- package/esm/components/select/multi-select/multi-select.component.d.ts +62 -0
- package/esm/components/select/multi-select/multi-select.component.js +575 -104
- package/esm/components/select/multi-select/multi-select.style.d.ts +4 -0
- package/esm/components/select/multi-select/multi-select.style.js +1 -0
- package/esm/components/select/option/index.d.ts +2 -25
- package/esm/components/select/option/index.js +1 -0
- package/esm/components/select/option/option.component.d.ts +34 -0
- package/esm/components/select/option/option.component.js +399 -62
- package/esm/components/select/option/option.style.d.ts +6 -0
- package/esm/components/select/option/option.style.js +0 -5
- package/esm/components/select/option-group-header/index.d.ts +2 -10
- package/esm/components/select/option-group-header/index.js +1 -0
- package/esm/components/select/option-group-header/option-group-header.component.d.ts +16 -0
- package/esm/components/select/option-group-header/option-group-header.component.js +4 -15
- package/esm/components/select/option-group-header/option-group-header.style.d.ts +2 -0
- package/esm/components/select/option-row/index.d.ts +2 -16
- package/esm/components/select/option-row/index.js +1 -0
- package/esm/components/select/option-row/option-row.component.d.ts +42 -0
- package/esm/components/select/option-row/option-row.component.js +10 -40
- package/esm/components/select/option-row/option-row.style.d.ts +6 -0
- package/esm/components/select/select-list/index.d.ts +2 -0
- package/esm/components/select/select-list/index.js +1 -0
- package/esm/components/select/select-list/select-list-container.style.d.ts +6 -0
- package/esm/components/select/select-list/select-list.component.d.ts +64 -0
- package/esm/components/select/select-list/select-list.component.js +69 -100
- package/esm/components/select/select-list/select-list.style.d.ts +12 -0
- package/esm/components/select/select-list/select-list.style.js +2 -2
- package/esm/components/select/select-textbox/index.d.ts +2 -1
- package/esm/components/select/select-textbox/index.js +1 -0
- package/esm/components/select/select-textbox/select-textbox.component.d.ts +81 -0
- package/esm/components/select/select-textbox/select-textbox.component.js +567 -142
- package/esm/components/select/select.style.d.ts +8 -0
- package/esm/components/select/simple-select/index.d.ts +2 -1
- package/esm/components/select/simple-select/index.js +1 -0
- package/esm/components/select/simple-select/simple-select.component.d.ts +58 -0
- package/esm/components/select/simple-select/simple-select.component.js +578 -111
- package/esm/components/select/utils/get-next-child-by-text.d.ts +5 -0
- package/esm/components/select/utils/get-next-child-by-text.js +20 -17
- package/esm/components/select/utils/get-next-index-by-key.d.ts +2 -0
- package/esm/components/select/utils/highlight-part-of-text.d.ts +2 -0
- package/esm/components/select/utils/highlight-part-of-text.js +10 -3
- package/esm/components/select/utils/is-expected-option.d.ts +2 -0
- package/esm/components/select/utils/is-expected-option.js +1 -1
- package/esm/components/select/utils/is-expected-value.d.ts +1 -0
- package/esm/components/select/utils/is-expected-value.js +1 -1
- package/esm/components/select/utils/is-navigation-key.d.ts +1 -0
- package/esm/components/select/utils/matching-text.style.d.ts +2 -0
- package/esm/components/select/utils/with-filter.hoc.d.ts +14 -0
- package/esm/components/select/utils/with-filter.hoc.js +59 -41
- package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +1 -0
- package/lib/__internal__/filter-object-properties/filter-object-properties.d.ts +1 -1
- package/lib/components/button-minor/button-minor.style.js +8 -0
- package/lib/components/pager/pager.component.js +5 -5
- package/lib/components/pill/pill.component.d.ts +3 -1
- package/lib/components/pill/pill.component.js +1 -0
- package/lib/components/select/__internal__/select-list-context.d.ts +7 -0
- package/lib/components/select/__internal__/select-text/index.d.ts +2 -0
- package/lib/components/select/__internal__/select-text/index.js +15 -0
- package/lib/components/select/__internal__/select-text/package.json +6 -0
- package/lib/components/select/__internal__/select-text/select-text.component.d.ts +33 -0
- package/lib/components/select/__internal__/select-text/select-text.component.js +16 -36
- package/lib/components/select/__internal__/select-text/select-text.style.d.ts +6 -1
- package/lib/components/select/filterable-select/filterable-select.component.d.ts +65 -0
- package/lib/components/select/filterable-select/filterable-select.component.js +569 -103
- package/lib/components/select/filterable-select/index.d.ts +2 -1
- package/lib/components/select/filterable-select/index.js +15 -0
- package/lib/components/select/filterable-select/package.json +6 -0
- package/lib/components/select/index.d.ts +6 -0
- package/lib/components/select/index.js +6 -6
- package/lib/components/select/list-action-button/index.d.ts +2 -0
- package/lib/components/select/list-action-button/index.js +15 -0
- package/lib/components/select/list-action-button/list-action-button.component.d.ts +7 -0
- package/lib/components/select/list-action-button/list-action-button.component.js +9 -6
- package/lib/components/select/list-action-button/list-action-button.style.d.ts +2 -0
- package/lib/components/select/list-action-button/package.json +6 -0
- package/lib/components/select/multi-select/index.d.ts +2 -1
- package/lib/components/select/multi-select/index.js +15 -0
- package/lib/components/select/multi-select/multi-select.component.d.ts +62 -0
- package/lib/components/select/multi-select/multi-select.component.js +576 -105
- package/lib/components/select/multi-select/multi-select.style.d.ts +4 -0
- package/lib/components/select/multi-select/multi-select.style.js +1 -0
- package/lib/components/select/multi-select/package.json +6 -0
- package/lib/components/select/option/index.d.ts +2 -25
- package/lib/components/select/option/index.js +15 -0
- package/lib/components/select/option/option.component.d.ts +34 -0
- package/lib/components/select/option/option.component.js +399 -62
- package/lib/components/select/option/option.style.d.ts +6 -0
- package/lib/components/select/option/option.style.js +0 -8
- package/lib/components/select/option/package.json +6 -0
- package/lib/components/select/option-group-header/index.d.ts +2 -10
- package/lib/components/select/option-group-header/index.js +15 -0
- package/lib/components/select/option-group-header/option-group-header.component.d.ts +16 -0
- package/lib/components/select/option-group-header/option-group-header.component.js +4 -15
- package/lib/components/select/option-group-header/option-group-header.style.d.ts +2 -0
- package/lib/components/select/option-group-header/package.json +6 -0
- package/lib/components/select/option-row/index.d.ts +2 -16
- package/lib/components/select/option-row/index.js +15 -0
- package/lib/components/select/option-row/option-row.component.d.ts +42 -0
- package/lib/components/select/option-row/option-row.component.js +10 -40
- package/lib/components/select/option-row/option-row.style.d.ts +6 -0
- package/lib/components/select/option-row/package.json +6 -0
- package/lib/components/select/select-list/index.d.ts +2 -0
- package/lib/components/select/select-list/index.js +15 -0
- package/lib/components/select/select-list/package.json +6 -0
- package/lib/components/select/select-list/select-list-container.style.d.ts +6 -0
- package/lib/components/select/select-list/select-list.component.d.ts +64 -0
- package/lib/components/select/select-list/select-list.component.js +69 -100
- package/lib/components/select/select-list/select-list.style.d.ts +12 -0
- package/lib/components/select/select-list/select-list.style.js +2 -2
- package/lib/components/select/select-textbox/index.d.ts +2 -1
- package/lib/components/select/select-textbox/index.js +15 -0
- package/lib/components/select/select-textbox/package.json +6 -0
- package/lib/components/select/select-textbox/select-textbox.component.d.ts +81 -0
- package/lib/components/select/select-textbox/select-textbox.component.js +567 -142
- package/lib/components/select/select.style.d.ts +8 -0
- package/lib/components/select/simple-select/index.d.ts +2 -1
- package/lib/components/select/simple-select/index.js +15 -0
- package/lib/components/select/simple-select/package.json +6 -0
- package/lib/components/select/simple-select/simple-select.component.d.ts +58 -0
- package/lib/components/select/simple-select/simple-select.component.js +579 -113
- package/lib/components/select/utils/get-next-child-by-text.d.ts +5 -0
- package/lib/components/select/utils/get-next-child-by-text.js +20 -17
- package/lib/components/select/utils/get-next-index-by-key.d.ts +2 -0
- package/lib/components/select/utils/highlight-part-of-text.d.ts +2 -0
- package/lib/components/select/utils/highlight-part-of-text.js +10 -3
- package/lib/components/select/utils/is-expected-option.d.ts +2 -0
- package/lib/components/select/utils/is-expected-option.js +1 -1
- package/lib/components/select/utils/is-expected-value.d.ts +1 -0
- package/lib/components/select/utils/is-expected-value.js +1 -1
- package/lib/components/select/utils/is-navigation-key.d.ts +1 -0
- package/lib/components/select/utils/matching-text.style.d.ts +2 -0
- package/lib/components/select/utils/with-filter.hoc.d.ts +14 -0
- package/lib/components/select/utils/with-filter.hoc.js +59 -42
- package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +1 -0
- package/package.json +1 -1
- package/esm/components/select/__internal__/select-text/select-text.d.ts +0 -36
- package/esm/components/select/filterable-select/filterable-select.d.ts +0 -71
- package/esm/components/select/multi-select/multi-select.d.ts +0 -68
- package/esm/components/select/select-textbox/select-textbox.d.ts +0 -72
- package/esm/components/select/simple-select/simple-select.d.ts +0 -64
- package/lib/components/select/__internal__/select-text/select-text.d.ts +0 -36
- package/lib/components/select/filterable-select/filterable-select.d.ts +0 -71
- package/lib/components/select/multi-select/multi-select.d.ts +0 -68
- package/lib/components/select/select-textbox/select-textbox.d.ts +0 -72
- package/lib/components/select/simple-select/simple-select.d.ts +0 -64
|
@@ -2,11 +2,10 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect, useRef, useCallback, useMemo } from "react";
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
|
-
import propTypes from "@styled-system/prop-types";
|
|
6
5
|
import invariant from "invariant";
|
|
7
6
|
import { filterOutStyledSystemSpacingProps } from "../../../style/utils";
|
|
8
7
|
import StyledSelect from "../select.style";
|
|
9
|
-
import SelectTextbox
|
|
8
|
+
import SelectTextbox from "../select-textbox";
|
|
10
9
|
import SelectList from "../select-list/select-list.component";
|
|
11
10
|
import guid from "../../../__internal__/utils/helpers/guid";
|
|
12
11
|
import getNextChildByText from "../utils/get-next-child-by-text";
|
|
@@ -36,14 +35,14 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
36
35
|
onFocus,
|
|
37
36
|
onKeyDown,
|
|
38
37
|
onBlur,
|
|
39
|
-
disablePortal,
|
|
38
|
+
disablePortal = false,
|
|
40
39
|
isLoading,
|
|
41
40
|
listMaxHeight,
|
|
42
41
|
onListScrollBottom,
|
|
43
42
|
tableHeader,
|
|
44
43
|
multiColumn,
|
|
45
44
|
tooltipPosition,
|
|
46
|
-
"data-component": dataComponent,
|
|
45
|
+
"data-component": dataComponent = "simple-select",
|
|
47
46
|
"data-element": dataElement,
|
|
48
47
|
"data-role": dataRole,
|
|
49
48
|
listPlacement = "bottom",
|
|
@@ -54,8 +53,8 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
54
53
|
...props
|
|
55
54
|
}, ref) => {
|
|
56
55
|
const selectListId = useRef(guid());
|
|
57
|
-
const containerRef = useRef();
|
|
58
|
-
const listboxRef = useRef();
|
|
56
|
+
const containerRef = useRef(null);
|
|
57
|
+
const listboxRef = useRef(null);
|
|
59
58
|
const filterTimer = useRef();
|
|
60
59
|
const isMouseDownReported = useRef();
|
|
61
60
|
const isControlled = useRef(value !== undefined);
|
|
@@ -103,7 +102,7 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
103
102
|
}, [name, id]);
|
|
104
103
|
const selectValueStartingWithText = useCallback(newFilterText => {
|
|
105
104
|
setSelectedValue(previousValue => {
|
|
106
|
-
const previousIndex = childOptions.findIndex(child => isExpectedOption(child, previousValue));
|
|
105
|
+
const previousIndex = childOptions.findIndex(child => /*#__PURE__*/React.isValidElement(child) && isExpectedOption(child, previousValue));
|
|
107
106
|
const match = getNextChildByText(newFilterText, childOptions, previousIndex);
|
|
108
107
|
|
|
109
108
|
if (!match) {
|
|
@@ -210,24 +209,6 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
210
209
|
};
|
|
211
210
|
}, []);
|
|
212
211
|
|
|
213
|
-
function handleDropdownIconClick(event) {
|
|
214
|
-
handleTextboxClick(event);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
function handleListMouseDown() {
|
|
218
|
-
isMouseDownReported.current = true;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
function handleTextboxBlur(event) {
|
|
222
|
-
if (isMouseDownReported.current) {
|
|
223
|
-
return;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
if (onBlur) {
|
|
227
|
-
onBlur(event);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
212
|
function handleTextboxClick(event) {
|
|
232
213
|
isMouseDownReported.current = false;
|
|
233
214
|
|
|
@@ -248,6 +229,24 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
248
229
|
});
|
|
249
230
|
}
|
|
250
231
|
|
|
232
|
+
function handleDropdownIconClick(event) {
|
|
233
|
+
handleTextboxClick(event);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function handleListMouseDown() {
|
|
237
|
+
isMouseDownReported.current = true;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
function handleTextboxBlur(event) {
|
|
241
|
+
if (isMouseDownReported.current) {
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
if (onBlur) {
|
|
246
|
+
onBlur(event);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
251
250
|
function handleTextboxMouseDown() {
|
|
252
251
|
isMouseDownReported.current = true;
|
|
253
252
|
}
|
|
@@ -281,6 +280,17 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
281
280
|
}
|
|
282
281
|
}
|
|
283
282
|
|
|
283
|
+
function updateValue(newValue, text) {
|
|
284
|
+
if (!isControlled.current) {
|
|
285
|
+
setSelectedValue(newValue);
|
|
286
|
+
setTextValue(text);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
if (onChange) {
|
|
290
|
+
onChange(createCustomEvent(newValue));
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
284
294
|
function onSelectOption(optionData) {
|
|
285
295
|
const {
|
|
286
296
|
text,
|
|
@@ -298,18 +308,7 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
298
308
|
|
|
299
309
|
if (isClickTriggered) {
|
|
300
310
|
isClickTriggeredBySelect.current = true;
|
|
301
|
-
textboxRef.focus();
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
function updateValue(newValue, text) {
|
|
306
|
-
if (!isControlled.current) {
|
|
307
|
-
setSelectedValue(newValue);
|
|
308
|
-
setTextValue(text);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
if (onChange) {
|
|
312
|
-
onChange(createCustomEvent(newValue));
|
|
311
|
+
textboxRef === null || textboxRef === void 0 ? void 0 : textboxRef.focus();
|
|
313
312
|
}
|
|
314
313
|
}
|
|
315
314
|
|
|
@@ -358,7 +357,7 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
358
357
|
ref: listboxRef,
|
|
359
358
|
id: selectListId.current,
|
|
360
359
|
labelId: labelId,
|
|
361
|
-
anchorElement: textboxRef
|
|
360
|
+
anchorElement: (textboxRef === null || textboxRef === void 0 ? void 0 : textboxRef.parentElement) || undefined,
|
|
362
361
|
onSelect: onSelectOption,
|
|
363
362
|
onMouseDown: handleListMouseDown,
|
|
364
363
|
onSelectListClose: onSelectListClose,
|
|
@@ -397,83 +396,551 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
397
396
|
}, getTextboxProps()))), selectList);
|
|
398
397
|
});
|
|
399
398
|
SimpleSelect.propTypes = {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
399
|
+
"about": PropTypes.string,
|
|
400
|
+
"accept": PropTypes.string,
|
|
401
|
+
"accessibilityLabelId": PropTypes.string,
|
|
402
|
+
"accessKey": PropTypes.string,
|
|
403
|
+
"adaptiveLabelBreakpoint": PropTypes.number,
|
|
404
|
+
"align": PropTypes.oneOf(["left", "right"]),
|
|
405
|
+
"alt": PropTypes.string,
|
|
406
|
+
"aria-activedescendant": PropTypes.string,
|
|
407
|
+
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
408
|
+
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
409
|
+
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
410
|
+
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
411
|
+
"aria-colcount": PropTypes.number,
|
|
412
|
+
"aria-colindex": PropTypes.number,
|
|
413
|
+
"aria-colspan": PropTypes.number,
|
|
414
|
+
"aria-controls": PropTypes.string,
|
|
415
|
+
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
416
|
+
"aria-describedby": PropTypes.string,
|
|
417
|
+
"aria-details": PropTypes.string,
|
|
418
|
+
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
419
|
+
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
420
|
+
"aria-errormessage": PropTypes.string,
|
|
421
|
+
"aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
422
|
+
"aria-flowto": PropTypes.string,
|
|
423
|
+
"aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
424
|
+
"aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
|
|
425
|
+
"aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
426
|
+
"aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
|
|
427
|
+
"aria-keyshortcuts": PropTypes.string,
|
|
405
428
|
"aria-label": PropTypes.string,
|
|
406
|
-
|
|
407
|
-
/** Prop to specify the aria-labeledby property of the component input */
|
|
408
429
|
"aria-labelledby": PropTypes.string,
|
|
409
|
-
|
|
410
|
-
|
|
430
|
+
"aria-level": PropTypes.number,
|
|
431
|
+
"aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
|
|
432
|
+
"aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
433
|
+
"aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
434
|
+
"aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
435
|
+
"aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
|
|
436
|
+
"aria-owns": PropTypes.string,
|
|
437
|
+
"aria-placeholder": PropTypes.string,
|
|
438
|
+
"aria-posinset": PropTypes.number,
|
|
439
|
+
"aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
440
|
+
"aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
441
|
+
"aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
|
|
442
|
+
"aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
443
|
+
"aria-roledescription": PropTypes.string,
|
|
444
|
+
"aria-rowcount": PropTypes.number,
|
|
445
|
+
"aria-rowindex": PropTypes.number,
|
|
446
|
+
"aria-rowspan": PropTypes.number,
|
|
447
|
+
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
448
|
+
"aria-setsize": PropTypes.number,
|
|
449
|
+
"aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
|
|
450
|
+
"aria-valuemax": PropTypes.number,
|
|
451
|
+
"aria-valuemin": PropTypes.number,
|
|
452
|
+
"aria-valuenow": PropTypes.number,
|
|
453
|
+
"aria-valuetext": PropTypes.string,
|
|
454
|
+
"ariaDescribedBy": PropTypes.string,
|
|
455
|
+
"ariaLabel": PropTypes.string,
|
|
456
|
+
"ariaLabelledby": PropTypes.string,
|
|
457
|
+
"as": PropTypes.elementType,
|
|
458
|
+
"autoCapitalize": PropTypes.string,
|
|
459
|
+
"autoComplete": PropTypes.string,
|
|
460
|
+
"autoCorrect": PropTypes.string,
|
|
461
|
+
"autoFocus": PropTypes.bool,
|
|
462
|
+
"autoSave": PropTypes.string,
|
|
463
|
+
"capture": PropTypes.oneOfType([PropTypes.oneOf(["environment", "user"]), PropTypes.bool]),
|
|
464
|
+
"checked": PropTypes.bool,
|
|
465
|
+
"children": PropTypes.node,
|
|
466
|
+
"className": PropTypes.string,
|
|
467
|
+
"color": PropTypes.string,
|
|
468
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
469
|
+
"contextMenu": PropTypes.string,
|
|
470
|
+
"crossOrigin": PropTypes.string,
|
|
471
|
+
"css": PropTypes.oneOfType([PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
472
|
+
"__emotion_styles": PropTypes.any.isRequired
|
|
473
|
+
}), PropTypes.string, PropTypes.bool]),
|
|
474
|
+
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
475
|
+
"__html": PropTypes.string.isRequired
|
|
476
|
+
}),
|
|
411
477
|
"data-component": PropTypes.string,
|
|
412
|
-
|
|
413
|
-
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
414
478
|
"data-element": PropTypes.string,
|
|
415
|
-
|
|
416
|
-
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
417
479
|
"data-role": PropTypes.string,
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
480
|
+
"datatype": PropTypes.string,
|
|
481
|
+
"defaultChecked": PropTypes.bool,
|
|
482
|
+
"defaultValue": PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
483
|
+
"deferTimeout": PropTypes.number,
|
|
484
|
+
"dir": PropTypes.string,
|
|
485
|
+
"disabled": PropTypes.bool,
|
|
486
|
+
"disablePortal": PropTypes.bool,
|
|
487
|
+
"draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
488
|
+
"enableVirtualScroll": PropTypes.bool,
|
|
489
|
+
"enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
|
|
490
|
+
"error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
491
|
+
"fieldHelp": PropTypes.node,
|
|
492
|
+
"flipEnabled": PropTypes.bool,
|
|
493
|
+
"form": PropTypes.string,
|
|
494
|
+
"formAction": PropTypes.string,
|
|
495
|
+
"formattedValue": PropTypes.string,
|
|
496
|
+
"formEncType": PropTypes.string,
|
|
497
|
+
"formMethod": PropTypes.string,
|
|
498
|
+
"formNoValidate": PropTypes.bool,
|
|
499
|
+
"formTarget": PropTypes.string,
|
|
500
|
+
"height": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
501
|
+
"helpAriaLabel": PropTypes.string,
|
|
502
|
+
"hidden": PropTypes.bool,
|
|
503
|
+
"iconOnClick": PropTypes.func,
|
|
504
|
+
"iconOnMouseDown": PropTypes.func,
|
|
505
|
+
"iconTabIndex": PropTypes.number,
|
|
506
|
+
"id": PropTypes.string,
|
|
507
|
+
"info": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
508
|
+
"inlist": PropTypes.any,
|
|
509
|
+
"inputHint": PropTypes.string,
|
|
510
|
+
"inputIcon": PropTypes.oneOf(["add", "admin", "alert_on", "alert", "analysis", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "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", "car_lock", "car_money", "car_repair", "card_view", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "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", "construction", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "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", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "italic", "key", "laptop", "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", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "plane", "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", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "warning"]),
|
|
511
|
+
"inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
|
|
512
|
+
"inputRef": PropTypes.func,
|
|
513
|
+
"inputWidth": PropTypes.number,
|
|
514
|
+
"is": PropTypes.string,
|
|
515
|
+
"isLoading": PropTypes.bool,
|
|
516
|
+
"itemID": PropTypes.string,
|
|
517
|
+
"itemProp": PropTypes.string,
|
|
518
|
+
"itemRef": PropTypes.string,
|
|
519
|
+
"itemScope": PropTypes.bool,
|
|
520
|
+
"itemType": PropTypes.string,
|
|
521
|
+
"label": PropTypes.string,
|
|
522
|
+
"labelAlign": PropTypes.oneOf(["left", "right"]),
|
|
523
|
+
"labelHelp": PropTypes.node,
|
|
524
|
+
"labelId": PropTypes.string,
|
|
525
|
+
"labelInline": PropTypes.bool,
|
|
526
|
+
"labelSpacing": PropTypes.oneOf([1, 2]),
|
|
527
|
+
"labelWidth": PropTypes.number,
|
|
528
|
+
"lang": PropTypes.string,
|
|
529
|
+
"leftChildren": PropTypes.node,
|
|
530
|
+
"list": PropTypes.string,
|
|
531
|
+
"listMaxHeight": PropTypes.number,
|
|
532
|
+
"listPlacement": PropTypes.oneOf(["bottom", "left", "right", "top"]),
|
|
533
|
+
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
534
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
535
|
+
"description": PropTypes.string,
|
|
536
|
+
"toString": PropTypes.func.isRequired,
|
|
537
|
+
"valueOf": PropTypes.func.isRequired
|
|
538
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
539
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
540
|
+
"description": PropTypes.string,
|
|
541
|
+
"toString": PropTypes.func.isRequired,
|
|
542
|
+
"valueOf": PropTypes.func.isRequired
|
|
543
|
+
}), PropTypes.string]),
|
|
544
|
+
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
545
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
546
|
+
"description": PropTypes.string,
|
|
547
|
+
"toString": PropTypes.func.isRequired,
|
|
548
|
+
"valueOf": PropTypes.func.isRequired
|
|
549
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
550
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
551
|
+
"description": PropTypes.string,
|
|
552
|
+
"toString": PropTypes.func.isRequired,
|
|
553
|
+
"valueOf": PropTypes.func.isRequired
|
|
554
|
+
}), PropTypes.string]),
|
|
555
|
+
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
556
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
557
|
+
"description": PropTypes.string,
|
|
558
|
+
"toString": PropTypes.func.isRequired,
|
|
559
|
+
"valueOf": PropTypes.func.isRequired
|
|
560
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
561
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
562
|
+
"description": PropTypes.string,
|
|
563
|
+
"toString": PropTypes.func.isRequired,
|
|
564
|
+
"valueOf": PropTypes.func.isRequired
|
|
565
|
+
}), PropTypes.string]),
|
|
566
|
+
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
567
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
568
|
+
"description": PropTypes.string,
|
|
569
|
+
"toString": PropTypes.func.isRequired,
|
|
570
|
+
"valueOf": PropTypes.func.isRequired
|
|
571
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
572
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
573
|
+
"description": PropTypes.string,
|
|
574
|
+
"toString": PropTypes.func.isRequired,
|
|
575
|
+
"valueOf": PropTypes.func.isRequired
|
|
576
|
+
}), PropTypes.string]),
|
|
577
|
+
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
578
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
579
|
+
"description": PropTypes.string,
|
|
580
|
+
"toString": PropTypes.func.isRequired,
|
|
581
|
+
"valueOf": PropTypes.func.isRequired
|
|
582
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
583
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
584
|
+
"description": PropTypes.string,
|
|
585
|
+
"toString": PropTypes.func.isRequired,
|
|
586
|
+
"valueOf": PropTypes.func.isRequired
|
|
587
|
+
}), PropTypes.string]),
|
|
588
|
+
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
589
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
590
|
+
"description": PropTypes.string,
|
|
591
|
+
"toString": PropTypes.func.isRequired,
|
|
592
|
+
"valueOf": PropTypes.func.isRequired
|
|
593
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
594
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
595
|
+
"description": PropTypes.string,
|
|
596
|
+
"toString": PropTypes.func.isRequired,
|
|
597
|
+
"valueOf": PropTypes.func.isRequired
|
|
598
|
+
}), PropTypes.string]),
|
|
599
|
+
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
600
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
601
|
+
"description": PropTypes.string,
|
|
602
|
+
"toString": PropTypes.func.isRequired,
|
|
603
|
+
"valueOf": PropTypes.func.isRequired
|
|
604
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
605
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
606
|
+
"description": PropTypes.string,
|
|
607
|
+
"toString": PropTypes.func.isRequired,
|
|
608
|
+
"valueOf": PropTypes.func.isRequired
|
|
609
|
+
}), PropTypes.string]),
|
|
610
|
+
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
611
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
612
|
+
"description": PropTypes.string,
|
|
613
|
+
"toString": PropTypes.func.isRequired,
|
|
614
|
+
"valueOf": PropTypes.func.isRequired
|
|
615
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
616
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
617
|
+
"description": PropTypes.string,
|
|
618
|
+
"toString": PropTypes.func.isRequired,
|
|
619
|
+
"valueOf": PropTypes.func.isRequired
|
|
620
|
+
}), PropTypes.string]),
|
|
621
|
+
"max": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
622
|
+
"maxLength": PropTypes.number,
|
|
623
|
+
"maxWidth": PropTypes.string,
|
|
624
|
+
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
625
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
626
|
+
"description": PropTypes.string,
|
|
627
|
+
"toString": PropTypes.func.isRequired,
|
|
628
|
+
"valueOf": PropTypes.func.isRequired
|
|
629
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
630
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
631
|
+
"description": PropTypes.string,
|
|
632
|
+
"toString": PropTypes.func.isRequired,
|
|
633
|
+
"valueOf": PropTypes.func.isRequired
|
|
634
|
+
}), PropTypes.string]),
|
|
635
|
+
"min": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
636
|
+
"minLength": PropTypes.number,
|
|
637
|
+
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
638
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
639
|
+
"description": PropTypes.string,
|
|
640
|
+
"toString": PropTypes.func.isRequired,
|
|
641
|
+
"valueOf": PropTypes.func.isRequired
|
|
642
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
643
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
644
|
+
"description": PropTypes.string,
|
|
645
|
+
"toString": PropTypes.func.isRequired,
|
|
646
|
+
"valueOf": PropTypes.func.isRequired
|
|
647
|
+
}), PropTypes.string]),
|
|
648
|
+
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
649
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
650
|
+
"description": PropTypes.string,
|
|
651
|
+
"toString": PropTypes.func.isRequired,
|
|
652
|
+
"valueOf": PropTypes.func.isRequired
|
|
653
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
654
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
655
|
+
"description": PropTypes.string,
|
|
656
|
+
"toString": PropTypes.func.isRequired,
|
|
657
|
+
"valueOf": PropTypes.func.isRequired
|
|
658
|
+
}), PropTypes.string]),
|
|
659
|
+
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
660
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
661
|
+
"description": PropTypes.string,
|
|
662
|
+
"toString": PropTypes.func.isRequired,
|
|
663
|
+
"valueOf": PropTypes.func.isRequired
|
|
664
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
665
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
666
|
+
"description": PropTypes.string,
|
|
667
|
+
"toString": PropTypes.func.isRequired,
|
|
668
|
+
"valueOf": PropTypes.func.isRequired
|
|
669
|
+
}), PropTypes.string]),
|
|
670
|
+
"multiColumn": PropTypes.bool,
|
|
671
|
+
"multiple": PropTypes.bool,
|
|
672
|
+
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
673
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
674
|
+
"description": PropTypes.string,
|
|
675
|
+
"toString": PropTypes.func.isRequired,
|
|
676
|
+
"valueOf": PropTypes.func.isRequired
|
|
677
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
678
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
679
|
+
"description": PropTypes.string,
|
|
680
|
+
"toString": PropTypes.func.isRequired,
|
|
681
|
+
"valueOf": PropTypes.func.isRequired
|
|
682
|
+
}), PropTypes.string]),
|
|
683
|
+
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
684
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
685
|
+
"description": PropTypes.string,
|
|
686
|
+
"toString": PropTypes.func.isRequired,
|
|
687
|
+
"valueOf": PropTypes.func.isRequired
|
|
688
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
689
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
690
|
+
"description": PropTypes.string,
|
|
691
|
+
"toString": PropTypes.func.isRequired,
|
|
692
|
+
"valueOf": PropTypes.func.isRequired
|
|
693
|
+
}), PropTypes.string]),
|
|
694
|
+
"name": PropTypes.string,
|
|
695
|
+
"onAbort": PropTypes.func,
|
|
696
|
+
"onAbortCapture": PropTypes.func,
|
|
697
|
+
"onAnimationEnd": PropTypes.func,
|
|
698
|
+
"onAnimationEndCapture": PropTypes.func,
|
|
699
|
+
"onAnimationIteration": PropTypes.func,
|
|
700
|
+
"onAnimationIterationCapture": PropTypes.func,
|
|
701
|
+
"onAnimationStart": PropTypes.func,
|
|
702
|
+
"onAnimationStartCapture": PropTypes.func,
|
|
703
|
+
"onAuxClick": PropTypes.func,
|
|
704
|
+
"onAuxClickCapture": PropTypes.func,
|
|
705
|
+
"onBeforeInput": PropTypes.func,
|
|
706
|
+
"onBeforeInputCapture": PropTypes.func,
|
|
707
|
+
"onBlur": PropTypes.func,
|
|
708
|
+
"onBlurCapture": PropTypes.func,
|
|
709
|
+
"onCanPlay": PropTypes.func,
|
|
710
|
+
"onCanPlayCapture": PropTypes.func,
|
|
711
|
+
"onCanPlayThrough": PropTypes.func,
|
|
712
|
+
"onCanPlayThroughCapture": PropTypes.func,
|
|
713
|
+
"onChange": PropTypes.func,
|
|
714
|
+
"onChangeCapture": PropTypes.func,
|
|
715
|
+
"onChangeDeferred": PropTypes.func,
|
|
716
|
+
"onClick": PropTypes.func,
|
|
717
|
+
"onClickCapture": PropTypes.func,
|
|
718
|
+
"onCompositionEnd": PropTypes.func,
|
|
719
|
+
"onCompositionEndCapture": PropTypes.func,
|
|
720
|
+
"onCompositionStart": PropTypes.func,
|
|
721
|
+
"onCompositionStartCapture": PropTypes.func,
|
|
722
|
+
"onCompositionUpdate": PropTypes.func,
|
|
723
|
+
"onCompositionUpdateCapture": PropTypes.func,
|
|
724
|
+
"onContextMenu": PropTypes.func,
|
|
725
|
+
"onContextMenuCapture": PropTypes.func,
|
|
726
|
+
"onCopy": PropTypes.func,
|
|
727
|
+
"onCopyCapture": PropTypes.func,
|
|
728
|
+
"onCut": PropTypes.func,
|
|
729
|
+
"onCutCapture": PropTypes.func,
|
|
730
|
+
"onDoubleClick": PropTypes.func,
|
|
731
|
+
"onDoubleClickCapture": PropTypes.func,
|
|
732
|
+
"onDrag": PropTypes.func,
|
|
733
|
+
"onDragCapture": PropTypes.func,
|
|
734
|
+
"onDragEnd": PropTypes.func,
|
|
735
|
+
"onDragEndCapture": PropTypes.func,
|
|
736
|
+
"onDragEnter": PropTypes.func,
|
|
737
|
+
"onDragEnterCapture": PropTypes.func,
|
|
738
|
+
"onDragExit": PropTypes.func,
|
|
739
|
+
"onDragExitCapture": PropTypes.func,
|
|
740
|
+
"onDragLeave": PropTypes.func,
|
|
741
|
+
"onDragLeaveCapture": PropTypes.func,
|
|
742
|
+
"onDragOver": PropTypes.func,
|
|
743
|
+
"onDragOverCapture": PropTypes.func,
|
|
744
|
+
"onDragStart": PropTypes.func,
|
|
745
|
+
"onDragStartCapture": PropTypes.func,
|
|
746
|
+
"onDrop": PropTypes.func,
|
|
747
|
+
"onDropCapture": PropTypes.func,
|
|
748
|
+
"onDurationChange": PropTypes.func,
|
|
749
|
+
"onDurationChangeCapture": PropTypes.func,
|
|
750
|
+
"onEmptied": PropTypes.func,
|
|
751
|
+
"onEmptiedCapture": PropTypes.func,
|
|
752
|
+
"onEncrypted": PropTypes.func,
|
|
753
|
+
"onEncryptedCapture": PropTypes.func,
|
|
754
|
+
"onEnded": PropTypes.func,
|
|
755
|
+
"onEndedCapture": PropTypes.func,
|
|
756
|
+
"onError": PropTypes.func,
|
|
757
|
+
"onErrorCapture": PropTypes.func,
|
|
758
|
+
"onFocus": PropTypes.func,
|
|
759
|
+
"onFocusCapture": PropTypes.func,
|
|
760
|
+
"onGotPointerCapture": PropTypes.func,
|
|
761
|
+
"onGotPointerCaptureCapture": PropTypes.func,
|
|
762
|
+
"onInput": PropTypes.func,
|
|
763
|
+
"onInputCapture": PropTypes.func,
|
|
764
|
+
"onInvalid": PropTypes.func,
|
|
765
|
+
"onInvalidCapture": PropTypes.func,
|
|
766
|
+
"onKeyDown": PropTypes.func,
|
|
767
|
+
"onKeyDownCapture": PropTypes.func,
|
|
768
|
+
"onKeyPress": PropTypes.func,
|
|
769
|
+
"onKeyPressCapture": PropTypes.func,
|
|
770
|
+
"onKeyUp": PropTypes.func,
|
|
771
|
+
"onKeyUpCapture": PropTypes.func,
|
|
772
|
+
"onListScrollBottom": PropTypes.func,
|
|
773
|
+
"onLoad": PropTypes.func,
|
|
774
|
+
"onLoadCapture": PropTypes.func,
|
|
775
|
+
"onLoadedData": PropTypes.func,
|
|
776
|
+
"onLoadedDataCapture": PropTypes.func,
|
|
777
|
+
"onLoadedMetadata": PropTypes.func,
|
|
778
|
+
"onLoadedMetadataCapture": PropTypes.func,
|
|
779
|
+
"onLoadStart": PropTypes.func,
|
|
780
|
+
"onLoadStartCapture": PropTypes.func,
|
|
781
|
+
"onLostPointerCapture": PropTypes.func,
|
|
782
|
+
"onLostPointerCaptureCapture": PropTypes.func,
|
|
783
|
+
"onMouseDown": PropTypes.func,
|
|
784
|
+
"onMouseDownCapture": PropTypes.func,
|
|
785
|
+
"onMouseEnter": PropTypes.func,
|
|
786
|
+
"onMouseLeave": PropTypes.func,
|
|
787
|
+
"onMouseMove": PropTypes.func,
|
|
788
|
+
"onMouseMoveCapture": PropTypes.func,
|
|
789
|
+
"onMouseOut": PropTypes.func,
|
|
790
|
+
"onMouseOutCapture": PropTypes.func,
|
|
791
|
+
"onMouseOver": PropTypes.func,
|
|
792
|
+
"onMouseOverCapture": PropTypes.func,
|
|
793
|
+
"onMouseUp": PropTypes.func,
|
|
794
|
+
"onMouseUpCapture": PropTypes.func,
|
|
795
|
+
"onOpen": PropTypes.func,
|
|
796
|
+
"onPaste": PropTypes.func,
|
|
797
|
+
"onPasteCapture": PropTypes.func,
|
|
798
|
+
"onPause": PropTypes.func,
|
|
799
|
+
"onPauseCapture": PropTypes.func,
|
|
800
|
+
"onPlay": PropTypes.func,
|
|
801
|
+
"onPlayCapture": PropTypes.func,
|
|
802
|
+
"onPlaying": PropTypes.func,
|
|
803
|
+
"onPlayingCapture": PropTypes.func,
|
|
804
|
+
"onPointerCancel": PropTypes.func,
|
|
805
|
+
"onPointerCancelCapture": PropTypes.func,
|
|
806
|
+
"onPointerDown": PropTypes.func,
|
|
807
|
+
"onPointerDownCapture": PropTypes.func,
|
|
808
|
+
"onPointerEnter": PropTypes.func,
|
|
809
|
+
"onPointerEnterCapture": PropTypes.func,
|
|
810
|
+
"onPointerLeave": PropTypes.func,
|
|
811
|
+
"onPointerLeaveCapture": PropTypes.func,
|
|
812
|
+
"onPointerMove": PropTypes.func,
|
|
813
|
+
"onPointerMoveCapture": PropTypes.func,
|
|
814
|
+
"onPointerOut": PropTypes.func,
|
|
815
|
+
"onPointerOutCapture": PropTypes.func,
|
|
816
|
+
"onPointerOver": PropTypes.func,
|
|
817
|
+
"onPointerOverCapture": PropTypes.func,
|
|
818
|
+
"onPointerUp": PropTypes.func,
|
|
819
|
+
"onPointerUpCapture": PropTypes.func,
|
|
820
|
+
"onProgress": PropTypes.func,
|
|
821
|
+
"onProgressCapture": PropTypes.func,
|
|
822
|
+
"onRateChange": PropTypes.func,
|
|
823
|
+
"onRateChangeCapture": PropTypes.func,
|
|
824
|
+
"onReset": PropTypes.func,
|
|
825
|
+
"onResetCapture": PropTypes.func,
|
|
826
|
+
"onScroll": PropTypes.func,
|
|
827
|
+
"onScrollCapture": PropTypes.func,
|
|
828
|
+
"onSeeked": PropTypes.func,
|
|
829
|
+
"onSeekedCapture": PropTypes.func,
|
|
830
|
+
"onSeeking": PropTypes.func,
|
|
831
|
+
"onSeekingCapture": PropTypes.func,
|
|
832
|
+
"onSelect": PropTypes.func,
|
|
833
|
+
"onSelectCapture": PropTypes.func,
|
|
834
|
+
"onStalled": PropTypes.func,
|
|
835
|
+
"onStalledCapture": PropTypes.func,
|
|
836
|
+
"onSubmit": PropTypes.func,
|
|
837
|
+
"onSubmitCapture": PropTypes.func,
|
|
838
|
+
"onSuspend": PropTypes.func,
|
|
839
|
+
"onSuspendCapture": PropTypes.func,
|
|
840
|
+
"onTimeUpdate": PropTypes.func,
|
|
841
|
+
"onTimeUpdateCapture": PropTypes.func,
|
|
842
|
+
"onTouchCancel": PropTypes.func,
|
|
843
|
+
"onTouchCancelCapture": PropTypes.func,
|
|
844
|
+
"onTouchEnd": PropTypes.func,
|
|
845
|
+
"onTouchEndCapture": PropTypes.func,
|
|
846
|
+
"onTouchMove": PropTypes.func,
|
|
847
|
+
"onTouchMoveCapture": PropTypes.func,
|
|
848
|
+
"onTouchStart": PropTypes.func,
|
|
849
|
+
"onTouchStartCapture": PropTypes.func,
|
|
850
|
+
"onTransitionEnd": PropTypes.func,
|
|
851
|
+
"onTransitionEndCapture": PropTypes.func,
|
|
852
|
+
"onVolumeChange": PropTypes.func,
|
|
853
|
+
"onVolumeChangeCapture": PropTypes.func,
|
|
854
|
+
"onWaiting": PropTypes.func,
|
|
855
|
+
"onWaitingCapture": PropTypes.func,
|
|
856
|
+
"onWheel": PropTypes.func,
|
|
857
|
+
"onWheelCapture": PropTypes.func,
|
|
858
|
+
"openOnFocus": PropTypes.bool,
|
|
859
|
+
"pattern": PropTypes.string,
|
|
860
|
+
"placeholder": PropTypes.string,
|
|
861
|
+
"prefix": PropTypes.string,
|
|
862
|
+
"property": PropTypes.string,
|
|
863
|
+
"radioGroup": PropTypes.string,
|
|
864
|
+
"readOnly": PropTypes.bool,
|
|
865
|
+
"required": PropTypes.bool,
|
|
866
|
+
"resource": PropTypes.string,
|
|
867
|
+
"results": PropTypes.number,
|
|
868
|
+
"reverse": PropTypes.bool,
|
|
869
|
+
"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({
|
|
870
|
+
"__@iterator": PropTypes.func.isRequired,
|
|
871
|
+
"anchor": PropTypes.func.isRequired,
|
|
872
|
+
"at": PropTypes.func.isRequired,
|
|
873
|
+
"big": PropTypes.func.isRequired,
|
|
874
|
+
"blink": PropTypes.func.isRequired,
|
|
875
|
+
"bold": PropTypes.func.isRequired,
|
|
876
|
+
"charAt": PropTypes.func.isRequired,
|
|
877
|
+
"charCodeAt": PropTypes.func.isRequired,
|
|
878
|
+
"codePointAt": PropTypes.func.isRequired,
|
|
879
|
+
"concat": PropTypes.func.isRequired,
|
|
880
|
+
"endsWith": PropTypes.func.isRequired,
|
|
881
|
+
"fixed": PropTypes.func.isRequired,
|
|
882
|
+
"fontcolor": PropTypes.func.isRequired,
|
|
883
|
+
"fontsize": PropTypes.func.isRequired,
|
|
884
|
+
"includes": PropTypes.func.isRequired,
|
|
885
|
+
"indexOf": PropTypes.func.isRequired,
|
|
886
|
+
"italics": PropTypes.func.isRequired,
|
|
887
|
+
"lastIndexOf": PropTypes.func.isRequired,
|
|
888
|
+
"length": PropTypes.number.isRequired,
|
|
889
|
+
"link": PropTypes.func.isRequired,
|
|
890
|
+
"localeCompare": PropTypes.func.isRequired,
|
|
891
|
+
"match": PropTypes.func.isRequired,
|
|
892
|
+
"matchAll": PropTypes.func.isRequired,
|
|
893
|
+
"normalize": PropTypes.func.isRequired,
|
|
894
|
+
"padEnd": PropTypes.func.isRequired,
|
|
895
|
+
"padStart": PropTypes.func.isRequired,
|
|
896
|
+
"repeat": PropTypes.func.isRequired,
|
|
897
|
+
"replace": PropTypes.func.isRequired,
|
|
898
|
+
"search": PropTypes.func.isRequired,
|
|
899
|
+
"slice": PropTypes.func.isRequired,
|
|
900
|
+
"small": PropTypes.func.isRequired,
|
|
901
|
+
"split": PropTypes.func.isRequired,
|
|
902
|
+
"startsWith": PropTypes.func.isRequired,
|
|
903
|
+
"strike": PropTypes.func.isRequired,
|
|
904
|
+
"sub": PropTypes.func.isRequired,
|
|
905
|
+
"substr": PropTypes.func.isRequired,
|
|
906
|
+
"substring": PropTypes.func.isRequired,
|
|
907
|
+
"sup": PropTypes.func.isRequired,
|
|
908
|
+
"toLocaleLowerCase": PropTypes.func.isRequired,
|
|
909
|
+
"toLocaleUpperCase": PropTypes.func.isRequired,
|
|
910
|
+
"toLowerCase": PropTypes.func.isRequired,
|
|
911
|
+
"toString": PropTypes.func.isRequired,
|
|
912
|
+
"toUpperCase": PropTypes.func.isRequired,
|
|
913
|
+
"trim": PropTypes.func.isRequired,
|
|
914
|
+
"trimEnd": PropTypes.func.isRequired,
|
|
915
|
+
"trimLeft": PropTypes.func.isRequired,
|
|
916
|
+
"trimRight": PropTypes.func.isRequired,
|
|
917
|
+
"trimStart": PropTypes.func.isRequired,
|
|
918
|
+
"valueOf": PropTypes.func.isRequired
|
|
919
|
+
})]),
|
|
920
|
+
"security": PropTypes.string,
|
|
921
|
+
"size": PropTypes.oneOf(["large", "medium", "small"]),
|
|
922
|
+
"slot": PropTypes.string,
|
|
923
|
+
"spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
924
|
+
"src": PropTypes.string,
|
|
925
|
+
"step": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
926
|
+
"style": PropTypes.object,
|
|
927
|
+
"suppressContentEditableWarning": PropTypes.bool,
|
|
928
|
+
"suppressHydrationWarning": PropTypes.bool,
|
|
929
|
+
"tabIndex": PropTypes.number,
|
|
930
|
+
"tableHeader": PropTypes.node,
|
|
931
|
+
"title": PropTypes.string,
|
|
932
|
+
"tooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
|
|
933
|
+
"translate": PropTypes.oneOf(["no", "yes"]),
|
|
934
|
+
"transparent": PropTypes.bool,
|
|
935
|
+
"typeof": PropTypes.string,
|
|
936
|
+
"unselectable": PropTypes.oneOf(["off", "on"]),
|
|
937
|
+
"validationIconId": PropTypes.string,
|
|
938
|
+
"validationOnLabel": PropTypes.bool,
|
|
939
|
+
"value": PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
940
|
+
"virtualScrollOverscan": PropTypes.number,
|
|
941
|
+
"vocab": PropTypes.string,
|
|
942
|
+
"warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
943
|
+
"width": PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
478
944
|
};
|
|
945
|
+
export { SimpleSelect };
|
|
479
946
|
export default SimpleSelect;
|