@atlaskit/people-teams-ui-public 1.7.1 → 2.0.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 +14 -0
- package/dist/cjs/ui/verified-team-icon/main.js +3 -4
- package/dist/es2019/ui/verified-team-icon/main.js +2 -3
- package/dist/esm/ui/verified-team-icon/main.js +3 -4
- package/dist/types/ui/verified-team-icon/main.d.ts +1 -6
- package/dist/types-ts4.5/ui/verified-team-icon/main.d.ts +1 -6
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/people-teams-ui-public
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#179984](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/179984)
|
|
8
|
+
[`3b8b713f5f28c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3b8b713f5f28c) -
|
|
9
|
+
[ux] Remove size from icon properties
|
|
10
|
+
|
|
11
|
+
## 1.7.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 1.7.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -12,8 +12,7 @@ var _legacyCustomIcons = require("@atlaskit/legacy-custom-icons");
|
|
|
12
12
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
13
13
|
var _messages = require("./messages");
|
|
14
14
|
var VerifiedTeamIcon = exports.VerifiedTeamIcon = function VerifiedTeamIcon(_ref) {
|
|
15
|
-
var
|
|
16
|
-
_ref$label = _ref.label,
|
|
15
|
+
var _ref$label = _ref.label,
|
|
17
16
|
label = _ref$label === void 0 ? 'Verified Team' : _ref$label,
|
|
18
17
|
showTooltip = _ref.showTooltip,
|
|
19
18
|
customTooltipContent = _ref.customTooltipContent;
|
|
@@ -29,13 +28,13 @@ var VerifiedTeamIcon = exports.VerifiedTeamIcon = function VerifiedTeamIcon(_ref
|
|
|
29
28
|
"data-testid": "verified-team-icon"
|
|
30
29
|
}, ' ', /*#__PURE__*/_react.default.createElement(_statusVerified.default, {
|
|
31
30
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
32
|
-
LEGACY_size:
|
|
31
|
+
LEGACY_size: "medium",
|
|
33
32
|
label: tooltipContent,
|
|
34
33
|
spacing: "spacious",
|
|
35
34
|
LEGACY_fallbackIcon: _legacyCustomIcons.VerifiedIcon
|
|
36
35
|
}))) : /*#__PURE__*/_react.default.createElement(_statusVerified.default, {
|
|
37
36
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
38
|
-
LEGACY_size:
|
|
37
|
+
LEGACY_size: "medium",
|
|
39
38
|
spacing: "spacious",
|
|
40
39
|
label: label,
|
|
41
40
|
LEGACY_fallbackIcon: _legacyCustomIcons.VerifiedIcon
|
|
@@ -5,7 +5,6 @@ import { VerifiedIcon as LegacyVerifiedIcon } from '@atlaskit/legacy-custom-icon
|
|
|
5
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
6
|
import { messages } from './messages';
|
|
7
7
|
export const VerifiedTeamIcon = ({
|
|
8
|
-
size,
|
|
9
8
|
label = 'Verified Team',
|
|
10
9
|
showTooltip,
|
|
11
10
|
customTooltipContent
|
|
@@ -23,13 +22,13 @@ export const VerifiedTeamIcon = ({
|
|
|
23
22
|
"data-testid": "verified-team-icon"
|
|
24
23
|
}, ' ', /*#__PURE__*/React.createElement(VerifiedIcon, {
|
|
25
24
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
26
|
-
LEGACY_size:
|
|
25
|
+
LEGACY_size: "medium",
|
|
27
26
|
label: tooltipContent,
|
|
28
27
|
spacing: "spacious",
|
|
29
28
|
LEGACY_fallbackIcon: LegacyVerifiedIcon
|
|
30
29
|
}))) : /*#__PURE__*/React.createElement(VerifiedIcon, {
|
|
31
30
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
32
|
-
LEGACY_size:
|
|
31
|
+
LEGACY_size: "medium",
|
|
33
32
|
spacing: "spacious",
|
|
34
33
|
label: label,
|
|
35
34
|
LEGACY_fallbackIcon: LegacyVerifiedIcon
|
|
@@ -5,8 +5,7 @@ import { VerifiedIcon as LegacyVerifiedIcon } from '@atlaskit/legacy-custom-icon
|
|
|
5
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
6
|
import { messages } from './messages';
|
|
7
7
|
export var VerifiedTeamIcon = function VerifiedTeamIcon(_ref) {
|
|
8
|
-
var
|
|
9
|
-
_ref$label = _ref.label,
|
|
8
|
+
var _ref$label = _ref.label,
|
|
10
9
|
label = _ref$label === void 0 ? 'Verified Team' : _ref$label,
|
|
11
10
|
showTooltip = _ref.showTooltip,
|
|
12
11
|
customTooltipContent = _ref.customTooltipContent;
|
|
@@ -22,13 +21,13 @@ export var VerifiedTeamIcon = function VerifiedTeamIcon(_ref) {
|
|
|
22
21
|
"data-testid": "verified-team-icon"
|
|
23
22
|
}, ' ', /*#__PURE__*/React.createElement(VerifiedIcon, {
|
|
24
23
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
25
|
-
LEGACY_size:
|
|
24
|
+
LEGACY_size: "medium",
|
|
26
25
|
label: tooltipContent,
|
|
27
26
|
spacing: "spacious",
|
|
28
27
|
LEGACY_fallbackIcon: LegacyVerifiedIcon
|
|
29
28
|
}))) : /*#__PURE__*/React.createElement(VerifiedIcon, {
|
|
30
29
|
color: "var(--ds-icon-accent-blue, #1D7AFC)",
|
|
31
|
-
LEGACY_size:
|
|
30
|
+
LEGACY_size: "medium",
|
|
32
31
|
spacing: "spacious",
|
|
33
32
|
label: label,
|
|
34
33
|
LEGACY_fallbackIcon: LegacyVerifiedIcon
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type Size } from '@atlaskit/icon';
|
|
3
2
|
interface VerifiedTeamIconProps {
|
|
4
|
-
/**
|
|
5
|
-
* The size of the icon. It can be 'small', 'medium', 'large', etc.
|
|
6
|
-
*/
|
|
7
|
-
size?: Size;
|
|
8
3
|
/**
|
|
9
4
|
* The accessible label for the icon.
|
|
10
5
|
*/
|
|
@@ -19,5 +14,5 @@ interface VerifiedTeamIconProps {
|
|
|
19
14
|
*/
|
|
20
15
|
customTooltipContent?: string;
|
|
21
16
|
}
|
|
22
|
-
export declare const VerifiedTeamIcon: ({
|
|
17
|
+
export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, }: VerifiedTeamIconProps) => JSX.Element;
|
|
23
18
|
export {};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type Size } from '@atlaskit/icon';
|
|
3
2
|
interface VerifiedTeamIconProps {
|
|
4
|
-
/**
|
|
5
|
-
* The size of the icon. It can be 'small', 'medium', 'large', etc.
|
|
6
|
-
*/
|
|
7
|
-
size?: Size;
|
|
8
3
|
/**
|
|
9
4
|
* The accessible label for the icon.
|
|
10
5
|
*/
|
|
@@ -19,5 +14,5 @@ interface VerifiedTeamIconProps {
|
|
|
19
14
|
*/
|
|
20
15
|
customTooltipContent?: string;
|
|
21
16
|
}
|
|
22
|
-
export declare const VerifiedTeamIcon: ({
|
|
17
|
+
export declare const VerifiedTeamIcon: ({ label, showTooltip, customTooltipContent, }: VerifiedTeamIconProps) => JSX.Element;
|
|
23
18
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/people-teams-ui-public",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "UI components for public packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"./verified-team-icon": "./src/ui/verified-team-icon/index.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/icon": "^23.
|
|
39
|
+
"@atlaskit/icon": "^23.1.0",
|
|
40
40
|
"@atlaskit/legacy-custom-icons": "^0.20.0",
|
|
41
41
|
"@atlaskit/primitives": "^13.3.0",
|
|
42
|
-
"@atlaskit/tokens": "^2.
|
|
43
|
-
"@atlaskit/tooltip": "^
|
|
42
|
+
"@atlaskit/tokens": "^2.5.0",
|
|
43
|
+
"@atlaskit/tooltip": "^19.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@compiled/react": "^0.18.1",
|
|
46
46
|
"react-intl-next": "npm:react-intl@^5.18.1"
|