@uniformdev/canvas-react 19.92.3-alpha.7 → 19.93.1-alpha.40
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 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -31,6 +31,7 @@ type ComponentStore = {
|
|
|
31
31
|
component: React.ComponentType<ComponentProps<any>>;
|
|
32
32
|
}) => void;
|
|
33
33
|
get: (type: string, variantId?: string) => React.ComponentType<ComponentProps<any>> | undefined;
|
|
34
|
+
getComponentsMap: () => Map<string, React.ComponentType<ComponentProps<any>>>;
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ type ComponentStore = {
|
|
|
31
31
|
component: React.ComponentType<ComponentProps<any>>;
|
|
32
32
|
}) => void;
|
|
33
33
|
get: (type: string, variantId?: string) => React.ComponentType<ComponentProps<any>> | undefined;
|
|
34
|
+
getComponentsMap: () => Map<string, React.ComponentType<ComponentProps<any>>>;
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
/**
|
package/dist/index.esm.js
CHANGED
|
@@ -104,7 +104,8 @@ var createComponentStore = () => {
|
|
|
104
104
|
},
|
|
105
105
|
get: (type, variantId) => {
|
|
106
106
|
return components.get(getTypeWithVariant(type, variantId));
|
|
107
|
-
}
|
|
107
|
+
},
|
|
108
|
+
getComponentsMap: () => new Map(components)
|
|
108
109
|
};
|
|
109
110
|
};
|
|
110
111
|
var createComponentStoreResolver = ({ store, defaultComponent = DefaultNotImplementedComponent }) => {
|
|
@@ -385,7 +386,6 @@ function ContextualEditingComponentWrapper({
|
|
|
385
386
|
slotChildrenCount,
|
|
386
387
|
isReadOnly
|
|
387
388
|
},
|
|
388
|
-
isContextualEditing && /* @__PURE__ */ React5.createElement(React5.Fragment, null),
|
|
389
389
|
isPlaceholder && emptyPlaceholder !== void 0 ? emptyPlaceholder : children
|
|
390
390
|
);
|
|
391
391
|
}
|
package/dist/index.js
CHANGED
|
@@ -159,7 +159,8 @@ var createComponentStore = () => {
|
|
|
159
159
|
},
|
|
160
160
|
get: (type, variantId) => {
|
|
161
161
|
return components.get(getTypeWithVariant(type, variantId));
|
|
162
|
-
}
|
|
162
|
+
},
|
|
163
|
+
getComponentsMap: () => new Map(components)
|
|
163
164
|
};
|
|
164
165
|
};
|
|
165
166
|
var createComponentStoreResolver = ({ store, defaultComponent = DefaultNotImplementedComponent }) => {
|
|
@@ -417,7 +418,6 @@ function ContextualEditingComponentWrapper({
|
|
|
417
418
|
slotChildrenCount,
|
|
418
419
|
isReadOnly
|
|
419
420
|
},
|
|
420
|
-
isContextualEditing && /* @__PURE__ */ import_react5.default.createElement(import_react5.default.Fragment, null),
|
|
421
421
|
isPlaceholder && emptyPlaceholder !== void 0 ? emptyPlaceholder : children
|
|
422
422
|
);
|
|
423
423
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -104,7 +104,8 @@ var createComponentStore = () => {
|
|
|
104
104
|
},
|
|
105
105
|
get: (type, variantId) => {
|
|
106
106
|
return components.get(getTypeWithVariant(type, variantId));
|
|
107
|
-
}
|
|
107
|
+
},
|
|
108
|
+
getComponentsMap: () => new Map(components)
|
|
108
109
|
};
|
|
109
110
|
};
|
|
110
111
|
var createComponentStoreResolver = ({ store, defaultComponent = DefaultNotImplementedComponent }) => {
|
|
@@ -385,7 +386,6 @@ function ContextualEditingComponentWrapper({
|
|
|
385
386
|
slotChildrenCount,
|
|
386
387
|
isReadOnly
|
|
387
388
|
},
|
|
388
|
-
isContextualEditing && /* @__PURE__ */ React5.createElement(React5.Fragment, null),
|
|
389
389
|
isPlaceholder && emptyPlaceholder !== void 0 ? emptyPlaceholder : children
|
|
390
390
|
);
|
|
391
391
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-react",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.93.1-alpha.40+6fc526bf8b",
|
|
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": "api-extractor run --local"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@uniformdev/canvas": "19.
|
|
49
|
-
"@uniformdev/context": "19.
|
|
50
|
-
"@uniformdev/context-react": "19.
|
|
51
|
-
"@uniformdev/richtext": "19.
|
|
48
|
+
"@uniformdev/canvas": "19.93.1-alpha.40+6fc526bf8b",
|
|
49
|
+
"@uniformdev/context": "19.93.1-alpha.40+6fc526bf8b",
|
|
50
|
+
"@uniformdev/context-react": "19.93.1-alpha.40+6fc526bf8b",
|
|
51
|
+
"@uniformdev/richtext": "19.93.1-alpha.40+6fc526bf8b"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"react": ">= 16 || 17 || 18",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "6fc526bf8be2c940317c2876080ee9072608356b"
|
|
69
69
|
}
|