@webstudio-is/sdk-components-react 0.82.0 → 0.84.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 (110) hide show
  1. package/LICENSE +661 -21
  2. package/lib/__generated__/blockquote.props.js +30 -5
  3. package/lib/__generated__/body.props.js +30 -5
  4. package/lib/__generated__/bold.props.js +30 -5
  5. package/lib/__generated__/box.props.js +30 -5
  6. package/lib/__generated__/button.props.js +30 -5
  7. package/lib/__generated__/checkbox.props.js +31 -6
  8. package/lib/__generated__/code-text.props.js +30 -5
  9. package/lib/__generated__/form.props.js +30 -5
  10. package/lib/__generated__/heading.props.js +30 -5
  11. package/lib/__generated__/image.props.js +30 -5
  12. package/lib/__generated__/input.props.js +30 -5
  13. package/lib/__generated__/italic.props.js +30 -5
  14. package/lib/__generated__/label.props.js +30 -5
  15. package/lib/__generated__/link.props.js +30 -5
  16. package/lib/__generated__/list-item.props.js +30 -5
  17. package/lib/__generated__/list.props.js +30 -5
  18. package/lib/__generated__/paragraph.props.js +30 -5
  19. package/lib/__generated__/radio-button.props.js +31 -6
  20. package/lib/__generated__/rich-text-link.props.js +30 -5
  21. package/lib/__generated__/separator.props.js +30 -5
  22. package/lib/__generated__/span.props.js +30 -5
  23. package/lib/__generated__/subscript.props.js +30 -5
  24. package/lib/__generated__/superscript.props.js +30 -5
  25. package/lib/__generated__/text.props.js +30 -5
  26. package/lib/__generated__/textarea.props.js +30 -5
  27. package/lib/__generated__/vimeo-play-button.props.js +30 -5
  28. package/lib/__generated__/vimeo-preview-image.props.js +30 -5
  29. package/lib/__generated__/vimeo-spinner.props.js +30 -5
  30. package/lib/__generated__/vimeo.props.js +30 -5
  31. package/lib/body.ws.js +11 -1
  32. package/lib/cjs/__generated__/blockquote.props.js +30 -5
  33. package/lib/cjs/__generated__/body.props.js +30 -5
  34. package/lib/cjs/__generated__/bold.props.js +30 -5
  35. package/lib/cjs/__generated__/box.props.js +30 -5
  36. package/lib/cjs/__generated__/button.props.js +30 -5
  37. package/lib/cjs/__generated__/checkbox.props.js +31 -6
  38. package/lib/cjs/__generated__/code-text.props.js +30 -5
  39. package/lib/cjs/__generated__/form.props.js +30 -5
  40. package/lib/cjs/__generated__/heading.props.js +30 -5
  41. package/lib/cjs/__generated__/image.props.js +30 -5
  42. package/lib/cjs/__generated__/input.props.js +30 -5
  43. package/lib/cjs/__generated__/italic.props.js +30 -5
  44. package/lib/cjs/__generated__/label.props.js +30 -5
  45. package/lib/cjs/__generated__/link.props.js +30 -5
  46. package/lib/cjs/__generated__/list-item.props.js +30 -5
  47. package/lib/cjs/__generated__/list.props.js +30 -5
  48. package/lib/cjs/__generated__/paragraph.props.js +30 -5
  49. package/lib/cjs/__generated__/radio-button.props.js +31 -6
  50. package/lib/cjs/__generated__/rich-text-link.props.js +30 -5
  51. package/lib/cjs/__generated__/separator.props.js +30 -5
  52. package/lib/cjs/__generated__/span.props.js +30 -5
  53. package/lib/cjs/__generated__/subscript.props.js +30 -5
  54. package/lib/cjs/__generated__/superscript.props.js +30 -5
  55. package/lib/cjs/__generated__/text.props.js +30 -5
  56. package/lib/cjs/__generated__/textarea.props.js +30 -5
  57. package/lib/cjs/__generated__/vimeo-play-button.props.js +30 -5
  58. package/lib/cjs/__generated__/vimeo-preview-image.props.js +30 -5
  59. package/lib/cjs/__generated__/vimeo-spinner.props.js +30 -5
  60. package/lib/cjs/__generated__/vimeo.props.js +30 -5
  61. package/lib/cjs/body.ws.js +11 -1
  62. package/lib/cjs/form.ws.js +1 -1
  63. package/lib/cjs/label.ws.js +1 -1
  64. package/lib/cjs/list.ws.js +1 -1
  65. package/lib/cjs/vimeo-play-button.ws.js +1 -0
  66. package/lib/cjs/vimeo-preview-image.ws.js +1 -0
  67. package/lib/cjs/vimeo.ws.js +1 -0
  68. package/lib/form.ws.js +1 -1
  69. package/lib/label.ws.js +2 -2
  70. package/lib/list.ws.js +1 -1
  71. package/lib/types/vimeo-preview-image.d.ts +9 -4
  72. package/lib/vimeo-play-button.ws.js +1 -0
  73. package/lib/vimeo-preview-image.js +1 -1
  74. package/lib/vimeo-preview-image.ws.js +2 -0
  75. package/lib/vimeo.ws.js +1 -0
  76. package/package.json +14 -14
  77. package/src/LICENSE +661 -21
  78. package/src/__generated__/blockquote.props.ts +34 -5
  79. package/src/__generated__/body.props.ts +34 -5
  80. package/src/__generated__/bold.props.ts +34 -5
  81. package/src/__generated__/box.props.ts +34 -5
  82. package/src/__generated__/button.props.ts +34 -5
  83. package/src/__generated__/checkbox.props.ts +35 -6
  84. package/src/__generated__/code-text.props.ts +34 -5
  85. package/src/__generated__/form.props.ts +34 -5
  86. package/src/__generated__/heading.props.ts +34 -5
  87. package/src/__generated__/image.props.ts +34 -5
  88. package/src/__generated__/input.props.ts +34 -5
  89. package/src/__generated__/italic.props.ts +34 -5
  90. package/src/__generated__/label.props.ts +34 -5
  91. package/src/__generated__/link.props.ts +34 -5
  92. package/src/__generated__/list-item.props.ts +34 -5
  93. package/src/__generated__/list.props.ts +34 -5
  94. package/src/__generated__/paragraph.props.ts +34 -5
  95. package/src/__generated__/radio-button.props.ts +35 -6
  96. package/src/__generated__/rich-text-link.props.ts +34 -5
  97. package/src/__generated__/separator.props.ts +34 -5
  98. package/src/__generated__/span.props.ts +34 -5
  99. package/src/__generated__/subscript.props.ts +34 -5
  100. package/src/__generated__/superscript.props.ts +34 -5
  101. package/src/__generated__/text.props.ts +34 -5
  102. package/src/__generated__/textarea.props.ts +34 -5
  103. package/src/__generated__/vimeo-play-button.props.ts +34 -5
  104. package/src/__generated__/vimeo-preview-image.props.ts +34 -5
  105. package/src/__generated__/vimeo-spinner.props.ts +34 -5
  106. package/src/__generated__/vimeo.props.ts +34 -5
  107. package/src/body.ws.tsx +11 -1
  108. package/src/form.ws.tsx +1 -1
  109. package/src/label.ws.tsx +2 -2
  110. package/src/list.ws.tsx +1 -1
