@webstudio-is/react-sdk 0.58.0 → 0.60.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 (96) hide show
  1. package/lib/app/custom-components/shared/remix-link.js +2 -2
  2. package/lib/app/index.js +0 -1
  3. package/lib/cjs/app/custom-components/shared/remix-link.js +2 -2
  4. package/lib/cjs/app/index.js +0 -1
  5. package/lib/cjs/components/__generated__/blockquote.props.js +5 -0
  6. package/lib/cjs/components/__generated__/body.props.js +5 -0
  7. package/lib/cjs/components/__generated__/bold.props.js +5 -0
  8. package/lib/cjs/components/__generated__/box.props.js +5 -0
  9. package/lib/cjs/components/__generated__/button.props.js +5 -1
  10. package/lib/cjs/components/__generated__/code.props.js +5 -0
  11. package/lib/cjs/components/__generated__/form.props.js +5 -0
  12. package/lib/cjs/components/__generated__/heading.props.js +5 -0
  13. package/lib/cjs/components/__generated__/image.props.js +5 -0
  14. package/lib/cjs/components/__generated__/input.props.js +11 -2
  15. package/lib/cjs/components/__generated__/italic.props.js +5 -0
  16. package/lib/cjs/components/__generated__/link-block.props.js +5 -1
  17. package/lib/cjs/components/__generated__/link.props.js +5 -1
  18. package/lib/cjs/components/__generated__/list-item.props.js +5 -0
  19. package/lib/cjs/components/__generated__/list.props.js +5 -0
  20. package/lib/cjs/components/__generated__/paragraph.props.js +5 -0
  21. package/lib/cjs/components/__generated__/rich-text-link.props.js +5 -1
  22. package/lib/cjs/components/__generated__/separator.props.js +5 -0
  23. package/lib/cjs/components/__generated__/span.props.js +5 -0
  24. package/lib/cjs/components/__generated__/subscript.props.js +5 -0
  25. package/lib/cjs/components/__generated__/superscript.props.js +5 -0
  26. package/lib/cjs/components/__generated__/text-block.props.js +5 -0
  27. package/lib/cjs/components/body.ws.js +0 -8
  28. package/lib/cjs/components/component-meta.js +6 -0
  29. package/lib/cjs/components/link-block.ws.js +1 -0
  30. package/lib/cjs/components/link.js +1 -1
  31. package/lib/cjs/components/link.ws.js +1 -0
  32. package/lib/components/__generated__/blockquote.props.js +5 -0
  33. package/lib/components/__generated__/body.props.js +5 -0
  34. package/lib/components/__generated__/bold.props.js +5 -0
  35. package/lib/components/__generated__/box.props.js +5 -0
  36. package/lib/components/__generated__/button.props.js +5 -1
  37. package/lib/components/__generated__/code.props.js +5 -0
  38. package/lib/components/__generated__/form.props.js +5 -0
  39. package/lib/components/__generated__/heading.props.js +5 -0
  40. package/lib/components/__generated__/image.props.js +5 -0
  41. package/lib/components/__generated__/input.props.js +11 -2
  42. package/lib/components/__generated__/italic.props.js +5 -0
  43. package/lib/components/__generated__/link-block.props.js +5 -1
  44. package/lib/components/__generated__/link.props.js +5 -1
  45. package/lib/components/__generated__/list-item.props.js +5 -0
  46. package/lib/components/__generated__/list.props.js +5 -0
  47. package/lib/components/__generated__/paragraph.props.js +5 -0
  48. package/lib/components/__generated__/rich-text-link.props.js +5 -1
  49. package/lib/components/__generated__/separator.props.js +5 -0
  50. package/lib/components/__generated__/span.props.js +5 -0
  51. package/lib/components/__generated__/subscript.props.js +5 -0
  52. package/lib/components/__generated__/superscript.props.js +5 -0
  53. package/lib/components/__generated__/text-block.props.js +5 -0
  54. package/lib/components/body.ws.js +0 -8
  55. package/lib/components/component-meta.js +6 -0
  56. package/lib/components/link-block.ws.js +2 -1
  57. package/lib/components/link.js +1 -1
  58. package/lib/components/link.ws.js +1 -0
  59. package/lib/types/app/index.d.ts +0 -1
  60. package/lib/types/components/component-meta.d.ts +29 -0
  61. package/lib/types/index.d.ts +1 -1
  62. package/package.json +13 -17
  63. package/src/app/custom-components/shared/remix-link.tsx +2 -2
  64. package/src/app/index.ts +0 -1
  65. package/src/components/__generated__/blockquote.props.ts +5 -0
  66. package/src/components/__generated__/body.props.ts +5 -0
  67. package/src/components/__generated__/bold.props.ts +5 -0
  68. package/src/components/__generated__/box.props.ts +5 -0
  69. package/src/components/__generated__/button.props.ts +5 -1
  70. package/src/components/__generated__/code.props.ts +5 -0
  71. package/src/components/__generated__/form.props.ts +5 -0
  72. package/src/components/__generated__/heading.props.ts +5 -0
  73. package/src/components/__generated__/image.props.ts +5 -0
  74. package/src/components/__generated__/input.props.ts +11 -2
  75. package/src/components/__generated__/italic.props.ts +5 -0
  76. package/src/components/__generated__/link-block.props.ts +5 -1
  77. package/src/components/__generated__/link.props.ts +5 -1
  78. package/src/components/__generated__/list-item.props.ts +5 -0
  79. package/src/components/__generated__/list.props.ts +5 -0
  80. package/src/components/__generated__/paragraph.props.ts +5 -0
  81. package/src/components/__generated__/rich-text-link.props.ts +5 -1
  82. package/src/components/__generated__/separator.props.ts +5 -0
  83. package/src/components/__generated__/span.props.ts +5 -0
  84. package/src/components/__generated__/subscript.props.ts +5 -0
  85. package/src/components/__generated__/superscript.props.ts +5 -0
  86. package/src/components/__generated__/text-block.props.ts +5 -0
  87. package/src/components/body.ws.tsx +0 -10
  88. package/src/components/component-meta.ts +8 -0
  89. package/src/components/link-block.ws.tsx +2 -1
  90. package/src/components/link.tsx +1 -1
  91. package/src/components/link.ws.tsx +1 -0
  92. package/src/index.ts +1 -0
  93. package/lib/app/handle-request.server.js +0 -16
  94. package/lib/cjs/app/handle-request.server.js +0 -36
  95. package/lib/types/app/handle-request.server.d.ts +0 -2
  96. package/src/app/handle-request.server.tsx +0 -21
