@measured/puck 0.18.0-canary.cfe4ca8 → 0.18.0-canary.d211707

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.css CHANGED
@@ -1203,7 +1203,7 @@ textarea._Input-input_1h1p1_26 {
1203
1203
  user-select: none;
1204
1204
  -webkit-user-select: none;
1205
1205
  }
1206
- [data-puck-dnd] {
1206
+ [data-puck-dropzone] {
1207
1207
  pointer-events: auto !important;
1208
1208
  }
1209
1209
  [data-puck-disabled] {
package/dist/index.d.mts CHANGED
@@ -100,7 +100,8 @@ type DropZoneContext<UserConfig extends Config = Config> = {
100
100
  unregisterZone?: (zoneCompound: string) => void;
101
101
  activeZones?: Record<string, boolean>;
102
102
  pathData?: PathData;
103
- registerPath?: (selector: ItemSelector) => void;
103
+ registerPath?: (id: string, selector: ItemSelector, label: string) => void;
104
+ unregisterPath?: (id: string) => void;
104
105
  mode?: "edit" | "render";
105
106
  depth: number;
106
107
  registerLocalZone?: (zone: string, active: boolean) => void;
package/dist/index.d.ts CHANGED
@@ -100,7 +100,8 @@ type DropZoneContext<UserConfig extends Config = Config> = {
100
100
  unregisterZone?: (zoneCompound: string) => void;
101
101
  activeZones?: Record<string, boolean>;
102
102
  pathData?: PathData;
103
- registerPath?: (selector: ItemSelector) => void;
103
+ registerPath?: (id: string, selector: ItemSelector, label: string) => void;
104
+ unregisterPath?: (id: string) => void;
104
105
  mode?: "edit" | "render";
105
106
  depth: number;
106
107
  registerLocalZone?: (zone: string, active: boolean) => void;