@measured/puck-plugin-heading-analyzer 0.18.3-canary.154e7f7 → 0.19.0-canary.0ea6ce4

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 CHANGED
@@ -15,14 +15,18 @@ type BaseField = {
15
15
  };
16
16
  type TextField = BaseField & {
17
17
  type: "text";
18
+ placeholder?: string;
18
19
  };
19
20
  type NumberField = BaseField & {
20
21
  type: "number";
22
+ placeholder?: string;
21
23
  min?: number;
22
24
  max?: number;
25
+ step?: number;
23
26
  };
24
27
  type TextareaField = BaseField & {
25
28
  type: "textarea";
29
+ placeholder?: string;
26
30
  };
27
31
  type SelectField = BaseField & {
28
32
  type: "select";
package/dist/index.d.ts CHANGED
@@ -15,14 +15,18 @@ type BaseField = {
15
15
  };
16
16
  type TextField = BaseField & {
17
17
  type: "text";
18
+ placeholder?: string;
18
19
  };
19
20
  type NumberField = BaseField & {
20
21
  type: "number";
22
+ placeholder?: string;
21
23
  min?: number;
22
24
  max?: number;
25
+ step?: number;
23
26
  };
24
27
  type TextareaField = BaseField & {
25
28
  type: "textarea";
29
+ placeholder?: string;
26
30
  };
27
31
  type SelectField = BaseField & {
28
32
  type: "select";
package/dist/index.js CHANGED
@@ -402,7 +402,8 @@ var defaultContext = {
402
402
  iframe: {},
403
403
  globalPermissions: {},
404
404
  getPermissions: () => ({}),
405
- refreshPermissions: () => null
405
+ refreshPermissions: () => null,
406
+ metadata: {}
406
407
  };
407
408
  var appContext = (0, import_react6.createContext)(defaultContext);
408
409
  function useAppContext() {
package/dist/index.mjs CHANGED
@@ -400,7 +400,8 @@ var defaultContext = {
400
400
  iframe: {},
401
401
  globalPermissions: {},
402
402
  getPermissions: () => ({}),
403
- refreshPermissions: () => null
403
+ refreshPermissions: () => null,
404
+ metadata: {}
404
405
  };
405
406
  var appContext = createContext(defaultContext);
406
407
  function useAppContext() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.18.3-canary.154e7f7",
3
+ "version": "0.19.0-canary.0ea6ce4",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
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.18.3-canary.154e7f7",
28
+ "@measured/puck": "^0.19.0-canary.0ea6ce4",
29
29
  "@types/react": "^19.0.1",
30
30
  "@types/react-dom": "^19.0.2",
31
31
  "eslint": "^7.32.0",