@atlaskit/media-ui 25.4.2 → 25.4.4

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,17 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 25.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
8
+
9
+ ## 25.4.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 25.4.2
4
16
 
5
17
  ### Patch Changes
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/browser.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/browser.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/classNames.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/classNames.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/codeViewer.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/codeViewer.d.ts"
12
12
  ]
@@ -53,7 +53,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
53
53
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */ // Keep media player components used in media-viewer to use static colors from the new color palette to
54
54
  // support the hybrid theming in media viewer https://product-fabric.atlassian.net/browse/DSP-6067
55
55
  var packageName = "@atlaskit/media-ui";
56
- var packageVersion = "25.4.2";
56
+ var packageVersion = "25.4.4";
57
57
  var MEDIUM_VIDEO_MAX_WIDTH = 400;
58
58
  var SMALL_VIDEO_MAX_WIDTH = 160;
59
59
  var MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -36,7 +36,7 @@ import Tooltip from '@atlaskit/tooltip';
36
36
  import { SkipTenBackwardIcon, SkipTenForwardIcon } from './icons';
37
37
  import { getControlsWrapperClassName } from './getControlsWrapperClassName';
38
38
  const packageName = "@atlaskit/media-ui";
39
- const packageVersion = "25.4.2";
39
+ const packageVersion = "25.4.4";
40
40
  const MEDIUM_VIDEO_MAX_WIDTH = 400;
41
41
  const SMALL_VIDEO_MAX_WIDTH = 160;
42
42
  const MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
@@ -1 +0,0 @@
1
- export {};
@@ -46,7 +46,7 @@ import Tooltip from '@atlaskit/tooltip';
46
46
  import { SkipTenBackwardIcon, SkipTenForwardIcon } from './icons';
47
47
  import { getControlsWrapperClassName } from './getControlsWrapperClassName';
48
48
  var packageName = "@atlaskit/media-ui";
49
- var packageVersion = "25.4.2";
49
+ var packageVersion = "25.4.4";
50
50
  var MEDIUM_VIDEO_MAX_WIDTH = 400;
51
51
  var SMALL_VIDEO_MAX_WIDTH = 160;
52
52
  var MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
@@ -1 +0,0 @@
1
- export {};
@@ -2,11 +2,11 @@ import React from 'react';
2
2
  import { WrappedComponentProps } from 'react-intl-next';
3
3
  import { ReactWrapper, ShallowWrapper } from 'enzyme';
4
4
  import { ReactElement } from 'react';
5
- export declare const mountWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: React.ReactElement<P & WrappedComponentProps<"intl">, string | React.JSXElementConstructor<any>>, { context, childContextTypes, ...additionalOptions }?: {
5
+ export declare const mountWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: ReactElement<P & WrappedComponentProps>, { context, childContextTypes, ...additionalOptions }?: {
6
6
  context?: {} | undefined;
7
7
  childContextTypes?: {} | undefined;
8
- }) => ReactWrapper<P & WrappedComponentProps<"intl">, S, C>;
9
- export declare const shallowWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: React.ReactElement<P & WrappedComponentProps<"intl">, string | React.JSXElementConstructor<any>>, { context, ...additionalOptions }?: {
8
+ }) => ReactWrapper<P & WrappedComponentProps, S, C>;
9
+ export declare const shallowWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: ReactElement<P & WrappedComponentProps>, { context, ...additionalOptions }?: {
10
10
  context?: {} | undefined;
11
- }) => ShallowWrapper<P & WrappedComponentProps<"intl">, S, C>;
11
+ }) => ShallowWrapper<P & WrappedComponentProps, S, C>;
12
12
  export declare const mountWithIntlWrapper: (node: React.ReactElement) => ReactWrapper;
@@ -2,11 +2,11 @@ import React from 'react';
2
2
  import { WrappedComponentProps } from 'react-intl-next';
3
3
  import { ReactWrapper, ShallowWrapper } from 'enzyme';
4
4
  import { ReactElement } from 'react';
5
- export declare const mountWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: React.ReactElement<P & WrappedComponentProps<"intl">, string | React.JSXElementConstructor<any>>, { context, childContextTypes, ...additionalOptions }?: {
5
+ export declare const mountWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: ReactElement<P & WrappedComponentProps>, { context, childContextTypes, ...additionalOptions }?: {
6
6
  context?: {} | undefined;
7
7
  childContextTypes?: {} | undefined;
8
- }) => ReactWrapper<P & WrappedComponentProps<"intl">, S, C>;
9
- export declare const shallowWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: React.ReactElement<P & WrappedComponentProps<"intl">, string | React.JSXElementConstructor<any>>, { context, ...additionalOptions }?: {
8
+ }) => ReactWrapper<P & WrappedComponentProps, S, C>;
9
+ export declare const shallowWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: ReactElement<P & WrappedComponentProps>, { context, ...additionalOptions }?: {
10
10
  context?: {} | undefined;
11
- }) => ShallowWrapper<P & WrappedComponentProps<"intl">, S, C>;
11
+ }) => ShallowWrapper<P & WrappedComponentProps, S, C>;
12
12
  export declare const mountWithIntlWrapper: (node: React.ReactElement) => ReactWrapper;
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/errorIcon.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/errorIcon.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/formatDate.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/formatDate.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/locales.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/locales.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/media-type-icon.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/media-type-icon.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/messages.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/messages.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/mime-type-icon.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/mime-type-icon.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/modalSpinner.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/modalSpinner.d.ts"
12
12
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "25.4.2",
3
+ "version": "25.4.4",
4
4
  "description": "Includes common components and utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,13 +29,13 @@
29
29
  "@atlaskit/icon": "^22.1.0",
30
30
  "@atlaskit/icon-file-type": "^6.4.0",
31
31
  "@atlaskit/locale": "^2.6.0",
32
- "@atlaskit/media-common": "^11.0.0",
32
+ "@atlaskit/media-common": "^11.1.0",
33
33
  "@atlaskit/platform-feature-flags": "^0.2.5",
34
- "@atlaskit/primitives": "^4.0.0",
35
- "@atlaskit/select": "^17.2.0",
34
+ "@atlaskit/primitives": "^5.1.0",
35
+ "@atlaskit/select": "^17.3.0",
36
36
  "@atlaskit/spinner": "^16.0.0",
37
37
  "@atlaskit/theme": "^12.6.0",
38
- "@atlaskit/tokens": "^1.39.0",
38
+ "@atlaskit/tokens": "^1.42.0",
39
39
  "@atlaskit/tooltip": "^18.1.0",
40
40
  "@atlaskit/width-detector": "^4.1.0",
41
41
  "@babel/runtime": "^7.0.0",
@@ -72,7 +72,7 @@
72
72
  "react": "^16.8.0",
73
73
  "react-dom": "^16.8.0",
74
74
  "react-intl-next": "npm:react-intl@^5.18.1",
75
- "typescript": "~4.9.5",
75
+ "typescript": "~5.4.2",
76
76
  "wait-for-expect": "^1.2.0"
77
77
  },
78
78
  "techstack": {
@@ -118,4 +118,4 @@
118
118
  "type": "boolean"
119
119
  }
120
120
  }
121
- }
121
+ }
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/truncateText.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/truncateText.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/types.d.ts"
12
12
  ]
package/util/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/util.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/util.d.ts"
12
12
  ]