tempo-sdk 0.0.57 → 0.0.60
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/canvas/editor.js +1 -1
- package/dist/canvas/index.d.ts +4 -2
- package/dist/canvas/index.js +100 -20
- package/dist/canvas/index.js.map +1 -1
- package/dist/canvas/interact-projection.js +1 -1
- package/dist/canvas/parser.js +1 -1
- package/dist/canvas/svelte.d.ts +1 -1
- package/dist/canvas/svelte.js +1 -1
- package/dist/{chunk-U3SLJNRS.js → chunk-7DT5DDSH.js} +1 -1
- package/dist/chunk-7DT5DDSH.js.map +1 -0
- package/dist/{chunk-QXL6GL2P.js → chunk-FQSZRVSL.js} +3 -3
- package/dist/{chunk-QXL6GL2P.js.map → chunk-FQSZRVSL.js.map} +1 -1
- package/dist/{chunk-U64AHDHZ.js → chunk-MXKZZOLM.js} +14 -4
- package/dist/chunk-MXKZZOLM.js.map +1 -0
- package/dist/{chunk-EMYYTS6D.js → chunk-OTVBSF7U.js} +3 -3
- package/dist/{chunk-EMYYTS6D.js.map → chunk-OTVBSF7U.js.map} +1 -1
- package/dist/{chunk-RHHVVWAC.js → chunk-VMTQDG4U.js} +3 -3
- package/dist/{chunk-RHHVVWAC.js.map → chunk-VMTQDG4U.js.map} +1 -1
- package/dist/expo/plugin.cjs +2 -2
- package/dist/expo/plugin.cjs.map +1 -1
- package/dist/expo/plugin.js +1 -1
- package/dist/expo-babel-plugin.cjs +2 -2
- package/dist/expo-babel-plugin.cjs.map +1 -1
- package/dist/expo-babel-plugin.js +1 -1
- package/dist/index.js +211 -40
- package/dist/index.js.map +1 -1
- package/dist/nextjs/plugin.cjs +2 -2
- package/dist/nextjs/plugin.cjs.map +1 -1
- package/dist/nextjs/plugin.js +1 -1
- package/dist/nextjs-loader.cjs +4 -4
- package/dist/nextjs-loader.cjs.map +1 -1
- package/dist/nextjs.cjs +2 -2
- package/dist/nextjs.cjs.map +1 -1
- package/dist/nextjs.js +1 -1
- package/dist/{storyboard-BtQuVGpl.d.ts → storyboard-DjOF61B_.d.ts} +2 -0
- package/package.json +2 -2
- package/dist/chunk-U3SLJNRS.js.map +0 -1
- package/dist/chunk-U64AHDHZ.js.map +0 -1
|
@@ -483,13 +483,13 @@ function readStoryboard(element, component, imports, legacyObjects, source, glob
|
|
|
483
483
|
if (component === "HtmlStoryboard") {
|
|
484
484
|
const filepath = readStringAttribute(openingElement, "filepath");
|
|
485
485
|
const src = readStringAttribute(openingElement, "src");
|
|
486
|
-
storyboard.filepath = filepath?.value;
|
|
486
|
+
storyboard.filepath = filepath?.value.trim() ? filepath.value : void 0;
|
|
487
487
|
storyboard.filepathSpan = filepath?.valueSpan;
|
|
488
488
|
storyboard.filepathAttributeSpan = filepath?.attributeSpan;
|
|
489
489
|
storyboard.src = src?.value;
|
|
490
490
|
storyboard.srcSpan = src?.valueSpan;
|
|
491
491
|
storyboard.srcAttributeSpan = src?.attributeSpan;
|
|
492
|
-
if (!filepath && !src) {
|
|
492
|
+
if (!filepath?.value.trim() && !src?.value.trim()) {
|
|
493
493
|
errors.push({
|
|
494
494
|
message: '<HtmlStoryboard> must include a literal "filepath" or "src" prop',
|
|
495
495
|
span: toSpan(openingElement),
|
|
@@ -1582,4 +1582,4 @@ function tempoExpoBabelPlugin(api, rawOptions = {}) {
|
|
|
1582
1582
|
export {
|
|
1583
1583
|
tempoExpoBabelPlugin
|
|
1584
1584
|
};
|
|
1585
|
-
//# sourceMappingURL=chunk-
|
|
1585
|
+
//# sourceMappingURL=chunk-OTVBSF7U.js.map
|