@atlaskit/people-teams-ui-public 3.7.13 → 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 CHANGED
@@ -1,5 +1,30 @@
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
+
22
+ ## 3.7.14
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 3.7.13
4
29
 
5
30
  ### Patch Changes
@@ -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 _reactIntlNext = require("react-intl-next");
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, _reactIntlNext.useIntl)(),
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 _reactIntlNext = require("react-intl-next");
8
- var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
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.',
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useIntl } from 'react-intl-next';
2
+ import { useIntl } from 'react-intl';
3
3
  import VerifiedIcon from '@atlaskit/icon/core/status-verified';
4
4
  import Tooltip from '@atlaskit/tooltip';
5
5
  import { messages } from './messages';
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export const messages = defineMessages({
3
3
  verifiedIconDefaultTooltip: {
4
4
  id: 'ptc-directory.team-profile-page.team-name.verified-team.icon.tooltip',
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useIntl } from 'react-intl-next';
2
+ import { useIntl } from 'react-intl';
3
3
  import VerifiedIcon from '@atlaskit/icon/core/status-verified';
4
4
  import Tooltip from '@atlaskit/tooltip';
5
5
  import { messages } from './messages';
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var messages = defineMessages({
3
3
  verifiedIconDefaultTooltip: {
4
4
  id: 'ptc-directory.team-profile-page.team-name.verified-team.icon.tooltip',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/people-teams-ui-public",
3
- "version": "3.7.13",
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.0.0",
39
+ "@atlaskit/icon": "^34.2.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/tokens": "^12.0.0",
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": {