@atlaskit/editor-core 216.6.2 → 216.6.4
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 +17 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/cjs/ui/EditorContentContainer/styles/syncBlockStyles.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/es2019/ui/EditorContentContainer/styles/syncBlockStyles.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/esm/ui/EditorContentContainer/styles/syncBlockStyles.js +1 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +7 -7
- package/dist/types/presets/universal.d.ts +7 -7
- package/dist/types/presets/useUniversalPreset.d.ts +7 -7
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +7 -7
- package/dist/types-ts4.5/presets/universal.d.ts +7 -7
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +7 -7
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.6.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3bc6a51231706`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3bc6a51231706) -
|
|
8
|
+
[ux] Add 6px top margin to source and reference sync block
|
|
9
|
+
|
|
10
|
+
## 216.6.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`c8ca7b8cde88d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c8ca7b8cde88d) -
|
|
15
|
+
Remove platform_editor_toolbar_support_custom_components feature flag
|
|
16
|
+
- [`1993b8227cbf3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1993b8227cbf3) -
|
|
17
|
+
[ux] Update selection extension APIs to allow Snippets to register at parent level
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 216.6.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -43,7 +43,7 @@ var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
|
|
|
43
43
|
showKeyline = _ref.showKeyline;
|
|
44
44
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
45
45
|
"data-testid": testId,
|
|
46
|
-
className: (0, _runtime.ax)([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
46
|
+
className: (0, _runtime.ax)([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
47
47
|
}, children);
|
|
48
48
|
};
|
|
49
49
|
var FirstChildWrapper = function FirstChildWrapper(_ref2) {
|
|
@@ -122,8 +122,8 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
122
122
|
testId: "ak-editor-main-toolbar",
|
|
123
123
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
124
124
|
}, beforeIcon && /*#__PURE__*/_react.default.createElement("div", {
|
|
125
|
-
className: (0, _runtime.ax)([styles.mainToolbarIconBefore,
|
|
126
|
-
}, beforeIcon),
|
|
125
|
+
className: (0, _runtime.ax)([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
126
|
+
}, beforeIcon), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || ((0, _expValEquals.expValEquals)('platform_editor_ssr_renderer', 'isEnabled', true) && (0, _coreUtils.isSSR)() || editorView) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
|
|
127
127
|
toolbar: toolbar,
|
|
128
128
|
components: components,
|
|
129
129
|
editorView: editorView,
|
|
@@ -136,14 +136,6 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
136
136
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/_react.default.createElement("div", {
|
|
137
137
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
138
138
|
className: (0, _runtime.ax)([styles.beforePrimaryToolbarComponents])
|
|
139
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null))
|
|
140
|
-
toolbar: toolbar,
|
|
141
|
-
components: components,
|
|
142
|
-
editorView: editorView,
|
|
143
|
-
editorAPI: editorAPI,
|
|
144
|
-
popupsMountPoint: mountPoint,
|
|
145
|
-
editorAppearance: "full-page",
|
|
146
|
-
isDisabled: disabled
|
|
147
|
-
})))));
|
|
139
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null))))));
|
|
148
140
|
});
|
|
149
141
|
};
|
|
@@ -20,6 +20,7 @@ var syncBlockStyles = exports.syncBlockStyles = (0, _react.css)((0, _definePrope
|
|
|
20
20
|
marginRight: "-18px",
|
|
21
21
|
marginLeft: "-18px",
|
|
22
22
|
marginBottom: 0,
|
|
23
|
+
marginTop: "var(--ds-space-075, 6px)",
|
|
23
24
|
paddingBlock: "var(--ds-space-150, 12px)",
|
|
24
25
|
color: 'inherit',
|
|
25
26
|
/* Hover state */
|
|
@@ -35,7 +35,7 @@ const MainToolbarWrapper = ({
|
|
|
35
35
|
}) => {
|
|
36
36
|
return /*#__PURE__*/React.createElement("div", {
|
|
37
37
|
"data-testid": testId,
|
|
38
|
-
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
38
|
+
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && expValEquals('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
39
39
|
}, children);
|
|
40
40
|
};
|
|
41
41
|
const FirstChildWrapper = ({
|
|
@@ -116,8 +116,8 @@ export const FullPageToolbarNext = ({
|
|
|
116
116
|
testId: "ak-editor-main-toolbar",
|
|
117
117
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
118
118
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
119
|
-
className: ax([styles.mainToolbarIconBefore,
|
|
120
|
-
}, beforeIcon),
|
|
119
|
+
className: ax([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
120
|
+
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
121
121
|
toolbar: toolbar,
|
|
122
122
|
components: components,
|
|
123
123
|
editorView: editorView,
|
|
@@ -130,13 +130,5 @@ export const FullPageToolbarNext = ({
|
|
|
130
130
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
131
131
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
132
132
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
133
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))
|
|
134
|
-
toolbar: toolbar,
|
|
135
|
-
components: components,
|
|
136
|
-
editorView: editorView,
|
|
137
|
-
editorAPI: editorAPI,
|
|
138
|
-
popupsMountPoint: mountPoint,
|
|
139
|
-
editorAppearance: "full-page",
|
|
140
|
-
isDisabled: disabled
|
|
141
|
-
}))))));
|
|
133
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)))))));
|
|
142
134
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "216.6.
|
|
2
|
+
export const version = "216.6.3";
|
|
@@ -34,7 +34,7 @@ var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
|
|
|
34
34
|
showKeyline = _ref.showKeyline;
|
|
35
35
|
return /*#__PURE__*/React.createElement("div", {
|
|
36
36
|
"data-testid": testId,
|
|
37
|
-
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
37
|
+
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && expValEquals('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
38
38
|
}, children);
|
|
39
39
|
};
|
|
40
40
|
var FirstChildWrapper = function FirstChildWrapper(_ref2) {
|
|
@@ -113,8 +113,8 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
113
113
|
testId: "ak-editor-main-toolbar",
|
|
114
114
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
115
115
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
116
|
-
className: ax([styles.mainToolbarIconBefore,
|
|
117
|
-
}, beforeIcon),
|
|
116
|
+
className: ax([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
117
|
+
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
118
118
|
toolbar: toolbar,
|
|
119
119
|
components: components,
|
|
120
120
|
editorView: editorView,
|
|
@@ -127,14 +127,6 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
127
127
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
128
128
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
129
129
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
130
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))
|
|
131
|
-
toolbar: toolbar,
|
|
132
|
-
components: components,
|
|
133
|
-
editorView: editorView,
|
|
134
|
-
editorAPI: editorAPI,
|
|
135
|
-
popupsMountPoint: mountPoint,
|
|
136
|
-
editorAppearance: "full-page",
|
|
137
|
-
isDisabled: disabled
|
|
138
|
-
})))));
|
|
130
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))))));
|
|
139
131
|
});
|
|
140
132
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "216.6.
|
|
2
|
+
export var version = "216.6.3";
|
|
@@ -358,7 +358,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
358
358
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
359
359
|
};
|
|
360
360
|
commands: {
|
|
361
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
361
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
362
362
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
363
363
|
};
|
|
364
364
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -401,7 +401,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
401
401
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
402
402
|
};
|
|
403
403
|
commands: {
|
|
404
|
-
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types
|
|
404
|
+
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
405
405
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
406
406
|
};
|
|
407
407
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -425,11 +425,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
425
425
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
426
426
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
427
427
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
428
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
428
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
429
429
|
};
|
|
430
430
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
431
431
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
432
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
432
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
433
433
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>];
|
|
434
434
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
435
435
|
sharedState: {
|
|
@@ -567,11 +567,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
567
567
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
568
568
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
569
569
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
570
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
570
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
571
571
|
};
|
|
572
572
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
573
573
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
574
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
574
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
575
575
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
576
576
|
commands: {
|
|
577
577
|
setCurrentUserIntent: (newCurrentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -614,7 +614,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
614
614
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
615
615
|
};
|
|
616
616
|
commands: {
|
|
617
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
617
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
618
618
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
619
619
|
};
|
|
620
620
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -431,7 +431,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
431
431
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
432
432
|
};
|
|
433
433
|
commands: {
|
|
434
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
434
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
435
435
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
436
436
|
};
|
|
437
437
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -474,7 +474,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
474
474
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
475
475
|
};
|
|
476
476
|
commands: {
|
|
477
|
-
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types
|
|
477
|
+
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
478
478
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
479
479
|
};
|
|
480
480
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -498,11 +498,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
498
498
|
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
499
499
|
getBreakpointPreset: () => BreakpointPreset | undefined;
|
|
500
500
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
501
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
501
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
502
502
|
};
|
|
503
503
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
504
504
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
505
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
505
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
506
506
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>];
|
|
507
507
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
508
508
|
sharedState: {
|
|
@@ -640,11 +640,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
640
640
|
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
641
641
|
getBreakpointPreset: () => BreakpointPreset | undefined;
|
|
642
642
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
643
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
643
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
644
644
|
};
|
|
645
645
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
646
646
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
647
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
647
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
648
648
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
649
649
|
commands: {
|
|
650
650
|
setCurrentUserIntent: (newCurrentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -687,7 +687,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
687
687
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
688
688
|
};
|
|
689
689
|
commands: {
|
|
690
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
690
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
691
691
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
692
692
|
};
|
|
693
693
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -358,7 +358,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
358
358
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
359
359
|
};
|
|
360
360
|
commands: {
|
|
361
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
361
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
362
362
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
363
363
|
};
|
|
364
364
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -401,7 +401,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
401
401
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
402
402
|
};
|
|
403
403
|
commands: {
|
|
404
|
-
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types
|
|
404
|
+
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
405
405
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
406
406
|
};
|
|
407
407
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -425,11 +425,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
425
425
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
426
426
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
427
427
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
428
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
428
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
429
429
|
};
|
|
430
430
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
431
431
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
432
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
432
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
433
433
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>];
|
|
434
434
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
435
435
|
sharedState: {
|
|
@@ -567,11 +567,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
567
567
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
568
568
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
569
569
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
570
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
570
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
571
571
|
};
|
|
572
572
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
573
573
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
574
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
574
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
575
575
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
576
576
|
commands: {
|
|
577
577
|
setCurrentUserIntent: (newCurrentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -614,7 +614,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
614
614
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
615
615
|
};
|
|
616
616
|
commands: {
|
|
617
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
617
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
618
618
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
619
619
|
};
|
|
620
620
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -513,7 +513,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
513
513
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
514
514
|
};
|
|
515
515
|
commands: {
|
|
516
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
516
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
517
517
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
518
518
|
};
|
|
519
519
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -566,7 +566,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
566
566
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
567
567
|
};
|
|
568
568
|
commands: {
|
|
569
|
-
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types
|
|
569
|
+
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
570
570
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
571
571
|
};
|
|
572
572
|
dependencies: [
|
|
@@ -600,7 +600,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
600
600
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
601
601
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
602
602
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
603
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
603
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
604
604
|
};
|
|
605
605
|
dependencies: [
|
|
606
606
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -611,7 +611,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
611
611
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
612
612
|
];
|
|
613
613
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
614
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
614
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
615
615
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>
|
|
616
616
|
];
|
|
617
617
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
@@ -813,7 +813,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
813
813
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
814
814
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
815
815
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
816
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
816
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
817
817
|
};
|
|
818
818
|
dependencies: [
|
|
819
819
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -824,7 +824,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
824
824
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
825
825
|
];
|
|
826
826
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
827
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
827
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
828
828
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined,
|
|
829
829
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
830
830
|
commands: {
|
|
@@ -877,7 +877,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
877
877
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
878
878
|
};
|
|
879
879
|
commands: {
|
|
880
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
880
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
881
881
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
882
882
|
};
|
|
883
883
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -586,7 +586,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
586
586
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
587
587
|
};
|
|
588
588
|
commands: {
|
|
589
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
589
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
590
590
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
591
591
|
};
|
|
592
592
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -639,7 +639,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
639
639
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
640
640
|
};
|
|
641
641
|
commands: {
|
|
642
|
-
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types
|
|
642
|
+
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
643
643
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
644
644
|
};
|
|
645
645
|
dependencies: [
|
|
@@ -673,7 +673,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
673
673
|
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
674
674
|
getBreakpointPreset: () => BreakpointPreset | undefined;
|
|
675
675
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
676
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
676
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
677
677
|
};
|
|
678
678
|
dependencies: [
|
|
679
679
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -684,7 +684,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
684
684
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
685
685
|
];
|
|
686
686
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
687
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
687
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
688
688
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>
|
|
689
689
|
];
|
|
690
690
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
@@ -886,7 +886,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
886
886
|
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
887
887
|
getBreakpointPreset: () => BreakpointPreset | undefined;
|
|
888
888
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
889
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
889
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
890
890
|
};
|
|
891
891
|
dependencies: [
|
|
892
892
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -897,7 +897,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
897
897
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
898
898
|
];
|
|
899
899
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
900
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
900
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
901
901
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined,
|
|
902
902
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
903
903
|
commands: {
|
|
@@ -950,7 +950,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
950
950
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
951
951
|
};
|
|
952
952
|
commands: {
|
|
953
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
953
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
954
954
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
955
955
|
};
|
|
956
956
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -513,7 +513,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
513
513
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
514
514
|
};
|
|
515
515
|
commands: {
|
|
516
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
516
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
517
517
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
518
518
|
};
|
|
519
519
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -566,7 +566,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
566
566
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
567
567
|
};
|
|
568
568
|
commands: {
|
|
569
|
-
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types
|
|
569
|
+
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
570
570
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
571
571
|
};
|
|
572
572
|
dependencies: [
|
|
@@ -600,7 +600,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
600
600
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
601
601
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
602
602
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
603
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
603
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
604
604
|
};
|
|
605
605
|
dependencies: [
|
|
606
606
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -611,7 +611,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
611
611
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
612
612
|
];
|
|
613
613
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
614
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
614
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
615
615
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>
|
|
616
616
|
];
|
|
617
617
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
@@ -813,7 +813,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
813
813
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
814
814
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
815
815
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
816
|
-
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
816
|
+
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types").RegisterComponentsAction;
|
|
817
817
|
};
|
|
818
818
|
dependencies: [
|
|
819
819
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -824,7 +824,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
824
824
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
825
825
|
];
|
|
826
826
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
827
|
-
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types
|
|
827
|
+
sharedState: import("packages/editor/editor-plugin-toolbar/dist/types").EditorToolbarPluginState;
|
|
828
828
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined,
|
|
829
829
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
830
830
|
commands: {
|
|
@@ -877,7 +877,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
877
877
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
878
878
|
};
|
|
879
879
|
commands: {
|
|
880
|
-
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types
|
|
880
|
+
hoverDecoration?: import("packages/editor/editor-plugin-decorations/dist/types").HoverDecorationCommand;
|
|
881
881
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
882
882
|
};
|
|
883
883
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.6.
|
|
3
|
+
"version": "216.6.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-plugin-connectivity": "^7.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^7.1.0",
|
|
53
53
|
"@atlaskit/editor-plugin-user-preferences": "^5.0.0",
|
|
54
|
-
"@atlaskit/editor-plugins": "^11.
|
|
54
|
+
"@atlaskit/editor-plugins": "^11.3.0",
|
|
55
55
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
56
56
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
57
57
|
"@atlaskit/editor-ssr-renderer": "^2.0.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^4.17.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^16.19.0",
|
|
70
70
|
"@atlaskit/tokens": "^9.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"uuid": "^3.1.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@atlaskit/editor-common": "^111.
|
|
86
|
+
"@atlaskit/editor-common": "^111.8.0",
|
|
87
87
|
"@atlaskit/link-provider": "^4.1.0",
|
|
88
88
|
"@atlaskit/media-core": "^37.0.0",
|
|
89
89
|
"react": "^18.2.0",
|
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
"@atlaskit/editor-plugin-list": "^9.0.0",
|
|
103
103
|
"@atlaskit/editor-plugin-paste": "^8.0.0",
|
|
104
104
|
"@atlaskit/link-provider": "^4.1.0",
|
|
105
|
-
"@atlaskit/logo": "^19.
|
|
105
|
+
"@atlaskit/logo": "^19.10.0",
|
|
106
106
|
"@atlaskit/media-core": "^37.0.0",
|
|
107
107
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
108
108
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
109
|
-
"@atlaskit/modal-dialog": "^14.
|
|
110
|
-
"@atlaskit/renderer": "^125.
|
|
109
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
110
|
+
"@atlaskit/renderer": "^125.4.0",
|
|
111
111
|
"@atlaskit/section-message": "^8.12.0",
|
|
112
112
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.2.0",
|