@webstudio-is/react-sdk 0.29.0 → 0.30.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 (120) hide show
  1. package/lib/app/custom-components/index.js +12 -6
  2. package/lib/app/root.js +0 -2
  3. package/lib/cjs/app/custom-components/index.cjs +12 -6
  4. package/lib/cjs/app/root.cjs +0 -2
  5. package/lib/cjs/components/__generated__/body.props.json +557 -305
  6. package/lib/cjs/components/__generated__/bold.props.json +557 -305
  7. package/lib/cjs/components/__generated__/box.props.json +577 -320
  8. package/lib/cjs/components/__generated__/button.props.json +616 -339
  9. package/lib/cjs/components/__generated__/form.props.json +597 -329
  10. package/lib/cjs/components/__generated__/heading.props.json +566 -309
  11. package/lib/cjs/components/__generated__/image.props.json +638 -352
  12. package/lib/cjs/components/__generated__/input.props.json +725 -405
  13. package/lib/cjs/components/__generated__/italic.props.json +557 -305
  14. package/lib/cjs/components/__generated__/link.props.json +616 -343
  15. package/lib/cjs/components/__generated__/paragraph.props.json +557 -305
  16. package/lib/cjs/components/__generated__/rich-text-link.props.json +616 -343
  17. package/lib/cjs/components/__generated__/span.props.json +557 -305
  18. package/lib/cjs/components/__generated__/subscript.props.json +557 -305
  19. package/lib/cjs/components/__generated__/superscript.props.json +557 -305
  20. package/lib/cjs/components/__generated__/text-block.props.json +557 -305
  21. package/lib/cjs/components/body.ws.cjs +6 -3
  22. package/lib/cjs/components/bold.ws.cjs +7 -4
  23. package/lib/cjs/components/box.ws.cjs +8 -4
  24. package/lib/cjs/components/button.ws.cjs +8 -4
  25. package/lib/cjs/components/component-type.cjs +21 -56
  26. package/lib/cjs/components/form.ws.cjs +7 -4
  27. package/lib/cjs/components/heading.ws.cjs +8 -4
  28. package/lib/cjs/components/image.ws.cjs +11 -5
  29. package/lib/cjs/components/index.cjs +165 -111
  30. package/lib/cjs/components/input.ws.cjs +7 -4
  31. package/lib/cjs/components/italic.ws.cjs +7 -4
  32. package/lib/cjs/components/link.ws.cjs +8 -4
  33. package/lib/cjs/components/paragraph.ws.cjs +7 -4
  34. package/lib/cjs/components/rich-text-link.ws.cjs +7 -4
  35. package/lib/cjs/components/span.ws.cjs +7 -4
  36. package/lib/cjs/components/subscript.ws.cjs +7 -4
  37. package/lib/cjs/components/superscript.ws.cjs +7 -4
  38. package/lib/cjs/components/text-block.ws.cjs +7 -4
  39. package/lib/cjs/index.cjs +3 -2
  40. package/lib/cjs/tree/session-storage-polyfill.cjs +1 -1
  41. package/lib/components/__generated__/body.props.json +557 -305
  42. package/lib/components/__generated__/bold.props.json +557 -305
  43. package/lib/components/__generated__/box.props.json +577 -320
  44. package/lib/components/__generated__/button.props.json +616 -339
  45. package/lib/components/__generated__/form.props.json +597 -329
  46. package/lib/components/__generated__/heading.props.json +566 -309
  47. package/lib/components/__generated__/image.props.json +638 -352
  48. package/lib/components/__generated__/input.props.json +725 -405
  49. package/lib/components/__generated__/italic.props.json +557 -305
  50. package/lib/components/__generated__/link.props.json +616 -343
  51. package/lib/components/__generated__/paragraph.props.json +557 -305
  52. package/lib/components/__generated__/rich-text-link.props.json +616 -343
  53. package/lib/components/__generated__/span.props.json +557 -305
  54. package/lib/components/__generated__/subscript.props.json +557 -305
  55. package/lib/components/__generated__/superscript.props.json +557 -305
  56. package/lib/components/__generated__/text-block.props.json +557 -305
  57. package/lib/components/body.ws.js +6 -3
  58. package/lib/components/bold.ws.js +7 -4
  59. package/lib/components/box.ws.js +8 -4
  60. package/lib/components/button.ws.js +8 -4
  61. package/lib/components/component-type.js +21 -56
  62. package/lib/components/form.ws.js +7 -4
  63. package/lib/components/heading.ws.js +8 -4
  64. package/lib/components/image.ws.js +11 -5
  65. package/lib/components/index.js +117 -57
  66. package/lib/components/input.ws.js +7 -4
  67. package/lib/components/italic.ws.js +7 -4
  68. package/lib/components/link.ws.js +8 -4
  69. package/lib/components/paragraph.ws.js +7 -4
  70. package/lib/components/rich-text-link.ws.js +7 -4
  71. package/lib/components/span.ws.js +7 -4
  72. package/lib/components/subscript.ws.js +7 -4
  73. package/lib/components/superscript.ws.js +7 -4
  74. package/lib/components/text-block.ws.js +7 -4
  75. package/lib/index.js +5 -3
  76. package/lib/tree/session-storage-polyfill.js +1 -1
  77. package/package.json +8 -8
  78. package/src/app/custom-components/image.tsx +2 -2
  79. package/src/app/custom-components/index.ts +11 -5
  80. package/src/app/root.tsx +0 -2
  81. package/src/components/__generated__/body.props.json +557 -305
  82. package/src/components/__generated__/bold.props.json +557 -305
  83. package/src/components/__generated__/box.props.json +577 -320
  84. package/src/components/__generated__/button.props.json +616 -339
  85. package/src/components/__generated__/form.props.json +597 -329
  86. package/src/components/__generated__/heading.props.json +566 -309
  87. package/src/components/__generated__/image.props.json +638 -352
  88. package/src/components/__generated__/input.props.json +725 -405
  89. package/src/components/__generated__/italic.props.json +557 -305
  90. package/src/components/__generated__/link.props.json +616 -343
  91. package/src/components/__generated__/paragraph.props.json +557 -305
  92. package/src/components/__generated__/rich-text-link.props.json +616 -343
  93. package/src/components/__generated__/span.props.json +557 -305
  94. package/src/components/__generated__/subscript.props.json +557 -305
  95. package/src/components/__generated__/superscript.props.json +557 -305
  96. package/src/components/__generated__/text-block.props.json +557 -305
  97. package/src/components/body.ws.tsx +5 -4
  98. package/src/components/bold.ws.tsx +5 -4
  99. package/src/components/box.ws.ts +6 -4
  100. package/src/components/button.ws.tsx +6 -4
  101. package/src/components/component-type.ts +23 -63
  102. package/src/components/form.ws.tsx +5 -4
  103. package/src/components/heading.ws.tsx +6 -4
  104. package/src/components/image.ws.tsx +9 -5
  105. package/src/components/index.test.ts +2 -24
  106. package/src/components/index.ts +155 -81
  107. package/src/components/input.ws.tsx +5 -4
  108. package/src/components/italic.ws.tsx +5 -4
  109. package/src/components/link.ws.tsx +6 -4
  110. package/src/components/paragraph.ws.tsx +5 -4
  111. package/src/components/rich-text-link.ws.tsx +5 -4
  112. package/src/components/span.ws.tsx +5 -4
  113. package/src/components/subscript.ws.tsx +5 -4
  114. package/src/components/superscript.ws.tsx +5 -4
  115. package/src/components/text-block.ws.tsx +5 -4
  116. package/src/css/breakpoints.ts +1 -1
  117. package/src/index.ts +6 -2
  118. package/src/props.ts +1 -1
  119. package/src/tree/create-elements-tree.tsx +3 -3
  120. package/src/tree/session-storage-polyfill.tsx +1 -1
