@measured/puck 0.18.0-canary.1f76f81 → 0.18.0-canary.29e5580
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.css +1 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +197 -128
- package/dist/index.mjs +188 -119
- package/package.json +1 -1
package/dist/index.css
CHANGED
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;
|