@atlaskit/editor-common 107.33.0 → 107.33.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
+ ## 107.33.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ef3b2dfa2f8a8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef3b2dfa2f8a8) -
8
+ Internal changes to use radius tokens. No visual changes.
9
+ - Updated dependencies
10
+
3
11
  ## 107.33.0
4
12
 
5
13
  ### Minor Changes
@@ -228,7 +228,7 @@ var arrowKeysMap = {
228
228
  ARROWDOWN: "\u2193"
229
229
  };
230
230
  var tooltipShortcutStyle = (0, _react2.css)({
231
- borderRadius: '2px',
231
+ borderRadius: "var(--ds-radius-xsmall, 2px)",
232
232
  backgroundColor: "var(--ds-background-inverse-subtle, #00000029)",
233
233
  padding: "0 ".concat("var(--ds-space-025, 2px)"),
234
234
  // NOTE: This might not actually do anything: https://atlassian.slack.com/archives/CFG3PSQ9E/p1647395052443259?thread_ts=1647394572.556029&cid=CFG3PSQ9E
@@ -25,5 +25,10 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
25
25
  id: 'fabric.editor.block.menu.copy.link',
26
26
  defaultMessage: 'Copy link',
27
27
  description: 'Copy link to the selected block'
28
+ },
29
+ paragraph: {
30
+ id: 'fabric.editor.block.menu.paragraph',
31
+ defaultMessage: 'Paragraph',
32
+ description: 'Change the selected block to a paragraph'
28
33
  }
29
34
  });
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  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); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "107.32.1";
19
+ var packageVersion = "107.33.0";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -13,11 +13,10 @@ var backgroundColorStyles = exports.backgroundColorStyles = function backgroundC
13
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
14
14
  '.fabric-background-color-mark': {
15
15
  backgroundColor: 'var(--custom-palette-color, inherit)',
16
- borderRadius: '2px',
16
+ borderRadius: "var(--ds-radius-xsmall, 2px)",
17
17
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
18
18
  paddingTop: '1px',
19
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
20
- paddingBottom: '2px',
19
+ paddingBottom: "var(--ds-space-025, 2px)",
21
20
  boxDecorationBreak: 'clone'
22
21
  },
23
22
  // Don't show text highlight styling when there is a hyperlink
@@ -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 = "107.32.1";
27
+ var packageVersion = "107.33.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -32,7 +32,7 @@ var buttonWrapperStyle = exports.buttonWrapperStyle = (0, _react.css)({
32
32
  display: 'flex',
33
33
  alignItems: 'center',
34
34
  padding: "var(--ds-space-025, 2px)",
