@webstudio-is/sdk-components-react-radix 0.90.0 → 0.92.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 (199) hide show
  1. package/lib/__generated__/accordion.props.js +6 -12
  2. package/lib/__generated__/checkbox.props.js +3 -6
  3. package/lib/__generated__/collapsible.props.js +4 -8
  4. package/lib/__generated__/dialog.props.js +8 -16
  5. package/lib/__generated__/label.props.js +2 -4
  6. package/lib/__generated__/navigation-menu.props.js +8 -16
  7. package/lib/__generated__/popover.props.js +4 -8
  8. package/lib/__generated__/radio-group.props.js +4 -8
  9. package/lib/__generated__/select.props.js +15 -19
  10. package/lib/__generated__/sheet.props.js +8 -16
  11. package/lib/__generated__/switch.props.js +3 -6
  12. package/lib/__generated__/tabs.props.js +5 -10
  13. package/lib/__generated__/tooltip.props.js +4 -8
  14. package/lib/accordion.js +7 -14
  15. package/{src/accordion.stories.tsx → lib/accordion.stories.js} +9 -12
  16. package/lib/accordion.ws.js +11 -22
  17. package/lib/checkbox.js +3 -6
  18. package/lib/checkbox.stories.js +19 -0
  19. package/lib/checkbox.ws.js +5 -10
  20. package/lib/collapsible.js +5 -10
  21. package/{src/collapsible.stories.tsx → lib/collapsible.stories.js} +9 -12
  22. package/lib/collapsible.ws.js +7 -14
  23. package/lib/components.js +13 -62
  24. package/lib/dialog.js +9 -18
  25. package/{src/dialog.stories.tsx → lib/dialog.stories.js} +9 -12
  26. package/lib/dialog.ws.js +17 -30
  27. package/lib/hooks.js +2 -4
  28. package/lib/label.js +2 -4
  29. package/lib/label.stories.js +19 -0
  30. package/lib/label.ws.js +3 -6
  31. package/lib/metas.js +55 -105
  32. package/lib/navigation-menu.js +9 -18
  33. package/{src/navigation-menu.stories.tsx → lib/navigation-menu.stories.js} +9 -12
  34. package/lib/navigation-menu.ws.js +16 -31
  35. package/lib/popover.js +5 -10
  36. package/{src/popover.stories.tsx → lib/popover.stories.js} +9 -12
  37. package/lib/popover.ws.js +7 -14
  38. package/lib/props-descriptions.js +2 -4
  39. package/lib/props.js +54 -103
  40. package/lib/radio-group.js +4 -8
  41. package/lib/radio-group.stories.js +19 -0
  42. package/lib/radio-group.ws.js +7 -14
  43. package/lib/select.js +10 -20
  44. package/{src/select.stories.tsx → lib/select.stories.js} +9 -12
  45. package/lib/select.ws.js +17 -34
  46. package/lib/sheet.js +9 -18
  47. package/{src/sheet.stories.tsx → lib/sheet.stories.js} +9 -12
  48. package/lib/sheet.ws.js +2 -4
  49. package/lib/switch.js +3 -6
  50. package/lib/switch.stories.js +19 -0
  51. package/lib/switch.ws.js +5 -10
  52. package/lib/tabs.js +6 -12
  53. package/{src/tabs.stories.tsx → lib/tabs.stories.js} +9 -12
  54. package/lib/tabs.ws.js +9 -18
  55. package/lib/theme/__generated__/tailwind-theme.js +517 -0
  56. package/lib/theme/styles.js +3 -6
  57. package/lib/theme/tailwind-classes.js +149 -301
  58. package/lib/theme/tailwind-colors.js +2 -4
  59. package/lib/tooltip.js +5 -10
  60. package/{src/tooltip.stories.tsx → lib/tooltip.stories.js} +9 -12
  61. package/lib/tooltip.ws.js +7 -14
  62. package/lib/types/__generated__/accordion.props.d.ts +1 -1
  63. package/lib/types/__generated__/checkbox.props.d.ts +1 -1
  64. package/lib/types/__generated__/collapsible.props.d.ts +1 -1
  65. package/lib/types/__generated__/dialog.props.d.ts +1 -1
  66. package/lib/types/__generated__/label.props.d.ts +1 -1
  67. package/lib/types/__generated__/navigation-menu.props.d.ts +1 -1
  68. package/lib/types/__generated__/popover.props.d.ts +1 -1
  69. package/lib/types/__generated__/radio-group.props.d.ts +1 -1
  70. package/lib/types/__generated__/select.props.d.ts +1 -1
  71. package/lib/types/__generated__/sheet.props.d.ts +1 -1
  72. package/lib/types/__generated__/switch.props.d.ts +1 -1
  73. package/lib/types/__generated__/tabs.props.d.ts +1 -1
  74. package/lib/types/__generated__/tooltip.props.d.ts +1 -1
  75. package/lib/types/accordion.d.ts +1 -1
  76. package/lib/types/sheet.d.ts +1 -1
  77. package/lib/types/theme/__generated__/tailwind-theme.d.ts +26 -0
  78. package/lib/types/theme/styles.d.ts +60 -60
  79. package/lib/types/theme/tailwind-classes.d.ts +33 -33
  80. package/package.json +20 -23
  81. package/lib/__generated__/button.props.js +0 -565
  82. package/lib/__generated__/input.props.js +0 -668
  83. package/lib/__generated__/textarea.props.js +0 -577
  84. package/lib/cjs/__generated__/accordion.props.js +0 -2645
  85. package/lib/cjs/__generated__/button.props.js +0 -585
  86. package/lib/cjs/__generated__/checkbox.props.js +0 -1103
  87. package/lib/cjs/__generated__/collapsible.props.js +0 -1050
  88. package/lib/cjs/__generated__/dialog.props.js +0 -2623
  89. package/lib/cjs/__generated__/input.props.js +0 -688
  90. package/lib/cjs/__generated__/label.props.js +0 -541
  91. package/lib/cjs/__generated__/navigation-menu.props.js +0 -2585
  92. package/lib/cjs/__generated__/popover.props.js +0 -582
  93. package/lib/cjs/__generated__/radio-group.props.js +0 -1647
  94. package/lib/cjs/__generated__/select.props.js +0 -3698
  95. package/lib/cjs/__generated__/sheet.props.js +0 -2642
  96. package/lib/cjs/__generated__/switch.props.js +0 -1103
  97. package/lib/cjs/__generated__/tabs.props.js +0 -2144
  98. package/lib/cjs/__generated__/textarea.props.js +0 -597
  99. package/lib/cjs/__generated__/tooltip.props.js +0 -593
  100. package/lib/cjs/accordion.js +0 -67
  101. package/lib/cjs/accordion.ws.js +0 -285
  102. package/lib/cjs/checkbox.js +0 -31
  103. package/lib/cjs/checkbox.ws.js +0 -174
  104. package/lib/cjs/collapsible.js +0 -53
  105. package/lib/cjs/collapsible.ws.js +0 -122
  106. package/lib/cjs/components.js +0 -82
  107. package/lib/cjs/dialog.js +0 -89
  108. package/lib/cjs/dialog.ws.js +0 -314
  109. package/lib/cjs/hooks.js +0 -43
  110. package/lib/cjs/label.js +0 -37
  111. package/lib/cjs/label.ws.js +0 -75
  112. package/lib/cjs/metas.js +0 -84
  113. package/lib/cjs/navigation-menu.js +0 -107
  114. package/lib/cjs/navigation-menu.ws.js +0 -514
  115. package/lib/cjs/package.json +0 -1
  116. package/lib/cjs/popover.js +0 -90
  117. package/lib/cjs/popover.ws.js +0 -142
  118. package/lib/cjs/props-descriptions.js +0 -56
  119. package/lib/cjs/props.js +0 -82
  120. package/lib/cjs/radio-group.js +0 -30
  121. package/lib/cjs/radio-group.ws.js +0 -191
  122. package/lib/cjs/select.js +0 -83
  123. package/lib/cjs/select.ws.js +0 -350
  124. package/lib/cjs/sheet.js +0 -96
  125. package/lib/cjs/sheet.ws.js +0 -257
  126. package/lib/cjs/switch.js +0 -27
  127. package/lib/cjs/switch.ws.js +0 -173
  128. package/lib/cjs/tabs.js +0 -59
  129. package/lib/cjs/tabs.ws.js +0 -196
  130. package/lib/cjs/theme/radix-common-types.js +0 -16
  131. package/lib/cjs/theme/styles.js +0 -96
  132. package/lib/cjs/theme/tailwind-classes.js +0 -819
  133. package/lib/cjs/theme/tailwind-colors.js +0 -45
  134. package/lib/cjs/theme/tailwind-theme.js +0 -46
  135. package/lib/cjs/tooltip.js +0 -87
  136. package/lib/cjs/tooltip.ws.js +0 -143
  137. package/lib/theme/radix-common-types.js +0 -0
  138. package/lib/theme/tailwind-theme.js +0 -16
  139. package/lib/types/__generated__/button.props.d.ts +0 -2
  140. package/lib/types/__generated__/input.props.d.ts +0 -2
  141. package/lib/types/__generated__/textarea.props.d.ts +0 -2
  142. package/lib/types/theme/radix-common-types.d.ts +0 -85
  143. package/lib/types/theme/tailwind-theme.d.ts +0 -72
  144. package/src/__generated__/accordion.props.ts +0 -2949
  145. package/src/__generated__/button.props.ts +0 -635
  146. package/src/__generated__/checkbox.props.ts +0 -1217
  147. package/src/__generated__/collapsible.props.ts +0 -1156
  148. package/src/__generated__/dialog.props.ts +0 -2923
  149. package/src/__generated__/input.props.ts +0 -748
  150. package/src/__generated__/label.props.ts +0 -585
  151. package/src/__generated__/navigation-menu.props.ts +0 -2882
  152. package/src/__generated__/popover.props.ts +0 -626
  153. package/src/__generated__/radio-group.props.ts +0 -1828
  154. package/src/__generated__/select.props.ts +0 -4130
  155. package/src/__generated__/sheet.props.ts +0 -2942
  156. package/src/__generated__/switch.props.ts +0 -1217
  157. package/src/__generated__/tabs.props.ts +0 -2386
  158. package/src/__generated__/textarea.props.ts +0 -645
  159. package/src/__generated__/tooltip.props.ts +0 -639
  160. package/src/accordion.tsx +0 -88
  161. package/src/accordion.ws.ts +0 -296
  162. package/src/checkbox.stories.ts +0 -22
  163. package/src/checkbox.tsx +0 -22
  164. package/src/checkbox.ws.ts +0 -154
  165. package/src/collapsible.tsx +0 -62
  166. package/src/collapsible.ws.ts +0 -115
  167. package/src/components.ts +0 -50
  168. package/src/dialog.tsx +0 -92
  169. package/src/dialog.ws.tsx +0 -318
  170. package/src/hooks.ts +0 -22
  171. package/src/label.stories.ts +0 -22
  172. package/src/label.tsx +0 -15
  173. package/src/label.ws.ts +0 -50
  174. package/src/metas.ts +0 -74
  175. package/src/navigation-menu.tsx +0 -130
  176. package/src/navigation-menu.ws.ts +0 -524
  177. package/src/popover.tsx +0 -96
  178. package/src/popover.ws.tsx +0 -128
  179. package/src/props-descriptions.ts +0 -43
  180. package/src/props.ts +0 -73
  181. package/src/radio-group.stories.ts +0 -22
  182. package/src/radio-group.tsx +0 -17
  183. package/src/radio-group.ws.ts +0 -178
  184. package/src/select.tsx +0 -112
  185. package/src/select.ws.ts +0 -349
  186. package/src/sheet.tsx +0 -79
  187. package/src/sheet.ws.tsx +0 -236
  188. package/src/switch.stories.ts +0 -22
  189. package/src/switch.tsx +0 -10
  190. package/src/switch.ws.ts +0 -146
  191. package/src/tabs.tsx +0 -64
  192. package/src/tabs.ws.ts +0 -198
  193. package/src/theme/radix-common-types.ts +0 -496
  194. package/src/theme/styles.ts +0 -76
  195. package/src/theme/tailwind-classes.ts +0 -1026
  196. package/src/theme/tailwind-colors.ts +0 -39
  197. package/src/theme/tailwind-theme.ts +0 -24
  198. package/src/tooltip.tsx +0 -95
  199. package/src/tooltip.ws.tsx +0 -130
