@atlaskit/people-teams-ui-public 3.6.0 → 3.6.2

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,17 @@
1
1
  # @atlaskit/people-teams-ui-public
2
2
 
3
+ ## 3.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.6.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.6.0
4
16
 
5
17
  ### Minor 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: "0.0.0-development"
18
+ packageVersion: "3.6.1"
19
19
  };
20
20
 
21
21
  /**
@@ -16,9 +16,7 @@ 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,
20
- _ref$spacing = _ref.spacing,
21
- spacing = _ref$spacing === void 0 ? 'spacious' : _ref$spacing;
19
+ size = _ref$size === void 0 ? 'medium' : _ref$size;
22
20
  var _useIntl = (0, _reactIntlNext.useIntl)(),
23
21
  formatMessage = _useIntl.formatMessage;
24
22
  var tooltipContent = showTooltip ? customTooltipContent || formatMessage(_messages.messages.verifiedIconDefaultTooltip) : undefined;
@@ -29,14 +27,14 @@ var VerifiedTeamIcon = exports.VerifiedTeamIcon = function VerifiedTeamIcon(_ref
29
27
  role: "button",
30
28
  "data-testid": "verified-team-icon"
31
29
  }, ' ', /*#__PURE__*/_react.default.createElement(_statusVerified.default, {
32
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
30
+ color: "var(--ds-icon-accent-blue, #357DE8)",
33
31
  size: size,
34
32
  label: tooltipContent,
35
- spacing: spacing
33
+ spacing: "spacious"
36
34
  }))) : /*#__PURE__*/_react.default.createElement(_statusVerified.default, {
37
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
35
+ color: "var(--ds-icon-accent-blue, #357DE8)",
38
36
  size: size,
39
- spacing: spacing,
37
+ spacing: "spacious",
40
38
  label: label
41
39
  });
42
40
  };
@@ -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: "0.0.0-development"
5
+ packageVersion: "3.6.1"
6
6
  };
7
7
 
8
8
  /**
@@ -7,8 +7,7 @@ export const VerifiedTeamIcon = ({
7
7
  label = 'Verified Team',
8
8
  showTooltip,
9
9
  customTooltipContent,
10
- size = 'medium',
11
- spacing = 'spacious'
10
+ size = 'medium'
12
11
  }) => {
13
12
  const {
14
13
  formatMessage
@@ -21,14 +20,14 @@ export const VerifiedTeamIcon = ({
21
20
  role: "button",
22
21
  "data-testid": "verified-team-icon"
23
22
  }, ' ', /*#__PURE__*/React.createElement(VerifiedIcon, {
24
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
23
+ color: "var(--ds-icon-accent-blue, #357DE8)",
25
24
  size: size,
26
25
  label: tooltipContent,
27
- spacing: spacing
26
+ spacing: "spacious"
28
27
  }))) : /*#__PURE__*/React.createElement(VerifiedIcon, {
29
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
28
+ color: "var(--ds-icon-accent-blue, #357DE8)",
30
29
  size: size,
31
- spacing: spacing,
30
+ spacing: "spacious",
32
31
  label: label
33
32
  });
34
33
  };
@@ -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: "0.0.0-development"
9
+ packageVersion: "3.6.1"
10
10
  };
11
11
 
12
12
  /**
@@ -9,9 +9,7 @@ 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,
13
- _ref$spacing = _ref.spacing,
14
- spacing = _ref$spacing === void 0 ? 'spacious' : _ref$spacing;
12
+ size = _ref$size === void 0 ? 'medium' : _ref$size;
15
13
  var _useIntl = useIntl(),
16
14
  formatMessage = _useIntl.formatMessage;
17
15
  var tooltipContent = showTooltip ? customTooltipContent || formatMessage(messages.verifiedIconDefaultTooltip) : undefined;
@@ -22,14 +20,14 @@ export var VerifiedTeamIcon = function VerifiedTeamIcon(_ref) {
22
20
  role: "button",
23
21
  "data-testid": "verified-team-icon"
24
22
  }, ' ', /*#__PURE__*/React.createElement(VerifiedIcon, {
25
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
23
+ color: "var(--ds-icon-accent-blue, #357DE8)",
26
24
  size: size,
27
25
  label: tooltipContent,
28
- spacing: spacing
26
+ spacing: "spacious"
29
27
  }))) : /*#__PURE__*/React.createElement(VerifiedIcon, {
30
- color: "var(--ds-icon-accent-blue, #1D7AFC)",
28
+ color: "var(--ds-icon-accent-blue, #357DE8)",
31
29
  size: size,
32
- spacing: spacing,
30
+ spacing: "spacious",
33
31
  label: label
34
32
  });
35
33
  };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import type { IconSpacing } from '@atlaskit/icon/types';
3
2
  interface VerifiedTeamIconProps {
4
3
  /**
5
4
  * The accessible label for the icon.
@@ -18,10 +17,6 @@ interface VerifiedTeamIconProps {
18
17
  * The size of the icon.
19
18
  */
20
19
  size?: 'small' | 'medium';
21
- /**
22
- * The spacing of the icon.
23
- */
24
- spacing?: IconSpacing;
25
20
  }
26
- export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, size, spacing, }: VerifiedTeamIconProps) => React.JSX.Element;
21
+ export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, size, }: VerifiedTeamIconProps) => React.JSX.Element;
27
22
  export {};
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import type { IconSpacing } from '@atlaskit/icon/types';
3
2
  interface VerifiedTeamIconProps {
4
3
  /**
5
4
  * The accessible label for the icon.
@@ -18,10 +17,6 @@ interface VerifiedTeamIconProps {
18
17
  * The size of the icon.
19
18
  */
20
19
  size?: 'small' | 'medium';
21
- /**
22
- * The spacing of the icon.
23
- */
24
- spacing?: IconSpacing;
25
20
  }
26
- export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, size, spacing, }: VerifiedTeamIconProps) => React.JSX.Element;
21
+ export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, size, }: VerifiedTeamIconProps) => React.JSX.Element;
27
22
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/people-teams-ui-public",
3
- "version": "3.6.0",
3
+ "version": "3.6.2",
4
4
  "description": "UI components for public packages",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,13 +36,13 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/analytics-namespaced-context": "^7.1.0",
39
- "@atlaskit/icon": "^28.5.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",
43
43
  "@atlaskit/teams-app-internal-analytics": "^1.19.0",
44
- "@atlaskit/tokens": "^7.1.0",
45
- "@atlaskit/tooltip": "^20.7.0",
44
+ "@atlaskit/tokens": "^8.0.0",
45
+ "@atlaskit/tooltip": "^20.8.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@compiled/react": "^0.18.6",
48
48
  "react-intl-next": "npm:react-intl@^5.18.1",