@measured/puck-plugin-heading-analyzer 0.18.2-canary.de48691 → 0.18.2

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
@@ -114,7 +114,7 @@ type Field<Props extends any = any> = TextField | NumberField | TextareaField |
114
114
  } ? Props : any> | ExternalFieldWithAdaptor<Props extends {
115
115
  [key: string]: any;
116
116
  } ? Props : any> | CustomField<Props>;
117
- type FieldProps<ValueType = any, F = Field<any>> = {
117
+ type FieldProps<F = Field<any>, ValueType = any> = {
118
118
  field: F;
119
119
  value: ValueType;
120
120
  id?: string;
@@ -209,7 +209,7 @@ type Overrides = OverridesGeneric<{
209
209
  type FieldRenderFunctions = Omit<{
210
210
  [Type in Field["type"]]: React.FunctionComponent<FieldProps<Extract<Field, {
211
211
  type: Type;
212
- }>> & {
212
+ }>, any> & {
213
213
  children: ReactNode;
214
214
  name: string;
215
215
  }>;
package/dist/index.d.ts CHANGED
@@ -114,7 +114,7 @@ type Field<Props extends any = any> = TextField | NumberField | TextareaField |
114
114
  } ? Props : any> | ExternalFieldWithAdaptor<Props extends {
115
115
  [key: string]: any;
116
116
  } ? Props : any> | CustomField<Props>;
117
- type FieldProps<ValueType = any, F = Field<any>> = {
117
+ type FieldProps<F = Field<any>, ValueType = any> = {
118
118
  field: F;
119
119
  value: ValueType;
120
120
  id?: string;
@@ -209,7 +209,7 @@ type Overrides = OverridesGeneric<{
209
209
  type FieldRenderFunctions = Omit<{
210
210
  [Type in Field["type"]]: React.FunctionComponent<FieldProps<Extract<Field, {
211
211
  type: Type;
212
- }>> & {
212
+ }>, any> & {
213
213
  children: ReactNode;
214
214
  name: string;
215
215
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.18.2-canary.de48691",
3
+ "version": "0.18.2",
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.2-canary.de48691",
28
+ "@measured/puck": "^0.18.2",
29
29
  "@types/react": "^19.0.1",
30
30
  "@types/react-dom": "^19.0.2",
31
31
  "eslint": "^7.32.0",