@uniformdev/canvas-react 20.39.3-alpha.1 → 20.39.3-alpha.11
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 +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +2 -3
- package/dist/index.js +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -749,9 +749,7 @@ declare function useUniformCurrentComposition(): UniformCompositionContextValue;
|
|
|
749
749
|
* It renders the full tree of components, and provides some services to the children, such as `useUniformCurrentComposition`.
|
|
750
750
|
* It also takes care of enabling [Contextual Editing](https://docs.uniform.app/capabilities/composition/contextual-editing).
|
|
751
751
|
*/
|
|
752
|
-
declare function UniformComposition<TRenderProps = unknown>({ data, behaviorTracking, children, resolveRenderer, contextualEditingEnhancer, contextualEditingDefaultPlaceholder,
|
|
753
|
-
/** provide default non-undefined values to avoid serialization issues */
|
|
754
|
-
matchedRoute, dynamicInputs, }: UniformCompositionProps<TRenderProps>): React$1.JSX.Element;
|
|
752
|
+
declare function UniformComposition<TRenderProps = unknown>({ data, behaviorTracking, children, resolveRenderer, contextualEditingEnhancer, contextualEditingDefaultPlaceholder, matchedRoute, dynamicInputs, }: UniformCompositionProps<TRenderProps>): React$1.JSX.Element;
|
|
755
753
|
|
|
756
754
|
type UniformPlaygroundDecorator = (props: {
|
|
757
755
|
/** The rendered component instance, needs to be wrapped and rendered by the decorator */
|
package/dist/index.d.ts
CHANGED
|
@@ -749,9 +749,7 @@ declare function useUniformCurrentComposition(): UniformCompositionContextValue;
|
|
|
749
749
|
* It renders the full tree of components, and provides some services to the children, such as `useUniformCurrentComposition`.
|
|
750
750
|
* It also takes care of enabling [Contextual Editing](https://docs.uniform.app/capabilities/composition/contextual-editing).
|
|
751
751
|
*/
|
|
752
|
-
declare function UniformComposition<TRenderProps = unknown>({ data, behaviorTracking, children, resolveRenderer, contextualEditingEnhancer, contextualEditingDefaultPlaceholder,
|
|
753
|
-
/** provide default non-undefined values to avoid serialization issues */
|
|
754
|
-
matchedRoute, dynamicInputs, }: UniformCompositionProps<TRenderProps>): React$1.JSX.Element;
|
|
752
|
+
declare function UniformComposition<TRenderProps = unknown>({ data, behaviorTracking, children, resolveRenderer, contextualEditingEnhancer, contextualEditingDefaultPlaceholder, matchedRoute, dynamicInputs, }: UniformCompositionProps<TRenderProps>): React$1.JSX.Element;
|
|
755
753
|
|
|
756
754
|
type UniformPlaygroundDecorator = (props: {
|
|
757
755
|
/** The rendered component instance, needs to be wrapped and rendered by the decorator */
|
package/dist/index.esm.js
CHANGED
|
@@ -392,9 +392,8 @@ function UniformComposition({
|
|
|
392
392
|
resolveRenderer,
|
|
393
393
|
contextualEditingEnhancer,
|
|
394
394
|
contextualEditingDefaultPlaceholder,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
dynamicInputs = {}
|
|
395
|
+
matchedRoute,
|
|
396
|
+
dynamicInputs
|
|
398
397
|
}) {
|
|
399
398
|
const maybeContext = useUniformContext({ throwOnMissingProvider: false });
|
|
400
399
|
useEffect2(() => {
|
package/dist/index.js
CHANGED
|
@@ -415,9 +415,8 @@ function UniformComposition({
|
|
|
415
415
|
resolveRenderer,
|
|
416
416
|
contextualEditingEnhancer,
|
|
417
417
|
contextualEditingDefaultPlaceholder,
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
dynamicInputs = {}
|
|
418
|
+
matchedRoute,
|
|
419
|
+
dynamicInputs
|
|
421
420
|
}) {
|
|
422
421
|
const maybeContext = (0, import_context_react2.useUniformContext)({ throwOnMissingProvider: false });
|
|
423
422
|
(0, import_react7.useEffect)(() => {
|
package/dist/index.mjs
CHANGED
|
@@ -392,9 +392,8 @@ function UniformComposition({
|
|
|
392
392
|
resolveRenderer,
|
|
393
393
|
contextualEditingEnhancer,
|
|
394
394
|
contextualEditingDefaultPlaceholder,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
dynamicInputs = {}
|
|
395
|
+
matchedRoute,
|
|
396
|
+
dynamicInputs
|
|
398
397
|
}) {
|
|
399
398
|
const maybeContext = useUniformContext({ throwOnMissingProvider: false });
|
|
400
399
|
useEffect2(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-react",
|
|
3
|
-
"version": "20.39.3-alpha.
|
|
3
|
+
"version": "20.39.3-alpha.11+b3ab5fb305",
|
|
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.39.3-alpha.
|
|
49
|
-
"@uniformdev/context": "20.39.3-alpha.
|
|
50
|
-
"@uniformdev/context-react": "20.39.3-alpha.
|
|
51
|
-
"@uniformdev/richtext": "20.39.3-alpha.
|
|
48
|
+
"@uniformdev/canvas": "20.39.3-alpha.11+b3ab5fb305",
|
|
49
|
+
"@uniformdev/context": "20.39.3-alpha.11+b3ab5fb305",
|
|
50
|
+
"@uniformdev/context-react": "20.39.3-alpha.11+b3ab5fb305",
|
|
51
|
+
"@uniformdev/richtext": "20.39.3-alpha.11+b3ab5fb305"
|
|
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": "b3ab5fb305533690de4bbd859a69196b6c26ee2f"
|
|
71
71
|
}
|