@@ -43,12 +43,19 @@ const props = {
43
43
  type: "string",
44
44
  options: ["list", "none", "inline", "both"]
45
45
  },
46
- "aria-busy": {
47
- 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.",
46
+ "aria-braillelabel": {
47
+ description: "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
48
48
  required: false,
49
- control: "boolean",
50
- type: "boolean"
49
+ control: "text",
50
+ type: "string"
51
51
  },
52
+ "aria-brailleroledescription": {
53
+ 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.",
54
+ required: false,
55
+ control: "text",
56
+ type: "string"
57
+ },
58
+ "aria-busy": { required: false, control: "boolean", type: "boolean" },
52
59
  "aria-checked": {
53
60
  description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
54
61
  required: false,
@@ -67,6 +74,12 @@ const props = {
67
74
  control: "number",
68
75
  type: "number"
69
76
  },
77
+ "aria-colindextext": {
78
+ description: "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
79
+ required: false,
80
+ control: "text",
81
+ type: "string"
82
+ },
70
83
  "aria-colspan": {
71
84
  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.",
72
85
  required: false,
@@ -91,6 +104,12 @@ const props = {
91
104
  control: "text",
92
105
  type: "string"
93
106
  },
107
+ "aria-description": {
108
+ description: "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
109
+ required: false,
110
+ control: "text",
111
+ type: "string"
112
+ },
94
113
  "aria-details": {
95
114
  description: "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
96
115
  required: false,
@@ -281,6 +300,12 @@ const props = {
281
300
  control: "number",
282
301
  type: "number"
283
302
  },
303
+ "aria-rowindextext": {
304
+ description: "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
305
+ required: false,
306
+ control: "text",
307
+ type: "string"
308
+ },
284
309
  "aria-rowspan": {
285
310
  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.",
286
311
  required: false,
@@ -355,9 +380,9 @@ const props = {
355
380
  control: "select",
356
381
  type: "string",
357
382
  options: [
383
+ "search",
358
384
  "text",
359
385
  "none",
360
- "search",
361
386
  "tel",
362
387
  "url",
363
388
  "email",
@@ -43,12 +43,19 @@ const props = {
43
43
  type: "string",
44
44
  options: ["list", "none", "inline", "both"]
45
45
  },
46
- "aria-busy": {
47
- 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.",
46
+ "aria-braillelabel": {
47
+ description: "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
48
48
  required: false,
49
- control: "boolean",
50
- type: "boolean"
49
+ control: "text",
50
+ type: "string"
51
51
  },
52
+ "aria-brailleroledescription": {
53
+ 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.",
54
+ required: false,
55
+ control: "text",
56
+ type: "string"
57
+ },
58
+ "aria-busy": { required: false, control: "boolean", type: "boolean" },
52
59
  "aria-checked": {
53
60
  description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
54
61
  required: false,
@@ -67,6 +74,12 @@ const props = {
67
74
  control: "number",
68
75
  type: "number"
69
76
  },
77
+ "aria-colindextext": {
78
+ description: "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
79
+ required: false,
80
+ control: "text",
81
+ type: "string"
82
+ },
70
83
  "aria-colspan": {
71
84
  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.",
72
85
  required: false,
@@ -91,6 +104,12 @@ const props = {
91
104
  control: "text",
92
105
  type: "string"
93
106
  },
107
+ "aria-description": {
108
+ description: "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
109
+ required: false,
110
+ control: "text",
111
+ type: "string"
112
+ },
94
113
  "aria-details": {
95
114
  description: "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
96
115
  required: false,
@@ -281,6 +300,12 @@ const props = {
281
300
  control: "number",
282
301
  type: "number"
283
302
  },
303
+ "aria-rowindextext": {
304
+ description: "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
305
+ required: false,
306
+ control: "text",
307
+ type: "string"
308
+ },
284
309
  "aria-rowspan": {
285
310
  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.",
286
311
  required: false,
@@ -357,9 +382,9 @@ const props = {
357
382
  control: "select",
358
383
  type: "string",
359
384
  options: [
385
+ "search",
360
386
  "text",
361
387
  "none",
362
- "search",
363
388
  "tel",
364
389
  "url",
365
390
  "email",
@@ -44,12 +44,19 @@ const props = {
44
44
  type: "string",
45
45
  options: ["list", "none", "inline", "both"]
46
46
  },
47
- "aria-busy": {
48
- 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.",
47
+ "aria-braillelabel": {
48
+ description: "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
49
49
  required: false,
50
- control: "boolean",
51
- type: "boolean"
50
+ control: "text",
51
+ type: "string"
52
52
  },
53
+ "aria-brailleroledescription": {
54
+ 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.",
55
+ required: false,
56
+ control: "text",
57
+ type: "string"
58
+ },
59
+ "aria-busy": { required: false, control: "boolean", type: "boolean" },
53
60
  "aria-checked": {
54
61
  description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
55
62
  required: false,
@@ -68,6 +75,12 @@ const props = {
68
75
  control: "number",
69
76
  type: "number"
70
77
  },
78
+ "aria-colindextext": {
79
+ description: "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
80
+ required: false,
81
+ control: "text",
82
+ type: "string"
83
+ },
71
84
  "aria-colspan": {
72
85
  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.",
73
86
  required: false,
@@ -92,6 +105,12 @@ const props = {
92
105
  control: "text",
93
106
  type: "string"
94
107
  },
108
+ "aria-description": {
109
+ description: "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
110
+ required: false,
111
+ control: "text",
112
+ type: "string"
113
+ },
95
114
  "aria-details": {
96
115
  description: "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
97
116
  required: false,
@@ -282,6 +301,12 @@ const props = {
282
301
  control: "number",
283
302
  type: "number"
284
303
  },
304
+ "aria-rowindextext": {
305
+ description: "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
306
+ required: false,
307
+ control: "text",
308
+ type: "string"
309
+ },
285
310
  "aria-rowspan": {
286
311
  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.",
287
312
  required: false,
@@ -364,9 +389,9 @@ const props = {
364
389
  control: "select",
365
390
  type: "string",
366
391
  options: [
392
+ "search",
367
393
  "text",
368
394
  "none",
369
- "search",
370
395
  "tel",
371
396
  "url",
372
397
  "email",
@@ -43,12 +43,19 @@ const props = {
43
43
  type: "string",
44
44
  options: ["list", "none", "inline", "both"]
45
45
  },
46
- "aria-busy": {
47
- 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.",
46
+ "aria-braillelabel": {
47
+ description: "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
48
48
  required: false,
49
- control: "boolean",
50
- type: "boolean"
49
+ control: "text",
50
+ type: "string"
51
51
  },
52
+ "aria-brailleroledescription": {
53
+ 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.",
54
+ required: false,
55
+ control: "text",
56
+ type: "string"
57
+ },
58
+ "aria-busy": { required: false, control: "boolean", type: "boolean" },
52
59
  "aria-checked": {
53
60
  description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
54
61
  required: false,
@@ -67,6 +74,12 @@ const props = {
67
74
  control: "number",
68
75
  type: "number"
69
76
  },
77
+ "aria-colindextext": {
78
+ description: "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
79
+ required: false,
80
+ control: "text",
81
+ type: "string"
82
+ },
70
83
  "aria-colspan": {
71
84
  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.",
72
85
  required: false,
@@ -91,6 +104,12 @@ const props = {
91
104
  control: "text",
92
105
  type: "string"
93
106
  },
107
+ "aria-description": {
108
+ description: "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
109
+ required: false,
110
+ control: "text",
111
+ type: "string"
112
+ },
94
113
  "aria-details": {
95
114
  description: "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
96
115
  required: false,
@@ -281,6 +300,12 @@ const props = {
281
300
  control: "number",
282
301
  type: "number"
283
302
  },
303
+ "aria-rowindextext": {
304
+ description: "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
305
+ required: false,
306
+ control: "text",
307
+ type: "string"
308
+ },
284
309
  "aria-rowspan": {
285
310
  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.",
286
311
  required: false,
@@ -350,9 +375,9 @@ const props = {
350
375
  control: "select",
351
376
  type: "string",
352
377
  options: [
378
+ "search",
353
379
  "text",
354
380
  "none",
355
- "search",
356
381
  "tel",
357
382
  "url",
358
383
  "email",
@@ -43,12 +43,19 @@ const props = {
43
43
  type: "string",
44
44
  options: ["list", "none", "inline", "both"]
45
45
  },
46
- "aria-busy": {
47
- 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.",
46
+ "aria-braillelabel": {
47
+ description: "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
48
48
  required: false,
49
- control: "boolean",
50
- type: "boolean"
49
+ control: "text",
50
+ type: "string"
51
51
  },
52
+ "aria-brailleroledescription": {
53
+ 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.",
54
+ required: false,
55
+ control: "text",
56
+ type: "string"
57
+ },
58
+ "aria-busy": { required: false, control: "boolean", type: "boolean" },
52
59
  "aria-checked": {
53
60
  description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
54
61
  required: false,
@@ -67,6 +74,12 @@ const props = {
67
74
  control: "number",
68
75
  type: "number"
69
76
  },
77
+ "aria-colindextext": {
78
+ description: "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
79
+ required: false,
80
+ control: "text",
81
+ type: "string"
82
+ },
70
83
  "aria-colspan": {
71
84
  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.",
72
85
  required: false,
@@ -91,6 +104,12 @@ const props = {
91
104
  control: "text",
92
105
  type: "string"
93
106
  },
107
+ "aria-description": {
108
+ description: "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
109
+ required: false,
110
+ control: "text",
111
+ type: "string"
112
+ },
94
113
  "aria-details": {
95
114
  description: "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
96
115
  required: false,
@@ -281,6 +300,12 @@ const props = {
281
300
  control: "number",
282
301
  type: "number"
283
302
  },
303
+ "aria-rowindextext": {
304
+ description: "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
305
+ required: false,
306
+ control: "text",
307
+ type: "string"
308
+ },
284
309
  "aria-rowspan": {
285
310
  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.",
286
311
  required: false,
@@ -390,10 +415,10 @@ const props = {
390
415
  control: "select",
391
416
  type: "string",
392
417
  options: [
418
+ "search",
393
419
  "text",
394
420
  "url",
395
421
  "none",
396
- "search",
397
422
  "tel",
398
423
  "email",
399
424
  "numeric",
@@ -27,7 +27,17 @@ var import_react_sdk = require("@webstudio-is/react-sdk");
27
27
  var import_css_normalize = require("@webstudio-is/react-sdk/css-normalize");
28
28
  var import_body = require("./__generated__/body.props");
29
29
  const presetStyle = {
30
- body: import_css_normalize.body
30
+ body: [
31
+ ...import_css_normalize.body,
32
+ {
33
+ property: "WebkitFontSmoothing",
34
+ value: { type: "keyword", value: "antialiased" }
35
+ },
36
+ {
37
+ property: "MozOsxFontSmoothing",
38
+ value: { type: "keyword", value: "grayscale" }
39
+ }
40
+ ]
31
41
  };
32
42
  const meta = {
33
43
  type: "container",
@@ -79,5 +79,5 @@ const meta = {
79
79
  };
80
80
  const propsMeta = {
81
81
  props: import_form.props,
82
- initialProps: ["id"]
82
+ initialProps: ["id", "action"]
83
83
  };
@@ -37,7 +37,7 @@ const meta = {
37
37
  invalidAncestors: ["Button"],
38
38
  type: "container",
39
39
  label: "Input Label",
40
- icon: import_svg.TextIcon,
40
+ icon: import_svg.LabelIcon,
41
41
  states: import_react_sdk.defaultStates,
42
42
  presetStyle,
43
43
  order: 2,
@@ -69,5 +69,5 @@ const meta = {
69
69
  };
70
70
  const propsMeta = {
71
71
  props: import_list.props,
72
- initialProps: ["id", "ordered", "type", "start", "reversed"]
72
+ initialProps: ["id", "ordered", "start", "reversed"]
73
73
  };
@@ -26,6 +26,7 @@ var import_react_sdk = require("@webstudio-is/react-sdk");
26
26
  var import_vimeo_play_button = require("./__generated__/vimeo-play-button.props");
27
27
  var import_svg = require("@webstudio-is/icons/svg");
28
28
  var import_css_normalize = require("@webstudio-is/react-sdk/css-normalize");
29
+ var import_vimeo_play_button2 = require("./vimeo-play-button");
29
30
  const presetStyle = {
30
31
  button: import_css_normalize.button
31
32
  };
@@ -22,6 +22,7 @@ __export(vimeo_preview_image_ws_exports, {
22
22
  propsMeta: () => propsMeta
23
23
  });
24
24
  module.exports = __toCommonJS(vimeo_preview_image_ws_exports);
25
+ var import_react_sdk = require("@webstudio-is/react-sdk");
25
26
  var import_image = require("./image.ws");
26
27
  var import_vimeo_preview_image = require("./__generated__/vimeo-preview-image.props");
27
28
  const meta = {
@@ -26,6 +26,7 @@ var import_svg = require("@webstudio-is/icons/svg");
26
26
  var import_react_sdk = require("@webstudio-is/react-sdk");
27
27
  var import_css_normalize = require("@webstudio-is/react-sdk/css-normalize");
28
28
  var import_vimeo = require("./__generated__/vimeo.props");
29
+ var import_vimeo2 = require("./vimeo");
29
30
  const presetStyle = {
30
31
  div: import_css_normalize.div
31
32
  };
package/lib/form.ws.js CHANGED
@@ -57,7 +57,7 @@ const meta = {
57
57
  };
58
58
  const propsMeta = {
59
59
  props,
60
- initialProps: ["id"]
60
+ initialProps: ["id", "action"]
61
61
  };
62
62
  export {
63
63
  meta,
package/lib/label.ws.js CHANGED
@@ -1,4 +1,4 @@
1
- import { TextIcon } from "@webstudio-is/icons/svg";
1
+ import { LabelIcon } from "@webstudio-is/icons/svg";
2
2
  import {
3
3
  defaultStates
4
4
  } from "@webstudio-is/react-sdk";
@@ -15,7 +15,7 @@ const meta = {
15
15
  invalidAncestors: ["Button"],
16
16
  type: "container",
17
17
  label: "Input Label",
18
- icon: TextIcon,
18
+ icon: LabelIcon,
19
19
  states: defaultStates,
20
20
  presetStyle,
21
21
  order: 2,
package/lib/list.ws.js CHANGED
@@ -47,7 +47,7 @@ const meta = {
47
47
  };
48
48
  const propsMeta = {
49
49
  props,
50
- initialProps: ["id", "ordered", "type", "start", "reversed"]
50
+ initialProps: ["id", "ordered", "start", "reversed"]
51
51
  };
52
52
  export {
53
53
  meta,
@@ -49,19 +49,23 @@ export declare const VimeoPreviewImage: import("react").ForwardRefExoticComponen
49
49
  results?: number | undefined;
50
50
  security?: string | undefined;
51
51
  unselectable?: "on" | "off" | undefined;
52
- inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
52
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
53
53
  is?: string | undefined;
54
54
  'aria-activedescendant'?: string | undefined;
55
55
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
56
56
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
57
+ 'aria-braillelabel'?: string | undefined;
58
+ 'aria-brailleroledescription'?: string | undefined;
57
59
  'aria-busy'?: (boolean | "true" | "false") | undefined;
58
60
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
59
61
  'aria-colcount'?: number | undefined;
60
62
  'aria-colindex'?: number | undefined;
63
+ 'aria-colindextext'?: string | undefined;
61
64
  'aria-colspan'?: number | undefined;
62
65
  'aria-controls'?: string | undefined;
63
66
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
64
67
  'aria-describedby'?: string | undefined;
68
+ 'aria-description'?: string | undefined;
65
69
  'aria-details'?: string | undefined;
66
70
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
67
71
  'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
@@ -91,6 +95,7 @@ export declare const VimeoPreviewImage: import("react").ForwardRefExoticComponen
91
95
  'aria-roledescription'?: string | undefined;
92
96
  'aria-rowcount'?: number | undefined;
93
97
  'aria-rowindex'?: number | undefined;
98
+ 'aria-rowindextext'?: string | undefined;
94
99
  'aria-rowspan'?: number | undefined;
95
100
  'aria-selected'?: (boolean | "true" | "false") | undefined;
96
101
  'aria-setsize'?: number | undefined;
@@ -270,12 +275,12 @@ export declare const VimeoPreviewImage: import("react").ForwardRefExoticComponen
270
275
  alt?: string | undefined;
271
276
  src?: string | undefined;
272
277
  crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
273
- sizes?: string | undefined;
274
- srcSet?: string | undefined;
275
- useMap?: string | undefined;
276
278
  referrerPolicy?: import("react").HTMLAttributeReferrerPolicy | undefined;
277
279
  quality?: number | undefined;
280
+ sizes?: string | undefined;
278
281
  decoding?: "auto" | "async" | "sync" | undefined;
279
282
  loading?: "eager" | "lazy" | undefined;
283
+ srcSet?: string | undefined;
284
+ useMap?: string | undefined;
280
285
  optimize?: boolean | undefined;
281
286
  } & import("react").RefAttributes<HTMLImageElement>, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
@@ -4,6 +4,7 @@ import {
4
4
  import { props } from "./__generated__/vimeo-play-button.props";
5
5
  import { ButtonElementIcon } from "@webstudio-is/icons/svg";
6
6
  import { button } from "@webstudio-is/react-sdk/css-normalize";
7
+ import { defaultTag } from "./vimeo-play-button";
7
8
  const presetStyle = {
8
9
  button
9
10
  };
@@ -3,7 +3,7 @@ import {
3
3
  forwardRef,
4
4
  useContext
5
5
  } from "react";
6
- import { Image } from "./image";
6
+ import { Image, defaultTag } from "./image";
7
7
  import { VimeoContext } from "./vimeo";
8
8
  const base64Preview = `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkOAMAANIAzr59FiYAAAAASUVORK5CYII=`;
9
9
  const VimeoPreviewImage = forwardRef(({ src, ...rest }, ref) => {
@@ -1,3 +1,5 @@
1
+ import {
2
+ } from "@webstudio-is/react-sdk";
1
3
  import {
2
4
  propsOverrides as imagePropsOverrides,
3
5
  propsMeta as imagePropsMeta,
package/lib/vimeo.ws.js CHANGED
@@ -4,6 +4,7 @@ import {
4
4
  } from "@webstudio-is/react-sdk";
5
5
  import { div } from "@webstudio-is/react-sdk/css-normalize";
6
6
  import { props } from "./__generated__/vimeo.props";
7
+ import { Vimeo } from "./vimeo";
7
8
  const presetStyle = {
8
9
  div
9
10
  };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react",
3
- "version": "0.82.0",
3
+ "version": "0.84.0",
4
4
  "description": "Webstudio default library for react",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
7
- "license": "MIT",
7
+ "license": "AGPL-3.0-or-later",
8
8
  "private": false,
9
9
  "type": "module",
10
10
  "sideEffects": false,
@@ -37,32 +37,32 @@
37
37
  "react-dom": "^18.2.0"
38
38
  },
39
39
  "dependencies": {
40
- "@react-aria/utils": "^3.13.3",
40
+ "@react-aria/utils": "^3.18.0",
41
41
  "colord": "^2.9.3",
42
42
  "shallow-equal": "^3.1.0",
43
- "@webstudio-is/css-vars": "^0.82.0",
44
- "@webstudio-is/generate-arg-types": "^0.82.0",
45
- "@webstudio-is/icons": "^0.82.0",
46
- "@webstudio-is/image": "^0.82.0",
47
- "@webstudio-is/react-sdk": "^0.82.0"
43
+ "@webstudio-is/css-vars": "^0.84.0",
44
+ "@webstudio-is/generate-arg-types": "^0.84.0",
45
+ "@webstudio-is/icons": "^0.84.0",
46
+ "@webstudio-is/image": "^0.84.0",
47
+ "@webstudio-is/react-sdk": "^0.84.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@storybook/react": "^7.0.26",
51
- "@types/react": "^18.0.35",
52
- "@types/react-dom": "^18.0.11",
50
+ "@storybook/react": "^7.2.1",
51
+ "@types/react": "^18.2.16",
52
+ "@types/react-dom": "^18.2.7",
53
53
  "react": "^18.2.0",
54
54
  "react-dom": "^18.2.0",
55
- "typescript": "5.1.3",
55
+ "typescript": "5.1.6",
56
56
  "@webstudio-is/scripts": "^0.0.0",
57
57
  "@webstudio-is/storybook-config": "^0.0.0",
58
- "@webstudio-is/tsconfig": "^1.0.6"
58
+ "@webstudio-is/tsconfig": "^1.0.7"
59
59
  },
60
60
  "scripts": {
61
61
  "dev": "build-package --watch",
62
62
  "build": "build-package",
63
63
  "build:args": "generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.tsx' && prettier --write \"**/*.props.ts\"",
64
64
  "dts": "tsc --project tsconfig.dts.json",
65
- "typecheck": "tsc --noEmit --emitDeclarationOnly false",
65
+ "typecheck": "tsc",
66
66
  "checks": "pnpm typecheck",
67
67
  "storybook:dev": "storybook dev -p 6006",
68
68
  "storybook:build": "storybook build"