@micromag/core 0.3.15 → 0.3.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/es/hooks.js CHANGED
@@ -1130,11 +1130,11 @@ var useScreenSizeFromElement = function useScreenSizeFromElement() {
1130
1130
  _ref6$landscapeMinHei = _ref6.landscapeMinHeight,
1131
1131
  landscapeMinHeight = _ref6$landscapeMinHei === void 0 ? 600 : _ref6$landscapeMinHei,
1132
1132
  _ref6$landscapeHeight = _ref6.landscapeHeightRatio,
1133
- landscapeHeightRatio = _ref6$landscapeHeight === void 0 ? 3 / 4 : _ref6$landscapeHeight,
1133
+ landscapeHeightRatio = _ref6$landscapeHeight === void 0 ? 2 / 3 : _ref6$landscapeHeight,
1134
1134
  _ref6$screenRatio = _ref6.screenRatio,
1135
- screenRatio = _ref6$screenRatio === void 0 ? 360 / 480 : _ref6$screenRatio,
1135
+ screenRatio = _ref6$screenRatio === void 0 ? 320 / 480 : _ref6$screenRatio,
1136
1136
  _ref6$landscapeMinRat = _ref6.landscapeMinRatio,
1137
- landscapeMinRatio = _ref6$landscapeMinRat === void 0 ? 3 / 4 : _ref6$landscapeMinRat;
1137
+ landscapeMinRatio = _ref6$landscapeMinRat === void 0 ? 2 / 3 : _ref6$landscapeMinRat;
1138
1138
 
1139
1139
  var elementRatio = fullWidth / fullHeight;
1140
1140
  var landscape = fullHeight > 0 && elementRatio > (landscapeMinRatio || screenRatio);
package/lib/hooks.js CHANGED
@@ -1166,11 +1166,11 @@ var useScreenSizeFromElement = function useScreenSizeFromElement() {
1166
1166
  _ref6$landscapeMinHei = _ref6.landscapeMinHeight,
1167
1167
  landscapeMinHeight = _ref6$landscapeMinHei === void 0 ? 600 : _ref6$landscapeMinHei,
1168
1168
  _ref6$landscapeHeight = _ref6.landscapeHeightRatio,
1169
- landscapeHeightRatio = _ref6$landscapeHeight === void 0 ? 3 / 4 : _ref6$landscapeHeight,
1169
+ landscapeHeightRatio = _ref6$landscapeHeight === void 0 ? 2 / 3 : _ref6$landscapeHeight,
1170
1170
  _ref6$screenRatio = _ref6.screenRatio,
1171
- screenRatio = _ref6$screenRatio === void 0 ? 360 / 480 : _ref6$screenRatio,
1171
+ screenRatio = _ref6$screenRatio === void 0 ? 320 / 480 : _ref6$screenRatio,
1172
1172
  _ref6$landscapeMinRat = _ref6.landscapeMinRatio,
1173
- landscapeMinRatio = _ref6$landscapeMinRat === void 0 ? 3 / 4 : _ref6$landscapeMinRat;
1173
+ landscapeMinRatio = _ref6$landscapeMinRat === void 0 ? 2 / 3 : _ref6$landscapeMinRat;
1174
1174
 
1175
1175
  var elementRatio = fullWidth / fullHeight;
1176
1176
  var landscape = fullHeight > 0 && elementRatio > (landscapeMinRatio || screenRatio);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.15",
3
+ "version": "0.3.17",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -132,5 +132,5 @@
132
132
  "publishConfig": {
133
133
  "access": "public"
134
134
  },
135
- "gitHead": "a0d731425a45515bba7628ebc8c546c2f2e0f0d4"
135
+ "gitHead": "7cde59c640f44a8cf78de6c62e6396e9bbf5119d"
136
136
  }