@atlaskit/teams-public 0.71.1 → 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 +7 -0
- package/dist/cjs/ui/team-containers/disconnect-dialog/index.js +8 -1
- package/dist/es2019/ui/team-containers/disconnect-dialog/index.js +13 -1
- package/dist/esm/ui/team-containers/disconnect-dialog/index.js +8 -1
- 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,12 @@
|
|
|
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
|
+
|
|
3
10
|
## 0.71.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -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.',
|
|
@@ -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
|
}
|
|
@@ -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.',
|
|
@@ -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
|
}
|
|
@@ -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.',
|
|
@@ -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
|
}
|