@atlaskit/teams-public 0.74.4 → 1.1.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 +31 -0
- package/dist/cjs/common/ui/container-icon/index.js +41 -3
- package/dist/cjs/common/ui/loom-avatar/main.compiled.css +5 -1
- package/dist/cjs/common/ui/loom-avatar/main.js +26 -0
- package/dist/cjs/common/ui/team-link-card-actions/index.js +3 -3
- package/dist/cjs/common/utils/get-container-properties.js +72 -35
- package/dist/cjs/ui/team-containers/add-container-card/add-container-card-button/index.js +9 -9
- package/dist/cjs/ui/team-containers/disconnect-dialog/index.js +7 -7
- package/dist/cjs/ui/team-containers/linked-container-card/index.js +4 -4
- package/dist/cjs/ui/team-containers/main.js +3 -3
- package/dist/cjs/ui/team-containers/no-product-access-empty-state/index.js +3 -3
- package/dist/cjs/ui/team-containers/team-link-card/index.js +3 -3
- package/dist/es2019/common/ui/container-icon/index.js +35 -3
- package/dist/es2019/common/ui/loom-avatar/main.compiled.css +5 -1
- package/dist/es2019/common/ui/loom-avatar/main.js +25 -0
- package/dist/es2019/common/ui/team-link-card-actions/index.js +1 -1
- package/dist/es2019/common/utils/get-container-properties.js +45 -7
- package/dist/es2019/ui/team-containers/add-container-card/add-container-card-button/index.js +1 -1
- package/dist/es2019/ui/team-containers/disconnect-dialog/index.js +1 -1
- package/dist/es2019/ui/team-containers/linked-container-card/index.js +2 -2
- package/dist/es2019/ui/team-containers/main.js +1 -1
- package/dist/es2019/ui/team-containers/no-product-access-empty-state/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 +39 -3
- package/dist/esm/common/ui/loom-avatar/main.compiled.css +5 -1
- package/dist/esm/common/ui/loom-avatar/main.js +25 -0
- package/dist/esm/common/ui/team-link-card-actions/index.js +1 -1
- package/dist/esm/common/utils/get-container-properties.js +60 -23
- package/dist/esm/ui/team-containers/add-container-card/add-container-card-button/index.js +1 -1
- package/dist/esm/ui/team-containers/disconnect-dialog/index.js +1 -1
- package/dist/esm/ui/team-containers/linked-container-card/index.js +2 -2
- package/dist/esm/ui/team-containers/main.js +1 -1
- package/dist/esm/ui/team-containers/no-product-access-empty-state/index.js +1 -1
- package/dist/esm/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/types/common/ui/loom-avatar/main.d.ts +1 -1
- package/dist/types/common/utils/get-container-properties.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/loom-avatar/main.d.ts +1 -1
- package/dist/types-ts4.5/common/utils/get-container-properties.d.ts +1 -1
- package/package.json +12 -6
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/* index.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
-
import React from 'react';
|
|
4
|
+
import React, { useEffect } from 'react';
|
|
5
5
|
import Avatar from '@atlaskit/avatar';
|
|
6
6
|
import { IconButton } from '@atlaskit/button/new';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
+
import Tile from '@atlaskit/tile';
|
|
10
12
|
import { LoomSpaceAvatar } from '../loom-avatar';
|
|
11
13
|
const styles = {
|
|
12
14
|
linkIconWrapperSmall: "_19pkv77o _2hwxv77o _otyrv77o _18u0v77o"
|
|
@@ -18,16 +20,30 @@ export const ContainerIcon = ({
|
|
|
18
20
|
size = 'medium'
|
|
19
21
|
}) => {
|
|
20
22
|
const isMedium = size === 'medium';
|
|
23
|
+
const [remoteIconFailed, setRemoteIconFailed] = React.useState(false);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
setRemoteIconFailed(false);
|
|
26
|
+
}, [containerIcon]);
|
|
21
27
|
if (containerType === 'LoomSpace') {
|
|
22
28
|
return /*#__PURE__*/React.createElement(LoomSpaceAvatar, {
|
|
23
29
|
spaceName: title,
|
|
24
|
-
size:
|
|
30
|
+
size: size,
|
|
25
31
|
testId: `linked-container-${containerType}-icon`
|
|
26
32
|
});
|
|
27
33
|
}
|
|
28
34
|
|
|
29
35
|
// This is a fallback icon for WebLink if the containerIcon is not present
|
|
30
|
-
if (containerType === 'WebLink' && !containerIcon) {
|
|
36
|
+
if (containerType === 'WebLink' && !containerIcon || remoteIconFailed) {
|
|
37
|
+
if (fg('enable_teams_t26_design_drop_core_experiences')) {
|
|
38
|
+
return /*#__PURE__*/React.createElement(Tile, {
|
|
39
|
+
label: "",
|
|
40
|
+
size: size,
|
|
41
|
+
testId: "linked-container-WebLink-new-icon",
|
|
42
|
+
hasBorder: true
|
|
43
|
+
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
44
|
+
label: ""
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
31
47
|
return /*#__PURE__*/React.createElement(Box, {
|
|
32
48
|
xcss: cx(!isMedium && styles.linkIconWrapperSmall)
|
|
33
49
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
@@ -45,6 +61,22 @@ export const ContainerIcon = ({
|
|
|
45
61
|
})
|
|
46
62
|
}));
|
|
47
63
|
}
|
|
64
|
+
if (fg('enable_teams_t26_design_drop_core_experiences')) {
|
|
65
|
+
return /*#__PURE__*/React.createElement(Tile, {
|
|
66
|
+
label: "",
|
|
67
|
+
size: size,
|
|
68
|
+
testId: "linked-container-WebLink-new-icon",
|
|
69
|
+
isInset: false,
|
|
70
|
+
backgroundColor: "transparent"
|
|
71
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
72
|
+
as: "img",
|
|
73
|
+
src: containerIcon,
|
|
74
|
+
alt: title,
|
|
75
|
+
onError: () => {
|
|
76
|
+
setRemoteIconFailed(true);
|
|
77
|
+
}
|
|
78
|
+
}));
|
|
79
|
+
}
|
|
48
80
|
return /*#__PURE__*/React.createElement(Avatar, {
|
|
49
81
|
appearance: "square",
|
|
50
82
|
borderColor: "transparent",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
._11c81af2{font:var(--ds-font-heading-medium,normal 653 20px/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._11c81qyo{font:var(--ds-font-heading-xsmall,normal 653 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
|
+
._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
|
|
4
5
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
5
6
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
6
7
|
._1dqonqa1{border-style:solid}
|
|
@@ -8,11 +9,14 @@
|
|
|
8
9
|
._18u0v77o{margin-left:var(--ds-space-025,2px)}
|
|
9
10
|
._19pkv77o{margin-top:var(--ds-space-025,2px)}
|
|
10
11
|
._1bah1h6o{justify-content:center}
|
|
12
|
+
._1bsb1osq{width:100%}
|
|
11
13
|
._1bsbzwfg{width:2pc}
|
|
12
14
|
._1e0c1txw{display:flex}
|
|
13
15
|
._1ul9qslr{min-width:22px}
|
|
14
16
|
._2hwxv77o{margin-right:var(--ds-space-025,2px)}
|
|
15
17
|
._4cvr1h6o{align-items:center}
|
|
18
|
+
._4t3i1osq{height:100%}
|
|
16
19
|
._4t3iqslr{height:22px}
|
|
17
20
|
._4t3izwfg{height:2pc}
|
|
18
|
-
._otyrv77o{margin-bottom:var(--ds-space-025,2px)}
|
|
21
|
+
._otyrv77o{margin-bottom:var(--ds-space-025,2px)}
|
|
22
|
+
._vchhusvi{box-sizing:border-box}
|
|
@@ -2,7 +2,18 @@
|
|
|
2
2
|
import "./main.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import { cx } from '@atlaskit/css';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import Tile from '@atlaskit/tile';
|
|
5
9
|
import { getAvatarText, pickContainerColor, pickTextColor } from './utils';
|
|
10
|
+
const typographyByAvatarSize = {
|
|
11
|
+
small: "_11c81qyo",
|
|
12
|
+
medium: "_11c81af2"
|
|
13
|
+
};
|
|
14
|
+
const styles = {
|
|
15
|
+
loomAvatar: "_2rkol0p1 _189ee4h9 _1dqonqa1 _1h6d1l7x _1e0c1txw _4cvr1h6o _1bah1h6o _vchhusvi _1bsb1osq _4t3i1osq"
|
|
16
|
+
};
|
|
6
17
|
const boxStyle = null;
|
|
7
18
|
const smallBoxStyle = null;
|
|
8
19
|
const largeBoxStyle = null;
|
|
@@ -14,6 +25,20 @@ export function LoomSpaceAvatar({
|
|
|
14
25
|
const avatarText = getAvatarText(spaceName);
|
|
15
26
|
const containerColor = pickContainerColor(spaceName);
|
|
16
27
|
const textColor = pickTextColor(spaceName);
|
|
28
|
+
if (fg('enable_teams_t26_design_drop_core_experiences')) {
|
|
29
|
+
return /*#__PURE__*/React.createElement(Tile, {
|
|
30
|
+
size: size,
|
|
31
|
+
label: "",
|
|
32
|
+
isInset: false,
|
|
33
|
+
testId: testId
|
|
34
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
35
|
+
xcss: cx(styles.loomAvatar, typographyByAvatarSize[size]),
|
|
36
|
+
style: {
|
|
37
|
+
backgroundColor: containerColor,
|
|
38
|
+
color: textColor
|
|
39
|
+
}
|
|
40
|
+
}, avatarText));
|
|
41
|
+
}
|
|
17
42
|
return /*#__PURE__*/React.createElement("div", {
|
|
18
43
|
style: {
|
|
19
44
|
backgroundColor: containerColor,
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { defineMessages, useIntl } from 'react-intl
|
|
6
|
+
import { defineMessages, useIntl } from 'react-intl';
|
|
7
7
|
import { IconButton } from '@atlaskit/button/new';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
import "./get-container-properties.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
5
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
8
8
|
import LinkExternalIcon from '@atlaskit/icon/core/link-external';
|
|
9
9
|
import Image from '@atlaskit/image';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
11
|
import { Box, Flex, Text } from '@atlaskit/primitives/compiled';
|
|
12
|
+
import Tile from '@atlaskit/tile';
|
|
11
13
|
import ConfluenceIcon from '../assets/ConfluenceIcon.svg';
|
|
12
14
|
import JiraIcon from '../assets/JiraIcon.svg';
|
|
13
15
|
import JiraProjectDiscovery from '../assets/JiraProjectDiscovery.svg';
|
|
@@ -19,7 +21,8 @@ const styles = {
|
|
|
19
21
|
smallAvatarWrapper: "_1bsb7vkz _4t3i7vkz",
|
|
20
22
|
smallAvatarMargin: "_195gidpf _1mouidpf",
|
|
21
23
|
linkIconWrapper: "_2rkofajl _1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o _12ji1l7x _1qu2nqa1",
|
|
22
|
-
linkAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhki8nm"
|
|
24
|
+
linkAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhki8nm",
|
|
25
|
+
profileCardWebLinkIconWrapper: "_1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o"
|
|
23
26
|
};
|
|
24
27
|
export const messages = defineMessages({
|
|
25
28
|
addConfluenceContainerTitle: {
|
|
@@ -73,6 +76,16 @@ export const messages = defineMessages({
|
|
|
73
76
|
description: 'Description displayed for link containers in team profile'
|
|
74
77
|
}
|
|
75
78
|
});
|
|
79
|
+
const ContainerIconWrapper = ({
|
|
80
|
+
children,
|
|
81
|
+
iconSize
|
|
82
|
+
}) => {
|
|
83
|
+
return /*#__PURE__*/React.createElement(Tile, {
|
|
84
|
+
label: "",
|
|
85
|
+
size: iconSize,
|
|
86
|
+
isInset: false
|
|
87
|
+
}, children);
|
|
88
|
+
};
|
|
76
89
|
const getJiraIcon = containerSubTypes => {
|
|
77
90
|
switch (containerSubTypes) {
|
|
78
91
|
case 'PRODUCT_DISCOVERY':
|
|
@@ -93,7 +106,13 @@ const getJiraContainerProperties = ({
|
|
|
93
106
|
} = containerTypeProperties || {};
|
|
94
107
|
const baseProperties = {
|
|
95
108
|
description: /*#__PURE__*/React.createElement(FormattedMessage, messages.jiraProjectDescription),
|
|
96
|
-
icon: /*#__PURE__*/React.createElement(
|
|
109
|
+
icon: fg('enable_teams_t26_design_drop_core_experiences') ? /*#__PURE__*/React.createElement(ContainerIconWrapper, {
|
|
110
|
+
iconSize: iconSize
|
|
111
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
112
|
+
src: getJiraIcon(subType),
|
|
113
|
+
alt: "",
|
|
114
|
+
testId: "jira-project-container-icon"
|
|
115
|
+
})) : /*#__PURE__*/React.createElement(Flex, {
|
|
97
116
|
xcss: cx(iconSize === 'small' ? styles.smallAvatarWrapper : styles.avatarWrapper, iconSize === 'small' ? styles.smallAvatarMargin : styles.avatarMargin)
|
|
98
117
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
99
118
|
src: getJiraIcon(subType),
|
|
@@ -130,7 +149,13 @@ const getWebLinkContainerProperties = ({
|
|
|
130
149
|
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
131
150
|
label: "",
|
|
132
151
|
size: "medium"
|
|
133
|
-
})) : isDisplayedOnProfileCard ? /*#__PURE__*/React.createElement(
|
|
152
|
+
})) : isDisplayedOnProfileCard ? fg('enable_teams_t26_design_drop_core_experiences') ? /*#__PURE__*/React.createElement(Box, {
|
|
153
|
+
xcss: styles.profileCardWebLinkIconWrapper
|
|
154
|
+
}, /*#__PURE__*/React.createElement(LinkExternalIcon, {
|
|
155
|
+
label: "",
|
|
156
|
+
size: "small",
|
|
157
|
+
testId: "team-link-card-external-link-icon"
|
|
158
|
+
})) : /*#__PURE__*/React.createElement(LinkExternalIcon, {
|
|
134
159
|
label: "",
|
|
135
160
|
size: "small",
|
|
136
161
|
testId: "team-link-card-external-link-icon"
|
|
@@ -147,16 +172,23 @@ const getWebLinkContainerProperties = ({
|
|
|
147
172
|
};
|
|
148
173
|
export const getContainerProperties = ({
|
|
149
174
|
containerType,
|
|
150
|
-
iconSize = 'medium',
|
|
175
|
+
iconSize = fg('enable_teams_t26_design_drop_core_experiences') ? 'small' : 'medium',
|
|
151
176
|
containerTypeProperties,
|
|
152
177
|
isEmptyContainer,
|
|
153
178
|
isDisplayedOnProfileCard
|
|
154
179
|
}) => {
|
|
180
|
+
const isT26DesignDropCoreExperiencesEnabled = fg('enable_teams_t26_design_drop_core_experiences');
|
|
155
181
|
switch (containerType) {
|
|
156
182
|
case 'ConfluenceSpace':
|
|
157
183
|
return {
|
|
158
184
|
description: /*#__PURE__*/React.createElement(FormattedMessage, messages.confluenceContainerDescription),
|
|
159
|
-
icon: /*#__PURE__*/React.createElement(
|
|
185
|
+
icon: isT26DesignDropCoreExperiencesEnabled ? /*#__PURE__*/React.createElement(ContainerIconWrapper, {
|
|
186
|
+
iconSize: iconSize
|
|
187
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
188
|
+
src: ConfluenceIcon,
|
|
189
|
+
alt: "",
|
|
190
|
+
testId: "confluence-space-container-icon"
|
|
191
|
+
})) : /*#__PURE__*/React.createElement(Flex, {
|
|
160
192
|
xcss: cx(iconSize === 'small' ? styles.smallAvatarWrapper : styles.avatarWrapper, iconSize === 'small' ? styles.smallAvatarMargin : styles.avatarMargin)
|
|
161
193
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
162
194
|
src: ConfluenceIcon,
|
|
@@ -169,7 +201,13 @@ export const getContainerProperties = ({
|
|
|
169
201
|
case 'LoomSpace':
|
|
170
202
|
return {
|
|
171
203
|
description: /*#__PURE__*/React.createElement(FormattedMessage, messages.loomSpaceDescription),
|
|
172
|
-
icon: /*#__PURE__*/React.createElement(
|
|
204
|
+
icon: isT26DesignDropCoreExperiencesEnabled ? /*#__PURE__*/React.createElement(ContainerIconWrapper, {
|
|
205
|
+
iconSize: iconSize
|
|
206
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
207
|
+
src: LoomIcon,
|
|
208
|
+
alt: "",
|
|
209
|
+
testId: "loom-space-container-icon"
|
|
210
|
+
})) : /*#__PURE__*/React.createElement(Flex, {
|
|
173
211
|
xcss: cx(iconSize === 'small' ? styles.smallAvatarWrapper : styles.avatarWrapper, iconSize === 'small' ? styles.smallAvatarMargin : styles.avatarMargin)
|
|
174
212
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
175
213
|
src: LoomIcon,
|
package/dist/es2019/ui/team-containers/add-container-card/add-container-card-button/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
2
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
3
3
|
import { Flex, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
4
4
|
function AddContainerCardButton({
|
|
5
5
|
type
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
3
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
4
4
|
import Button from '@atlaskit/button/new';
|
|
5
5
|
import ModalDialog, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React, { useState } from 'react';
|
|
6
|
-
import { defineMessages, useIntl } from 'react-intl
|
|
6
|
+
import { defineMessages, useIntl } from 'react-intl';
|
|
7
7
|
import Avatar from '@atlaskit/avatar';
|
|
8
8
|
import { IconButton } from '@atlaskit/button/new';
|
|
9
9
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
@@ -71,7 +71,7 @@ const getContainerIcon = (containerType, title, containerIcon) => {
|
|
|
71
71
|
if (containerType === 'LoomSpace') {
|
|
72
72
|
return /*#__PURE__*/React.createElement(LoomSpaceAvatar, {
|
|
73
73
|
spaceName: title,
|
|
74
|
-
size: '
|
|
74
|
+
size: 'medium',
|
|
75
75
|
testId: "linked-container-icon"
|
|
76
76
|
});
|
|
77
77
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
2
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
2
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
3
3
|
import Button from '@atlaskit/button/new';
|
|
4
4
|
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
5
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
6
6
|
import Heading from '@atlaskit/heading';
|
|
7
7
|
import { Box, Inline, Stack } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import { NoProductAccessIcon } from './no-product-access-icon';
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React, { useState } from 'react';
|
|
6
|
-
import { defineMessages, useIntl } from 'react-intl
|
|
6
|
+
import { defineMessages, useIntl } from 'react-intl';
|
|
7
7
|
import { IconButton } from '@atlaskit/button/new';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/* index.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
3
|
import "./index.compiled.css";
|
|
3
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
-
import React from 'react';
|
|
5
|
+
import React, { useEffect } from 'react';
|
|
5
6
|
import Avatar from '@atlaskit/avatar';
|
|
6
7
|
import { IconButton } from '@atlaskit/button/new';
|
|
7
8
|
import { cx } from '@atlaskit/css';
|
|
8
9
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
12
|
+
import Tile from '@atlaskit/tile';
|
|
10
13
|
import { LoomSpaceAvatar } from '../loom-avatar';
|
|
11
14
|
var styles = {
|
|
12
15
|
linkIconWrapperSmall: "_19pkv77o _2hwxv77o _otyrv77o _18u0v77o"
|
|
@@ -18,16 +21,33 @@ export var ContainerIcon = function ContainerIcon(_ref) {
|
|
|
18
21
|
_ref$size = _ref.size,
|
|
19
22
|
size = _ref$size === void 0 ? 'medium' : _ref$size;
|
|
20
23
|
var isMedium = size === 'medium';
|
|
24
|
+
var _React$useState = React.useState(false),
|
|
25
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
26
|
+
remoteIconFailed = _React$useState2[0],
|
|
27
|
+
setRemoteIconFailed = _React$useState2[1];
|
|
28
|
+
useEffect(function () {
|
|
29
|
+
setRemoteIconFailed(false);
|
|
30
|
+
}, [containerIcon]);
|
|
21
31
|
if (containerType === 'LoomSpace') {
|
|
22
32
|
return /*#__PURE__*/React.createElement(LoomSpaceAvatar, {
|
|
23
33
|
spaceName: title,
|
|
24
|
-
size:
|
|
34
|
+
size: size,
|
|
25
35
|
testId: "linked-container-".concat(containerType, "-icon")
|
|
26
36
|
});
|
|
27
37
|
}
|
|
28
38
|
|
|
29
39
|
// This is a fallback icon for WebLink if the containerIcon is not present
|
|
30
|
-
if (containerType === 'WebLink' && !containerIcon) {
|
|
40
|
+
if (containerType === 'WebLink' && !containerIcon || remoteIconFailed) {
|
|
41
|
+
if (fg('enable_teams_t26_design_drop_core_experiences')) {
|
|
42
|
+
return /*#__PURE__*/React.createElement(Tile, {
|
|
43
|
+
label: "",
|
|
44
|
+
size: size,
|
|
45
|
+
testId: "linked-container-WebLink-new-icon",
|
|
46
|
+
hasBorder: true
|
|
47
|
+
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
48
|
+
label: ""
|
|
49
|
+
}));
|
|
50
|
+
}
|
|
31
51
|
return /*#__PURE__*/React.createElement(Box, {
|
|
32
52
|
xcss: cx(!isMedium && styles.linkIconWrapperSmall)
|
|
33
53
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
@@ -47,6 +67,22 @@ export var ContainerIcon = function ContainerIcon(_ref) {
|
|
|
47
67
|
}
|
|
48
68
|
}));
|
|
49
69
|
}
|
|
70
|
+
if (fg('enable_teams_t26_design_drop_core_experiences')) {
|
|
71
|
+
return /*#__PURE__*/React.createElement(Tile, {
|
|
72
|
+
label: "",
|
|
73
|
+
size: size,
|
|
74
|
+
testId: "linked-container-WebLink-new-icon",
|
|
75
|
+
isInset: false,
|
|
76
|
+
backgroundColor: "transparent"
|
|
77
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
78
|
+
as: "img",
|
|
79
|
+
src: containerIcon,
|
|
80
|
+
alt: title,
|
|
81
|
+
onError: function onError() {
|
|
82
|
+
setRemoteIconFailed(true);
|
|
83
|
+
}
|
|
84
|
+
}));
|
|
85
|
+
}
|
|
50
86
|
return /*#__PURE__*/React.createElement(Avatar, {
|
|
51
87
|
appearance: "square",
|
|
52
88
|
borderColor: "transparent",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
._11c81af2{font:var(--ds-font-heading-medium,normal 653 20px/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._11c81qyo{font:var(--ds-font-heading-xsmall,normal 653 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
|
+
._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
|
|
4
5
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
5
6
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
6
7
|
._1dqonqa1{border-style:solid}
|
|
@@ -8,11 +9,14 @@
|
|
|
8
9
|
._18u0v77o{margin-left:var(--ds-space-025,2px)}
|
|
9
10
|
._19pkv77o{margin-top:var(--ds-space-025,2px)}
|
|
10
11
|
._1bah1h6o{justify-content:center}
|
|
12
|
+
._1bsb1osq{width:100%}
|
|
11
13
|
._1bsbzwfg{width:2pc}
|
|
12
14
|
._1e0c1txw{display:flex}
|
|
13
15
|
._1ul9qslr{min-width:22px}
|
|
14
16
|
._2hwxv77o{margin-right:var(--ds-space-025,2px)}
|
|
15
17
|
._4cvr1h6o{align-items:center}
|
|
18
|
+
._4t3i1osq{height:100%}
|
|
16
19
|
._4t3iqslr{height:22px}
|
|
17
20
|
._4t3izwfg{height:2pc}
|
|
18
|
-
._otyrv77o{margin-bottom:var(--ds-space-025,2px)}
|
|
21
|
+
._otyrv77o{margin-bottom:var(--ds-space-025,2px)}
|
|
22
|
+
._vchhusvi{box-sizing:border-box}
|
|
@@ -2,7 +2,18 @@
|
|
|
2
2
|
import "./main.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import { cx } from '@atlaskit/css';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import Tile from '@atlaskit/tile';
|
|
5
9
|
import { getAvatarText, pickContainerColor, pickTextColor } from './utils';
|
|
10
|
+
var typographyByAvatarSize = {
|
|
11
|
+
small: "_11c81qyo",
|
|
12
|
+
medium: "_11c81af2"
|
|
13
|
+
};
|
|
14
|
+
var styles = {
|
|
15
|
+
loomAvatar: "_2rkol0p1 _189ee4h9 _1dqonqa1 _1h6d1l7x _1e0c1txw _4cvr1h6o _1bah1h6o _vchhusvi _1bsb1osq _4t3i1osq"
|
|
16
|
+
};
|
|
6
17
|
var boxStyle = null;
|
|
7
18
|
var smallBoxStyle = null;
|
|
8
19
|
var largeBoxStyle = null;
|
|
@@ -16,6 +27,20 @@ export function LoomSpaceAvatar(_ref) {
|
|
|
16
27
|
var avatarText = getAvatarText(spaceName);
|
|
17
28
|
var containerColor = pickContainerColor(spaceName);
|
|
18
29
|
var textColor = pickTextColor(spaceName);
|
|
30
|
+
if (fg('enable_teams_t26_design_drop_core_experiences')) {
|
|
31
|
+
return /*#__PURE__*/React.createElement(Tile, {
|
|
32
|
+
size: size,
|
|
33
|
+
label: "",
|
|
34
|
+
isInset: false,
|
|
35
|
+
testId: testId
|
|
36
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
37
|
+
xcss: cx(styles.loomAvatar, typographyByAvatarSize[size]),
|
|
38
|
+
style: {
|
|
39
|
+
backgroundColor: containerColor,
|
|
40
|
+
color: textColor
|
|
41
|
+
}
|
|
42
|
+
}, avatarText));
|
|
43
|
+
}
|
|
19
44
|
return /*#__PURE__*/React.createElement("div", {
|
|
20
45
|
style: {
|
|
21
46
|
backgroundColor: containerColor,
|
|
@@ -5,7 +5,7 @@ var _excluded = ["triggerRef"];
|
|
|
5
5
|
import "./index.compiled.css";
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import { defineMessages, useIntl } from 'react-intl
|
|
8
|
+
import { defineMessages, useIntl } from 'react-intl';
|
|
9
9
|
import { IconButton } from '@atlaskit/button/new';
|
|
10
10
|
import { cx } from '@atlaskit/css';
|
|
11
11
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
@@ -5,12 +5,14 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
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
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
8
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
9
9
|
import { cx } from '@atlaskit/css';
|
|
10
10
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
11
11
|
import LinkExternalIcon from '@atlaskit/icon/core/link-external';
|
|
12
12
|
import Image from '@atlaskit/image';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
14
|
import { Box, Flex, Text } from '@atlaskit/primitives/compiled';
|
|
15
|
+
import Tile from '@atlaskit/tile';
|
|
14
16
|
import ConfluenceIcon from '../assets/ConfluenceIcon.svg';
|
|
15
17
|
import JiraIcon from '../assets/JiraIcon.svg';
|
|
16
18
|
import JiraProjectDiscovery from '../assets/JiraProjectDiscovery.svg';
|
|
@@ -22,7 +24,8 @@ var styles = {
|
|
|
22
24
|
smallAvatarWrapper: "_1bsb7vkz _4t3i7vkz",
|
|
23
25
|
smallAvatarMargin: "_195gidpf _1mouidpf",
|
|
24
26
|
linkIconWrapper: "_2rkofajl _1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o _12ji1l7x _1qu2nqa1",
|
|
25
|
-
linkAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhki8nm"
|
|
27
|
+
linkAvatarWrapper: "_2rko1eiz _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o _bfhki8nm",
|
|
28
|
+
profileCardWebLinkIconWrapper: "_1bsb7vkz _4t3i7vkz _1e0c1txw _4cvr1h6o _1bah1h6o"
|
|
26
29
|
};
|
|
27
30
|
export var messages = defineMessages({
|
|
28
31
|
addConfluenceContainerTitle: {
|
|
@@ -76,6 +79,15 @@ export var messages = defineMessages({
|
|
|
76
79
|
description: 'Description displayed for link containers in team profile'
|
|
77
80
|
}
|
|
78
81
|
});
|
|
82
|
+
var ContainerIconWrapper = function ContainerIconWrapper(_ref) {
|
|
83
|
+
var children = _ref.children,
|
|
84
|
+
iconSize = _ref.iconSize;
|
|
85
|
+
return /*#__PURE__*/React.createElement(Tile, {
|
|
86
|
+
label: "",
|
|
87
|
+
size: iconSize,
|
|
88
|
+
isInset: false
|
|
89
|
+
}, children);
|
|
90
|
+
};
|
|
79
91
|
var getJiraIcon = function getJiraIcon(containerSubTypes) {
|
|
80
92
|
switch (containerSubTypes) {
|
|
81
93
|
case 'PRODUCT_DISCOVERY':
|
|
@@ -86,16 +98,22 @@ var getJiraIcon = function getJiraIcon(containerSubTypes) {
|
|
|
86
98
|
return JiraIcon;
|
|
87
99
|
}
|
|
88
100
|
};
|
|
89
|
-
var getJiraContainerProperties = function getJiraContainerProperties(
|
|
90
|
-
var containerTypeProperties =
|
|
91
|
-
|
|
92
|
-
iconSize =
|
|
93
|
-
var
|
|
94
|
-
subType =
|
|
95
|
-
name =
|
|
101
|
+
var getJiraContainerProperties = function getJiraContainerProperties(_ref2) {
|
|
102
|
+
var containerTypeProperties = _ref2.containerTypeProperties,
|
|
103
|
+
_ref2$iconSize = _ref2.iconSize,
|
|
104
|
+
iconSize = _ref2$iconSize === void 0 ? 'medium' : _ref2$iconSize;
|
|
105
|
+
var _ref3 = containerTypeProperties || {},
|
|
106
|
+
subType = _ref3.subType,
|
|
107
|
+
name = _ref3.name;
|
|
96
108
|
var baseProperties = {
|
|
97
109
|
description: /*#__PURE__*/React.createElement(FormattedMessage, messages.jiraProjectDescription),
|
|
98
|
-
icon: /*#__PURE__*/React.createElement(
|
|
110
|
+
icon: fg('enable_teams_t26_design_drop_core_experiences') ? /*#__PURE__*/React.createElement(ContainerIconWrapper, {
|
|
111
|
+
iconSize: iconSize
|
|
112
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
113
|
+
src: getJiraIcon(subType),
|
|
114
|
+
alt: "",
|
|
115
|
+
testId: "jira-project-container-icon"
|
|
116
|
+
})) : /*#__PURE__*/React.createElement(Flex, {
|
|
99
117
|
xcss: cx(iconSize === 'small' ? styles.smallAvatarWrapper : styles.avatarWrapper, iconSize === 'small' ? styles.smallAvatarMargin : styles.avatarMargin)
|
|
100
118
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
101
119
|
src: getJiraIcon(subType),
|
|
@@ -116,9 +134,9 @@ var getJiraContainerProperties = function getJiraContainerProperties(_ref) {
|
|
|
116
134
|
return baseProperties;
|
|
117
135
|
}
|
|
118
136
|
};
|
|
119
|
-
var getWebLinkContainerProperties = function getWebLinkContainerProperties(
|
|
120
|
-
var isEmptyContainer =
|
|
121
|
-
isDisplayedOnProfileCard =
|
|
137
|
+
var getWebLinkContainerProperties = function getWebLinkContainerProperties(_ref4) {
|
|
138
|
+
var isEmptyContainer = _ref4.isEmptyContainer,
|
|
139
|
+
isDisplayedOnProfileCard = _ref4.isDisplayedOnProfileCard;
|
|
122
140
|
return {
|
|
123
141
|
description: isEmptyContainer ? /*#__PURE__*/React.createElement(Text, {
|
|
124
142
|
size: "medium",
|
|
@@ -130,7 +148,13 @@ var getWebLinkContainerProperties = function getWebLinkContainerProperties(_ref3
|
|
|
130
148
|
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
131
149
|
label: "",
|
|
132
150
|
size: "medium"
|
|
133
|
-
})) : isDisplayedOnProfileCard ? /*#__PURE__*/React.createElement(
|
|
151
|
+
})) : isDisplayedOnProfileCard ? fg('enable_teams_t26_design_drop_core_experiences') ? /*#__PURE__*/React.createElement(Box, {
|
|
152
|
+
xcss: styles.profileCardWebLinkIconWrapper
|
|
153
|
+
}, /*#__PURE__*/React.createElement(LinkExternalIcon, {
|
|
154
|
+
label: "",
|
|
155
|
+
size: "small",
|
|
156
|
+
testId: "team-link-card-external-link-icon"
|
|
157
|
+
})) : /*#__PURE__*/React.createElement(LinkExternalIcon, {
|
|
134
158
|
label: "",
|
|
135
159
|
size: "small",
|
|
136
160
|
testId: "team-link-card-external-link-icon"
|
|
@@ -145,18 +169,25 @@ var getWebLinkContainerProperties = function getWebLinkContainerProperties(_ref3
|
|
|
145
169
|
containerTypeText: null
|
|
146
170
|
};
|
|
147
171
|
};
|
|
148
|
-
export var getContainerProperties = function getContainerProperties(
|
|
149
|
-
var containerType =
|
|
150
|
-
|
|
151
|
-
iconSize =
|
|
152
|
-
containerTypeProperties =
|
|
153
|
-
isEmptyContainer =
|
|
154
|
-
isDisplayedOnProfileCard =
|
|
172
|
+
export var getContainerProperties = function getContainerProperties(_ref5) {
|
|
173
|
+
var containerType = _ref5.containerType,
|
|
174
|
+
_ref5$iconSize = _ref5.iconSize,
|
|
175
|
+
iconSize = _ref5$iconSize === void 0 ? fg('enable_teams_t26_design_drop_core_experiences') ? 'small' : 'medium' : _ref5$iconSize,
|
|
176
|
+
containerTypeProperties = _ref5.containerTypeProperties,
|
|
177
|
+
isEmptyContainer = _ref5.isEmptyContainer,
|
|
178
|
+
isDisplayedOnProfileCard = _ref5.isDisplayedOnProfileCard;
|
|
179
|
+
var isT26DesignDropCoreExperiencesEnabled = fg('enable_teams_t26_design_drop_core_experiences');
|
|
155
180
|
switch (containerType) {
|
|
156
181
|
case 'ConfluenceSpace':
|
|
157
182
|
return {
|
|
158
183
|
description: /*#__PURE__*/React.createElement(FormattedMessage, messages.confluenceContainerDescription),
|
|
159
|
-
icon: /*#__PURE__*/React.createElement(
|
|
184
|
+
icon: isT26DesignDropCoreExperiencesEnabled ? /*#__PURE__*/React.createElement(ContainerIconWrapper, {
|
|
185
|
+
iconSize: iconSize
|
|
186
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
187
|
+
src: ConfluenceIcon,
|
|
188
|
+
alt: "",
|
|
189
|
+
testId: "confluence-space-container-icon"
|
|
190
|
+
})) : /*#__PURE__*/React.createElement(Flex, {
|
|
160
191
|
xcss: cx(iconSize === 'small' ? styles.smallAvatarWrapper : styles.avatarWrapper, iconSize === 'small' ? styles.smallAvatarMargin : styles.avatarMargin)
|
|
161
192
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
162
193
|
src: ConfluenceIcon,
|
|
@@ -169,7 +200,13 @@ export var getContainerProperties = function getContainerProperties(_ref4) {
|
|
|
169
200
|
case 'LoomSpace':
|
|
170
201
|
return {
|
|
171
202
|
description: /*#__PURE__*/React.createElement(FormattedMessage, messages.loomSpaceDescription),
|
|
172
|
-
icon: /*#__PURE__*/React.createElement(
|
|
203
|
+
icon: isT26DesignDropCoreExperiencesEnabled ? /*#__PURE__*/React.createElement(ContainerIconWrapper, {
|
|
204
|
+
iconSize: iconSize
|
|
205
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
206
|
+
src: LoomIcon,
|
|
207
|
+
alt: "",
|
|
208
|
+
testId: "loom-space-container-icon"
|
|
209
|
+
})) : /*#__PURE__*/React.createElement(Flex, {
|
|
173
210
|
xcss: cx(iconSize === 'small' ? styles.smallAvatarWrapper : styles.avatarWrapper, iconSize === 'small' ? styles.smallAvatarMargin : styles.avatarMargin)
|
|
174
211
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
175
212
|
src: LoomIcon,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
2
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
3
3
|
import { Flex, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
4
4
|
function AddContainerCardButton(_ref) {
|
|
5
5
|
var type = _ref.type;
|
|
@@ -3,7 +3,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
6
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
7
7
|
import Button from '@atlaskit/button/new';
|
|
8
8
|
import ModalDialog, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|