veo-sdk 0.5.23 → 0.5.24
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/builder-JSL3OZPL.mjs +5 -0
- package/dist/{builder-55UEMBDO.mjs.map → builder-JSL3OZPL.mjs.map} +1 -1
- package/dist/builder.cjs +0 -11
- package/dist/builder.cjs.map +1 -1
- package/dist/builder.mjs +4 -4
- package/dist/{chunk-SKGLEQJF.mjs → chunk-E7CL4HPS.mjs} +3 -3
- package/dist/{chunk-SKGLEQJF.mjs.map → chunk-E7CL4HPS.mjs.map} +1 -1
- package/dist/{chunk-6HYL4GFK.mjs → chunk-GEGPKAAU.mjs} +3 -3
- package/dist/{chunk-6HYL4GFK.mjs.map → chunk-GEGPKAAU.mjs.map} +1 -1
- package/dist/{chunk-4IOKJ4RO.mjs → chunk-Y3OWX2KW.mjs} +2 -13
- package/dist/chunk-Y3OWX2KW.mjs.map +1 -0
- package/dist/index.cjs +1 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/veo-builder.js +6 -6
- package/dist/veo-builder.js.map +1 -1
- package/dist/veo-guides.js +3 -3
- package/dist/veo-guides.js.map +1 -1
- package/package.json +1 -1
- package/dist/builder-55UEMBDO.mjs +0 -5
- package/dist/chunk-4IOKJ4RO.mjs.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { VEO_BLOCK_MIME, attachBlockDropTarget, attachDesignManipulator, createBuilderSession, initBuilderMode, startElementPicker, stopElementPicker } from './chunk-E7CL4HPS.mjs';
|
|
2
|
+
import './chunk-Y3OWX2KW.mjs';
|
|
3
|
+
import './chunk-PTG3BTJE.mjs';
|
|
4
|
+
//# sourceMappingURL=builder-JSL3OZPL.mjs.map
|
|
5
|
+
//# sourceMappingURL=builder-JSL3OZPL.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"builder-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"builder-JSL3OZPL.mjs"}
|
package/dist/builder.cjs
CHANGED
|
@@ -2306,7 +2306,6 @@ var CompositeRenderer = class extends BaseRenderer {
|
|
|
2306
2306
|
if (closeColor) closeBtn.style.color = closeColor;
|
|
2307
2307
|
const closePos = typeof design.closePosition === "string" ? design.closePosition : "top-right";
|
|
2308
2308
|
applyClosePosition(closeBtn, closePos);
|
|
2309
|
-
reserveCloseSpace(card, closePos);
|
|
2310
2309
|
if (hoverColor) {
|
|
2311
2310
|
closeBtn.addEventListener("mouseenter", () => {
|
|
2312
2311
|
closeBtn.style.color = hoverColor;
|
|
@@ -2539,16 +2538,6 @@ function applyClosePosition(btn, position) {
|
|
|
2539
2538
|
s.setProperty(vertical, CLOSE_INSET);
|
|
2540
2539
|
s.setProperty(horizontal, CLOSE_INSET);
|
|
2541
2540
|
}
|
|
2542
|
-
var CLOSE_RESERVE = "34px";
|
|
2543
|
-
function reserveCloseSpace(card, position) {
|
|
2544
|
-
const blocks = Array.from(card.children).filter(
|
|
2545
|
-
(c) => c instanceof HTMLElement && !c.classList.contains("veo-guide-close")
|
|
2546
|
-
);
|
|
2547
|
-
if (blocks.length === 0) return;
|
|
2548
|
-
const target = position.includes("bottom") ? blocks[blocks.length - 1] : blocks[0];
|
|
2549
|
-
if (!target) return;
|
|
2550
|
-
target.style[position.includes("left") ? "paddingLeft" : "paddingRight"] = CLOSE_RESERVE;
|
|
2551
|
-
}
|
|
2552
2541
|
function makeCaret(doc, design) {
|
|
2553
2542
|
const caret = doc.createElement("div");
|
|
2554
2543
|
caret.className = "veo-composite-caret";
|