@atlaskit/editor-plugin-placeholder-text 10.0.0 → 11.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,24 @@
1
1
  # @atlaskit/editor-plugin-placeholder-text
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
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
  ## 10.0.0
4
23
 
5
24
  ### Patch Changes
@@ -12,7 +12,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
12
12
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
14
  var _react = _interopRequireDefault(require("react"));
15
- var _reactIntlNext = require("react-intl-next");
15
+ var _reactIntl = require("react-intl");
16
16
  var _messages = require("@atlaskit/editor-common/messages");
17
17
  var _ui = require("@atlaskit/editor-common/ui");
18
18
  var _FloatingToolbar = _interopRequireDefault(require("../FloatingToolbar"));
@@ -81,5 +81,5 @@ var PlaceholderFloatingToolbar = /*#__PURE__*/function (_React$Component) {
81
81
  }
82
82
  }]);
83
83
  }(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
84
- var _default_1 = (0, _reactIntlNext.injectIntl)(PlaceholderFloatingToolbar);
84
+ var _default_1 = (0, _reactIntl.injectIntl)(PlaceholderFloatingToolbar);
85
85
  var _default = exports.default = _default_1;
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React from 'react';
3
- import { injectIntl } from 'react-intl-next';
3
+ import { injectIntl } from 'react-intl';
4
4
  import { placeholderTextMessages as messages } from '@atlaskit/editor-common/messages';
5
5
  import { PanelTextInput } from '@atlaskit/editor-common/ui';
6
6
  import FloatingToolbar from '../FloatingToolbar';
@@ -7,7 +7,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
7
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import React from 'react';
10
- import { injectIntl } from 'react-intl-next';
10
+ import { injectIntl } from 'react-intl';
11
11
  import { placeholderTextMessages as messages } from '@atlaskit/editor-common/messages';
12
12
  import { PanelTextInput } from '@atlaskit/editor-common/ui';
13
13
  import FloatingToolbar from '../FloatingToolbar';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
3
3
  import type { Coordinates } from '../FloatingToolbar';
4
4
  export interface Props {
5
5
  children?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
3
3
  import type { Coordinates } from '../FloatingToolbar';
4
4
  export interface Props {
5
5
  children?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder-text",
3
- "version": "10.0.0",
3
+ "version": "11.0.0",
4
4
  "description": "placeholder text plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@atlaskit/adf-schema": "^52.5.0",
31
- "@atlaskit/editor-plugin-analytics": "^9.0.0",
32
- "@atlaskit/editor-plugin-type-ahead": "^9.0.0",
31
+ "@atlaskit/editor-plugin-analytics": "^10.0.0",
32
+ "@atlaskit/editor-plugin-type-ahead": "^10.0.0",
33
33
  "@atlaskit/editor-prosemirror": "^7.3.0",
34
34
  "@atlaskit/icon": "^34.2.0",
35
35
  "@atlaskit/tokens": "^13.0.0",
@@ -37,13 +37,14 @@
37
37
  "@emotion/react": "^11.7.1"
38
38
  },
39
39
  "peerDependencies": {
40
- "@atlaskit/editor-common": "^113.0.0",
40
+ "@atlaskit/editor-common": "^114.0.0",
41
41
  "react": "^18.2.0",
42
42
  "react-dom": "^18.2.0",
43
- "react-intl-next": "npm:react-intl@^5.18.1"
43
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@testing-library/react": "^16.3.0",
47
+ "react-intl": "^6.6.2",
47
48
  "wait-for-expect": "^1.2.0"
48
49
  },
49
50
  "techstack": {
package/report.api.md CHANGED
@@ -71,7 +71,7 @@ const showPlaceholderFloatingToolbar: (
71
71
  ```json
72
72
  {
73
73
  "react": "^16.8.0",
74
- "react-intl-next": "npm:react-intl@^5.18.1"
74
+ "react-intl": "npm:react-intl@^5.18.1"
75
75
  }
76
76
  ```
77
77