@atlaskit/media-viewer 52.4.13 → 52.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/media-viewer
2
2
 
3
+ ## 52.4.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2af42ad93c3e0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2af42ad93c3e0) -
8
+ Internal changes to use tokens for border radius.
9
+ - Updated dependencies
10
+
3
11
  ## 52.4.13
4
12
 
5
13
  ### Patch Changes
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/classnames.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/classnames.d.ts"
14
14
  ]
@@ -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 = "52.4.12";
13
+ var packageVersion = exports.packageVersion = "52.4.13";
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 = "52.4.12";
16
+ var packageVersion = "52.4.13";
17
17
  var ufoExperience;
18
18
  var getExperience = function getExperience() {
19
19
  if (!ufoExperience) {
@@ -15,7 +15,6 @@ var _reactScrolllock = require("react-scrolllock");
15
15
  var _useCallbackRef = require("use-callback-ref");
16
16
  var _modalSpinner = require("./viewers/modalSpinner");
17
17
  var _styles2 = require("./viewers/archiveSidebar/styles");
18
- var _constants = require("@atlaskit/theme/constants");
19
18
  var _primitives = require("@atlaskit/primitives");
20
19
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
21
20
  /* eslint-disable @atlaskit/design-system/use-tokens-typography */
@@ -306,8 +305,7 @@ var customAudioPlayerWrapperStyles = (0, _react.css)({
306
305
  var audioPlayerStyles = (0, _react.css)({
307
306
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
308
307
  backgroundColor: _styles.blanketColor,
309
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
310
- borderRadius: (0, _constants.borderRadius)(),
308
+ borderRadius: "var(--ds-border-radius-100, 3px)",
311
309
  alignItems: 'center',
312
310
  justifyContent: 'center',
313
311
  width: '400px',
@@ -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 = "52.4.12";
4
+ const packageVersion = "52.4.13";
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 = "52.4.12";
6
+ const packageVersion = "52.4.13";
7
7
  let ufoExperience;
8
8
  const getExperience = () => {
9
9
  if (!ufoExperience) {
@@ -13,7 +13,6 @@ import { TouchScrollable } from 'react-scrolllock';
13
13
  import { useMergeRefs } from 'use-callback-ref';
14
14
  import { headerAndSidebarBackgroundColor } from './viewers/modalSpinner';
15
15
  import { ArchiveSideBarWidth } from './viewers/archiveSidebar/styles';
16
- import { borderRadius } from '@atlaskit/theme/constants';
17
16
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
18
17
  import { Box, xcss } from '@atlaskit/primitives';
19
18
  import Heading from '@atlaskit/heading';
@@ -300,8 +299,7 @@ const customAudioPlayerWrapperStyles = css({
300
299
  const audioPlayerStyles = css({
301
300
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
302
301
  backgroundColor: blanketColor,
303
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
304
- borderRadius: borderRadius(),
302
+ borderRadius: "var(--ds-border-radius-100, 3px)",
305
303
  alignItems: 'center',
306
304
  justifyContent: 'center',
307
305
  width: '400px',
@@ -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 = "52.4.12";
4
+ var packageVersion = "52.4.13";
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 = "52.4.12";
9
+ var packageVersion = "52.4.13";
10
10
  var ufoExperience;
11
11
  var getExperience = function getExperience() {
12
12
  if (!ufoExperience) {
@@ -14,7 +14,6 @@ import { TouchScrollable } from 'react-scrolllock';
14
14
  import { useMergeRefs } from 'use-callback-ref';
15
15
  import { headerAndSidebarBackgroundColor } from './viewers/modalSpinner';
16
16
  import { ArchiveSideBarWidth } from './viewers/archiveSidebar/styles';
17
- import { borderRadius } from '@atlaskit/theme/constants';
18
17
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
19
18
  import { Box, xcss } from '@atlaskit/primitives';
20
19
  import Heading from '@atlaskit/heading';
@@ -297,8 +296,7 @@ var customAudioPlayerWrapperStyles = css({
297
296
  var audioPlayerStyles = css({
298
297
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
299
298
  backgroundColor: blanketColor,
300
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
301
- borderRadius: borderRadius(),
299
+ borderRadius: "var(--ds-border-radius-100, 3px)",
302
300
  alignItems: 'center',
303
301
  justifyContent: 'center',
304
302
  width: '400px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-viewer",
3
- "version": "52.4.13",
3
+ "version": "52.4.14",
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/"
@@ -36,14 +36,14 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/analytics-next": "^11.1.0",
39
- "@atlaskit/button": "^23.3.0",
39
+ "@atlaskit/button": "^23.4.0",
40
40
  "@atlaskit/code": "^17.2.0",
41
41
  "@atlaskit/css": "^0.12.0",
42
- "@atlaskit/form": "^12.0.0",
42
+ "@atlaskit/form": "^12.1.0",
43
43
  "@atlaskit/heading": "^5.2.0",
44
- "@atlaskit/icon": "^27.11.0",
44
+ "@atlaskit/icon": "^27.12.0",
45
45
  "@atlaskit/icon-file-type": "^7.0.0",
46
- "@atlaskit/icon-lab": "^5.4.0",
46
+ "@atlaskit/icon-lab": "^5.6.0",
47
47
  "@atlaskit/media-client": "^35.3.0",
48
48
  "@atlaskit/media-client-react": "^4.1.0",
49
49
  "@atlaskit/media-common": "^12.3.0",
@@ -92,7 +92,7 @@
92
92
  "@atlaskit/media-integration-test-helpers": "workspace:^",
93
93
  "@atlaskit/media-state": "^1.8.0",
94
94
  "@atlaskit/media-test-data": "^3.2.0",
95
- "@atlaskit/media-test-helpers": "^37.0.0",
95
+ "@atlaskit/media-test-helpers": "^39.0.0",
96
96
  "@atlaskit/ssr": "workspace:^",
97
97
  "@atlaskit/toggle": "^15.1.0",
98
98
  "@atlaskit/visual-regression": "workspace:^",