@measured/puck-plugin-heading-analyzer 0.11.0-canary.b28404f → 0.11.0-canary.c8c02fd
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +3 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -1242,13 +1242,11 @@ var setupZone = (data, zoneKey) => {
|
|
1242
1242
|
};
|
1243
1243
|
|
1244
1244
|
// ../core/lib/get-item.ts
|
1245
|
-
var getItem = (selector, data
|
1245
|
+
var getItem = (selector, data) => {
|
1246
1246
|
if (!selector.zone || selector.zone === rootDroppableId) {
|
1247
|
-
|
1248
|
-
return __spreadProps(__spreadValues({}, item2), { props: dynamicProps[item2.props.id] || item2.props });
|
1247
|
+
return data.content[selector.index];
|
1249
1248
|
}
|
1250
|
-
|
1251
|
-
return __spreadProps(__spreadValues({}, item), { props: dynamicProps[item.props.id] || item.props });
|
1249
|
+
return setupZone(data, selector.zone).zones[selector.zone][selector.index];
|
1252
1250
|
};
|
1253
1251
|
|
1254
1252
|
// ../core/lib/get-zone-id.ts
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.11.0-canary.
|
3
|
+
"version": "0.11.0-canary.c8c02fd",
|
4
4
|
"private": false,
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.ts",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"dist"
|
15
15
|
],
|
16
16
|
"devDependencies": {
|
17
|
-
"@measured/puck": "^0.11.0-canary.
|
17
|
+
"@measured/puck": "^0.11.0-canary.c8c02fd",
|
18
18
|
"@types/react": "^18.2.0",
|
19
19
|
"@types/react-dom": "^18.2.0",
|
20
20
|
"eslint": "^7.32.0",
|