@@ -1,635 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
-
3
- export const props: Record<string, PropMeta> = {
4
- about: { required: false, control: "text", type: "string" },
5
- accessKey: {
6
- required: false,
7
- control: "text",
8
- type: "string",
9
- description: "Keyboard shortcut to activate or add focus to the element.",
10
- },
11
- "aria-activedescendant": {
12
- description:
13
- "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
14
- required: false,
15
- control: "text",
16
- type: "string",
17
- },
18
- "aria-atomic": {
19
- description:
20
- "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.",
21
- required: false,
22
- control: "boolean",
23
- type: "boolean",
24
- },
25
- "aria-autocomplete": {
26
- description:
27
- "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.",
28
- required: false,
29
- control: "select",
30
- type: "string",
31
- options: ["list", "none", "inline", "both"],
32
- },
33
- "aria-braillelabel": {
34
- description:
35
- "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
36
- required: false,
37
- control: "text",
38
- type: "string",
39
- },
40
- "aria-brailleroledescription": {
41
- description:
42
- "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.\n@see aria-roledescription.",
43
- required: false,
44
- control: "text",
45
- type: "string",
46
- },
47
- "aria-busy": { required: false, control: "boolean", type: "boolean" },
48
- "aria-checked": {
49
- description:
50
- 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
51
- required: false,
52
- control: "text",
53
- type: "string",
54
- },
55
- "aria-colcount": {
56
- description:
57
- "Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.",
58
- required: false,
59
- control: "number",
60
- type: "number",
61
- },
62
- "aria-colindex": {
63
- description:
64
- "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.",
65
- required: false,
66
- control: "number",
67
- type: "number",
68
- },
69
- "aria-colindextext": {
70
- description:
71
- "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
72
- required: false,
73
- control: "text",
74
- type: "string",
75
- },
76
- "aria-colspan": {
77
- description:
78
- "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.",
79
- required: false,
80
- control: "number",
81
- type: "number",
82
- },
83
- "aria-controls": {
84
- description:
85
- "Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.",
86
- required: false,
87
- control: "text",
88
- type: "string",
89
- },
90
- "aria-current": {
91
- description:
92
- "Indicates the element that represents the current item within a container or set of related elements.",
93
- required: false,
94
- control: "text",
95
- type: "string",
96
- },
97
- "aria-describedby": {
98
- description:
99
- "Identifies the element (or elements) that describes the object.\n@see aria-labelledby",
100
- required: false,
101
- control: "text",
102
- type: "string",
103
- },
104
- "aria-description": {
105
- description:
106
- "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
107
- required: false,
108
- control: "text",
109
- type: "string",
110
- },
111
- "aria-details": {
112
- description:
113
- "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
114
- required: false,
115
- control: "text",
116
- type: "string",
117
- },
118
- "aria-disabled": {
119
- description:
120
- "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n@see aria-hidden\n@see aria-readonly.",
121
- required: false,
122
- control: "boolean",
123
- type: "boolean",
124
- },
125
- "aria-dropeffect": {
126
- description:
127
- "Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1",
128
- required: false,
129
- control: "select",
130
- type: "string",
131
- options: ["link", "none", "copy", "execute", "move", "popup"],
132
- },
133
- "aria-errormessage": {
134
- description:
135
- "Identifies the element that provides an error message for the object.\n@see aria-invalid\n@see aria-describedby.",
136
- required: false,
137
- control: "text",
138
- type: "string",
139
- },
140
- "aria-expanded": {
141
- description:
142
- "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",
143
- required: false,
144
- control: "boolean",
145
- type: "boolean",
146
- },
147
- "aria-flowto": {
148
- description:
149
- "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.",
150
- required: false,
151
- control: "text",
152
- type: "string",
153
- },
154
- "aria-grabbed": {
155
- description:
156
- 'Indicates an element\'s "grabbed" state in a drag-and-drop operation.\n@deprecated in ARIA 1.1',
157
- required: false,
158
- control: "boolean",
159
- type: "boolean",
160
- },
161
- "aria-haspopup": {
162
- description:
163
- "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
164
- required: false,
165
- control: "text",
166
- type: "string",
167
- },
168
- "aria-hidden": {
169
- description:
170
- "Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.",
171
- required: false,
172
- control: "boolean",
173
- type: "boolean",
174
- },
175
- "aria-invalid": {
176
- description:
177
- "Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.",
178
- required: false,
179
- control: "text",
180
- type: "string",
181
- },
182
- "aria-keyshortcuts": {
183
- description:
184
- "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",
185
- required: false,
186
- control: "text",
187
- type: "string",
188
- },
189
- "aria-label": {
190
- description:
191
- "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
192
- required: false,
193
- control: "text",
194
- type: "string",
195
- },
196
- "aria-labelledby": {
197
- description:
198
- "Identifies the element (or elements) that labels the current element.\n@see aria-describedby.",
199
- required: false,
200
- control: "text",
201
- type: "string",
202
- },
203
- "aria-level": {
204
- description:
205
- "Defines the hierarchical level of an element within a structure.",
206
- required: false,
207
- control: "number",
208
- type: "number",
209
- },
210
- "aria-live": {
211
- description:
212
- "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.",
213
- required: false,
214
- control: "radio",
215
- type: "string",
216
- options: ["off", "assertive", "polite"],
217
- },
218
- "aria-modal": {
219
- description: "Indicates whether an element is modal when displayed.",
220
- required: false,
221
- control: "boolean",
222
- type: "boolean",
223
- },
224
- "aria-multiline": {
225
- description:
226
- "Indicates whether a text box accepts multiple lines of input or only a single line.",
227
- required: false,
228
- control: "boolean",
229
- type: "boolean",
230
- },
231
- "aria-multiselectable": {
232
- description:
233
- "Indicates that the user may select more than one item from the current selectable descendants.",
234
- required: false,
235
- control: "boolean",
236
- type: "boolean",
237
- },
238
- "aria-orientation": {
239
- description:
240
- "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
241
- required: false,
242
- control: "radio",
243
- type: "string",
244
- options: ["horizontal", "vertical"],
245
- },
246
- "aria-owns": {
247
- description:
248
- "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.",
249
- required: false,
250
- control: "text",
251
- type: "string",
252
- },
253
- "aria-placeholder": {
254
- description:
255
- "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.",
256
- required: false,
257
- control: "text",
258
- type: "string",
259
- },
260
- "aria-posinset": {
261
- description:
262
- "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.",
263
- required: false,
264
- control: "number",
265
- type: "number",
266
- },
267
- "aria-pressed": {
268
- description:
269
- 'Indicates the current "pressed" state of toggle buttons.\n@see aria-checked\n@see aria-selected.',
270
- required: false,
271
- control: "text",
272
- type: "string",
273
- },
274
- "aria-readonly": {
275
- description:
276
- "Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.",
277
- required: false,
278
- control: "boolean",
279
- type: "boolean",
280
- },
281
- "aria-relevant": {
282
- description:
283
- "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.",
284
- required: false,
285
- control: "select",
286
- type: "string",
287
- options: [
288
- "text",
289
- "additions",
290
- "additions removals",
291
- "additions text",
292
- "all",
293
- "removals",
294
- "removals additions",
295
- "removals text",
296
- "text additions",
297
- "text removals",
298
- ],
299
- },
300
- "aria-required": {
301
- description:
302
- "Indicates that user input is required on the element before a form may be submitted.",
303
- required: false,
304
- control: "boolean",
305
- type: "boolean",
306
- },
307
- "aria-roledescription": {
308
- description:
309
- "Defines a human-readable, author-localized description for the role of an element.",
310
- required: false,
311
- control: "text",
312
- type: "string",
313
- },
314
- "aria-rowcount": {
315
- description:
316
- "Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.",
317
- required: false,
318
- control: "number",
319
- type: "number",
320
- },
321
- "aria-rowindex": {
322
- description:
323
- "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.",
324
- required: false,
325
- control: "number",
326
- type: "number",
327
- },
328
- "aria-rowindextext": {
329
- description:
330
- "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
331
- required: false,
332
- control: "text",
333
- type: "string",
334
- },
335
- "aria-rowspan": {
336
- description:
337
- "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.",
338
- required: false,
339
- control: "number",
340
- type: "number",
341
- },
342
- "aria-selected": {
343
- description:
344
- 'Indicates the current "selected" state of various widgets.\n@see aria-checked\n@see aria-pressed.',
345
- required: false,
346
- control: "boolean",
347
- type: "boolean",
348
- },
349
- "aria-setsize": {
350
- description:
351
- "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.",
352
- required: false,
353
- control: "number",
354
- type: "number",
355
- },
356
- "aria-sort": {
357
- description:
358
- "Indicates if items in a table or grid are sorted in ascending or descending order.",
359
- required: false,
360
- control: "select",
361
- type: "string",
362
- options: ["none", "ascending", "descending", "other"],
363
- },
364
- "aria-valuemax": {
365
- description: "Defines the maximum allowed value for a range widget.",
366
- required: false,
367
- control: "number",
368
- type: "number",
369
- },
370
- "aria-valuemin": {
371
- description: "Defines the minimum allowed value for a range widget.",
372
- required: false,
373
- control: "number",
374
- type: "number",
375
- },
376
- "aria-valuenow": {
377
- description:
378
- "Defines the current value for a range widget.\n@see aria-valuetext.",
379
- required: false,
380
- control: "number",
381
- type: "number",
382
- },
383
- "aria-valuetext": {
384
- description:
385
- "Defines the human readable text alternative of aria-valuenow for a range widget.",
386
- required: false,
387
- control: "text",
388
- type: "string",
389
- },
390
- autoCapitalize: {
391
- required: false,
392
- control: "text",
393
- type: "string",
394
- description:
395
- "Sets whether input is automatically capitalized when entered by user.",
396
- },
397
- autoCorrect: { required: false, control: "text", type: "string" },
398
- autoFocus: {
399
- required: false,
400
- control: "boolean",
401
- type: "boolean",
402
- description:
403
- "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
404
- },
405
- autoSave: { required: false, control: "text", type: "string" },
406
- className: { required: false, control: "text", type: "string" },
407
- color: {
408
- required: false,
409
- control: "color",
410
- type: "string",
411
- description:
412
- "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.",
413
- },
414
- content: {
415
- required: false,
416
- control: "text",
417
- type: "string",
418
- description:
419
- "A value associated with http-equiv orname depending on the context.",
420
- },
421
- contextMenu: {
422
- required: false,
423
- control: "text",
424
- type: "string",
425
- description:
426
- "Defines the ID of a menu element which willserve as the element's context menu.",
427
- },
428
- datatype: { required: false, control: "text", type: "string" },
429
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
430
- dir: {
431
- required: false,
432
- control: "text",
433
- type: "string",
434
- description:
435
- "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
436
- },
437
- disabled: {
438
- required: false,
439
- control: "boolean",
440
- type: "boolean",
441
- description: "Indicates whether the user can interact with the element.",
442
- },
443
- draggable: {
444
- required: false,
445
- control: "boolean",
446
- type: "boolean",
447
- description: "Defines whether the element can be dragged.",
448
- },
449
- form: {
450
- required: false,
451
- control: "text",
452
- type: "string",
453
- description: "Indicates the form that is the owner of the element.",
454
- },
455
- formAction: {
456
- required: false,
457
- control: "text",
458
- type: "string",
459
- description:
460
- "Indicates the action of the element, overriding the action defined inthe form.",
461
- },
462
- formEncType: {
463
- required: false,
464
- control: "text",
465
- type: "string",
466
- description:
467
- '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.',
468
- },
469
- formMethod: {
470
- required: false,
471
- control: "text",
472
- type: "string",
473
- description:
474
- '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.',
475
- },
476
- formNoValidate: {
477
- required: false,
478
- control: "boolean",
479
- type: "boolean",
480
- description:
481
- '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.',
482
- },
483
- formTarget: {
484
- required: false,
485
- control: "text",
486
- type: "string",
487
- description:
488
- '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.',
489
- },
490
- hidden: {
491
- required: false,
492
- control: "boolean",
493
- type: "boolean",
494
- description:
495
- "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
496
- },
497
- id: {
498
- required: false,
499
- control: "text",
500
- type: "string",
501
- description:
502
- "Often used with CSS to style a specific element. The value of this attribute must be unique.",
503
- },
504
- inputMode: {
505
- description:
506
- "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",
507
- required: false,
508
- control: "select",
509
- type: "string",
510
- options: [
511
- "search",
512
- "text",
513
- "none",
514
- "tel",
515
- "url",
516
- "email",
517
- "numeric",
518
- "decimal",
519
- ],
520
- },
521
- is: {
522
- description:
523
- "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",
524
- required: false,
525
- control: "text",
526
- type: "string",
527
- },
528
- itemID: { required: false, control: "text", type: "string" },
529
- itemProp: { required: false, control: "text", type: "string" },
530
- itemRef: { required: false, control: "text", type: "string" },
531
- itemScope: { required: false, control: "boolean", type: "boolean" },
532
- itemType: { required: false, control: "text", type: "string" },
533
- lang: {
534
- required: false,
535
- control: "text",
536
- type: "string",
537
- description: "Defines the language used in the element.",
538
- },
539
- name: {
540
- required: false,
541
- control: "text",
542
- type: "string",
543
- description:
544
- "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).",
545
- },
546
- nonce: { required: false, control: "text", type: "string" },
547
- placeholder: {
548
- required: false,
549
- control: "text",
550
- type: "string",
551
- description:
552
- "Provides a hint to the user of what can be entered in the field.",
553
- },
554
- prefix: { required: false, control: "text", type: "string" },
555
- property: { required: false, control: "text", type: "string" },
556
- radioGroup: { required: false, control: "text", type: "string" },
557
- rel: {
558
- required: false,
559
- control: "text",
560
- type: "string",
561
- description:
562
- "Specifies the relationship of the target object to the link object.",
563
- },
564
- resource: { required: false, control: "text", type: "string" },
565
- results: { required: false, control: "number", type: "number" },
566
- rev: { required: false, control: "text", type: "string" },
567
- role: {
568
- required: false,
569
- control: "text",
570
- type: "string",
571
- description:
572
- "Defines an explicit role for an element for use by assistive technologies.",
573
- },
574
- security: { required: false, control: "text", type: "string" },
575
- slot: {
576
- required: false,
577
- control: "text",
578
- type: "string",
579
- description: "Assigns a slot in a shadow DOM shadow tree to an element.",
580
- },
581
- spellCheck: {
582
- required: false,
583
- control: "boolean",
584
- type: "boolean",
585
- description: "Indicates whether spell checking is allowed for the element.",
586
- },
587
- suppressContentEditableWarning: {
588
- required: false,
589
- control: "boolean",
590
- type: "boolean",
591
- },
592
- suppressHydrationWarning: {
593
- required: false,
594
- control: "boolean",
595
- type: "boolean",
596
- },
597
- tabIndex: {
598
- required: false,
599
- control: "number",
600
- type: "number",
601
- description:
602
- "Overrides the browser's default tab order and follows the one specified instead.",
603
- },
604
- title: {
605
- required: false,
606
- control: "text",
607
- type: "string",
608
- description:
609
- "Text to be displayed in a tooltip when hovering over the element.",
610
- },
611
- translate: {
612
- required: false,
613
- control: "radio",
614
- type: "string",
615
- options: ["yes", "no"],
616
- description:
617
- "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.",
618
- },
619
- type: {
620
- required: false,
621
- control: "radio",
622
- type: "string",
623
- options: ["button", "submit", "reset"],
624
- description:
625
- "Defines the behavior of the button, such as submitting a form or resetting form fields.",
626
- },
627
- typeof: { required: false, control: "text", type: "string" },
628
- unselectable: {
629
- required: false,
630
- control: "radio",
631
- type: "string",
632
- options: ["on", "off"],
633
- },
634
- vocab: { required: false, control: "text", type: "string" },
635
- };