@micromag/editor 0.3.748 → 0.3.750

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.
Files changed (2) hide show
  1. package/es/index.js +2 -1
  2. package/package.json +3 -3
package/es/index.js CHANGED
@@ -22,6 +22,7 @@ import { Fields, FieldsProvider } from '@micromag/fields';
22
22
  import { v1 } from 'uuid';
23
23
  import { getSizeWithinBounds } from '@folklore/size';
24
24
  import { Viewer } from '@micromag/viewer';
25
+ import _arrayLikeToArray from '@babel/runtime/helpers/arrayLikeToArray';
25
26
  import _toArray from '@babel/runtime/helpers/toArray';
26
27
  import { faPlus } from '@fortawesome/free-solid-svg-icons/faPlus';
27
28
  import { faTimesCircle } from '@fortawesome/free-solid-svg-icons/faTimesCircle';
@@ -1268,7 +1269,7 @@ function ScreenStates(_ref) {
1268
1269
  _ref3 = _toArray(_ref2),
1269
1270
  _ref3$ = _ref3[0],
1270
1271
  stateParam = _ref3$ === void 0 ? null : _ref3$,
1271
- stateIndexes = _ref3.slice(1);
1272
+ stateIndexes = _arrayLikeToArray(_ref3).slice(1);
1272
1273
  var stateIndex = stateIndexes.find(function (it) {
1273
1274
  return it.match(/^[0-9]+$/) !== null;
1274
1275
  }) || null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/editor",
3
- "version": "0.3.748",
3
+ "version": "0.3.750",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -75,7 +75,7 @@
75
75
  "@micromag/elements": "^0.3.743",
76
76
  "@micromag/fields": "^0.3.743",
77
77
  "@micromag/screens": "^0.3.748",
78
- "@micromag/viewer": "^0.3.748",
78
+ "@micromag/viewer": "^0.3.750",
79
79
  "@panneau/uppy": "^3.0.162",
80
80
  "classnames": "^2.2.6",
81
81
  "lodash": "^4.17.21",
@@ -91,5 +91,5 @@
91
91
  "access": "public",
92
92
  "registry": "https://registry.npmjs.org/"
93
93
  },
94
- "gitHead": "b4675f8153c4359998d526bf1c447aed882c08bd"
94
+ "gitHead": "41568978d060bb1068c8deb86924fde549799506"
95
95
  }