@innovastudio/contentbuilder 1.1.16 → 1.1.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "",
5
5
  "main": "public/contentbuilder/contentbuilder.esm.js",
6
6
  "files": [
@@ -56641,6 +56641,8 @@ class ElementTextStyles {
56641
56641
  <option value="em">em</option>
56642
56642
  <option value="vw">vw</option>
56643
56643
  <option value="vh">vh</option>
56644
+ <option value="vmin">vmin</option>
56645
+ <option value="vmax">vmax</option>
56644
56646
  <option value="%">%</option>
56645
56647
  </select>
56646
56648
  </div>
@@ -57065,6 +57067,14 @@ class ElementTextStyles {
57065
57067
  sFontSizeUnit = 'vh';
57066
57068
  }
57067
57069
 
57070
+ if (s.indexOf('vmin') !== -1) {
57071
+ sFontSizeUnit = 'vmin';
57072
+ }
57073
+
57074
+ if (s.indexOf('vmax') !== -1) {
57075
+ sFontSizeUnit = 'vmax';
57076
+ }
57077
+
57068
57078
  if (s.indexOf('%') !== -1) {
57069
57079
  sFontSizeUnit = '%';
57070
57080
  }
@@ -66849,12 +66859,8 @@ class ContentBuilder {
66849
66859
  imageResizer.style.left = '-10px';
66850
66860
  imageResizer.style.width = '1px';
66851
66861
  imageResizer.style.height = '1px';
66852
-
66853
- try {
66854
- this.moveable.updateRect();
66855
- document.querySelector('.moveable-control-box').style.display = 'none';
66856
- } catch (e) {// Do Nothing
66857
- }
66862
+ this.moveable.updateRect();
66863
+ document.querySelector('.moveable-control-box').style.display = 'none';
66858
66864
  }
66859
66865
 
66860
66866
  if (!(a || b || c || d || f || g || h || i || j || o || isSpecialElement) || rowClicked && !i || containerClicked) {