@atlaskit/people-teams-ui-public 3.6.1 → 3.7.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/people-teams-ui-public
2
2
 
3
+ ## 3.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`24ef0db8a2bb6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24ef0db8a2bb6) -
8
+ [ux] Updating verified team icon to surface for all groups and verified teams. Updated bylines for
9
+ team and group principals to "Official team" and "Admin group".
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 3.6.2
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 3.6.1
4
22
 
5
23
  ### Patch Changes
@@ -15,7 +15,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
15
15
  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; }
16
16
  var defaultAnalyticsContextData = {
17
17
  packageName: "@atlaskit/people-teams-ui-public",
18
- packageVersion: "3.6.0"
18
+ packageVersion: "3.6.2"
19
19
  };
20
20
 
21
21
  /**
@@ -16,7 +16,9 @@ var VerifiedTeamIcon = exports.VerifiedTeamIcon = function VerifiedTeamIcon(_ref
16
16
  showTooltip = _ref.showTooltip,
17
17
  customTooltipContent = _ref.customTooltipContent,
18
18
  _ref$size = _ref.size,
19
- size = _ref$size === void 0 ? 'medium' : _ref$size;
19
+ size = _ref$size === void 0 ? 'medium' : _ref$size,
20
+ _ref$spacing = _ref.spacing,
21
+ spacing = _ref$spacing === void 0 ? 'spacious' : _ref$spacing;
20
22
  var _useIntl = (0, _reactIntlNext.useIntl)(),
21
23
  formatMessage = _useIntl.formatMessage;
22
24
  var tooltipContent = showTooltip ? customTooltipContent || formatMessage(_messages.messages.verifiedIconDefaultTooltip) : undefined;
@@ -27,14 +29,14 @@ var VerifiedTeamIcon = exports.VerifiedTeamIcon = function VerifiedTeamIcon(_ref
27
29
  role: "button",
28
30
  "data-testid": "verified-team-icon"
29
31
  }, ' ', /*#__PURE__*/_react.default.createElement(_statusVerified.default, {
30
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
32
+ color: "var(--ds-icon-accent-blue, #357DE8)",
31
33
  size: size,
32
34
  label: tooltipContent,
33
- spacing: "spacious"
35
+ spacing: spacing
34
36
  }))) : /*#__PURE__*/_react.default.createElement(_statusVerified.default, {
35
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
37
+ color: "var(--ds-icon-accent-blue, #357DE8)",
36
38
  size: size,
37
- spacing: "spacious",
39
+ spacing: spacing,
38
40
  label: label
39
41
  });
40
42
  };
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
2
2
  import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
3
3
  const defaultAnalyticsContextData = {
4
4
  packageName: "@atlaskit/people-teams-ui-public",
5
- packageVersion: "3.6.0"
5
+ packageVersion: "3.6.2"
6
6
  };
7
7
 
8
8
  /**
@@ -7,7 +7,8 @@ export const VerifiedTeamIcon = ({
7
7
  label = 'Verified Team',
8
8
  showTooltip,
9
9
  customTooltipContent,
10
- size = 'medium'
10
+ size = 'medium',
11
+ spacing = 'spacious'
11
12
  }) => {
12
13
  const {
13
14
  formatMessage
@@ -20,14 +21,14 @@ export const VerifiedTeamIcon = ({
20
21
  role: "button",
21
22
  "data-testid": "verified-team-icon"
22
23
  }, ' ', /*#__PURE__*/React.createElement(VerifiedIcon, {
23
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
24
+ color: "var(--ds-icon-accent-blue, #357DE8)",
24
25
  size: size,
25
26
  label: tooltipContent,
26
- spacing: "spacious"
27
+ spacing: spacing
27
28
  }))) : /*#__PURE__*/React.createElement(VerifiedIcon, {
28
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
29
+ color: "var(--ds-icon-accent-blue, #357DE8)",
29
30
  size: size,
30
- spacing: "spacious",
31
+ spacing: spacing,
31
32
  label: label
32
33
  });
33
34
  };
@@ -6,7 +6,7 @@ import React, { useMemo } from 'react';
6
6
  import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
7
7
  var defaultAnalyticsContextData = {
8
8
  packageName: "@atlaskit/people-teams-ui-public",
9
- packageVersion: "3.6.0"
9
+ packageVersion: "3.6.2"
10
10
  };
