@atlaskit/media-ui 27.4.3 → 28.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,35 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 28.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
8
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
9
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
10
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
11
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
12
+ React 17 may come via non-major semver releases.
13
+
14
+ Please refer this community post for more details:
15
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
21
+ ## 27.5.0
22
+
23
+ ### Minor Changes
24
+
25
+ - [#116138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116138)
26
+ [`b50c5d5d65ae2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b50c5d5d65ae2) -
27
+ Bump to the latest version of @compiled/react
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies
32
+
3
33
  ## 27.4.3
4
34
 
5
35
  ### Patch Changes
@@ -16,7 +16,7 @@ var CustomMediaPlayerBase = exports.CustomMediaPlayerBase = function CustomMedia
16
16
  return (0, _platformFeatureFlags.fg)('platform_media_compiled') ? /*#__PURE__*/_react.default.createElement(_indexCompiled.CustomMediaPlayerBase, props) : /*#__PURE__*/_react.default.createElement(_indexEmotion.CustomMediaPlayerBase, props);
17
17
  };
18
18
  var packageName = "@atlaskit/media-ui";
19
- var packageVersion = "27.4.3";
19
+ var packageVersion = "28.0.0";
20
20
 
21
21
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
22
22
  var CustomMediaPlayer = exports.CustomMediaPlayer = (0, _mediaCommon.withMediaAnalyticsContext)({
@@ -7,7 +7,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import { withMediaAnalyticsContext } from '@atlaskit/media-common';
8
8
  export const CustomMediaPlayerBase = props => fg('platform_media_compiled') ? /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props) : /*#__PURE__*/React.createElement(EmotionCustomMediaPlayerBase, props);
9
9
  const packageName = "@atlaskit/media-ui";
10
- const packageVersion = "27.4.3";
10
+ const packageVersion = "28.0.0";
11
11
 
12
12
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
13
13
  export const CustomMediaPlayer = withMediaAnalyticsContext({
@@ -9,7 +9,7 @@ export var CustomMediaPlayerBase = function CustomMediaPlayerBase(props) {
9
9
  return fg('platform_media_compiled') ? /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props) : /*#__PURE__*/React.createElement(EmotionCustomMediaPlayerBase, props);
10
10
  };
11
11
  var packageName = "@atlaskit/media-ui";
12
- var packageVersion = "27.4.3";
12
+ var packageVersion = "28.0.0";
13
13
 
14
14
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
15
15
  export var CustomMediaPlayer = withMediaAnalyticsContext({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "27.4.3",
3
+ "version": "28.0.0",
4
4
  "description": "Includes common components and utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,27 +24,27 @@
24
24
  "runReact18": true
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/analytics-next": "^10.3.0",
28
- "@atlaskit/button": "^20.5.0",
29
- "@atlaskit/code": "^15.7.0",
30
- "@atlaskit/css": "^0.8.0",
31
- "@atlaskit/icon": "^23.9.0",
32
- "@atlaskit/icon-file-type": "^6.9.0",
33
- "@atlaskit/legacy-custom-icons": "^0.21.0",
34
- "@atlaskit/locale": "^2.8.0",
35
- "@atlaskit/media-common": "^11.8.0",
36
- "@atlaskit/modal-dialog": "^12.20.0",
27
+ "@atlaskit/analytics-next": "^11.0.0",
28
+ "@atlaskit/button": "^21.0.0",
29
+ "@atlaskit/code": "^16.0.0",
30
+ "@atlaskit/css": "^0.10.0",
31
+ "@atlaskit/icon": "^24.0.0",
32
+ "@atlaskit/icon-file-type": "^7.0.0",
33
+ "@atlaskit/legacy-custom-icons": "^0.22.0",
34
+ "@atlaskit/locale": "^3.0.0",
35
+ "@atlaskit/media-common": "^12.0.0",
36
+ "@atlaskit/modal-dialog": "^13.0.0",
37
37
  "@atlaskit/platform-feature-flags": "^1.1.0",
38
- "@atlaskit/primitives": "^13.5.0",
39
- "@atlaskit/range": "^8.1.0",
40
- "@atlaskit/select": "^18.10.0",
41
- "@atlaskit/spinner": "^17.1.0",
42
- "@atlaskit/theme": "^16.0.0",
43
- "@atlaskit/tokens": "^3.3.0",
44
- "@atlaskit/tooltip": "^19.1.0",
45
- "@atlaskit/width-detector": "^4.4.0",
38
+ "@atlaskit/primitives": "^14.0.0",
39
+ "@atlaskit/range": "^9.0.0",
40
+ "@atlaskit/select": "^19.0.0",
41
+ "@atlaskit/spinner": "^18.0.0",
42
+ "@atlaskit/theme": "^17.0.0",
43
+ "@atlaskit/tokens": "^4.0.0",
44
+ "@atlaskit/tooltip": "^20.0.0",
45
+ "@atlaskit/width-detector": "^5.0.0",
46
46
  "@babel/runtime": "^7.0.0",
47
- "@compiled/react": "^0.18.1",
47
+ "@compiled/react": "^0.18.2",
48
48
  "@emotion/styled": "^11.0.0",
49
49
  "blueimp-load-image": "2.19.0",
50
50
  "bytes": "^3.1.0",
@@ -55,13 +55,13 @@
55
55
  "use-callback-ref": "^1.2.3"
56
56
  },
57
57
  "peerDependencies": {
58
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
59
- "react-dom": "^16.8.0 || ^17.0.0 || ~18.2.0",
58
+ "react": "^18.2.0",
59
+ "react-dom": "^18.2.0",
60
60
  "react-intl-next": "npm:react-intl@^5.18.1"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@af/visual-regression": "*",
64
- "@atlaskit/analytics-listeners": "^8.15.0",
64
+ "@atlaskit/analytics-listeners": "^9.0.0",
65
65
  "@atlaskit/ssr": "*",
66
66
  "@atlaskit/visual-regression": "*",
67
67
  "@atlassian/feature-flags-test-utils": "*",