@gem-sdk/core 2.0.0-staging.117 → 2.0.0-staging.132
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.
|
@@ -255,11 +255,7 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>zus
|
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
getItem: (id)=>{
|
|
258
|
-
|
|
259
|
-
return {
|
|
260
|
-
...item,
|
|
261
|
-
rawChildrens: item?.childrens?.map((v)=>get().state[v])
|
|
262
|
-
};
|
|
258
|
+
return get().state[id];
|
|
263
259
|
},
|
|
264
260
|
removeItem: (id)=>{
|
|
265
261
|
if (id === 'ROOT') {
|
|
@@ -253,11 +253,7 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>cre
|
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
getItem: (id)=>{
|
|
256
|
-
|
|
257
|
-
return {
|
|
258
|
-
...item,
|
|
259
|
-
rawChildrens: item?.childrens?.map((v)=>get().state[v])
|
|
260
|
-
};
|
|
256
|
+
return get().state[id];
|
|
261
257
|
},
|
|
262
258
|
removeItem: (id)=>{
|
|
263
259
|
if (id === 'ROOT') {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7062,7 +7062,6 @@ type BlockEntity = {
|
|
|
7062
7062
|
name?: string;
|
|
7063
7063
|
dateModified?: string | number;
|
|
7064
7064
|
childrens?: string[];
|
|
7065
|
-
rawChildrens?: BlockEntity[];
|
|
7066
7065
|
settings?: Record<string, any>;
|
|
7067
7066
|
advanced?: Record<string, any>;
|
|
7068
7067
|
styles?: Record<string, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "2.0.0-staging.
|
|
3
|
+
"version": "2.0.0-staging.132",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gem-sdk/adapter-shopify": "1.58.0-staging.79",
|
|
31
|
-
"@gem-sdk/styles": "2.0.0-staging.
|
|
31
|
+
"@gem-sdk/styles": "2.0.0-staging.127",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|