@measured/puck-plugin-heading-analyzer 0.19.0-canary.0308d24 → 0.19.0-canary.036267f6
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 +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +772 -922
- package/dist/index.mjs +765 -921
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
@@ -110,6 +110,9 @@ type CustomField<Props extends any = {}> = BaseField & {
|
|
110
110
|
readOnly?: boolean;
|
111
111
|
}) => ReactElement;
|
112
112
|
};
|
113
|
+
type SlotField = BaseField & {
|
114
|
+
type: "slot";
|
115
|
+
};
|
113
116
|
type Field<Props extends any = any> = TextField | NumberField | TextareaField | SelectField | RadioField | ArrayField<Props extends {
|
114
117
|
[key: string]: any;
|
115
118
|
} ? Props : any> | ObjectField<Props extends {
|
@@ -118,7 +121,7 @@ type Field<Props extends any = any> = TextField | NumberField | TextareaField |
|
|
118
121
|
[key: string]: any;
|
119
122
|
} ? Props : any> | ExternalFieldWithAdaptor<Props extends {
|
120
123
|
[key: string]: any;
|
121
|
-
} ? Props : any> | CustomField<Props
|
124
|
+
} ? Props : any> | CustomField<Props> | SlotField;
|
122
125
|
type FieldProps<F = Field<any>, ValueType = any> = {
|
123
126
|
field: F;
|
124
127
|
value: ValueType;
|
package/dist/index.d.ts
CHANGED
@@ -110,6 +110,9 @@ type CustomField<Props extends any = {}> = BaseField & {
|
|
110
110
|
readOnly?: boolean;
|
111
111
|
}) => ReactElement;
|
112
112
|
};
|
113
|
+
type SlotField = BaseField & {
|
114
|
+
type: "slot";
|
115
|
+
};
|
113
116
|
type Field<Props extends any = any> = TextField | NumberField | TextareaField | SelectField | RadioField | ArrayField<Props extends {
|
114
117
|
[key: string]: any;
|
115
118
|
} ? Props : any> | ObjectField<Props extends {
|
@@ -118,7 +121,7 @@ type Field<Props extends any = any> = TextField | NumberField | TextareaField |
|
|
118
121
|
[key: string]: any;
|
119
122
|
} ? Props : any> | ExternalFieldWithAdaptor<Props extends {
|
120
123
|
[key: string]: any;
|
121
|
-
} ? Props : any> | CustomField<Props
|
124
|
+
} ? Props : any> | CustomField<Props> | SlotField;
|
122
125
|
type FieldProps<F = Field<any>, ValueType = any> = {
|
123
126
|
field: F;
|
124
127
|
value: ValueType;
|