@atlaskit/media-ui 23.0.0 → 23.0.2
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 +13 -0
- package/dist/cjs/customMediaPlayer/index.js +1 -1
- package/dist/cjs/media-type-icon.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/customMediaPlayer/index.js +1 -1
- package/dist/es2019/media-type-icon.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/customMediaPlayer/index.js +1 -1
- package/dist/esm/media-type-icon.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/media-type-icon.d.ts +1 -1
- package/dist/types-ts4.5/media-type-icon.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 23.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1f14ade848b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f14ade848b) - [MEX-2401] Duplicated title when copy-paste of media inline
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 23.0.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
15
|
+
|
|
3
16
|
## 23.0.0
|
|
4
17
|
|
|
5
18
|
### Major Changes
|
|
@@ -51,7 +51,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
51
51
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /* 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
|
|
52
52
|
// support the hybrid theming in media viewer https://product-fabric.atlassian.net/browse/DSP-6067
|
|
53
53
|
var packageName = "@atlaskit/media-ui";
|
|
54
|
-
var packageVersion = "23.0.
|
|
54
|
+
var packageVersion = "23.0.2";
|
|
55
55
|
var MEDIUM_VIDEO_MAX_WIDTH = 400;
|
|
56
56
|
var SMALL_VIDEO_MAX_WIDTH = 160;
|
|
57
57
|
var MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
|
|
@@ -29,7 +29,7 @@ var _12 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/generic
|
|
|
29
29
|
var _templateObject;
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
31
31
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
32
|
-
var IconWrapper = _styled.default.
|
|
32
|
+
var IconWrapper = _styled.default.span(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n ", "\n"])), function (_ref) {
|
|
33
33
|
var size = _ref.size;
|
|
34
34
|
return size === 'large' ? "padding: 4px;" : '';
|
|
35
35
|
});
|
package/dist/cjs/version.json
CHANGED
|
@@ -34,7 +34,7 @@ import Tooltip from '@atlaskit/tooltip';
|
|
|
34
34
|
import { SkipTenBackwardIcon, SkipTenForwardIcon } from './icons';
|
|
35
35
|
import { getControlsWrapperClassName } from './getControlsWrapperClassName';
|
|
36
36
|
const packageName = "@atlaskit/media-ui";
|
|
37
|
-
const packageVersion = "23.0.
|
|
37
|
+
const packageVersion = "23.0.2";
|
|
38
38
|
const MEDIUM_VIDEO_MAX_WIDTH = 400;
|
|
39
39
|
const SMALL_VIDEO_MAX_WIDTH = 160;
|
|
40
40
|
const MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
|
|
@@ -13,7 +13,7 @@ import VideoIconSmall from '@atlaskit/icon-file-type/glyph/video/16';
|
|
|
13
13
|
import DocIconSmall from '@atlaskit/icon-file-type/glyph/document/16';
|
|
14
14
|
import ArchiveIconSmall from '@atlaskit/icon-file-type/glyph/archive/16';
|
|
15
15
|
import GenericIconSmall from '@atlaskit/icon-file-type/glyph/generic/16';
|
|
16
|
-
export const IconWrapper = styled.
|
|
16
|
+
export const IconWrapper = styled.span`
|
|
17
17
|
display: inline-flex;
|
|
18
18
|
${({
|
|
19
19
|
size
|
package/dist/es2019/version.json
CHANGED
|
@@ -44,7 +44,7 @@ import Tooltip from '@atlaskit/tooltip';
|
|
|
44
44
|
import { SkipTenBackwardIcon, SkipTenForwardIcon } from './icons';
|
|
45
45
|
import { getControlsWrapperClassName } from './getControlsWrapperClassName';
|
|
46
46
|
var packageName = "@atlaskit/media-ui";
|
|
47
|
-
var packageVersion = "23.0.
|
|
47
|
+
var packageVersion = "23.0.2";
|
|
48
48
|
var MEDIUM_VIDEO_MAX_WIDTH = 400;
|
|
49
49
|
var SMALL_VIDEO_MAX_WIDTH = 160;
|
|
50
50
|
var MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
|
|
@@ -22,7 +22,7 @@ import VideoIconSmall from '@atlaskit/icon-file-type/glyph/video/16';
|
|
|
22
22
|
import DocIconSmall from '@atlaskit/icon-file-type/glyph/document/16';
|
|
23
23
|
import ArchiveIconSmall from '@atlaskit/icon-file-type/glyph/archive/16';
|
|
24
24
|
import GenericIconSmall from '@atlaskit/icon-file-type/glyph/generic/16';
|
|
25
|
-
export var IconWrapper = styled.
|
|
25
|
+
export var IconWrapper = styled.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n ", "\n"])), function (_ref) {
|
|
26
26
|
var size = _ref.size;
|
|
27
27
|
return size === 'large' ? "padding: 4px;" : '';
|
|
28
28
|
});
|
package/dist/esm/version.json
CHANGED
|
@@ -14,7 +14,7 @@ export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
14
14
|
as?: React.ElementType<any> | undefined;
|
|
15
15
|
} & {
|
|
16
16
|
size: Required<FileIconProps['size']>;
|
|
17
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<
|
|
17
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
18
18
|
export declare class MediaTypeIcon extends React.Component<FileIconProps, {}> {
|
|
19
19
|
static defaultProps: FileIconProps;
|
|
20
20
|
render(): JSX.Element;
|
|
@@ -14,7 +14,7 @@ export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
14
14
|
as?: React.ElementType<any> | undefined;
|
|
15
15
|
} & {
|
|
16
16
|
size: Required<FileIconProps['size']>;
|
|
17
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<
|
|
17
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
18
18
|
export declare class MediaTypeIcon extends React.Component<FileIconProps, {}> {
|
|
19
19
|
static defaultProps: FileIconProps;
|
|
20
20
|
render(): JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-ui",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.2",
|
|
4
4
|
"description": "Includes common components and utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@atlaskit/icon": "^21.12.0",
|
|
54
54
|
"@atlaskit/icon-file-type": "^6.4.0",
|
|
55
55
|
"@atlaskit/locale": "^2.5.0",
|
|
56
|
-
"@atlaskit/media-common": "^
|
|
57
|
-
"@atlaskit/select": "^16.
|
|
56
|
+
"@atlaskit/media-common": "^5.0.0",
|
|
57
|
+
"@atlaskit/select": "^16.3.0",
|
|
58
58
|
"@atlaskit/spinner": "^15.5.0",
|
|
59
59
|
"@atlaskit/theme": "^12.5.0",
|
|
60
60
|
"@atlaskit/tokens": "^1.4.0",
|