@atlaskit/people-teams-ui-public 3.5.4 → 3.6.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 +8 -0
- package/dist/cjs/common/utils/analytics/hooks.js +1 -1
- package/dist/cjs/ui/verified-team-icon/main.js +5 -3
- package/dist/es2019/common/utils/analytics/hooks.js +1 -1
- package/dist/es2019/ui/verified-team-icon/main.js +4 -3
- package/dist/esm/common/utils/analytics/hooks.js +1 -1
- package/dist/esm/ui/verified-team-icon/main.js +5 -3
- package/dist/types/ui/verified-team-icon/main.d.ts +6 -1
- package/dist/types-ts4.5/ui/verified-team-icon/main.d.ts +6 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/people-teams-ui-public
|
|
2
2
|
|
|
3
|
+
## 3.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b98b0340b08c0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b98b0340b08c0) -
|
|
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
|
+
|
|
3
11
|
## 3.5.4
|
|
4
12
|
|
|
5
13
|
### 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: "
|
|
18
|
+
packageVersion: "0.0.0-development"
|
|
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;
|
|
@@ -30,11 +32,11 @@ var VerifiedTeamIcon = exports.VerifiedTeamIcon = function VerifiedTeamIcon(_ref
|
|
|
30
32
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
31
33
|
size: size,
|
|
32
34
|
label: tooltipContent,
|
|
33
|
-
spacing:
|
|
35
|
+
spacing: spacing
|
|
34
36
|
}))) : /*#__PURE__*/_react.default.createElement(_statusVerified.default, {
|
|
35
37
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
36
38
|
size: size,
|
|
37
|
-
spacing:
|
|
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: "
|
|
5
|
+
packageVersion: "0.0.0-development"
|
|
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
|
|
@@ -23,11 +24,11 @@ export const VerifiedTeamIcon = ({
|
|
|
23
24
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
24
25
|
size: size,
|
|
25
26
|
label: tooltipContent,
|
|
26
|
-
spacing:
|
|
27
|
+
spacing: spacing
|
|
27
28
|
}))) : /*#__PURE__*/React.createElement(VerifiedIcon, {
|
|
28
29
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
29
30
|
size: size,
|
|
30
|
-
spacing:
|
|
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: "
|
|
9
|
+
packageVersion: "0.0.0-development"
|
|
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;
|
|
@@ -23,11 +25,11 @@ export var VerifiedTeamIcon = function VerifiedTeamIcon(_ref) {
|
|
|
23
25
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
24
26
|
size: size,
|
|
25
27
|
label: tooltipContent,
|
|
26
|
-
spacing:
|
|
28
|
+
spacing: spacing
|
|
27
29
|
}))) : /*#__PURE__*/React.createElement(VerifiedIcon, {
|
|
28
30
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
29
31
|
size: size,
|
|
30
|
-
spacing:
|
|
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.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "UI components for public packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@atlaskit/icon": "^28.5.0",
|
|
40
40
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
42
|
-
"@atlaskit/primitives": "^16.
|
|
43
|
-
"@atlaskit/teams-app-internal-analytics": "^1.
|
|
44
|
-
"@atlaskit/tokens": "^7.
|
|
45
|
-
"@atlaskit/tooltip": "^20.
|
|
42
|
+
"@atlaskit/primitives": "^16.1.0",
|
|
43
|
+
"@atlaskit/teams-app-internal-analytics": "^1.19.0",
|
|
44
|
+
"@atlaskit/tokens": "^7.1.0",
|
|
45
|
+
"@atlaskit/tooltip": "^20.7.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",
|