@micromag/editor 0.3.250 → 0.3.251
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 +1 -4
- package/lib/index.js +1 -4
- package/package.json +7 -7
package/es/index.js
CHANGED
|
@@ -144,14 +144,11 @@ function getScreenFieldsWithStates(definition) {
|
|
|
144
144
|
repeatable = _ref2$repeatable === void 0 ? false : _ref2$repeatable,
|
|
145
145
|
_ref2$fieldName = _ref2.fieldName,
|
|
146
146
|
fieldName = _ref2$fieldName === void 0 ? null : _ref2$fieldName,
|
|
147
|
-
label = _ref2.label
|
|
148
|
-
_ref2$defaultValue = _ref2.defaultValue,
|
|
149
|
-
defaultValue = _ref2$defaultValue === void 0 ? null : _ref2$defaultValue;
|
|
147
|
+
label = _ref2.label;
|
|
150
148
|
return [].concat(_toConsumableArray(statesFields), _toConsumableArray(repeatable ? [{
|
|
151
149
|
type: 'items',
|
|
152
150
|
name: fieldName || id,
|
|
153
151
|
label: label,
|
|
154
|
-
defaultValue: defaultValue,
|
|
155
152
|
stateId: id,
|
|
156
153
|
itemsField: {
|
|
157
154
|
label: label,
|
package/lib/index.js
CHANGED
|
@@ -164,14 +164,11 @@ function getScreenFieldsWithStates(definition) {
|
|
|
164
164
|
repeatable = _ref2$repeatable === void 0 ? false : _ref2$repeatable,
|
|
165
165
|
_ref2$fieldName = _ref2.fieldName,
|
|
166
166
|
fieldName = _ref2$fieldName === void 0 ? null : _ref2$fieldName,
|
|
167
|
-
label = _ref2.label
|
|
168
|
-
_ref2$defaultValue = _ref2.defaultValue,
|
|
169
|
-
defaultValue = _ref2$defaultValue === void 0 ? null : _ref2$defaultValue;
|
|
167
|
+
label = _ref2.label;
|
|
170
168
|
return [].concat(_toConsumableArray__default["default"](statesFields), _toConsumableArray__default["default"](repeatable ? [{
|
|
171
169
|
type: 'items',
|
|
172
170
|
name: fieldName || id,
|
|
173
171
|
label: label,
|
|
174
|
-
defaultValue: defaultValue,
|
|
175
172
|
stateId: id,
|
|
176
173
|
itemsField: {
|
|
177
174
|
label: label,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/editor",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.251",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
63
63
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
64
64
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
65
|
-
"@micromag/core": "^0.3.
|
|
66
|
-
"@micromag/elements": "^0.3.
|
|
67
|
-
"@micromag/fields": "^0.3.
|
|
68
|
-
"@micromag/screens": "^0.3.
|
|
69
|
-
"@micromag/viewer": "^0.3.
|
|
65
|
+
"@micromag/core": "^0.3.251",
|
|
66
|
+
"@micromag/elements": "^0.3.251",
|
|
67
|
+
"@micromag/fields": "^0.3.251",
|
|
68
|
+
"@micromag/screens": "^0.3.251",
|
|
69
|
+
"@micromag/viewer": "^0.3.251",
|
|
70
70
|
"classnames": "^2.2.6",
|
|
71
71
|
"lodash": "^4.17.21",
|
|
72
72
|
"prop-types": "^15.7.2",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "3b6fb00baaa7f3ab90684a88cbe4c30929b6b27d"
|
|
85
85
|
}
|