@atlaskit/teams-public 0.57.1 → 0.57.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 +8 -0
- package/dist/cjs/common/ui/container-icon/index.js +6 -6
- package/dist/cjs/common/ui/loom-avatar/main.js +1 -1
- package/dist/cjs/common/ui/team-containers-skeleton/index.js +1 -1
- package/dist/cjs/common/ui/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/cjs/common/ui/team-link-card-actions/index.js +1 -1
- package/dist/cjs/common/utils/get-container-properties.js +22 -22
- package/dist/cjs/next/common/ui/team-container-skeleton/index.js +1 -1
- package/dist/cjs/next/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/cjs/next/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/cjs/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/cjs/ui/team-containers/linked-container-card/index.js +1 -1
- package/dist/cjs/ui/team-containers/no-product-access-empty-state/index.js +1 -1
- package/dist/cjs/ui/team-containers/no-product-access-empty-state/no-product-access-icon/index.js +1 -1
- package/dist/cjs/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/es2019/common/ui/container-icon/index.js +6 -6
- package/dist/es2019/common/ui/loom-avatar/main.js +1 -1
- package/dist/es2019/common/ui/team-containers-skeleton/index.js +1 -1
- package/dist/es2019/common/ui/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/es2019/common/ui/team-link-card-actions/index.js +1 -1
- package/dist/es2019/common/utils/get-container-properties.js +22 -22
- package/dist/es2019/next/common/ui/team-container-skeleton/index.js +1 -1
- package/dist/es2019/next/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/es2019/next/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/es2019/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/es2019/ui/team-containers/linked-container-card/index.js +1 -1
- package/dist/es2019/ui/team-containers/no-product-access-empty-state/index.js +1 -1
- package/dist/es2019/ui/team-containers/no-product-access-empty-state/no-product-access-icon/index.js +1 -1
- package/dist/es2019/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/esm/common/ui/container-icon/index.js +6 -6
- package/dist/esm/common/ui/loom-avatar/main.js +1 -1
- package/dist/esm/common/ui/team-containers-skeleton/index.js +1 -1
- package/dist/esm/common/ui/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/esm/common/ui/team-link-card-actions/index.js +1 -1
- package/dist/esm/common/utils/get-container-properties.js +22 -22
- package/dist/esm/next/common/ui/team-container-skeleton/index.js +1 -1
- package/dist/esm/next/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/esm/next/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/esm/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/esm/ui/team-containers/linked-container-card/index.js +1 -1
- package/dist/esm/ui/team-containers/no-product-access-empty-state/index.js +1 -1
- package/dist/esm/ui/team-containers/no-product-access-empty-state/no-product-access-icon/index.js +1 -1
- package/dist/esm/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/types/common/utils/get-container-properties.d.ts +3 -3
- package/dist/types-ts4.5/common/utils/get-container-properties.d.ts +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/teams-public
|
|
2
2
|
|
|
3
|
+
## 0.57.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e64ba17b1f714`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e64ba17b1f714) -
|
|
8
|
+
[ux] NO-ISSUE Update team link card's icon and text
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 0.57.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -10,12 +10,12 @@ require("./index.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _avatar = _interopRequireDefault(require("@atlaskit/avatar"));
|
|
13
|
-
var
|
|
13
|
+
var _globe = _interopRequireDefault(require("@atlaskit/icon/core/globe"));
|
|
14
14
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
15
15
|
var _loomAvatar = require("../loom-avatar");
|
|
16
16
|
var styles = {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
globeIconWrapperMedium: "_2rko1mok _1bsb1u1b _4t3i1u1b _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1 _bfhkqbzx",
|
|
18
|
+
globeIconWrapperSmall: "_2rkolb4i _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _12jimuej _1qu2nqa1 _bfhkqbzx",
|
|
19
19
|
skeletonMedium: "_2rko1mok _bfhkn82g _1bsb1u1b _4t3i1u1b",
|
|
20
20
|
skeletonSmall: "_2rkolb4i _bfhkn82g _1bsb1tcg _4t3i1tcg"
|
|
21
21
|
};
|
|
@@ -52,8 +52,8 @@ var ContainerIcon = exports.ContainerIcon = function ContainerIcon(_ref2) {
|
|
|
52
52
|
}
|
|
53
53
|
if (!containerIcon) {
|
|
54
54
|
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
55
|
-
xcss: isMedium ? styles.
|
|
56
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
55
|
+
xcss: isMedium ? styles.globeIconWrapperMedium : styles.globeIconWrapperSmall
|
|
56
|
+
}, /*#__PURE__*/_react.default.createElement(_globe.default, {
|
|
57
57
|
label: "",
|
|
58
58
|
testId: "linked-container-WebLink-icon"
|
|
59
59
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* get-container-properties.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* get-container-properties.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -11,7 +11,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
11
11
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
|
-
var
|
|
14
|
+
var _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
|
|
15
15
|
var _linkExternal = _interopRequireDefault(require("@atlaskit/icon/core/link-external"));
|
|
16
16
|
var _image = _interopRequireDefault(require("@atlaskit/image"));
|
|
17
17
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
@@ -27,8 +27,8 @@ var styles = {
|
|
|
27
27
|
iconWrapper: "_1bsb1crf _4t3i1crf",
|
|
28
28
|
avatarWrapper: "_1bsb1tcg _4t3i1tcg",
|
|
29
29
|
mediumIconWrapper: "_1bsb7vkz _4t3i7vkz",
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
linkIconWrapper: "_2rkofajl _1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1",
|
|
31
|
+
linkAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhkm7j4"
|
|
32
32
|
};
|
|
33
33
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
34
34
|
addConfluenceContainerTitle: {
|
|
@@ -96,20 +96,20 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
96
96
|
defaultMessage: 'space',
|
|
97
97
|
description: 'Text for space type containers'
|
|
98
98
|
},
|
|
99
|
-
|
|
100
|
-
id: 'platform.teams.containers.empty-
|
|
101
|
-
defaultMessage: 'Add any
|
|
102
|
-
description: 'Description displayed on the empty card for adding a
|
|
99
|
+
emptyLinkContainerDescription: {
|
|
100
|
+
id: 'platform.teams.containers.empty-link-description',
|
|
101
|
+
defaultMessage: 'Add any link',
|
|
102
|
+
description: 'Description displayed on the empty card for adding a link to a team'
|
|
103
103
|
},
|
|
104
|
-
|
|
105
|
-
id: 'platform.teams.containers.add-
|
|
106
|
-
defaultMessage: 'Add
|
|
107
|
-
description: 'Title of the card to add a
|
|
104
|
+
addLink: {
|
|
105
|
+
id: 'platform.teams.containers.add-link',
|
|
106
|
+
defaultMessage: 'Add Link',
|
|
107
|
+
description: 'Title of the card to add a link to a team'
|
|
108
108
|
},
|
|
109
|
-
|
|
110
|
-
id: 'platform.teams.containers.
|
|
111
|
-
defaultMessage: '
|
|
112
|
-
description: 'Description displayed for
|
|
109
|
+
linkContainerDescription: {
|
|
110
|
+
id: 'platform.teams.containers.link-title-description',
|
|
111
|
+
defaultMessage: 'Link',
|
|
112
|
+
description: 'Description displayed for link containers in team profile'
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
var getJiraIcon = function getJiraIcon(containerSubTypes) {
|
|
@@ -167,11 +167,11 @@ var getWebLinkContainerProperties = function getWebLinkContainerProperties(_ref3
|
|
|
167
167
|
description: isEmptyContainer ? /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
168
168
|
size: "medium",
|
|
169
169
|
weight: "medium"
|
|
170
|
-
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messages.
|
|
170
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messages.emptyLinkContainerDescription)) : /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messages.linkContainerDescription),
|
|
171
171
|
icon: isEmptyContainer ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
172
|
-
xcss: styles.
|
|
172
|
+
xcss: styles.linkAvatarWrapper,
|
|
173
173
|
testId: "team-link-card-globe-icon"
|
|
174
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
174
|
+
}, /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
175
175
|
label: "",
|
|
176
176
|
size: "medium"
|
|
177
177
|
})) : isDisplayedOnProfileCard ? /*#__PURE__*/_react.default.createElement(_linkExternal.default, {
|
|
@@ -179,13 +179,13 @@ var getWebLinkContainerProperties = function getWebLinkContainerProperties(_ref3
|
|
|
179
179
|
size: "small",
|
|
180
180
|
testId: "team-link-card-external-link-icon"
|
|
181
181
|
}) : /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
182
|
-
xcss: styles.
|
|
182
|
+
xcss: styles.linkIconWrapper,
|
|
183
183
|
testId: "team-link-card-globe-icon"
|
|
184
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
184
|
+
}, /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
185
185
|
label: "",
|
|
186
186
|
size: "small"
|
|
187
187
|
})),
|
|
188
|
-
title: newTeamProfilePage ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messages.
|
|
188
|
+
title: newTeamProfilePage ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messages.addLink) : null,
|
|
189
189
|
containerTypeText: null
|
|
190
190
|
};
|
|
191
191
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Avatar from '@atlaskit/avatar';
|
|
6
|
-
import
|
|
6
|
+
import GlobeIcon from '@atlaskit/icon/core/globe';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import { LoomSpaceAvatar } from '../loom-avatar';
|
|
9
9
|
const styles = {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
globeIconWrapperMedium: "_2rko1mok _1bsb1u1b _4t3i1u1b _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1 _bfhkqbzx",
|
|
11
|
+
globeIconWrapperSmall: "_2rkolb4i _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _12jimuej _1qu2nqa1 _bfhkqbzx",
|
|
12
12
|
skeletonMedium: "_2rko1mok _bfhkn82g _1bsb1u1b _4t3i1u1b",
|
|
13
13
|
skeletonSmall: "_2rkolb4i _bfhkn82g _1bsb1tcg _4t3i1tcg"
|
|
14
14
|
};
|
|
@@ -44,8 +44,8 @@ export const ContainerIcon = ({
|
|
|
44
44
|
}
|
|
45
45
|
if (!containerIcon) {
|
|
46
46
|
return /*#__PURE__*/React.createElement(Box, {
|
|
47
|
-
xcss: isMedium ? styles.
|
|
48
|
-
}, /*#__PURE__*/React.createElement(
|
|
47
|
+
xcss: isMedium ? styles.globeIconWrapperMedium : styles.globeIconWrapperSmall
|
|
48
|
+
}, /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
49
49
|
label: "",
|
|
50
50
|
testId: "linked-container-WebLink-icon"
|
|
51
51
|
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* get-container-properties.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* get-container-properties.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./get-container-properties.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
6
|
-
import
|
|
6
|
+
import LinkIcon from '@atlaskit/icon/core/link';
|
|
7
7
|
import LinkExternalIcon from '@atlaskit/icon/core/link-external';
|
|
8
8
|
import Image from '@atlaskit/image';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -17,8 +17,8 @@ const styles = {
|
|
|
17
17
|
iconWrapper: "_1bsb1crf _4t3i1crf",
|
|
18
18
|
avatarWrapper: "_1bsb1tcg _4t3i1tcg",
|
|
19
19
|
mediumIconWrapper: "_1bsb7vkz _4t3i7vkz",
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
linkIconWrapper: "_2rkofajl _1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1",
|
|
21
|
+
linkAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhkm7j4"
|
|
22
22
|
};
|
|
23
23
|
export const messages = defineMessages({
|
|
24
24
|
addConfluenceContainerTitle: {
|
|
@@ -86,20 +86,20 @@ export const messages = defineMessages({
|
|
|
86
86
|
defaultMessage: 'space',
|
|
87
87
|
description: 'Text for space type containers'
|
|
88
88
|
},
|
|
89
|
-
|
|
90
|
-
id: 'platform.teams.containers.empty-
|
|
91
|
-
defaultMessage: 'Add any
|
|
92
|
-
description: 'Description displayed on the empty card for adding a
|
|
89
|
+
emptyLinkContainerDescription: {
|
|
90
|
+
id: 'platform.teams.containers.empty-link-description',
|
|
91
|
+
defaultMessage: 'Add any link',
|
|
92
|
+
description: 'Description displayed on the empty card for adding a link to a team'
|
|
93
93
|
},
|
|
94
|
-
|
|
95
|
-
id: 'platform.teams.containers.add-
|
|
96
|
-
defaultMessage: 'Add
|
|
97
|
-
description: 'Title of the card to add a
|
|
94
|
+
addLink: {
|
|
95
|
+
id: 'platform.teams.containers.add-link',
|
|
96
|
+
defaultMessage: 'Add Link',
|
|
97
|
+
description: 'Title of the card to add a link to a team'
|
|
98
98
|
},
|
|
99
|
-
|
|
100
|
-
id: 'platform.teams.containers.
|
|
101
|
-
defaultMessage: '
|
|
102
|
-
description: 'Description displayed for
|
|
99
|
+
linkContainerDescription: {
|
|
100
|
+
id: 'platform.teams.containers.link-title-description',
|
|
101
|
+
defaultMessage: 'Link',
|
|
102
|
+
description: 'Description displayed for link containers in team profile'
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
105
|
const getJiraIcon = containerSubTypes => {
|
|
@@ -160,11 +160,11 @@ const getWebLinkContainerProperties = ({
|
|
|
160
160
|
description: isEmptyContainer ? /*#__PURE__*/React.createElement(Text, {
|
|
161
161
|
size: "medium",
|
|
162
162
|
weight: "medium"
|
|
163
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.
|
|
163
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.emptyLinkContainerDescription)) : /*#__PURE__*/React.createElement(FormattedMessage, messages.linkContainerDescription),
|
|
164
164
|
icon: isEmptyContainer ? /*#__PURE__*/React.createElement(Box, {
|
|
165
|
-
xcss: styles.
|
|
165
|
+
xcss: styles.linkAvatarWrapper,
|
|
166
166
|
testId: "team-link-card-globe-icon"
|
|
167
|
-
}, /*#__PURE__*/React.createElement(
|
|
167
|
+
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
168
168
|
label: "",
|
|
169
169
|
size: "medium"
|
|
170
170
|
})) : isDisplayedOnProfileCard ? /*#__PURE__*/React.createElement(LinkExternalIcon, {
|
|
@@ -172,13 +172,13 @@ const getWebLinkContainerProperties = ({
|
|
|
172
172
|
size: "small",
|
|
173
173
|
testId: "team-link-card-external-link-icon"
|
|
174
174
|
}) : /*#__PURE__*/React.createElement(Box, {
|
|
175
|
-
xcss: styles.
|
|
175
|
+
xcss: styles.linkIconWrapper,
|
|
176
176
|
testId: "team-link-card-globe-icon"
|
|
177
|
-
}, /*#__PURE__*/React.createElement(
|
|
177
|
+
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
178
178
|
label: "",
|
|
179
179
|
size: "small"
|
|
180
180
|
})),
|
|
181
|
-
title: newTeamProfilePage ? /*#__PURE__*/React.createElement(FormattedMessage, messages.
|
|
181
|
+
title: newTeamProfilePage ? /*#__PURE__*/React.createElement(FormattedMessage, messages.addLink) : null,
|
|
182
182
|
containerTypeText: null
|
|
183
183
|
};
|
|
184
184
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Avatar from '@atlaskit/avatar';
|
|
6
|
-
import
|
|
6
|
+
import GlobeIcon from '@atlaskit/icon/core/globe';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import { LoomSpaceAvatar } from '../loom-avatar';
|
|
9
9
|
var styles = {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
globeIconWrapperMedium: "_2rko1mok _1bsb1u1b _4t3i1u1b _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1 _bfhkqbzx",
|
|
11
|
+
globeIconWrapperSmall: "_2rkolb4i _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _12jimuej _1qu2nqa1 _bfhkqbzx",
|
|
12
12
|
skeletonMedium: "_2rko1mok _bfhkn82g _1bsb1u1b _4t3i1u1b",
|
|
13
13
|
skeletonSmall: "_2rkolb4i _bfhkn82g _1bsb1tcg _4t3i1tcg"
|
|
14
14
|
};
|
|
@@ -45,8 +45,8 @@ export var ContainerIcon = function ContainerIcon(_ref2) {
|
|
|
45
45
|
}
|
|
46
46
|
if (!containerIcon) {
|
|
47
47
|
return /*#__PURE__*/React.createElement(Box, {
|
|
48
|
-
xcss: isMedium ? styles.
|
|
49
|
-
}, /*#__PURE__*/React.createElement(
|
|
48
|
+
xcss: isMedium ? styles.globeIconWrapperMedium : styles.globeIconWrapperSmall
|
|
49
|
+
}, /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
50
50
|
label: "",
|
|
51
51
|
testId: "linked-container-WebLink-icon"
|
|
52
52
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["triggerRef"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* get-container-properties.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* get-container-properties.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./get-container-properties.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
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) { _defineProperty(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; }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
9
|
-
import
|
|
9
|
+
import LinkIcon from '@atlaskit/icon/core/link';
|
|
10
10
|
import LinkExternalIcon from '@atlaskit/icon/core/link-external';
|
|
11
11
|
import Image from '@atlaskit/image';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -20,8 +20,8 @@ var styles = {
|
|
|
20
20
|
iconWrapper: "_1bsb1crf _4t3i1crf",
|
|
21
21
|
avatarWrapper: "_1bsb1tcg _4t3i1tcg",
|
|
22
22
|
mediumIconWrapper: "_1bsb7vkz _4t3i7vkz",
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
linkIconWrapper: "_2rkofajl _1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1",
|
|
24
|
+
linkAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhkm7j4"
|
|
25
25
|
};
|
|
26
26
|
export var messages = defineMessages({
|
|
27
27
|
addConfluenceContainerTitle: {
|
|
@@ -89,20 +89,20 @@ export var messages = defineMessages({
|
|
|
89
89
|
defaultMessage: 'space',
|
|
90
90
|
description: 'Text for space type containers'
|
|
91
91
|
},
|
|
92
|
-
|
|
93
|
-
id: 'platform.teams.containers.empty-
|
|
94
|
-
defaultMessage: 'Add any
|
|
95
|
-
description: 'Description displayed on the empty card for adding a
|
|
92
|
+
emptyLinkContainerDescription: {
|
|
93
|
+
id: 'platform.teams.containers.empty-link-description',
|
|
94
|
+
defaultMessage: 'Add any link',
|
|
95
|
+
description: 'Description displayed on the empty card for adding a link to a team'
|
|
96
96
|
},
|
|
97
|
-
|
|
98
|
-
id: 'platform.teams.containers.add-
|
|
99
|
-
defaultMessage: 'Add
|
|
100
|
-
description: 'Title of the card to add a
|
|
97
|
+
addLink: {
|
|
98
|
+
id: 'platform.teams.containers.add-link',
|
|
99
|
+
defaultMessage: 'Add Link',
|
|
100
|
+
description: 'Title of the card to add a link to a team'
|
|
101
101
|
},
|
|
102
|
-
|
|
103
|
-
id: 'platform.teams.containers.
|
|
104
|
-
defaultMessage: '
|
|
105
|
-
description: 'Description displayed for
|
|
102
|
+
linkContainerDescription: {
|
|
103
|
+
id: 'platform.teams.containers.link-title-description',
|
|
104
|
+
defaultMessage: 'Link',
|
|
105
|
+
description: 'Description displayed for link containers in team profile'
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
108
|
var getJiraIcon = function getJiraIcon(containerSubTypes) {
|
|
@@ -160,11 +160,11 @@ var getWebLinkContainerProperties = function getWebLinkContainerProperties(_ref3
|
|
|
160
160
|
description: isEmptyContainer ? /*#__PURE__*/React.createElement(Text, {
|
|
161
161
|
size: "medium",
|
|
162
162
|
weight: "medium"
|
|
163
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.
|
|
163
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.emptyLinkContainerDescription)) : /*#__PURE__*/React.createElement(FormattedMessage, messages.linkContainerDescription),
|
|
164
164
|
icon: isEmptyContainer ? /*#__PURE__*/React.createElement(Box, {
|
|
165
|
-
xcss: styles.
|
|
165
|
+
xcss: styles.linkAvatarWrapper,
|
|
166
166
|
testId: "team-link-card-globe-icon"
|
|
167
|
-
}, /*#__PURE__*/React.createElement(
|
|
167
|
+
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
168
168
|
label: "",
|
|
169
169
|
size: "medium"
|
|
170
170
|
})) : isDisplayedOnProfileCard ? /*#__PURE__*/React.createElement(LinkExternalIcon, {
|
|
@@ -172,13 +172,13 @@ var getWebLinkContainerProperties = function getWebLinkContainerProperties(_ref3
|
|
|
172
172
|
size: "small",
|
|
173
173
|
testId: "team-link-card-external-link-icon"
|
|
174
174
|
}) : /*#__PURE__*/React.createElement(Box, {
|
|
175
|
-
xcss: styles.
|
|
175
|
+
xcss: styles.linkIconWrapper,
|
|
176
176
|
testId: "team-link-card-globe-icon"
|
|
177
|
-
}, /*#__PURE__*/React.createElement(
|
|
177
|
+
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
178
178
|
label: "",
|
|
179
179
|
size: "small"
|
|
180
180
|
})),
|
|
181
|
-
title: newTeamProfilePage ? /*#__PURE__*/React.createElement(FormattedMessage, messages.
|
|
181
|
+
title: newTeamProfilePage ? /*#__PURE__*/React.createElement(FormattedMessage, messages.addLink) : null,
|
|
182
182
|
containerTypeText: null
|
|
183
183
|
};
|
|
184
184
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
@@ -74,17 +74,17 @@ export declare const messages: {
|
|
|
74
74
|
defaultMessage: string;
|
|
75
75
|
description: string;
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
emptyLinkContainerDescription: {
|
|
78
78
|
id: string;
|
|
79
79
|
defaultMessage: string;
|
|
80
80
|
description: string;
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
addLink: {
|
|
83
83
|
id: string;
|
|
84
84
|
defaultMessage: string;
|
|
85
85
|
description: string;
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
linkContainerDescription: {
|
|
88
88
|
id: string;
|
|
89
89
|
defaultMessage: string;
|
|
90
90
|
description: string;
|
|
@@ -74,17 +74,17 @@ export declare const messages: {
|
|
|
74
74
|
defaultMessage: string;
|
|
75
75
|
description: string;
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
emptyLinkContainerDescription: {
|
|
78
78
|
id: string;
|
|
79
79
|
defaultMessage: string;
|
|
80
80
|
description: string;
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
addLink: {
|
|
83
83
|
id: string;
|
|
84
84
|
defaultMessage: string;
|
|
85
85
|
description: string;
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
linkContainerDescription: {
|
|
88
88
|
id: string;
|
|
89
89
|
defaultMessage: string;
|
|
90
90
|
description: string;
|