@uniformdev/canvas-react 20.39.3-alpha.11 → 20.41.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.
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.esm.js +3 -2
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -159,6 +159,13 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
159
159
|
name: string;
|
|
160
160
|
value?: string;
|
|
161
161
|
helpText?: string;
|
|
162
|
+
optionsSource?: {
|
|
163
|
+
source: "static";
|
|
164
|
+
options: {
|
|
165
|
+
name: string;
|
|
166
|
+
value: string;
|
|
167
|
+
}[];
|
|
168
|
+
};
|
|
162
169
|
}[];
|
|
163
170
|
previewValue?: string;
|
|
164
171
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -159,6 +159,13 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
159
159
|
name: string;
|
|
160
160
|
value?: string;
|
|
161
161
|
helpText?: string;
|
|
162
|
+
optionsSource?: {
|
|
163
|
+
source: "static";
|
|
164
|
+
options: {
|
|
165
|
+
name: string;
|
|
166
|
+
value: string;
|
|
167
|
+
}[];
|
|
168
|
+
};
|
|
162
169
|
}[];
|
|
163
170
|
previewValue?: string;
|
|
164
171
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -392,8 +392,9 @@ function UniformComposition({
|
|
|
392
392
|
resolveRenderer,
|
|
393
393
|
contextualEditingEnhancer,
|
|
394
394
|
contextualEditingDefaultPlaceholder,
|
|
395
|
-
|
|
396
|
-
|
|
395
|
+
// provide default non-undefined values to avoid serialization issues
|
|
396
|
+
matchedRoute = "",
|
|
397
|
+
dynamicInputs = {}
|
|
397
398
|
}) {
|
|
398
399
|
const maybeContext = useUniformContext({ throwOnMissingProvider: false });
|
|
399
400
|
useEffect2(() => {
|
package/dist/index.js
CHANGED
|
@@ -415,8 +415,9 @@ function UniformComposition({
|
|
|
415
415
|
resolveRenderer,
|
|
416
416
|
contextualEditingEnhancer,
|
|
417
417
|
contextualEditingDefaultPlaceholder,
|
|
418
|
-
|
|
419
|
-
|
|
418
|
+
// provide default non-undefined values to avoid serialization issues
|
|
419
|
+
matchedRoute = "",
|
|
420
|
+
dynamicInputs = {}
|
|
420
421
|
}) {
|
|
421
422
|
const maybeContext = (0, import_context_react2.useUniformContext)({ throwOnMissingProvider: false });
|
|
422
423
|
(0, import_react7.useEffect)(() => {
|
package/dist/index.mjs
CHANGED
|
@@ -392,8 +392,9 @@ function UniformComposition({
|
|
|
392
392
|
resolveRenderer,
|
|
393
393
|
contextualEditingEnhancer,
|
|
394
394
|
contextualEditingDefaultPlaceholder,
|
|
395
|
-
|
|
396
|
-
|
|
395
|
+
// provide default non-undefined values to avoid serialization issues
|
|
396
|
+
matchedRoute = "",
|
|
397
|
+
dynamicInputs = {}
|
|
397
398
|
}) {
|
|
398
399
|
const maybeContext = useUniformContext({ throwOnMissingProvider: false });
|
|
399
400
|
useEffect2(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-react",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.41.0",
|
|
4
4
|
"description": "React SDK for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"document:prebuild": "api-extractor run --local"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@uniformdev/canvas": "20.
|
|
49
|
-
"@uniformdev/context": "20.
|
|
50
|
-
"@uniformdev/context-react": "20.
|
|
51
|
-
"@uniformdev/richtext": "20.
|
|
48
|
+
"@uniformdev/canvas": "20.41.0",
|
|
49
|
+
"@uniformdev/context": "20.41.0",
|
|
50
|
+
"@uniformdev/context-react": "20.41.0",
|
|
51
|
+
"@uniformdev/richtext": "20.41.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"immer": ">= 10",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "0ec454ba75fa0b042566d38359e1db3bca61c30d"
|
|
71
71
|
}
|