@atlaskit/profilecard 24.46.0 → 24.46.1

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
  3. package/dist/cjs/client/getTeamFromAGG.js +1 -1
  4. package/dist/cjs/components/Error/ErrorIllustration.js +1 -1
  5. package/dist/cjs/components/User/ProfileCard.js +1 -2
  6. package/dist/cjs/styled/Error.compiled.css +1 -1
  7. package/dist/cjs/styled/Error.js +1 -2
  8. package/dist/cjs/styled/TeamCard.compiled.css +1 -1
  9. package/dist/cjs/styled/TeamCard.js +1 -2
  10. package/dist/cjs/styled/constants.js +13 -14
  11. package/dist/cjs/util/analytics.js +2 -2
  12. package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
  13. package/dist/es2019/client/getTeamFromAGG.js +1 -1
  14. package/dist/es2019/components/Error/ErrorIllustration.js +1 -1
  15. package/dist/es2019/components/User/ProfileCard.js +1 -2
  16. package/dist/es2019/styled/Error.compiled.css +1 -1
  17. package/dist/es2019/styled/Error.js +1 -2
  18. package/dist/es2019/styled/TeamCard.compiled.css +1 -1
  19. package/dist/es2019/styled/TeamCard.js +1 -2
  20. package/dist/es2019/styled/constants.js +13 -14
  21. package/dist/es2019/util/analytics.js +2 -2
  22. package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
  23. package/dist/esm/client/getTeamFromAGG.js +1 -1
  24. package/dist/esm/components/Error/ErrorIllustration.js +1 -1
  25. package/dist/esm/components/User/ProfileCard.js +1 -2
  26. package/dist/esm/styled/Error.compiled.css +1 -1
  27. package/dist/esm/styled/Error.js +1 -2
  28. package/dist/esm/styled/TeamCard.compiled.css +1 -1
  29. package/dist/esm/styled/TeamCard.js +1 -2
  30. package/dist/esm/styled/constants.js +13 -14
  31. package/dist/esm/util/analytics.js +2 -2
  32. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 24.46.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`fd9cfb7fca5c6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fd9cfb7fca5c6) -
8
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
9
+ - Updated dependencies
10
+
3
11
  ## 24.46.0
4
12
 
5
13
  ### Minor Changes
@@ -11,7 +11,7 @@ var _graphqlUtils = require("./graphqlUtils");
11
11
  var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
12
12
  var addHeaders = function addHeaders(headers) {
13
13
  headers.append('atl-client-name', "@atlaskit/profilecard");
14
- headers.append('atl-client-version', "24.45.3");
14
+ headers.append('atl-client-version', "0.0.0-development");
15
15
  return headers;
16
16
  };
17
17
  function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -66,7 +66,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
66
66
  headers.append('X-ExperimentalApi', 'teams-beta');
67
67
  headers.append('X-ExperimentalApi', 'team-members-beta');
68
68
  headers.append('atl-client-name', "@atlaskit/profilecard");
69
- headers.append('atl-client-version', "24.45.3");
69
+ headers.append('atl-client-version', "0.0.0-development");
70
70
  return headers;
71
71
  };
72
72
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -19,7 +19,7 @@ var ErrorIllustration = exports.ErrorIllustration = function ErrorIllustration()
19
19
  clipPath: "url(#clip0)"
20
20
  }, /*#__PURE__*/_react.default.createElement("path", {
21
21
  d: "M0.649902 0H163.93V212H0.649902V0Z",
22
- fill: "var(--ds-surface-overlay, white)",
22
+ fill: "var(--ds-surface-overlay, #FFFFFF)",
23
23
  fillOpacity: "0.01"
24
24
  }), /*#__PURE__*/_react.default.createElement("path", {
25
25
  d: "M95.4299 74.1603L161.87 189.24C167.71 199.36 160.41 212 148.73 212H15.8499C4.16994 212 -3.13006 199.35 2.70994 189.24L69.1499 74.1603C74.9899 64.0403 89.5899 64.0403 95.4299 74.1603ZM87.8699 157.71L90.7499 113.36C91.0899 108.07 86.8899 103.58 81.5899 103.58C76.2799 103.58 72.0799 108.06 72.4299 113.36L75.3099 157.71C75.5299 161.02 78.2699 163.6 81.5899 163.6C84.8999 163.6 87.6499 161.02 87.8699 157.71ZM72.0299 181.25C72.0299 186.91 76.7899 191.35 82.4199 190.83C87.2699 190.38 91.1499 186.33 91.2499 181.46C91.3599 176.01 86.9399 171.52 81.5199 171.52C76.2899 171.51 72.0299 175.89 72.0299 181.25Z",
@@ -17,7 +17,6 @@ var _new = require("@atlaskit/button/new");
17
17
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
18
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
19
19
  var _teamsAppInternalAnalytics = require("@atlaskit/teams-app-internal-analytics");
20
- var _colors = require("@atlaskit/theme/colors");
21
20
  var _messages = _interopRequireDefault(require("../../messages"));
22
21
  var _Card = require("../../styled/Card");
23
22
  var _UserTrigger = require("../../styled/UserTrigger");
@@ -135,7 +134,7 @@ var ProfilecardInternal = exports.ProfilecardInternal = function ProfilecardInte
135
134
  }, /*#__PURE__*/_react.default.createElement(_Card.ProfileImage, null, /*#__PURE__*/_react.default.createElement(_avatar.default, {
136
135
  size: "xlarge",
137
136
  src: status !== 'closed' ? props.avatarUrl : undefined,
138
- borderColor: "var(--ds-shadow-overlay, ".concat(_colors.N0, ")")
137
+ borderColor: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)"
139
138
  })), /*#__PURE__*/_react.default.createElement(_Card.CardContent, null, /*#__PURE__*/_react.default.createElement(_ProfileCardDetails.ProfileCardDetails, (0, _extends2.default)({}, props, {
140
139
  status: status,
141
140
  fireAnalyticsWithDuration: fireAnalyticsWithDuration
@@ -2,6 +2,6 @@
2
2
  ._19pku2gc{margin-top:var(--ds-space-100,8px)}
3
3
  ._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
4
4
  ._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
5
- ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
5
+ ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
6
6
  ._u5f31ejb{padding-right:var(--ds-space-300,24px)}
7
7
  ._y3gn1h6o{text-align:center}
@@ -12,11 +12,10 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
12
12
  var _react = _interopRequireDefault(require("react"));
13
13
  var _css = require("@atlaskit/css");
14
14
  var _compiled = require("@atlaskit/primitives/compiled");
15
- var _colors = require("@atlaskit/theme/colors");
16
15
  var styles = {
17
16
  errorWrapper: "_y3gn1h6o _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb",
18
17
  errorTitle: "_19pku2gc",
19
- teamErrorText: "_syaz1wmz _19pku2gc"
18
+ teamErrorText: "_syaz1rpy _19pku2gc"
20
19
  };
21
20
  var ErrorWrapper = exports.ErrorWrapper = function ErrorWrapper(props) {
22
21
  return /*#__PURE__*/_react.default.createElement(_compiled.Box, (0, _extends2.default)({
@@ -22,4 +22,4 @@
22
22
  ._kqswh2mm{position:relative}
23
23
  ._otyr1ejb{margin-bottom:var(--ds-space-300,24px)}
24
24
  ._otyridpf{margin-bottom:0}
25
- ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
25
+ ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
@@ -13,11 +13,10 @@ var _react = _interopRequireDefault(require("react"));
13
13
  var _css = require("@atlaskit/css");
14
14
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
15
15
  var _compiled = require("@atlaskit/primitives/compiled");
16
- var _colors = require("@atlaskit/theme/colors");
17
16
  var styles = {
18
17
  teamforbiddenerrorstatewrapper: "_1bsbnklw _kqswh2mm",
19
18
  teamname: "_11c81af2 _1reo15vq _18m915vq _1p1dglyw _c71lckbl _1e0ccj1k",
20
- membercount: "_syaz1wmz _19pk1b66",
19
+ membercount: "_syaz1rpy _19pk1b66",
21
20
  avatarsection: "_19pkpxbi _18u01i6y",
22
21
  descriptionwrapper: "_19pkpxbi _4cvr1h6o _1e0c1txw",
23
22
  description: "_1reo15vq _18m915vq _c71l1wqb _1e0ccj1k",
@@ -4,17 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.teamHeaderBgColor = exports.labelTextColor = exports.labelIconColor = exports.headerTextColorInactive = exports.headerTextColor = exports.headerBgColorDisabledUser = exports.headerBgColor = exports.errorTitleColor = exports.errorTextColor = exports.errorIconColor = exports.bgColor = exports.appLabelTextColor = exports.appLabelBgColor = void 0;
7
- var _colors = require("@atlaskit/theme/colors");
8
- var bgColor = exports.bgColor = "var(--ds-surface-overlay, ".concat(_colors.N0, ")");
9
- var headerBgColor = exports.headerBgColor = "var(--ds-background-brand-bold, ".concat(_colors.B500, ")");
10
- var teamHeaderBgColor = exports.teamHeaderBgColor = "var(--ds-background-neutral, ".concat(_colors.N50, ")");
11
- var headerBgColorDisabledUser = exports.headerBgColorDisabledUser = "var(--ds-background-disabled, ".concat(_colors.N30, ")");
12
- var headerTextColor = exports.headerTextColor = "var(--ds-text-inverse, ".concat(_colors.N0, ")");
13
- var headerTextColorInactive = exports.headerTextColorInactive = "var(--ds-text, ".concat(_colors.N800, ")");
14
- var appLabelBgColor = exports.appLabelBgColor = "var(--ds-background-neutral, ".concat(_colors.N20, ")");
15
- var appLabelTextColor = exports.appLabelTextColor = "var(--ds-text, ".concat(_colors.N500, ")");
16
- var labelTextColor = exports.labelTextColor = "var(--ds-text, ".concat(_colors.N800, ")");
17
- var labelIconColor = exports.labelIconColor = "var(--ds-text-subtlest, ".concat(_colors.N60, ")");
18
- var errorIconColor = exports.errorIconColor = "var(--ds-text-disabled, ".concat(_colors.N90, ")");
19
- var errorTitleColor = exports.errorTitleColor = "var(--ds-text, ".concat(_colors.N800, ")");
20
- var errorTextColor = exports.errorTextColor = "var(--ds-text-subtlest, ".concat(_colors.N90, ")");
7
+ var bgColor = exports.bgColor = "var(--ds-surface-overlay, #FFFFFF)";
8
+ var headerBgColor = exports.headerBgColor = "var(--ds-background-brand-bold, #1868DB)";
9
+ var teamHeaderBgColor = exports.teamHeaderBgColor = "var(--ds-background-neutral, #0515240F)";
10
+ var headerBgColorDisabledUser = exports.headerBgColorDisabledUser = "var(--ds-background-disabled, #17171708)";
11
+ var headerTextColor = exports.headerTextColor = "var(--ds-text-inverse, #FFFFFF)";
12
+ var headerTextColorInactive = exports.headerTextColorInactive = "var(--ds-text, #292A2E)";
13
+ var appLabelBgColor = exports.appLabelBgColor = "var(--ds-background-neutral, #0515240F)";
14
+ var appLabelTextColor = exports.appLabelTextColor = "var(--ds-text, #292A2E)";
15
+ var labelTextColor = exports.labelTextColor = "var(--ds-text, #292A2E)";
16
+ var labelIconColor = exports.labelIconColor = "var(--ds-text-subtlest, #6B6E76)";
17
+ var errorIconColor = exports.errorIconColor = "var(--ds-text-disabled, #080F214A)";
18
+ var errorTitleColor = exports.errorTitleColor = "var(--ds-text, #292A2E)";
19
+ var errorTextColor = exports.errorTextColor = "var(--ds-text-subtlest, #6B6E76)";
@@ -11,7 +11,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
11
11
  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) { (0, _defineProperty2.default)(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; }
12
12
  var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
13
13
  packageName: "@atlaskit/profilecard",
14
- packageVersion: "24.45.3"
14
+ packageVersion: "0.0.0-development"
15
15
  };
16
16
  var TEAM_SUBJECT = 'teamProfileCard';
17
17
  var USER_SUBJECT = 'profilecard';
@@ -30,7 +30,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
30
30
  actionSubjectId: actionSubjectId,
31
31
  attributes: _objectSpread(_objectSpread({
32
32
  packageName: "@atlaskit/profilecard",
33
- packageVersion: "24.45.3"
33
+ packageVersion: "0.0.0-development"
34
34
  }, attributes), {}, {
35
35
  firedAt: Math.round((0, _performance.getPageTime)())
36
36
  })
@@ -6,7 +6,7 @@ const ORG_ID_FROM_CLOUD_ID_QUERY = `query OrgIdFromCloudId($cloudId: ID!) {
6
6
  }`;
7
7
  const addHeaders = headers => {
8
8
  headers.append('atl-client-name', "@atlaskit/profilecard");
9
- headers.append('atl-client-version', "24.45.3");
9
+ headers.append('atl-client-version', "0.0.0-development");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -78,7 +78,7 @@ export const addHeaders = headers => {
78
78
  headers.append('X-ExperimentalApi', 'teams-beta');
79
79
  headers.append('X-ExperimentalApi', 'team-members-beta');
80
80
  headers.append('atl-client-name', "@atlaskit/profilecard");
81
- headers.append('atl-client-version', "24.45.3");
81
+ headers.append('atl-client-version', "0.0.0-development");
82
82
  return headers;
83
83
  };
84
84
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -11,7 +11,7 @@ export const ErrorIllustration = () => {
11
11
  clipPath: "url(#clip0)"
12
12
  }, /*#__PURE__*/React.createElement("path", {
13
13
  d: "M0.649902 0H163.93V212H0.649902V0Z",
14
- fill: "var(--ds-surface-overlay, white)",
14
+ fill: "var(--ds-surface-overlay, #FFFFFF)",
15
15
  fillOpacity: "0.01"
16
16
  }), /*#__PURE__*/React.createElement("path", {
17
17
  d: "M95.4299 74.1603L161.87 189.24C167.71 199.36 160.41 212 148.73 212H15.8499C4.16994 212 -3.13006 199.35 2.70994 189.24L69.1499 74.1603C74.9899 64.0403 89.5899 64.0403 95.4299 74.1603ZM87.8699 157.71L90.7499 113.36C91.0899 108.07 86.8899 103.58 81.5899 103.58C76.2799 103.58 72.0799 108.06 72.4299 113.36L75.3099 157.71C75.5299 161.02 78.2699 163.6 81.5899 163.6C84.8999 163.6 87.6499 161.02 87.8699 157.71ZM72.0299 181.25C72.0299 186.91 76.7899 191.35 82.4199 190.83C87.2699 190.38 91.1499 186.33 91.2499 181.46C91.3599 176.01 86.9399 171.52 81.5199 171.52C76.2899 171.51 72.0299 175.89 72.0299 181.25Z",
@@ -6,7 +6,6 @@ import { LinkButton } from '@atlaskit/button/new';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import Spinner from '@atlaskit/spinner';
8
8
  import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
9
- import { N0 } from '@atlaskit/theme/colors';
10
9
  import messages from '../../messages';
11
10
  import { ActionButtonGroup, ActionsFlexSpacer, AnimatedKudosButton, AnimationWrapper, CardContainer, CardContent, KudosBlobAnimation, ProfileImage } from '../../styled/Card';
12
11
  import { CardWrapper, SpinnerContainer } from '../../styled/UserTrigger';
@@ -120,7 +119,7 @@ export const ProfilecardInternal = props => {
120
119
  }, /*#__PURE__*/React.createElement(ProfileImage, null, /*#__PURE__*/React.createElement(Avatar, {
121
120
  size: "xlarge",
122
121
  src: status !== 'closed' ? props.avatarUrl : undefined,
123
- borderColor: `var(--ds-shadow-overlay, ${N0})`
122
+ borderColor: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)"
124
123
  })), /*#__PURE__*/React.createElement(CardContent, null, /*#__PURE__*/React.createElement(ProfileCardDetails, _extends({}, props, {
125
124
  status: status,
126
125
  fireAnalyticsWithDuration: fireAnalyticsWithDuration
@@ -2,6 +2,6 @@
2
2
  ._19pku2gc{margin-top:var(--ds-space-100,8px)}
3
3
  ._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
4
4
  ._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
5
- ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
5
+ ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
6
6
  ._u5f31ejb{padding-right:var(--ds-space-300,24px)}
7
7
  ._y3gn1h6o{text-align:center}
@@ -5,11 +5,10 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import React from 'react';
6
6
  import { cx } from '@atlaskit/css';
7
7
  import { Box, Text } from '@atlaskit/primitives/compiled';
8
- import { N200 } from '@atlaskit/theme/colors';
9
8
  const styles = {
10
9
  errorWrapper: "_y3gn1h6o _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb",
11
10
  errorTitle: "_19pku2gc",
12
- teamErrorText: "_syaz1wmz _19pku2gc"
11
+ teamErrorText: "_syaz1rpy _19pku2gc"
13
12
  };
14
13
  export const ErrorWrapper = props => /*#__PURE__*/React.createElement(Box, _extends({
15
14
  xcss: cx(styles.errorWrapper)
@@ -22,4 +22,4 @@
22
22
  ._kqswh2mm{position:relative}
23
23
  ._otyr1ejb{margin-bottom:var(--ds-space-300,24px)}
24
24
  ._otyridpf{margin-bottom:0}
25
- ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
25
+ ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
@@ -6,11 +6,10 @@ import React from 'react';
6
6
  import { cx } from '@atlaskit/css';
7
7
  import Heading from '@atlaskit/heading';
8
8
  import { Box, Inline, Text } from '@atlaskit/primitives/compiled';
9
- import { N200 } from '@atlaskit/theme/colors';
10
9
  const styles = {
11
10
  teamforbiddenerrorstatewrapper: "_1bsbnklw _kqswh2mm",
12
11
  teamname: "_11c81af2 _1reo15vq _18m915vq _1p1dglyw _c71lckbl _1e0ccj1k",
13
- membercount: "_syaz1wmz _19pk1b66",
12
+ membercount: "_syaz1rpy _19pk1b66",
14
13
  avatarsection: "_19pkpxbi _18u01i6y",
15
14
  descriptionwrapper: "_19pkpxbi _4cvr1h6o _1e0c1txw",
16
15
  description: "_1reo15vq _18m915vq _c71l1wqb _1e0ccj1k",
@@ -1,14 +1,13 @@
1
- import { B500, N0, N20, N30, N50, N500, N60, N800, N90 } from '@atlaskit/theme/colors';
2
- export const bgColor = `var(--ds-surface-overlay, ${N0})`;
3
- export const headerBgColor = `var(--ds-background-brand-bold, ${B500})`;
4
- export const teamHeaderBgColor = `var(--ds-background-neutral, ${N50})`;
5
- export const headerBgColorDisabledUser = `var(--ds-background-disabled, ${N30})`;
6
- export const headerTextColor = `var(--ds-text-inverse, ${N0})`;
7
- export const headerTextColorInactive = `var(--ds-text, ${N800})`;
8
- export const appLabelBgColor = `var(--ds-background-neutral, ${N20})`;
9
- export const appLabelTextColor = `var(--ds-text, ${N500})`;
10
- export const labelTextColor = `var(--ds-text, ${N800})`;
11
- export const labelIconColor = `var(--ds-text-subtlest, ${N60})`;
12
- export const errorIconColor = `var(--ds-text-disabled, ${N90})`;
13
- export const errorTitleColor = `var(--ds-text, ${N800})`;
14
- export const errorTextColor = `var(--ds-text-subtlest, ${N90})`;
1
+ export const bgColor = "var(--ds-surface-overlay, #FFFFFF)";
2
+ export const headerBgColor = "var(--ds-background-brand-bold, #1868DB)";
3
+ export const teamHeaderBgColor = "var(--ds-background-neutral, #0515240F)";
4
+ export const headerBgColorDisabledUser = "var(--ds-background-disabled, #17171708)";
5
+ export const headerTextColor = "var(--ds-text-inverse, #FFFFFF)";
6
+ export const headerTextColorInactive = "var(--ds-text, #292A2E)";
7
+ export const appLabelBgColor = "var(--ds-background-neutral, #0515240F)";
8
+ export const appLabelTextColor = "var(--ds-text, #292A2E)";
9
+ export const labelTextColor = "var(--ds-text, #292A2E)";
10
+ export const labelIconColor = "var(--ds-text-subtlest, #6B6E76)";
11
+ export const errorIconColor = "var(--ds-text-disabled, #080F214A)";
12
+ export const errorTitleColor = "var(--ds-text, #292A2E)";
13
+ export const errorTextColor = "var(--ds-text-subtlest, #6B6E76)";
@@ -1,7 +1,7 @@
1
1
  import { getPageTime } from './performance';
2
2
  export const PACKAGE_META_DATA = {
3
3
  packageName: "@atlaskit/profilecard",
4
- packageVersion: "24.45.3"
4
+ packageVersion: "0.0.0-development"
5
5
  };
6
6
  const TEAM_SUBJECT = 'teamProfileCard';
7
7
  const USER_SUBJECT = 'profilecard';
@@ -18,7 +18,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
18
18
  actionSubjectId,
19
19
  attributes: {
20
20
  packageName: "@atlaskit/profilecard",
21
- packageVersion: "24.45.3",
21
+ packageVersion: "0.0.0-development",
22
22
  ...attributes,
23
23
  firedAt: Math.round(getPageTime())
24
24
  }
@@ -4,7 +4,7 @@ import { AGGQuery } from './graphqlUtils';
4
4
  var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
5
5
  var addHeaders = function addHeaders(headers) {
6
6
  headers.append('atl-client-name', "@atlaskit/profilecard");
7
- headers.append('atl-client-version', "24.45.3");
7
+ headers.append('atl-client-version', "0.0.0-development");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -59,7 +59,7 @@ export var addHeaders = function addHeaders(headers) {
59
59
  headers.append('X-ExperimentalApi', 'teams-beta');
60
60
  headers.append('X-ExperimentalApi', 'team-members-beta');
61
61
  headers.append('atl-client-name', "@atlaskit/profilecard");
62
- headers.append('atl-client-version', "24.45.3");
62
+ headers.append('atl-client-version', "0.0.0-development");
63
63
  return headers;
64
64
  };
65
65
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -11,7 +11,7 @@ export var ErrorIllustration = function ErrorIllustration() {
11
11
  clipPath: "url(#clip0)"
12
12
  }, /*#__PURE__*/React.createElement("path", {
13
13
  d: "M0.649902 0H163.93V212H0.649902V0Z",
14
- fill: "var(--ds-surface-overlay, white)",
14
+ fill: "var(--ds-surface-overlay, #FFFFFF)",
15
15
  fillOpacity: "0.01"
16
16
  }), /*#__PURE__*/React.createElement("path", {
17
17
  d: "M95.4299 74.1603L161.87 189.24C167.71 199.36 160.41 212 148.73 212H15.8499C4.16994 212 -3.13006 199.35 2.70994 189.24L69.1499 74.1603C74.9899 64.0403 89.5899 64.0403 95.4299 74.1603ZM87.8699 157.71L90.7499 113.36C91.0899 108.07 86.8899 103.58 81.5899 103.58C76.2799 103.58 72.0799 108.06 72.4299 113.36L75.3099 157.71C75.5299 161.02 78.2699 163.6 81.5899 163.6C84.8999 163.6 87.6499 161.02 87.8699 157.71ZM72.0299 181.25C72.0299 186.91 76.7899 191.35 82.4199 190.83C87.2699 190.38 91.1499 186.33 91.2499 181.46C91.3599 176.01 86.9399 171.52 81.5199 171.52C76.2899 171.51 72.0299 175.89 72.0299 181.25Z",
@@ -11,7 +11,6 @@ import { LinkButton } from '@atlaskit/button/new';
11
11
  import { fg } from '@atlaskit/platform-feature-flags';
12
12
  import Spinner from '@atlaskit/spinner';
13
13
  import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
14
- import { N0 } from '@atlaskit/theme/colors';
15
14
  import messages from '../../messages';
16
15
  import { ActionButtonGroup, ActionsFlexSpacer, AnimatedKudosButton, AnimationWrapper, CardContainer, CardContent, KudosBlobAnimation, ProfileImage } from '../../styled/Card';
17
16
  import { CardWrapper, SpinnerContainer } from '../../styled/UserTrigger';
@@ -126,7 +125,7 @@ export var ProfilecardInternal = function ProfilecardInternal(props) {
126
125
  }, /*#__PURE__*/React.createElement(ProfileImage, null, /*#__PURE__*/React.createElement(Avatar, {
127
126
  size: "xlarge",
128
127
  src: status !== 'closed' ? props.avatarUrl : undefined,
129
- borderColor: "var(--ds-shadow-overlay, ".concat(N0, ")")
128
+ borderColor: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)"
130
129
  })), /*#__PURE__*/React.createElement(CardContent, null, /*#__PURE__*/React.createElement(ProfileCardDetails, _extends({}, props, {
131
130
  status: status,
132
131
  fireAnalyticsWithDuration: fireAnalyticsWithDuration
@@ -2,6 +2,6 @@
2
2
  ._19pku2gc{margin-top:var(--ds-space-100,8px)}
3
3
  ._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
4
4
  ._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
5
- ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
5
+ ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
6
6
  ._u5f31ejb{padding-right:var(--ds-space-300,24px)}
7
7
  ._y3gn1h6o{text-align:center}
@@ -5,11 +5,10 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import React from 'react';
6
6
  import { cx } from '@atlaskit/css';
7
7
  import { Box, Text } from '@atlaskit/primitives/compiled';
8
- import { N200 } from '@atlaskit/theme/colors';
9
8
  var styles = {
10
9
  errorWrapper: "_y3gn1h6o _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb",
11
10
  errorTitle: "_19pku2gc",
12
- teamErrorText: "_syaz1wmz _19pku2gc"
11
+ teamErrorText: "_syaz1rpy _19pku2gc"
13
12
  };
14
13
  export var ErrorWrapper = function ErrorWrapper(props) {
15
14
  return /*#__PURE__*/React.createElement(Box, _extends({
@@ -22,4 +22,4 @@
22
22
  ._kqswh2mm{position:relative}
23
23
  ._otyr1ejb{margin-bottom:var(--ds-space-300,24px)}
24
24
  ._otyridpf{margin-bottom:0}
25
- ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
25
+ ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
@@ -6,11 +6,10 @@ import React from 'react';
6
6
  import { cx } from '@atlaskit/css';
7
7
  import Heading from '@atlaskit/heading';
8
8
  import { Box, Inline, Text } from '@atlaskit/primitives/compiled';
9
- import { N200 } from '@atlaskit/theme/colors';
10
9
  var styles = {
11
10
  teamforbiddenerrorstatewrapper: "_1bsbnklw _kqswh2mm",
12
11
  teamname: "_11c81af2 _1reo15vq _18m915vq _1p1dglyw _c71lckbl _1e0ccj1k",
13
- membercount: "_syaz1wmz _19pk1b66",
12
+ membercount: "_syaz1rpy _19pk1b66",
14
13
  avatarsection: "_19pkpxbi _18u01i6y",
15
14
  descriptionwrapper: "_19pkpxbi _4cvr1h6o _1e0c1txw",
16
15
  description: "_1reo15vq _18m915vq _c71l1wqb _1e0ccj1k",
@@ -1,14 +1,13 @@
1
- import { B500, N0, N20, N30, N50, N500, N60, N800, N90 } from '@atlaskit/theme/colors';
2
- export var bgColor = "var(--ds-surface-overlay, ".concat(N0, ")");
3
- export var headerBgColor = "var(--ds-background-brand-bold, ".concat(B500, ")");
4
- export var teamHeaderBgColor = "var(--ds-background-neutral, ".concat(N50, ")");
5
- export var headerBgColorDisabledUser = "var(--ds-background-disabled, ".concat(N30, ")");
6
- export var headerTextColor = "var(--ds-text-inverse, ".concat(N0, ")");
7
- export var headerTextColorInactive = "var(--ds-text, ".concat(N800, ")");
8
- export var appLabelBgColor = "var(--ds-background-neutral, ".concat(N20, ")");
9
- export var appLabelTextColor = "var(--ds-text, ".concat(N500, ")");
10
- export var labelTextColor = "var(--ds-text, ".concat(N800, ")");
11
- export var labelIconColor = "var(--ds-text-subtlest, ".concat(N60, ")");
12
- export var errorIconColor = "var(--ds-text-disabled, ".concat(N90, ")");
13
- export var errorTitleColor = "var(--ds-text, ".concat(N800, ")");
14
- export var errorTextColor = "var(--ds-text-subtlest, ".concat(N90, ")");
1
+ export var bgColor = "var(--ds-surface-overlay, #FFFFFF)";
2
+ export var headerBgColor = "var(--ds-background-brand-bold, #1868DB)";
3
+ export var teamHeaderBgColor = "var(--ds-background-neutral, #0515240F)";
4
+ export var headerBgColorDisabledUser = "var(--ds-background-disabled, #17171708)";
5
+ export var headerTextColor = "var(--ds-text-inverse, #FFFFFF)";
6
+ export var headerTextColorInactive = "var(--ds-text, #292A2E)";
7
+ export var appLabelBgColor = "var(--ds-background-neutral, #0515240F)";
8
+ export var appLabelTextColor = "var(--ds-text, #292A2E)";
9
+ export var labelTextColor = "var(--ds-text, #292A2E)";
10
+ export var labelIconColor = "var(--ds-text-subtlest, #6B6E76)";
11
+ export var errorIconColor = "var(--ds-text-disabled, #080F214A)";
12
+ export var errorTitleColor = "var(--ds-text, #292A2E)";
13
+ export var errorTextColor = "var(--ds-text-subtlest, #6B6E76)";
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  import { getPageTime } from './performance';
5
5
  export var PACKAGE_META_DATA = {
6
6
  packageName: "@atlaskit/profilecard",
7
- packageVersion: "24.45.3"
7
+ packageVersion: "0.0.0-development"
8
8
  };
9
9
  var TEAM_SUBJECT = 'teamProfileCard';
10
10
  var USER_SUBJECT = 'profilecard';
@@ -23,7 +23,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
23
23
  actionSubjectId: actionSubjectId,
24
24
  attributes: _objectSpread(_objectSpread({
25
25
  packageName: "@atlaskit/profilecard",
26
- packageVersion: "24.45.3"
26
+ packageVersion: "0.0.0-development"
27
27
  }, attributes), {}, {
28
28
  firedAt: Math.round(getPageTime())
29
29
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "24.46.0",
3
+ "version": "24.46.1",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -47,16 +47,16 @@
47
47
  "@atlaskit/css": "^0.19.0",
48
48
  "@atlaskit/dropdown-menu": "^16.8.0",
49
49
  "@atlaskit/empty-state": "^10.1.0",
50
- "@atlaskit/give-kudos": "^4.17.0",
50
+ "@atlaskit/give-kudos": "^4.18.0",
51
51
  "@atlaskit/heading": "^5.3.0",
52
- "@atlaskit/icon": "^33.1.0",
52
+ "@atlaskit/icon": "^34.0.0",
53
53
  "@atlaskit/link": "3.3.3",
54
54
  "@atlaskit/lozenge": "^13.5.0",
55
55
  "@atlaskit/menu": "^8.4.0",
56
- "@atlaskit/modal-dialog": "^14.13.0",
56
+ "@atlaskit/modal-dialog": "^14.14.0",
57
57
  "@atlaskit/people-teams-ui-public": "^3.7.0",
58
58
  "@atlaskit/platform-feature-flags": "^1.1.0",
59
- "@atlaskit/popup": "^4.14.0",
59
+ "@atlaskit/popup": "^4.16.0",
60
60
  "@atlaskit/primitives": "^18.1.0",
61
61
  "@atlaskit/rovo-agent-components": "^3.48.0",
62
62
  "@atlaskit/rovo-triggers": "^5.34.0",
@@ -66,9 +66,9 @@
66
66
  "@atlaskit/teams-avatar": "^2.4.0",
67
67
  "@atlaskit/teams-public": "^0.72.0",
68
68
  "@atlaskit/theme": "^22.0.0",
69
- "@atlaskit/tmp-editor-statsig": "^52.0.0",
69
+ "@atlaskit/tmp-editor-statsig": "^53.0.0",
70
70
  "@atlaskit/tokens": "^11.4.0",
71
- "@atlaskit/tooltip": "^21.0.0",
71
+ "@atlaskit/tooltip": "^21.1.0",
72
72
  "@babel/runtime": "^7.0.0",
73
73
  "@compiled/react": "^0.20.0",
74
74
  "date-fns": "^2.17.0",
@@ -86,7 +86,7 @@
86
86
  "devDependencies": {
87
87
  "@af/visual-regression": "workspace:^",
88
88
  "@atlaskit/feature-gate-js-client": "^5.5.0",
89
- "@atlassian/a11y-jest-testing": "^0.10.0",
89
+ "@atlassian/a11y-jest-testing": "^0.11.0",
90
90
  "@atlassian/feature-flags-storybook-utils": "^0.3.0",
91
91
  "@atlassian/feature-flags-test-utils": "^1.0.0",
92
92
  "@atlassian/platform-storybook-helpers": "^0.1.0",