@@ -38,6 +38,7 @@ const props = {
38
38
  type: "boolean"
39
39
  },
40
40
  accessKey: { required: false, control: "text", type: "string" },
41
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
41
42
  className: { required: false, control: "text", type: "string" },
42
43
  contentEditable: { required: false, control: "text", type: "string" },
43
44
  contextMenu: { required: false, control: "text", type: "string" },
@@ -46,6 +47,7 @@ const props = {
46
47
  hidden: { required: false, control: "boolean", type: "boolean" },
47
48
  id: { required: false, control: "text", type: "string" },
48
49
  lang: { required: false, control: "text", type: "string" },
50
+ nonce: { required: false, control: "text", type: "string" },
49
51
  placeholder: { required: false, control: "text", type: "string" },
50
52
  spellCheck: { required: false, control: "boolean", type: "boolean" },
51
53
  tabIndex: { required: false, control: "number", type: "number" },
@@ -58,11 +60,14 @@ const props = {
58
60
  radioGroup: { required: false, control: "text", type: "string" },
59
61
  role: { required: false, control: "text", type: "string" },
60
62
  about: { required: false, control: "text", type: "string" },
63
+ content: { required: false, control: "text", type: "string" },
61
64
  datatype: { required: false, control: "text", type: "string" },
62
65
  inlist: { required: false, control: "text", type: "string" },
63
66
  prefix: { required: false, control: "text", type: "string" },
64
67
  property: { required: false, control: "text", type: "string" },
68
+ rel: { required: false, control: "text", type: "string" },
65
69
  resource: { required: false, control: "text", type: "string" },
70
+ rev: { required: false, control: "text", type: "string" },
66
71
  typeof: { required: false, control: "text", type: "string" },
67
72
  vocab: { required: false, control: "text", type: "string" },
68
73
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -38,6 +38,7 @@ const props = {
38
38
  type: "boolean"
39
39
  },
40
40
  accessKey: { required: false, control: "text", type: "string" },
41
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
41
42
  className: { required: false, control: "text", type: "string" },
42
43
  contentEditable: { required: false, control: "text", type: "string" },
43
44
  contextMenu: { required: false, control: "text", type: "string" },
@@ -46,6 +47,7 @@ const props = {
46
47
  hidden: { required: false, control: "boolean", type: "boolean" },
47
48
  id: { required: false, control: "text", type: "string" },
48
49
  lang: { required: false, control: "text", type: "string" },
50
+ nonce: { required: false, control: "text", type: "string" },
49
51
  placeholder: { required: false, control: "text", type: "string" },
50
52
  spellCheck: { required: false, control: "boolean", type: "boolean" },
51
53
  tabIndex: { required: false, control: "number", type: "number" },
@@ -58,11 +60,14 @@ const props = {
58
60
  radioGroup: { required: false, control: "text", type: "string" },
59
61
  role: { required: false, control: "text", type: "string" },
60
62
  about: { required: false, control: "text", type: "string" },
63
+ content: { required: false, control: "text", type: "string" },
61
64
  datatype: { required: false, control: "text", type: "string" },
62
65
  inlist: { required: false, control: "text", type: "string" },
63
66
  prefix: { required: false, control: "text", type: "string" },
64
67
  property: { required: false, control: "text", type: "string" },
68
+ rel: { required: false, control: "text", type: "string" },
65
69
  resource: { required: false, control: "text", type: "string" },
70
+ rev: { required: false, control: "text", type: "string" },
66
71
  typeof: { required: false, control: "text", type: "string" },
67
72
  vocab: { required: false, control: "text", type: "string" },
68
73
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -38,6 +38,7 @@ const props = {
38
38
  type: "boolean"
39
39
  },
40
40
  accessKey: { required: false, control: "text", type: "string" },
41
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
41
42
  className: { required: false, control: "text", type: "string" },
42
43
  contentEditable: { required: false, control: "text", type: "string" },
43
44
  contextMenu: { required: false, control: "text", type: "string" },
@@ -46,6 +47,7 @@ const props = {
46
47
  hidden: { required: false, control: "boolean", type: "boolean" },
47
48
  id: { required: false, control: "text", type: "string" },
48
49
  lang: { required: false, control: "text", type: "string" },
50
+ nonce: { required: false, control: "text", type: "string" },
49
51
  placeholder: { required: false, control: "text", type: "string" },
50
52
  spellCheck: { required: false, control: "boolean", type: "boolean" },
51
53
  tabIndex: { required: false, control: "number", type: "number" },
@@ -58,11 +60,14 @@ const props = {
58
60
  radioGroup: { required: false, control: "text", type: "string" },
59
61
  role: { required: false, control: "text", type: "string" },
60
62
  about: { required: false, control: "text", type: "string" },
63
+ content: { required: false, control: "text", type: "string" },
61
64
  datatype: { required: false, control: "text", type: "string" },
62
65
  inlist: { required: false, control: "text", type: "string" },
63
66
  prefix: { required: false, control: "text", type: "string" },
64
67
  property: { required: false, control: "text", type: "string" },
68
+ rel: { required: false, control: "text", type: "string" },
65
69
  resource: { required: false, control: "text", type: "string" },
70
+ rev: { required: false, control: "text", type: "string" },
66
71
  typeof: { required: false, control: "text", type: "string" },
67
72
  vocab: { required: false, control: "text", type: "string" },
68
73
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -38,6 +38,7 @@ const props = {
38
38
  type: "boolean"
39
39
  },
40
40
  accessKey: { required: false, control: "text", type: "string" },
41
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
41
42
  className: { required: false, control: "text", type: "string" },
42
43
  contentEditable: { required: false, control: "text", type: "string" },
43
44
  contextMenu: { required: false, control: "text", type: "string" },
@@ -46,6 +47,7 @@ const props = {
46
47
  hidden: { required: false, control: "boolean", type: "boolean" },
47
48
  id: { required: false, control: "text", type: "string" },
48
49
  lang: { required: false, control: "text", type: "string" },
50
+ nonce: { required: false, control: "text", type: "string" },
49
51
  placeholder: { required: false, control: "text", type: "string" },
50
52
  spellCheck: { required: false, control: "boolean", type: "boolean" },
51
53
  tabIndex: { required: false, control: "number", type: "number" },
@@ -58,11 +60,14 @@ const props = {
58
60
  radioGroup: { required: false, control: "text", type: "string" },
59
61
  role: { required: false, control: "text", type: "string" },
60
62
  about: { required: false, control: "text", type: "string" },
63
+ content: { required: false, control: "text", type: "string" },
61
64
  datatype: { required: false, control: "text", type: "string" },
62
65
  inlist: { required: false, control: "text", type: "string" },
63
66
  prefix: { required: false, control: "text", type: "string" },
64
67
  property: { required: false, control: "text", type: "string" },
68
+ rel: { required: false, control: "text", type: "string" },
65
69
  resource: { required: false, control: "text", type: "string" },
70
+ rev: { required: false, control: "text", type: "string" },
66
71
  typeof: { required: false, control: "text", type: "string" },
67
72
  vocab: { required: false, control: "text", type: "string" },
68
73
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -38,6 +38,7 @@ const props = {
38
38
  type: "boolean"
39
39
  },
40
40
  accessKey: { required: false, control: "text", type: "string" },
41
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
41
42
  className: { required: false, control: "text", type: "string" },
42
43
  contentEditable: { required: false, control: "text", type: "string" },
43
44
  contextMenu: { required: false, control: "text", type: "string" },
@@ -46,6 +47,7 @@ const props = {
46
47
  hidden: { required: false, control: "boolean", type: "boolean" },
47
48
  id: { required: false, control: "text", type: "string" },
48
49
  lang: { required: false, control: "text", type: "string" },
50
+ nonce: { required: false, control: "text", type: "string" },
49
51
  placeholder: { required: false, control: "text", type: "string" },
50
52
  spellCheck: { required: false, control: "boolean", type: "boolean" },
51
53
  tabIndex: { required: false, control: "number", type: "number" },
@@ -58,11 +60,14 @@ const props = {
58
60
  radioGroup: { required: false, control: "text", type: "string" },
59
61
  role: { required: false, control: "text", type: "string" },
60
62
  about: { required: false, control: "text", type: "string" },
63
+ content: { required: false, control: "text", type: "string" },
61
64
  datatype: { required: false, control: "text", type: "string" },
62
65
  inlist: { required: false, control: "text", type: "string" },
63
66
  prefix: { required: false, control: "text", type: "string" },
64
67
  property: { required: false, control: "text", type: "string" },
68
+ rel: { required: false, control: "text", type: "string" },
65
69
  resource: { required: false, control: "text", type: "string" },
70
+ rev: { required: false, control: "text", type: "string" },
66
71
  typeof: { required: false, control: "text", type: "string" },
67
72
  vocab: { required: false, control: "text", type: "string" },
68
73
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -33,10 +33,6 @@ const presetStyle = {
33
33
  unit: "%",
34
34
  value: 100
35
35
  },
36
- backgroundColor: {
37
- type: "keyword",
38
- value: "white"
39
- },
40
36
  fontFamily: {
41
37
  type: "keyword",
42
38
  value: "Arial"
@@ -50,10 +46,6 @@ const presetStyle = {
50
46
  type: "unit",
51
47
  unit: "number",
52
48
  value: 1.5
53
- },
54
- color: {
55
- type: "keyword",
56
- value: "#232323"
57
49
  }
58
50
  }
59
51
  };
@@ -18,6 +18,7 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var component_meta_exports = {};
20
20
  __export(component_meta_exports, {
21
+ ComponentState: () => ComponentState,
21
22
  componentCategories: () => componentCategories
22
23
  });
23
24
  module.exports = __toCommonJS(component_meta_exports);
@@ -33,6 +34,10 @@ const componentCategories = [
33
34
  "media",
34
35
  "forms"
35
36
  ];
37
+ const ComponentState = import_zod.z.object({
38
+ selector: import_zod.z.string(),
39
+ label: import_zod.z.string()
40
+ });
36
41
  const WsComponentMeta = import_zod.z.object({
37
42
  category: import_zod.z.enum(componentCategories).optional(),
38
43
  // container - can accept other components with dnd
@@ -50,5 +55,6 @@ const WsComponentMeta = import_zod.z.object({
50
55
  label: import_zod.z.string(),
51
56
  Icon: import_zod.z.function(),
52
57
  presetStyle: import_zod.z.optional(import_zod.z.any()),
58
+ states: import_zod.z.optional(import_zod.z.array(ComponentState)),
53
59
  children: import_zod.z.optional(import_zod.z.array(import_zod.z.string()))
54
60
  });
@@ -40,6 +40,7 @@ const meta = {
40
40
  type: "container",
41
41
  label: "Link Block",
42
42
  Icon: import_icons.BoxLinkIcon,
43
+ states: import_link.meta.states,
43
44
  presetStyle
44
45
  };
45
46
  const propsMeta = {
@@ -33,7 +33,7 @@ const Link = (0, import_react.forwardRef)((props, ref) => {
33
33
  let url = "#";
34
34
  switch (href?.type) {
35
35
  case "page":
36
- url = href.page.path;
36
+ url = href.page.path === "" ? "/" : href.page.path;
37
37
  if (href.hash !== void 0) {
38
38
  url += `#${href.hash}`;
39
39
  }
@@ -45,6 +45,7 @@ const meta = {
45
45
  label: "Link Text",
46
46
  Icon: import_icons.LinkIcon,
47
47
  presetStyle,
48
+ states: [{ selector: "[aria-current=page]", label: "Current page" }],
48
49
  children: ["Link text you can edit"]
49
50
  };
50
51
  const propsMeta = {
@@ -16,6 +16,7 @@ const props = {
16
16
  type: "boolean"
17
17
  },
18
18
  accessKey: { required: false, control: "text", type: "string" },
19
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
19
20
  className: { required: false, control: "text", type: "string" },
20
21
  contentEditable: { required: false, control: "text", type: "string" },
21
22
  contextMenu: { required: false, control: "text", type: "string" },
@@ -24,6 +25,7 @@ const props = {
24
25
  hidden: { required: false, control: "boolean", type: "boolean" },
25
26
  id: { required: false, control: "text", type: "string" },
26
27
  lang: { required: false, control: "text", type: "string" },
28
+ nonce: { required: false, control: "text", type: "string" },
27
29
  placeholder: { required: false, control: "text", type: "string" },
28
30
  spellCheck: { required: false, control: "boolean", type: "boolean" },
29
31
  tabIndex: { required: false, control: "number", type: "number" },
@@ -36,11 +38,14 @@ const props = {
36
38
  radioGroup: { required: false, control: "text", type: "string" },
37
39
  role: { required: false, control: "text", type: "string" },
38
40
  about: { required: false, control: "text", type: "string" },
41
+ content: { required: false, control: "text", type: "string" },
39
42
  datatype: { required: false, control: "text", type: "string" },
40
43
  inlist: { required: false, control: "text", type: "string" },
41
44
  prefix: { required: false, control: "text", type: "string" },
42
45
  property: { required: false, control: "text", type: "string" },
46
+ rel: { required: false, control: "text", type: "string" },
43
47
  resource: { required: false, control: "text", type: "string" },
48
+ rev: { required: false, control: "text", type: "string" },
44
49
  typeof: { required: false, control: "text", type: "string" },
45
50
  vocab: { required: false, control: "text", type: "string" },
46
51
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -15,6 +15,7 @@ const props = {
15
15
  type: "boolean"
16
16
  },
17
17
  accessKey: { required: false, control: "text", type: "string" },
18
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
18
19
  className: { required: false, control: "text", type: "string" },
19
20
  contentEditable: { required: false, control: "text", type: "string" },
20
21
  contextMenu: { required: false, control: "text", type: "string" },
@@ -23,6 +24,7 @@ const props = {
23
24
  hidden: { required: false, control: "boolean", type: "boolean" },
24
25
  id: { required: false, control: "text", type: "string" },
25
26
  lang: { required: false, control: "text", type: "string" },
27
+ nonce: { required: false, control: "text", type: "string" },
26
28
  placeholder: { required: false, control: "text", type: "string" },
27
29
  spellCheck: { required: false, control: "boolean", type: "boolean" },
28
30
  tabIndex: { required: false, control: "number", type: "number" },
@@ -35,11 +37,14 @@ const props = {
35
37
  radioGroup: { required: false, control: "text", type: "string" },
36
38
  role: { required: false, control: "text", type: "string" },
37
39
  about: { required: false, control: "text", type: "string" },
40
+ content: { required: false, control: "text", type: "string" },
38
41
  datatype: { required: false, control: "text", type: "string" },
39
42
  inlist: { required: false, control: "text", type: "string" },
40
43
  prefix: { required: false, control: "text", type: "string" },
41
44
  property: { required: false, control: "text", type: "string" },
45
+ rel: { required: false, control: "text", type: "string" },
42
46
  resource: { required: false, control: "text", type: "string" },
47
+ rev: { required: false, control: "text", type: "string" },
43
48
  typeof: { required: false, control: "text", type: "string" },
44
49
  vocab: { required: false, control: "text", type: "string" },
45
50
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -15,6 +15,7 @@ const props = {
15
15
  type: "boolean"
16
16
  },
17
17
  accessKey: { required: false, control: "text", type: "string" },
18
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
18
19
  className: { required: false, control: "text", type: "string" },
19
20
  contentEditable: { required: false, control: "text", type: "string" },
20
21
  contextMenu: { required: false, control: "text", type: "string" },
@@ -23,6 +24,7 @@ const props = {
23
24
  hidden: { required: false, control: "boolean", type: "boolean" },
24
25
  id: { required: false, control: "text", type: "string" },
25
26
  lang: { required: false, control: "text", type: "string" },
27
+ nonce: { required: false, control: "text", type: "string" },
26
28
  placeholder: { required: false, control: "text", type: "string" },
27
29
  spellCheck: { required: false, control: "boolean", type: "boolean" },
28
30
  tabIndex: { required: false, control: "number", type: "number" },
@@ -35,11 +37,14 @@ const props = {
35
37
  radioGroup: { required: false, control: "text", type: "string" },
36
38
  role: { required: false, control: "text", type: "string" },
37
39
  about: { required: false, control: "text", type: "string" },
40
+ content: { required: false, control: "text", type: "string" },
38
41
  datatype: { required: false, control: "text", type: "string" },
39
42
  inlist: { required: false, control: "text", type: "string" },
40
43
  prefix: { required: false, control: "text", type: "string" },
41
44
  property: { required: false, control: "text", type: "string" },
45
+ rel: { required: false, control: "text", type: "string" },
42
46
  resource: { required: false, control: "text", type: "string" },
47
+ rev: { required: false, control: "text", type: "string" },
43
48
  typeof: { required: false, control: "text", type: "string" },
44
49
  vocab: { required: false, control: "text", type: "string" },
45
50
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -15,6 +15,7 @@ const props = {
15
15
  type: "boolean"
16
16
  },
17
17
  accessKey: { required: false, control: "text", type: "string" },
18
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
18
19
  className: { required: false, control: "text", type: "string" },
19
20
  contentEditable: { required: false, control: "text", type: "string" },
20
21
  contextMenu: { required: false, control: "text", type: "string" },
@@ -23,6 +24,7 @@ const props = {
23
24
  hidden: { required: false, control: "boolean", type: "boolean" },
24
25
  id: { required: false, control: "text", type: "string" },
25
26
  lang: { required: false, control: "text", type: "string" },
27
+ nonce: { required: false, control: "text", type: "string" },
26
28
  placeholder: { required: false, control: "text", type: "string" },
27
29
  spellCheck: { required: false, control: "boolean", type: "boolean" },
28
30
  tabIndex: { required: false, control: "number", type: "number" },
@@ -35,11 +37,14 @@ const props = {
35
37
  radioGroup: { required: false, control: "text", type: "string" },
36
38
  role: { required: false, control: "text", type: "string" },
37
39
  about: { required: false, control: "text", type: "string" },
40
+ content: { required: false, control: "text", type: "string" },
38
41
  datatype: { required: false, control: "text", type: "string" },
39
42
  inlist: { required: false, control: "text", type: "string" },
40
43
  prefix: { required: false, control: "text", type: "string" },
41
44
  property: { required: false, control: "text", type: "string" },
45
+ rel: { required: false, control: "text", type: "string" },
42
46
  resource: { required: false, control: "text", type: "string" },
47
+ rev: { required: false, control: "text", type: "string" },
43
48
  typeof: { required: false, control: "text", type: "string" },
44
49
  vocab: { required: false, control: "text", type: "string" },
45
50
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -3,7 +3,6 @@ const props = {
3
3
  slot: { required: false, control: "text", type: "string" },
4
4
  style: { required: false, control: "text", type: "string" },
5
5
  title: { required: false, control: "text", type: "string" },
6
- autoFocus: { required: false, control: "boolean", type: "boolean" },
7
6
  disabled: { required: false, control: "boolean", type: "boolean" },
8
7
  formAction: { required: false, control: "text", type: "string" },
9
8
  formEncType: { required: false, control: "text", type: "string" },
@@ -32,6 +31,7 @@ const props = {
32
31
  type: "boolean"
33
32
  },
34
33
  accessKey: { required: false, control: "text", type: "string" },
34
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
35
35
  className: { required: false, control: "text", type: "string" },
36
36
  contentEditable: { required: false, control: "text", type: "string" },
37
37
  contextMenu: { required: false, control: "text", type: "string" },
@@ -40,6 +40,7 @@ const props = {
40
40
  hidden: { required: false, control: "boolean", type: "boolean" },
41
41
  id: { required: false, control: "text", type: "string" },
42
42
  lang: { required: false, control: "text", type: "string" },
43
+ nonce: { required: false, control: "text", type: "string" },
43
44
  placeholder: { required: false, control: "text", type: "string" },
44
45
  spellCheck: { required: false, control: "boolean", type: "boolean" },
45
46
  tabIndex: { required: false, control: "number", type: "number" },
@@ -52,11 +53,14 @@ const props = {
52
53
  radioGroup: { required: false, control: "text", type: "string" },
53
54
  role: { required: false, control: "text", type: "string" },
54
55
  about: { required: false, control: "text", type: "string" },
56
+ content: { required: false, control: "text", type: "string" },
55
57
  datatype: { required: false, control: "text", type: "string" },
56
58
  inlist: { required: false, control: "text", type: "string" },
57
59
  prefix: { required: false, control: "text", type: "string" },
58
60
  property: { required: false, control: "text", type: "string" },
61
+ rel: { required: false, control: "text", type: "string" },
59
62
  resource: { required: false, control: "text", type: "string" },
63
+ rev: { required: false, control: "text", type: "string" },
60
64
  typeof: { required: false, control: "text", type: "string" },
61
65
  vocab: { required: false, control: "text", type: "string" },
62
66
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -16,6 +16,7 @@ const props = {
16
16
  type: "boolean"
17
17
  },
18
18
  accessKey: { required: false, control: "text", type: "string" },
19
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
19
20
  className: { required: false, control: "text", type: "string" },
20
21
  contentEditable: { required: false, control: "text", type: "string" },
21
22
  contextMenu: { required: false, control: "text", type: "string" },
@@ -24,6 +25,7 @@ const props = {
24
25
  hidden: { required: false, control: "boolean", type: "boolean" },
25
26
  id: { required: false, control: "text", type: "string" },
26
27
  lang: { required: false, control: "text", type: "string" },
28
+ nonce: { required: false, control: "text", type: "string" },
27
29
  placeholder: { required: false, control: "text", type: "string" },
28
30
  spellCheck: { required: false, control: "boolean", type: "boolean" },
29
31
  tabIndex: { required: false, control: "number", type: "number" },
@@ -36,11 +38,14 @@ const props = {
36
38
  radioGroup: { required: false, control: "text", type: "string" },
37
39
  role: { required: false, control: "text", type: "string" },
38
40
  about: { required: false, control: "text", type: "string" },
41
+ content: { required: false, control: "text", type: "string" },
39
42
  datatype: { required: false, control: "text", type: "string" },
40
43
  inlist: { required: false, control: "text", type: "string" },
41
44
  prefix: { required: false, control: "text", type: "string" },
42
45
  property: { required: false, control: "text", type: "string" },
46
+ rel: { required: false, control: "text", type: "string" },
43
47
  resource: { required: false, control: "text", type: "string" },
48
+ rev: { required: false, control: "text", type: "string" },
44
49
  typeof: { required: false, control: "text", type: "string" },
45
50
  vocab: { required: false, control: "text", type: "string" },
46
51
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -23,6 +23,7 @@ const props = {
23
23
  type: "boolean"
24
24
  },
25
25
  accessKey: { required: false, control: "text", type: "string" },
26
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
26
27
  className: { required: false, control: "text", type: "string" },
27
28
  contentEditable: { required: false, control: "text", type: "string" },
28
29
  contextMenu: { required: false, control: "text", type: "string" },
@@ -31,6 +32,7 @@ const props = {
31
32
  hidden: { required: false, control: "boolean", type: "boolean" },
32
33
  id: { required: false, control: "text", type: "string" },
33
34
  lang: { required: false, control: "text", type: "string" },
35
+ nonce: { required: false, control: "text", type: "string" },
34
36
  placeholder: { required: false, control: "text", type: "string" },
35
37
  spellCheck: { required: false, control: "boolean", type: "boolean" },
36
38
  tabIndex: { required: false, control: "number", type: "number" },
@@ -43,11 +45,14 @@ const props = {
43
45
  radioGroup: { required: false, control: "text", type: "string" },
44
46
  role: { required: false, control: "text", type: "string" },
45
47
  about: { required: false, control: "text", type: "string" },
48
+ content: { required: false, control: "text", type: "string" },
46
49
  datatype: { required: false, control: "text", type: "string" },
47
50
  inlist: { required: false, control: "text", type: "string" },
48
51
  prefix: { required: false, control: "text", type: "string" },
49
52
  property: { required: false, control: "text", type: "string" },
53
+ rel: { required: false, control: "text", type: "string" },
50
54
  resource: { required: false, control: "text", type: "string" },
55
+ rev: { required: false, control: "text", type: "string" },
51
56
  typeof: { required: false, control: "text", type: "string" },
52
57
  vocab: { required: false, control: "text", type: "string" },
53
58
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -15,6 +15,7 @@ const props = {
15
15
  type: "boolean"
16
16
  },
17
17
  accessKey: { required: false, control: "text", type: "string" },
18
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
18
19
  className: { required: false, control: "text", type: "string" },
19
20
  contentEditable: { required: false, control: "text", type: "string" },
20
21
  contextMenu: { required: false, control: "text", type: "string" },
@@ -23,6 +24,7 @@ const props = {
23
24
  hidden: { required: false, control: "boolean", type: "boolean" },
24
25
  id: { required: false, control: "text", type: "string" },
25
26
  lang: { required: false, control: "text", type: "string" },
27
+ nonce: { required: false, control: "text", type: "string" },
26
28
  placeholder: { required: false, control: "text", type: "string" },
27
29
  spellCheck: { required: false, control: "boolean", type: "boolean" },
28
30
  tabIndex: { required: false, control: "number", type: "number" },
@@ -35,11 +37,14 @@ const props = {
35
37
  radioGroup: { required: false, control: "text", type: "string" },
36
38
  role: { required: false, control: "text", type: "string" },
37
39
  about: { required: false, control: "text", type: "string" },
40
+ content: { required: false, control: "text", type: "string" },
38
41
  datatype: { required: false, control: "text", type: "string" },
39
42
  inlist: { required: false, control: "text", type: "string" },
40
43
  prefix: { required: false, control: "text", type: "string" },
41
44
  property: { required: false, control: "text", type: "string" },
45
+ rel: { required: false, control: "text", type: "string" },
42
46
  resource: { required: false, control: "text", type: "string" },
47
+ rev: { required: false, control: "text", type: "string" },
43
48
  typeof: { required: false, control: "text", type: "string" },
44
49
  vocab: { required: false, control: "text", type: "string" },
45
50
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -56,6 +56,7 @@ const props = {
56
56
  type: "boolean"
57
57
  },
58
58
  accessKey: { required: false, control: "text", type: "string" },
59
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
59
60
  className: { required: false, control: "text", type: "string" },
60
61
  contentEditable: { required: false, control: "text", type: "string" },
61
62
  contextMenu: { required: false, control: "text", type: "string" },
@@ -64,6 +65,7 @@ const props = {
64
65
  hidden: { required: false, control: "boolean", type: "boolean" },
65
66
  id: { required: false, control: "text", type: "string" },
66
67
  lang: { required: false, control: "text", type: "string" },
68
+ nonce: { required: false, control: "text", type: "string" },
67
69
  placeholder: { required: false, control: "text", type: "string" },
68
70
  spellCheck: { required: false, control: "boolean", type: "boolean" },
69
71
  tabIndex: { required: false, control: "number", type: "number" },
@@ -76,11 +78,14 @@ const props = {
76
78
  radioGroup: { required: false, control: "text", type: "string" },
77
79
  role: { required: false, control: "text", type: "string" },
78
80
  about: { required: false, control: "text", type: "string" },
81
+ content: { required: false, control: "text", type: "string" },
79
82
  datatype: { required: false, control: "text", type: "string" },
80
83
  inlist: { required: false, control: "text", type: "string" },
81
84
  prefix: { required: false, control: "text", type: "string" },
82
85
  property: { required: false, control: "text", type: "string" },
86
+ rel: { required: false, control: "text", type: "string" },
83
87
  resource: { required: false, control: "text", type: "string" },
88
+ rev: { required: false, control: "text", type: "string" },
84
89
  typeof: { required: false, control: "text", type: "string" },
85
90
  vocab: { required: false, control: "text", type: "string" },
86
91
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -7,10 +7,14 @@ const props = {
7
7
  accept: { required: false, control: "text", type: "string" },
8
8
  alt: { required: false, control: "text", type: "string" },
9
9
  autoComplete: { required: false, control: "text", type: "string" },
10
- autoFocus: { required: false, control: "boolean", type: "boolean" },
11
10
  capture: { required: false, control: "text", type: "string" },
12
11
  checked: { required: false, control: "boolean", type: "boolean" },
13
- crossOrigin: { required: false, control: "text", type: "string" },
12
+ crossOrigin: {
13
+ required: false,
14
+ control: "radio",
15
+ type: "string",
16
+ options: ["", "anonymous", "use-credentials"]
17
+ },
14
18
  disabled: { required: false, control: "boolean", type: "boolean" },
15
19
  enterKeyHint: {
16
20
  required: false,
@@ -54,6 +58,7 @@ const props = {
54
58
  type: "boolean"
55
59
  },
56
60
  accessKey: { required: false, control: "text", type: "string" },
61
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
57
62
  className: { required: false, control: "text", type: "string" },
58
63
  contentEditable: { required: false, control: "text", type: "string" },
59
64
  contextMenu: { required: false, control: "text", type: "string" },
@@ -62,6 +67,7 @@ const props = {
62
67
  hidden: { required: false, control: "boolean", type: "boolean" },
63
68
  id: { required: false, control: "text", type: "string" },
64
69
  lang: { required: false, control: "text", type: "string" },
70
+ nonce: { required: false, control: "text", type: "string" },
65
71
  spellCheck: { required: false, control: "boolean", type: "boolean" },
66
72
  tabIndex: { required: false, control: "number", type: "number" },
67
73
  translate: {
@@ -73,11 +79,14 @@ const props = {
73
79
  radioGroup: { required: false, control: "text", type: "string" },
74
80
  role: { required: false, control: "text", type: "string" },
75
81
  about: { required: false, control: "text", type: "string" },
82
+ content: { required: false, control: "text", type: "string" },
76
83
  datatype: { required: false, control: "text", type: "string" },
77
84
  inlist: { required: false, control: "text", type: "string" },
78
85
  prefix: { required: false, control: "text", type: "string" },
79
86
  property: { required: false, control: "text", type: "string" },
87
+ rel: { required: false, control: "text", type: "string" },
80
88
  resource: { required: false, control: "text", type: "string" },
89
+ rev: { required: false, control: "text", type: "string" },
81
90
  typeof: { required: false, control: "text", type: "string" },
82
91
  vocab: { required: false, control: "text", type: "string" },
83
92
  autoCapitalize: { required: false, control: "text", type: "string" },
@@ -15,6 +15,7 @@ const props = {
15
15
  type: "boolean"
16
16
  },
17
17
  accessKey: { required: false, control: "text", type: "string" },
18
+ autoFocus: { required: false, control: "boolean", type: "boolean" },
18
19
  className: { required: false, control: "text", type: "string" },
19
20
  contentEditable: { required: false, control: "text", type: "string" },
20
21
  contextMenu: { required: false, control: "text", type: "string" },
@@ -23,6 +24,7 @@ const props = {
23
24
  hidden: { required: false, control: "boolean", type: "boolean" },
24
25
  id: { required: false, control: "text", type: "string" },
25
26
  lang: { required: false, control: "text", type: "string" },
27
+ nonce: { required: false, control: "text", type: "string" },
26
28
  placeholder: { required: false, control: "text", type: "string" },
27
29
  spellCheck: { required: false, control: "boolean", type: "boolean" },
28
30
  tabIndex: { required: false, control: "number", type: "number" },
@@ -35,11 +37,14 @@ const props = {
35
37
  radioGroup: { required: false, control: "text", type: "string" },
36
38
  role: { required: false, control: "text", type: "string" },
37
39
  about: { required: false, control: "text", type: "string" },
40
+ content: { required: false, control: "text", type: "string" },
38
41
  datatype: { required: false, control: "text", type: "string" },
39
42
  inlist: { required: false, control: "text", type: "string" },
40
43
  prefix: { required: false, control: "text", type: "string" },
41
44
  property: { required: false, control: "text", type: "string" },
45
+ rel: { required: false, control: "text", type: "string" },
42
46
  resource: { required: false, control: "text", type: "string" },
47
+ rev: { required: false, control: "text", type: "string" },
43
48
  typeof: { required: false, control: "text", type: "string" },
44
49
  vocab: { required: false, control: "text", type: "string" },
45
50
  autoCapitalize: { required: false, control: "text", type: "string" },