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