@atlaskit/editor-plugin-status 9.0.10 → 9.0.12

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,19 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 9.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.0.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [`0f4a08b633f6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f4a08b633f6e) -
14
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
15
+ - Updated dependencies
16
+
3
17
  ## 9.0.10
4
18
 
5
19
  ### Patch Changes
@@ -23,7 +23,6 @@ var _userIntent = require("@atlaskit/editor-common/user-intent");
23
23
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
24
24
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
25
25
  var _picker = require("@atlaskit/status/picker");
26
- var _colors = require("@atlaskit/theme/colors");
27
26
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
28
27
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
29
28
  var _actions = require("../pm-plugins/actions");
@@ -46,10 +45,10 @@ var closingMethods = exports.closingMethods = /*#__PURE__*/function (closingMeth
46
45
  return closingMethods;
47
46
  }({});
48
47
  var pickerContainerStyles = (0, _react2.css)({
49
- background: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
48
+ background: "var(--ds-surface-overlay, #FFFFFF)",
50
49
  padding: "var(--ds-space-100, 8px)".concat(" 0"),
51
50
  borderRadius: "var(--ds-radius-small, 3px)",
52
- boxShadow: "var(--ds-shadow-overlay, 0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25))",
51
+ boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
53
52
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
54
53
  ':focus': {
55
54
  outline: 'none'
@@ -336,7 +335,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
336
335
  return target && (0, _react2.jsx)(PopupWithListeners, {
337
336
  ariaLabel: (0, _platformFeatureFlags.fg)('_editor_a11y_aria_label_removal_popup') ? intl.formatMessage(_messages.statusMessages.statusEditorLabel) : undefined,
338
337
  target: target
339
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
338
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
340
339
  ,
341
340
  offset: [0, 8],
342
341
  handleClickOutside: this.handleClickOutside,
@@ -18,7 +18,6 @@ import { UserIntentPopupWrapper } from '@atlaskit/editor-common/user-intent';
18
18
  import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
19
19
  import { fg } from '@atlaskit/platform-feature-flags';
20
20
  import { StatusPicker as AkStatusPicker } from '@atlaskit/status/picker';
21
- import { N0 } from '@atlaskit/theme/colors';
22
21
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
23
22
  import VisuallyHidden from '@atlaskit/visually-hidden';
24
23
  import { DEFAULT_STATUS } from '../pm-plugins/actions';
@@ -36,10 +35,10 @@ export let closingMethods = /*#__PURE__*/function (closingMethods) {
36
35
  return closingMethods;
37
36
  }({});
38
37
  const pickerContainerStyles = css({
39
- background: `var(--ds-surface-overlay, ${N0})`,
38
+ background: "var(--ds-surface-overlay, #FFFFFF)",
40
39
  padding: `${"var(--ds-space-100, 8px)"} 0`,
41
40
  borderRadius: "var(--ds-radius-small, 3px)",
42
- boxShadow: "var(--ds-shadow-overlay, 0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25))",
41
+ boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
43
42
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
44
43
  ':focus': {
45
44
  outline: 'none'
@@ -310,7 +309,7 @@ class StatusPickerWithIntl extends React.Component {
310
309
  return target && jsx(PopupWithListeners, {
311
310
  ariaLabel: fg('_editor_a11y_aria_label_removal_popup') ? intl.formatMessage(messages.statusEditorLabel) : undefined,
312
311
  target: target
313
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
312
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
314
313
  ,
315
314
  offset: [0, 8],
316
315
  handleClickOutside: this.handleClickOutside,
@@ -25,7 +25,6 @@ import { UserIntentPopupWrapper } from '@atlaskit/editor-common/user-intent';
25
25
  import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
26
26
  import { fg } from '@atlaskit/platform-feature-flags';
27
27
  import { StatusPicker as AkStatusPicker } from '@atlaskit/status/picker';
28
- import { N0 } from '@atlaskit/theme/colors';
29
28
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
30
29
  import VisuallyHidden from '@atlaskit/visually-hidden';
31
30
  import { DEFAULT_STATUS } from '../pm-plugins/actions';
@@ -43,10 +42,10 @@ export var closingMethods = /*#__PURE__*/function (closingMethods) {
43
42
  return closingMethods;
44
43
  }({});
45
44
  var pickerContainerStyles = css({
46
- background: "var(--ds-surface-overlay, ".concat(N0, ")"),
45
+ background: "var(--ds-surface-overlay, #FFFFFF)",
47
46
  padding: "var(--ds-space-100, 8px)".concat(" 0"),
48
47
  borderRadius: "var(--ds-radius-small, 3px)",
49
- boxShadow: "var(--ds-shadow-overlay, 0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25))",
48
+ boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
50
49
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
51
50
  ':focus': {
52
51
  outline: 'none'
@@ -333,7 +332,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
333
332
  return target && jsx(PopupWithListeners, {
334
333
  ariaLabel: fg('_editor_a11y_aria_label_removal_popup') ? intl.formatMessage(messages.statusEditorLabel) : undefined,
335
334
  target: target
336
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
335
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
337
336
  ,
338
337
  offset: [0, 8],
339
338
  handleClickOutside: this.handleClickOutside,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "9.0.10",
3
+ "version": "9.0.12",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,15 +38,14 @@
38
38
  "@atlaskit/icon": "^33.0.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/status": "^3.1.0",
41
- "@atlaskit/theme": "^22.0.0",
42
- "@atlaskit/tmp-editor-statsig": "^44.0.0",
41
+ "@atlaskit/tmp-editor-statsig": "^45.0.0",
43
42
  "@atlaskit/tokens": "^11.1.0",
44
43
  "@atlaskit/visually-hidden": "^3.0.0",
45
44
  "@babel/runtime": "^7.0.0",
46
45
  "@emotion/react": "^11.7.1"
47
46
  },
48
47
  "peerDependencies": {
49
- "@atlaskit/editor-common": "^112.7.0",
48
+ "@atlaskit/editor-common": "^112.8.0",
50
49
  "react": "^18.2.0",
51
50
  "react-dom": "^18.2.0",
52
51
  "react-intl-next": "npm:react-intl@^5.18.1"