@puckeditor/plugin-emotion-cache 0.24.0-canary.88f0052e → 0.24.0-canary.8bebc7ab

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
@@ -53,7 +53,7 @@ type NonForwardableProps = {
53
53
  /**
54
54
  * Keys internally consumed by Puck and never forwarded to `as`.
55
55
  */
56
- type ConsumedPropKey = keyof DropZoneOwnProps | "as" | "content" | "config" | "metadata";
56
+ type ConsumedPropKey = keyof DropZoneOwnProps | "as" | "content" | "config" | "metadata" | "fieldTransforms";
57
57
  /**
58
58
  * Additional props forwarded to the element or component provided via `as`,
59
59
  * typed against it.
@@ -318,7 +318,7 @@ interface ObjectField<Props extends any = {
318
318
  [key: string]: any;
319
319
  }, UserField extends {} = {}> extends BaseField {
320
320
  type: "object";
321
- variant?: "contained" | "collapsible";
321
+ expandable?: boolean;
322
322
  objectFields: {
323
323
  [SubPropName in keyof Props]: UserField extends {
324
324
  type: PropertyKey;
@@ -616,7 +616,7 @@ type UiState = {
616
616
  controlsVisible: boolean;
617
617
  options: Viewport[];
618
618
  };
619
- fieldGroupExpanded: Record<string, boolean>;
619
+ expandedFieldGroups: Record<string, boolean>;
620
620
  field: {
621
621
  focus?: string | null;
622
622
  metadata?: Record<string, any>;
@@ -712,6 +712,8 @@ type Overrides<UserConfig extends Config = Config> = OverridesGeneric<{
712
712
  label?: string;
713
713
  children: ReactNode;
714
714
  parentAction: ReactNode;
715
+ dragHandle?: ReactNode;
716
+ dragHandleRef?: (element: Element | null) => void;
715
717
  }>;
716
718
  headerActions: RenderFunc<{
717
719
  children: ReactNode;
package/dist/index.d.ts CHANGED
@@ -53,7 +53,7 @@ type NonForwardableProps = {
53
53
  /**
54
54
  * Keys internally consumed by Puck and never forwarded to `as`.
55
55
  */
56
- type ConsumedPropKey = keyof DropZoneOwnProps | "as" | "content" | "config" | "metadata";
56
+ type ConsumedPropKey = keyof DropZoneOwnProps | "as" | "content" | "config" | "metadata" | "fieldTransforms";
57
57
  /**
58
58
  * Additional props forwarded to the element or component provided via `as`,
59
59
  * typed against it.
@@ -318,7 +318,7 @@ interface ObjectField<Props extends any = {
318
318
  [key: string]: any;
319
319
  }, UserField extends {} = {}> extends BaseField {
320
320
  type: "object";
321
- variant?: "contained" | "collapsible";
321
+ expandable?: boolean;
322
322
  objectFields: {
323
323
  [SubPropName in keyof Props]: UserField extends {
324
324
  type: PropertyKey;
@@ -616,7 +616,7 @@ type UiState = {
616
616
  controlsVisible: boolean;
617
617
  options: Viewport[];
618
618
  };
619
- fieldGroupExpanded: Record<string, boolean>;
619
+ expandedFieldGroups: Record<string, boolean>;
620
620
  field: {
621
621
  focus?: string | null;
622
622
  metadata?: Record<string, any>;
@@ -712,6 +712,8 @@ type Overrides<UserConfig extends Config = Config> = OverridesGeneric<{
712
712
  label?: string;
713
713
  children: ReactNode;
714
714
  parentAction: ReactNode;
715
+ dragHandle?: ReactNode;
716
+ dragHandleRef?: (element: Element | null) => void;
715
717
  }>;
716
718
  headerActions: RenderFunc<{
717
719
  children: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@puckeditor/plugin-emotion-cache",
3
- "version": "0.24.0-canary.88f0052e",
3
+ "version": "0.24.0-canary.8bebc7ab",
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.88f0052e",
25
+ "@puckeditor/core": "^0.24.0-canary.8bebc7ab",
26
26
  "@types/minimatch": "3.0.5",
27
27
  "@types/react": "^19.2.7",
28
28
  "@types/react-dom": "^19.0.2",