@micromag/core 0.3.33 → 0.3.34

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/hooks.js CHANGED
@@ -549,7 +549,7 @@ var useLoadedFonts = function useLoadedFonts(fonts) {
549
549
 
550
550
  if ((type === 'google' || type === 'custom') && !isFontLoading(name) && !isFontActive(name)) {
551
551
  return _objectSpread(_objectSpread({}, newConfig), {}, _defineProperty({}, type, {
552
- families: [].concat(_toConsumableArray(newConfig !== null ? (newConfig[type] || {}).families || [] : []), [name])
552
+ families: [].concat(_toConsumableArray(newConfig !== null ? (newConfig[type] || {}).families || [] : []), [type === 'google' ? "".concat(name, ":400,700") : name])
553
553
  }));
554
554
  }
555
555
 
package/lib/hooks.js CHANGED
@@ -585,7 +585,7 @@ var useLoadedFonts = function useLoadedFonts(fonts) {
585
585
 
586
586
  if ((type === 'google' || type === 'custom') && !isFontLoading(name) && !isFontActive(name)) {
587
587
  return _objectSpread__default["default"](_objectSpread__default["default"]({}, newConfig), {}, _defineProperty__default["default"]({}, type, {
588
- families: [].concat(_toConsumableArray__default["default"](newConfig !== null ? (newConfig[type] || {}).families || [] : []), [name])
588
+ families: [].concat(_toConsumableArray__default["default"](newConfig !== null ? (newConfig[type] || {}).families || [] : []), [type === 'google' ? "".concat(name, ":400,700") : name])
589
589
  }));
590
590
  }
591
591
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.33",
3
+ "version": "0.3.34",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -132,5 +132,5 @@
132
132
  "publishConfig": {
133
133
  "access": "public"
134
134
  },
135
- "gitHead": "78b145a4e40bf65a48494f3dae58b3ce42534684"
135
+ "gitHead": "f8332cb20e6c8cf2cbdba28fc965877684174b2f"
136
136
  }