tinacms 0.66.6 → 0.66.9
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.
- package/CHANGELOG.md +35 -0
- package/dist/admin/api.d.ts +2 -0
- package/dist/edit-state.es.js +5 -1
- package/dist/edit-state.js +5 -1
- package/dist/hooks/formify/formify.d.ts +23 -0
- package/dist/hooks/formify/index.d.ts +11 -43
- package/dist/hooks/formify/reducer.d.ts +26 -0
- package/dist/hooks/formify/test/{to-be-similar-to.d.ts → runner.d.ts} +1 -1
- package/dist/hooks/formify/test/util.d.ts +25 -0
- package/dist/hooks/formify/types.d.ts +176 -0
- package/dist/hooks/formify/util.d.ts +103 -2
- package/dist/hooks/use-graphql-forms.d.ts +21 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +2378 -1137
- package/dist/index.js +2518 -1276
- package/dist/rich-text.es.js +4 -11
- package/dist/rich-text.js +4 -11
- package/package.json +4 -2
package/dist/rich-text.es.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
2
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
3
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
4
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -16,7 +14,6 @@ var __spreadValues = (a, b) => {
|
|
|
16
14
|
}
|
|
17
15
|
return a;
|
|
18
16
|
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
17
|
var __objRest = (source, exclude) => {
|
|
21
18
|
var target = {};
|
|
22
19
|
for (var prop in source)
|
|
@@ -58,11 +55,9 @@ const TinaMarkdown = ({
|
|
|
58
55
|
case "li":
|
|
59
56
|
if (components[child.type]) {
|
|
60
57
|
const Component2 = components[child.type];
|
|
61
|
-
return /* @__PURE__ */ React.createElement(Component2,
|
|
58
|
+
return /* @__PURE__ */ React.createElement(Component2, __spreadValues({
|
|
62
59
|
key
|
|
63
|
-
}, props), {
|
|
64
|
-
childrenRaw: children
|
|
65
|
-
}), /* @__PURE__ */ React.createElement(TinaMarkdown, {
|
|
60
|
+
}, props), /* @__PURE__ */ React.createElement(TinaMarkdown, {
|
|
66
61
|
components,
|
|
67
62
|
content: children
|
|
68
63
|
}));
|
|
@@ -117,11 +112,9 @@ const TinaMarkdown = ({
|
|
|
117
112
|
}).join("\n");
|
|
118
113
|
if (components[child.type]) {
|
|
119
114
|
const Component2 = components[child.type];
|
|
120
|
-
return /* @__PURE__ */ React.createElement(Component2,
|
|
115
|
+
return /* @__PURE__ */ React.createElement(Component2, __spreadValues({
|
|
121
116
|
key
|
|
122
|
-
}, props),
|
|
123
|
-
childrenRaw: children
|
|
124
|
-
}), value);
|
|
117
|
+
}, props), value);
|
|
125
118
|
}
|
|
126
119
|
return /* @__PURE__ */ React.createElement("pre", {
|
|
127
120
|
key
|
package/dist/rich-text.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
2
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
3
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
4
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -16,7 +14,6 @@ var __spreadValues = (a, b) => {
|
|
|
16
14
|
}
|
|
17
15
|
return a;
|
|
18
16
|
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
17
|
var __objRest = (source, exclude) => {
|
|
21
18
|
var target = {};
|
|
22
19
|
for (var prop in source)
|
|
@@ -65,11 +62,9 @@ var __objRest = (source, exclude) => {
|
|
|
65
62
|
case "li":
|
|
66
63
|
if (components[child.type]) {
|
|
67
64
|
const Component2 = components[child.type];
|
|
68
|
-
return /* @__PURE__ */ React__default["default"].createElement(Component2,
|
|
65
|
+
return /* @__PURE__ */ React__default["default"].createElement(Component2, __spreadValues({
|
|
69
66
|
key
|
|
70
|
-
}, props), {
|
|
71
|
-
childrenRaw: children
|
|
72
|
-
}), /* @__PURE__ */ React__default["default"].createElement(TinaMarkdown, {
|
|
67
|
+
}, props), /* @__PURE__ */ React__default["default"].createElement(TinaMarkdown, {
|
|
73
68
|
components,
|
|
74
69
|
content: children
|
|
75
70
|
}));
|
|
@@ -124,11 +119,9 @@ var __objRest = (source, exclude) => {
|
|
|
124
119
|
}).join("\n");
|
|
125
120
|
if (components[child.type]) {
|
|
126
121
|
const Component2 = components[child.type];
|
|
127
|
-
return /* @__PURE__ */ React__default["default"].createElement(Component2,
|
|
122
|
+
return /* @__PURE__ */ React__default["default"].createElement(Component2, __spreadValues({
|
|
128
123
|
key
|
|
129
|
-
}, props),
|
|
130
|
-
childrenRaw: children
|
|
131
|
-
}), value);
|
|
124
|
+
}, props), value);
|
|
132
125
|
}
|
|
133
126
|
return /* @__PURE__ */ React__default["default"].createElement("pre", {
|
|
134
127
|
key
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinacms",
|
|
3
|
-
"version": "0.66.
|
|
3
|
+
"version": "0.66.9",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@headlessui/react": "^1.4.1",
|
|
26
26
|
"@heroicons/react": "^1.0.4",
|
|
27
27
|
"@tinacms/sharedctx": "0.1.0",
|
|
28
|
-
"@tinacms/toolkit": "0.56.
|
|
28
|
+
"@tinacms/toolkit": "0.56.18",
|
|
29
29
|
"crypto-js": "^4.0.0",
|
|
30
30
|
"final-form": "4.20.1",
|
|
31
31
|
"graphql": "^15.1.0",
|
|
@@ -49,7 +49,9 @@
|
|
|
49
49
|
"@types/react": "^16.9.38",
|
|
50
50
|
"@types/yup": "^0.29.10",
|
|
51
51
|
"identity-obj-proxy": "^3.0.0",
|
|
52
|
+
"isomorphic-fetch": "^3.0.0",
|
|
52
53
|
"jest": "^27.0.6",
|
|
54
|
+
"jest-file-snapshot": "^0.5.0",
|
|
53
55
|
"next": "9.4.2",
|
|
54
56
|
"react": "16.14.0",
|
|
55
57
|
"react-dom": "16.14.0",
|