@atlaskit/editor-plugin-status 2.5.6 → 2.5.7

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,14 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 2.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#162726](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/162726)
8
+ [`10223ce40d9a0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10223ce40d9a0) -
9
+ update appearance and colours for visual refresh
10
+ - Updated dependencies
11
+
3
12
  ## 2.5.6
4
13
 
5
14
  ### Patch Changes
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _react2 = require("@emotion/react");
10
10
  var _reactIntlNext = require("react-intl-next");
11
11
  var _messages = require("@atlaskit/editor-common/messages");
12
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
13
  var _element = require("@atlaskit/status/element");
13
14
  /**
14
15
  * @jsxRuntime classic
@@ -46,7 +47,8 @@ var StatusContainerView = function StatusContainerView(props) {
46
47
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
47
48
  ,
48
49
  style: style,
49
- onClick: handleClick
50
+ onClick: handleClick,
51
+ isBold: (0, _platformFeatureFlags.fg)('platform-component-visual-refresh')
50
52
  }));
51
53
  };
52
54
  var IntlStatusContainerView = exports.IntlStatusContainerView = (0, _reactIntlNext.injectIntl)(StatusContainerView);
@@ -8,6 +8,7 @@ import React from 'react';
8
8
  import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl-next';
10
10
  import { statusMessages as messages } from '@atlaskit/editor-common/messages';
11
+ import { fg } from '@atlaskit/platform-feature-flags';
11
12
  import { Status } from '@atlaskit/status/element';
12
13
  const styledStatusStyles = css({
13
14
  opacity: 1
@@ -42,7 +43,8 @@ const StatusContainerView = props => {
42
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
43
44
  ,
44
45
  style: style,
45
- onClick: handleClick
46
+ onClick: handleClick,
47
+ isBold: fg('platform-component-visual-refresh')
46
48
  }));
47
49
  };
48
50
  export const IntlStatusContainerView = injectIntl(StatusContainerView);
@@ -8,6 +8,7 @@ import React from 'react';
8
8
  import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl-next';
10
10
  import { statusMessages as messages } from '@atlaskit/editor-common/messages';
11
+ import { fg } from '@atlaskit/platform-feature-flags';
11
12
  import { Status } from '@atlaskit/status/element';
12
13
  var styledStatusStyles = css({
13
14
  opacity: 1
@@ -38,7 +39,8 @@ var StatusContainerView = function StatusContainerView(props) {
38
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
39
40
  ,
40
41
  style: style,
41
- onClick: handleClick
42
+ onClick: handleClick,
43
+ isBold: fg('platform-component-visual-refresh')
42
44
  }));
43
45
  };
44
46
  export var IntlStatusContainerView = injectIntl(StatusContainerView);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "2.5.6",
3
+ "version": "2.5.7",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,14 +33,14 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^44.2.0",
35
35
  "@atlaskit/analytics-next": "^10.1.0",
36
- "@atlaskit/editor-common": "^94.9.0",
36
+ "@atlaskit/editor-common": "^94.17.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
38
38
  "@atlaskit/editor-prosemirror": "6.0.0",
39
- "@atlaskit/editor-shared-styles": "^3.1.0",
39
+ "@atlaskit/editor-shared-styles": "^3.2.0",
40
40
  "@atlaskit/platform-feature-flags": "^0.3.0",
41
- "@atlaskit/status": "^1.5.0",
41
+ "@atlaskit/status": "^1.6.0",
42
42
  "@atlaskit/theme": "^14.0.0",
43
- "@atlaskit/tokens": "^2.0.0",
43
+ "@atlaskit/tokens": "^2.2.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1"
46
46
  },
@@ -94,6 +94,9 @@
94
94
  "editor_inline_comments_paste_insert_nodes": {
95
95
  "type": "boolean"
96
96
  },
97
+ "platform-component-visual-refresh": {
98
+ "type": "boolean"
99
+ },
97
100
  "platform_editor_replace_finddomnode_in_common": {
98
101
  "type": "boolean"
99
102
  }