@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.
Files changed (46) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/common/ui/container-icon/index.js +6 -6
  3. package/dist/cjs/common/ui/loom-avatar/main.js +1 -1
  4. package/dist/cjs/common/ui/team-containers-skeleton/index.js +1 -1
  5. package/dist/cjs/common/ui/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
  6. package/dist/cjs/common/ui/team-link-card-actions/index.js +1 -1
  7. package/dist/cjs/common/utils/get-container-properties.js +22 -22
  8. package/dist/cjs/next/common/ui/team-container-skeleton/index.js +1 -1
  9. package/dist/cjs/next/ui/team-containers/add-container-card/index.js +1 -1
  10. package/dist/cjs/next/ui/team-containers/team-link-card/index.js +1 -1
  11. package/dist/cjs/ui/team-containers/add-container-card/index.js +1 -1
  12. package/dist/cjs/ui/team-containers/linked-container-card/index.js +1 -1
  13. package/dist/cjs/ui/team-containers/no-product-access-empty-state/index.js +1 -1
  14. package/dist/cjs/ui/team-containers/no-product-access-empty-state/no-product-access-icon/index.js +1 -1
  15. package/dist/cjs/ui/team-containers/team-link-card/index.js +1 -1
  16. package/dist/es2019/common/ui/container-icon/index.js +6 -6
  17. package/dist/es2019/common/ui/loom-avatar/main.js +1 -1
  18. package/dist/es2019/common/ui/team-containers-skeleton/index.js +1 -1
  19. package/dist/es2019/common/ui/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
  20. package/dist/es2019/common/ui/team-link-card-actions/index.js +1 -1
  21. package/dist/es2019/common/utils/get-container-properties.js +22 -22
  22. package/dist/es2019/next/common/ui/team-container-skeleton/index.js +1 -1
  23. package/dist/es2019/next/ui/team-containers/add-container-card/index.js +1 -1
  24. package/dist/es2019/next/ui/team-containers/team-link-card/index.js +1 -1
  25. package/dist/es2019/ui/team-containers/add-container-card/index.js +1 -1
  26. package/dist/es2019/ui/team-containers/linked-container-card/index.js +1 -1
  27. package/dist/es2019/ui/team-containers/no-product-access-empty-state/index.js +1 -1
  28. package/dist/es2019/ui/team-containers/no-product-access-empty-state/no-product-access-icon/index.js +1 -1
  29. package/dist/es2019/ui/team-containers/team-link-card/index.js +1 -1
  30. package/dist/esm/common/ui/container-icon/index.js +6 -6
  31. package/dist/esm/common/ui/loom-avatar/main.js +1 -1
  32. package/dist/esm/common/ui/team-containers-skeleton/index.js +1 -1
  33. package/dist/esm/common/ui/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
  34. package/dist/esm/common/ui/team-link-card-actions/index.js +1 -1
  35. package/dist/esm/common/utils/get-container-properties.js +22 -22
  36. package/dist/esm/next/common/ui/team-container-skeleton/index.js +1 -1
  37. package/dist/esm/next/ui/team-containers/add-container-card/index.js +1 -1
  38. package/dist/esm/next/ui/team-containers/team-link-card/index.js +1 -1
  39. package/dist/esm/ui/team-containers/add-container-card/index.js +1 -1
  40. package/dist/esm/ui/team-containers/linked-container-card/index.js +1 -1
  41. package/dist/esm/ui/team-containers/no-product-access-empty-state/index.js +1 -1
  42. package/dist/esm/ui/team-containers/no-product-access-empty-state/no-product-access-icon/index.js +1 -1
  43. package/dist/esm/ui/team-containers/team-link-card/index.js +1 -1
  44. package/dist/types/common/utils/get-container-properties.d.ts +3 -3
  45. package/dist/types-ts4.5/common/utils/get-container-properties.d.ts +3 -3
  46. 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.36.1 */
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 _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
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
- linkIconWrapperMedium: "_2rko1mok _1bsb1u1b _4t3i1u1b _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1 _bfhkqbzx",
18
- linkIconWrapperSmall: "_2rkolb4i _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _12jimuej _1qu2nqa1 _bfhkqbzx",
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.linkIconWrapperMedium : styles.linkIconWrapperSmall
56
- }, /*#__PURE__*/_react.default.createElement(_link.default, {
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
- /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* main.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* get-container-properties.tsx generated by @compiled/babel-plugin v0.36.1 */
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 _globe = _interopRequireDefault(require("@atlaskit/icon/core/globe"));
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
- globeIconWrapper: "_2rkofajl _1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1",
31
- globeAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhkm7j4"
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
- emptyWebLinkContainerDescription: {
100
- id: 'platform.teams.containers.empty-web-link-description',
101
- defaultMessage: 'Add any web link',
102
- description: 'Description displayed on the empty card for adding a web link to a team'
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
- addWebLink: {
105
- id: 'platform.teams.containers.add-web-link',
106
- defaultMessage: 'Add Web Link',
107
- description: 'Title of the card to add a web link to a team'
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
- webLinkContainerDescription: {
110
- id: 'platform.teams.containers.web-link-title-description',
111
- defaultMessage: 'Web link',
112
- description: 'Description displayed for web link containers in team profile'
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.emptyWebLinkContainerDescription)) : /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messages.webLinkContainerDescription),
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.globeAvatarWrapper,
172
+ xcss: styles.linkAvatarWrapper,
173
173
  testId: "team-link-card-globe-icon"
174
- }, /*#__PURE__*/_react.default.createElement(_globe.default, {
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.globeIconWrapper,
182
+ xcss: styles.linkIconWrapper,
183
183
  testId: "team-link-card-globe-icon"
184
- }, /*#__PURE__*/_react.default.createElement(_globe.default, {
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.addWebLink) : null,
188
+ title: newTeamProfilePage ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messages.addLink) : null,
189
189
  containerTypeText: null
190
190
  };
191
191
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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");
@@ -1,14 +1,14 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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 LinkIcon from '@atlaskit/icon/core/link';
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
- linkIconWrapperMedium: "_2rko1mok _1bsb1u1b _4t3i1u1b _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1 _bfhkqbzx",
11
- linkIconWrapperSmall: "_2rkolb4i _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _12jimuej _1qu2nqa1 _bfhkqbzx",
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.linkIconWrapperMedium : styles.linkIconWrapperSmall
48
- }, /*#__PURE__*/React.createElement(LinkIcon, {
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,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* main.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,9 +1,9 @@
1
- /* get-container-properties.tsx generated by @compiled/babel-plugin v0.36.1 */
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 GlobeIcon from '@atlaskit/icon/core/globe';
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
- globeIconWrapper: "_2rkofajl _1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1",
21
- globeAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhkm7j4"
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
- emptyWebLinkContainerDescription: {
90
- id: 'platform.teams.containers.empty-web-link-description',
91
- defaultMessage: 'Add any web link',
92
- description: 'Description displayed on the empty card for adding a web link to a team'
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
- addWebLink: {
95
- id: 'platform.teams.containers.add-web-link',
96
- defaultMessage: 'Add Web Link',
97
- description: 'Title of the card to add a web link to a team'
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
- webLinkContainerDescription: {
100
- id: 'platform.teams.containers.web-link-title-description',
101
- defaultMessage: 'Web link',
102
- description: 'Description displayed for web link containers in team profile'
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.emptyWebLinkContainerDescription)) : /*#__PURE__*/React.createElement(FormattedMessage, messages.webLinkContainerDescription),
163
+ }, /*#__PURE__*/React.createElement(FormattedMessage, messages.emptyLinkContainerDescription)) : /*#__PURE__*/React.createElement(FormattedMessage, messages.linkContainerDescription),
164
164
  icon: isEmptyContainer ? /*#__PURE__*/React.createElement(Box, {
165
- xcss: styles.globeAvatarWrapper,
165
+ xcss: styles.linkAvatarWrapper,
166
166
  testId: "team-link-card-globe-icon"
167
- }, /*#__PURE__*/React.createElement(GlobeIcon, {
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.globeIconWrapper,
175
+ xcss: styles.linkIconWrapper,
176
176
  testId: "team-link-card-globe-icon"
177
- }, /*#__PURE__*/React.createElement(GlobeIcon, {
177
+ }, /*#__PURE__*/React.createElement(LinkIcon, {
178
178
  label: "",
179
179
  size: "small"
180
180
  })),
181
- title: newTeamProfilePage ? /*#__PURE__*/React.createElement(FormattedMessage, messages.addWebLink) : null,
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.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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, { useState } from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
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.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
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.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,14 +1,14 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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 LinkIcon from '@atlaskit/icon/core/link';
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
- linkIconWrapperMedium: "_2rko1mok _1bsb1u1b _4t3i1u1b _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1 _bfhkqbzx",
11
- linkIconWrapperSmall: "_2rkolb4i _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _12jimuej _1qu2nqa1 _bfhkqbzx",
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.linkIconWrapperMedium : styles.linkIconWrapperSmall
49
- }, /*#__PURE__*/React.createElement(LinkIcon, {
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
- /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* main.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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.36.1 */
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 GlobeIcon from '@atlaskit/icon/core/globe';
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
- globeIconWrapper: "_2rkofajl _1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o _12jimuej _1qu2nqa1",
24
- globeAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhkm7j4"
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
- emptyWebLinkContainerDescription: {
93
- id: 'platform.teams.containers.empty-web-link-description',
94
- defaultMessage: 'Add any web link',
95
- description: 'Description displayed on the empty card for adding a web link to a team'
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
- addWebLink: {
98
- id: 'platform.teams.containers.add-web-link',
99
- defaultMessage: 'Add Web Link',
100
- description: 'Title of the card to add a web link to a team'
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
- webLinkContainerDescription: {
103
- id: 'platform.teams.containers.web-link-title-description',
104
- defaultMessage: 'Web link',
105
- description: 'Description displayed for web link containers in team profile'
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.emptyWebLinkContainerDescription)) : /*#__PURE__*/React.createElement(FormattedMessage, messages.webLinkContainerDescription),
163
+ }, /*#__PURE__*/React.createElement(FormattedMessage, messages.emptyLinkContainerDescription)) : /*#__PURE__*/React.createElement(FormattedMessage, messages.linkContainerDescription),
164
164
  icon: isEmptyContainer ? /*#__PURE__*/React.createElement(Box, {
165
- xcss: styles.globeAvatarWrapper,
165
+ xcss: styles.linkAvatarWrapper,
166
166
  testId: "team-link-card-globe-icon"
167
- }, /*#__PURE__*/React.createElement(GlobeIcon, {
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.globeIconWrapper,
175
+ xcss: styles.linkIconWrapper,
176
176
  testId: "team-link-card-globe-icon"
177
- }, /*#__PURE__*/React.createElement(GlobeIcon, {
177
+ }, /*#__PURE__*/React.createElement(LinkIcon, {
178
178
  label: "",
179
179
  size: "small"
180
180
  })),
181
- title: newTeamProfilePage ? /*#__PURE__*/React.createElement(FormattedMessage, messages.addWebLink) : null,
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.36.1 */
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.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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.36.1 */
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.36.1 */
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.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
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
- emptyWebLinkContainerDescription: {
77
+ emptyLinkContainerDescription: {
78
78
  id: string;
79
79
  defaultMessage: string;
80
80
  description: string;
81
81
  };
82
- addWebLink: {
82
+ addLink: {
83
83
  id: string;
84
84
  defaultMessage: string;
85
85
  description: string;
86
86
  };
87
- webLinkContainerDescription: {
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
- emptyWebLinkContainerDescription: {
77
+ emptyLinkContainerDescription: {
78
78
  id: string;
79
79
  defaultMessage: string;
80
80
  description: string;
81
81
  };
82
- addWebLink: {
82
+ addLink: {
83
83
  id: string;
84
84
  defaultMessage: string;
85
85
  description: string;
86
86
  };
87
- webLinkContainerDescription: {
87
+ linkContainerDescription: {
88
88
  id: string;
89
89
  defaultMessage: string;
90
90
  description: string;
package/package.json CHANGED
@@ -109,7 +109,7 @@
109
109
  }
110
110
  },
111
111
  "name": "@atlaskit/teams-public",
112
- "version": "0.57.1",
112
+ "version": "0.57.2",
113
113
  "description": "Public components related to teams",
114
114
  "author": "Atlassian Pty Ltd",
115
115
  "license": "Apache-2.0",