carbon-react 111.22.2 → 111.22.3
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/components/button-bar/button-bar.config.d.ts +2 -2
- package/esm/components/menu/menu-full-screen/menu-full-screen.component.js +4 -3
- package/esm/components/number/index.d.ts +2 -1
- package/esm/components/number/index.js +1 -2
- package/esm/components/number/number.component.d.ts +8 -0
- package/esm/components/number/number.component.js +547 -14
- package/lib/components/button-bar/button-bar.config.d.ts +2 -2
- package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +4 -3
- package/lib/components/number/index.d.ts +2 -1
- package/lib/components/number/index.js +7 -5
- package/lib/components/number/number.component.d.ts +8 -0
- package/lib/components/number/number.component.js +549 -15
- package/package.json +1 -1
- package/esm/components/number/number.d.ts +0 -6
- package/lib/components/number/number.d.ts +0 -6
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const BUTTON_BAR_SIZES:
|
|
2
|
-
export declare const BUTTON_BAR_ICON_POSITIONS:
|
|
1
|
+
export declare const BUTTON_BAR_SIZES: readonly ["small", "medium", "large"];
|
|
2
|
+
export declare const BUTTON_BAR_ICON_POSITIONS: readonly ["before", "after"];
|
|
@@ -81,13 +81,14 @@ const MenuFullscreen = ({
|
|
|
81
81
|
flexDirection: "column",
|
|
82
82
|
role: "list",
|
|
83
83
|
inFullscreenView: true
|
|
84
|
-
},
|
|
84
|
+
}, /*#__PURE__*/React.createElement(MenuContext.Provider, {
|
|
85
85
|
value: {
|
|
86
86
|
inFullscreenView: true,
|
|
87
87
|
menuType,
|
|
88
|
-
inMenu: true
|
|
88
|
+
inMenu: true,
|
|
89
|
+
setOpenSubmenuIndex: () => {}
|
|
89
90
|
}
|
|
90
|
-
}, child, index < React.Children.count(children) - 1 && /*#__PURE__*/React.createElement(MenuDivider, null)))))))));
|
|
91
|
+
}, React.Children.map(children, (child, index) => /*#__PURE__*/React.createElement(React.Fragment, null, child, index < React.Children.count(children) - 1 && /*#__PURE__*/React.createElement(MenuDivider, null))))))))));
|
|
91
92
|
};
|
|
92
93
|
|
|
93
94
|
MenuFullscreen.propTypes = {
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default } from "./number";
|
|
1
|
+
export { default } from "./number.component";
|
|
2
|
+
export type { NumberProps } from "./number.component";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default Number;
|
|
1
|
+
export { default } from "./number.component";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TextboxProps } from "../textbox";
|
|
3
|
+
export interface NumberProps extends Omit<TextboxProps, "value"> {
|
|
4
|
+
/** Value passed to the input */
|
|
5
|
+
value?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Number: ({ onChange, onKeyDown, value, ...rest }: NumberProps) => JSX.Element;
|
|
8
|
+
export default Number;
|
|
@@ -1,32 +1,39 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { useRef } from "react";
|
|
4
|
+
import PropTypes from "prop-types";
|
|
4
5
|
import Textbox from "../textbox";
|
|
5
6
|
|
|
7
|
+
function isValidNumber(value) {
|
|
8
|
+
const regex = new RegExp("^[-]?[0-9]*$");
|
|
9
|
+
const result = regex.test(value);
|
|
10
|
+
return result;
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
const Number = ({
|
|
7
14
|
onChange,
|
|
8
15
|
onKeyDown,
|
|
9
16
|
value,
|
|
10
17
|
...rest
|
|
11
18
|
}) => {
|
|
12
|
-
const selectionStart = useRef();
|
|
13
|
-
const selectionEnd = useRef();
|
|
19
|
+
const selectionStart = useRef(null);
|
|
20
|
+
const selectionEnd = useRef(null);
|
|
14
21
|
|
|
15
22
|
const handleOnChange = event => {
|
|
16
23
|
if (isValidNumber(event.target.value) && onChange) {
|
|
17
24
|
onChange(event);
|
|
18
25
|
} else {
|
|
19
|
-
event.target.value = value ||
|
|
26
|
+
event.target.value = value || "";
|
|
20
27
|
event.target.setSelectionRange(selectionStart.current, selectionEnd.current);
|
|
21
28
|
}
|
|
22
29
|
};
|
|
23
30
|
|
|
24
|
-
const handleKeyDown =
|
|
25
|
-
selectionStart.current =
|
|
26
|
-
selectionEnd.current =
|
|
31
|
+
const handleKeyDown = event => {
|
|
32
|
+
selectionStart.current = event.target.selectionStart;
|
|
33
|
+
selectionEnd.current = event.target.selectionEnd;
|
|
27
34
|
|
|
28
35
|
if (onKeyDown) {
|
|
29
|
-
onKeyDown(
|
|
36
|
+
onKeyDown(event);
|
|
30
37
|
}
|
|
31
38
|
};
|
|
32
39
|
|
|
@@ -37,12 +44,538 @@ const Number = ({
|
|
|
37
44
|
}));
|
|
38
45
|
};
|
|
39
46
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
Number.propTypes = {
|
|
48
|
+
"about": PropTypes.string,
|
|
49
|
+
"accept": PropTypes.string,
|
|
50
|
+
"accessKey": PropTypes.string,
|
|
51
|
+
"adaptiveLabelBreakpoint": PropTypes.number,
|
|
52
|
+
"align": PropTypes.oneOf(["left", "right"]),
|
|
53
|
+
"alt": PropTypes.string,
|
|
54
|
+
"aria-activedescendant": PropTypes.string,
|
|
55
|
+
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
56
|
+
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
57
|
+
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
58
|
+
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
59
|
+
"aria-colcount": PropTypes.number,
|
|
60
|
+
"aria-colindex": PropTypes.number,
|
|
61
|
+
"aria-colspan": PropTypes.number,
|
|
62
|
+
"aria-controls": PropTypes.string,
|
|
63
|
+
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
64
|
+
"aria-describedby": PropTypes.string,
|
|
65
|
+
"aria-details": PropTypes.string,
|
|
66
|
+
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
67
|
+
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
68
|
+
"aria-errormessage": PropTypes.string,
|
|
69
|
+
"aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
70
|
+
"aria-flowto": PropTypes.string,
|
|
71
|
+
"aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
72
|
+
"aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
|
|
73
|
+
"aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
74
|
+
"aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
|
|
75
|
+
"aria-keyshortcuts": PropTypes.string,
|
|
76
|
+
"aria-label": PropTypes.string,
|
|
77
|
+
"aria-labelledby": PropTypes.string,
|
|
78
|
+
"aria-level": PropTypes.number,
|
|
79
|
+
"aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
|
|
80
|
+
"aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
81
|
+
"aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
82
|
+
"aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
83
|
+
"aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
|
|
84
|
+
"aria-owns": PropTypes.string,
|
|
85
|
+
"aria-placeholder": PropTypes.string,
|
|
86
|
+
"aria-posinset": PropTypes.number,
|
|
87
|
+
"aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
88
|
+
"aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
89
|
+
"aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
|
|
90
|
+
"aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
91
|
+
"aria-roledescription": PropTypes.string,
|
|
92
|
+
"aria-rowcount": PropTypes.number,
|
|
93
|
+
"aria-rowindex": PropTypes.number,
|
|
94
|
+
"aria-rowspan": PropTypes.number,
|
|
95
|
+
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
96
|
+
"aria-setsize": PropTypes.number,
|
|
97
|
+
"aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
|
|
98
|
+
"aria-valuemax": PropTypes.number,
|
|
99
|
+
"aria-valuemin": PropTypes.number,
|
|
100
|
+
"aria-valuenow": PropTypes.number,
|
|
101
|
+
"aria-valuetext": PropTypes.string,
|
|
102
|
+
"as": PropTypes.elementType,
|
|
103
|
+
"autoCapitalize": PropTypes.string,
|
|
104
|
+
"autoComplete": PropTypes.string,
|
|
105
|
+
"autoCorrect": PropTypes.string,
|
|
106
|
+
"autoFocus": PropTypes.bool,
|
|
107
|
+
"autoSave": PropTypes.string,
|
|
108
|
+
"capture": PropTypes.oneOfType([PropTypes.oneOf(["environment", "user"]), PropTypes.bool]),
|
|
109
|
+
"characterLimit": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
110
|
+
"checked": PropTypes.bool,
|
|
111
|
+
"children": PropTypes.node,
|
|
112
|
+
"className": PropTypes.string,
|
|
113
|
+
"color": PropTypes.string,
|
|
114
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
115
|
+
"contextMenu": PropTypes.string,
|
|
116
|
+
"crossOrigin": PropTypes.string,
|
|
117
|
+
"css": PropTypes.oneOfType([PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
118
|
+
"__emotion_styles": PropTypes.any.isRequired
|
|
119
|
+
}), PropTypes.string, PropTypes.bool]),
|
|
120
|
+
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
121
|
+
"__html": PropTypes.string.isRequired
|
|
122
|
+
}),
|
|
123
|
+
"data-component": PropTypes.string,
|
|
124
|
+
"data-element": PropTypes.string,
|
|
125
|
+
"data-role": PropTypes.string,
|
|
126
|
+
"datatype": PropTypes.string,
|
|
127
|
+
"defaultChecked": PropTypes.bool,
|
|
128
|
+
"defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
|
|
129
|
+
"deferTimeout": PropTypes.number,
|
|
130
|
+
"dir": PropTypes.string,
|
|
131
|
+
"disabled": PropTypes.bool,
|
|
132
|
+
"draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
133
|
+
"enforceCharacterLimit": PropTypes.bool,
|
|
134
|
+
"enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
|
|
135
|
+
"error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
136
|
+
"fieldHelp": PropTypes.node,
|
|
137
|
+
"form": PropTypes.string,
|
|
138
|
+
"formAction": PropTypes.string,
|
|
139
|
+
"formattedValue": PropTypes.string,
|
|
140
|
+
"formEncType": PropTypes.string,
|
|
141
|
+
"formMethod": PropTypes.string,
|
|
142
|
+
"formNoValidate": PropTypes.bool,
|
|
143
|
+
"formTarget": PropTypes.string,
|
|
144
|
+
"height": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
145
|
+
"helpAriaLabel": PropTypes.string,
|
|
146
|
+
"hidden": PropTypes.bool,
|
|
147
|
+
"iconOnClick": PropTypes.func,
|
|
148
|
+
"iconOnMouseDown": PropTypes.func,
|
|
149
|
+
"iconTabIndex": PropTypes.number,
|
|
150
|
+
"id": PropTypes.string,
|
|
151
|
+
"info": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
152
|
+
"inlist": PropTypes.any,
|
|
153
|
+
"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", "dashboard", "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"]),
|
|
154
|
+
"inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
|
|
155
|
+
"inputRef": PropTypes.func,
|
|
156
|
+
"inputWidth": PropTypes.number,
|
|
157
|
+
"is": PropTypes.string,
|
|
158
|
+
"isOptional": PropTypes.bool,
|
|
159
|
+
"itemID": PropTypes.string,
|
|
160
|
+
"itemProp": PropTypes.string,
|
|
161
|
+
"itemRef": PropTypes.string,
|
|
162
|
+
"itemScope": PropTypes.bool,
|
|
163
|
+
"itemType": PropTypes.string,
|
|
164
|
+
"label": PropTypes.string,
|
|
165
|
+
"labelAlign": PropTypes.oneOf(["left", "right"]),
|
|
166
|
+
"labelHelp": PropTypes.node,
|
|
167
|
+
"labelId": PropTypes.string,
|
|
168
|
+
"labelInline": PropTypes.bool,
|
|
169
|
+
"labelSpacing": PropTypes.oneOf([1, 2]),
|
|
170
|
+
"labelWidth": PropTypes.number,
|
|
171
|
+
"lang": PropTypes.string,
|
|
172
|
+
"leftChildren": PropTypes.node,
|
|
173
|
+
"list": PropTypes.string,
|
|
174
|
+
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
175
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
176
|
+
"description": PropTypes.string,
|
|
177
|
+
"toString": PropTypes.func.isRequired,
|
|
178
|
+
"valueOf": PropTypes.func.isRequired
|
|
179
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
180
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
181
|
+
"description": PropTypes.string,
|
|
182
|
+
"toString": PropTypes.func.isRequired,
|
|
183
|
+
"valueOf": PropTypes.func.isRequired
|
|
184
|
+
}), PropTypes.string]),
|
|
185
|
+
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
186
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
187
|
+
"description": PropTypes.string,
|
|
188
|
+
"toString": PropTypes.func.isRequired,
|
|
189
|
+
"valueOf": PropTypes.func.isRequired
|
|
190
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
191
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
192
|
+
"description": PropTypes.string,
|
|
193
|
+
"toString": PropTypes.func.isRequired,
|
|
194
|
+
"valueOf": PropTypes.func.isRequired
|
|
195
|
+
}), PropTypes.string]),
|
|
196
|
+
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
197
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
198
|
+
"description": PropTypes.string,
|
|
199
|
+
"toString": PropTypes.func.isRequired,
|
|
200
|
+
"valueOf": PropTypes.func.isRequired
|
|
201
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
202
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
203
|
+
"description": PropTypes.string,
|
|
204
|
+
"toString": PropTypes.func.isRequired,
|
|
205
|
+
"valueOf": PropTypes.func.isRequired
|
|
206
|
+
}), PropTypes.string]),
|
|
207
|
+
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
208
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
209
|
+
"description": PropTypes.string,
|
|
210
|
+
"toString": PropTypes.func.isRequired,
|
|
211
|
+
"valueOf": PropTypes.func.isRequired
|
|
212
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
213
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
214
|
+
"description": PropTypes.string,
|
|
215
|
+
"toString": PropTypes.func.isRequired,
|
|
216
|
+
"valueOf": PropTypes.func.isRequired
|
|
217
|
+
}), PropTypes.string]),
|
|
218
|
+
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
219
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
220
|
+
"description": PropTypes.string,
|
|
221
|
+
"toString": PropTypes.func.isRequired,
|
|
222
|
+
"valueOf": PropTypes.func.isRequired
|
|
223
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
224
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
225
|
+
"description": PropTypes.string,
|
|
226
|
+
"toString": PropTypes.func.isRequired,
|
|
227
|
+
"valueOf": PropTypes.func.isRequired
|
|
228
|
+
}), PropTypes.string]),
|
|
229
|
+
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
230
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
231
|
+
"description": PropTypes.string,
|
|
232
|
+
"toString": PropTypes.func.isRequired,
|
|
233
|
+
"valueOf": PropTypes.func.isRequired
|
|
234
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
235
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
236
|
+
"description": PropTypes.string,
|
|
237
|
+
"toString": PropTypes.func.isRequired,
|
|
238
|
+
"valueOf": PropTypes.func.isRequired
|
|
239
|
+
}), PropTypes.string]),
|
|
240
|
+
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
241
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
242
|
+
"description": PropTypes.string,
|
|
243
|
+
"toString": PropTypes.func.isRequired,
|
|
244
|
+
"valueOf": PropTypes.func.isRequired
|
|
245
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
246
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
247
|
+
"description": PropTypes.string,
|
|
248
|
+
"toString": PropTypes.func.isRequired,
|
|
249
|
+
"valueOf": PropTypes.func.isRequired
|
|
250
|
+
}), PropTypes.string]),
|
|
251
|
+
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
252
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
253
|
+
"description": PropTypes.string,
|
|
254
|
+
"toString": PropTypes.func.isRequired,
|
|
255
|
+
"valueOf": PropTypes.func.isRequired
|
|
256
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
257
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
258
|
+
"description": PropTypes.string,
|
|
259
|
+
"toString": PropTypes.func.isRequired,
|
|
260
|
+
"valueOf": PropTypes.func.isRequired
|
|
261
|
+
}), PropTypes.string]),
|
|
262
|
+
"max": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
263
|
+
"maxLength": PropTypes.number,
|
|
264
|
+
"maxWidth": PropTypes.string,
|
|
265
|
+
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
266
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
267
|
+
"description": PropTypes.string,
|
|
268
|
+
"toString": PropTypes.func.isRequired,
|
|
269
|
+
"valueOf": PropTypes.func.isRequired
|
|
270
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
271
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
272
|
+
"description": PropTypes.string,
|
|
273
|
+
"toString": PropTypes.func.isRequired,
|
|
274
|
+
"valueOf": PropTypes.func.isRequired
|
|
275
|
+
}), PropTypes.string]),
|
|
276
|
+
"min": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
277
|
+
"minLength": PropTypes.number,
|
|
278
|
+
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
279
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
280
|
+
"description": PropTypes.string,
|
|
281
|
+
"toString": PropTypes.func.isRequired,
|
|
282
|
+
"valueOf": PropTypes.func.isRequired
|
|
283
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
284
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
285
|
+
"description": PropTypes.string,
|
|
286
|
+
"toString": PropTypes.func.isRequired,
|
|
287
|
+
"valueOf": PropTypes.func.isRequired
|
|
288
|
+
}), PropTypes.string]),
|
|
289
|
+
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
290
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
291
|
+
"description": PropTypes.string,
|
|
292
|
+
"toString": PropTypes.func.isRequired,
|
|
293
|
+
"valueOf": PropTypes.func.isRequired
|
|
294
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
295
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
296
|
+
"description": PropTypes.string,
|
|
297
|
+
"toString": PropTypes.func.isRequired,
|
|
298
|
+
"valueOf": PropTypes.func.isRequired
|
|
299
|
+
}), PropTypes.string]),
|
|
300
|
+
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
301
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
302
|
+
"description": PropTypes.string,
|
|
303
|
+
"toString": PropTypes.func.isRequired,
|
|
304
|
+
"valueOf": PropTypes.func.isRequired
|
|
305
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
306
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
307
|
+
"description": PropTypes.string,
|
|
308
|
+
"toString": PropTypes.func.isRequired,
|
|
309
|
+
"valueOf": PropTypes.func.isRequired
|
|
310
|
+
}), PropTypes.string]),
|
|
311
|
+
"multiple": PropTypes.bool,
|
|
312
|
+
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
313
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
314
|
+
"description": PropTypes.string,
|
|
315
|
+
"toString": PropTypes.func.isRequired,
|
|
316
|
+
"valueOf": PropTypes.func.isRequired
|
|
317
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
318
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
319
|
+
"description": PropTypes.string,
|
|
320
|
+
"toString": PropTypes.func.isRequired,
|
|
321
|
+
"valueOf": PropTypes.func.isRequired
|
|
322
|
+
}), PropTypes.string]),
|
|
323
|
+
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
324
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
325
|
+
"description": PropTypes.string,
|
|
326
|
+
"toString": PropTypes.func.isRequired,
|
|
327
|
+
"valueOf": PropTypes.func.isRequired
|
|
328
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
329
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
330
|
+
"description": PropTypes.string,
|
|
331
|
+
"toString": PropTypes.func.isRequired,
|
|
332
|
+
"valueOf": PropTypes.func.isRequired
|
|
333
|
+
}), PropTypes.string]),
|
|
334
|
+
"name": PropTypes.string,
|
|
335
|
+
"onAbort": PropTypes.func,
|
|
336
|
+
"onAbortCapture": PropTypes.func,
|
|
337
|
+
"onAnimationEnd": PropTypes.func,
|
|
338
|
+
"onAnimationEndCapture": PropTypes.func,
|
|
339
|
+
"onAnimationIteration": PropTypes.func,
|
|
340
|
+
"onAnimationIterationCapture": PropTypes.func,
|
|
341
|
+
"onAnimationStart": PropTypes.func,
|
|
342
|
+
"onAnimationStartCapture": PropTypes.func,
|
|
343
|
+
"onAuxClick": PropTypes.func,
|
|
344
|
+
"onAuxClickCapture": PropTypes.func,
|
|
345
|
+
"onBeforeInput": PropTypes.func,
|
|
346
|
+
"onBeforeInputCapture": PropTypes.func,
|
|
347
|
+
"onBlur": PropTypes.func,
|
|
348
|
+
"onBlurCapture": PropTypes.func,
|
|
349
|
+
"onCanPlay": PropTypes.func,
|
|
350
|
+
"onCanPlayCapture": PropTypes.func,
|
|
351
|
+
"onCanPlayThrough": PropTypes.func,
|
|
352
|
+
"onCanPlayThroughCapture": PropTypes.func,
|
|
353
|
+
"onChange": PropTypes.func,
|
|
354
|
+
"onChangeCapture": PropTypes.func,
|
|
355
|
+
"onChangeDeferred": PropTypes.func,
|
|
356
|
+
"onClick": PropTypes.func,
|
|
357
|
+
"onClickCapture": PropTypes.func,
|
|
358
|
+
"onCompositionEnd": PropTypes.func,
|
|
359
|
+
"onCompositionEndCapture": PropTypes.func,
|
|
360
|
+
"onCompositionStart": PropTypes.func,
|
|
361
|
+
"onCompositionStartCapture": PropTypes.func,
|
|
362
|
+
"onCompositionUpdate": PropTypes.func,
|
|
363
|
+
"onCompositionUpdateCapture": PropTypes.func,
|
|
364
|
+
"onContextMenu": PropTypes.func,
|
|
365
|
+
"onContextMenuCapture": PropTypes.func,
|
|
366
|
+
"onCopy": PropTypes.func,
|
|
367
|
+
"onCopyCapture": PropTypes.func,
|
|
368
|
+
"onCut": PropTypes.func,
|
|
369
|
+
"onCutCapture": PropTypes.func,
|
|
370
|
+
"onDoubleClick": PropTypes.func,
|
|
371
|
+
"onDoubleClickCapture": PropTypes.func,
|
|
372
|
+
"onDrag": PropTypes.func,
|
|
373
|
+
"onDragCapture": PropTypes.func,
|
|
374
|
+
"onDragEnd": PropTypes.func,
|
|
375
|
+
"onDragEndCapture": PropTypes.func,
|
|
376
|
+
"onDragEnter": PropTypes.func,
|
|
377
|
+
"onDragEnterCapture": PropTypes.func,
|
|
378
|
+
"onDragExit": PropTypes.func,
|
|
379
|
+
"onDragExitCapture": PropTypes.func,
|
|
380
|
+
"onDragLeave": PropTypes.func,
|
|
381
|
+
"onDragLeaveCapture": PropTypes.func,
|
|
382
|
+
"onDragOver": PropTypes.func,
|
|
383
|
+
"onDragOverCapture": PropTypes.func,
|
|
384
|
+
"onDragStart": PropTypes.func,
|
|
385
|
+
"onDragStartCapture": PropTypes.func,
|
|
386
|
+
"onDrop": PropTypes.func,
|
|
387
|
+
"onDropCapture": PropTypes.func,
|
|
388
|
+
"onDurationChange": PropTypes.func,
|
|
389
|
+
"onDurationChangeCapture": PropTypes.func,
|
|
390
|
+
"onEmptied": PropTypes.func,
|
|
391
|
+
"onEmptiedCapture": PropTypes.func,
|
|
392
|
+
"onEncrypted": PropTypes.func,
|
|
393
|
+
"onEncryptedCapture": PropTypes.func,
|
|
394
|
+
"onEnded": PropTypes.func,
|
|
395
|
+
"onEndedCapture": PropTypes.func,
|
|
396
|
+
"onError": PropTypes.func,
|
|
397
|
+
"onErrorCapture": PropTypes.func,
|
|
398
|
+
"onFocus": PropTypes.func,
|
|
399
|
+
"onFocusCapture": PropTypes.func,
|
|
400
|
+
"onGotPointerCapture": PropTypes.func,
|
|
401
|
+
"onGotPointerCaptureCapture": PropTypes.func,
|
|
402
|
+
"onInput": PropTypes.func,
|
|
403
|
+
"onInputCapture": PropTypes.func,
|
|
404
|
+
"onInvalid": PropTypes.func,
|
|
405
|
+
"onInvalidCapture": PropTypes.func,
|
|
406
|
+
"onKeyDown": PropTypes.func,
|
|
407
|
+
"onKeyDownCapture": PropTypes.func,
|
|
408
|
+
"onKeyPress": PropTypes.func,
|
|
409
|
+
"onKeyPressCapture": PropTypes.func,
|
|
410
|
+
"onKeyUp": PropTypes.func,
|
|
411
|
+
"onKeyUpCapture": PropTypes.func,
|
|
412
|
+
"onLoad": PropTypes.func,
|
|
413
|
+
"onLoadCapture": PropTypes.func,
|
|
414
|
+
"onLoadedData": PropTypes.func,
|
|
415
|
+
"onLoadedDataCapture": PropTypes.func,
|
|
416
|
+
"onLoadedMetadata": PropTypes.func,
|
|
417
|
+
"onLoadedMetadataCapture": PropTypes.func,
|
|
418
|
+
"onLoadStart": PropTypes.func,
|
|
419
|
+
"onLoadStartCapture": PropTypes.func,
|
|
420
|
+
"onLostPointerCapture": PropTypes.func,
|
|
421
|
+
"onLostPointerCaptureCapture": PropTypes.func,
|
|
422
|
+
"onMouseDown": PropTypes.func,
|
|
423
|
+
"onMouseDownCapture": PropTypes.func,
|
|
424
|
+
"onMouseEnter": PropTypes.func,
|
|
425
|
+
"onMouseLeave": PropTypes.func,
|
|
426
|
+
"onMouseMove": PropTypes.func,
|
|
427
|
+
"onMouseMoveCapture": PropTypes.func,
|
|
428
|
+
"onMouseOut": PropTypes.func,
|
|
429
|
+
"onMouseOutCapture": PropTypes.func,
|
|
430
|
+
"onMouseOver": PropTypes.func,
|
|
431
|
+
"onMouseOverCapture": PropTypes.func,
|
|
432
|
+
"onMouseUp": PropTypes.func,
|
|
433
|
+
"onMouseUpCapture": PropTypes.func,
|
|
434
|
+
"onPaste": PropTypes.func,
|
|
435
|
+
"onPasteCapture": PropTypes.func,
|
|
436
|
+
"onPause": PropTypes.func,
|
|
437
|
+
"onPauseCapture": PropTypes.func,
|
|
438
|
+
"onPlay": PropTypes.func,
|
|
439
|
+
"onPlayCapture": PropTypes.func,
|
|
440
|
+
"onPlaying": PropTypes.func,
|
|
441
|
+
"onPlayingCapture": PropTypes.func,
|
|
442
|
+
"onPointerCancel": PropTypes.func,
|
|
443
|
+
"onPointerCancelCapture": PropTypes.func,
|
|
444
|
+
"onPointerDown": PropTypes.func,
|
|
445
|
+
"onPointerDownCapture": PropTypes.func,
|
|
446
|
+
"onPointerEnter": PropTypes.func,
|
|
447
|
+
"onPointerEnterCapture": PropTypes.func,
|
|
448
|
+
"onPointerLeave": PropTypes.func,
|
|
449
|
+
"onPointerLeaveCapture": PropTypes.func,
|
|
450
|
+
"onPointerMove": PropTypes.func,
|
|
451
|
+
"onPointerMoveCapture": PropTypes.func,
|
|
452
|
+
"onPointerOut": PropTypes.func,
|
|
453
|
+
"onPointerOutCapture": PropTypes.func,
|
|
454
|
+
"onPointerOver": PropTypes.func,
|
|
455
|
+
"onPointerOverCapture": PropTypes.func,
|
|
456
|
+
"onPointerUp": PropTypes.func,
|
|
457
|
+
"onPointerUpCapture": PropTypes.func,
|
|
458
|
+
"onProgress": PropTypes.func,
|
|
459
|
+
"onProgressCapture": PropTypes.func,
|
|
460
|
+
"onRateChange": PropTypes.func,
|
|
461
|
+
"onRateChangeCapture": PropTypes.func,
|
|
462
|
+
"onReset": PropTypes.func,
|
|
463
|
+
"onResetCapture": PropTypes.func,
|
|
464
|
+
"onScroll": PropTypes.func,
|
|
465
|
+
"onScrollCapture": PropTypes.func,
|
|
466
|
+
"onSeeked": PropTypes.func,
|
|
467
|
+
"onSeekedCapture": PropTypes.func,
|
|
468
|
+
"onSeeking": PropTypes.func,
|
|
469
|
+
"onSeekingCapture": PropTypes.func,
|
|
470
|
+
"onSelect": PropTypes.func,
|
|
471
|
+
"onSelectCapture": PropTypes.func,
|
|
472
|
+
"onStalled": PropTypes.func,
|
|
473
|
+
"onStalledCapture": PropTypes.func,
|
|
474
|
+
"onSubmit": PropTypes.func,
|
|
475
|
+
"onSubmitCapture": PropTypes.func,
|
|
476
|
+
"onSuspend": PropTypes.func,
|
|
477
|
+
"onSuspendCapture": PropTypes.func,
|
|
478
|
+
"onTimeUpdate": PropTypes.func,
|
|
479
|
+
"onTimeUpdateCapture": PropTypes.func,
|
|
480
|
+
"onTouchCancel": PropTypes.func,
|
|
481
|
+
"onTouchCancelCapture": PropTypes.func,
|
|
482
|
+
"onTouchEnd": PropTypes.func,
|
|
483
|
+
"onTouchEndCapture": PropTypes.func,
|
|
484
|
+
"onTouchMove": PropTypes.func,
|
|
485
|
+
"onTouchMoveCapture": PropTypes.func,
|
|
486
|
+
"onTouchStart": PropTypes.func,
|
|
487
|
+
"onTouchStartCapture": PropTypes.func,
|
|
488
|
+
"onTransitionEnd": PropTypes.func,
|
|
489
|
+
"onTransitionEndCapture": PropTypes.func,
|
|
490
|
+
"onVolumeChange": PropTypes.func,
|
|
491
|
+
"onVolumeChangeCapture": PropTypes.func,
|
|
492
|
+
"onWaiting": PropTypes.func,
|
|
493
|
+
"onWaitingCapture": PropTypes.func,
|
|
494
|
+
"onWheel": PropTypes.func,
|
|
495
|
+
"onWheelCapture": PropTypes.func,
|
|
496
|
+
"pattern": PropTypes.string,
|
|
497
|
+
"placeholder": PropTypes.string,
|
|
498
|
+
"positionedChildren": PropTypes.node,
|
|
499
|
+
"prefix": PropTypes.string,
|
|
500
|
+
"property": PropTypes.string,
|
|
501
|
+
"radioGroup": PropTypes.string,
|
|
502
|
+
"readOnly": PropTypes.bool,
|
|
503
|
+
"required": PropTypes.bool,
|
|
504
|
+
"resource": PropTypes.string,
|
|
505
|
+
"results": PropTypes.number,
|
|
506
|
+
"reverse": PropTypes.bool,
|
|
507
|
+
"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({
|
|
508
|
+
"__@iterator": PropTypes.func.isRequired,
|
|
509
|
+
"anchor": PropTypes.func.isRequired,
|
|
510
|
+
"at": PropTypes.func.isRequired,
|
|
511
|
+
"big": PropTypes.func.isRequired,
|
|
512
|
+
"blink": PropTypes.func.isRequired,
|
|
513
|
+
"bold": PropTypes.func.isRequired,
|
|
514
|
+
"charAt": PropTypes.func.isRequired,
|
|
515
|
+
"charCodeAt": PropTypes.func.isRequired,
|
|
516
|
+
"codePointAt": PropTypes.func.isRequired,
|
|
517
|
+
"concat": PropTypes.func.isRequired,
|
|
518
|
+
"endsWith": PropTypes.func.isRequired,
|
|
519
|
+
"fixed": PropTypes.func.isRequired,
|
|
520
|
+
"fontcolor": PropTypes.func.isRequired,
|
|
521
|
+
"fontsize": PropTypes.func.isRequired,
|
|
522
|
+
"includes": PropTypes.func.isRequired,
|
|
523
|
+
"indexOf": PropTypes.func.isRequired,
|
|
524
|
+
"italics": PropTypes.func.isRequired,
|
|
525
|
+
"lastIndexOf": PropTypes.func.isRequired,
|
|
526
|
+
"length": PropTypes.number.isRequired,
|
|
527
|
+
"link": PropTypes.func.isRequired,
|
|
528
|
+
"localeCompare": PropTypes.func.isRequired,
|
|
529
|
+
"match": PropTypes.func.isRequired,
|
|
530
|
+
"matchAll": PropTypes.func.isRequired,
|
|
531
|
+
"normalize": PropTypes.func.isRequired,
|
|
532
|
+
"padEnd": PropTypes.func.isRequired,
|
|
533
|
+
"padStart": PropTypes.func.isRequired,
|
|
534
|
+
"repeat": PropTypes.func.isRequired,
|
|
535
|
+
"replace": PropTypes.func.isRequired,
|
|
536
|
+
"search": PropTypes.func.isRequired,
|
|
537
|
+
"slice": PropTypes.func.isRequired,
|
|
538
|
+
"small": PropTypes.func.isRequired,
|
|
539
|
+
"split": PropTypes.func.isRequired,
|
|
540
|
+
"startsWith": PropTypes.func.isRequired,
|
|
541
|
+
"strike": PropTypes.func.isRequired,
|
|
542
|
+
"sub": PropTypes.func.isRequired,
|
|
543
|
+
"substr": PropTypes.func.isRequired,
|
|
544
|
+
"substring": PropTypes.func.isRequired,
|
|
545
|
+
"sup": PropTypes.func.isRequired,
|
|
546
|
+
"toLocaleLowerCase": PropTypes.func.isRequired,
|
|
547
|
+
"toLocaleUpperCase": PropTypes.func.isRequired,
|
|
548
|
+
"toLowerCase": PropTypes.func.isRequired,
|
|
549
|
+
"toString": PropTypes.func.isRequired,
|
|
550
|
+
"toUpperCase": PropTypes.func.isRequired,
|
|
551
|
+
"trim": PropTypes.func.isRequired,
|
|
552
|
+
"trimEnd": PropTypes.func.isRequired,
|
|
553
|
+
"trimLeft": PropTypes.func.isRequired,
|
|
554
|
+
"trimRight": PropTypes.func.isRequired,
|
|
555
|
+
"trimStart": PropTypes.func.isRequired,
|
|
556
|
+
"valueOf": PropTypes.func.isRequired
|
|
557
|
+
})]),
|
|
558
|
+
"security": PropTypes.string,
|
|
559
|
+
"size": PropTypes.oneOf(["large", "medium", "small"]),
|
|
560
|
+
"slot": PropTypes.string,
|
|
561
|
+
"spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
562
|
+
"src": PropTypes.string,
|
|
563
|
+
"step": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
564
|
+
"style": PropTypes.object,
|
|
565
|
+
"suppressContentEditableWarning": PropTypes.bool,
|
|
566
|
+
"suppressHydrationWarning": PropTypes.bool,
|
|
567
|
+
"tabIndex": PropTypes.number,
|
|
568
|
+
"title": PropTypes.string,
|
|
569
|
+
"tooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
|
|
570
|
+
"translate": PropTypes.oneOf(["no", "yes"]),
|
|
571
|
+
"typeof": PropTypes.string,
|
|
572
|
+
"unselectable": PropTypes.oneOf(["off", "on"]),
|
|
573
|
+
"validationOnLabel": PropTypes.bool,
|
|
574
|
+
"value": PropTypes.string,
|
|
575
|
+
"vocab": PropTypes.string,
|
|
576
|
+
"warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
577
|
+
"warnOverLimit": PropTypes.bool,
|
|
578
|
+
"width": PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
47
579
|
};
|
|
580
|
+
export { Number };
|
|
48
581
|
export default Number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const BUTTON_BAR_SIZES:
|
|
2
|
-
export declare const BUTTON_BAR_ICON_POSITIONS:
|
|
1
|
+
export declare const BUTTON_BAR_SIZES: readonly ["small", "medium", "large"];
|
|
2
|
+
export declare const BUTTON_BAR_ICON_POSITIONS: readonly ["before", "after"];
|