@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.
Files changed (64) hide show
  1. package/lib/__generated__/accordion.props.js +9 -906
  2. package/lib/__generated__/checkbox.props.js +5 -403
  3. package/lib/__generated__/collapsible.props.js +7 -344
  4. package/lib/__generated__/dialog.props.js +10 -915
  5. package/lib/__generated__/label.props.js +2 -183
  6. package/lib/__generated__/navigation-menu.props.js +13 -1294
  7. package/lib/__generated__/popover.props.js +7 -175
  8. package/lib/__generated__/radio-group.props.js +14 -561
  9. package/lib/__generated__/select.props.js +38 -1273
  10. package/lib/__generated__/switch.props.js +5 -403
  11. package/lib/__generated__/tabs.props.js +12 -732
  12. package/lib/__generated__/tooltip.props.js +6 -175
  13. package/lib/accordion.js +4 -4
  14. package/lib/accordion.template.js +12 -12
  15. package/lib/accordion.ws.js +29 -43
  16. package/lib/checkbox.js +19 -4
  17. package/lib/checkbox.template.js +9 -9
  18. package/lib/checkbox.ws.js +5 -9
  19. package/lib/collapsible.js +3 -3
  20. package/lib/collapsible.ws.js +8 -21
  21. package/lib/components.js +46 -45
  22. package/lib/dialog.template.js +19 -19
  23. package/lib/dialog.ws.js +41 -69
  24. package/lib/label.template.js +3 -3
  25. package/lib/label.ws.js +9 -11
  26. package/lib/metas.js +45 -44
  27. package/lib/navigation-menu.template.js +8 -8
  28. package/lib/navigation-menu.ws.js +21 -35
  29. package/lib/popover.js +17 -16
  30. package/lib/popover.template.js +50 -20
  31. package/lib/popover.ws.js +37 -27
  32. package/lib/radio-group.js +14 -7
  33. package/lib/radio-group.ws.js +25 -31
  34. package/lib/select.js +4 -6
  35. package/lib/select.ws.js +34 -64
  36. package/lib/shared/theme.js +25 -68
  37. package/lib/sheet.template.js +20 -20
  38. package/lib/switch.js +19 -4
  39. package/lib/switch.template.js +9 -9
  40. package/lib/switch.ws.js +15 -19
  41. package/lib/tabs.js +4 -4
  42. package/lib/tabs.template.js +15 -15
  43. package/lib/tabs.ws.js +16 -30
  44. package/lib/tooltip.ws.js +16 -24
  45. package/lib/types/__generated__/popover.props.d.ts +1 -0
  46. package/lib/types/accordion.ws.d.ts +1 -6
  47. package/lib/types/checkbox.ws.d.ts +1 -3
  48. package/lib/types/collapsible.ws.d.ts +1 -4
  49. package/lib/types/components.d.ts +1 -1
  50. package/lib/types/dialog.ws.d.ts +1 -8
  51. package/lib/types/label.ws.d.ts +1 -2
  52. package/lib/types/metas.d.ts +1 -1
  53. package/lib/types/navigation-menu.ws.d.ts +1 -8
  54. package/lib/types/popover.d.ts +1 -0
  55. package/lib/types/popover.ws.d.ts +2 -4
  56. package/lib/types/radio-group.ws.d.ts +1 -4
  57. package/lib/types/select.d.ts +3 -3
  58. package/lib/types/select.ws.d.ts +1 -9
  59. package/lib/types/switch.ws.d.ts +1 -3
  60. package/lib/types/tabs.ws.d.ts +1 -5
  61. package/lib/types/tooltip.ws.d.ts +1 -4
  62. package/package.json +21 -26
  63. package/lib/props.js +0 -62
  64. package/lib/types/props.d.ts +0 -12