35
- borderRadius: '6px',
35
+ borderRadius: "var(--ds-radius-medium, 6px)",
36
36
  '&:focus-within, &:focus, &:hover': {
37
37
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
38
38
  borderColor: "var(--ds-border, #091E4224)".concat(" !important")
@@ -115,7 +115,7 @@ const arrowKeysMap = {
115
115
  ARROWDOWN: '\u2193'
116
116
  };
117
117
  const tooltipShortcutStyle = css({
118
- borderRadius: '2px',
118
+ borderRadius: "var(--ds-radius-xsmall, 2px)",
119
119
  backgroundColor: "var(--ds-background-inverse-subtle, #00000029)",
120
120
  padding: `0 ${"var(--ds-space-025, 2px)"}`,
121
121
  // NOTE: This might not actually do anything: https://atlassian.slack.com/archives/CFG3PSQ9E/p1647395052443259?thread_ts=1647394572.556029&cid=CFG3PSQ9E
@@ -19,5 +19,10 @@ export const messages = defineMessages({
19
19
  id: 'fabric.editor.block.menu.copy.link',
20
20
  defaultMessage: 'Copy link',
21
21
  description: 'Copy link to the selected block'
22
+ },
23
+ paragraph: {
24
+ id: 'fabric.editor.block.menu.paragraph',
25
+ defaultMessage: 'Paragraph',
26
+ description: 'Change the selected block to a paragraph'
22
27
  }
23
28
  });
@@ -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 = "107.32.1";
4
+ const packageVersion = "107.33.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -1,17 +1,15 @@
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
-
4
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
4
  export const backgroundColorStyles = () => {
6
5
  return css({
7
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
8
7
  '.fabric-background-color-mark': {
9
8
  backgroundColor: 'var(--custom-palette-color, inherit)',
10
- borderRadius: '2px',
9
+ borderRadius: "var(--ds-radius-xsmall, 2px)",
11
10
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
12
11
  paddingTop: '1px',
13
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
14
- paddingBottom: '2px',
12
+ paddingBottom: "var(--ds-space-025, 2px)",
15
13
  boxDecorationBreak: 'clone'
16
14
  },
17
15
  // Don't show text highlight styling when there is a hyperlink
@@ -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 = "107.32.1";
17
+ const packageVersion = "107.33.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -25,7 +25,7 @@ export const buttonWrapperStyle = css({
25
25
  display: 'flex',
26
26
  alignItems: 'center',
27
27
  padding: "var(--ds-space-025, 2px)",
28
- borderRadius: '6px',
28
+ borderRadius: "var(--ds-radius-medium, 6px)",
29
29
  '&:focus-within, &:focus, &:hover': {
30
30
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
31
31
  borderColor: `${"var(--ds-border, #091E4224)"} !important`
@@ -116,7 +116,7 @@ var arrowKeysMap = {
116
116
  ARROWDOWN: "\u2193"
117
117
  };
118
118
  var tooltipShortcutStyle = css({
119
- borderRadius: '2px',
119
+ borderRadius: "var(--ds-radius-xsmall, 2px)",
120
120
  backgroundColor: "var(--ds-background-inverse-subtle, #00000029)",
121
121
  padding: "0 ".concat("var(--ds-space-025, 2px)"),
122
122
  // NOTE: This might not actually do anything: https://atlassian.slack.com/archives/CFG3PSQ9E/p1647395052443259?thread_ts=1647394572.556029&cid=CFG3PSQ9E
@@ -19,5 +19,10 @@ export var messages = defineMessages({
19
19
  id: 'fabric.editor.block.menu.copy.link',
20
20
  defaultMessage: 'Copy link',
21
21
  description: 'Copy link to the selected block'
22
+ },
23
+ paragraph: {
24
+ id: 'fabric.editor.block.menu.paragraph',
25
+ defaultMessage: 'Paragraph',
26
+ description: 'Change the selected block to a paragraph'
22
27
  }
23
28
  });
@@ -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 = "107.32.1";
10
+ var packageVersion = "107.33.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -1,17 +1,15 @@
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
-
4
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
4
  export var backgroundColorStyles = function backgroundColorStyles() {
6
5
  return css({
7
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
8
7
  '.fabric-background-color-mark': {
9
8
  backgroundColor: 'var(--custom-palette-color, inherit)',
10
- borderRadius: '2px',
9
+ borderRadius: "var(--ds-radius-xsmall, 2px)",
11
10
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
12
11
  paddingTop: '1px',
13
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
14
- paddingBottom: '2px',
12
+ paddingBottom: "var(--ds-space-025, 2px)",
15
13
  boxDecorationBreak: 'clone'
16
14
  },
17
15
  // Don't show text highlight styling when there is a hyperlink
@@ -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 = "107.32.1";
24
+ var packageVersion = "107.33.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -25,7 +25,7 @@ export var buttonWrapperStyle = css({
25
25
  display: 'flex',
26
26
  alignItems: 'center',
27
27
  padding: "var(--ds-space-025, 2px)",
28
- borderRadius: '6px',
28
+ borderRadius: "var(--ds-radius-medium, 6px)",
29
29
  '&:focus-within, &:focus, &:hover': {
30
30
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
31
31
  borderColor: "var(--ds-border, #091E4224)".concat(" !important")
@@ -19,4 +19,9 @@ export declare const messages: {
19
19
  defaultMessage: string;
20
20
  description: string;
21
21
  };
22
+ paragraph: {
23
+ id: string;
24
+ defaultMessage: string;
25
+ description: string;
26
+ };
22
27
  };
@@ -19,4 +19,9 @@ export declare const messages: {
19
19
  defaultMessage: string;
20
20
  description: string;
21
21
  };
22
+ paragraph: {
23
+ id: string;
24
+ defaultMessage: string;
25
+ description: string;
26
+ };
22
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.33.0",
3
+ "version": "107.33.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/"