@micromag/viewer 0.3.85 → 0.3.86

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/es/index.js CHANGED
@@ -1547,10 +1547,11 @@ var Viewer = function Viewer(_ref) {
1547
1547
  });
1548
1548
  }, [fonts]);
1549
1549
 
1550
- var _useLoadedFonts = useLoadedFonts(finalFonts);
1551
- _useLoadedFonts.loaded; // eslint-disable-line
1550
+ var _useLoadedFonts = useLoadedFonts(finalFonts),
1551
+ fontsLoaded = _useLoadedFonts.loaded; // eslint-disable-line
1552
1552
 
1553
1553
 
1554
+ console.log(fonts, finalFonts, fontsLoaded);
1554
1555
  var isView = renderContext === 'view';
1555
1556
  var isStatic = renderContext === 'static';
1556
1557
  var isCapture = renderContext === 'capture';
package/lib/index.js CHANGED
@@ -1565,10 +1565,11 @@ var Viewer = function Viewer(_ref) {
1565
1565
  });
1566
1566
  }, [fonts]);
1567
1567
 
1568
- var _useLoadedFonts = hooks.useLoadedFonts(finalFonts);
1569
- _useLoadedFonts.loaded; // eslint-disable-line
1568
+ var _useLoadedFonts = hooks.useLoadedFonts(finalFonts),
1569
+ fontsLoaded = _useLoadedFonts.loaded; // eslint-disable-line
1570
1570
 
1571
1571
 
1572
+ console.log(fonts, finalFonts, fontsLoaded);
1572
1573
  var isView = renderContext === 'view';
1573
1574
  var isStatic = renderContext === 'static';
1574
1575
  var isCapture = renderContext === 'capture';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/viewer",
3
- "version": "0.3.85",
3
+ "version": "0.3.86",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -59,12 +59,12 @@
59
59
  "@fortawesome/fontawesome-svg-core": "^1.2.32",
60
60
  "@fortawesome/free-solid-svg-icons": "^5.15.1",
61
61
  "@fortawesome/react-fontawesome": "^0.1.13",
62
- "@micromag/core": "^0.3.81",
63
- "@micromag/element-scroll": "^0.3.81",
64
- "@micromag/elements": "^0.3.84",
65
- "@micromag/fields": "^0.3.84",
66
- "@micromag/intl": "^0.3.85",
67
- "@micromag/screens": "^0.3.84",
62
+ "@micromag/core": "^0.3.86",
63
+ "@micromag/element-scroll": "^0.3.86",
64
+ "@micromag/elements": "^0.3.86",
65
+ "@micromag/fields": "^0.3.86",
66
+ "@micromag/intl": "^0.3.86",
67
+ "@micromag/screens": "^0.3.86",
68
68
  "@react-spring/core": "^9.1.1",
69
69
  "@react-spring/web": "^9.1.1",
70
70
  "@use-gesture/react": "^10.2.4",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "cae783bfaa2311939b7292aa9fd12560be0cd562"
84
+ "gitHead": "063af274982885b7696d265e6567ab8d44c8b9ad"
85
85
  }