@micromag/editor 0.3.383 → 0.3.385

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
@@ -3343,7 +3343,9 @@ var SettingsForm = function SettingsForm(_ref) {
3343
3343
  if (field === null) return false;
3344
3344
  var _ref2 = field || {},
3345
3345
  _ref2$type = _ref2.type,
3346
- type = _ref2$type === void 0 ? null : _ref2$type;
3346
+ type = _ref2$type === void 0 ? null : _ref2$type,
3347
+ _ref2$fieldsProps = _ref2.fieldsProps,
3348
+ fieldsProps = _ref2$fieldsProps === void 0 ? null : _ref2$fieldsProps;
3347
3349
  var fieldsManager = useFieldsManager();
3348
3350
  var _ref3 = type !== null ? fieldsManager.getDefinition(type) : field,
3349
3351
  _ref3$component = _ref3.component,
@@ -3369,7 +3371,8 @@ var SettingsForm = function SettingsForm(_ref) {
3369
3371
  value: value,
3370
3372
  onChange: onSettingsChange,
3371
3373
  gotoFieldForm: gotoFieldForm,
3372
- closeFieldForm: closeFieldForm
3374
+ closeFieldForm: closeFieldForm,
3375
+ fieldsProps: fieldsProps
3373
3376
  })));
3374
3377
  };
3375
3378
  SettingsForm.propTypes = propTypes$2;
package/lib/index.js CHANGED
@@ -3363,7 +3363,9 @@ var SettingsForm = function SettingsForm(_ref) {
3363
3363
  if (field === null) return false;
3364
3364
  var _ref2 = field || {},
3365
3365
  _ref2$type = _ref2.type,
3366
- type = _ref2$type === void 0 ? null : _ref2$type;
3366
+ type = _ref2$type === void 0 ? null : _ref2$type,
3367
+ _ref2$fieldsProps = _ref2.fieldsProps,
3368
+ fieldsProps = _ref2$fieldsProps === void 0 ? null : _ref2$fieldsProps;
3367
3369
  var fieldsManager = contexts.useFieldsManager();
3368
3370
  var _ref3 = type !== null ? fieldsManager.getDefinition(type) : field,
3369
3371
  _ref3$component = _ref3.component,
@@ -3389,7 +3391,8 @@ var SettingsForm = function SettingsForm(_ref) {
3389
3391
  value: value,
3390
3392
  onChange: onSettingsChange,
3391
3393
  gotoFieldForm: gotoFieldForm,
3392
- closeFieldForm: closeFieldForm
3394
+ closeFieldForm: closeFieldForm,
3395
+ fieldsProps: fieldsProps
3393
3396
  })));
3394
3397
  };
3395
3398
  SettingsForm.propTypes = propTypes$2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/editor",
3
- "version": "0.3.383",
3
+ "version": "0.3.385",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -64,9 +64,9 @@
64
64
  "@fortawesome/react-fontawesome": "^0.1.13",
65
65
  "@micromag/core": "^0.3.379",
66
66
  "@micromag/elements": "^0.3.379",
67
- "@micromag/fields": "^0.3.379",
68
- "@micromag/screens": "^0.3.383",
69
- "@micromag/viewer": "^0.3.383",
67
+ "@micromag/fields": "^0.3.384",
68
+ "@micromag/screens": "^0.3.384",
69
+ "@micromag/viewer": "^0.3.385",
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": "6140884765c711ac050370918687695f9b3c5ee3"
84
+ "gitHead": "b86722f452a57615dec85eb52ff46083d9f25ced"
85
85
  }