@measured/puck-plugin-heading-analyzer 0.19.0 → 0.19.1-canary.083aa3d5
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.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -675,9 +675,10 @@ var stripSlots = (data, config) => {
|
|
675
675
|
};
|
676
676
|
|
677
677
|
// ../core/lib/data/flatten-node.ts
|
678
|
+
var { flatten: flatten2, unflatten } = import_flat.default;
|
678
679
|
var flattenNode = (node, config) => {
|
679
680
|
return __spreadProps(__spreadValues({}, node), {
|
680
|
-
props: (
|
681
|
+
props: flatten2(stripSlots(node, config).props)
|
681
682
|
});
|
682
683
|
};
|
683
684
|
|
package/dist/index.mjs
CHANGED
@@ -663,9 +663,10 @@ var stripSlots = (data, config) => {
|
|
663
663
|
};
|
664
664
|
|
665
665
|
// ../core/lib/data/flatten-node.ts
|
666
|
+
var { flatten: flatten2, unflatten } = import_flat.default;
|
666
667
|
var flattenNode = (node, config) => {
|
667
668
|
return __spreadProps(__spreadValues({}, node), {
|
668
|
-
props: (
|
669
|
+
props: flatten2(stripSlots(node, config).props)
|
669
670
|
});
|
670
671
|
};
|
671
672
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.19.
|
3
|
+
"version": "0.19.1-canary.083aa3d5",
|
4
4
|
"author": "Chris Villa <chris@puckeditor.com>",
|
5
5
|
"repository": "measuredco/puck",
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"dist"
|
26
26
|
],
|
27
27
|
"devDependencies": {
|
28
|
-
"@measured/puck": "^0.19.
|
28
|
+
"@measured/puck": "^0.19.1-canary.083aa3d5",
|
29
29
|
"@types/react": "^19.0.1",
|
30
30
|
"@types/react-dom": "^19.0.2",
|
31
31
|
"eslint": "^7.32.0",
|