@atlaskit/media-ui 28.7.17 → 28.7.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 28.7.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f73452fffe533`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f73452fffe533) -
8
+ [ux] Remove feature gate to control rollout of default code viewer for text/plain files
9
+ - Updated dependencies
10
+
3
11
  ## 28.7.17
4
12
 
5
13
  ### Patch Changes
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getExtension = getExtension;
7
7
  exports.getLanguageType = getLanguageType;
8
8
  exports.isCodeViewerItem = isCodeViewerItem;
9
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
10
9
  /**
11
10
  * Given an item, it grabs the file name of that item. For example, an item with the filename item.txt
12
11
  * would return the extension txt
@@ -175,7 +174,7 @@ function getLanguageType(name, mimetype) {
175
174
  case 'yml':
176
175
  return 'yaml';
177
176
  default:
178
- if (mimetype === 'text/plain' && (0, _platformFeatureFlags.fg)('platform_media-default-code-viewer-for-plain-text')) {
177
+ if (mimetype === 'text/plain') {
179
178
  return 'text';
180
179
  }
181
180
  return null;
@@ -14,7 +14,7 @@ var CustomMediaPlayerBase = exports.CustomMediaPlayerBase = function CustomMedia
14
14
  return /*#__PURE__*/_react.default.createElement(_indexCompiled.CustomMediaPlayerBase, props);
15
15
  };
16
16
  var packageName = "@atlaskit/media-ui";
17
- var packageVersion = "28.7.16";
17
+ var packageVersion = "0.0.0-development";
18
18
 
19
19
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
20
20
  var CustomMediaPlayer = exports.CustomMediaPlayer = (0, _mediaCommon.withMediaAnalyticsContext)({
@@ -15,7 +15,7 @@ var _useTextTracks2 = require("./useTextTracks");
15
15
  var _analyticsNext = require("@atlaskit/analytics-next");
16
16
  var _excluded = ["onPlay"];
17
17
  var packageName = "@atlaskit/media-ui";
18
- var packageVersion = "28.7.16";
18
+ var packageVersion = "0.0.0-development";
19
19
  var MediaPlayerWihtoutContext = exports.MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
20
20
  var _onPlay = _ref.onPlay,
21
21
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
@@ -1,5 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
-
3
1
  /**
4
2
  * Given an item, it grabs the file name of that item. For example, an item with the filename item.txt
5
3
  * would return the extension txt
@@ -165,7 +163,7 @@ export function getLanguageType(name, mimetype) {
165
163
  case 'yml':
166
164
  return 'yaml';
167
165
  default:
168
- if (mimetype === 'text/plain' && fg('platform_media-default-code-viewer-for-plain-text')) {
166
+ if (mimetype === 'text/plain') {
169
167
  return 'text';
170
168
  }
171
169
  return null;
@@ -5,7 +5,7 @@ import { CustomMediaPlayerBase as CompiledCustomMediaPlayerBase } from './index-
5
5
  import { withMediaAnalyticsContext } from '@atlaskit/media-common';
6
6
  export const CustomMediaPlayerBase = props => /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props);
7
7
  const packageName = "@atlaskit/media-ui";
8
- const packageVersion = "28.7.16";
8
+ const packageVersion = "0.0.0-development";
9
9
 
10
10
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
11
11
  export const CustomMediaPlayer = withMediaAnalyticsContext({
@@ -6,7 +6,7 @@ import { MediaPlayerBase } from './mediaPlayerBase';
6
6
  import { useTextTracks } from './useTextTracks';
7
7
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
8
8
  const packageName = "@atlaskit/media-ui";
9
- const packageVersion = "28.7.16";
9
+ const packageVersion = "0.0.0-development";
10
10
  export const MediaPlayerWihtoutContext = ({
11
11
  onPlay,
12
12
  ...props
@@ -1,5 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
-
3
1
  /**
4
2
  * Given an item, it grabs the file name of that item. For example, an item with the filename item.txt
5
3
  * would return the extension txt
@@ -168,7 +166,7 @@ export function getLanguageType(name, mimetype) {
168
166
  case 'yml':
169
167
  return 'yaml';
170
168
  default:
171
- if (mimetype === 'text/plain' && fg('platform_media-default-code-viewer-for-plain-text')) {
169
+ if (mimetype === 'text/plain') {
172
170
  return 'text';
173
171
  }
174
172
  return null;
@@ -7,7 +7,7 @@ export var CustomMediaPlayerBase = function CustomMediaPlayerBase(props) {
7
7
  return /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props);
8
8
  };
9
9
  var packageName = "@atlaskit/media-ui";
10
- var packageVersion = "28.7.16";
10
+ var packageVersion = "0.0.0-development";
11
11
 
12
12
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
13
13
  export var CustomMediaPlayer = withMediaAnalyticsContext({
@@ -8,7 +8,7 @@ import { MediaPlayerBase } from './mediaPlayerBase';
8
8
  import { useTextTracks } from './useTextTracks';
9
9
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
10
10
  var packageName = "@atlaskit/media-ui";
11
- var packageVersion = "28.7.16";
11
+ var packageVersion = "0.0.0-development";
12
12
  export var MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
13
13
  var _onPlay = _ref.onPlay,
14
14
  props = _objectWithoutProperties(_ref, _excluded);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "28.7.17",
3
+ "version": "28.7.18",
4
4
  "description": "Includes common components and utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,11 +25,10 @@
25
25
  "dependencies": {
26
26
  "@atlaskit/afm-i18n-platform-media-media-ui": "2.7.0",
27
27
  "@atlaskit/analytics-next": "^11.1.0",
28
- "@atlaskit/button": "^23.6.0",
29
- "@atlaskit/code": "^17.3.0",
28
+ "@atlaskit/button": "^23.7.0",
29
+ "@atlaskit/code": "^17.4.0",
30
30
  "@atlaskit/css": "^0.17.0",
31
- "@atlaskit/dropdown-menu": "^16.3.0",
32
- "@atlaskit/flag": "^17.5.0",
31
+ "@atlaskit/flag": "^17.6.0",
33
32
  "@atlaskit/form": "^14.3.0",
34
33
  "@atlaskit/icon": "^29.0.0",
35
34
  "@atlaskit/icon-file-type": "^7.0.0",
@@ -40,16 +39,16 @@
40
39
  "@atlaskit/media-client-react": "^4.1.0",
41
40
  "@atlaskit/media-common": "^12.3.0",
42
41
  "@atlaskit/media-state": "^1.8.0",
43
- "@atlaskit/modal-dialog": "^14.7.0",
42
+ "@atlaskit/modal-dialog": "^14.8.0",
44
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
- "@atlaskit/primitives": "^16.3.0",
46
- "@atlaskit/range": "^9.2.0",
44
+ "@atlaskit/primitives": "^16.4.0",
45
+ "@atlaskit/range": "^9.3.0",
47
46
  "@atlaskit/react-ufo": "^4.15.0",
48
- "@atlaskit/select": "^21.4.0",
47
+ "@atlaskit/select": "^21.5.0",
49
48
  "@atlaskit/spinner": "^19.0.0",
50
49
  "@atlaskit/theme": "^21.0.0",
51
- "@atlaskit/tokens": "^8.3.0",
52
- "@atlaskit/tooltip": "^20.10.0",
50
+ "@atlaskit/tokens": "^8.4.0",
51
+ "@atlaskit/tooltip": "^20.11.0",
53
52
  "@atlaskit/width-detector": "^5.0.0",
54
53
  "@babel/runtime": "^7.0.0",
55
54
  "@compiled/react": "^0.18.6",
@@ -96,9 +95,6 @@
96
95
  },
97
96
  "should-render-to-parent-should-be-true-media-exif": {
98
97
  "type": "boolean"
99
- },
100
- "platform_media-default-code-viewer-for-plain-text": {
101
- "type": "boolean"
102
98
  }
103
99
  },
104
100
  "techstack": {