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
package/dist/expo/plugin.js
CHANGED
|
@@ -510,13 +510,13 @@ function readStoryboard(element, component, imports, legacyObjects, source, glob
|
|
|
510
510
|
if (component === "HtmlStoryboard") {
|
|
511
511
|
const filepath = readStringAttribute(openingElement, "filepath");
|
|
512
512
|
const src = readStringAttribute(openingElement, "src");
|
|
513
|
-
storyboard.filepath = filepath?.value;
|
|
513
|
+
storyboard.filepath = filepath?.value.trim() ? filepath.value : void 0;
|
|
514
514
|
storyboard.filepathSpan = filepath?.valueSpan;
|
|
515
515
|
storyboard.filepathAttributeSpan = filepath?.attributeSpan;
|
|
516
516
|
storyboard.src = src?.value;
|
|
517
517
|
storyboard.srcSpan = src?.valueSpan;
|
|
518
518
|
storyboard.srcAttributeSpan = src?.attributeSpan;
|
|
519
|
-
if (!filepath && !src) {
|
|
519
|
+
if (!filepath?.value.trim() && !src?.value.trim()) {
|
|
520
520
|
errors.push({
|
|
521
521
|
message: '<HtmlStoryboard> must include a literal "filepath" or "src" prop',
|
|
522
522
|
span: toSpan(openingElement),
|