@atlaskit/media-picker 67.0.0 → 67.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/media-picker
2
2
 
3
+ ## 67.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 67.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#158723](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/158723)
14
+ [`8ff5b01b0d37f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ff5b01b0d37f) -
15
+ [ED-24682] Cleanup feature flag for commenting on media in the renderer
16
+
17
+ **@atlaskit/editor-plugin-media**: Add optional checks for the api in Comment Badges on media
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 67.0.0
4
22
 
5
23
  ### Major Changes
@@ -9,7 +9,7 @@ var _mediaClient = require("@atlaskit/media-client");
9
9
  // Component name will be prefixed with "media-picker-" in logs. Check ufoExperiences in utils files
10
10
 
11
11
  var packageName = "@atlaskit/media-picker";
12
- var packageVersion = "67.0.0";
12
+ var packageVersion = "67.0.2";
13
13
  function getPackageAttributes(componentName) {
14
14
  return {
15
15
  packageName: packageName,
@@ -12,7 +12,7 @@ var _mediaClient = require("@atlaskit/media-client");
12
12
  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; }
13
13
  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; }
14
14
  var packageName = "@atlaskit/media-picker";
15
- var packageVersion = "67.0.0";
15
+ var packageVersion = "67.0.2";
16
16
  var ufoExperience;
17
17
  var initExperience = function initExperience(id, componentName) {
18
18
  if (!ufoExperience) {
@@ -3,7 +3,7 @@ import { isRequestError } from '@atlaskit/media-client';
3
3
  // Component name will be prefixed with "media-picker-" in logs. Check ufoExperiences in utils files
4
4
 
5
5
  const packageName = "@atlaskit/media-picker";
6
- const packageVersion = "67.0.0";
6
+ const packageVersion = "67.0.2";
7
7
  export function getPackageAttributes(componentName) {
8
8
  return {
9
9
  packageName,
@@ -2,7 +2,7 @@ import { ConcurrentExperience, ExperiencePerformanceTypes, ExperienceTypes } fro
2
2
  import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
3
3
  import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
4
4
  const packageName = "@atlaskit/media-picker";
5
- const packageVersion = "67.0.0";
5
+ const packageVersion = "67.0.2";
6
6
  let ufoExperience;
7
7
  const initExperience = (id, componentName) => {
8
8
  if (!ufoExperience) {
@@ -3,7 +3,7 @@ import { isRequestError } from '@atlaskit/media-client';
3
3
  // Component name will be prefixed with "media-picker-" in logs. Check ufoExperiences in utils files
4
4
 
5
5
  var packageName = "@atlaskit/media-picker";
6
- var packageVersion = "67.0.0";
6
+ var packageVersion = "67.0.2";
7
7
  export function getPackageAttributes(componentName) {
8
8
  return {
9
9
  packageName: packageName,
@@ -5,7 +5,7 @@ import { ConcurrentExperience, ExperiencePerformanceTypes, ExperienceTypes } fro
5
5
  import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
6
6
  import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
7
7
  var packageName = "@atlaskit/media-picker";
8
- var packageVersion = "67.0.0";
8
+ var packageVersion = "67.0.2";
9
9
  var ufoExperience;
10
10
  var initExperience = function initExperience(id, componentName) {
11
11
  if (!ufoExperience) {
@@ -1,4 +1,3 @@
1
- /* eslint-disable jsx-a11y/media-has-caption */
2
1
  import React, { useEffect, useState } from 'react';
3
2
  import { type MediaClient, type MediaFileArtifacts, type MediaType } from '@atlaskit/media-client';
4
3
 
@@ -74,13 +73,13 @@ export const NativeMediaViewer = ({ id, mediaClient }: NativeMediaViewerProps) =
74
73
 
75
74
  switch (mediaType) {
76
75
  case 'image':
77
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
76
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, jsx-a11y/alt-text -- Ignored via go/DSP-18766
78
77
  return <img style={{ width: '100%' }} src={url} />;
79
78
  case 'video':
80
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
79
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, jsx-a11y/media-has-caption -- Ignored via go/DSP-18766
81
80
  return <video style={{ width: '100%' }} src={url} />;
82
81
  case 'audio':
83
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
82
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, jsx-a11y/media-has-caption -- Ignored via go/DSP-18766
84
83
  return <audio style={{ width: '100%' }} src={url} />;
85
84
  case 'doc':
86
85
  return (
@@ -102,6 +102,6 @@ type PastedImageProps = {
102
102
  };
103
103
 
104
104
  export const PastedImage = ({ src, style, title }: PastedImageProps) => {
105
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
105
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, jsx-a11y/alt-text -- Ignored via go/DSP-18766
106
106
  return <img src={src} title={title} css={pastedImageStyles(style)} />;
107
107
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-picker",
3
- "version": "67.0.0",
3
+ "version": "67.0.2",
4
4
  "description": "Library for handling file uploads",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -8,6 +8,7 @@
8
8
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
9
  "author": "Atlassian Pty Ltd",
10
10
  "license": "Apache-2.0",
11
+ "sideEffects": false,
11
12
  "main": "dist/cjs/index.js",
12
13
  "module": "dist/esm/index.js",
13
14
  "module:es2019": "dist/es2019/index.js",
@@ -35,13 +36,13 @@
35
36
  "dependencies": {
36
37
  "@atlaskit/analytics-next": "^10.1.0",
37
38
  "@atlaskit/flag": "^15.8.0",
38
- "@atlaskit/icon": "^22.24.0",
39
- "@atlaskit/media-client": "^28.0.0",
40
- "@atlaskit/media-client-react": "^2.2.0",
39
+ "@atlaskit/icon": "^22.26.0",
40
+ "@atlaskit/media-client": "^28.3.0",
41
+ "@atlaskit/media-client-react": "^2.3.0",
41
42
  "@atlaskit/media-common": "^11.7.0",
42
- "@atlaskit/media-ui": "^26.0.0",
43
+ "@atlaskit/media-ui": "^27.0.0",
43
44
  "@atlaskit/theme": "^14.0.0",
44
- "@atlaskit/tokens": "^2.0.0",
45
+ "@atlaskit/tokens": "^2.3.0",
45
46
  "@atlaskit/ufo": "^0.3.0",
46
47
  "@babel/runtime": "^7.0.0",
47
48
  "eventemitter2": "^4.1.0",
@@ -57,11 +58,11 @@
57
58
  "react-intl-next": "npm:react-intl@^5.18.1"
58
59
  },
59
60
  "devDependencies": {
60
- "@atlaskit/analytics-listeners": "^8.11.0",
61
+ "@atlaskit/analytics-listeners": "^8.13.0",
61
62
  "@atlaskit/analytics-namespaced-context": "^6.12.0",
62
63
  "@atlaskit/button": "^20.3.0",
63
64
  "@atlaskit/media-core": "^34.3.0",
64
- "@atlaskit/media-test-helpers": "^34.5.0",
65
+ "@atlaskit/media-test-helpers": "^34.6.0",
65
66
  "@atlaskit/ssr": "*",
66
67
  "@atlassian/ufo": "^0.4.0",
67
68
  "@babel/plugin-proposal-numeric-separator": "^7.18.6",
@@ -3,6 +3,7 @@
3
3
  "main": "../dist/cjs/types.js",
4
4
  "module": "../dist/esm/types.js",
5
5
  "module:es2019": "../dist/es2019/types.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/types.d.ts",
7
8
  "typesVersions": {
8
9
  ">=4.5 <5.4": {