@atlaskit/editor-core 216.1.2 → 216.1.3

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,13 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 216.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a9253bac47c43`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a9253bac47c43) -
8
+ [ux] EDITOR-4208 Add background colour to pinned toolbar
9
+ - Updated dependencies
10
+
3
11
  ## 216.1.2
4
12
 
5
13
  ### Patch Changes
@@ -13,5 +13,6 @@
13
13
  ._4cvr1h6o{align-items:center}
14
14
  ._4t3izwfg{height:2pc}
15
15
  ._7cca15wb{container-type:inline-size}
16
+ ._bfhkvuon{background-color:var(--ds-surface,#fff)}
16
17
  ._kqswh2mm{position:relative}
17
18
  ._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
@@ -33,7 +33,8 @@ var styles = {
33
33
  firstChildWrapperOneLine: "_1e0c1txw _16jlkb7n",
34
34
  firstChildWrapperContainerContext: "_7cca15wb _1f38ptqj",
35
35
  secondChildWrapperOneLine: "_1e0c1txw _1ul91ns9 _4cvr1h6o",
36
- beforePrimaryToolbarComponents: "_1e0c1txw _16jlkb7n _1bahesu3 _4cvr1h6o"
36
+ beforePrimaryToolbarComponents: "_1e0c1txw _16jlkb7n _1bahesu3 _4cvr1h6o",
37
+ backgroundColor: "_bfhkvuon"
37
38
  };
38
39
  var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
39
40
  var children = _ref.children,
@@ -41,7 +42,7 @@ var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
41
42
  showKeyline = _ref.showKeyline;
42
43
  return /*#__PURE__*/_react.default.createElement("div", {
43
44
  "data-testid": testId,
44
- className: (0, _runtime.ax)([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarNew, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex])
45
+ className: (0, _runtime.ax)([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarNew, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
45
46
  }, children);
46
47
  };
47
48
  var FirstChildWrapper = function FirstChildWrapper(_ref2) {
@@ -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 = "216.1.1";
8
+ var version = exports.version = "216.1.2";
@@ -13,5 +13,6 @@
13
13
  ._4cvr1h6o{align-items:center}
14
14
  ._4t3izwfg{height:2pc}
15
15
  ._7cca15wb{container-type:inline-size}
16
+ ._bfhkvuon{background-color:var(--ds-surface,#fff)}
16
17
  ._kqswh2mm{position:relative}
17
18
  ._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
@@ -24,7 +24,8 @@ const styles = {
24
24
  firstChildWrapperOneLine: "_1e0c1txw _16jlkb7n",
25
25
  firstChildWrapperContainerContext: "_7cca15wb _1f38ptqj",
26
26
  secondChildWrapperOneLine: "_1e0c1txw _1ul91ns9 _4cvr1h6o",
27
- beforePrimaryToolbarComponents: "_1e0c1txw _16jlkb7n _1bahesu3 _4cvr1h6o"
27
+ beforePrimaryToolbarComponents: "_1e0c1txw _16jlkb7n _1bahesu3 _4cvr1h6o",
28
+ backgroundColor: "_bfhkvuon"
28
29
  };
29
30
  const MainToolbarWrapper = ({
30
31
  children,
@@ -33,7 +34,7 @@ const MainToolbarWrapper = ({
33
34
  }) => {
34
35
  return /*#__PURE__*/React.createElement("div", {
35
36
  "data-testid": testId,
36
- className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex])
37
+ className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && expValEquals('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
37
38
  }, children);
38
39
  };
39
40
  const FirstChildWrapper = ({
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "216.1.1";
2
+ export const version = "216.1.2";
@@ -13,5 +13,6 @@
13
13
  ._4cvr1h6o{align-items:center}
14
14
  ._4t3izwfg{height:2pc}
15
15
  ._7cca15wb{container-type:inline-size}
16
+ ._bfhkvuon{background-color:var(--ds-surface,#fff)}
16
17
  ._kqswh2mm{position:relative}
17
18
  ._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
@@ -24,7 +24,8 @@ var styles = {
24
24
  firstChildWrapperOneLine: "_1e0c1txw _16jlkb7n",
25
25
  firstChildWrapperContainerContext: "_7cca15wb _1f38ptqj",
26
26
  secondChildWrapperOneLine: "_1e0c1txw _1ul91ns9 _4cvr1h6o",
27
- beforePrimaryToolbarComponents: "_1e0c1txw _16jlkb7n _1bahesu3 _4cvr1h6o"
27
+ beforePrimaryToolbarComponents: "_1e0c1txw _16jlkb7n _1bahesu3 _4cvr1h6o",
28
+ backgroundColor: "_bfhkvuon"
28
29
  };
29
30
  var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
30
31
  var children = _ref.children,
@@ -32,7 +33,7 @@ var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
32
33
  showKeyline = _ref.showKeyline;
33
34
  return /*#__PURE__*/React.createElement("div", {
34
35
  "data-testid": testId,
35
- className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex])
36
+ className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && expValEquals('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
36
37
  }, children);
37
38
  };
38
39
  var FirstChildWrapper = function FirstChildWrapper(_ref2) {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "216.1.1";
2
+ export var version = "216.1.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "216.1.2",
3
+ "version": "216.1.3",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -67,7 +67,7 @@
67
67
  "@atlaskit/react-ufo": "^4.16.0",
68
68
  "@atlaskit/task-decision": "^19.2.0",
69
69
  "@atlaskit/tmp-editor-statsig": "^16.4.0",
70
- "@atlaskit/tokens": "^9.0.0",
70
+ "@atlaskit/tokens": "^9.1.0",
71
71
  "@atlaskit/tooltip": "^20.11.0",
72
72
  "@atlaskit/width-detector": "^5.0.0",
73
73
  "@babel/runtime": "^7.0.0",