@atlaskit/editor-core 208.6.2 → 208.6.4

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,25 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 208.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#179156](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/179156)
8
+ [`81f5605b925fc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/81f5605b925fc) -
9
+ AFO-4081 ufo vc ignore if no layout shift marker
10
+ - Updated dependencies
11
+
12
+ ## 208.6.3
13
+
14
+ ### Patch Changes
15
+
16
+ - [#178241](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178241)
17
+ [`fcdd6e779f749`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fcdd6e779f749) -
18
+ [ux] [ED-28381] use node selection for matches in the expand title to prevent bugs with findNext
19
+ and findPrevious and fix scrolling to matches in the platform_editor_find_and_replace_improvements
20
+ experience
21
+ - Updated dependencies
22
+
3
23
  ## 208.6.2
4
24
 
5
25
  ### Patch Changes
@@ -689,7 +689,8 @@ function ReactEditorView(props) {
689
689
  role: "textbox",
690
690
  id: EDIT_AREA_ID,
691
691
  "aria-describedby": assistiveDescribedBy,
692
- "data-editor-id": editorId.current
692
+ "data-editor-id": editorId.current,
693
+ "data-vc-ignore-if-no-layout-shift": (0, _platformFeatureFlags.fg)('platform_vc_ignore_no_ls_mutation_marker') ? true : undefined
693
694
  }));
694
695
  }, [handleEditorViewRef, props.intl]);
695
696
  var previousPreset = (0, _hooks.usePreviousState)(preset);
@@ -31,26 +31,30 @@ var findReplaceStylesNew = exports.findReplaceStylesNew = (0, _react.css)({
31
31
  '.search-match-text': {
32
32
  borderRadius: "var(--ds-space-050, 4px)",
33
33
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", "\n\t\t"),
34
- backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
35
+ backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)".concat(" !important"),
35
36
  color: "var(--ds-text, #172B4D)"
36
37
  },
37
38
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
38
39
  '.search-match-text.selected-search-match': {
39
40
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", "\n\t\t"),
40
- backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
42
+ backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)".concat(" !important")
41
43
  },
42
44
  /** Dark mode */
43
45
 
44
46
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
45
47
  '.search-match-text.search-match-dark': {
46
48
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", "\n\t\t"),
47
- backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)",
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
50
+ backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)".concat(" !important"),
48
51
  color: "var(--ds-text-inverse, #FFFFFF)"
49
52
  },
50
53
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
51
54
  '.search-match-text.selected-search-match.search-match-dark': {
52
55
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", "\n\t\t"),
53
- backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
57
+ backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)".concat(" !important")
54
58
  },
55
59
  /** Block match styles */
56
60
 
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "208.6.1";
8
+ var version = exports.version = "208.6.3";
@@ -636,7 +636,8 @@ export function ReactEditorView(props) {
636
636
  role: "textbox",
637
637
  id: EDIT_AREA_ID,
638
638
  "aria-describedby": assistiveDescribedBy,
639
- "data-editor-id": editorId.current
639
+ "data-editor-id": editorId.current,
640
+ "data-vc-ignore-if-no-layout-shift": fg('platform_vc_ignore_no_ls_mutation_marker') ? true : undefined
640
641
  }));
641
642
  }, [handleEditorViewRef, props.intl]);
642
643
  const previousPreset = usePreviousState(preset);
@@ -27,7 +27,8 @@ export const findReplaceStylesNew = css({
27
27
  inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
28
28
  inset 0 0 0 5px ${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"}
29
29
  `,
30
- backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
31
+ backgroundColor: `${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"} !important`,
31
32
  color: "var(--ds-text, #172B4D)"
32
33
  },