@@ -1,560 +1,846 @@
1
1
  {
2
2
  "slot": {
3
- "defaultValue": null,
4
- "required": false,
5
- "type": "text"
3
+ "type": {
4
+ "name": "string",
5
+ "required": false
6
+ },
7
+ "control": "text"
6
8
  },
7
9
  "style": {
8
- "defaultValue": null,
9
- "required": false,
10
- "type": "text"
10
+ "type": {
11
+ "name": "CSSProperties",
12
+ "required": false
13
+ },
14
+ "control": "text"
11
15
  },
12
16
  "title": {
13
- "defaultValue": null,
14
- "required": false,
15
- "type": "text"
17
+ "type": {
18
+ "name": "string",
19
+ "required": false
20
+ },
21
+ "control": "text"
16
22
  },
17
23
  "alt": {
18
- "defaultValue": "",
19
- "required": false,
20
- "type": "text"
24
+ "type": {
25
+ "name": "string",
26
+ "required": false
27
+ },
28
+ "control": "text",
29
+ "defaultValue": ""
21
30
  },
22
31
  "crossOrigin": {
23
- "defaultValue": null,
24
- "options": ["\"\"", "anonymous", "use-credentials"],
25
- "required": false,
26
- "type": "radio"
32
+ "type": {
33
+ "name": "string",
34
+ "required": false
35
+ },
36
+ "control": {
37
+ "type": "radio",
38
+ "options": ["", "anonymous", "use-credentials"]
39
+ }
27
40
  },
28
41
  "decoding": {
29
- "defaultValue": null,
30
- "options": ["async", "auto", "sync"],
31
- "required": false,
32
- "type": "radio"
42
+ "type": {
43
+ "name": "string",
44
+ "required": false
45
+ },
46
+ "control": {
47
+ "type": "radio",
48
+ "options": ["async", "auto", "sync"]
49
+ }
33
50
  },
34
51
  "height": {
35
- "defaultValue": "",
36
- "required": false,
37
- "type": "text"
52
+ "type": {
53
+ "name": "string | number",
54
+ "required": false
55
+ },
56
+ "control": "text",
57
+ "defaultValue": ""
38
58
  },
39
59
  "loading": {
40
- "defaultValue": "lazy",
41
- "options": ["eager", "lazy"],
42
- "required": false,
43
- "type": "radio"
60
+ "type": {
61
+ "name": "string",
62
+ "required": false
63
+ },
64
+ "control": {
65
+ "type": "radio",
66
+ "options": ["eager", "lazy"]
67
+ }
44
68
  },
45
69
  "referrerPolicy": {
46
- "defaultValue": null,
47
- "options": [
48
- "\"\"",
49
- "no-referrer",
50
- "no-referrer-when-downgrade",
51
- "origin",
52
- "origin-when-cross-origin",
53
- "same-origin",
54
- "strict-origin",
55
- "strict-origin-when-cross-origin",
56
- "unsafe-url"
57
- ],
58
- "required": false,
59
- "type": "select"
70
+ "type": {
71
+ "name": "string",
72
+ "required": false
73
+ },
74
+ "control": {
75
+ "type": "select",
76
+ "options": [
77
+ "",
78
+ "no-referrer",
79
+ "no-referrer-when-downgrade",
80
+ "origin",
81
+ "origin-when-cross-origin",
82
+ "same-origin",
83
+ "strict-origin",
84
+ "strict-origin-when-cross-origin",
85
+ "unsafe-url"
86
+ ]
87
+ }
60
88
  },
61
89
  "sizes": {
62
- "defaultValue": null,
63
- "required": false,
64
- "type": "text"
90
+ "type": {
91
+ "name": "string",
92
+ "required": false
93
+ },
94
+ "control": "text"
65
95
  },
66
96
  "src": {
67
- "defaultValue": "",
68
- "required": false,
69
- "type": "text"
97
+ "type": {
98
+ "name": "string",
99
+ "required": false
100
+ },
101
+ "control": "text",
102
+ "defaultValue": ""
70
103
  },
71
104
  "srcSet": {
72
- "defaultValue": null,
73
- "required": false,
74
- "type": "text"
105
+ "type": {
106
+ "name": "string",
107
+ "required": false
108
+ },
109
+ "control": "text"
75
110
  },
76
111
  "useMap": {
77
- "defaultValue": null,
78
- "required": false,
79
- "type": "text"
112
+ "type": {
113
+ "name": "string",
114
+ "required": false
115
+ },
116
+ "control": "text"
80
117
  },
81
118
  "width": {
82
- "defaultValue": "",
83
- "required": false,
84
- "type": "text"
119
+ "type": {
120
+ "name": "string | number",
121
+ "required": false
122
+ },
123
+ "control": "text",
124
+ "defaultValue": ""
85
125
  },
86
126
  "defaultChecked": {
87
- "defaultValue": null,
88
- "required": false,
89
- "type": "boolean"
127
+ "type": {
128
+ "name": "boolean",
129
+ "required": false
130
+ },
131
+ "control": "boolean"
90
132
  },
91
133
  "defaultValue": {
92
- "defaultValue": null,
93
- "required": false,
94
- "type": "text"
134
+ "type": {
135
+ "name": "string | number | readonly string[]",
136
+ "required": false
137
+ },
138
+ "control": "text"
95
139
  },
96
140
  "suppressContentEditableWarning": {
97
- "defaultValue": null,
98
- "required": false,
99
- "type": "boolean"
141
+ "type": {
142
+ "name": "boolean",
143
+ "required": false
144
+ },
145
+ "control": "boolean"
100
146
  },
101
147
  "suppressHydrationWarning": {
102
- "defaultValue": null,
103
- "required": false,
104
- "type": "boolean"
148
+ "type": {
149
+ "name": "boolean",
150
+ "required": false
151
+ },
152
+ "control": "boolean"
105
153
  },
106
154
  "accessKey": {
107
- "defaultValue": null,
108
- "required": false,
109
- "type": "text"
155
+ "type": {
156
+ "name": "string",
157
+ "required": false
158
+ },
159
+ "control": "text"
110
160
  },
111
161
  "className": {
112
- "defaultValue": null,
113
- "required": false,
114
- "type": "text"
162
+ "type": {
163
+ "name": "string",
164
+ "required": false
165
+ },
166
+ "control": "text"
115
167
  },
116
168
  "contentEditable": {
117
- "defaultValue": null,
118
- "required": false,
119
- "type": "text"
169
+ "type": {
170
+ "name": "Booleanish | \"inherit\"",
171
+ "required": false
172
+ },
173
+ "control": "text"
120
174
  },
121
175
  "contextMenu": {
122
- "defaultValue": null,
123
- "required": false,
124
- "type": "text"
176
+ "type": {
177
+ "name": "string",
178
+ "required": false
179
+ },
180
+ "control": "text"
125
181
  },
126
182
  "dir": {
127
- "defaultValue": null,
128
- "required": false,
129
- "type": "text"
183
+ "type": {
184
+ "name": "string",
185
+ "required": false
186
+ },
187
+ "control": "text"
130
188
  },
131
189
  "draggable": {
132
- "defaultValue": null,
133
- "required": false,
134
- "type": "boolean"
190
+ "type": {
191
+ "name": "boolean",
192
+ "required": false
193
+ },
194
+ "control": "boolean"
135
195
  },
136
196
  "hidden": {
137
- "defaultValue": null,
138
- "required": false,
139
- "type": "boolean"
197
+ "type": {
198
+ "name": "boolean",
199
+ "required": false
200
+ },
201
+ "control": "boolean"
140
202
  },
141
203
  "id": {
142
- "defaultValue": null,
143
- "required": false,
144
- "type": "text"
204
+ "type": {
205
+ "name": "string",
206
+ "required": false
207
+ },
208
+ "control": "text"
145
209
  },
146
210
  "lang": {
147
- "defaultValue": null,
148
- "required": false,
149
- "type": "text"
211
+ "type": {
212
+ "name": "string",
213
+ "required": false
214
+ },
215
+ "control": "text"
150
216
  },
151
217
  "placeholder": {
152
- "defaultValue": null,
153
- "required": false,
154
- "type": "text"
218
+ "type": {
219
+ "name": "string",
220
+ "required": false
221
+ },
222
+ "control": "text"
155
223
  },
156
224
  "spellCheck": {
157
- "defaultValue": null,
158
- "required": false,
159
- "type": "boolean"
225
+ "type": {
226
+ "name": "boolean",
227
+ "required": false
228
+ },
229
+ "control": "boolean"
160
230
  },
161
231
  "tabIndex": {
162
- "defaultValue": null,
163
- "required": false,
164
- "type": "number"
232
+ "type": {
233
+ "name": "number",
234
+ "required": false
235
+ },
236
+ "control": "number"
165
237
  },
166
238
  "translate": {
167
- "defaultValue": null,
168
- "options": ["yes", "no"],
169
- "required": false,
170
- "type": "radio"
239
+ "type": {
240
+ "name": "string",
241
+ "required": false
242
+ },
243
+ "control": {
244
+ "type": "radio",
245
+ "options": ["yes", "no"]
246
+ }
171
247
  },
172
248
  "radioGroup": {
173
- "defaultValue": null,
174
- "required": false,
175
- "type": "text"
249
+ "type": {
250
+ "name": "string",
251
+ "required": false
252
+ },
253
+ "control": "text"
176
254
  },
177
255
  "role": {
178
- "defaultValue": null,
179
- "required": false,
180
- "type": "text"
256
+ "type": {
257
+ "name": "AriaRole",
258
+ "required": false
259
+ },
260
+ "control": "text"
181
261
  },
182
262
  "about": {
183
- "defaultValue": null,
184
- "required": false,
185
- "type": "text"
263
+ "type": {
264
+ "name": "string",
265
+ "required": false
266
+ },
267
+ "control": "text"
186
268
  },
187
269
  "datatype": {
188
- "defaultValue": null,
189
- "required": false,
190
- "type": "text"
270
+ "type": {
271
+ "name": "string",
272
+ "required": false
273
+ },
274
+ "control": "text"
191
275
  },
192
276
  "inlist": {
193
- "defaultValue": null,
194
- "required": false,
195
- "type": "text"
277
+ "type": {
278
+ "name": "any",
279
+ "required": false
280
+ },
281
+ "control": "text"
196
282
  },
197
283
  "prefix": {
198
- "defaultValue": null,
199
- "required": false,
200
- "type": "text"
284
+ "type": {
285
+ "name": "string",
286
+ "required": false
287
+ },
288
+ "control": "text"
201
289
  },
202
290
  "property": {
203
- "defaultValue": null,
204
- "required": false,
205
- "type": "text"
291
+ "type": {
292
+ "name": "string",
293
+ "required": false
294
+ },
295
+ "control": "text"
206
296
  },
207
297
  "resource": {
208
- "defaultValue": null,
209
- "required": false,
210
- "type": "text"
298
+ "type": {
299
+ "name": "string",
300
+ "required": false
301
+ },
302
+ "control": "text"
211
303
  },
212
304
  "typeof": {
213
- "defaultValue": null,
214
- "required": false,
215
- "type": "text"
305
+ "type": {
306
+ "name": "string",
307
+ "required": false
308
+ },
309
+ "control": "text"
216
310
  },
217
311
  "vocab": {
218
- "defaultValue": null,
219
- "required": false,
220
- "type": "text"
312
+ "type": {
313
+ "name": "string",
314
+ "required": false
315
+ },
316
+ "control": "text"
221
317
  },
222
318
  "autoCapitalize": {
223
- "defaultValue": null,
224
- "required": false,
225
- "type": "text"
319
+ "type": {
320
+ "name": "string",
321
+ "required": false
322
+ },
323
+ "control": "text"
226
324
  },
227
325
  "autoCorrect": {
228
- "defaultValue": null,
229
- "required": false,
230
- "type": "text"
326
+ "type": {
327
+ "name": "string",
328
+ "required": false
329
+ },
330
+ "control": "text"
231
331
  },
232
332
  "autoSave": {
233
- "defaultValue": null,
234
- "required": false,
235
- "type": "text"
333
+ "type": {
334
+ "name": "string",
335
+ "required": false
336
+ },
337
+ "control": "text"
236
338
  },
237
339
  "color": {
238
- "defaultValue": null,
239
- "required": false,
240
- "type": "color"
340
+ "type": {
341
+ "name": "string",
342
+ "required": false
343
+ },
344
+ "control": "color"
241
345
  },
242
346
  "itemProp": {
243
- "defaultValue": null,
244
- "required": false,
245
- "type": "text"
347
+ "type": {
348
+ "name": "string",
349
+ "required": false
350
+ },
351
+ "control": "text"
246
352
  },
247
353
  "itemScope": {
248
- "defaultValue": null,
249
- "required": false,
250
- "type": "boolean"
354
+ "type": {
355
+ "name": "boolean",
356
+ "required": false
357
+ },
358
+ "control": "boolean"
251
359
  },
252
360
  "itemType": {
253
- "defaultValue": null,
254
- "required": false,
255
- "type": "text"
361
+ "type": {
362
+ "name": "string",
363
+ "required": false
364
+ },
365
+ "control": "text"
256
366
  },
257
367
  "itemID": {
258
- "defaultValue": null,
259
- "required": false,
260
- "type": "text"
368
+ "type": {
369
+ "name": "string",
370
+ "required": false
371
+ },
372
+ "control": "text"
261
373
  },
262
374
  "itemRef": {
263
- "defaultValue": null,
264
- "required": false,
265
- "type": "text"
375
+ "type": {
376
+ "name": "string",
377
+ "required": false
378
+ },
379
+ "control": "text"
266
380
  },
267
381
  "results": {
268
- "defaultValue": null,
269
- "required": false,
270
- "type": "number"
382
+ "type": {
383
+ "name": "number",
384
+ "required": false
385
+ },
386
+ "control": "number"
271
387
  },
272
388
  "security": {
273
- "defaultValue": null,
274
- "required": false,
275
- "type": "text"
389
+ "type": {
390
+ "name": "string",
391
+ "required": false
392
+ },
393
+ "control": "text"
276
394
  },
277
395
  "unselectable": {
278
- "defaultValue": null,
279
- "options": ["on", "off"],
280
- "required": false,
281
- "type": "radio"
396
+ "type": {
397
+ "name": "string",
398
+ "required": false
399
+ },
400
+ "control": {
401
+ "type": "radio",
402
+ "options": ["on", "off"]
403
+ }
282
404
  },
283
405
  "inputMode": {
284
- "defaultValue": null,
285
- "options": [
286
- "text",
287
- "none",
288
- "search",
289
- "tel",
290
- "url",
291
- "email",
292
- "numeric",
293
- "decimal"
294
- ],
295
- "required": false,
296
- "type": "select"
406
+ "description": "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
407
+ "type": {
408
+ "name": "string",
409
+ "required": false
410
+ },
411
+ "control": {
412
+ "type": "select",
413
+ "options": [
414
+ "text",
415
+ "none",
416
+ "search",
417
+ "tel",
418
+ "url",
419
+ "email",
420
+ "numeric",
421
+ "decimal"
422
+ ]
423
+ }
297
424
  },
298
425
  "is": {
299
- "defaultValue": null,
300
- "required": false,
301
- "type": "text"
426
+ "description": "Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
427
+ "type": {
428
+ "name": "string",
429
+ "required": false
430
+ },
431
+ "control": "text"
302
432
  },
303
433
  "aria-activedescendant": {
304
- "defaultValue": null,
305
- "required": false,
306
- "type": "text"
434
+ "description": "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
435
+ "type": {
436
+ "name": "string",
437
+ "required": false
438
+ },
439
+ "control": "text"
307
440
  },
308
441
  "aria-atomic": {
309
- "defaultValue": null,
310
- "required": false,
311
- "type": "boolean"
442
+ "description": "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
443
+ "type": {
444
+ "name": "boolean",
445
+ "required": false
446
+ },
447
+ "control": "boolean"
312
448
  },
313
449
  "aria-autocomplete": {
314
- "defaultValue": null,
315
- "options": ["list", "none", "inline", "both"],
316
- "required": false,
317
- "type": "radio"
450
+ "description": "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.",
451
+ "type": {
452
+ "name": "string",
453
+ "required": false
454
+ },
455
+ "control": {
456
+ "type": "radio",
457
+ "options": ["list", "none", "inline", "both"]
458
+ }
318
459
  },
319
460
  "aria-busy": {
320
- "defaultValue": null,
321
- "required": false,
322
- "type": "boolean"
461
+ "description": "Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.",
462
+ "type": {
463
+ "name": "boolean",
464
+ "required": false
465
+ },
466
+ "control": "boolean"
323
467
  },
324
468
  "aria-checked": {
325
- "defaultValue": null,
326
- "required": false,
327
- "type": "text"
469
+ "description": "Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.",
470
+ "type": {
471
+ "name": "boolean | \"true\" | \"false\" | \"mixed\"",
472
+ "required": false
473
+ },
474
+ "control": "text"
328
475
  },
329
476
  "aria-colcount": {
330
- "defaultValue": null,
331
- "required": false,
332
- "type": "number"
477
+ "description": "Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.",
478
+ "type": {
479
+ "name": "number",
480
+ "required": false
481
+ },
482
+ "control": "number"
333
483
  },
334
484
  "aria-colindex": {
335
- "defaultValue": null,
336
- "required": false,
337
- "type": "number"
485
+ "description": "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.\n@see aria-colcount\n@see aria-colspan.",
486
+ "type": {
487
+ "name": "number",
488
+ "required": false
489
+ },
490
+ "control": "number"
338
491
  },
339
492
  "aria-colspan": {
340
- "defaultValue": null,
341
- "required": false,
342
- "type": "number"
493
+ "description": "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-colindex\n@see aria-rowspan.",
494
+ "type": {
495
+ "name": "number",
496
+ "required": false
497
+ },
498
+ "control": "number"
343
499
  },
344
500
  "aria-controls": {
345
- "defaultValue": null,
346
- "required": false,
347
- "type": "text"
501
+ "description": "Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.",
502
+ "type": {
503
+ "name": "string",
504
+ "required": false
505
+ },
506
+ "control": "text"
348
507
  },
349
508
  "aria-current": {
350
- "defaultValue": null,
351
- "required": false,
352
- "type": "text"
509
+ "description": "Indicates the element that represents the current item within a container or set of related elements.",
510
+ "type": {
511
+ "name": "boolean | \"time\" | \"true\" | \"false\" | \"page\" | \"step\" | \"location\" | \"date\"",
512
+ "required": false
513
+ },
514
+ "control": "text"
353
515
  },
354
516
  "aria-describedby": {
355
- "defaultValue": null,
356
- "required": false,
357
- "type": "text"
517
+ "description": "Identifies the element (or elements) that describes the object.\n@see aria-labelledby",
518
+ "type": {
519
+ "name": "string",
520
+ "required": false
521
+ },
522
+ "control": "text"
358
523
  },
359
524
  "aria-details": {
360
- "defaultValue": null,
361
- "required": false,
362
- "type": "text"
525
+ "description": "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
526
+ "type": {
527
+ "name": "string",
528
+ "required": false
529
+ },
530
+ "control": "text"
363
531
  },
364
532
  "aria-disabled": {
365
- "defaultValue": null,
366
- "required": false,
367
- "type": "boolean"
533
+ "description": "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n@see aria-hidden\n@see aria-readonly.",
534
+ "type": {
535
+ "name": "boolean",
536
+ "required": false
537
+ },
538
+ "control": "boolean"
368
539
  },
369
540
  "aria-dropeffect": {
370
- "defaultValue": null,
371
- "options": ["link", "none", "copy", "execute", "move", "popup"],
372
- "required": false,
373
- "type": "select"
541
+ "description": "Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1",
542
+ "type": {
543
+ "name": "string",
544
+ "required": false
545
+ },
546
+ "control": {
547
+ "type": "select",
548
+ "options": ["link", "none", "copy", "execute", "move", "popup"]
549
+ }
374
550
  },
375
551
  "aria-errormessage": {
376
- "defaultValue": null,
377
- "required": false,
378
- "type": "text"
552
+ "description": "Identifies the element that provides an error message for the object.\n@see aria-invalid\n@see aria-describedby.",
553
+ "type": {
554
+ "name": "string",
555
+ "required": false
556
+ },
557
+ "control": "text"
379
558
  },
380
559
  "aria-expanded": {
381
- "defaultValue": null,
382
- "required": false,
383
- "type": "boolean"
560
+ "description": "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",
561
+ "type": {
562
+ "name": "boolean",
563
+ "required": false
564
+ },
565
+ "control": "boolean"
384
566
  },
385
567
  "aria-flowto": {
386
- "defaultValue": null,
387
- "required": false,
388
- "type": "text"
568
+ "description": "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.",
569
+ "type": {
570
+ "name": "string",
571
+ "required": false
572
+ },
573
+ "control": "text"
389
574
  },
390
575
  "aria-grabbed": {
391
- "defaultValue": null,
392
- "required": false,
393
- "type": "boolean"
576
+ "description": "Indicates an element's \"grabbed\" state in a drag-and-drop operation.\n@deprecated in ARIA 1.1",
577
+ "type": {
578
+ "name": "boolean",
579
+ "required": false
580
+ },
581
+ "control": "boolean"
394
582
  },
395
583
  "aria-haspopup": {
396
- "defaultValue": null,
397
- "required": false,
398
- "type": "text"
584
+ "description": "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
585
+ "type": {
586
+ "name": "boolean | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"grid\" | \"listbox\" | \"tree\"",
587
+ "required": false
588
+ },
589
+ "control": "text"
399
590
  },
400
591
  "aria-hidden": {
401
- "defaultValue": null,
402
- "required": false,
403
- "type": "boolean"
592
+ "description": "Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.",
593
+ "type": {
594
+ "name": "boolean",
595
+ "required": false
596
+ },
597
+ "control": "boolean"
404
598
  },
405
599
  "aria-invalid": {
406
- "defaultValue": null,
407
- "required": false,
408
- "type": "text"
600
+ "description": "Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.",
601
+ "type": {
602
+ "name": "boolean | \"true\" | \"false\" | \"grammar\" | \"spelling\"",
603
+ "required": false
604
+ },
605
+ "control": "text"
409
606
  },
410
607
  "aria-keyshortcuts": {
411
- "defaultValue": null,
412
- "required": false,
413
- "type": "text"
608
+ "description": "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",
609
+ "type": {
610
+ "name": "string",
611
+ "required": false
612
+ },
613
+ "control": "text"
414
614
  },
415
615
  "aria-label": {
416
- "defaultValue": null,
417
- "required": false,
418
- "type": "text"
616
+ "description": "Defines a string value that labels the current element.\n@see aria-labelledby.",
617
+ "type": {
618
+ "name": "string",
619
+ "required": false
620
+ },
621
+ "control": "text"
419
622
  },
420
623
  "aria-labelledby": {
421
- "defaultValue": null,
422
- "required": false,
423
- "type": "text"
624
+ "description": "Identifies the element (or elements) that labels the current element.\n@see aria-describedby.",
625
+ "type": {
626
+ "name": "string",
627
+ "required": false
628
+ },
629
+ "control": "text"
424
630
  },
425
631
  "aria-level": {
426
- "defaultValue": null,
427
- "required": false,
428
- "type": "number"
632
+ "description": "Defines the hierarchical level of an element within a structure.",
633
+ "type": {
634
+ "name": "number",
635
+ "required": false
636
+ },
637
+ "control": "number"
429
638
  },
430
639
  "aria-live": {
431
- "defaultValue": null,
432
- "options": ["off", "assertive", "polite"],
433
- "required": false,
434
- "type": "radio"
640
+ "description": "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
641
+ "type": {
642
+ "name": "string",
643
+ "required": false
644
+ },
645
+ "control": {
646
+ "type": "radio",
647
+ "options": ["off", "assertive", "polite"]
648
+ }
435
649
  },
436
650
  "aria-modal": {
437
- "defaultValue": null,
438
- "required": false,
439
- "type": "boolean"
651
+ "description": "Indicates whether an element is modal when displayed.",
652
+ "type": {
653
+ "name": "boolean",
654
+ "required": false
655
+ },
656
+ "control": "boolean"
440
657
  },
441
658
  "aria-multiline": {
442
- "defaultValue": null,
443
- "required": false,
444
- "type": "boolean"
659
+ "description": "Indicates whether a text box accepts multiple lines of input or only a single line.",
660
+ "type": {
661
+ "name": "boolean",
662
+ "required": false
663
+ },
664
+ "control": "boolean"
445
665
  },
446
666
  "aria-multiselectable": {
447
- "defaultValue": null,
448
- "required": false,
449
- "type": "boolean"
667
+ "description": "Indicates that the user may select more than one item from the current selectable descendants.",
668
+ "type": {
669
+ "name": "boolean",
670
+ "required": false
671
+ },
672
+ "control": "boolean"
450
673
  },
451
674
  "aria-orientation": {
452
- "defaultValue": null,
453
- "options": ["horizontal", "vertical"],
454
- "required": false,
455
- "type": "radio"
675
+ "description": "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
676
+ "type": {
677
+ "name": "string",
678
+ "required": false
679
+ },
680
+ "control": {
681
+ "type": "radio",
682
+ "options": ["horizontal", "vertical"]
683
+ }
456
684
  },
457
685
  "aria-owns": {
458
- "defaultValue": null,
459
- "required": false,
460
- "type": "text"
686
+ "description": "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.\n@see aria-controls.",
687
+ "type": {
688
+ "name": "string",
689
+ "required": false
690
+ },
691
+ "control": "text"
461
692
  },
462
693
  "aria-placeholder": {
463
- "defaultValue": null,
464
- "required": false,
465
- "type": "text"
694
+ "description": "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.",
695
+ "type": {
696
+ "name": "string",
697
+ "required": false
698
+ },
699
+ "control": "text"
466
700
  },
467
701
  "aria-posinset": {
468
- "defaultValue": null,
469
- "required": false,
470
- "type": "number"
702
+ "description": "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-setsize.",
703
+ "type": {
704
+ "name": "number",
705
+ "required": false
706
+ },
707
+ "control": "number"
471
708
  },
472
709
  "aria-pressed": {
473
- "defaultValue": null,
474
- "required": false,
475
- "type": "text"
710
+ "description": "Indicates the current \"pressed\" state of toggle buttons.\n@see aria-checked\n@see aria-selected.",
711
+ "type": {
712
+ "name": "boolean | \"true\" | \"false\" | \"mixed\"",
713
+ "required": false
714
+ },
715
+ "control": "text"
476
716
  },
477
717
  "aria-readonly": {
478
- "defaultValue": null,
479
- "required": false,
480
- "type": "boolean"
718
+ "description": "Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.",
719
+ "type": {
720
+ "name": "boolean",
721
+ "required": false
722
+ },
723
+ "control": "boolean"
481
724
  },
482
725
  "aria-relevant": {
483
- "defaultValue": null,
484
- "options": [
485
- "text",
486
- "additions",
487
- "additions removals",
488
- "additions text",
489
- "all",
490
- "removals",
491
- "removals additions",
492
- "removals text",
493
- "text additions",
494
- "text removals"
495
- ],
496
- "required": false,
497
- "type": "select"
726
+ "description": "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.",
727
+ "type": {
728
+ "name": "string",
729
+ "required": false
730
+ },
731
+ "control": {
732
+ "type": "select",
733
+ "options": [
734
+ "text",
735
+ "additions",
736
+ "additions removals",
737
+ "additions text",
738
+ "all",
739
+ "removals",
740
+ "removals additions",
741
+ "removals text",
742
+ "text additions",
743
+ "text removals"
744
+ ]
745
+ }
498
746
  },
499
747
  "aria-required": {
500
- "defaultValue": null,
501
- "required": false,
502
- "type": "boolean"
748
+ "description": "Indicates that user input is required on the element before a form may be submitted.",
749
+ "type": {
750
+ "name": "boolean",
751
+ "required": false
752
+ },
753
+ "control": "boolean"
503
754
  },
504
755
  "aria-roledescription": {
505
- "defaultValue": null,
506
- "required": false,
507
- "type": "text"
756
+ "description": "Defines a human-readable, author-localized description for the role of an element.",
757
+ "type": {
758
+ "name": "string",
759
+ "required": false
760
+ },
761
+ "control": "text"
508
762
  },
509
763
  "aria-rowcount": {
510
- "defaultValue": null,
511
- "required": false,
512
- "type": "number"
764
+ "description": "Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.",
765
+ "type": {
766
+ "name": "number",
767
+ "required": false
768
+ },
769
+ "control": "number"
513
770
  },
514
771
  "aria-rowindex": {
515
- "defaultValue": null,
516
- "required": false,
517
- "type": "number"
772
+ "description": "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.\n@see aria-rowcount\n@see aria-rowspan.",
773
+ "type": {
774
+ "name": "number",
775
+ "required": false
776
+ },
777
+ "control": "number"
518
778
  },
519
779
  "aria-rowspan": {
520
- "defaultValue": null,
521
- "required": false,
522
- "type": "number"
780
+ "description": "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-rowindex\n@see aria-colspan.",
781
+ "type": {
782
+ "name": "number",
783
+ "required": false
784
+ },
785
+ "control": "number"
523
786
  },
524
787
  "aria-selected": {
525
- "defaultValue": null,
526
- "required": false,
527
- "type": "boolean"
788
+ "description": "Indicates the current \"selected\" state of various widgets.\n@see aria-checked\n@see aria-pressed.",
789
+ "type": {
790
+ "name": "boolean",
791
+ "required": false
792
+ },
793
+ "control": "boolean"
528
794
  },
529
795
  "aria-setsize": {
530
- "defaultValue": null,
531
- "required": false,
532
- "type": "number"
796
+ "description": "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-posinset.",
797
+ "type": {
798
+ "name": "number",
799
+ "required": false
800
+ },
801
+ "control": "number"
533
802
  },
534
803
  "aria-sort": {
535
- "defaultValue": null,
536
- "options": ["none", "ascending", "descending", "other"],
537
- "required": false,
538
- "type": "radio"
804
+ "description": "Indicates if items in a table or grid are sorted in ascending or descending order.",
805
+ "type": {
806
+ "name": "string",
807
+ "required": false
808
+ },
809
+ "control": {
810
+ "type": "radio",
811
+ "options": ["none", "ascending", "descending", "other"]
812
+ }
539
813
  },
540
814
  "aria-valuemax": {
541
- "defaultValue": null,
542
- "required": false,
543
- "type": "number"
815
+ "description": "Defines the maximum allowed value for a range widget.",
816
+ "type": {
817
+ "name": "number",
818
+ "required": false
819
+ },
820
+ "control": "number"
544
821
  },
545
822
  "aria-valuemin": {
546
- "defaultValue": null,
547
- "required": false,
548
- "type": "number"
823
+ "description": "Defines the minimum allowed value for a range widget.",
824
+ "type": {
825
+ "name": "number",
826
+ "required": false
827
+ },
828
+ "control": "number"
549
829
  },
550
830
  "aria-valuenow": {
551
- "defaultValue": null,
552
- "required": false,
553
- "type": "number"
831
+ "description": "Defines the current value for a range widget.\n@see aria-valuetext.",
832
+ "type": {
833
+ "name": "number",
834
+ "required": false
835
+ },
836
+ "control": "number"
554
837
  },
555
838
  "aria-valuetext": {
556
- "defaultValue": null,
557
- "required": false,
558
- "type": "text"
839
+ "description": "Defines the human readable text alternative of aria-valuenow for a range widget.",
840
+ "type": {
841
+ "name": "string",
842
+ "required": false
843
+ },
844
+ "control": "text"
559
845
  }
560
846
  }