@atlaskit/editor-plugin-loom 4.1.4 → 4.1.6

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,17 @@
1
1
  # @atlaskit/editor-plugin-loom
2
2
 
3
+ ## 4.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.1.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 4.1.4
4
16
 
5
17
  ### Patch Changes
@@ -83,8 +83,8 @@ var recordVideoFailed = exports.recordVideoFailed = function recordVideoFailed(_
83
83
  var insertVideo = exports.insertVideo = function insertVideo(_ref9) {
84
84
  var editorAnalyticsAPI = _ref9.editorAnalyticsAPI,
85
85
  video = _ref9.video;
86
- return function (_ref10) {
87
- var tr = _ref10.tr;
86
+ return function (_ref0) {
87
+ var tr = _ref0.tr;
88
88
  tr.setMeta(_main.loomPluginKey, {
89
89
  type: _main.LoomPluginAction.INSERT_VIDEO
90
90
  });
@@ -140,7 +140,7 @@ var executeRecordVideo = exports.executeRecordVideo = function executeRecordVide
140
140
  }));
141
141
  };
142
142
  var setupLoom = exports.setupLoom = /*#__PURE__*/function () {
143
- var _ref11 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(loomProvider, api, editorView, initViaCommand) {
143
+ var _ref1 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(loomProvider, api, editorView, initViaCommand) {
144
144
  var _api$core4, _api$analytics5;
145
145
  var clientResult, _api$core2, _api$analytics2, attachToButton, loomButton;
146
146
  return _regenerator.default.wrap(function _callee$(_context) {
@@ -194,8 +194,8 @@ var setupLoom = exports.setupLoom = /*#__PURE__*/function () {
194
194
  }));
195
195
  }
196
196
  });
197
- api === null || api === void 0 || (_api$core4 = api.core) === null || _api$core4 === void 0 || _api$core4.actions.execute(function (_ref12) {
198
- var tr = _ref12.tr;
197
+ api === null || api === void 0 || (_api$core4 = api.core) === null || _api$core4 === void 0 || _api$core4.actions.execute(function (_ref10) {
198
+ var tr = _ref10.tr;
199
199
  enableLoom({
200
200
  loomButton: loomButton
201
201
  })({
@@ -227,6 +227,6 @@ var setupLoom = exports.setupLoom = /*#__PURE__*/function () {
227
227
  }, _callee);
228
228
  }));
229
229
  return function setupLoom(_x, _x2, _x3, _x4) {
230
- return _ref11.apply(this, arguments);
230
+ return _ref1.apply(this, arguments);
231
231
  };
232
232
  }();
@@ -20,8 +20,7 @@ var _excluded = ["onClickBeforeInit", "isDisabled", "href"];
20
20
  * @jsx jsx
21
21
  */
22
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
+ 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" != _typeof(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); }
25
24
  var useSharedState = (0, _hooks.sharedPluginStateHookMigratorFactory)(function (api) {
26
25
  var loomEnabled = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'loom.isEnabled');
27
26
  var connectivityMode = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'connectivity.mode');
@@ -78,8 +78,8 @@ export var recordVideoFailed = function recordVideoFailed(_ref7) {
78
78
  export var insertVideo = function insertVideo(_ref9) {
79
79
  var editorAnalyticsAPI = _ref9.editorAnalyticsAPI,
80
80
  video = _ref9.video;
81
- return function (_ref10) {
82
- var tr = _ref10.tr;
81
+ return function (_ref0) {
82
+ var tr = _ref0.tr;
83
83
  tr.setMeta(loomPluginKey, {
84
84
  type: LoomPluginAction.INSERT_VIDEO
85
85
  });
@@ -135,7 +135,7 @@ export var executeRecordVideo = function executeRecordVideo(api) {
135
135
  }));
136
136
  };
137
137
  export var setupLoom = /*#__PURE__*/function () {
138
- var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(loomProvider, api, editorView, initViaCommand) {
138
+ var _ref1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(loomProvider, api, editorView, initViaCommand) {
139
139
  var _api$core4, _api$analytics5;
140
140
  var clientResult, _api$core2, _api$analytics2, attachToButton, loomButton;
141
141
  return _regeneratorRuntime.wrap(function _callee$(_context) {
@@ -189,8 +189,8 @@ export var setupLoom = /*#__PURE__*/function () {
189
189
  }));
190
190
  }
191
191
  });
192
- api === null || api === void 0 || (_api$core4 = api.core) === null || _api$core4 === void 0 || _api$core4.actions.execute(function (_ref12) {
193
- var tr = _ref12.tr;
192
+ api === null || api === void 0 || (_api$core4 = api.core) === null || _api$core4 === void 0 || _api$core4.actions.execute(function (_ref10) {
193
+ var tr = _ref10.tr;
194
194
  enableLoom({
195
195
  loomButton: loomButton
196
196
  })({
@@ -222,6 +222,6 @@ export var setupLoom = /*#__PURE__*/function () {
222
222
  }, _callee);
223
223
  }));
224
224
  return function setupLoom(_x, _x2, _x3, _x4) {
225
- return _ref11.apply(this, arguments);
225
+ return _ref1.apply(this, arguments);
226
226
  };
227
227
  }();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-loom",
3
- "version": "4.1.4",
3
+ "version": "4.1.6",
4
4
  "description": "Loom plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,16 +37,16 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@atlaskit/button": "^23.2.0",
40
- "@atlaskit/editor-common": "^106.0.0",
40
+ "@atlaskit/editor-common": "^106.9.0",
41
41
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
42
- "@atlaskit/editor-plugin-hyperlink": "^4.4.0",
42
+ "@atlaskit/editor-plugin-hyperlink": "^4.5.0",
43
43
  "@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
44
- "@atlaskit/editor-plugin-quick-insert": "^2.5.0",
44
+ "@atlaskit/editor-plugin-quick-insert": "^2.6.0",
45
45
  "@atlaskit/editor-plugin-width": "^3.0.0",
46
46
  "@atlaskit/editor-prosemirror": "7.0.0",
47
- "@atlaskit/icon": "^26.4.0",
47
+ "@atlaskit/icon": "^27.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
- "@atlaskit/tokens": "^4.9.0",
49
+ "@atlaskit/tokens": "^5.2.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "@loomhq/record-sdk": "^2.36.18"
@@ -58,12 +58,12 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@atlaskit/editor-plugin-base": "^3.0.0",
61
- "@atlaskit/editor-plugin-card": "^6.4.0",
61
+ "@atlaskit/editor-plugin-card": "^6.6.0",
62
62
  "@atlaskit/editor-plugin-copy-button": "^2.0.0",
63
63
  "@atlaskit/editor-plugin-decorations": "^2.0.0",
64
- "@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
64
+ "@atlaskit/editor-plugin-editor-disabled": "^2.1.0",
65
65
  "@atlaskit/editor-plugin-feature-flags": "^1.4.0",
66
- "@atlaskit/editor-plugin-floating-toolbar": "^4.1.0",
66
+ "@atlaskit/editor-plugin-floating-toolbar": "^4.2.0",
67
67
  "@atlaskit/editor-plugin-grid": "^2.0.0",
68
68
  "@testing-library/react": "^13.4.0",
69
69
  "@testing-library/user-event": "^14.4.3",
@@ -105,5 +105,10 @@
105
105
  "import-no-extraneous-disable-for-examples-and-docs"
106
106
  ]
107
107
  }
108
+ },
109
+ "platform-feature-flags": {
110
+ "should-render-to-parent-should-be-true-editor-lego": {
111
+ "type": "boolean"
112
+ }
108
113
  }
109
114
  }