@measured/puck 0.10.1-canary.cc20c52 → 0.11.0-canary.6145c32

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3278,7 +3278,7 @@ var ArrayField = ({
3278
3278
  ref: provided.innerRef,
3279
3279
  className: getClassName6({
3280
3280
  isDraggingFrom: !!snapshot.draggingFromThisWith,
3281
- hasItems: value.length > 0
3281
+ hasItems: Array.isArray(value) && value.length > 0
3282
3282
  }),
3283
3283
  children: [
3284
3284
  Array.isArray(value) && value.length > 0 ? arrayState.items.map(({ _arrayId, data }, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.10.1-canary.cc20c52",
3
+ "version": "0.11.0-canary.6145c32",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",