@atlaskit/media-viewer 52.4.21 → 52.4.22
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 +6 -0
- package/dist/cjs/styleWrappers-compiled.compiled.css +3 -2
- package/dist/cjs/styleWrappers-compiled.js +2 -5
- package/dist/cjs/viewers/archiveSidebar/custom-button-item.js +1 -1
- package/dist/cjs/viewers/archiveSidebar/styleWrappers-compiled.js +1 -1
- package/dist/cjs/viewers/codeViewer/CodeRendererAdvanced/CodeRendererAdvanced.js +1 -1
- package/dist/cjs/viewers/codeViewer/codeViewerRenderer-compiled.js +1 -1
- package/dist/cjs/viewers/doc/pdfPasswordInput-compiled.js +1 -1
- package/dist/cjs/viewers/doc/pdfRendererWrapper-compiled.compiled.css +26 -13
- package/dist/cjs/viewers/doc/pdfRendererWrapper-compiled.js +1 -1
- package/dist/cjs/viewers/doc-next/doc-viewer.js +1 -1
- package/dist/cjs/viewers/doc-next/passwordInput.js +1 -1
- package/dist/cjs/viewers/svg/ImageWrapper-compiled.js +1 -1
- package/dist/es2019/styleWrappers-compiled.compiled.css +2 -1
- package/dist/es2019/styleWrappers-compiled.js +1 -1
- package/dist/es2019/viewers/archiveSidebar/custom-button-item.js +1 -1
- package/dist/es2019/viewers/archiveSidebar/styleWrappers-compiled.js +1 -1
- package/dist/es2019/viewers/codeViewer/CodeRendererAdvanced/CodeRendererAdvanced.js +1 -1
- package/dist/es2019/viewers/codeViewer/codeViewerRenderer-compiled.js +1 -1
- package/dist/es2019/viewers/doc/pdfPasswordInput-compiled.js +1 -1
- package/dist/es2019/viewers/doc/pdfRendererWrapper-compiled.compiled.css +26 -13
- package/dist/es2019/viewers/doc/pdfRendererWrapper-compiled.js +1 -1
- package/dist/es2019/viewers/doc-next/doc-viewer.js +1 -1
- package/dist/es2019/viewers/doc-next/passwordInput.js +1 -1
- package/dist/es2019/viewers/svg/ImageWrapper-compiled.js +1 -1
- package/dist/esm/styleWrappers-compiled.compiled.css +3 -2
- package/dist/esm/styleWrappers-compiled.js +2 -5
- package/dist/esm/viewers/archiveSidebar/custom-button-item.js +1 -1
- package/dist/esm/viewers/archiveSidebar/styleWrappers-compiled.js +1 -1
- package/dist/esm/viewers/codeViewer/CodeRendererAdvanced/CodeRendererAdvanced.js +1 -1
- package/dist/esm/viewers/codeViewer/codeViewerRenderer-compiled.js +1 -1
- package/dist/esm/viewers/doc/pdfPasswordInput-compiled.js +1 -1
- package/dist/esm/viewers/doc/pdfRendererWrapper-compiled.compiled.css +26 -13
- package/dist/esm/viewers/doc/pdfRendererWrapper-compiled.js +1 -1
- package/dist/esm/viewers/doc-next/doc-viewer.js +1 -1
- package/dist/esm/viewers/doc-next/passwordInput.js +1 -1
- package/dist/esm/viewers/svg/ImageWrapper-compiled.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
._bfhkr3uz{background-color:#000}
|
|
70
70
|
._bfhky0hh{background-color:var(--ds-surface,#101214)}
|
|
71
71
|
._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
|
|
72
|
-
._ca0qthnh{padding-top:var(--_iop1ex)}
|
|
73
72
|
._ca0qv47k{padding-top:var(--ds-space-250,20px)}
|
|
73
|
+
._ca0qymxu{padding-top:var(--ds-space-100,10px) var(--ds-space-300,24px)}
|
|
74
74
|
._di7o9txx._di7o9txx button:hover svg{color:#b6c2cf}
|
|
75
75
|
._i0dlf1ug{flex-basis:0%}
|
|
76
76
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
@@ -106,4 +106,5 @@
|
|
|
106
106
|
._y3gnusic{text-align:right}
|
|
107
107
|
._z18o1kxc video{height:100vh}
|
|
108
108
|
._zcqx1osq p{line-height:100%}
|
|
109
|
-
.
|
|
109
|
+
._4pkp1fjg button:hover{color:#161a1d!important}
|
|
110
|
+
._1sfy1fjg button:active{color:#161a1d!important}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -125,10 +125,7 @@ var ZoomWrapper = exports.ZoomWrapper = function ZoomWrapper(_ref7) {
|
|
|
125
125
|
var className = _ref7.className,
|
|
126
126
|
children = _ref7.children;
|
|
127
127
|
return /*#__PURE__*/React.createElement("div", {
|
|
128
|
-
className: (0, _runtime.ax)(["_1bsb1osq _kqswstnw _94n5idpf _4t3i1uc6 _1itkdlpg _tzy41w01 _lcxvglyw _vchhusvi _1e0c1txw _4cvresu3
|
|
129
|
-
style: {
|
|
130
|
-
"--_iop1ex": (0, _runtime.ix)("var(--ds-space-100, 10px)".concat(" ", "var(--ds-space-300, 24px)"))
|
|
131
|
-
}
|
|
128
|
+
className: (0, _runtime.ax)(["_1bsb1osq _kqswstnw _94n5idpf _4t3i1uc6 _1itkdlpg _tzy41w01 _lcxvglyw _vchhusvi _1e0c1txw _4cvresu3 _ca0qymxu _n3td1yov _u5f31ejb _19bv1ejb", className])
|
|
132
129
|
}, children);
|
|
133
130
|
};
|
|
134
131
|
var ZoomCenterControls = exports.ZoomCenterControls = function ZoomCenterControls(_ref8) {
|
|
@@ -1,37 +1,50 @@
|
|
|
1
1
|
|
|
2
2
|
._1iqdnqa1 .pdfViewer .page{border-style:solid}
|
|
3
3
|
._1nxfrdoj .pdfViewer .page{border-width:9px}
|
|
4
|
-
._6y9o1j28 .pdfViewer .page{border-color:transparent}._105d1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
5
|
-
._128lidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
4
|
+
._6y9o1j28 .pdfViewer .page{border-color:transparent}._105d1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{width:100%}
|
|
5
|
+
._128lidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{top:0}
|
|
6
6
|
._14cix0bf .pdfViewer .page{margin-bottom:var(--ds-space-negative-100,-8px)}
|
|
7
7
|
._178fuk88 .pdfViewer .textLayer ::selection{background-color:#00f}
|
|
8
|
+
._17e31osq .pdfViewer .annotationLayer .linkAnnotation>a{width:100%}
|
|
9
|
+
._17histnw .pdfViewer .textLayer span{position:absolute}
|
|
8
10
|
._1aohidpf .pdfViewer .textLayer{left:0}
|
|
9
|
-
._1chastnw .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
11
|
+
._1chastnw .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute}
|
|
10
12
|
._1e8c1wug .pdfViewer .page{margin-right:auto}
|
|
11
|
-
._1fcd1kdv .pdfViewer .textLayer br
|
|
13
|
+
._1fcd1kdv .pdfViewer .textLayer br{cursor:text}
|
|
12
14
|
._1ff9t94y .pdfViewer .page{margin-top:1px}
|
|
15
|
+
._1fme1osq .pdfViewer .annotationLayer .linkAnnotation>a{height:100%}
|
|
13
16
|
._1fvkidpf .pdfViewer .textLayer{top:0}
|
|
14
17
|
._1l9j15vq .pdfViewer .textLayer{overflow-x:hidden}
|
|
15
|
-
._1mgwidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
16
|
-
.
|
|
18
|
+
._1mgwidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{left:0}
|
|
19
|
+
._1o2dqvpr .pdfViewer .textLayer span{white-space:pre}
|
|
20
|
+
._1pbo1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{height:100%}
|
|
17
21
|
._1q3qxncg .pdfViewer{margin-bottom:var(--ds-space-800,4pc)}
|
|
18
22
|
._1qpwidpf .pdfViewer .textLayer{bottom:0}
|
|
19
|
-
._1sbg1j28 .pdfViewer .textLayer br
|
|
23
|
+
._1sbg1j28 .pdfViewer .textLayer br{color:transparent}
|
|
20
24
|
._1w1dh2mm .pdfViewer .page{position:relative}
|
|
21
25
|
._1wdj1wug .pdfViewer .page{margin-left:auto}
|
|
22
|
-
._1wxf1nty .pdfViewer .textLayer br
|
|
23
|
-
._1yudstnw .pdfViewer .textLayer br
|
|
26
|
+
._1wxf1nty .pdfViewer .textLayer br{transform-origin:0 0}
|
|
27
|
+
._1yudstnw .pdfViewer .textLayer br{position:absolute}
|
|
24
28
|
._3i5i15vq .pdfViewer .canvasWrapper{overflow-y:hidden}
|
|
29
|
+
._6936stnw .pdfViewer .annotationLayer .linkAnnotation>a{position:absolute}
|
|
30
|
+
._8uuw1nty .pdfViewer .textLayer span{transform-origin:0 0}
|
|
31
|
+
._c3ci1j28 .pdfViewer .textLayer span{color:transparent}
|
|
25
32
|
._ddxjstnw .pdfViewer .annotationLayer section{position:absolute}
|
|
26
33
|
._dfxu15vq .pdfViewer .textLayer{overflow-y:hidden}
|
|
27
34
|
._e38rkb7n .pdfViewer .textLayer{line-height:1}
|
|
35
|
+
._eivy1kdv .pdfViewer .textLayer span{cursor:text}
|
|
28
36
|
._i4luxncg .pdfViewer{margin-top:var(--ds-space-800,4pc)}
|
|
37
|
+
._lgdcidpf .pdfViewer .annotationLayer .linkAnnotation>a{left:0}
|
|
38
|
+
._lxz5idpf .pdfViewer .annotationLayer .linkAnnotation>a{top:0}
|
|
29
39
|
._n41pidpf .pdfViewer .textLayer{right:0}
|
|
30
40
|
._nvzfstnw .pdfViewer .textLayer{position:absolute}
|
|
31
|
-
._ogfsqvpr .pdfViewer .textLayer br
|
|
41
|
+
._ogfsqvpr .pdfViewer .textLayer br{white-space:pre}
|
|
32
42
|
._qn8n15vq .pdfViewer .canvasWrapper{overflow-x:hidden}
|
|
33
43
|
._rk1z18uv .pdfViewer .annotationLayer section{text-align:initial}
|
|
34
44
|
._s5tpsxj9 .pdfViewer .textLayer{opacity:.2}
|
|
35
|
-
._1198sxj9 .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover
|
|
36
|
-
.
|
|
37
|
-
.
|
|
45
|
+
._1198sxj9 .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2}
|
|
46
|
+
._16bhsxj9 .pdfViewer .annotationLayer .linkAnnotation>a:hover{opacity:.2}
|
|
47
|
+
._1iy8wxnz .pdfViewer .annotationLayer .linkAnnotation>a:hover{background-color:#ff0}
|
|
48
|
+
._1ulgwxnz .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{background-color:#ff0}
|
|
49
|
+
._otnwcsod .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{box-shadow:0 2px 10px #ff0}
|
|
50
|
+
._v48tcsod .pdfViewer .annotationLayer .linkAnnotation>a:hover{box-shadow:0 2px 10px #ff0}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* pdfRendererWrapper-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* pdfRendererWrapper-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
// Styles are partially copied from https://github.com/mozilla/pdfjs-dist/blob/v2.9.359/web/pdf_viewer.css
|
|
3
3
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
4
4
|
"use strict";
|
|
@@ -106,4 +106,5 @@
|
|
|
106
106
|
._y3gnusic{text-align:right}
|
|
107
107
|
._z18o1kxc video{height:100vh}
|
|
108
108
|
._zcqx1osq p{line-height:100%}
|
|
109
|
-
.
|
|
109
|
+
._4pkp1fjg button:hover{color:#161a1d!important}
|
|
110
|
+
._1sfy1fjg button:active{color:#161a1d!important}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./styleWrappers-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* custom-button-item.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* custom-button-item.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./custom-button-item.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./styleWrappers-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* CodeRendererAdvanced.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* CodeRendererAdvanced.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./CodeRendererAdvanced.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useRef } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* codeViewerRenderer-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* codeViewerRenderer-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./codeViewerRenderer-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* pdfPasswordInput-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* pdfPasswordInput-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./pdfPasswordInput-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,37 +1,50 @@
|
|
|
1
1
|
|
|
2
2
|
._1iqdnqa1 .pdfViewer .page{border-style:solid}
|
|
3
3
|
._1nxfrdoj .pdfViewer .page{border-width:9px}
|
|
4
|
-
._6y9o1j28 .pdfViewer .page{border-color:transparent}._105d1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
5
|
-
._128lidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
4
|
+
._6y9o1j28 .pdfViewer .page{border-color:transparent}._105d1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{width:100%}
|
|
5
|
+
._128lidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{top:0}
|
|
6
6
|
._14cix0bf .pdfViewer .page{margin-bottom:var(--ds-space-negative-100,-8px)}
|
|
7
7
|
._178fuk88 .pdfViewer .textLayer ::selection{background-color:#00f}
|
|
8
|
+
._17e31osq .pdfViewer .annotationLayer .linkAnnotation>a{width:100%}
|
|
9
|
+
._17histnw .pdfViewer .textLayer span{position:absolute}
|
|
8
10
|
._1aohidpf .pdfViewer .textLayer{left:0}
|
|
9
|
-
._1chastnw .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
11
|
+
._1chastnw .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute}
|
|
10
12
|
._1e8c1wug .pdfViewer .page{margin-right:auto}
|
|
11
|
-
._1fcd1kdv .pdfViewer .textLayer br
|
|
13
|
+
._1fcd1kdv .pdfViewer .textLayer br{cursor:text}
|
|
12
14
|
._1ff9t94y .pdfViewer .page{margin-top:1px}
|
|
15
|
+
._1fme1osq .pdfViewer .annotationLayer .linkAnnotation>a{height:100%}
|
|
13
16
|
._1fvkidpf .pdfViewer .textLayer{top:0}
|
|
14
17
|
._1l9j15vq .pdfViewer .textLayer{overflow-x:hidden}
|
|
15
|
-
._1mgwidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
16
|
-
.
|
|
18
|
+
._1mgwidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{left:0}
|
|
19
|
+
._1o2dqvpr .pdfViewer .textLayer span{white-space:pre}
|
|
20
|
+
._1pbo1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{height:100%}
|
|
17
21
|
._1q3qxncg .pdfViewer{margin-bottom:var(--ds-space-800,4pc)}
|
|
18
22
|
._1qpwidpf .pdfViewer .textLayer{bottom:0}
|
|
19
|
-
._1sbg1j28 .pdfViewer .textLayer br
|
|
23
|
+
._1sbg1j28 .pdfViewer .textLayer br{color:transparent}
|
|
20
24
|
._1w1dh2mm .pdfViewer .page{position:relative}
|
|
21
25
|
._1wdj1wug .pdfViewer .page{margin-left:auto}
|
|
22
|
-
._1wxf1nty .pdfViewer .textLayer br
|
|
23
|
-
._1yudstnw .pdfViewer .textLayer br
|
|
26
|
+
._1wxf1nty .pdfViewer .textLayer br{transform-origin:0 0}
|
|
27
|
+
._1yudstnw .pdfViewer .textLayer br{position:absolute}
|
|
24
28
|
._3i5i15vq .pdfViewer .canvasWrapper{overflow-y:hidden}
|
|
29
|
+
._6936stnw .pdfViewer .annotationLayer .linkAnnotation>a{position:absolute}
|
|
30
|
+
._8uuw1nty .pdfViewer .textLayer span{transform-origin:0 0}
|
|
31
|
+
._c3ci1j28 .pdfViewer .textLayer span{color:transparent}
|
|
25
32
|
._ddxjstnw .pdfViewer .annotationLayer section{position:absolute}
|
|
26
33
|
._dfxu15vq .pdfViewer .textLayer{overflow-y:hidden}
|
|
27
34
|
._e38rkb7n .pdfViewer .textLayer{line-height:1}
|
|
35
|
+
._eivy1kdv .pdfViewer .textLayer span{cursor:text}
|
|
28
36
|
._i4luxncg .pdfViewer{margin-top:var(--ds-space-800,4pc)}
|
|
37
|
+
._lgdcidpf .pdfViewer .annotationLayer .linkAnnotation>a{left:0}
|
|
38
|
+
._lxz5idpf .pdfViewer .annotationLayer .linkAnnotation>a{top:0}
|
|
29
39
|
._n41pidpf .pdfViewer .textLayer{right:0}
|
|
30
40
|
._nvzfstnw .pdfViewer .textLayer{position:absolute}
|
|
31
|
-
._ogfsqvpr .pdfViewer .textLayer br
|
|
41
|
+
._ogfsqvpr .pdfViewer .textLayer br{white-space:pre}
|
|
32
42
|
._qn8n15vq .pdfViewer .canvasWrapper{overflow-x:hidden}
|
|
33
43
|
._rk1z18uv .pdfViewer .annotationLayer section{text-align:initial}
|
|
34
44
|
._s5tpsxj9 .pdfViewer .textLayer{opacity:.2}
|
|
35
|
-
._1198sxj9 .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover
|
|
36
|
-
.
|
|
37
|
-
.
|
|
45
|
+
._1198sxj9 .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2}
|
|
46
|
+
._16bhsxj9 .pdfViewer .annotationLayer .linkAnnotation>a:hover{opacity:.2}
|
|
47
|
+
._1iy8wxnz .pdfViewer .annotationLayer .linkAnnotation>a:hover{background-color:#ff0}
|
|
48
|
+
._1ulgwxnz .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{background-color:#ff0}
|
|
49
|
+
._otnwcsod .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{box-shadow:0 2px 10px #ff0}
|
|
50
|
+
._v48tcsod .pdfViewer .annotationLayer .linkAnnotation>a:hover{box-shadow:0 2px 10px #ff0}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* pdfRendererWrapper-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* pdfRendererWrapper-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
// Styles are partially copied from https://github.com/mozilla/pdfjs-dist/blob/v2.9.359/web/pdf_viewer.css
|
|
3
3
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
4
4
|
import "./pdfRendererWrapper-compiled.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ImageWrapper-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ImageWrapper-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./ImageWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
._bfhkr3uz{background-color:#000}
|
|
70
70
|
._bfhky0hh{background-color:var(--ds-surface,#101214)}
|
|
71
71
|
._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
|
|
72
|
-
._ca0qthnh{padding-top:var(--_iop1ex)}
|
|
73
72
|
._ca0qv47k{padding-top:var(--ds-space-250,20px)}
|
|
73
|
+
._ca0qymxu{padding-top:var(--ds-space-100,10px) var(--ds-space-300,24px)}
|
|
74
74
|
._di7o9txx._di7o9txx button:hover svg{color:#b6c2cf}
|
|
75
75
|
._i0dlf1ug{flex-basis:0%}
|
|
76
76
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
@@ -106,4 +106,5 @@
|
|
|
106
106
|
._y3gnusic{text-align:right}
|
|
107
107
|
._z18o1kxc video{height:100vh}
|
|
108
108
|
._zcqx1osq p{line-height:100%}
|
|
109
|
-
.
|
|
109
|
+
._4pkp1fjg button:hover{color:#161a1d!important}
|
|
110
|
+
._1sfy1fjg button:active{color:#161a1d!important}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import "./styleWrappers-compiled.compiled.css";
|
|
@@ -119,10 +119,7 @@ export var ZoomWrapper = function ZoomWrapper(_ref7) {
|
|
|
119
119
|
var className = _ref7.className,
|
|
120
120
|
children = _ref7.children;
|
|
121
121
|
return /*#__PURE__*/React.createElement("div", {
|
|
122
|
-
className: ax(["_1bsb1osq _kqswstnw _94n5idpf _4t3i1uc6 _1itkdlpg _tzy41w01 _lcxvglyw _vchhusvi _1e0c1txw _4cvresu3
|
|
123
|
-
style: {
|
|
124
|
-
"--_iop1ex": ix("var(--ds-space-100, 10px)".concat(" ", "var(--ds-space-300, 24px)"))
|
|
125
|
-
}
|
|
122
|
+
className: ax(["_1bsb1osq _kqswstnw _94n5idpf _4t3i1uc6 _1itkdlpg _tzy41w01 _lcxvglyw _vchhusvi _1e0c1txw _4cvresu3 _ca0qymxu _n3td1yov _u5f31ejb _19bv1ejb", className])
|
|
126
123
|
}, children);
|
|
127
124
|
};
|
|
128
125
|
export var ZoomCenterControls = function ZoomCenterControls(_ref8) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* custom-button-item.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* custom-button-item.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children", "onClick"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styleWrappers-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./styleWrappers-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* CodeRendererAdvanced.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* CodeRendererAdvanced.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./CodeRendererAdvanced.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useRef } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* codeViewerRenderer-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* codeViewerRenderer-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* pdfPasswordInput-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* pdfPasswordInput-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./pdfPasswordInput-compiled.compiled.css";
|
|
@@ -1,37 +1,50 @@
|
|
|
1
1
|
|
|
2
2
|
._1iqdnqa1 .pdfViewer .page{border-style:solid}
|
|
3
3
|
._1nxfrdoj .pdfViewer .page{border-width:9px}
|
|
4
|
-
._6y9o1j28 .pdfViewer .page{border-color:transparent}._105d1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
5
|
-
._128lidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
4
|
+
._6y9o1j28 .pdfViewer .page{border-color:transparent}._105d1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{width:100%}
|
|
5
|
+
._128lidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{top:0}
|
|
6
6
|
._14cix0bf .pdfViewer .page{margin-bottom:var(--ds-space-negative-100,-8px)}
|
|
7
7
|
._178fuk88 .pdfViewer .textLayer ::selection{background-color:#00f}
|
|
8
|
+
._17e31osq .pdfViewer .annotationLayer .linkAnnotation>a{width:100%}
|
|
9
|
+
._17histnw .pdfViewer .textLayer span{position:absolute}
|
|
8
10
|
._1aohidpf .pdfViewer .textLayer{left:0}
|
|
9
|
-
._1chastnw .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
11
|
+
._1chastnw .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute}
|
|
10
12
|
._1e8c1wug .pdfViewer .page{margin-right:auto}
|
|
11
|
-
._1fcd1kdv .pdfViewer .textLayer br
|
|
13
|
+
._1fcd1kdv .pdfViewer .textLayer br{cursor:text}
|
|
12
14
|
._1ff9t94y .pdfViewer .page{margin-top:1px}
|
|
15
|
+
._1fme1osq .pdfViewer .annotationLayer .linkAnnotation>a{height:100%}
|
|
13
16
|
._1fvkidpf .pdfViewer .textLayer{top:0}
|
|
14
17
|
._1l9j15vq .pdfViewer .textLayer{overflow-x:hidden}
|
|
15
|
-
._1mgwidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a
|
|
16
|
-
.
|
|
18
|
+
._1mgwidpf .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{left:0}
|
|
19
|
+
._1o2dqvpr .pdfViewer .textLayer span{white-space:pre}
|
|
20
|
+
._1pbo1osq .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a{height:100%}
|
|
17
21
|
._1q3qxncg .pdfViewer{margin-bottom:var(--ds-space-800,4pc)}
|
|
18
22
|
._1qpwidpf .pdfViewer .textLayer{bottom:0}
|
|
19
|
-
._1sbg1j28 .pdfViewer .textLayer br
|
|
23
|
+
._1sbg1j28 .pdfViewer .textLayer br{color:transparent}
|
|
20
24
|
._1w1dh2mm .pdfViewer .page{position:relative}
|
|
21
25
|
._1wdj1wug .pdfViewer .page{margin-left:auto}
|
|
22
|
-
._1wxf1nty .pdfViewer .textLayer br
|
|
23
|
-
._1yudstnw .pdfViewer .textLayer br
|
|
26
|
+
._1wxf1nty .pdfViewer .textLayer br{transform-origin:0 0}
|
|
27
|
+
._1yudstnw .pdfViewer .textLayer br{position:absolute}
|
|
24
28
|
._3i5i15vq .pdfViewer .canvasWrapper{overflow-y:hidden}
|
|
29
|
+
._6936stnw .pdfViewer .annotationLayer .linkAnnotation>a{position:absolute}
|
|
30
|
+
._8uuw1nty .pdfViewer .textLayer span{transform-origin:0 0}
|
|
31
|
+
._c3ci1j28 .pdfViewer .textLayer span{color:transparent}
|
|
25
32
|
._ddxjstnw .pdfViewer .annotationLayer section{position:absolute}
|
|
26
33
|
._dfxu15vq .pdfViewer .textLayer{overflow-y:hidden}
|
|
27
34
|
._e38rkb7n .pdfViewer .textLayer{line-height:1}
|
|
35
|
+
._eivy1kdv .pdfViewer .textLayer span{cursor:text}
|
|
28
36
|
._i4luxncg .pdfViewer{margin-top:var(--ds-space-800,4pc)}
|
|
37
|
+
._lgdcidpf .pdfViewer .annotationLayer .linkAnnotation>a{left:0}
|
|
38
|
+
._lxz5idpf .pdfViewer .annotationLayer .linkAnnotation>a{top:0}
|
|
29
39
|
._n41pidpf .pdfViewer .textLayer{right:0}
|
|
30
40
|
._nvzfstnw .pdfViewer .textLayer{position:absolute}
|
|
31
|
-
._ogfsqvpr .pdfViewer .textLayer br
|
|
41
|
+
._ogfsqvpr .pdfViewer .textLayer br{white-space:pre}
|
|
32
42
|
._qn8n15vq .pdfViewer .canvasWrapper{overflow-x:hidden}
|
|
33
43
|
._rk1z18uv .pdfViewer .annotationLayer section{text-align:initial}
|
|
34
44
|
._s5tpsxj9 .pdfViewer .textLayer{opacity:.2}
|
|
35
|
-
._1198sxj9 .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover
|
|
36
|
-
.
|
|
37
|
-
.
|
|
45
|
+
._1198sxj9 .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2}
|
|
46
|
+
._16bhsxj9 .pdfViewer .annotationLayer .linkAnnotation>a:hover{opacity:.2}
|
|
47
|
+
._1iy8wxnz .pdfViewer .annotationLayer .linkAnnotation>a:hover{background-color:#ff0}
|
|
48
|
+
._1ulgwxnz .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{background-color:#ff0}
|
|
49
|
+
._otnwcsod .pdfViewer .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{box-shadow:0 2px 10px #ff0}
|
|
50
|
+
._v48tcsod .pdfViewer .annotationLayer .linkAnnotation>a:hover{box-shadow:0 2px 10px #ff0}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* pdfRendererWrapper-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* pdfRendererWrapper-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
// Styles are partially copied from https://github.com/mozilla/pdfjs-dist/blob/v2.9.359/web/pdf_viewer.css
|
|
3
3
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
4
4
|
import "./pdfRendererWrapper-compiled.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* doc-viewer.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* doc-viewer.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* passwordInput.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* passwordInput.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./passwordInput.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ImageWrapper-compiled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ImageWrapper-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./ImageWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-viewer",
|
|
3
|
-
"version": "52.4.
|
|
3
|
+
"version": "52.4.22",
|
|
4
4
|
"description": "MediaViewer is Atlassian's powerful solution for viewing files on the web. It's both powerful and extendable yet easy-to-integrate",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/button": "^23.4.0",
|
|
36
36
|
"@atlaskit/code": "^17.2.0",
|
|
37
37
|
"@atlaskit/css": "^0.14.0",
|
|
38
|
-
"@atlaskit/form": "^
|
|
38
|
+
"@atlaskit/form": "^14.0.0",
|
|
39
39
|
"@atlaskit/heading": "^5.2.0",
|
|
40
40
|
"@atlaskit/icon": "^28.2.0",
|
|
41
41
|
"@atlaskit/icon-file-type": "^7.0.0",
|