@measured/puck 0.18.3-canary.1d484ee → 0.18.3-canary.551c689

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
@@ -5046,7 +5046,7 @@ var DragDropContextClient = ({
5046
5046
  disableAutoScroll
5047
5047
  }) => {
5048
5048
  const { state, config, dispatch, resolveData } = useAppContext();
5049
- const id = useSafeId();
5049
+ const id = (0, import_react31.useId)();
5050
5050
  const { data } = state;
5051
5051
  const debouncedParamsRef = (0, import_react31.useRef)(null);
5052
5052
  const tempDisableFallback = useTempDisableFallback(100);
@@ -5529,7 +5529,7 @@ var Drawer = ({
5529
5529
  "Warning: The `direction` prop on Drawer is deprecated and no longer required to achieve multi-directional dragging."
5530
5530
  );
5531
5531
  }
5532
- const id = useSafeId();
5532
+ const id = (0, import_react32.useId)();
5533
5533
  const { ref } = useDroppableSafe({
5534
5534
  id,
5535
5535
  type: "void",
package/dist/index.mjs CHANGED
@@ -3121,7 +3121,7 @@ init_react_import();
3121
3121
  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" };
3122
3122
 
3123
3123
  // components/Drawer/index.tsx
3124
- import { useMemo as useMemo9, useState as useState18 } from "react";
3124
+ import { useId as useId2, useMemo as useMemo9, useState as useState18 } from "react";
3125
3125
 
3126
3126
  // components/DragDropContext/index.tsx
3127
3127
  init_react_import();
@@ -3131,6 +3131,7 @@ import {
3131
3131
  useCallback as useCallback11,
3132
3132
  useContext as useContext7,
3133
3133
  useEffect as useEffect15,
3134
+ useId,
3134
3135
  useRef as useRef4,
3135
3136
  useState as useState17
3136
3137
  } from "react";
@@ -4899,7 +4900,7 @@ var DragDropContextClient = ({
4899
4900
  disableAutoScroll
4900
4901
  }) => {
4901
4902
  const { state, config, dispatch, resolveData } = useAppContext();
4902
- const id = useSafeId();
4903
+ const id = useId();
4903
4904
  const { data } = state;
4904
4905
  const debouncedParamsRef = useRef4(null);
4905
4906
  const tempDisableFallback = useTempDisableFallback(100);
@@ -5382,7 +5383,7 @@ var Drawer = ({
5382
5383
  "Warning: The `direction` prop on Drawer is deprecated and no longer required to achieve multi-directional dragging."
5383
5384
  );
5384
5385
  }
5385
- const id = useSafeId();
5386
+ const id = useId2();
5386
5387
  const { ref } = useDroppableSafe({
5387
5388
  id,
5388
5389
  type: "void",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.18.3-canary.1d484ee",
3
+ "version": "0.18.3-canary.551c689",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -75,9 +75,9 @@
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
- "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
81
+ "react": "^18.0.0 || ^19.0.0"
82
82
  }
83
83
  }