@versa_ai/vmml-editor 1.0.50 → 1.0.51

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @versa_ai/vmml-editor@1.0.50 build D:\code\work\vmml-player\packages\editor
2
+ > @versa_ai/vmml-editor@1.0.51 build D:\code\work\vmml-player\packages\editor
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -17,6 +17,7 @@ Recommendation: math.div($px, 750) or calc($px / 750)
17
17
  More info and automated migrator: https://sass-lang.com/d/slash-div [plugin sass-plugin]
18
18
 
19
19
  src/assets/css/colorSelector.scss:4:9:
20
+ DTS Build start
20
21
   4 │ $px / 750
21
22
  ╵ ^
22
23
 
@@ -123,13 +124,12 @@ More info and automated migrator: https://sass-lang.com/d/slash-div [35
123
124
 
124
125
 
125
126
 
126
- DTS Build start
127
127
  CJS dist\index.js 121.84 KB
128
128
  CJS dist\index.js.map 233.86 KB
129
- CJS ⚡️ Build success in 878ms
129
+ CJS ⚡️ Build success in 997ms
130
130
  ESM dist\index.mjs 119.97 KB
131
131
  ESM dist\index.mjs.map 233.56 KB
132
- ESM ⚡️ Build success in 878ms
133
- DTS ⚡️ Build success in 2585ms
132
+ ESM ⚡️ Build success in 998ms
133
+ DTS ⚡️ Build success in 2081ms
134
134
  DTS dist\index.d.ts 158.00 B
135
135
  DTS dist\index.d.mts 158.00 B
package/dist/index.js CHANGED
@@ -2604,13 +2604,13 @@ var EditorFn = ({
2604
2604
  }
2605
2605
  };
2606
2606
  const onControlsClick = () => {
2607
+ setPreviewState(true);
2607
2608
  if (previewState) {
2608
2609
  const { current } = vmmlPlayerRef;
2609
2610
  current.unmute();
2610
2611
  current.play();
2611
2612
  } else {
2612
2613
  setMenuState("");
2613
- setPreviewState(true);
2614
2614
  }
2615
2615
  };
2616
2616
  const onClickMenu = (type) => {