@atlaskit/adf-schema 52.5.3 → 52.5.5

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,19 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 52.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f7d7098ecbcbf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f7d7098ecbcbf) -
8
+ Cleanup exp platform_editor_copy_paste_issue_fix
9
+ - Updated dependencies
10
+
11
+ ## 52.5.4
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 52.5.3
4
18
 
5
19
  ### Patch Changes
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.status = void 0;
7
7
  var _uuid = require("../../utils/uuid");
8
8
  var _nodeTypes = require("../../next-schema/generated/nodeTypes");
9
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
10
9
  /**
11
10
  * @name status_node
12
11
  */
@@ -24,7 +23,7 @@ var status = exports.status = (0, _nodeTypes.status)({
24
23
 
25
24
  // Prefer data-text attribute over textContent
26
25
  // When NodeView DOM is copied, inner text content may not be preserved
27
- var text = (0, _expValEquals.expValEquals)('platform_editor_copy_paste_issue_fix', 'isEnabled', true) ? dom.getAttribute('data-text') || textContent : textContent;
26
+ var text = dom.getAttribute('data-text') || textContent;
28
27
  return {
29
28
  text: text,
30
29
  color: dom.getAttribute('data-color'),
@@ -1,6 +1,5 @@
1
1
  import { uuid } from '../../utils/uuid';
2
2
  import { status as statusFactory } from '../../next-schema/generated/nodeTypes';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
 
5
4
  /**
6
5
  * @name status_node
@@ -19,7 +18,7 @@ export const status = statusFactory({
19
18
 
20
19
  // Prefer data-text attribute over textContent
21
20
  // When NodeView DOM is copied, inner text content may not be preserved
22
- const text = expValEquals('platform_editor_copy_paste_issue_fix', 'isEnabled', true) ? dom.getAttribute('data-text') || textContent : textContent;
21
+ const text = dom.getAttribute('data-text') || textContent;
23
22
  return {
24
23
  text,
25
24
  color: dom.getAttribute('data-color'),
@@ -1,6 +1,5 @@
1
1
  import { uuid } from '../../utils/uuid';
2
2
  import { status as statusFactory } from '../../next-schema/generated/nodeTypes';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
 
5
4
  /**
6
5
  * @name status_node
@@ -19,7 +18,7 @@ export var status = statusFactory({
19
18
 
20
19
  // Prefer data-text attribute over textContent
21
20
  // When NodeView DOM is copied, inner text content may not be preserved
22
- var text = expValEquals('platform_editor_copy_paste_issue_fix', 'isEnabled', true) ? dom.getAttribute('data-text') || textContent : textContent;
21
+ var text = dom.getAttribute('data-text') || textContent;
23
22
  return {
24
23
  text: text,
25
24
  color: dom.getAttribute('data-color'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "52.5.3",
3
+ "version": "52.5.5",
4
4
  "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@atlaskit/adf-schema-generator": "^2.2.0",
44
44
  "@atlaskit/editor-prosemirror": "^7.3.0",
45
- "@atlaskit/tmp-editor-statsig": "^65.0.0",
45
+ "@atlaskit/tmp-editor-statsig": "^67.0.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "css-color-names": "0.0.4",
48
48
  "linkify-it": "^3.0.3",