@atlaskit/smart-card 40.10.9 → 40.10.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 40.10.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5ff571d87059f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5ff571d87059f) -
8
+ Remove the FG and FG code of fix_a11y_violation_in_hover_card_trigger
9
+
3
10
  ## 40.10.9
4
11
 
5
12
  ### Patch Changes
@@ -87,8 +87,11 @@ var _default = exports.default = {
87
87
  'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
88
88
  'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
89
89
  'fabric.linking.follow_project': 'Follow project',
90
+ 'fabric.linking.follow_project-galaxia': 'Follow space',
90
91
  'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
92
+ 'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
91
93
  'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
94
+ 'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
92
95
  'fabric.linking.forbidden_access': 'Your access is forbidden',
93
96
  'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
94
97
  'fabric.linking.forbidden_title': "You don't have access to this content",
@@ -175,8 +178,11 @@ var _default = exports.default = {
175
178
  'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
176
179
  'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
177
180
  'fabric.linking.unfollow_project': 'Unfollow project',
181
+ 'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
178
182
  'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
183
+ 'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
179
184
  'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
185
+ 'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
180
186
  'fabric.linking.unlink_account': 'Unlink Account',
181
187
  'fabric.linking.updated_by': 'Modified by {context}',
182
188
  'fabric.linking.user_attributes': '{context}',
@@ -87,8 +87,11 @@ var _default = exports.default = {
87
87
  'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
88
88
  'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
89
89
  'fabric.linking.follow_project': 'Follow project',
90
+ 'fabric.linking.follow_project-galaxia': 'Follow space',
90
91
  'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
92
+ 'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
91
93
  'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
94
+ 'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
92
95
  'fabric.linking.forbidden_access': 'Your access is forbidden',
93
96
  'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
94
97
  'fabric.linking.forbidden_title': "You don't have access to this content",
@@ -175,8 +178,11 @@ var _default = exports.default = {
175
178
  'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
176
179
  'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
177
180
  'fabric.linking.unfollow_project': 'Unfollow project',
181
+ 'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
178
182
  'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
183
+ 'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
179
184
  'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
185
+ 'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
180
186
  'fabric.linking.unlink_account': 'Unlink Account',
181
187
  'fabric.linking.updated_by': 'Modified by {context}',
182
188
  'fabric.linking.user_attributes': '{context}',
@@ -87,8 +87,11 @@ var _default = exports.default = {
87
87
  'fabric.linking.follow_goal_description': '⁣⁢Follow this goal to get notifications on updates⁡؜⁡‍‍‌‍⁡؜⁠‌⁣⁤',
88
88
  'fabric.linking.follow_goal_error': '⁣⁢We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.‌؜⁡‍؜⁡‌‍⁠‌⁠⁣⁤',
89
89
  'fabric.linking.follow_project': '⁣⁢Follow project‍‌‌⁠‍؜‍⁡‌؜‌؜⁣⁤',
90
+ 'fabric.linking.follow_project-galaxia': '⁣⁢Follow space⁡‍⁠⁡‌؜‍⁡⁣⁤',
90
91
  'fabric.linking.follow_project_description': '⁣⁢Follow to get notifications on this project‌⁠⁡‌‌⁡؜‌⁠‍⁠‍‍⁣⁤',
92
+ 'fabric.linking.follow_project_description-galaxia': '⁣⁢Follow to get notifications on this space؜؜‍؜‌‍‌‍⁠‌؜‍؜⁣⁤',
91
93
  'fabric.linking.follow_project_error': '⁣⁢We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.⁠؜⁠‍؜‌‌‌⁠‌؜‍⁡‌⁠؜⁣⁤',
94
+ 'fabric.linking.follow_project_error-galaxia': '⁣⁢We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.‌؜؜؜⁡؜⁡‍⁡‍⁡⁣⁤',
92
95
  'fabric.linking.forbidden_access': '⁣⁢Your access is forbidden؜‌⁠؜⁡‌؜⁠‌‍‌⁣⁤',
93
96
  'fabric.linking.forbidden_description': '⁣⁢Contact your admin to request access to {hostname}.⁠⁠⁠‌⁠⁡‌‍⁠⁣⁤',
94
97
  'fabric.linking.forbidden_title': "⁣⁢You don't have access to this content⁡؜‌‌‌⁡‌‌‌؜‍‌⁣⁤",
@@ -175,8 +178,11 @@ var _default = exports.default = {
175
178
  'fabric.linking.unfollow_goal_description': '⁣⁢Unfollow to stop receiving notifications for this goal‌⁡⁠‌‍⁠⁡⁡‍‌‍⁣⁤',
176
179
  'fabric.linking.unfollow_goal_error': '⁣⁢We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.‍‍‌⁠⁡⁡⁠⁠‍؜؜⁣⁤',
177
180
  'fabric.linking.unfollow_project': '⁣⁢Unfollow project؜؜؜⁠⁣⁤',
181
+ 'fabric.linking.unfollow_project-galaxia': '⁣⁢Unfollow space⁡؜⁡‌‍؜⁠⁡‌‍⁣⁤',
178
182
  'fabric.linking.unfollow_project_description': '⁣⁢Unfollow to stop receiving project notifications⁡⁡‌؜⁠؜؜⁡‌؜⁣⁤',
183
+ 'fabric.linking.unfollow_project_description-galaxia': '⁣⁢Unfollow to stop receiving space notifications؜‌‍؜‌‍‌؜⁣⁤',
179
184
  'fabric.linking.unfollow_project_error': '⁣⁢We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.‌‍⁡؜⁠‍؜⁡⁣⁤',
185
+ 'fabric.linking.unfollow_project_error-galaxia': '⁣⁢We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.⁡⁡‌؜⁡‍⁣⁤',
180
186
  'fabric.linking.unlink_account': '⁣⁢Unlink Account⁠⁡⁡‌⁡⁣⁤',
181
187
  'fabric.linking.updated_by': '⁣⁢Modified by {context}؜⁠‍‍⁡⁡‌⁡‌⁣⁤',
182
188
  'fabric.linking.user_attributes': '⁣⁢{context}؜⁠⁠⁡⁣⁤',
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "40.10.8"
14
+ packageVersion: "40.10.9"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -10,7 +10,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
12
12
  var _react = _interopRequireWildcard(require("react"));
13
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
13
  var _popup = _interopRequireDefault(require("@atlaskit/popup"));
15
14
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
16
15
  var _constants = require("../../../constants");
@@ -24,7 +23,7 @@ var _styled = require("../styled");
24
23
  var _excluded = ["aria-haspopup", "aria-expanded"];
25
24
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
26
25
  var HOVER_CARD_SOURCE = exports.HOVER_CARD_SOURCE = 'smartLinkPreviewHoverCard';
27
- var HOVER_CARD_TRIGGRER_WRAPPER = 'hover-card-trigger-wrapper';
26
+ var HOVER_CARD_TRIGGER_WRAPPER = 'hover-card-trigger-wrapper';
28
27
  var FADE_IN_DELAY = 500;
29
28
  var FADE_OUT_DELAY = 300;
30
29
  var RESOLVE_DELAY = 100;
@@ -215,11 +214,9 @@ var HoverCardComponent = exports.HoverCardComponent = function HoverCardComponen
215
214
  onMouseMove: setMousePosition,
216
215
  onClick: onChildClick,
217
216
  onContextMenu: onContextMenuClick,
218
- "data-testid": HOVER_CARD_TRIGGRER_WRAPPER
217
+ "data-testid": HOVER_CARD_TRIGGER_WRAPPER
219
218
  }, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? {
220
- className: HOVER_CARD_TRIGGRER_WRAPPER
221
- } : {}, (0, _platformFeatureFlags.fg)('fix_a11y_violation_in_hover_card_trigger') ? {
222
- role: 'button'
219
+ className: HOVER_CARD_TRIGGER_WRAPPER
223
220
  } : {}), children));
224
221
  }, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
225
222
  return /*#__PURE__*/_react.default.createElement(_popup.default, {
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
19
19
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
20
20
  var PACKAGE_DATA = {
21
21
  packageName: "@atlaskit/smart-card",
22
- packageVersion: "40.10.8",
22
+ packageVersion: "40.10.9",
23
23
  componentName: 'linkUrl'
24
24
  };
25
25
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -81,8 +81,11 @@ export default {
81
81
  'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
82
82
  'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
83
83
  'fabric.linking.follow_project': 'Follow project',
84
+ 'fabric.linking.follow_project-galaxia': 'Follow space',
84
85
  'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
86
+ 'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
85
87
  'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
88
+ 'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
86
89
  'fabric.linking.forbidden_access': 'Your access is forbidden',
87
90
  'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
88
91
  'fabric.linking.forbidden_title': "You don't have access to this content",
@@ -169,8 +172,11 @@ export default {
169
172
  'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
170
173
  'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
171
174
  'fabric.linking.unfollow_project': 'Unfollow project',
175
+ 'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
172
176
  'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
177
+ 'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
173
178
  'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
179
+ 'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
174
180
  'fabric.linking.unlink_account': 'Unlink Account',
175
181
  'fabric.linking.updated_by': 'Modified by {context}',
176
182
  'fabric.linking.user_attributes': '{context}',
@@ -81,8 +81,11 @@ export default {
81
81
  'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
82
82
  'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
83
83
  'fabric.linking.follow_project': 'Follow project',
84
+ 'fabric.linking.follow_project-galaxia': 'Follow space',
84
85
  'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
86
+ 'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
85
87
  'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
88
+ 'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
86
89
  'fabric.linking.forbidden_access': 'Your access is forbidden',
87
90
  'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
88
91
  'fabric.linking.forbidden_title': "You don't have access to this content",
@@ -169,8 +172,11 @@ export default {
169
172
  'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
170
173
  'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
171
174
  'fabric.linking.unfollow_project': 'Unfollow project',
175
+ 'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
172
176
  'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
177
+ 'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
173
178
  'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
179
+ 'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
174
180
  'fabric.linking.unlink_account': 'Unlink Account',
175
181
  'fabric.linking.updated_by': 'Modified by {context}',
176
182
  'fabric.linking.user_attributes': '{context}',
@@ -81,8 +81,11 @@ export default {
81
81
  'fabric.linking.follow_goal_description': '⁣⁢Follow this goal to get notifications on updates⁡؜⁡‍‍‌‍⁡؜⁠‌⁣⁤',
82
82
  'fabric.linking.follow_goal_error': '⁣⁢We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.‌؜⁡‍؜⁡‌‍⁠‌⁠⁣⁤',
83
83
  'fabric.linking.follow_project': '⁣⁢Follow project‍‌‌⁠‍؜‍⁡‌؜‌؜⁣⁤',
84
+ 'fabric.linking.follow_project-galaxia': '⁣⁢Follow space⁡‍⁠⁡‌؜‍⁡⁣⁤',
84
85
  'fabric.linking.follow_project_description': '⁣⁢Follow to get notifications on this project‌⁠⁡‌‌⁡؜‌⁠‍⁠‍‍⁣⁤',
86
+ 'fabric.linking.follow_project_description-galaxia': '⁣⁢Follow to get notifications on this space؜؜‍؜‌‍‌‍⁠‌؜‍؜⁣⁤',
85
87
  'fabric.linking.follow_project_error': '⁣⁢We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.⁠؜⁠‍؜‌‌‌⁠‌؜‍⁡‌⁠؜⁣⁤',
88
+ 'fabric.linking.follow_project_error-galaxia': '⁣⁢We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.‌؜؜؜⁡؜⁡‍⁡‍⁡⁣⁤',
86
89
  'fabric.linking.forbidden_access': '⁣⁢Your access is forbidden؜‌⁠؜⁡‌؜⁠‌‍‌⁣⁤',
87
90
  'fabric.linking.forbidden_description': '⁣⁢Contact your admin to request access to {hostname}.⁠⁠⁠‌⁠⁡‌‍⁠⁣⁤',
88
91
  'fabric.linking.forbidden_title': "⁣⁢You don't have access to this content⁡؜‌‌‌⁡‌‌‌؜‍‌⁣⁤",
@@ -169,8 +172,11 @@ export default {
169
172
  'fabric.linking.unfollow_goal_description': '⁣⁢Unfollow to stop receiving notifications for this goal‌⁡⁠‌‍⁠⁡⁡‍‌‍⁣⁤',
170
173
  'fabric.linking.unfollow_goal_error': '⁣⁢We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.‍‍‌⁠⁡⁡⁠⁠‍؜؜⁣⁤',
171
174
  'fabric.linking.unfollow_project': '⁣⁢Unfollow project؜؜؜⁠⁣⁤',
175
+ 'fabric.linking.unfollow_project-galaxia': '⁣⁢Unfollow space⁡؜⁡‌‍؜⁠⁡‌‍⁣⁤',
172
176
  'fabric.linking.unfollow_project_description': '⁣⁢Unfollow to stop receiving project notifications⁡⁡‌؜⁠؜؜⁡‌؜⁣⁤',
177
+ 'fabric.linking.unfollow_project_description-galaxia': '⁣⁢Unfollow to stop receiving space notifications؜‌‍؜‌‍‌؜⁣⁤',
173
178
  'fabric.linking.unfollow_project_error': '⁣⁢We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.‌‍⁡؜⁠‍؜⁡⁣⁤',
179
+ 'fabric.linking.unfollow_project_error-galaxia': '⁣⁢We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.⁡⁡‌؜⁡‍⁣⁤',
174
180
  'fabric.linking.unlink_account': '⁣⁢Unlink Account⁠⁡⁡‌⁡⁣⁤',
175
181
  'fabric.linking.updated_by': '⁣⁢Modified by {context}؜⁠‍‍⁡⁡‌⁡‌⁣⁤',
176
182
  'fabric.linking.user_attributes': '⁣⁢{context}؜⁠⁠⁡⁣⁤',
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card",
5
- packageVersion: "40.10.8"
5
+ packageVersion: "40.10.9"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,6 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { useCallback, useEffect, useRef } from 'react';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
3
  import Popup from '@atlaskit/popup';
5
4
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
6
5
  import { ActionName, CardDisplay } from '../../../constants';
@@ -12,7 +11,7 @@ import CustomPopupContainer from '../components/CustomPopupContainer';
12
11
  import HoverCardContent from '../components/HoverCardContent';
13
12
  import { CARD_GAP_PX, HOVER_CARD_Z_INDEX } from '../styled';
14
13
  export const HOVER_CARD_SOURCE = 'smartLinkPreviewHoverCard';
15
- const HOVER_CARD_TRIGGRER_WRAPPER = 'hover-card-trigger-wrapper';
14
+ const HOVER_CARD_TRIGGER_WRAPPER = 'hover-card-trigger-wrapper';
16
15
  const FADE_IN_DELAY = 500;
17
16
  const FADE_OUT_DELAY = 300;
18
17
  const RESOLVE_DELAY = 100;
@@ -192,11 +191,9 @@ export const HoverCardComponent = ({
192
191
  onMouseMove: setMousePosition,
193
192
  onClick: onChildClick,
194
193
  onContextMenu: onContextMenuClick,
195
- "data-testid": HOVER_CARD_TRIGGRER_WRAPPER
194
+ "data-testid": HOVER_CARD_TRIGGER_WRAPPER
196
195
  }, expValEqualsNoExposure('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? {
197
- className: HOVER_CARD_TRIGGRER_WRAPPER
198
- } : {}, fg('fix_a11y_violation_in_hover_card_trigger') ? {
199
- role: 'button'
196
+ className: HOVER_CARD_TRIGGER_WRAPPER
200
197
  } : {}), children)), [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
201
198
  return /*#__PURE__*/React.createElement(Popup, {
202
199
  testId: "hover-card",
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
9
9
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
10
10
  const PACKAGE_DATA = {
11
11
  packageName: "@atlaskit/smart-card",
12
- packageVersion: "40.10.8",
12
+ packageVersion: "40.10.9",
13
13
  componentName: 'linkUrl'
14
14
  };
15
15
  const Anchor = withLinkClickedEvent('a');
@@ -81,8 +81,11 @@ export default {
81
81
  'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
82
82
  'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
83
83
  'fabric.linking.follow_project': 'Follow project',
84
+ 'fabric.linking.follow_project-galaxia': 'Follow space',
84
85
  'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
86
+ 'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
85
87
  'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
88
+ 'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
86
89
  'fabric.linking.forbidden_access': 'Your access is forbidden',
87
90
  'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
88
91
  'fabric.linking.forbidden_title': "You don't have access to this content",
@@ -169,8 +172,11 @@ export default {
169
172
  'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
170
173
  'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
171
174
  'fabric.linking.unfollow_project': 'Unfollow project',
175
+ 'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
172
176
  'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
177
+ 'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
173
178
  'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
179
+ 'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
174
180
  'fabric.linking.unlink_account': 'Unlink Account',
175
181
  'fabric.linking.updated_by': 'Modified by {context}',
176
182
  'fabric.linking.user_attributes': '{context}',
@@ -81,8 +81,11 @@ export default {
81
81
  'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
82
82
  'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
83
83
  'fabric.linking.follow_project': 'Follow project',
84
+ 'fabric.linking.follow_project-galaxia': 'Follow space',
84
85
  'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
86
+ 'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
85
87
  'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
88
+ 'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
86
89
  'fabric.linking.forbidden_access': 'Your access is forbidden',
87
90
  'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
88
91
  'fabric.linking.forbidden_title': "You don't have access to this content",
@@ -169,8 +172,11 @@ export default {
169
172
  'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
170
173
  'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
171
174
  'fabric.linking.unfollow_project': 'Unfollow project',
175
+ 'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
172
176
  'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
177
+ 'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
173
178
  'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
179
+ 'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
174
180
  'fabric.linking.unlink_account': 'Unlink Account',
175
181
  'fabric.linking.updated_by': 'Modified by {context}',
176
182
  'fabric.linking.user_attributes': '{context}',
@@ -81,8 +81,11 @@ export default {
81
81
  'fabric.linking.follow_goal_description': '⁣⁢Follow this goal to get notifications on updates⁡؜⁡‍‍‌‍⁡؜⁠‌⁣⁤',
82
82
  'fabric.linking.follow_goal_error': '⁣⁢We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.‌؜⁡‍؜⁡‌‍⁠‌⁠⁣⁤',
83
83
  'fabric.linking.follow_project': '⁣⁢Follow project‍‌‌⁠‍؜‍⁡‌؜‌؜⁣⁤',
84
+ 'fabric.linking.follow_project-galaxia': '⁣⁢Follow space⁡‍⁠⁡‌؜‍⁡⁣⁤',
84
85
  'fabric.linking.follow_project_description': '⁣⁢Follow to get notifications on this project‌⁠⁡‌‌⁡؜‌⁠‍⁠‍‍⁣⁤',
86
+ 'fabric.linking.follow_project_description-galaxia': '⁣⁢Follow to get notifications on this space؜؜‍؜‌‍‌‍⁠‌؜‍؜⁣⁤',
85
87
  'fabric.linking.follow_project_error': '⁣⁢We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.⁠؜⁠‍؜‌‌‌⁠‌؜‍⁡‌⁠؜⁣⁤',
88
+ 'fabric.linking.follow_project_error-galaxia': '⁣⁢We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.‌؜؜؜⁡؜⁡‍⁡‍⁡⁣⁤',
86
89
  'fabric.linking.forbidden_access': '⁣⁢Your access is forbidden؜‌⁠؜⁡‌؜⁠‌‍‌⁣⁤',
87
90
  'fabric.linking.forbidden_description': '⁣⁢Contact your admin to request access to {hostname}.⁠⁠⁠‌⁠⁡‌‍⁠⁣⁤',
88
91
  'fabric.linking.forbidden_title': "⁣⁢You don't have access to this content⁡؜‌‌‌⁡‌‌‌؜‍‌⁣⁤",
@@ -169,8 +172,11 @@ export default {
169
172
  'fabric.linking.unfollow_goal_description': '⁣⁢Unfollow to stop receiving notifications for this goal‌⁡⁠‌‍⁠⁡⁡‍‌‍⁣⁤',
170
173
  'fabric.linking.unfollow_goal_error': '⁣⁢We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.‍‍‌⁠⁡⁡⁠⁠‍؜؜⁣⁤',
171
174
  'fabric.linking.unfollow_project': '⁣⁢Unfollow project؜؜؜⁠⁣⁤',
175
+ 'fabric.linking.unfollow_project-galaxia': '⁣⁢Unfollow space⁡؜⁡‌‍؜⁠⁡‌‍⁣⁤',
172
176
  'fabric.linking.unfollow_project_description': '⁣⁢Unfollow to stop receiving project notifications⁡⁡‌؜⁠؜؜⁡‌؜⁣⁤',
177
+ 'fabric.linking.unfollow_project_description-galaxia': '⁣⁢Unfollow to stop receiving space notifications؜‌‍؜‌‍‌؜⁣⁤',
173
178
  'fabric.linking.unfollow_project_error': '⁣⁢We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.‌‍⁡؜⁠‍؜⁡⁣⁤',
179
+ 'fabric.linking.unfollow_project_error-galaxia': '⁣⁢We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.⁡⁡‌؜⁡‍⁣⁤',
174
180
  'fabric.linking.unlink_account': '⁣⁢Unlink Account⁠⁡⁡‌⁡⁣⁤',
175
181
  'fabric.linking.updated_by': '⁣⁢Modified by {context}؜⁠‍‍⁡⁡‌⁡‌⁣⁤',
176
182
  'fabric.linking.user_attributes': '⁣⁢{context}؜⁠⁠⁡⁣⁤',
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "40.10.8"
7
+ packageVersion: "40.10.9"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -3,7 +3,6 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  var _excluded = ["aria-haspopup", "aria-expanded"];
5
5
  import React, { useCallback, useEffect, useRef } from 'react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import Popup from '@atlaskit/popup';
8
7
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
9
8
  import { ActionName, CardDisplay } from '../../../constants';
@@ -15,7 +14,7 @@ import CustomPopupContainer from '../components/CustomPopupContainer';
15
14
  import HoverCardContent from '../components/HoverCardContent';
16
15
  import { CARD_GAP_PX, HOVER_CARD_Z_INDEX } from '../styled';
17
16
  export var HOVER_CARD_SOURCE = 'smartLinkPreviewHoverCard';
18
- var HOVER_CARD_TRIGGRER_WRAPPER = 'hover-card-trigger-wrapper';
17
+ var HOVER_CARD_TRIGGER_WRAPPER = 'hover-card-trigger-wrapper';
19
18
  var FADE_IN_DELAY = 500;
20
19
  var FADE_OUT_DELAY = 300;
21
20
  var RESOLVE_DELAY = 100;
@@ -206,11 +205,9 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
206
205
  onMouseMove: setMousePosition,
207
206
  onClick: onChildClick,
208
207
  onContextMenu: onContextMenuClick,
209
- "data-testid": HOVER_CARD_TRIGGRER_WRAPPER
208
+ "data-testid": HOVER_CARD_TRIGGER_WRAPPER
210
209
  }, expValEqualsNoExposure('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? {
211
- className: HOVER_CARD_TRIGGRER_WRAPPER
212
- } : {}, fg('fix_a11y_violation_in_hover_card_trigger') ? {
213
- role: 'button'
210
+ className: HOVER_CARD_TRIGGER_WRAPPER
214
211
  } : {}), children));
215
212
  }, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
216
213
  return /*#__PURE__*/React.createElement(Popup, {
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  var PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "40.10.8",
15
+ packageVersion: "40.10.9",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  var Anchor = withLinkClickedEvent('a');
@@ -79,8 +79,11 @@ declare const _default: {
79
79
  'fabric.linking.follow_goal_description': string;
80
80
  'fabric.linking.follow_goal_error': string;
81
81
  'fabric.linking.follow_project': string;
82
+ 'fabric.linking.follow_project-galaxia': string;
82
83
  'fabric.linking.follow_project_description': string;
84
+ 'fabric.linking.follow_project_description-galaxia': string;
83
85
  'fabric.linking.follow_project_error': string;
86
+ 'fabric.linking.follow_project_error-galaxia': string;
84
87
  'fabric.linking.forbidden_access': string;
85
88
  'fabric.linking.forbidden_description': string;
86
89
  'fabric.linking.forbidden_title': string;
@@ -167,8 +170,11 @@ declare const _default: {
167
170
  'fabric.linking.unfollow_goal_description': string;
168
171
  'fabric.linking.unfollow_goal_error': string;
169
172
  'fabric.linking.unfollow_project': string;
173
+ 'fabric.linking.unfollow_project-galaxia': string;
170
174
  'fabric.linking.unfollow_project_description': string;
175
+ 'fabric.linking.unfollow_project_description-galaxia': string;
171
176
  'fabric.linking.unfollow_project_error': string;
177
+ 'fabric.linking.unfollow_project_error-galaxia': string;
172
178
  'fabric.linking.unlink_account': string;
173
179
  'fabric.linking.updated_by': string;
174
180
  'fabric.linking.user_attributes': string;
@@ -79,8 +79,11 @@ declare const _default: {
79
79
  'fabric.linking.follow_goal_description': string;
80
80
  'fabric.linking.follow_goal_error': string;
81
81
  'fabric.linking.follow_project': string;
82
+ 'fabric.linking.follow_project-galaxia': string;
82
83
  'fabric.linking.follow_project_description': string;
84
+ 'fabric.linking.follow_project_description-galaxia': string;
83
85
  'fabric.linking.follow_project_error': string;
86
+ 'fabric.linking.follow_project_error-galaxia': string;
84
87
  'fabric.linking.forbidden_access': string;
85
88
  'fabric.linking.forbidden_description': string;
86
89
  'fabric.linking.forbidden_title': string;
@@ -167,8 +170,11 @@ declare const _default: {
167
170
  'fabric.linking.unfollow_goal_description': string;
168
171
  'fabric.linking.unfollow_goal_error': string;
169
172
  'fabric.linking.unfollow_project': string;
173
+ 'fabric.linking.unfollow_project-galaxia': string;
170
174
  'fabric.linking.unfollow_project_description': string;
175
+ 'fabric.linking.unfollow_project_description-galaxia': string;
171
176
  'fabric.linking.unfollow_project_error': string;
177
+ 'fabric.linking.unfollow_project_error-galaxia': string;
172
178
  'fabric.linking.unlink_account': string;
173
179
  'fabric.linking.updated_by': string;
174
180
  'fabric.linking.user_attributes': string;
@@ -79,8 +79,11 @@ declare const _default: {
79
79
  'fabric.linking.follow_goal_description': string;
80
80
  'fabric.linking.follow_goal_error': string;
81
81
  'fabric.linking.follow_project': string;
82
+ 'fabric.linking.follow_project-galaxia': string;
82
83
  'fabric.linking.follow_project_description': string;
84
+ 'fabric.linking.follow_project_description-galaxia': string;
83
85
  'fabric.linking.follow_project_error': string;
86
+ 'fabric.linking.follow_project_error-galaxia': string;
84
87
  'fabric.linking.forbidden_access': string;
85
88
  'fabric.linking.forbidden_description': string;
86
89
  'fabric.linking.forbidden_title': string;
@@ -167,8 +170,11 @@ declare const _default: {
167
170
  'fabric.linking.unfollow_goal_description': string;
168
171
  'fabric.linking.unfollow_goal_error': string;
169
172
  'fabric.linking.unfollow_project': string;
173
+ 'fabric.linking.unfollow_project-galaxia': string;
170
174
  'fabric.linking.unfollow_project_description': string;
175
+ 'fabric.linking.unfollow_project_description-galaxia': string;
171
176
  'fabric.linking.unfollow_project_error': string;
177
+ 'fabric.linking.unfollow_project_error-galaxia': string;
172
178
  'fabric.linking.unlink_account': string;
173
179
  'fabric.linking.updated_by': string;
174
180
  'fabric.linking.user_attributes': string;
@@ -79,8 +79,11 @@ declare const _default: {
79
79
  'fabric.linking.follow_goal_description': string;
80
80
  'fabric.linking.follow_goal_error': string;
81
81
  'fabric.linking.follow_project': string;
82
+ 'fabric.linking.follow_project-galaxia': string;
82
83
  'fabric.linking.follow_project_description': string;
84
+ 'fabric.linking.follow_project_description-galaxia': string;
83
85
  'fabric.linking.follow_project_error': string;
86
+ 'fabric.linking.follow_project_error-galaxia': string;
84
87
  'fabric.linking.forbidden_access': string;
85
88
  'fabric.linking.forbidden_description': string;
86
89
  'fabric.linking.forbidden_title': string;
@@ -167,8 +170,11 @@ declare const _default: {
167
170
  'fabric.linking.unfollow_goal_description': string;
168
171
  'fabric.linking.unfollow_goal_error': string;
169
172
  'fabric.linking.unfollow_project': string;
173
+ 'fabric.linking.unfollow_project-galaxia': string;
170
174
  'fabric.linking.unfollow_project_description': string;
175
+ 'fabric.linking.unfollow_project_description-galaxia': string;
171
176
  'fabric.linking.unfollow_project_error': string;
177
+ 'fabric.linking.unfollow_project_error-galaxia': string;
172
178
  'fabric.linking.unlink_account': string;
173
179
  'fabric.linking.updated_by': string;
174
180
  'fabric.linking.user_attributes': string;
@@ -79,8 +79,11 @@ declare const _default: {
79
79
  'fabric.linking.follow_goal_description': string;
80
80
  'fabric.linking.follow_goal_error': string;
81
81
  'fabric.linking.follow_project': string;
82
+ 'fabric.linking.follow_project-galaxia': string;
82
83
  'fabric.linking.follow_project_description': string;
84
+ 'fabric.linking.follow_project_description-galaxia': string;
83
85
  'fabric.linking.follow_project_error': string;
86
+ 'fabric.linking.follow_project_error-galaxia': string;
84
87
  'fabric.linking.forbidden_access': string;
85
88
  'fabric.linking.forbidden_description': string;
86
89
  'fabric.linking.forbidden_title': string;
@@ -167,8 +170,11 @@ declare const _default: {
167
170
  'fabric.linking.unfollow_goal_description': string;
168
171
  'fabric.linking.unfollow_goal_error': string;
169
172
  'fabric.linking.unfollow_project': string;
173
+ 'fabric.linking.unfollow_project-galaxia': string;
170
174
  'fabric.linking.unfollow_project_description': string;
175
+ 'fabric.linking.unfollow_project_description-galaxia': string;
171
176
  'fabric.linking.unfollow_project_error': string;
177
+ 'fabric.linking.unfollow_project_error-galaxia': string;
172
178
  'fabric.linking.unlink_account': string;
173
179
  'fabric.linking.updated_by': string;
174
180
  'fabric.linking.user_attributes': string;
@@ -79,8 +79,11 @@ declare const _default: {
79
79
  'fabric.linking.follow_goal_description': string;
80
80
  'fabric.linking.follow_goal_error': string;
81
81
  'fabric.linking.follow_project': string;
82
+ 'fabric.linking.follow_project-galaxia': string;
82
83
  'fabric.linking.follow_project_description': string;
84
+ 'fabric.linking.follow_project_description-galaxia': string;
83
85
  'fabric.linking.follow_project_error': string;
86
+ 'fabric.linking.follow_project_error-galaxia': string;
84
87
  'fabric.linking.forbidden_access': string;
85
88
  'fabric.linking.forbidden_description': string;
86
89
  'fabric.linking.forbidden_title': string;
@@ -167,8 +170,11 @@ declare const _default: {
167
170
  'fabric.linking.unfollow_goal_description': string;
168
171
  'fabric.linking.unfollow_goal_error': string;
169
172
  'fabric.linking.unfollow_project': string;
173
+ 'fabric.linking.unfollow_project-galaxia': string;
170
174
  'fabric.linking.unfollow_project_description': string;
175
+ 'fabric.linking.unfollow_project_description-galaxia': string;
171
176
  'fabric.linking.unfollow_project_error': string;
177
+ 'fabric.linking.unfollow_project_error-galaxia': string;
172
178
  'fabric.linking.unlink_account': string;
173
179
  'fabric.linking.updated_by': string;
174
180
  'fabric.linking.user_attributes': string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "40.10.9",
3
+ "version": "40.10.10",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -185,9 +185,6 @@
185
185
  "confluence-issue-terminology-refresh": {
186
186
  "type": "boolean"
187
187
  },
188
- "fix_a11y_violation_in_hover_card_trigger": {
189
- "type": "boolean"
190
- },
191
188
  "smart_links_noun_support": {
192
189
  "type": "boolean"
193
190
  },