@measured/puck-plugin-heading-analyzer 0.12.0-canary.da2bc0f → 0.12.0-canary.f882878
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
@@ -50,7 +50,7 @@ type SetDataAction = {
|
|
50
50
|
};
|
51
51
|
type SetAction = {
|
52
52
|
type: "set";
|
53
|
-
state: Partial<AppState
|
53
|
+
state: Partial<AppState> | ((previous: AppState) => Partial<AppState>);
|
54
54
|
};
|
55
55
|
type RegisterZoneAction = {
|
56
56
|
type: "registerZone";
|
@@ -104,7 +104,6 @@ type Data<Props extends DefaultComponentProps = DefaultComponentProps, RootProps
|
|
104
104
|
type ItemWithId = {
|
105
105
|
_arrayId: string;
|
106
106
|
_originalIndex: number;
|
107
|
-
data: any;
|
108
107
|
};
|
109
108
|
type ArrayState = {
|
110
109
|
items: ItemWithId[];
|
@@ -112,6 +111,7 @@ type ArrayState = {
|
|
112
111
|
};
|
113
112
|
type UiState = {
|
114
113
|
leftSideBarVisible: boolean;
|
114
|
+
rightSideBarVisible: boolean;
|
115
115
|
itemSelector: ItemSelector | null;
|
116
116
|
arrayState: Record<string, ArrayState | undefined>;
|
117
117
|
componentList: Record<string, {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.12.0-canary.
|
3
|
+
"version": "0.12.0-canary.f882878",
|
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.12.0-canary.
|
17
|
+
"@measured/puck": "^0.12.0-canary.f882878",
|
18
18
|
"@types/react": "^18.2.0",
|
19
19
|
"@types/react-dom": "^18.2.0",
|
20
20
|
"eslint": "^7.32.0",
|