@atlaskit/editor-core 193.6.4 → 193.6.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 193.6.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83297) [`6b1707c169e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b1707c169e0) - The internal composition of this component has changed. There is no expected change in behaviour.
8
+
3
9
  ## 193.6.4
4
10
 
5
11
  ### Patch Changes
@@ -25,7 +25,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
25
25
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
26
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
27
27
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
28
- var chromelessEditor = (0, _react2.css)({
28
+ var chromelessEditorStyles = (0, _react2.css)({
29
29
  lineHeight: '20px',
30
30
  height: 'auto',
31
31
  overflowX: 'hidden',
@@ -40,8 +40,7 @@ var chromelessEditor = (0, _react2.css)({
40
40
  padding: 0,
41
41
  margin: 0,
42
42
  '& > :last-child': {
43
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
44
- paddingBottom: '0.5em'
43
+ paddingBottom: "var(--ds-space-100, 0.5em)"
45
44
  }
46
45
  }
47
46
  });
@@ -83,7 +82,7 @@ var Editor = exports.default = /*#__PURE__*/function (_React$Component) {
83
82
  return (0, _react2.jsx)(_WithFlash.default, {
84
83
  animate: maxContentSizeReached
85
84
  }, (0, _react2.jsx)("div", {
86
- css: [chromelessEditor, maxHeight && (0, _react2.css)({
85
+ css: [chromelessEditorStyles, maxHeight && (0, _react2.css)({
87
86
  maxHeight: "".concat(maxHeight, "px")
88
87
  }), (0, _react2.css)({
89
88
  minHeight: "".concat(minHeight, "px")
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "193.6.4";
8
+ var version = exports.version = "193.6.6";
@@ -8,7 +8,7 @@ import { createEditorContentStyle } from '../ContentStyles';
8
8
  import PluginSlot from '../PluginSlot';
9
9
  import { scrollbarStyles } from '../styles';
10
10
  import WithFlash from '../WithFlash';
11
- const chromelessEditor = css({
11
+ const chromelessEditorStyles = css({
12
12
  lineHeight: '20px',
13
13
  height: 'auto',
14
14
  overflowX: 'hidden',
@@ -23,8 +23,7 @@ const chromelessEditor = css({
23
23
  padding: 0,
24
24
  margin: 0,
25
25
  '& > :last-child': {
26
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
27
- paddingBottom: '0.5em'
26
+ paddingBottom: "var(--ds-space-100, 0.5em)"
28
27
  }
29
28
  }
30
29
  });
@@ -60,7 +59,7 @@ export default class Editor extends React.Component {
60
59
  return jsx(WithFlash, {
61
60
  animate: maxContentSizeReached
62
61
  }, jsx("div", {
63
- css: [chromelessEditor, maxHeight && css({
62
+ css: [chromelessEditorStyles, maxHeight && css({
64
63
  maxHeight: `${maxHeight}px`
65
64
  }), css({
66
65
  minHeight: `${minHeight}px`
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "193.6.4";
2
+ export const version = "193.6.6";
@@ -16,7 +16,7 @@ import { createEditorContentStyle } from '../ContentStyles';
16
16
  import PluginSlot from '../PluginSlot';
17
17
  import { scrollbarStyles } from '../styles';
18
18
  import WithFlash from '../WithFlash';
19
- var chromelessEditor = css({
19
+ var chromelessEditorStyles = css({
20
20
  lineHeight: '20px',
21
21
  height: 'auto',
22
22
  overflowX: 'hidden',
@@ -31,8 +31,7 @@ var chromelessEditor = css({
31
31
  padding: 0,
32
32
  margin: 0,
33
33
  '& > :last-child': {
34
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
35
- paddingBottom: '0.5em'
34
+ paddingBottom: "var(--ds-space-100, 0.5em)"
36
35
  }
37
36
  }
38
37
  });
@@ -74,7 +73,7 @@ var Editor = /*#__PURE__*/function (_React$Component) {
74
73
  return jsx(WithFlash, {
75
74
  animate: maxContentSizeReached
76
75
  }, jsx("div", {
77
- css: [chromelessEditor, maxHeight && css({
76
+ css: [chromelessEditorStyles, maxHeight && css({
78
77
  maxHeight: "".concat(maxHeight, "px")
79
78
  }), css({
80
79
  minHeight: "".concat(minHeight, "px")
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "193.6.4";
2
+ export var version = "193.6.6";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "193.6.4",
3
+ "version": "193.6.6",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"