11
11
 
12
12
  /**
@@ -9,7 +9,9 @@ export var VerifiedTeamIcon = function VerifiedTeamIcon(_ref) {
9
9
  showTooltip = _ref.showTooltip,
10
10
  customTooltipContent = _ref.customTooltipContent,
11
11
  _ref$size = _ref.size,
12
- size = _ref$size === void 0 ? 'medium' : _ref$size;
12
+ size = _ref$size === void 0 ? 'medium' : _ref$size,
13
+ _ref$spacing = _ref.spacing,
14
+ spacing = _ref$spacing === void 0 ? 'spacious' : _ref$spacing;
13
15
  var _useIntl = useIntl(),
14
16
  formatMessage = _useIntl.formatMessage;
15
17
  var tooltipContent = showTooltip ? customTooltipContent || formatMessage(messages.verifiedIconDefaultTooltip) : undefined;
@@ -20,14 +22,14 @@ export var VerifiedTeamIcon = function VerifiedTeamIcon(_ref) {
20
22
  role: "button",
21
23
  "data-testid": "verified-team-icon"
22
24
  }, ' ', /*#__PURE__*/React.createElement(VerifiedIcon, {
23
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
25
+ color: "var(--ds-icon-accent-blue, #357DE8)",
24
26
  size: size,
25
27
  label: tooltipContent,
26
- spacing: "spacious"
28
+ spacing: spacing
27
29
  }))) : /*#__PURE__*/React.createElement(VerifiedIcon, {
28
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
30
+ color: "var(--ds-icon-accent-blue, #357DE8)",
29
31
  size: size,
30
- spacing: "spacious",
32
+ spacing: spacing,
31
33
  label: label
32
34
  });
33
35
  };
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { IconSpacing } from '@atlaskit/icon/types';
2
3
  interface VerifiedTeamIconProps {
3
4
  /**
4
5
  * The accessible label for the icon.
@@ -17,6 +18,10 @@ interface VerifiedTeamIconProps {
17
18
  * The size of the icon.
18
19
  */
19
20
  size?: 'small' | 'medium';
21
+ /**
22
+ * The spacing of the icon.
23
+ */
24
+ spacing?: IconSpacing;
20
25
  }
21
- export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, size, }: VerifiedTeamIconProps) => React.JSX.Element;
26
+ export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, size, spacing, }: VerifiedTeamIconProps) => React.JSX.Element;
22
27
  export {};
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { IconSpacing } from '@atlaskit/icon/types';
2
3
  interface VerifiedTeamIconProps {
3
4
  /**
4
5
  * The accessible label for the icon.
@@ -17,6 +18,10 @@ interface VerifiedTeamIconProps {
17
18
  * The size of the icon.
18
19
  */
19
20
  size?: 'small' | 'medium';
21
+ /**
22
+ * The spacing of the icon.
23
+ */
24
+ spacing?: IconSpacing;
20
25
  }
21
- export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, size, }: VerifiedTeamIconProps) => React.JSX.Element;
26
+ export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, size, spacing, }: VerifiedTeamIconProps) => React.JSX.Element;
22
27
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/people-teams-ui-public",
3
- "version": "3.6.1",
3
+ "version": "3.7.0",
4
4
  "description": "UI components for public packages",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,8 +35,8 @@
35
35
  "test:coverage": "(cd ../../.. && yarn test 'packages/people-and-teams/people-teams-ui-public/src' --coverage --coverageProvider=v8 --collectCoverageFrom='[\"packages/people-and-teams/people-teams-ui-public/src/**\", \"!packages/people-and-teams/people-teams-ui-public/src/**/**/types.ts\", \"!packages/people-and-teams/people-teams-ui-public/src/ui/**/styled.tsx\"]')"
36
36
  },
37
37
  "dependencies": {
38
- "@atlaskit/analytics-namespaced-context": "^7.1.0",
39
- "@atlaskit/icon": "^28.5.0",
38
+ "@atlaskit/analytics-namespaced-context": "^7.2.0",
39
+ "@atlaskit/icon": "^29.0.0",
40
40
  "@atlaskit/legacy-custom-icons": "^0.22.0",
41
41
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
42
42
  "@atlaskit/primitives": "^16.1.0",