@measured/puck-plugin-heading-analyzer 0.10.0-canary.c276b23 → 0.10.0-canary.e308381
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/package.json +2 -2
package/dist/index.js
CHANGED
@@ -1478,8 +1478,9 @@ function buildHierarchy() {
|
|
1478
1478
|
}
|
1479
1479
|
var HeadingOutlineAnalyer = ({
|
1480
1480
|
children,
|
1481
|
-
|
1481
|
+
state
|
1482
1482
|
}) => {
|
1483
|
+
const { data } = state;
|
1483
1484
|
const [hierarchy, setHierarchy] = (0, import_react6.useState)([]);
|
1484
1485
|
const [firstRender, setFirstRender] = (0, import_react6.useState)(true);
|
1485
1486
|
(0, import_react6.useEffect)(() => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.10.0-canary.
|
3
|
+
"version": "0.10.0-canary.e308381",
|
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.10.0-canary.
|
17
|
+
"@measured/puck": "^0.10.0-canary.e308381",
|
18
18
|
"@types/react": "^18.2.0",
|
19
19
|
"@types/react-dom": "^18.2.0",
|
20
20
|
"eslint": "^7.32.0",
|