@puckeditor/plugin-emotion-cache 0.24.0-canary.be1d341d → 0.24.0-canary.c0346c76
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
|
@@ -236,6 +236,7 @@ interface PuckRichTextOptions {
|
|
|
236
236
|
underline: Partial<UnderlineOptions> | false;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
+
type FieldGroupVariant = "flush" | "card";
|
|
239
240
|
type FieldOption = {
|
|
240
241
|
label: string;
|
|
241
242
|
value: string | number | boolean | undefined | null | object;
|
|
@@ -318,7 +319,9 @@ interface ObjectField<Props extends any = {
|
|
|
318
319
|
[key: string]: any;
|
|
319
320
|
}, UserField extends {} = {}> extends BaseField {
|
|
320
321
|
type: "object";
|
|
321
|
-
|
|
322
|
+
collapsible?: boolean;
|
|
323
|
+
defaultExpanded?: boolean;
|
|
324
|
+
variant?: FieldGroupVariant;
|
|
322
325
|
objectFields: {
|
|
323
326
|
[SubPropName in keyof Props]: UserField extends {
|
|
324
327
|
type: PropertyKey;
|
|
@@ -621,6 +624,8 @@ type UiState = {
|
|
|
621
624
|
focus?: string | null;
|
|
622
625
|
metadata?: Record<string, any>;
|
|
623
626
|
};
|
|
627
|
+
/** The selected field tab. Shows the first available tab when `null`. */
|
|
628
|
+
fieldTab?: string | number | null;
|
|
624
629
|
plugin: {
|
|
625
630
|
current: string | null;
|
|
626
631
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -236,6 +236,7 @@ interface PuckRichTextOptions {
|
|
|
236
236
|
underline: Partial<UnderlineOptions> | false;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
+
type FieldGroupVariant = "flush" | "card";
|
|
239
240
|
type FieldOption = {
|
|
240
241
|
label: string;
|
|
241
242
|
value: string | number | boolean | undefined | null | object;
|
|
@@ -318,7 +319,9 @@ interface ObjectField<Props extends any = {
|
|
|
318
319
|
[key: string]: any;
|
|
319
320
|
}, UserField extends {} = {}> extends BaseField {
|
|
320
321
|
type: "object";
|
|
321
|
-
|
|
322
|
+
collapsible?: boolean;
|
|
323
|
+
defaultExpanded?: boolean;
|
|
324
|
+
variant?: FieldGroupVariant;
|
|
322
325
|
objectFields: {
|
|
323
326
|
[SubPropName in keyof Props]: UserField extends {
|
|
324
327
|
type: PropertyKey;
|
|
@@ -621,6 +624,8 @@ type UiState = {
|
|
|
621
624
|
focus?: string | null;
|
|
622
625
|
metadata?: Record<string, any>;
|
|
623
626
|
};
|
|
627
|
+
/** The selected field tab. Shows the first available tab when `null`. */
|
|
628
|
+
fieldTab?: string | number | null;
|
|
624
629
|
plugin: {
|
|
625
630
|
current: string | null;
|
|
626
631
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@puckeditor/plugin-emotion-cache",
|
|
3
|
-
"version": "0.24.0-canary.
|
|
3
|
+
"version": "0.24.0-canary.c0346c76",
|
|
4
4
|
"author": "Chris Villa <chris@puckeditor.com>",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@emotion/react": "^11.13.3",
|
|
25
|
-
"@puckeditor/core": "^0.24.0-canary.
|
|
25
|
+
"@puckeditor/core": "^0.24.0-canary.c0346c76",
|
|
26
26
|
"@types/minimatch": "3.0.5",
|
|
27
27
|
"@types/react": "^19.2.7",
|
|
28
28
|
"@types/react-dom": "^19.0.2",
|