veo-sdk 0.5.31 → 0.5.32

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.cjs CHANGED
@@ -773,6 +773,12 @@ function applyBlockStyle(el, style, kind) {
773
773
  if (kind !== "image" && typeof s.radius === "number" && Number.isFinite(s.radius)) {
774
774
  el.style.borderRadius = `${clampNum(s.radius, 0, 64)}px`;
775
775
  }
776
+ if (typeof s.height === "number" && Number.isFinite(s.height) && s.height > 0) {
777
+ el.style.height = `${clampNum(s.height, 1, 2e3)}px`;
778
+ }
779
+ if (kind !== "image" && typeof s.width === "number" && Number.isFinite(s.width) && s.width > 0) {
780
+ el.style.width = `${clampNum(s.width, 1, 2e3)}px`;
781
+ }
776
782
  for (const side of ["Top", "Right", "Bottom", "Left"]) {
777
783
  const p = s[`padding${side}`];
778
784
  if (typeof p === "number" && Number.isFinite(p)) {