@webstudio-is/sdk-components-react-radix 0.218.0 → 0.220.0
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/lib/__generated__/accordion.props.js +9 -906
- package/lib/__generated__/checkbox.props.js +5 -403
- package/lib/__generated__/collapsible.props.js +7 -344
- package/lib/__generated__/dialog.props.js +10 -915
- package/lib/__generated__/label.props.js +2 -183
- package/lib/__generated__/navigation-menu.props.js +13 -1294
- package/lib/__generated__/popover.props.js +7 -175
- package/lib/__generated__/radio-group.props.js +14 -561
- package/lib/__generated__/select.props.js +38 -1273
- package/lib/__generated__/switch.props.js +5 -403
- package/lib/__generated__/tabs.props.js +12 -732
- package/lib/__generated__/tooltip.props.js +6 -175
- package/lib/accordion.js +4 -4
- package/lib/accordion.template.js +12 -12
- package/lib/accordion.ws.js +29 -43
- package/lib/checkbox.js +19 -4
- package/lib/checkbox.template.js +9 -9
- package/lib/checkbox.ws.js +5 -9
- package/lib/collapsible.js +3 -3
- package/lib/collapsible.ws.js +8 -21
- package/lib/components.js +46 -45
- package/lib/dialog.template.js +19 -19
- package/lib/dialog.ws.js +41 -69
- package/lib/label.template.js +3 -3
- package/lib/label.ws.js +9 -11
- package/lib/metas.js +45 -44
- package/lib/navigation-menu.template.js +8 -8
- package/lib/navigation-menu.ws.js +21 -35
- package/lib/popover.js +17 -16
- package/lib/popover.template.js +50 -20
- package/lib/popover.ws.js +37 -27
- package/lib/radio-group.js +14 -7
- package/lib/radio-group.ws.js +25 -31
- package/lib/select.js +4 -6
- package/lib/select.ws.js +34 -64
- package/lib/shared/theme.js +25 -68
- package/lib/sheet.template.js +20 -20
- package/lib/switch.js +19 -4
- package/lib/switch.template.js +9 -9
- package/lib/switch.ws.js +15 -19
- package/lib/tabs.js +4 -4
- package/lib/tabs.template.js +15 -15
- package/lib/tabs.ws.js +16 -30
- package/lib/tooltip.ws.js +16 -24
- package/lib/types/__generated__/popover.props.d.ts +1 -0
- package/lib/types/accordion.ws.d.ts +1 -6
- package/lib/types/checkbox.ws.d.ts +1 -3
- package/lib/types/collapsible.ws.d.ts +1 -4
- package/lib/types/components.d.ts +1 -1
- package/lib/types/dialog.ws.d.ts +1 -8
- package/lib/types/label.ws.d.ts +1 -2
- package/lib/types/metas.d.ts +1 -1
- package/lib/types/navigation-menu.ws.d.ts +1 -8
- package/lib/types/popover.d.ts +1 -0
- package/lib/types/popover.ws.d.ts +2 -4
- package/lib/types/radio-group.ws.d.ts +1 -4
- package/lib/types/select.d.ts +3 -3
- package/lib/types/select.ws.d.ts +1 -9
- package/lib/types/switch.ws.d.ts +1 -3
- package/lib/types/tabs.ws.d.ts +1 -5
- package/lib/types/tooltip.ws.d.ts +1 -4
- package/package.json +21 -26
- package/lib/props.js +0 -62
- package/lib/types/props.d.ts +0 -12
|
@@ -1,617 +1,70 @@
|
|
|
1
1
|
const e = {
|
|
2
|
-
about: { required: !1, control: "text", type: "string" },
|
|
3
|
-
accessKey: {
|
|
4
|
-
required: !1,
|
|
5
|
-
control: "text",
|
|
6
|
-
type: "string",
|
|
7
|
-
description: "Keyboard shortcut to activate or add focus to the element."
|
|
8
|
-
},
|
|
9
|
-
autoCapitalize: {
|
|
10
|
-
required: !1,
|
|
11
|
-
control: "text",
|
|
12
|
-
type: "string",
|
|
13
|
-
description: "Sets whether input is automatically capitalized when entered by user."
|
|
14
|
-
},
|
|
15
|
-
autoCorrect: { required: !1, control: "text", type: "string" },
|
|
16
|
-
autoFocus: {
|
|
17
|
-
required: !1,
|
|
18
|
-
control: "boolean",
|
|
19
|
-
type: "boolean",
|
|
20
|
-
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
21
|
-
},
|
|
22
|
-
autoSave: { required: !1, control: "text", type: "string" },
|
|
23
|
-
className: { required: !1, control: "text", type: "string" },
|
|
24
|
-
color: {
|
|
25
|
-
required: !1,
|
|
26
|
-
control: "color",
|
|
27
|
-
type: "string",
|
|
28
|
-
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
29
|
-
},
|
|
30
|
-
content: {
|
|
31
|
-
required: !1,
|
|
32
|
-
control: "text",
|
|
33
|
-
type: "string",
|
|
34
|
-
description: "A value associated with http-equiv orname depending on the context."
|
|
35
|
-
},
|
|
36
|
-
contextMenu: {
|
|
37
|
-
required: !1,
|
|
38
|
-
control: "text",
|
|
39
|
-
type: "string",
|
|
40
|
-
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
41
|
-
},
|
|
42
|
-
datatype: { required: !1, control: "text", type: "string" },
|
|
43
2
|
defaultValue: { required: !1, control: "text", type: "string" },
|
|
44
3
|
dir: {
|
|
45
4
|
required: !1,
|
|
46
5
|
control: "radio",
|
|
47
6
|
type: "string",
|
|
48
7
|
options: ["ltr", "rtl"],
|
|
49
|
-
description: "
|
|
8
|
+
description: "The text directionality of the element"
|
|
50
9
|
},
|
|
51
10
|
disabled: {
|
|
52
11
|
required: !1,
|
|
53
12
|
control: "boolean",
|
|
54
13
|
type: "boolean",
|
|
55
|
-
description: "
|
|
56
|
-
},
|
|
57
|
-
draggable: {
|
|
58
|
-
required: !1,
|
|
59
|
-
control: "boolean",
|
|
60
|
-
type: "boolean",
|
|
61
|
-
description: "Defines whether the element can be dragged."
|
|
62
|
-
},
|
|
63
|
-
hidden: {
|
|
64
|
-
required: !1,
|
|
65
|
-
control: "boolean",
|
|
66
|
-
type: "boolean",
|
|
67
|
-
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
68
|
-
},
|
|
69
|
-
id: {
|
|
70
|
-
required: !1,
|
|
71
|
-
control: "text",
|
|
72
|
-
type: "string",
|
|
73
|
-
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
74
|
-
},
|
|
75
|
-
inputMode: {
|
|
76
|
-
description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
|
|
77
|
-
required: !1,
|
|
78
|
-
control: "select",
|
|
79
|
-
type: "string",
|
|
80
|
-
options: [
|
|
81
|
-
"search",
|
|
82
|
-
"text",
|
|
83
|
-
"none",
|
|
84
|
-
"tel",
|
|
85
|
-
"url",
|
|
86
|
-
"email",
|
|
87
|
-
"numeric",
|
|
88
|
-
"decimal"
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
is: {
|
|
92
|
-
description: "Specify that a standard HTML element should behave like a defined custom built-in element",
|
|
93
|
-
required: !1,
|
|
94
|
-
control: "text",
|
|
95
|
-
type: "string"
|
|
96
|
-
},
|
|
97
|
-
itemID: { required: !1, control: "text", type: "string" },
|
|
98
|
-
itemProp: { required: !1, control: "text", type: "string" },
|
|
99
|
-
itemRef: { required: !1, control: "text", type: "string" },
|
|
100
|
-
itemScope: { required: !1, control: "boolean", type: "boolean" },
|
|
101
|
-
itemType: { required: !1, control: "text", type: "string" },
|
|
102
|
-
lang: {
|
|
103
|
-
required: !1,
|
|
104
|
-
control: "text",
|
|
105
|
-
type: "string",
|
|
106
|
-
description: "Defines the language used in the element."
|
|
14
|
+
description: "Whether the form control is disabled"
|
|
107
15
|
},
|
|
108
16
|
loop: {
|
|
109
17
|
required: !1,
|
|
110
18
|
control: "boolean",
|
|
111
19
|
type: "boolean",
|
|
112
|
-
description: "
|
|
20
|
+
description: "Whether to loop the media resource"
|
|
113
21
|
},
|
|
114
22
|
name: {
|
|
115
23
|
required: !1,
|
|
116
24
|
control: "text",
|
|
117
25
|
type: "string",
|
|
118
|
-
description: "
|
|
26
|
+
description: "Name of the element to use for form submission and in the form.elements API"
|
|
119
27
|
},
|
|
120
|
-
nonce: { required: !1, control: "text", type: "string" },
|
|
121
28
|
orientation: {
|
|
122
29
|
required: !1,
|
|
123
30
|
control: "radio",
|
|
124
31
|
type: "string",
|
|
125
32
|
options: ["horizontal", "vertical"]
|
|
126
33
|
},
|
|
127
|
-
prefix: { required: !1, control: "text", type: "string" },
|
|
128
|
-
property: { required: !1, control: "text", type: "string" },
|
|
129
|
-
radioGroup: { required: !1, control: "text", type: "string" },
|
|
130
|
-
rel: {
|
|
131
|
-
required: !1,
|
|
132
|
-
control: "text",
|
|
133
|
-
type: "string",
|
|
134
|
-
description: "Specifies the relationship of the target object to the link object."
|
|
135
|
-
},
|
|
136
34
|
required: {
|
|
137
35
|
required: !1,
|
|
138
36
|
control: "boolean",
|
|
139
37
|
type: "boolean",
|
|
140
|
-
description: "
|
|
141
|
-
},
|
|
142
|
-
resource: { required: !1, control: "text", type: "string" },
|
|
143
|
-
results: { required: !1, control: "number", type: "number" },
|
|
144
|
-
rev: { required: !1, control: "text", type: "string" },
|
|
145
|
-
role: {
|
|
146
|
-
required: !1,
|
|
147
|
-
control: "text",
|
|
148
|
-
type: "string",
|
|
149
|
-
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
150
|
-
},
|
|
151
|
-
security: { required: !1, control: "text", type: "string" },
|
|
152
|
-
slot: {
|
|
153
|
-
required: !1,
|
|
154
|
-
control: "text",
|
|
155
|
-
type: "string",
|
|
156
|
-
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
157
|
-
},
|
|
158
|
-
spellCheck: {
|
|
159
|
-
required: !1,
|
|
160
|
-
control: "boolean",
|
|
161
|
-
type: "boolean",
|
|
162
|
-
description: "Indicates whether spell checking is allowed for the element."
|
|
163
|
-
},
|
|
164
|
-
suppressContentEditableWarning: {
|
|
165
|
-
required: !1,
|
|
166
|
-
control: "boolean",
|
|
167
|
-
type: "boolean"
|
|
168
|
-
},
|
|
169
|
-
suppressHydrationWarning: {
|
|
170
|
-
required: !1,
|
|
171
|
-
control: "boolean",
|
|
172
|
-
type: "boolean"
|
|
173
|
-
},
|
|
174
|
-
tabIndex: {
|
|
175
|
-
required: !1,
|
|
176
|
-
control: "number",
|
|
177
|
-
type: "number",
|
|
178
|
-
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
179
|
-
},
|
|
180
|
-
title: {
|
|
181
|
-
required: !1,
|
|
182
|
-
control: "text",
|
|
183
|
-
type: "string",
|
|
184
|
-
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
185
|
-
},
|
|
186
|
-
translate: {
|
|
187
|
-
required: !1,
|
|
188
|
-
control: "radio",
|
|
189
|
-
type: "string",
|
|
190
|
-
options: ["yes", "no"],
|
|
191
|
-
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
192
|
-
},
|
|
193
|
-
typeof: { required: !1, control: "text", type: "string" },
|
|
194
|
-
unselectable: {
|
|
195
|
-
required: !1,
|
|
196
|
-
control: "radio",
|
|
197
|
-
type: "string",
|
|
198
|
-
options: ["on", "off"]
|
|
38
|
+
description: "Whether the control is required for form submission"
|
|
199
39
|
},
|
|
200
40
|
value: {
|
|
201
41
|
required: !1,
|
|
202
42
|
control: "text",
|
|
203
43
|
type: "string",
|
|
204
|
-
description: "
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
}, t = {
|
|
208
|
-
about: { required: !1, control: "text", type: "string" },
|
|
209
|
-
accessKey: {
|
|
210
|
-
required: !1,
|
|
211
|
-
control: "text",
|
|
212
|
-
type: "string",
|
|
213
|
-
description: "Keyboard shortcut to activate or add focus to the element."
|
|
214
|
-
},
|
|
215
|
-
autoCapitalize: {
|
|
216
|
-
required: !1,
|
|
217
|
-
control: "text",
|
|
218
|
-
type: "string",
|
|
219
|
-
description: "Sets whether input is automatically capitalized when entered by user."
|
|
220
|
-
},
|
|
221
|
-
autoCorrect: { required: !1, control: "text", type: "string" },
|
|
222
|
-
autoFocus: {
|
|
223
|
-
required: !1,
|
|
224
|
-
control: "boolean",
|
|
225
|
-
type: "boolean",
|
|
226
|
-
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
227
|
-
},
|
|
228
|
-
autoSave: { required: !1, control: "text", type: "string" },
|
|
44
|
+
description: "Current value of the element"
|
|
45
|
+
}
|
|
46
|
+
}, o = {
|
|
229
47
|
checked: {
|
|
230
48
|
required: !1,
|
|
231
49
|
control: "boolean",
|
|
232
50
|
type: "boolean",
|
|
233
|
-
description: "
|
|
234
|
-
},
|
|
235
|
-
className: { required: !1, control: "text", type: "string" },
|
|
236
|
-
color: {
|
|
237
|
-
required: !1,
|
|
238
|
-
control: "color",
|
|
239
|
-
type: "string",
|
|
240
|
-
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
241
|
-
},
|
|
242
|
-
content: {
|
|
243
|
-
required: !1,
|
|
244
|
-
control: "text",
|
|
245
|
-
type: "string",
|
|
246
|
-
description: "A value associated with http-equiv orname depending on the context."
|
|
247
|
-
},
|
|
248
|
-
contextMenu: {
|
|
249
|
-
required: !1,
|
|
250
|
-
control: "text",
|
|
251
|
-
type: "string",
|
|
252
|
-
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
253
|
-
},
|
|
254
|
-
datatype: { required: !1, control: "text", type: "string" },
|
|
255
|
-
defaultValue: { required: !1, control: "text", type: "string" },
|
|
256
|
-
dir: {
|
|
257
|
-
required: !1,
|
|
258
|
-
control: "text",
|
|
259
|
-
type: "string",
|
|
260
|
-
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
261
|
-
},
|
|
262
|
-
disabled: {
|
|
263
|
-
required: !1,
|
|
264
|
-
control: "boolean",
|
|
265
|
-
type: "boolean",
|
|
266
|
-
description: "Indicates whether the user can interact with the element."
|
|
267
|
-
},
|
|
268
|
-
draggable: {
|
|
269
|
-
required: !1,
|
|
270
|
-
control: "boolean",
|
|
271
|
-
type: "boolean",
|
|
272
|
-
description: "Defines whether the element can be dragged."
|
|
273
|
-
},
|
|
274
|
-
form: {
|
|
275
|
-
required: !1,
|
|
276
|
-
control: "text",
|
|
277
|
-
type: "string",
|
|
278
|
-
description: "Indicates the form that is the owner of the element."
|
|
279
|
-
},
|
|
280
|
-
formAction: {
|
|
281
|
-
required: !1,
|
|
282
|
-
control: "text",
|
|
283
|
-
type: "string",
|
|
284
|
-
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
285
|
-
},
|
|
286
|
-
formEncType: {
|
|
287
|
-
required: !1,
|
|
288
|
-
control: "text",
|
|
289
|
-
type: "string",
|
|
290
|
-
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
|
|
291
|
-
},
|
|
292
|
-
formMethod: {
|
|
293
|
-
required: !1,
|
|
294
|
-
control: "text",
|
|
295
|
-
type: "string",
|
|
296
|
-
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
|
|
297
|
-
},
|
|
298
|
-
formNoValidate: {
|
|
299
|
-
required: !1,
|
|
300
|
-
control: "boolean",
|
|
301
|
-
type: "boolean",
|
|
302
|
-
description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
|
|
303
|
-
},
|
|
304
|
-
formTarget: {
|
|
305
|
-
required: !1,
|
|
306
|
-
control: "text",
|
|
307
|
-
type: "string",
|
|
308
|
-
description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
|
|
309
|
-
},
|
|
310
|
-
hidden: {
|
|
311
|
-
required: !1,
|
|
312
|
-
control: "boolean",
|
|
313
|
-
type: "boolean",
|
|
314
|
-
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
315
|
-
},
|
|
316
|
-
id: {
|
|
317
|
-
required: !1,
|
|
318
|
-
control: "text",
|
|
319
|
-
type: "string",
|
|
320
|
-
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
321
|
-
},
|
|
322
|
-
inputMode: {
|
|
323
|
-
description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
|
|
324
|
-
required: !1,
|
|
325
|
-
control: "select",
|
|
326
|
-
type: "string",
|
|
327
|
-
options: [
|
|
328
|
-
"search",
|
|
329
|
-
"text",
|
|
330
|
-
"none",
|
|
331
|
-
"tel",
|
|
332
|
-
"url",
|
|
333
|
-
"email",
|
|
334
|
-
"numeric",
|
|
335
|
-
"decimal"
|
|
336
|
-
]
|
|
337
|
-
},
|
|
338
|
-
is: {
|
|
339
|
-
description: "Specify that a standard HTML element should behave like a defined custom built-in element",
|
|
340
|
-
required: !1,
|
|
341
|
-
control: "text",
|
|
342
|
-
type: "string"
|
|
343
|
-
},
|
|
344
|
-
itemID: { required: !1, control: "text", type: "string" },
|
|
345
|
-
itemProp: { required: !1, control: "text", type: "string" },
|
|
346
|
-
itemRef: { required: !1, control: "text", type: "string" },
|
|
347
|
-
itemScope: { required: !1, control: "boolean", type: "boolean" },
|
|
348
|
-
itemType: { required: !1, control: "text", type: "string" },
|
|
349
|
-
lang: {
|
|
350
|
-
required: !1,
|
|
351
|
-
control: "text",
|
|
352
|
-
type: "string",
|
|
353
|
-
description: "Defines the language used in the element."
|
|
354
|
-
},
|
|
355
|
-
nonce: { required: !1, control: "text", type: "string" },
|
|
356
|
-
prefix: { required: !1, control: "text", type: "string" },
|
|
357
|
-
property: { required: !1, control: "text", type: "string" },
|
|
358
|
-
radioGroup: { required: !1, control: "text", type: "string" },
|
|
359
|
-
rel: {
|
|
360
|
-
required: !1,
|
|
361
|
-
control: "text",
|
|
362
|
-
type: "string",
|
|
363
|
-
description: "Specifies the relationship of the target object to the link object."
|
|
51
|
+
description: "Whether the control is checked"
|
|
364
52
|
},
|
|
365
53
|
required: {
|
|
366
54
|
required: !1,
|
|
367
55
|
control: "boolean",
|
|
368
56
|
type: "boolean",
|
|
369
|
-
description: "
|
|
370
|
-
},
|
|
371
|
-
resource: { required: !1, control: "text", type: "string" },
|
|
372
|
-
results: { required: !1, control: "number", type: "number" },
|
|
373
|
-
rev: { required: !1, control: "text", type: "string" },
|
|
374
|
-
role: {
|
|
375
|
-
required: !1,
|
|
376
|
-
control: "text",
|
|
377
|
-
type: "string",
|
|
378
|
-
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
379
|
-
},
|
|
380
|
-
security: { required: !1, control: "text", type: "string" },
|
|
381
|
-
slot: {
|
|
382
|
-
required: !1,
|
|
383
|
-
control: "text",
|
|
384
|
-
type: "string",
|
|
385
|
-
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
386
|
-
},
|
|
387
|
-
spellCheck: {
|
|
388
|
-
required: !1,
|
|
389
|
-
control: "boolean",
|
|
390
|
-
type: "boolean",
|
|
391
|
-
description: "Indicates whether spell checking is allowed for the element."
|
|
392
|
-
},
|
|
393
|
-
suppressContentEditableWarning: {
|
|
394
|
-
required: !1,
|
|
395
|
-
control: "boolean",
|
|
396
|
-
type: "boolean"
|
|
397
|
-
},
|
|
398
|
-
suppressHydrationWarning: {
|
|
399
|
-
required: !1,
|
|
400
|
-
control: "boolean",
|
|
401
|
-
type: "boolean"
|
|
402
|
-
},
|
|
403
|
-
tabIndex: {
|
|
404
|
-
required: !1,
|
|
405
|
-
control: "number",
|
|
406
|
-
type: "number",
|
|
407
|
-
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
408
|
-
},
|
|
409
|
-
title: {
|
|
410
|
-
required: !1,
|
|
411
|
-
control: "text",
|
|
412
|
-
type: "string",
|
|
413
|
-
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
414
|
-
},
|
|
415
|
-
translate: {
|
|
416
|
-
required: !1,
|
|
417
|
-
control: "radio",
|
|
418
|
-
type: "string",
|
|
419
|
-
options: ["yes", "no"],
|
|
420
|
-
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
421
|
-
},
|
|
422
|
-
type: {
|
|
423
|
-
required: !1,
|
|
424
|
-
control: "radio",
|
|
425
|
-
type: "string",
|
|
426
|
-
options: ["button", "submit", "reset"],
|
|
427
|
-
description: "Defines the type of the element."
|
|
428
|
-
},
|
|
429
|
-
typeof: { required: !1, control: "text", type: "string" },
|
|
430
|
-
unselectable: {
|
|
431
|
-
required: !1,
|
|
432
|
-
control: "radio",
|
|
433
|
-
type: "string",
|
|
434
|
-
options: ["on", "off"]
|
|
57
|
+
description: "Whether the control is required for form submission"
|
|
435
58
|
},
|
|
436
59
|
value: {
|
|
437
60
|
required: !0,
|
|
438
61
|
control: "text",
|
|
439
62
|
type: "string",
|
|
440
|
-
description: "
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
}, r = {
|
|
444
|
-
about: { required: !1, control: "text", type: "string" },
|
|
445
|
-
accessKey: {
|
|
446
|
-
required: !1,
|
|
447
|
-
control: "text",
|
|
448
|
-
type: "string",
|
|
449
|
-
description: "Keyboard shortcut to activate or add focus to the element."
|
|
450
|
-
},
|
|
451
|
-
autoCapitalize: {
|
|
452
|
-
required: !1,
|
|
453
|
-
control: "text",
|
|
454
|
-
type: "string",
|
|
455
|
-
description: "Sets whether input is automatically capitalized when entered by user."
|
|
456
|
-
},
|
|
457
|
-
autoCorrect: { required: !1, control: "text", type: "string" },
|
|
458
|
-
autoFocus: {
|
|
459
|
-
required: !1,
|
|
460
|
-
control: "boolean",
|
|
461
|
-
type: "boolean",
|
|
462
|
-
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
463
|
-
},
|
|
464
|
-
autoSave: { required: !1, control: "text", type: "string" },
|
|
465
|
-
className: { required: !1, control: "text", type: "string" },
|
|
466
|
-
color: {
|
|
467
|
-
required: !1,
|
|
468
|
-
control: "color",
|
|
469
|
-
type: "string",
|
|
470
|
-
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
471
|
-
},
|
|
472
|
-
content: {
|
|
473
|
-
required: !1,
|
|
474
|
-
control: "text",
|
|
475
|
-
type: "string",
|
|
476
|
-
description: "A value associated with http-equiv orname depending on the context."
|
|
477
|
-
},
|
|
478
|
-
contextMenu: {
|
|
479
|
-
required: !1,
|
|
480
|
-
control: "text",
|
|
481
|
-
type: "string",
|
|
482
|
-
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
483
|
-
},
|
|
484
|
-
datatype: { required: !1, control: "text", type: "string" },
|
|
485
|
-
defaultValue: { required: !1, control: "text", type: "string" },
|
|
486
|
-
dir: {
|
|
487
|
-
required: !1,
|
|
488
|
-
control: "text",
|
|
489
|
-
type: "string",
|
|
490
|
-
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
491
|
-
},
|
|
492
|
-
draggable: {
|
|
493
|
-
required: !1,
|
|
494
|
-
control: "boolean",
|
|
495
|
-
type: "boolean",
|
|
496
|
-
description: "Defines whether the element can be dragged."
|
|
497
|
-
},
|
|
498
|
-
hidden: {
|
|
499
|
-
required: !1,
|
|
500
|
-
control: "boolean",
|
|
501
|
-
type: "boolean",
|
|
502
|
-
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
503
|
-
},
|
|
504
|
-
id: {
|
|
505
|
-
required: !1,
|
|
506
|
-
control: "text",
|
|
507
|
-
type: "string",
|
|
508
|
-
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
509
|
-
},
|
|
510
|
-
inputMode: {
|
|
511
|
-
description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
|
|
512
|
-
required: !1,
|
|
513
|
-
control: "select",
|
|
514
|
-
type: "string",
|
|
515
|
-
options: [
|
|
516
|
-
"search",
|
|
517
|
-
"text",
|
|
518
|
-
"none",
|
|
519
|
-
"tel",
|
|
520
|
-
"url",
|
|
521
|
-
"email",
|
|
522
|
-
"numeric",
|
|
523
|
-
"decimal"
|
|
524
|
-
]
|
|
525
|
-
},
|
|
526
|
-
is: {
|
|
527
|
-
description: "Specify that a standard HTML element should behave like a defined custom built-in element",
|
|
528
|
-
required: !1,
|
|
529
|
-
control: "text",
|
|
530
|
-
type: "string"
|
|
531
|
-
},
|
|
532
|
-
itemID: { required: !1, control: "text", type: "string" },
|
|
533
|
-
itemProp: { required: !1, control: "text", type: "string" },
|
|
534
|
-
itemRef: { required: !1, control: "text", type: "string" },
|
|
535
|
-
itemScope: { required: !1, control: "boolean", type: "boolean" },
|
|
536
|
-
itemType: { required: !1, control: "text", type: "string" },
|
|
537
|
-
lang: {
|
|
538
|
-
required: !1,
|
|
539
|
-
control: "text",
|
|
540
|
-
type: "string",
|
|
541
|
-
description: "Defines the language used in the element."
|
|
542
|
-
},
|
|
543
|
-
nonce: { required: !1, control: "text", type: "string" },
|
|
544
|
-
prefix: { required: !1, control: "text", type: "string" },
|
|
545
|
-
property: { required: !1, control: "text", type: "string" },
|
|
546
|
-
radioGroup: { required: !1, control: "text", type: "string" },
|
|
547
|
-
rel: {
|
|
548
|
-
required: !1,
|
|
549
|
-
control: "text",
|
|
550
|
-
type: "string",
|
|
551
|
-
description: "Specifies the relationship of the target object to the link object."
|
|
552
|
-
},
|
|
553
|
-
resource: { required: !1, control: "text", type: "string" },
|
|
554
|
-
results: { required: !1, control: "number", type: "number" },
|
|
555
|
-
rev: { required: !1, control: "text", type: "string" },
|
|
556
|
-
role: {
|
|
557
|
-
required: !1,
|
|
558
|
-
control: "text",
|
|
559
|
-
type: "string",
|
|
560
|
-
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
561
|
-
},
|
|
562
|
-
security: { required: !1, control: "text", type: "string" },
|
|
563
|
-
slot: {
|
|
564
|
-
required: !1,
|
|
565
|
-
control: "text",
|
|
566
|
-
type: "string",
|
|
567
|
-
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
568
|
-
},
|
|
569
|
-
spellCheck: {
|
|
570
|
-
required: !1,
|
|
571
|
-
control: "boolean",
|
|
572
|
-
type: "boolean",
|
|
573
|
-
description: "Indicates whether spell checking is allowed for the element."
|
|
574
|
-
},
|
|
575
|
-
suppressContentEditableWarning: {
|
|
576
|
-
required: !1,
|
|
577
|
-
control: "boolean",
|
|
578
|
-
type: "boolean"
|
|
579
|
-
},
|
|
580
|
-
suppressHydrationWarning: {
|
|
581
|
-
required: !1,
|
|
582
|
-
control: "boolean",
|
|
583
|
-
type: "boolean"
|
|
584
|
-
},
|
|
585
|
-
tabIndex: {
|
|
586
|
-
required: !1,
|
|
587
|
-
control: "number",
|
|
588
|
-
type: "number",
|
|
589
|
-
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
590
|
-
},
|
|
591
|
-
title: {
|
|
592
|
-
required: !1,
|
|
593
|
-
control: "text",
|
|
594
|
-
type: "string",
|
|
595
|
-
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
596
|
-
},
|
|
597
|
-
translate: {
|
|
598
|
-
required: !1,
|
|
599
|
-
control: "radio",
|
|
600
|
-
type: "string",
|
|
601
|
-
options: ["yes", "no"],
|
|
602
|
-
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
603
|
-
},
|
|
604
|
-
typeof: { required: !1, control: "text", type: "string" },
|
|
605
|
-
unselectable: {
|
|
606
|
-
required: !1,
|
|
607
|
-
control: "radio",
|
|
608
|
-
type: "string",
|
|
609
|
-
options: ["on", "off"]
|
|
610
|
-
},
|
|
611
|
-
vocab: { required: !1, control: "text", type: "string" }
|
|
612
|
-
};
|
|
63
|
+
description: "Current value of the element"
|
|
64
|
+
}
|
|
65
|
+
}, r = {};
|
|
613
66
|
export {
|
|
614
67
|
e as propsRadioGroup,
|
|
615
68
|
r as propsRadioGroupIndicator,
|
|
616
|
-
|
|
69
|
+
o as propsRadioGroupItem
|
|
617
70
|
};
|