@atlaskit/editor-core 208.6.2 → 208.6.3
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 +11 -0
- package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +8 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +8 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +8 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 208.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#178241](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178241)
|
|
8
|
+
[`fcdd6e779f749`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fcdd6e779f749) -
|
|
9
|
+
[ux] [ED-28381] use node selection for matches in the expand title to prevent bugs with findNext
|
|
10
|
+
and findPrevious and fix scrolling to matches in the platform_editor_find_and_replace_improvements
|
|
11
|
+
experience
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 208.6.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
2
|
+
export const version = "208.6.2";
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
2
|
+
export var version = "208.6.2";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "208.6.
|
|
3
|
+
"version": "208.6.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -97,7 +97,7 @@
|
|
|
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.
|
|
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",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@atlaskit/primitives": "^14.10.0",
|
|
106
106
|
"@atlaskit/renderer": "^119.2.0",
|
|
107
107
|
"@atlaskit/section-message": "^8.2.0",
|
|
108
|
-
"@atlaskit/smart-card": "^38.
|
|
108
|
+
"@atlaskit/smart-card": "^38.18.0",
|
|
109
109
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
110
110
|
"@atlaskit/toggle": "^15.0.0",
|
|
111
111
|
"@atlaskit/util-data-test": "^18.0.0",
|