@measured/puck-plugin-heading-analyzer 0.13.2-canary.7d861f5 → 0.14.0-canary.3816c08

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -13,6 +13,8 @@ type TextField = BaseField & {
13
13
  };
14
14
  type NumberField = BaseField & {
15
15
  type: "number";
16
+ min?: number;
17
+ max?: number;
16
18
  };
17
19
  type TextareaField = BaseField & {
18
20
  type: "textarea";
package/dist/index.js CHANGED
@@ -73124,7 +73124,9 @@ var require_dist = __commonJS({
73124
73124
  }
73125
73125
  },
73126
73126
  readOnly,
73127
- id
73127
+ id,
73128
+ min: field.type === "number" ? field.min : void 0,
73129
+ max: field.type === "number" ? field.max : void 0
73128
73130
  }
73129
73131
  )
73130
73132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.13.2-canary.7d861f5",
3
+ "version": "0.14.0-canary.3816c08",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -18,7 +18,7 @@
18
18
  "dist"
19
19
  ],
20
20
  "devDependencies": {
21
- "@measured/puck": "^0.13.2-canary.7d861f5",
21
+ "@measured/puck": "^0.14.0-canary.3816c08",
22
22
  "@types/react": "^18.2.0",
23
23
  "@types/react-dom": "^18.2.0",
24
24
  "eslint": "^7.32.0",