@micromag/fields 0.3.742 → 0.3.752

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 +4 -4
  2. package/package.json +8 -8
package/es/index.js CHANGED
@@ -8828,8 +8828,8 @@ var TextEditorField = function TextEditorField(_ref) {
8828
8828
  }
8829
8829
  }, [onChange]);
8830
8830
  return /*#__PURE__*/React.createElement("div", {
8831
- className: classNames([styles$3.container, _defineProperty(_defineProperty({}, styles$3["size-".concat(size)], size !== null), className, className !== null)]),
8832
- id: id
8831
+ id: id,
8832
+ className: classNames([styles$3.container, _defineProperty(_defineProperty({}, styles$3["size-".concat(size)], size !== null), className, className !== null)])
8833
8833
  }, Editor !== null ? /*#__PURE__*/React.createElement(CKEditor, {
8834
8834
  editor: !withFullEditor ? InlineEditor : Editor,
8835
8835
  config: finalEditorConfig,
@@ -8839,10 +8839,10 @@ var TextEditorField = function TextEditorField(_ref) {
8839
8839
  onFocus: onFocus,
8840
8840
  disabled: disabled
8841
8841
  }) : null, linkStyle !== null ? /*#__PURE__*/React.createElement(LinkStyle, {
8842
- selector: "#".concat(id, " .ck-content"),
8842
+ selector: "#".concat(CSS.escape(id), " .ck-content"),
8843
8843
  style: getStyleFromLink(linkStyle)
8844
8844
  }) : null, highlightStyle !== null ? /*#__PURE__*/React.createElement(HighlightStyle, {
8845
- selector: "#".concat(id, " .ck-content"),
8845
+ selector: "#".concat(CSS.escape(id), " .ck-content"),
8846
8846
  style: getStyleFromHighlight(highlightStyle)
8847
8847
  }) : null);
8848
8848
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/fields",
3
- "version": "0.3.742",
3
+ "version": "0.3.752",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -80,12 +80,12 @@
80
80
  "@fortawesome/free-solid-svg-icons": "^6.5.2",
81
81
  "@fortawesome/react-fontawesome": "^0.2.0",
82
82
  "@micromag/ckeditor": "^0.3.676",
83
- "@micromag/core": "^0.3.742",
84
- "@micromag/data": "^0.3.742",
85
- "@micromag/element-grid": "^0.3.742",
86
- "@micromag/element-keypad": "^0.3.742",
87
- "@micromag/element-map": "^0.3.742",
88
- "@micromag/media-gallery": "^0.3.742",
83
+ "@micromag/core": "^0.3.752",
84
+ "@micromag/data": "^0.3.752",
85
+ "@micromag/element-grid": "^0.3.752",
86
+ "@micromag/element-keypad": "^0.3.752",
87
+ "@micromag/element-map": "^0.3.752",
88
+ "@micromag/media-gallery": "^0.3.752",
89
89
  "@panneau/uppy": "^3.0.162",
90
90
  "classnames": "^2.2.6",
91
91
  "draft-js": "^0.11.7",
@@ -105,5 +105,5 @@
105
105
  "access": "public",
106
106
  "registry": "https://registry.npmjs.org/"
107
107
  },
108
- "gitHead": "6d91233414c1db0bd803e405210418d05064714c"
108
+ "gitHead": "5ca2ce6fef2ab38755a81d49cba740381bc92c0b"
109
109
  }