@atlaskit/editor-common 83.4.0 → 83.4.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,13 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 83.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#114832](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114832)
8
+ [`a38ae4ff11746`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a38ae4ff11746) -
9
+ Slight change to link overlay button CSS to fix some background colour edge case issues
10
+
3
11
  ## 83.4.0
4
12
 
5
13
  ### Minor Changes
@@ -20,6 +20,7 @@ var _messages = require("../../messages");
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
 
22
22
  var buttonStyles = (0, _react2.css)({
23
+ display: 'flex',
23
24
  background: "var(--ds-background-neutral, ".concat(_colors.N30A, ")"),
24
25
  color: "var(--ds-icon, ".concat(_colors.N700, ")"),
25
26
  '&:hover': {
@@ -37,7 +38,8 @@ var buttonWrapperStyles = (0, _react2.css)({
37
38
  display: 'inline-flex',
38
39
  top: '50%',
39
40
  transform: 'translateY(-50%)',
40
- background: "var(--ds-surface-raised, ".concat(_colors.N0, ")")
41
+ background: "var(--ds-surface-raised, ".concat(_colors.N0, ")"),
42
+ borderRadius: "var(--ds-border-radius, 3px)"
41
43
  });
42
44
  var OverlayButton = exports.OverlayButton = function OverlayButton(_ref) {
43
45
  var _docNode$nodeSize;
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
19
19
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
20
- var packageVersion = "83.4.0";
20
+ var packageVersion = "83.4.1";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // TODO: Sanitise the URL instead of just removing it
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
20
20
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
21
21
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "83.4.0";
23
+ var packageVersion = "83.4.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  var DropList = /*#__PURE__*/function (_Component) {
@@ -12,6 +12,7 @@ import { layers } from '@atlaskit/theme/constants';
12
12
  import Tooltip from '@atlaskit/tooltip';
13
13
  import { cardMessages } from '../../messages';
14
14
  const buttonStyles = css({
15
+ display: 'flex',
15
16
  background: `var(--ds-background-neutral, ${N30A})`,
16
17
  color: `var(--ds-icon, ${N700})`,
17
18
  '&:hover': {
@@ -29,7 +30,8 @@ const buttonWrapperStyles = css({
29
30
  display: 'inline-flex',
30
31
  top: '50%',
31
32
  transform: 'translateY(-50%)',
32
- background: `var(--ds-surface-raised, ${N0})`
33
+ background: `var(--ds-surface-raised, ${N0})`,
34
+ borderRadius: "var(--ds-border-radius, 3px)"
33
35
  });
34
36
  export const OverlayButton = ({
35
37
  editorView,
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "83.4.0";
4
+ const packageVersion = "83.4.1";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // TODO: Sanitise the URL instead of just removing it
@@ -9,7 +9,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
9
9
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
10
10
  import Layer from '../Layer';
11
11
  const packageName = "@atlaskit/editor-common";
12
- const packageVersion = "83.4.0";
12
+ const packageVersion = "83.4.1";
13
13
  const halfFocusRing = 1;
14
14
  const dropOffset = '0, 8';
15
15
  class DropList extends Component {
@@ -12,6 +12,7 @@ import { layers } from '@atlaskit/theme/constants';
12
12
  import Tooltip from '@atlaskit/tooltip';
13
13
  import { cardMessages } from '../../messages';
14
14
  var buttonStyles = css({
15
+ display: 'flex',
15
16
  background: "var(--ds-background-neutral, ".concat(N30A, ")"),
16
17
  color: "var(--ds-icon, ".concat(N700, ")"),
17
18
  '&:hover': {
@@ -29,7 +30,8 @@ var buttonWrapperStyles = css({
29
30
  display: 'inline-flex',
30
31
  top: '50%',
31
32
  transform: 'translateY(-50%)',
32
- background: "var(--ds-surface-raised, ".concat(N0, ")")
33
+ background: "var(--ds-surface-raised, ".concat(N0, ")"),
34
+ borderRadius: "var(--ds-border-radius, 3px)"
33
35
  });
34
36
  export var OverlayButton = function OverlayButton(_ref) {
35
37
  var _docNode$nodeSize;
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "83.4.0";
10
+ var packageVersion = "83.4.1";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // TODO: Sanitise the URL instead of just removing it
@@ -17,7 +17,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
17
17
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
18
18
  import Layer from '../Layer';
19
19
  var packageName = "@atlaskit/editor-common";
20
- var packageVersion = "83.4.0";
20
+ var packageVersion = "83.4.1";
21
21
  var halfFocusRing = 1;
22
22
  var dropOffset = '0, 8';
23
23
  var DropList = /*#__PURE__*/function (_Component) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "83.4.0",
3
+ "version": "83.4.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/"
@@ -125,7 +125,7 @@
125
125
  "@atlaskit/media-ui": "^25.10.0",
126
126
  "@atlaskit/media-viewer": "48.6.8",
127
127
  "@atlaskit/mention": "^23.2.0",
128
- "@atlaskit/menu": "^2.5.0",
128
+ "@atlaskit/menu": "^2.6.0",
129
129
  "@atlaskit/platform-feature-flags": "^0.2.0",
130
130
  "@atlaskit/primitives": "^9.0.0",
131
131
  "@atlaskit/profilecard": "^19.15.0",