@atlaskit/mention 30.7.8 → 30.7.10
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 +15 -0
- package/dist/cjs/components/Mention/MentionInternal.js +1 -1
- package/dist/cjs/util/package-version.js +1 -1
- package/dist/es2019/components/Mention/MentionInternal.js +1 -1
- package/dist/es2019/util/package-version.js +1 -1
- package/dist/esm/components/Mention/MentionInternal.js +1 -1
- package/dist/esm/util/package-version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 30.7.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ab90c400d397a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ab90c400d397a) -
|
|
8
|
+
Apply corrected agent mention avatar geometry in both editor rendering paths for
|
|
9
|
+
`canvas_agentic_experiences_master_exp` alongside `platform_editor_agent_hexagon_ui_fix`.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 30.7.9
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 30.7.8
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -202,7 +202,7 @@ var MentionInternal = exports.MentionInternal = /*#__PURE__*/function (_React$Pu
|
|
|
202
202
|
var showAvatarSlot = Boolean(renderAvatarSlot) && !failedMention;
|
|
203
203
|
var visibleText = showAvatarSlot && text.startsWith('@') ? text.slice(1) : text;
|
|
204
204
|
var shouldApplyAgentShape = appType === 'agent' && !isAvatarImagePreShaped;
|
|
205
|
-
var shouldApplyFixedAgentShape = shouldApplyAgentShape && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_agent_hexagon_ui_fix');
|
|
205
|
+
var shouldApplyFixedAgentShape = shouldApplyAgentShape && ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_agent_hexagon_ui_fix') || (0, _isExperimentEnabled.isExperimentEnabled)('canvas_agentic_experiences_master_exp'));
|
|
206
206
|
var shouldRenderAvatar = avatarUrl && !this.state.hasAvatarError;
|
|
207
207
|
var showRestrictedTooltip = mentionType === _types.MentionType.RESTRICTED;
|
|
208
208
|
var showDisabledTooltip = mentionType === _types.MentionType.DISABLED && !!disabledTooltip;
|
|
@@ -189,7 +189,7 @@ export class MentionInternal extends React.PureComponent {
|
|
|
189
189
|
const showAvatarSlot = Boolean(renderAvatarSlot) && !failedMention;
|
|
190
190
|
const visibleText = showAvatarSlot && text.startsWith('@') ? text.slice(1) : text;
|
|
191
191
|
const shouldApplyAgentShape = appType === 'agent' && !isAvatarImagePreShaped;
|
|
192
|
-
const shouldApplyFixedAgentShape = shouldApplyAgentShape && isExperimentEnabled('platform_editor_agent_hexagon_ui_fix');
|
|
192
|
+
const shouldApplyFixedAgentShape = shouldApplyAgentShape && (isExperimentEnabled('platform_editor_agent_hexagon_ui_fix') || isExperimentEnabled('canvas_agentic_experiences_master_exp'));
|
|
193
193
|
const shouldRenderAvatar = avatarUrl && !this.state.hasAvatarError;
|
|
194
194
|
const showRestrictedTooltip = mentionType === MentionType.RESTRICTED;
|
|
195
195
|
const showDisabledTooltip = mentionType === MentionType.DISABLED && !!disabledTooltip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "30.7.
|
|
1
|
+
export const packageVersion = "30.7.9";
|
|
@@ -197,7 +197,7 @@ export var MentionInternal = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
197
197
|
var showAvatarSlot = Boolean(renderAvatarSlot) && !failedMention;
|
|
198
198
|
var visibleText = showAvatarSlot && text.startsWith('@') ? text.slice(1) : text;
|
|
199
199
|
var shouldApplyAgentShape = appType === 'agent' && !isAvatarImagePreShaped;
|
|
200
|
-
var shouldApplyFixedAgentShape = shouldApplyAgentShape && isExperimentEnabled('platform_editor_agent_hexagon_ui_fix');
|
|
200
|
+
var shouldApplyFixedAgentShape = shouldApplyAgentShape && (isExperimentEnabled('platform_editor_agent_hexagon_ui_fix') || isExperimentEnabled('canvas_agentic_experiences_master_exp'));
|
|
201
201
|
var shouldRenderAvatar = avatarUrl && !this.state.hasAvatarError;
|
|
202
202
|
var showRestrictedTooltip = mentionType === MentionType.RESTRICTED;
|
|
203
203
|
var showDisabledTooltip = mentionType === MentionType.DISABLED && !!disabledTooltip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = "30.7.
|
|
1
|
+
export var packageVersion = "30.7.9";
|
package/package.json
CHANGED
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@atlaskit/primitives": "^22.6.0",
|
|
44
44
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
45
45
|
"@atlaskit/skeleton": "^4.4.0",
|
|
46
|
-
"@atlaskit/tag": "^17.
|
|
46
|
+
"@atlaskit/tag": "^17.1.0",
|
|
47
47
|
"@atlaskit/teams-avatar": "^4.2.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^257.0.0",
|
|
49
49
|
"@atlaskit/tokens": "^20.9.0",
|
|
50
50
|
"@atlaskit/tooltip": "^24.4.0",
|
|
51
51
|
"@atlaskit/ufo": "^2.0.0",
|
|
@@ -130,5 +130,5 @@
|
|
|
130
130
|
"*.compiled.css"
|
|
131
131
|
],
|
|
132
132
|
"types": "dist/types/index.d.ts",
|
|
133
|
-
"version": "30.7.
|
|
133
|
+
"version": "30.7.10"
|
|
134
134
|
}
|