@atlaskit/teams-public 0.71.0 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/common/ui/team-link-card-actions/index.js +2 -2
- package/dist/cjs/ui/team-containers/disconnect-dialog/index.js +9 -2
- package/dist/es2019/common/ui/team-link-card-actions/index.js +2 -2
- package/dist/es2019/ui/team-containers/disconnect-dialog/index.js +14 -2
- package/dist/esm/common/ui/team-link-card-actions/index.js +2 -2
- package/dist/esm/ui/team-containers/disconnect-dialog/index.js +9 -2
- package/dist/types/ui/team-containers/disconnect-dialog/index.d.ts +5 -0
- package/dist/types-ts4.5/ui/team-containers/disconnect-dialog/index.d.ts +5 -0
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/teams-public
|
|
2
2
|
|
|
3
|
+
## 0.72.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`6705502efc21c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6705502efc21c) -
|
|
8
|
+
[ux] Updating the disconnect team modal content and delete team modal message for jira project
|
|
9
|
+
|
|
10
|
+
## 0.71.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`cb9bdb694c88e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cb9bdb694c88e) -
|
|
15
|
+
Fix require-description ESLint violation
|
|
16
|
+
|
|
3
17
|
## 0.71.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -38,12 +38,12 @@ var messages = (0, _reactIntlNext.defineMessages)({
|
|
|
38
38
|
editLink: {
|
|
39
39
|
id: 'ptc-directory.team-containers.edit-link',
|
|
40
40
|
defaultMessage: 'Edit link',
|
|
41
|
-
description: '
|
|
41
|
+
description: 'Dropdown menu option label to edit a team container link'
|
|
42
42
|
},
|
|
43
43
|
removeLink: {
|
|
44
44
|
id: 'ptc-directory.team-containers.remove-link',
|
|
45
45
|
defaultMessage: 'Remove',
|
|
46
|
-
description: '
|
|
46
|
+
description: 'Dropdown menu option label to remove a team container link'
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
var TeamLinkCardActions = exports.TeamLinkCardActions = function TeamLinkCardActions(_ref) {
|
|
@@ -14,6 +14,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
14
14
|
var _reactIntlNext = require("react-intl-next");
|
|
15
15
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
16
16
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
17
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
20
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
@@ -32,6 +33,12 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
32
33
|
defaultMessage: "Disconnecting the team from the {containerType, select,\n\t\t\tJiraProject {project}\n\t\t\tConfluenceSpace {space}\n\t\t\tLoomSpace {space}\n\t\t\tother {link}\n\t\t} will not affect any work connected to the team within the {containerType, select,\n\t\t\tJiraProject {project}\n\t\t\tConfluenceSpace {space}\n\t\t\tLoomSpace {space}\n\t\t\tother {link}\n\t\t}.",
|
|
33
34
|
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
34
35
|
},
|
|
36
|
+
disconnectDialogDisclaimerNew: {
|
|
37
|
+
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer',
|
|
38
|
+
// eslint-disable-next-line @atlassian/i18n/no-complex-selectors
|
|
39
|
+
defaultMessage: "{containerType, select,\n\t\t\tJiraProject {Disconnecting the team from the project might affect work connected to the team within the project.}\n\t\t\tConfluenceSpace {Disconnecting the team from the space will not affect any work connected to the team within the space.}\n\t\t\tLoomSpace {Disconnecting the team from the space will not affect any work connected to the team within the space.}\n\t\t\tother {Disconnecting the team from the link will not affect any work connected to the team within the link.}\n\t\t}",
|
|
40
|
+
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
41
|
+
},
|
|
35
42
|
disconnectDialogDisclaimerFallback: {
|
|
36
43
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer-fallback',
|
|
37
44
|
defaultMessage: 'Disconnecting the team from the link will not affect any work connected to the team.',
|
|
@@ -40,7 +47,7 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
40
47
|
disconnectDialogCancelButton: {
|
|
41
48
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.cancel-button',
|
|
42
49
|
defaultMessage: 'Cancel',
|
|
43
|
-
description: 'Button to cancel the dialog'
|
|
50
|
+
description: 'Button label to cancel the disconnect dialog without making changes'
|
|
44
51
|
},
|
|
45
52
|
disconnectDialogRemoveButton: {
|
|
46
53
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.remove-button',
|
|
@@ -95,7 +102,7 @@ var DisconnectDialog = exports.DisconnectDialog = function DisconnectDialog(_ref
|
|
|
95
102
|
}, containerName),
|
|
96
103
|
containerType: containerType
|
|
97
104
|
}
|
|
98
|
-
}))), /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, messages.disconnectDialogDisclaimer, {
|
|
105
|
+
}))), /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, (0, _platformFeatureFlags.fg)('workforce_optimization_team_modal_update') ? messages.disconnectDialogDisclaimerNew : messages.disconnectDialogDisclaimer, {
|
|
99
106
|
values: {
|
|
100
107
|
containerType: containerType
|
|
101
108
|
}
|
|
@@ -27,12 +27,12 @@ const messages = defineMessages({
|
|
|
27
27
|
editLink: {
|
|
28
28
|
id: 'ptc-directory.team-containers.edit-link',
|
|
29
29
|
defaultMessage: 'Edit link',
|
|
30
|
-
description: '
|
|
30
|
+
description: 'Dropdown menu option label to edit a team container link'
|
|
31
31
|
},
|
|
32
32
|
removeLink: {
|
|
33
33
|
id: 'ptc-directory.team-containers.remove-link',
|
|
34
34
|
defaultMessage: 'Remove',
|
|
35
|
-
description: '
|
|
35
|
+
description: 'Dropdown menu option label to remove a team container link'
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
export const TeamLinkCardActions = ({
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
4
4
|
import Button from '@atlaskit/button/new';
|
|
5
5
|
import ModalDialog, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
7
|
import { Box, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
7
8
|
export const messages = defineMessages({
|
|
8
9
|
disconnectDialogTitle: {
|
|
@@ -35,6 +36,17 @@ export const messages = defineMessages({
|
|
|
35
36
|
}.`,
|
|
36
37
|
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
37
38
|
},
|
|
39
|
+
disconnectDialogDisclaimerNew: {
|
|
40
|
+
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer',
|
|
41
|
+
// eslint-disable-next-line @atlassian/i18n/no-complex-selectors
|
|
42
|
+
defaultMessage: `{containerType, select,
|
|
43
|
+
JiraProject {Disconnecting the team from the project might affect work connected to the team within the project.}
|
|
44
|
+
ConfluenceSpace {Disconnecting the team from the space will not affect any work connected to the team within the space.}
|
|
45
|
+
LoomSpace {Disconnecting the team from the space will not affect any work connected to the team within the space.}
|
|
46
|
+
other {Disconnecting the team from the link will not affect any work connected to the team within the link.}
|
|
47
|
+
}`,
|
|
48
|
+
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
49
|
+
},
|
|
38
50
|
disconnectDialogDisclaimerFallback: {
|
|
39
51
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer-fallback',
|
|
40
52
|
defaultMessage: 'Disconnecting the team from the link will not affect any work connected to the team.',
|
|
@@ -43,7 +55,7 @@ export const messages = defineMessages({
|
|
|
43
55
|
disconnectDialogCancelButton: {
|
|
44
56
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.cancel-button',
|
|
45
57
|
defaultMessage: 'Cancel',
|
|
46
|
-
description: 'Button to cancel the dialog'
|
|
58
|
+
description: 'Button label to cancel the disconnect dialog without making changes'
|
|
47
59
|
},
|
|
48
60
|
disconnectDialogRemoveButton: {
|
|
49
61
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.remove-button',
|
|
@@ -81,7 +93,7 @@ export const DisconnectDialog = ({
|
|
|
81
93
|
}, containerName),
|
|
82
94
|
containerType
|
|
83
95
|
}
|
|
84
|
-
}))), /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.disconnectDialogDisclaimer, {
|
|
96
|
+
}))), /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, fg('workforce_optimization_team_modal_update') ? messages.disconnectDialogDisclaimerNew : messages.disconnectDialogDisclaimer, {
|
|
85
97
|
values: {
|
|
86
98
|
containerType
|
|
87
99
|
}
|
|
@@ -29,12 +29,12 @@ var messages = defineMessages({
|
|
|
29
29
|
editLink: {
|
|
30
30
|
id: 'ptc-directory.team-containers.edit-link',
|
|
31
31
|
defaultMessage: 'Edit link',
|
|
32
|
-
description: '
|
|
32
|
+
description: 'Dropdown menu option label to edit a team container link'
|
|
33
33
|
},
|
|
34
34
|
removeLink: {
|
|
35
35
|
id: 'ptc-directory.team-containers.remove-link',
|
|
36
36
|
defaultMessage: 'Remove',
|
|
37
|
-
description: '
|
|
37
|
+
description: 'Dropdown menu option label to remove a team container link'
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
export var TeamLinkCardActions = function TeamLinkCardActions(_ref) {
|
|
@@ -6,6 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
7
7
|
import Button from '@atlaskit/button/new';
|
|
8
8
|
import ModalDialog, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
10
|
import { Box, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
10
11
|
export var messages = defineMessages({
|
|
11
12
|
disconnectDialogTitle: {
|
|
@@ -23,6 +24,12 @@ export var messages = defineMessages({
|
|
|
23
24
|
defaultMessage: "Disconnecting the team from the {containerType, select,\n\t\t\tJiraProject {project}\n\t\t\tConfluenceSpace {space}\n\t\t\tLoomSpace {space}\n\t\t\tother {link}\n\t\t} will not affect any work connected to the team within the {containerType, select,\n\t\t\tJiraProject {project}\n\t\t\tConfluenceSpace {space}\n\t\t\tLoomSpace {space}\n\t\t\tother {link}\n\t\t}.",
|
|
24
25
|
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
25
26
|
},
|
|
27
|
+
disconnectDialogDisclaimerNew: {
|
|
28
|
+
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer',
|
|
29
|
+
// eslint-disable-next-line @atlassian/i18n/no-complex-selectors
|
|
30
|
+
defaultMessage: "{containerType, select,\n\t\t\tJiraProject {Disconnecting the team from the project might affect work connected to the team within the project.}\n\t\t\tConfluenceSpace {Disconnecting the team from the space will not affect any work connected to the team within the space.}\n\t\t\tLoomSpace {Disconnecting the team from the space will not affect any work connected to the team within the space.}\n\t\t\tother {Disconnecting the team from the link will not affect any work connected to the team within the link.}\n\t\t}",
|
|
31
|
+
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
32
|
+
},
|
|
26
33
|
disconnectDialogDisclaimerFallback: {
|
|
27
34
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer-fallback',
|
|
28
35
|
defaultMessage: 'Disconnecting the team from the link will not affect any work connected to the team.',
|
|
@@ -31,7 +38,7 @@ export var messages = defineMessages({
|
|
|
31
38
|
disconnectDialogCancelButton: {
|
|
32
39
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.cancel-button',
|
|
33
40
|
defaultMessage: 'Cancel',
|
|
34
|
-
description: 'Button to cancel the dialog'
|
|
41
|
+
description: 'Button label to cancel the disconnect dialog without making changes'
|
|
35
42
|
},
|
|
36
43
|
disconnectDialogRemoveButton: {
|
|
37
44
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.remove-button',
|
|
@@ -86,7 +93,7 @@ export var DisconnectDialog = function DisconnectDialog(_ref) {
|
|
|
86
93
|
}, containerName),
|
|
87
94
|
containerType: containerType
|
|
88
95
|
}
|
|
89
|
-
}))), /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.disconnectDialogDisclaimer, {
|
|
96
|
+
}))), /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, fg('workforce_optimization_team_modal_update') ? messages.disconnectDialogDisclaimerNew : messages.disconnectDialogDisclaimer, {
|
|
90
97
|
values: {
|
|
91
98
|
containerType: containerType
|
|
92
99
|
}
|
|
@@ -16,6 +16,11 @@ export declare const messages: {
|
|
|
16
16
|
defaultMessage: string;
|
|
17
17
|
description: string;
|
|
18
18
|
};
|
|
19
|
+
disconnectDialogDisclaimerNew: {
|
|
20
|
+
id: string;
|
|
21
|
+
defaultMessage: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
19
24
|
disconnectDialogDisclaimerFallback: {
|
|
20
25
|
id: string;
|
|
21
26
|
defaultMessage: string;
|
|
@@ -16,6 +16,11 @@ export declare const messages: {
|
|
|
16
16
|
defaultMessage: string;
|
|
17
17
|
description: string;
|
|
18
18
|
};
|
|
19
|
+
disconnectDialogDisclaimerNew: {
|
|
20
|
+
id: string;
|
|
21
|
+
defaultMessage: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
19
24
|
disconnectDialogDisclaimerFallback: {
|
|
20
25
|
id: string;
|
|
21
26
|
defaultMessage: string;
|
package/package.json
CHANGED
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
"name": "@atlaskit/teams-public",
|
|
110
|
-
"version": "0.
|
|
110
|
+
"version": "0.72.0",
|
|
111
111
|
"description": "Public components related to teams",
|
|
112
112
|
"author": "Atlassian Pty Ltd",
|
|
113
113
|
"license": "Apache-2.0",
|
|
@@ -139,6 +139,9 @@
|
|
|
139
139
|
},
|
|
140
140
|
"space-team_linking_invites_fg": {
|
|
141
141
|
"type": "boolean"
|
|
142
|
+
},
|
|
143
|
+
"workforce_optimization_team_modal_update": {
|
|
144
|
+
"type": "boolean"
|
|
142
145
|
}
|
|
143
146
|
}
|
|
144
147
|
}
|