@measured/puck 0.18.3-canary.098fdd1 → 0.18.3-canary.934cfae

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.js CHANGED
@@ -5045,7 +5045,7 @@ var DragDropContextClient = ({
5045
5045
  disableAutoScroll
5046
5046
  }) => {
5047
5047
  const { state, config, dispatch, resolveData } = useAppContext();
5048
- const id = useSafeId();
5048
+ const id = (0, import_react32.useId)();
5049
5049
  const { data } = state;
5050
5050
  const debouncedParamsRef = (0, import_react32.useRef)(null);
5051
5051
  const tempDisableFallback = useTempDisableFallback(100);
@@ -5528,7 +5528,7 @@ var Drawer = ({
5528
5528
  "Warning: The `direction` prop on Drawer is deprecated and no longer required to achieve multi-directional dragging."
5529
5529
  );
5530
5530
  }
5531
- const id = useSafeId();
5531
+ const id = (0, import_react33.useId)();
5532
5532
  const { ref } = useDroppableSafe({
5533
5533
  id,
5534
5534
  type: "void",
package/dist/index.mjs CHANGED
@@ -3128,7 +3128,7 @@ init_react_import();
3128
3128
  var styles_module_default10 = { "Drawer": "_Drawer_fkqfo_1", "Drawer-draggable": "_Drawer-draggable_fkqfo_8", "Drawer-draggableBg": "_Drawer-draggableBg_fkqfo_12", "Drawer-draggableFg": "_Drawer-draggableFg_fkqfo_21", "DrawerItem-draggable": "_DrawerItem-draggable_fkqfo_25", "DrawerItem--disabled": "_DrawerItem--disabled_fkqfo_38", "DrawerItem": "_DrawerItem_fkqfo_25", "Drawer--isDraggingFrom": "_Drawer--isDraggingFrom_fkqfo_48", "DrawerItem-name": "_DrawerItem-name_fkqfo_66" };
3129
3129
 
3130
3130
  // components/Drawer/index.tsx
3131
- import { useMemo as useMemo9, useState as useState19 } from "react";
3131
+ import { useId as useId2, useMemo as useMemo9, useState as useState19 } from "react";
3132
3132
 
3133
3133
  // components/DragDropContext/index.tsx
3134
3134
  init_react_import();
@@ -3138,6 +3138,7 @@ import {
3138
3138
  useCallback as useCallback11,
3139
3139
  useContext as useContext7,
3140
3140
  useEffect as useEffect15,
3141
+ useId,
3141
3142
  useRef as useRef4,
3142
3143
  useState as useState18
3143
3144
  } from "react";
@@ -4898,7 +4899,7 @@ var DragDropContextClient = ({
4898
4899
  disableAutoScroll
4899
4900
  }) => {
4900
4901
  const { state, config, dispatch, resolveData } = useAppContext();
4901
- const id = useSafeId();
4902
+ const id = useId();
4902
4903
  const { data } = state;
4903
4904
  const debouncedParamsRef = useRef4(null);
4904
4905
  const tempDisableFallback = useTempDisableFallback(100);
@@ -5381,7 +5382,7 @@ var Drawer = ({
5381
5382
  "Warning: The `direction` prop on Drawer is deprecated and no longer required to achieve multi-directional dragging."
5382
5383
  );
5383
5384
  }
5384
- const id = useSafeId();
5385
+ const id = useId2();
5385
5386
  const { ref } = useDroppableSafe({
5386
5387
  id,
5387
5388
  type: "void",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.18.3-canary.098fdd1",
3
+ "version": "0.18.3-canary.934cfae",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -75,7 +75,7 @@
75
75
  "react-hotkeys-hook": "^4.6.1",
76
76
  "use-debounce": "^9.0.4",
77
77
  "uuid": "^9.0.1",
78
- "zustand": "^4.5.6"
78
+ "zustand": "^5.0.2"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0"