@atlaskit/editor-core 213.5.3 → 213.5.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 +8 -0
- package/dist/cjs/ui/ContentStyles/index.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/mentions.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/rule.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/telepointerStyles.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/mentions.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/rule.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/telepointerStyles.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/mentions.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/rule.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/telepointerStyles.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 213.5.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`407e1dc11eeed`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/407e1dc11eeed) -
|
|
8
|
+
Minor changes to border radius values.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 213.5.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -59,7 +59,7 @@ var mentionNodeStyles = (0, _react2.css)({
|
|
|
59
59
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
60
60
|
'.editor-mention-primitive': {
|
|
61
61
|
display: 'inline',
|
|
62
|
-
borderRadius:
|
|
62
|
+
borderRadius: "var(--ds-radius-full, 9999px)",
|
|
63
63
|
cursor: 'pointer',
|
|
64
64
|
padding: '0 0.3em 2px 0.23em',
|
|
65
65
|
// To match `packages/elements/mention/src/components/Mention/PrimitiveMention.tsx` implementation
|
|
@@ -40,7 +40,7 @@ var mentionNodeStyles = exports.mentionNodeStyles = (0, _react.css)({
|
|
|
40
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
41
41
|
'.editor-mention-primitive': {
|
|
42
42
|
display: 'inline',
|
|
43
|
-
borderRadius:
|
|
43
|
+
borderRadius: "var(--ds-radius-full, 9999px)",
|
|
44
44
|
cursor: 'pointer',
|
|
45
45
|
padding: '0 0.3em 2px 0.23em',
|
|
46
46
|
// To match `packages/elements/mention/src/components/Mention/PrimitiveMention.tsx` implementation
|
|
@@ -18,6 +18,7 @@ var ruleStyles = exports.ruleStyles = (0, _react.css)((0, _defineProperty2.defau
|
|
|
18
18
|
backgroundColor: "var(--ds-border, #091E4224)",
|
|
19
19
|
height: '2px',
|
|
20
20
|
borderRadius: '1px',
|
|
21
|
+
// this should use token('radius.full') but cannot since the element has padding which increases its height beyond 2px
|
|
21
22
|
cursor: 'pointer',
|
|
22
23
|
padding: "var(--ds-space-050, 4px)".concat(" 0"),
|
|
23
24
|
margin: "var(--ds-space-300, 24px)".concat(" 0"),
|
|
@@ -172,7 +172,7 @@ var telepointerStyle = exports.telepointerStyle = (0, _react.css)({
|
|
|
172
172
|
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
173
173
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
174
174
|
paddingRight: "var(--ds-space-050, 4px)",
|
|
175
|
-
borderRadius:
|
|
175
|
+
borderRadius: "0 ".concat("var(--ds-radius-xsmall, 2px)", " ", "var(--ds-radius-xsmall, 2px)", " 0")
|
|
176
176
|
},
|
|
177
177
|
'.telepointer-initial': {
|
|
178
178
|
opacity: 1,
|
|
@@ -69,7 +69,7 @@ const mentionNodeStyles = css({
|
|
|
69
69
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
70
70
|
'.editor-mention-primitive': {
|
|
71
71
|
display: 'inline',
|
|
72
|
-
borderRadius:
|
|
72
|
+
borderRadius: "var(--ds-radius-full, 9999px)",
|
|
73
73
|
cursor: 'pointer',
|
|
74
74
|
padding: '0 0.3em 2px 0.23em',
|
|
75
75
|
// To match `packages/elements/mention/src/components/Mention/PrimitiveMention.tsx` implementation
|
|
@@ -46,7 +46,7 @@ export const mentionNodeStyles = css({
|
|
|
46
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
47
47
|
'.editor-mention-primitive': {
|
|
48
48
|
display: 'inline',
|
|
49
|
-
borderRadius:
|
|
49
|
+
borderRadius: "var(--ds-radius-full, 9999px)",
|
|
50
50
|
cursor: 'pointer',
|
|
51
51
|
padding: '0 0.3em 2px 0.23em',
|
|
52
52
|
// To match `packages/elements/mention/src/components/Mention/PrimitiveMention.tsx` implementation
|
|
@@ -9,6 +9,7 @@ export const ruleStyles = css({
|
|
|
9
9
|
backgroundColor: "var(--ds-border, #091E4224)",
|
|
10
10
|
height: '2px',
|
|
11
11
|
borderRadius: '1px',
|
|
12
|
+
// this should use token('radius.full') but cannot since the element has padding which increases its height beyond 2px
|
|
12
13
|
cursor: 'pointer',
|
|
13
14
|
padding: `${"var(--ds-space-050, 4px)"} 0`,
|
|
14
15
|
margin: `${"var(--ds-space-300, 24px)"} 0`,
|
|
@@ -165,7 +165,7 @@ export const telepointerStyle = css({
|
|
|
165
165
|
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
166
166
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
167
167
|
paddingRight: "var(--ds-space-050, 4px)",
|
|
168
|
-
borderRadius:
|
|
168
|
+
borderRadius: `0 ${"var(--ds-radius-xsmall, 2px)"} ${"var(--ds-radius-xsmall, 2px)"} 0`
|
|
169
169
|
},
|
|
170
170
|
'.telepointer-initial': {
|
|
171
171
|
opacity: 1,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "213.5.
|
|
2
|
+
export const version = "213.5.3";
|
|
@@ -53,7 +53,7 @@ var mentionNodeStyles = css({
|
|
|
53
53
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
54
54
|
'.editor-mention-primitive': {
|
|
55
55
|
display: 'inline',
|
|
56
|
-
borderRadius:
|
|
56
|
+
borderRadius: "var(--ds-radius-full, 9999px)",
|
|
57
57
|
cursor: 'pointer',
|
|
58
58
|
padding: '0 0.3em 2px 0.23em',
|
|
59
59
|
// To match `packages/elements/mention/src/components/Mention/PrimitiveMention.tsx` implementation
|
|
@@ -33,7 +33,7 @@ export var mentionNodeStyles = css({
|
|
|
33
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
34
34
|
'.editor-mention-primitive': {
|
|
35
35
|
display: 'inline',
|
|
36
|
-
borderRadius:
|
|
36
|
+
borderRadius: "var(--ds-radius-full, 9999px)",
|
|
37
37
|
cursor: 'pointer',
|
|
38
38
|
padding: '0 0.3em 2px 0.23em',
|
|
39
39
|
// To match `packages/elements/mention/src/components/Mention/PrimitiveMention.tsx` implementation
|
|
@@ -10,6 +10,7 @@ export var ruleStyles = css(_defineProperty({
|
|
|
10
10
|
backgroundColor: "var(--ds-border, #091E4224)",
|
|
11
11
|
height: '2px',
|
|
12
12
|
borderRadius: '1px',
|
|
13
|
+
// this should use token('radius.full') but cannot since the element has padding which increases its height beyond 2px
|
|
13
14
|
cursor: 'pointer',
|
|
14
15
|
padding: "var(--ds-space-050, 4px)".concat(" 0"),
|
|
15
16
|
margin: "var(--ds-space-300, 24px)".concat(" 0"),
|
|
@@ -165,7 +165,7 @@ export var telepointerStyle = css({
|
|
|
165
165
|
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
166
166
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
167
167
|
paddingRight: "var(--ds-space-050, 4px)",
|
|
168
|
-
borderRadius:
|
|
168
|
+
borderRadius: "0 ".concat("var(--ds-radius-xsmall, 2px)", " ", "var(--ds-radius-xsmall, 2px)", " 0")
|
|
169
169
|
},
|
|
170
170
|
'.telepointer-initial': {
|
|
171
171
|
opacity: 1,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "213.5.
|
|
2
|
+
export var version = "213.5.3";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "213.5.
|
|
3
|
+
"version": "213.5.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
51
51
|
"@atlaskit/editor-plugin-quick-insert": "^5.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-user-preferences": "^3.0.0",
|
|
53
|
-
"@atlaskit/editor-plugins": "^10.
|
|
53
|
+
"@atlaskit/editor-plugins": "^10.6.0",
|
|
54
54
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
55
55
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
56
56
|
"@atlaskit/editor-toolbar": "^0.9.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.3.0",
|
|
65
65
|
"@atlaskit/react-ufo": "^4.9.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^12.29.0",
|
|
68
68
|
"@atlaskit/tokens": "^6.3.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.4.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"uuid": "^3.1.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@atlaskit/editor-common": "^109.
|
|
84
|
+
"@atlaskit/editor-common": "^109.13.0",
|
|
85
85
|
"@atlaskit/link-provider": "^4.0.0",
|
|
86
86
|
"@atlaskit/media-core": "^37.0.0",
|
|
87
87
|
"react": "^18.2.0",
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
"@atlaskit/primitives": "^14.15.0",
|
|
108
108
|
"@atlaskit/renderer": "^123.4.0",
|
|
109
109
|
"@atlaskit/section-message": "^8.7.0",
|
|
110
|
-
"@atlaskit/smart-card": "^42.
|
|
110
|
+
"@atlaskit/smart-card": "^42.2.0",
|
|
111
111
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
112
112
|
"@atlaskit/toggle": "^15.1.0",
|
|
113
|
-
"@atlaskit/util-data-test": "^18.
|
|
113
|
+
"@atlaskit/util-data-test": "^18.3.0",
|
|
114
114
|
"@atlassian/adf-schema-json": "^1.31.0",
|
|
115
115
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
116
116
|
"@atlassian/search-provider": "^6.0.0",
|