@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 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
@@ -1274,6 +1274,7 @@ var defaultAppState = {
1274
1274
  data: { content: [], root: { title: "" } },
1275
1275
  ui: {
1276
1276
  leftSideBarVisible: true,
1277
+ rightSideBarVisible: true,
1277
1278
  arrayState: {},
1278
1279
  itemSelector: null,
1279
1280
  componentList: {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.12.0-canary.da2bc0f",
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.da2bc0f",
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",