@measured/puck-plugin-heading-analyzer 0.20.0-canary.6dace1cf → 0.20.0-canary.88a4251d
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +10 -3
- package/dist/index.mjs +7 -0
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
@@ -137,6 +137,8 @@ type ArrayState = {
|
|
137
137
|
type UiState = {
|
138
138
|
leftSideBarVisible: boolean;
|
139
139
|
rightSideBarVisible: boolean;
|
140
|
+
leftSideBarWidth?: number | null;
|
141
|
+
rightSideBarWidth?: number | null;
|
140
142
|
itemSelector: ItemSelector | null;
|
141
143
|
arrayState: Record<string, ArrayState | undefined>;
|
142
144
|
previewMode: "interactive" | "edit";
|
package/dist/index.d.ts
CHANGED
@@ -137,6 +137,8 @@ type ArrayState = {
|
|
137
137
|
type UiState = {
|
138
138
|
leftSideBarVisible: boolean;
|
139
139
|
rightSideBarVisible: boolean;
|
140
|
+
leftSideBarWidth?: number | null;
|
141
|
+
rightSideBarWidth?: number | null;
|
140
142
|
itemSelector: ItemSelector | null;
|
141
143
|
arrayState: Record<string, ArrayState | undefined>;
|
142
144
|
previewMode: "interactive" | "edit";
|
package/dist/index.js
CHANGED
@@ -313,7 +313,7 @@ init_react_import();
|
|
313
313
|
|
314
314
|
// src/HeadingAnalyzer.tsx
|
315
315
|
init_react_import();
|
316
|
-
var
|
316
|
+
var import_react12 = require("react");
|
317
317
|
|
318
318
|
// css-module:/home/runner/work/puck/puck/packages/plugin-heading-analyzer/src/HeadingAnalyzer.module.css#css-module
|
319
319
|
init_react_import();
|
@@ -2154,6 +2154,13 @@ init_react_import();
|
|
2154
2154
|
// ../core/lib/data/replace.ts
|
2155
2155
|
init_react_import();
|
2156
2156
|
|
2157
|
+
// ../core/lib/use-reset-auto-zoom.ts
|
2158
|
+
init_react_import();
|
2159
|
+
var import_react11 = require("react");
|
2160
|
+
|
2161
|
+
// ../core/lib/get-zoom-config.ts
|
2162
|
+
init_react_import();
|
2163
|
+
|
2157
2164
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Loader/styles.module.css#css-module
|
2158
2165
|
init_react_import();
|
2159
2166
|
var styles_module_default3 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
|
@@ -2334,8 +2341,8 @@ function buildHierarchy(frame) {
|
|
2334
2341
|
var usePuck = (0, import_puck.createUsePuck)();
|
2335
2342
|
var HeadingAnalyzer = () => {
|
2336
2343
|
const data = usePuck((s) => s.appState.data);
|
2337
|
-
const [hierarchy, setHierarchy] = (0,
|
2338
|
-
(0,
|
2344
|
+
const [hierarchy, setHierarchy] = (0, import_react12.useState)([]);
|
2345
|
+
(0, import_react12.useEffect)(() => {
|
2339
2346
|
const frame = getFrame();
|
2340
2347
|
let entry = frame == null ? void 0 : frame.querySelector(`[data-puck-entry]`);
|
2341
2348
|
const createHierarchy = () => {
|
package/dist/index.mjs
CHANGED
@@ -2142,6 +2142,13 @@ init_react_import();
|
|
2142
2142
|
// ../core/lib/data/replace.ts
|
2143
2143
|
init_react_import();
|
2144
2144
|
|
2145
|
+
// ../core/lib/use-reset-auto-zoom.ts
|
2146
|
+
init_react_import();
|
2147
|
+
import { useCallback as useCallback2 } from "react";
|
2148
|
+
|
2149
|
+
// ../core/lib/get-zoom-config.ts
|
2150
|
+
init_react_import();
|
2151
|
+
|
2145
2152
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Loader/styles.module.css#css-module
|
2146
2153
|
init_react_import();
|
2147
2154
|
var styles_module_default3 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.20.0-canary.
|
3
|
+
"version": "0.20.0-canary.88a4251d",
|
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.20.0-canary.
|
28
|
+
"@measured/puck": "^0.20.0-canary.88a4251d",
|
29
29
|
"@types/react": "^19.0.1",
|
30
30
|
"@types/react-dom": "^19.0.2",
|
31
31
|
"eslint": "^7.32.0",
|