@atlaskit/media-ui 27.3.2 → 27.4.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 +12 -0
- package/dist/cjs/MediaInlineCard/Frame/styled-compiled.compiled.css +4 -1
- package/dist/cjs/MediaInlineCard/Frame/styled-compiled.js +2 -3
- package/dist/cjs/MediaInlineCard/Icon-compiled.js +1 -1
- package/dist/cjs/MediaInlineCard/IconAndTitleLayout/styled-compiled.js +1 -1
- package/dist/cjs/MediaInlineCard/LoadingView/styled-compiled.js +1 -1
- package/dist/cjs/MediaInlineCard/styled-compiled.js +1 -1
- package/dist/cjs/customMediaPlayer/index-compiled.js +1 -1
- package/dist/cjs/customMediaPlayer/index.js +1 -1
- package/dist/cjs/customMediaPlayer/playPauseBlanket-compiled.js +1 -1
- package/dist/cjs/customMediaPlayer/styled-compiled.js +1 -1
- package/dist/cjs/ellipsify-compiled.js +1 -1
- package/dist/cjs/inactivityDetector/styled-compiled.js +1 -1
- package/dist/cjs/media-type-icon-compiled.compiled.css +5 -2
- package/dist/cjs/media-type-icon-compiled.js +26 -26
- package/dist/cjs/mime-type-icon.compiled.css +5 -2
- package/dist/cjs/mime-type-icon.js +2 -2
- package/dist/cjs/modalSpinner-compiled.js +1 -1
- package/dist/cjs/truncateText-compiled.js +1 -1
- package/dist/es2019/MediaInlineCard/Frame/styled-compiled.compiled.css +4 -1
- package/dist/es2019/MediaInlineCard/Frame/styled-compiled.js +2 -2
- package/dist/es2019/MediaInlineCard/Icon-compiled.js +1 -1
- package/dist/es2019/MediaInlineCard/IconAndTitleLayout/styled-compiled.js +1 -1
- package/dist/es2019/MediaInlineCard/LoadingView/styled-compiled.js +1 -1
- package/dist/es2019/MediaInlineCard/styled-compiled.js +1 -1
- package/dist/es2019/customMediaPlayer/index-compiled.js +1 -1
- package/dist/es2019/customMediaPlayer/index.js +1 -1
- package/dist/es2019/customMediaPlayer/playPauseBlanket-compiled.js +1 -1
- package/dist/es2019/customMediaPlayer/styled-compiled.js +1 -1
- package/dist/es2019/ellipsify-compiled.js +1 -1
- package/dist/es2019/inactivityDetector/styled-compiled.js +1 -1
- package/dist/es2019/media-type-icon-compiled.compiled.css +5 -2
- package/dist/es2019/media-type-icon-compiled.js +2 -2
- package/dist/es2019/mime-type-icon.compiled.css +5 -2
- package/dist/es2019/mime-type-icon.js +2 -2
- package/dist/es2019/modalSpinner-compiled.js +1 -1
- package/dist/es2019/truncateText-compiled.js +1 -1
- package/dist/esm/MediaInlineCard/Frame/styled-compiled.compiled.css +4 -1
- package/dist/esm/MediaInlineCard/Frame/styled-compiled.js +2 -3
- package/dist/esm/MediaInlineCard/Icon-compiled.js +1 -1
- package/dist/esm/MediaInlineCard/IconAndTitleLayout/styled-compiled.js +1 -1
- package/dist/esm/MediaInlineCard/LoadingView/styled-compiled.js +1 -1
- package/dist/esm/MediaInlineCard/styled-compiled.js +1 -1
- package/dist/esm/customMediaPlayer/index-compiled.js +1 -1
- package/dist/esm/customMediaPlayer/index.js +1 -1
- package/dist/esm/customMediaPlayer/playPauseBlanket-compiled.js +1 -1
- package/dist/esm/customMediaPlayer/styled-compiled.js +1 -1
- package/dist/esm/ellipsify-compiled.js +1 -1
- package/dist/esm/inactivityDetector/styled-compiled.js +1 -1
- package/dist/esm/media-type-icon-compiled.compiled.css +5 -2
- package/dist/esm/media-type-icon-compiled.js +2 -2
- package/dist/esm/mime-type-icon.compiled.css +5 -2
- package/dist/esm/mime-type-icon.js +2 -2
- package/dist/esm/modalSpinner-compiled.js +1 -1
- package/dist/esm/truncateText-compiled.js +1 -1
- package/dist/types/MediaInlineCard/Frame/styled.d.ts +1 -1
- package/dist/types/MediaInlineCard/LoadingView/styled-emotion.d.ts +0 -2
- package/dist/types/customMediaPlayer/styled-compiled.d.ts +4 -4
- package/dist/types/customMediaPlayer/styled.d.ts +2 -2
- package/dist/types/inactivityDetector/styled-compiled.d.ts +1 -1
- package/dist/types/inactivityDetector/styled.d.ts +1 -1
- package/dist/types/mediaImage/index.d.ts +1 -1
- package/dist/types-ts4.5/MediaInlineCard/Frame/styled.d.ts +1 -1
- package/dist/types-ts4.5/MediaInlineCard/LoadingView/styled-emotion.d.ts +0 -2
- package/dist/types-ts4.5/customMediaPlayer/styled-compiled.d.ts +4 -4
- package/dist/types-ts4.5/customMediaPlayer/styled.d.ts +2 -2
- package/dist/types-ts4.5/inactivityDetector/styled-compiled.d.ts +1 -1
- package/dist/types-ts4.5/inactivityDetector/styled.d.ts +1 -1
- package/dist/types-ts4.5/mediaImage/index.d.ts +1 -1
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 27.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 27.3.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
._1yt4ood9{padding:var(--_6un1n5)}
|
|
3
2
|
._2rko1sit{border-radius:var(--ds-border-radius,3px)}
|
|
4
3
|
._v56415x0{transition:all .1s ease-in-out}
|
|
5
4
|
._1h6d1j28{border-color:transparent}._12ji1r31{outline-color:currentColor}
|
|
6
5
|
._12y31o36{outline-width:medium}
|
|
7
6
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
8
7
|
._16qs1qst{box-shadow:var(--_7nesqg)}
|
|
8
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
9
9
|
._1e0c1nu9{display:inline}
|
|
10
10
|
._1hmsglyw, ._c2waglyw:active, ._4fprglyw:focus, ._1bnxglyw:hover{text-decoration-line:none}
|
|
11
11
|
._1qu2glyw{outline-style:none}
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
._80omtlke{cursor:pointer}
|
|
15
15
|
._ajmmnqa1, ._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover{text-decoration-style:solid}
|
|
16
16
|
._bfhkfpvg{background-color:var(--_9tzd1j)}
|
|
17
|
+
._ca0qv77o{padding-top:var(--ds-space-025,2px)}
|
|
18
|
+
._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
|
|
17
19
|
._syazovqm{color:var(--_5xk3r4)}
|
|
20
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
18
21
|
._uizt1kdv{-webkit-user-select:text;-ms-user-select:text;user-select:text}
|
|
19
22
|
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
20
23
|
._vwz47vkz{line-height:1pc}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -39,9 +39,8 @@ var Wrapper = exports.Wrapper = function Wrapper(_ref) {
|
|
|
39
39
|
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
40
40
|
"data-testid": "frame-wrapper"
|
|
41
41
|
}, props, {
|
|
42
|
-
className: (0, _runtime.ax)(["
|
|
42
|
+
className: (0, _runtime.ax)(["_2rko1sit _v56415x0 _vwz47vkz _ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66 _16d9qvcn _1e0c1nu9 _syazovqm _bfhkfpvg _1rkwglyw _80omtlke _irr3l5fl", isSelected && "_12ji1r31 _1qu2glyw _12y31o36 _1h6d1j28 _80omtlke _16qs1qst _uiztglyw _4bfu18uv _1nrm18uv _1a3b18uv _9oik18uv _1hmsglyw _c2waglyw _4fprglyw _1bnxglyw _ajmmnqa1 _1iohnqa1 _5goinqa1 _jf4cnqa1", !isSelected && "_uizt1kdv"]),
|
|
43
43
|
style: {
|
|
44
|
-
"--_6un1n5": (0, _runtime.ix)("var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)", " ", "var(--ds-space-025, 2px)", " ", "var(--ds-space-050, 4px)")),
|
|
45
44
|
"--_5xk3r4": (0, _runtime.ix)("var(--ds-text, ".concat(_colors.N900, ")")),
|
|
46
45
|
"--_9tzd1j": (0, _runtime.ix)("var(--ds-background-neutral, ".concat(_colors.N30A, ")")),
|
|
47
46
|
"--_138ec4y": (0, _runtime.ix)("var(--ds-background-neutral-hovered, ".concat(_colors.N40A, ")")),
|
|
@@ -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.
|
|
19
|
+
var packageVersion = "27.4.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)({
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
2
|
+
._1e0c116y{display:inline-flex}
|
|
3
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
4
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
5
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -15,40 +15,40 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
15
15
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
16
16
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
17
17
|
var _react = _interopRequireDefault(require("react"));
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
18
|
+
var _6 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/image/24"));
|
|
19
|
+
var _7 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/audio/24"));
|
|
20
|
+
var _8 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/video/24"));
|
|
21
|
+
var _9 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/document/24"));
|
|
22
|
+
var _10 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/archive/24"));
|
|
23
|
+
var _11 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/generic/24"));
|
|
24
|
+
var _12 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/image/16"));
|
|
25
|
+
var _13 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/audio/16"));
|
|
26
|
+
var _14 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/video/16"));
|
|
27
|
+
var _15 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/document/16"));
|
|
28
|
+
var _16 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/archive/16"));
|
|
29
|
+
var _17 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/generic/16"));
|
|
30
30
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
31
31
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
32
32
|
var iconStyleMap = {
|
|
33
33
|
small: "",
|
|
34
|
-
large: "
|
|
34
|
+
large: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
35
35
|
};
|
|
36
36
|
var iconStyles = null;
|
|
37
37
|
var largeIcons = {
|
|
38
|
-
image:
|
|
39
|
-
audio:
|
|
40
|
-
video:
|
|
41
|
-
doc:
|
|
42
|
-
archive:
|
|
43
|
-
unknown:
|
|
38
|
+
image: _6.default,
|
|
39
|
+
audio: _7.default,
|
|
40
|
+
video: _8.default,
|
|
41
|
+
doc: _9.default,
|
|
42
|
+
archive: _10.default,
|
|
43
|
+
unknown: _11.default
|
|
44
44
|
};
|
|
45
45
|
var smallIcons = {
|
|
46
|
-
image:
|
|
47
|
-
audio:
|
|
48
|
-
video:
|
|
49
|
-
doc:
|
|
50
|
-
archive:
|
|
51
|
-
unknown:
|
|
46
|
+
image: _12.default,
|
|
47
|
+
audio: _13.default,
|
|
48
|
+
video: _14.default,
|
|
49
|
+
doc: _15.default,
|
|
50
|
+
archive: _16.default,
|
|
51
|
+
unknown: _17.default
|
|
52
52
|
};
|
|
53
53
|
var defaultType = 'unknown';
|
|
54
54
|
var MediaTypeIcon = exports.MediaTypeIcon = /*#__PURE__*/function (_React$Component) {
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
2
|
+
._1e0c116y{display:inline-flex}
|
|
3
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
4
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
5
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* mime-type-icon.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* mime-type-icon.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
17
|
var iconWrapperStyleMap = {
|
|
18
18
|
small: "",
|
|
19
|
-
large: "
|
|
19
|
+
large: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
20
20
|
};
|
|
21
21
|
var iconWrapperStyles = null;
|
|
22
22
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
._1yt4zu6o{padding:var(--ds-space-025,2px) var(--ds-space-050,4px) var(--ds-space-025,2px) var(--ds-space-050,4px)}
|
|
3
2
|
._2rko1sit{border-radius:var(--ds-border-radius,3px)}
|
|
4
3
|
._v56415x0{transition:all .1s ease-in-out}
|
|
5
4
|
._1h6d1j28{border-color:transparent}._12ji1r31{outline-color:currentColor}
|
|
6
5
|
._12y31o36{outline-width:medium}
|
|
7
6
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
8
7
|
._16qs1s9b{box-shadow:0 0 0 1px var(--ds-border-selected,#0065ff)}
|
|
8
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
9
9
|
._1e0c1nu9{display:inline}
|
|
10
10
|
._1hmsglyw, ._c2waglyw:active, ._4fprglyw:focus, ._1bnxglyw:hover{text-decoration-line:none}
|
|
11
11
|
._1qu2glyw{outline-style:none}
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
._80omtlke{cursor:pointer}
|
|
15
15
|
._ajmmnqa1, ._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover{text-decoration-style:solid}
|
|
16
16
|
._bfhkq7nr{background-color:var(--ds-background-neutral,rgba(9,30,66,.08))}
|
|
17
|
+
._ca0qv77o{padding-top:var(--ds-space-025,2px)}
|
|
18
|
+
._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
|
|
17
19
|
._syazj3m3{color:var(--ds-text,#091e42)}
|
|
20
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
18
21
|
._uizt1kdv{-webkit-user-select:text;-ms-user-select:text;user-select:text}
|
|
19
22
|
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
20
23
|
._vwz47vkz{line-height:1pc}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./styled-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -27,5 +27,5 @@ export const Wrapper = ({
|
|
|
27
27
|
}) => /*#__PURE__*/React.createElement("span", _extends({
|
|
28
28
|
"data-testid": "frame-wrapper"
|
|
29
29
|
}, props, {
|
|
30
|
-
className: ax(["
|
|
30
|
+
className: ax(["_2rko1sit _v56415x0 _vwz47vkz _ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66 _16d9qvcn _1e0c1nu9 _syazj3m3 _bfhkq7nr _1rkwglyw _80omtlke _irr3hv1p", isSelected && "_12ji1r31 _1qu2glyw _12y31o36 _1h6d1j28 _80omtlke _16qs1s9b _uiztglyw _4bfu18uv _1nrm18uv _1a3b18uv _9oik18uv _1hmsglyw _c2waglyw _4fprglyw _1bnxglyw _ajmmnqa1 _1iohnqa1 _5goinqa1 _jf4cnqa1", !isSelected && "_uizt1kdv"])
|
|
31
31
|
}), children);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./styled-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./styled-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./styled-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./index-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -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.
|
|
10
|
+
const packageVersion = "27.4.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({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./playPauseBlanket-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./styled-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./ellipsify-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./styled-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
2
|
+
._1e0c116y{display:inline-flex}
|
|
3
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
4
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
5
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./media-type-icon-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -17,7 +17,7 @@ import ArchiveIconSmall from '@atlaskit/icon-file-type/glyph/archive/16';
|
|
|
17
17
|
import GenericIconSmall from '@atlaskit/icon-file-type/glyph/generic/16';
|
|
18
18
|
const iconStyleMap = {
|
|
19
19
|
small: "",
|
|
20
|
-
large: "
|
|
20
|
+
large: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
21
21
|
};
|
|
22
22
|
const iconStyles = null;
|
|
23
23
|
const largeIcons = {
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
2
|
+
._1e0c116y{display:inline-flex}
|
|
3
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
4
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
5
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* mime-type-icon.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* mime-type-icon.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./mime-type-icon.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -7,7 +7,7 @@ import { IconWrapper, MediaTypeIcon } from './media-type-icon';
|
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
const iconWrapperStyleMap = {
|
|
9
9
|
small: "",
|
|
10
|
-
large: "
|
|
10
|
+
large: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
11
11
|
};
|
|
12
12
|
const iconWrapperStyles = null;
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./modalSpinner-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./truncateText-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
._1yt4ood9{padding:var(--_6un1n5)}
|
|
3
2
|
._2rko1sit{border-radius:var(--ds-border-radius,3px)}
|
|
4
3
|
._v56415x0{transition:all .1s ease-in-out}
|
|
5
4
|
._1h6d1j28{border-color:transparent}._12ji1r31{outline-color:currentColor}
|
|
6
5
|
._12y31o36{outline-width:medium}
|
|
7
6
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
8
7
|
._16qs1qst{box-shadow:var(--_7nesqg)}
|
|
8
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
9
9
|
._1e0c1nu9{display:inline}
|
|
10
10
|
._1hmsglyw, ._c2waglyw:active, ._4fprglyw:focus, ._1bnxglyw:hover{text-decoration-line:none}
|
|
11
11
|
._1qu2glyw{outline-style:none}
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
._80omtlke{cursor:pointer}
|
|
15
15
|
._ajmmnqa1, ._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover{text-decoration-style:solid}
|
|
16
16
|
._bfhkfpvg{background-color:var(--_9tzd1j)}
|
|
17
|
+
._ca0qv77o{padding-top:var(--ds-space-025,2px)}
|
|
18
|
+
._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
|
|
17
19
|
._syazovqm{color:var(--_5xk3r4)}
|
|
20
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
18
21
|
._uizt1kdv{-webkit-user-select:text;-ms-user-select:text;user-select:text}
|
|
19
22
|
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
20
23
|
._vwz47vkz{line-height:1pc}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["isSelected", "children"];
|
|
@@ -29,9 +29,8 @@ export var Wrapper = function Wrapper(_ref) {
|
|
|
29
29
|
return /*#__PURE__*/React.createElement("span", _extends({
|
|
30
30
|
"data-testid": "frame-wrapper"
|
|
31
31
|
}, props, {
|
|
32
|
-
className: ax(["
|
|
32
|
+
className: ax(["_2rko1sit _v56415x0 _vwz47vkz _ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66 _16d9qvcn _1e0c1nu9 _syazovqm _bfhkfpvg _1rkwglyw _80omtlke _irr3l5fl", isSelected && "_12ji1r31 _1qu2glyw _12y31o36 _1h6d1j28 _80omtlke _16qs1qst _uiztglyw _4bfu18uv _1nrm18uv _1a3b18uv _9oik18uv _1hmsglyw _c2waglyw _4fprglyw _1bnxglyw _ajmmnqa1 _1iohnqa1 _5goinqa1 _jf4cnqa1", !isSelected && "_uizt1kdv"]),
|
|
33
33
|
style: {
|
|
34
|
-
"--_6un1n5": ix("var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)", " ", "var(--ds-space-025, 2px)", " ", "var(--ds-space-050, 4px)")),
|
|
35
34
|
"--_5xk3r4": ix("var(--ds-text, ".concat(N900, ")")),
|
|
36
35
|
"--_9tzd1j": ix("var(--ds-background-neutral, ".concat(N30A, ")")),
|
|
37
36
|
"--_138ec4y": ix("var(--ds-background-neutral-hovered, ".concat(N40A, ")")),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Icon-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Icon-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["alt"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -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.
|
|
12
|
+
var packageVersion = "27.4.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({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["showSlider", "children"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./ellipsify-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["controlsAreVisible", "children"];
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
2
|
+
._1e0c116y{display:inline-flex}
|
|
3
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
4
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
5
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -24,7 +24,7 @@ import ArchiveIconSmall from '@atlaskit/icon-file-type/glyph/archive/16';
|
|
|
24
24
|
import GenericIconSmall from '@atlaskit/icon-file-type/glyph/generic/16';
|
|
25
25
|
var iconStyleMap = {
|
|
26
26
|
small: "",
|
|
27
|
-
large: "
|
|
27
|
+
large: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
28
28
|
};
|
|
29
29
|
var iconStyles = null;
|
|
30
30
|
var largeIcons = {
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
2
|
+
._1e0c116y{display:inline-flex}
|
|
3
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
4
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
5
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* mime-type-icon.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* mime-type-icon.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./mime-type-icon.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -7,7 +7,7 @@ import { IconWrapper, MediaTypeIcon } from './media-type-icon';
|
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
var iconWrapperStyleMap = {
|
|
9
9
|
small: "",
|
|
10
|
-
large: "
|
|
10
|
+
large: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
11
11
|
};
|
|
12
12
|
var iconWrapperStyles = null;
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./modalSpinner-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["fontSizePX", "startFixedChars", "endFixedChars", "children"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WrapperProps } from './styled-compiled';
|
|
3
|
-
export declare const Wrapper: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const Wrapper: React.ForwardRefExoticComponent<Omit<WrapperProps & React.ClassAttributes<HTMLSpanElement> & React.HTMLAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
4
|
export type { WrapperProps } from './styled-compiled';
|
|
@@ -3,7 +3,5 @@ export declare const SpinnerWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
as?: import("react").ElementType<any> | undefined;
|
|
5
5
|
} & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
6
|
-
children?: import("react").ReactNode;
|
|
7
|
-
} & {
|
|
8
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
7
|
}, {}, {}>;
|
|
@@ -11,17 +11,17 @@ export type VolumeWrapperProps = {
|
|
|
11
11
|
};
|
|
12
12
|
export declare const VolumeWrapper: ({ showSlider, children, ...props }: VolumeWrapperProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
13
13
|
export declare const CurrentTime: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
14
|
-
export declare const TimeLine: React.ForwardRefExoticComponent<
|
|
14
|
+
export declare const TimeLine: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
15
15
|
export declare const CurrentTimeLine: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
16
16
|
export declare const Thumb: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
17
|
-
export declare const CurrentTimeLineThumb: React.ForwardRefExoticComponent<
|
|
17
|
+
export declare const CurrentTimeLineThumb: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
18
18
|
export declare const BufferedTime: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
19
19
|
export declare const LeftControls: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
20
20
|
export declare const RightControls: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
21
21
|
type ControlsWrapperProps = {
|
|
22
22
|
controlsHidden: boolean;
|
|
23
23
|
};
|
|
24
|
-
export declare const ControlsWrapper: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const ControlsWrapper: React.ForwardRefExoticComponent<Omit<ControlsWrapperProps & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
25
25
|
export declare const VolumeToggleWrapper: ({ isMuted, children, ...props }: MutedIndicatorProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
26
26
|
export declare const VolumeTimeRangeWrapper: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
27
27
|
export declare const MutedIndicator: ({ isMuted, children, ...props }: MutedIndicatorProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
@@ -31,5 +31,5 @@ interface CurrentTimeTooltipProps {
|
|
|
31
31
|
timeLineThumbIsFocus: boolean;
|
|
32
32
|
}
|
|
33
33
|
export declare const CurrentTimeTooltip: ({ isDragging, timeLineThumbIsHover, timeLineThumbIsFocus, children, ...props }: CurrentTimeTooltipProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
34
|
-
export declare const TimeRangeWrapper: React.ForwardRefExoticComponent<
|
|
34
|
+
export declare const TimeRangeWrapper: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
35
35
|
export {};
|
|
@@ -2,10 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import { type VolumeWrapperProps, type MutedIndicatorProps } from './styled-compiled';
|
|
3
3
|
export declare const VolumeWrapper: (props: VolumeWrapperProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
4
4
|
export declare const CurrentTime: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
5
|
-
export declare const TimeLine: React.ForwardRefExoticComponent<
|
|
5
|
+
export declare const TimeLine: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
6
6
|
export declare const CurrentTimeLine: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
7
7
|
export declare const Thumb: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
8
|
-
export declare const CurrentTimeLineThumb: React.ForwardRefExoticComponent<
|
|
8
|
+
export declare const CurrentTimeLineThumb: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
9
9
|
export declare const BufferedTime: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
10
10
|
export declare const LeftControls: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
11
11
|
export declare const RightControls: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
export interface ContentWrapperProps {
|
|
3
3
|
controlsAreVisible: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare const InactivityDetectorWrapper: import("react").ForwardRefExoticComponent<
|
|
5
|
+
export declare const InactivityDetectorWrapper: import("react").ForwardRefExoticComponent<Omit<ContentWrapperProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<unknown>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type ContentWrapperProps } from './styled-compiled';
|
|
3
|
-
export declare const InactivityDetectorWrapper: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const InactivityDetectorWrapper: React.ForwardRefExoticComponent<Omit<ContentWrapperProps & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
4
4
|
export type { ContentWrapperProps } from './styled-compiled';
|
|
@@ -19,4 +19,4 @@ export interface MediaImageState {
|
|
|
19
19
|
parentWidth: number;
|
|
20
20
|
parentHeight: number;
|
|
21
21
|
}
|
|
22
|
-
export declare const MediaImage: React.ForwardRefExoticComponent<
|
|
22
|
+
export declare const MediaImage: React.ForwardRefExoticComponent<Omit<MediaImageProps, "ref"> & React.RefAttributes<HTMLDivElement | HTMLImageElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WrapperProps } from './styled-compiled';
|
|
3
|
-
export declare const Wrapper: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const Wrapper: React.ForwardRefExoticComponent<Omit<WrapperProps & React.ClassAttributes<HTMLSpanElement> & React.HTMLAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
4
|
export type { WrapperProps } from './styled-compiled';
|
|
@@ -3,7 +3,5 @@ export declare const SpinnerWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
as?: import("react").ElementType<any> | undefined;
|
|
5
5
|
} & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
6
|
-
children?: import("react").ReactNode;
|
|
7
|
-
} & {
|
|
8
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
7
|
}, {}, {}>;
|
|
@@ -11,17 +11,17 @@ export type VolumeWrapperProps = {
|
|
|
11
11
|
};
|
|
12
12
|
export declare const VolumeWrapper: ({ showSlider, children, ...props }: VolumeWrapperProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
13
13
|
export declare const CurrentTime: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
14
|
-
export declare const TimeLine: React.ForwardRefExoticComponent<
|
|
14
|
+
export declare const TimeLine: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
15
15
|
export declare const CurrentTimeLine: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
16
16
|
export declare const Thumb: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
17
|
-
export declare const CurrentTimeLineThumb: React.ForwardRefExoticComponent<
|
|
17
|
+
export declare const CurrentTimeLineThumb: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
18
18
|
export declare const BufferedTime: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
19
19
|
export declare const LeftControls: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
20
20
|
export declare const RightControls: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
21
21
|
type ControlsWrapperProps = {
|
|
22
22
|
controlsHidden: boolean;
|
|
23
23
|
};
|
|
24
|
-
export declare const ControlsWrapper: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const ControlsWrapper: React.ForwardRefExoticComponent<Omit<ControlsWrapperProps & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
25
25
|
export declare const VolumeToggleWrapper: ({ isMuted, children, ...props }: MutedIndicatorProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
26
26
|
export declare const VolumeTimeRangeWrapper: ({ children, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
27
27
|
export declare const MutedIndicator: ({ isMuted, children, ...props }: MutedIndicatorProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
@@ -31,5 +31,5 @@ interface CurrentTimeTooltipProps {
|
|
|
31
31
|
timeLineThumbIsFocus: boolean;
|
|
32
32
|
}
|
|
33
33
|
export declare const CurrentTimeTooltip: ({ isDragging, timeLineThumbIsHover, timeLineThumbIsFocus, children, ...props }: CurrentTimeTooltipProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
34
|
-
export declare const TimeRangeWrapper: React.ForwardRefExoticComponent<
|
|
34
|
+
export declare const TimeRangeWrapper: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
35
35
|
export {};
|
|
@@ -2,10 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import { type VolumeWrapperProps, type MutedIndicatorProps } from './styled-compiled';
|
|
3
3
|
export declare const VolumeWrapper: (props: VolumeWrapperProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
4
4
|
export declare const CurrentTime: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
5
|
-
export declare const TimeLine: React.ForwardRefExoticComponent<
|
|
5
|
+
export declare const TimeLine: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
6
6
|
export declare const CurrentTimeLine: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
7
7
|
export declare const Thumb: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
8
|
-
export declare const CurrentTimeLineThumb: React.ForwardRefExoticComponent<
|
|
8
|
+
export declare const CurrentTimeLineThumb: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
9
9
|
export declare const BufferedTime: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
10
10
|
export declare const LeftControls: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
11
11
|
export declare const RightControls: (props: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
export interface ContentWrapperProps {
|
|
3
3
|
controlsAreVisible: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare const InactivityDetectorWrapper: import("react").ForwardRefExoticComponent<
|
|
5
|
+
export declare const InactivityDetectorWrapper: import("react").ForwardRefExoticComponent<Omit<ContentWrapperProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<unknown>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type ContentWrapperProps } from './styled-compiled';
|
|
3
|
-
export declare const InactivityDetectorWrapper: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const InactivityDetectorWrapper: React.ForwardRefExoticComponent<Omit<ContentWrapperProps & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
4
4
|
export type { ContentWrapperProps } from './styled-compiled';
|
|
@@ -19,4 +19,4 @@ export interface MediaImageState {
|
|
|
19
19
|
parentWidth: number;
|
|
20
20
|
parentHeight: number;
|
|
21
21
|
}
|
|
22
|
-
export declare const MediaImage: React.ForwardRefExoticComponent<
|
|
22
|
+
export declare const MediaImage: React.ForwardRefExoticComponent<Omit<MediaImageProps, "ref"> & React.RefAttributes<HTMLDivElement | HTMLImageElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-ui",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.4.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,25 +24,25 @@
|
|
|
24
24
|
"runReact18": true
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/analytics-next": "^10.
|
|
28
|
-
"@atlaskit/button": "^20.
|
|
29
|
-
"@atlaskit/code": "^15.
|
|
30
|
-
"@atlaskit/css": "^0.
|
|
31
|
-
"@atlaskit/icon": "^23.
|
|
32
|
-
"@atlaskit/icon-file-type": "^6.
|
|
33
|
-
"@atlaskit/legacy-custom-icons": "^0.
|
|
27
|
+
"@atlaskit/analytics-next": "^10.3.0",
|
|
28
|
+
"@atlaskit/button": "^20.4.0",
|
|
29
|
+
"@atlaskit/code": "^15.7.0",
|
|
30
|
+
"@atlaskit/css": "^0.8.0",
|
|
31
|
+
"@atlaskit/icon": "^23.5.0",
|
|
32
|
+
"@atlaskit/icon-file-type": "^6.9.0",
|
|
33
|
+
"@atlaskit/legacy-custom-icons": "^0.21.0",
|
|
34
34
|
"@atlaskit/locale": "^2.8.0",
|
|
35
|
-
"@atlaskit/media-common": "^11.
|
|
36
|
-
"@atlaskit/modal-dialog": "^12.
|
|
35
|
+
"@atlaskit/media-common": "^11.8.0",
|
|
36
|
+
"@atlaskit/modal-dialog": "^12.20.0",
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
38
|
-
"@atlaskit/primitives": "^13.
|
|
39
|
-
"@atlaskit/range": "^8.
|
|
40
|
-
"@atlaskit/select": "^18.
|
|
41
|
-
"@atlaskit/spinner": "^17.
|
|
42
|
-
"@atlaskit/theme": "^14.
|
|
43
|
-
"@atlaskit/tokens": "^3.
|
|
44
|
-
"@atlaskit/tooltip": "^19.
|
|
45
|
-
"@atlaskit/width-detector": "^4.
|
|
38
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
39
|
+
"@atlaskit/range": "^8.1.0",
|
|
40
|
+
"@atlaskit/select": "^18.10.0",
|
|
41
|
+
"@atlaskit/spinner": "^17.1.0",
|
|
42
|
+
"@atlaskit/theme": "^14.1.0",
|
|
43
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
44
|
+
"@atlaskit/tooltip": "^19.1.0",
|
|
45
|
+
"@atlaskit/width-detector": "^4.4.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@compiled/react": "^0.18.1",
|
|
48
48
|
"@emotion/styled": "^11.0.0",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@af/visual-regression": "*",
|
|
64
|
-
"@atlaskit/analytics-listeners": "^8.
|
|
64
|
+
"@atlaskit/analytics-listeners": "^8.14.0",
|
|
65
65
|
"@atlaskit/ssr": "*",
|
|
66
66
|
"@atlaskit/visual-regression": "*",
|
|
67
67
|
"@atlassian/feature-flags-test-utils": "*",
|
|
68
68
|
"@testing-library/jest-dom": "^6.4.5",
|
|
69
|
-
"@testing-library/react": "^
|
|
69
|
+
"@testing-library/react": "^13.4.0",
|
|
70
70
|
"@types/blueimp-load-image": "^5.16.3",
|
|
71
71
|
"@types/bytes": "^2.4.33",
|
|
72
72
|
"@types/enzyme": "3.1.15",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"enzyme-adapter-react-16": "^1.15.1",
|
|
77
77
|
"jest-emotion": "^10.0.32",
|
|
78
78
|
"jsverify": "^0.8.3",
|
|
79
|
-
"react": "^
|
|
80
|
-
"react-dom": "^
|
|
79
|
+
"react": "^18.2.0",
|
|
80
|
+
"react-dom": "^18.2.0",
|
|
81
81
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
82
82
|
"typescript": "~5.4.2",
|
|
83
83
|
"wait-for-expect": "^1.2.0"
|