@atlaskit/people-teams-ui-public 3.7.14 → 4.0.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 +19 -0
- package/dist/cjs/common/utils/analytics/hooks.js +1 -1
- package/dist/cjs/ui/verified-team-icon/main.js +2 -2
- package/dist/cjs/ui/verified-team-icon/messages.js +2 -2
- package/dist/es2019/common/utils/analytics/hooks.js +1 -1
- package/dist/es2019/ui/verified-team-icon/main.js +1 -1
- package/dist/es2019/ui/verified-team-icon/messages.js +1 -1
- package/dist/esm/common/utils/analytics/hooks.js +1 -1
- package/dist/esm/ui/verified-team-icon/main.js +1 -1
- package/dist/esm/ui/verified-team-icon/messages.js +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/people-teams-ui-public
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`fbc8a506b5b08`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fbc8a506b5b08) -
|
|
8
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
9
|
+
|
|
10
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
11
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
12
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
13
|
+
|
|
14
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
15
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
16
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 3.7.14
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -15,7 +15,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
15
15
|
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) { (0, _defineProperty2.default)(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; }
|
|
16
16
|
var defaultAnalyticsContextData = {
|
|
17
17
|
packageName: "@atlaskit/people-teams-ui-public",
|
|
18
|
-
packageVersion: "
|
|
18
|
+
packageVersion: "0.0.0-development"
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.VerifiedTeamIcon = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _statusVerified = _interopRequireDefault(require("@atlaskit/icon/core/status-verified"));
|
|
11
11
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
12
12
|
var _messages = require("./messages");
|
|
@@ -19,7 +19,7 @@ var VerifiedTeamIcon = exports.VerifiedTeamIcon = function VerifiedTeamIcon(_ref
|
|
|
19
19
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
20
20
|
_ref$spacing = _ref.spacing,
|
|
21
21
|
spacing = _ref$spacing === void 0 ? 'spacious' : _ref$spacing;
|
|
22
|
-
var _useIntl = (0,
|
|
22
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
23
23
|
formatMessage = _useIntl.formatMessage;
|
|
24
24
|
var tooltipContent = showTooltip ? customTooltipContent || formatMessage(_messages.messages.verifiedIconDefaultTooltip) : undefined;
|
|
25
25
|
return tooltipContent ? /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var messages = exports.messages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
verifiedIconDefaultTooltip: {
|
|
10
10
|
id: 'ptc-directory.team-profile-page.team-name.verified-team.icon.tooltip',
|
|
11
11
|
defaultMessage: 'This team is verified because it can only be changed by admin.',
|
|
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
|
|
|
2
2
|
import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
3
3
|
const defaultAnalyticsContextData = {
|
|
4
4
|
packageName: "@atlaskit/people-teams-ui-public",
|
|
5
|
-
packageVersion: "
|
|
5
|
+
packageVersion: "0.0.0-development"
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -6,7 +6,7 @@ import React, { useMemo } from 'react';
|
|
|
6
6
|
import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
7
7
|
var defaultAnalyticsContextData = {
|
|
8
8
|
packageName: "@atlaskit/people-teams-ui-public",
|
|
9
|
-
packageVersion: "
|
|
9
|
+
packageVersion: "0.0.0-development"
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/people-teams-ui-public",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "UI components for public packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
39
|
-
"@atlaskit/icon": "^34.
|
|
39
|
+
"@atlaskit/icon": "^34.2.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@atlaskit/tokens": "^13.0.0",
|
|
42
42
|
"@atlaskit/tooltip": "^21.1.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@compiled/react": "^0.20.0",
|
|
45
|
-
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
46
45
|
"react-sweet-state": "^2.6.5"
|
|
47
46
|
},
|
|
48
47
|
"peerDependencies": {
|
|
49
|
-
"react": "^18.2.0"
|
|
48
|
+
"react": "^18.2.0",
|
|
49
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@af/integration-testing": "workspace:^",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"@testing-library/react": "^16.3.0",
|
|
57
57
|
"@testing-library/user-event": "^14.4.3",
|
|
58
58
|
"react-dom": "^18.2.0",
|
|
59
|
+
"react-intl": "^6.6.2",
|
|
59
60
|
"wait-for-expect": "^1.2.0"
|
|
60
61
|
},
|
|
61
62
|
"techstack": {
|