@alpaca-headless/alpaca-headless-nextjs 1.0.3934 → 1.0.3938

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import React, { useState, useEffect, Fragment, useCallback, } from "react";
4
- export function MultiComponentEditor({ children, component, placeholderName, thumbZoom, thumbWidth = "200px", thumbHeight = "112px", }) {
4
+ export function MultiComponentEditor({ children, component, placeholderName, thumbZoom, thumbWidth, thumbHeight, }) {
5
5
  const [selectedId, setSelectedId] = useState(null);
6
6
  const placeholder = component.placeholders.find((x) => x.name === placeholderName);
7
7
  if (!placeholder)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpaca-headless/alpaca-headless-nextjs",
3
- "version": "1.0.3934",
3
+ "version": "1.0.3938",
4
4
  "type": "module",
5
5
  "description": "Alpaca Headless",
6
6
  "main": "dist/index.js",
@@ -52,7 +52,7 @@
52
52
  "typescript": "^5"
53
53
  },
54
54
  "dependencies": {
55
- "@alpaca-headless/alpaca-headless": "^1.0.3934",
55
+ "@alpaca-headless/alpaca-headless": "^1.0.3938",
56
56
  "axios": "^1.8.1",
57
57
  "https-proxy-agent": "^7.0.4",
58
58
  "next": "^14.2.4",
@@ -24,8 +24,8 @@ export function MultiComponentEditor({
24
24
  component,
25
25
  placeholderName,
26
26
  thumbZoom,
27
- thumbWidth = "200px",
28
- thumbHeight = "112px",
27
+ thumbWidth,
28
+ thumbHeight,
29
29
  }: MultiComponentEditorProps) {
30
30
  const [selectedId, setSelectedId] = useState<string | null>(null);
31
31
  const placeholder = component.placeholders.find(