@measured/puck-plugin-heading-analyzer 0.12.0-canary.349f44d → 0.12.0-canary.3f8ebc0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -2
  2. 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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.12.0-canary.349f44d",
3
+ "version": "0.12.0-canary.3f8ebc0",
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.349f44d",
17
+ "@measured/puck": "^0.12.0-canary.3f8ebc0",
18
18
  "@types/react": "^18.2.0",
19
19
  "@types/react-dom": "^18.2.0",
20
20
  "eslint": "^7.32.0",