@atlaskit/profilecard 25.4.3 → 25.5.0

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,23 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 25.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`3d5981e7ee8a5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d5981e7ee8a5) -
8
+ Remove versioning FG
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 25.4.4
15
+
16
+ ### Patch Changes
17
+
18
+ - [`4cba7c4a7121d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4cba7c4a7121d) -
19
+ Clean up teams-app_profilecard_add-onblur feature gate
20
+
3
21
  ## 25.4.3
4
22
 
5
23
  ### Patch Changes
@@ -83,7 +83,7 @@ var useAgentUrlActions = exports.useAgentUrlActions = function useAgentUrlAction
83
83
  return (0, _duplicateFetch.fetchHasVersionCapability)(cloudId);
84
84
  case 7:
85
85
  hasVersionCapability = _context.sent;
86
- if (!(!hasVersionCapability && !(0, _platformFeatureFlags.fg)('rovo_agent_versioning_enabled'))) {
86
+ if (hasVersionCapability) {
87
87
  _context.next = 11;
88
88
  break;
89
89
  }
@@ -13,7 +13,6 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
13
13
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
14
14
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
15
  var _react = _interopRequireWildcard(require("react"));
16
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
16
  var _popup = _interopRequireDefault(require("@atlaskit/popup"));
18
17
  var _constants = require("@atlaskit/theme/constants");
19
18
  var _analytics = require("../../util/analytics");
@@ -128,7 +127,7 @@ function ProfileCardTriggerInner(_ref, ref) {
128
127
  onMouseEnter: onMouseEnter,
129
128
  onMouseLeave: hideProfilecard,
130
129
  onFocus: showProfilecard,
131
- onBlur: (0, _platformFeatureFlags.fg)('teams-app_profilecard_add-onblur') ? hideProfilecard : undefined,
130
+ onBlur: hideProfilecard,
132
131
  "data-testid": "profile-card--trigger-content"
133
132
  }, isLoading ? /*#__PURE__*/_react.default.createElement(_ProfileCardWrapper.ProfileCardWrapper, {
134
133
  testId: "profilecard.profilecardtrigger.loading"
@@ -61,8 +61,7 @@ export const useAgentUrlActions = ({
61
61
 
62
62
  // Check if versioning migration has completed for this site
63
63
  const hasVersionCapability = await fetchHasVersionCapability(cloudId);
64
- // TODO https://product-fabric.atlassian.net/browse/RAGE-2910 remove OR fg condition
65
- if (!hasVersionCapability && !fg('rovo_agent_versioning_enabled')) {
64
+ if (!hasVersionCapability) {
66
65
  // Opening in same tab because, we cannot open in new tab after async operation, because browsers prevent `.open` after certain duration
67
66
  window.location.assign(legacyDuplicateUrl);
68
67
  return;
@@ -1,6 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from 'react';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
3
  import Popup from '@atlaskit/popup';
5
4
  import { layers } from '@atlaskit/theme/constants';
6
5
  import { getActionSubject, PACKAGE_META_DATA } from '../../util/analytics';
@@ -100,7 +99,7 @@ function ProfileCardTriggerInner({
100
99
  onMouseEnter: onMouseEnter,
101
100
  onMouseLeave: hideProfilecard,
102
101
  onFocus: showProfilecard,
103
- onBlur: fg('teams-app_profilecard_add-onblur') ? hideProfilecard : undefined,
102
+ onBlur: hideProfilecard,
104
103
  "data-testid": "profile-card--trigger-content"
105
104
  }, isLoading ? /*#__PURE__*/React.createElement(ProfileCardWrapper, {
106
105
  testId: "profilecard.profilecardtrigger.loading"
@@ -76,7 +76,7 @@ export var useAgentUrlActions = function useAgentUrlActions(_ref3) {
76
76
  return fetchHasVersionCapability(cloudId);
77
77
  case 7:
78
78
  hasVersionCapability = _context.sent;
79
- if (!(!hasVersionCapability && !fg('rovo_agent_versioning_enabled'))) {
79
+ if (hasVersionCapability) {
80
80
  _context.next = 11;
81
81
  break;
82
82
  }
@@ -9,7 +9,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
9
9
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
10
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
11
  import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from 'react';
12
- import { fg } from '@atlaskit/platform-feature-flags';
13
12
  import Popup from '@atlaskit/popup';
14
13
  import { layers } from '@atlaskit/theme/constants';
15
14
  import { getActionSubject, PACKAGE_META_DATA } from '../../util/analytics';
@@ -119,7 +118,7 @@ function ProfileCardTriggerInner(_ref, ref) {
119
118
  onMouseEnter: onMouseEnter,
120
119
  onMouseLeave: hideProfilecard,
121
120
  onFocus: showProfilecard,
122
- onBlur: fg('teams-app_profilecard_add-onblur') ? hideProfilecard : undefined,
121
+ onBlur: hideProfilecard,
123
122
  "data-testid": "profile-card--trigger-content"
124
123
  }, isLoading ? /*#__PURE__*/React.createElement(ProfileCardWrapper, {
125
124
  testId: "profilecard.profilecardtrigger.loading"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "25.4.3",
3
+ "version": "25.5.0",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.39.0",
50
50
  "@atlaskit/atlassian-context": "^0.8.0",
51
51
  "@atlaskit/avatar": "^25.14.0",
52
- "@atlaskit/avatar-group": "^12.8.0",
52
+ "@atlaskit/avatar-group": "^12.9.0",
53
53
  "@atlaskit/button": "^23.11.0",
54
54
  "@atlaskit/css": "^0.19.0",
55
55
  "@atlaskit/dropdown-menu": "^16.8.0",
@@ -63,7 +63,7 @@
63
63
  "@atlaskit/modal-dialog": "^15.0.0",
64
64
  "@atlaskit/people-teams-ui-public": "^4.0.0",
65
65
  "@atlaskit/platform-feature-flags": "^1.1.0",
66
- "@atlaskit/popup": "^4.18.0",
66
+ "@atlaskit/popup": "^4.19.0",
67
67
  "@atlaskit/primitives": "^19.0.0",
68
68
  "@atlaskit/rovo-agent-components": "^4.4.0",
69
69
  "@atlaskit/rovo-triggers": "^6.1.0",
@@ -74,9 +74,9 @@
74
74
  "@atlaskit/teams-avatar": "^2.6.0",
75
75
  "@atlaskit/teams-public": "^1.3.0",
76
76
  "@atlaskit/theme": "^23.2.0",
77
- "@atlaskit/tmp-editor-statsig": "^78.0.0",
77
+ "@atlaskit/tmp-editor-statsig": "^79.0.0",
78
78
  "@atlaskit/tokens": "^13.0.0",
79
- "@atlaskit/tooltip": "^22.1.0",
79
+ "@atlaskit/tooltip": "^22.2.0",
80
80
  "@atlassian/studio-entry-link": "^1.1.0",
81
81
  "@babel/runtime": "^7.0.0",
82
82
  "@compiled/react": "^0.20.0",
@@ -96,7 +96,7 @@
96
96
  "@af/visual-regression": "workspace:^",
97
97
  "@atlaskit/feature-gate-js-client": "^5.5.0",
98
98
  "@atlassian/a11y-jest-testing": "^0.11.0",
99
- "@atlassian/feature-flags-storybook-utils": "^0.3.0",
99
+ "@atlassian/feature-flags-storybook-utils": "^0.4.0",
100
100
  "@atlassian/feature-flags-test-utils": "^1.1.0",
101
101
  "@atlassian/platform-storybook-helpers": "^0.1.0",
102
102
  "@atlassian/ptc-test-utils": "^0.12.0",
@@ -184,9 +184,6 @@
184
184
  "jira_ai_fix_agent_profile_card_flashing": {
185
185
  "type": "boolean"
186
186
  },
187
- "teams-app_profilecard_add-onblur": {
188
- "type": "boolean"
189
- },
190
187
  "enable_teams_t26_design_drop_core_experiences": {
191
188
  "type": "boolean"
192
189
  },