@measured/puck-plugin-emotion-cache 0.20.0-canary.77cef35d → 0.20.0-canary.7d869af1
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 +5 -11
- package/dist/index.d.ts +5 -11
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -136,7 +136,6 @@ type Metadata = {
|
|
|
136
136
|
type ItemWithId = {
|
|
137
137
|
_arrayId: string;
|
|
138
138
|
_originalIndex: number;
|
|
139
|
-
_currentIndex: number;
|
|
140
139
|
};
|
|
141
140
|
type ArrayState = {
|
|
142
141
|
items: ItemWithId[];
|
|
@@ -170,12 +169,6 @@ type UiState = {
|
|
|
170
169
|
};
|
|
171
170
|
};
|
|
172
171
|
|
|
173
|
-
type RenderFunc<Props extends {
|
|
174
|
-
[key: string]: any;
|
|
175
|
-
} = {
|
|
176
|
-
children: ReactNode;
|
|
177
|
-
}> = (props: Props) => ReactElement;
|
|
178
|
-
|
|
179
172
|
type MapFnParams<ThisField = Field> = {
|
|
180
173
|
value: any;
|
|
181
174
|
parentId: string;
|
|
@@ -193,6 +186,11 @@ type FieldTransforms = Partial<{
|
|
|
193
186
|
[FieldType in Field["type"]]: FieldTransformFn<ExtractField<FieldType>>;
|
|
194
187
|
}>;
|
|
195
188
|
|
|
189
|
+
type RenderFunc<Props extends {
|
|
190
|
+
[key: string]: any;
|
|
191
|
+
} = {
|
|
192
|
+
children: ReactNode;
|
|
193
|
+
}> = (props: Props) => ReactElement;
|
|
196
194
|
declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "drawer", "drawerItem", "componentOverlay", "outline", "puck", "preview"];
|
|
197
195
|
type OverrideKey = (typeof overrideKeys)[number];
|
|
198
196
|
type OverridesGeneric<Shape extends {
|
|
@@ -273,10 +271,6 @@ type Viewport = {
|
|
|
273
271
|
};
|
|
274
272
|
|
|
275
273
|
type Plugin = {
|
|
276
|
-
name?: string;
|
|
277
|
-
label?: string;
|
|
278
|
-
icon?: ReactNode;
|
|
279
|
-
render?: () => ReactElement;
|
|
280
274
|
overrides?: Partial<Overrides>;
|
|
281
275
|
fieldTransforms?: FieldTransforms;
|
|
282
276
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -136,7 +136,6 @@ type Metadata = {
|
|
|
136
136
|
type ItemWithId = {
|
|
137
137
|
_arrayId: string;
|
|
138
138
|
_originalIndex: number;
|
|
139
|
-
_currentIndex: number;
|
|
140
139
|
};
|
|
141
140
|
type ArrayState = {
|
|
142
141
|
items: ItemWithId[];
|
|
@@ -170,12 +169,6 @@ type UiState = {
|
|
|
170
169
|
};
|
|
171
170
|
};
|
|
172
171
|
|
|
173
|
-
type RenderFunc<Props extends {
|
|
174
|
-
[key: string]: any;
|
|
175
|
-
} = {
|
|
176
|
-
children: ReactNode;
|
|
177
|
-
}> = (props: Props) => ReactElement;
|
|
178
|
-
|
|
179
172
|
type MapFnParams<ThisField = Field> = {
|
|
180
173
|
value: any;
|
|
181
174
|
parentId: string;
|
|
@@ -193,6 +186,11 @@ type FieldTransforms = Partial<{
|
|
|
193
186
|
[FieldType in Field["type"]]: FieldTransformFn<ExtractField<FieldType>>;
|
|
194
187
|
}>;
|
|
195
188
|
|
|
189
|
+
type RenderFunc<Props extends {
|
|
190
|
+
[key: string]: any;
|
|
191
|
+
} = {
|
|
192
|
+
children: ReactNode;
|
|
193
|
+
}> = (props: Props) => ReactElement;
|
|
196
194
|
declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "drawer", "drawerItem", "componentOverlay", "outline", "puck", "preview"];
|
|
197
195
|
type OverrideKey = (typeof overrideKeys)[number];
|
|
198
196
|
type OverridesGeneric<Shape extends {
|
|
@@ -273,10 +271,6 @@ type Viewport = {
|
|
|
273
271
|
};
|
|
274
272
|
|
|
275
273
|
type Plugin = {
|
|
276
|
-
name?: string;
|
|
277
|
-
label?: string;
|
|
278
|
-
icon?: ReactNode;
|
|
279
|
-
render?: () => ReactElement;
|
|
280
274
|
overrides?: Partial<Overrides>;
|
|
281
275
|
fieldTransforms?: FieldTransforms;
|
|
282
276
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@measured/puck-plugin-emotion-cache",
|
|
3
|
-
"version": "0.20.0-canary.
|
|
3
|
+
"version": "0.20.0-canary.7d869af1",
|
|
4
4
|
"author": "Chris Villa <chris@puckeditor.com>",
|
|
5
5
|
"repository": "measuredco/puck",
|
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@emotion/react": "^11.13.3",
|
|
26
|
-
"@measured/puck": "^0.20.0-canary.
|
|
26
|
+
"@measured/puck": "^0.20.0-canary.7d869af1",
|
|
27
27
|
"@types/react": "^19.0.1",
|
|
28
28
|
"@types/react-dom": "^19.0.2",
|
|
29
29
|
"eslint": "^7.32.0",
|