@atlaskit/editor-plugin-media 4.1.0 → 4.1.1

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,14 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 4.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#174513](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/174513)
8
+ [`9190f78c5c704`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9190f78c5c704) -
9
+ Remove platform_editor_exp_disable_lnv experiment key.
10
+ - Updated dependencies
11
+
3
12
  ## 4.1.0
4
13
 
5
14
  ### Minor Changes
@@ -13,9 +13,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
13
13
  var lazyMediaGroupView = exports.lazyMediaGroupView = function lazyMediaGroupView(portalProviderAPI, eventDispatcher, providerFactory) {
14
14
  var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
15
15
  var api = arguments.length > 4 ? arguments[4] : undefined;
16
- if ((0, _experiments.editorExperiment)('platform_editor_exp_lazy_node_views', false) || (0, _experiments.editorExperiment)('platform_editor_exp_disable_lnv', true, {
17
- exposure: true
18
- })) {
16
+ if ((0, _experiments.editorExperiment)('platform_editor_exp_lazy_node_views', false)) {
19
17
  return (0, _mediaGroup.ReactMediaGroupNode)(portalProviderAPI, eventDispatcher, providerFactory, options, api);
20
18
  }
21
19
  return (0, _lazyNodeView.withLazyLoading)({
@@ -11,9 +11,7 @@ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
11
11
  var _mediaInline = require("./mediaInline");
12
12
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != (0, _typeof2.default)(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
13
13
  var lazyMediaInlineView = exports.lazyMediaInlineView = function lazyMediaInlineView(portalProviderAPI, eventDispatcher, providerFactory, api, dispatchAnalyticsEvent) {
14
- if ((0, _experiments.editorExperiment)('platform_editor_exp_lazy_node_views', false) || (0, _experiments.editorExperiment)('platform_editor_exp_disable_lnv', true, {
15
- exposure: true
16
- })) {
14
+ if ((0, _experiments.editorExperiment)('platform_editor_exp_lazy_node_views', false)) {
17
15
  return (0, _mediaInline.ReactMediaInlineNode)(portalProviderAPI, eventDispatcher, providerFactory, api, dispatchAnalyticsEvent);
18
16
  }
19
17
  return (0, _lazyNodeView.withLazyLoading)({
@@ -2,9 +2,7 @@ import { withLazyLoading } from '@atlaskit/editor-common/lazy-node-view';
2
2
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
3
  import { ReactMediaGroupNode } from './mediaGroup';
4
4
  export const lazyMediaGroupView = (portalProviderAPI, eventDispatcher, providerFactory, options = {}, api) => {
5
- if (editorExperiment('platform_editor_exp_lazy_node_views', false) || editorExperiment('platform_editor_exp_disable_lnv', true, {
6
- exposure: true
7
- })) {
5
+ if (editorExperiment('platform_editor_exp_lazy_node_views', false)) {
8
6
  return ReactMediaGroupNode(portalProviderAPI, eventDispatcher, providerFactory, options, api);
9
7
  }
10
8
  return withLazyLoading({
@@ -2,9 +2,7 @@ import { withLazyLoading } from '@atlaskit/editor-common/lazy-node-view';
2
2
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
3
  import { ReactMediaInlineNode } from './mediaInline';
4
4
  export const lazyMediaInlineView = (portalProviderAPI, eventDispatcher, providerFactory, api, dispatchAnalyticsEvent) => {
5
- if (editorExperiment('platform_editor_exp_lazy_node_views', false) || editorExperiment('platform_editor_exp_disable_lnv', true, {
6
- exposure: true
7
- })) {
5
+ if (editorExperiment('platform_editor_exp_lazy_node_views', false)) {
8
6
  return ReactMediaInlineNode(portalProviderAPI, eventDispatcher, providerFactory, api, dispatchAnalyticsEvent);
9
7
  }
10
8
  return withLazyLoading({
@@ -4,9 +4,7 @@ import { ReactMediaGroupNode } from './mediaGroup';
4
4
  export var lazyMediaGroupView = function lazyMediaGroupView(portalProviderAPI, eventDispatcher, providerFactory) {
5
5
  var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
6
6
  var api = arguments.length > 4 ? arguments[4] : undefined;
7
- if (editorExperiment('platform_editor_exp_lazy_node_views', false) || editorExperiment('platform_editor_exp_disable_lnv', true, {
8
- exposure: true
9
- })) {
7
+ if (editorExperiment('platform_editor_exp_lazy_node_views', false)) {
10
8
  return ReactMediaGroupNode(portalProviderAPI, eventDispatcher, providerFactory, options, api);
11
9
  }
12
10
  return withLazyLoading({
@@ -2,9 +2,7 @@ import { withLazyLoading } from '@atlaskit/editor-common/lazy-node-view';
2
2
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
3
  import { ReactMediaInlineNode } from './mediaInline';
4
4
  export var lazyMediaInlineView = function lazyMediaInlineView(portalProviderAPI, eventDispatcher, providerFactory, api, dispatchAnalyticsEvent) {
5
- if (editorExperiment('platform_editor_exp_lazy_node_views', false) || editorExperiment('platform_editor_exp_disable_lnv', true, {
6
- exposure: true
7
- })) {
5
+ if (editorExperiment('platform_editor_exp_lazy_node_views', false)) {
8
6
  return ReactMediaInlineNode(portalProviderAPI, eventDispatcher, providerFactory, api, dispatchAnalyticsEvent);
9
7
  }
10
8
  return withLazyLoading({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -70,7 +70,7 @@
70
70
  "@atlaskit/primitives": "^14.9.0",
71
71
  "@atlaskit/textfield": "^8.0.0",
72
72
  "@atlaskit/theme": "^18.0.0",
73
- "@atlaskit/tmp-editor-statsig": "^7.2.0",
73
+ "@atlaskit/tmp-editor-statsig": "^8.0.0",
74
74
  "@atlaskit/tokens": "^5.3.0",
75
75
  "@atlaskit/tooltip": "^20.3.0",
76
76
  "@babel/runtime": "^7.0.0",