@atlaskit/editor-plugin-card 6.6.9 → 6.6.10

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-card
2
2
 
3
+ ## 6.6.10
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
  ## 6.6.9
4
13
 
5
14
  ### Patch Changes
@@ -11,9 +11,7 @@ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
11
11
  var _blockCard = require("./blockCard");
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 lazyBlockCardView = exports.lazyBlockCardView = function lazyBlockCardView(props) {
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, _blockCard.blockCardNodeView)(props);
18
16
  }
19
17
  return (0, _lazyNodeView.withLazyLoading)({
@@ -11,9 +11,7 @@ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
11
11
  var _embedCard = require("./embedCard");
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 lazyEmbedCardView = exports.lazyEmbedCardView = function lazyEmbedCardView(props) {
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, _embedCard.embedCardNodeView)(props);
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 { blockCardNodeView } from './blockCard';
4
4
  export const lazyBlockCardView = props => {
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 blockCardNodeView(props);
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 { embedCardNodeView } from './embedCard';
4
4
  export const lazyEmbedCardView = props => {
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 embedCardNodeView(props);
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 { blockCardNodeView } from './blockCard';
4
4
  export var lazyBlockCardView = function lazyBlockCardView(props) {
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 blockCardNodeView(props);
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 { embedCardNodeView } from './embedCard';
4
4
  export var lazyEmbedCardView = function lazyEmbedCardView(props) {
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 embedCardNodeView(props);
9
7
  }
10
8
  return withLazyLoading({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "6.6.9",
3
+ "version": "6.6.10",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -61,9 +61,9 @@
61
61
  "@atlaskit/menu": "^8.0.0",
62
62
  "@atlaskit/platform-feature-flags": "^1.1.0",
63
63
  "@atlaskit/primitives": "^14.9.0",
64
- "@atlaskit/smart-card": "^38.12.0",
64
+ "@atlaskit/smart-card": "^38.13.0",
65
65
  "@atlaskit/theme": "^18.0.0",
66
- "@atlaskit/tmp-editor-statsig": "^7.2.0",
66
+ "@atlaskit/tmp-editor-statsig": "^8.0.0",
67
67
  "@atlaskit/tokens": "^5.3.0",
68
68
  "@babel/runtime": "^7.0.0",
69
69
  "@emotion/react": "^11.7.1",