@atlaskit/editor-plugin-loom 9.0.1 → 9.0.3

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,19 @@
1
1
  # @atlaskit/editor-plugin-loom
2
2
 
3
+ ## 9.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1265c260f9bad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1265c260f9bad) -
14
+ [ED-29455] clean up experiment platform_editor_toolbar_migrate_loom
15
+ - Updated dependencies
16
+
3
17
  ## 9.0.1
4
18
 
5
19
  ### Patch Changes
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.loomPlugin = void 0;
7
7
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
8
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
9
8
  var _commands = require("./pm-plugins/commands");
10
9
  var _main = require("./pm-plugins/main");
11
10
  var _PrimaryToolbarButton = require("./ui/PrimaryToolbarButton");
@@ -16,7 +15,7 @@ var loomPlugin = exports.loomPlugin = function loomPlugin(_ref) {
16
15
  var config = _ref.config,
17
16
  api = _ref.api;
18
17
  var editorAnalyticsAPI = api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions;
19
- var isNewToolbarEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && (0, _expValEquals.expValEquals)('platform_editor_toolbar_migrate_loom', 'isEnabled', true);
18
+ var isNewToolbarEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
20
19
 
21
20
  // Workaround since we want to insert a loom via the `hyperlink` plugin for now.
22
21
  // The hyperlink plugin (and the card plugin) are deeply tied into using the Prosemirror Command
@@ -1,5 +1,4 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
2
  import { insertLoom, recordVideo, setupLoom } from './pm-plugins/commands';
4
3
  import { createPlugin, loomPluginKey } from './pm-plugins/main';
5
4
  import { loomPrimaryToolbarComponent } from './ui/PrimaryToolbarButton';
@@ -11,7 +10,7 @@ export const loomPlugin = ({
11
10
  }) => {
12
11
  var _api$analytics;
13
12
  const editorAnalyticsAPI = api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions;
14
- const isNewToolbarEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && expValEquals('platform_editor_toolbar_migrate_loom', 'isEnabled', true);
13
+ const isNewToolbarEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
15
14
 
16
15
  // Workaround since we want to insert a loom via the `hyperlink` plugin for now.
17
16
  // The hyperlink plugin (and the card plugin) are deeply tied into using the Prosemirror Command
@@ -1,5 +1,4 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
2
  import { insertLoom as _insertLoom, recordVideo, setupLoom } from './pm-plugins/commands';
4
3
  import { createPlugin, loomPluginKey } from './pm-plugins/main';
5
4
  import { loomPrimaryToolbarComponent } from './ui/PrimaryToolbarButton';
@@ -10,7 +9,7 @@ export var loomPlugin = function loomPlugin(_ref) {
10
9
  var config = _ref.config,
11
10
  api = _ref.api;
12
11
  var editorAnalyticsAPI = api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions;
13
- var isNewToolbarEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && expValEquals('platform_editor_toolbar_migrate_loom', 'isEnabled', true);
12
+ var isNewToolbarEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
14
13
 
15
14
  // Workaround since we want to insert a loom via the `hyperlink` plugin for now.
16
15
  // The hyperlink plugin (and the card plugin) are deeply tied into using the Prosemirror Command
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-loom",
3
- "version": "9.0.1",
3
+ "version": "9.0.3",
4
4
  "description": "Loom plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/editor-plugin-editor-viewmode": "^9.0.0",
39
39
  "@atlaskit/editor-plugin-hyperlink": "^9.0.0",
40
40
  "@atlaskit/editor-plugin-primary-toolbar": "^8.0.0",
41
- "@atlaskit/editor-plugin-quick-insert": "^7.0.0",
41
+ "@atlaskit/editor-plugin-quick-insert": "^7.1.0",
42
42
  "@atlaskit/editor-plugin-toolbar": "^4.0.0",
43
43
  "@atlaskit/editor-plugin-width": "^8.0.0",
44
44
  "@atlaskit/editor-prosemirror": "^7.2.0",
@@ -46,14 +46,14 @@
46
46
  "@atlaskit/icon": "^29.4.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
48
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
49
- "@atlaskit/tmp-editor-statsig": "^16.11.0",
50
- "@atlaskit/tokens": "^9.1.0",
49
+ "@atlaskit/tmp-editor-statsig": "^16.23.0",
50
+ "@atlaskit/tokens": "^10.0.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1",
53
- "@loomhq/record-sdk": "^4.6.2"
53
+ "@loomhq/record-sdk": "^4.7.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^111.7.0",
56
+ "@atlaskit/editor-common": "^111.8.0",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
59
  "react-intl-next": "npm:react-intl@^5.18.1"