veo-sdk 0.3.11 → 0.3.12

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.
@@ -0,0 +1,5 @@
1
+ export { createBuilderSession, initBuilderMode, startElementPicker, stopElementPicker } from './chunk-US3RVEXR.mjs';
2
+ import './chunk-QSMHZVDK.mjs';
3
+ import './chunk-PTG3BTJE.mjs';
4
+ //# sourceMappingURL=builder-K2NEYSSB.mjs.map
5
+ //# sourceMappingURL=builder-K2NEYSSB.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"builder-V4OZGEVP.mjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"builder-K2NEYSSB.mjs"}
package/dist/builder.cjs CHANGED
@@ -1069,7 +1069,11 @@ function buildSrcdoc(html, css, js, token, opts) {
1069
1069
  // html{height:100%}, fondo del layout…) que en un iframe embebido lo estirarían a
1070
1070
  // toda la pantalla (caja negra) en vez de ajustarse al contenido. Neutralizamos
1071
1071
  // tamaño/fondo/overflow (mantenemos color y fuente heredados de la app).
1072
- "<style>html,body{margin:0!important;padding:0!important;background:transparent!important;height:auto!important;min-height:0!important;max-height:none!important;width:auto!important;min-width:0!important;overflow:visible!important;}</style>" + tailwind + // Inline en <body>: gana incluso sobre reglas `!important` de la app (p. ej.
1072
+ // `color-scheme:normal` es CLAVE para la transparencia: si el CSS de la app
1073
+ // declara `:root{color-scheme:dark}` y no coincide con el del elemento iframe
1074
+ // del host (normal), el navegador pinta el canvas OPACO (negro) en vez de
1075
+ // transparente — igualamos ambos lados para conservar el fondo transparente.
1076
+ "<style>html,body{margin:0!important;padding:0!important;background:transparent!important;height:auto!important;min-height:0!important;max-height:none!important;width:auto!important;min-width:0!important;overflow:visible!important;color-scheme:normal!important;}</style>" + tailwind + // Inline en <body>: gana incluso sobre reglas `!important` de la app (p. ej.
1073
1077
  // `.dark body{background:#000!important}`) porque el estilo inline tiene la
1074
1078
  // mayor especificidad dentro de la capa important-author.
1075
1079
  `<style>${escapeClosing(css, "style")}</style></head><body style="margin:0!important;background:transparent!important;min-height:0!important;height:auto!important;"><div id="__veo_root">${html}</div><script>${bridge}</script>` + (js ? `<script>${escapeClosing(js, "script")}</script>` : "") + "</body></html>"