@atlaskit/media-ui 30.6.0 → 30.7.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,22 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 30.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`c98e0cf5cc4f6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c98e0cf5cc4f6) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 30.6.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 30.6.0
4
21
 
5
22
  ### Minor Changes
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui/abuseModal",
3
- "main": "../dist/cjs/abuseModal/index.js",
4
- "module": "../dist/esm/abuseModal/index.js",
5
- "module:es2019": "../dist/es2019/abuseModal/index.js",
3
+ "main": "../dist/cjs/abuseModal/abuseModal.js",
4
+ "module": "../dist/esm/abuseModal/abuseModal.js",
5
+ "module:es2019": "../dist/es2019/abuseModal/abuseModal.js",
6
6
  "sideEffects": [
7
7
  "**/*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/abuseModal/index.d.ts"
9
+ "types": "../dist/types/abuseModal/abuseModal.d.ts"
10
10
  }
@@ -14,7 +14,7 @@ var CustomMediaPlayerBase = exports.CustomMediaPlayerBase = function CustomMedia
14
14
  return /*#__PURE__*/_react.default.createElement(_indexCompiled.CustomMediaPlayerBase, props);
15
15
  };
16
16
  var packageName = "@atlaskit/media-ui";
17
- var packageVersion = "30.6.0";
17
+ var packageVersion = "30.6.1";
18
18
 
19
19
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
20
20
  var CustomMediaPlayer = exports.CustomMediaPlayer = (0, _mediaCommon.withMediaAnalyticsContext)({
@@ -15,7 +15,7 @@ var _useTextTracks2 = require("./useTextTracks");
15
15
  var _analyticsNext = require("@atlaskit/analytics-next");
16
16
  var _excluded = ["onPlay"];
17
17
  var packageName = "@atlaskit/media-ui";
18
- var packageVersion = "30.6.0";
18
+ var packageVersion = "30.6.1";
19
19
  var MediaPlayerWihtoutContext = exports.MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
20
20
  var _onPlay = _ref.onPlay,
21
21
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
@@ -26,6 +26,7 @@ var TimeSaver = exports.TimeSaver = /*#__PURE__*/function () {
26
26
  get: function get() {
27
27
  if (this.config && localStorage) {
28
28
  try {
29
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
29
30
  var fileDefaultTime = localStorage.getItem(getDefaultTimeLocalStorageKey(this.config.contentId));
30
31
  if (fileDefaultTime) {
31
32
  return JSON.parse(fileDefaultTime);
@@ -39,6 +40,7 @@ var TimeSaver = exports.TimeSaver = /*#__PURE__*/function () {
39
40
  set: function set(time) {
40
41
  if (this.config && localStorage) {
41
42
  try {
43
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
42
44
  localStorage.setItem(getDefaultTimeLocalStorageKey(this.config.contentId), JSON.stringify(time));
43
45
  } catch (e) {
44
46
  // Nothing to do, storing hasn't happened.
@@ -5,7 +5,7 @@ import { CustomMediaPlayerBase as CompiledCustomMediaPlayerBase } from './index-
5
5
  import { withMediaAnalyticsContext } from '@atlaskit/media-common';
6
6
  export const CustomMediaPlayerBase = props => /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props);
7
7
  const packageName = "@atlaskit/media-ui";
8
- const packageVersion = "30.6.0";
8
+ const packageVersion = "30.6.1";
9
9
 
10
10
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
11
11
  export const CustomMediaPlayer = withMediaAnalyticsContext({
@@ -6,7 +6,7 @@ import { MediaPlayerBase } from './mediaPlayerBase';
6
6
  import { useTextTracks } from './useTextTracks';
7
7
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
8
8
  const packageName = "@atlaskit/media-ui";
9
- const packageVersion = "30.6.0";
9
+ const packageVersion = "30.6.1";
10
10
  export const MediaPlayerWihtoutContext = ({
11
11
  onPlay,
12
12
  ...props
@@ -12,6 +12,7 @@ export class TimeSaver {
12
12
  get defaultTime() {
13
13
  if (this.config && localStorage) {
14
14
  try {
15
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
15
16
  const fileDefaultTime = localStorage.getItem(getDefaultTimeLocalStorageKey(this.config.contentId));
16
17
  if (fileDefaultTime) {
17
18
  return JSON.parse(fileDefaultTime);
@@ -25,6 +26,7 @@ export class TimeSaver {
25
26
  set defaultTime(time) {
26
27
  if (this.config && localStorage) {
27
28
  try {
29
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
28
30
  localStorage.setItem(getDefaultTimeLocalStorageKey(this.config.contentId), JSON.stringify(time));
29
31
  } catch (e) {
30
32
  // Nothing to do, storing hasn't happened.
@@ -7,7 +7,7 @@ export var CustomMediaPlayerBase = function CustomMediaPlayerBase(props) {
7
7
  return /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props);
8
8
  };
9
9
  var packageName = "@atlaskit/media-ui";
10
- var packageVersion = "30.6.0";
10
+ var packageVersion = "30.6.1";
11
11
 
12
12
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
13
13
  export var CustomMediaPlayer = withMediaAnalyticsContext({
@@ -8,7 +8,7 @@ import { MediaPlayerBase } from './mediaPlayerBase';
8
8
  import { useTextTracks } from './useTextTracks';
9
9
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
10
10
  var packageName = "@atlaskit/media-ui";
11
- var packageVersion = "30.6.0";
11
+ var packageVersion = "30.6.1";
12
12
  export var MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
13
13
  var _onPlay = _ref.onPlay,
14
14
  props = _objectWithoutProperties(_ref, _excluded);
@@ -19,6 +19,7 @@ export var TimeSaver = /*#__PURE__*/function () {
19
19
  get: function get() {
20
20
  if (this.config && localStorage) {
21
21
  try {
22
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
22
23
  var fileDefaultTime = localStorage.getItem(getDefaultTimeLocalStorageKey(this.config.contentId));
23
24
  if (fileDefaultTime) {
24
25
  return JSON.parse(fileDefaultTime);
@@ -32,6 +33,7 @@ export var TimeSaver = /*#__PURE__*/function () {
32
33
  set: function set(time) {
33
34
  if (this.config && localStorage) {
34
35
  try {
36
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
35
37
  localStorage.setItem(getDefaultTimeLocalStorageKey(this.config.contentId), JSON.stringify(time));
36
38
  } catch (e) {
37
39
  // Nothing to do, storing hasn't happened.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "30.6.0",
3
+ "version": "30.7.0",
4
4
  "description": "Includes common components and utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/css": "^1.0.0",
39
39
  "@atlaskit/flag": "^18.1.0",
40
40
  "@atlaskit/form": "^16.1.0",
41
- "@atlaskit/icon": "^36.2.0",
41
+ "@atlaskit/icon": "^37.0.0",
42
42
  "@atlaskit/icon-file-type": "^8.1.0",
43
43
  "@atlaskit/locale": "^5.0.0",
44
44
  "@atlaskit/media-client": "^37.2.0",
@@ -47,16 +47,16 @@
47
47
  "@atlaskit/media-state": "^3.0.0",
48
48
  "@atlaskit/modal-dialog": "^16.1.0",
49
49
  "@atlaskit/platform-feature-flags": "^2.0.0",
50
- "@atlaskit/primitives": "^20.4.0",
50
+ "@atlaskit/primitives": "^20.6.0",
51
51
  "@atlaskit/range": "^11.1.0",
52
52
  "@atlaskit/react-compiler-gating": "^0.2.0",
53
53
  "@atlaskit/react-ufo": "^7.3.0",
54
- "@atlaskit/select": "^22.4.0",
54
+ "@atlaskit/select": "^22.5.0",
55
55
  "@atlaskit/spinner": "^20.1.0",
56
56
  "@atlaskit/theme": "^26.1.0",
57
- "@atlaskit/tokens": "^15.4.0",
57
+ "@atlaskit/tokens": "^15.6.0",
58
58
  "@atlaskit/tooltip": "^23.1.0",
59
- "@atlaskit/width-detector": "^6.1.0",
59
+ "@atlaskit/width-detector": "^6.2.0",
60
60
  "@babel/runtime": "^7.0.0",
61
61
  "@compiled/react": "^0.20.0",
62
62
  "@emotion/styled": "^11.0.0",
@@ -79,8 +79,8 @@
79
79
  "@atlaskit/media-test-data": "^4.0.0",
80
80
  "@atlaskit/ssr": "workspace:^",
81
81
  "@atlassian/a11y-jest-testing": "^0.13.0",
82
- "@atlassian/feature-flags-test-utils": "^1.1.0",
83
- "@atlassian/testing-library": "^0.10.0",
82
+ "@atlassian/feature-flags-test-utils": "^1.2.0",
83
+ "@atlassian/testing-library": "^0.11.0",
84
84
  "@testing-library/jest-dom": "^6.4.5",
85
85
  "@testing-library/react": "^16.3.0",
86
86
  "@types/blueimp-load-image": "^5.16.3",