@atlaskit/editor-plugin-status 9.0.9 → 9.0.11

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.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0f4a08b633f6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f4a08b633f6e) -
8
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
9
+ - Updated dependencies
10
+
11
+ ## 9.0.10
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 9.0.9
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'
@@ -335,7 +334,9 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
335
334
  }
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
- target: target,
337
+ target: target
338
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
339
+ ,
339
340
  offset: [0, 8],
340
341
  handleClickOutside: this.handleClickOutside,
341
342
  handleEscapeKeydown: this.handleEscapeKeydown,
@@ -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'
@@ -309,7 +308,9 @@ class StatusPickerWithIntl extends React.Component {
309
308
  }
310
309
  return target && jsx(PopupWithListeners, {
311
310
  ariaLabel: fg('_editor_a11y_aria_label_removal_popup') ? intl.formatMessage(messages.statusEditorLabel) : undefined,
312
- target: target,
311
+ target: target
312
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
313
+ ,
313
314
  offset: [0, 8],
314
315
  handleClickOutside: this.handleClickOutside,
315
316
  handleEscapeKeydown: this.handleEscapeKeydown,
@@ -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'
@@ -332,7 +331,9 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
332
331
  }
333
332
  return target && jsx(PopupWithListeners, {
334
333
  ariaLabel: fg('_editor_a11y_aria_label_removal_popup') ? intl.formatMessage(messages.statusEditorLabel) : undefined,
335
- target: target,
334
+ target: target
335
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
336
+ ,
336
337
  offset: [0, 8],
337
338
  handleClickOutside: this.handleClickOutside,
338
339
  handleEscapeKeydown: this.handleEscapeKeydown,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "9.0.9",
3
+ "version": "9.0.11",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,8 +38,7 @@
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": "^43.0.0",
41
+ "@atlaskit/tmp-editor-statsig": "^44.0.0",
43
42
  "@atlaskit/tokens": "^11.1.0",
44
43
  "@atlaskit/visually-hidden": "^3.0.0",
45
44
  "@babel/runtime": "^7.0.0",