@atlaskit/editor-common 107.34.0 → 107.34.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,11 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.34.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 107.34.0
4
10
 
5
11
  ### Minor Changes
@@ -7,7 +7,6 @@ exports.getLinkPreferencesURLFromENV = exports.getActiveLinkMark = void 0;
7
7
  exports.isLinkAtPos = isLinkAtPos;
8
8
  exports.isTextAtPos = isTextAtPos;
9
9
  var _atlassianContext = require("@atlaskit/atlassian-context");
10
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
10
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
12
11
  var _constants = require("./constants");
13
12
  var STAGING = 'staging';
@@ -27,11 +26,8 @@ function isLinkAtPos(pos) {
27
26
  };
28
27
  }
29
28
  var getLinkPreferencesURLFromENV = exports.getLinkPreferencesURLFromENV = function getLinkPreferencesURLFromENV() {
30
- if ((0, _platformFeatureFlags.fg)('platform_fix_preferences_url_in_isolated_cloud')) {
31
- var envType = process.env.CLOUD_ENV === 'staging' ? STAGING : PRODUCTION;
32
- return (0, _atlassianContext.getUrlForDomainInContext)('id', envType) + _constants.linkPreferencesPath;
33
- }
34
- return (0, _atlassianContext.getATLContextUrl)('id') + _constants.linkPreferencesPath;
29
+ var envType = process.env.CLOUD_ENV === 'staging' ? STAGING : PRODUCTION;
30
+ return (0, _atlassianContext.getUrlForDomainInContext)('id', envType) + _constants.linkPreferencesPath;
35
31
  };
36
32
  var isSelectionInsideLink = function isSelectionInsideLink(state) {
37
33
  return !!state.doc.type.schema.marks.link.isInSet(state.selection.$from.marks());
@@ -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.33.2";
19
+ var packageVersion = "107.34.0";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -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.33.2";
27
+ var packageVersion = "107.34.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -1,5 +1,4 @@
1
- import { getATLContextUrl, getUrlForDomainInContext } from '@atlaskit/atlassian-context';
2
- import { fg } from '@atlaskit/platform-feature-flags';
1
+ import { getUrlForDomainInContext } from '@atlaskit/atlassian-context';
3
2
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
3
  import { linkPreferencesPath } from './constants';
5
4
  const STAGING = 'staging';
@@ -20,11 +19,8 @@ export function isLinkAtPos(pos) {
20
19
  };
21
20
  }
22
21
  export const getLinkPreferencesURLFromENV = () => {
23
- if (fg('platform_fix_preferences_url_in_isolated_cloud')) {
24
- const envType = process.env.CLOUD_ENV === 'staging' ? STAGING : PRODUCTION;
25
- return getUrlForDomainInContext('id', envType) + linkPreferencesPath;
26
- }
27
- return getATLContextUrl('id') + linkPreferencesPath;
22
+ const envType = process.env.CLOUD_ENV === 'staging' ? STAGING : PRODUCTION;
23
+ return getUrlForDomainInContext('id', envType) + linkPreferencesPath;
28
24
  };
29
25
  const isSelectionInsideLink = state => !!state.doc.type.schema.marks.link.isInSet(state.selection.$from.marks());
30
26
  const isEmptySelectionBeforeLink = state => {
@@ -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.33.2";
4
+ const packageVersion = "107.34.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -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.33.2";
17
+ const packageVersion = "107.34.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -1,5 +1,4 @@
1
- import { getATLContextUrl, getUrlForDomainInContext } from '@atlaskit/atlassian-context';
2
- import { fg } from '@atlaskit/platform-feature-flags';
1
+ import { getUrlForDomainInContext } from '@atlaskit/atlassian-context';
3
2
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
3
  import { linkPreferencesPath } from './constants';
5
4
  var STAGING = 'staging';
@@ -19,11 +18,8 @@ export function isLinkAtPos(pos) {
19
18
  };
20
19
  }
21
20
  export var getLinkPreferencesURLFromENV = function getLinkPreferencesURLFromENV() {
22
- if (fg('platform_fix_preferences_url_in_isolated_cloud')) {
23
- var envType = process.env.CLOUD_ENV === 'staging' ? STAGING : PRODUCTION;
24
- return getUrlForDomainInContext('id', envType) + linkPreferencesPath;
25
- }
26
- return getATLContextUrl('id') + linkPreferencesPath;
21
+ var envType = process.env.CLOUD_ENV === 'staging' ? STAGING : PRODUCTION;
22
+ return getUrlForDomainInContext('id', envType) + linkPreferencesPath;
27
23
  };
28
24
  var isSelectionInsideLink = function isSelectionInsideLink(state) {
29
25
  return !!state.doc.type.schema.marks.link.isInSet(state.selection.$from.marks());
@@ -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.33.2";
10
+ var packageVersion = "107.34.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -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.33.2";
24
+ var packageVersion = "107.34.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.34.0",
3
+ "version": "107.34.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/"
@@ -163,7 +163,7 @@
163
163
  "@atlaskit/menu": "^8.3.0",
164
164
  "@atlaskit/onboarding": "^14.3.0",
165
165
  "@atlaskit/platform-feature-flags": "^1.1.0",
166
- "@atlaskit/platform-feature-flags-react": "^0.2.0",
166
+ "@atlaskit/platform-feature-flags-react": "^0.3.0",
167
167
  "@atlaskit/popper": "^7.1.0",
168
168
  "@atlaskit/primitives": "^14.12.0",
169
169
  "@atlaskit/profilecard": "^24.9.0",
@@ -351,9 +351,6 @@
351
351
  "platform_editor_legacy_content_macro_visual_update": {
352
352
  "type": "boolean"
353
353
  },
354
- "platform_fix_preferences_url_in_isolated_cloud": {
355
- "type": "boolean"
356
- },
357
354
  "platform_synced_block_demo": {
358
355
  "type": "boolean"
359
356
  },