@atlaskit/editor-common 107.24.0 → 107.24.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.24.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3fff102f55da9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3fff102f55da9) -
8
+ Cleanup FG platform_editor_ol_padding_fix
9
+ - Updated dependencies
10
+
3
11
  ## 107.24.0
4
12
 
5
13
  ### Minor Changes
@@ -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.23.3";
19
+ var packageVersion = "107.24.0";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -11,7 +11,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
11
11
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
12
12
  var _react = require("@emotion/react");
13
13
  var _adfSchema = require("@atlaskit/adf-schema");
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var _browser = require("../../utils/browser");
16
15
  var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
16
  var listItemCounterPadding = exports.listItemCounterPadding = 24;
@@ -25,7 +24,7 @@ var getItemCounterLeftPadding = function getItemCounterLeftPadding(itemCounterDi
25
24
  // character). We use "ch" so that this computed padding can now grow if
26
25
  // the font-size ever enlarges.
27
26
  var paddingLeft = "2.385ch";
28
- if (itemCounterDigitsSize >= ((0, _platformFeatureFlags.fg)('platform_editor_ol_padding_fix') ? 2 : 3)) {
27
+ if (itemCounterDigitsSize >= 2) {
29
28
  // When there are 2 or more digits, we use a combination of "ch" units and
30
29
  // pixel values so that while the computed padding grows if font-size ever
31
30
  // enlarges, it doesn't over-scale with each digit (because of the fixed pixel
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "107.23.3";
26
+ var packageVersion = "107.24.0";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -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.23.3";
4
+ const packageVersion = "107.24.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -1,7 +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
3
  import { bulletListSelector, orderedListSelector } from '@atlaskit/adf-schema';
4
- import { fg } from '@atlaskit/platform-feature-flags';
5
4
  import { browser } from '../../utils/browser';
6
5
  export const listItemCounterPadding = 24;
7
6
  var CSS_VAR_NAMES = /*#__PURE__*/function (CSS_VAR_NAMES) {
@@ -14,7 +13,7 @@ const getItemCounterLeftPadding = itemCounterDigitsSize => {
14
13
  // character). We use "ch" so that this computed padding can now grow if
15
14
  // the font-size ever enlarges.
16
15
  let paddingLeft = `2.385ch`;
17
- if (itemCounterDigitsSize >= (fg('platform_editor_ol_padding_fix') ? 2 : 3)) {
16
+ if (itemCounterDigitsSize >= 2) {
18
17
  // When there are 2 or more digits, we use a combination of "ch" units and
19
18
  // pixel values so that while the computed padding grows if font-size ever
20
19
  // enlarges, it doesn't over-scale with each digit (because of the fixed pixel
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "107.23.3";
16
+ const packageVersion = "107.24.0";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -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.23.3";
10
+ var packageVersion = "107.24.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -5,7 +5,6 @@ var _templateObject;
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
6
  import { css } from '@emotion/react';
7
7
  import { bulletListSelector, orderedListSelector } from '@atlaskit/adf-schema';
8
- import { fg } from '@atlaskit/platform-feature-flags';
9
8
  import { browser } from '../../utils/browser';
10
9
  export var listItemCounterPadding = 24;
11
10
  var CSS_VAR_NAMES = /*#__PURE__*/function (CSS_VAR_NAMES) {
@@ -18,7 +17,7 @@ var getItemCounterLeftPadding = function getItemCounterLeftPadding(itemCounterDi
18
17
  // character). We use "ch" so that this computed padding can now grow if
19
18
  // the font-size ever enlarges.
20
19
  var paddingLeft = "2.385ch";
21
- if (itemCounterDigitsSize >= (fg('platform_editor_ol_padding_fix') ? 2 : 3)) {
20
+ if (itemCounterDigitsSize >= 2) {
22
21
  // When there are 2 or more digits, we use a combination of "ch" units and
23
22
  // pixel values so that while the computed padding grows if font-size ever
24
23
  // enlarges, it doesn't over-scale with each digit (because of the fixed pixel
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "107.23.3";
23
+ var packageVersion = "107.24.0";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.24.0",
3
+ "version": "107.24.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/"
@@ -214,7 +214,7 @@
214
214
  "devDependencies": {
215
215
  "@af/visual-regression": "workspace:^",
216
216
  "@atlaskit/media-core": "^37.0.0",
217
- "@atlaskit/media-test-helpers": "^38.0.0",
217
+ "@atlaskit/media-test-helpers": "^39.0.0",
218
218
  "@atlaskit/util-data-test": "^18.1.0",
219
219
  "@atlaskit/visual-regression": "workspace:^",
220
220
  "@testing-library/dom": "^10.1.0",
@@ -361,9 +361,6 @@
361
361
  },
362
362
  "platform_editor_find_and_replace_improvements_1": {
363
363
  "type": "boolean"
364
- },
365
- "platform_editor_ol_padding_fix": {
366
- "type": "boolean"
367
364
  }
368
365
  }
369
366
  }