@measured/puck-plugin-emotion-cache 0.19.1 → 0.20.0-canary.755737e8
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 +6 -1
- package/dist/index.d.ts +6 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
@@ -178,6 +178,7 @@ type RenderFunc<Props extends {
|
|
178
178
|
} = {
|
179
179
|
children: ReactNode;
|
180
180
|
}> = (props: Props) => ReactElement;
|
181
|
+
|
181
182
|
declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "components", "componentItem", "outline", "puck", "preview"];
|
182
183
|
type OverrideKey = (typeof overrideKeys)[number];
|
183
184
|
type OverridesGeneric<Shape extends {
|
@@ -246,7 +247,11 @@ type Viewport = {
|
|
246
247
|
};
|
247
248
|
|
248
249
|
type Plugin = {
|
249
|
-
|
250
|
+
name?: string;
|
251
|
+
label?: string;
|
252
|
+
icon?: ReactNode;
|
253
|
+
render?: () => ReactElement;
|
254
|
+
overrides?: Partial<Overrides>;
|
250
255
|
};
|
251
256
|
|
252
257
|
declare const createEmotionCachePlugin: (key: string) => Plugin;
|
package/dist/index.d.ts
CHANGED
@@ -178,6 +178,7 @@ type RenderFunc<Props extends {
|
|
178
178
|
} = {
|
179
179
|
children: ReactNode;
|
180
180
|
}> = (props: Props) => ReactElement;
|
181
|
+
|
181
182
|
declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "components", "componentItem", "outline", "puck", "preview"];
|
182
183
|
type OverrideKey = (typeof overrideKeys)[number];
|
183
184
|
type OverridesGeneric<Shape extends {
|
@@ -246,7 +247,11 @@ type Viewport = {
|
|
246
247
|
};
|
247
248
|
|
248
249
|
type Plugin = {
|
249
|
-
|
250
|
+
name?: string;
|
251
|
+
label?: string;
|
252
|
+
icon?: ReactNode;
|
253
|
+
render?: () => ReactElement;
|
254
|
+
overrides?: Partial<Overrides>;
|
250
255
|
};
|
251
256
|
|
252
257
|
declare const createEmotionCachePlugin: (key: string) => Plugin;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-emotion-cache",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.20.0-canary.755737e8",
|
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.
|
26
|
+
"@measured/puck": "^0.20.0-canary.755737e8",
|
27
27
|
"@types/react": "^19.0.1",
|
28
28
|
"@types/react-dom": "^19.0.2",
|
29
29
|
"eslint": "^7.32.0",
|