33
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -36,7 +37,8 @@ export const findReplaceStylesNew = css({
36
37
  inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
37
38
  inset 0 0 0 5px ${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"}
38
39
  `,
39
- backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
41
+ backgroundColor: `${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"} !important`
40
42
  },
41
43
  /** Dark mode */
42
44
 
@@ -46,7 +48,8 @@ export const findReplaceStylesNew = css({
46
48
  inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
47
49
  inset 0 0 0 5px ${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"}
48
50
  `,
49
- backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)",
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
52
+ backgroundColor: `${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"} !important`,
50
53
  color: "var(--ds-text-inverse, #FFFFFF)"
51
54
  },
52
55
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -55,7 +58,8 @@ export const findReplaceStylesNew = css({
55
58
  inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
56
59
  inset 0 0 0 5px ${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"}
57
60
  `,
58
- backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"
61
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
62
+ backgroundColor: `${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"} !important`
59
63
  },
60
64
  /** Block match styles */
61
65
 
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "208.6.1";
2
+ export const version = "208.6.3";
@@ -679,7 +679,8 @@ export function ReactEditorView(props) {
679
679
  role: "textbox",
680
680
  id: EDIT_AREA_ID,
681
681
  "aria-describedby": assistiveDescribedBy,
682
- "data-editor-id": editorId.current
682
+ "data-editor-id": editorId.current,
683
+ "data-vc-ignore-if-no-layout-shift": fg('platform_vc_ignore_no_ls_mutation_marker') ? true : undefined
683
684
  }));
684
685
  }, [handleEditorViewRef, props.intl]);
685
686
  var previousPreset = usePreviousState(preset);
@@ -24,26 +24,30 @@ export var findReplaceStylesNew = css({
24
24
  '.search-match-text': {
25
25
  borderRadius: "var(--ds-space-050, 4px)",
26
26
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", "\n\t\t"),
27
- backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
28
+ backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)".concat(" !important"),
28
29
  color: "var(--ds-text, #172B4D)"
29
30
  },
30
31
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
31
32
  '.search-match-text.selected-search-match': {
32
33
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", "\n\t\t"),
33
- backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
35
+ backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)".concat(" !important")
34
36
  },
35
37
  /** Dark mode */
36
38
 
37
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
38
40
  '.search-match-text.search-match-dark': {
39
41
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", "\n\t\t"),
40
- backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)",
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
43
+ backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)".concat(" !important"),
41
44
  color: "var(--ds-text-inverse, #FFFFFF)"
42
45
  },
43
46
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
44
47
  '.search-match-text.selected-search-match.search-match-dark': {
45
48
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", "\n\t\t"),
46
- backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
50
+ backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)".concat(" !important")
47
51
  },
48
52
  /** Block match styles */
49
53
 
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "208.6.1";
2
+ export var version = "208.6.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "208.6.2",
3
+ "version": "208.6.4",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -93,19 +93,19 @@
93
93
  "@atlaskit/analytics-listeners": "^9.0.0",
94
94
  "@atlaskit/collab-provider": "^10.20.0",
95
95
  "@atlaskit/editor-plugin-annotation": "^2.9.0",
96
- "@atlaskit/editor-plugin-card": "^6.6.0",
96
+ "@atlaskit/editor-plugin-card": "^6.7.0",
97
97
  "@atlaskit/editor-plugin-list": "^4.2.0",
98
98
  "@atlaskit/editor-plugin-paste": "^3.3.0",
99
99
  "@atlaskit/link-provider": "^3.4.0",
100
- "@atlaskit/logo": "^19.3.0",
100
+ "@atlaskit/logo": "^19.4.0",
101
101
  "@atlaskit/media-core": "^37.0.0",
102
102
  "@atlaskit/media-integration-test-helpers": "workspace:^",
103
103
  "@atlaskit/media-test-helpers": "^37.0.0",
104
104
  "@atlaskit/modal-dialog": "^14.2.0",
105
105
  "@atlaskit/primitives": "^14.10.0",
106
- "@atlaskit/renderer": "^119.2.0",
106
+ "@atlaskit/renderer": "^119.3.0",
107
107
  "@atlaskit/section-message": "^8.2.0",
108
- "@atlaskit/smart-card": "^38.17.0",
108
+ "@atlaskit/smart-card": "^38.19.0",
109
109
  "@atlaskit/synchrony-test-helpers": "workspace:^",
110
110
  "@atlaskit/toggle": "^15.0.0",
111
111
  "@atlaskit/util-data-test": "^18.0.0",
@@ -577,6 +577,9 @@
577
577
  },
578
578
  "platform_editor_centre_mention_padding": {
579
579
  "type": "boolean"
580
+ },
581
+ "platform_vc_ignore_no_ls_mutation_marker": {
582
+ "type": "boolean"
580
583
  }
581
584
  },
582
585
  "stricter": {