@atlaskit/media-viewer 52.4.17 → 52.4.18
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 +8 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/analytics/ufoExperiences.js +1 -1
- package/dist/cjs/navigation.js +1 -1
- package/dist/cjs/viewers/codeViewer/CodeRendererAdvanced/theme.js +1 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/analytics/ufoExperiences.js +1 -1
- package/dist/es2019/navigation.js +1 -1
- package/dist/es2019/viewers/codeViewer/CodeRendererAdvanced/theme.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/ufoExperiences.js +1 -1
- package/dist/esm/navigation.js +1 -1
- package/dist/esm/viewers/codeViewer/CodeRendererAdvanced/theme.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/media-viewer
|
|
2
2
|
|
|
3
|
+
## 52.4.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`beaa6ee463aa8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/beaa6ee463aa8) -
|
|
8
|
+
Internal changes to how border radius is applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 52.4.17
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ exports.packageVersion = exports.packageName = void 0;
|
|
|
10
10
|
var _analytics = require("@atlaskit/media-common/analytics");
|
|
11
11
|
var componentName = exports.component = exports.componentName = 'mediaViewer';
|
|
12
12
|
var packageName = exports.packageName = "@atlaskit/media-viewer";
|
|
13
|
-
var packageVersion = exports.packageVersion = "
|
|
13
|
+
var packageVersion = exports.packageVersion = "0.0.0-development";
|
|
14
14
|
function getFileAttributes(fileState) {
|
|
15
15
|
if (!fileState) {
|
|
16
16
|
return {
|
|
@@ -13,7 +13,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
13
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
var packageName = "@atlaskit/media-viewer";
|
|
16
|
-
var packageVersion = "
|
|
16
|
+
var packageVersion = "0.0.0-development";
|
|
17
17
|
var ufoExperience;
|
|
18
18
|
var getExperience = function getExperience() {
|
|
19
19
|
if (!ufoExperience) {
|
package/dist/cjs/navigation.js
CHANGED
|
@@ -29,7 +29,7 @@ var prevNavButtonId = exports.prevNavButtonId = 'media-viewer-navigation-prev';
|
|
|
29
29
|
var wrapperStyles = (0, _primitives.xcss)({
|
|
30
30
|
width: '40px',
|
|
31
31
|
height: '40px',
|
|
32
|
-
borderRadius: '
|
|
32
|
+
borderRadius: 'radius.full',
|
|
33
33
|
padding: 'space.0',
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
backgroundColor: '#9FADBC',
|
|
@@ -42,7 +42,7 @@ var cmTheme = exports.cmTheme = _view.EditorView.theme({
|
|
|
42
42
|
},
|
|
43
43
|
'.cm-scroller': (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
44
44
|
backgroundColor: "var(--ds-background-neutral, #091E420F)"
|
|
45
|
-
}, 'lineHeight', 'unset'), "fontFamily", "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"), "borderRadius", "var(--ds-
|
|
45
|
+
}, 'lineHeight', 'unset'), "fontFamily", "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"), "borderRadius", "var(--ds-radius-small, 4px)"), "backgroundImage", overflowShadow({
|
|
46
46
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
47
47
|
})), "backgroundAttachment", 'local, local, local, local, scroll, scroll, scroll, scroll'),
|
|
48
48
|
'&.cm-focused .cm-cursor': {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ANALYTICS_MEDIA_CHANNEL, sanitiseAnalyticsPayload } from '@atlaskit/media-common/analytics';
|
|
2
2
|
const componentName = 'mediaViewer';
|
|
3
3
|
const packageName = "@atlaskit/media-viewer";
|
|
4
|
-
const packageVersion = "
|
|
4
|
+
const packageVersion = "0.0.0-development";
|
|
5
5
|
export { packageName, packageVersion, componentName, componentName as component };
|
|
6
6
|
export function getFileAttributes(fileState) {
|
|
7
7
|
if (!fileState) {
|
|
@@ -3,7 +3,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
|
3
3
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
5
|
const packageName = "@atlaskit/media-viewer";
|
|
6
|
-
const packageVersion = "
|
|
6
|
+
const packageVersion = "0.0.0-development";
|
|
7
7
|
let ufoExperience;
|
|
8
8
|
const getExperience = () => {
|
|
9
9
|
if (!ufoExperience) {
|
|
@@ -17,7 +17,7 @@ export const prevNavButtonId = 'media-viewer-navigation-prev';
|
|
|
17
17
|
const wrapperStyles = xcss({
|
|
18
18
|
width: '40px',
|
|
19
19
|
height: '40px',
|
|
20
|
-
borderRadius: '
|
|
20
|
+
borderRadius: 'radius.full',
|
|
21
21
|
padding: 'space.0',
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
backgroundColor: '#9FADBC',
|
|
@@ -41,7 +41,7 @@ export const cmTheme = CodeMirror.theme({
|
|
|
41
41
|
// Custom syntax styling to match existing styling
|
|
42
42
|
['lineHeight']: 'unset',
|
|
43
43
|
fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
44
|
-
borderRadius: "var(--ds-
|
|
44
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
45
45
|
backgroundImage: overflowShadow({
|
|
46
46
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
47
47
|
}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ANALYTICS_MEDIA_CHANNEL, sanitiseAnalyticsPayload } from '@atlaskit/media-common/analytics';
|
|
2
2
|
var componentName = 'mediaViewer';
|
|
3
3
|
var packageName = "@atlaskit/media-viewer";
|
|
4
|
-
var packageVersion = "
|
|
4
|
+
var packageVersion = "0.0.0-development";
|
|
5
5
|
export { packageName, packageVersion, componentName, componentName as component };
|
|
6
6
|
export function getFileAttributes(fileState) {
|
|
7
7
|
if (!fileState) {
|
|
@@ -6,7 +6,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
|
6
6
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
var packageName = "@atlaskit/media-viewer";
|
|
9
|
-
var packageVersion = "
|
|
9
|
+
var packageVersion = "0.0.0-development";
|
|
10
10
|
var ufoExperience;
|
|
11
11
|
var getExperience = function getExperience() {
|
|
12
12
|
if (!ufoExperience) {
|
package/dist/esm/navigation.js
CHANGED
|
@@ -24,7 +24,7 @@ export var prevNavButtonId = 'media-viewer-navigation-prev';
|
|
|
24
24
|
var wrapperStyles = xcss({
|
|
25
25
|
width: '40px',
|
|
26
26
|
height: '40px',
|
|
27
|
-
borderRadius: '
|
|
27
|
+
borderRadius: 'radius.full',
|
|
28
28
|
padding: 'space.0',
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
backgroundColor: '#9FADBC',
|
|
@@ -36,7 +36,7 @@ export var cmTheme = CodeMirror.theme({
|
|
|
36
36
|
},
|
|
37
37
|
'.cm-scroller': _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
38
38
|
backgroundColor: "var(--ds-background-neutral, #091E420F)"
|
|
39
|
-
}, 'lineHeight', 'unset'), "fontFamily", "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"), "borderRadius", "var(--ds-
|
|
39
|
+
}, 'lineHeight', 'unset'), "fontFamily", "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"), "borderRadius", "var(--ds-radius-small, 4px)"), "backgroundImage", overflowShadow({
|
|
40
40
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
41
41
|
})), "backgroundAttachment", 'local, local, local, local, scroll, scroll, scroll, scroll'),
|
|
42
42
|
'&.cm-focused .cm-cursor': {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-viewer",
|
|
3
|
-
"version": "52.4.
|
|
3
|
+
"version": "52.4.18",
|
|
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/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
35
35
|
"@atlaskit/button": "^23.4.0",
|
|
36
36
|
"@atlaskit/code": "^17.2.0",
|
|
37
|
-
"@atlaskit/css": "^0.
|
|
37
|
+
"@atlaskit/css": "^0.13.0",
|
|
38
38
|
"@atlaskit/form": "^12.4.0",
|
|
39
39
|
"@atlaskit/heading": "^5.2.0",
|
|
40
40
|
"@atlaskit/icon": "^28.1.0",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"@atlaskit/media-ui": "^28.6.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
50
|
"@atlaskit/portal": "^5.1.0",
|
|
51
|
-
"@atlaskit/primitives": "^14.
|
|
51
|
+
"@atlaskit/primitives": "^14.13.0",
|
|
52
52
|
"@atlaskit/side-navigation": "^11.0.0",
|
|
53
53
|
"@atlaskit/spinner": "^19.0.0",
|
|
54
54
|
"@atlaskit/textfield": "^8.0.0",
|
|
55
55
|
"@atlaskit/theme": "^20.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^6.
|
|
56
|
+
"@atlaskit/tokens": "^6.2.0",
|
|
57
57
|
"@atlaskit/tooltip": "^20.4.0",
|
|
58
58
|
"@atlaskit/ufo": "^0.4.0",
|
|
59
59
|
"@babel/runtime": "^7.0.0",
|