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