@atlaskit/editor-core 193.25.3 → 193.26.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 +23 -0
- package/dist/cjs/ui/ContentStyles/extension.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/extension.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/extension.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +114 -31
- package/dist/types/presets/default.d.ts +110 -30
- package/dist/types/presets/universal.d.ts +114 -31
- package/dist/types/presets/useUniversalPreset.d.ts +114 -31
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +135 -21
- package/dist/types-ts4.5/presets/default.d.ts +130 -20
- package/dist/types-ts4.5/presets/universal.d.ts +135 -21
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +135 -21
- package/package.json +14 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#110262](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110262)
|
|
8
|
+
[`5a9ede4b76193`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5a9ede4b76193) -
|
|
9
|
+
Added paragraph and heading NodeSpecs flag back
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#109540](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109540)
|
|
14
|
+
[`2267be0c78aea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2267be0c78aea) -
|
|
15
|
+
[ux] Fix hover and remove interactions with new macro UX updates and update vr test snapshots
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
18
|
+
## 193.25.4
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [#109033](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109033)
|
|
23
|
+
[`046555d9a96ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/046555d9a96ea) -
|
|
24
|
+
Removes LD flag for Preserve Table Widths part two feature.
|
|
25
|
+
|
|
3
26
|
## 193.25.3
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
|
11
11
|
var _colors = require("@atlaskit/theme/colors");
|
|
12
12
|
var _templateObject, _templateObject2;
|
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
14
|
-
var extensionLabelStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t&.danger > span > div > .extension-label {\n\t\tbackground-color: ", ";\n\t\tcolor: ", ";\n\t\topacity: 1;\n\t\
|
|
14
|
+
var extensionLabelStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t&.danger > span > div > .extension-label {\n\t\tbackground-color: ", ";\n\t\tcolor: ", ";\n\t\topacity: 1;\n\t\tbox-shadow: none;\n\t}\n\n\t&:not(.danger).", " > span > div > .extension-label {\n\t\tbackground-color: ", ";\n\t\tcolor: ", ";\n\t\topacity: 1;\n\t\tbox-shadow: none;\n\t}\n"])), "var(--ds-background-accent-red-subtler, ".concat(_colors.R50, ")"), "var(--ds-text-danger, ".concat(_colors.R400, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, "var(--ds-background-selected, ".concat(_colors.B50, ")"), "var(--ds-text-selected, ".concat(_colors.B400, ")"));
|
|
15
15
|
var dangerOverlayStyles = (0, _react.css)({
|
|
16
16
|
opacity: 0.3,
|
|
17
17
|
backgroundColor: "var(--ds-background-danger-hovered, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")")
|
|
@@ -7,14 +7,14 @@ const extensionLabelStyles = css`
|
|
|
7
7
|
background-color: ${`var(--ds-background-accent-red-subtler, ${R50})`};
|
|
8
8
|
color: ${`var(--ds-text-danger, ${R400})`};
|
|
9
9
|
opacity: 1;
|
|
10
|
-
|
|
10
|
+
box-shadow: none;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&:not(.danger).${akEditorSelectedNodeClassName} > span > div > .extension-label {
|
|
14
14
|
background-color: ${`var(--ds-background-selected, ${B50})`};
|
|
15
15
|
color: ${`var(--ds-text-selected, ${B400})`};
|
|
16
16
|
opacity: 1;
|
|
17
|
-
|
|
17
|
+
box-shadow: none;
|
|
18
18
|
}
|
|
19
19
|
`;
|
|
20
20
|
const dangerOverlayStyles = css({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.
|
|
2
|
+
export const version = "193.26.0";
|
|
@@ -4,7 +4,7 @@ import { css } from '@emotion/react';
|
|
|
4
4
|
import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
|
|
5
5
|
import { B400, B50, R400, R50 } from '@atlaskit/theme/colors';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
7
|
-
var extensionLabelStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t&.danger > span > div > .extension-label {\n\t\tbackground-color: ", ";\n\t\tcolor: ", ";\n\t\topacity: 1;\n\t\
|
|
7
|
+
var extensionLabelStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t&.danger > span > div > .extension-label {\n\t\tbackground-color: ", ";\n\t\tcolor: ", ";\n\t\topacity: 1;\n\t\tbox-shadow: none;\n\t}\n\n\t&:not(.danger).", " > span > div > .extension-label {\n\t\tbackground-color: ", ";\n\t\tcolor: ", ";\n\t\topacity: 1;\n\t\tbox-shadow: none;\n\t}\n"])), "var(--ds-background-accent-red-subtler, ".concat(R50, ")"), "var(--ds-text-danger, ".concat(R400, ")"), akEditorSelectedNodeClassName, "var(--ds-background-selected, ".concat(B50, ")"), "var(--ds-text-selected, ".concat(B400, ")"));
|
|
8
8
|
var dangerOverlayStyles = css({
|
|
9
9
|
opacity: 0.3,
|
|
10
10
|
backgroundColor: "var(--ds-background-danger-hovered, ".concat(akEditorDeleteBackground, ")")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.
|
|
2
|
+
export var version = "193.26.0";
|
|
@@ -259,9 +259,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
259
259
|
}, {
|
|
260
260
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
261
261
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
262
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
262
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
263
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
264
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
263
265
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
264
|
-
}, undefined
|
|
266
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
267
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
268
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
269
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
265
270
|
sharedState: {
|
|
266
271
|
isMenuOpen: boolean;
|
|
267
272
|
activeNode: {
|
|
@@ -276,7 +281,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
276
281
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
277
282
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
278
283
|
};
|
|
279
|
-
}, undefined
|
|
284
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
285
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
286
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
287
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
280
288
|
actions: {
|
|
281
289
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
282
290
|
};
|
|
@@ -515,9 +523,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
515
523
|
}, {
|
|
516
524
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
517
525
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
518
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
526
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
527
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
528
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
519
529
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
520
|
-
}, undefined
|
|
530
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
531
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
532
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
533
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
521
534
|
sharedState: {
|
|
522
535
|
isMenuOpen: boolean;
|
|
523
536
|
activeNode: {
|
|
@@ -532,7 +545,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
532
545
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
533
546
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
534
547
|
};
|
|
535
|
-
}, undefined
|
|
548
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
549
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
550
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
551
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
536
552
|
actions: {
|
|
537
553
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
538
554
|
};
|
|
@@ -1241,9 +1257,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1241
1257
|
}, {
|
|
1242
1258
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1243
1259
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1244
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
1260
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1261
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1262
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1245
1263
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1246
|
-
}, undefined
|
|
1264
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1265
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1266
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1267
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1247
1268
|
sharedState: {
|
|
1248
1269
|
isMenuOpen: boolean;
|
|
1249
1270
|
activeNode: {
|
|
@@ -1258,7 +1279,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1258
1279
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1259
1280
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1260
1281
|
};
|
|
1261
|
-
}, undefined
|
|
1282
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1283
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1284
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1285
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1262
1286
|
actions: {
|
|
1263
1287
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1264
1288
|
};
|
|
@@ -1769,9 +1793,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1769
1793
|
}, {
|
|
1770
1794
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1771
1795
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1772
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
1796
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1797
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1798
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1773
1799
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1774
|
-
}, undefined
|
|
1800
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1801
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1802
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1803
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1775
1804
|
sharedState: {
|
|
1776
1805
|
isMenuOpen: boolean;
|
|
1777
1806
|
activeNode: {
|
|
@@ -1786,7 +1815,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1786
1815
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1787
1816
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1788
1817
|
};
|
|
1789
|
-
}, undefined
|
|
1818
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1819
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1820
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1821
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1790
1822
|
actions: {
|
|
1791
1823
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1792
1824
|
};
|
|
@@ -2158,7 +2190,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2158
2190
|
};
|
|
2159
2191
|
}, {
|
|
2160
2192
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2161
|
-
} | undefined
|
|
2193
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2194
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2195
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2196
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2162
2197
|
}, import("@atlaskit/editor-plugin-table").TablePluginOptions | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
2163
2198
|
pluginConfiguration: import("@atlaskit/editor-plugin-emoji").EmojiPluginOptions | undefined;
|
|
2164
2199
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2522,9 +2557,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2522
2557
|
}, {
|
|
2523
2558
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2524
2559
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
2525
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
2560
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2561
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2562
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2526
2563
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2527
|
-
}, undefined
|
|
2564
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2565
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2566
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2567
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2528
2568
|
sharedState: {
|
|
2529
2569
|
isMenuOpen: boolean;
|
|
2530
2570
|
activeNode: {
|
|
@@ -2539,7 +2579,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2539
2579
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2540
2580
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2541
2581
|
};
|
|
2542
|
-
}, undefined
|
|
2582
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2583
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2584
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2585
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2543
2586
|
actions: {
|
|
2544
2587
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
2545
2588
|
};
|
|
@@ -3126,9 +3169,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3126
3169
|
}, {
|
|
3127
3170
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3128
3171
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
3129
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
3172
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
3173
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3174
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3130
3175
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3131
|
-
}, undefined
|
|
3176
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3177
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3178
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3179
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3132
3180
|
sharedState: {
|
|
3133
3181
|
isMenuOpen: boolean;
|
|
3134
3182
|
activeNode: {
|
|
@@ -3143,7 +3191,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3143
3191
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3144
3192
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3145
3193
|
};
|
|
3146
|
-
}, undefined
|
|
3194
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3195
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3196
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3197
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3147
3198
|
actions: {
|
|
3148
3199
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
3149
3200
|
};
|
|
@@ -3386,9 +3437,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3386
3437
|
}, {
|
|
3387
3438
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3388
3439
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
3389
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
3440
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
3441
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3442
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3390
3443
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3391
|
-
}, undefined
|
|
3444
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3445
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3446
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3447
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3392
3448
|
sharedState: {
|
|
3393
3449
|
isMenuOpen: boolean;
|
|
3394
3450
|
activeNode: {
|
|
@@ -3403,7 +3459,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3403
3459
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3404
3460
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3405
3461
|
};
|
|
3406
|
-
}, undefined
|
|
3462
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3463
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3464
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3465
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3407
3466
|
actions: {
|
|
3408
3467
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
3409
3468
|
};
|
|
@@ -3860,9 +3919,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3860
3919
|
}, {
|
|
3861
3920
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3862
3921
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
3863
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
3922
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
3923
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3924
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3864
3925
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3865
|
-
}, undefined
|
|
3926
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3927
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3928
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3929
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3866
3930
|
sharedState: {
|
|
3867
3931
|
isMenuOpen: boolean;
|
|
3868
3932
|
activeNode: {
|
|
@@ -3877,7 +3941,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3877
3941
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3878
3942
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3879
3943
|
};
|
|
3880
|
-
}, undefined
|
|
3944
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3945
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3946
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3947
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3881
3948
|
actions: {
|
|
3882
3949
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
3883
3950
|
};
|
|
@@ -4360,9 +4427,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4360
4427
|
}, {
|
|
4361
4428
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4362
4429
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
4363
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
4430
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
4431
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4432
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
4364
4433
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
4365
|
-
}, undefined
|
|
4434
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4435
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4436
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4437
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4366
4438
|
sharedState: {
|
|
4367
4439
|
isMenuOpen: boolean;
|
|
4368
4440
|
activeNode: {
|
|
@@ -4377,7 +4449,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4377
4449
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4378
4450
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4379
4451
|
};
|
|
4380
|
-
}, undefined
|
|
4452
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4453
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4454
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4455
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4381
4456
|
actions: {
|
|
4382
4457
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
4383
4458
|
};
|
|
@@ -4616,9 +4691,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4616
4691
|
}, {
|
|
4617
4692
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4618
4693
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
4619
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
4694
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
4695
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4696
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
4620
4697
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
4621
|
-
}, undefined
|
|
4698
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4699
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4700
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4701
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4622
4702
|
sharedState: {
|
|
4623
4703
|
isMenuOpen: boolean;
|
|
4624
4704
|
activeNode: {
|
|
@@ -4633,7 +4713,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4633
4713
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4634
4714
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4635
4715
|
};
|
|
4636
|
-
}, undefined
|
|
4716
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4717
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4718
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4719
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4637
4720
|
actions: {
|
|
4638
4721
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
4639
4722
|
};
|