@atlaskit/editor-plugin-expand 4.2.8 → 4.3.0
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 +19 -0
- package/dist/cjs/legacyExpand/nodeviews/index.js +1 -3
- package/dist/cjs/singlePlayerExpand/node-views/index.js +1 -3
- package/dist/es2019/legacyExpand/nodeviews/index.js +1 -3
- package/dist/es2019/singlePlayerExpand/node-views/index.js +1 -3
- package/dist/esm/legacyExpand/nodeviews/index.js +1 -3
- package/dist/esm/singlePlayerExpand/node-views/index.js +1 -3
- package/dist/types/legacyExpand/commands.d.ts +5 -5
- package/dist/types/legacyExpand/nodeviews/index.d.ts +4 -4
- package/dist/types/singlePlayerExpand/commands.d.ts +3 -3
- package/dist/types/singlePlayerExpand/node-views/index.d.ts +4 -4
- package/dist/types/types.d.ts +11 -11
- package/dist/types-ts4.5/legacyExpand/commands.d.ts +5 -5
- package/dist/types-ts4.5/legacyExpand/nodeviews/index.d.ts +4 -4
- package/dist/types-ts4.5/singlePlayerExpand/commands.d.ts +3 -3
- package/dist/types-ts4.5/singlePlayerExpand/node-views/index.d.ts +4 -4
- package/dist/types-ts4.5/types.d.ts +11 -11
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 4.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`a0f51dcb9f31c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a0f51dcb9f31c) -
|
|
8
|
+
Debounced rendering of expand button
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 4.2.9
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
|
|
19
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 4.2.8
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -509,9 +509,7 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
509
509
|
allowInteractiveExpand: _this3.allowInteractiveExpand,
|
|
510
510
|
expanded: _this3.__livePage ? !__expanded : __expanded
|
|
511
511
|
});
|
|
512
|
-
}, this.icon, this.renderKey
|
|
513
|
-
// @portal-render-immediately
|
|
514
|
-
true);
|
|
512
|
+
}, this.icon, this.renderKey);
|
|
515
513
|
}
|
|
516
514
|
}, {
|
|
517
515
|
key: "stopEvent",
|
|
@@ -389,9 +389,7 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
389
389
|
allowInteractiveExpand: _this.allowInteractiveExpand,
|
|
390
390
|
expanded: expanded
|
|
391
391
|
});
|
|
392
|
-
}, icon, _this.renderKey
|
|
393
|
-
// @portal-render-immediately
|
|
394
|
-
true);
|
|
392
|
+
}, icon, _this.renderKey);
|
|
395
393
|
});
|
|
396
394
|
this.selectNearNode = selectNearNode;
|
|
397
395
|
this.__livePage = __livePage;
|
|
@@ -504,9 +504,7 @@ export class ExpandNodeView {
|
|
|
504
504
|
intl: intl,
|
|
505
505
|
allowInteractiveExpand: this.allowInteractiveExpand,
|
|
506
506
|
expanded: this.__livePage ? !__expanded : __expanded
|
|
507
|
-
}), this.icon, this.renderKey
|
|
508
|
-
// @portal-render-immediately
|
|
509
|
-
true);
|
|
507
|
+
}), this.icon, this.renderKey);
|
|
510
508
|
}
|
|
511
509
|
stopEvent(event) {
|
|
512
510
|
// Ignored via go/ees005
|
|
@@ -387,9 +387,7 @@ export class ExpandNodeView {
|
|
|
387
387
|
intl: this.intl,
|
|
388
388
|
allowInteractiveExpand: this.allowInteractiveExpand,
|
|
389
389
|
expanded: expanded
|
|
390
|
-
}), icon, this.renderKey
|
|
391
|
-
// @portal-render-immediately
|
|
392
|
-
true);
|
|
390
|
+
}), icon, this.renderKey);
|
|
393
391
|
});
|
|
394
392
|
this.selectNearNode = selectNearNode;
|
|
395
393
|
this.__livePage = __livePage;
|
|
@@ -501,9 +501,7 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
501
501
|
allowInteractiveExpand: _this3.allowInteractiveExpand,
|
|
502
502
|
expanded: _this3.__livePage ? !__expanded : __expanded
|
|
503
503
|
});
|
|
504
|
-
}, this.icon, this.renderKey
|
|
505
|
-
// @portal-render-immediately
|
|
506
|
-
true);
|
|
504
|
+
}, this.icon, this.renderKey);
|
|
507
505
|
}
|
|
508
506
|
}, {
|
|
509
507
|
key: "stopEvent",
|
|
@@ -381,9 +381,7 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
381
381
|
allowInteractiveExpand: _this.allowInteractiveExpand,
|
|
382
382
|
expanded: expanded
|
|
383
383
|
});
|
|
384
|
-
}, icon, _this.renderKey
|
|
385
|
-
// @portal-render-immediately
|
|
386
|
-
true);
|
|
384
|
+
}, icon, _this.renderKey);
|
|
387
385
|
});
|
|
388
386
|
this.selectNearNode = selectNearNode;
|
|
389
387
|
this.__livePage = __livePage;
|
|
@@ -8,16 +8,16 @@ export declare const setExpandRef: (ref?: HTMLDivElement | null) => Command;
|
|
|
8
8
|
export declare const deleteExpandAtPos: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (expandNodePos: number, expandNode: PMNode) => Command;
|
|
9
9
|
export declare const deleteExpand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
|
|
10
10
|
export declare const updateExpandTitle: ({ title, nodeType, pos, __livePage, }: {
|
|
11
|
-
title: string;
|
|
12
|
-
pos: number;
|
|
13
|
-
nodeType: NodeType;
|
|
14
11
|
__livePage: boolean;
|
|
12
|
+
nodeType: NodeType;
|
|
13
|
+
pos: number;
|
|
14
|
+
title: string;
|
|
15
15
|
}) => Command;
|
|
16
16
|
export declare const toggleExpandExpanded: ({ editorAnalyticsAPI, pos, nodeType, __livePage, }: {
|
|
17
|
+
__livePage: boolean;
|
|
17
18
|
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
18
|
-
pos: number;
|
|
19
19
|
nodeType: NodeType;
|
|
20
|
-
|
|
20
|
+
pos: number;
|
|
21
21
|
}) => Command;
|
|
22
22
|
export declare const createExpandNode: (state: EditorState) => PMNode | null;
|
|
23
23
|
export declare const insertExpandWithInputMethod: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod: InsertMethod) => Command;
|
|
@@ -49,17 +49,17 @@ export declare class ExpandNodeView implements NodeView {
|
|
|
49
49
|
private getContentEditable;
|
|
50
50
|
stopEvent(event: Event): boolean;
|
|
51
51
|
ignoreMutation(mutationRecord: MutationRecord | {
|
|
52
|
-
type: 'selection';
|
|
53
52
|
target: Node;
|
|
53
|
+
type: 'selection';
|
|
54
54
|
}): boolean;
|
|
55
55
|
update(node: PmNode, _decorations: readonly Decoration[]): boolean;
|
|
56
56
|
destroy(): void;
|
|
57
57
|
}
|
|
58
58
|
export default function ({ getIntl, isMobile, api, nodeViewPortalProviderAPI, allowInteractiveExpand, __livePage, }: {
|
|
59
|
+
__livePage: boolean;
|
|
60
|
+
allowInteractiveExpand: boolean;
|
|
61
|
+
api: ExtractInjectionAPI<ExpandPlugin> | undefined;
|
|
59
62
|
getIntl: () => IntlShape;
|
|
60
63
|
isMobile: boolean;
|
|
61
|
-
api: ExtractInjectionAPI<ExpandPlugin> | undefined;
|
|
62
64
|
nodeViewPortalProviderAPI: PortalProviderAPI;
|
|
63
|
-
allowInteractiveExpand: boolean;
|
|
64
|
-
__livePage: boolean;
|
|
65
65
|
}): (node: PmNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
@@ -12,13 +12,13 @@ export declare const deleteExpandAtPos: (editorAnalyticsAPI: EditorAnalyticsAPI
|
|
|
12
12
|
export declare const setSelectionInsideExpand: (expandPos: number) => Command;
|
|
13
13
|
export declare const toggleExpandExpanded: ({ editorAnalyticsAPI, pos, node, }: {
|
|
14
14
|
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
15
|
-
pos: number;
|
|
16
15
|
node: PMNode;
|
|
16
|
+
pos: number;
|
|
17
17
|
}) => Command;
|
|
18
18
|
export declare const updateExpandTitle: ({ title, nodeType, pos }: {
|
|
19
|
-
title: string;
|
|
20
|
-
pos: number;
|
|
21
19
|
nodeType: NodeType;
|
|
20
|
+
pos: number;
|
|
21
|
+
title: string;
|
|
22
22
|
}) => Command;
|
|
23
23
|
export declare const focusTitle: (pos: number) => Command;
|
|
24
24
|
export declare const focusIcon: (expand: Node) => Command;
|
|
@@ -48,8 +48,8 @@ export declare class ExpandNodeView implements NodeView {
|
|
|
48
48
|
private getContentEditable;
|
|
49
49
|
stopEvent(event: Event): boolean;
|
|
50
50
|
ignoreMutation(mutationRecord: MutationRecord | {
|
|
51
|
-
type: 'selection';
|
|
52
51
|
target: Node;
|
|
52
|
+
type: 'selection';
|
|
53
53
|
}): boolean;
|
|
54
54
|
update(node: PmNode, _decorations: readonly Decoration[]): boolean;
|
|
55
55
|
updateExpandToggleIcon(node: PmNode): void;
|
|
@@ -58,10 +58,10 @@ export declare class ExpandNodeView implements NodeView {
|
|
|
58
58
|
destroy(): void;
|
|
59
59
|
}
|
|
60
60
|
export default function ({ getIntl, isMobile, api, nodeViewPortalProviderAPI, allowInteractiveExpand, __livePage, }: {
|
|
61
|
+
__livePage: boolean;
|
|
62
|
+
allowInteractiveExpand: boolean;
|
|
63
|
+
api: ExtractInjectionAPI<ExpandPlugin> | undefined;
|
|
61
64
|
getIntl: () => IntlShape;
|
|
62
65
|
isMobile: boolean;
|
|
63
|
-
api: ExtractInjectionAPI<ExpandPlugin> | undefined;
|
|
64
66
|
nodeViewPortalProviderAPI: PortalProviderAPI;
|
|
65
|
-
allowInteractiveExpand: boolean;
|
|
66
|
-
__livePage: boolean;
|
|
67
67
|
}): (node: PmNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -13,21 +13,13 @@ export interface ExpandPluginState {
|
|
|
13
13
|
expandRef?: HTMLDivElement | null;
|
|
14
14
|
}
|
|
15
15
|
export type ExpandPluginAction = {
|
|
16
|
-
type: 'SET_EXPAND_REF';
|
|
17
16
|
data: {
|
|
18
17
|
ref?: HTMLDivElement | null;
|
|
19
18
|
};
|
|
19
|
+
type: 'SET_EXPAND_REF';
|
|
20
20
|
};
|
|
21
21
|
export type InsertMethod = INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU;
|
|
22
22
|
export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
23
|
-
allowInsertion?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Allows the expand button to toggle. Previously this was set via the editor prop featureFlag (`interactiveExpand`)
|
|
26
|
-
*
|
|
27
|
-
* Defaults to true
|
|
28
|
-
*/
|
|
29
|
-
allowInteractiveExpand?: boolean;
|
|
30
|
-
appearance?: EditorAppearance;
|
|
31
23
|
/**
|
|
32
24
|
* There is expected to be temporary divergence between Live Page editor expand behaviour and the standard expand behaviour.
|
|
33
25
|
*
|
|
@@ -38,6 +30,14 @@ export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
|
38
30
|
* @default false
|
|
39
31
|
*/
|
|
40
32
|
__livePage?: boolean;
|
|
33
|
+
allowInsertion?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Allows the expand button to toggle. Previously this was set via the editor prop featureFlag (`interactiveExpand`)
|
|
36
|
+
*
|
|
37
|
+
* Defaults to true
|
|
38
|
+
*/
|
|
39
|
+
allowInteractiveExpand?: boolean;
|
|
40
|
+
appearance?: EditorAppearance;
|
|
41
41
|
}
|
|
42
42
|
export type ExpandPluginDependencies = [
|
|
43
43
|
DecorationsPlugin,
|
|
@@ -49,8 +49,6 @@ export type ExpandPluginDependencies = [
|
|
|
49
49
|
OptionalPlugin<EditorViewModePlugin>
|
|
50
50
|
];
|
|
51
51
|
export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
52
|
-
pluginConfiguration: ExpandPluginOptions | undefined;
|
|
53
|
-
dependencies: ExpandPluginDependencies;
|
|
54
52
|
actions: {
|
|
55
53
|
/**
|
|
56
54
|
* Insert an expand node and dispatch event with `insertMenu` inputMethod
|
|
@@ -67,4 +65,6 @@ export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
|
67
65
|
*/
|
|
68
66
|
toggleExpandWithMatch: (selection: Selection) => EditorCommand;
|
|
69
67
|
};
|
|
68
|
+
dependencies: ExpandPluginDependencies;
|
|
69
|
+
pluginConfiguration: ExpandPluginOptions | undefined;
|
|
70
70
|
}>;
|
|
@@ -8,16 +8,16 @@ export declare const setExpandRef: (ref?: HTMLDivElement | null) => Command;
|
|
|
8
8
|
export declare const deleteExpandAtPos: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (expandNodePos: number, expandNode: PMNode) => Command;
|
|
9
9
|
export declare const deleteExpand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
|
|
10
10
|
export declare const updateExpandTitle: ({ title, nodeType, pos, __livePage, }: {
|
|
11
|
-
title: string;
|
|
12
|
-
pos: number;
|
|
13
|
-
nodeType: NodeType;
|
|
14
11
|
__livePage: boolean;
|
|
12
|
+
nodeType: NodeType;
|
|
13
|
+
pos: number;
|
|
14
|
+
title: string;
|
|
15
15
|
}) => Command;
|
|
16
16
|
export declare const toggleExpandExpanded: ({ editorAnalyticsAPI, pos, nodeType, __livePage, }: {
|
|
17
|
+
__livePage: boolean;
|
|
17
18
|
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
18
|
-
pos: number;
|
|
19
19
|
nodeType: NodeType;
|
|
20
|
-
|
|
20
|
+
pos: number;
|
|
21
21
|
}) => Command;
|
|
22
22
|
export declare const createExpandNode: (state: EditorState) => PMNode | null;
|
|
23
23
|
export declare const insertExpandWithInputMethod: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod: InsertMethod) => Command;
|
|
@@ -49,17 +49,17 @@ export declare class ExpandNodeView implements NodeView {
|
|
|
49
49
|
private getContentEditable;
|
|
50
50
|
stopEvent(event: Event): boolean;
|
|
51
51
|
ignoreMutation(mutationRecord: MutationRecord | {
|
|
52
|
-
type: 'selection';
|
|
53
52
|
target: Node;
|
|
53
|
+
type: 'selection';
|
|
54
54
|
}): boolean;
|
|
55
55
|
update(node: PmNode, _decorations: readonly Decoration[]): boolean;
|
|
56
56
|
destroy(): void;
|
|
57
57
|
}
|
|
58
58
|
export default function ({ getIntl, isMobile, api, nodeViewPortalProviderAPI, allowInteractiveExpand, __livePage, }: {
|
|
59
|
+
__livePage: boolean;
|
|
60
|
+
allowInteractiveExpand: boolean;
|
|
61
|
+
api: ExtractInjectionAPI<ExpandPlugin> | undefined;
|
|
59
62
|
getIntl: () => IntlShape;
|
|
60
63
|
isMobile: boolean;
|
|
61
|
-
api: ExtractInjectionAPI<ExpandPlugin> | undefined;
|
|
62
64
|
nodeViewPortalProviderAPI: PortalProviderAPI;
|
|
63
|
-
allowInteractiveExpand: boolean;
|
|
64
|
-
__livePage: boolean;
|
|
65
65
|
}): (node: PmNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
@@ -12,13 +12,13 @@ export declare const deleteExpandAtPos: (editorAnalyticsAPI: EditorAnalyticsAPI
|
|
|
12
12
|
export declare const setSelectionInsideExpand: (expandPos: number) => Command;
|
|
13
13
|
export declare const toggleExpandExpanded: ({ editorAnalyticsAPI, pos, node, }: {
|
|
14
14
|
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
15
|
-
pos: number;
|
|
16
15
|
node: PMNode;
|
|
16
|
+
pos: number;
|
|
17
17
|
}) => Command;
|
|
18
18
|
export declare const updateExpandTitle: ({ title, nodeType, pos }: {
|
|
19
|
-
title: string;
|
|
20
|
-
pos: number;
|
|
21
19
|
nodeType: NodeType;
|
|
20
|
+
pos: number;
|
|
21
|
+
title: string;
|
|
22
22
|
}) => Command;
|
|
23
23
|
export declare const focusTitle: (pos: number) => Command;
|
|
24
24
|
export declare const focusIcon: (expand: Node) => Command;
|
|
@@ -48,8 +48,8 @@ export declare class ExpandNodeView implements NodeView {
|
|
|
48
48
|
private getContentEditable;
|
|
49
49
|
stopEvent(event: Event): boolean;
|
|
50
50
|
ignoreMutation(mutationRecord: MutationRecord | {
|
|
51
|
-
type: 'selection';
|
|
52
51
|
target: Node;
|
|
52
|
+
type: 'selection';
|
|
53
53
|
}): boolean;
|
|
54
54
|
update(node: PmNode, _decorations: readonly Decoration[]): boolean;
|
|
55
55
|
updateExpandToggleIcon(node: PmNode): void;
|
|
@@ -58,10 +58,10 @@ export declare class ExpandNodeView implements NodeView {
|
|
|
58
58
|
destroy(): void;
|
|
59
59
|
}
|
|
60
60
|
export default function ({ getIntl, isMobile, api, nodeViewPortalProviderAPI, allowInteractiveExpand, __livePage, }: {
|
|
61
|
+
__livePage: boolean;
|
|
62
|
+
allowInteractiveExpand: boolean;
|
|
63
|
+
api: ExtractInjectionAPI<ExpandPlugin> | undefined;
|
|
61
64
|
getIntl: () => IntlShape;
|
|
62
65
|
isMobile: boolean;
|
|
63
|
-
api: ExtractInjectionAPI<ExpandPlugin> | undefined;
|
|
64
66
|
nodeViewPortalProviderAPI: PortalProviderAPI;
|
|
65
|
-
allowInteractiveExpand: boolean;
|
|
66
|
-
__livePage: boolean;
|
|
67
67
|
}): (node: PmNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
@@ -13,21 +13,13 @@ export interface ExpandPluginState {
|
|
|
13
13
|
expandRef?: HTMLDivElement | null;
|
|
14
14
|
}
|
|
15
15
|
export type ExpandPluginAction = {
|
|
16
|
-
type: 'SET_EXPAND_REF';
|
|
17
16
|
data: {
|
|
18
17
|
ref?: HTMLDivElement | null;
|
|
19
18
|
};
|
|
19
|
+
type: 'SET_EXPAND_REF';
|
|
20
20
|
};
|
|
21
21
|
export type InsertMethod = INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU;
|
|
22
22
|
export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
23
|
-
allowInsertion?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Allows the expand button to toggle. Previously this was set via the editor prop featureFlag (`interactiveExpand`)
|
|
26
|
-
*
|
|
27
|
-
* Defaults to true
|
|
28
|
-
*/
|
|
29
|
-
allowInteractiveExpand?: boolean;
|
|
30
|
-
appearance?: EditorAppearance;
|
|
31
23
|
/**
|
|
32
24
|
* There is expected to be temporary divergence between Live Page editor expand behaviour and the standard expand behaviour.
|
|
33
25
|
*
|
|
@@ -38,6 +30,14 @@ export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
|
38
30
|
* @default false
|
|
39
31
|
*/
|
|
40
32
|
__livePage?: boolean;
|
|
33
|
+
allowInsertion?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Allows the expand button to toggle. Previously this was set via the editor prop featureFlag (`interactiveExpand`)
|
|
36
|
+
*
|
|
37
|
+
* Defaults to true
|
|
38
|
+
*/
|
|
39
|
+
allowInteractiveExpand?: boolean;
|
|
40
|
+
appearance?: EditorAppearance;
|
|
41
41
|
}
|
|
42
42
|
export type ExpandPluginDependencies = [
|
|
43
43
|
DecorationsPlugin,
|
|
@@ -49,8 +49,6 @@ export type ExpandPluginDependencies = [
|
|
|
49
49
|
OptionalPlugin<EditorViewModePlugin>
|
|
50
50
|
];
|
|
51
51
|
export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
52
|
-
pluginConfiguration: ExpandPluginOptions | undefined;
|
|
53
|
-
dependencies: ExpandPluginDependencies;
|
|
54
52
|
actions: {
|
|
55
53
|
/**
|
|
56
54
|
* Insert an expand node and dispatch event with `insertMenu` inputMethod
|
|
@@ -67,4 +65,6 @@ export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
|
67
65
|
*/
|
|
68
66
|
toggleExpandWithMatch: (selection: Selection) => EditorCommand;
|
|
69
67
|
};
|
|
68
|
+
dependencies: ExpandPluginDependencies;
|
|
69
|
+
pluginConfiguration: ExpandPluginOptions | undefined;
|
|
70
70
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"@atlaskit/adf-schema": "^50.2.1",
|
|
36
36
|
"@atlaskit/button": "^23.4.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^3.0.0",
|
|
38
|
-
"@atlaskit/editor-plugin-decorations": "^3.
|
|
38
|
+
"@atlaskit/editor-plugin-decorations": "^3.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-disabled": "^3.0.0",
|
|
40
40
|
"@atlaskit/editor-plugin-editor-viewmode": "^5.0.0",
|
|
41
|
-
"@atlaskit/editor-plugin-selection": "^3.
|
|
41
|
+
"@atlaskit/editor-plugin-selection": "^3.2.0",
|
|
42
42
|
"@atlaskit/editor-plugin-selection-marker": "^3.0.0",
|
|
43
43
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
44
44
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
45
45
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
46
46
|
"@atlaskit/icon": "^28.0.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^11.
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^11.6.0",
|
|
49
49
|
"@atlaskit/tokens": "^6.0.0",
|
|
50
50
|
"@atlaskit/tooltip": "^20.4.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"w3c-keyname": "^2.1.8"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@atlaskit/editor-common": "^107.
|
|
57
|
+
"@atlaskit/editor-common": "^107.29.0",
|
|
58
58
|
"react": "^18.2.0",
|
|
59
59
|
"react-dom": "^18.2.0",
|
|
60
60
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/editor-plugin-content-insertion": "^3.1.0",
|
|
65
65
|
"@atlaskit/editor-plugin-guideline": "^3.0.0",
|
|
66
66
|
"@atlaskit/editor-plugin-quick-insert": "^3.0.0",
|
|
67
|
-
"@atlaskit/editor-plugin-table": "^12.
|
|
67
|
+
"@atlaskit/editor-plugin-table": "^12.3.0",
|
|
68
68
|
"@atlaskit/editor-plugin-type-ahead": "^3.1.0",
|
|
69
69
|
"@atlaskit/editor-plugin-width": "^4.0.0",
|
|
70
70
|
"@testing-library/react": "^13.4.0",
|