@atlaskit/mention 27.18.1 → 27.18.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 +14 -0
- package/dist/cjs/components/Mention/MentionInternal.compiled.css +3 -3
- package/dist/cjs/components/Mention/MentionInternal.js +1 -1
- package/dist/cjs/util/package-version.js +1 -1
- package/dist/es2019/components/Mention/MentionInternal.compiled.css +3 -3
- package/dist/es2019/components/Mention/MentionInternal.js +1 -1
- package/dist/es2019/util/package-version.js +1 -1
- package/dist/esm/components/Mention/MentionInternal.compiled.css +3 -3
- package/dist/esm/components/Mention/MentionInternal.js +1 -1
- package/dist/esm/util/package-version.js +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 27.18.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 27.18.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`e7f1b919fb426`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e7f1b919fb426) -
|
|
14
|
+
Keep mention avatars and their error fallback vertically aligned and proportional to surrounding
|
|
15
|
+
text, including headings, under the `platform_editor_mention_node_avatar` experiment.
|
|
16
|
+
|
|
3
17
|
## 27.18.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._1bah1h6o{justify-content:center}
|
|
5
5
|
._1bsb1osq{width:100%}
|
|
6
|
-
.
|
|
6
|
+
._1bsb1x4e{width:1em}
|
|
7
7
|
._1e0c116y{display:inline-flex}
|
|
8
8
|
._1e0c1ule{display:block}
|
|
9
9
|
._1o9zidpf{flex-shrink:0}
|
|
10
10
|
._1reo15vq{overflow-x:hidden}
|
|
11
11
|
._4cvr1h6o{align-items:center}
|
|
12
12
|
._4t3i1osq{height:100%}
|
|
13
|
-
.
|
|
13
|
+
._4t3i1x4e{height:1em}
|
|
14
14
|
._5ral1dfr{object-fit:cover}
|
|
15
15
|
._mkrz1l17{clip-path:polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%)}
|
|
16
16
|
._s7n410e5{vertical-align:-.125em}
|
|
17
|
-
.
|
|
17
|
+
._s7n4ux7c{vertical-align:.05em}
|
|
@@ -189,7 +189,7 @@ var MentionInternal = exports.MentionInternal = /*#__PURE__*/function (_React$Pu
|
|
|
189
189
|
}, disabledA11yProps), failedMention ? this.renderUnknownUserError(id) : showAvatarSlot ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("span", {
|
|
190
190
|
"aria-hidden": "true",
|
|
191
191
|
"data-testid": "mention-avatar-slot",
|
|
192
|
-
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _2rko1rr0 _1e0c116y
|
|
192
|
+
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _2rko1rr0 _1e0c116y _1bsb1x4e _4t3i1x4e _4cvr1h6o _1bah1h6o _1o9zidpf _12l21b66 _s7n410e5", shouldApplyAgentShape && "_2rkoidpf _mkrz1l17", this.state.hasAvatarError && "_s7n4ux7c"])
|
|
193
193
|
}, shouldRenderAvatar ? /*#__PURE__*/_react.default.createElement("img", {
|
|
194
194
|
alt: "",
|
|
195
195
|
decoding: "async",
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._1bah1h6o{justify-content:center}
|
|
5
5
|
._1bsb1osq{width:100%}
|
|
6
|
-
.
|
|
6
|
+
._1bsb1x4e{width:1em}
|
|
7
7
|
._1e0c116y{display:inline-flex}
|
|
8
8
|
._1e0c1ule{display:block}
|
|
9
9
|
._1o9zidpf{flex-shrink:0}
|
|
10
10
|
._1reo15vq{overflow-x:hidden}
|
|
11
11
|
._4cvr1h6o{align-items:center}
|
|
12
12
|
._4t3i1osq{height:100%}
|
|
13
|
-
.
|
|
13
|
+
._4t3i1x4e{height:1em}
|
|
14
14
|
._5ral1dfr{object-fit:cover}
|
|
15
15
|
._mkrz1l17{clip-path:polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%)}
|
|
16
16
|
._s7n410e5{vertical-align:-.125em}
|
|
17
|
-
.
|
|
17
|
+
._s7n4ux7c{vertical-align:.05em}
|
|
@@ -179,7 +179,7 @@ export class MentionInternal extends React.PureComponent {
|
|
|
179
179
|
}, disabledA11yProps), failedMention ? this.renderUnknownUserError(id) : showAvatarSlot ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
180
180
|
"aria-hidden": "true",
|
|
181
181
|
"data-testid": "mention-avatar-slot",
|
|
182
|
-
className: ax(["_1reo15vq _18m915vq _2rko1rr0 _1e0c116y
|
|
182
|
+
className: ax(["_1reo15vq _18m915vq _2rko1rr0 _1e0c116y _1bsb1x4e _4t3i1x4e _4cvr1h6o _1bah1h6o _1o9zidpf _12l21b66 _s7n410e5", shouldApplyAgentShape && "_2rkoidpf _mkrz1l17", this.state.hasAvatarError && "_s7n4ux7c"])
|
|
183
183
|
}, shouldRenderAvatar ? /*#__PURE__*/React.createElement("img", {
|
|
184
184
|
alt: "",
|
|
185
185
|
decoding: "async",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "27.18.
|
|
1
|
+
export const packageVersion = "27.18.2";
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._1bah1h6o{justify-content:center}
|
|
5
5
|
._1bsb1osq{width:100%}
|
|
6
|
-
.
|
|
6
|
+
._1bsb1x4e{width:1em}
|
|
7
7
|
._1e0c116y{display:inline-flex}
|
|
8
8
|
._1e0c1ule{display:block}
|
|
9
9
|
._1o9zidpf{flex-shrink:0}
|
|
10
10
|
._1reo15vq{overflow-x:hidden}
|
|
11
11
|
._4cvr1h6o{align-items:center}
|
|
12
12
|
._4t3i1osq{height:100%}
|
|
13
|
-
.
|
|
13
|
+
._4t3i1x4e{height:1em}
|
|
14
14
|
._5ral1dfr{object-fit:cover}
|
|
15
15
|
._mkrz1l17{clip-path:polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%)}
|
|
16
16
|
._s7n410e5{vertical-align:-.125em}
|
|
17
|
-
.
|
|
17
|
+
._s7n4ux7c{vertical-align:.05em}
|
|
@@ -184,7 +184,7 @@ export var MentionInternal = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
184
184
|
}, disabledA11yProps), failedMention ? this.renderUnknownUserError(id) : showAvatarSlot ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
185
185
|
"aria-hidden": "true",
|
|
186
186
|
"data-testid": "mention-avatar-slot",
|
|
187
|
-
className: ax(["_1reo15vq _18m915vq _2rko1rr0 _1e0c116y
|
|
187
|
+
className: ax(["_1reo15vq _18m915vq _2rko1rr0 _1e0c116y _1bsb1x4e _4t3i1x4e _4cvr1h6o _1bah1h6o _1o9zidpf _12l21b66 _s7n410e5", shouldApplyAgentShape && "_2rkoidpf _mkrz1l17", this.state.hasAvatarError && "_s7n4ux7c"])
|
|
188
188
|
}, shouldRenderAvatar ? /*#__PURE__*/React.createElement("img", {
|
|
189
189
|
alt: "",
|
|
190
190
|
decoding: "async",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = "27.18.
|
|
1
|
+
export var packageVersion = "27.18.2";
|
package/package.json
CHANGED
|
@@ -42,12 +42,13 @@
|
|
|
42
42
|
"@atlaskit/skeleton": "^4.2.0",
|
|
43
43
|
"@atlaskit/tag": "^15.4.0",
|
|
44
44
|
"@atlaskit/teams-avatar": "^4.1.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^150.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^16.7.0",
|
|
47
47
|
"@atlaskit/tooltip": "^24.0.0",
|
|
48
48
|
"@atlaskit/ufo": "^1.0.0",
|
|
49
49
|
"@atlaskit/util-service-support": "^7.2.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
|
+
"@compiled/react": "^1.0.2",
|
|
51
52
|
"@emotion/react": "^11.7.1",
|
|
52
53
|
"@emotion/styled": "^11.0.0",
|
|
53
54
|
"lodash": "^4.17.21",
|
|
@@ -59,8 +60,8 @@
|
|
|
59
60
|
"@af/search-test-utils": "workspace:^",
|
|
60
61
|
"@af/visual-regression": "workspace:^",
|
|
61
62
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
62
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
63
|
-
"@atlassian/a11y-playwright-testing": "^0.
|
|
63
|
+
"@atlassian/a11y-jest-testing": "^0.16.0",
|
|
64
|
+
"@atlassian/a11y-playwright-testing": "^0.11.0",
|
|
64
65
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
65
66
|
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
66
67
|
"@atlassian/testing-library": "^0.11.0",
|
|
@@ -126,5 +127,5 @@
|
|
|
126
127
|
}
|
|
127
128
|
},
|
|
128
129
|
"types": "dist/types/index.d.ts",
|
|
129
|
-
"version": "27.18.
|
|
130
|
+
"version": "27.18.3"
|
|
130
131
|
}
|