@atlaskit/editor-common 111.6.2 → 111.7.1

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,32 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 111.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0bf8d0bd8bf2c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0bf8d0bd8bf2c) -
8
+ [ux] EDITOR-4276 Apply block selection visual style only from drag handle
9
+ - Updated dependencies
10
+
11
+ ## 111.7.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
16
+ Removed usages of LEGACY icon props
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
22
+ ## 111.6.3
23
+
24
+ ### Patch Changes
25
+
26
+ - [`1051a075c959d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1051a075c959d) -
27
+ Internal changes to typography theme types.
28
+ - Updated dependencies
29
+
3
30
  ## 111.6.2
4
31
 
5
32
  ### Patch Changes
@@ -46,8 +46,6 @@ var SelectedIconBefore = function SelectedIconBefore(_ref) {
46
46
  return (0, _react2.jsx)("span", {
47
47
  "aria-hidden": "true"
48
48
  }, (0, _react2.jsx)(_checkMark.default, {
49
- LEGACY_primaryColor: "var(--ds-icon-selected, #1868DB)",
50
- LEGACY_size: "small",
51
49
  label: intl.formatMessage(_floatingToolbar.messages.confirmModalOK),
52
50
  spacing: "none"
53
51
  }));
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "111.6.1";
22
+ var packageVersion = "111.7.0";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -20,12 +20,9 @@ var resizerHandleClassName = exports.resizerHandleClassName = 'resizer-handle';
20
20
  var resizerHandleTrackClassName = exports.resizerHandleTrackClassName = "".concat(resizerHandleClassName, "-track");
21
21
  var resizerHandleThumbClassName = exports.resizerHandleThumbClassName = "".concat(resizerHandleClassName, "-thumb");
22
22
  var resizerDangerClassName = exports.resizerDangerClassName = "".concat(resizerHandleClassName, "-danger");
23
-
24
- // akEditorSelectedNodeClassName from '@atlaskit/editor-shared-styles';
25
- var akEditorSelectedNodeClassName = 'ak-editor-selected-node';
26
23
  var handleWrapperClass = exports.handleWrapperClass = 'resizer-handle-wrapper';
27
24
  var resizerHandleThumbWidth = exports.resizerHandleThumbWidth = 3;
28
25
  var resizerHandleZIndex = exports.resizerHandleZIndex = 1;
29
26
 
30
27
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766, Seems perfectly safe to autofix, but comments would be lost…
31
- var resizerStyles = exports.resizerStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.", " {\n\t\twill-change: width;\n\n\t\t&:hover,\n\t\t&.display-handle {\n\t\t\t& > .", " > .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.is-resizing {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t& .", " {\n\t\t\t\ttransition: none;\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tdisplay: flex;\n\t\tvisibility: hidden;\n\t\topacity: 0;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 7px;\n\t\ttransition:\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t/*\n NOTE: The below style is targeted at the div element added by the tooltip. We don't have any means of injecting styles\n into the tooltip\n */\n\t\t& div[role='presentation'] {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tmargin-top: ", ";\n\t\t\twhite-space: normal;\n\t\t}\n\n\t\t/*\n Handle Positions\n */\n\t\t&.left {\n\t\t\talign-items: flex-start;\n\t\t}\n\t\t&.right {\n\t\t\talign-items: flex-end;\n\t\t}\n\n\t\t/*\n Handle Sizing\n */\n\t\t&.small {\n\t\t\t& .", " {\n\t\t\t\theight: 43px;\n\t\t\t}\n\t\t}\n\t\t&.medium {\n\t\t\t& .", " {\n\t\t\t\theight: 64px;\n\t\t\t}\n\t\t}\n\t\t&.large {\n\t\t\t& .", " {\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t\t&.clamped {\n\t\t\t& .", " {\n\t\t\t\theight: clamp(43px, calc(100% - 32px), 96px);\n\t\t\t}\n\t\t}\n\n\t\t/*\n Handle Alignment\n */\n\t\t&.sticky {\n\t\t\t& .", " {\n\t\t\t\tposition: sticky;\n\t\t\t\ttop: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\n\t\t\t& .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 0.5;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tcontent: ' ';\n\t\tdisplay: flex;\n\t\twidth: 3px;\n\t\tmargin: 0 ", ";\n\t\theight: 64px;\n\t\ttransition: background-color 0.2s;\n\t\tborder-radius: 6px;\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tz-index: 2;\n\t\toutline: none;\n\t\tmin-height: 24px;\n\t\tbackground: ", ";\n\n\t\t&:hover {\n\t\t\tcursor: col-resize;\n\t\t}\n\n\t\t&:focus {\n\t\t\tbackground: ", ";\n\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: ", ";\n\t\t\t\tright: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t\tleft: ", ";\n\t\t\t\tborder: 2px solid ", ";\n\t\t\t\tborder-radius: inherit;\n\t\t\t\tz-index: -1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tvisibility: hidden;\n\t\tposition: absolute;\n\t\twidth: 7px;\n\t\theight: calc(100% - 40px);\n\t\tborder-radius: 4px;\n\t\topacity: 0;\n\t\ttransition:\n\t\t\tbackground-color 0.2s,\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t&.none {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&.shadow {\n\t\t\tbackground: ", ";\n\t\t}\n\n\t\t&.full-height {\n\t\t\tbackground: ", ";\n\t\t\theight: 100%;\n\t\t\tmin-height: 36px;\n\t\t}\n\t}\n\n\t.", " {\n\t\t& .", " {\n\t\t\tbackground: ", ";\n\t\t}\n\t}\n\n\t.", " {\n\t\tposition: relative;\n\t\tdisplay: flow-root;\n\t\twidth: 100%;\n\n\t\t&.", " {\n\t\t\tpadding: 0 ", ";\n\t\t\tleft: ", ";\n\t\t}\n\t}\n\n\t/* This below style is here to make sure the image width is correct when nested in a table */\n\ttable .", ", table .", ".", " {\n\t\tpadding: unset;\n\t\tleft: unset;\n\t}\n"])), resizerItemClassName, handleWrapperClass, resizerHandleClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerDangerClassName, resizerHandleThumbClassName, "var(--ds-icon-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), resizerHandleClassName, "var(--ds-space-negative-200, -16px)", resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, "var(--ds-space-150, 12px)", "var(--ds-space-150, 12px)", resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerHandleTrackClassName, resizerHandleThumbClassName, "var(--ds-space-025, 2px)", "var(--ds-border, #0B120E24)", "var(--ds-border-selected, #0C66E4)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-border-focused, #388BFF)", resizerHandleTrackClassName, "var(--ds-background-selected, #E9F2FE)", "var(--ds-background-selected, #E9F2FE)", akEditorSelectedNodeClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerHoverZoneClassName, resizerExtendedZone, "var(--ds-space-150, 12px)", "var(--ds-space-negative-150, -12px)", resizerHoverZoneClassName, resizerHoverZoneClassName, resizerExtendedZone);
28
+ var resizerStyles = exports.resizerStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.", " {\n\t\twill-change: width;\n\n\t\t&:hover,\n\t\t&.display-handle {\n\t\t\t& > .", " > .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.is-resizing {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t& .", " {\n\t\t\t\ttransition: none;\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tdisplay: flex;\n\t\tvisibility: hidden;\n\t\topacity: 0;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 7px;\n\t\ttransition:\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t/*\n NOTE: The below style is targeted at the div element added by the tooltip. We don't have any means of injecting styles\n into the tooltip\n */\n\t\t& div[role='presentation'] {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tmargin-top: ", ";\n\t\t\twhite-space: normal;\n\t\t}\n\n\t\t/*\n Handle Positions\n */\n\t\t&.left {\n\t\t\talign-items: flex-start;\n\t\t}\n\t\t&.right {\n\t\t\talign-items: flex-end;\n\t\t}\n\n\t\t/*\n Handle Sizing\n */\n\t\t&.small {\n\t\t\t& .", " {\n\t\t\t\theight: 43px;\n\t\t\t}\n\t\t}\n\t\t&.medium {\n\t\t\t& .", " {\n\t\t\t\theight: 64px;\n\t\t\t}\n\t\t}\n\t\t&.large {\n\t\t\t& .", " {\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t\t&.clamped {\n\t\t\t& .", " {\n\t\t\t\theight: clamp(43px, calc(100% - 32px), 96px);\n\t\t\t}\n\t\t}\n\n\t\t/*\n Handle Alignment\n */\n\t\t&.sticky {\n\t\t\t& .", " {\n\t\t\t\tposition: sticky;\n\t\t\t\ttop: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\n\t\t\t& .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 0.5;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tcontent: ' ';\n\t\tdisplay: flex;\n\t\twidth: 3px;\n\t\tmargin: 0 ", ";\n\t\theight: 64px;\n\t\ttransition: background-color 0.2s;\n\t\tborder-radius: 6px;\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tz-index: 2;\n\t\toutline: none;\n\t\tmin-height: 24px;\n\t\tbackground: ", ";\n\n\t\t&:hover {\n\t\t\tcursor: col-resize;\n\t\t}\n\n\t\t&:focus {\n\t\t\tbackground: ", ";\n\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: ", ";\n\t\t\t\tright: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t\tleft: ", ";\n\t\t\t\tborder: 2px solid ", ";\n\t\t\t\tborder-radius: inherit;\n\t\t\t\tz-index: -1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tvisibility: hidden;\n\t\tposition: absolute;\n\t\twidth: 7px;\n\t\theight: calc(100% - 40px);\n\t\tborder-radius: 4px;\n\t\topacity: 0;\n\t\ttransition:\n\t\t\tbackground-color 0.2s,\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t&.none {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&.shadow {\n\t\t\tbackground: ", ";\n\t\t}\n\n\t\t&.full-height {\n\t\t\tbackground: ", ";\n\t\t\theight: 100%;\n\t\t\tmin-height: 36px;\n\t\t}\n\t}\n\n\t.", " {\n\t\t& .", " {\n\t\t\tbackground: ", ";\n\t\t}\n\t}\n\n\t.", " {\n\t\tposition: relative;\n\t\tdisplay: flow-root;\n\t\twidth: 100%;\n\n\t\t&.", " {\n\t\t\tpadding: 0 ", ";\n\t\t\tleft: ", ";\n\t\t}\n\t}\n\n\t/* This below style is here to make sure the image width is correct when nested in a table */\n\ttable .", ", table .", ".", " {\n\t\tpadding: unset;\n\t\tleft: unset;\n\t}\n"])), resizerItemClassName, handleWrapperClass, resizerHandleClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerDangerClassName, resizerHandleThumbClassName, "var(--ds-icon-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), resizerHandleClassName, "var(--ds-space-negative-200, -16px)", resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, "var(--ds-space-150, 12px)", "var(--ds-space-150, 12px)", resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerHandleTrackClassName, resizerHandleThumbClassName, "var(--ds-space-025, 2px)", "var(--ds-border, #0B120E24)", "var(--ds-border-selected, #0C66E4)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-border-focused, #388BFF)", resizerHandleTrackClassName, "var(--ds-background-selected, #E9F2FE)", "var(--ds-background-selected, #E9F2FE)", _editorSharedStyles.akEditorSelectedNodeClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerHoverZoneClassName, resizerExtendedZone, "var(--ds-space-150, 12px)", "var(--ds-space-negative-150, -12px)", resizerHoverZoneClassName, resizerHoverZoneClassName, resizerExtendedZone);
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "111.6.1";
27
+ var packageVersion = "111.7.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -19,7 +19,6 @@ function ToolbarExpandIcon() {
19
19
  }, /*#__PURE__*/React.createElement(_chevronDown.default, {
20
20
  label: "",
21
21
  color: "currentColor",
22
- LEGACY_margin: "0 0 0 -8px",
23
22
  size: "small"
24
23
  }));
25
24
  }
@@ -24,8 +24,6 @@ var Color = function Color(props) {
24
24
  label = props.label,
25
25
  isSelected = props.isSelected,
26
26
  borderColor = props.borderColor,
27
- _props$checkMarkColor = props.checkMarkColor,
28
- checkMarkColor = _props$checkMarkColor === void 0 ? '#FFFFFF' : _props$checkMarkColor,
29
27
  hexToPaletteColor = props.hexToPaletteColor,
30
28
  decorator = props.decorator;
31
29
  var colorStyle = hexToPaletteColor ? hexToPaletteColor(value) : value;
@@ -74,7 +72,6 @@ var Color = function Color(props) {
74
72
  },
75
73
  autoFocus: autoFocus
76
74
  }, !decorator && isSelected && (0, _react2.jsx)(_checkMark.default, {
77
- LEGACY_primaryColor: checkMarkColor,
78
75
  label: ""
79
76
  }), decorator)));
80
77
  };
@@ -38,8 +38,6 @@ const SelectedIconBefore = ({
38
38
  return jsx("span", {
39
39
  "aria-hidden": "true"
40
40
  }, jsx(EditorDoneIcon, {
41
- LEGACY_primaryColor: "var(--ds-icon-selected, #1868DB)",
42
- LEGACY_size: "small",
43
41
  label: intl.formatMessage(messages.confirmModalOK),
44
42
  spacing: "none"
45
43
  }));
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "111.6.1";
7
+ const packageVersion = "111.7.0";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // Ignored via go/ees007
@@ -1,6 +1,6 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
- import { akEditorDeleteIconColor } from '@atlaskit/editor-shared-styles';
3
+ import { akEditorDeleteIconColor, akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
4
4
  /*
5
5
  Styles in this file are based on
6
6
  packages/editor/editor-core/src/plugins/media/styles.ts
@@ -12,9 +12,6 @@ export const resizerHandleClassName = 'resizer-handle';
12
12
  export const resizerHandleTrackClassName = `${resizerHandleClassName}-track`;
13
13
  export const resizerHandleThumbClassName = `${resizerHandleClassName}-thumb`;
14
14
  export const resizerDangerClassName = `${resizerHandleClassName}-danger`;
15
-
16
- // akEditorSelectedNodeClassName from '@atlaskit/editor-shared-styles';
17
- const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
18
15
  export const handleWrapperClass = 'resizer-handle-wrapper';
19
16
  export const resizerHandleThumbWidth = 3;
20
17
  export const resizerHandleZIndex = 1;
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "111.6.1";
17
+ const packageVersion = "111.7.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -10,7 +10,6 @@ export function ToolbarExpandIcon() {
10
10
  }, /*#__PURE__*/React.createElement(ChevronDownIcon, {
11
11
  label: "",
12
12
  color: "currentColor",
13
- LEGACY_margin: "0 0 0 -8px",
14
13
  size: "small"
15
14
  }));
16
15
  }
@@ -17,7 +17,6 @@ const Color = props => {
17
17
  label,
18
18
  isSelected,
19
19
  borderColor,
20
- checkMarkColor = '#FFFFFF',
21
20
  /**
22
21
  * When hexToPaletteColor prop is set,
23
22
  * it will be used to get background color style based on
@@ -76,7 +75,6 @@ const Color = props => {
76
75
  },
77
76
  autoFocus: autoFocus
78
77
  }, !decorator && isSelected && jsx(EditorDoneIcon, {
79
- LEGACY_primaryColor: checkMarkColor,
80
78
  label: ""
81
79
  }), decorator)));
82
80
  };
@@ -38,8 +38,6 @@ var SelectedIconBefore = function SelectedIconBefore(_ref) {
38
38
  return jsx("span", {
39
39
  "aria-hidden": "true"
40
40
  }, jsx(EditorDoneIcon, {
41
- LEGACY_primaryColor: "var(--ds-icon-selected, #1868DB)",
42
- LEGACY_size: "small",
43
41
  label: intl.formatMessage(messages.confirmModalOK),
44
42
  spacing: "none"
45
43
  }));
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "111.6.1";
13
+ var packageVersion = "111.7.0";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // Ignored via go/ees007
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
  var _templateObject;
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import { css } from '@emotion/react';
5
- import { akEditorDeleteIconColor } from '@atlaskit/editor-shared-styles';
5
+ import { akEditorDeleteIconColor, akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
6
6
  /*
7
7
  Styles in this file are based on
8
8
  packages/editor/editor-core/src/plugins/media/styles.ts
@@ -14,9 +14,6 @@ export var resizerHandleClassName = 'resizer-handle';
14
14
  export var resizerHandleTrackClassName = "".concat(resizerHandleClassName, "-track");
15
15
  export var resizerHandleThumbClassName = "".concat(resizerHandleClassName, "-thumb");
16
16
  export var resizerDangerClassName = "".concat(resizerHandleClassName, "-danger");
17
-
18
- // akEditorSelectedNodeClassName from '@atlaskit/editor-shared-styles';
19
- var akEditorSelectedNodeClassName = 'ak-editor-selected-node';
20
17
  export var handleWrapperClass = 'resizer-handle-wrapper';
21
18
  export var resizerHandleThumbWidth = 3;
22
19
  export var resizerHandleZIndex = 1;
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "111.6.1";
24
+ var packageVersion = "111.7.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -10,7 +10,6 @@ export function ToolbarExpandIcon() {
10
10
  }, /*#__PURE__*/React.createElement(ChevronDownIcon, {
11
11
  label: "",
12
12
  color: "currentColor",
13
- LEGACY_margin: "0 0 0 -8px",
14
13
  size: "small"
15
14
  }));
16
15
  }
@@ -16,8 +16,6 @@ var Color = function Color(props) {
16
16
  label = props.label,
17
17
  isSelected = props.isSelected,
18
18
  borderColor = props.borderColor,
19
- _props$checkMarkColor = props.checkMarkColor,
20
- checkMarkColor = _props$checkMarkColor === void 0 ? '#FFFFFF' : _props$checkMarkColor,
21
19
  hexToPaletteColor = props.hexToPaletteColor,
22
20
  decorator = props.decorator;
23
21
  var colorStyle = hexToPaletteColor ? hexToPaletteColor(value) : value;
@@ -66,7 +64,6 @@ var Color = function Color(props) {
66
64
  },
67
65
  autoFocus: autoFocus
68
66
  }, !decorator && isSelected && jsx(EditorDoneIcon, {
69
- LEGACY_primaryColor: checkMarkColor,
70
67
  label: ""
71
68
  }), decorator)));
72
69
  };
@@ -1 +1,2 @@
1
- export declare const headingsSharedStyles: (_typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed") => import("@emotion/react").SerializedStyles;
1
+ import { type ThemeState } from '@atlaskit/tokens';
2
+ export declare const headingsSharedStyles: (_typographyTheme?: ThemeState["typography"]) => import("@emotion/react").SerializedStyles;
@@ -1 +1,2 @@
1
- export declare const headingsSharedStyles: (_typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed") => import("@emotion/react").SerializedStyles;
1
+ import { type ThemeState } from '@atlaskit/tokens';
2
+ export declare const headingsSharedStyles: (_typographyTheme?: ThemeState["typography"]) => import("@emotion/react").SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "111.6.2",
3
+ "version": "111.7.1",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -47,22 +47,22 @@
47
47
  "@atlaskit/editor-prosemirror": "^7.2.0",
48
48
  "@atlaskit/editor-shared-styles": "^3.10.0",
49
49
  "@atlaskit/editor-tables": "^2.9.0",
50
- "@atlaskit/editor-toolbar": "^0.18.0",
50
+ "@atlaskit/editor-toolbar": "^0.19.0",
51
51
  "@atlaskit/editor-toolbar-model": "^0.2.0",
52
- "@atlaskit/emoji": "^69.9.0",
52
+ "@atlaskit/emoji": "^69.10.0",
53
53
  "@atlaskit/icon": "^29.4.0",
54
54
  "@atlaskit/icon-object": "^7.4.0",
55
55
  "@atlaskit/link": "^3.3.0",
56
- "@atlaskit/link-datasource": "^4.31.0",
56
+ "@atlaskit/link-datasource": "^4.32.0",
57
57
  "@atlaskit/link-picker": "^4.2.0",
58
- "@atlaskit/media-card": "^79.12.0",
58
+ "@atlaskit/media-card": "^79.13.0",
59
59
  "@atlaskit/media-client": "^35.7.0",
60
60
  "@atlaskit/media-client-react": "^4.1.0",
61
61
  "@atlaskit/media-common": "^12.3.0",
62
62
  "@atlaskit/media-file-preview": "^0.15.0",
63
63
  "@atlaskit/media-picker": "^70.1.0",
64
64
  "@atlaskit/media-ui": "^28.7.0",
65
- "@atlaskit/media-viewer": "^52.5.0",
65
+ "@atlaskit/media-viewer": "^52.6.0",
66
66
  "@atlaskit/mention": "^24.4.0",
67
67
  "@atlaskit/menu": "^8.4.0",
68
68
  "@atlaskit/onboarding": "^14.5.0",
@@ -73,15 +73,15 @@
73
73
  "@atlaskit/profilecard": "^24.27.0",
74
74
  "@atlaskit/prosemirror-history": "^0.2.0",
75
75
  "@atlaskit/react-ufo": "^4.16.0",
76
- "@atlaskit/section-message": "^8.11.0",
77
- "@atlaskit/smart-card": "^43.19.0",
76
+ "@atlaskit/section-message": "^8.12.0",
77
+ "@atlaskit/smart-card": "^43.20.0",
78
78
  "@atlaskit/smart-user-picker": "^8.8.0",
79
79
  "@atlaskit/spinner": "^19.0.0",
80
80
  "@atlaskit/status": "^3.0.0",
81
81
  "@atlaskit/task-decision": "^19.2.0",
82
82
  "@atlaskit/textfield": "^8.2.0",
83
83
  "@atlaskit/theme": "^21.0.0",
84
- "@atlaskit/tmp-editor-statsig": "^16.8.0",
84
+ "@atlaskit/tmp-editor-statsig": "^16.11.0",
85
85
  "@atlaskit/tokens": "^9.1.0",
86
86
  "@atlaskit/tooltip": "^20.12.0",
87
87
  "@atlaskit/width-detector": "^5.0.0",