@@ -1,26 +1,4 @@
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
2
  collapsible: {
25
3
  description: "Whether an accordion item can be collapsed after it has been opened.",
26
4
  required: !1,
@@ -28,25 +6,6 @@ const e = {
28
6
  type: "boolean",
29
7
  defaultValue: !1
30
8
  },
31
- color: {
32
- required: !1,
33
- control: "color",
34
- type: "string",
35
- 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."
36
- },
37
- content: {
38
- required: !1,
39
- control: "text",
40
- type: "string",
41
- description: "A value associated with http-equiv orname depending on the context."
42
- },
43
- contextMenu: {
44
- required: !1,
45
- control: "text",
46
- type: "string",
47
- description: "Defines the ID of a menu element which willserve as the element's context menu."
48
- },
49
- datatype: { required: !1, control: "text", type: "string" },
50
9
  defaultValue: {
51
10
  description: "The value of the item whose content is expanded when the accordion is initially rendered. Use\n`defaultValue` if you do not need to control the state of an accordion.",
52
11
  required: !1,
@@ -67,58 +26,6 @@ const e = {
67
26
  control: "boolean",
68
27
  type: "boolean"
69
28
  },
70
- draggable: {
71
- required: !1,
72
- control: "boolean",
73
- type: "boolean",
74
- description: "Defines whether the element can be dragged."
75
- },
76
- hidden: {
77
- required: !1,
78
- control: "boolean",
79
- type: "boolean",
80
- description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
81
- },
82
- id: {
83
- required: !1,
84
- control: "text",
85
- type: "string",
86
- description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
87
- },
88
- inputMode: {
89
- description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
90
- required: !1,
91
- control: "select",
92
- type: "string",
93
- options: [
94
- "search",
95
- "text",
96
- "none",
97
- "tel",
98
- "url",
99
- "email",
100
- "numeric",
101
- "decimal"
102
- ]
103
- },
104
- is: {
105
- description: "Specify that a standard HTML element should behave like a defined custom built-in element",
106
- required: !1,
107
- control: "text",
108
- type: "string"
109
- },
110
- itemID: { required: !1, control: "text", type: "string" },
111
- itemProp: { required: !1, control: "text", type: "string" },
112
- itemRef: { required: !1, control: "text", type: "string" },
113
- itemScope: { required: !1, control: "boolean", type: "boolean" },
114
- itemType: { required: !1, control: "text", type: "string" },
115
- lang: {
116
- required: !1,
117
- control: "text",
118
- type: "string",
119
- description: "Defines the language used in the element."
120
- },
121
- nonce: { required: !1, control: "text", type: "string" },
122
29
  orientation: {
123
30
  description: "The layout in which the Accordion operates.",
124
31
  required: !1,
@@ -127,129 +34,13 @@ const e = {
127
34
  defaultValue: "vertical",
128
35
  options: ["horizontal", "vertical"]
129
36
  },
130
- prefix: { required: !1, control: "text", type: "string" },
131
- property: { required: !1, control: "text", type: "string" },
132
- radioGroup: { required: !1, control: "text", type: "string" },
133
- rel: {
134
- required: !1,
135
- control: "text",
136
- type: "string",
137
- description: "Specifies the relationship of the target object to the link object."
138
- },
139
- resource: { required: !1, control: "text", type: "string" },
140
- results: { required: !1, control: "number", type: "number" },
141
- rev: { required: !1, control: "text", type: "string" },
142
- role: {
143
- required: !1,
144
- control: "text",
145
- type: "string",
146
- description: "Defines an explicit role for an element for use by assistive technologies."
147
- },
148
- security: { required: !1, control: "text", type: "string" },
149
- slot: {
150
- required: !1,
151
- control: "text",
152
- type: "string",
153
- description: "Assigns a slot in a shadow DOM shadow tree to an element."
154
- },
155
- spellCheck: {
156
- required: !1,
157
- control: "boolean",
158
- type: "boolean",
159
- description: "Indicates whether spell checking is allowed for the element."
160
- },
161
- suppressContentEditableWarning: {
162
- required: !1,
163
- control: "boolean",
164
- type: "boolean"
165
- },
166
- suppressHydrationWarning: {
167
- required: !1,
168
- control: "boolean",
169
- type: "boolean"
170
- },
171
- tabIndex: {
172
- required: !1,
173
- control: "number",
174
- type: "number",
175
- description: "Overrides the browser's default tab order and follows the one specified instead."
176
- },
177
- title: {
178
- required: !1,
179
- control: "text",
180
- type: "string",
181
- description: "Text to be displayed in a tooltip when hovering over the element."
182
- },
183
- translate: {
184
- required: !1,
185
- control: "radio",
186
- type: "string",
187
- options: ["yes", "no"],
188
- 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."
189
- },
190
- typeof: { required: !1, control: "text", type: "string" },
191
- unselectable: {
192
- required: !1,
193
- control: "radio",
194
- type: "string",
195
- options: ["on", "off"]
196
- },
197
37
  value: {
198
38
  description: "The controlled stateful value of the accordion item whose content is expanded.",
199
39
  required: !1,
200
40
  control: "text",
201
41
  type: "string"
202
- },
203
- vocab: { required: !1, control: "text", type: "string" }
204
- }, t = {
205
- about: { required: !1, control: "text", type: "string" },
206
- accessKey: {
207
- required: !1,
208
- control: "text",
209
- type: "string",
210
- description: "Keyboard shortcut to activate or add focus to the element."
211
- },
212
- autoCapitalize: {
213
- required: !1,
214
- control: "text",
215
- type: "string",
216
- description: "Sets whether input is automatically capitalized when entered by user."
217
- },
218
- autoCorrect: { required: !1, control: "text", type: "string" },
219
- autoFocus: {
220
- required: !1,
221
- control: "boolean",
222
- type: "boolean",
223
- description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
224
- },
225
- autoSave: { required: !1, control: "text", type: "string" },
226
- className: { required: !1, control: "text", type: "string" },
227
- color: {
228
- required: !1,
229
- control: "color",
230
- type: "string",
231
- 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."
232
- },
233
- content: {
234
- required: !1,
235
- control: "text",
236
- type: "string",
237
- description: "A value associated with http-equiv orname depending on the context."
238
- },
239
- contextMenu: {
240
- required: !1,
241
- control: "text",
242
- type: "string",
243
- description: "Defines the ID of a menu element which willserve as the element's context menu."
244
- },
245
- datatype: { required: !1, control: "text", type: "string" },
246
- defaultValue: { required: !1, control: "text", type: "string" },
247
- dir: {
248
- required: !1,
249
- control: "text",
250
- type: "string",
251
- description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
252
- },
42
+ }
43
+ }, o = {
253
44
  disabled: {
254
45
  description: `Whether or not an accordion item is disabled from user interaction.
255
46
  @defaultValue false`,
@@ -257,705 +48,17 @@ const e = {
257
48
  control: "boolean",
258
49
  type: "boolean"
259
50
  },
260
- draggable: {
261
- required: !1,
262
- control: "boolean",
263
- type: "boolean",
264
- description: "Defines whether the element can be dragged."
265
- },
266
- hidden: {
267
- required: !1,
268
- control: "boolean",
269
- type: "boolean",
270
- description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
271
- },
272
- id: {
273
- required: !1,
274
- control: "text",
275
- type: "string",
276
- description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
277
- },
278
- inputMode: {
279
- description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
280
- required: !1,
281
- control: "select",
282
- type: "string",
283
- options: [
284
- "search",
285
- "text",
286
- "none",
287
- "tel",
288
- "url",
289
- "email",
290
- "numeric",
291
- "decimal"
292
- ]
293
- },
294
- is: {
295
- description: "Specify that a standard HTML element should behave like a defined custom built-in element",
296
- required: !1,
297
- control: "text",
298
- type: "string"
299
- },
300
- itemID: { required: !1, control: "text", type: "string" },
301
- itemProp: { required: !1, control: "text", type: "string" },
302
- itemRef: { required: !1, control: "text", type: "string" },
303
- itemScope: { required: !1, control: "boolean", type: "boolean" },
304
- itemType: { required: !1, control: "text", type: "string" },
305
- lang: {
306
- required: !1,
307
- control: "text",
308
- type: "string",
309
- description: "Defines the language used in the element."
310
- },
311
- nonce: { required: !1, control: "text", type: "string" },
312
- prefix: { required: !1, control: "text", type: "string" },
313
- property: { required: !1, control: "text", type: "string" },
314
- radioGroup: { required: !1, control: "text", type: "string" },
315
- rel: {
316
- required: !1,
317
- control: "text",
318
- type: "string",
319
- description: "Specifies the relationship of the target object to the link object."
320
- },
321
- resource: { required: !1, control: "text", type: "string" },
322
- results: { required: !1, control: "number", type: "number" },
323
- rev: { required: !1, control: "text", type: "string" },
324
- role: {
325
- required: !1,
326
- control: "text",
327
- type: "string",
328
- description: "Defines an explicit role for an element for use by assistive technologies."
329
- },
330
- security: { required: !1, control: "text", type: "string" },
331
- slot: {
332
- required: !1,
333
- control: "text",
334
- type: "string",
335
- description: "Assigns a slot in a shadow DOM shadow tree to an element."
336
- },
337
- spellCheck: {
338
- required: !1,
339
- control: "boolean",
340
- type: "boolean",
341
- description: "Indicates whether spell checking is allowed for the element."
342
- },
343
- suppressContentEditableWarning: {
344
- required: !1,
345
- control: "boolean",
346
- type: "boolean"
347
- },
348
- suppressHydrationWarning: {
349
- required: !1,
350
- control: "boolean",
351
- type: "boolean"
352
- },
353
- tabIndex: {
354
- required: !1,
355
- control: "number",
356
- type: "number",
357
- description: "Overrides the browser's default tab order and follows the one specified instead."
358
- },
359
- title: {
360
- required: !1,
361
- control: "text",
362
- type: "string",
363
- description: "Text to be displayed in a tooltip when hovering over the element."
364
- },
365
- translate: {
366
- required: !1,
367
- control: "radio",
368
- type: "string",
369
- options: ["yes", "no"],
370
- 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."
371
- },
372
- typeof: { required: !1, control: "text", type: "string" },
373
- unselectable: {
374
- required: !1,
375
- control: "radio",
376
- type: "string",
377
- options: ["on", "off"]
378
- },
379
51
  value: {
380
52
  required: !1,
381
53
  control: "text",
382
54
  type: "string",
383
- description: "Defines a default value which will be displayed in the element on pageload."
384
- },
385
- vocab: { required: !1, control: "text", type: "string" }
386
- }, r = {
387
- about: { required: !1, control: "text", type: "string" },
388
- accessKey: {
389
- required: !1,
390
- control: "text",
391
- type: "string",
392
- description: "Keyboard shortcut to activate or add focus to the element."
393
- },
394
- autoCapitalize: {
395
- required: !1,
396
- control: "text",
397
- type: "string",
398
- description: "Sets whether input is automatically capitalized when entered by user."
399
- },
400
- autoCorrect: { required: !1, control: "text", type: "string" },
401
- autoFocus: {
402
- required: !1,
403
- control: "boolean",
404
- type: "boolean",
405
- description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
406
- },
407
- autoSave: { required: !1, control: "text", type: "string" },
408
- className: { required: !1, control: "text", type: "string" },
409
- color: {
410
- required: !1,
411
- control: "color",
412
- type: "string",
413
- 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."
414
- },
415
- content: {
416
- required: !1,
417
- control: "text",
418
- type: "string",
419
- description: "A value associated with http-equiv orname depending on the context."
420
- },
421
- contextMenu: {
422
- required: !1,
423
- control: "text",
424
- type: "string",
425
- description: "Defines the ID of a menu element which willserve as the element's context menu."
426
- },
427
- datatype: { required: !1, control: "text", type: "string" },
428
- defaultValue: { required: !1, control: "text", type: "string" },
429
- dir: {
430
- required: !1,
431
- control: "text",
432
- type: "string",
433
- description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
434
- },
435
- draggable: {
436
- required: !1,
437
- control: "boolean",
438
- type: "boolean",
439
- description: "Defines whether the element can be dragged."
440
- },
441
- hidden: {
442
- required: !1,
443
- control: "boolean",
444
- type: "boolean",
445
- description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
446
- },
447
- id: {
448
- required: !1,
449
- control: "text",
450
- type: "string",
451
- description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
452
- },
453
- inputMode: {
454
- description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
455
- required: !1,
456
- control: "select",
457
- type: "string",
458
- options: [
459
- "search",
460
- "text",
461
- "none",
462
- "tel",
463
- "url",
464
- "email",
465
- "numeric",
466
- "decimal"
467
- ]
468
- },
469
- is: {
470
- description: "Specify that a standard HTML element should behave like a defined custom built-in element",
471
- required: !1,
472
- control: "text",
473
- type: "string"
474
- },
475
- itemID: { required: !1, control: "text", type: "string" },
476
- itemProp: { required: !1, control: "text", type: "string" },
477
- itemRef: { required: !1, control: "text", type: "string" },
478
- itemScope: { required: !1, control: "boolean", type: "boolean" },
479
- itemType: { required: !1, control: "text", type: "string" },
480
- lang: {
481
- required: !1,
482
- control: "text",
483
- type: "string",
484
- description: "Defines the language used in the element."
485
- },
486
- nonce: { required: !1, control: "text", type: "string" },
487
- prefix: { required: !1, control: "text", type: "string" },
488
- property: { required: !1, control: "text", type: "string" },
489
- radioGroup: { required: !1, control: "text", type: "string" },
490
- rel: {
491
- required: !1,
492
- control: "text",
493
- type: "string",
494
- description: "Specifies the relationship of the target object to the link object."
495
- },
496
- resource: { required: !1, control: "text", type: "string" },
497
- results: { required: !1, control: "number", type: "number" },
498
- rev: { required: !1, control: "text", type: "string" },
499
- role: {
500
- required: !1,
501
- control: "text",
502
- type: "string",
503
- description: "Defines an explicit role for an element for use by assistive technologies."
504
- },
505
- security: { required: !1, control: "text", type: "string" },
506
- slot: {
507
- required: !1,
508
- control: "text",
509
- type: "string",
510
- description: "Assigns a slot in a shadow DOM shadow tree to an element."
511
- },
512
- spellCheck: {
513
- required: !1,
514
- control: "boolean",
515
- type: "boolean",
516
- description: "Indicates whether spell checking is allowed for the element."
517
- },
518
- suppressContentEditableWarning: {
519
- required: !1,
520
- control: "boolean",
521
- type: "boolean"
522
- },
523
- suppressHydrationWarning: {
524
- required: !1,
525
- control: "boolean",
526
- type: "boolean"
527
- },
528
- tabIndex: {
529
- required: !1,
530
- control: "number",
531
- type: "number",
532
- description: "Overrides the browser's default tab order and follows the one specified instead."
533
- },
534
- title: {
535
- required: !1,
536
- control: "text",
537
- type: "string",
538
- description: "Text to be displayed in a tooltip when hovering over the element."
539
- },
540
- translate: {
541
- required: !1,
542
- control: "radio",
543
- type: "string",
544
- options: ["yes", "no"],
545
- 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."
546
- },
547
- typeof: { required: !1, control: "text", type: "string" },
548
- unselectable: {
549
- required: !1,
550
- control: "radio",
551
- type: "string",
552
- options: ["on", "off"]
553
- },
554
- vocab: { required: !1, control: "text", type: "string" }
555
- }, o = {
556
- about: { required: !1, control: "text", type: "string" },
557
- accessKey: {
558
- required: !1,
559
- control: "text",
560
- type: "string",
561
- description: "Keyboard shortcut to activate or add focus to the element."
562
- },
563
- autoCapitalize: {
564
- required: !1,
565
- control: "text",
566
- type: "string",
567
- description: "Sets whether input is automatically capitalized when entered by user."
568
- },
569
- autoCorrect: { required: !1, control: "text", type: "string" },
570
- autoFocus: {
571
- required: !1,
572
- control: "boolean",
573
- type: "boolean",
574
- description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
575
- },
576
- autoSave: { required: !1, control: "text", type: "string" },
577
- className: { required: !1, control: "text", type: "string" },
578
- color: {
579
- required: !1,
580
- control: "color",
581
- type: "string",
582
- 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."
583
- },
584
- content: {
585
- required: !1,
586
- control: "text",
587
- type: "string",
588
- description: "A value associated with http-equiv orname depending on the context."
589
- },
590
- contextMenu: {
591
- required: !1,
592
- control: "text",
593
- type: "string",
594
- description: "Defines the ID of a menu element which willserve as the element's context menu."
595
- },
596
- datatype: { required: !1, control: "text", type: "string" },
597
- defaultValue: { required: !1, control: "text", type: "string" },
598
- dir: {
599
- required: !1,
600
- control: "text",
601
- type: "string",
602
- description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
603
- },
604
- disabled: {
605
- required: !1,
606
- control: "boolean",
607
- type: "boolean",
608
- description: "Indicates whether the user can interact with the element."
609
- },
610
- draggable: {
611
- required: !1,
612
- control: "boolean",
613
- type: "boolean",
614
- description: "Defines whether the element can be dragged."
615
- },
616
- form: {
617
- required: !1,
618
- control: "text",
619
- type: "string",
620
- description: "Indicates the form that is the owner of the element."
621
- },
622
- formAction: {
623
- required: !1,
624
- control: "text",
625
- type: "string",
626
- description: "Indicates the action of the element, overriding the action defined inthe form."
627
- },
628
- formEncType: {
629
- required: !1,
630
- control: "text",
631
- type: "string",
632
- 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.`
633
- },
634
- formMethod: {
635
- required: !1,
636
- control: "text",
637
- type: "string",
638
- 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.`
639
- },
640
- formNoValidate: {
641
- required: !1,
642
- control: "boolean",
643
- type: "boolean",
644
- 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.`
645
- },
646
- formTarget: {
647
- required: !1,
648
- control: "text",
649
- type: "string",
650
- 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.`
651
- },
652
- hidden: {
653
- required: !1,
654
- control: "boolean",
655
- type: "boolean",
656
- description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
657
- },
658
- id: {
659
- required: !1,
660
- control: "text",
661
- type: "string",
662
- description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
663
- },
664
- inputMode: {
665
- description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
666
- required: !1,
667
- control: "select",
668
- type: "string",
669
- options: [
670
- "search",
671
- "text",
672
- "none",
673
- "tel",
674
- "url",
675
- "email",
676
- "numeric",
677
- "decimal"
678
- ]
679
- },
680
- is: {
681
- description: "Specify that a standard HTML element should behave like a defined custom built-in element",
682
- required: !1,
683
- control: "text",
684
- type: "string"
685
- },
686
- itemID: { required: !1, control: "text", type: "string" },
687
- itemProp: { required: !1, control: "text", type: "string" },
688
- itemRef: { required: !1, control: "text", type: "string" },
689
- itemScope: { required: !1, control: "boolean", type: "boolean" },
690
- itemType: { required: !1, control: "text", type: "string" },
691
- lang: {
692
- required: !1,
693
- control: "text",
694
- type: "string",
695
- description: "Defines the language used in the element."
696
- },
697
- name: {
698
- required: !1,
699
- control: "text",
700
- type: "string",
701
- description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
702
- },
703
- nonce: { required: !1, control: "text", type: "string" },
704
- prefix: { required: !1, control: "text", type: "string" },
705
- property: { required: !1, control: "text", type: "string" },
706
- radioGroup: { required: !1, control: "text", type: "string" },
707
- rel: {
708
- required: !1,
709
- control: "text",
710
- type: "string",
711
- description: "Specifies the relationship of the target object to the link object."
712
- },
713
- resource: { required: !1, control: "text", type: "string" },
714
- results: { required: !1, control: "number", type: "number" },
715
- rev: { required: !1, control: "text", type: "string" },
716
- role: {
717
- required: !1,
718
- control: "text",
719
- type: "string",
720
- description: "Defines an explicit role for an element for use by assistive technologies."
721
- },
722
- security: { required: !1, control: "text", type: "string" },
723
- slot: {
724
- required: !1,
725
- control: "text",
726
- type: "string",
727
- description: "Assigns a slot in a shadow DOM shadow tree to an element."
728
- },
729
- spellCheck: {
730
- required: !1,
731
- control: "boolean",
732
- type: "boolean",
733
- description: "Indicates whether spell checking is allowed for the element."
734
- },
735
- suppressContentEditableWarning: {
736
- required: !1,
737
- control: "boolean",
738
- type: "boolean"
739
- },
740
- suppressHydrationWarning: {
741
- required: !1,
742
- control: "boolean",
743
- type: "boolean"
744
- },
745
- tabIndex: {
746
- required: !1,
747
- control: "number",
748
- type: "number",
749
- description: "Overrides the browser's default tab order and follows the one specified instead."
750
- },
751
- title: {
752
- required: !1,
753
- control: "text",
754
- type: "string",
755
- description: "Text to be displayed in a tooltip when hovering over the element."
756
- },
757
- translate: {
758
- required: !1,
759
- control: "radio",
760
- type: "string",
761
- options: ["yes", "no"],
762
- 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."
763
- },
764
- type: {
765
- required: !1,
766
- control: "radio",
767
- type: "string",
768
- options: ["button", "submit", "reset"],
769
- description: "Defines the type of the element."
770
- },
771
- typeof: { required: !1, control: "text", type: "string" },
772
- unselectable: {
773
- required: !1,
774
- control: "radio",
775
- type: "string",
776
- options: ["on", "off"]
777
- },
778
- value: {
779
- required: !1,
780
- control: "text",
781
- type: "string",
782
- description: "Defines a default value which will be displayed in the element on pageload."
783
- },
784
- vocab: { required: !1, control: "text", type: "string" }
785
- }, i = {
786
- about: { required: !1, control: "text", type: "string" },
787
- accessKey: {
788
- required: !1,
789
- control: "text",
790
- type: "string",
791
- description: "Keyboard shortcut to activate or add focus to the element."
792
- },
793
- autoCapitalize: {
794
- required: !1,
795
- control: "text",
796
- type: "string",
797
- description: "Sets whether input is automatically capitalized when entered by user."
798
- },
799
- autoCorrect: { required: !1, control: "text", type: "string" },
800
- autoFocus: {
801
- required: !1,
802
- control: "boolean",
803
- type: "boolean",
804
- description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
805
- },
806
- autoSave: { required: !1, control: "text", type: "string" },
807
- className: { required: !1, control: "text", type: "string" },
808
- color: {
809
- required: !1,
810
- control: "color",
811
- type: "string",
812
- 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."
813
- },
814
- content: {
815
- required: !1,
816
- control: "text",
817
- type: "string",
818
- description: "A value associated with http-equiv orname depending on the context."
819
- },
820
- contextMenu: {
821
- required: !1,
822
- control: "text",
823
- type: "string",
824
- description: "Defines the ID of a menu element which willserve as the element's context menu."
825
- },
826
- datatype: { required: !1, control: "text", type: "string" },
827
- defaultValue: { required: !1, control: "text", type: "string" },
828
- dir: {
829
- required: !1,
830
- control: "text",
831
- type: "string",
832
- description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
833
- },
834
- draggable: {
835
- required: !1,
836
- control: "boolean",
837
- type: "boolean",
838
- description: "Defines whether the element can be dragged."
839
- },
840
- hidden: {
841
- required: !1,
842
- control: "boolean",
843
- type: "boolean",
844
- description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
845
- },
846
- id: {
847
- required: !1,
848
- control: "text",
849
- type: "string",
850
- description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
851
- },
852
- inputMode: {
853
- description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
854
- required: !1,
855
- control: "select",
856
- type: "string",
857
- options: [
858
- "search",
859
- "text",
860
- "none",
861
- "tel",
862
- "url",
863
- "email",
864
- "numeric",
865
- "decimal"
866
- ]
867
- },
868
- is: {
869
- description: "Specify that a standard HTML element should behave like a defined custom built-in element",
870
- required: !1,
871
- control: "text",
872
- type: "string"
873
- },
874
- itemID: { required: !1, control: "text", type: "string" },
875
- itemProp: { required: !1, control: "text", type: "string" },
876
- itemRef: { required: !1, control: "text", type: "string" },
877
- itemScope: { required: !1, control: "boolean", type: "boolean" },
878
- itemType: { required: !1, control: "text", type: "string" },
879
- lang: {
880
- required: !1,
881
- control: "text",
882
- type: "string",
883
- description: "Defines the language used in the element."
884
- },
885
- nonce: { required: !1, control: "text", type: "string" },
886
- prefix: { required: !1, control: "text", type: "string" },
887
- property: { required: !1, control: "text", type: "string" },
888
- radioGroup: { required: !1, control: "text", type: "string" },
889
- rel: {
890
- required: !1,
891
- control: "text",
892
- type: "string",
893
- description: "Specifies the relationship of the target object to the link object."
894
- },
895
- resource: { required: !1, control: "text", type: "string" },
896
- results: { required: !1, control: "number", type: "number" },
897
- rev: { required: !1, control: "text", type: "string" },
898
- role: {
899
- required: !1,
900
- control: "text",
901
- type: "string",
902
- description: "Defines an explicit role for an element for use by assistive technologies."
903
- },
904
- security: { required: !1, control: "text", type: "string" },
905
- slot: {
906
- required: !1,
907
- control: "text",
908
- type: "string",
909
- description: "Assigns a slot in a shadow DOM shadow tree to an element."
910
- },
911
- spellCheck: {
912
- required: !1,
913
- control: "boolean",
914
- type: "boolean",
915
- description: "Indicates whether spell checking is allowed for the element."
916
- },
917
- suppressContentEditableWarning: {
918
- required: !1,
919
- control: "boolean",
920
- type: "boolean"
921
- },
922
- suppressHydrationWarning: {
923
- required: !1,
924
- control: "boolean",
925
- type: "boolean"
926
- },
927
- tabIndex: {
928
- required: !1,
929
- control: "number",
930
- type: "number",
931
- description: "Overrides the browser's default tab order and follows the one specified instead."
932
- },
933
- title: {
934
- required: !1,
935
- control: "text",
936
- type: "string",
937
- description: "Text to be displayed in a tooltip when hovering over the element."
938
- },
939
- translate: {
940
- required: !1,
941
- control: "radio",
942
- type: "string",
943
- options: ["yes", "no"],
944
- 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."
945
- },
946
- typeof: { required: !1, control: "text", type: "string" },
947
- unselectable: {
948
- required: !1,
949
- control: "radio",
950
- type: "string",
951
- options: ["on", "off"]
952
- },
953
- vocab: { required: !1, control: "text", type: "string" }
954
- };
55
+ description: "Current value of the element"
56
+ }
57
+ }, t = {}, r = {}, n = {};
955
58
  export {
956
59
  e as propsAccordion,
957
- i as propsAccordionContent,
958
- r as propsAccordionHeader,
959
- t as propsAccordionItem,
960
- o as propsAccordionTrigger
60
+ n as propsAccordionContent,
61
+ t as propsAccordionHeader,
62
+ o as propsAccordionItem,
63
+ r as propsAccordionTrigger
961
64
  };