@atlaskit/editor-plugin-expand 31.0.2 → 31.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 +7 -0
- package/dist/cjs/legacyExpand/plugin.js +0 -2
- package/dist/cjs/plugin.js +0 -2
- package/dist/cjs/singlePlayerExpand/plugin.js +0 -2
- package/dist/es2019/legacyExpand/plugin.js +1 -4
- package/dist/es2019/plugin.js +1 -3
- package/dist/es2019/singlePlayerExpand/plugin.js +1 -4
- package/dist/esm/legacyExpand/plugin.js +0 -3
- package/dist/esm/plugin.js +0 -2
- package/dist/esm/singlePlayerExpand/plugin.js +0 -3
- package/dist/types/legacyExpand/plugin.d.ts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/singlePlayerExpand/plugin.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -26,8 +26,6 @@ var _toolbar = require("./toolbar");
|
|
|
26
26
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
27
27
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28
28
|
var EXPAND_NODE_NAME = 'expand';
|
|
29
|
-
// Ignored via go/ees005
|
|
30
|
-
// eslint-disable-next-line prefer-const
|
|
31
29
|
var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
|
|
32
30
|
var _api$blockMenu, _api$analytics, _api$analytics2;
|
|
33
31
|
var _ref$config = _ref.config,
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -7,8 +7,6 @@ exports.expandPlugin = void 0;
|
|
|
7
7
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
8
8
|
var _plugin = require("./legacyExpand/plugin");
|
|
9
9
|
var _plugin2 = require("./singlePlayerExpand/plugin");
|
|
10
|
-
// Ignored via go/ees005
|
|
11
|
-
// eslint-disable-next-line prefer-const
|
|
12
10
|
var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
|
|
13
11
|
var _ref$config = _ref.config,
|
|
14
12
|
options = _ref$config === void 0 ? {} : _ref$config,
|
|
@@ -27,8 +27,6 @@ var _toolbar = require("./toolbar");
|
|
|
27
27
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
28
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29
29
|
var EXPAND_NODE_NAME = 'expand';
|
|
30
|
-
// Ignored via go/ees005
|
|
31
|
-
// eslint-disable-next-line prefer-const
|
|
32
30
|
var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
|
|
33
31
|
var _api$blockMenu;
|
|
34
32
|
var _ref$config = _ref.config,
|
|
@@ -16,10 +16,7 @@ import { createExpandNode, insertExpand, insertExpandWithInputMethod, toggleExpa
|
|
|
16
16
|
import { expandKeymap } from './pm-plugins/keymap';
|
|
17
17
|
import { createPlugin } from './pm-plugins/main';
|
|
18
18
|
import { getToolbarConfig } from './toolbar';
|
|
19
|
-
|
|
20
|
-
// Ignored via go/ees005
|
|
21
|
-
// eslint-disable-next-line prefer-const
|
|
22
|
-
export let expandPlugin = ({
|
|
19
|
+
export const expandPlugin = ({
|
|
23
20
|
config: options = {},
|
|
24
21
|
api
|
|
25
22
|
}) => {
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
2
2
|
import { expandPlugin as legacyExpandPlugin } from './legacyExpand/plugin';
|
|
3
3
|
import { expandPlugin as singlePlayerExpandPlugin } from './singlePlayerExpand/plugin';
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line prefer-const
|
|
6
|
-
export let expandPlugin = ({
|
|
4
|
+
export const expandPlugin = ({
|
|
7
5
|
config: options = {},
|
|
8
6
|
api
|
|
9
7
|
}) => {
|
|
@@ -17,10 +17,7 @@ import { createExpandNode, insertExpand, insertExpandWithInputMethod, toggleExpa
|
|
|
17
17
|
import { expandKeymap } from './pm-plugins/keymap';
|
|
18
18
|
import { createPlugin } from './pm-plugins/main';
|
|
19
19
|
import { getToolbarConfig } from './toolbar';
|
|
20
|
-
|
|
21
|
-
// Ignored via go/ees005
|
|
22
|
-
// eslint-disable-next-line prefer-const
|
|
23
|
-
export let expandPlugin = ({
|
|
20
|
+
export const expandPlugin = ({
|
|
24
21
|
config: options = {},
|
|
25
22
|
api
|
|
26
23
|
}) => {
|
|
@@ -19,9 +19,6 @@ import { createExpandNode, insertExpand, insertExpandWithInputMethod, toggleExpa
|
|
|
19
19
|
import { expandKeymap } from './pm-plugins/keymap';
|
|
20
20
|
import { createPlugin } from './pm-plugins/main';
|
|
21
21
|
import { getToolbarConfig } from './toolbar';
|
|
22
|
-
|
|
23
|
-
// Ignored via go/ees005
|
|
24
|
-
// eslint-disable-next-line prefer-const
|
|
25
22
|
export var expandPlugin = function expandPlugin(_ref) {
|
|
26
23
|
var _api$blockMenu, _api$analytics, _api$analytics2;
|
|
27
24
|
var _ref$config = _ref.config,
|
package/dist/esm/plugin.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
2
2
|
import { expandPlugin as legacyExpandPlugin } from './legacyExpand/plugin';
|
|
3
3
|
import { expandPlugin as singlePlayerExpandPlugin } from './singlePlayerExpand/plugin';
|
|
4
|
-
// Ignored via go/ees005
|
|
5
|
-
// eslint-disable-next-line prefer-const
|
|
6
4
|
export var expandPlugin = function expandPlugin(_ref) {
|
|
7
5
|
var _ref$config = _ref.config,
|
|
8
6
|
options = _ref$config === void 0 ? {} : _ref$config,
|
|
@@ -20,9 +20,6 @@ import { createExpandNode, insertExpand, insertExpandWithInputMethod, toggleExpa
|
|
|
20
20
|
import { expandKeymap } from './pm-plugins/keymap';
|
|
21
21
|
import { createPlugin } from './pm-plugins/main';
|
|
22
22
|
import { getToolbarConfig } from './toolbar';
|
|
23
|
-
|
|
24
|
-
// Ignored via go/ees005
|
|
25
|
-
// eslint-disable-next-line prefer-const
|
|
26
23
|
export var expandPlugin = function expandPlugin(_ref) {
|
|
27
24
|
var _api$blockMenu;
|
|
28
25
|
var _ref$config = _ref.config,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ExpandPlugin } from '../types';
|
|
2
|
-
export declare
|
|
2
|
+
export declare const expandPlugin: ExpandPlugin;
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ExpandPlugin } from './types';
|
|
2
|
-
export declare
|
|
2
|
+
export declare const expandPlugin: ExpandPlugin;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ExpandPlugin } from '../types';
|
|
2
|
-
export declare
|
|
2
|
+
export declare const expandPlugin: ExpandPlugin;
|